diff --git a/docs/changelog.md b/docs/changelog.md index 8501bf0d78c..50e387f4cf8 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,4 +1,4 @@ -2024/XX/XX Release 3.5.3 +2024/01/05 Release 3.5.3 - `docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.5.3` - Updated `hl7.terminology` from 5.3.0 to 5.4.0 [#174](https://github.com/ahdis/matchbox/issues/174) diff --git a/docs/docker.md b/docs/docker.md index d3a78b2785c..269932988b6 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.5.2 +docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.5.3 ``` ## Configurable base image: diff --git a/docs/matchbox-engine.md b/docs/matchbox-engine.md index bcf4051c1cc..bf8f233f08b 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.5.2 + 3.5.3 ``` diff --git a/matchbox-engine/pom.xml b/matchbox-engine/pom.xml index 8090b4d4453..e7ec08f55cc 100644 --- a/matchbox-engine/pom.xml +++ b/matchbox-engine/pom.xml @@ -6,7 +6,7 @@ matchbox health.matchbox - 3.5.2 + 3.5.3 matchbox-engine diff --git a/matchbox-frontend/package.json b/matchbox-frontend/package.json index 0a36d56ea80..c991126a8e3 100644 --- a/matchbox-frontend/package.json +++ b/matchbox-frontend/package.json @@ -1,6 +1,6 @@ { "name": "matchbox", - "version": "3.5.2", + "version": "3.5.3", "license": "MIT", "scripts": { "ng": "ng", diff --git a/matchbox-server/pom.xml b/matchbox-server/pom.xml index 4393bbf20dc..e256e8e1bef 100644 --- a/matchbox-server/pom.xml +++ b/matchbox-server/pom.xml @@ -5,7 +5,7 @@ matchbox health.matchbox - 3.5.2 + 3.5.3 matchbox-server diff --git a/matchbox-server/src/main/resources/static/3rdpartylicenses.txt b/matchbox-server/src/main/resources/static/3rdpartylicenses.txt index 2b59ee76667..b60c487d4e2 100644 --- a/matchbox-server/src/main/resources/static/3rdpartylicenses.txt +++ b/matchbox-server/src/main/resources/static/3rdpartylicenses.txt @@ -514,6 +514,31 @@ SOFTWARE. ngx-highlightjs MIT +ngx-mat-select-search +MIT +MIT License + +Copyright (c) 2018 Bithost GmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + node-abort-controller MIT MIT License diff --git a/matchbox-server/src/main/resources/static/InterVariable-Italic.ef0ecaff9635470d.woff2 b/matchbox-server/src/main/resources/static/InterVariable-Italic.ef0ecaff9635470d.woff2 new file mode 100644 index 00000000000..f22ec255493 Binary files /dev/null and b/matchbox-server/src/main/resources/static/InterVariable-Italic.ef0ecaff9635470d.woff2 differ diff --git a/matchbox-server/src/main/resources/static/InterVariable.ff710c092db72df4.woff2 b/matchbox-server/src/main/resources/static/InterVariable.ff710c092db72df4.woff2 new file mode 100644 index 00000000000..22a12b04e1a Binary files /dev/null and b/matchbox-server/src/main/resources/static/InterVariable.ff710c092db72df4.woff2 differ diff --git a/matchbox-server/src/main/resources/static/assets/InterVariable-Italic.woff2 b/matchbox-server/src/main/resources/static/assets/InterVariable-Italic.woff2 new file mode 100644 index 00000000000..f22ec255493 Binary files /dev/null and b/matchbox-server/src/main/resources/static/assets/InterVariable-Italic.woff2 differ diff --git a/matchbox-server/src/main/resources/static/assets/InterVariable.woff2 b/matchbox-server/src/main/resources/static/assets/InterVariable.woff2 new file mode 100644 index 00000000000..22a12b04e1a Binary files /dev/null and b/matchbox-server/src/main/resources/static/assets/InterVariable.woff2 differ diff --git a/matchbox-server/src/main/resources/static/index.html b/matchbox-server/src/main/resources/static/index.html index 68e829f5c6f..5172ebd79b5 100644 --- a/matchbox-server/src/main/resources/static/index.html +++ b/matchbox-server/src/main/resources/static/index.html @@ -6,10 +6,10 @@ - - - + + + - + diff --git a/matchbox-server/src/main/resources/static/main.84ea47fd48af7504.js b/matchbox-server/src/main/resources/static/main.84ea47fd48af7504.js deleted file mode 100644 index 567587f4f4a..00000000000 --- a/matchbox-server/src/main/resources/static/main.84ea47fd48af7504.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{9473:(Se,X)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.Ucum=void 0,X.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:' ',closeEmphHTML_:" ",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},1995:(Se,X,g)=>{"use strict";X.R=void 0;var p=g(9473),C=g(4864);class b{constructor(v){if(0===p.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==v)this.assignZero();else if(v instanceof Array){if(v.length!==p.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(v)}`);this.dimVec_=[];for(let a=0;a=p.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[v]=1}}setElementAt(v,a){if(!C(v)||v<0||v>=p.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${v})`);this.dimVec_||this.assignZero(),null==a&&(a=1),this.dimVec_[v]=a}getElementAt(v){if(!C(v)||v<0||v>=p.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${v})`);let a=null;return this.dimVec_&&(a=this.dimVec_[v]),a}getProperty(v){return this["_"===v.charAt(v.length-1)?v:v+"_"]}toString(){let v=null;return this.dimVec_&&(v="["+this.dimVec_.join(", ")+"]"),v}add(v){if(!v instanceof b)throw new Error(`Dimension.add called with an invalid parameter - ${typeof v} instead of a Dimension object`);if(this.dimVec_&&v.dimVec_)for(let a=0;a{"use strict";X.DP=function c(s){const l=s&&s.config;if(l){if(l.length&&s.data){const d=b(l);return s.data.map(v.bind(null,d))}return s.data}return s};function b(s){return s.map(l=>Array.isArray(l)?l:[l])}function v(s,l){let d={};return s.forEach((r,u)=>{let h=d;for(let m=0;m{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.Prefix=void 0,g(9473),X.Prefix=class p{constructor(b){if(null==b.code_||null==b.name_||null==b.value_||void 0===b.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_=b.code_,this.ciCode_=b.ciCode_,this.name_=b.name_,this.printSymbol_=b.printSymbol_,this.value_="string"==typeof b.value_?parseFloat(b.value_):b.value_,this.exp_=b.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(b){return this.code_===b.code_&&this.ciCode_===b.ciCode_&&this.name_===b.name_&&this.printSymbol_===b.printSymbol_&&this.value_===b.value_&&this.exp_===b.exp_}}},8902:(Se,X)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.PrefixTables=X.PrefixTablesFactory=void 0;class g{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let b="",o=Object.keys(this.byValue_),v=o.length;for(let a=0;a{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.default=void 0;var n=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 b=this.funcs[C];if(null===b)throw new Error(`Requested function ${C} is not defined`);return b}isDefined(C){return C=C.toLowerCase(),null!==this.funcs[C]}};X.default=n},6361:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.isNumericString=function p(o){let v=""+o;return!isNaN(v)&&!isNaN(parseFloat(v))},X.isIntegerUnit=function C(o){return/^\d+$/.test(o)},X.getSynonyms=function b(o){let v={},c={};if(c=n.getInstance().getUnitBySynonym(o),c.units){v.status="succeeded";let s=c.units.length;v.units=[];for(let l=0;l{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.ucumJsonDefs=X.UcumJsonDefs=void 0;var n=g(3407),p=g(8902),C=g(5744),b=g(7894),o=g(5601).DP;class v{loadJsonDefs(){const s=g(8210);if(s.prefixes=o(s.prefixes),s.units=o(s.units),0===b.UnitTables.getInstance().unitsCount()){let l=p.PrefixTables.getInstance(),d=s.prefixes,r=d.length;for(let _=0;_{"use strict";X.n=void 0;var p=g(8929),C=function o(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var d=b();if(d&&d.has(l))return d.get(l);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var m=u?Object.getOwnPropertyDescriptor(l,h):null;m&&(m.get||m.set)?Object.defineProperty(r,h,m):r[h]=l[h]}return r.default=l,d&&d.set(l,r),r}(g(6361));function b(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return b=function(){return l},l}var v=g(9473).Ucum,a=g(7894).UnitTables,c=g(4206).T;class s{constructor(){0===a.getInstance().unitsCount()&&p.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=c.getInstance()}useHTMLInMessages(d){void 0===d&&(d=!0),this.uStrParser_.useHTMLInMessages(d)}useBraceMsgForEachString(d){void 0===d&&(d=!0),this.uStrParser_.useBraceMsgForEachString(d)}validateUnitString(d,r,u){void 0===r&&(r=!1),void 0===u&&(u="validate");let h=this.getSpecifiedUnit(d,u,r),m=h.unit,_={};return _=m?{status:h.origString===d?"valid":"invalid",ucumCode:h.origString,unit:{code:m.csCode_,name:m.name_,guidance:m.guidance_}}:{status:h.origString&&null!==h.origString?"invalid":"error",ucumCode:null},h.suggestions&&(_.suggestions=h.suggestions),_.msg=h.retMsg,_}convertUnitTo(d,r,u,h,m){void 0===h&&(h=!1),void 0===m&&(m=null);let _={status:"failed",toVal:null,msg:[]};if(d&&(d=d.trim()),(!d||""==d)&&(_.status="error",_.msg.push('No "from" unit expression specified.')),(null===r||isNaN(r)||"number"!=typeof r&&!C.isNumericString(r))&&(_.status="error",_.msg.push('No "from" value, or an invalid "from" value, was specified.')),u&&(u=u.trim()),(!u||""==u)&&(_.status="error",_.msg.push('No "to" unit expression specified.')),"error"!==_.status)try{let M=null,x=this.getSpecifiedUnit(d,"convert",h);M=x.unit,x.retMsg&&(_.msg=_.msg.concat(x.retMsg)),x.suggestions&&(_.suggestions={},_.suggestions.from=x.suggestions),M||_.msg.push(`Unable to find a unit for ${d}, so no conversion could be performed.`);let w=null;if(x=this.getSpecifiedUnit(u,"convert",h),w=x.unit,x.retMsg&&(_.msg=_.msg.concat(x.retMsg)),x.suggestions&&(_.suggestions||(_.suggestions={}),_.suggestions.to=x.suggestions),w||_.msg.push(`Unable to find a unit for ${u}, so no conversion could be performed.`),M&&w)try{if(m){if(0!==M.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===M.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(!M.isMoleMassCommensurable(w))throw new Error(`Sorry. ${d} cannot be converted to ${u}.`);_.toVal=0!==M.moleExp_?M.convertMolToMass(r,w,m):M.convertMassToMol(r,w,m)}else _.toVal=w.convertFrom(r,M);_.status="succeeded",_.fromUnit=M,_.toUnit=w}catch(L){_.status="failed",_.msg.push(L.message)}}catch(M){_.status=M.message==v.needMoleWeightMsg_?"failed":"error",_.msg.push(M.message)}return _}convertToBaseUnits(d,r){let u=this.getSpecifiedUnit(d,"validate"),h={},m=u.unit;if(h.msg=u.retMsg||[],m){if(m.isArbitrary_)h.msg.push("Arbitrary units cannot be converted to base units or other units.");else if(0==h.msg.length){let _={},M=m.dim_?.dimVec_,x="1";if(M){let A=a.getInstance().dimVecIndexToBaseUnit_;for(let T=0,O=M.length;T0&&(r=h.retMsg),m){let _=null,M=m.getProperty("dim_");if(M){try{_=M.getProperty("dimVec_")}catch(x){r.push(x.message),"Dimension does not have requested property(dimVec_)"===x.message&&(_=null)}_&&(u=a.getInstance().getUnitsByDimension(_))}else r.push("No commensurable units were found for "+d)}else r.push(`Could not find unit ${d}.`);return[u,r]}}X.n=s,s.getInstance=function(){return new s}},2207:(Se,X,g)=>{"use strict";X.ng=void 0,g(9473);var C=g(9741).n;X.ng=C,g(7894)},5744:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.Unit=void 0;var n=function o(d){return d&&d.__esModule?d:{default:d}}(g(5568)),p=function b(d){if(d&&d.__esModule)return d;if(null===d||"object"!=typeof d&&"function"!=typeof d)return{default:d};var r=C();if(r&&r.has(d))return r.get(d);var u={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in d)if(Object.prototype.hasOwnProperty.call(d,m)){var _=h?Object.getOwnPropertyDescriptor(d,m):null;_&&(_.get||_.set)?Object.defineProperty(u,m,_):u[m]=d[m]}return u.default=d,r&&r.set(d,u),u}(g(6361));function C(){if("function"!=typeof WeakMap)return null;var d=new WeakMap;return C=function(){return d},d}var c,v=g(9473).Ucum,a=g(1995).R,s=g(4864);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 a:void 0!==r.dim_.dimVec_?new a(r.dim_.dimVec_):r.dim_ instanceof a?r.dim_:r.dim_ instanceof Array||s(r.dim_)?new a(r.dim_):new a,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 a),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(),m=u.length,_=m===h.length;for(let M=0;M0){let u=r.replace("/","!").replace(".","/").replace("!",".");switch(u.charAt(0)){case".":r=u.substr(1);break;case"/":r=u;break;default:r="/"+u}}return r}_concatStrs(r,u,h,m,_){return this._buildOneString(r,m,_)+u+this._buildOneString(h,m,_)}_buildOneString(r,u,h){let m="";return m=p.isNumericString(r)||"("===r.charAt(0)&&r.endsWith(")")||"["===r.charAt(0)&&r.endsWith("]")?r:/[./* ]/.test(r)?u+r+h:r,m}power(r){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let h=this.csCode_.match(/([./]|[^./]+)/g),m=h.length;for(let _=0;_=0;L--){let A=parseInt(M[L]);if(!s(A)){if(("-"===M[L]||"+"===M[L])&&L--,L{"use strict";X.T=void 0;var p=function b(d){if(d&&d.__esModule)return d;if(null===d||"object"!=typeof d&&"function"!=typeof d)return{default:d};var r=C();if(r&&r.has(d))return r.get(d);var u={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in d)if(Object.prototype.hasOwnProperty.call(d,m)){var _=h?Object.getOwnPropertyDescriptor(d,m):null;_&&(_.get||_.set)?Object.defineProperty(u,m,_):u[m]=d[m]}return u.default=d,r&&r.set(d,u),u}(g(6361));function C(){if("function"!=typeof WeakMap)return null;var d=new WeakMap;return C=function(){return d},d}function o(d,r,u){return r in d?Object.defineProperty(d,r,{value:u,enumerable:!0,configurable:!0,writable:!0}):d[r]=u,d}var v=g(9473).Ucum,a=g(5744).Unit,c=g(7894).UnitTables,s=g(8902).PrefixTables;class l{constructor(){this.utabs_=c.getInstance(),this.pfxTabs_=s.getInstance(),this.openEmph_=v.openEmph_,this.closeEmph_=v.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_=v.openEmphHTML_,this.closeEmph_=v.closeEmphHTML_):(this.openEmph_=v.openEmph_,this.closeEmph_=v.closeEmph_)}useBraceMsgForEachString(r){this.bracesMsg_=void 0===r||r?v.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_=v.valMsgStart_,this.vcMsgEnd_=v.valMsgEnd_):(this.vcMsgStart_=v.cnvMsgStart_,this.vcMsgEnd_=v.cnvMsgEnd_),this.suggestions_=void 0===h||!1===h?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let m=r,_=[];if(r=this._getAnnotations(r),this.retMsg_.length>0)_[0]=null,_[1]=null;else{let x=null;for(x in v.specUnits_)for(;-1!==r.indexOf(x);)r=r.replace(x,v.specUnits_[x]);if(r.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");_=this._parseTheString(r,m);let w=_[0];(p.isIntegerUnit(w)||"number"==typeof w)&&(w=new a({csCode_:m,ciCode_:m,magnitude_:w,name_:m}),_[0]=w)}return _[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(_[3]=this.suggestions_),_}_parseTheString(r,u){let h=null,m=this.retMsg_.length>0,_=this._processParens(r,u);m=_[2];let M=[];if(!m){let x=this._makeUnitsArray(r=_[0],u=_[1]);if(m=x[2],!m){M=x[0],u=x[1];let w=M.length;for(let L=0;L=0){let T=this._getParensUnit(A,u);m||(m=T[1]),m||(M[L].un=T[0])}else{let T=this._makeUnit(A,u);null===T[0]?m=!0:(M[L].un=T[0],u=T[1])}}}}return m||(null===M[0]||" "===M[0]||null==M[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`),m=!0),m||(h=this._performUnitArithmetic(M,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 m=r.substring(u,h+1);if(l.VALID_ANNOTATION_REGEX.test(m)){let _=this.annotations_.length.toString();r=r.replace(m,this.braceFlag_+_+this.braceFlag_),this.annotations_.push(m),u=r.indexOf("{")}else this.retMsg_.push(l.INVALID_ANNOTATION_CHAR_MSG+this.openEmph_+m+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=[],m=0,_=!1,M=this.parensUnits_.length,x=0;for(;""!==r&&!_;){let w=0,L=0,A=r.indexOf("(");if(A<0){let T=r.indexOf(")");if(T>=0){let O=`Missing open parenthesis for close parenthesis at ${r.substring(0,T+x)}${this.openEmph_}${r.substr(T,1)}${this.closeEmph_}`;T0&&(h[m++]=r.substr(0,A));let O=0,E=A+1;for(;E0&&(L=r.substr(0,w-1));let A=r.lastIndexOf(this.parensFlag_),T=null;A+this.pFlagLen_=0){let E=this._getAnnoText(L,u);if(E[1]||E[2])throw new Error(`Text found before the parentheses (${L}) included an annotation along with other text for parenthetical unit ${_.csCode_}`);this.retMsg_.push(`The annotation ${E[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(r+=E[0])+this.vcMsgEnd_)}else this.suggestions_?h="succeeded"!==this._getSuggestions(L):(this.retMsg_.push(`${L} preceding the unit code ${r} is invalid. Unable to make a substitution.`),h=!0);if(T)if(T.indexOf(this.braceFlag_)>=0){let E=this._getAnnoText(T,u);if(E[1]||E[2])throw new Error(`Text found after the parentheses (${T}) included an annotation along with other text for parenthetical unit ${_.csCode_}`);r+=E[0]}else p.isNumericString(T)?(r+=T,_=_.power(Number(T)),this.retMsg_.push(`An exponent (${T}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+r+this.vcMsgEnd_)):this.suggestions_?h="succeeded"!==this._getSuggestions(L):(this.retMsg_.push(`Text ${T} following the unit code ${r} is invalid. Unable to make a substitution.`),h=!0);return h||(_?p.isIntegerUnit(_)?_=new a({csCode_:_,magnitude_:_,name_:_}):_.csCode_=r:_=new a({csCode_:r,magnitude_:1,name_:r})),[_,h]}_getAnnoText(r,u){let h=r.indexOf(this.braceFlag_),m=h>0?r.substring(0,h):null;0!==h&&(r=r.substr(h));let _=r.indexOf(this.braceFlag_,1),M=_+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${x} found in ${r} that was created from ${u}`);return[r=this.annotations_[w],m,M]}_getSuggestions(r){let u=p.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 m=u.units.length;h.units=[];for(let _=0;_=0){let m=this._getUnitWithAnnotation(r,u);h=m[0],h&&(u=m[1])}else{if(r.indexOf("^")>-1){let m=r.replace("^","*");h=this.utabs_.getUnitByCode(m),h&&(h=h.clone(),h.csCode_=h.csCode_.replace("*","^"),h.ciCode_=h.ciCode_.replace("*","^"))}if(!h){let m="["+r+"]";h=this.utabs_.getUnitByCode(m),h&&(h=h.clone(),u=u.replace(r,m),this.retMsg_.push(`${r} is not a valid unit expression, but ${m} is.\n`+this.vcMsgStart_+`${m} (${h.name_})${this.vcMsgEnd_}`))}if(!h){let m=this.utabs_.getUnitByName(r);if(m&&m.length>0){h=m[0].clone();let _="The UCUM code for "+r+" is "+h.csCode_+".\n"+this.vcMsgStart_+h.csCode_+this.vcMsgEnd_,M=!1;for(let L=0;L"+S+"",csCode_:N+S,ciCode_:R+S,printSymbol_:j+""+S+""})}}else h=null,this.suggestions_?this._getSuggestions(m):this.retMsg_.push(`${m} is not a valid UCUM code.`)}}return[h,u]}_getUnitWithAnnotation(r,u){let h=null,m=this._getAnnoText(r,u),_=m[0],M=m[1],x=m[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let w=this.retMsg_.length;if(M||x)if(M&&!x)if(p.isIntegerUnit(M))h=M;else{let L=this._makeUnit(M,u);L[0]?(h=L[0],h.csCode_+=_,u=L[1]):this.retMsg_.push(`Unable to find a unit for ${M} that precedes the annotation ${_}.`)}else if(!M&&x)if(p.isIntegerUnit(x))h=x+_,this.retMsg_.push(`The annotation ${_} before the ``${x} is invalid.\n`+this.vcMsgStart_+h+this.vcMsgEnd_);else{let L=this._makeUnit(x,u);L[0]?(h=L[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 ${M} that follows the annotation ${_}.`)}else this.retMsg_.push(`Unable to find a unit for ${M}${_}${x}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let L="["+_.substring(1,_.length-1)+"]",A=this._makeUnit(L,u);A[0]?(h=A[0],u=u.replace(_,L),this.retMsg_.push(`${_} is not a valid unit expression, but ${L} is.\n`+this.vcMsgStart_+`${L} (${h.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>w&&this.retMsg_.pop(),r=1,h=1)}return[h,u]}_performUnitArithmetic(r,u){let h=r[0].un;p.isIntegerUnit(h)&&(h=new a({csCode_:h,ciCode_:h,magnitude_:Number(h),name_:h}));let m=r.length,_=!1;for(let M=1;M{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.UnitTables=void 0;var n=g(9473).Ucum,C=new class p{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(v){v.name_&&this.addUnitName(v),this.addUnitCode(v),this.addUnitString(v);try{v.dim_.getProperty("dimVec_")&&this.addUnitDimension(v)}catch{}if(v.isBase_){const c=v.dim_.dimVec_;let s;for(let l=0,d=c.length;null==s&&l=1&&(c=v.substr(a+n.codeSep_.length),v=v.substr(0,a));let s=this.unitNames_[v];if(s){let l=s.length;if(c&&l>1){let d=0;for(;s[d].csCode_!==c&&d0&&(c+=a),"dim_"===v[_])c+=null!=m.dim_&&m.dim_.dimVec_ instanceof Array?"["+m.dim_.dimVec_.join(",")+"]":"";else{let M=m[v[_]];c+="string"==typeof M?M.replace(/[\n\r]/g," "):M}c+="\r\n"}}return c}printUnits(v,a){void 0===v&&(v=!1),void 0===a&&(a="|");let c="",s=this.codeOrder_.length,l="csCode"+a;v&&(l+="ciCode"+a),l+="name"+a,v&&(l+="isBase"+a),l+="magnitude"+a+"dimension"+a+"from unit(s)"+a+"value"+a+"function"+a,v&&(l+="property"+a+"printSymbol"+a+"synonyms"+a+"source"+a+"class"+a+"isMetric"+a+"variable"+a+"isSpecial"+a+"isAbitrary"+a),l+="comment",c=l+"\n";for(let d=0;d{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.AppComponent=void 0;const n=g(655),b=(g(7088),g(9515),n.__importStar(g(5879))),o=n.__importStar(g(9515)),v=n.__importStar(g(7088)),a=n.__importStar(g(4505)),c=n.__importStar(g(617)),s=n.__importStar(g(6718)),l=n.__importStar(g(1274)),d=n.__importStar(g(5187));X.AppComponent=(()=>{class u{constructor(m,_){m.setDefaultLang("de"),m.use(m.getBrowserLang());let M=location.origin;if("http://localhost:4200"===M)console.log("note: using local dev mag system for"+location.origin),_.changeFhirMicroService("http://localhost:8080/matchbox/fhir");else{let x=M+location.pathname+"fhir";_.changeFhirMicroService(x),console.log("fhir endpoint "+x)}}}return u.\u0275fac=function(m){return new(m||u)(b.\u0275\u0275directiveInject(o.TranslateService),b.\u0275\u0275directiveInject(v.FhirConfigService))},u.\u0275cmp=b.\u0275\u0275defineComponent({type:u,selectors:[["app-root"]],decls:53,vars:1,consts:[["color","primary","role","header"],["routerLink","/",1,"home-link"],[1,"logo-container"],["src","assets/matchbox_logo_color.png"],[1,"example-fill-remaining-space"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","routerLink","/"],["mat-menu-item","","routerLink","/CapabilityStatement"],["mat-menu-item","","routerLink","/igs"],["mat-menu-item","","routerLink","/fhirpath"],["mat-menu-item","","routerLink","/mappinglanguage"],["mat-menu-item","","routerLink","/transform"],["mat-menu-item","","routerLink","/validate"],["mat-menu-item","","routerLink","/settings"],[1,"mat-typography"]],template:function(m,_){if(1&m&&(b.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),b.\u0275\u0275element(3,"img",3),b.\u0275\u0275elementEnd()(),b.\u0275\u0275element(4,"span",4),b.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),b.\u0275\u0275text(8,"more_vert"),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),b.\u0275\u0275text(13,"home"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(14,"span"),b.\u0275\u0275text(15,"Home"),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),b.\u0275\u0275text(18,"info"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(19,"span"),b.\u0275\u0275text(20,"CapabilityStatement"),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),b.\u0275\u0275text(23,"info"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(24,"span"),b.\u0275\u0275text(25,"IGs ..."),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),b.\u0275\u0275text(28,"search"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(29,"span"),b.\u0275\u0275text(30,"FHIRPath ..."),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),b.\u0275\u0275text(33,"search"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(34,"span"),b.\u0275\u0275text(35,"FHIR mapping language ..."),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(36,"button",12)(37,"mat-icon"),b.\u0275\u0275text(38,"search"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(39,"span"),b.\u0275\u0275text(40,"Transform ..."),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(41,"button",13)(42,"mat-icon"),b.\u0275\u0275text(43,"Validate"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(44,"span"),b.\u0275\u0275text(45,"Validate ..."),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(46,"button",14)(47,"mat-icon"),b.\u0275\u0275text(48,"settings"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(49,"span"),b.\u0275\u0275text(50,"Settings"),b.\u0275\u0275elementEnd()()()()(),b.\u0275\u0275elementStart(51,"main",15),b.\u0275\u0275element(52,"router-outlet"),b.\u0275\u0275elementEnd()),2&m){const M=b.\u0275\u0275reference(10);b.\u0275\u0275advance(6),b.\u0275\u0275property("matMenuTriggerFor",M)}},dependencies:[a.MatLegacyButton,c.MatIcon,s.MatLegacyMenu,s.MatLegacyMenuItem,s.MatLegacyMenuTrigger,l.MatToolbar,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)}main[_ngcontent-%COMP%]{width:100%;margin:0 auto}@media screen and (min-width: 1020px){main[_ngcontent-%COMP%]{padding:3rem 0;width:1000px}}"]}),u})()},8629:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.AppModule=X.createTranslateLoader=void 0;const n=g(655),p=g(9862),C=g(5187),b=g(9515),o=g(5061),v=g(6401),a=g(6938),c=g(7171),s=g(6459),l=g(5389),d=g(3835),r=g(6208),u=g(1037),h=g(9949),m=g(7154),_=g(9936),M=g(6381),x=n.__importStar(g(5879)),T=(n.__importStar(g(5187)),n.__importStar(g(9515)),n.__importStar(g(6381)),[{path:"",component:s.HomeComponent},{path:"fhirpath",component:c.FhirPathComponent},{path:"mappinglanguage",component:l.MappingLanguageComponent},{path:"CapabilityStatement",component:a.CapabilityStatementComponent},{path:"igs",component:u.IgsComponent},{path:"settings",component:d.SettingsComponent},{path:"transform",component:m.TransformComponent},{path:"validate",component:_.ValidateComponent}]);function O(D){return new o.TranslateHttpLoader(D,"./assets/i18n/",".json")}X.createTranslateLoader=O,X.AppModule=(()=>{class D{}return D.\u0275fac=function(j){return new(j||D)},D.\u0275mod=x.\u0275\u0275defineNgModule({type:D,bootstrap:[v.AppComponent]}),D.\u0275inj=x.\u0275\u0275defineInjector({providers:[{provide:h.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>n.__importStar(g(6548))),lineNumbersLoader:()=>Promise.resolve().then(()=>n.__importStar(g(1035))),languages:{json:()=>Promise.resolve().then(()=>n.__importStar(g(5454))),xml:()=>Promise.resolve().then(()=>n.__importStar(g(5149)))}}}],imports:[r.SharedModule,p.HttpClientModule,h.HighlightModule,C.RouterModule.forRoot(T,{useHash:!0}),b.TranslateModule.forRoot({loader:{provide:b.TranslateLoader,useFactory:O,deps:[p.HttpClient]}}),M.OAuthModule.forRoot()]}),D})()},6938:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.CapabilityStatementComponent=void 0;const n=g(655),C=(g(7088),n.__importStar(g(5879))),b=n.__importStar(g(7088)),o=n.__importStar(g(6814)),v=n.__importStar(g(9025)),a=n.__importStar(g(4187)),c=n.__importStar(g(9949));function s(r,u){if(1&r&&(C.\u0275\u0275elementStart(0,"li"),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&r){const h=u.$implicit;C.\u0275\u0275advance(1),C.\u0275\u0275textInterpolate1(" ",h.diagnostics," ")}}function l(r,u){if(1&r&&(C.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),C.\u0275\u0275template(2,s,2,1,"li",3),C.\u0275\u0275elementEnd()()),2&r){const h=C.\u0275\u0275nextContext();C.\u0275\u0275advance(2),C.\u0275\u0275property("ngForOf",h.operationOutcome.issue)}}X.CapabilityStatementComponent=(()=>{class r{constructor(h){this.data=h,this.client=h.getFhirClient(),this.client.capabilityStatement().then(m=>{this.operationOutcome=void 0,this.capabilitystatement=m}).catch(m=>{this.capabilitystatement=void 0,this.operationOutcome=m.response.data})}getJson(){return JSON.stringify(this.capabilitystatement,null,2)}ngOnInit(){}ngOnDestroy(){}}return r.\u0275fac=function(h){return new(h||r)(C.\u0275\u0275directiveInject(b.FhirConfigService))},r.\u0275cmp=C.\u0275\u0275defineComponent({type:r,selectors:[["app-capability-statement"]],decls:8,vars:4,consts:[[1,"display"],[3,"highlight","lineNumbers"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(h,m){1&h&&(C.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),C.\u0275\u0275text(4),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(5,"pre"),C.\u0275\u0275element(6,"code",1),C.\u0275\u0275elementEnd(),C.\u0275\u0275template(7,l,3,1,"mat-error",2),C.\u0275\u0275elementEnd()()),2&h&&(C.\u0275\u0275advance(4),C.\u0275\u0275textInterpolate(m.client.baseUrl),C.\u0275\u0275advance(2),C.\u0275\u0275property("highlight",m.getJson())("lineNumbers",!0),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngIf",m.operationOutcome))},dependencies:[o.NgForOf,o.NgIf,v.MatLegacyCard,v.MatLegacyCardHeader,v.MatLegacyCardContent,v.MatLegacyCardTitle,a.MatLegacyError,c.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),r})()},7171:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.FhirPathComponent=void 0;const n=g(655),b=(g(5879),g(7973),g(6223)),o=g(1385),v=n.__importStar(g(5879)),a=n.__importStar(g(7973)),c=n.__importStar(g(6223)),s=n.__importStar(g(9025)),l=n.__importStar(g(4187)),d=n.__importStar(g(2400)),r=n.__importStar(g(9949));X.FhirPathComponent=(()=>{class h{constructor(_,M){this.fhirPathService=_,this.cd=M,this.fhirPathExpression=new b.UntypedFormControl,this.fhirPathExpression.valueChanges.pipe((0,o.debounceTime)(400),(0,o.distinctUntilChanged)()).subscribe(x=>{if(console.log("called with "+x),x)try{this.fhirPathResult=this.fhirPathService.evaluate(this.resource,x)}catch(w){console.log(w),this.fhirPathResult=void 0}else this.fhirPathResult=void 0})}fileChange(_){const M=new FileReader;if(_.target.files&&_.target.files.length){const[x]=_.target.files;M.readAsText(x),M.onload=()=>{this.resource=JSON.parse(M.result),this.cd.markForCheck()}}}getFhirPathResult(){return JSON.stringify(this.fhirPathResult,null,2)}getJson(){return JSON.stringify(this.resource,null,2)}ngOnInit(){}}return h.\u0275fac=function(_){return new(_||h)(v.\u0275\u0275directiveInject(a.FhirPathService),v.\u0275\u0275directiveInject(v.ChangeDetectorRef))},h.\u0275cmp=v.\u0275\u0275defineComponent({type:h,selectors:[["app-fhir-path"]],decls:15,vars:5,consts:[[1,"display"],["matInput","",3,"formControl"],[3,"highlight","lineNumbers"],["type","file","placeholder","Upload resource","accept",".json",3,"change"]],template:function(_,M){1&_&&(v.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),v.\u0275\u0275text(4,"FHIRPath Expression"),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(5,"input",1),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(6,"div"),v.\u0275\u0275text(7,"Result"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(8,"pre"),v.\u0275\u0275element(9,"code",2),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(10,"div"),v.\u0275\u0275text(11,"Resource"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(12,"input",3),v.\u0275\u0275listener("change",function(w){return M.fileChange(w)}),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(13,"pre"),v.\u0275\u0275element(14,"code",2),v.\u0275\u0275elementEnd()()()),2&_&&(v.\u0275\u0275advance(5),v.\u0275\u0275property("formControl",M.fhirPathExpression),v.\u0275\u0275advance(4),v.\u0275\u0275property("highlight",M.getFhirPathResult())("lineNumbers",!0),v.\u0275\u0275advance(5),v.\u0275\u0275property("highlight",M.getJson())("lineNumbers",!0))},dependencies:[c.DefaultValueAccessor,c.NgControlStatus,c.FormControlDirective,s.MatLegacyCard,s.MatLegacyCardContent,l.MatLegacyFormField,l.MatLegacyLabel,d.MatLegacyInput,r.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),h})()},7088:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.FhirConfigService=void 0;const n=g(655),p=n.__importDefault(g(8907)),C=n.__importStar(g(5879));X.FhirConfigService=(()=>{class o{constructor(){}changeFhirMicroService(a){localStorage.setItem("fhirMicroServer",a)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")}getFhirClient(){return new p.default({baseUrl:this.getFhirMicroService()})}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275prov=C.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o})()},7973:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.FhirPathService=void 0;const n=g(655),p=g(8921),C=n.__importStar(g(5879));X.FhirPathService=(()=>{class o{evaluate(a,c){return(0,p.evaluate)(a,c,null)}evaluateToString(a,c){const s=this.evaluate(a,c);return s&&s instanceof Array&&1===s.length?s[0]:null}getOauthUriToken(a){return this.evaluateToString(a,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(a){return this.evaluateToString(a,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275prov=C.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"}),o})()},6459:(Se,X,g)=>{"use strict";var n=g(7156).default;Object.defineProperty(X,"__esModule",{value:!0}),X.HomeComponent=void 0;const p=g(655),v=(g(7088),g(5187),g(6814),p.__importDefault(g(4147))),a=p.__importStar(g(5879)),c=p.__importStar(g(7088)),s=p.__importStar(g(5187)),l=p.__importStar(g(6814)),d=p.__importStar(g(9025)),r=p.__importStar(g(617)),u=p.__importStar(g(6718));X.HomeComponent=(()=>{class m{constructor(M,x,w){this.router=x,this.location=w,this.version=v.default.version,this.client=M.getFhirClient()}ngOnInit(){return n(function*(){})()}}return m.\u0275fac=function(M){return new(M||m)(a.\u0275\u0275directiveInject(c.FhirConfigService),a.\u0275\u0275directiveInject(s.Router),a.\u0275\u0275directiveInject(l.Location))},m.\u0275cmp=a.\u0275\u0275defineComponent({type:m,selectors:[["app-home"]],decls:22,vars:1,consts:[[1,"primary"],["mat-menu-item","","routerLink","/validate"],["mat-menu-item","","routerLink","/igs"],["mat-menu-item","","routerLink","/settings"],["href","https://www.ahdis.ch","target","_blank","rel","external nofollow noopener"]],template:function(M,x){1&M&&(a.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"button",1)(3,"mat-icon"),a.\u0275\u0275text(4,"Validate"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(5,"span"),a.\u0275\u0275text(6,"Validate ..."),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(7,"button",2)(8,"mat-icon"),a.\u0275\u0275text(9,"info"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"span"),a.\u0275\u0275text(11,"IGs ..."),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"button",3)(13,"mat-icon"),a.\u0275\u0275text(14,"settings"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(15,"span"),a.\u0275\u0275text(16,"Settings"),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(17,"mat-card-footer")(18,"p"),a.\u0275\u0275text(19),a.\u0275\u0275elementStart(20,"a",4),a.\u0275\u0275text(21,"contact"),a.\u0275\u0275elementEnd()()()()),2&M&&(a.\u0275\u0275advance(19),a.\u0275\u0275textInterpolate1(" version: ",x.version," "))},dependencies:[d.MatLegacyCard,d.MatLegacyCardContent,d.MatLegacyCardFooter,r.MatIcon,u.MatLegacyMenuItem,s.RouterLink],styles:[".mat-card.primary[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{display:flex;flex-direction:column}.mat-card.primary[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .mat-subheading-2[_ngcontent-%COMP%]{margin:1rem 0 0}.mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] mat-tab-body>div{box-shadow:0 0 5px -3px #000 inset}.mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%]{padding:0 1.5rem 1.5rem}.mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-top:1rem;margin:0}"]}),m})()},1037:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.IgsComponent=void 0;const n=g(655),C=(g(7088),g(2214)),b=g(6223),o=n.__importDefault(g(563)),a=(g(7973),n.__importStar(g(5879))),c=n.__importStar(g(7088)),s=n.__importStar(g(7973)),l=n.__importStar(g(6814)),d=n.__importStar(g(6223)),r=n.__importStar(g(4505)),u=n.__importStar(g(9025)),h=n.__importStar(g(4187)),m=n.__importStar(g(2400)),_=n.__importStar(g(9559)),M=n.__importStar(g(2214)),x=n.__importStar(g(1438)),w=n.__importStar(g(7515));function L(ne,me){1&ne&&(a.\u0275\u0275elementStart(0,"mat-header-cell",21),a.\u0275\u0275text(1,"Package Id"),a.\u0275\u0275elementEnd())}function A(ne,me){if(1&ne&&(a.\u0275\u0275elementStart(0,"mat-cell",21),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&ne){const $=me.$implicit,q=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(q.getPackageId($))}}function T(ne,me){1&ne&&(a.\u0275\u0275elementStart(0,"mat-header-cell",22),a.\u0275\u0275text(1,"Version"),a.\u0275\u0275elementEnd())}function O(ne,me){if(1&ne&&(a.\u0275\u0275elementStart(0,"mat-cell",22),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&ne){const $=me.$implicit,q=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(q.getVersion($))}}function E(ne,me){1&ne&&(a.\u0275\u0275elementStart(0,"mat-header-cell",21),a.\u0275\u0275text(1,"Title"),a.\u0275\u0275elementEnd())}function D(ne,me){if(1&ne&&(a.\u0275\u0275elementStart(0,"mat-cell"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&ne){const $=me.$implicit,q=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(q.getTitle($))}}function R(ne,me){1&ne&&a.\u0275\u0275element(0,"mat-header-row")}function j(ne,me){if(1&ne){const $=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"mat-row",23),a.\u0275\u0275listener("click",function(){const ue=a.\u0275\u0275restoreView($).$implicit,Me=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(Me.selectRow(ue))}),a.\u0275\u0275elementEnd()}}function N(ne,me){if(1&ne){const $=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275text(1,"\xa0 "),a.\u0275\u0275elementStart(2,"button",24),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView($);const Q=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(Q.onUpdate())}),a.\u0275\u0275text(3,"Update"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()}}function S(ne,me){if(1&ne){const $=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275text(1,"\xa0 "),a.\u0275\u0275elementStart(2,"button",24),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView($);const Q=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(Q.onDelete())}),a.\u0275\u0275text(3,"Delete"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()}}function k(ne,me){1&ne&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275element(1,"mat-progress-spinner",25),a.\u0275\u0275elementContainerEnd())}function F(ne,me){if(1&ne&&(a.\u0275\u0275elementStart(0,"mat-card",26)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),a.\u0275\u0275text(4,"Results of the last operation"),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(5,"app-operation-outcome",27),a.\u0275\u0275elementEnd()()),2&ne){const $=a.\u0275\u0275nextContext();a.\u0275\u0275advance(5),a.\u0275\u0275property("operationOutcome",$.operationOutcome)("title",$.errMsg)}}const Y=function(){return["packageId","version","title"]};class se{constructor(me,$){this.data=me,this.fhirPathService=$,this.length=100,this.pageSize=1e3,this.pageIndex=0,this.pageSizeOptions=[this.pageSize],this.dataSource=new C.MatLegacyTableDataSource,this.update=!1,this.query={_sort:"title",_count:this.pageSize},this.client=me.getFhirClient(),this.addPackageId=new b.UntypedFormControl("",[b.Validators.required,b.Validators.minLength(1)]),this.addVersion=new b.UntypedFormControl("current",[b.Validators.required,b.Validators.minLength(1)]),this.addUrl=new b.UntypedFormControl("url"),this.search()}search(){this.client.search({resourceType:"ImplementationGuide",searchParams:this.query}).then(me=>{this.pageIndex=0,this.setBundle(me),this.selection=void 0,this.addPackageId.setValue(""),this.addVersion.setValue(""),this.addUrl.setValue("")}).catch(me=>{this.errMsg="Error accessing FHIR server",this.operationOutcome=me.response.data}),this.update=!1}getPackageId(me){const $=me.resource;return $.packageId?$.packageId:""}getTitle(me){const $=me.resource;return $.title?$.title:""}getVersion(me){const $=me.resource;return $.version?$.version:""}getPackageUrl(me){return this.fhirPathService.evaluateToString(me.resource,"extension.where(url='http://ahdis.ch/fhir/extension/packageUrl').valueUri")}setBundle(me){this.bundle=me,this.dataSource.data=this.bundle.entry,this.length=this.bundle.total,this.selection=void 0}ngOnInit(){}selectRow(me){this.selection=me.resource,this.addPackageId.setValue(this.selection.packageId),this.addUrl.setValue(this.getPackageUrl(me));let $=this.selection.version;$&&$.endsWith(" (current)")&&($=$.substring(0,$.length-10)),this.addVersion.setValue($)}onSubmit(){if(se.log("onSubmit "+this.addPackageId.value),this.errMsg=null,this.addPackageId.invalid||this.addVersion.invalid)return void(this.errMsg="Please provide package name");let me=this.addPackageId.value.trim();me.indexOf("#")>0&&(me.substring(0,me.indexOf("#")-1),this.addVersion.setValue(me.substring(0,me.indexOf("#")+1))),this.addPackageId.setValue(me);const $=this.addVersion.value.trim();this.addVersion.setValue($),this.update=!0,this.client.create({resourceType:"ImplementationGuide",body:{resourceType:"ImplementationGuide",name:me,version:$,packageId:me,url:this.addUrl.value},options:{headers:{Prefer:"return=OperationOutcome"}}}).then(q=>{this.errMsg="Created Implementation Guide "+this.addPackageId.value,this.operationOutcome=q,this.search()}).catch(q=>{this.errMsg="Error creating Implementation Guide "+this.addPackageId.value,this.operationOutcome=q.response.data,this.update=!1})}goToPage(me){me.pageIndex>this.pageIndex?this.client.nextPage({bundle:this.bundle}).then($=>{this.pageIndex=me.pageIndex,this.setBundle($),this.selection=void 0,console.log("next page called ")}):this.client.prevPage({bundle:this.bundle}).then($=>{this.pageIndex=me.pageIndex,this.setBundle($),this.selection=void 0,console.log("previous page called ")})}onUpdate(){this.errMsg=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(me=>{this.errMsg="Updated Implementation Guide "+this.selection.packageId,this.operationOutcome=me,this.search()}).catch(me=>{this.errMsg="Error updating Implementation Guide "+this.selection.packageId,this.operationOutcome=me.response.data,this.update=!1})}onDelete(){this.errMsg=null,this.update=!0,this.client.delete({resourceType:this.selection.resourceType,id:this.selection.id,options:{headers:{Prefer:"return=OperationOutcome","X-Cascade":"delete"}}}).then(me=>{this.errMsg="Deleted Implementation Guide Resource "+this.selection.packageId,this.operationOutcome=me,this.search()}).catch(me=>{this.errMsg="Error deleting Implementation Guide "+this.selection.packageId,this.operationOutcome=me.response.data,this.update=!1})}}se.log=(0,o.default)("app:"),se.\u0275fac=function(me){return new(me||se)(a.\u0275\u0275directiveInject(c.FhirConfigService),a.\u0275\u0275directiveInject(s.FhirPathService))},se.\u0275cmp=a.\u0275\u0275defineComponent({type:se,selectors:[["app-igs"]],decls:48,vars:16,consts:[[1,"card-igs"],[3,"dataSource"],["table",""],["matColumnDef","packageId"],["class","packageId",4,"matHeaderCellDef"],["class","packageId",4,"matCellDef"],["matColumnDef","version"],["class","version",4,"matHeaderCellDef"],["class","version",4,"matCellDef"],["matColumnDef","title",1,"title"],[4,"matCellDef"],[4,"matHeaderRowDef"],[3,"click",4,"matRowDef","matRowDefColumns"],[3,"pageIndex","length","pageSize","pageSizeOptions","page"],[1,"Search","card-igs"],["matInput","",3,"formControl"],[2,"width","50vw"],["href","https://packages.fhir.org"],["mat-raised-button","","color","primary","type","submit",3,"click"],[4,"ngIf"],["class","logs",4,"ngIf"],[1,"packageId"],[1,"version"],[3,"click"],["mat-button","","type","submit",3,"click"],["mode","indeterminate"],[1,"logs"],[3,"operationOutcome","title"]],template:function(me,$){1&me&&(a.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),a.\u0275\u0275text(4,"FHIR ImplementationGuides installed on server"),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(5,"mat-table",1,2),a.\u0275\u0275elementContainerStart(7,3),a.\u0275\u0275template(8,L,2,0,"mat-header-cell",4),a.\u0275\u0275template(9,A,2,1,"mat-cell",5),a.\u0275\u0275elementContainerEnd(),a.\u0275\u0275elementContainerStart(10,6),a.\u0275\u0275template(11,T,2,0,"mat-header-cell",7),a.\u0275\u0275template(12,O,2,1,"mat-cell",8),a.\u0275\u0275elementContainerEnd(),a.\u0275\u0275elementContainerStart(13,9),a.\u0275\u0275template(14,E,2,0,"mat-header-cell",4),a.\u0275\u0275template(15,D,2,1,"mat-cell",10),a.\u0275\u0275elementContainerEnd(),a.\u0275\u0275template(16,R,1,0,"mat-header-row",11),a.\u0275\u0275template(17,j,1,0,"mat-row",12),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(18,"mat-paginator",13),a.\u0275\u0275listener("page",function(Q){return $.goToPage(Q)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(19,"mat-card",14)(20,"mat-card-content")(21,"mat-card-header")(22,"mat-card-title"),a.\u0275\u0275text(23,"Install an ImplementationGuide"),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(24,"mat-form-field")(25,"mat-label"),a.\u0275\u0275text(26,"PackageId"),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(27,"input",15),a.\u0275\u0275elementEnd(),a.\u0275\u0275text(28," \xa0 "),a.\u0275\u0275elementStart(29,"mat-form-field")(30,"mat-label"),a.\u0275\u0275text(31,"Version"),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(32,"input",15),a.\u0275\u0275elementEnd(),a.\u0275\u0275text(33," \xa0 "),a.\u0275\u0275elementStart(34,"mat-form-field",16)(35,"mat-label"),a.\u0275\u0275text(36,"Package url (optional, use only if not available through "),a.\u0275\u0275elementStart(37,"a",17),a.\u0275\u0275text(38,"packages.fhir.org"),a.\u0275\u0275elementEnd(),a.\u0275\u0275text(39,")"),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(40,"input",15),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(41,"mat-card-actions")(42,"button",18),a.\u0275\u0275listener("click",function(){return $.onSubmit()}),a.\u0275\u0275text(43,"Upload"),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(44,N,4,0,"ng-container",19),a.\u0275\u0275template(45,S,4,0,"ng-container",19),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(46,k,2,0,"ng-container",19),a.\u0275\u0275template(47,F,6,2,"mat-card",20)),2&me&&(a.\u0275\u0275advance(5),a.\u0275\u0275property("dataSource",$.dataSource),a.\u0275\u0275advance(11),a.\u0275\u0275property("matHeaderRowDef",a.\u0275\u0275pureFunction0(14,Y)),a.\u0275\u0275advance(1),a.\u0275\u0275property("matRowDefColumns",a.\u0275\u0275pureFunction0(15,Y)),a.\u0275\u0275advance(1),a.\u0275\u0275property("pageIndex",$.pageIndex)("length",$.length)("pageSize",$.pageSize)("pageSizeOptions",$.pageSizeOptions),a.\u0275\u0275advance(9),a.\u0275\u0275property("formControl",$.addPackageId),a.\u0275\u0275advance(5),a.\u0275\u0275property("formControl",$.addVersion),a.\u0275\u0275advance(8),a.\u0275\u0275property("formControl",$.addUrl),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",$.selection),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",$.selection),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",$.update),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",$.errMsg))},dependencies:[l.NgIf,d.DefaultValueAccessor,d.NgControlStatus,d.FormControlDirective,r.MatLegacyButton,u.MatLegacyCard,u.MatLegacyCardHeader,u.MatLegacyCardContent,u.MatLegacyCardTitle,u.MatLegacyCardActions,h.MatLegacyFormField,h.MatLegacyLabel,m.MatLegacyInput,_.MatLegacyPaginator,M.MatLegacyTable,M.MatLegacyHeaderCellDef,M.MatLegacyHeaderRowDef,M.MatLegacyColumnDef,M.MatLegacyCellDef,M.MatLegacyRowDef,M.MatLegacyHeaderCell,M.MatLegacyCell,M.MatLegacyHeaderRow,M.MatLegacyRow,x.MatLegacyProgressSpinner,w.OperationOutcomeComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.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}"]}),X.IgsComponent=se},5389:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.MappingLanguageComponent=void 0;const n=g(655),b=(g(5879),g(7088),g(6223)),o=g(1385),v=n.__importDefault(g(563)),a=n.__importStar(g(5879)),c=n.__importStar(g(7088)),s=n.__importStar(g(6814)),l=n.__importStar(g(6223)),d=n.__importStar(g(9025)),r=n.__importStar(g(4187)),u=n.__importStar(g(2400));function h(L,A){if(1&L&&(a.\u0275\u0275elementStart(0,"li"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&L){const T=A.$implicit;a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",T.diagnostics," ")}}function m(L,A){if(1&L&&(a.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),a.\u0275\u0275template(2,h,2,1,"li",7),a.\u0275\u0275elementEnd()()),2&L){const T=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngForOf",T.operationOutcome.issue)}}function _(L,A){if(1&L&&(a.\u0275\u0275elementStart(0,"mat-hint"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&L){const T=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1("Successfully created on server: ",T.structureMap.url,"")}}function M(L,A){if(1&L&&(a.\u0275\u0275elementStart(0,"li"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&L){const T=A.$implicit;a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",T.diagnostics," ")}}function x(L,A){if(1&L&&(a.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),a.\u0275\u0275template(2,M,2,1,"li",7),a.\u0275\u0275elementEnd()()),2&L){const T=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngForOf",T.operationOutcomeTransformed.issue)}}class w{constructor(A,T){this.cd=A,this.data=T,this.client=T.getFhirClient(),this.source=new b.UntypedFormControl,this.map=new b.UntypedFormControl,this.structureMap=null,this.map.valueChanges.pipe((0,o.debounceTime)(1e3),(0,o.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(E=>{this.operationOutcome=null,this.structureMap=E,this.transform()}).catch(E=>{this.structureMap=null,this.operationOutcome=E.response.data})}),this.source.valueChanges.pipe((0,o.debounceTime)(1e3),(0,o.distinctUntilChanged)()).subscribe(O=>this.transform())}transform(){w.log("transform Source");let A=JSON.parse(this.source.value);null!=this.structureMap&&this.client.operation({name:"transform?source="+encodeURIComponent(this.structureMap.url),resourceType:"StructureMap",input:A}).then(T=>{this.operationOutcomeTransformed=null,this.transformed=T}).catch(T=>{this.transformed=null,this.operationOutcomeTransformed=T.response.data})}ngOnInit(){}fileSource(A){const T=new FileReader;if(A.target.files&&A.target.files.length){const[O]=A.target.files;T.readAsText(O),T.onload=()=>{this.source.setValue(T.result),this.cd.markForCheck()}}}fileChange(A){const T=new FileReader;if(A.target.files&&A.target.files.length){const[O]=A.target.files;T.readAsText(O),T.onload=()=>{this.map.setValue(T.result),this.cd.markForCheck()}}}}w.log=(0,v.default)("app:"),w.\u0275fac=function(A){return new(A||w)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(c.FhirConfigService))},w.\u0275cmp=a.\u0275\u0275defineComponent({type:w,selectors:[["app-mapping-language"]],decls:31,vars:8,consts:[[1,"card-maps"],[1,"fixtextarea"],["type","file","placeholder","Upload source","accept",".json",3,"change"],["matNativeControl","","rows","15","cols","400",3,"formControl"],["type","file","placeholder","Upload map","accept",".map",3,"change"],["matNativeControl","","rows","20","cols","400",3,"formControl"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(A,T){1&A&&(a.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),a.\u0275\u0275text(4,"Source"),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(5,"mat-form-field",1)(6,"mat-card-actions")(7,"input",2),a.\u0275\u0275listener("change",function(E){return T.fileSource(E)}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(8,"textarea",3),a.\u0275\u0275text(9," "),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-card-content")(12,"mat-card-header")(13,"mat-card-title"),a.\u0275\u0275text(14,"FHIR Mapping Language map"),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(15,"mat-form-field",1)(16,"mat-card-actions")(17,"input",4),a.\u0275\u0275listener("change",function(E){return T.fileChange(E)}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(18,"textarea",5),a.\u0275\u0275text(19," "),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(20,m,3,1,"mat-error",6),a.\u0275\u0275template(21,_,2,1,"mat-hint",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(22,"mat-card",0)(23,"mat-card-content")(24,"mat-card-header")(25,"mat-card-title"),a.\u0275\u0275text(26,"Transformed"),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(27,x,3,1,"mat-error",6),a.\u0275\u0275elementStart(28,"pre"),a.\u0275\u0275text(29),a.\u0275\u0275pipe(30,"json"),a.\u0275\u0275elementEnd()()()),2&A&&(a.\u0275\u0275advance(8),a.\u0275\u0275property("formControl",T.source),a.\u0275\u0275advance(10),a.\u0275\u0275property("formControl",T.map),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",T.operationOutcome),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",T.structureMap),a.\u0275\u0275advance(6),a.\u0275\u0275property("ngIf",T.operationOutcomeTransformed),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(30,6,T.transformed)))},dependencies:[s.NgForOf,s.NgIf,l.DefaultValueAccessor,l.NgControlStatus,l.FormControlDirective,d.MatLegacyCard,d.MatLegacyCardHeader,d.MatLegacyCardContent,d.MatLegacyCardTitle,d.MatLegacyCardActions,r.MatLegacyError,r.MatLegacyFormField,r.MatLegacyHint,u.MatLegacyInput,s.JsonPipe],styles:[".fixtextarea[_ngcontent-%COMP%]{display:inline}.card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]}),X.MappingLanguageComponent=w},7515:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.OperationOutcomeComponent=void 0;const n=g(655),C=(g(5879),n.__importStar(g(5101))),b=n.__importStar(g(5879)),o=n.__importStar(g(6814)),v=n.__importStar(g(9025)),a=["editor"];function c(h,m){if(1&h&&(b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275text(1),b.\u0275\u0275elementContainerEnd()),2&h){const _=b.\u0275\u0275nextContext().$implicit;b.\u0275\u0275advance(1),b.\u0275\u0275textInterpolate1(" ",_.diagnostics," ")}}function s(h,m){if(1&h&&(b.\u0275\u0275elementStart(0,"li",5),b.\u0275\u0275text(1),b.\u0275\u0275elementEnd()),2&h){const _=m.$implicit;b.\u0275\u0275advance(1),b.\u0275\u0275textInterpolate1(" ",_," ")}}function l(h,m){if(1&h&&(b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275elementStart(1,"ol"),b.\u0275\u0275template(2,s,2,1,"li",4),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementContainerEnd()),2&h){const _=b.\u0275\u0275nextContext().$implicit,M=b.\u0275\u0275nextContext(2);b.\u0275\u0275advance(2),b.\u0275\u0275property("ngForOf",M.getSliceInfo(_))}}function d(h,m){if(1&h){const _=b.\u0275\u0275getCurrentView();b.\u0275\u0275elementStart(0,"div",5)(1,"a",6),b.\u0275\u0275listener("click",function(){const w=b.\u0275\u0275restoreView(_).$implicit,L=b.\u0275\u0275nextContext(2);return b.\u0275\u0275resetView(L.scroll(L.getLineNo(w)))}),b.\u0275\u0275text(2),b.\u0275\u0275elementEnd(),b.\u0275\u0275text(3,":"),b.\u0275\u0275element(4,"br"),b.\u0275\u0275template(5,c,2,1,"ng-container",1),b.\u0275\u0275template(6,l,3,1,"ng-container",1),b.\u0275\u0275elementEnd()}if(2&h){const _=m.$implicit,M=b.\u0275\u0275nextContext(2);b.\u0275\u0275advance(1),b.\u0275\u0275classMap(_.severity),b.\u0275\u0275advance(1),b.\u0275\u0275textInterpolate3("Line ",M.getLineNo(_),", column ",M.getColNo(_),": ",M.getLocation(_),""),b.\u0275\u0275advance(3),b.\u0275\u0275property("ngIf",0==M.hasSliceInfo(_)),b.\u0275\u0275advance(1),b.\u0275\u0275property("ngIf",M.hasSliceInfo(_))}}function r(h,m){if(1&h&&(b.\u0275\u0275elementStart(0,"div"),b.\u0275\u0275template(1,d,7,8,"div",4),b.\u0275\u0275elementEnd()),2&h){const _=b.\u0275\u0275nextContext();b.\u0275\u0275advance(1),b.\u0275\u0275property("ngForOf",_.outcome.issue)}}X.OperationOutcomeComponent=(()=>{class h{constructor(){this.mode="ace/mode/json"}ngOnInit(){}ngAfterViewInit(){this.editor&&this.editor.nativeElement&&(C.config.set("fontSize","11px"),C.config.set("basePath","https://unpkg.com/ace-builds@1.4.12/src-noconflict"),this.aceEditor=C.edit(this.editor.nativeElement),this.aceEditor.setOption("useWorker",!1),this.aceEditor.setTheme("ace/theme/chrome"),this.mode?.indexOf("xml")>=0?this.aceEditor.session.setMode("ace/mode/xml"):this.aceEditor.session.setMode("ace/mode/json"),this.aceEditor.session.setValue(this.content),this.aceEditor.setReadOnly(!0),this.aceEditor.on("change",()=>{console.log(this.aceEditor.getValue())}),this.updateAnnotations())}updateAnnotations(){const _=[];if(this.outcome&&this.aceEditor){const M=this.aceEditor.session.getMarkers();if(M){const x=Object.keys(M);for(let w of x)this.aceEditor.session.removeMarker(M[w].id)}this.outcome.issue?.forEach(x=>this.aceEditor.getSession().addMarker(new C.Range(this.getLineNo(x)-1,0,this.getLineNo(x)-1,1),this.getLineAceClass(x),"fullLine",!0)),this.outcome.issue?.forEach(x=>_.push({row:this.getLineNo(x)-1,column:0,text:x.diagnostics,type:this.getErrorType(x)})),this.aceEditor.session.setAnnotations(_)}}getErrorType(_){switch(_.severity){case"fatal":case"error":return"error";case"warning":case"information":return"warning"}return""}set json(_){this.content=_,this.ngAfterViewInit()}set operationOutcome(_){this.outcome=_,this.outcome&&this.outcome.issue?.length>0&&(this.outcome.issue?.sort((M,x)=>this.getLineNo(M)-this.getLineNo(x)),this.ngAfterViewInit())}getJson(){return this.content}getLineAceClass(_){return"ace-highlight-"+_?.severity}getLineNo(_){return this.getExtensionIntValue(_,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line")??0}getColNo(_){return this.getExtensionIntValue(_,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col")??0}hasSliceInfo(_){return _?.diagnostics?.indexOf("Slice info:")>=0}getSliceInfo(_){let M=_?.diagnostics.substring(_?.diagnostics?.indexOf("Slice info: 1.)")+15).trimLeft(),x=new RegExp("[\\d]+[\\.][\\)]");return M.split(x)}getLocation(_){return _.expression&&_.expression.length>0?_.expression[0]:""}scroll(_){(_-=1)<0&&(_=0),this.aceEditor.scrollToLine(_,!1,!0,null)}getExtensionIntValue(_,M){if(_.extension)for(const x of _.extension)if(x.url===M)return x.valueInteger}}return h.\u0275fac=function(_){return new(_||h)},h.\u0275cmp=b.\u0275\u0275defineComponent({type:h,selectors:[["app-operation-outcome"]],viewQuery:function(_,M){if(1&_&&b.\u0275\u0275viewQuery(a,5),2&_){let x;b.\u0275\u0275queryRefresh(x=b.\u0275\u0275loadQuery())&&(M.editor=x.first)}},inputs:{mode:"mode",title:"title",json:"json",operationOutcome:"operationOutcome"},decls:8,vars:2,consts:[[1,"card-maps"],[4,"ngIf"],[1,"app-ace-editor",2,"width","100%","height","500px"],["editor",""],["class","issue",4,"ngFor","ngForOf"],[1,"issue"],[3,"click"]],template:function(_,M){1&_&&(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\u0275template(5,r,2,1,"div",1),b.\u0275\u0275element(6,"div",2,3),b.\u0275\u0275elementEnd()()),2&_&&(b.\u0275\u0275advance(4),b.\u0275\u0275textInterpolate(M.title),b.\u0275\u0275advance(1),b.\u0275\u0275property("ngIf",M.outcome))},dependencies:[o.NgForOf,o.NgIf,v.MatLegacyCard,v.MatLegacyCardHeader,v.MatLegacyCardContent,v.MatLegacyCardTitle],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}.app-ace-editor[_ngcontent-%COMP%]{border:2px solid #f8f9fa;box-shadow:0 .5rem 1rem #00000026}.issue[_ngcontent-%COMP%]{border:2px solid #f8f9fa;padding:2px}.fatal[_ngcontent-%COMP%]{background:#cc3300}.error[_ngcontent-%COMP%]{background:#ff9966}.warning[_ngcontent-%COMP%]{background:#ffe69e}.information[_ngcontent-%COMP%]{background:#cde8a5} .ace-highlight-fatal{position:absolute;background:#cc3300;opacity:.4} .ace-highlight-error{position:absolute;background:#ff9966;opacity:.4} .ace-highlight-warning{position:absolute;background:#ffcc00;opacity:.4} .ace-highlight-information{position:absolute;background:#99cc33;opacity:.4}"]}),h})()},3835:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.SettingsComponent=void 0;const n=g(655),p=n.__importDefault(g(4147)),C=n.__importStar(g(5879)),b=n.__importStar(g(9025));X.SettingsComponent=(()=>{class v{constructor(){this.version=p.default.version}ngOnInit(){}}return v.\u0275fac=function(c){return new(c||v)},v.\u0275cmp=C.\u0275\u0275defineComponent({type:v,selectors:[["app-settings"]],decls:14,vars:1,consts:[["href","https://github.com/ahdis/matchbox","target","_blank","rel","external nofollow noopener"]],template:function(c,s){1&c&&(C.\u0275\u0275elementStart(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),C.\u0275\u0275text(3,"Matchbox settings"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(4,"mat-card-subtitle"),C.\u0275\u0275text(5),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(6,"mat-card-content")(7,"p")(8,"em"),C.\u0275\u0275text(9,"There are no configurable settings here right now"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(10,"p"),C.\u0275\u0275text(11," Source code: "),C.\u0275\u0275elementStart(12,"a",0),C.\u0275\u0275text(13,"github.com/ahdis/matchbox"),C.\u0275\u0275elementEnd()()()()),2&c&&(C.\u0275\u0275advance(5),C.\u0275\u0275textInterpolate1("Version ",s.version,""))},dependencies:[b.MatLegacyCard,b.MatLegacyCardHeader,b.MatLegacyCardContent,b.MatLegacyCardTitle,b.MatLegacyCardSubtitle]}),v})()},6208:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.SharedModule=void 0;const n=g(655),p=g(6814),C=g(6223),b=g(6593),o=g(9241),v=g(4505),a=g(9025),c=g(4021),s=g(3680),l=g(5616),d=g(6385),r=g(4187),u=g(617),h=g(2400),m=g(6718),_=g(9559),M=g(1036),x=g(1798),w=g(1830),L=g(4433),A=g(2214),T=g(8615),O=g(1274),E=g(9515),D=g(1438),R=n.__importStar(g(5879)),j=[p.CommonModule,b.BrowserModule,C.FormsModule,C.ReactiveFormsModule,E.TranslateModule,o.MatLegacyAutocompleteModule,v.MatLegacyButtonModule,a.MatLegacyCardModule,c.MatLegacyCheckboxModule,d.MatDividerModule,r.MatLegacyFormFieldModule,u.MatIconModule,h.MatLegacyInputModule,m.MatLegacyMenuModule,_.MatLegacyPaginatorModule,x.MatLegacySelectModule,L.MatLegacySliderModule,w.MatLegacySlideToggleModule,A.MatLegacyTableModule,O.MatToolbarModule,T.MatLegacyTabsModule,l.MatDatepickerModule,s.MatNativeDateModule,M.MatLegacyRadioModule,D.MatLegacyProgressSpinnerModule];X.SharedModule=(()=>{class k{}return k.\u0275fac=function(Y){return new(Y||k)},k.\u0275mod=R.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=R.\u0275\u0275defineInjector({imports:[j,p.CommonModule,b.BrowserModule,C.FormsModule,C.ReactiveFormsModule,E.TranslateModule,o.MatLegacyAutocompleteModule,v.MatLegacyButtonModule,a.MatLegacyCardModule,c.MatLegacyCheckboxModule,d.MatDividerModule,r.MatLegacyFormFieldModule,u.MatIconModule,h.MatLegacyInputModule,m.MatLegacyMenuModule,_.MatLegacyPaginatorModule,x.MatLegacySelectModule,L.MatLegacySliderModule,w.MatLegacySlideToggleModule,A.MatLegacyTableModule,O.MatToolbarModule,T.MatLegacyTabsModule,l.MatDatepickerModule,s.MatNativeDateModule,M.MatLegacyRadioModule,D.MatLegacyProgressSpinnerModule]}),k})()},7154:(Se,X,g)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.TransformComponent=void 0;const n=g(655),b=(g(5879),g(7088),g(6223)),o=g(1385),v=n.__importStar(g(5879)),a=n.__importStar(g(7088)),c=n.__importStar(g(6814)),s=n.__importStar(g(6223)),l=n.__importStar(g(4678)),d=n.__importStar(g(9025)),r=n.__importStar(g(4187)),u=n.__importStar(g(1798)),h=n.__importStar(g(9949)),m=n.__importStar(g(9009));function _(L,A){if(1&L&&(v.\u0275\u0275elementStart(0,"mat-option",7),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&L){const T=A.$implicit;v.\u0275\u0275propertyInterpolate("value",T.url),v.\u0275\u0275advance(1),v.\u0275\u0275textInterpolate(T.name)}}function M(L,A){if(1&L&&(v.\u0275\u0275elementStart(0,"li"),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&L){const T=A.$implicit;v.\u0275\u0275advance(1),v.\u0275\u0275textInterpolate1(" ",T.diagnostics," ")}}function x(L,A){if(1&L&&(v.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),v.\u0275\u0275template(2,M,2,1,"li",8),v.\u0275\u0275elementEnd()()),2&L){const T=v.\u0275\u0275nextContext();v.\u0275\u0275advance(2),v.\u0275\u0275property("ngForOf",T.operationOutcomeTransformed.issue)}}X.TransformComponent=(()=>{class L{constructor(T,O){this.data=T,this.cd=O,this.query={_summary:"true",_sort:"name"},this.panelOpenState=!1,this.client=T.getFhirClient(),this.client.search({resourceType:"StructureMap",searchParams:this.query}).then(E=>(this.setMaps(E),E)),this.selectedMap=new b.UntypedFormControl,this.selectedMap.valueChanges.pipe((0,o.debounceTime)(400),(0,o.distinctUntilChanged)()).subscribe(E=>{this.selectedUrl=E,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(T=>{this.operationOutcomeTransformed=null,this.transformed=T}).catch(T=>{this.transformed=null,this.operationOutcomeTransformed=T.response.data})}getSource(){return this.source}getMapped(){return JSON.stringify(this.transformed,null,2)}setMaps(T){this.structureMaps=T.entry.map(O=>O.resource)}ngOnInit(){}addFile(T){this.transformed=null,("application/json"===T.contentType||T.name.endsWith(".json"))&&(this.mimeType="application/fhir+json"),("application/xml"===T.contentType||T.name.endsWith(".xml"))&&(this.mimeType="application/fhir+xml");const O=new FileReader;O.readAsText(T.blob),O.onload=()=>{this.source=O.result}}}return L.\u0275fac=function(T){return new(T||L)(v.\u0275\u0275directiveInject(a.FhirConfigService),v.\u0275\u0275directiveInject(v.ChangeDetectorRef))},L.\u0275cmp=v.\u0275\u0275defineComponent({type:L,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(T,O){1&T&&(v.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),v.\u0275\u0275text(4),v.\u0275\u0275elementEnd()(),v.\u0275\u0275elementStart(5,"div"),v.\u0275\u0275text(6,"Resource"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(7,"app-upload",1),v.\u0275\u0275listener("addFiles",function(D){return O.addFile(D)}),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(8,"pre"),v.\u0275\u0275element(9,"code",2),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-form-field",3)(12,"mat-label"),v.\u0275\u0275text(13,"Map for transforming"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(14,"mat-select",4),v.\u0275\u0275template(15,_,2,2,"mat-option",5),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(16,"mat-card",0)(17,"mat-card-content")(18,"mat-card-header")(19,"mat-card-title"),v.\u0275\u0275text(20,"Transformed"),v.\u0275\u0275elementEnd()(),v.\u0275\u0275template(21,x,3,1,"mat-error",6),v.\u0275\u0275elementStart(22,"pre"),v.\u0275\u0275element(23,"code",2),v.\u0275\u0275elementEnd()()()),2&T&&(v.\u0275\u0275advance(4),v.\u0275\u0275textInterpolate(O.client.baseUrl),v.\u0275\u0275advance(5),v.\u0275\u0275property("highlight",O.getSource())("lineNumbers",!0),v.\u0275\u0275advance(5),v.\u0275\u0275property("formControl",O.selectedMap),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngForOf",O.structureMaps),v.\u0275\u0275advance(6),v.\u0275\u0275property("ngIf",O.operationOutcomeTransformed),v.\u0275\u0275advance(2),v.\u0275\u0275property("highlight",O.getMapped())("lineNumbers",!0))},dependencies:[c.NgForOf,c.NgIf,s.NgControlStatus,s.FormControlDirective,l.MatLegacyOption,d.MatLegacyCard,d.MatLegacyCardHeader,d.MatLegacyCardContent,d.MatLegacyCardTitle,r.MatLegacyError,r.MatLegacyFormField,r.MatLegacyLabel,u.MatLegacySelect,h.Highlight,m.UploadComponent],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]}),L})()},9009:(Se,X,g)=>{"use strict";var n=g(7156).default;Object.defineProperty(X,"__esModule",{value:!0}),X.UploadComponent=void 0;const p=g(655),C=g(5879),b=p.__importStar(g(5879)),o=p.__importStar(g(4505)),v=p.__importStar(g(617));X.UploadComponent=(()=>{class c{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 d=l.target.files||l.dataTransfer.items;if(d)for(let u=0;u0))},dependencies:[o.MatLegacyButton,v.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}),c})()},9936:(Se,X,g)=>{"use strict";var n=g(7156).default;Object.defineProperty(X,"__esModule",{value:!0}),X.ValidateComponent=void 0;const p=g(655),o=(g(5879),g(7088),g(6223)),v=p.__importDefault(g(827)),a=p.__importDefault(g(1328)),c=g(2214),s=p.__importStar(g(5879)),l=p.__importStar(g(7088)),d=p.__importStar(g(6814)),r=p.__importStar(g(6223)),u=p.__importStar(g(4678)),h=p.__importStar(g(4505)),m=p.__importStar(g(9025)),_=p.__importStar(g(4187)),M=p.__importStar(g(617)),x=p.__importStar(g(2400)),w=p.__importStar(g(6718)),L=p.__importStar(g(1798)),A=p.__importStar(g(2214)),T=p.__importStar(g(1438)),O=p.__importStar(g(7515)),E=p.__importStar(g(9009));function D(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"mat-option",26),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ot){const rt=vt.$implicit;s.\u0275\u0275property("value",rt),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",rt," ")}}function R(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"mat-option",26),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ot){const rt=vt.$implicit;s.\u0275\u0275property("value",rt),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",rt," ")}}function j(ot,vt){1&ot&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",27),s.\u0275\u0275elementContainerEnd())}function N(ot,vt){if(1&ot&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"app-operation-outcome",28),s.\u0275\u0275elementContainerEnd()),2&ot){const rt=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275property("operationOutcome",rt.operationOutcome)("title",rt.errMsg)}}function S(ot,vt){1&ot&&(s.\u0275\u0275elementStart(0,"mat-header-cell",29),s.\u0275\u0275text(1,"Resource"),s.\u0275\u0275elementEnd())}function k(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"mat-cell",29),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ot){const rt=vt.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(rt.name)}}function F(ot,vt){1&ot&&(s.\u0275\u0275elementStart(0,"mat-header-cell",30),s.\u0275\u0275text(1,"Profile/IG"),s.\u0275\u0275elementEnd())}function Y(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ot){const rt=vt.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",rt," ")}}function se(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ot){const rt=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",rt.ig," ")}}function ne(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"mat-cell",30)(1,"div"),s.\u0275\u0275template(2,Y,2,1,"div",31),s.\u0275\u0275template(3,se,2,1,"div",7),s.\u0275\u0275elementEnd()()),2&ot){const rt=vt.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",rt.profiles),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",rt.ig)}}function me(ot,vt){1&ot&&(s.\u0275\u0275elementStart(0,"mat-header-cell",32),s.\u0275\u0275text(1,"Errors"),s.\u0275\u0275elementEnd())}function $(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"mat-cell",32),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ot){const rt=vt.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("",rt.operationOutcome?rt.getErrors():"-"," ")}}function q(ot,vt){1&ot&&(s.\u0275\u0275elementStart(0,"mat-header-cell",32),s.\u0275\u0275text(1,"Warnings"),s.\u0275\u0275elementEnd())}function Q(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"mat-cell",32),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ot){const rt=vt.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("",rt.operationOutcome?rt.getWarnings():"-"," ")}}function ue(ot,vt){1&ot&&(s.\u0275\u0275elementStart(0,"mat-header-cell",32),s.\u0275\u0275text(1,"Info"),s.\u0275\u0275elementEnd())}function Me(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"mat-cell",32),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&ot){const rt=vt.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("",rt.operationOutcome?rt.getInfos():"-"," ")}}function Oe(ot,vt){1&ot&&(s.\u0275\u0275elementStart(0,"mat-header-cell",32),s.\u0275\u0275text(1,"Remove"),s.\u0275\u0275elementEnd())}function Xe(ot,vt){if(1&ot){const rt=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"mat-cell",32)(1,"button",33),s.\u0275\u0275listener("click",function(){const ee=s.\u0275\u0275restoreView(rt).$implicit,ae=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(ae.remove(ee))}),s.\u0275\u0275elementStart(2,"mat-icon"),s.\u0275\u0275text(3,"remove"),s.\u0275\u0275elementEnd()()()}}function Be(ot,vt){1&ot&&s.\u0275\u0275element(0,"mat-header-row")}function $e(ot,vt){if(1&ot){const rt=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"mat-row",34),s.\u0275\u0275listener("click",function(){const ee=s.\u0275\u0275restoreView(rt).$implicit,ae=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(ae.selectRow(ee))}),s.\u0275\u0275elementEnd()}}function st(ot,vt){if(1&ot&&(s.\u0275\u0275elementStart(0,"div",2)(1,"mat-form-field",36)(2,"mat-label"),s.\u0275\u0275text(3),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(4,"input",37),s.\u0275\u0275elementEnd()()),2&ot){const rt=vt.$implicit;s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(rt.param.name),s.\u0275\u0275advance(1),s.\u0275\u0275property("formControl",rt.formControl)}}function Mt(ot,vt){if(1&ot&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275template(1,st,5,2,"div",35),s.\u0275\u0275elementContainerEnd()),2&ot){const rt=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275property("ngForOf",rt.validatorSettings)}}function tt(ot,vt){if(1&ot&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"app-operation-outcome",38),s.\u0275\u0275elementContainerEnd()),2&ot){const rt=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275property("mode",rt.selectedEntry.mimetype)("operationOutcome",rt.operationOutcome)("json",rt.json)("title",rt.validationOutcomeTitle())}}const St=function(){return["name","profile","error","warning","info","action"]};class bt{constructor(vt){this.param=vt,this.formControl=new o.UntypedFormControl}isValueSet(){return null!=this.valueBoolean||null!=this.valueString}}class xt{constructor(vt,rt,J,Ce){this.name=vt,this.json=rt,this.mimetype=J,this.profiles=Ce}getErrors(){if(this.operationOutcome)return this.operationOutcome?.issue?.filter(vt=>"processing"===vt.code&&("error"===vt.severity||"fatal"===vt.severity)).length}getWarnings(){if(this.operationOutcome)return this.operationOutcome?.issue?.filter(vt=>"processing"===vt.code&&"warning"===vt.severity).length}getInfos(){if(this.operationOutcome)return this.operationOutcome?.issue?.filter(vt=>"processing"===vt.code&&"information"===vt.severity).length}}X.ValidateComponent=(()=>{class ot{constructor(rt,J){this.data=rt,this.cd=J,this.selectedIg=null,this.validatorSettings=new Array,this.dataSource=new c.MatLegacyTableDataSource,this.showSettings=!1,this.client=rt.getFhirClient(),this.client.capabilityStatement().then(Ce=>{this.capabilitystatement=Ce,this.client.read({resourceType:"OperationDefinition",id:"-s-validate"}).then(ee=>{ee.parameter?.forEach(ae=>{"profile"==ae.name&&(this.profiles=ae.targetProfile)}),ee.parameter.filter(ae=>"in"==ae.use&&"resource"!=ae.name&&"profile"!=ae.name&&"ig"!=ae.name).forEach(ae=>{this.validatorSettings.push(new bt(ae))})})}).catch(Ce=>{this.errMsg="Error accessing FHIR server",this.operationOutcome=Ce.response.data}),this.client.search({resourceType:"ImplementationGuide",searchParams:{_sort:"title",_count:1e3}}).then(Ce=>{this.igs=Ce.entry.map(ee=>ee.resource.packageId+"#"+ee.resource.version).sort()}).catch(Ce=>{this.errMsg="Error accessing FHIR server",this.operationOutcome=Ce.response.data}),this.validationInProgress=0}getSelectedProfile(){return this.selectedProfile}setSelectedProfile(rt){this.selectedProfile=rt}getSelectedIg(){return this.selectedIg}setSelectedIg(rt){this.selectedIg=rt}getProfiles(){return this.profiles}addFile(rt){this.validationInProgress+=1,("application/json"===rt.contentType||rt.name.endsWith(".json"))&&this.addJson(rt.blob),("application/xml"===rt.contentType||rt.name.endsWith(".xml"))&&this.addXml(rt.blob),rt.name.endsWith(".tgz")&&this.addPackage(rt.blob),this.validationInProgress-=1}addXml(rt){this.selectedProfile=null,this.selectedIg=null;const J=new FileReader;J.readAsText(rt),J.onload=()=>{this.cd.markForCheck();let ee=new xt(rt.name,J.result,"application/fhir+xml",null);this.selectRow(ee),null!=this.selectedProfile&&(ee.profiles=[this.selectedProfile]),this.validate(ee)}}addJson(rt){this.selectedProfile=null,this.selectedIg=null;const J=new FileReader;J.readAsText(rt),J.onload=()=>{this.cd.markForCheck();let ee=new xt(rt.name,J.result,"application/fhir+json",null);this.selectRow(ee),null!=this.selectedProfile&&(ee.profiles=[this.selectedProfile]),this.validate(ee)}}onValidateIg(){let rt="";null!=this.selectedIg&&(rt=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg,rt=rt.replace("#","-"),this.fetchData(this.client.baseUrl+"/ImplementationGuide/"+rt))}fetchData(rt){var J=this;return n(function*(){const Ce=yield fetch(rt,{cache:"no-store",headers:{Accept:"application/gzip"}}),ae=(Ce.headers.get("Content-Type"),yield Ce.blob());J.addPackage(ae)})()}addPackage(rt){this.selectedProfile=null,this.selectedIg=null;const J=new FileReader;J.readAsArrayBuffer(rt),J.onload=()=>{if(this.package=J.result,this.cd.markForCheck(),null!=this.package){const Ce=v.default.inflate(new Uint8Array(this.package)),ee=new Array;let ae=null,ie=null;const pe=this;(0,a.default)(Ce.buffer).then(function(Te){ee.forEach(ct=>{ct.ig=ie,ct.fhirVersion=ae,pe.validate(ct)})},function(Te){},function(Te){if(Te.name?.indexOf("package.json")>=0){let ct=new TextDecoder("utf-8"),Lt=JSON.parse(ct.decode(Te.buffer));ae=Lt.fhirVersions[0],ie=Lt.name+"#"+Lt.version}if(Te.name?.indexOf("example")>=0&&-1==Te.name?.indexOf(".index.json")){let ct=Te.name;ct.startsWith("package/example/")&&(ct=ct.substring(16)),ct.startsWith("example/")&&(ct=ct.substring(8));let Lt=new TextDecoder("utf-8"),Dt=JSON.parse(Lt.decode(Te.buffer)),Kt=Dt.meta?.profile;for(let yt=0;yt0))return;J="?profile="+encodeURIComponent(rt.profiles[0]),null!=rt.ig&&(J+="&ig="+encodeURIComponent(rt.ig))}catch{}for(let Ce=0;Ce0&&(J+="&"+this.validatorSettings[Ce].param.name+"="+encodeURIComponent(this.validatorSettings[Ce].formControl.value));this.validationInProgress+=1,this.client.operation({name:"validate"+J,resourceType:void 0,input:rt.json,options:{headers:{accept:"application/fhir+json","content-type":rt.mimetype}}}).then(Ce=>{this.validationInProgress-=1,rt.operationOutcome=Ce,this.dataSource.data.push(rt),this.dataSource.data=this.dataSource.data,0==this.validationInProgress&&this.selectRow(rt)}).catch(Ce=>{this.validationInProgress-=1})}selectRow(rt){if(this.errMsg="",this.selectedEntry=rt,rt){if(this.operationOutcome=rt.operationOutcome,this.json=rt.json,this.resourceName="",this.resourceId="","application/fhir+json"===rt.mimetype)try{const J=JSON.parse(this.json);J?.resourceType&&(this.resourceName=J.resourceType,this.resourceId=J.id),this.selectedProfile=J.meta?.profile?.[0],null==this.selectedProfile&&J?.resourceType&&(this.selectedProfile="http://hl7.org/fhir/StructureDefinition/"+J.resourceType)}catch(J){this.errMsg=J.message}if("application/fhir+xml"===rt.mimetype){let J=this.json.indexOf("",Ce);if(Ce0&&(ae=ae.substring(0,ie)),ie=ae.indexOf(":"),ie>0&&(ae=ae.substring(ie+1)),this.resourceName=ae;let pe=this.json.indexOf("profile",ee);if(pe>0){let Te=this.json.indexOf('value="',pe)+7,ct=this.json.indexOf('"',Te);Te0),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",J.errMsg),s.\u0275\u0275advance(6),s.\u0275\u0275property("dataSource",J.dataSource),s.\u0275\u0275advance(20),s.\u0275\u0275property("matHeaderRowDef",s.\u0275\u0275pureFunction0(13,St)),s.\u0275\u0275advance(1),s.\u0275\u0275property("matRowDefColumns",s.\u0275\u0275pureFunction0(14,St)),s.\u0275\u0275advance(9),s.\u0275\u0275property("ngIf",J.showSettings),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",J.operationOutcome))},dependencies:[d.NgForOf,d.NgIf,r.DefaultValueAccessor,r.NgControlStatus,r.NgModel,r.FormControlDirective,u.MatLegacyOption,h.MatLegacyButton,m.MatLegacyCard,m.MatLegacyCardHeader,m.MatLegacyCardContent,m.MatLegacyCardTitle,m.MatLegacyCardActions,_.MatLegacyFormField,_.MatLegacyLabel,M.MatIcon,x.MatLegacyInput,w.MatLegacyMenuItem,L.MatLegacySelect,A.MatLegacyTable,A.MatLegacyHeaderCellDef,A.MatLegacyHeaderRowDef,A.MatLegacyColumnDef,A.MatLegacyCellDef,A.MatLegacyRowDef,A.MatLegacyHeaderCell,A.MatLegacyCell,A.MatLegacyHeaderRow,A.MatLegacyRow,T.MatLegacyProgressSpinner,O.OperationOutcomeComponent,E.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.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.name[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell.name[_ngcontent-%COMP%]{flex:2}.mat-table[_ngcontent-%COMP%] .mat-cell.profile[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell.profile[_ngcontent-%COMP%]{flex:4}.mat-table[_ngcontent-%COMP%] .mat-cell.res[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell.res[_ngcontent-%COMP%]{flex:.5;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}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] .cell-content[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%] .cell-content[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.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%]{margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),ot})()},553:(Se,X)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0}),X.environment=void 0,X.environment={production:!0}},4913:(Se,X,g)=>{"use strict";const C=g(655).__importStar(g(6593)),b=g(5879),o=g(8629);g(553).environment.production&&(0,b.enableProdMode)(),C.platformBrowser().bootstrapModule(o.AppModule).catch(a=>console.log(a))},5101:(Se,X,g)=>{Se=g.nmd(Se),function(){var p=function(){return this}();!p&&typeof window<"u"&&(p=window);var C=function(s,l,d){"string"==typeof s?(2==arguments.length&&(d=l),C.modules[s]||(C.payloads[s]=d,C.modules[s]=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 b=function(s,l,d){if("string"==typeof l){var r=a(s,l);if(null!=r)return d&&d(),r}else if("[object Array]"===Object.prototype.toString.call(l)){for(var u=[],h=0,m=l.length;ha.length)&&(v=a.length);var c=a.indexOf(o,v-=o.length);return-1!==c&&c===v}),String.prototype.repeat||b(String.prototype,"repeat",function(o){for(var v="",a=this;o>0;)1&o&&(v+=a),(o>>=1)&&(a+=a);return v}),String.prototype.includes||b(String.prototype,"includes",function(o,v){return-1!=this.indexOf(o,v)}),Object.assign||(Object.assign=function(o){if(null==o)throw new TypeError("Cannot convert undefined or null to object");for(var v=Object(o),a=1;a>>0,s=arguments[1]>>0,l=s<0?Math.max(a+s,0):Math.min(s,a),d=arguments[2],r=void 0===d?a:d>>0,u=r<0?Math.max(a+r,0):Math.min(r,a);l0;)1&a&&(c+=v),(a>>=1)&&(v+=v);return c};var b=/^\s\s*/,o=/\s\s*$/;p.stringTrimLeft=function(v){return v.replace(b,"")},p.stringTrimRight=function(v){return v.replace(o,"")},p.copyObject=function(v){var a={};for(var c in v)a[c]=v[c];return a},p.copyArray=function(v){for(var a=[],c=0,s=v.length;c=0?parseFloat((v.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((v.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),p.isOldIE=p.isIE&&p.isIE<9,p.isGecko=p.isMozilla=v.match(/ Gecko\/\d+/),p.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),p.isWebKit=parseFloat(v.split("WebKit/")[1])||void 0,p.isChrome=parseFloat(v.split(" Chrome/")[1])||void 0,p.isEdge=parseFloat(v.split(" Edge/")[1])||void 0,p.isAIR=v.indexOf("AdobeAIR")>=0,p.isAndroid=v.indexOf("Android")>=0,p.isChromeOS=v.indexOf(" CrOS ")>=0,p.isIOS=/iPad|iPhone|iPod/.test(v)&&!window.MSStream,p.isIOS&&(p.isMac=!0),p.isMobile=p.isIOS||p.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(n,p,C){"use strict";var b=n("./useragent");p.buildDom=function d(r,u,h){if("string"==typeof r&&r){var m=document.createTextNode(r);return u&&u.appendChild(m),m}if(!Array.isArray(r))return r&&r.appendChild&&u&&u.appendChild(r),r;if("string"!=typeof r[0]||!r[0]){for(var _=[],M=0;M"u")){if(a)if(u)c();else if(!1===u)return a.push([d,r]);if(!v){var h=u;u&&u.getRootNode?(!(h=u.getRootNode())||h==u)&&(h=document):h=document;var m=h.ownerDocument||h;if(r&&p.hasCssString(r,h))return null;r&&(d+="\n/*# sourceURL=ace/css/"+r+" */");var _=p.createElement("style");_.appendChild(m.createTextNode(d)),r&&(_.id=r),h==m&&(h=p.getDocumentHead(m)),h.insertBefore(_,h.firstChild)}}}if(p.useStrictCSP=function(d){v=d,0==d?c():a||(a=[])},p.importCssString=s,p.importCssStylsheet=function(d,r){p.buildDom(["link",{rel:"stylesheet",href:d}],p.getDocumentHead(r))},p.scrollbarWidth=function(d){var r=p.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var u=p.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 m=d&&d.documentElement||document&&document.documentElement;if(!m)return 0;m.appendChild(u);var _=r.offsetWidth;h.overflow="scroll";var M=r.offsetWidth;return _===M&&(M=u.clientWidth),m.removeChild(u),_-M},p.computedStyle=function(d,r){return window.getComputedStyle(d,"")||{}},p.setStyle=function(d,r,u){d[r]!==u&&(d[r]=u)},p.HAS_CSS_ANIMATION=!1,p.HAS_CSS_TRANSFORMS=!1,p.HI_DPI=!b.isWin||typeof window<"u"&&window.devicePixelRatio>=1.5,b.isChromeOS&&(p.HI_DPI=!1),typeof document<"u"){var l=document.createElement("div");p.HI_DPI&&void 0!==l.style.transform&&(p.HAS_CSS_TRANSFORMS=!0),!b.isEdge&&typeof l.style.animationName<"u"&&(p.HAS_CSS_ANIMATION=!0),l=null}p.translate=p.HAS_CSS_TRANSFORMS?function(d,r,u){d.style.transform="translate("+Math.round(r)+"px, "+Math.round(u)+"px)"}:function(d,r,u){d.style.top=Math.round(u)+"px",d.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(n,p,C){"use strict";var b=n("./dom");p.get=function(o,v){var a=new XMLHttpRequest;a.open("GET",o,!0),a.onreadystatechange=function(){4===a.readyState&&v(a.responseText)},a.send(null)},p.loadScript=function(o,v){var a=b.getDocumentHead(),c=document.createElement("script");c.src=o,a.appendChild(c),c.onload=c.onreadystatechange=function(s,l){(l||!c.readyState||"loaded"==c.readyState||"complete"==c.readyState)&&(c=c.onload=c.onreadystatechange=null,l||v())}},p.qualifyURL=function(o){var v=document.createElement("a");return v.href=o,v.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(n,p,C){"use strict";p.inherits=function(b,o){b.super_=o,b.prototype=Object.create(o.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}})},p.mixin=function(b,o){for(var v in o)b[v]=o[v];return b},p.implement=function(b,o){p.mixin(b,o)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(n,p,C){"use strict";var b={},o=function(){this.propagationStopped=!0},v=function(){this.defaultPrevented=!0};b._emit=b._dispatchEvent=function(a,c){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var s=this._eventRegistry[a]||[],l=this._defaultHandlers[a];if(s.length||l){("object"!=typeof c||!c)&&(c={}),c.type||(c.type=a),c.stopPropagation||(c.stopPropagation=o),c.preventDefault||(c.preventDefault=v),s=s.slice();for(var d=0;d1&&(_=h[h.length-2]);var x=c[u+"Path"];return null==x?x=c.basePath:"/"==m&&(u=m=""),x&&"/"!=x.slice(-1)&&(x+="/"),x+u+m+_+this.get("suffix")},p.setModuleUrl=function(r,u){return c.$moduleUrls[r]=u},p.setLoader=function(r){l=r},p.dynamicModules=Object.create(null),p.$loading={},p.$loaded={},p.loadModule=function(r,u){var h,m;Array.isArray(r)&&(m=r[0],r=r[1]);var _=function(M){if(M&&!p.$loading[r])return u&&u(M);if(p.$loading[r]||(p.$loading[r]=[]),p.$loading[r].push(u),!(p.$loading[r].length>1)){var x=function(){!function(r,u){"ace/theme/textmate"===r||"./theme/textmate"===r?u(0,n("./theme/textmate")):l?l(r,u):console.error("loader is not configured")}(r,function(w,L){L&&(p.$loaded[r]=L),p._emit("load.module",{name:r,module:L});var A=p.$loading[r];p.$loading[r]=null,A.forEach(function(T){T&&T(L)})})};if(!p.get("packaged"))return x();o.loadScript(p.moduleUrl(r,m),x),d()}};if(p.dynamicModules[r])p.dynamicModules[r]().then(function(M){_(M.default?M.default:M)});else{try{h=this.$require(r)}catch{}_(h||p.$loaded[r])}},p.$require=function(r){if("function"==typeof C.require)return C.require(r)},p.setModuleLoader=function(r,u){p.dynamicModules[r]=u};var d=function(){!c.basePath&&!c.workerPath&&!c.modePath&&!c.themePath&&!Object.keys(c.$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"),d=function(){})};p.version="1.23.4"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(n,p,C){"use strict";n("./lib/fixoldbrowsers");var b=n("./config");b.setLoader(function(c,s){n([c],function(l){s(null,l)})});var o=function(){return this||typeof window<"u"&&window}();function v(c){if(o&&o.document){b.set("packaged",c||n.packaged||C.packaged||o.define&&g.amdD.packaged);var s={},l="",d=document.currentScript||document._currentScript,r=d&&d.ownerDocument||document;d&&d.src&&(l=d.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var u=r.getElementsByTagName("script"),h=0;h ["+this.end.row+"/"+this.end.column+"]"},v.prototype.contains=function(a,c){return 0==this.compare(a,c)},v.prototype.compareRange=function(a){var c,s=a.end,l=a.start;return 1==(c=this.compare(s.row,s.column))?1==(c=this.compare(l.row,l.column))?2:0==c?1:0:-1==c?-2:-1==(c=this.compare(l.row,l.column))?-1:1==c?42:0},v.prototype.comparePoint=function(a){return this.compare(a.row,a.column)},v.prototype.containsRange=function(a){return 0==this.comparePoint(a.start)&&0==this.comparePoint(a.end)},v.prototype.intersects=function(a){var c=this.compareRange(a);return-1==c||0==c||1==c},v.prototype.isEnd=function(a,c){return this.end.row==a&&this.end.column==c},v.prototype.isStart=function(a,c){return this.start.row==a&&this.start.column==c},v.prototype.setStart=function(a,c){"object"==typeof a?(this.start.column=a.column,this.start.row=a.row):(this.start.row=a,this.start.column=c)},v.prototype.setEnd=function(a,c){"object"==typeof a?(this.end.column=a.column,this.end.row=a.row):(this.end.row=a,this.end.column=c)},v.prototype.inside=function(a,c){return 0==this.compare(a,c)&&!(this.isEnd(a,c)||this.isStart(a,c))},v.prototype.insideStart=function(a,c){return 0==this.compare(a,c)&&!this.isEnd(a,c)},v.prototype.insideEnd=function(a,c){return 0==this.compare(a,c)&&!this.isStart(a,c)},v.prototype.compare=function(a,c){return this.isMultiLine()||a!==this.start.row?athis.end.row?1:this.start.row===a?c>=this.start.column?0:-1:this.end.row===a?c<=this.end.column?0:1:0:cthis.end.column?1:0},v.prototype.compareStart=function(a,c){return this.start.row==a&&this.start.column==c?-1:this.compare(a,c)},v.prototype.compareEnd=function(a,c){return this.end.row==a&&this.end.column==c?1:this.compare(a,c)},v.prototype.compareInside=function(a,c){return this.end.row==a&&this.end.column==c?1:this.start.row==a&&this.start.column==c?-1:this.compare(a,c)},v.prototype.clipRows=function(a,c){if(this.end.row>c)var s={row:c+1,column:0};else this.end.rowc)var l={row:c+1,column:0};else this.start.row1?++O>4&&(O=1):O=1,o.isIE){var k=Math.abs(S.clientX-E)>5||Math.abs(S.clientY-D)>5;(!R||k)&&(O=1),R&&clearTimeout(R),R=setTimeout(function(){R=null},w[O-1]||600),1==O&&(E=S.clientX,D=S.clientY)}if(S._clicks=O,L[A]("mousedown",S),O>4)O=0;else if(O>1)return L[A](j[O],S)}Array.isArray(x)||(x=[x]),x.forEach(function(S){r(S,"mousedown",N,T)})};var h=function(x){return 0|(x.ctrlKey?1:0)|(x.altKey?2:0)|(x.shiftKey?4:0)|(x.metaKey?8:0)};function m(x,w,L){var A=h(w);if(!o.isMac&&v){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(A|=8),v.altGr){if(3==(3&A))return;v.altGr=0}if(18===L||17===L){var T="location"in w?w.location:w.keyLocation;17===L&&1===T?1==v[L]&&(a=w.timeStamp):18===L&&3===A&&2===T&&w.timeStamp-a<50&&(v.altGr=!0)}}if(L in b.MODIFIER_KEYS&&(L=-1),A||13!==L||3!==(T="location"in w?w.location:w.keyLocation)||(x(w,A,-L),!w.defaultPrevented)){if(o.isChromeOS&&8&A){if(x(w,A,L),w.defaultPrevented)return;A&=-9}return!!(A||L in b.FUNCTION_KEYS||L in b.PRINTABLE_KEYS)&&x(w,A,L)}}function _(){v=Object.create(null)}if(p.getModifierString=function(x){return b.KEY_MODS[h(x)]},p.addCommandKeyListener=function(x,w,L){if(o.isOldGecko||o.isOpera&&!("KeyboardEvent"in window)){var A=null;r(x,"keydown",function(O){A=O.keyCode},L),r(x,"keypress",function(O){return m(w,O,A)},L)}else{var T=null;r(x,"keydown",function(O){v[O.keyCode]=(v[O.keyCode]||0)+1;var E=m(w,O,O.keyCode);return T=O.defaultPrevented,E},L),r(x,"keypress",function(O){T&&(O.ctrlKey||O.altKey||O.shiftKey||O.metaKey)&&(p.stopEvent(O),T=null)},L),r(x,"keyup",function(O){v[O.keyCode]=null},L),v||(_(),r(window,"focus",_))}},"object"==typeof window&&window.postMessage&&!o.isOldIE){var M=1;p.nextTick=function(x,w){w=w||window;var L="zero-timeout-message-"+M++,A=function(T){T.data==L&&(p.stopPropagation(T),u(w,"message",A),x())};r(w,"message",A),w.postMessage(L,"*")}}p.$idleBlocked=!1,p.onIdle=function(x,w){return setTimeout(function L(){p.$idleBlocked?setTimeout(L,100):x()},w)},p.$idleBlockId=null,p.blockIdle=function(x){p.$idleBlockId&&clearTimeout(p.$idleBlockId),p.$idleBlocked=!0,p.$idleBlockId=setTimeout(function(){p.$idleBlocked=!1},x||100)},p.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),p.nextFrame=p.nextFrame?p.nextFrame.bind(window):function(x){setTimeout(x,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(n,p,C){"use strict";var b;C.exports={lineMode:!1,pasteCancelled:function(){return!!(b&&b>Date.now()-50)||(b=!1)},cancel:function(){b=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(n,p,C){"use strict";var b=n("../lib/event"),o=n("../config").nls,v=n("../lib/useragent"),a=n("../lib/dom"),c=n("../lib/lang"),s=n("../clipboard"),l=v.isChrome<18,d=v.isIE,r=v.isChrome>63,u=400,h=n("../lib/keys"),m=h.KEY_MODS,_=v.isIOS,M=_?/\s/:/\n/,x=v.isMobile;p.TextInput=function(L,A){var T=a.createElement("textarea");T.className="ace_text-input",T.setAttribute("wrap","off"),T.setAttribute("autocorrect","off"),T.setAttribute("autocapitalize","off"),T.setAttribute("spellcheck",!1),T.style.opacity="0",L.insertBefore(T,L.firstChild);var O=!1,E=!1,D=!1,R=!1,j="";x||(T.style.fontSize="1px");var N=!1,S=!1,k="",F=0,Y=0,se=0;try{var ne=document.activeElement===T}catch{}this.setAriaOptions=function(ee){ee.activeDescendant?(T.setAttribute("aria-haspopup","true"),T.setAttribute("aria-autocomplete",ee.inline?"both":"list"),T.setAttribute("aria-activedescendant",ee.activeDescendant)):(T.setAttribute("aria-haspopup","false"),T.setAttribute("aria-autocomplete","both"),T.removeAttribute("aria-activedescendant")),ee.role&&T.setAttribute("role",ee.role)},this.setAriaLabel=function(){if(A.session&&A.renderer.enableKeyboardAccessibility){var ee=A.session.selection.cursor.row;T.setAttribute("aria-roledescription",o("editor")),T.setAttribute("aria-label",o("Cursor at row $0",[ee+1]))}else T.removeAttribute("aria-roledescription"),T.removeAttribute("aria-label")},this.setAriaOptions({role:"textbox"}),this.setAriaLabel(),b.addListener(T,"blur",function(ee){S||(A.onBlur(ee),ne=!1)},A),b.addListener(T,"focus",function(ee){if(!S){if(ne=!0,v.isEdge)try{if(!document.hasFocus())return}catch{}A.onFocus(ee),v.isEdge?setTimeout(me):me()}},A),this.$focusScroll=!1,this.focus=function(){if(this.setAriaLabel(),j||r||"browser"==this.$focusScroll)return T.focus({preventScroll:!0});var ee=T.style.top;T.style.position="fixed",T.style.top="0px";try{var ae=0!=T.getBoundingClientRect().top}catch{return}var ie=[];if(ae)for(var pe=T.parentElement;pe&&1==pe.nodeType;)ie.push(pe),pe.setAttribute("ace_nocontext",!0),pe=!pe.parentElement&&pe.getRootNode?pe.getRootNode().host:pe.parentElement;T.focus({preventScroll:!0}),ae&&ie.forEach(function(Te){Te.removeAttribute("ace_nocontext")}),setTimeout(function(){T.style.position="","0px"==T.style.top&&(T.style.top=ee)},0)},this.blur=function(){T.blur()},this.isFocused=function(){return ne},A.on("beforeEndOperation",function(){var ee=A.curOp,ae=ee&&ee.command&&ee.command.name;"insertstring"!=ae&&(D&&ae&&(ee.docChanged||ee.selectionChanged)&&(k=T.value="",bt()),me())});var me=_?function(ee){if(ne&&(!O||ee)&&!R){ee||(ee="");var ae="\n ab"+ee+"cde fg\n";ae!=T.value&&(T.value=k=ae);var pe=4+(ee.length||(A.selection.isEmpty()?0:1));(4!=F||Y!=pe)&&T.setSelectionRange(4,pe),F=4,Y=pe}}:function(){if(!D&&!R&&(ne||ue)){D=!0;var ee=0,ae=0,ie="";if(A.session){var pe=A.selection,Te=pe.getRange(),ct=pe.cursor.row;if(ee=Te.start.column,ae=Te.end.column,ie=A.session.getLine(ct),Te.start.row!=ct){var Lt=A.session.getLine(ct-1);ee=Te.start.rowct+1?Dt.length:ae,ae+=ie.length+1,ie=ie+"\n"+Dt}else x&&ct>0&&(ie="\n"+ie,ae+=1,ee+=1);ie.length>u&&(ee0&&k[ze]==ee[ze];)ze++,Te--;for(Lt=Lt.slice(ze),ze=1;ct>0&&k.length-ze>F-1&&k[k.length-ze]==ee[ee.length-ze];)ze++,ct--;Dt-=ze-1,Kt-=ze-1;var yt=Lt.length-ze+1;if(yt<0&&(Te=-yt,yt=0),Lt=Lt.slice(0,yt),!(ae||Lt||Dt||Te||ct||Kt))return"";R=!0;var Bt=!1;return v.isAndroid&&". "==Lt&&(Lt=" ",Bt=!0),Lt&&!Te&&!ct&&!Dt&&!Kt||N?A.onTextInput(Lt):A.onTextInput(Lt,{extendLeft:Te,extendRight:ct,restoreStart:Dt,restoreEnd:Kt}),R=!1,k=ee,F=ie,Y=pe,se=Kt,Bt?"\n":Lt},Oe=function(ee){if(D)return St();if(ee&&ee.inputType){if("historyUndo"==ee.inputType)return A.execCommand("undo");if("historyRedo"==ee.inputType)return A.execCommand("redo")}var ae=T.value,ie=Me(ae,!0);(ae.length>500||M.test(ie)||x&&F<1&&F==Y)&&me()},Xe=function(ee,ae,ie){var pe=ee.clipboardData||window.clipboardData;if(pe&&!l){var Te=d||ie?"Text":"text/plain";try{return ae?!1!==pe.setData(Te,ae):pe.getData(Te)}catch(ct){if(!ie)return Xe(ct,ae,!0)}}},Be=function(ee,ae){var ie=A.getCopyText();if(!ie)return b.preventDefault(ee);Xe(ee,ie)?(_&&(me(ie),O=ie,setTimeout(function(){O=!1},10)),ae?A.onCut():A.onCopy(),b.preventDefault(ee)):(O=!0,T.value=ie,T.select(),setTimeout(function(){O=!1,me(),ae?A.onCut():A.onCopy()}))},$e=function(ee){Be(ee,!0)},st=function(ee){Be(ee,!1)},Mt=function(ee){var ae=Xe(ee);s.pasteCancelled()||("string"==typeof ae?(ae&&A.onPaste(ae,ee),v.isIE&&setTimeout(me),b.preventDefault(ee)):(T.value="",E=!0))};b.addCommandKeyListener(T,A.onCommandKey.bind(A),A),b.addListener(T,"select",function(ee){D||(O?O=!1:function(ee){return 0===ee.selectionStart&&ee.selectionEnd>=k.length&&ee.value===k&&k&&ee.selectionEnd!==Y}(T)?(A.selectAll(),me()):x&&T.selectionStart!=F&&me())},A),b.addListener(T,"input",Oe,A),b.addListener(T,"cut",$e,A),b.addListener(T,"copy",st,A),b.addListener(T,"paste",Mt,A),(!("oncut"in T)||!("oncopy"in T)||!("onpaste"in T))&&b.addListener(L,"keydown",function(ee){if((!v.isMac||ee.metaKey)&&ee.ctrlKey)switch(ee.keyCode){case 67:st(ee);break;case 86:Mt(ee);break;case 88:$e(ee)}},A);var St=function(){if(D&&A.onCompositionUpdate&&!A.$readOnly){if(N)return xt();D.useTextareaForIME?A.onCompositionUpdate(T.value):(Me(T.value),D.markerRange&&(D.context&&(D.markerRange.start.column=D.selectionStart=D.context.compositionStartOffset),D.markerRange.end.column=D.markerRange.start.column+Y-D.selectionStart+se))}},bt=function(ee){!A.onCompositionEnd||A.$readOnly||(D=!1,A.onCompositionEnd(),A.off("mousedown",xt),ee&&Oe())};function xt(){S=!0,T.blur(),T.focus(),S=!1}var vt,nt=c.delayedCall(St,50).schedule.bind(null,null);function rt(){clearTimeout(vt),vt=setTimeout(function(){j&&(T.style.cssText=j,j=""),A.renderer.$isMousePressed=!1,A.renderer.$keepTextAreaAtCursor&&A.renderer.$moveTextAreaToCursor()},0)}b.addListener(T,"compositionstart",function(ee){if(!D&&A.onCompositionStart&&!A.$readOnly&&(D={},!N)){ee.data&&(D.useTextareaForIME=!1),setTimeout(St,0),A._signal("compositionStart"),A.on("mousedown",xt);var ae=A.getSelectionRange();ae.end.row=ae.start.row,ae.end.column=ae.start.column,D.markerRange=ae,D.selectionStart=F,A.onCompositionStart(D),D.useTextareaForIME?(k=T.value="",F=0,Y=0):(T.msGetInputContext&&(D.context=T.msGetInputContext()),T.getInputContext&&(D.context=T.getInputContext()))}},A),b.addListener(T,"compositionupdate",St,A),b.addListener(T,"keyup",function ot(ee){27==ee.keyCode&&T.value.lengthY&&"\n"==k[Kt]?ze=h.end:DtY&&k.slice(0,Kt).split("\n").length>2?ze=h.down:Kt>Y&&" "==k[Kt-1]?(ze=h.right,yt=m.option):(Kt>Y||Kt==Y&&Y!=F&&Dt==Kt)&&(ze=h.right),Dt!==Kt&&(yt|=m.shift),ze){if(!ae.onCommandKey({},yt,ze)&&ae.commands){ze=h.keyCodeToString(ze);var $t=ae.commands.findKeyCommand(yt,ze);$t&&ae.execCommand($t)}F=Dt,Y=Kt,me("")}}};document.addEventListener("selectionchange",ct),ae.on("destroy",function(){document.removeEventListener("selectionchange",ct)})}(0,A,T),this.destroy=function(){T.parentElement&&T.parentElement.removeChild(T)}},p.$setUserAgentForTests=function(L,A){x=L,_=A}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(n,p,C){"use strict";var b=n("../lib/useragent"),a=function(){function l(d){d.$clickSelection=null;var r=d.editor;r.setDefaultHandler("mousedown",this.onMouseDown.bind(d)),r.setDefaultHandler("dblclick",this.onDoubleClick.bind(d)),r.setDefaultHandler("tripleclick",this.onTripleClick.bind(d)),r.setDefaultHandler("quadclick",this.onQuadClick.bind(d)),r.setDefaultHandler("mousewheel",this.onMouseWheel.bind(d)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(h){d[h]=this[h]},this),d.selectByLines=this.extendSelectionBy.bind(d,"getLineRange"),d.selectByWords=this.extendSelectionBy.bind(d,"getWordRange")}return l.prototype.onMouseDown=function(d){var r=d.inSelection(),u=d.getDocumentPosition();this.mousedownEvent=d;var h=this.editor,m=d.getButton();return 0!==m?((h.getSelectionRange().isEmpty()||1==m)&&h.selection.moveToPosition(u),void(2==m&&(h.textInput.onContextMenu(d.domEvent),b.isMozilla||d.preventDefault()))):(this.mousedownEvent.time=Date.now(),!r||h.isFocused()||(h.focus(),!this.$focusTimeout||this.$clickSelection||h.inMultiSelectMode)?(this.captureMouse(d),this.startSelect(u,d.domEvent._clicks>1),d.preventDefault()):(this.setState("focusWait"),void this.captureMouse(d)))},l.prototype.startSelect=function(d,r){d=d||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var u=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?u.selection.selectToPosition(d):r||u.selection.moveToPosition(d),r||this.select(),u.setStyle("ace_selecting"),this.setState("select"))},l.prototype.select=function(){var d,r=this.editor,u=r.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var h=this.$clickSelection.comparePoint(u);if(-1==h)d=this.$clickSelection.end;else if(1==h)d=this.$clickSelection.start;else{var m=s(this.$clickSelection,u);u=m.cursor,d=m.anchor}r.selection.setSelectionAnchor(d.row,d.column)}r.selection.selectToPosition(u),r.renderer.scrollCursorIntoView()},l.prototype.extendSelectionBy=function(d){var r,u=this.editor,h=u.renderer.screenToTextCoordinates(this.x,this.y),m=u.selection[d](h.row,h.column);if(this.$clickSelection){var _=this.$clickSelection.comparePoint(m.start),M=this.$clickSelection.comparePoint(m.end);if(-1==_&&M<=0)r=this.$clickSelection.end,(m.end.row!=h.row||m.end.column!=h.column)&&(h=m.start);else if(1==M&&_>=0)r=this.$clickSelection.start,(m.start.row!=h.row||m.start.column!=h.column)&&(h=m.end);else if(-1==_&&1==M)h=m.end,r=m.start;else{var x=s(this.$clickSelection,h);h=x.cursor,r=x.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 d=function c(l,d,r,u){return Math.sqrt(Math.pow(r-l,2)+Math.pow(u-d,2))}(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),r=Date.now();(d>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},l.prototype.onDoubleClick=function(d){var r=d.getDocumentPosition(),u=this.editor,m=u.session.getBracketRange(r);m?(m.isEmpty()&&(m.start.column--,m.end.column++),this.setState("select")):(m=u.selection.getWordRange(r.row,r.column),this.setState("selectByWords")),this.$clickSelection=m,this.select()},l.prototype.onTripleClick=function(d){var r=d.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(d){var r=this.editor;r.selectAll(),this.$clickSelection=r.getSelectionRange(),this.setState("selectAll")},l.prototype.onMouseWheel=function(d){if(!d.getAccelKey()){d.getShiftKey()&&d.wheelY&&!d.wheelX&&(d.wheelX=d.wheelY,d.wheelY=0);var r=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var u=this.$lastScroll,h=d.domEvent.timeStamp,m=h-u.t,_=m?d.wheelX/m:u.vx,M=m?d.wheelY/m:u.vy;m<550&&(_=(_+u.vx)/2,M=(M+u.vy)/2);var x=Math.abs(_/M),w=!1;if(x>=1&&r.renderer.isScrollableBy(d.wheelX*d.speed,0)&&(w=!0),x<=1&&r.renderer.isScrollableBy(0,d.wheelY*d.speed)&&(w=!0),w?u.allowed=h:h-u.allowed<550&&(Math.abs(_)<=1.5*Math.abs(u.vx)&&Math.abs(M)<=1.5*Math.abs(u.vy)?(w=!0,u.allowed=h):u.allowed=0),u.t=h,u.vx=_,u.vy=M,w)return r.renderer.scrollBy(d.wheelX*d.speed,d.wheelY*d.speed),d.stop()}},l}();function s(l,d){if(l.start.row==l.end.row)var r=2*d.column-l.start.column-l.end.column;else if(l.start.row!=l.end.row-1||l.start.column||l.end.column)r=2*d.row-l.start.row-l.end.row;else r=d.column-4;return r<0?{cursor:l.start,anchor:l.end}:{cursor:l.end,anchor:l.start}}a.prototype.selectEnd=a.prototype.selectByLinesEnd,a.prototype.selectAllEnd=a.prototype.selectByLinesEnd,a.prototype.selectByWordsEnd=a.prototype.selectByLinesEnd,p.DefaultHandlers=a}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/range"],function(n,p,C){"use strict";var u,b=this&&this.__extends||(u=function(h,m){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,M){_.__proto__=M}||function(_,M){for(var x in M)Object.prototype.hasOwnProperty.call(M,x)&&(_[x]=M[x])})(h,m)},function(h,m){if("function"!=typeof m&&null!==m)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function _(){this.constructor=h}u(h,m),h.prototype=null===m?Object.create(m):(_.prototype=m.prototype,new _)}),o=this&&this.__values||function(u){var h="function"==typeof Symbol&&Symbol.iterator,m=h&&u[h],_=0;if(m)return m.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&_>=u.length&&(u=void 0),{value:u&&u[_++],done:!u}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")},v=n("./lib/dom"),a=n("./range").Range,c="ace_tooltip",s=function(){function u(h){this.isOpen=!1,this.$element=null,this.$parentNode=h}return u.prototype.$init=function(){return this.$element=v.createElement("div"),this.$element.className=c,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},u.prototype.getElement=function(){return this.$element||this.$init()},u.prototype.setText=function(h){this.getElement().textContent=h},u.prototype.setHtml=function(h){this.getElement().innerHTML=h},u.prototype.setPosition=function(h,m){this.getElement().style.left=h+"px",this.getElement().style.top=m+"px"},u.prototype.setClassName=function(h){v.addCssClass(this.getElement(),h)},u.prototype.setTheme=function(h){this.$element.className=c+" "+(h.isDark?"ace_dark ":"")+(h.cssClass||"")},u.prototype.show=function(h,m,_){null!=h&&this.setText(h),null!=m&&null!=_&&this.setPosition(m,_),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},u.prototype.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=c,this.isOpen=!1)},u.prototype.getHeight=function(){return this.getElement().offsetHeight},u.prototype.getWidth=function(){return this.getElement().offsetWidth},u.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},u}(),l=function(){function u(){this.popups=[]}return u.prototype.addPopup=function(h){this.popups.push(h),this.updatePopups()},u.prototype.removePopup=function(h){var m=this.popups.indexOf(h);-1!==m&&(this.popups.splice(m,1),this.updatePopups())},u.prototype.updatePopups=function(){var h,m,_,M;this.popups.sort(function(R,j){return j.priority-R.priority});var x=[];try{for(var w=o(this.popups),L=w.next();!L.done;L=w.next()){var A=L.value,T=!0;try{for(var O=(_=void 0,o(x)),E=O.next();!E.done;E=O.next())if(this.doPopupsOverlap(E.value,A)){T=!1;break}}catch(R){_={error:R}}finally{try{E&&!E.done&&(M=O.return)&&M.call(O)}finally{if(_)throw _.error}}T?x.push(A):A.hide()}}catch(R){h={error:R}}finally{try{L&&!L.done&&(m=w.return)&&m.call(w)}finally{if(h)throw h.error}}},u.prototype.doPopupsOverlap=function(h,m){var _=h.getElement().getBoundingClientRect(),M=m.getElement().getBoundingClientRect();return _.leftM.left&&_.topM.top},u}(),d=new l;p.popupManager=d,p.Tooltip=s;var r=function(u){function h(m){void 0===m&&(m=document.body);var _=u.call(this,m)||this;_.timeout=void 0,_.lastT=0,_.idleTime=350,_.lastEvent=void 0,_.onMouseOut=_.onMouseOut.bind(_),_.onMouseMove=_.onMouseMove.bind(_),_.waitForHover=_.waitForHover.bind(_),_.hide=_.hide.bind(_);var M=_.getElement();return M.style.whiteSpace="pre-wrap",M.style.pointerEvents="auto",M.addEventListener("mouseout",_.onMouseOut),M.tabIndex=-1,M.addEventListener("blur",function(){M.contains(document.activeElement)||this.hide()}.bind(_)),_}return b(h,u),h.prototype.addToEditor=function(m){m.on("mousemove",this.onMouseMove),m.on("mousedown",this.hide),m.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},h.prototype.removeFromEditor=function(m){m.off("mousemove",this.onMouseMove),m.off("mousedown",this.hide),m.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},h.prototype.onMouseMove=function(m,_){this.lastEvent=m,this.lastT=Date.now();var M=_.$mouseHandler.isMousePressed;if(this.isOpen){var x=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(x.row,x.column)||M||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||M||(this.lastEvent=m,this.timeout=setTimeout(this.waitForHover,this.idleTime))},h.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var m=Date.now()-this.lastT;this.idleTime-m>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-m):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},h.prototype.isOutsideOfText=function(m){var _=m.editor,M=m.getDocumentPosition(),x=_.session.getLine(M.row);if(M.column==x.length){var w=_.renderer.pixelToScreenCoordinates(m.clientX,m.clientY),L=_.session.documentToScreenPosition(M.row,M.column);if(L.column!=w.column||L.row!=w.row)return!0}return!1},h.prototype.setDataProvider=function(m){this.$gatherData=m},h.prototype.showForRange=function(m,_,M,x){if(!(x&&x!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var w=m.renderer;this.isOpen||(d.addPopup(this),this.$registerCloseEvents(),this.setTheme(w.theme)),this.isOpen=!0,this.addMarker(_,m.session),this.range=a.fromPoints(_.start,_.end);var L=this.getElement();L.innerHTML="",L.appendChild(M),L.style.display="block";var A=w.textToScreenCoordinates(_.start.row,_.start.column),T=m.getCursorPosition(),O=L.clientHeight,E=w.scroller.getBoundingClientRect(),D=!0;this.row>T.row?D=!0:this.rowE.bottom&&(D=!1),D?A.pageY+=w.lineHeight:A.pageY-=O,L.style.maxWidth=E.width-(A.pageX-E.left)+"px",this.setPosition(A.pageX,A.pageY)}},h.prototype.addMarker=function(m,_){this.marker&&this.$markerSession.removeMarker(this.marker),this.$markerSession=_,this.marker=_&&_.addMarker(m,"ace_highlight-marker","text")},h.prototype.hide=function(m){!m&&document.activeElement==this.getElement()||m&&m.target&&("keydown"!=m.type||m.ctrlKey||m.metaKey)&&this.$element.contains(m.target)||(this.lastEvent=null,this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.addMarker(null),this.isOpen&&(this.$removeCloseEvents(),this.getElement().style.display="none",this.isOpen=!1,d.removePopup(this)))},h.prototype.$registerCloseEvents=function(){window.addEventListener("keydown",this.hide,!0),window.addEventListener("mousewheel",this.hide,!0),window.addEventListener("mousedown",this.hide,!0)},h.prototype.$removeCloseEvents=function(){window.removeEventListener("keydown",this.hide,!0),window.removeEventListener("mousewheel",this.hide,!0),window.removeEventListener("mousedown",this.hide,!0)},h.prototype.onMouseOut=function(m){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.lastEvent=null,this.isOpen&&(!m.relatedTarget||m.relatedTarget==this.getElement()||m&&m.currentTarget.contains(m.relatedTarget)||m.relatedTarget.classList.contains("ace_content")||this.hide())},h}(s);p.HoverTooltip=r}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/tooltip","ace/config"],function(n,p,C){"use strict";var r,b=this&&this.__extends||(r=function(u,h){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,_){m.__proto__=_}||function(m,_){for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(m[M]=_[M])})(u,h)},function(u,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function m(){this.constructor=u}r(u,h),u.prototype=null===h?Object.create(h):(m.prototype=h.prototype,new m)}),o=this&&this.__values||function(r){var u="function"==typeof Symbol&&Symbol.iterator,h=u&&r[u],m=0;if(h)return h.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&m>=r.length&&(r=void 0),{value:r&&r[m++],done:!r}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")},v=n("../lib/dom"),a=n("../lib/event"),c=n("../tooltip").Tooltip,s=n("../config").nls;p.GutterHandler=function l(r){var _,M,u=r.editor,h=u.renderer.$gutterLayer,m=new d(u);function w(){_&&(_=clearTimeout(_)),m.isOpen&&(m.hideTooltip(),u.off("mousewheel",w))}function L(A){m.setPosition(A.x,A.y)}r.editor.setDefaultHandler("guttermousedown",function(A){if(u.isFocused()&&0==A.getButton()&&"foldWidgets"!=h.getRegion(A)){var O=A.getDocumentPosition().row,E=u.session.selection;if(A.getShiftKey())E.selectTo(O,0);else{if(2==A.domEvent.detail)return u.selectAll(),A.preventDefault();r.$clickSelection=u.selection.getLineRange(O)}return r.setState("selectByLines"),r.captureMouse(A),A.preventDefault()}}),r.editor.setDefaultHandler("guttermousemove",function(A){if(v.hasCssClass(A.domEvent.target||A.domEvent.srcElement,"ace_fold-widget"))return w();m.isOpen&&r.$tooltipFollowsMouse&&L(A),M=A,!_&&(_=setTimeout(function(){_=null,M&&!r.isMousePressed?function x(){var A=M.getDocumentPosition().row;if(A==u.session.getLength()){var O=u.renderer.pixelToScreenCoordinates(0,M.y).row,E=M.$pos;if(O>u.session.documentToScreenRow(E.row,E.column))return w()}if(m.showTooltip(A),m.isOpen)if(u.on("mousewheel",w),r.$tooltipFollowsMouse)L(M);else{var D=M.getGutterRow(),R=h.$lines.get(D);if(R){var N=R.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),S=m.getElement().style;S.left=N.right+"px",S.top=N.bottom+"px"}else L(M)}}():w()},50))}),a.addListener(u.renderer.$gutter,"mouseout",function(A){M=null,m.isOpen&&!_&&(_=setTimeout(function(){_=null,w()},50))},u),u.on("changeSession",w),u.on("input",w)};var d=function(r){function u(h){var m=r.call(this,h.container)||this;return m.editor=h,m}return b(u,r),u.prototype.setPosition=function(h,m){var _=window.innerWidth||document.documentElement.clientWidth,M=window.innerHeight||document.documentElement.clientHeight,x=this.getWidth(),w=this.getHeight();(h+=15)+x>_&&(h-=h+x-_),(m+=15)+w>M&&(m-=20+w),c.prototype.setPosition.call(this,h,m)},Object.defineProperty(u,"annotationLabels",{get:function(){return{error:{singular:s("error"),plural:s("errors")},warning:{singular:s("warning"),plural:s("warnings")},info:{singular:s("information message"),plural:s("information messages")}}},enumerable:!1,configurable:!0}),u.prototype.showTooltip=function(h){var M,m=this.editor.renderer.$gutterLayer,_=m.$annotations[h];M=_?{text:Array.from(_.text),type:Array.from(_.type)}:{text:[],type:[]};var x=m.session.getFoldLine(h);if(x&&m.$showFoldedAnnotations){for(var L,w={error:[],warning:[],info:[]},A=h+1;A<=x.end.row;A++)if(m.$annotations[A])for(var T=0;T ").concat(M.text[A]);D[M.type[A].replace("_fold","")].push(j)}var N=[].concat(D.error,D.warning,D.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 m,_,M=[];try{for(var w=o(["error","warning","info"]),L=w.next();!L.done;L=w.next()){var A=L.value;if(h[A].length){var T=1===h[A].length?u.annotationLabels[A].singular:u.annotationLabels[A].plural;M.push("".concat(h[A].length," ").concat(T))}}}catch(O){m={error:O}}finally{try{L&&!L.done&&(_=w.return)&&_.call(w)}finally{if(m)throw m.error}}return M.join(", ")},u}(c);p.GutterTooltip=d}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(n,p,C){"use strict";var b=n("../lib/event"),o=n("../lib/useragent"),v=function(){function a(c,s){this.domEvent=c,this.editor=s,this.x=this.clientX=c.clientX,this.y=this.clientY=c.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return a.prototype.stopPropagation=function(){b.stopPropagation(this.domEvent),this.propagationStopped=!0},a.prototype.preventDefault=function(){b.preventDefault(this.domEvent),this.defaultPrevented=!0},a.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},a.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},a.prototype.getGutterRow=function(){var c=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(c,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},a.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var s=this.editor.getSelectionRange();if(s.isEmpty())this.$inSelection=!1;else{var l=this.getDocumentPosition();this.$inSelection=s.contains(l.row,l.column)}return this.$inSelection},a.prototype.getButton=function(){return b.getButton(this.domEvent)},a.prototype.getShiftKey=function(){return this.domEvent.shiftKey},a.prototype.getAccelKey=function(){return o.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},a}();p.MouseEvent=v}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(n,p,C){"use strict";var b=n("../lib/dom"),o=n("../lib/event"),v=n("../lib/useragent");function l(r){var u=r.editor,h=b.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(Q){r[Q]=this[Q]},this),u.on("mousedown",this.onMouseDown.bind(r));var M,x,w,L,A,T,E,D,R,j,N,_=u.container,O=0;function F(){var Q=T;(function S(Q,ue){var Me=Date.now();j&&ue&&Q.row==ue.row&&ue&&Q.column==ue.column?d(N.x,N.y,x,w)>5?j=null:Me-j>=200&&(u.renderer.scrollCursorIntoView(),j=null):(u.moveCursorToPosition(Q),j=Me,N={x,y:w})})(T=u.renderer.screenToTextCoordinates(x,w),Q),function k(Q,ue){var Me=Date.now(),Oe=u.renderer.layerConfig.lineHeight,Xe=u.renderer.layerConfig.characterWidth,Be=u.renderer.scroller.getBoundingClientRect(),$e={x:{left:x-Be.left,right:Be.right-x},y:{top:w-Be.top,bottom:Be.bottom-w}},st=Math.min($e.x.left,$e.x.right),Mt=Math.min($e.y.top,$e.y.bottom),tt={row:Q.row,column:Q.column};st/Xe<=2&&(tt.column+=$e.x.left<$e.x.right?-3:2),Mt/Oe<=1&&(tt.row+=$e.y.top<$e.y.bottom?-1:1),Q.row!=tt.row||Q.column!=tt.column&&ue&&Q.row==ue.row?R?Me-R>=200&&u.renderer.scrollCursorIntoView(tt):R=Me:R=null}(T,Q)}function Y(){A=u.selection.toOrientedRange(),M=u.session.addMarker(A,"ace_selection",u.getSelectionStyle()),u.clearSelection(),u.isFocused()&&u.renderer.$cursorLayer.setBlinking(!1),clearInterval(L),F(),L=setInterval(F,20),O=0,o.addListener(document,"mousemove",me)}function se(){clearInterval(L),u.session.removeMarker(M),M=null,u.selection.fromOrientedRange(A),u.isFocused()&&!D&&u.$resetCursorStyle(),A=null,T=null,O=0,R=null,j=null,o.removeListener(document,"mousemove",me)}this.onDragStart=function(Q){if(this.cancelDrag||!_.draggable){var ue=this;return setTimeout(function(){ue.startSelect(),ue.captureMouse(Q)},0),Q.preventDefault()}A=u.getSelectionRange();var Me=Q.dataTransfer;Me.effectAllowed=u.getReadOnly()?"copy":"copyMove",u.container.appendChild(h),Me.setDragImage&&Me.setDragImage(h,0,0),setTimeout(function(){u.container.removeChild(h)}),Me.clearData(),Me.setData("Text",u.session.getTextRange()),D=!0,this.setState("drag")},this.onDragEnd=function(Q){_.draggable=!1,D=!1,this.setState(null),u.getReadOnly()||(!E&&"move"==Q.dataTransfer.dropEffect&&u.session.remove(u.getSelectionRange()),u.$resetCursorStyle()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(Q){if(!u.getReadOnly()&&$(Q.dataTransfer))return x=Q.clientX,w=Q.clientY,M||Y(),O++,Q.dataTransfer.dropEffect=E=q(Q),o.preventDefault(Q)},this.onDragOver=function(Q){if(!u.getReadOnly()&&$(Q.dataTransfer))return x=Q.clientX,w=Q.clientY,M||(Y(),O++),null!==ne&&(ne=null),Q.dataTransfer.dropEffect=E=q(Q),o.preventDefault(Q)},this.onDragLeave=function(Q){if(--O<=0&&M)return se(),E=null,o.preventDefault(Q)},this.onDrop=function(Q){if(T){var ue=Q.dataTransfer;if(D)switch(E){case"move":A=A.contains(T.row,T.column)?{start:T,end:T}:u.moveText(A,T);break;case"copy":A=u.moveText(A,T,!0)}else{var Me=ue.getData("Text");A={start:T,end:u.session.insert(T,Me)},u.focus(),E=null}return se(),o.preventDefault(Q)}},o.addListener(_,"dragstart",this.onDragStart.bind(r),u),o.addListener(_,"dragend",this.onDragEnd.bind(r),u),o.addListener(_,"dragenter",this.onDragEnter.bind(r),u),o.addListener(_,"dragover",this.onDragOver.bind(r),u),o.addListener(_,"dragleave",this.onDragLeave.bind(r),u),o.addListener(_,"drop",this.onDrop.bind(r),u);var ne=null;function me(){null==ne&&(ne=setTimeout(function(){null!=ne&&M&&se()},20))}function $(Q){var ue=Q.types;return!ue||Array.prototype.some.call(ue,function(Me){return"text/plain"==Me||"Text"==Me})}function q(Q){var ue=["copy","copymove","all","uninitialized"],Oe=v.isMac?Q.altKey:Q.ctrlKey,Xe="uninitialized";try{Xe=Q.dataTransfer.effectAllowed.toLowerCase()}catch{}var Be="none";return Oe&&ue.indexOf(Xe)>=0?Be="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(Xe)>=0?Be="move":ue.indexOf(Xe)>=0&&(Be="copy"),Be}}function d(r,u,h,m){return Math.sqrt(Math.pow(h-r,2)+Math.pow(m-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(v.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(r){var u=this.editor.container;v.isIE&&"dragReady"==this.state&&d(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&u.dragDrop(),"dragWait"===this.state&&d(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(),m=r.getButton();if(1===(r.domEvent.detail||1)&&0===m&&h){if(r.editor.inMultiSelectMode&&(r.getAccelKey()||r.getShiftKey()))return;this.mousedownEvent.time=Date.now();var M=r.domEvent.target||r.domEvent.srcElement;"unselectable"in M&&(M.unselectable="on"),u.getDragDelay()?(v.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),p.DragdropHandler=l}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(n,p,C){"use strict";var b=n("./mouse_event").MouseEvent,o=n("../lib/event"),v=n("../lib/dom");p.addTouchListeners=function(a,c){var l,d,r,u,h,m,M,A,T,s="scroll",_=0,x=0,w=0,L=0;function E(){T||function O(){var S=window.navigator&&window.navigator.clipboard,k=!1,Y=function(se){var ne=se.target.getAttribute("action");if("more"==ne||!k)return k=!k,function(){var se=c.getCopyText(),ne=c.session.getUndoManager().hasUndo();T.replaceChild(v.buildDom(k?["span",!se&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],se&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],se&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],S&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],ne&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Palette"]]:["span"]),T.firstChild)}();"paste"==ne?S.readText().then(function(me){c.execCommand(ne,me)}):ne&&(("cut"==ne||"copy"==ne)&&(S?S.writeText(c.getCopyText()):document.execCommand("copy")),c.execCommand(ne)),T.firstChild.style.display="none",k=!1,"openCommandPallete"!=ne&&c.focus()};T=v.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(se){s="menu",se.stopPropagation(),se.preventDefault(),c.textInput.focus()},ontouchend:function(se){se.stopPropagation(),se.preventDefault(),Y(se)},onclick:Y},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],c.container)}();var S=c.selection.cursor,k=c.renderer.textToScreenCoordinates(S.row,S.column),F=c.renderer.textToScreenCoordinates(0,0).pageX,Y=c.renderer.scrollLeft,se=c.container.getBoundingClientRect();T.style.top=k.pageY-se.top-3+"px",k.pageX-se.left1)return clearTimeout(h),h=null,r=-1,void(s="zoom");A=c.$mouseHandler.isMousePressed=!0;var F=c.renderer.layerConfig.lineHeight,Y=c.renderer.layerConfig.lineHeight,se=S.timeStamp;u=se;var ne=k[0],me=ne.clientX,$=ne.clientY;Math.abs(l-me)+Math.abs(d-$)>F&&(r=-1),l=S.clientX=me,d=S.clientY=$,w=L=0;var q=new b(S,c);if(M=q.getDocumentPosition(),se-r<500&&1==k.length&&!_)x++,S.preventDefault(),S.button=0,function j(){h=null,clearTimeout(h),c.selection.moveToPosition(M);var S=x>=2?c.selection.getLineRange(M.row):c.session.getBracketRange(M);S&&!S.isEmpty()?c.selection.setRange(S):c.selection.selectWord(),s="wait"}();else{x=0;var Q=c.selection.cursor,ue=c.selection.isEmpty()?Q:c.selection.anchor,Me=c.renderer.$cursorLayer.getPixelPosition(Q,!0),Oe=c.renderer.$cursorLayer.getPixelPosition(ue,!0),Xe=c.renderer.scroller.getBoundingClientRect(),Be=c.renderer.layerConfig.offset,$e=c.renderer.scrollLeft,st=function(St,bt){return(St/=Y)*St+(bt=bt/F-.75)*bt};if(S.clientXtt?"cursor":"anchor"),s=tt<3.5?"anchor":Mt<3.5?"cursor":"scroll",h=setTimeout(R,450)}r=se},c),o.addListener(a,"touchend",function(S){A=c.$mouseHandler.isMousePressed=!1,m&&clearInterval(m),"zoom"==s?(s="",_=0):h?(c.selection.moveToPosition(M),_=0,E()):"scroll"==s?(function N(){_+=60,m=setInterval(function(){_--<=0&&(clearInterval(m),m=null),Math.abs(w)<.01&&(w=0),Math.abs(L)<.01&&(L=0),_<20&&(w*=.9),_<20&&(L*=.9);var S=c.session.getScrollTop();c.renderer.scrollBy(10*w,10*L),S==c.session.getScrollTop()&&(_=0)},10)}(),D()):E(),clearTimeout(h),h=null},c),o.addListener(a,"touchmove",function(S){h&&(clearTimeout(h),h=null);var k=S.touches;if(!(k.length>1||"zoom"==s)){var F=k[0],Y=l-F.clientX,se=d-F.clientY;if("wait"==s){if(!(Y*Y+se*se>4))return S.preventDefault();s="cursor"}l=F.clientX,d=F.clientY,S.clientX=F.clientX,S.clientY=F.clientY;var ne=S.timeStamp,me=ne-u;if(u=ne,"scroll"==s){var $=new b(S,c);$.speed=1,$.wheelX=Y,$.wheelY=se,10*Math.abs(Y)=$e){for(bt=St+1;bt=$e;)bt++;for(xt=St,nt=bt-1;xt=st.length||2!=(bt=Mt[tt-1])&&3!=bt||2!=(xt=st[tt+1])&&3!=xt?4:(c&&(xt=3),xt==bt?xt:4);case 10:return 2==(bt=tt>0?Mt[tt-1]:5)&&tt+10&&2==Mt[tt-1])return 2;if(c)return 4;for(ot=tt+1,nt=st.length;ot=1425&&vt<=2303||64286==vt)&&(1==bt||7==bt))return 1}return tt<1||5==(bt=st[tt-1])?4:Mt[tt-1];case 5:return c=!1,l=!0,v;case 6:return d=!0,4;case 13:case 14:case 16:case 17:case 15:c=!1;case $:return 4}}function Xe($e){var st=$e.charCodeAt(0),Mt=st>>8;return 0==Mt?st>191?0:q[st]:5==Mt?/[\u0591-\u05f4]/.test($e)?1:0:6==Mt?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test($e)?12:/[\u0660-\u0669\u066b-\u066c]/.test($e)?3:1642==st?S:/[\u06f0-\u06f9]/.test($e)?2:7:32==Mt&&st<=8287?Q[255&st]:254==Mt&&st>=65136?7:4}p.L=0,p.R=1,p.EN=2,p.ON_R=3,p.AN=4,p.R_H=5,p.B=6,p.RLE=7,p.DOT="\xb7",p.doBidiReorder=function($e,st,Mt){if($e.length<2)return{};var tt=$e.split(""),St=new Array(tt.length),bt=new Array(tt.length),xt=[];v=Mt?1:0,function ue($e,st,Mt,tt){var St=v?m:h,bt=null,xt=null,nt=null,ot=0,vt=null,J=-1,Ce=null,ee=null,ae=[];if(!tt)for(Ce=0,tt=[];Ce0)if(16==vt){for(Ce=J;Ce-1){for(Ce=J;Ce=0&&8==tt[ie];ie--)st[ie]=v}}(tt,xt,tt.length,st);for(var nt=0;nt7&&st[nt]<13||4===st[nt]||st[nt]===$)?xt[nt]=p.ON_R:nt>0&&"\u0644"===tt[nt-1]&&/\u0622|\u0623|\u0625|\u0627/.test(tt[nt])&&(xt[nt-1]=xt[nt]=p.R_H,nt++);for(tt[tt.length-1]===p.DOT&&(xt[tt.length-1]=p.B),"\u202b"===tt[0]&&(xt[0]=p.RLE),nt=0;nt=0&&(s=this.session.$docRowCache[d])}return s},c.prototype.getSplitIndex=function(){var s=0,l=this.session.$screenRowCache;if(l.length)for(var d,r=this.session.$getRowCacheIndex(l,this.currentRow);this.currentRow-s>0&&(d=this.session.$getRowCacheIndex(l,this.currentRow-s-1))===r;)r=d,s++;else s=this.currentRow;return s},c.prototype.updateRowLine=function(s,l){void 0===s&&(s=this.getDocumentRow());var r=s===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(s),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var u=this.session.$wrapData[s];u&&(void 0===l&&(l=this.getSplitIndex()),l>0&&u.length?(this.wrapIndent=u.indent,this.wrapOffset=this.wrapIndent*this.charWidths[b.L],this.line=ll?this.session.getOverwrite()?s:s-1:l,r=b.getVisualFromLogicalIdx(d,this.bidiMap),u=this.bidiMap.bidiLevels,h=0;!this.session.getOverwrite()&&s<=l&&u[r]%2!=0&&r++;for(var m=0;ml&&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},c.prototype.getSelections=function(s,l){var u,d=this.bidiMap,r=d.bidiLevels,h=[],m=0,_=Math.min(s,l)-this.wrapIndent,M=Math.max(s,l)-this.wrapIndent,x=!1,w=!1,L=0;this.wrapIndent&&(m+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var A,T=0;T=_&&Ar+m/2;){if(r+=m,u===h.length-1){m=0;break}m=this.charWidths[h[++u]]}return u>0&&h[u-1]%2!=0&&h[u]%2==0?(d0&&h[u-1]%2==0&&h[u]%2!=0?l=1+(d>r?this.bidiMap.logicalFromVisual[u]:this.bidiMap.logicalFromVisual[u-1]):this.isRtlDir&&u===h.length-1&&0===m&&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!==m&&u--,l=this.bidiMap.logicalFromVisual[u]),0===l&&this.isRtlDir&&l++,l+this.wrapIndent},c}();p.BidiHandler=a}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(n,p,C){"use strict";var b=n("./lib/oop"),o=n("./lib/lang"),v=n("./lib/event_emitter").EventEmitter,a=n("./range").Range,c=function(s){this.session=s,this.doc=s.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var l=this;this.cursor.on("change",function(d){l.$cursorChanged=!0,l.$silent||l._emit("changeCursor"),!l.$isEmpty&&!l.$silent&&l._emit("changeSelection"),!l.$keepDesiredColumnOnChange&&d.old.column!=d.value.column&&(l.$desiredColumn=null)}),this.anchor.on("change",function(){l.$anchorChanged=!0,!l.$isEmpty&&!l.$silent&&l._emit("changeSelection")})};(function(){b.implement(this,v),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setAnchor=function(s,l){this.$isEmpty=!1,this.anchor.setPosition(s,l)},this.setSelectionAnchor=this.setAnchor,this.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionAnchor=this.getAnchor,this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var s=this.anchor,l=this.lead;return s.row>l.row||s.row==l.row&&s.column>l.column},this.getRange=function(){var s=this.anchor,l=this.lead;return this.$isEmpty?a.fromPoints(l,l):this.isBackwards()?a.fromPoints(l,s):a.fromPoints(s,l)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(s,l){var d=l?s.end:s.start,r=l?s.start:s.end;this.$setSelection(d.row,d.column,r.row,r.column)},this.$setSelection=function(s,l,d,r){if(!this.$silent){var u=this.$isEmpty,h=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(s,l),this.cursor.setPosition(d,r),this.$isEmpty=!a.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||u!=this.$isEmpty||h)&&this._emit("changeSelection")}},this.$moveSelection=function(s){var l=this.lead;this.$isEmpty&&this.setSelectionAnchor(l.row,l.column),s.call(this)},this.selectTo=function(s,l){this.$moveSelection(function(){this.moveCursorTo(s,l)})},this.selectToPosition=function(s){this.$moveSelection(function(){this.moveCursorToPosition(s)})},this.moveTo=function(s,l){this.clearSelection(),this.moveCursorTo(s,l)},this.moveToPosition=function(s){this.clearSelection(),this.moveCursorToPosition(s)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(s,l){if(typeof l>"u"){var d=s||this.lead;s=d.row,l=d.column}return this.session.getWordRange(s,l)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var s=this.getCursor(),l=this.session.getAWordRange(s.row,s.column);this.setSelectionRange(l)},this.getLineRange=function(s,l){var r,d="number"==typeof s?s:this.lead.row,u=this.session.getFoldLine(d);return u?(d=u.start.row,r=u.end.row):r=d,!0===l?new a(d,0,r,this.session.getLine(r).length):new a(d,0,r+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(s,l,d){var r=s.column,u=s.column+l;return d<0&&(r=s.column-l,u=s.column),this.session.isTabStop(s)&&this.doc.getLine(s.row).slice(r,u).split(" ").length-1==l},this.moveCursorLeft=function(){var l,s=this.lead.getPosition();if(l=this.session.getFoldAt(s.row,s.column,-1))this.moveCursorTo(l.start.row,l.start.column);else if(0===s.column)s.row>0&&this.moveCursorTo(s.row-1,this.doc.getLine(s.row-1).length);else{var d=this.session.getTabSize();this.wouldMoveIntoSoftTab(s,d,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-d):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var l,s=this.lead.getPosition();if(l=this.session.getFoldAt(s.row,s.column,1))this.moveCursorTo(l.end.row,l.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(l.column=r)}}this.moveCursorTo(l.row,l.column)},this.moveCursorFileEnd=function(){var s=this.doc.getLength()-1,l=this.doc.getLine(s).length;this.moveCursorTo(s,l)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var s=this.lead.row,l=this.lead.column,d=this.doc.getLine(s),r=d.substring(l);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var u=this.session.getFoldAt(s,l,1);if(!u)return this.session.nonTokenRe.exec(r)&&(l+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=d.substring(l)),l>=d.length?(this.moveCursorTo(s,d.length),this.moveCursorRight(),void(s0&&this.moveCursorWordLeft());this.session.tokenRe.exec(u)&&(l-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(s,l)}},this.$shortWordEndIndex=function(s){var d,l=0,r=/\s/,u=this.session.tokenRe;if(u.lastIndex=0,this.session.tokenRe.exec(s))l=this.session.tokenRe.lastIndex;else{for(;(d=s[l])&&r.test(d);)l++;if(l<1)for(u.lastIndex=0;(d=s[l])&&!u.test(d);)if(u.lastIndex=0,l++,r.test(d)){if(l>2){l--;break}for(;(d=s[l])&&r.test(d);)l++;if(l>2)break}}return u.lastIndex=0,l},this.moveCursorShortWordRight=function(){var s=this.lead.row,l=this.lead.column,d=this.doc.getLine(s),r=d.substring(l),u=this.session.getFoldAt(s,l,1);if(u)return this.moveCursorTo(u.end.row,u.end.column);if(l==d.length){var h=this.doc.getLength();do{s++,r=this.doc.getLine(s)}while(s0&&/^\s*$/.test(r));l=r.length,/\s+$/.test(r)||(r="")}var u=o.stringReverse(r),h=this.$shortWordEndIndex(u);return this.moveCursorTo(s,l-h)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(s,l){var r,d=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===l&&(0!==s&&(this.session.$bidiHandler.isBidiRow(d.row,this.lead.row)?(r=this.session.$bidiHandler.getPosLeft(d.column),d.column=Math.round(r/this.session.$bidiHandler.charWidths[0])):r=d.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?d.column=this.$desiredColumn:this.$desiredColumn=d.column),0!=s&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var u=this.session.lineWidgets[this.lead.row];s<0?s-=u.rowsAbove||0:s>0&&(s+=u.rowCount-(u.rowsAbove||0))}var h=this.session.screenToDocumentPosition(d.row+s,d.column,r);this.moveCursorTo(h.row,h.column+l,0===l)},this.moveCursorToPosition=function(s){this.moveCursorTo(s.row,s.column)},this.moveCursorTo=function(s,l,d){var r=this.session.getFoldAt(s,l,1);r&&(s=r.start.row,l=r.start.column),this.$keepDesiredColumnOnChange=!0;var u=this.session.getLine(s);/[\uDC00-\uDFFF]/.test(u.charAt(l))&&u.charAt(l-1)&&(this.lead.row==s&&this.lead.column==l+1?l-=1:l+=1),this.lead.setPosition(s,l),this.$keepDesiredColumnOnChange=!1,d||(this.$desiredColumn=null)},this.moveCursorToScreen=function(s,l,d){var r=this.session.screenToDocumentPosition(s,l);this.moveCursorTo(r.row,r.column,d)},this.detach=function(){this.lead.detach(),this.anchor.detach()},this.fromOrientedRange=function(s){this.setSelectionRange(s,s.cursor==s.start),this.$desiredColumn=s.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(s){var l=this.getRange();return s?(s.start.column=l.start.column,s.start.row=l.start.row,s.end.column=l.end.column,s.end.row=l.end.row):s=l,s.cursor=this.isBackwards()?s.start:s.end,s.desiredColumn=this.$desiredColumn,s},this.getRangeOfMovements=function(s){var l=this.getCursor();try{s(this);var d=this.getCursor();return a.fromPoints(l,d)}catch{return a.fromPoints(l,l)}finally{this.moveCursorToPosition(l)}},this.toJSON=function(){if(this.rangeCount)var s=this.ranges.map(function(l){var d=l.clone();return d.isBackwards=l.cursor==l.start,d});else(s=this.getRange()).isBackwards=this.isBackwards();return s},this.fromJSON=function(s){if(null==s.start){if(this.rangeList&&s.length>1){this.toSingleRange(s[0]);for(var l=s.length;l--;){var d=a.fromPoints(s[l].start,s[l].end);s[l].isBackwards&&(d.cursor=d.start),this.addRange(d,!0)}return}s=s[0]}this.rangeList&&this.toSingleRange(s),this.setSelectionRange(s,s.isBackwards)},this.isEqual=function(s){if((s.length||this.rangeCount)&&s.length!=this.rangeCount)return!1;if(!s.length||!this.ranges)return this.getRange().isEqual(s);for(var l=this.ranges.length;l--;)if(!this.ranges[l].isEqual(s[l]))return!1;return!0}}).call(c.prototype),p.Selection=c}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(n,p,C){"use strict";var b=n("./config"),o=2e3,v=function(){function a(c){for(var s in this.states=c,this.regExps={},this.matchMappings={},this.states){for(var l=this.states[s],d=[],r=0,u=this.matchMappings[s]={defaultToken:"text"},h="g",m=[],_=0;_1?this.$applyToken:M.token),w>1&&(/\\\d/.test(M.regex)?x=M.regex.replace(/\\([0-9]+)/g,function(L,A){return"\\"+(parseInt(A,10)+r+1)}):(w=1,x=this.removeCapturingGroups(M.regex)),!M.splitRegex&&"string"!=typeof M.token&&m.push(M)),u[r]=_,r+=w,d.push(x),M.onMatch||(M.onMatch=null)}}d.length||(u[0]=0,d.push("$")),m.forEach(function(L){L.splitRegex=this.createSplitterRegexp(L.regex,h)},this),this.regExps[s]=new RegExp("("+d.join(")|(")+")|($)",h)}}return a.prototype.$setMaxTokenCount=function(c){o=0|c},a.prototype.$applyToken=function(c){var s=this.splitRegex.exec(c).slice(1),l=this.token.apply(this,s);if("string"==typeof l)return[{type:l,value:c}];for(var d=[],r=0,u=l.length;rM){var E=c.substring(M,O-T.length);w.type==L?w.value+=E:(w.type&&_.push(w),w={type:L,value:E})}for(var D=0;Do){for(x>2*c.length&&this.reportError("infinite loop with in ace tokenizer",{startState:s,line:c});M1&&l[0]!==d&&l.unshift("#tmp",d),{tokens:_,state:l.length?l:d}},a}();v.prototype.reportError=b.reportError,p.Tokenizer=v}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(n,p,C){"use strict";var b=n("../lib/lang"),o=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(c,s){if(s)for(var l in c){for(var d=c[l],r=0;r=this.$rowTokens.length;){if(this.$row+=1,a||(a=this.$session.getLength()),this.$row>=a)return this.$row=a-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},v.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},v.prototype.getCurrentTokenRow=function(){return this.$row},v.prototype.getCurrentTokenColumn=function(){var a=this.$rowTokens,c=this.$tokenIndex,s=a[c].start;if(void 0!==s)return s;for(s=0;c>0;)s+=a[c-=1].value.length;return s},v.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},v.prototype.getCurrentTokenRange=function(){var a=this.$rowTokens[this.$tokenIndex],c=this.getCurrentTokenColumn();return new b(this.$row,c,this.$row,c+a.value.length)},v}();p.TokenIterator=o}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(n,p,C){"use strict";var l,b=n("../../lib/oop"),o=n("../behaviour").Behaviour,v=n("../../token_iterator").TokenIterator,a=n("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],s=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],d={},r={'"':'"',"'":"'"},u=function(_){var M=-1;if(_.multiSelect&&(M=_.selection.index,d.rangeCount!=_.multiSelect.rangeCount&&(d={rangeCount:_.multiSelect.rangeCount})),d[M])return l=d[M];l=d[M]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},h=function(_,M,x,w){var L=_.end.row-_.start.row;return{text:x+M+w,selection:[0,_.start.column+1,L,_.end.column+(L?0:1)]}},m=function(_){_=_||{},this.add("braces","insertion",function(M,x,w,L,A){var T=w.getCursorPosition(),O=L.doc.getLine(T.row);if("{"==A){u(w);var E=w.getSelectionRange(),D=L.doc.getTextRange(E);if(""!==D&&"{"!==D&&w.getWrapBehavioursEnabled())return h(E,D,"{","}");if(m.isSaneInsertion(w,L))return/[\]\}\)]/.test(O[T.column])||w.inMultiSelectMode||_.braces?(m.recordAutoInsert(w,L,"}"),{text:"{}",selection:[1,1]}):(m.recordMaybeInsert(w,L,"{"),{text:"{",selection:[1,1]})}else if("}"==A){if(u(w),"}"==O.substring(T.column,T.column+1)&&null!==L.$findOpeningBracket("}",{column:T.column+1,row:T.row})&&m.isAutoInsertedClosing(T,O,A))return m.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==A||"\r\n"==A){u(w);var N="";if(m.isMaybeInsertedClosing(T,O)&&(N=a.stringRepeat("}",l.maybeInsertedBrackets),m.clearMaybeInsertedClosing()),"}"===O.substring(T.column,T.column+1)){var S=L.findMatchingBracket({row:T.row,column:T.column+1},"}");if(!S)return null;var k=this.$getIndent(L.getLine(S.row))}else{if(!N)return void m.clearMaybeInsertedClosing();k=this.$getIndent(O)}var F=k+L.getTabString();return{text:"\n"+F+"\n"+k+N,selection:[1,F.length,1,F.length]}}m.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(M,x,w,L,A){var T=L.doc.getTextRange(A);if(!A.isMultiLine()&&"{"==T){if(u(w),"}"==L.doc.getLine(A.start.row).substring(A.end.column,A.end.column+1))return A.end.column++,A;l.maybeInsertedBrackets--}}),this.add("parens","insertion",function(M,x,w,L,A){if("("==A){u(w);var T=w.getSelectionRange(),O=L.doc.getTextRange(T);if(""!==O&&w.getWrapBehavioursEnabled())return h(T,O,"(",")");if(m.isSaneInsertion(w,L))return m.recordAutoInsert(w,L,")"),{text:"()",selection:[1,1]}}else if(")"==A){u(w);var E=w.getCursorPosition(),D=L.doc.getLine(E.row);if(")"==D.substring(E.column,E.column+1)&&null!==L.$findOpeningBracket(")",{column:E.column+1,row:E.row})&&m.isAutoInsertedClosing(E,D,A))return m.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(M,x,w,L,A){var T=L.doc.getTextRange(A);if(!A.isMultiLine()&&"("==T&&(u(w),")"==L.doc.getLine(A.start.row).substring(A.start.column+1,A.start.column+2)))return A.end.column++,A}),this.add("brackets","insertion",function(M,x,w,L,A){if("["==A){u(w);var T=w.getSelectionRange(),O=L.doc.getTextRange(T);if(""!==O&&w.getWrapBehavioursEnabled())return h(T,O,"[","]");if(m.isSaneInsertion(w,L))return m.recordAutoInsert(w,L,"]"),{text:"[]",selection:[1,1]}}else if("]"==A){u(w);var E=w.getCursorPosition(),D=L.doc.getLine(E.row);if("]"==D.substring(E.column,E.column+1)&&null!==L.$findOpeningBracket("]",{column:E.column+1,row:E.row})&&m.isAutoInsertedClosing(E,D,A))return m.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(M,x,w,L,A){var T=L.doc.getTextRange(A);if(!A.isMultiLine()&&"["==T&&(u(w),"]"==L.doc.getLine(A.start.row).substring(A.start.column+1,A.start.column+2)))return A.end.column++,A}),this.add("string_dquotes","insertion",function(M,x,w,L,A){var T=L.$mode.$quotes||r;if(1==A.length&&T[A]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(A))return;u(w);var O=A,E=w.getSelectionRange(),D=L.doc.getTextRange(E);if(""!==D&&(1!=D.length||!T[D])&&w.getWrapBehavioursEnabled())return h(E,D,O,O);if(!D){var R=w.getCursorPosition(),j=L.doc.getLine(R.row),N=j.substring(R.column-1,R.column),S=j.substring(R.column,R.column+1),k=L.getTokenAt(R.row,R.column),F=L.getTokenAt(R.row,R.column+1);if("\\"==N&&k&&/escape/.test(k.type))return null;var ne,Y=k&&/string|escape/.test(k.type),se=!F||/string|escape/.test(F.type);if(S==O)(ne=Y!==se)&&/string\.end/.test(F.type)&&(ne=!1);else{if(Y&&!se||Y&&se)return null;var me=L.$mode.tokenRe;me.lastIndex=0;var $=me.test(N);me.lastIndex=0;var q=me.test(S),Q=L.$mode.$pairQuotesAfter;if(!(Q&&Q[O]&&Q[O].test(N))&&$||q||S&&!/[\s;,.})\]\\]/.test(S))return null;var Me=j[R.column-2];if(N==O&&(Me==O||me.test(Me)))return null;ne=!0}return{text:ne?O+O:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(M,x,w,L,A){var T=L.$mode.$quotes||r,O=L.doc.getTextRange(A);if(!A.isMultiLine()&&T.hasOwnProperty(O)&&(u(w),L.doc.getLine(A.start.row).substring(A.start.column+1,A.start.column+2)==O))return A.end.column++,A}),!1!==_.closeDocComment&&this.add("doc comment end","insertion",function(M,x,w,L,A){if("doc-start"===M&&("\n"===A||"\r\n"===A)&&w.selection.isEmpty()){var T=w.getCursorPosition(),O=L.doc.getLine(T.row),E=L.doc.getLine(T.row+1),D=this.$getIndent(O);if(/\s*\*/.test(E))return/^\s*\*/.test(O)?{text:A+D+"* ",selection:[1,3+D.length,1,3+D.length]}:{text:A+D+" * ",selection:[1,3+D.length,1,3+D.length]};if(/\/\*\*/.test(O.substring(0,T.column)))return{text:A+D+" * "+A+" "+D+"*/",selection:[1,4+D.length,1,4+D.length]}}})};m.isSaneInsertion=function(_,M){var x=_.getCursorPosition(),w=new v(M,x.row,x.column);if(!this.$matchTokenType(w.getCurrentToken()||"text",c)){if(/[)}\]]/.test(_.session.getLine(x.row)[x.column]))return!0;var L=new v(M,x.row,x.column+1);if(!this.$matchTokenType(L.getCurrentToken()||"text",c))return!1}return w.stepForward(),w.getCurrentTokenRow()!==x.row||this.$matchTokenType(w.getCurrentToken()||"text",s)},m.$matchTokenType=function(_,M){return M.indexOf(_.type||_)>-1},m.recordAutoInsert=function(_,M,x){var w=_.getCursorPosition(),L=M.doc.getLine(w.row);this.isAutoInsertedClosing(w,L,l.autoInsertedLineEnd[0])||(l.autoInsertedBrackets=0),l.autoInsertedRow=w.row,l.autoInsertedLineEnd=x+L.substr(w.column),l.autoInsertedBrackets++},m.recordMaybeInsert=function(_,M,x){var w=_.getCursorPosition(),L=M.doc.getLine(w.row);this.isMaybeInsertedClosing(w,L)||(l.maybeInsertedBrackets=0),l.maybeInsertedRow=w.row,l.maybeInsertedLineStart=L.substr(0,w.column)+x,l.maybeInsertedLineEnd=L.substr(w.column),l.maybeInsertedBrackets++},m.isAutoInsertedClosing=function(_,M,x){return l.autoInsertedBrackets>0&&_.row===l.autoInsertedRow&&x===l.autoInsertedLineEnd[0]&&M.substr(_.column)===l.autoInsertedLineEnd},m.isMaybeInsertedClosing=function(_,M){return l.maybeInsertedBrackets>0&&_.row===l.maybeInsertedRow&&M.substr(_.column)===l.maybeInsertedLineEnd&&M.substr(0,_.column)==l.maybeInsertedLineStart},m.popAutoInsertedClosing=function(){l.autoInsertedLineEnd=l.autoInsertedLineEnd.substr(1),l.autoInsertedBrackets--},m.clearMaybeInsertedClosing=function(){l&&(l.maybeInsertedBrackets=0,l.maybeInsertedRow=-1)},b.inherits(m,o),p.CstyleBehaviour=m}),ace.define("ace/unicode",["require","exports","module"],function(n,p,C){"use strict";for(var b=[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],o=0,v=[],a=0;a2?Me%A!=A-1:Me%A==0}}else{if(!this.blockComment)return!1;O=this.blockComment.start;var E=this.blockComment.end,R=(D=new RegExp("^(\\s*)(?:"+s.escapeRegExp(O)+")"),new RegExp("(?:"+s.escapeRegExp(E)+")\\s*$"));j=function(ne,me){S(ne,me)||(!x||/\S/.test(ne))&&(M.insertInLine({row:me,column:ne.length},E),M.insertInLine({row:me,column:L},O))},N=function(ne,me){var $;($=ne.match(R))&&M.removeInLine(me,ne.length-$[0].length,ne.length),($=ne.match(D))&&M.removeInLine(me,$[1].length,$[0].length)},S=function(ne,me){if(D.test(ne))return!0;for(var $=h.getTokens(me),q=0;q<$.length;q++)if("comment"===$[q].type)return!0}}function Y(ne){for(var me=m;me<=_;me++)ne(M.getLine(me),me)}var se=1/0;Y(function(ne,me){var $=ne.search(/\S/);-1!==$?($ne.length&&(se=ne.length)}),L==1/0&&(L=se,x=!1,w=!1),T&&L%A!=0&&(L=Math.floor(L/A)*A),Y(w?N:j)},this.toggleBlockComment=function(u,h,m,_){var M=this.blockComment;if(M){!M.start&&M[0]&&(M=M[0]);var T,O,w=(x=new l(h,_.row,_.column)).getCurrentToken(),A=h.selection.toOrientedRange();if(w&&/comment/.test(w.type)){for(var E,D;w&&/comment/.test(w.type);){if(-1!=(R=w.value.indexOf(M.start))){var j=x.getCurrentTokenRow(),N=x.getCurrentTokenColumn()+R;E=new d(j,N,j,N+M.start.length);break}w=x.stepBackward()}var x;for(w=(x=new l(h,_.row,_.column)).getCurrentToken();w&&/comment/.test(w.type);){var R;if(-1!=(R=w.value.indexOf(M.end))){j=x.getCurrentTokenRow(),N=x.getCurrentTokenColumn()+R,D=new d(j,N,j,N+M.end.length);break}w=x.stepForward()}D&&h.remove(D),E&&(h.remove(E),T=E.start.row,O=-M.start.length)}else O=M.start.length,T=m.start.row,h.insert(m.end,M.end),h.insert(m.start,M.start);A.start.row==T&&(A.start.column+=O),A.end.row==T&&(A.end.column+=O),h.selection.fromOrientedRange(A)}},this.getNextLineIndent=function(u,h,m){return this.$getIndent(h)},this.checkOutdent=function(u,h,m){return!1},this.autoOutdent=function(u,h,m){},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 m=u[h],_=m.prototype.$id,M=b.$modes[_];M||(b.$modes[_]=M=new m),b.$modes[h]||(b.$modes[h]=M),this.$embeds.push(h),this.$modes[h]=M}var x=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(h=0;h"u"?this.setPosition(d.row,d.column):this.setPosition(d,r)}return s.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},s.prototype.getDocument=function(){return this.document},s.prototype.onChange=function(l){if(!(l.start.row==l.end.row&&l.start.row!=this.row||l.start.row>this.row)){var d=function c(s,l,d){var r="insert"==s.action,u=(r?1:-1)*(s.end.row-s.start.row),h=(r?1:-1)*(s.end.column-s.start.column),m=s.start,_=r?m:s.end;return a(l,m,d)?{row:l.row,column:l.column}:a(_,l,!d)?{row:l.row+u,column:l.column+(l.row==_.row?h:0)}:{row:m.row,column:m.column}}(l,{row:this.row,column:this.column},this.$insertRight);this.setPosition(d.row,d.column,!0)}},s.prototype.setPosition=function(l,d,r){var u;if(u=r?{row:l,column:d}:this.$clipPositionToDocument(l,d),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})}},s.prototype.detach=function(){this.document.off("change",this.$onChange)},s.prototype.attach=function(l){this.document=l||this.document,this.document.on("change",this.$onChange)},s.prototype.$clipPositionToDocument=function(l,d){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,d))),d<0&&(r.column=0),r},s}();function a(s,l,d){return s.row=u&&(d=u-1,r=void 0);var h=this.getLine(d);return null==r&&(r=h.length),{row:d,column:r=Math.min(Math.max(r,0),h.length)}},l.prototype.clonePos=function(d){return{row:d.row,column:d.column}},l.prototype.pos=function(d,r){return{row:d,column:r}},l.prototype.$clipPosition=function(d){var r=this.getLength();return d.row>=r?(d.row=Math.max(0,r-1),d.column=this.getLine(r-1).length):(d.row=Math.max(0,d.row),d.column=Math.min(Math.max(d.column,0),this.getLine(d.row).length)),d},l.prototype.insertFullLines=function(d,r){var u=0;(d=Math.min(Math.max(d,0),this.getLength()))0,h=r=0&&this.applyDelta({start:this.pos(d,this.getLine(d).length),end:this.pos(d+1,0),action:"remove",lines:["",""]})},l.prototype.replace=function(d,r){return d instanceof a||(d=a.fromPoints(d.start,d.end)),0===r.length&&d.isEmpty()?d.start:r==this.getTextRange(d)?d.end:(this.remove(d),r?this.insert(d.start,r):d.start)},l.prototype.applyDeltas=function(d){for(var r=0;r=0;r--)this.revertDelta(d[r])},l.prototype.applyDelta=function(d,r){var u="insert"==d.action;(u?d.lines.length<=1&&!d.lines[0]:!a.comparePoints(d.start,d.end))||(u&&d.lines.length>2e4?this.$splitAndapplyLargeDelta(d,2e4):(o(this.$lines,d,r),this._signal("change",d)))},l.prototype.$safeApplyDelta=function(d){var r=this.$lines.length;("remove"==d.action&&d.start.row20){l.running=setTimeout(l.$worker,20);break}}l.currentLine=r,-1==u&&(u=r),m<=u&&l.fireUpdateEvent(m,u)}}}return a.prototype.setTokenizer=function(c){this.tokenizer=c,this.lines=[],this.states=[],this.start(0)},a.prototype.setDocument=function(c){this.doc=c,this.lines=[],this.states=[],this.stop()},a.prototype.fireUpdateEvent=function(c,s){this._signal("update",{data:{first:c,last:s}})},a.prototype.start=function(c){this.currentLine=Math.min(c||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)},a.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},a.prototype.$updateOnChange=function(c){var s=c.start.row,l=c.end.row-s;if(0===l)this.lines[s]=null;else if("remove"==c.action)this.lines.splice(s,l+1,null),this.states.splice(s,l+1,null);else{var d=Array(l+1);d.unshift(s,1),this.lines.splice.apply(this.lines,d),this.states.splice.apply(this.states,d)}this.currentLine=Math.min(s,this.currentLine,this.doc.getLength()),this.stop()},a.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},a.prototype.getTokens=function(c){return this.lines[c]||this.$tokenizeRow(c)},a.prototype.getState=function(c){return this.currentLine==c&&this.$tokenizeRow(c),this.states[c]||"start"},a.prototype.$tokenizeRow=function(c){var s=this.doc.getLine(c),d=this.tokenizer.getLineTokens(s,this.states[c-1],c);return this.states[c]+""!=d.state+""?(this.states[c]=d.state,this.lines[c+1]=null,this.currentLine>c+1&&(this.currentLine=c+1)):this.currentLine==c&&(this.currentLine=c+1),this.lines[c]=d.tokens},a.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},a}();b.implement(v.prototype,o),p.BackgroundTokenizer=v}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(n,p,C){"use strict";var b=n("./lib/lang"),o=n("./range").Range,v=function(){function a(c,s,l){void 0===l&&(l="text"),this.setRegexp(c),this.clazz=s,this.type=l}return a.prototype.setRegexp=function(c){this.regExp+""!=c+""&&(this.regExp=c,this.cache=[])},a.prototype.update=function(c,s,l,d){if(this.regExp)for(var u=d.lastRow,h={},m=d.firstRow;m<=u;m++){var _=this.cache[m];null==_&&((_=b.getMatchOffsets(l.getLine(m),this.regExp)).length>this.MAX_RANGES&&(_=_.slice(0,this.MAX_RANGES)),_=_.map(function(L){return new o(m,L.offset,m,L.offset+L.length)}),this.cache[m]=_.length?_:"");for(var M=_.length;M--;){var x=_[M].toScreenRange(l),w=x.toString();h[w]||(h[w]=!0,s.drawSingleLineMarker(c,x,this.clazz,d))}}},a}();v.prototype.MAX_RANGES=500,p.SearchHighlight=v}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(n,p,C){"use strict";var b=n("../range").Range,o=function(){function v(a,c){this.foldData=a,Array.isArray(c)?this.folds=c:c=this.folds=[c];var s=c[c.length-1];this.range=new b(c[0].start.row,c[0].start.column,s.end.row,s.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(l){l.setFoldLine(this)},this)}return v.prototype.shiftRow=function(a){this.start.row+=a,this.end.row+=a,this.folds.forEach(function(c){c.start.row+=a,c.end.row+=a})},v.prototype.addFold=function(a){if(a.sameRow){if(a.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(a),this.folds.sort(function(c,s){return-c.range.compareEnd(s.start.row,s.start.column)}),this.range.compareEnd(a.start.row,a.start.column)>0?(this.end.row=a.end.row,this.end.column=a.end.column):this.range.compareStart(a.end.row,a.end.column)<0&&(this.start.row=a.start.row,this.start.column=a.start.column)}else if(a.start.row==this.end.row)this.folds.push(a),this.end.row=a.end.row,this.end.column=a.end.column;else{if(a.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(a),this.start.row=a.start.row,this.start.column=a.start.column}a.foldLine=this},v.prototype.containsRow=function(a){return a>=this.start.row&&a<=this.end.row},v.prototype.walk=function(a,c,s){var r,u,l=0,d=this.folds,m=!0;null==c&&(c=this.end.row,s=this.end.column);for(var _=0;_0)){var m=o(c,u.start);return 0===h?s&&0!==m?-r-2:r:m>0||0===m&&!s?r:-r-1}}return-r-1},a.prototype.add=function(c){var s=!c.isEmpty(),l=this.pointIndex(c.start,s);l<0&&(l=-l-1);var d=this.pointIndex(c.end,s,l);return d<0?d=-d-1:d++,this.ranges.splice(l,d-l,c)},a.prototype.addList=function(c){for(var s=[],l=c.length;l--;)s.push.apply(s,this.add(c[l]));return s},a.prototype.substractPoint=function(c){var s=this.pointIndex(c);if(s>=0)return this.ranges.splice(s,1)},a.prototype.merge=function(){for(var d,c=[],s=this.ranges,l=(s=s.sort(function(h,m){return o(h.start,m.start)}))[0],r=1;r=0},a.prototype.containsPoint=function(c){return this.pointIndex(c)>=0},a.prototype.rangeAtPoint=function(c){var s=this.pointIndex(c);if(s>=0)return this.ranges[s]},a.prototype.clipRows=function(c,s){var l=this.ranges;if(l[0].start.row>s||l[l.length-1].start.row=d);h++);if("insert"==c.action){for(var M=r-d,x=-s.column+l.column;hd);h++)if(_.start.row==d&&_.start.column>=s.column&&(_.start.column==s.column&&this.$bias<=0||(_.start.column+=x,_.start.row+=M)),_.end.row==d&&_.end.column>=s.column){if(_.end.column==s.column&&this.$bias<0)continue;_.end.column==s.column&&x>0&&h_.start.column&&_.end.column==u[h+1].start.column&&(_.end.column-=x),_.end.column+=x,_.end.row+=M}}else for(M=d-r,x=s.column-l.column;hr);h++)_.end.rows.column)&&(_.end.column=s.column,_.end.row=s.row):(_.end.column+=x,_.end.row+=M):_.end.row>r&&(_.end.row+=M),_.start.rows.column)&&(_.start.column=s.column,_.start.row=s.row):(_.start.column+=x,_.start.row+=M):_.start.row>r&&(_.start.row+=M);if(0!=M&&h=l)return h;if(h.end.row>l)return null}return null},this.getNextFoldLine=function(l,d){var r=this.$foldData,u=0;for(d&&(u=r.indexOf(d)),-1==u&&(u=0);u=l)return h}return null},this.getFoldedRowCount=function(l,d){for(var r=this.$foldData,u=d-l+1,h=0;h=d){M=l?u-=d-M:u=0);break}_>=l&&(u-=M>=l?_-M:_-l+1)}return u},this.$addFoldLine=function(l){return this.$foldData.push(l),this.$foldData.sort(function(d,r){return d.start.row-r.start.row}),l},this.addFold=function(l,d){var h,r=this.$foldData,u=!1;l instanceof v?h=l:(h=new v(d,l)).collapseChildren=d.collapseChildren,this.$clipRangeToDocument(h.range);var m=h.start.row,_=h.start.column,M=h.end.row,x=h.end.column,w=this.getFoldAt(m,_,1),L=this.getFoldAt(M,x,-1);if(w&&L==w)return w.addSubFold(h);w&&!w.range.isStart(m,_)&&this.removeFold(w),L&&!L.range.isEnd(M,x)&&this.removeFold(L);var A=this.getFoldsInRange(h.range);A.length>0&&(this.removeFolds(A),h.collapseChildren||A.forEach(function(D){h.addSubFold(D)}));for(var T=0;T0&&this.foldAll(l.start.row+1,l.end.row,l.collapseChildren-1),l.subFolds=[]},this.expandFolds=function(l){l.forEach(function(d){this.expandFold(d)},this)},this.unfold=function(l,d){var r,u;if(null==l)r=new b(0,0,this.getLength(),0),null==d&&(d=!0);else if("number"==typeof l)r=new b(l,0,l,this.getLine(l).length);else if("row"in l)r=b.fromPoints(l,l);else{if(Array.isArray(l))return u=[],l.forEach(function(m){u=u.concat(this.unfold(m))},this),u;r=l}for(var h=u=this.getFoldsInRangeList(r);1==u.length&&b.comparePoints(u[0].start,r.start)<0&&b.comparePoints(u[0].end,r.end)>0;)this.expandFolds(u),u=this.getFoldsInRangeList(r);if(0!=d?this.removeFolds(u):this.expandFolds(u),h.length)return h},this.isRowFolded=function(l,d){return!!this.getFoldLine(l,d)},this.getRowFoldEnd=function(l,d){var r=this.getFoldLine(l,d);return r?r.end.row:l},this.getRowFoldStart=function(l,d){var r=this.getFoldLine(l,d);return r?r.start.row:l},this.getFoldDisplayLine=function(l,d,r,u,h){null==u&&(u=l.start.row),null==h&&(h=0),null==d&&(d=l.end.row),null==r&&(r=this.getLine(d).length);var m=this.doc,_="";return l.walk(function(M,x,w,L){if(!(xx)break}while(h&&_.test(h.type)&&!/^comment.start/.test(h.type));h=u.stepBackward()}else h=u.getCurrentToken();return M.end.row=u.getCurrentTokenRow(),M.end.column=u.getCurrentTokenColumn(),/^comment.end/.test(h.type)||(M.end.column+=h.value.length-2),M}},this.foldAll=function(l,d,r,u){null==r&&(r=1e5);var h=this.foldWidgets;if(h){d=d||this.getLength();for(var m=l=l||0;m=l&&(m=_.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(d){for(var r=l.getTokens(d),u=0;u=0;){var m=r[u];if(null==m&&(m=r[u]=this.getFoldWidget(u)),"start"==m){var _=this.getFoldWidgetRange(u);if(h||(h=_),_&&_.end.row>=l)break}u--}return{range:-1!==u&&_,firstRange:h}},this.onFoldWidgetClick=function(l,d){if(d instanceof c&&(d=d.domEvent),!this.$toggleFoldWidget(l,{children:d.shiftKey,all:d.ctrlKey||d.metaKey,siblings:d.altKey})){var h=d.target||d.srcElement;h&&/ace_fold-widget/.test(h.className)&&(h.className+=" ace_invalid")}},this.$toggleFoldWidget=function(l,d){if(this.getFoldWidget){var r=this.getFoldWidget(l),u=this.getLine(l),h="end"===r?-1:1,m=this.getFoldAt(l,-1===h?0:u.length,h);if(m)return d.children||d.all?this.removeFold(m):this.expandFold(m),m;var _=this.getFoldWidgetRange(l,!0);if(_&&!_.isMultiLine()&&(m=this.getFoldAt(_.start.row,_.start.column,1))&&_.isEqual(m.range))return this.removeFold(m),m;if(d.siblings){var M=this.getParentFoldRangeData(l);if(M.range)var x=M.range.start.row+1,w=M.range.end.row;this.foldAll(x,w,d.all?1e4:0)}else d.children?(w=_?_.end.row:this.getLength(),this.foldAll(l+1,w,d.all?1e4:0)):_&&(d.all&&(_.collapseChildren=1e4),this.addFold("...",_));return _}},this.toggleFoldWidget=function(l){var d=this.selection.getCursor().row;d=this.getRowFoldStart(d);var r=this.$toggleFoldWidget(d,{});if(!r){var u=this.getParentFoldRangeData(d,!0);if(r=u.range||u.firstRange){var h=this.getFoldAt(d=r.start.row,this.getLine(d).length,1);h?this.removeFold(h):this.addFold("...",r)}}},this.updateFoldWidgets=function(l){var d=l.start.row,r=l.end.row-d;if(0===r)this.foldWidgets[d]=null;else if("remove"==l.action)this.foldWidgets.splice(d,r+1,null);else{var u=Array(r+1);u.unshift(d,1),this.foldWidgets.splice.apply(this.foldWidgets,u)}},this.tokenizerUpdateFoldWidgets=function(l){var d=l.data;d.first!=d.last&&this.foldWidgets.length>d.first&&this.foldWidgets.splice(d.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(n,p,C){"use strict";var b=n("../token_iterator").TokenIterator,o=n("../range").Range;p.BracketMatch=function v(){this.findMatchingBracket=function(a,c){if(0==a.column)return null;var s=c||this.getLine(a.row).charAt(a.column-1);if(""==s)return null;var l=s.match(/([\(\[\{])|([\)\]\}])/);return l?l[1]?this.$findClosingBracket(l[1],a):this.$findOpeningBracket(l[2],a):null},this.getBracketRange=function(a){var l,c=this.getLine(a.row),s=!0,d=c.charAt(a.column-1),r=d&&d.match(/([\(\[\{])|([\)\]\}])/);if(r||(d=c.charAt(a.column),a={row:a.row,column:a.column+1},r=d&&d.match(/([\(\[\{])|([\)\]\}])/),s=!1),!r)return null;if(r[1]){if(!(u=this.$findClosingBracket(r[1],a)))return null;l=o.fromPoints(a,u),s||(l.end.column++,l.start.column--),l.cursor=l.end}else{var u;if(!(u=this.$findOpeningBracket(r[2],a)))return null;l=o.fromPoints(u,a),s||(l.start.column++,l.end.column--),l.cursor=l.start}return l},this.getMatchingBracketRanges=function(a,c){var s=this.getLine(a.row),l=/([\(\[\{])|([\)\]\}])/,d=!c&&s.charAt(a.column-1),r=d&&d.match(l);if(r||(d=(void 0===c||c)&&s.charAt(a.column),a={row:a.row,column:a.column+1},r=d&&d.match(l)),!r)return null;var u=new o(a.row,a.column-1,a.row,a.column),h=r[1]?this.$findClosingBracket(r[1],a):this.$findOpeningBracket(r[2],a);return h?[u,new o(h.row,h.column,h.row,h.column+1)]:[u]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(a,c,s){var l=this.$brackets[a],d=1,r=new b(this,c.row,c.column),u=r.getCurrentToken();if(u||(u=r.stepForward()),u){s||(s=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var h=c.column-r.getCurrentTokenColumn()-2,m=u.value;;){for(;h>=0;){var _=m.charAt(h);if(_==l){if(0==(d-=1))return{row:r.getCurrentTokenRow(),column:h+r.getCurrentTokenColumn()}}else _==a&&(d+=1);h-=1}do{u=r.stepBackward()}while(u&&!s.test(u.type));if(null==u)break;h=(m=u.value).length-1}return null}},this.$findClosingBracket=function(a,c,s){var l=this.$brackets[a],d=1,r=new b(this,c.row,c.column),u=r.getCurrentToken();if(u||(u=r.stepForward()),u){s||(s=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var h=c.column-r.getCurrentTokenColumn();;){for(var m=u.value,_=m.length;h<_;){var M=m.charAt(h);if(M==l){if(0==(d-=1))return{row:r.getCurrentTokenRow(),column:h+r.getCurrentTokenColumn()}}else M==a&&(d+=1);h+=1}do{u=r.stepForward()}while(u&&!s.test(u.type));if(null==u)break;h=0}return null}},this.getMatchingTags=function(a){var c=new b(this,a.row,a.column),s=this.$findTagName(c);if(s)return"<"===c.stepBackward().value?this.$findClosingTag(c,s):this.$findOpeningTag(c,s)},this.$findTagName=function(a){var c=a.getCurrentToken(),s=!1,l=!1;if(c&&-1===c.type.indexOf("tag-name"))do{(c=l?a.stepBackward():a.stepForward())&&("/>"===c.value?l=!0:-1!==c.type.indexOf("tag-name")&&(s=!0))}while(c&&!s);return c},this.$findClosingTag=function(a,c){var s,l=c.value,d=c.value,r=0,u=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);c=a.stepForward();var h=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+c.value.length),m=!1;do{if(s=c,c=a.stepForward()){if(">"===c.value&&!m){var _=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);m=!0}if(-1!==c.type.indexOf("tag-name")){if(d===(l=c.value))if("<"===s.value)r++;else if(""!==c.value)return;var w=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1)}}else d===l&&"/>"===c.value&&--r<0&&(w=x=M=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+2),_=new o(h.end.row,h.end.column,h.end.row,h.end.column+1))}}while(c&&r>=0);if(u&&_&&M&&w&&h&&x)return{openTag:new o(u.start.row,u.start.column,_.end.row,_.end.column),closeTag:new o(M.start.row,M.start.column,w.end.row,w.end.column),openTagName:h,closeTagName:x}},this.$findOpeningTag=function(a,c){var s=a.getCurrentToken(),l=c.value,d=0,r=a.getCurrentTokenRow(),u=a.getCurrentTokenColumn(),h=u+2,m=new o(r,u,r,h);a.stepForward();var _=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+c.value.length);if((c=a.stepForward())&&">"===c.value){var M=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);a.stepBackward(),a.stepBackward();do{if(c=s,r=a.getCurrentTokenRow(),h=(u=a.getCurrentTokenColumn())+c.value.length,s=a.stepBackward(),c)if(-1!==c.type.indexOf("tag-name")){if(l===c.value)if("<"===s.value){if(++d>0){var x=new o(r,u,r,h),w=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);do{c=a.stepForward()}while(c&&">"!==c.value);var L=new o(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1)}}else""===c.value){for(var A=0,T=s;T;){if(-1!==T.type.indexOf("tag-name")&&T.value===l){d--;break}if("<"===T.value)break;T=a.stepBackward(),A++}for(var O=0;ON&&(this.$docRowCache.splice(N,j),this.$screenRowCache.splice(N,j))},D.prototype.$getRowCacheIndex=function(R,j){for(var N=0,S=R.length-1;N<=S;){var k=N+S>>1,F=R[k];if(j>F)N=k+1;else{if(!(j=j);F++);return(S=N[F])?(S.index=F,S.start=k-S.value.length,S):null},D.prototype.setUndoManager=function(R){if(this.$undoManager=R,this.$informUndoManager&&this.$informUndoManager.cancel(),R){var j=this;R.addSession(this),this.$syncInformUndoManager=function(){j.$informUndoManager.cancel(),j.mergeUndoDeltas=!1},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},D.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},D.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},D.prototype.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):"\t"},D.prototype.setUseSoftTabs=function(R){this.setOption("useSoftTabs",R)},D.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},D.prototype.setTabSize=function(R){this.setOption("tabSize",R)},D.prototype.getTabSize=function(){return this.$tabSize},D.prototype.isTabStop=function(R){return this.$useSoftTabs&&R.column%this.$tabSize==0},D.prototype.setNavigateWithinSoftTabs=function(R){this.setOption("navigateWithinSoftTabs",R)},D.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},D.prototype.setOverwrite=function(R){this.setOption("overwrite",R)},D.prototype.getOverwrite=function(){return this.$overwrite},D.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},D.prototype.addGutterDecoration=function(R,j){this.$decorations[R]||(this.$decorations[R]=""),this.$decorations[R]+=" "+j,this._signal("changeBreakpoint",{})},D.prototype.removeGutterDecoration=function(R,j){this.$decorations[R]=(this.$decorations[R]||"").replace(" "+j,""),this._signal("changeBreakpoint",{})},D.prototype.getBreakpoints=function(){return this.$breakpoints},D.prototype.setBreakpoints=function(R){this.$breakpoints=[];for(var j=0;j0&&(S=!!N.charAt(j-1).match(this.tokenRe)),S||(S=!!N.charAt(j).match(this.tokenRe)),S)var k=this.tokenRe;else k=/^\s+$/.test(N.slice(j-1,j+1))?/\s/:this.nonTokenRe;var F=j;if(F>0){do{F--}while(F>=0&&N.charAt(F).match(k));F++}for(var Y=j;YR&&(R=j.screenWidth)}),this.lineWidgetWidth=R},D.prototype.$computeWidth=function(R){if(this.$modified||R){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var j=this.doc.getAllLines(),N=this.$rowLengthCache,S=0,k=0,F=this.$foldData[k],Y=F?F.start.row:1/0,se=j.length,ne=0;neY){if((ne=F.end.row+1)>=se)break;Y=(F=this.$foldData[k++])?F.start.row:1/0}null==N[ne]&&(N[ne]=this.$getStringScreenWidth(j[ne])[0]),N[ne]>S&&(S=N[ne])}this.screenWidth=S}},D.prototype.getLine=function(R){return this.doc.getLine(R)},D.prototype.getLines=function(R,j){return this.doc.getLines(R,j)},D.prototype.getLength=function(){return this.doc.getLength()},D.prototype.getTextRange=function(R){return this.doc.getTextRange(R||this.selection.getRange())},D.prototype.insert=function(R,j){return this.doc.insert(R,j)},D.prototype.remove=function(R){return this.doc.remove(R)},D.prototype.removeFullLines=function(R,j){return this.doc.removeFullLines(R,j)},D.prototype.undoChanges=function(R,j){if(R.length){this.$fromUndo=!0;for(var N=R.length-1;-1!=N;N--){var S=R[N];"insert"==S.action||"remove"==S.action?this.doc.revertDelta(S):S.folds&&this.addFolds(S.folds)}!j&&this.$undoSelect&&(R.selectionBefore?this.selection.fromJSON(R.selectionBefore):this.selection.setRange(this.$getUndoSelection(R,!0))),this.$fromUndo=!1}},D.prototype.redoChanges=function(R,j){if(R.length){this.$fromUndo=!0;for(var N=0;NR.end.column&&(F.start.column+=se),F.end.row==R.end.row&&F.end.column>R.end.column&&(F.end.column+=se)),Y&&F.start.row>=R.end.row&&(F.start.row+=Y,F.end.row+=Y)),F.end=this.insert(F.start,S),k.length){var ne=R.start,me=F.start,Y=me.row-ne.row,se=me.column-ne.column;this.addFolds(k.map(function(Q){return(Q=Q.clone()).start.row==ne.row&&(Q.start.column+=se),Q.end.row==ne.row&&(Q.end.column+=se),Q.start.row+=Y,Q.end.row+=Y,Q}))}return F},D.prototype.indentRows=function(R,j,N){N=N.replace(/\t/g,this.getTabString());for(var S=R;S<=j;S++)this.doc.insertInLine({row:S,column:0},N)},D.prototype.outdentRows=function(R){for(var j=R.collapseRows(),N=new d(0,0,0,0),S=this.getTabSize(),k=j.start.row;k<=j.end.row;++k){var F=this.getLine(k);N.start.row=k,N.end.row=k;for(var Y=0;Y0){var S;if((S=this.getRowFoldEnd(j+N))>this.doc.getLength()-1)return 0;k=S-j}else R=this.$clipRowToDocument(R),k=(j=this.$clipRowToDocument(j))-R+1;var F=new d(R,0,j,Number.MAX_VALUE),Y=this.getFoldsInRange(F).map(function(ne){return(ne=ne.clone()).start.row+=k,ne.end.row+=k,ne}),se=0==N?this.doc.getLines(R,j):this.doc.removeFullLines(R,j);return this.doc.insertFullLines(R+k,se),Y.length&&this.addFolds(Y),k},D.prototype.moveLinesUp=function(R,j){return this.$moveLines(R,j,-1)},D.prototype.moveLinesDown=function(R,j){return this.$moveLines(R,j,1)},D.prototype.duplicateLines=function(R,j){return this.$moveLines(R,j,0)},D.prototype.$clipRowToDocument=function(R){return Math.max(0,Math.min(R,this.doc.getLength()-1))},D.prototype.$clipColumnToRow=function(R,j){return j<0?0:Math.min(this.doc.getLine(R).length,j)},D.prototype.$clipPositionToDocument=function(R,j){if(j=Math.max(0,j),R<0)R=0,j=0;else{var N=this.doc.getLength();R>=N?(R=N-1,j=this.doc.getLine(N-1).length):j=Math.min(this.doc.getLine(R).length,j)}return{row:R,column:j}},D.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 j=this.doc.getLength()-1;return R.end.row>j?(R.end.row=j,R.end.column=this.doc.getLine(j).length):R.end.column=this.$clipColumnToRow(R.end.row,R.end.column),R},D.prototype.setUseWrapMode=function(R){if(R!=this.$useWrapMode){if(this.$useWrapMode=R,this.$modified=!0,this.$resetRowCache(0),R){var j=this.getLength();this.$wrapData=Array(j),this.$updateWrapData(0,j-1)}this._signal("changeWrapMode")}},D.prototype.getUseWrapMode=function(){return this.$useWrapMode},D.prototype.setWrapLimitRange=function(R,j){(this.$wrapLimitRange.min!==R||this.$wrapLimitRange.max!==j)&&(this.$wrapLimitRange={min:R,max:j},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},D.prototype.adjustWrapLimit=function(R,j){var N=this.$wrapLimitRange;N.max<0&&(N={min:j,max:j});var S=this.$constrainWrapLimit(R,N.min,N.max);return S!=this.$wrapLimit&&S>1&&(this.$wrapLimit=S,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},D.prototype.$constrainWrapLimit=function(R,j,N){return j&&(R=Math.max(j,R)),N&&(R=Math.min(N,R)),R},D.prototype.getWrapLimit=function(){return this.$wrapLimit},D.prototype.setWrapLimit=function(R){this.setWrapLimitRange(R,R)},D.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},D.prototype.$updateInternalDataOnChange=function(R){var j=this.$useWrapMode,N=R.action,S=R.start,k=R.end,F=S.row,Y=k.row,se=Y-F,ne=null;if(this.$updating=!0,0!=se)if("remove"===N){this[j?"$wrapData":"$rowLengthCache"].splice(F,se);var me=this.$foldData;ne=this.getFoldsInRange(R),this.removeFolds(ne);var q=0;if($=this.getFoldLine(k.row)){$.addRemoveChars(k.row,k.column,S.column-k.column),$.shiftRow(-se);var Q=this.getFoldLine(F);Q&&Q!==$&&(Q.merge($),$=Q),q=me.indexOf($)+1}for(;q=k.row&&$.shiftRow(-se);Y=F}else{var ue=Array(se);ue.unshift(F,0);var Me=j?this.$wrapData:this.$rowLengthCache;if(Me.splice.apply(Me,ue),me=this.$foldData,q=0,$=this.getFoldLine(F)){var Oe=$.range.compareInside(S.row,S.column);0==Oe?($=$.split(S.row,S.column))&&($.shiftRow(se),$.addRemoveChars(Y,0,k.column-S.column)):-1==Oe&&($.addRemoveChars(F,0,k.column-S.column),$.shiftRow(se)),q=me.indexOf($)+1}for(;q=F&&$.shiftRow(se)}}else se=Math.abs(R.start.column-R.end.column),"remove"===N&&(ne=this.getFoldsInRange(R),this.removeFolds(ne),se=-se),($=this.getFoldLine(F))&&$.addRemoveChars(F,S.column,se);return j&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,j?this.$updateWrapData(F,Y):this.$updateRowLengthCache(F,Y),ne},D.prototype.$updateRowLengthCache=function(R,j,N){this.$rowLengthCache[R]=null,this.$rowLengthCache[j]=null},D.prototype.$updateWrapData=function(R,j){var Y,se,N=this.doc.getAllLines(),S=this.getTabSize(),k=this.$wrapData,F=this.$wrapLimit,ne=R;for(j=Math.min(j,N.length-1);ne<=j;)(se=this.getFoldLine(ne,se))?(Y=[],se.walk(function(me,$,q,Q){var ue;if(null!=me){(ue=this.$getDisplayTokens(me,Y.length))[0]=x;for(var Me=1;Mej-Q;){var ue=F+j-Q;if(R[ue-1]>=A&&R[ue]>=A)q(ue);else if(R[ue]!=x&&R[ue]!=w){for(var Me=Math.max(ue-(j-(j>>2)),F-1);ue>Me&&R[ue]Me&&R[ue]Me&&R[ue]==L;)ue--}else for(;ue>Me&&R[ue]Me?q(++ue):(R[ue=F+j]==M&&ue--,q(ue-Q))}else{for(;ue!=F-1&&R[ue]!=x;ue--);if(ue>F){q(ue);continue}for(ue=F+j;ue39&&F<48||F>57&&F<64?N.push(L):F>=4352&&E(F)?N.push(_,M):N.push(_)}return N},D.prototype.$getStringScreenWidth=function(R,j,N){if(0==j)return[0,0];var S,k;for(null==j&&(j=1/0),N=N||0,k=0;k=4352&&E(S)?N+=2:N+=1,!(N>j));k++);return[N,k]},D.prototype.getRowLength=function(R){var j=1;return this.lineWidgets&&(j+=this.lineWidgets[R]&&this.lineWidgets[R].rowCount||0),this.$useWrapMode&&this.$wrapData[R]?this.$wrapData[R].length+j:j},D.prototype.getRowLineCount=function(R){return this.$useWrapMode&&this.$wrapData[R]?this.$wrapData[R].length+1:1},D.prototype.getRowWrapIndent=function(R){if(this.$useWrapMode){var j=this.screenToDocumentPosition(R,Number.MAX_VALUE),N=this.$wrapData[j.row];return N.length&&N[0]=0){se=me[$],k=this.$docRowCache[$];var Q=R>me[q-1]}else Q=!q;for(var ue=this.getLength()-1,Me=this.getNextFoldLine(k),Oe=Me?Me.start.row:1/0;se<=R&&!(se+(ne=this.getRowLength(k))>R||k>=ue);)se+=ne,++k>Oe&&(Oe=(Me=this.getNextFoldLine(k=Me.end.row+1,Me))?Me.start.row:1/0),Q&&(this.$docRowCache.push(k),this.$screenRowCache.push(se));if(Me&&Me.start.row<=k)S=this.getFoldDisplayLine(Me),k=Me.start.row;else{if(se+ne<=R||k>ue)return{row:ue,column:this.getLine(ue).length};S=this.getLine(k),Me=null}var Xe=0,Be=Math.floor(R-se);if(this.$useWrapMode){var $e=this.$wrapData[k];$e&&(Y=$e[Be],Be>0&&$e.length&&(Xe=$e.indent,S=S.substring(F=$e[Be-1]||$e[$e.length-1])))}return void 0!==N&&this.$bidiHandler.isBidiRow(se+Be,k,Be)&&(j=this.$bidiHandler.offsetToCol(N)),F+=this.$getStringScreenWidth(S,j-Xe)[1],this.$useWrapMode&&F>=Y&&(F=Y-1),Me?Me.idxToPosition(F):{row:k,column:F}},D.prototype.documentToScreenPosition=function(R,j){if(typeof j>"u")var N=this.$clipPositionToDocument(R.row,R.column);else N=this.$clipPositionToDocument(R,j);var F,S=0,k=null;(F=this.getFoldAt(R=N.row,j=N.column,1))&&(R=F.start.row,j=F.start.column);var Y,se=0,ne=this.$docRowCache,me=this.$getRowCacheIndex(ne,R),$=ne.length;if($&&me>=0){se=ne[me],S=this.$screenRowCache[me];var q=R>ne[$-1]}else q=!$;for(var Q=this.getNextFoldLine(se),ue=Q?Q.start.row:1/0;se=ue){if((Y=Q.end.row+1)>R)break;ue=(Q=this.getNextFoldLine(Y,Q))?Q.start.row:1/0}else Y=se+1;S+=this.getRowLength(se),se=Y,q&&(this.$docRowCache.push(se),this.$screenRowCache.push(S))}var Me="";Q&&se>=ue?(Me=this.getFoldDisplayLine(Q,R,j),k=Q.start.row):(Me=this.getLine(R).substring(0,j),k=R);var Oe=0;if(this.$useWrapMode){var Xe=this.$wrapData[k];if(Xe){for(var Be=0;Me.length>=Xe[Be];)S++,Be++;Me=Me.substring(Xe[Be-1]||0,Me.length),Oe=Be>0?Xe.indent:0}}return this.lineWidgets&&this.lineWidgets[se]&&this.lineWidgets[se].rowsAbove&&(S+=this.lineWidgets[se].rowsAbove),{row:S,column:Oe+this.$getStringScreenWidth(Me)[0]}},D.prototype.documentToScreenColumn=function(R,j){return this.documentToScreenPosition(R,j).column},D.prototype.documentToScreenRow=function(R,j){return this.documentToScreenPosition(R,j).row},D.prototype.getScreenLength=function(){var R=0,j=null;if(this.$useWrapMode)for(var k=this.$wrapData.length,F=0,S=0,Y=(j=this.$foldData[S++])?j.start.row:1/0;FY&&(F=j.end.row+1,Y=(j=this.$foldData[S++])?j.start.row:1/0)}else{R=this.getLength();var N=this.$foldData;for(S=0;SN);F++);return[S,F]})},D.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()},D}();m.$uid=0,m.prototype.$modes=a.$modes,m.prototype.getValue=m.prototype.toString,m.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},m.prototype.$overwrite=!1,m.prototype.$mode=null,m.prototype.$modeId=null,m.prototype.$scrollTop=0,m.prototype.$scrollLeft=0,m.prototype.$wrapLimit=80,m.prototype.$useWrapMode=!1,m.prototype.$wrapLimitRange={min:null,max:null},m.prototype.lineWidgets=null,m.prototype.isFullWidth=E,b.implement(m.prototype,c);var _=1,M=2,x=3,w=4,L=9,A=10,T=11,O=12;function E(D){return!(D<4352)&&(D>=4352&&D<=4447||D>=4515&&D<=4519||D>=4602&&D<=4607||D>=9001&&D<=9002||D>=11904&&D<=11929||D>=11931&&D<=12019||D>=12032&&D<=12245||D>=12272&&D<=12283||D>=12288&&D<=12350||D>=12353&&D<=12438||D>=12441&&D<=12543||D>=12549&&D<=12589||D>=12593&&D<=12686||D>=12688&&D<=12730||D>=12736&&D<=12771||D>=12784&&D<=12830||D>=12832&&D<=12871||D>=12880&&D<=13054||D>=13056&&D<=19903||D>=19968&&D<=42124||D>=42128&&D<=42182||D>=43360&&D<=43388||D>=44032&&D<=55203||D>=55216&&D<=55238||D>=55243&&D<=55291||D>=63744&&D<=64255||D>=65040&&D<=65049||D>=65072&&D<=65106||D>=65108&&D<=65126||D>=65128&&D<=65131||D>=65281&&D<=65376||D>=65504&&D<=65510)}n("./edit_session/folding").Folding.call(m.prototype),n("./edit_session/bracket_match").BracketMatch.call(m.prototype),a.defineOptions(m.prototype,"session",{wrap:{set:function(D){if(D&&"off"!=D?"free"==D?D=!0:"printMargin"==D?D=-1:"string"==typeof D&&(D=parseInt(D,10)||!1):D=!1,this.$wrap!=D)if(this.$wrap=D,D){var R="number"==typeof D?D: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(D){(D="auto"==D?"text"!=this.$mode.type:"text"!=D)!=this.$wrapAsCode&&(this.$wrapAsCode=D,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(D){this.$useWorker=D,this.$stopWorker(),D&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(D){(D=parseInt(D))>0&&this.$tabSize!==D&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=D,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(D){this.setFoldStyle(D)},handlesSet:!0},overwrite:{set:function(D){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(D){this.doc.setNewLineMode(D)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(D){this.setMode(D)},get:function(){return this.$modeId},handlesSet:!0}}),p.EditSession=m}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(n,p,C){"use strict";var b=n("./lib/lang"),o=n("./lib/oop"),v=n("./range").Range,a=function(){function s(){this.$options={}}return s.prototype.set=function(l){return o.mixin(this.$options,l),this},s.prototype.getOptions=function(){return b.copyObject(this.$options)},s.prototype.setOptions=function(l){this.$options=l},s.prototype.find=function(l){var d=this.$options,r=this.$matchIterator(l,d);if(!r)return!1;var u=null;return r.forEach(function(h,m,_,M){return u=new v(h,m,_,M),!(m==M&&d.start&&d.start.start&&0!=d.skipCurrent&&u.isEqual(d.start)&&(u=null,1))}),u},s.prototype.findAll=function(l){var d=this.$options;if(!d.needle)return[];this.$assembleRegExp(d);var r=d.range,u=r?l.getLines(r.start.row,r.end.row):l.doc.getAllLines(),h=[],m=d.re;if(d.$isMultiLine){var x,_=m.length,M=u.length-_;e:for(var w=m.offset||0;w<=M;w++){for(var L=0;L<_;L++)if(-1==u[w+L].search(m[L]))continue e;var A=u[w],T=u[w+_-1],O=A.length-A.match(m[0])[0].length,E=T.match(m[_-1])[0].length;x&&x.end.row===w&&x.end.column>O||(h.push(x=new v(w,O,w+_-1,E)),_>2&&(w=w+_-2))}}else for(var D=0;DS&&h[L].end.row==k;)L--;for(h=h.slice(D,L+1),D=0,L=h.length;D=M;O--)if(A(O,Number.MAX_VALUE,T))return;if(0!=d.wrap)for(O=x,M=_.row;O>=M;O--)if(A(O,Number.MAX_VALUE,T))return}};else w=function(O){var E=_.row;if(!A(E,_.column,O)){for(E+=1;E<=x;E++)if(A(E,0,O))return;if(0!=d.wrap)for(E=M,x=_.row;E<=x;E++)if(A(E,0,O))return}};if(d.$isMultiLine)var L=r.length,A=function(T,O,E){var D=u?T-L+1:T;if(!(D<0||D+L>l.getLength())){var R=l.getLine(D),j=R.search(r[0]);if(!(!u&&jO)&&E(D,j,D+L-1,S))return!0}}};else A=u?function(O,E,D){var N,R=l.getLine(O),j=[],S=0;for(r.lastIndex=0;N=r.exec(R);){if(S=N.index,!(k=N[0].length)){if(S>=R.length)break;r.lastIndex=S+=1}if(N.index+k>E)break;j.push(N.index,k)}for(var F=j.length-1;F>=0;F-=2){var k,Y=j[F-1];if(D(O,Y,O,Y+(k=j[F])))return!0}}:function(O,E,D){var j,N,R=l.getLine(O);for(r.lastIndex=E;N=r.exec(R);){var S=N[0].length;if(D(O,j=N.index,O,j+S))return!0;if(!S&&(r.lastIndex=j+=1,j>=R.length))return!1}};return{forEach:w}},s}();p.Search=a}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(n,p,C){"use strict";var d,b=this&&this.__extends||(d=function(r,u){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,m){h.__proto__=m}||function(h,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(h[_]=m[_])})(r,u)},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}d(r,u),r.prototype=null===u?Object.create(u):(h.prototype=u.prototype,new h)}),o=n("../lib/keys"),v=n("../lib/useragent"),a=o.KEY_MODS,c=function(){function d(r,u){this.$init(r,u,!1)}return d.prototype.$init=function(r,u,h){this.platform=u||(v.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(r),this.$singleCommand=h},d.prototype.addCommand=function(r){this.commands[r.name]&&this.removeCommand(r),this.commands[r.name]=r,r.bindKey&&this._buildKeyHash(r)},d.prototype.removeCommand=function(r,u){var h=r&&("string"==typeof r?r:r.name);r=this.commands[h],u||delete this.commands[h];var m=this.commandKeyBinding;for(var _ in m){var M=m[_];if(M==r)delete m[_];else if(Array.isArray(M)){var x=M.indexOf(r);-1!=x&&(M.splice(x,1),1==M.length&&(m[_]=M[0]))}}},d.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(m){var _="";if(-1!=m.indexOf(" ")){var M=m.split(/\s+/);m=M.pop(),M.forEach(function(L){var A=this.parseKeys(L);this._addCommandToBinding(_+=(_?" ":"")+(a[A.hashId]+A.key),"chainKeys")},this),_+=" "}var x=this.parseKeys(m);this._addCommandToBinding(_+(a[x.hashId]+x.key),u,h)},this)}},d.prototype._addCommandToBinding=function(r,u,h){var _,m=this.commandKeyBinding;if(u)if(!m[r]||this.$singleCommand)m[r]=u;else{Array.isArray(m[r])?-1!=(_=m[r].indexOf(u))&&m[r].splice(_,1):m[r]=[m[r]],"number"!=typeof h&&(h=s(u));var M=m[r];for(_=0;_h);_++);M.splice(_,0,u)}else delete m[r]},d.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)},d.prototype.removeCommands=function(r){Object.keys(r).forEach(function(u){this.removeCommand(r[u])},this)},d.prototype.bindKeys=function(r){Object.keys(r).forEach(function(u){this.bindKey(u,r[u])},this)},d.prototype._buildKeyHash=function(r){this.bindKey(r.bindKey,r)},d.prototype.parseKeys=function(r){var u=r.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(w){return w}),h=u.pop(),m=o[h];if(o.FUNCTION_KEYS[m])h=o.FUNCTION_KEYS[m].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,M=u.length;M--;){var x=o.KEY_MODS[u[M]];if(null==x)return typeof console<"u"&&console.error("invalid modifier "+u[M]+" in "+r),!1;_|=x}return{key:h,hashId:_}},d.prototype.findKeyCommand=function(r,u){return this.commandKeyBinding[a[r]+u]},d.prototype.handleKeyboard=function(r,u,h,m){if(!(m<0)){var _=a[u]+h,M=this.commandKeyBinding[_];return r.$keyChain&&(r.$keyChain+=" "+_,M=this.commandKeyBinding[r.$keyChain]||M),!M||"chainKeys"!=M&&"chainKeys"!=M[M.length-1]?(r.$keyChain&&(u&&4!=u||1!=h.length?(-1==u||m>0)&&(r.$keyChain=""):r.$keyChain=r.$keyChain.slice(0,-_.length-1)),{command:M}):(r.$keyChain=r.$keyChain||_,{command:"null"})}},d.prototype.getStatusText=function(r,u){return u.$keyChain||""},d}();function s(d){return"object"==typeof d&&d.bindKey&&d.bindKey.position||(d.isDefault?-100:0)}var l=function(d){function r(u,h){var m=d.call(this,u,h)||this;return m.$singleCommand=!0,m}return b(r,d),r}(c);l.call=function(d,r,u){c.prototype.$init.call(d,r,u,!0)},c.call=function(d,r,u){c.prototype.$init.call(d,r,u,!1)},p.HashHandler=l,p.MultiHashHandler=c}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(n,p,C){"use strict";var s,b=this&&this.__extends||(s=function(l,d){return(s=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,d)},function(l,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function r(){this.constructor=l}s(l,d),l.prototype=null===d?Object.create(d):(r.prototype=d.prototype,new r)}),o=n("../lib/oop"),v=n("../keyboard/hash_handler").MultiHashHandler,a=n("../lib/event_emitter").EventEmitter,c=function(s){function l(d,r){var u=s.call(this,r,d)||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 b(l,s),l.prototype.exec=function(d,r,u){if(Array.isArray(d)){for(var h=d.length;h--;)if(this.exec(d[h],r,u))return!0;return!1}if("string"==typeof d&&(d=this.commands[d]),!d||r&&r.$readOnly&&!d.readOnly||0!=this.$checkCommandState&&d.isAvailable&&!d.isAvailable(r))return!1;var m={editor:r,command:d,args:u};return m.returnValue=this._emit("exec",m),this._signal("afterExec",m),!1!==m.returnValue},l.prototype.toggleRecording=function(d){if(!this.$inReplay)return d&&d._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(d){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(d);try{this.$inReplay=!0,this.macro.forEach(function(r){"string"==typeof r?this.exec(r,d):this.exec(r[0],d,r[1])},this)}finally{this.$inReplay=!1}}},l.prototype.trimMacro=function(d){return d.map(function(r){return"string"!=typeof r[0]&&(r[0]=r[0].name),r[1]||(r=r[0]),r})},l}(v);o.implement(c.prototype,a),p.CommandManager=c}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(n,p,C){"use strict";var b=n("../lib/lang"),o=n("../config"),v=n("../range").Range;function a(s,l){return{win:s,mac:l}}p.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:a("Ctrl-,","Command-,"),exec:function(s){o.loadModule("ace/ext/settings_menu",function(l){l.init(s),s.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:a("Alt-E","F4"),exec:function(s){o.loadModule("ace/ext/error_marker",function(l){l.showErrorMarker(s,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(s){o.loadModule("ace/ext/error_marker",function(l){l.showErrorMarker(s,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:a("Ctrl-A","Command-A"),exec:function(s){s.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:a(null,"Ctrl-L"),exec:function(s){s.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:a("Ctrl-L","Command-L"),exec:function(s,l){"number"==typeof l&&!isNaN(l)&&s.gotoLine(l),s.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(s){s.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(s){s.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:a("F2","F2"),exec:function(s){s.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:a("Alt-F2","Alt-F2"),exec:function(s){s.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(s){s.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(s){s.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:a("Alt-0","Command-Option-0"),exec:function(s){s.session.foldAll(),s.session.unfold(s.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(s){s.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:a("Ctrl-K","Command-G"),exec:function(s){s.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(s){s.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:a("Alt-K","Ctrl-G"),exec:function(s){s.selection.isEmpty()?s.selection.selectWord():s.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(s){s.selection.isEmpty()?s.selection.selectWord():s.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:a("Ctrl-F","Command-F"),exec:function(s){o.loadModule("ace/ext/searchbox",function(l){l.Search(s)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(s){s.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(s){s.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(s){s.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(s){s.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:a("Up","Up|Ctrl-P"),exec:function(s,l){s.navigateUp(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(s){s.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(s){s.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(s){s.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:a("Down","Down|Ctrl-N"),exec:function(s,l){s.navigateDown(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(s){s.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:a("Ctrl-Left","Option-Left"),exec:function(s){s.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(s){s.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(s){s.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(s){s.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:a("Left","Left|Ctrl-B"),exec:function(s,l){s.navigateLeft(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(s){s.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:a("Ctrl-Right","Option-Right"),exec:function(s){s.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(s){s.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(s){s.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:a("Shift-Right","Shift-Right"),exec:function(s){s.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:a("Right","Right|Ctrl-F"),exec:function(s,l){s.navigateRight(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(s){s.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:a(null,"Option-PageDown"),exec:function(s){s.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(s){s.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(s){s.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:a(null,"Option-PageUp"),exec:function(s){s.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(s){s.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:a("Ctrl-Up",null),exec:function(s){s.renderer.scrollBy(0,-2*s.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:a("Ctrl-Down",null),exec:function(s){s.renderer.scrollBy(0,2*s.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(s){s.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(s){s.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(s){s.commands.toggleRecording(s)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(s){s.commands.replay(s)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:a("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(s){s.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:a("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(s){s.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(s){s.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(s){},readOnly:!0},{name:"cut",description:"Cut",exec:function(s){var d=s.$copyWithEmptySelection&&s.selection.isEmpty()?s.selection.getLineRange():s.selection.getRange();s._emit("cut",d),d.isEmpty()||s.session.remove(d),s.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(s,l){s.$handlePaste(l)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:a("Ctrl-D","Command-D"),exec:function(s){s.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(s){s.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(s){s.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:a("Ctrl-/","Command-/"),exec:function(s){s.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(s){s.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(s){s.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(s){s.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(s){o.loadModule("ace/ext/searchbox",function(l){l.Search(s,!0)})}},{name:"undo",description:"Undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(s){s.undo()}},{name:"redo",description:"Redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(s){s.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(s){s.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:a("Alt-Up","Option-Up"),exec:function(s){s.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(s){s.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:a("Alt-Down","Option-Down"),exec:function(s){s.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(s){s.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(s){s.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:a("Shift-Delete",null),exec:function(s){if(!s.selection.isEmpty())return!1;s.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(s){s.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(s){s.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(s){var l=s.selection.getRange();l.start.column=0,s.session.remove(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(s){var l=s.selection.getRange();l.end.column=Number.MAX_VALUE,s.session.remove(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(s){s.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(s){s.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(s){s.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:a("Tab","Tab"),exec:function(s){s.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(s){s.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(s){s.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(s,l){s.insert(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(s,l){s.insert(b.stringRepeat(l.text||"",l.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:a(null,"Ctrl-O"),exec:function(s){s.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(s){s.transposeLetters()},multiSelectAction:function(s){s.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(s){s.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(s){s.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:a(null,null),exec:function(s){s.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(s){var l=s.selection.getRange();l.start.column=l.end.column=0,l.end.row++,s.selection.setRange(l,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:a("Ctrl+F3","F3"),exec:function(s){s.openLink()}},{name:"joinlines",description:"Join lines",bindKey:a(null,null),exec:function(s){for(var l=s.selection.isBackwards(),d=l?s.selection.getSelectionLead():s.selection.getSelectionAnchor(),r=l?s.selection.getSelectionAnchor():s.selection.getSelectionLead(),u=s.session.doc.getLine(d.row).length,m=s.session.doc.getTextRange(s.selection.getRange()).replace(/\n\s*/," ").length,_=s.session.doc.getLine(d.row),M=d.row+1;M<=r.row+1;M++){var x=b.stringTrimLeft(b.stringTrimRight(s.session.doc.getLine(M)));0!==x.length&&(x=" "+x),_+=x}r.row+10?(s.selection.moveCursorTo(d.row,d.column),s.selection.selectTo(d.row,d.column+m)):(u=s.session.doc.getLine(d.row).length>u?u+1:u,s.selection.moveCursorTo(d.row,u))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:a(null,null),exec:function(s){var l=s.session.doc.getLength()-1,d=s.session.doc.getLine(l).length,r=s.selection.rangeList.ranges,u=[];r.length<1&&(r=[s.selection.getRange()]);for(var h=0;hc[s].column&&s++,r.unshift(s,0),c.splice.apply(c,r),this.$updateRows()}}},v.prototype.$updateRows=function(){var a=this.session.lineWidgets;if(a){var c=!0;a.forEach(function(s,l){if(s)for(c=!1,s.row=l;s.$oldWidget;)s.$oldWidget.row=l,s=s.$oldWidget}),c&&(this.session.lineWidgets=null)}},v.prototype.$registerLineWidget=function(a){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var c=this.session.lineWidgets[a.row];return c&&(a.$oldWidget=c,c.el&&c.el.parentNode&&(c.el.parentNode.removeChild(c.el),c._inDocument=!1)),this.session.lineWidgets[a.row]=a,a},v.prototype.addLineWidget=function(a){if(this.$registerLineWidget(a),a.session=this.session,!this.editor)return a;var c=this.editor.renderer;a.html&&!a.el&&(a.el=b.createElement("div"),a.el.innerHTML=a.html),a.text&&!a.el&&(a.el=b.createElement("div"),a.el.textContent=a.text),a.el&&(b.addCssClass(a.el,"ace_lineWidgetContainer"),a.className&&b.addCssClass(a.el,a.className),a.el.style.position="absolute",a.el.style.zIndex=5,c.container.appendChild(a.el),a._inDocument=!0,a.coverGutter||(a.el.style.zIndex=3),null==a.pixelHeight&&(a.pixelHeight=a.el.offsetHeight)),null==a.rowCount&&(a.rowCount=a.pixelHeight/c.layerConfig.lineHeight);var s=this.session.getFoldAt(a.row,0);if(a.$fold=s,s){var l=this.session.lineWidgets;a.row!=s.end.row||l[s.start.row]?a.hidden=!0:l[s.start.row]=a}return this.session._emit("changeFold",{data:{start:{row:a.row}}}),this.$updateRows(),this.renderWidgets(null,c),this.onWidgetChanged(a),a},v.prototype.removeLineWidget=function(a){if(a._inDocument=!1,a.session=null,a.el&&a.el.parentNode&&a.el.parentNode.removeChild(a.el),a.editor&&a.editor.destroy)try{a.editor.destroy()}catch{}if(this.session.lineWidgets){var c=this.session.lineWidgets[a.row];if(c==a)this.session.lineWidgets[a.row]=a.$oldWidget,a.$oldWidget&&this.onWidgetChanged(a.$oldWidget);else for(;c;){if(c.$oldWidget==a){c.$oldWidget=a.$oldWidget;break}c=c.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:a.row}}}),this.$updateRows()},v.prototype.getWidgetsAtRow=function(a){for(var c=this.session.lineWidgets,s=c&&c[a],l=[];s;)l.push(s),s=s.$oldWidget;return l},v.prototype.onWidgetChanged=function(a){this.session._changedWidgets.push(a),this.editor&&this.editor.renderer.updateFull()},v.prototype.measureWidgets=function(a,c){var s=this.session._changedWidgets,l=c.layerConfig;if(s&&s.length){for(var d=1/0,r=0;r0&&!l[d];)d--;this.firstRow=s.firstRow,this.lastRow=s.lastRow,c.$cursorLayer.config=s;for(var u=d;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,c.container.appendChild(h.el));var m=c.$cursorLayer.getPixelPosition({row:u,column:0},!0).top;h.coverLine||(m+=s.lineHeight*this.session.getRowLineCount(h.row)),h.el.style.top=m-s.offset+"px";var _=h.coverGutter?0:c.gutterWidth;h.fixedWidth||(_-=c.scrollLeft),h.el.style.left=_+"px",h.fullWidth&&h.screenWidth&&(h.el.style.minWidth=s.width+2*s.padding+"px"),h.el.style.right=h.fixedWidth?c.scrollBar.getWidth()+"px":""}}}},v}();p.LineWidgets=o}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(n,p,C){"use strict";var b=n("../lib/keys"),o=n("../mouse/default_gutter_handler").GutterTooltip,v=function(){function c(s){this.editor=s,this.gutterLayer=s.renderer.$gutterLayer,this.element=s.renderer.$gutter,this.lines=s.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new o(this.editor)}return c.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))},c.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))},c.prototype.$onGutterKeyDown=function(s){if(this.annotationTooltip.isOpen)return s.preventDefault(),void(s.keyCode===b.escape&&this.annotationTooltip.hideTooltip());if(s.target===this.element){if(s.keyCode!=b.enter)return;s.preventDefault();var l=this.editor.getCursorPosition().row;return this.editor.isRowVisible(l)||this.editor.scrollToLine(l,!0,!0),void setTimeout(function(){var d=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),r=this.$findNearestFoldWidget(d),u=this.$findNearestAnnotation(d);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-d)0||s+l=0&&this.$isFoldWidgetVisible(s-l))return s-l;if(s+l<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(s+l))return s+l}return null},c.prototype.$findNearestAnnotation=function(s){if(this.$isAnnotationVisible(s))return s;for(var l=0;s-l>0||s+l=0&&this.$isAnnotationVisible(s-l))return s-l;if(s+l<=this.lines.getLength()-1&&this.$isAnnotationVisible(s+l))return s+l}return null},c.prototype.$focusFoldWidget=function(s){if(null!=s){var l=this.$getFoldWidget(s);l.classList.add(this.editor.renderer.keyboardFocusClassName),l.focus()}},c.prototype.$focusAnnotation=function(s){if(null!=s){var l=this.$getAnnotation(s);l.classList.add(this.editor.renderer.keyboardFocusClassName),l.focus()}},c.prototype.$blurFoldWidget=function(s){var l=this.$getFoldWidget(s);l.classList.remove(this.editor.renderer.keyboardFocusClassName),l.blur()},c.prototype.$blurAnnotation=function(s){var l=this.$getAnnotation(s);l.classList.remove(this.editor.renderer.keyboardFocusClassName),l.blur()},c.prototype.$moveFoldWidgetUp=function(){for(var s=this.activeRowIndex;s>0;)if(s--,this.$isFoldWidgetVisible(s))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=s,void this.$focusFoldWidget(this.activeRowIndex)},c.prototype.$moveFoldWidgetDown=function(){for(var s=this.activeRowIndex;s0;)if(s--,this.$isAnnotationVisible(s))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=s,void this.$focusAnnotation(this.activeRowIndex)},c.prototype.$moveAnnotationDown=function(){for(var s=this.activeRowIndex;s=N.length&&(N=void 0),{value:N&&N[F++],done:!N}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},o=n("./lib/oop"),v=n("./lib/dom"),a=n("./lib/lang"),c=n("./lib/useragent"),s=n("./keyboard/textinput").TextInput,l=n("./mouse/mouse_handler").MouseHandler,d=n("./mouse/fold_handler").FoldHandler,r=n("./keyboard/keybinding").KeyBinding,u=n("./edit_session").EditSession,h=n("./search").Search,m=n("./range").Range,_=n("./lib/event_emitter").EventEmitter,M=n("./commands/command_manager").CommandManager,x=n("./commands/default_commands").commands,w=n("./config"),L=n("./token_iterator").TokenIterator,A=n("./line_widgets").LineWidgets,T=n("./keyboard/gutter_handler").GutterKeyboardHandler,O=n("./config").nls,E=n("./clipboard"),D=n("./lib/keys"),R=function(){function N(S,k,F){this.$toDestroy=[];var Y=S.getContainerElement();this.container=Y,this.renderer=S,this.id="editor"+ ++N.$uid,this.commands=new M(c.isMac?"mac":"win",x),"object"==typeof document&&(this.textInput=new s(S.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new l(this),new d(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=a.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(se,ne){ne._$emitInputEvent.schedule(31)}),this.setSession(k||F&&F.session||new u("")),w.resetOptions(this),F&&this.setOptions(F),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=a.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(S){if(this.curOp){if(!S||this.curOp.command)return;this.prevOp=this.curOp}S||(this.previousCommand=null,S={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:S.command||{},args:S.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},N.prototype.endOperation=function(S){if(this.curOp&&this.session){if(S&&!1===S.returnValue||!this.session)return this.curOp=null;if(1==S&&this.curOp.command&&"mouse"==this.curOp.command.name||(this._signal("beforeEndOperation"),!this.curOp))return;var k=this.curOp.command,F=k&&k.scrollIntoView;if(F){switch(F){case"center-animate":F="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var Y=this.selection.getRange(),se=this.renderer.layerConfig;(Y.start.row>=se.lastRow||Y.end.row<=se.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==F&&this.renderer.animateScrolling(this.curOp.scrollTop)}var ne=this.selection.toJSON();this.curOp.selectionAfter=ne,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(ne),this.prevOp=this.curOp,this.curOp=null}},N.prototype.$historyTracker=function(S){if(this.$mergeUndoDeltas){var k=this.prevOp,F=this.$mergeableCommands,Y=k.command&&S.command.name==k.command.name;if("insertstring"==S.command.name){var se=S.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),Y=Y&&this.mergeNextCommand&&(!/\s/.test(se)||/\s/.test(k.args)),this.mergeNextCommand=!0}else Y=Y&&-1!==F.indexOf(S.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(Y=!1),Y?this.session.mergeUndoDeltas=!0:-1!==F.indexOf(S.command.name)&&(this.sequenceStartTime=Date.now())}},N.prototype.setKeyboardHandler=function(S,k){if(S&&"string"==typeof S&&"ace"!=S){this.$keybindingId=S;var F=this;w.loadModule(["keybinding",S],function(Y){F.$keybindingId==S&&F.keyBinding.setKeyboardHandler(Y&&Y.handler),k&&k()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(S),k&&k()},N.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},N.prototype.setSession=function(S){if(this.session!=S){this.curOp&&this.endOperation(),this.curOp={};var k=this.session;if(k){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 F=this.session.getSelection();F.off("changeCursor",this.$onCursorChange),F.off("changeSelection",this.$onSelectionChange)}this.session=S,S?(this.$onDocumentChange=this.onDocumentChange.bind(this),S.on("change",this.$onDocumentChange),this.renderer.setSession(S),this.$onChangeMode=this.onChangeMode.bind(this),S.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),S.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),S.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),S.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),S.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),S.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=S.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(S)),this._signal("changeSession",{session:S,oldSession:k}),this.curOp=null,k&&k._signal("changeEditor",{oldEditor:this}),S&&S._signal("changeEditor",{editor:this}),S&&!S.destroyed&&S.bgTokenizer.scheduleStart()}},N.prototype.getSession=function(){return this.session},N.prototype.setValue=function(S,k){return this.session.doc.setValue(S),k?1==k?this.navigateFileEnd():-1==k&&this.navigateFileStart():this.selectAll(),S},N.prototype.getValue=function(){return this.session.getValue()},N.prototype.getSelection=function(){return this.selection},N.prototype.resize=function(S){this.renderer.onResize(S)},N.prototype.setTheme=function(S,k){this.renderer.setTheme(S,k)},N.prototype.getTheme=function(){return this.renderer.getTheme()},N.prototype.setStyle=function(S){this.renderer.setStyle(S)},N.prototype.unsetStyle=function(S){this.renderer.unsetStyle(S)},N.prototype.getFontSize=function(){return this.getOption("fontSize")||v.computedStyle(this.container).fontSize},N.prototype.setFontSize=function(S){this.setOption("fontSize",S)},N.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var S=this;this.$highlightPending=!0,setTimeout(function(){S.$highlightPending=!1;var k=S.session;if(k&&!k.destroyed){k.$bracketHighlight&&(k.$bracketHighlight.markerIds.forEach(function(ue){k.removeMarker(ue)}),k.$bracketHighlight=null);var F=S.getCursorPosition(),Y=S.getKeyboardHandler(),se=Y&&Y.$getDirectionForHighlight&&Y.$getDirectionForHighlight(S),ne=k.getMatchingBracketRanges(F,se);if(!ne){var $=new L(k,F.row,F.column).getCurrentToken();if($&&/\b(?:tag-open|tag-name)/.test($.type)){var q=k.getMatchingTags(F);q&&(ne=[q.openTagName,q.closeTagName])}}if(!ne&&k.$mode.getMatching&&(ne=k.$mode.getMatching(S.session)),!ne)return void(S.getHighlightIndentGuides()&&S.renderer.$textLayer.$highlightIndentGuide());var Q="ace_bracket";Array.isArray(ne)?1==ne.length&&(Q="ace_error_bracket"):ne=[ne],2==ne.length&&(0==m.comparePoints(ne[0].end,ne[1].start)?ne=[m.fromPoints(ne[0].start,ne[1].end)]:0==m.comparePoints(ne[0].start,ne[1].end)&&(ne=[m.fromPoints(ne[1].start,ne[0].end)])),k.$bracketHighlight={ranges:ne,markerIds:ne.map(function(ue){return k.addMarker(ue,Q,"text")})},S.getHighlightIndentGuides()&&S.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(S){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",S))},N.prototype.onBlur=function(S){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",S))},N.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},N.prototype.onDocumentChange=function(S){this.renderer.updateLines(S.start.row,S.start.row==S.end.row?S.end.row:1/0,this.session.$useWrapMode),this._signal("change",S),this.$cursorChange()},N.prototype.onTokenizerUpdate=function(S){var k=S.data;this.renderer.updateLines(k.first,k.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 k,S=this.getSession();if(this.$highlightActiveLine&&(("line"!=this.$selectionStyle||!this.selection.isMultiLine())&&(k=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(k=!1),this.renderer.$maxLines&&1===this.session.getLength()&&!(this.renderer.$minLines>1)&&(k=!1)),S.$highlightLineMarker&&!k)S.removeMarker(S.$highlightLineMarker.id),S.$highlightLineMarker=null;else if(!S.$highlightLineMarker&&k){var F=new m(k.row,k.column,k.row,1/0);F.id=S.addMarker(F,"ace_active-line","screenLine"),S.$highlightLineMarker=F}else k&&(S.$highlightLineMarker.start.row=k.row,S.$highlightLineMarker.end.row=k.row,S.$highlightLineMarker.start.column=k.column,S._signal("changeBackMarker"))},N.prototype.onSelectionChange=function(S){var k=this.session;if(k.$selectionMarker&&k.removeMarker(k.$selectionMarker),k.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var F=this.selection.getRange(),Y=this.getSelectionStyle();k.$selectionMarker=k.addMarker(F,"ace_selection",Y)}var se=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(se),this._signal("changeSelection")},N.prototype.$getSelectionHighLightRegexp=function(){var S=this.session,k=this.getSelectionRange();if(!k.isEmpty()&&!k.isMultiLine()){var F=k.start.column,Y=k.end.column,se=S.getLine(k.start.row),ne=se.substring(F,Y);if(!(ne.length>5e3)&&/[\w\d]/.test(ne)){var me=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:ne}),$=se.substring(F-1,Y+1);if(me.test($))return me}}},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(S){this.renderer.updateText(),this._emit("changeMode",S)},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 S=this.getSelectedText(),k=this.session.doc.getNewLineCharacter(),F=!1;if(!S&&this.$copyWithEmptySelection){F=!0;for(var Y=this.selection.getAllRanges(),se=0;seue.search(/\S|$/)){var $=ue.substr(se.column).search(/\S|$/);F.doc.removeInLine(se.row,se.column,se.column+$)}}this.clearSelection();var q=se.column,Q=F.getState(se.row),Me=(ue=F.getLine(se.row),Y.checkOutdent(Q,ue,S));if(F.insert(se,S),ne&&ne.selection&&this.selection.setSelectionRange(2==ne.selection.length?new m(se.row,q+ne.selection[0],se.row,q+ne.selection[1]):new m(se.row+ne.selection[0],ne.selection[1],se.row+ne.selection[2],ne.selection[3])),this.$enableAutoIndent){if(F.getDocument().isNewLine(S)){var Oe=Y.getNextLineIndent(Q,ue.slice(0,se.column),F.getTabString());F.insert({row:se.row+1,column:0},Oe)}Me&&Y.autoOutdent(Q,F,se.row)}},N.prototype.autoIndent=function(){var F,Y,S=this.session,k=S.getMode();if(this.selection.isEmpty())F=0,Y=S.doc.getLength()-1;else{var se=this.getSelectionRange();F=se.start.row,Y=se.end.row}for(var q,Q,ue,ne="",me="",$="",Me=S.getTabString(),Oe=F;Oe<=Y;Oe++)Oe>0&&(ne=S.getState(Oe-1),me=S.getLine(Oe-1),$=k.getNextLineIndent(ne,me,Me)),q=S.getLine(Oe),$!==(Q=k.$getIndent(q))&&(Q.length>0&&(ue=new m(Oe,0,Oe,Q.length),S.remove(ue)),$.length>0&&S.insert({row:Oe,column:0},$)),k.autoOutdent(ne,S,Oe)},N.prototype.onTextInput=function(S,k){if(!k)return this.keyBinding.onTextInput(S);this.startOperation({command:{name:"insertstring"}});var F=this.applyComposition.bind(this,S,k);this.selection.rangeCount?this.forEachSelection(F):F(),this.endOperation()},N.prototype.applyComposition=function(S,k){var F;(k.extendLeft||k.extendRight)&&((F=this.selection.getRange()).start.column-=k.extendLeft,F.end.column+=k.extendRight,F.start.column<0&&(F.start.row--,F.start.column+=this.session.getLine(F.start.row).length+1),this.selection.setRange(F),!S&&!F.isEmpty()&&this.remove()),(S||!this.selection.isEmpty())&&this.insert(S,!0),(k.restoreStart||k.restoreEnd)&&((F=this.selection.getRange()).start.column-=k.restoreStart,F.end.column-=k.restoreEnd,this.selection.setRange(F))},N.prototype.onCommandKey=function(S,k,F){return this.keyBinding.onCommandKey(S,k,F)},N.prototype.setOverwrite=function(S){this.session.setOverwrite(S)},N.prototype.getOverwrite=function(){return this.session.getOverwrite()},N.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},N.prototype.setScrollSpeed=function(S){this.setOption("scrollSpeed",S)},N.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},N.prototype.setDragDelay=function(S){this.setOption("dragDelay",S)},N.prototype.getDragDelay=function(){return this.getOption("dragDelay")},N.prototype.setSelectionStyle=function(S){this.setOption("selectionStyle",S)},N.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},N.prototype.setHighlightActiveLine=function(S){this.setOption("highlightActiveLine",S)},N.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},N.prototype.setHighlightGutterLine=function(S){this.setOption("highlightGutterLine",S)},N.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},N.prototype.setHighlightSelectedWord=function(S){this.setOption("highlightSelectedWord",S)},N.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},N.prototype.setAnimatedScroll=function(S){this.renderer.setAnimatedScroll(S)},N.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},N.prototype.setShowInvisibles=function(S){this.renderer.setShowInvisibles(S)},N.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},N.prototype.setDisplayIndentGuides=function(S){this.renderer.setDisplayIndentGuides(S)},N.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},N.prototype.setHighlightIndentGuides=function(S){this.renderer.setHighlightIndentGuides(S)},N.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},N.prototype.setShowPrintMargin=function(S){this.renderer.setShowPrintMargin(S)},N.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},N.prototype.setPrintMarginColumn=function(S){this.renderer.setPrintMarginColumn(S)},N.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},N.prototype.setReadOnly=function(S){this.setOption("readOnly",S)},N.prototype.getReadOnly=function(){return this.getOption("readOnly")},N.prototype.setBehavioursEnabled=function(S){this.setOption("behavioursEnabled",S)},N.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},N.prototype.setWrapBehavioursEnabled=function(S){this.setOption("wrapBehavioursEnabled",S)},N.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},N.prototype.setShowFoldWidgets=function(S){this.setOption("showFoldWidgets",S)},N.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},N.prototype.setFadeFoldWidgets=function(S){this.setOption("fadeFoldWidgets",S)},N.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},N.prototype.remove=function(S){this.selection.isEmpty()&&("left"==S?this.selection.selectLeft():this.selection.selectRight());var k=this.getSelectionRange();if(this.getBehavioursEnabled()){var F=this.session,Y=F.getState(k.start.row),se=F.getMode().transformAction(Y,"deletion",this,F,k);if(0===k.end.column){var ne=F.getTextRange(k);if("\n"==ne[ne.length-1]){var me=F.getLine(k.end.row);/^\s+$/.test(me)&&(k.end.column=me.length)}}se&&(k=se)}this.session.remove(k),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 S=this.getSelectionRange();S.start.column==S.end.column&&S.start.row==S.end.row&&(S.end.column=0,S.end.row++),this.session.remove(S),this.clearSelection()},N.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var S=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(S)},N.prototype.setGhostText=function(S,k){this.session.widgetManager||(this.session.widgetManager=new A(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(S,k)},N.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},N.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var S=this.getCursorPosition(),k=S.column;if(0!==k){var Y,se,F=this.session.getLine(S.row);k$.toLowerCase()?1:0});var se=new m(0,0,0,0);for(Y=S.first;Y<=S.last;Y++){var ne=k.getLine(Y);se.start.row=Y,se.end.row=Y,se.end.column=ne.length,k.replace(se,F[Y-S.first])}},N.prototype.toggleCommentLines=function(){var S=this.session.getState(this.getCursorPosition().row),k=this.$getSelectedRows();this.session.getMode().toggleCommentLines(S,this.session,k.first,k.last)},N.prototype.toggleBlockComment=function(){var S=this.getCursorPosition(),k=this.session.getState(S.row),F=this.getSelectionRange();this.session.getMode().toggleBlockComment(k,this.session,F,S)},N.prototype.getNumberAt=function(S,k){var F=/[\-]?[0-9]+(?:\.[0-9]+)?/g;F.lastIndex=0;for(var Y=this.session.getLine(S);F.lastIndex=k)return{value:se[0],start:se.index,end:se.index+se[0].length}}return null},N.prototype.modifyNumber=function(S){var k=this.selection.getCursor().row,F=this.selection.getCursor().column,Y=new m(k,F-1,k,F),se=this.session.getTextRange(Y);if(!isNaN(parseFloat(se))&&isFinite(se)){var ne=this.getNumberAt(k,F);if(ne){var me=ne.value.indexOf(".")>=0?ne.start+ne.value.indexOf(".")+1:ne.end,$=ne.start+ne.value.length-me,q=parseFloat(ne.value);q*=Math.pow(10,$),q+=S*=me!==ne.end&&F=me&&ne<=$&&(F=Mt,q.selection.clearSelection(),q.moveCursorTo(S,me+Y),q.selection.selectTo(S,$+Y)),me=$});for(var ue,Q=this.$toggleWordPairs,Me=0;Me=$&&me<=q&&Oe.match(/((?:https?|ftp):\/\/[\S]+)/)){Q=Oe.replace(/[\s:.,'";}\]]+$/,"");break}$=q}}catch(Xe){F={error:Xe}}finally{try{Me&&!Me.done&&(Y=ue.return)&&Y.call(ue)}finally{if(F)throw F.error}}return Q},N.prototype.openLink=function(){var S=this.selection.getCursor(),k=this.findLinkAt(S.row,S.column);return k&&window.open(k,"_blank"),null!=k},N.prototype.removeLines=function(){var S=this.$getSelectedRows();this.session.removeFullLines(S.first,S.last),this.clearSelection()},N.prototype.duplicateSelection=function(){var S=this.selection,k=this.session,F=S.getRange(),Y=S.isBackwards();if(F.isEmpty()){var se=F.start.row;k.duplicateLines(se,se)}else{var ne=Y?F.start:F.end,me=k.insert(ne,k.getTextRange(F),!1);F.start=ne,F.end=me,S.setSelectionRange(F,Y)}},N.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},N.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},N.prototype.moveText=function(S,k,F){return this.session.moveText(S,k,F)},N.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},N.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},N.prototype.$moveLines=function(S,k){var F,Y,se=this.selection;if(!se.inMultiSelectMode||this.inVirtualSelectionMode){var ne=se.toOrientedRange();F=this.$getSelectedRows(ne),Y=this.session.$moveLines(F.first,F.last,k?0:S),k&&-1==S&&(Y=0),ne.moveBy(Y,0),se.fromOrientedRange(ne)}else{var me=se.rangeList.ranges;se.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var $=0,q=0,Q=me.length,ue=0;ueXe+1)break;Xe=Be.last}for(ue--,$=this.session.$moveLines(Oe,Xe,k?0:S),k&&-1==S&&(Me=ue+1);Me<=ue;)me[Me].moveBy($,0),Me++;k||($=0),q+=$}se.fromOrientedRange(se.ranges[0]),se.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},N.prototype.$getSelectedRows=function(S){return S=(S||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(S.start.row),last:this.session.getRowFoldEnd(S.end.row)}},N.prototype.onCompositionStart=function(S){this.renderer.showComposition(S)},N.prototype.onCompositionUpdate=function(S){this.renderer.setCompositionText(S)},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(S){return S>=this.getFirstVisibleRow()&&S<=this.getLastVisibleRow()},N.prototype.isRowFullyVisible=function(S){return S>=this.renderer.getFirstFullyVisibleRow()&&S<=this.renderer.getLastFullyVisibleRow()},N.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},N.prototype.$moveByPage=function(S,k){var F=this.renderer,Y=this.renderer.layerConfig,se=S*Math.floor(Y.height/Y.lineHeight);!0===k?this.selection.$moveSelection(function(){this.moveCursorBy(se,0)}):!1===k&&(this.selection.moveCursorBy(se,0),this.selection.clearSelection());var ne=F.scrollTop;F.scrollBy(0,se*Y.lineHeight),null!=k&&F.scrollCursorIntoView(null,.5),F.animateScrolling(ne)},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(S){this.renderer.scrollToRow(S)},N.prototype.scrollToLine=function(S,k,F,Y){this.renderer.scrollToLine(S,k,F,Y)},N.prototype.centerSelection=function(){var S=this.getSelectionRange(),k={row:Math.floor(S.start.row+(S.end.row-S.start.row)/2),column:Math.floor(S.start.column+(S.end.column-S.start.column)/2)};this.renderer.alignCursor(k,.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(S,k){this.selection.moveCursorTo(S,k)},N.prototype.moveCursorToPosition=function(S){this.selection.moveCursorToPosition(S)},N.prototype.jumpToMatching=function(S,k){var F=this.getCursorPosition(),Y=new L(this.session,F.row,F.column),se=Y.getCurrentToken(),ne=0;se&&-1!==se.type.indexOf("tag-name")&&(se=Y.stepBackward());var me=se||Y.stepForward();if(me){var $,Me,q=!1,Q={},ue=F.column-me.start,Oe={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(me.value.match(/[{}()\[\]]/g)){for(;ue1?Q[me.value]++:"=0;--ne)this.$tryReplace(F[ne],S)&&Y++;return this.selection.setSelectionRange(se),Y},N.prototype.$tryReplace=function(S,k){var F=this.session.getTextRange(S);return null!==(k=this.$search.replace(F,k))?(S.end=this.session.replace(S,k),S):null},N.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},N.prototype.find=function(S,k,F){k||(k={}),"string"==typeof S||S instanceof RegExp?k.needle=S:"object"==typeof S&&o.mixin(k,S);var Y=this.selection.getRange();null==k.needle&&((S=this.session.getTextRange(Y)||this.$search.$options.needle)||(Y=this.session.getWordRange(Y.start.row,Y.start.column),S=this.session.getTextRange(Y)),this.$search.set({needle:S})),this.$search.set(k),k.start||this.$search.set({start:Y});var se=this.$search.find(this.session);return k.preventScroll?se:se?(this.revealRange(se,F),se):(k.backwards?Y.start=Y.end:Y.end=Y.start,void this.selection.setRange(Y))},N.prototype.findNext=function(S,k){this.find({skipCurrent:!0,backwards:!1},S,k)},N.prototype.findPrevious=function(S,k){this.find(S,{skipCurrent:!0,backwards:!0},k)},N.prototype.revealRange=function(S,k){this.session.unfold(S),this.selection.setSelectionRange(S);var F=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(S.start,S.end,.5),!1!==k&&this.renderer.animateScrolling(F)},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(S){S.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(S){if(S){var k,F=this,Y=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var se=this.$scrollAnchor;se.style.cssText="position:absolute",this.container.insertBefore(se,this.container.firstChild);var ne=this.on("changeSelection",function(){Y=!0}),me=this.renderer.on("beforeRender",function(){Y&&(k=F.renderer.container.getBoundingClientRect())}),$=this.renderer.on("afterRender",function(){if(Y&&k&&(F.isFocused()||F.searchBox&&F.searchBox.isFocused())){var q=F.renderer,Q=q.$cursorLayer.$pixelPos,ue=q.layerConfig,Me=Q.top-ue.offset;null!=(Y=Q.top>=0&&Me+k.top<0||!(Q.topwindow.innerHeight)&&null)&&(se.style.top=Me+"px",se.style.left=Q.left+"px",se.style.height=ue.lineHeight+"px",se.scrollIntoView(Y)),Y=k=null}});this.setAutoScrollEditorIntoView=function(q){q||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",ne),this.renderer.off("afterRender",$),this.renderer.off("beforeRender",me))}}},N.prototype.$resetCursorStyle=function(){var S=this.$cursorStyle||"ace",k=this.renderer.$cursorLayer;k&&(k.setSmoothBlinking(/smooth/.test(S)),k.isBlinking=!this.$readOnly&&"wide"!=S,v.setCssClass(k.element,"ace_slim-cursors",/slim/.test(S)))},N.prototype.prompt=function(S,k,F){var Y=this;w.loadModule("ace/ext/prompt",function(se){se.prompt(Y,S,k,F)})},N}();R.$uid=0,R.prototype.curOp=null,R.prototype.prevOp={},R.prototype.$mergeableCommands=["backspace","del","insertstring"],R.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"],["&&","||"],["==","!="]],o.implement(R.prototype,_),w.defineOptions(R.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?j.attach(this):j.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(N){this.$showLineNumbers&&N?j.attach(this):j.detach(this)}},placeholder:{set:function(N){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var S=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(S&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),v.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(S||this.renderer.placeholderNode)!S&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),v.addCssClass(this.container,"ace_hasPlaceholder");var k=v.createElement("div");k.className="ace_placeholder",k.textContent=this.$placeholder||"",this.renderer.placeholderNode=k,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(N){var F,S={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(Y){Y.blur(),Y.renderer.scroller.focus()},readOnly:!0},k=function(Y){if(Y.target==this.renderer.scroller&&Y.keyCode===D.enter){Y.preventDefault();var se=this.getCursorPosition().row;this.isRowVisible(se)||this.scrollToLine(se,!0,!0),this.focus()}};N?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),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",k.bind(this)),this.commands.addCommand(S),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),F||(F=new T(this)),F.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",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",k.bind(this)),this.commands.removeCommand(S),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),F&&F.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 j={getText:function(N,S){return(Math.abs(N.selection.lead.row-S)||S+1+(S<9?"\xb7":""))+""},getWidth:function(N,S,k){return Math.max(S.toString().length,(k.lastRow+1).toString().length,2)*k.characterWidth},update:function(N,S){S.renderer.$loop.schedule(S.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)}};p.Editor=R}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(n,p,C){"use strict";var b=function(){function T(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return T.prototype.addSession=function(O){this.$session=O},T.prototype.add=function(O,E,D){if(!this.$fromUndo&&O!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===E||!this.lastDeltas){this.lastDeltas=[];var R=this.$undoStack.length;R>this.$undoDepth-1&&this.$undoStack.splice(0,R-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)}},T.prototype.addSelection=function(O,E){this.selections.push({value:O,rev:E||this.$rev})},T.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},T.prototype.markIgnored=function(O,E){null==E&&(E=this.$rev+1);for(var D=this.$undoStack,R=D.length;R--;){var j=D[R][0];if(j.id<=O)break;j.id0},T.prototype.canRedo=function(){return this.$redoStack.length>0},T.prototype.bookmark=function(O){null==O&&(O=this.$rev),this.mark=O},T.prototype.isAtBookmark=function(){return this.$rev===this.mark},T.prototype.toJSON=function(){},T.prototype.fromJSON=function(){},T.prototype.$prettyPrint=function(O){return O?r(O):r(this.$undoStack)+"\n---\n"+r(this.$redoStack)},T}();b.prototype.hasUndo=b.prototype.canUndo,b.prototype.hasRedo=b.prototype.canRedo,b.prototype.isClean=b.prototype.isAtBookmark,b.prototype.markClean=b.prototype.bookmark;var v=n("./range").Range,a=v.comparePoints;function l(T){return{row:T.row,column:T.column}}function r(T){if(T=T||this,Array.isArray(T))return T.map(r).join("\n");var O="";return T.action?(O="insert"==T.action?"+":"-",O+="["+T.lines+"]"):T.value&&(O=Array.isArray(T.value)?T.value.map(u).join("\n"):u(T.value)),T.start&&(O+=u(T)),(T.id||T.rev)&&(O+="\t("+(T.id||T.rev)+")"),O}function u(T){return T.start.row+":"+T.start.column+"=>"+T.end.row+":"+T.end.column}function h(T,O){var E="insert"==T.action,D="insert"==O.action;if(E&&D)if(a(O.start,T.end)>=0)M(O,T,-1);else{if(!(a(O.start,T.start)<=0))return null;M(T,O,1)}else if(E&&!D)if(a(O.start,T.end)>=0)M(O,T,-1);else{if(!(a(O.end,T.start)<=0))return null;M(T,O,-1)}else if(!E&&D)if(a(O.start,T.start)>=0)M(O,T,1);else{if(!(a(O.start,T.start)<=0))return null;M(T,O,1)}else if(!E&&!D)if(a(O.start,T.start)>=0)M(O,T,1);else{if(!(a(O.end,T.start)<=0))return null;M(T,O,-1)}return[O,T]}function m(T,O){for(var E=T.length;E--;)for(var D=0;D=0?M(T,O,-1):(a(T.start,O.start)<=0||M(T,v.fromPoints(O.start,T.start),-1),M(O,T,1));else if(!E&&D)a(O.start,T.end)>=0?M(O,T,-1):(a(O.start,T.start)<=0||M(O,v.fromPoints(T.start,O.start),-1),M(T,O,1));else if(!E&&!D)if(a(O.start,T.end)>=0)M(O,T,-1);else{var R,j;if(!(a(O.end,T.start)<=0))return a(T.start,O.start)<0&&(R=T,T=w(T,O.start)),a(T.end,O.end)>0&&(j=w(T,O.end)),x(O.end,T.start,T.end,-1),j&&!R&&(T.lines=j.lines,T.start=j.start,T.end=j.end,j=T),[O,R,j].filter(Boolean);M(T,O,-1)}return[O,T]}function M(T,O,E){x(T.start,O.start,O.end,E),x(T.end,O.start,O.end,E)}function x(T,O,E,D){T.row==(1==D?O:E).row&&(T.column+=D*(E.column-O.column)),T.row+=D*(E.row-O.row)}function w(T,O){var E=T.lines,D=T.end;T.end=l(O);var R=T.end.row-T.start.row,j=E.splice(R,E.length),N=R?O.column:O.column-T.start.column;return E.push(j[0].substring(0,N)),j[0]=j[0].substr(N),{start:l(O),end:D,lines:j,action:T.action}}function L(T,O){O=function d(T){return{start:l(T.start),end:l(T.end),action:T.action,lines:T.lines.slice()}}(O);for(var E=T.length;E--;){for(var D=T[E],R=0;Rx&&(x=(M=h.getNextFoldLine(A=M.end.row+1,M))?M.start.row:1/0),A>_){for(;this.$lines.getLength()>L+1;)this.$lines.pop();break}(w=this.$lines.get(++L))?w.row=A:(w=this.$lines.createCell(A,u,this.session,d),this.$lines.push(w)),this.$renderCell(w,u,M,A),A++}this._signal("afterRender"),this.$updateGutterWidth(u)},r.prototype.$updateGutterWidth=function(u){var h=this.session,m=h.gutterRenderer||this.$renderer,_=h.$firstLineNumber,M=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||h.$useWrapMode)&&(M=h.getLength()+_-1);var x=m?m.getWidth(h,M,u):M.toString().length*u.characterWidth,w=this.$padding||this.$computePadding();(x+=w.left+w.right)!==this.gutterWidth&&!isNaN(x)&&(this.gutterWidth=x,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",x))},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 m=0;m=this.$cursorRow){if(_.row>this.$cursorRow){var M=this.session.getFoldLine(this.$cursorRow);if(!(m>0&&M&&M.start.row==h[m-1].row))break;_=h[m-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 m=Math.min(u.lastRow+u.gutterOffset,this.session.getLength()-1),_=this.oldLastRow;if(this.oldLastRow=m,!h||_0;M--)this.$lines.shift();if(_>m)for(M=this.session.getFoldedRowCount(m+1,_);M>0;M--)this.$lines.pop();u.firstRow_&&this.$lines.push(this.$renderLines(u,_+1,m)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(u)},r.prototype.$renderLines=function(u,h,m){for(var _=[],M=h,x=this.session.getNextFoldLine(M),w=x?x.start.row:1/0;M>w&&(w=(x=this.session.getNextFoldLine(M=x.end.row+1,x))?x.start.row:1/0),!(M>m);){var L=this.$lines.createCell(M,u,this.session,d);this.$renderCell(L,u,x,M),_.push(L),M++}return _},r.prototype.$renderCell=function(u,h,m,_){var M=u.element,x=this.session,w=M.childNodes[0],L=M.childNodes[1],A=M.childNodes[2],T=A.firstChild,O=x.$firstLineNumber,E=x.$breakpoints,D=x.$decorations,R=x.gutterRenderer||this.$renderer,j=this.$showFoldWidgets&&x.foldWidgets,N=m?m.start.row:Number.MAX_VALUE,S=h.lineHeight+"px",k=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",F=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",Y=(R?R.getText(x,_):_+O).toString();if(this.$highlightGutterLine&&(_==this.$cursorRow||m&&_=N&&this.$cursorRow<=m.end.row)&&(k+="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)),E[_]&&(k+=E[_]),D[_]&&(k+=D[_]),this.$annotations[_]&&_!==N&&(k+=this.$annotations[_].className),j){var se=j[_];null==se&&(se=j[_]=x.getFoldWidget(_))}if(se){var ne="ace_fold-widget ace_"+se,me="start"==se&&_==N&&_m.right-h.right?"foldWidgets":void 0},r}();function d(r){var u=document.createTextNode("");r.appendChild(u);var h=b.createElement("span");r.appendChild(h);var m=b.createElement("span");r.appendChild(m);var _=b.createElement("span");return m.appendChild(_),r}l.prototype.$fixedWidth=!1,l.prototype.$highlightGutterLine=!0,l.prototype.$renderer="",l.prototype.$showLineNumbers=!0,l.prototype.$showFoldWidgets=!0,o.implement(l.prototype,a),p.Gutter=l}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(n,p,C){"use strict";var b=n("../range").Range,o=n("../lib/dom"),v=function(){function c(s){this.element=o.createElement("div"),this.element.className="ace_layer ace_marker-layer",s.appendChild(this.element)}return c.prototype.setPadding=function(s){this.$padding=s},c.prototype.setSession=function(s){this.session=s},c.prototype.setMarkers=function(s){this.markers=s},c.prototype.elt=function(s,l){var d=-1!=this.i&&this.element.childNodes[this.i];d?this.i++:(d=document.createElement("div"),this.element.appendChild(d),this.i=-1),d.style.cssText=l,d.className=s},c.prototype.update=function(s){if(s){var l;for(var d in this.config=s,this.i=0,this.markers){var r=this.markers[d];if(r.range){var u=r.range.clipRows(s.firstRow,s.lastRow);if(!u.isEmpty())if(u=u.toScreenRange(this.session),r.renderer){var h=this.$getTop(u.start.row,s);r.renderer(l,u,this.$padding+u.start.column*s.characterWidth,h,s)}else"fullLine"==r.type?this.drawFullLineMarker(l,u,r.clazz,s):"screenLine"==r.type?this.drawScreenLineMarker(l,u,r.clazz,s):u.isMultiLine()?"text"==r.type?this.drawTextMarker(l,u,r.clazz,s):this.drawMultiLineMarker(l,u,r.clazz,s):this.drawSingleLineMarker(l,u,r.clazz+" ace_start ace_br15",s)}else r.update(l,this,this.session,s)}if(-1!=this.i)for(;this.iL,M==_),r,M==_?0:1,u)},c.prototype.drawMultiLineMarker=function(s,l,d,r,u){var x,h=this.$padding,m=r.lineHeight,_=this.$getTop(l.start.row,r),M=h+l.start.column*r.characterWidth;if(u=u||"",this.session.$bidiHandler.isBidiRow(l.start.row)?((x=l.clone()).end.row=x.start.row,x.end.column=this.session.getLine(x.start.row).length,this.drawBidiSingleLineMarker(s,x,d+" ace_br1 ace_start",r,null,u)):this.elt(d+" ace_br1 ace_start","height:"+m+"px;right:0;top:"+_+"px;left:"+M+"px;"+(u||"")),this.session.$bidiHandler.isBidiRow(l.end.row)?((x=l.clone()).start.row=x.end.row,x.start.column=0,this.drawBidiSingleLineMarker(s,x,d+" ace_br12",r,null,u)):(_=this.$getTop(l.end.row,r),this.elt(d+" ace_br12","height:"+m+"px;width:"+l.end.column*r.characterWidth+"px;top:"+_+"px;left:"+h+"px;"+(u||""))),!((m=(l.end.row-l.start.row-1)*r.lineHeight)<=0)){_=this.$getTop(l.start.row+1,r);var L=(l.start.column?1:0)|(l.end.column?0:8);this.elt(d+(L?" ace_br"+L:""),"height:"+m+"px;right:0;top:"+_+"px;left:"+h+"px;"+(u||""))}},c.prototype.drawSingleLineMarker=function(s,l,d,r,u,h){if(this.session.$bidiHandler.isBidiRow(l.start.row))return this.drawBidiSingleLineMarker(s,l,d,r,u,h);var m=r.lineHeight,_=(l.end.column+(u||0)-l.start.column)*r.characterWidth,M=this.$getTop(l.start.row,r);this.elt(d,"height:"+m+"px;width:"+_+"px;top:"+M+"px;left:"+(this.$padding+l.start.column*r.characterWidth)+"px;"+(h||""))},c.prototype.drawBidiSingleLineMarker=function(s,l,d,r,u,h){var m=r.lineHeight,_=this.$getTop(l.start.row,r),M=this.$padding;this.session.$bidiHandler.getSelections(l.start.column,l.end.column).forEach(function(w){this.elt(d,"height:"+m+"px;width:"+(w.width+(u||0))+"px;top:"+_+"px;left:"+(M+w.left)+"px;"+(h||""))},this)},c.prototype.drawFullLineMarker=function(s,l,d,r,u){var h=this.$getTop(l.start.row,r),m=r.lineHeight;l.start.row!=l.end.row&&(m+=this.$getTop(l.end.row,r)-h),this.elt(d,"height:"+m+"px;top:"+h+"px;left:0;right:0;"+(u||""))},c.prototype.drawScreenLineMarker=function(s,l,d,r,u){var h=this.$getTop(l.start.row,r);this.elt(d,"height:"+r.lineHeight+"px;top:"+h+"px;left:0;right:0;"+(u||""))},c}();function a(c,s,l,d){return(c?1:0)|(s?2:0)|(l?4:0)|(d?8:0)}v.prototype.$padding=0,p.Marker=v}),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"],function(n,p,C){"use strict";var b=n("../lib/oop"),o=n("../lib/dom"),v=n("../lib/lang"),a=n("./lines").Lines,c=n("../lib/event_emitter").EventEmitter,s=n("../config").nls,l=function(){function d(r){this.dom=o,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",r.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)}return d.prototype.$updateEolChar=function(){var r=this.session.doc,h="\n"==r.getNewLineCharacter()&&"windows"!=r.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=h)return this.EOL_CHAR=h,!0},d.prototype.setPadding=function(r){this.$padding=r,this.element.style.margin="0 "+r+"px"},d.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},d.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},d.prototype.$setFontMetrics=function(r){this.$fontMetrics=r,this.$fontMetrics.on("changeCharacterSize",function(u){this._signal("changeCharacterSize",u)}.bind(this)),this.$pollSizeChanges()},d.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},d.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},d.prototype.setSession=function(r){this.session=r,r&&this.$computeTabString()},d.prototype.setShowInvisibles=function(r){return this.showInvisibles!=r&&(this.showInvisibles=r,"string"==typeof r?(this.showSpaces=/tab/i.test(r),this.showTabs=/space/i.test(r),this.showEOL=/eol/i.test(r)):this.showSpaces=this.showTabs=this.showEOL=r,this.$computeTabString(),!0)},d.prototype.setDisplayIndentGuides=function(r){return this.displayIndentGuides!=r&&(this.displayIndentGuides=r,this.$computeTabString(),!0)},d.prototype.setHighlightIndentGuides=function(r){return this.$highlightIndentGuides!==r&&(this.$highlightIndentGuides=r,r)},d.prototype.$computeTabString=function(){var r=this.session.getTabSize();this.tabSize=r;for(var u=this.$tabStrings=[0],h=1;hT&&(T=(A=this.session.getNextFoldLine(L=A.end.row+1,A))?A.start.row:1/0),!(L>_);){var O=M[x++];if(O){this.dom.removeChildren(O),this.$renderLine(O,L,L==T&&A),w&&(O.style.top=this.$lines.computeLineTop(L,r,this.session)+"px");var E=r.lineHeight*this.session.getRowLength(L)+"px";O.style.height!=E&&(w=!0,O.style.height=E)}L++}if(w)for(;x0;_--)this.$lines.shift();if(u.lastRow>r.lastRow)for(_=this.session.getFoldedRowCount(r.lastRow+1,u.lastRow);_>0;_--)this.$lines.pop();r.firstRowu.lastRow&&this.$lines.push(this.$renderLinesFragment(r,u.lastRow+1,r.lastRow)),this.$highlightIndentGuide()},d.prototype.$renderLinesFragment=function(r,u,h){for(var m=[],_=u,M=this.session.getNextFoldLine(_),x=M?M.start.row:1/0;_>x&&(x=(M=this.session.getNextFoldLine(_=M.end.row+1,M))?M.start.row:1/0),!(_>h);){var w=this.$lines.createCell(_,r,this.session),L=w.element;this.dom.removeChildren(L),o.setStyle(L.style,"height",this.$lines.computeLineHeight(_,r,this.session)+"px"),o.setStyle(L.style,"top",this.$lines.computeLineTop(_,r,this.session)+"px"),this.$renderLine(L,_,_==x&&M),L.className=this.$useLineGroups()?"ace_line_group":"ace_line",m.push(w),_++}return m},d.prototype.update=function(r){this.$lines.moveContainer(r),this.config=r;for(var u=r.firstRow,h=r.lastRow,m=this.$lines;m.getLength();)m.pop();m.push(this.$renderLinesFragment(r,u,h))},d.prototype.$renderToken=function(r,u,h,m){for(var w,_=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,x=this.dom.createFragment(this.element),L=0;w=M.exec(m);){var A=w[1],T=w[2],O=w[3],E=w[4],D=w[5];if(_.showSpaces||!T){var R=L!=w.index?m.slice(L,w.index):"";if(L=w.index+w[0].length,R&&x.appendChild(this.dom.createTextNode(R,this.element)),A){var j=_.session.getScreenTabSize(u+w.index);x.appendChild(_.$tabStrings[j].cloneNode(!0)),u+=j-1}else T?_.showSpaces?((N=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",N.textContent=v.stringRepeat(_.SPACE_CHAR,T.length),x.appendChild(N)):x.appendChild(this.com.createTextNode(T,this.element)):O?((N=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",N.textContent=v.stringRepeat(_.SPACE_CHAR,O.length),x.appendChild(N)):E?(u+=1,(N=this.dom.createElement("span")).style.width=2*_.config.characterWidth+"px",N.className=_.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",N.textContent=_.showSpaces?_.SPACE_CHAR:E,x.appendChild(N)):D&&(u+=1,(N=this.dom.createElement("span")).style.width=2*_.config.characterWidth+"px",N.className="ace_cjk",N.textContent=D,x.appendChild(N))}}if(x.appendChild(this.dom.createTextNode(L?m.slice(L):m,this.element)),this.$textToken[h.type])r.appendChild(x);else{var S="ace_"+h.type.replace(/\./g," ace_"),N=this.dom.createElement("span");"fold"==h.type&&(N.style.width=h.value.length*this.config.characterWidth+"px",N.setAttribute("title",s("Unfold code"))),N.className=S,N.appendChild(x),r.appendChild(N)}return u+m.length},d.prototype.renderIndentGuide=function(r,u,h){var m=u.search(this.$indentGuideRe);if(m<=0||m>=h)return u;if(" "==u[0]){for(var _=(m-=m%this.tabSize)/this.tabSize,M=0;M<_;M++)r.appendChild(this.$tabStrings[" "].cloneNode(!0));return this.$highlightIndentGuide(),u.substr(m)}if("\t"==u[0]){for(M=0;MM[x].start.row?-1:1;break}if(!this.$highlightIndentGuideMarker.end&&""!==r[u.row]&&u.column===r[u.row].length)for(this.$highlightIndentGuideMarker.dir=1,x=u.row+1;x0)for(var _=0;_=this.$highlightIndentGuideMarker.start+1){if(m.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(m,u)}}else for(h=r.length-1;h>=0;h--)if(m=r[h],this.$highlightIndentGuideMarker.end&&m.row=M;)x=this.$renderToken(w,x,A,T.substring(0,M-m)),T=T.substring(M-m),m=M,w=this.$createLineElement(),r.appendChild(w),w.appendChild(this.dom.createTextNode(v.stringRepeat("\xa0",h.indent),this.element)),x=0,M=h[++_]||Number.MAX_VALUE;0!=T.length&&(m+=T.length,x=this.$renderToken(w,x,A,T))}}h[h.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(w,x,null,"",!0)},d.prototype.$renderSimpleLine=function(r,u){for(var h=0,m=0;mthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(r,h,_,M);h=this.$renderToken(r,h,_,M)}}},d.prototype.$renderOverflowMessage=function(r,u,h,m,_){h&&this.$renderToken(r,u,h,m.slice(0,this.MAX_LINE_LENGTH-u));var M=this.dom.createElement("span");M.className="ace_inline_button ace_keyword ace_toggle_wrap",M.textContent=_?"":"",r.appendChild(M)},d.prototype.$renderLine=function(r,u,h){if(!h&&0!=h&&(h=this.session.getFoldLine(u)),h)var m=this.$getFoldLineTokens(u,h);else m=this.session.getTokens(u);var _=r;if(m.length){var M=this.session.getRowSplitData(u);M&&M.length?(this.$renderWrappedLine(r,m,M),_=r.lastChild):(_=r,this.$useLineGroups()&&(_=this.$createLineElement(),r.appendChild(_)),this.$renderSimpleLine(_,m))}else this.$useLineGroups()&&(_=this.$createLineElement(),r.appendChild(_));if(this.showEOL&&_){h&&(u=h.end.row);var x=this.dom.createElement("span");x.className="ace_invisible ace_invisible_eol",x.textContent=u==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,_.appendChild(x)}},d.prototype.$getFoldLineTokens=function(r,u){var h=this.session,m=[],M=h.getTokens(r);return u.walk(function(x,w,L,A,T){null!=x?m.push({type:"fold",value:x}):(T&&(M=h.getTokens(w)),M.length&&function _(x,w,L){for(var A=0,T=0;T+x[A].value.lengthL-w&&(O=O.substring(0,L-w)),m.push({type:x[A].type,value:O}),T=w+O.length,A+=1);TL?{type:x[A].type,value:O.substring(0,L-T)}:x[A]),T+=O.length,A+=1}}(M,A,L))},u.end.row,this.session.getLine(u.end.row).length),m},d.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},d}();l.prototype.$textToken={text:!0,rparen:!0,lparen:!0},l.prototype.EOF_CHAR="\xb6",l.prototype.EOL_CHAR_LF="\xac",l.prototype.EOL_CHAR_CRLF="\xa4",l.prototype.EOL_CHAR=l.prototype.EOL_CHAR_LF,l.prototype.TAB_CHAR="\u2014",l.prototype.SPACE_CHAR="\xb7",l.prototype.$padding=0,l.prototype.MAX_LINE_LENGTH=1e4,l.prototype.showInvisibles=!1,l.prototype.showSpaces=!1,l.prototype.showTabs=!1,l.prototype.showEOL=!1,l.prototype.displayIndentGuides=!0,l.prototype.$highlightIndentGuides=!0,l.prototype.$tabStrings=[],l.prototype.destroy={},l.prototype.onChangeTabSize=l.prototype.$computeTabString,b.implement(l.prototype,c),p.Text=l}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(n,p,C){"use strict";var b=n("../lib/dom"),o=function(){function v(a){this.element=b.createElement("div"),this.element.className="ace_layer ace_cursor-layer",a.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),b.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return v.prototype.$updateOpacity=function(a){for(var c=this.cursors,s=c.length;s--;)b.setStyle(c[s].style,"opacity",a?"":"0")},v.prototype.$startCssAnimation=function(){for(var a=this.cursors,c=a.length;c--;)a[c].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&b.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},v.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,b.removeCssClass(this.element,"ace_animate-blinking")},v.prototype.setPadding=function(a){this.$padding=a},v.prototype.setSession=function(a){this.session=a},v.prototype.setBlinking=function(a){a!=this.isBlinking&&(this.isBlinking=a,this.restartTimer())},v.prototype.setBlinkInterval=function(a){a!=this.blinkInterval&&(this.blinkInterval=a,this.restartTimer())},v.prototype.setSmoothBlinking=function(a){a!=this.smoothBlinking&&(this.smoothBlinking=a,b.setCssClass(this.element,"ace_smooth-blinking",a),this.$updateCursors(!0),this.restartTimer())},v.prototype.addCursor=function(){var a=b.createElement("div");return a.className="ace_cursor",this.element.appendChild(a),this.cursors.push(a),a},v.prototype.removeCursor=function(){if(this.cursors.length>1){var a=this.cursors.pop();return a.parentNode.removeChild(a),a}},v.prototype.hideCursor=function(){this.isVisible=!1,b.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},v.prototype.showCursor=function(){this.isVisible=!0,b.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},v.prototype.restartTimer=function(){var a=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,b.removeCssClass(this.element,"ace_smooth-blinking")),a(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&b.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),b.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var c=function(){this.timeoutId=setTimeout(function(){a(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){a(!0),c()},this.blinkInterval),c()}else this.$stopCssAnimation()},v.prototype.getPixelPosition=function(a,c){if(!this.config||!this.session)return{left:0,top:0};a||(a=this.session.selection.getCursor());var s=this.session.documentToScreenPosition(a);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(s.row,a.row)?this.session.$bidiHandler.getPosLeft(s.column):s.column*this.config.characterWidth),top:(s.row-(c?this.config.firstRowScreen:0))*this.config.lineHeight}},v.prototype.isCursorInView=function(a,c){return a.top>=0&&a.topa.height+a.offset||r.top<0)&&s>1)){var u=this.cursors[l++]||this.addCursor(),h=u.style;this.drawCursor?this.drawCursor(u,r,a,c[s],this.session):this.isCursorInView(r,a)?(b.setStyle(h,"display","block"),b.translate(u,r.left,r.top),b.setStyle(h,"width",Math.round(a.characterWidth)+"px"),b.setStyle(h,"height",a.lineHeight+"px")):b.setStyle(h,"display","none")}}for(;this.cursors.length>l;)this.removeCursor();var m=this.session.getOverwrite();this.$setOverwrite(m),this.$pixelPos=r,this.restartTimer()},v.prototype.$setOverwrite=function(a){a!=this.overwrite&&(this.overwrite=a,a?b.addCssClass(this.element,"ace_overwrite-cursors"):b.removeCssClass(this.element,"ace_overwrite-cursors"))},v.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},v}();o.prototype.$padding=0,o.prototype.drawCursor=null,p.Cursor=o}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(n,p,C){"use strict";var u,b=this&&this.__extends||(u=function(h,m){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,M){_.__proto__=M}||function(_,M){for(var x in M)Object.prototype.hasOwnProperty.call(M,x)&&(_[x]=M[x])})(h,m)},function(h,m){if("function"!=typeof m&&null!==m)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function _(){this.constructor=h}u(h,m),h.prototype=null===m?Object.create(m):(_.prototype=m.prototype,new _)}),o=n("./lib/oop"),v=n("./lib/dom"),a=n("./lib/event"),c=n("./lib/event_emitter").EventEmitter,s=32768,l=function(){function u(h,m){this.element=v.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+m,this.inner=v.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,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return u.prototype.setVisible=function(h){this.element.style.display=h?"":"none",this.isVisible=h,this.coeff=1},u}();o.implement(l.prototype,c);var d=function(u){function h(m,_){var M=u.call(this,m,"-v")||this;return M.scrollTop=0,M.scrollHeight=0,_.$scrollbarWidth=M.width=v.scrollbarWidth(m.ownerDocument),M.inner.style.width=M.element.style.width=(M.width||15)+5+"px",M.$minWidth=0,M}return b(h,u),h.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var m=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-m)/(this.coeff-m)}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(m){this.element.style.height=m+"px"},h.prototype.setScrollHeight=function(m){this.scrollHeight=m,m>s?(this.coeff=s/m,m=s):1!=this.coeff&&(this.coeff=1),this.inner.style.height=m+"px"},h.prototype.setScrollTop=function(m){this.scrollTop!=m&&(this.skipEvent=!0,this.scrollTop=m,this.element.scrollTop=m*this.coeff)},h}(l);d.prototype.setInnerHeight=d.prototype.setScrollHeight;var r=function(u){function h(m,_){var M=u.call(this,m,"-h")||this;return M.scrollLeft=0,M.height=_.$scrollbarWidth,M.inner.style.height=M.element.style.height=(M.height||15)+5+"px",M}return b(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(m){this.element.style.width=m+"px"},h.prototype.setInnerWidth=function(m){this.inner.style.width=m+"px"},h.prototype.setScrollWidth=function(m){this.inner.style.width=m+"px"},h.prototype.setScrollLeft=function(m){this.scrollLeft!=m&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=m)},h}(l);p.ScrollBar=d,p.ScrollBarV=d,p.ScrollBarH=r,p.VScrollBar=d,p.HScrollBar=r}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(n,p,C){"use strict";var r,b=this&&this.__extends||(r=function(u,h){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,_){m.__proto__=_}||function(m,_){for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(m[M]=_[M])})(u,h)},function(u,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function m(){this.constructor=u}r(u,h),u.prototype=null===h?Object.create(h):(m.prototype=h.prototype,new m)}),o=n("./lib/oop"),v=n("./lib/dom"),a=n("./lib/event"),c=n("./lib/event_emitter").EventEmitter;v.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 s=function(){function r(u,h){this.element=v.createElement("div"),this.element.className="ace_sb"+h,this.inner=v.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,a.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}();o.implement(s.prototype,c);var l=function(r){function u(h,m){var _=r.call(this,h,"-v")||this;return _.scrollTop=0,_.scrollHeight=0,_.parent=h,_.width=_.VScrollWidth,_.renderer=m,_.inner.style.width=_.element.style.width=(_.width||15)+"px",_.$minWidth=0,_}return b(u,r),u.prototype.onMouseDown=function(h,m){if("mousedown"===h&&0===a.getButton(m)&&2!==m.detail){if(m.target===this.inner){var _=this,M=m.clientY,L=m.clientY,A=this.thumbTop;a.capture(this.inner,function(D){M=D.clientY},function(){clearInterval(O)});var O=setInterval(function(){if(void 0!==M){var D=_.scrollTopFromThumbTop(A+M-L);D!==_.scrollTop&&_._emit("scroll",{data:D})}},20);return a.preventDefault(m)}var E=m.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(E)}),a.preventDefault(m)}},u.prototype.getHeight=function(){return this.height},u.prototype.scrollTopFromThumbTop=function(h){var m=h*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(m>>=0)<0?m=0:m>this.pageHeight-this.viewHeight&&(m=this.pageHeight-this.viewHeight),m},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,m){this.pageHeight===h&&!m||(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}(s);l.prototype.setInnerHeight=l.prototype.setScrollHeight;var d=function(r){function u(h,m){var _=r.call(this,h,"-h")||this;return _.scrollLeft=0,_.scrollWidth=0,_.height=_.HScrollHeight,_.inner.style.height=_.element.style.height=(_.height||12)+"px",_.renderer=m,_}return b(u,r),u.prototype.onMouseDown=function(h,m){if("mousedown"===h&&0===a.getButton(m)&&2!==m.detail){if(m.target===this.inner){var _=this,M=m.clientX,L=m.clientX,A=this.thumbLeft;a.capture(this.inner,function(D){M=D.clientX},function(){clearInterval(O)});var O=setInterval(function(){if(void 0!==M){var D=_.scrollLeftFromThumbLeft(A+M-L);D!==_.scrollLeft&&_._emit("scroll",{data:D})}},20);return a.preventDefault(m)}var E=m.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(E)}),a.preventDefault(m)}},u.prototype.getHeight=function(){return this.isVisible?this.height:0},u.prototype.scrollLeftFromThumbLeft=function(h){var m=h*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(m>>=0)<0?m=0:m>this.pageWidth-this.viewWidth&&(m=this.pageWidth-this.viewWidth),m},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,m){this.pageWidth===h&&!m||(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}(s);d.prototype.setInnerWidth=d.prototype.setScrollWidth,p.ScrollBar=l,p.ScrollBarV=l,p.ScrollBarH=d,p.VScrollBar=l,p.HScrollBar=d}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(n,p,C){"use strict";var b=n("./lib/event"),o=function(){function v(a,c){this.onRender=a,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=c||window;var s=this;this._flush=function(l){s.pending=!1;var d=s.changes;if(d&&(b.blockIdle(100),s.changes=0,s.onRender(d)),s.changes){if(s.$recursionLimit--<0)return;s.schedule()}else s.$recursionLimit=2}}return v.prototype.schedule=function(a){this.changes=this.changes|a,this.changes&&!this.pending&&(b.nextFrame(this._flush),this.pending=!0)},v.prototype.clear=function(a){var c=this.changes;return this.changes=0,c},v}();p.RenderLoop=o}),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(n,p,C){var b=n("../lib/oop"),o=n("../lib/dom"),v=n("../lib/lang"),a=n("../lib/event"),c=n("../lib/useragent"),s=n("../lib/event_emitter").EventEmitter,l=512,d="function"==typeof ResizeObserver,r=200,u=function(){function h(m){this.el=o.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=o.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=o.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),m.appendChild(this.el),this.$measureNode.textContent=v.stringRepeat("X",l),this.$characterSize={width:0,height:0},d?this.$addObserver():this.checkForSizeChanges()}return h.prototype.$setMeasureNodeStyles=function(m,_){m.width=m.height="auto",m.left=m.top="0px",m.visibility="hidden",m.position="absolute",m.whiteSpace="pre",c.isIE<8?m["font-family"]="inherit":m.font="inherit",m.overflow=_?"hidden":"visible"},h.prototype.checkForSizeChanges=function(m){if(void 0===m&&(m=this.$measureSizes()),m&&(this.$characterSize.width!==m.width||this.$characterSize.height!==m.height)){this.$measureNode.style.fontWeight="bold";var _=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=m,this.charSizes=Object.create(null),this.allowBoldFonts=_&&_.width===m.width&&_.height===m.height,this._emit("changeCharacterSize",{data:m})}},h.prototype.$addObserver=function(){var m=this;this.$observer=new window.ResizeObserver(function(_){m.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},h.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var m=this;return this.$pollSizeChangesTimer=a.onIdle(function _(){m.checkForSizeChanges(),a.onIdle(_,500)},500)},h.prototype.setPolling=function(m){m?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},h.prototype.$measureSizes=function(m){var _={height:(m||this.$measureNode).clientHeight,width:(m||this.$measureNode).clientWidth/l};return 0===_.width||0===_.height?null:_},h.prototype.$measureCharWidth=function(m){return this.$main.textContent=v.stringRepeat(m,l),this.$main.getBoundingClientRect().width/l},h.prototype.getCharacterWidth=function(m){var _=this.charSizes[m];return void 0===_&&(_=this.charSizes[m]=this.$measureCharWidth(m)/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(m){return m&&m.parentElement?(window.getComputedStyle(m).zoom||1)*this.$getZoom(m.parentElement):1},h.prototype.$initTransformMeasureNodes=function(){var m=function(_,M){return["div",{style:"position: absolute;top:"+_+"px;left:"+M+"px;"}]};this.els=o.buildDom([m(0,0),m(r,0),m(0,r),m(r,r)],this.el)},h.prototype.transformCoordinates=function(m,_){function x(me,$,q){var Q=me[1]*$[0]-me[0]*$[1];return[(-$[1]*q[0]+$[0]*q[1])/Q,(+me[1]*q[0]-me[0]*q[1])/Q]}function w(me,$){return[me[0]-$[0],me[1]-$[1]]}function L(me,$){return[me[0]+$[0],me[1]+$[1]]}function A(me,$){return[me*$[0],me*$[1]]}function T(me){var $=me.getBoundingClientRect();return[$.left,$.top]}m&&(m=A(1/this.$getZoom(this.el),m)),this.els||this.$initTransformMeasureNodes();var O=T(this.els[0]),E=T(this.els[1]),D=T(this.els[2]),R=T(this.els[3]),j=x(w(R,E),w(R,D),w(L(E,D),L(R,O))),N=A(1+j[0],w(E,O)),S=A(1+j[1],w(D,O));if(_){var k=_,F=j[0]*k[0]/r+j[1]*k[1]/r+1,Y=L(A(k[0],N),A(k[1],S));return L(A(1/F/r,Y),O)}var se=w(m,O),ne=x(w(N,A(j[0],se)),w(S,A(j[1],se)),se);return A(r,ne)},h}();u.prototype.$characterSize={width:0,height:0},b.implement(u.prototype,s),p.FontMetrics=u}),ace.define("ace/css/editor-css",["require","exports","module"],function(n,p,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;\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}\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}'}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(n,p,C){"use strict";var b=n("../lib/dom"),o=n("../lib/oop"),v=n("../lib/event_emitter").EventEmitter,a=function(){function c(s,l){this.canvas=b.createElement("canvas"),this.renderer=l,this.pixelRatio=1,this.maxHeight=l.layerConfig.maxHeight,this.lineHeight=l.layerConfig.lineHeight,this.canvasHeight=s.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=s.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)"},s.element.appendChild(this.canvas)}return c.prototype.$updateDecorators=function(s){var l=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;s&&(this.maxHeight=s.maxHeight,this.lineHeight=s.lineHeight,this.canvasHeight=s.height,this.heightRatio=(s.lastRow+1)*this.lineHeightj.priority?1:0});for(var _=this.renderer.session.$foldData,M=0;Mthis.canvasHeight&&(E=this.canvasHeight-this.halfMinDecorationHeight),A=Math.round(E-this.halfMinDecorationHeight),T=Math.round(E+this.halfMinDecorationHeight)}r.fillStyle=l[h[M].type]||null,r.fillRect(0,L,this.canvasWidth,T-A)}}var D=this.renderer.session.selection.getCursor();D&&(w=this.compensateFoldRows(D.row,_),L=Math.round((D.row-w)*this.lineHeight*this.heightRatio),r.fillStyle="rgba(0, 0, 0, 0.5)",r.fillRect(0,L,this.canvasWidth,2))},c.prototype.compensateFoldRows=function(s,l){var d=0;if(l&&l.length>0)for(var r=0;rl[r].start.row&&s=l[r].end.row&&(d+=l[r].end.row-l[r].start.row);return d},c}();o.implement(a.prototype,v),p.Decorator=a}),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(n,p,C){"use strict";var b=n("./lib/oop"),o=n("./lib/dom"),v=n("./lib/lang"),a=n("./config"),c=n("./layer/gutter").Gutter,s=n("./layer/marker").Marker,l=n("./layer/text").Text,d=n("./layer/cursor").Cursor,r=n("./scrollbar").HScrollBar,u=n("./scrollbar").VScrollBar,h=n("./scrollbar_custom").HScrollBar,m=n("./scrollbar_custom").VScrollBar,_=n("./renderloop").RenderLoop,M=n("./layer/font_metrics").FontMetrics,x=n("./lib/event_emitter").EventEmitter,w=n("./css/editor-css"),L=n("./layer/decorators").Decorator,A=n("./lib/useragent");o.importCssString(w,"ace_editor.css",!1);var T=function(){function O(E,D){var R=this;this.container=E||o.createElement("div"),o.addCssClass(this.container,"ace_editor"),o.HI_DPI&&o.addCssClass(this.container,"ace_hidpi"),this.setTheme(D),null==a.get("useStrictCSP")&&a.set("useStrictCSP",!1),this.$gutter=o.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=o.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=o.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new c(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new s(this.content);var j=this.$textLayer=new l(this.content);this.canvas=j.element,this.$markerFront=new s(this.content),this.$cursorLayer=new d(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){R.$scrollAnimation||R.session.setScrollTop(N.data-R.scrollMargin.top)}),this.scrollBarH.on("scroll",function(N){R.$scrollAnimation||R.session.setScrollLeft(N.data-R.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new M(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(N){R.updateCharacterSize(),R.onResize(!0,R.gutterWidth,R.$size.width,R.$size.height),R._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=!A.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(),a.resetOptions(this),a._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(),o.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},O.prototype.setSession=function(E){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=E,E&&this.scrollMargin.top&&E.getScrollTop()<=0&&E.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(E),this.$markerBack.setSession(E),this.$markerFront.setSession(E),this.$gutterLayer.setSession(E),this.$textLayer.setSession(E),E&&(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(E,D,R){if(void 0===D&&(D=1/0),this.$changedLines?(this.$changedLines.firstRow>E&&(this.$changedLines.firstRow=E),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(E){E?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(E,D,R,j){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=E?1:0;var N=this.container;j||(j=N.clientHeight||N.scrollHeight),R||(R=N.clientWidth||N.scrollWidth);var S=this.$updateCachedSize(E,D,R,j);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!R&&!j)return this.resizing=0;E&&(this.$gutterLayer.$padding=null),E?this.$renderChanges(S|this.$changes,!0):this.$loop.schedule(S|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},O.prototype.$updateCachedSize=function(E,D,R,j){var N=0,S=this.$size,k={width:S.width,height:S.height,scrollerHeight:S.scrollerHeight,scrollerWidth:S.scrollerWidth};if((j-=this.$extraHeight||0)&&(E||S.height!=j)&&(S.height=j,N|=this.CHANGE_SIZE,S.scrollerHeight=S.height,this.$horizScroll&&(S.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(S.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",N|=this.CHANGE_SCROLL),R&&(E||S.width!=R)){N|=this.CHANGE_SIZE,S.width=R,null==D&&(D=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=D,o.setStyle(this.scrollBarH.element.style,"left",D+"px"),o.setStyle(this.scroller.style,"left",D+this.margin.left+"px"),S.scrollerWidth=Math.max(0,R-D-this.scrollBarV.getWidth()-this.margin.h),o.setStyle(this.$gutter.style,"left",this.margin.left+"px");var F=this.scrollBarV.getWidth()+"px";o.setStyle(this.scrollBarH.element.style,"right",F),o.setStyle(this.scroller.style,"right",F),o.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(S.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||E)&&(N|=this.CHANGE_FULL)}return S.$dirty=!R||!j,N&&this._signal("resize",k),N},O.prototype.onGutterResize=function(E){var D=this.$showGutter?E:0;D!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,D,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 D=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(D,this.$showPrintMargin&&this.$printMarginColumn)},O.prototype.setAnimatedScroll=function(E){this.setOption("animatedScroll",E)},O.prototype.getAnimatedScroll=function(){return this.$animatedScroll},O.prototype.setShowInvisibles=function(E){this.setOption("showInvisibles",E),this.session.$bidiHandler.setShowInvisibles(E)},O.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},O.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},O.prototype.setDisplayIndentGuides=function(E){this.setOption("displayIndentGuides",E)},O.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},O.prototype.setHighlightIndentGuides=function(E){this.setOption("highlightIndentGuides",E)},O.prototype.setShowPrintMargin=function(E){this.setOption("showPrintMargin",E)},O.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},O.prototype.setPrintMarginColumn=function(E){this.setOption("printMarginColumn",E)},O.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},O.prototype.getShowGutter=function(){return this.getOption("showGutter")},O.prototype.setShowGutter=function(E){return this.setOption("showGutter",E)},O.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},O.prototype.setFadeFoldWidgets=function(E){this.setOption("fadeFoldWidgets",E)},O.prototype.setHighlightGutterLine=function(E){this.setOption("highlightGutterLine",E)},O.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},O.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var E=o.createElement("div");E.className="ace_layer ace_print-margin-layer",this.$printMarginEl=o.createElement("div"),this.$printMarginEl.className="ace_print-margin",E.appendChild(this.$printMarginEl),this.content.insertBefore(E,this.content.firstChild)}var D=this.$printMarginEl.style;D.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",D.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 E=this.textarea.style,D=this.$composition;if(!this.$keepTextAreaAtCursor&&!D)return void o.translate(this.textarea,-100,0);var R=this.$cursorLayer.$pixelPos;if(R){D&&D.markerRange&&(R=this.$cursorLayer.getPixelPosition(D.markerRange.start,!0));var j=this.layerConfig,N=R.top,S=R.left,k=D&&D.useTextareaForIME||A.isMobile?this.lineHeight:1;if((N-=j.offset)<0||N>j.height-k)return void o.translate(this.textarea,0,0);var F=1,Y=this.$size.height-k;D?D.useTextareaForIME?F=this.characterWidth*this.session.$getStringScreenWidth(this.textarea.value)[0]:N+=this.lineHeight+2:N+=this.lineHeight,(S-=this.scrollLeft)>this.$size.scrollerWidth-F&&(S=this.$size.scrollerWidth-F),S+=this.gutterWidth+this.margin.left,o.setStyle(E,"height",k+"px"),o.setStyle(E,"width",F+"px"),o.translate(this.textarea,Math.min(S,this.$size.scrollerWidth-F),Math.min(N,Y))}}},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 E=this.layerConfig,D=E.lastRow;return this.session.documentToScreenRow(D,0)*E.lineHeight-this.session.getScrollTop()>E.height-E.lineHeight?D-1:D},O.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},O.prototype.setPadding=function(E){this.$padding=E,this.$textLayer.setPadding(E),this.$cursorLayer.setPadding(E),this.$markerFront.setPadding(E),this.$markerBack.setPadding(E),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},O.prototype.setScrollMargin=function(E,D,R,j){var N=this.scrollMargin;N.top=0|E,N.bottom=0|D,N.right=0|j,N.left=0|R,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(E,D,R,j){var N=this.margin;N.top=0|E,N.bottom=0|D,N.right=0|j,N.left=0|R,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(E){this.setOption("hScrollBarAlwaysVisible",E)},O.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},O.prototype.setVScrollBarAlwaysVisible=function(E){this.setOption("vScrollBarAlwaysVisible",E)},O.prototype.$updateScrollBarV=function(){var E=this.layerConfig.maxHeight,D=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(E-=(D-this.lineHeight)*this.$scrollPastEnd)-D&&(E=this.scrollTop+D,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(E+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(E,D){if(this.$changes&&(E|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(E||D)){if(this.$size.$dirty)return this.$changes|=E,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",E),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var R=this.layerConfig;if(E&this.CHANGE_FULL||E&this.CHANGE_SIZE||E&this.CHANGE_TEXT||E&this.CHANGE_LINES||E&this.CHANGE_SCROLL||E&this.CHANGE_H_SCROLL){if(E|=this.$computeLayerConfig()|this.$loop.clear(),R.firstRow!=this.layerConfig.firstRow&&R.firstRowScreen==this.layerConfig.firstRowScreen){var j=this.scrollTop+(R.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;j>0&&(this.scrollTop=j,E|=this.CHANGE_SCROLL,E|=this.$computeLayerConfig()|this.$loop.clear())}R=this.layerConfig,this.$updateScrollBarV(),E&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),o.translate(this.content,-this.scrollLeft,-R.offset);var S=R.minHeight+"px";o.setStyle(this.content.style,"width",R.width+2*this.$padding+"px"),o.setStyle(this.content.style,"height",S)}return E&this.CHANGE_H_SCROLL&&(o.translate(this.content,-this.scrollLeft,-R.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),E&this.CHANGE_FULL?(this.$changedLines=null,this.$textLayer.update(R),this.$showGutter&&this.$gutterLayer.update(R),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(R),this.$markerBack.update(R),this.$markerFront.update(R),this.$cursorLayer.update(R),this.$moveTextAreaToCursor(),void this._signal("afterRender",E)):E&this.CHANGE_SCROLL?(this.$changedLines=null,E&this.CHANGE_TEXT||E&this.CHANGE_LINES?this.$textLayer.update(R):this.$textLayer.scrollLines(R),this.$showGutter&&(E&this.CHANGE_GUTTER||E&this.CHANGE_LINES?this.$gutterLayer.update(R):this.$gutterLayer.scrollLines(R)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(R),this.$markerBack.update(R),this.$markerFront.update(R),this.$cursorLayer.update(R),this.$moveTextAreaToCursor(),void this._signal("afterRender",E)):(E&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(R),this.$showGutter&&this.$gutterLayer.update(R),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(R)):E&this.CHANGE_LINES?((this.$updateLines()||E&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(R),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(R)):E&this.CHANGE_TEXT||E&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(R),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(R)):E&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(R),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(R)),E&this.CHANGE_CURSOR&&(this.$cursorLayer.update(R),this.$moveTextAreaToCursor()),E&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(R),E&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(R),void this._signal("afterRender",E))}this.$changes|=E},O.prototype.$autosize=function(){var E=this.session.getScreenLength()*this.lineHeight,D=this.$maxLines*this.lineHeight,R=Math.min(D,Math.max((this.$minLines||1)*this.lineHeight,E))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(R+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&R>this.$maxPixelHeight&&(R=this.$maxPixelHeight);var N=!(R<=2*this.lineHeight)&&E>D;if(R!=this.desiredHeight||this.$size.height!=this.desiredHeight||N!=this.$vScroll){N!=this.$vScroll&&(this.$vScroll=N,this.scrollBarV.setVisible(N));var S=this.container.clientWidth;this.container.style.height=R+"px",this.$updateCachedSize(!0,this.$gutterWidth,S,R),this.desiredHeight=R,this._signal("autosize")}},O.prototype.$computeLayerConfig=function(){var E=this.session,D=this.$size,R=D.height<=2*this.lineHeight,N=this.session.getScreenLength()*this.lineHeight,S=this.$getLongestLine(),k=!R&&(this.$hScrollBarAlwaysVisible||D.scrollerWidth-S-2*this.$padding<0),F=this.$horizScroll!==k;F&&(this.$horizScroll=k,this.scrollBarH.setVisible(k));var Y=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var se=D.scrollerHeight+this.lineHeight,ne=!this.$maxLines&&this.$scrollPastEnd?(D.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;N+=ne;var me=this.scrollMargin;this.session.setScrollTop(Math.max(-me.top,Math.min(this.scrollTop,N-D.scrollerHeight+me.bottom))),this.session.setScrollLeft(Math.max(-me.left,Math.min(this.scrollLeft,S+2*this.$padding-D.scrollerWidth+me.right)));var $=!R&&(this.$vScrollBarAlwaysVisible||D.scrollerHeight-N+ne<0||this.scrollTop>me.top),q=Y!==$;q&&(this.$vScroll=$,this.scrollBarV.setVisible($));var Xe,Be,Q=this.scrollTop%this.lineHeight,ue=Math.ceil(se/this.lineHeight)-1,Me=Math.max(0,Math.round((this.scrollTop-Q)/this.lineHeight)),Oe=Me+ue,$e=this.lineHeight;Me=E.screenToDocumentRow(Me,0);var st=E.getFoldLine(Me);st&&(Me=st.start.row),Xe=E.documentToScreenRow(Me,0),Be=E.getRowLength(Me)*$e,Oe=Math.min(E.screenToDocumentRow(Oe,0),E.getLength()-1),se=D.scrollerHeight+E.getRowLength(Oe)*$e+Be,Q=this.scrollTop-Xe*$e;var Mt=0;return(this.layerConfig.width!=S||F)&&(Mt=this.CHANGE_H_SCROLL),(F||q)&&(Mt|=this.$updateCachedSize(!0,this.gutterWidth,D.width,D.height),this._signal("scrollbarVisibilityChanged"),q&&(S=this.$getLongestLine())),this.layerConfig={width:S,padding:this.$padding,firstRow:Me,firstRowScreen:Xe,lastRow:Oe,lineHeight:$e,characterWidth:this.characterWidth,minHeight:se,maxHeight:N,offset:Q,gutterOffset:$e?Math.max(0,Math.ceil((Q+D.height-D.scrollerHeight)/$e)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(S-this.$padding),Mt},O.prototype.$updateLines=function(){if(this.$changedLines){var E=this.$changedLines.firstRow,D=this.$changedLines.lastRow;this.$changedLines=null;var R=this.layerConfig;if(!(E>R.lastRow+1||Dthis.$textLayer.MAX_LINE_LENGTH&&(E=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(E*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(E,D){this.$gutterLayer.addGutterDecoration(E,D)},O.prototype.removeGutterDecoration=function(E,D){this.$gutterLayer.removeGutterDecoration(E,D)},O.prototype.updateBreakpoints=function(E){this.$loop.schedule(this.CHANGE_GUTTER)},O.prototype.setAnnotations=function(E){this.$gutterLayer.setAnnotations(E),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(E,D,R){this.scrollCursorIntoView(E,R),this.scrollCursorIntoView(D,R)},O.prototype.scrollCursorIntoView=function(E,D,R){if(0!==this.$size.scrollerHeight){var j=this.$cursorLayer.getPixelPosition(E),N=j.left,S=j.top,k=R&&R.top||0,F=R&&R.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var Y=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;Y+k>S?(D&&Y+k>S+this.lineHeight&&(S-=D*this.$size.scrollerHeight),0===S&&(S=-this.scrollMargin.top),this.session.setScrollTop(S)):Y+this.$size.scrollerHeight-F=1-this.scrollMargin.top||D>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||E<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||E>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},O.prototype.pixelToScreenCoordinates=function(E,D){var R;if(this.$hasCssTransforms){R={top:0,left:0};var j=this.$fontMetrics.transformCoordinates([E,D]);E=j[1]-this.gutterWidth-this.margin.left,D=j[0]}else R=this.scroller.getBoundingClientRect();var N=E+this.scrollLeft-R.left-this.$padding,S=N/this.characterWidth,k=Math.floor((D+this.scrollTop-R.top)/this.lineHeight),F=this.$blockCursor?Math.floor(S):Math.round(S);return{row:k,column:F,side:S-F>0?1:-1,offsetX:N}},O.prototype.screenToTextCoordinates=function(E,D){var R;if(this.$hasCssTransforms){R={top:0,left:0};var j=this.$fontMetrics.transformCoordinates([E,D]);E=j[1]-this.gutterWidth-this.margin.left,D=j[0]}else R=this.scroller.getBoundingClientRect();var N=E+this.scrollLeft-R.left-this.$padding,S=N/this.characterWidth,k=this.$blockCursor?Math.floor(S):Math.round(S),F=Math.floor((D+this.scrollTop-R.top)/this.lineHeight);return this.session.screenToDocumentPosition(F,Math.max(k,0),N)},O.prototype.textToScreenCoordinates=function(E,D){var R=this.scroller.getBoundingClientRect(),j=this.session.documentToScreenPosition(E,D),N=this.$padding+(this.session.$bidiHandler.isBidiRow(j.row,E)?this.session.$bidiHandler.getPosLeft(j.column):Math.round(j.column*this.characterWidth));return{pageX:R.left+N-this.scrollLeft,pageY:R.top+j.row*this.lineHeight-this.scrollTop}},O.prototype.visualizeFocus=function(){o.addCssClass(this.container,"ace_focus")},O.prototype.visualizeBlur=function(){o.removeCssClass(this.container,"ace_focus")},O.prototype.showComposition=function(E){this.$composition=E,E.cssText||(E.cssText=this.textarea.style.cssText),null==E.useTextareaForIME&&(E.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(o.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):E.markerId=this.session.addMarker(E.markerRange,"ace_composition_marker","text")},O.prototype.setCompositionText=function(E){var D=this.session.selection.cursor;this.addToken(E,"composition_placeholder",D.row,D.column),this.$moveTextAreaToCursor()},O.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),o.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var E=this.session.selection.cursor;this.removeExtraToken(E.row,E.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},O.prototype.setGhostText=function(E,D){var R=this.session.selection.cursor,j=D||{row:R.row,column:R.column};this.removeGhostText();var N=E.split("\n");this.addToken(N[0],"ghost_text",j.row,j.column),this.$ghostText={text:E,position:{row:j.row,column:j.column}},N.length>1&&(this.$ghostTextWidget={text:N.slice(1).join("\n"),row:j.row,column:j.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget))},O.prototype.removeGhostText=function(){if(this.$ghostText){var E=this.$ghostText.position;this.removeExtraToken(E.row,E.column),this.$ghostTextWidget&&(this.session.widgetManager.removeLineWidget(this.$ghostTextWidget),this.$ghostTextWidget=null),this.$ghostText=null}},O.prototype.addToken=function(E,D,R,j){var N=this.session;N.bgTokenizer.lines[R]=null;var S={type:D,value:E},k=N.getTokens(R);if(null!=j&&k.length)for(var F=0,Y=0;Y1||Math.abs(E.$size.height-j)>1?E.$resizeTimer.delay():E.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},O}();T.prototype.CHANGE_CURSOR=1,T.prototype.CHANGE_MARKER=2,T.prototype.CHANGE_GUTTER=4,T.prototype.CHANGE_SCROLL=8,T.prototype.CHANGE_LINES=16,T.prototype.CHANGE_TEXT=32,T.prototype.CHANGE_SIZE=64,T.prototype.CHANGE_MARKER_BACK=128,T.prototype.CHANGE_MARKER_FRONT=256,T.prototype.CHANGE_FULL=512,T.prototype.CHANGE_H_SCROLL=1024,T.prototype.$changes=0,T.prototype.$padding=null,T.prototype.$frozen=!1,T.prototype.STEPS=8,b.implement(T.prototype,x),a.defineOptions(T.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){o.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:!A.isMobile&&!A.isIE}}),p.VirtualRenderer=T}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(n,p,C){"use strict";var b=n("../lib/oop"),o=n("../lib/net"),v=n("../lib/event_emitter").EventEmitter,a=n("../config");function s(r){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(a.get("loadWorkerFromBlob")){var u=function c(r){var u="importScripts('"+o.qualifyURL(r)+"');";try{return new Blob([u],{type:"application/javascript"})}catch{var m=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return m.append(u),m.getBlob("application/javascript")}}(r),m=(window.URL||window.webkitURL).createObjectURL(u);return new Worker(m)}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(){b.implement(this,v),this.$createWorkerFromOldConfig=function(r,u,h,m,_){if(n.nameToUrl&&!n.toUrl&&(n.toUrl=n.nameToUrl),a.get("packaged")||!n.toUrl)m=m||a.moduleUrl(u,"worker");else{var M=this.$normalizePath;m=m||M(n.toUrl("ace/worker/worker.js",null,"_"));var x={};r.forEach(function(w){x[w]=M(n.toUrl(w,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=s(m),_&&this.send("importScripts",_),this.$worker.postMessage({init:!0,tlns:x,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 o.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 m=this.callbackId++;this.callbacks[m]=h,u.push(m)}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),p.UIWorkerClient=function(r,u,h){var m=null,_=!1,M=Object.create(v),x=[],w=new l({messageBuffer:x,terminate:function(){},postMessage:function(A){x.push(A),m&&(_?setTimeout(L):L())}});w.setEmitSync=function(A){_=A};var L=function(){var A=x.shift();A.command?m[A.command].apply(m,A.args):A.event&&M._signal(A.event,A.data)};return M.postMessage=function(A){w.onMessage({data:A})},M.callback=function(A,T){this.postMessage({type:"call",id:T,data:A})},M.emit=function(A,T){this.postMessage({type:"event",name:A,data:T})},a.loadModule(["worker",u],function(A){for(m=new A[h](M);x.length;)L()}),w},p.WorkerClient=l,p.createWorker=s}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(n,p,C){"use strict";var b=n("./range").Range,o=n("./lib/event_emitter").EventEmitter,v=n("./lib/oop"),a=function(){function c(s,l,d,r,u,h){var m=this;this.length=l,this.session=s,this.doc=s.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(){m.onCursorChange()})},this.$pos=d;var _=s.getUndoManager().$undoStack||s.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=_.length,this.setup(),s.selection.on("changeCursor",this.$onCursorChange)}return c.prototype.setup=function(){var s=this,l=this.doc,d=this.session;this.selectionBefore=d.selection.toJSON(),d.selection.inMultiSelectMode&&d.selection.toSingleRange(),this.pos=l.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=d.addMarker(new b(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(),s.others.push(h)}),d.setUndoSelect(!1)},c.prototype.showOtherMarkers=function(){if(!this.othersActive){var s=this.session,l=this;this.othersActive=!0,this.others.forEach(function(d){d.markerId=s.addMarker(new b(d.row,d.column,d.row,d.column+l.length),l.othersClass,null,!1)})}},c.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var s=0;s=this.pos.column&&l.start.column<=this.pos.column+this.length+1,u=l.start.column-this.pos.column;if(this.updateAnchors(s),r&&(this.length+=d),r&&!this.session.$fromUndo)if("insert"===s.action)for(var h=this.others.length-1;h>=0;h--)this.doc.insertMergedLines(_={row:(m=this.others[h]).row,column:m.column+u},s.lines);else if("remove"===s.action)for(h=this.others.length-1;h>=0;h--){var m,_;this.doc.remove(new b((_={row:(m=this.others[h]).row,column:m.column+u}).row,_.column,_.row,_.column-d))}this.$updating=!1,this.updateMarkers()}},c.prototype.updateAnchors=function(s){this.pos.onChange(s);for(var l=this.others.length;l--;)this.others[l].onChange(s);this.updateMarkers()},c.prototype.updateMarkers=function(){if(!this.$updating){var s=this,l=this.session,d=function(u,h){l.removeMarker(u.markerId),u.markerId=l.addMarker(new b(u.row,u.column,u.row,u.column+s.length),h,null,!1)};d(this.pos,this.mainClass);for(var r=this.others.length;r--;)d(this.others[r],this.othersClass)}},c.prototype.onCursorChange=function(s){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",s)):(this.hideOtherMarkers(),this._emit("cursorLeave",s))}},c.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},c.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var s=this.session.getUndoManager(),l=(s.$undoStack||s.$undostack).length-this.$undoStackDepth,d=0;d1?o.multiSelect.joinSelections():o.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(o){o.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(o){o.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(o){o.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],p.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(o){o.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(o){return o&&o.inMultiSelectMode}}];var b=n("../keyboard/hash_handler").HashHandler;p.keyboardHandler=new b(p.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(n,p,C){var b=n("./range_list").RangeList,o=n("./range").Range,v=n("./selection").Selection,a=n("./mouse/multi_select_handler").onMouseDown,c=n("./lib/event"),s=n("./lib/lang"),l=n("./commands/multi_select_commands");p.commands=l.defaultCommands.concat(l.multiSelectCommands);var r=new(0,n("./search").Search),h=n("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(w,L){if(w){if(!this.inMultiSelectMode&&0===this.rangeCount){var A=this.toOrientedRange();if(this.rangeList.add(A),this.rangeList.add(w),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),L||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(A),this.$onAddRange(A)}w.cursor||(w.cursor=w.end);var T=this.rangeList.add(w);return this.$onAddRange(w),T.length&&this.$onRemoveRange(T),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),L||this.fromOrientedRange(w)}},this.toSingleRange=function(w){w=w||this.ranges[0];var L=this.rangeList.removeAll();L.length&&this.$onRemoveRange(L),w&&this.fromOrientedRange(w)},this.substractPoint=function(w){var L=this.rangeList.substractPoint(w);if(L)return this.$onRemoveRange(L),L[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 L=this.rangeList.ranges.pop();w.push(L),this.rangeCount=0}for(var A=w.length;A--;){var T=this.ranges.indexOf(w[A]);this.ranges.splice(T,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)),(L=L||this.ranges[0])&&!L.isEqual(this.getRange())&&this.fromOrientedRange(L)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new b,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()],L=[],A=0;A1){var w=this.rangeList.ranges,L=w[w.length-1],A=o.fromPoints(w[0].start,L.end);this.toSingleRange(),this.setSelectionRange(A,L.cursor==L.start)}else{var T=this.session.documentToScreenPosition(this.cursor),O=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(T,O).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,L,A){var T=[],O=w.column0;)ne--;if(ne>0)for(var me=0;T[me].isEmpty();)me++;for(var $=ne;$>=me;$--)T[$].isEmpty()&&T.splice($,1)}return T}}.call(v.prototype);var m=n("./editor").Editor;function _(w,L){return w.row==L.row&&w.column==L.column}function M(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=p.onSessionChange.bind(w),w.$checkMultiselectChange=w.$checkMultiselectChange.bind(w),w.$multiselectOnSessionChange(w),w.on("changeSession",w.$multiselectOnSessionChange),w.on("mousedown",a),w.commands.addCommands(l.defaultCommands),function x(w){if(w.textInput){var L=w.textInput.getElement(),A=!1;c.addListener(L,"keydown",function(O){w.$blockSelectEnabled&&18==O.keyCode&&!(O.ctrlKey||O.shiftKey||O.metaKey)?A||(w.renderer.setMouseCursor("crosshair"),A=!0):A&&T()},w),c.addListener(L,"keyup",T,w),c.addListener(L,"blur",T,w)}function T(O){A&&(w.renderer.setMouseCursor(""),A=!1)}}(w))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(w){w.cursor||(w.cursor=w.end);var L=this.getSelectionStyle();return w.marker=this.session.addMarker(w,"ace_selection",L),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 L=this.session.$selectionMarkers.indexOf(w);-1!=L&&this.session.$selectionMarkers.splice(L,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(w){for(var L=this.session.$selectionMarkers,A=w.length;A--;){var T=w[A];if(T.marker){this.session.removeMarker(T.marker);var O=L.indexOf(T);-1!=O&&L.splice(O,1)}}this.session.selectionMarkerCount=L.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 L=w.command,A=w.editor;if(A.multiSelect){if(L.multiSelectAction)"forEach"==L.multiSelectAction?T=A.forEachSelection(L,w.args):"forEachLine"==L.multiSelectAction?T=A.forEachSelection(L,w.args,!0):"single"==L.multiSelectAction?(A.exitMultiSelectMode(),T=L.exec(A,w.args||{})):T=L.multiSelectAction(A,w.args||{});else{var T=L.exec(A,w.args||{});A.multiSelect.addRange(A.multiSelect.toOrientedRange()),A.multiSelect.mergeOverlappingRanges()}return T}},this.forEachSelection=function(w,L,A){if(!this.inVirtualSelectionMode){var N,O=1==A||A&&A.$byLines,E=this.session,D=this.selection,j=(A&&A.keepOrder?D:D.rangeList).ranges;if(!j.length)return w.exec?w.exec(this,L||{}):w(this,L||{});var S=D._eventRegistry;D._eventRegistry={};var k=new v(E);this.inVirtualSelectionMode=!0;for(var F=j.length;F--;){if(O)for(;F>0&&j[F].start.row==j[F-1].end.row;)F--;k.fromOrientedRange(j[F]),k.index=F,this.selection=E.selection=k;var Y=w.exec?w.exec(this,L||{}):w(this,L||{});!N&&void 0!==Y&&(N=Y),k.toOrientedRange(j[F])}k.detach(),this.selection=E.selection=D,this.inVirtualSelectionMode=!1,D._eventRegistry=S,D.mergeOverlappingRanges(),D.ranges[0]&&D.fromOrientedRange(D.ranges[0]);var se=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),se&&se.from==se.to&&this.renderer.animateScrolling(se.from),N}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var w="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var L=this.multiSelect.rangeList.ranges,A=[],T=0;TF&&(F=me.column),qQ?w.insert($,s.stringRepeat(" ",q-Q)):w.remove(new o($.row,$.column,$.row,$.column-q+Q)),ne.start.column=ne.end.column=F,ne.start.row=ne.end.row=$.row,ne.cursor=ne.end}),L.fromOrientedRange(A[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var E=this.selection.getRange(),D=E.start.row,R=E.end.row,j=D==R;if(j){var S,N=this.session.getLength();do{S=this.session.getLine(R)}while(/[=:]/.test(S)&&++R0);D<0&&(D=0),R>=N&&(R=N-1)}var k=this.session.removeFullLines(D,R);k=this.$reAlignText(k,j),this.session.insert({row:D,column:0},k.join("\n")+"\n"),j||(E.start.column=0,E.end.column=k[k.length-1].length),this.selection.setRange(E)}},this.$reAlignText=function(w,L){var O,E,D,A=!0,T=!0;return w.map(function(k){var F=k.match(/(\s*)(.*?)(\s*)([=:].*)/);return F?null==O?(O=F[1].length,E=F[2].length,D=F[3].length,F):(O+E+D!=F[1].length+F[2].length+F[3].length&&(T=!1),O!=F[1].length&&(A=!1),O>F[1].length&&(O=F[1].length),EF[3].length&&(D=F[3].length),F):[k]}).map(L?j:A?T?function N(k){return k[2]?R(O+E-k[2].length)+k[2]+R(D)+k[4].replace(/^([=:])\s+/,"$1 "):k[0]}:j:function S(k){return k[2]?R(O)+k[2]+R(D)+k[4].replace(/^([=:])\s+/,"$1 "):k[0]});function R(k){return s.stringRepeat(" ",k)}function j(k){return k[2]?R(O)+k[2]+R(E-k[2].length+D)+k[4].replace(/^([=:])\s+/,"$1 "):k[0]}}}).call(m.prototype),p.onSessionChange=function(w){var L=w.session;L&&!L.multiSelect&&(L.$selectionMarkers=[],L.selection.$initRangeList(),L.multiSelect=L.selection),this.multiSelect=L&&L.multiSelect;var A=w.oldSession;A&&(A.multiSelect.off("addRange",this.$onAddRange),A.multiSelect.off("removeRange",this.$onRemoveRange),A.multiSelect.off("multiSelect",this.$onMultiSelect),A.multiSelect.off("singleSelect",this.$onSingleSelect),A.multiSelect.lead.off("change",this.$checkMultiselectChange),A.multiSelect.anchor.off("change",this.$checkMultiselectChange)),L&&(L.multiSelect.on("addRange",this.$onAddRange),L.multiSelect.on("removeRange",this.$onRemoveRange),L.multiSelect.on("multiSelect",this.$onMultiSelect),L.multiSelect.on("singleSelect",this.$onSingleSelect),L.multiSelect.lead.on("change",this.$checkMultiselectChange),L.multiSelect.anchor.on("change",this.$checkMultiselectChange)),L&&this.inMultiSelectMode!=L.selection.inMultiSelectMode&&(L.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},p.MultiSelect=M,n("./config").defineOptions(m.prototype,"editor",{enableMultiselect:{set:function(w){M(this),w?this.on("mousedown",a):this.off("mousedown",a)},value:!0},enableBlockSelect:{set:function(w){this.$blockSelectEnabled=w},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(n,p,C){"use strict";var b=n("../../range").Range,o=p.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(v,a,c){var s=v.getLine(c);return this.foldingStartMarker.test(s)?"start":"markbeginend"==a&&this.foldingStopMarker&&this.foldingStopMarker.test(s)?"end":""},this.getFoldWidgetRange=function(v,a,c){return null},this.indentationBlock=function(v,a,c){var s=/\S/,l=v.getLine(a),d=l.search(s);if(-1!=d){for(var r=c||l.length,u=v.getLength(),h=a,m=a;++ah){var x=v.getLine(m).length;return new b(h,r,m,x)}}},this.openingBracketBlock=function(v,a,c,s,l){var d={row:c,column:s+1},r=v.$findClosingBracket(a,d,l);if(r){var u=v.foldWidgets[r.row];return null==u&&(u=v.getFoldWidget(r.row)),"start"==u&&r.row>d.row&&(r.row--,r.column=v.getLine(r.row).length),b.fromPoints(d,r)}},this.closingBracketBlock=function(v,a,c,s,l){var d={row:c,column:s},r=v.$findOpeningBracket(a,d);if(r)return r.column++,d.column--,b.fromPoints(r,d)}}).call(o.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(n,p,C){"use strict";var b=n("../line_widgets").LineWidgets,o=n("../lib/dom"),v=n("../range").Range,a=n("../config").nls;p.showErrorMarker=function(l,d){var r=l.session;r.widgetManager||(r.widgetManager=new b(r),r.widgetManager.attach(l));var u=l.getCursorPosition(),h=u.row,m=r.widgetManager.getWidgetsAtRow(h).filter(function(E){return"errorMarker"==E.type})[0];m?m.destroy():h-=d;var M,_=function s(l,d,r){var u=l.getAnnotations().sort(v.comparePoints);if(u.length){var h=function c(l,d,r){for(var u=0,h=l.length-1;u<=h;){var m=u+h>>1,_=r(d,l[m]);if(_>0)u=m+1;else{if(!(_<0))return m;h=m-1}}return-(u+1)}(u,{row:d,column:-1},v.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 m=u[h];if(m&&r){if(m.row===d){do{m=u[h+=r]}while(m&&m.row===d);if(!m)return u.slice()}var _=[];d=m.row;do{_[r<0?"unshift":"push"](m),m=u[h+=r]}while(m&&m.row==d);return _.length&&_}}}(r,h,d);if(_){var x=_[0];u.column=(x.pos&&"number"!=typeof x.column?x.pos.sc:x.column)||0,u.row=x.row,M=l.renderer.$gutterLayer.$annotations[u.row]}else{if(m)return;M={text:[a("Looks good!")],className:"ace_ok"}}l.session.unfold(u.row),l.selection.moveToPosition(u);var w={row:u.row,fixedWidth:!0,coverGutter:!0,el:o.createElement("div"),type:"errorMarker"},L=w.el.appendChild(o.createElement("div")),A=w.el.appendChild(o.createElement("div"));A.className="error_widget_arrow "+M.className;var T=l.renderer.$cursorLayer.getPixelPosition(u).left;A.style.left=T+l.renderer.gutterWidth-5+"px",w.el.className="error_widget_wrapper",L.className="error_widget "+M.className,L.innerHTML=M.text.join("
"),L.appendChild(o.createElement("div"));var O=function(E,D,R){if(0===D&&("esc"===R||"return"===R))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})},o.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(n,p,C){"use strict";n("./loader_build")(p);var b=n("./lib/dom"),o=n("./range").Range,v=n("./editor").Editor,a=n("./edit_session").EditSession,c=n("./undomanager").UndoManager,s=n("./virtual_renderer").VirtualRenderer;n("./worker/worker_client"),n("./keyboard/hash_handler"),n("./placeholder"),n("./multi_select"),n("./mode/folding/fold_mode"),n("./theme/textmate"),n("./ext/error_marker"),p.config=n("./config"),p.edit=function(l,d){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 v)return l.env.editor;var u="";if(l&&/input|textarea/i.test(l.tagName)){var h=l;u=h.value,l=b.createElement("pre"),h.parentNode.replaceChild(l,h)}else l&&(u=l.textContent,l.innerHTML="");var m=p.createEditSession(u),_=new v(new s(l),m,d),M={document:m,editor:_,onResize:_.resize.bind(_,null)};return h&&(M.textarea=h),_.on("destroy",function(){M.editor.container.env=null}),_.container.env=_.env=M,_},p.createEditSession=function(l,d){var r=new a(l,d);return r.setUndoManager(new c),r},p.Range=o,p.Editor=v,p.EditSession=a,p.UndoManager=c,p.VirtualRenderer=s,p.version=p.config.version}),ace.require(["ace/ace"],function(n){for(var p in n&&(n.config.init(!0),n.define=ace.define),window.ace||(window.ace=n),n)n.hasOwnProperty(p)&&(window.ace[p]=n[p]);window.ace.default=window.ace,Se&&(Se.exports=window.ace)})},5899:Se=>{function X(){}Se.exports=X,Se.exports.HttpsAgent=X},6357:(Se,X,g)=>{const{Token:n}=g(6205),p=g(9042),{Interval:C}=g(9173);class b{}Se.exports=class o extends b{constructor(a){super(),this.tokenSource=a,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(a){}reset(){this.seek(0)}seek(a){this.lazyInit(),this.index=this.adjustSeekIndex(a)}get(a){return this.lazyInit(),this.tokens[a]}consume(){let a=!1;if(a=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(c)>=c}fetch(a){if(this.fetchedEOF)return 0;for(let c=0;c=this.tokens.length&&(c=this.tokens.length-1);for(let d=a;d=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[c]}adjustSeekIndex(a){return a}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(a){this.tokenSource=a,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(a,c){if(this.sync(a),a>=this.tokens.length)return-1;let s=this.tokens[a];for(;s.channel!==this.channel;){if(s.type===n.EOF)return-1;this.sync(a+=1),s=this.tokens[a]}return a}previousTokenOnChannel(a,c){for(;a>=0&&this.tokens[a].channel!==c;)a-=1;return a}getHiddenTokensToRight(a,c){if(void 0===c&&(c=-1),this.lazyInit(),a<0||a>=this.tokens.length)throw a+" not in 0.."+this.tokens.length-1;const s=this.nextTokenOnChannel(a+1,p.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(a+1,-1===s?this.tokens.length-1:s,c)}getHiddenTokensToLeft(a,c){if(void 0===c&&(c=-1),this.lazyInit(),a<0||a>=this.tokens.length)throw a+" not in 0.."+this.tokens.length-1;const s=this.previousTokenOnChannel(a-1,p.DEFAULT_TOKEN_CHANNEL);return s===a-1?null:this.filterForChannel(s+1,a-1,c)}filterForChannel(a,c,s){const l=[];for(let d=a;d=this.tokens.length&&(s=this.tokens.length-1);let l="";for(let d=c;d{const n=g(6205).CommonToken;class p{}class C extends p{constructor(o){super(),this.copyText=void 0!==o&&o}create(o,v,a,c,s,l,d,r){const u=new n(o,v,c,s,l);return u.line=d,u.column=r,null!==a?u.text=a:this.copyText&&null!==o[1]&&(u.text=o[1].getText(s,l)),u}createThin(o,v){const a=new n(null,o);return a.text=v,a}}C.DEFAULT=new C,Se.exports=C},7456:(Se,X,g)=>{const n=g(6205).Token,p=g(6357);Se.exports=class C extends p{constructor(o,v){super(o),this.channel=void 0===v?n.DEFAULT_CHANNEL:v}adjustSeekIndex(o){return this.nextTokenOnChannel(o,this.channel)}LB(o){if(0===o||this.index-o<0)return null;let v=this.index,a=1;for(;a<=o;)v=this.previousTokenOnChannel(v-1,this.channel),a+=1;return v<0?null:this.tokens[v]}LT(o){if(this.lazyInit(),0===o)return null;if(o<0)return this.LB(-o);let v=this.index,a=1;for(;a{const{Token:n}=g(6205);g(6419),g(9182),Se.exports=class p{constructor(b,o){if(this.name="",this.strdata=b,this.decodeToUnicodeCodePoints=o||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let v=0;v=this._size)throw"cannot consume EOF";this._index+=1}LA(b){if(0===b)return 0;b<0&&(b+=1);const o=this._index+b-1;return o<0||o>=this._size?n.EOF:this.data[o]}LT(b){return this.LA(b)}mark(){return-1}release(b){}seek(b){this._index=b<=this._index?b:Math.min(b,this._size)}getText(b,o){if(o>=this._size&&(o=this._size-1),b>=this._size)return"";if(this.decodeToUnicodeCodePoints){let v="";for(let a=b;a<=o;a++)v+=String.fromCodePoint(this.data[a]);return v}return this.strdata.slice(b,o+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}},9173:(Se,X,g)=>{const{Token:n}=g(6205);class p{constructor(o,v){this.start=o,this.stop=v}clone(){return new p(this.start,this.stop)}contains(o){return o>=this.start&&othis.addInterval(v),this),this}reduce(o){if(o=a.stop?(this.intervals.splice(o+1,1),this.reduce(o)):v.stop>=a.start&&(this.intervals[o]=new p(v.start,a.stop),this.intervals.splice(o+1,1))}}complement(o,v){const a=new C;return a.addInterval(new p(o,v+1)),null!==this.intervals&&this.intervals.forEach(c=>a.removeRange(c)),a}contains(o){if(null===this.intervals)return!1;for(let v=0;vc.start&&o.stop=c.stop?(this.intervals.splice(v,1),v-=1):o.start":"'"+String.fromCharCode(a.start)+"'":"'"+String.fromCharCode(a.start)+"'..'"+String.fromCharCode(a.stop-1)+"'")}return o.length>1?"{"+o.join(", ")+"}":o[0]}toIndexString(){const o=[];for(let v=0;v":a.start.toString():a.start.toString()+".."+(a.stop-1).toString())}return o.length>1?"{"+o.join(", ")+"}":o[0]}toTokenString(o,v){const a=[];for(let c=0;c1?"{"+a.join(", ")+"}":a[0]}elementName(o,v,a){return a===n.EOF?"":a===n.EPSILON?"":o[a]||v[a]}get length(){return this.intervals.map(o=>o.length).reduce((o,v)=>o+v)}}Se.exports={Interval:p,IntervalSet:C}},4589:(Se,X,g)=>{const{Set:n,BitSet:p}=g(3340),{Token:C}=g(6205),{ATNConfig:b}=g(7745),{IntervalSet:o}=g(9173),{RuleStopState:v}=g(5516),{RuleTransition:a,NotSetTransition:c,WildcardTransition:s,AbstractPredicateTransition:l}=g(6850),{predictionContextFromRuleContext:d,PredictionContext:r,SingletonPredictionContext:u}=g(6185);class h{constructor(_){this.atn=_}getDecisionLookahead(_){if(null===_)return null;const M=_.transitions.length,x=[];for(let w=0;w{const{Token:n}=g(6205),p=g(9495),C=g(9882),{RecognitionException:b}=g(5858),{LexerNoViableAltException:o}=g(5858);class a extends p{constructor(s){super(),this._input=s,this._factory=C.DEFAULT,this._tokenFactorySourcePair=[this,s],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=n.DEFAULT_CHANNEL,this._type=n.INVALID_TYPE,this._modeStack=[],this._mode=a.DEFAULT_MODE,this._text=null}reset(){null!==this._input&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=a.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(null===this._input)throw"nextToken requires a non-null input stream.";const s=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let l=!1;for(;;){this._type=n.INVALID_TYPE;let d=a.SKIP;try{d=this._interp.match(this._input,this._mode)}catch(r){if(!(r instanceof b))throw console.log(r.stack),r;this.notifyListeners(r),this.recover(r)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=d),this._type===a.SKIP){l=!0;break}if(this._type!==a.MORE)break}if(!l)return null===this._token&&this.emit(),this._token}}finally{this._input.release(s)}}skip(){this._type=a.SKIP}more(){this._type=a.MORE}mode(s){this._mode=s}pushMode(s){this._interp.debug&&console.log("pushMode "+s),this._modeStack.push(this._mode),this.mode(s)}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(s){this._token=s}emit(){const s=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(s),s}emitEOF(){const d=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,this.line,this.column);return this.emitToken(d),d}getCharIndex(){return this._input.index}getAllTokens(){const s=[];let l=this.nextToken();for(;l.type!==n.EOF;)s.push(l),l=this.nextToken();return s}notifyListeners(s){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,s)}getErrorDisplay(s){const l=[];for(let d=0;d":"\n"===s?"\\n":"\t"===s?"\\t":"\r"===s?"\\r":s}getCharErrorDisplay(s){return"'"+this.getErrorDisplayForChar(s)+"'"}recover(s){this._input.LA(1)!==n.EOF&&(s instanceof o?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(s){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=s,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(s){this._type=s}get line(){return this._interp.line}set line(s){this._interp.line=s}get column(){return this._interp.column}set column(s){this._interp.column=s}get text(){return null!==this._text?this._text:this._interp.getText(this._input)}set text(s){this._text=s}}a.DEFAULT_MODE=0,a.MORE=-2,a.SKIP=-3,a.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,a.HIDDEN=n.HIDDEN_CHANNEL,a.MIN_CHAR_VALUE=0,a.MAX_CHAR_VALUE=1114111,Se.exports=a},111:(Se,X,g)=>{const{Token:n}=g(6205),{ParseTreeListener:p,TerminalNode:C,ErrorNode:b}=g(5829),o=g(9495),{DefaultErrorStrategy:v}=g(2487),a=g(7499),c=g(2905),s=g(9042);class l extends p{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)}}Se.exports=(()=>{class r extends o{constructor(h){super(),this._input=null,this._errHandler=new v,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 m=this.getCurrentToken();return m.type===h?(this._errHandler.reportMatch(this),this.consume()):(m=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===m.tokenIndex&&this._ctx.addErrorNode(m)),m}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 m=this._parseListeners.indexOf(h);m>=0&&this._parseListeners.splice(m,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(m){m.enterEveryRule(h),h.enterRule(m)})}}triggerExitRuleEvent(){if(null!==this._parseListeners){const h=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(m){h.exitRule(m),m.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 m=this.bypassAltsAtnCache[h];if(null===m){const _=new c;_.generateRuleBypassTransitions=!0,m=new a(_).deserialize(h),this.bypassAltsAtnCache[h]=m}return m}compileParseTreePattern(h,m,_){if(null===(_=_||null)&&null!==this.getTokenStream()){const x=this.getTokenStream().tokenSource;x instanceof s&&(_=x)}if(null===_)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(_,this).compile(h,m)}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,m,_){_=_||null,null===(m=m||null)&&(m=this.getCurrentToken()),this._syntaxErrors+=1;const M=m.line,x=m.column;this.getErrorListenerDispatch().syntaxError(this,m,M,x,h,_)}consume(){const h=this.getCurrentToken();h.type!==n.EOF&&this.getInputStream().consume();const m=null!==this._parseListeners&&this._parseListeners.length>0;if(this.buildParseTrees||m){let _;_=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(h):this._ctx.addTokenNode(h),_.invokingState=this.state,m&&this._parseListeners.forEach(function(M){_ instanceof b||void 0!==_.isErrorNode&&_.isErrorNode()?M.visitErrorNode(_):_ instanceof C&&M.visitTerminal(_)})}return h}addContextToParseTree(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(h,m,_){this.state=m,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,m){h.setAltNumber(m),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,m,_,M){this.state=m,this._precedenceStack.push(M),this._ctx=h,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(h,m,_){const M=this._ctx;M.parentCtx=h,M.invokingState=m,M.stop=this._input.LT(-1),this._ctx=h,this._ctx.start=M.start,this.buildParseTrees&&this._ctx.addChild(M),this.triggerEnterRuleEvent()}unrollRecursionContexts(h){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const m=this._ctx,_=this.getParseListeners();if(null!==_&&_.length>0)for(;this._ctx!==h;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=h;m.parentCtx=h,this.buildParseTrees&&null!==h&&h.addChild(m)}getInvokingContext(h){let m=this._ctx;for(;null!==m;){if(m.ruleIndex===h)return m;m=m.parentCtx}return null}precpred(h,m){return m>=this._precedenceStack[this._precedenceStack.length-1]}inContext(h){return!1}isExpectedToken(h){const m=this._interp.atn;let _=this._ctx,x=m.nextTokens(m.states[this.state]);if(x.contains(h))return!0;if(!x.contains(n.EPSILON))return!1;for(;null!==_&&_.invokingState>=0&&x.contains(n.EPSILON);){if(x=m.nextTokens(m.states[_.invokingState].transitions[0].followState),x.contains(h))return!0;_=_.parentCtx}return!(!x.contains(n.EPSILON)||h!==n.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 m=this.getRuleIndexMap()[h];return null!==m?m:-1}getRuleInvocationStack(h){null===(h=h||null)&&(h=this._ctx);const m=[];for(;null!==h;){const _=h.ruleIndex;m.push(_<0?"n/a":this.ruleNames[_]),h=h.parentCtx}return m}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let h=!1;for(let m=0;m0&&(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})()},7293:(Se,X,g)=>{const n=g(13),p=g(5829),C=p.INVALID_INTERVAL,b=p.TerminalNode,o=p.TerminalNodeImpl,v=p.ErrorNodeImpl,a=g(9173).Interval;class c extends n{constructor(d,r){super(d=d||null,r=r||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(d){this.parentCtx=d.parentCtx,this.invokingState=d.invokingState,this.children=null,this.start=d.start,this.stop=d.stop,d.children&&(this.children=[],d.children.map(function(r){r instanceof v&&(this.children.push(r),r.parentCtx=this)},this))}enterRule(d){}exitRule(d){}addChild(d){return null===this.children&&(this.children=[]),this.children.push(d),d}removeLastChild(){null!==this.children&&this.children.pop()}addTokenNode(d){const r=new o(d);return this.addChild(r),r.parentCtx=this,r}addErrorNode(d){const r=new v(d);return this.addChild(r),r.parentCtx=this,r}getChild(d,r){if(null===this.children||d<0||d>=this.children.length)return null;if(null===(r=r||null))return this.children[d];for(let u=0;u=this.children.length)return null;for(let u=0;u{const n=g(13),{Hash:p,Map:C,equalArrays:b}=g(3340);class o{constructor(w){this.cachedHashCode=w}isEmpty(){return this===o.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===o.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(w){w.update(this.cachedHashCode)}}o.EMPTY=null,o.EMPTY_RETURN_STATE=2147483647,o.globalNodeCount=1,o.id=o.globalNodeCount;class a extends o{constructor(w,L){let A=0;const T=new p;null!==w?T.update(w,L):T.update(1),A=T.finish(),super(A),this.parentCtx=w,this.returnState=L}getParent(w){return this.parentCtx}getReturnState(w){return this.returnState}equals(w){return this===w||w instanceof a&&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===o.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+w}get length(){return 1}static create(w,L){return L===o.EMPTY_RETURN_STATE&&null===w?o.EMPTY:new a(w,L)}}class c extends a{constructor(){super(null,o.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(w){return null}getReturnState(w){return this.returnState}equals(w){return this===w}toString(){return"$"}}o.EMPTY=new c;class s extends o{constructor(w,L){const A=new p;return A.update(w,L),super(A.finish()),this.parents=w,this.returnStates=L,this}isEmpty(){return this.returnStates[0]===o.EMPTY_RETURN_STATE}getParent(w){return this.parents[w]}getReturnState(w){return this.returnStates[w]}equals(w){return this===w||w instanceof s&&this.hashCode()===w.hashCode()&&b(this.returnStates,w.returnStates)&&b(this.parents,w.parents)}toString(){if(this.isEmpty())return"[]";{let w="[";for(let L=0;L0&&(w+=", "),this.returnStates[L]!==o.EMPTY_RETURN_STATE?(w+=this.returnStates[L],null!==this.parents[L]?w=w+" "+this.parents[L]:w+="null"):w+="$";return w+"]"}}get length(){return this.returnStates.length}}Se.exports={merge:function d(x,w,L,A){if(x===w)return x;if(x instanceof a&&w instanceof a)return function r(x,w,L,A){if(null!==A){let O=A.get(x,w);if(null!==O||(O=A.get(w,x),null!==O))return O}const T=function u(x,w,L){if(L){if(x===o.EMPTY||w===o.EMPTY)return o.EMPTY}else{if(x===o.EMPTY&&w===o.EMPTY)return o.EMPTY;if(x===o.EMPTY)return new s([w.parentCtx,null],[w.returnState,o.EMPTY_RETURN_STATE]);if(w===o.EMPTY)return new s([x.parentCtx,null],[x.returnState,o.EMPTY_RETURN_STATE])}return null}(x,w,L);if(null!==T)return null!==A&&A.set(x,w,T),T;if(x.returnState===w.returnState){const O=d(x.parentCtx,w.parentCtx,L,A);if(O===x.parentCtx)return x;if(O===w.parentCtx)return w;const E=a.create(O,x.returnState);return null!==A&&A.set(x,w,E),E}{let O=null;if((x===w||null!==x.parentCtx&&x.parentCtx===w.parentCtx)&&(O=x.parentCtx),null!==O){const j=[x.returnState,w.returnState];x.returnState>w.returnState&&(j[0]=w.returnState,j[1]=x.returnState);const S=new s([O,O],j);return null!==A&&A.set(x,w,S),S}const E=[x.returnState,w.returnState];let D=[x.parentCtx,w.parentCtx];x.returnState>w.returnState&&(E[0]=w.returnState,E[1]=x.returnState,D=[w.parentCtx,x.parentCtx]);const R=new s(D,E);return null!==A&&A.set(x,w,R),R}}(x,w,L,A);if(L){if(x instanceof c)return x;if(w instanceof c)return w}return x instanceof a&&(x=new s([x.getParent()],[x.returnState])),w instanceof a&&(w=new s([w.getParent()],[w.returnState])),function h(x,w,L,A){if(null!==A){let N=A.get(x,w);if(null!==N||(N=A.get(w,x),null!==N))return N}let T=0,O=0,E=0,D=[],R=[];for(;T{const{Token:n}=g(6205),{ConsoleErrorListener:p}=g(7967),{ProxyErrorListener:C}=g(7967);Se.exports=(()=>{class o{constructor(){this._listeners=[p.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(a){"4.9.3"!==a&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+a)}addErrorListener(a){this._listeners.push(a)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const a=this.getLiteralNames(),c=this.getSymbolicNames(),s=a.length>c.length?a.length:c.length;this.tokenNames=[];for(let l=0;l";let c=a.text;return null===c&&(c=a.type===n.EOF?"":"<"+a.type+">"),c=c.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+c+"'"}getErrorListenerDispatch(){return new C(this._listeners)}sempred(a,c,s){return!0}precpred(a,c){return!0}get state(){return this._stateNumber}set state(a){this._stateNumber=a}}return o.tokenTypeMapCache={},o.ruleIndexMapCache={},o})()},13:(Se,X,g)=>{const{RuleNode:n}=g(5829),{INVALID_INTERVAL:p}=g(5829),C=g(5140);Se.exports=class b extends n{constructor(v,a){super(),this.parentCtx=v||null,this.invokingState=a||-1}depth(){let v=0,a=this;for(;null!==a;)a=a.parentCtx,v+=1;return v}isEmpty(){return-1===this.invokingState}getSourceInterval(){return p}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(v){return v.getText()}).join("")}getAltNumber(){return 0}setAltNumber(v){}getChild(v){return null}getChildCount(){return 0}accept(v){return v.visitChildren(this)}toStringTree(v,a){return C.toStringTree(this,v,a)}toString(v,a){v=v||null,a=a||null;let c=this,s="[";for(;null!==c&&c!==a;){if(null===v)c.isEmpty()||(s+=c.invokingState);else{const l=c.ruleIndex;s+=l>=0&&l{let X=(()=>{class n{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(C){this._text=C}}return n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,n})();Se.exports={Token:X,CommonToken:(()=>{class n extends X{constructor(C,b,o,v,a){super(),this.source=void 0!==C?C:n.EMPTY_SOURCE,this.type=void 0!==b?b:null,this.channel=void 0!==o?o:X.DEFAULT_CHANNEL,this.start=void 0!==v?v:-1,this.stop=void 0!==a?a:-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 n(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 b=C.size;return this.start"}set text(C){this._text=C}}return n.EMPTY_SOURCE=[null,null],n})()}},3340:Se=>{function X(u){return null===u?"null":u}function g(u){return Array.isArray(u)?"["+u.map(X).join(", ")+"]":"null"}function n(u,h){return u?u.equals(h):u==h}function p(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,m;const _=3&u.length,M=u.length-_;let x=String.prototype.seed;const w=3432918353,L=461845907;let A=0;for(;A>>16)*w&65535)<<16)&4294967295,m=m<<15|m>>>17,m=(65535&m)*L+(((m>>>16)*L&65535)<<16)&4294967295,x^=m,x=x<<13|x>>>19,h=5*(65535&x)+((5*(x>>>16)&65535)<<16)&4294967295,x=27492+(65535&h)+((58964+(h>>>16)&65535)<<16);switch(m=0,_){case 3:m^=(255&u.charCodeAt(A+2))<<16;case 2:m^=(255&u.charCodeAt(A+1))<<8;case 1:m^=255&u.charCodeAt(A),m=(65535&m)*w+(((m>>>16)*w&65535)<<16)&4294967295,m=m<<15|m>>>17,m=(65535&m)*L+(((m>>>16)*L&65535)<<16)&4294967295,x^=m}return x^=u.length,x^=x>>>16,x=2246822507*(65535&x)+((2246822507*(x>>>16)&65535)<<16)&4294967295,x^=x>>>13,x=3266489909*(65535&x)+((3266489909*(x>>>16)&65535)<<16)&4294967295,x^=x>>>16,x>>>0};class b{constructor(){this.data=[]}add(h){this.data[h]=!0}or(h){const m=this;Object.keys(h.data).map(function(_){m.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 c;return h.update(this.values()),h.finish()}equals(h){return h instanceof b&&this.hashCode()===h.hashCode()}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class o{constructor(h,m){this.data={},this.hashFunction=h||p,this.equalsFunction=m||n}put(h,m){const _="hash_"+this.hashFunction(h);if(_ in this.data){const M=this.data[_];for(let x=0;x>>17,_*=461845907,this.count=this.count+1;let M=this.hash^_;M=M<<13|M>>>19,M=5*M+3864292196,this.hash=M}}}finish(){let h=this.hash^4*this.count;return h^=h>>>16,h*=2246822507,h^=h>>>13,h*=3266489909,h^=h>>>16,h}}Se.exports={Hash:c,Set:class C{constructor(h,m){this.data={},this.hashFunction=h||p,this.equalsFunction=m||n}add(h){const _="hash_"+this.hashFunction(h);if(_ in this.data){const M=this.data[_];for(let x=0;x{const n=g(4589),{IntervalSet:p}=g(9173),{Token:C}=g(6205);Se.exports=(()=>{class o{constructor(a,c){this.grammarType=a,this.maxTokenType=c,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(a,c){return new n(this).LOOK(a,null,c)}nextTokensNoContext(a){return null!==a.nextTokenWithinRule||(a.nextTokenWithinRule=this.nextTokensInContext(a,null),a.nextTokenWithinRule.readOnly=!0),a.nextTokenWithinRule}nextTokens(a,c){return void 0===c?this.nextTokensNoContext(a):this.nextTokensInContext(a,c)}addState(a){null!==a&&(a.atn=this,a.stateNumber=this.states.length),this.states.push(a)}removeState(a){this.states[a.stateNumber]=null}defineDecisionState(a){return this.decisionToState.push(a),a.decision=this.decisionToState.length-1,a.decision}getDecisionState(a){return 0===this.decisionToState.length?null:this.decisionToState[a]}getExpectedTokens(a,c){if(a<0||a>=this.states.length)throw"Invalid state number.";let l=this.nextTokens(this.states[a]);if(!l.contains(C.EPSILON))return l;const d=new p;for(d.addSet(l),d.removeOne(C.EPSILON);null!==c&&c.invokingState>=0&&l.contains(C.EPSILON);)l=this.nextTokens(this.states[c.invokingState].transitions[0].followState),d.addSet(l),d.removeOne(C.EPSILON),c=c.parentCtx;return l.contains(C.EPSILON)&&d.addOne(C.EOF),d}}return o.INVALID_ALT_NUMBER=0,o})()},7745:(Se,X,g)=>{const{DecisionState:n}=g(5516),{SemanticContext:p}=g(9454),{Hash:C}=g(3340);function b(a,c){if(null===a){const s={state:null,alt:null,context:null,semanticContext:null};return c&&(s.reachesIntoOuterContext=0),s}{const s={};return s.state=a.state||null,s.alt=void 0===a.alt?null:a.alt,s.context=a.context||null,s.semanticContext=a.semanticContext||null,c&&(s.reachesIntoOuterContext=a.reachesIntoOuterContext||0,s.precedenceFilterSuppressed=a.precedenceFilterSuppressed||!1),s}}class o{constructor(c,s){this.checkContext(c,s),c=b(c),s=b(s,!0),this.state=null!==c.state?c.state:s.state,this.alt=null!==c.alt?c.alt:s.alt,this.context=null!==c.context?c.context:s.context,this.semanticContext=null!==c.semanticContext?c.semanticContext:null!==s.semanticContext?s.semanticContext:p.NONE,this.reachesIntoOuterContext=s.reachesIntoOuterContext,this.precedenceFilterSuppressed=s.precedenceFilterSuppressed}checkContext(c,s){null==c.context&&(null===s||null==s.context)&&(this.context=null)}hashCode(){const c=new C;return this.updateHashCode(c),c.finish()}updateHashCode(c){c.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(c){return this===c||c instanceof o&&this.state.stateNumber===c.state.stateNumber&&this.alt===c.alt&&(null===this.context?null===c.context:this.context.equals(c.context))&&this.semanticContext.equals(c.semanticContext)&&this.precedenceFilterSuppressed===c.precedenceFilterSuppressed}hashCodeForConfigSet(){const c=new C;return c.update(this.state.stateNumber,this.alt,this.semanticContext),c.finish()}equalsForConfigSet(c){return this===c||c instanceof o&&this.state.stateNumber===c.state.stateNumber&&this.alt===c.alt&&this.semanticContext.equals(c.semanticContext)}toString(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==p.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class v extends o{constructor(c,s){return super(c,s),this.lexerActionExecutor=c.lexerActionExecutor||(null!==s?s.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==s&&this.checkNonGreedyDecision(s,this.state),this.hashCodeForConfigSet=v.prototype.hashCode,this.equalsForConfigSet=v.prototype.equals,this}updateHashCode(c){c.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(c){return this===c||c instanceof v&&this.passedThroughNonGreedyDecision===c.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(c.lexerActionExecutor):!c.lexerActionExecutor)&&super.equals(c)}checkNonGreedyDecision(c,s){return c.passedThroughNonGreedyDecision||s instanceof n&&s.nonGreedy}}Se.exports.ATNConfig=o,Se.exports.LexerATNConfig=v},4280:(Se,X,g)=>{const n=g(9800),p=g(3340),{SemanticContext:C}=g(9454),{merge:b}=g(6185);function o(s){return s.hashCodeForConfigSet()}function v(s,l){return s===l||null!==s&&null!==l&&s.equalsForConfigSet(l)}class a{constructor(l){this.configLookup=new p.Set(o,v),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,d){if(void 0===d&&(d=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=b(r.context,l.context,!this.fullCtx,d);return r.reachesIntoOuterContext=Math.max(r.reachesIntoOuterContext,l.reachesIntoOuterContext),l.precedenceFilterSuppressed&&(r.precedenceFilterSuppressed=!0),r.context=h,!0}getStates(){const l=new p.Set;for(let d=0;d{class X{constructor(n){void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions}}X.defaultOptions=new X,X.defaultOptions.readOnly=!0,Se.exports=X},7499:(Se,X,g)=>{const{Token:n}=g(6205),p=g(9800),C=g(8729),{ATNState:b,BasicState:o,DecisionState:v,BlockStartState:a,BlockEndState:c,LoopEndState:s,RuleStartState:l,RuleStopState:d,TokensStartState:r,PlusLoopbackState:u,StarLoopbackState:h,StarLoopEntryState:m,PlusBlockStartState:_,StarBlockStartState:M,BasicBlockStartState:x}=g(5516),{Transition:w,AtomTransition:L,SetTransition:A,NotSetTransition:T,RuleTransition:O,RangeTransition:E,ActionTransition:D,EpsilonTransition:R,WildcardTransition:j,PredicateTransition:N,PrecedencePredicateTransition:S}=g(6850),{IntervalSet:k}=g(9173),F=g(2905),{LexerActionType:Y,LexerSkipAction:se,LexerChannelAction:ne,LexerCustomAction:me,LexerMoreAction:$,LexerTypeAction:q,LexerPushModeAction:Q,LexerPopModeAction:ue,LexerModeAction:Me}=g(201),Xe="59627784-3BE5-417A-B9EB-8131A7286089",Be=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Xe],st=Xe;function Mt(xt,nt){const ot=[];return ot[xt-1]=nt,ot.map(function(vt){return nt})}const bt=function St(){const xt=[];for(let nt=0;nt<256;nt++)xt[nt]=(nt+256).toString(16).substr(1).toUpperCase();return xt}();Se.exports=class tt{constructor(nt){null==nt&&(nt=F.defaultOptions),this.deserializationOptions=nt,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(nt,ot){const vt=Be.indexOf(nt);return!(vt<0)&&Be.indexOf(ot)>=vt}deserialize(nt){this.reset(nt),this.checkVersion(),this.checkUUID();const ot=this.readATN();this.readStates(ot),this.readRules(ot),this.readModes(ot);const vt=[];return this.readSets(ot,vt,this.readInt.bind(this)),this.isFeatureSupported(Xe,this.uuid)&&this.readSets(ot,vt,this.readInt32.bind(this)),this.readEdges(ot,vt),this.readDecisions(ot),this.readLexerActions(ot),this.markPrecedenceDecisions(ot),this.verifyATN(ot),this.deserializationOptions.generateRuleBypassTransitions&&ot.grammarType===C.PARSER&&(this.generateRuleBypassTransitions(ot),this.verifyATN(ot)),ot}reset(nt){const vt=nt.split("").map(function(rt){const J=rt.charCodeAt(0);return J>1?J-2:J+65534});vt[0]=nt.charCodeAt(0),this.data=vt,this.pos=0}checkVersion(){const nt=this.readInt();if(3!==nt)throw"Could not deserialize ATN with version "+nt+" (expected 3)."}checkUUID(){const nt=this.readUUID();if(Be.indexOf(nt)<0)throw st;this.uuid=nt}readATN(){const nt=this.readInt(),ot=this.readInt();return new p(nt,ot)}readStates(nt){let ot,vt,rt;const J=[],Ce=[],ee=this.readInt();for(let pe=0;pe0;)J.addTransition(ie.transitions[pe-1]),ie.transitions=ie.transitions.slice(-1);nt.ruleToStartState[ot].addTransition(new R(J)),Ce.addTransition(new R(ae));const Te=new o;nt.addState(Te),Te.addTransition(new L(Ce,nt.ruleToTokenType[ot])),J.addTransition(new R(Te))}stateIsEndStateFor(nt,ot){if(nt.ruleIndex!==ot||!(nt instanceof m))return null;const vt=nt.transitions[nt.transitions.length-1].target;return vt instanceof s&&vt.epsilonOnlyTransitions&&vt.transitions[0].target instanceof d?nt:null}markPrecedenceDecisions(nt){for(let ot=0;ot=0:vt.transitions.length<=1||vt instanceof d)}}checkCondition(nt,ot){if(!nt)throw null==ot&&(ot="IllegalState"),ot}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const nt=[];for(let ot=7;ot>=0;ot--){const vt=this.readInt();nt[2*ot+1]=255&vt,nt[2*ot]=vt>>8&255}return bt[nt[0]]+bt[nt[1]]+bt[nt[2]]+bt[nt[3]]+"-"+bt[nt[4]]+bt[nt[5]]+"-"+bt[nt[6]]+bt[nt[7]]+"-"+bt[nt[8]]+bt[nt[9]]+"-"+bt[nt[10]]+bt[nt[11]]+bt[nt[12]]+bt[nt[13]]+bt[nt[14]]+bt[nt[15]]}edgeFactory(nt,ot,vt,rt,J,Ce,ee,ae){const ie=nt.states[rt];switch(ot){case w.EPSILON:return new R(ie);case w.RANGE:return new E(ie,0!==ee?n.EOF:J,Ce);case w.RULE:return new O(nt.states[J],Ce,ee,ie);case w.PREDICATE:return new N(ie,J,Ce,0!==ee);case w.PRECEDENCE:return new S(ie,J);case w.ATOM:return new L(ie,0!==ee?n.EOF:J);case w.ACTION:return new D(ie,J,Ce,0!==ee);case w.SET:return new A(ie,ae[J]);case w.NOT_SET:return new T(ie,ae[J]);case w.WILDCARD:return new j(ie);default:throw"The specified transition type: "+ot+" is not valid."}}stateFactory(nt,ot){if(null===this.stateFactories){const vt=[];vt[b.INVALID_TYPE]=null,vt[b.BASIC]=()=>new o,vt[b.RULE_START]=()=>new l,vt[b.BLOCK_START]=()=>new x,vt[b.PLUS_BLOCK_START]=()=>new _,vt[b.STAR_BLOCK_START]=()=>new M,vt[b.TOKEN_START]=()=>new r,vt[b.RULE_STOP]=()=>new d,vt[b.BLOCK_END]=()=>new c,vt[b.STAR_LOOP_BACK]=()=>new h,vt[b.STAR_LOOP_ENTRY]=()=>new m,vt[b.PLUS_LOOP_BACK]=()=>new u,vt[b.LOOP_END]=()=>new s,this.stateFactories=vt}if(nt>this.stateFactories.length||null===this.stateFactories[nt])throw"The specified state type "+nt+" is not valid.";{const vt=this.stateFactories[nt]();if(null!==vt)return vt.ruleIndex=ot,vt}}lexerActionFactory(nt,ot,vt){if(null===this.actionFactories){const rt=[];rt[Y.CHANNEL]=(J,Ce)=>new ne(J),rt[Y.CUSTOM]=(J,Ce)=>new me(J,Ce),rt[Y.MODE]=(J,Ce)=>new Me(J),rt[Y.MORE]=(J,Ce)=>$.INSTANCE,rt[Y.POP_MODE]=(J,Ce)=>ue.INSTANCE,rt[Y.PUSH_MODE]=(J,Ce)=>new Q(J),rt[Y.SKIP]=(J,Ce)=>se.INSTANCE,rt[Y.TYPE]=(J,Ce)=>new q(J),this.actionFactories=rt}if(nt>this.actionFactories.length||null===this.actionFactories[nt])throw"The specified lexer action type "+nt+" is not valid.";return this.actionFactories[nt](ot,vt)}}},4675:(Se,X,g)=>{const{DFAState:n}=g(5468),{ATNConfigSet:p}=g(4280),{getCachedPredictionContext:C}=g(6185),{Map:b}=g(3340);class o{constructor(a,c){return this.atn=a,this.sharedContextCache=c,this}getCachedContext(a){if(null===this.sharedContextCache)return a;const c=new b;return C(a,this.sharedContextCache,c)}}o.ERROR=new n(2147483647,new p),Se.exports=o},5516:Se=>{let g=(()=>{class m{constructor(){this.atn=null,this.stateNumber=m.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(M){return M instanceof m&&this.stateNumber===M.stateNumber}isNonGreedyExitState(){return!1}addTransition(M,x){void 0===x&&(x=-1),0===this.transitions.length?this.epsilonOnlyTransitions=M.isEpsilon:this.epsilonOnlyTransitions!==M.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===x?this.transitions.push(M):this.transitions.splice(x,1,M)}}return m.INVALID_TYPE=0,m.BASIC=1,m.RULE_START=2,m.BLOCK_START=3,m.PLUS_BLOCK_START=4,m.STAR_BLOCK_START=5,m.TOKEN_START=6,m.RULE_STOP=7,m.BLOCK_END=8,m.STAR_LOOP_BACK=9,m.STAR_LOOP_ENTRY=10,m.PLUS_LOOP_BACK=11,m.LOOP_END=12,m.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"],m.INVALID_STATE_NUMBER=-1,m})();class p extends g{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class C extends p{constructor(){return super(),this.endState=null,this}}Se.exports={ATNState:g,BasicState:class n extends g{constructor(){super(),this.stateType=g.BASIC}},DecisionState:p,BlockStartState:C,BlockEndState:class o 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 a extends g{constructor(){return super(),this.stateType=g.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class v extends g{constructor(){return super(),this.stateType=g.RULE_STOP,this}},TokensStartState:class h extends p{constructor(){return super(),this.stateType=g.TOKEN_START,this}},PlusLoopbackState:class c extends p{constructor(){return super(),this.stateType=g.PLUS_LOOP_BACK,this}},StarLoopbackState:class d extends g{constructor(){return super(),this.stateType=g.STAR_LOOP_BACK,this}},StarLoopEntryState:class r extends p{constructor(){return super(),this.stateType=g.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}},PlusBlockStartState:class s 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 b extends C{constructor(){return super(),this.stateType=g.BLOCK_START,this}}}},8729:Se=>{Se.exports={LEXER:0,PARSER:1}},9462:(Se,X,g)=>{const{Token:n}=g(6205),p=g(9042),C=g(9800),b=g(4675),{DFAState:o}=g(5468),{OrderedATNConfigSet:v}=g(4280),{PredictionContext:a}=g(6185),{SingletonPredictionContext:c}=g(6185),{RuleStopState:s}=g(5516),{LexerATNConfig:l}=g(7745),{Transition:d}=g(6850),r=g(5168),{LexerNoViableAltException:u}=g(5858);function h(M){M.index=-1,M.line=0,M.column=-1,M.dfaState=null}class m{constructor(){h(this)}reset(){h(this)}}Se.exports=(()=>{class M extends b{constructor(w,L,A,T){super(L,T),this.decisionToDFA=A,this.recog=w,this.startIndex=-1,this.line=1,this.column=0,this.mode=p.DEFAULT_MODE,this.prevAccept=new m}copyState(w){this.column=w.column,this.line=w.line,this.mode=w.mode,this.startIndex=w.startIndex}match(w,L){this.match_calls+=1,this.mode=L;const A=w.mark();try{this.startIndex=w.index,this.prevAccept.reset();const T=this.decisionToDFA[L];return null===T.s0?this.matchATN(w):this.execATN(w,T.s0)}finally{w.release(A)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=p.DEFAULT_MODE}matchATN(w){const L=this.atn.modeToStartState[this.mode];M.debug&&console.log("matchATN mode "+this.mode+" start: "+L);const A=this.mode,T=this.computeStartState(w,L),O=T.hasSemanticContext;T.hasSemanticContext=!1;const E=this.addDFAState(T);O||(this.decisionToDFA[this.mode].s0=E);const D=this.execATN(w,E);return M.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[A].toLexerString()),D}execATN(w,L){M.debug&&console.log("start state closure="+L.configs),L.isAcceptState&&this.captureSimState(this.prevAccept,w,L);let A=w.LA(1),T=L;for(;;){M.debug&&console.log("execATN loop starting closure: "+T.configs);let O=this.getExistingTargetState(T,A);if(null===O&&(O=this.computeTargetState(w,T,A)),O===b.ERROR||(A!==n.EOF&&this.consume(w),O.isAcceptState&&(this.captureSimState(this.prevAccept,w,O),A===n.EOF)))break;A=w.LA(1),T=O}return this.failOrAccept(this.prevAccept,w,T.configs,A)}getExistingTargetState(w,L){if(null===w.edges||LM.MAX_DFA_EDGE)return null;let A=w.edges[L-M.MIN_DFA_EDGE];return void 0===A&&(A=null),M.debug&&null!==A&&console.log("reuse state "+w.stateNumber+" edge to "+A.stateNumber),A}computeTargetState(w,L,A){const T=new v;return this.getReachableConfigSet(w,L.configs,T,A),0===T.items.length?(T.hasSemanticContext||this.addDFAEdge(L,A,b.ERROR),b.ERROR):this.addDFAEdge(L,A,null,T)}failOrAccept(w,L,A,T){if(null!==this.prevAccept.dfaState)return this.accept(L,w.dfaState.lexerActionExecutor,this.startIndex,w.index,w.line,w.column),w.dfaState.prediction;if(T===n.EOF&&L.index===this.startIndex)return n.EOF;throw new u(this.recog,L,this.startIndex,A)}getReachableConfigSet(w,L,A,T){let O=C.INVALID_ALT_NUMBER;for(let E=0;EM.MAX_DFA_EDGE||(M.debug&&console.log("EDGE "+w+" -> "+A+" upon "+L),null===w.edges&&(w.edges=[]),w.edges[L-M.MIN_DFA_EDGE]=A),A}addDFAState(w){const L=new o(null,w);let A=null;for(let D=0;D{const X={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class g{constructor(d){this.actionType=d,this.isPositionDependent=!1}hashCode(){const d=new Hash;return this.updateHashCode(d),d.finish()}updateHashCode(d){d.update(this.actionType)}equals(d){return this===d}}class n extends g{constructor(){super(X.SKIP)}execute(d){d.skip()}toString(){return"skip"}}n.INSTANCE=new n;class p extends g{constructor(d){super(X.TYPE),this.type=d}execute(d){d.type=this.type}updateHashCode(d){d.update(this.actionType,this.type)}equals(d){return this===d||d instanceof p&&this.type===d.type}toString(){return"type("+this.type+")"}}class C extends g{constructor(d){super(X.PUSH_MODE),this.mode=d}execute(d){d.pushMode(this.mode)}updateHashCode(d){d.update(this.actionType,this.mode)}equals(d){return this===d||d instanceof C&&this.mode===d.mode}toString(){return"pushMode("+this.mode+")"}}class b extends g{constructor(){super(X.POP_MODE)}execute(d){d.popMode()}toString(){return"popMode"}}b.INSTANCE=new b;class o extends g{constructor(){super(X.MORE)}execute(d){d.more()}toString(){return"more"}}o.INSTANCE=new o;class v extends g{constructor(d){super(X.MODE),this.mode=d}execute(d){d.mode(this.mode)}updateHashCode(d){d.update(this.actionType,this.mode)}equals(d){return this===d||d instanceof v&&this.mode===d.mode}toString(){return"mode("+this.mode+")"}}class a extends g{constructor(d,r){super(X.CUSTOM),this.ruleIndex=d,this.actionIndex=r,this.isPositionDependent=!0}execute(d){d.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(d){d.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(d){return this===d||d instanceof a&&this.ruleIndex===d.ruleIndex&&this.actionIndex===d.actionIndex}}class c extends g{constructor(d){super(X.CHANNEL),this.channel=d}execute(d){d._channel=this.channel}updateHashCode(d){d.update(this.actionType,this.channel)}equals(d){return this===d||d instanceof c&&this.channel===d.channel}toString(){return"channel("+this.channel+")"}}class s extends g{constructor(d,r){super(r.actionType),this.offset=d,this.action=r,this.isPositionDependent=!0}execute(d){this.action.execute(d)}updateHashCode(d){d.update(this.actionType,this.offset,this.action)}equals(d){return this===d||d instanceof s&&this.offset===d.offset&&this.action===d.action}}Se.exports={LexerActionType:X,LexerSkipAction:n,LexerChannelAction:c,LexerCustomAction:a,LexerIndexedCustomAction:s,LexerMoreAction:o,LexerTypeAction:p,LexerPushModeAction:C,LexerPopModeAction:b,LexerModeAction:v}},5168:(Se,X,g)=>{const{hashStuff:n}=g(3340),{LexerIndexedCustomAction:p}=g(201);class C{constructor(o){return this.lexerActions=null===o?[]:o,this.cachedHashCode=n(o),this}fixOffsetBeforeMatch(o){let v=null;for(let a=0;a{const n=g(3340),{Set:p,BitSet:C,DoubleDict:b}=n,o=g(9800),{ATNState:v,RuleStopState:a}=g(5516),{ATNConfig:c}=g(7745),{ATNConfigSet:s}=g(4280),{Token:l}=g(6205),{DFAState:d,PredPrediction:r}=g(5468),u=g(4675),h=g(5359),m=g(13),{SemanticContext:M}=(g(7293),g(9454)),{PredictionContext:x}=g(6185),{Interval:w}=g(9173),{Transition:L,SetTransition:A,NotSetTransition:T,RuleTransition:O,ActionTransition:E}=g(6850),{NoViableAltException:D}=g(5858),{SingletonPredictionContext:R,predictionContextFromRuleContext:j}=g(6185);Se.exports=class N extends u{constructor(k,F,Y,se){super(F,se),this.parser=k,this.decisionToDFA=Y,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(k,F,Y){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+F+" exec LA(1)=="+this.getLookaheadName(k)+" line "+k.LT(1).line+":"+k.LT(1).column),this._input=k,this._startIndex=k.index,this._outerContext=Y;const se=this.decisionToDFA[F];this._dfa=se;const ne=k.mark(),me=k.index;try{let $;if($=se.precedenceDfa?se.getPrecedenceStartState(this.parser.getPrecedence()):se.s0,null===$){null===Y&&(Y=m.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+se.decision+" exec LA(1)=="+this.getLookaheadName(k)+", outerContext="+Y.toString(this.parser.ruleNames));let ue=this.computeStartState(se.atnStartState,m.EMPTY,!1);se.precedenceDfa?(se.s0.configs=ue,ue=this.applyPrecedenceFilter(ue),$=this.addDFAState(se,new d(null,ue)),se.setPrecedenceStartState(this.parser.getPrecedence(),$)):($=this.addDFAState(se,new d(null,ue)),se.s0=$)}const q=this.execATN(se,$,k,me,Y);return this.debug&&console.log("DFA after predictATN: "+se.toString(this.parser.literalNames,this.parser.symbolicNames)),q}finally{this._dfa=null,this.mergeCache=null,k.seek(me),k.release(ne)}}execATN(k,F,Y,se,ne){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+k.decision+" exec LA(1)=="+this.getLookaheadName(Y)+" line "+Y.LT(1).line+":"+Y.LT(1).column);let me,$=F;this.debug&&console.log("s0 = "+F);let q=Y.LA(1);for(;;){let Q=this.getExistingTargetState($,q);if(null===Q&&(Q=this.computeTargetState(k,$,q)),Q===u.ERROR){const ue=this.noViableAlt(Y,ne,$.configs,se);if(Y.seek(se),me=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule($.configs,ne),me!==o.INVALID_ALT_NUMBER)return me;throw ue}if(Q.requiresFullContext&&this.predictionMode!==h.SLL){let ue=null;if(null!==Q.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Xe=Y.index;if(Xe!==se&&Y.seek(se),ue=this.evalSemanticContext(Q.predicates,ne,!0),1===ue.length)return this.debug&&console.log("Full LL avoided"),ue.minValue();Xe!==se&&Y.seek(Xe)}this.dfa_debug&&console.log("ctx sensitive state "+ne+" in "+Q);const Oe=this.computeStartState(k.atnStartState,ne,!0);return this.reportAttemptingFullContext(k,ue,Q.configs,se,Y.index),me=this.execATNWithFullContext(k,Q,Oe,Y,se,ne),me}if(Q.isAcceptState){if(null===Q.predicates)return Q.prediction;const ue=Y.index;Y.seek(se);const Me=this.evalSemanticContext(Q.predicates,ne,!0);if(0===Me.length)throw this.noViableAlt(Y,ne,Q.configs,se);return 1===Me.length||this.reportAmbiguity(k,Q,se,ue,!1,Me,Q.configs),Me.minValue()}$=Q,q!==l.EOF&&(Y.consume(),q=Y.LA(1))}}getExistingTargetState(k,F){const Y=k.edges;return null===Y?null:Y[F+1]||null}computeTargetState(k,F,Y){const se=this.computeReachSet(F.configs,Y,!1);if(null===se)return this.addDFAEdge(k,F,Y,u.ERROR),u.ERROR;let ne=new d(null,se);const me=this.getUniqueAlt(se);if(this.debug){const $=h.getConflictingAltSubsets(se);console.log("SLL altSubSets="+n.arrayToString($)+", configs="+se+", predict="+me+", allSubsetsConflict="+h.allSubsetsConflict($)+", conflictingAlts="+this.getConflictingAlts(se))}return me!==o.INVALID_ALT_NUMBER?(ne.isAcceptState=!0,ne.configs.uniqueAlt=me,ne.prediction=me):h.hasSLLConflictTerminatingPrediction(this.predictionMode,se)&&(ne.configs.conflictingAlts=this.getConflictingAlts(se),ne.requiresFullContext=!0,ne.isAcceptState=!0,ne.prediction=ne.configs.conflictingAlts.minValue()),ne.isAcceptState&&ne.configs.hasSemanticContext&&(this.predicateDFAState(ne,this.atn.getDecisionState(k.decision)),null!==ne.predicates&&(ne.prediction=o.INVALID_ALT_NUMBER)),ne=this.addDFAEdge(k,F,Y,ne),ne}predicateDFAState(k,F){const Y=F.transitions.length,se=this.getConflictingAltsOrUniqueAlt(k.configs),ne=this.getPredsForAmbigAlts(se,k.configs,Y);null!==ne?(k.predicates=this.getPredicatePredictions(se,ne),k.prediction=o.INVALID_ALT_NUMBER):k.prediction=se.minValue()}execATNWithFullContext(k,F,Y,se,ne,me){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+Y);let Q,q=!1,ue=Y;se.seek(ne);let Me=se.LA(1),Oe=-1;for(;;){if(Q=this.computeReachSet(ue,Me,!0),null===Q){const Be=this.noViableAlt(se,me,ue,ne);se.seek(ne);const $e=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ue,me);if($e!==o.INVALID_ALT_NUMBER)return $e;throw Be}const Xe=h.getConflictingAltSubsets(Q);if(this.debug&&console.log("LL altSubSets="+Xe+", predict="+h.getUniqueAlt(Xe)+", resolvesToJustOneViableAlt="+h.resolvesToJustOneViableAlt(Xe)),Q.uniqueAlt=this.getUniqueAlt(Q),Q.uniqueAlt!==o.INVALID_ALT_NUMBER){Oe=Q.uniqueAlt;break}if(this.predictionMode!==h.LL_EXACT_AMBIG_DETECTION){if(Oe=h.resolvesToJustOneViableAlt(Xe),Oe!==o.INVALID_ALT_NUMBER)break}else if(h.allSubsetsConflict(Xe)&&h.allSubsetsEqual(Xe)){q=!0,Oe=h.getSingleViableAlt(Xe);break}ue=Q,Me!==l.EOF&&(se.consume(),Me=se.LA(1))}return Q.uniqueAlt!==o.INVALID_ALT_NUMBER?(this.reportContextSensitivity(k,Oe,Q,ne,se.index),Oe):(this.reportAmbiguity(k,F,ne,se.index,q,null,Q),Oe)}computeReachSet(k,F,Y){this.debug&&console.log("in computeReachSet, starting closure: "+k),null===this.mergeCache&&(this.mergeCache=new b);const se=new s(Y);let ne=null;for(let $=0;$0&&(me=this.getAltThatFinishedDecisionEntryRule(ne),me!==o.INVALID_ALT_NUMBER)?me:o.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(k){const F=[];for(let Y=0;Y0||se.state instanceof a&&se.context.hasEmptyPath())&&F.indexOf(se.alt)<0&&F.push(se.alt)}return 0===F.length?o.INVALID_ALT_NUMBER:Math.min.apply(null,F)}splitAccordingToSemanticValidity(k,F){const Y=new s(k.fullCtx),se=new s(k.fullCtx);for(let ne=0;ne50))throw"problem";if(k.state instanceof a){if(!k.context.isEmpty()){for(let q=0;q=0&&(Xe+=1)}this.closureCheckingStopState(Oe,F,Y,Me,ne,Xe,$)}}}canDropLoopEntryEdgeInLeftRecursiveRule(k){const F=k.state;if(F.stateType!==v.STAR_LOOP_ENTRY||F.stateType!==v.STAR_LOOP_ENTRY||!F.isPrecedenceDecision||k.context.isEmpty()||k.context.hasEmptyPath())return!1;const Y=k.context.length;for(let $=0;$=0?this.parser.ruleNames[k]:""}getEpsilonTarget(k,F,Y,se,ne,me){switch(F.serializationType){case L.RULE:return this.ruleTransition(k,F);case L.PRECEDENCE:return this.precedenceTransition(k,F,Y,se,ne);case L.PREDICATE:return this.predTransition(k,F,Y,se,ne);case L.ACTION:return this.actionTransition(k,F);case L.EPSILON:return new c({state:F.target},k);case L.ATOM:case L.RANGE:case L.SET:return me&&F.matches(l.EOF,0,1)?new c({state:F.target},k):null;default:return null}}actionTransition(k,F){return this.debug&&console.log("ACTION edge "+F.ruleIndex+":"+(-1===F.actionIndex?65535:F.actionIndex)),new c({state:F.target},k)}precedenceTransition(k,F,Y,se,ne){this.debug&&(console.log("PRED (collectPredicates="+Y+") "+F.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let me=null;if(Y&&se)if(ne){const $=this._input.index;this._input.seek(this._startIndex);const q=F.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek($),q&&(me=new c({state:F.target},k))}else{const $=M.andContext(k.semanticContext,F.getPredicate());me=new c({state:F.target,semanticContext:$},k)}else me=new c({state:F.target},k);return this.debug&&console.log("config from pred transition="+me),me}predTransition(k,F,Y,se,ne){this.debug&&(console.log("PRED (collectPredicates="+Y+") "+F.ruleIndex+":"+F.predIndex+", ctx dependent="+F.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let me=null;if(Y&&(F.isCtxDependent&&se||!F.isCtxDependent))if(ne){const $=this._input.index;this._input.seek(this._startIndex);const q=F.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek($),q&&(me=new c({state:F.target},k))}else{const $=M.andContext(k.semanticContext,F.getPredicate());me=new c({state:F.target,semanticContext:$},k)}else me=new c({state:F.target},k);return this.debug&&console.log("config from pred transition="+me),me}ruleTransition(k,F){this.debug&&console.log("CALL rule "+this.getRuleName(F.target.ruleIndex)+", ctx="+k.context);const se=R.create(k.context,F.followState.stateNumber);return new c({state:F.target,context:se},k)}getConflictingAlts(k){const F=h.getConflictingAltSubsets(k);return h.getAlts(F)}getConflictingAltsOrUniqueAlt(k){let F=null;return k.uniqueAlt!==o.INVALID_ALT_NUMBER?(F=new C,F.add(k.uniqueAlt)):F=k.conflictingAlts,F}getTokenName(k){if(k===l.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(k>=this.parser.literalNames.length&&k>=this.parser.symbolicNames.length))return(this.parser.literalNames[k]||this.parser.symbolicNames[k])+"<"+k+">";console.log(k+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+k}getLookaheadName(k){return this.getTokenName(k.LA(1))}dumpDeadEndConfigs(k){console.log("dead end configs: ");const F=k.getDeadEndConfigs();for(let Y=0;Y0){const me=se.state.transitions[0];me instanceof AtomTransition?ne="Atom "+this.getTokenName(me.label):me instanceof A&&(ne=(me instanceof T?"~":"")+"Set "+me.set)}console.error(se.toString(this.parser,!0)+":"+ne)}}noViableAlt(k,F,Y,se){return new D(this.parser,k,k.get(se),k.LT(1),Y,F)}getUniqueAlt(k){let F=o.INVALID_ALT_NUMBER;for(let Y=0;Y "+se+" upon "+this.getTokenName(Y)),null===se?null:(se=this.addDFAState(k,se),null===F||Y<-1||Y>this.atn.maxTokenType||(null===F.edges&&(F.edges=[]),F.edges[Y+1]=se,this.debug&&console.log("DFA=\n"+k.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),se)}addDFAState(k,F){if(F===u.ERROR)return F;const Y=k.states.get(F);return null!==Y?Y:(F.stateNumber=k.states.length,F.configs.readOnly||(F.configs.optimizeConfigs(this),F.configs.setReadonly(!0)),k.states.add(F),this.debug&&console.log("adding new DFA state: "+F),F)}reportAttemptingFullContext(k,F,Y,se,ne){if(this.debug||this.retry_debug){const me=new w(se,ne+1);console.log("reportAttemptingFullContext decision="+k.decision+":"+Y+", input="+this.parser.getTokenStream().getText(me))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,k,se,ne,F,Y)}reportContextSensitivity(k,F,Y,se,ne){if(this.debug||this.retry_debug){const me=new w(se,ne+1);console.log("reportContextSensitivity decision="+k.decision+":"+Y+", input="+this.parser.getTokenStream().getText(me))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,k,se,ne,F,Y)}reportAmbiguity(k,F,Y,se,ne,me,$){if(this.debug||this.retry_debug){const q=new w(Y,se+1);console.log("reportAmbiguity "+me+":"+$+", input="+this.parser.getTokenStream().getText(q))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,k,Y,se,ne,me,$)}}},5359:(Se,X,g)=>{const{Map:n,BitSet:p,AltDict:C,hashStuff:b}=g(3340),o=g(9800),{RuleStopState:v}=g(5516),{ATNConfigSet:a}=g(4280),{ATNConfig:c}=g(7745),{SemanticContext:s}=g(9454),l={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(d,r){if(l.allConfigsInRuleStopStates(r))return!0;if(d===l.SLL&&r.hasSemanticContext){const h=new a;for(let m=0;m1)return!0;return!1},allSubsetsEqual:function(d){let r=null;for(let u=0;u{const{Set:n,Hash:p,equalArrays:C}=g(3340);class b{hashCode(){const l=new p;return this.updateHashCode(l),l.finish()}evaluate(l,d){}evalPrecedence(l,d){return this}static andContext(l,d){if(null===l||l===b.NONE)return d;if(null===d||d===b.NONE)return l;const r=new a(l,d);return 1===r.opnds.length?r.opnds[0]:r}static orContext(l,d){if(null===l)return d;if(null===d)return l;if(l===b.NONE||d===b.NONE)return b.NONE;const r=new c(l,d);return 1===r.opnds.length?r.opnds[0]:r}}class o extends b{constructor(l,d,r){super(),this.ruleIndex=void 0===l?-1:l,this.predIndex=void 0===d?-1:d,this.isCtxDependent=void 0!==r&&r}evaluate(l,d){return l.sempred(this.isCtxDependent?d:null,this.ruleIndex,this.predIndex)}updateHashCode(l){l.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(l){return this===l||l instanceof o&&this.ruleIndex===l.ruleIndex&&this.predIndex===l.predIndex&&this.isCtxDependent===l.isCtxDependent}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}b.NONE=new o;class v extends b{constructor(l){super(),this.precedence=void 0===l?0:l}evaluate(l,d){return l.precpred(d,this.precedence)}evalPrecedence(l,d){return l.precpred(d,this.precedence)?b.NONE:null}compareTo(l){return this.precedence-l.precedence}updateHashCode(l){l.update(this.precedence)}equals(l){return this===l||l instanceof v&&this.precedence===l.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(l){const d=[];return l.values().map(function(r){r instanceof v&&d.push(r)}),d}}class a extends b{constructor(l,d){super();const r=new n;l instanceof a?l.opnds.map(function(h){r.add(h)}):r.add(l),d instanceof a?d.opnds.map(function(h){r.add(h)}):r.add(d);const u=v.filterPrecedencePredicates(r);if(u.length>0){let h=null;u.map(function(m){(null===h||m.precedenced.toString());return(l.length>3?l.slice(3):l).join("&&")}}class c extends b{constructor(l,d){super();const r=new n;l instanceof c?l.opnds.map(function(h){r.add(h)}):r.add(l),d instanceof c?d.opnds.map(function(h){r.add(h)}):r.add(d);const u=v.filterPrecedencePredicates(r);if(u.length>0){const h=u.sort(function(_,M){return _.compareTo(M)});r.add(h[h.length-1])}this.opnds=Array.from(r.values())}equals(l){return this===l||l instanceof c&&C(this.opnds,l.opnds)}updateHashCode(l){l.update(this.opnds,"OR")}evaluate(l,d){for(let r=0;rd.toString());return(l.length>3?l.slice(3):l).join("||")}}Se.exports={SemanticContext:b,PrecedencePredicate:v,Predicate:o}},6850:(Se,X,g)=>{const{Token:n}=g(6205),{IntervalSet:p}=g(9173),{Predicate:C,PrecedencePredicate:b}=g(9454);class o{constructor(x){if(null==x)throw"target cannot be null.";this.target=x,this.isEpsilon=!1,this.label=null}}o.EPSILON=1,o.RANGE=2,o.RULE=3,o.PREDICATE=4,o.ATOM=5,o.ACTION=6,o.SET=7,o.NOT_SET=8,o.WILDCARD=9,o.PRECEDENCE=10,o.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],o.serializationTypes={EpsilonTransition:o.EPSILON,RangeTransition:o.RANGE,RuleTransition:o.RULE,PredicateTransition:o.PREDICATE,AtomTransition:o.ATOM,ActionTransition:o.ACTION,SetTransition:o.SET,NotSetTransition:o.NOT_SET,WildcardTransition:o.WILDCARD,PrecedencePredicateTransition:o.PRECEDENCE};class l extends o{constructor(x){super(x)}}class u extends o{constructor(x,w){super(x),this.serializationType=o.SET,null!=w?this.label=w:(this.label=new p,this.label.addOne(n.INVALID_TYPE))}matches(x,w,L){return this.label.contains(x)}toString(){return this.label.toString()}}Se.exports={Transition:o,AtomTransition:class v extends o{constructor(x,w){super(x),this.label_=w,this.label=this.makeLabel(),this.serializationType=o.ATOM}makeLabel(){const x=new p;return x.addOne(this.label_),x}matches(x,w,L){return this.label_===x}toString(){return this.label_}},SetTransition:u,NotSetTransition:class h extends u{constructor(x,w){super(x,w),this.serializationType=o.NOT_SET}matches(x,w,L){return x>=w&&x<=L&&!super.matches(x,w,L)}toString(){return"~"+super.toString()}},RuleTransition:class a extends o{constructor(x,w,L,A){super(x),this.ruleIndex=w,this.precedence=L,this.followState=A,this.serializationType=o.RULE,this.isEpsilon=!0}matches(x,w,L){return!1}},ActionTransition:class r extends o{constructor(x,w,L,A){super(x),this.serializationType=o.ACTION,this.ruleIndex=w,this.actionIndex=void 0===L?-1:L,this.isCtxDependent=void 0!==A&&A,this.isEpsilon=!0}matches(x,w,L){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}},EpsilonTransition:class c extends o{constructor(x,w){super(x),this.serializationType=o.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=w}matches(x,w,L){return!1}toString(){return"epsilon"}},RangeTransition:class s extends o{constructor(x,w,L){super(x),this.serializationType=o.RANGE,this.start=w,this.stop=L,this.label=this.makeLabel()}makeLabel(){const x=new p;return x.addRange(this.start,this.stop),x}matches(x,w,L){return x>=this.start&&x<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}},WildcardTransition:class m extends o{constructor(x){super(x),this.serializationType=o.WILDCARD}matches(x,w,L){return x>=w&&x<=L}toString(){return"."}},PredicateTransition:class d extends l{constructor(x,w,L,A){super(x),this.serializationType=o.PREDICATE,this.ruleIndex=w,this.predIndex=L,this.isCtxDependent=A,this.isEpsilon=!0}matches(x,w,L){return!1}getPredicate(){return new C(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}},PrecedencePredicateTransition:class _ extends l{constructor(x,w){super(x),this.serializationType=o.PRECEDENCE,this.precedence=w,this.isEpsilon=!0}matches(x,w,L){return!1}getPredicate(){return new b(this.precedence)}toString(){return this.precedence+" >= _p"}},AbstractPredicateTransition:l}},871:(Se,X,g)=>{X.ATN=g(9800),X.ATNDeserializer=g(7499),X.LexerATNSimulator=g(9462),X.ParserATNSimulator=g(6877),X.PredictionMode=g(5359)},5343:(Se,X,g)=>{const{Set:n}=g(3340),{DFAState:p}=g(5468),{StarLoopEntryState:C}=g(5516),{ATNConfigSet:b}=g(4280),{DFASerializer:o}=g(7279),{LexerDFASerializer:v}=g(7279);Se.exports=class a{constructor(s,l){if(void 0===l&&(l=0),this.atnStartState=s,this.decision=l,this._states=new n,this.s0=null,this.precedenceDfa=!1,s instanceof C&&s.isPrecedenceDecision){this.precedenceDfa=!0;const d=new p(null,new b);d.edges=[],d.isAcceptState=!1,d.requiresFullContext=!1,this.s0=d}}getPrecedenceStartState(s){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return s<0||s>=this.s0.edges.length?null:this.s0.edges[s]||null}setPrecedenceStartState(s,l){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";s<0||(this.s0.edges[s]=l)}setPrecedenceDfa(s){if(this.precedenceDfa!==s){if(this._states=new n,s){const l=new p(null,new b);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}else this.s0=null;this.precedenceDfa=s}}sortedStates(){return this._states.values().sort(function(l,d){return l.stateNumber-d.stateNumber})}toString(s,l){return s=s||null,l=l||null,null===this.s0?"":new o(this,s,l).toString()}toLexerString(){return null===this.s0?"":new v(this).toString()}get states(){return this._states}}},7279:(Se,X,g)=>{const n=g(3340);class p{constructor(o,v,a){this.dfa=o,this.literalNames=v||[],this.symbolicNames=a||[]}toString(){if(null===this.dfa.s0)return null;let o="";const v=this.dfa.sortedStates();for(let a=0;a"),o=o.concat(this.getStateString(d)),o=o.concat("\n"))}}}return 0===o.length?null:o}getEdgeLabel(o){return 0===o?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[o-1]||this.symbolicNames[o-1]:String.fromCharCode(o-1)}getStateString(o){const v=(o.isAcceptState?":":"")+"s"+o.stateNumber+(o.requiresFullContext?"^":"");return o.isAcceptState?null!==o.predicates?v+"=>"+n.arrayToString(o.predicates):v+"=>"+o.prediction.toString():v}}Se.exports={DFASerializer:p,LexerDFASerializer:class C extends p{constructor(o){super(o,null)}getEdgeLabel(o){return"'"+String.fromCharCode(o)+"'"}}}},5468:(Se,X,g)=>{const{ATNConfigSet:n}=g(4280),{Hash:p,Set:C}=g(3340);class o{constructor(a,c){return null===a&&(a=-1),null===c&&(c=new n),this.stateNumber=a,this.configs=c,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const a=new C;if(null!==this.configs)for(let c=0;c{X.DFA=g(5343),X.DFASerializer=g(7279).DFASerializer,X.LexerDFASerializer=g(7279).LexerDFASerializer,X.PredPrediction=g(5468).PredPrediction},9935:(Se,X,g)=>{const{BitSet:n}=g(3340),{ErrorListener:p}=g(7967),{Interval:C}=g(9173);Se.exports=class b extends p{constructor(v){super(),this.exactOnly=v=v||!0}reportAmbiguity(v,a,c,s,l,d,r){if(this.exactOnly&&!l)return;const u="reportAmbiguity d="+this.getDecisionDescription(v,a)+": ambigAlts="+this.getConflictingAlts(d,r)+", input='"+v.getTokenStream().getText(new C(c,s))+"'";v.notifyErrorListeners(u)}reportAttemptingFullContext(v,a,c,s,l,d){const r="reportAttemptingFullContext d="+this.getDecisionDescription(v,a)+", input='"+v.getTokenStream().getText(new C(c,s))+"'";v.notifyErrorListeners(r)}reportContextSensitivity(v,a,c,s,l,d){const r="reportContextSensitivity d="+this.getDecisionDescription(v,a)+", input='"+v.getTokenStream().getText(new C(c,s))+"'";v.notifyErrorListeners(r)}getDecisionDescription(v,a){const c=a.decision,s=a.atnStartState.ruleIndex,l=v.ruleNames;if(s<0||s>=l.length)return""+c;const d=l[s]||null;return null===d||0===d.length?""+c:`${c} (${d})`}getConflictingAlts(v,a){if(null!==v)return v;const c=new n;for(let s=0;s{class X{syntaxError(C,b,o,v,a,c){}reportAmbiguity(C,b,o,v,a,c,s){}reportAttemptingFullContext(C,b,o,v,a,c){}reportContextSensitivity(C,b,o,v,a,c){}}class g extends X{constructor(){super()}syntaxError(C,b,o,v,a,c){console.error("line "+o+":"+v+" "+a)}}g.INSTANCE=new g,Se.exports={ErrorListener:X,ConsoleErrorListener:g,ProxyErrorListener:class n extends X{constructor(C){if(super(),null===C)throw"delegates";return this.delegates=C,this}syntaxError(C,b,o,v,a,c){this.delegates.map(s=>s.syntaxError(C,b,o,v,a,c))}reportAmbiguity(C,b,o,v,a,c,s){this.delegates.map(l=>l.reportAmbiguity(C,b,o,v,a,c,s))}reportAttemptingFullContext(C,b,o,v,a,c){this.delegates.map(s=>s.reportAttemptingFullContext(C,b,o,v,a,c))}reportContextSensitivity(C,b,o,v,a,c){this.delegates.map(s=>s.reportContextSensitivity(C,b,o,v,a,c))}}}},2487:(Se,X,g)=>{const{Token:n}=g(6205),{NoViableAltException:p,InputMismatchException:C,FailedPredicateException:b,ParseCancellationException:o}=g(5858),{ATNState:v}=g(5516),{Interval:a,IntervalSet:c}=g(9173);class s{reset(u){}recoverInline(u){}recover(u,h){}sync(u){}inErrorRecoveryMode(u){}reportError(u){}}class l extends s{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 p?this.reportNoViableAlternative(u,h):h instanceof C?this.reportInputMismatch(u,h):h instanceof b?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 m=this.getErrorRecoverySet(u);this.consumeUntil(u,m)}sync(u){if(this.inErrorRecoveryMode(u))return;const h=u._interp.atn.states[u.state],m=u.getTokenStream().LA(1),_=u.atn.nextTokens(h);if(_.contains(m))return this.nextTokensContext=null,void(this.nextTokenState=v.INVALID_STATE_NUMBER);if(_.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=u._ctx,this.nextTokensState=u._stateNumber);else switch(h.stateType){case v.BLOCK_START:case v.STAR_BLOCK_START:case v.PLUS_BLOCK_START:case v.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(u))return;throw new C(u);case v.PLUS_LOOP_BACK:case v.STAR_LOOP_BACK:this.reportUnwantedToken(u);const M=new c;M.addSet(u.getExpectedTokens());const x=M.addSet(this.getErrorRecoverySet(u));this.consumeUntil(u,x)}}reportNoViableAlternative(u,h){const m=u.getTokenStream();let _;_=null!==m?h.startToken.type===n.EOF?"":m.getText(new a(h.startToken.tokenIndex,h.offendingToken.tokenIndex)):"";const M="no viable alternative at input "+this.escapeWSAndQuote(_);u.notifyErrorListeners(M,h.offendingToken,h)}reportInputMismatch(u,h){const m="mismatched input "+this.getTokenErrorDisplay(h.offendingToken)+" expecting "+h.getExpectedTokens().toString(u.literalNames,u.symbolicNames);u.notifyErrorListeners(m,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(),M="extraneous input "+this.getTokenErrorDisplay(h)+" expecting "+this.getExpectedTokens(u).toString(u.literalNames,u.symbolicNames);u.notifyErrorListeners(M,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),m=u._interp.atn;return!!m.nextTokens(m.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 M;M=_===n.EOF?"":"";let x=h;const w=u.getTokenStream().LT(-1);return x.type===n.EOF&&null!==w&&(x=w),u.getTokenFactory().create(x.source,_,M,n.DEFAULT_CHANNEL,-1,-1,x.line,x.column)}getExpectedTokens(u){return u.getExpectedTokens()}getTokenErrorDisplay(u){if(null===u)return"";let h=u.text;return null===h&&(h=u.type===n.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 m=u._ctx;const _=new c;for(;null!==m&&m.invokingState>=0;){const w=h.nextTokens(h.states[m.invokingState].transitions[0].followState);_.addSet(w),m=m.parentCtx}return _.removeOne(n.EPSILON),_}consumeUntil(u,h){let m=u.getTokenStream().LA(1);for(;m!==n.EOF&&!h.contains(m);)u.consume(),m=u.getTokenStream().LA(1)}}Se.exports={BailErrorStrategy:class d extends l{constructor(){super()}recover(u,h){let m=u._ctx;for(;null!==m;)m.exception=h,m=m.parentCtx;throw new o(h)}recoverInline(u){this.recover(u,new C(u))}sync(u){}},DefaultErrorStrategy:l}},5858:(Se,X,g)=>{const{PredicateTransition:n}=g(6850),{Interval:p}=g(9173).Interval;class C extends Error{constructor(d){super(d.message),Error.captureStackTrace?Error.captureStackTrace(this,C):new Error,this.message=d.message,this.recognizer=d.recognizer,this.input=d.input,this.ctx=d.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 a(l,d){return null!==d?d:"failed predicate: {"+l+"}?"}class s extends Error{constructor(){super(),Error.captureStackTrace(this,s)}}Se.exports={RecognitionException:C,NoViableAltException:class o extends C{constructor(d,r,u,h,m,_){_=_||d._ctx,h=h||d.getCurrentToken(),u=u||d.getCurrentToken(),r=r||d.getInputStream(),super({message:"",recognizer:d,input:r,ctx:_}),this.deadEndConfigs=m,this.startToken=u,this.offendingToken=h}},LexerNoViableAltException:class b extends C{constructor(d,r,u,h){super({message:"",recognizer:d,input:r,ctx:null}),this.startIndex=u,this.deadEndConfigs=h}toString(){let d="";return this.startIndex>=0&&this.startIndex{Se.exports.RecognitionException=g(5858).RecognitionException,Se.exports.NoViableAltException=g(5858).NoViableAltException,Se.exports.LexerNoViableAltException=g(5858).LexerNoViableAltException,Se.exports.InputMismatchException=g(5858).InputMismatchException,Se.exports.FailedPredicateException=g(5858).FailedPredicateException,Se.exports.DiagnosticErrorListener=g(9935),Se.exports.BailErrorStrategy=g(2487).BailErrorStrategy,Se.exports.DefaultErrorStrategy=g(2487).DefaultErrorStrategy,Se.exports.ErrorListener=g(7967).ErrorListener},6419:()=>{String.prototype.codePointAt||function(){"use strict";var Se=function(){let g;try{const n={},p=Object.defineProperty;g=p(n,n,n)&&p}catch{}return g}();const X=function(g){if(null==this)throw TypeError();const n=String(this),p=n.length;let C=g?Number(g):0;if(C!=C&&(C=0),C<0||C>=p)return;const b=n.charCodeAt(C);let o;return b>=55296&&b<=56319&&p>C+1&&(o=n.charCodeAt(C+1),o>=56320&&o<=57343)?1024*(b-55296)+o-56320+65536:b};Se?Se(String.prototype,"codePointAt",{value:X,configurable:!0,writable:!0}):String.prototype.codePointAt=X}()},9182:()=>{String.fromCodePoint||function(){const Se=function(){let p;try{const C={},b=Object.defineProperty;p=b(C,C,C)&&b}catch{}return p}(),X=String.fromCharCode,g=Math.floor,n=function(p){const b=[];let o,v,a=-1;const c=arguments.length;if(!c)return"";let s="";for(;++a1114111||g(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?b.push(l):(l-=65536,o=55296+(l>>10),v=l%1024+56320,b.push(o,v)),(a+1===c||b.length>16384)&&(s+=X.apply(null,b),b.length=0)}return s};Se?Se(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()},5829:(Se,X,g)=>{const{Token:n}=g(6205),{Interval:p}=g(9173),C=new p(-1,-2);class b{}class o extends b{constructor(){super()}}class v extends o{constructor(){super()}}class c extends v{constructor(){super()}}class s extends c{constructor(){super()}}class r extends c{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 p(_,_)}getChildCount(){return 0}accept(_){return _.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===n.EOF?"":this.symbol.text}}class h{walk(_,M){if(M instanceof s||void 0!==M.isErrorNode&&M.isErrorNode())_.visitErrorNode(M);else if(M instanceof c)_.visitTerminal(M);else{this.enterRule(_,M);for(let w=0;w{const n=g(3340),{Token:p}=g(6205),{ErrorNode:C,TerminalNode:b,RuleNode:o}=g(5829),v={toStringTree:function(a,c,s){c=c||null,null!==(s=s||null)&&(c=s.ruleNames);let l=v.getNodeText(a,c);l=n.escapeWhitespace(l,!1);const d=a.getChildCount();if(0===d)return l;let r="("+l+" ";d>0&&(l=v.toStringTree(a.getChild(0),c),r=r.concat(l));for(let u=1;u{const n=g(5829),p=g(5140);Se.exports={...n,Trees:p}},9807:function(){var Se;Se=typeof self<"u"?self:this,function(g){var n_searchParams="URLSearchParams"in Se,n_iterable="Symbol"in Se&&"iterator"in Symbol,n_blob="FileReader"in Se&&"Blob"in Se&&function(){try{return new Blob,!0}catch{return!1}}(),n_formData="FormData"in Se,n_arrayBuffer="ArrayBuffer"in Se;if(n_arrayBuffer)var C=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=ArrayBuffer.isView||function(E){return E&&C.indexOf(Object.prototype.toString.call(E))>-1};function o(E){if("string"!=typeof E&&(E=String(E)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(E))throw new TypeError("Invalid character in header field name");return E.toLowerCase()}function v(E){return"string"!=typeof E&&(E=String(E)),E}function a(E){var D={next:function(){var R=E.shift();return{done:void 0===R,value:R}}};return n_iterable&&(D[Symbol.iterator]=function(){return D}),D}function c(E){this.map={},E instanceof c?E.forEach(function(D,R){this.append(R,D)},this):Array.isArray(E)?E.forEach(function(D){this.append(D[0],D[1])},this):E&&Object.getOwnPropertyNames(E).forEach(function(D){this.append(D,E[D])},this)}function s(E){if(E.bodyUsed)return Promise.reject(new TypeError("Already read"));E.bodyUsed=!0}function l(E){return new Promise(function(D,R){E.onload=function(){D(E.result)},E.onerror=function(){R(E.error)}})}function d(E){var D=new FileReader,R=l(D);return D.readAsArrayBuffer(E),R}function h(E){if(E.slice)return E.slice(0);var D=new Uint8Array(E.byteLength);return D.set(new Uint8Array(E)),D.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(E){this._bodyInit=E,E?"string"==typeof E?this._bodyText=E:n_blob&&Blob.prototype.isPrototypeOf(E)?this._bodyBlob=E:n_formData&&FormData.prototype.isPrototypeOf(E)?this._bodyFormData=E:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(E)?this._bodyText=E.toString():n_arrayBuffer&&n_blob&&function p(E){return E&&DataView.prototype.isPrototypeOf(E)}(E)?(this._bodyArrayBuffer=h(E.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(E)||b(E))?this._bodyArrayBuffer=h(E):this._bodyText=E=Object.prototype.toString.call(E):this._bodyText="",this.headers.get("content-type")||("string"==typeof E?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n_searchParams&&URLSearchParams.prototype.isPrototypeOf(E)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var E=s(this);if(E)return E;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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(d)}),this.text=function(){var E=s(this);if(E)return E;if(this._bodyBlob)return function r(E){var D=new FileReader,R=l(D);return D.readAsText(E),R}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function u(E){for(var D=new Uint8Array(E),R=new Array(D.length),j=0;j-1?D:E}(D.method||this.method||"GET"),this.mode=D.mode||this.mode||null,this.signal=D.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}function w(E){var D=new FormData;return E.trim().split("&").forEach(function(R){if(R){var j=R.split("="),N=j.shift().replace(/\+/g," "),S=j.join("=").replace(/\+/g," ");D.append(decodeURIComponent(N),decodeURIComponent(S))}}),D}function L(E){var D=new c;return E.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(j){var N=j.split(":"),S=N.shift().trim();if(S){var k=N.join(":").trim();D.append(S,k)}}),D}function A(E,D){D||(D={}),this.type="default",this.status=void 0===D.status?200:D.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in D?D.statusText:"OK",this.headers=new c(D.headers),this.url=D.url||"",this._initBody(E)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},m.call(x.prototype),m.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},A.error=function(){var E=new A(null,{status:0,statusText:""});return E.type="error",E};var T=[301,302,303,307,308];A.redirect=function(E,D){if(-1===T.indexOf(D))throw new RangeError("Invalid status code");return new A(null,{status:D,headers:{location:E}})},g.DOMException=Se.DOMException;try{new g.DOMException}catch{g.DOMException=function(D,R){this.message=D,this.name=R;var j=Error(D);this.stack=j.stack},g.DOMException.prototype=Object.create(Error.prototype),g.DOMException.prototype.constructor=g.DOMException}function O(E,D){return new Promise(function(R,j){var N=new x(E,D);if(N.signal&&N.signal.aborted)return j(new g.DOMException("Aborted","AbortError"));var S=new XMLHttpRequest;function k(){S.abort()}S.onload=function(){var F={status:S.status,statusText:S.statusText,headers:L(S.getAllResponseHeaders()||"")};F.url="responseURL"in S?S.responseURL:F.headers.get("X-Request-URL"),R(new A("response"in S?S.response:S.responseText,F))},S.onerror=function(){j(new TypeError("Network request failed"))},S.ontimeout=function(){j(new TypeError("Network request failed"))},S.onabort=function(){j(new g.DOMException("Aborted","AbortError"))},S.open(N.method,N.url,!0),"include"===N.credentials?S.withCredentials=!0:"omit"===N.credentials&&(S.withCredentials=!1),"responseType"in S&&n_blob&&(S.responseType="blob"),N.headers.forEach(function(F,Y){S.setRequestHeader(Y,F)}),N.signal&&(N.signal.addEventListener("abort",k),S.onreadystatechange=function(){4===S.readyState&&N.signal.removeEventListener("abort",k)}),S.send(typeof N._bodyInit>"u"?null:N._bodyInit)})}O.polyfill=!0,Se.fetch||(Se.fetch=O,Se.Headers=c,Se.Request=x,Se.Response=A),g.Headers=c,g.Request=x,g.Response=A,g.fetch=O,Object.defineProperty(g,"__esModule",{value:!0})}({})},7098:Se=>{Se.exports=function(n){var p=new Date(n.getTime()),C=p.getTimezoneOffset();return p.setSeconds(0,0),6e4*C+p.getTime()%6e4}},2860:(Se,X,g)=>{var n=g(1420);Se.exports=function p(C,b){var o=n(C),v=Number(b);return o.setDate(o.getDate()+v),o}},6888:(Se,X,g)=>{var n=g(3895);Se.exports=function C(b,o){var v=Number(o);return n(b,36e5*v)}},3895:(Se,X,g)=>{var n=g(1420);Se.exports=function p(C,b){var o=n(C).getTime(),v=Number(b);return new Date(o+v)}},3745:(Se,X,g)=>{var n=g(3895);Se.exports=function C(b,o){var v=Number(o);return n(b,6e4*v)}},1277:(Se,X,g)=>{var n=g(1420),p=g(7255);Se.exports=function C(b,o){var v=n(b),a=Number(o),c=v.getMonth()+a,s=new Date(0);s.setFullYear(v.getFullYear(),c,1),s.setHours(0,0,0,0);var l=p(s);return v.setMonth(c,Math.min(l,v.getDate())),v}},3857:(Se,X,g)=>{var n=g(3895);Se.exports=function p(C,b){var o=Number(b);return n(C,1e3*o)}},338:(Se,X,g)=>{var n=g(2860);Se.exports=function p(C,b){var o=Number(b);return n(C,7*o)}},3763:(Se,X,g)=>{var n=g(1277);Se.exports=function p(C,b){var o=Number(b);return n(C,12*o)}},7255:(Se,X,g)=>{var n=g(1420);Se.exports=function p(C){var b=n(C),o=b.getFullYear(),v=b.getMonth(),a=new Date(0);return a.setFullYear(o,v+1,0),a.setHours(0,0,0,0),a.getDate()}},4853:Se=>{Se.exports=function X(g){return g instanceof Date}},1420:(Se,X,g)=>{var n=g(7098),p=g(4853),C=36e5,b=6e4,v=/[T ]/,a=/:/,c=/^(\d{2})$/,s=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],l=/^(\d{4})/,d=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],r=/^-(\d{2})$/,u=/^-?(\d{3})$/,h=/^-?(\d{2})-?(\d{2})$/,m=/^-?W(\d{2})$/,_=/^-?W(\d{2})-?(\d{1})$/,M=/^(\d{2}([.,]\d*)?)$/,x=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,w=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,L=/([Z+-].*)$/,A=/^(Z)$/,T=/^([+-])(\d{2})$/,O=/^([+-])(\d{2}):?(\d{2})$/;function k(F,Y,se){Y=Y||0,se=se||0;var ne=new Date(0);ne.setUTCFullYear(F,0,4);var $=7*Y+se+1-(ne.getUTCDay()||7);return ne.setUTCDate(ne.getUTCDate()+$),ne}Se.exports=function E(F,Y){if(p(F))return new Date(F.getTime());if("string"!=typeof F)return new Date(F);var ne=(Y||{}).additionalDigits;ne=null==ne?2:Number(ne);var me=function D(F){var ne,Y={},se=F.split(v);if(a.test(se[0])?(Y.date=null,ne=se[0]):(Y.date=se[0],ne=se[1]),ne){var me=L.exec(ne);me?(Y.time=ne.replace(me[1],""),Y.timezone=me[1]):Y.time=ne}return Y}(F),$=function R(F,Y){var me,se=s[Y],ne=d[Y];if(me=l.exec(F)||ne.exec(F)){var $=me[1];return{year:parseInt($,10),restDateString:F.slice($.length)}}if(me=c.exec(F)||se.exec(F)){var q=me[1];return{year:100*parseInt(q,10),restDateString:F.slice(q.length)}}return{year:null}}(me.date,ne),ue=function j(F,Y){if(null===Y)return null;var se,ne,me;if(0===F.length)return(ne=new Date(0)).setUTCFullYear(Y),ne;if(se=r.exec(F))return ne=new Date(0),me=parseInt(se[1],10)-1,ne.setUTCFullYear(Y,me),ne;if(se=u.exec(F)){ne=new Date(0);var q=parseInt(se[1],10);return ne.setUTCFullYear(Y,0,q),ne}if(se=h.exec(F)){ne=new Date(0),me=parseInt(se[1],10)-1;var Q=parseInt(se[2],10);return ne.setUTCFullYear(Y,me,Q),ne}return(se=m.exec(F))?k(Y,parseInt(se[1],10)-1):(se=_.exec(F))?k(Y,parseInt(se[1],10)-1,parseInt(se[2],10)-1):null}($.restDateString,$.year);if(ue){var Xe,Me=ue.getTime(),Oe=0;if(me.time&&(Oe=function N(F){var Y,se,ne;if(Y=M.exec(F))return(se=parseFloat(Y[1].replace(",",".")))%24*C;if(Y=x.exec(F))return se=parseInt(Y[1],10),ne=parseFloat(Y[2].replace(",",".")),se%24*C+ne*b;if(Y=w.exec(F)){se=parseInt(Y[1],10),ne=parseInt(Y[2],10);var me=parseFloat(Y[3].replace(",","."));return se%24*C+ne*b+1e3*me}return null}(me.time)),me.timezone)Xe=function S(F){var Y,se;return(Y=A.exec(F))?0:(Y=T.exec(F))?(se=60*parseInt(Y[2],10),"+"===Y[1]?-se:se):(Y=O.exec(F))?(se=60*parseInt(Y[2],10)+parseInt(Y[3],10),"+"===Y[1]?-se:se):0}(me.timezone)*b;else{var Be=Me+Oe,$e=new Date(Be);Xe=n($e);var st=new Date(Be);st.setDate($e.getDate()+1);var Mt=n(st)-n($e);Mt>0&&(Xe+=Mt)}return new Date(Me+Oe+Xe)}return new Date(F)}},563:(Se,X,g)=>{X.formatArgs=function p(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+Se.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;a.splice(1,0,c,"color: inherit");let s=0,l=0;a[0].replace(/%[a-zA-Z%]/g,d=>{"%%"!==d&&(s++,"%c"===d&&(l=s))}),a.splice(l,0,c)},X.save=function C(a){try{a?X.storage.setItem("debug",a):X.storage.removeItem("debug")}catch{}},X.load=function b(){let a;try{a=X.storage.getItem("debug")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=process.env.DEBUG),a},X.useColors=function n(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},X.storage=function o(){try{return localStorage}catch{}}(),X.destroy=(()=>{let a=!1;return()=>{a||(a=!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`."))}})(),X.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"],X.log=console.debug||console.log||(()=>{}),Se.exports=g(6018)(X);const{formatters:v}=Se.exports;v.j=function(a){try{return JSON.stringify(a)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}},6018:(Se,X,g)=>{Se.exports=function n(p){function b(r){let u,m,_,h=null;function M(...x){if(!M.enabled)return;const w=M,L=Number(new Date);w.diff=L-(u||L),w.prev=u,w.curr=L,u=L,x[0]=b.coerce(x[0]),"string"!=typeof x[0]&&x.unshift("%O");let T=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(E,D)=>{if("%%"===E)return"%";T++;const R=b.formatters[D];return"function"==typeof R&&(E=R.call(w,x[T]),x.splice(T,1),T--),E}),b.formatArgs.call(w,x),(w.log||b.log).apply(w,x)}return M.namespace=r,M.useColors=b.useColors(),M.color=b.selectColor(r),M.extend=o,M.destroy=b.destroy,Object.defineProperty(M,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==h?h:(m!==b.namespaces&&(m=b.namespaces,_=b.enabled(r)),_),set:x=>{h=x}}),"function"==typeof b.init&&b.init(M),M}function o(r,u){const h=b(this.namespace+(typeof u>"u"?":":u)+r);return h.log=this.log,h}function s(r){return r.toString().substring(2,r.toString().length-2).replace(/\.\*\?$/,"*")}return b.debug=b,b.default=b,b.coerce=function l(r){return r instanceof Error?r.stack||r.message:r},b.disable=function a(){const r=[...b.names.map(s),...b.skips.map(s).map(u=>"-"+u)].join(",");return b.enable(""),r},b.enable=function v(r){let u;b.save(r),b.namespaces=r,b.names=[],b.skips=[];const h=("string"==typeof r?r:"").split(/[\s,]+/),m=h.length;for(u=0;u{b[r]=p[r]}),b.names=[],b.skips=[],b.formatters={},b.selectColor=function C(r){let u=0;for(let h=0;h{"use strict";var X="%[a-f0-9]{2}",g=new RegExp("("+X+")|([^%]+?)","gi"),n=new RegExp("("+X+")+","gi");function p(o,v){try{return[decodeURIComponent(o.join(""))]}catch{}if(1===o.length)return o;var a=o.slice(0,v=v||1),c=o.slice(v);return Array.prototype.concat.call([],p(a),p(c))}function C(o){try{return decodeURIComponent(o)}catch{for(var v=o.match(g)||[],a=1;a"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),u=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function x(){var Ce=setTimeout;return function(){return Ce(L,1)}}var w=new Array(1e3);function L(){for(var Ce=0;Ce{Se.exports=class X{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,p){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:p}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,p){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:p}})}supportFor({resourceType:n,capabilityType:p,where:C}={}){let b;if(b=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!b)return!1;const o=b[p];if(C&&o){const v=Object.keys(C)[0];return void 0!==o.find(c=>c[v]===C[v])}return void 0!==o}interactionsFor({resourceType:n}={}){const p=this.resourceCapabilities({resourceType:n});return void 0===p?[]:p.interaction.map(C=>C.code)}searchParamsFor({resourceType:n}={}){const p=this.resourceCapabilities({resourceType:n});return void 0===p||void 0===p.searchParam?[]:p.searchParam.map(C=>C.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(b=>b.type===n)}capabilityContents({resourceType:n,capabilityType:p}={}){const C=this.resourceCapabilities({resourceType:n});if(void 0!==C)return C[p]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},8907:(Se,X,g)=>{var n=g(7156).default;const p=g(133),{authFromCapability:C,authFromWellKnown:b}=g(6686),o=g(8237),v=g(7681),a=g(1370),{createQueryString:c,validResourceType:s}=g(9047),{FetchQueue:l}=g(1335),{deprecatePaginationArgs:d,deprecateHeaders:r}=g(3820),u=g(6836);Se.exports=class h{constructor({baseUrl:_,customHeaders:M,requestOptions:x,requestSigner:w,bearerToken:L}={}){this.httpClient=new o({baseUrl:_,customHeaders:M,requestOptions:x,requestSigner:w}),L&&(this.httpClient.bearerToken=L),this.resolver=new v(this),this.pagination=new a(this.httpClient)}static httpFor(_){return{request:o.requestFor(_),response:o.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:M,headers:x,options:w={}}={}){return this.resolver.resolve({reference:_,context:M,options:r(w,x)})}smartAuthMetadata({headers:_,options:M={}}={}){var x=this;return n(function*(){const w={options:r(M,_)};w.options.headers||(w.options.headers={}),w.options.headers.accept="application/fhir+json,application/json";const L=x.baseUrl.replace(/\/*$/,"/"),A=new l,T=A.buildJob(),O=A.buildJob(),E=A.buildJob(),D=[];return new Promise((R,j)=>{function N(S){D.push(S)===A.numJobs&&j(new Error(D.map(k=>k.message).join("; ")))}x.httpClient.request("GET",`${L}.well-known/smart-configuration`,O.addSignalOption(w)).then(S=>(A.safeAbortOthers(O),R(b(S)))).catch(S=>N(S)),x.capabilityStatement(T.addSignalOption(w)).then(S=>(A.safeAbortOthers(T),R(C(S)))).catch(S=>N(S)),x.httpClient.request("GET",`${L}.well-known/openid-configuration`,E.addSignalOption(w)).then(S=>(A.safeAbortOthers(E),R(b(S)))).catch(S=>N(S))})})()}capabilityStatement({headers:_,options:M={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",r(M,_))),this.metadata}request(_,{method:M="GET",options:x={},body:w}={}){return x.method&&x.method!==M&&console.warn(`WARNING: 'options.method' has been specified: ${x.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(M,_,x,w)}read({resourceType:_,id:M,headers:x,options:w={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${M}`,r(w,x))}vread({resourceType:_,id:M,version:x,headers:w,options:L={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${M}/_history/${x}`,r(L,w))}create({resourceType:_,body:M,headers:x,options:w={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);return this.httpClient.post(_,M,r(w,x))}delete({resourceType:_,id:M,headers:x,options:w={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);return this.httpClient.delete(`${_}/${M}`,r(w,x))}update({resourceType:_,id:M,searchParams:x,body:w,headers:L,options:A={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);if(M&&x)throw new Error("Conditional update with search params cannot be with id",_);if(x){const T=c(x);return this.httpClient.put(`${_}?${T}`,w,r(A,L))}return this.httpClient.put(`${_}/${M}`,w,r(A,L))}patch({resourceType:_,id:M,JSONPatch:x,headers:w,options:L={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);const T={...r(L,w).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${_}/${M}`,x,{...L,headers:T})}batch({body:_,headers:M,options:x={}}={}){return this.httpClient.post("/",_,r(x,M))}transaction({body:_,headers:M,options:x={}}={}){return this.httpClient.post("/",_,r(x,M))}operation({name:_,resourceType:M,id:x,method:w="POST",input:L,options:A={}}={}){const T=["/"];if(M){if(!s(M))throw new Error("Invalid resourceType",M);T.push(`${M}/`)}return x&&T.push(`${x}/`),T.push(`${_.startsWith("$")?_:`$${_}`}`),"POST"===w.toUpperCase()?this.httpClient.post(T.join(""),L,A):"GET"===w.toUpperCase()?(L&&T.push(`?${p.stringify(L)}`),this.httpClient.get(T.join(""),A)):void 0}nextPage(_,M){const{bundle:x,options:w={}}=d(_,M);return this.pagination.nextPage(x,w)}prevPage(_,M){const{bundle:x,options:w={}}=d(_,M);return this.pagination.prevPage(x,w)}search({resourceType:_,compartment:M,searchParams:x,headers:w,options:L={}}={}){if(_&&!s(_))throw new Error("Invalid resourceType",_);if(M&&_)return this.compartmentSearch({resourceType:_,compartment:M,searchParams:x,options:r(L,w)});if(_)return this.resourceSearch({resourceType:_,searchParams:x,options:r(L,w)});if(x instanceof Object&&Object.keys(x).length>0)return this.systemSearch({searchParams:x,options:r(L,w)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:_,searchParams:M,headers:x,options:w={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);let L=_;return w.postSearch&&(L+="/_search"),this.baseSearch({searchPath:L,searchParams:M,headers:x,options:w})}systemSearch({searchParams:_,headers:M,options:x={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:_,headers:M,options:x})}compartmentSearch({resourceType:_,compartment:M,searchParams:x,headers:w,options:L={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);const{resourceType:A,id:T}=M;if(!s(A))throw new Error("Invalid compartmentType",A);let O=`/${A}/${T}/${_}`;return L.postSearch&&(O+="/_search"),this.baseSearch({searchPath:O,searchParams:x,headers:w,options:L})}baseSearch({searchPath:_,searchParams:M,headers:x,options:w}){const L=c(M),A=r(w,x);return this[w.postSearch?"postSearch":"getSearch"](_,L,A)}postSearch(_,M,x){const L={"Content-Type":"application/x-www-form-urlencoded",...x.headers},A={...x,headers:L};return this.httpClient.post(_,M,A)}getSearch(_,M,x){let w=_;return M&&(w+=`?${M}`),this.httpClient.get(w,x)}history({resourceType:_,id:M,headers:x,options:w={}}={}){if(_&&!s(_))throw new Error("Invalid resourceType",_);return M&&_?this.resourceHistory({resourceType:_,id:M,options:r(w,x)}):_?this.typeHistory({resourceType:_,options:r(w,x)}):this.systemHistory({options:r(w,x)})}resourceHistory({resourceType:_,id:M,headers:x,options:w={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${M}/_history`,r(w,x))}typeHistory({resourceType:_,headers:M,options:x={}}={}){if(!s(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/_history`,r(x,M))}systemHistory({headers:_,options:M={}}={}){return this.httpClient.get("_history",r(M,_))}},Se.exports.CapabilityTool=u},3820:Se=>{Se.exports={deprecateHeaders:(n,p)=>p?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(p,null," ")),{headers:p,...n}):n,deprecatePaginationArgs:(n,p)=>{if(Object.prototype.hasOwnProperty.call(n,"resourceType")){console.warn("WARNING: positional parameters for pagination methods are deprecated and will be removed in the next major version. Call with ({ bundle, options }) rather than (bundle, headers)");const C={bundle:n};return p&&(C.options={headers:p}),C}return n}}},1335:(Se,X,g)=>{const{AbortController:n}=g(4783);class p{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(o){return{signal:this.controller.signal,...o}}safeAbort(){this.resolving||this.controller.abort()}}Se.exports={FetchQueue:class C{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const o=new p;return this.numJobs=this.jobs.push(o),o}safeAbortOthers(o){o.resolving=!0;for(let v=0,a=this.numJobs;v{Se.exports={fhirReferenceRegEx:/^((http|https):\/\/([A-Za-z0-9\\.:%$]*\/)*)?(Account|ActivityDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodySite|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Conformance|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DataElement|DecisionSupportRule|DecisionSupportServiceModule|DetectedIssue|Device|DeviceComponent|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseRequest|DeviceUseStatement|DiagnosticOrder|DiagnosticReport|DiagnosticRequest|DocumentManifest|DocumentReference|EffectEvidenceSynthesis|EligibilityRequest|EligibilityResponse|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EntryDefinition|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExpansionProfile|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceRequest|GuidanceResponse|HealthcareService|ImagingExcerpt|ImagingManifest|ImagingObjectSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|ImplementationGuideInput|ImplementationGuideOutput|InsurancePlan|Invoice|ItemInstance|Library|Linkage|List|Location|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationOrder|MedicationRequest|MedicationStatement|MedicinalProduct|MedicinalProductAuthorization|MedicinalProductClinicals|MedicinalProductContraindication|MedicinalProductDeviceSpec|MedicinalProductIndication|MedicinalProductIngredient|MedicinalProductInteraction|MedicinalProductManufactured|MedicinalProductPackaged|MedicinalProductPharmaceutical|MedicinalProductUndesirableEffect|MessageDefinition|MessageHeader|ModuleDefinition|ModuleMetadata|MolecularSequence|NamingSystem|NutritionOrder|NutritionRequest|Observation|ObservationDefinition|OccupationalData|OperationDefinition|OperationOutcome|Order|OrderResponse|OrderSet|Organization|OrganizationAffiliation|OrganizationRole|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|ProcedureRequest|ProcessRequest|ProcessResponse|ProductPlan|Protocol|Provenance|Questionnaire|QuestionnaireResponse|ReferralRequest|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|RiskEvidenceSynthesis|Schedule|SearchParameter|Sequence|ServiceDefinition|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SubstanceSpecification|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|UserSession|ValueSet|VerificationResult|VisionPrescription)\/[A-Za-z0-9\-.]{1,256}(\/_history\/[A-Za-z0-9\-.]{1,256})?$/}},8237:(Se,X,g)=>{var n=g(7156).default;g(1098).polyfill(),g(9807);const{logRequestError:p,logRequestInfo:C,logResponseInfo:b}=g(1566),o={accept:"application/fhir+json"},v="__response",a="__request";let s,l,c=!1;try{s=g(5899),l=g(5899).HttpsAgent,c=!0}catch{C("HTTP Agent is not available")}const d=new WeakMap;function u({status:m,data:_,method:M,headers:x,url:w}){const L={response:{status:m,data:_},config:{method:M,url:w,headers:x}};return p(L),L}Se.exports=class Rc{static lcKeys(_){return _&&Object.keys(_).reduce((M,x)=>(M[x.toLowerCase()]=_[x],M),{})}constructor({baseUrl:_,customHeaders:M={},requestOptions:x={},requestSigner:w}){this.baseUrl=_,this.customHeaders=M,this.baseRequestOptions=x,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 _[v]}static requestFor(_){return _[a]}set bearerToken(_){this.authHeader={authorization:`Bearer ${_}`}}requestBuilder(_,M,x,w){const L={...this.baseRequestOptions,...x,method:_,body:(m=w,"string"==typeof m?m:JSON.stringify(m))};var m;let A={};return c||(A={keepalive:!Object.prototype.hasOwnProperty.call(L,"keepalive")||L.keepalive}),Object.assign(L,A,{headers:new Headers(this.mergeHeaders(x.headers))},function r(m,_={}){const M={baseUrl:m,agentOptions:_};return c?(d.get(M)||(m.startsWith("https")?d.set(M,{agent:new l(_)}):d.set(M,{agent:new s(_)})),d.get(M)):{}}(this.baseUrl,L)),this.requestSigner&&this.requestSigner(M,L),new Request(M,L)}request(_,M,x={},w){var L=this;return n(function*(){const A=L.expandUrl(M),T=L.requestBuilder(_,A,x,w);C(_,A,T.headers);const O=yield fetch(T),{status:E,headers:D}=O;b({status:E,response:O});const R=yield O.text();let j={};if(R)try{j=JSON.parse(R)}catch{throw j=R,u({status:E,data:j,method:_,headers:D,url:A})}if(!O.ok)throw u({status:E,data:j,method:_,headers:D,url:A});return Object.defineProperty(j,v,{writable:!1,enumerable:!1,value:O}),Object.defineProperty(j,a,{writable:!1,enumerable:!1,value:T}),j})()}get(_,M){var x=this;return n(function*(){return x.request("GET",_,M)})()}delete(_,M){var x=this;return n(function*(){return x.request("DELETE",_,M)})()}put(_,M,x={}){var w=this;return n(function*(){const L={"content-type":"application/fhir+json",...Rc.lcKeys(x.headers)},A={...x,headers:L};return w.request("PUT",_,A,M)})()}post(_,M,x={}){var w=this;return n(function*(){const L={"content-type":"application/fhir+json",...Rc.lcKeys(x.headers)},A={...x,headers:L};return w.request("POST",_,A,M)})()}patch(_,M,x){var w=this;return n(function*(){return w.request("PATCH",_,x,M)})()}expandUrl(_=""){return _.toLowerCase().startsWith("http")?_:this.baseUrl.endsWith("/")&&_.startsWith("/")?this.baseUrl+_.slice(1):this.baseUrl.endsWith("/")||_.startsWith("/")?this.baseUrl+_:`${this.baseUrl}/${_}`}mergeHeaders(_){const{lcKeys:M}=Rc;return{...M(o),...M(this.authHeader),...M(this.customHeaders),...M(_)}}}},1566:(Se,X,g)=>{const n=g(3187),p=g(563)("fhir-kit-client:error"),C=g(563)("fhir-kit-client:info");function b(l){return n(l)}function o(l){return b(l.raw&&"function"==typeof l.raw?l.raw():l)}Se.exports={logRequestError:function v(l){p.enabled&&(p("!!! Error"),l.response&&p(` Status: ${l.response.status}`),l.config&&(p(` ${l.config.method.toUpperCase()}: ${l.config.url}`),p(` Headers: ${o(l.config.headers)}`)),l.response&&l.response.data&&p(b(l.response.data)),p("!!! Request Error"))},logRequestInfo:function a(l,d,r){C.enabled&&(d&&C(`Request: ${l.toUpperCase()} ${d.toString()}`),C(`Request Headers: ${o(r)}`))},logResponseInfo:function c(l){C.enabled&&(C(`Response: ${l.status}`),l.data&&C(b(l.data)))},logError:function s(l){p.enabled&&p(l)}}},1370:Se=>{Se.exports=class X{constructor(n){this.httpClient=n}nextPage(n,{headers:p}={}){const C=n.link.find(b=>"next"===b.relation);return C?this.httpClient.get(C.url,{headers:p}):void 0}prevPage(n,{headers:p}={}){const C=n.link.find(b=>b.relation.match(/^prev(ious)?$/));return C?this.httpClient.get(C.url,{headers:p}):void 0}}},7681:(Se,X,g)=>{var n=g(7156).default;const{splitReference:p}=g(9047),{deprecateHeaders:C}=g(3820);Se.exports=class{constructor(b){this.client=b}resolve({reference:b,context:o,headers:v,options:a={}}={}){var c=this;return n(function*(){return void 0===o?b.startsWith("http")?c.resolveAbsoluteReference(b,C(a,v)):c.client.httpClient.get(b,C(a,v)):b.startsWith("#")?c.resolveContainedReference(b,o):c.resolveBundleReference(b,o,C(a,v))})()}resolveAbsoluteReference(b,o){var v=this;return n(function*(){if(b.startsWith(v.client.baseUrl))return v.client.httpClient.get(b,o);const{baseUrl:a,resourceType:c,id:s}=p(b);return new(g(8907))({baseUrl:a}).read({resourceType:c,id:s,options:o})})()}resolveContainedReference(b,o){if(o.contained){const v=b.slice(1),a=o.contained.find(c=>c.id===v);if(a)return a}throw new Error(`Unable to resolve contained reference: ${b}`)}resolveBundleReference(b,o,v){var a=this;return n(function*(){const c=new RegExp(`(^|/)${b}$`),s=o.entry.find(l=>c.test(l.fullUrl));return s?s.resource:a.resolve({reference:b,options:v})})()}}},6686:(Se,X,g)=>{const{logError:p}=g(1566);Se.exports={authFromCapability:function C(o){const v={};try{return o.rest.forEach(a=>{a.security.extension.find(s=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===s.url).extension.forEach(s=>{switch(s.url){case"authorize":v.authorizeUrl=new URL(s.valueUri);break;case"token":v.tokenUrl=new URL(s.valueUri);break;case"register":v.registerUrl=new URL(s.valueUri);break;case"manage":v.manageUrl=new URL(s.valueUri)}})}),v}catch(a){return p(a),v}},authFromWellKnown:function b(o){const{authorization_endpoint:v,token_endpoint:a,registration_endpoint:c}=o;return{authorizeUrl:v&&new URL(v),tokenUrl:a&&new URL(a),registerUrl:c&&new URL(c)}}}},9047:(Se,X,g)=>{const n=g(133),{fhirReferenceRegEx:p}=g(4115);Se.exports={createQueryString:function o(v){if(v instanceof Object&&Object.keys(v).length>0)return n.stringify(v)},splitReference:function C(v){if(!v.match(p))throw new Error(`${v} is not a recognized FHIR reference`);let a,c=v;v.startsWith("http")&&([,a]=p.exec(v),c=v.slice(a.length),a.endsWith("/")&&(a=a.slice(0,-1)));const[s,l]=c.split("/");return{baseUrl:a,resourceType:s,id:l}},validResourceType:function b(v){return!v.startsWith("/")&&!v.includes(":")&&/\S/.test(v)}}},4258:(Se,X,g)=>{let n={};const p=g(7353),C=g(5117),b=g(5827);n.aggregateMacro=function(o,v,a){return o.reduce((c,s,l)=>(this.$index=l,this.$total=v(s)),this.$total=a)},n.countFn=function(o){return o&&o.length?o.length:0},n.sumFn=function(o){return n.aggregateMacro.apply(this,[o,v=>p.plus(b.arraify(v),b.arraify(this.$total)),0])},n.minFn=function(o){return n.aggregateMacro.apply(this,[o,v=>{const a=b.arraify(v),c=b.arraify(this.$total);return b.isEmpty(c)||C.lt(a,c)?a:c}])},n.maxFn=function(o){return n.aggregateMacro.apply(this,[o,v=>{const a=b.arraify(v),c=b.arraify(this.$total);return b.isEmpty(c)||C.gt(a,c)?a:c}])},n.avgFn=function(o){return p.div(n.sumFn(o),n.countFn(o))},Se.exports=n},500:(Se,X,g)=>{var n=g(2825),p={};function C(b,o){if(0==o.length)return!0;for(var v=0;v1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(o));return C(b,o)},p.in=function(b,o){if(0==b.length)return[];if(0==o.length)return!1;if(b.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(o));return C(o,b)},Se.exports=p},8330:(Se,X,g)=>{const n={},{distinctFn:p}=g(5073),C=g(6190);n.union=function(b,o){return p(b.concat(o))},n.combineFn=function(b,o){return b.concat(o)},n.intersect=function(b,o){let v=[];const a=b.length;let c=o.length;if(a&&c){let s={};o.forEach(l=>{const d=C(l);s[d]?c--:s[d]=!0});for(let l=0;l0;++l){let d=b[l],r=C(d);s[r]&&(v.push(d),s[r]=!1,c--)}}return v},Se.exports=n},9285:Se=>{Se.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.timeOfDay=null,this.localTimezoneOffset=null},today:null,now:null,timeOfDay:null}},1605:(Se,X,g)=>{var n={};const p=g(4217),C=g(9285),b=p.FP_Date,o=p.FP_DateTime,v=p.FP_Time;n.now=function(){if(!C.now){var c=o.isoDateTime(C.nowDate);C.now=new o(c)}return C.now},n.today=function(){if(!C.today){var c=b.isoDate(C.nowDate);C.today=new b(c)}return C.today},n.timeOfDay=function(){if(!C.timeOfDay){const c=o.isoTime(C.nowDate);C.timeOfDay=new v(c)}return C.timeOfDay},Se.exports=n},2825:(Se,X,g)=>{var p=g(4217).FP_Type,C=g(5827),b=g(4192),o=Array.prototype.slice,v=Object.keys,a=function(h){return"[object Arguments]"==Object.prototype.toString.call(h)};function c(h){return"string"==typeof h||h instanceof String}function s(h){return!isNaN(parseFloat(h))&&isFinite(h)}function l(h){return h.toUpperCase().replace(/\s+/," ")}function r(h){return null==h}Se.exports=function d(h,m,_){if(_||(_={}),(h=C.valDataConverted(h))===(m=C.valDataConverted(m)))return!0;if(_.fuzzy){if(c(h)&&c(m))return l(h)==l(m);if(s(h)&&s(m))return b.isEquivalent(h,m)}else if("number"==typeof h&&"number"==typeof m)return b.isEqual(h,m);if(h instanceof Date&&m instanceof Date)return h.getTime()===m.getTime();if(!h||!m||"object"!=typeof h&&"object"!=typeof m)return h===m;var M=h instanceof p,x=m instanceof p;return M&&x?_.fuzzy?h.equivalentTo(m):h.equals(m):!M&&!x&&function u(h,m,_){var M,x;if(r(h)||r(m)||h.prototype!==m.prototype)return!1;if(a(h)||a(m))return d(h=a(h)?o.call(h):h,m=a(m)?o.call(m):m,_);try{var w=v(h),L=v(m)}catch{return!1}if(w.length!=L.length)return!1;for(w.sort(),L.sort(),M=w.length-1;M>=0;M--)if(w[M]!=L[M])return!1;if(1===w.length)return d(h[x=w[0]],m[x],_);for(M=w.length-1;M>=0;M--)if(!d(h[x=w[M]],m[x],_))return!1;return typeof h==typeof m}(h,m,_)}},5117:(Se,X,g)=>{var n=g(5827),p=g(2825),C=g(4217);const b=C.FP_Type,o=C.FP_Date,v=C.FP_DateTime;var a={};function c(d,r){return n.isEmpty(d)||n.isEmpty(r)?[]:p(d,r)}function s(d,r){return n.isEmpty(d)&&n.isEmpty(r)?[!0]:n.isEmpty(d)||n.isEmpty(r)?[]:p(d,r,{fuzzy:!0})}function l(d,r){n.assertAtMostOne(d,"Singleton was expected"),n.assertAtMostOne(r,"Singleton was expected"),d=n.valDataConverted(d[0]),r=n.valDataConverted(r[0]);let u=d.constructor===o?v:d.constructor,h=r.constructor===o?v:r.constructor;return u!==h&&n.raiseError('Type of "'+d+'" ('+u.name+') did not match type of "'+r+'" ('+h.name+")","InequalityExpression"),[d,r]}a.equal=function(d,r){return c(d,r)},a.unequal=function(d,r){var u=c(d,r);return void 0===u?void 0:!u},a.equival=function(d,r){return s(d,r)},a.unequival=function(d,r){return!s(d,r)},a.lt=function(d,r){if(!d.length||!r.length)return[];const[u,h]=l(d,r);if(u instanceof b){const m=u.compare(h);return null===m?[]:m<0}return u0}return u>h},a.lte=function(d,r){if(!d.length||!r.length)return[];const[u,h]=l(d,r);if(u instanceof b){const m=u.compare(h);return null===m?[]:m<=0}return u<=h},a.gte=function(d,r){if(!d.length||!r.length)return[];const[u,h]=l(d,r);if(u instanceof b){const m=u.compare(h);return null===m?[]:m>=0}return u>=h},Se.exports=a},631:(Se,X,g)=>{const n=g(5827),{whereMacro:p,distinctFn:C}=g(5073),b=g(6777),o=g(6190),v={};function a(c,s){const l=c.length;let d=l<=s.length;if(d&&l){const r=s.reduce((u,h)=>(u[o(h)]=!0,u),{});d=!c.some(u=>!r[o(u)])}return d}v.emptyFn=n.isEmpty,v.notFn=function(c){let s=b.singleton(c,"Boolean");return"boolean"==typeof s?!s:[]},v.existsMacro=function(c,s){var l=c;return s?v.existsMacro(p(c,s)):!n.isEmpty(l)},v.allMacro=function(c,s){for(let l=0,d=c.length;l{const{version:n}=g(82),p=g(7661),C=g(5827);g(4835);const b=g(9285);let o={},v=g(631),a=g(5073),c=g(4258),s=g(8330),l=g(6777),d=g(5117),r=g(500),u=g(7353),h=g(4702),m=g(3774),_=g(1605),M=g(2804);const x=g(4217),{FP_Date:w,FP_DateTime:L,FP_Time:A,FP_Quantity:T,FP_Type:O,ResourceNode:E,TypeInfo:D}=x;let R=E.makeResNode;function j(q,Q,ue,Me){if("Expr"===ue)return function(Xe){return q.$this=C.arraify(Xe),o.doEval(q,q.$this,Me)};if("AnyAtRoot"===ue)return q.$this=q.$this||q.dataRoot,o.doEval(q,q.$this,Me);if("Identifier"===ue){if("TermExpression"===Me.type)return Me.text;throw new Error("Expected identifier node, got "+JSON.stringify(Me))}if("TypeSpecifier"===ue)return o.TypeSpecifier(q,Q,Me);q.$this=Q;const Oe=o.doEval(q,Q,Me);if("Any"===ue)return Oe;if(Array.isArray(ue)){if(0===Oe.length)return[];ue=ue[0]}return l.singleton(Oe,ue)}function S(q){return null==q||C.isEmpty(q)}function k(q,Q,ue,Me){var Oe=o.invocationTable[Q];if(Oe&&Oe.fn){var Xe=Me?Me.length:0;if(2!==Xe)throw new Error("Infix invoke should have arity 2");var Be=Oe.arity[Xe];if(Be){for(var $e=[],st=0;stst?.__path__?R(st,st?.__path__):st),Be={context:Xe,ucum:"http://unitsofmeasure.org"};ue&&(ue=Object.keys(ue).reduce((st,Mt)=>(st[Mt]=Array.isArray(ue[Mt])?ue[Mt].map(tt=>tt?.__path__?R(tt,tt.__path__):tt):ue[Mt]?.__path__?R(ue[Mt],ue[Mt].__path__):ue[Mt],st),{}));let $e={dataRoot:Xe,vars:Object.assign(Be,ue),model:Me};return Oe&&Oe.traceFn&&($e.customTraceFn=Oe.traceFn),o.doEval($e,Xe,Q.children[0]).map(st=>{let Mt=st instanceof E?st.path:null;return(st=C.valData(st))instanceof O&&Oe.resolveInternalTypes&&(st=st.toString()),Mt&&"object"==typeof st&&Object.defineProperty(st,"__path__",{value:Mt}),st})}function me(q,Q,ue){if(ue={resolveInternalTypes:!0,...ue},"object"==typeof q){const Me=F(q.expression);return function(Oe,Xe){const Be=q.base?R(Oe,q.base):Oe;return D.model=Q,Y(Be,Me,Xe,Q,ue)}}{const Me=F(q);return function(Oe,Xe){return D.model=Q,Y(Oe,Me,Xe,Q,ue)}}}o.invocationTable={empty:{fn:v.emptyFn},not:{fn:v.notFn},exists:{fn:v.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:v.allMacro,arity:{1:["Expr"]}},allTrue:{fn:v.allTrueFn},anyTrue:{fn:v.anyTrueFn},allFalse:{fn:v.allFalseFn},anyFalse:{fn:v.anyFalseFn},subsetOf:{fn:v.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:v.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:v.isDistinctFn},distinct:{fn:a.distinctFn},count:{fn:c.countFn},where:{fn:a.whereMacro,arity:{1:["Expr"]}},extension:{fn:a.extension,arity:{1:["String"]}},select:{fn:a.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:c.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:c.sumFn},min:{fn:c.minFn},max:{fn:c.maxFn},avg:{fn:c.avgFn},single:{fn:a.singleFn},first:{fn:a.firstFn},last:{fn:a.lastFn},type:{fn:x.typeFn,arity:{0:[]}},ofType:{fn:a.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:x.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:x.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:a.tailFn},take:{fn:a.takeFn,arity:{1:["Integer"]}},skip:{fn:a.skipFn,arity:{1:["Integer"]}},combine:{fn:s.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:s.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:s.intersect,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,L)},convertsToTime:{fn:l.createConvertsToFn(l.toTime,A)},convertsToQuantity:{fn:l.createConvertsToFn(l.toQuantity,T)},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:a.repeatMacro,arity:{1:["Expr"]}},children:{fn:m.children},descendants:{fn:m.descendants},"|":{fn:s.union,arity:{2:["Any","Any"]}},"=":{fn:d.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:d.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:d.equival,arity:{2:["Any","Any"]}},"!~":{fn:d.unequival,arity:{2:["Any","Any"]}},"<":{fn:d.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:d.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:d.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:d.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:x.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:x.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:["Number","Number"]},nullable:!0},"/":{fn:u.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:u.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:u.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:M.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:M.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:M.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:M.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},o.InvocationExpression=function(q,Q,ue){return ue.children.reduce(function(Me,Oe){return o.doEval(q,Me,Oe)},Q)},o.TermExpression=function(q,Q,ue){return Q&&(Q=Q.map(Me=>Me instanceof Object&&Me.resourceType?R(Me,Me.resourceType):Me)),o.doEval(q,Q,ue.children[0])},o.PolarityExpression=function(q,Q,ue){var Me=ue.terminalNodeText[0],Oe=o.doEval(q,Q,ue.children[0]);if(1!==Oe.length)throw new Error("Unary "+Me+" can only be applied to an individual number.");if("number"!=typeof Oe[0]||isNaN(Oe[0]))throw new Error("Unary "+Me+" can only be applied to a number.");return"-"===Me&&(Oe[0]=-Oe[0]),Oe},o.TypeSpecifier=function(q,Q,ue){let Me,Oe;const Xe=ue.text.split(".").map(Be=>Be.replace(/(^`|`$)/g,""));switch(Xe.length){case 2:[Me,Oe]=Xe;break;case 1:[Oe]=Xe;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(ue))}return new D({namespace:Me,name:Oe})},o.ExternalConstantTerm=function(q,Q,ue){var Xe=o.Identifier(q,Q,ue.children[0].children[0])[0],Be=q.vars[Xe];if(!(Xe in q.vars))throw new Error("Attempting to access an undefined environment variable: "+Xe);return null==Be?[]:Be instanceof Array?Be:[Be]},o.LiteralTerm=function(q,Q,ue){var Me=ue.children[0];return Me?o.doEval(q,Q,Me):[ue.text]},o.StringLiteral=function(q,Q,ue){var Me=ue.text.replace(/(^'|'$)/g,"");return[Me=Me.replace(/\\(u\d{4}|.)/g,function(Oe,Xe){switch(Oe){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return Xe.length>1?String.fromCharCode("0x"+Xe.slice(1)):Xe}})]},o.BooleanLiteral=function(q,Q,ue){return"true"===ue.text?[!0]:[!1]},o.QuantityLiteral=function(q,Q,ue){var Me=ue.children[0],Oe=Number(Me.terminalNodeText[0]),Xe=Me.children[0],Be=Xe.terminalNodeText[0];return!Be&&Xe.children&&(Be=Xe.children[0].terminalNodeText[0]),[new T(Oe,Be)]},o.DateTimeLiteral=function(q,Q,ue){var Me=ue.text.slice(1);return[new L(Me)]},o.TimeLiteral=function(q,Q,ue){var Me=ue.text.slice(1);return[new A(Me)]},o.NumberLiteral=function(q,Q,ue){return[Number(ue.text)]},o.Identifier=function(q,Q,ue){return[ue.text.replace(/(^`|`$)/g,"")]},o.InvocationTerm=function(q,Q,ue){return o.doEval(q,Q,ue.children[0])},o.MemberInvocation=function(q,Q,ue){const Me=o.doEval(q,Q,ue.children[0])[0],Oe=q.model;if(Q){if(C.isCapitalized(Me))return Q.filter(Xe=>Xe instanceof E&&Xe.path===Me);{const Xe=Q.path||Q.__path__;return Q.reduce(function(Be,$e){var st=($e=R($e,Xe)).path+"."+Me;if(Oe){let bt=Oe.pathsDefinedElsewhere[st];bt&&(st=bt)}let Mt,tt,St=Oe&&Oe.choiceTypePaths[st];if(St)for(let bt of St){let xt=Me+bt;if(Mt=$e.data?.[xt],tt=$e.data?.["_"+xt],void 0!==Mt||void 0!==tt){st+=bt;break}}else Mt=$e.data?.[Me],tt=$e.data?.["_"+Me],void 0===Mt&&void 0===tt&&(Mt=$e._data[Me]),"extension"===Me&&(st="Extension");return st=Oe&&Oe.path2Type[st]||st,(C.isSome(Mt)||C.isSome(tt))&&(Array.isArray(Mt)?Be=Be.concat(Mt.map((bt,xt)=>R(bt,st,tt&&tt[xt]))):Be.push(R(Mt,st,tt))),Be},[])}}return[]},o.IndexerExpression=function(q,Q,ue){const Oe=ue.children[1];var Xe=o.doEval(q,Q,ue.children[0]),Be=o.doEval(q,Q,Oe);if(C.isEmpty(Be))return[];var $e=parseInt(Be[0]);return Xe&&C.isSome($e)&&Xe.length>$e&&$e>=0?[Xe[$e]]:[]},o.Functn=function(q,Q,ue){return ue.children.map(function(Me){return o.doEval(q,Q,Me)})},o.realizeParams=function(q,Q,ue){return ue&&ue[0]&&ue[0].children?ue[0].children.map(function(Me){return o.doEval(q,Q,Me)}):[]},o.FunctionInvocation=function(q,Q,ue){var Me=o.doEval(q,Q,ue.children[0]);const Oe=Me[0];return Me.shift(),function N(q,Q,ue,Me){var Xe,Oe=o.invocationTable[Q];if(Oe){if(Oe.arity){var Be=Me?Me.length:0,$e=Oe.arity[Be];if($e){for(var st=[],Mt=0;Mt{const ue=D.fromValue(Q?.__path__?new E(Q,Q.__path__):Q);return`${ue.namespace}.${ue.name}`})},ucumUtils:g(2207).ng.getInstance()}},5073:(Se,X,g)=>{const n=g(5827),{TypeInfo:p,ResourceNode:C}=g(4217),b=g(6190);Se.exports={whereMacro:function(v,a){return!1===v||v?n.flatten(v.filter((c,s)=>(this.$index=s,a(c)[0]))):[]},extension:function(v,a){return!1!==v&&!v||!a?[]:n.flatten(v.map((c,s)=>{this.$index=s;const l=c&&(c.data&&c.data.extension||c._data&&c._data.extension);return l?l.filter(d=>d.url===a).map(d=>C.makeResNode(d,"Extension")):[]}))},selectMacro:function(v,a){return!1===v||v?n.flatten(v.map((c,s)=>(this.$index=s,a(c)))):[]},repeatMacro:function(v,a){if(!1!==v&&!v)return[];let c=[];const s={},l=v.length;for(let d=0;d{const h=b(u),m=!s[h];return m&&(s[h]=!0),m})}while(c.lengthp.fromValue(c).is(a))},distinctFn:function(v){let a=[];if(v.length>0){let c={};for(let s=0,l=v.length;s{const n=g(2207).ng.getInstance(),{roundToMaxPrecision:p}=g(4192),{valDataConverted:C}=g(5827),{FP_Type:b,FP_Quantity:o}=g(4217);function a(c){if("number"==typeof(c=C(c)))return p(c);if(c instanceof Date)return c.toISOString();if(c instanceof o){const s=o._yearMonthConversionFactor[c.unit];if(s)return"_!yearMonth!_:"+s*c.value;{const l=o.toUcumQuantity(c.value,c.unit),d=n.getSpecifiedUnit(l.unit).unit;return"_!"+d.property_+"!_:"+d.magnitude_*l.value}}return c instanceof b?c.toString():"object"==typeof c?Array.isArray(c)?c.map(a):Object.keys(c).sort().reduce((s,l)=>(s[l]=a(c[l]),s),{}):c}Se.exports=function v(c){return JSON.stringify(a(c))}},2804:Se=>{Se.exports={orOp:function(g,n){if(Array.isArray(n)){if(!0===g)return!0;if(!1===g)return[];if(Array.isArray(g))return[]}return Array.isArray(g)?!0===n||[]:g||n},andOp:function(g,n){if(Array.isArray(n)){if(!0===g)return[];if(!1===g)return!1;if(Array.isArray(g))return[]}return Array.isArray(g)?!0===n&&[]:g&&n},xorOp:function(g,n){return Array.isArray(g)||Array.isArray(n)?[]:g&&!n||!g&&n},impliesOp:function(g,n){if(Array.isArray(n)){if(!0===g)return[];if(!1===g)return!0;if(Array.isArray(g))return[]}return Array.isArray(g)?!0===n||[]:!1===g||g&&n}}},7353:(Se,X,g)=>{var n=g(4217);let{FP_TimeBase:p,FP_Quantity:C}=n;const b=g(5827);var o={};function v(c){let s=b.valData(c);if("number"!=typeof s){if(1==s.length&&"number"==typeof(s=b.valData(s[0])))return s;throw new Error("Expected number, but got "+JSON.stringify(s||c))}return s}function a(c){return"number"!=typeof c&&0==c.length}o.amp=function(c,s){return(c||"")+(s||"")},o.plus=function(c,s){if(1==c.length&&1==s.length){var l=b.valDataConverted(c[0]),d=b.valDataConverted(s[0]);if("string"==typeof l&&"string"==typeof d||"number"==typeof l&&"number"==typeof d)return l+d;if(l instanceof p&&d instanceof C)return l.plus(d)}throw new Error("Cannot "+JSON.stringify(c)+" + "+JSON.stringify(s))},o.minus=function(c,s){if(1==c.length&&1==s.length){var l=b.valDataConverted(c[0]),d=b.valDataConverted(s[0]);if("number"==typeof l&&"number"==typeof d)return l-d;if(l instanceof p&&d instanceof C)return l.plus(new C(-d.value,d.unit))}throw new Error("Cannot "+JSON.stringify(c)+" - "+JSON.stringify(s))},o.mul=function(c,s){return c*s},o.div=function(c,s){return 0===s?[]:c/s},o.intdiv=function(c,s){return 0===s?[]:Math.floor(c/s)},o.mod=function(c,s){return 0===s?[]:c%s},o.abs=function(c){if(a(c))return[];{let s=v(c);return Math.abs(s)}},o.ceiling=function(c){if(a(c))return[];{let s=v(c);return Math.ceil(s)}},o.exp=function(c){if(a(c))return[];{let s=v(c);return Math.exp(s)}},o.floor=function(c){if(a(c))return[];{let s=v(c);return Math.floor(s)}},o.ln=function(c){if(a(c))return[];{let s=v(c);return Math.log(s)}},o.log=function(c,s){if(a(c)||a(s))return[];{let l=v(c),d=v(s);return Math.log(l)/Math.log(d)}},o.power=function(c,s){if(a(c)||a(s))return[];{let l=v(c),d=v(s);return l<0&&Math.floor(d)!=d?[]:Math.pow(l,d)}},o.round=function(c,s){if(a(c))return[];{let l=v(c);if(a(s))return Math.round(l);{let d=v(s),r=Math.pow(10,d);return Math.round(l*r)/r}}},o.sqrt=function(c){if(a(c))return[];{let s=v(c);return s<0?[]:Math.sqrt(s)}},o.truncate=function(c){if(a(c))return[];{let s=v(c);return Math.trunc(s)}},Se.exports=o},6777:(Se,X,g)=>{var n=g(5827),p=g(4217);const{FP_Quantity:C}=p;var b={iifMacro:function(m,_,M,x){return n.isTrue(_(m))?M(m):x?x(m):[]},traceFn:function(m,_,M){return this.customTraceFn?this.customTraceFn(M?M(m):m,_??""):M?console.log("TRACE:["+(_||"")+"]",JSON.stringify(M(m),null," ")):console.log("TRACE:["+(_||"")+"]",JSON.stringify(m,null," ")),m}},o=/^[+-]?\d+$/;b.toInteger=function(m){if(1!==m.length)return[];var _=n.valData(m[0]);return!1===_?0:!0===_?1:"number"==typeof _?Number.isInteger(_)?_:[]:"string"==typeof _&&o.test(_)?parseInt(_):[]};const v=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;b.toQuantity=function(m,_){let M;if(_&&!C.mapTimeUnitsToUCUMCode[_]&&(_=`'${_}'`),m.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===m.length){var x=n.valDataConverted(m[0]);let w;if("number"==typeof x)M=new C(x,"'1'");else if(x instanceof C)M=x;else if("boolean"==typeof x)M=new C(x?1:0,"'1'");else if("string"==typeof x&&(w=v.exec(x))){const A=w[5],T=w[6];(!T||C.mapTimeUnitsToUCUMCode[T])&&(M=new C(Number(w[1]),A||T||"'1'"))}M&&_&&M.unit!==_&&(M=C.convUnitTo(M.unit,M.value,_))}return M||[]};var c=/^[+-]?\d+(\.\d+)?$/;function s(m){let _=m.slice(3);b["to"+_]=function(M){var x=[];if(M.length>1)throw Error("to "+_+" called for a collection of length "+M.length);if(1===M.length){var w=p[m].checkString(n.valData(M[0]));w&&(x=w)}return x}}b.toDecimal=function(m){if(1!==m.length)return[];var _=n.valData(m[0]);return!1===_?0:!0===_?1:"number"==typeof _?_:"string"==typeof _&&c.test(_)?parseFloat(_):[]},b.toString=function(m){return 1!==m.length?[]:n.valDataConverted(m[0]).toString()},s("FP_Date"),s("FP_DateTime"),s("FP_Time");const l=["true","t","yes","y","1","1.0"].reduce((m,_)=>(m[_]=!0,m),{}),d=["false","f","no","n","0","0.0"].reduce((m,_)=>(m[_]=!0,m),{});b.toBoolean=function(m){if(1!==m.length)return[];const _=n.valData(m[0]);switch(typeof _){case"boolean":return _;case"number":if(1===_)return!0;if(0===_)return!1;break;case"string":const M=_.toLowerCase();if(l[M])return!0;if(d[M])return!1}return[]},b.createConvertsToFn=function(m,_){return"string"==typeof _?function(M){return 1!==M.length?[]:typeof m(M)===_}:function(M){return 1!==M.length?[]:m(M)instanceof _}};const r={Integer:function(m){const _=n.valData(m[0]);if(Number.isInteger(_))return _},Boolean:function(m){const _=n.valData(m[0]);return!0===_||!1===_?_:1===m.length||void 0},Number:function(m){const _=n.valData(m[0]);if("number"==typeof _)return _},String:function(m){const _=n.valData(m[0]);if("string"==typeof _)return _}};b.singleton=function(m,_){if(m.length>1)throw new Error("Unexpected collection"+JSON.stringify(m)+"; expected singleton of type "+_);if(0===m.length)return[];const M=r[_];if(M){const x=M(m);if(void 0!==x)return x;throw new Error(`Expected ${_.toLowerCase()}, but got: ${JSON.stringify(m)}`)}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(m){switch(typeof m){case"string":case"number":case"boolean":return!0;default:return!1}}b.hasValueFn=function(m){return 1===m.length?this.model?[u.has(m[0].path)]:[h(n.valData(m[0]))]:[!1]},Se.exports=b},3774:(Se,X,g)=>{const n=g(5827),{ResourceNode:p}=g(4217);let C=p.makeResNode;var b={children:function(o){let v=this.model;return o.reduce(function(a,c){let s=n.valData(c);if(c=C(c),"object"==typeof s){for(var l of Object.keys(s)){var d=s[l],r=c.path+"."+l;if(v){let u=v.pathsDefinedElsewhere[r];u&&(r=u)}Array.isArray(d)?a.push.apply(a,d.map(u=>C(u,r))):a.push(C(d,r))}return a}return a},[])},descendants:function(o){for(var v=b.children.call(this,o),a=[];v.length>0;)a.push.apply(a,v),v=b.children.call(this,v);return a}};Se.exports=b},4192:Se=>{let X={};function g(b){const v=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +b);if(!v)return 0;const a=v[2];return Math.max(0,("0"===a?0:(a||"").length)-(v[3]||0))}function n(b,o){const v=Math.pow(10,o);return Math.round(b*v)/v}const C=X.roundToMaxPrecision=function(b){return 1e-8*Math.round(b/1e-8)};X.isEquivalent=function(b,o){if(Number.isInteger(b)&&Number.isInteger(o))return b===o;const v=Math.min(g(b),g(o));return 0===v?Math.round(b)===Math.round(o):n(b,v)===n(o,v)},X.isEqual=function(b,o){return C(b)===C(o)},Se.exports=X},5815:(Se,X,g)=>{X.atn=g(871),X.codepointat=g(6419),X.dfa=g(7061),X.fromcodepoint=g(9182),X.tree=g(9804),X.error=g(6405),X.Token=g(6205).Token,X.CommonToken=g(6205).CommonToken,X.InputStream=g(1466),X.CommonTokenStream=g(7456),X.Lexer=g(9042),X.Parser=g(111);var n=g(6185);X.PredictionContextCache=n.PredictionContextCache,X.ParserRuleContext=g(7293),X.Interval=g(9173).Interval,X.IntervalSet=g(9173).IntervalSet,X.Utils=g(3340),X.LL1Analyzer=g(4589).LL1Analyzer},2472:(Se,X,g)=>{var n=g(8416).default;const p=g(5815),C=["\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(""),b=(new p.atn.ATNDeserializer).deserialize(C),o=b.decisionToState.map((a,c)=>new p.dfa.DFA(a,c));class v extends p.Lexer{constructor(c){super(c),this._interp=new p.atn.LexerATNSimulator(this,b,o,new p.PredictionContextCache)}get atn(){return b}}n(v,"grammarFileName","FHIRPath.g4"),n(v,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(v,"modeNames",["DEFAULT_MODE"]),n(v,"literalNames",[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),n(v,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),n(v,"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"]),v.EOF=p.Token.EOF,v.T__0=1,v.T__1=2,v.T__2=3,v.T__3=4,v.T__4=5,v.T__5=6,v.T__6=7,v.T__7=8,v.T__8=9,v.T__9=10,v.T__10=11,v.T__11=12,v.T__12=13,v.T__13=14,v.T__14=15,v.T__15=16,v.T__16=17,v.T__17=18,v.T__18=19,v.T__19=20,v.T__20=21,v.T__21=22,v.T__22=23,v.T__23=24,v.T__24=25,v.T__25=26,v.T__26=27,v.T__27=28,v.T__28=29,v.T__29=30,v.T__30=31,v.T__31=32,v.T__32=33,v.T__33=34,v.T__34=35,v.T__35=36,v.T__36=37,v.T__37=38,v.T__38=39,v.T__39=40,v.T__40=41,v.T__41=42,v.T__42=43,v.T__43=44,v.T__44=45,v.T__45=46,v.T__46=47,v.T__47=48,v.T__48=49,v.T__49=50,v.T__50=51,v.T__51=52,v.T__52=53,v.T__53=54,v.DATETIME=55,v.TIME=56,v.IDENTIFIER=57,v.DELIMITEDIDENTIFIER=58,v.STRING=59,v.NUMBER=60,v.WS=61,v.COMMENT=62,v.LINE_COMMENT=63,Se.exports=v},6647:(Se,X,g)=>{const n=g(5815);Se.exports=class p extends n.tree.ParseTreeListener{enterEntireExpression(b){}exitEntireExpression(b){}enterIndexerExpression(b){}exitIndexerExpression(b){}enterPolarityExpression(b){}exitPolarityExpression(b){}enterAdditiveExpression(b){}exitAdditiveExpression(b){}enterMultiplicativeExpression(b){}exitMultiplicativeExpression(b){}enterUnionExpression(b){}exitUnionExpression(b){}enterOrExpression(b){}exitOrExpression(b){}enterAndExpression(b){}exitAndExpression(b){}enterMembershipExpression(b){}exitMembershipExpression(b){}enterInequalityExpression(b){}exitInequalityExpression(b){}enterInvocationExpression(b){}exitInvocationExpression(b){}enterEqualityExpression(b){}exitEqualityExpression(b){}enterImpliesExpression(b){}exitImpliesExpression(b){}enterTermExpression(b){}exitTermExpression(b){}enterTypeExpression(b){}exitTypeExpression(b){}enterInvocationTerm(b){}exitInvocationTerm(b){}enterLiteralTerm(b){}exitLiteralTerm(b){}enterExternalConstantTerm(b){}exitExternalConstantTerm(b){}enterParenthesizedTerm(b){}exitParenthesizedTerm(b){}enterNullLiteral(b){}exitNullLiteral(b){}enterBooleanLiteral(b){}exitBooleanLiteral(b){}enterStringLiteral(b){}exitStringLiteral(b){}enterNumberLiteral(b){}exitNumberLiteral(b){}enterDateTimeLiteral(b){}exitDateTimeLiteral(b){}enterTimeLiteral(b){}exitTimeLiteral(b){}enterQuantityLiteral(b){}exitQuantityLiteral(b){}enterExternalConstant(b){}exitExternalConstant(b){}enterMemberInvocation(b){}exitMemberInvocation(b){}enterFunctionInvocation(b){}exitFunctionInvocation(b){}enterThisInvocation(b){}exitThisInvocation(b){}enterIndexInvocation(b){}exitIndexInvocation(b){}enterTotalInvocation(b){}exitTotalInvocation(b){}enterFunctn(b){}exitFunctn(b){}enterParamList(b){}exitParamList(b){}enterQuantity(b){}exitQuantity(b){}enterUnit(b){}exitUnit(b){}enterDateTimePrecision(b){}exitDateTimePrecision(b){}enterPluralDateTimePrecision(b){}exitPluralDateTimePrecision(b){}enterTypeSpecifier(b){}exitTypeSpecifier(b){}enterQualifiedIdentifier(b){}exitQualifiedIdentifier(b){}enterIdentifier(b){}exitIdentifier(b){}}},8827:(Se,X,g)=>{var n=g(8416).default;const p=g(5815),C=g(6647),b=["\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(""),o=(new p.atn.ATNDeserializer).deserialize(b),v=o.decisionToState.map((rt,J)=>new p.dfa.DFA(rt,J)),a=new p.PredictionContextCache;class c extends p.Parser{constructor(J){super(J),this._interp=new p.atn.ParserATNSimulator(this,o,v,a),this.ruleNames=c.ruleNames,this.literalNames=c.literalNames,this.symbolicNames=c.symbolicNames}get atn(){return o}sempred(J,Ce,ee){if(1===Ce)return this.expression_sempred(J,ee);throw"No predicate with index:"+Ce}expression_sempred(J,Ce){switch(Ce){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:"+Ce}}entireExpression(){let J=new s(this,this._ctx,this.state);this.enterRule(J,0,c.RULE_entireExpression);try{this.enterOuterAlt(J,1),this.state=30,this.expression(0),this.state=31,this.match(c.EOF)}catch(Ce){if(!(Ce instanceof p.error.RecognitionException))throw Ce;J.exception=Ce,this._errHandler.reportError(this,Ce),this._errHandler.recover(this,Ce)}finally{this.exitRule()}return J}expression(J){void 0===J&&(J=0);const Ce=this._ctx,ee=this.state;let ae=new l(this,this._ctx,ee),ie=ae;this.enterRecursionRule(ae,2,c.RULE_expression,J);var Te=0;try{switch(this.enterOuterAlt(ae,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case c.T__15:case c.T__16:case c.T__21:case c.T__22:case c.T__27:case c.T__29:case c.T__31:case c.T__32:case c.T__33:case c.T__34:case c.T__35:case c.T__36:case c.DATETIME:case c.TIME:case c.IDENTIFIER:case c.DELIMITEDIDENTIFIER:case c.STRING:case c.NUMBER:ae=new O(this,ae),this._ctx=ae,ie=ae,this.state=34,this.term();break;case c.T__3:case c.T__4:ae=new r(this,ae),this._ctx=ae,ie=ae,this.state=35,(Te=this._input.LA(1))===c.T__3||Te===c.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new p.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var ct=this._interp.adaptivePredict(this._input,2,this._ctx);2!=ct&&ct!=p.atn.ATN.INVALID_ALT_NUMBER;){if(1===ct)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),ie=ae,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(ae=new h(this,new l(this,Ce,ee)),this.pushNewRecursionContext(ae,2,c.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new p.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,!(-32&(Te=this._input.LA(1)))&&1<'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),n(c,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),n(c,"ruleNames",["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"]),c.EOF=p.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,c.RULE_entireExpression=0,c.RULE_expression=1,c.RULE_term=2,c.RULE_literal=3,c.RULE_externalConstant=4,c.RULE_invocation=5,c.RULE_functn=6,c.RULE_paramList=7,c.RULE_quantity=8,c.RULE_unit=9,c.RULE_dateTimePrecision=10,c.RULE_pluralDateTimePrecision=11,c.RULE_typeSpecifier=12,c.RULE_qualifiedIdentifier=13,c.RULE_identifier=14;class s extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_entireExpression}expression(){return this.getTypedRuleContext(l,0)}EOF(){return this.getToken(c.EOF,0)}enterRule(J){J instanceof C&&J.enterEntireExpression(this)}exitRule(J){J instanceof C&&J.exitEntireExpression(this)}}class l extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_expression}copyFrom(J){super.copyFrom(J)}}class d extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterIndexerExpression(this)}exitRule(J){J instanceof C&&J.exitIndexerExpression(this)}}c.IndexerExpressionContext=d;class r extends l{constructor(J,Ce){super(J),super.copyFrom(Ce)}expression(){return this.getTypedRuleContext(l,0)}enterRule(J){J instanceof C&&J.enterPolarityExpression(this)}exitRule(J){J instanceof C&&J.exitPolarityExpression(this)}}c.PolarityExpressionContext=r;class u extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterAdditiveExpression(this)}exitRule(J){J instanceof C&&J.exitAdditiveExpression(this)}}c.AdditiveExpressionContext=u;class h extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterMultiplicativeExpression(this)}exitRule(J){J instanceof C&&J.exitMultiplicativeExpression(this)}}c.MultiplicativeExpressionContext=h;class m extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterUnionExpression(this)}exitRule(J){J instanceof C&&J.exitUnionExpression(this)}}c.UnionExpressionContext=m;class _ extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterOrExpression(this)}exitRule(J){J instanceof C&&J.exitOrExpression(this)}}c.OrExpressionContext=_;class M extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterAndExpression(this)}exitRule(J){J instanceof C&&J.exitAndExpression(this)}}c.AndExpressionContext=M;class x extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterMembershipExpression(this)}exitRule(J){J instanceof C&&J.exitMembershipExpression(this)}}c.MembershipExpressionContext=x;class w extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterInequalityExpression(this)}exitRule(J){J instanceof C&&J.exitInequalityExpression(this)}}c.InequalityExpressionContext=w;class L extends l{constructor(J,Ce){super(J),super.copyFrom(Ce)}expression(){return this.getTypedRuleContext(l,0)}invocation(){return this.getTypedRuleContext(ue,0)}enterRule(J){J instanceof C&&J.enterInvocationExpression(this)}exitRule(J){J instanceof C&&J.exitInvocationExpression(this)}}c.InvocationExpressionContext=L;class A extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterEqualityExpression(this)}exitRule(J){J instanceof C&&J.exitEqualityExpression(this)}}c.EqualityExpressionContext=A;class T extends l{constructor(J,Ce){super(J),n(this,"expression",function(ee){return void 0===ee&&(ee=null),null===ee?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ee)}),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterImpliesExpression(this)}exitRule(J){J instanceof C&&J.exitImpliesExpression(this)}}c.ImpliesExpressionContext=T;class O extends l{constructor(J,Ce){super(J),super.copyFrom(Ce)}term(){return this.getTypedRuleContext(D,0)}enterRule(J){J instanceof C&&J.enterTermExpression(this)}exitRule(J){J instanceof C&&J.exitTermExpression(this)}}c.TermExpressionContext=O;class E extends l{constructor(J,Ce){super(J),super.copyFrom(Ce)}expression(){return this.getTypedRuleContext(l,0)}typeSpecifier(){return this.getTypedRuleContext(nt,0)}enterRule(J){J instanceof C&&J.enterTypeExpression(this)}exitRule(J){J instanceof C&&J.exitTypeExpression(this)}}c.TypeExpressionContext=E;class D extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_term}copyFrom(J){super.copyFrom(J)}}class R extends D{constructor(J,Ce){super(J),super.copyFrom(Ce)}externalConstant(){return this.getTypedRuleContext(Q,0)}enterRule(J){J instanceof C&&J.enterExternalConstantTerm(this)}exitRule(J){J instanceof C&&J.exitExternalConstantTerm(this)}}c.ExternalConstantTermContext=R;class j extends D{constructor(J,Ce){super(J),super.copyFrom(Ce)}literal(){return this.getTypedRuleContext(k,0)}enterRule(J){J instanceof C&&J.enterLiteralTerm(this)}exitRule(J){J instanceof C&&J.exitLiteralTerm(this)}}c.LiteralTermContext=j;class N extends D{constructor(J,Ce){super(J),super.copyFrom(Ce)}expression(){return this.getTypedRuleContext(l,0)}enterRule(J){J instanceof C&&J.enterParenthesizedTerm(this)}exitRule(J){J instanceof C&&J.exitParenthesizedTerm(this)}}c.ParenthesizedTermContext=N;class S extends D{constructor(J,Ce){super(J),super.copyFrom(Ce)}invocation(){return this.getTypedRuleContext(ue,0)}enterRule(J){J instanceof C&&J.enterInvocationTerm(this)}exitRule(J){J instanceof C&&J.exitInvocationTerm(this)}}c.InvocationTermContext=S;class k extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_literal}copyFrom(J){super.copyFrom(J)}}class F extends k{constructor(J,Ce){super(J),super.copyFrom(Ce)}TIME(){return this.getToken(c.TIME,0)}enterRule(J){J instanceof C&&J.enterTimeLiteral(this)}exitRule(J){J instanceof C&&J.exitTimeLiteral(this)}}c.TimeLiteralContext=F;class Y extends k{constructor(J,Ce){super(J),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterNullLiteral(this)}exitRule(J){J instanceof C&&J.exitNullLiteral(this)}}c.NullLiteralContext=Y;class se extends k{constructor(J,Ce){super(J),super.copyFrom(Ce)}DATETIME(){return this.getToken(c.DATETIME,0)}enterRule(J){J instanceof C&&J.enterDateTimeLiteral(this)}exitRule(J){J instanceof C&&J.exitDateTimeLiteral(this)}}c.DateTimeLiteralContext=se;class ne extends k{constructor(J,Ce){super(J),super.copyFrom(Ce)}STRING(){return this.getToken(c.STRING,0)}enterRule(J){J instanceof C&&J.enterStringLiteral(this)}exitRule(J){J instanceof C&&J.exitStringLiteral(this)}}c.StringLiteralContext=ne;class me extends k{constructor(J,Ce){super(J),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterBooleanLiteral(this)}exitRule(J){J instanceof C&&J.exitBooleanLiteral(this)}}c.BooleanLiteralContext=me;class $ extends k{constructor(J,Ce){super(J),super.copyFrom(Ce)}NUMBER(){return this.getToken(c.NUMBER,0)}enterRule(J){J instanceof C&&J.enterNumberLiteral(this)}exitRule(J){J instanceof C&&J.exitNumberLiteral(this)}}c.NumberLiteralContext=$;class q extends k{constructor(J,Ce){super(J),super.copyFrom(Ce)}quantity(){return this.getTypedRuleContext(tt,0)}enterRule(J){J instanceof C&&J.enterQuantityLiteral(this)}exitRule(J){J instanceof C&&J.exitQuantityLiteral(this)}}c.QuantityLiteralContext=q;class Q extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_externalConstant}identifier(){return this.getTypedRuleContext(vt,0)}STRING(){return this.getToken(c.STRING,0)}enterRule(J){J instanceof C&&J.enterExternalConstant(this)}exitRule(J){J instanceof C&&J.exitExternalConstant(this)}}class ue extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_invocation}copyFrom(J){super.copyFrom(J)}}class Me extends ue{constructor(J,Ce){super(J),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterTotalInvocation(this)}exitRule(J){J instanceof C&&J.exitTotalInvocation(this)}}c.TotalInvocationContext=Me;class Oe extends ue{constructor(J,Ce){super(J),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterThisInvocation(this)}exitRule(J){J instanceof C&&J.exitThisInvocation(this)}}c.ThisInvocationContext=Oe;class Xe extends ue{constructor(J,Ce){super(J),super.copyFrom(Ce)}enterRule(J){J instanceof C&&J.enterIndexInvocation(this)}exitRule(J){J instanceof C&&J.exitIndexInvocation(this)}}c.IndexInvocationContext=Xe;class Be extends ue{constructor(J,Ce){super(J),super.copyFrom(Ce)}functn(){return this.getTypedRuleContext(st,0)}enterRule(J){J instanceof C&&J.enterFunctionInvocation(this)}exitRule(J){J instanceof C&&J.exitFunctionInvocation(this)}}c.FunctionInvocationContext=Be;class $e extends ue{constructor(J,Ce){super(J),super.copyFrom(Ce)}identifier(){return this.getTypedRuleContext(vt,0)}enterRule(J){J instanceof C&&J.enterMemberInvocation(this)}exitRule(J){J instanceof C&&J.exitMemberInvocation(this)}}c.MemberInvocationContext=$e;class st extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_functn}identifier(){return this.getTypedRuleContext(vt,0)}paramList(){return this.getTypedRuleContext(Mt,0)}enterRule(J){J instanceof C&&J.enterFunctn(this)}exitRule(J){J instanceof C&&J.exitFunctn(this)}}class Mt extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),n(this,"expression",function(ae){return void 0===ae&&(ae=null),null===ae?this.getTypedRuleContexts(l):this.getTypedRuleContext(l,ae)}),this.parser=J,this.ruleIndex=c.RULE_paramList}enterRule(J){J instanceof C&&J.enterParamList(this)}exitRule(J){J instanceof C&&J.exitParamList(this)}}class tt extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_quantity}NUMBER(){return this.getToken(c.NUMBER,0)}unit(){return this.getTypedRuleContext(St,0)}enterRule(J){J instanceof C&&J.enterQuantity(this)}exitRule(J){J instanceof C&&J.exitQuantity(this)}}class St extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_unit}dateTimePrecision(){return this.getTypedRuleContext(bt,0)}pluralDateTimePrecision(){return this.getTypedRuleContext(xt,0)}STRING(){return this.getToken(c.STRING,0)}enterRule(J){J instanceof C&&J.enterUnit(this)}exitRule(J){J instanceof C&&J.exitUnit(this)}}class bt extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_dateTimePrecision}enterRule(J){J instanceof C&&J.enterDateTimePrecision(this)}exitRule(J){J instanceof C&&J.exitDateTimePrecision(this)}}class xt extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_pluralDateTimePrecision}enterRule(J){J instanceof C&&J.enterPluralDateTimePrecision(this)}exitRule(J){J instanceof C&&J.exitPluralDateTimePrecision(this)}}class nt extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_typeSpecifier}qualifiedIdentifier(){return this.getTypedRuleContext(ot,0)}enterRule(J){J instanceof C&&J.enterTypeSpecifier(this)}exitRule(J){J instanceof C&&J.exitTypeSpecifier(this)}}class ot extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),n(this,"identifier",function(ae){return void 0===ae&&(ae=null),null===ae?this.getTypedRuleContexts(vt):this.getTypedRuleContext(vt,ae)}),this.parser=J,this.ruleIndex=c.RULE_qualifiedIdentifier}enterRule(J){J instanceof C&&J.enterQualifiedIdentifier(this)}exitRule(J){J instanceof C&&J.exitQualifiedIdentifier(this)}}class vt extends p.ParserRuleContext{constructor(J,Ce,ee){void 0===Ce&&(Ce=null),null==ee&&(ee=-1),super(Ce,ee),this.parser=J,this.ruleIndex=c.RULE_identifier}IDENTIFIER(){return this.getToken(c.IDENTIFIER,0)}DELIMITEDIDENTIFIER(){return this.getToken(c.DELIMITEDIDENTIFIER,0)}enterRule(J){J instanceof C&&J.enterIdentifier(this)}exitRule(J){J instanceof C&&J.exitIdentifier(this)}}c.EntireExpressionContext=s,c.ExpressionContext=l,c.TermContext=D,c.LiteralContext=k,c.ExternalConstantContext=Q,c.InvocationContext=ue,c.FunctnContext=st,c.ParamListContext=Mt,c.QuantityContext=tt,c.UnitContext=St,c.DateTimePrecisionContext=bt,c.PluralDateTimePrecisionContext=xt,c.TypeSpecifierContext=nt,c.QualifiedIdentifierContext=ot,c.IdentifierContext=vt,Se.exports=c},7661:(Se,X,g)=>{const n=g(5815),p=g(2472),C=g(8827),b=g(6647);class o extends n.error.ErrorListener{constructor(c){super(),this.errors=c}syntaxError(c,s,l,d,r,u){this.errors.push([c,s,l,d,r,u])}}Se.exports={parse:function(a){var c=new n.InputStream(a),s=new p(c),l=new n.CommonTokenStream(s),d=new C(l);d.buildParseTrees=!0;var r=[],u=new o(r);s.removeErrorListeners(),s.addErrorListener(u),d.removeErrorListeners(),d.addErrorListener(u);var h=d.entireExpression();class m extends b{constructor(){super()}}var M,_={},x=[_];for(let A of Object.getOwnPropertyNames(b.prototype))A.startsWith("enter")?m.prototype[A]=function(T){let O=x[x.length-1];(M={type:A.slice(5)}).text=T.getText(),O.children||(O.children=[]),O.children.push(M),x.push(M),M.terminalNodeText=[];for(let D of T.children)D.symbol&&M.terminalNodeText.push(D.getText())}:A.startsWith("exit")&&(m.prototype[A]=function(){x.pop()});var w=new m;if(n.tree.ParseTreeWalker.DEFAULT.walk(w,h),r.length>0){let A=[];for(let T=0,O=r.length;T{const Se=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(X){return"number"==typeof X&&isFinite(X)&&Math.floor(X)===X},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(X,g){return this.indexOf(X,g=g||0)===g}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(X,g){var n=this.toString();(void 0===g||g>n.length)&&(g=n.length);var p=n.indexOf(X,g-=X.length);return-1!==p&&p===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(X){if(null==X)throw new TypeError("Cannot convert undefined or null to object");return Se(arguments,1).reduce(function(g,n){return Object.keys(Object(n)).forEach(function(p){g[p]=n[p]}),g},Object(X))}}),typeof btoa>"u"&&(global.btoa=function(X){return new Buffer.from(X,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(X){return new Buffer.from(X,"base64").toString("binary")})},4702:(Se,X,g)=>{const n=g(5827),p=g(6777),C={},b={};C.indexOf=function(a,c){const s=p.singleton(a,"String");return n.isEmpty(c)||n.isEmpty(s)?[]:s.indexOf(c)},C.substring=function(a,c,s){const l=p.singleton(a,"String");return n.isEmpty(l)||n.isEmpty(c)||c<0||c>=l.length?[]:void 0===s||n.isEmpty(s)?l.substring(c):l.substring(c,c+s)},C.startsWith=function(a,c){const s=p.singleton(a,"String");return n.isEmpty(c)||n.isEmpty(s)?[]:s.startsWith(c)},C.endsWith=function(a,c){const s=p.singleton(a,"String");return n.isEmpty(c)||n.isEmpty(s)?[]:s.endsWith(c)},C.containsFn=function(a,c){const s=p.singleton(a,"String");return n.isEmpty(c)||n.isEmpty(s)?[]:s.includes(c)},C.upper=function(a){const c=p.singleton(a,"String");return n.isEmpty(c)?[]:c.toUpperCase()},C.lower=function(a){const c=p.singleton(a,"String");return n.isEmpty(c)?[]:c.toLowerCase()},C.joinFn=function(a,c){return void 0===c&&(c=""),a.map(l=>{const d=n.valData(l);if("string"==typeof d)return d;throw new Error("Join requires a collection of strings.")}).join(c)},C.splitFn=function(a,c){const s=p.singleton(a,"String");return n.isEmpty(s)?[]:s.split(c)},C.trimFn=function(a){const c=p.singleton(a,"String");return n.isEmpty(c)?[]:c.trim()},C.encodeFn=function(a,c){const s=p.singleton(a,"String");return n.isEmpty(s)?[]:"urlbase64"===c||"base64url"===c?btoa(s).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===c?btoa(s):"hex"===c?Array.from(s).map(l=>l.charCodeAt(0)<128?l.charCodeAt(0).toString(16):encodeURIComponent(l).replace(/%/g,"")).join(""):[]},C.decodeFn=function(a,c){const s=p.singleton(a,"String");if(n.isEmpty(s))return[];if("urlbase64"===c||"base64url"===c)return atob(s.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===c)return atob(s);if("hex"===c){if(s.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+s.match(/.{2}/g).join("%"))}return[]},C.matches=!1===new RegExp("").dotAll?function(a,c){const s=p.singleton(a,"String");return n.isEmpty(c)||n.isEmpty(s)?[]:new RegExp(c,"s").test(s)}:function(a,c){const s=p.singleton(a,"String");return n.isEmpty(c)||n.isEmpty(s)?[]:new RegExp(function o(a){return b[a]||(b[a]=a.replace(/\./g,(c,s,l)=>{const r=l.substr(0,s).replace(/\\\\/g,"").replace(/\\[\][]/g,""),u="\\"===r[r.length-1],h=r.lastIndexOf("["),m=r.lastIndexOf("]");return u||h>m?".":"[^]"})),b[a]}(c)).test(s)},C.replace=function(a,c,s){const l=p.singleton(a,"String");if(n.isEmpty(c)||n.isEmpty(s)||n.isEmpty(l))return[];const d=new RegExp(n.escapeStringForRegExp(c),"g");return l.replace(d,s)},C.replaceMatches=function(a,c,s){const l=p.singleton(a,"String");if(n.isEmpty(c)||n.isEmpty(s)||n.isEmpty(l))return[];const d=new RegExp(c,"g");return l.replace(d,s)},C.length=function(a){const c=p.singleton(a,"String");return n.isEmpty(c)?[]:c.length},C.toChars=function(a){const c=p.singleton(a,"String");return n.isEmpty(c)?[]:c.split("")},Se.exports=C},4217:(Se,X,g)=>{var n=g(8416).default;const p=g(3745),C=g(2207).ng.getInstance(),b=g(4192);let v="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",a=new RegExp("^T?"+v+"$"),c=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+v+")?)?)?Z?$"),s=new RegExp("^[0-9][0-9][0-9][0-9](-[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"Not implemented"}}class d extends l{constructor(E,D){super(),this.asStr=E+" "+D,this.value=E,this.unit=D}equals(E){if(!(E instanceof this.constructor))return!1;if(this.unit===E.unit)return b.isEqual(this.value,E.value);const D=this._compareYearsAndMonths(E);if(D)return D.isEqual;const R=d.toUcumQuantity(this.value,this.unit),j=d.toUcumQuantity(E.value,E.unit),N=C.convertUnitTo(j.unit,j.value,R.unit);return"succeeded"===N.status&&b.isEqual(R.value,N.toVal)}equivalentTo(E){if(!(E instanceof this.constructor))return!1;if(this.unit===E.unit)return b.isEquivalent(this.value,E.value);const D=d.getEquivalentUcumUnitCode(this.unit),R=d.getEquivalentUcumUnitCode(E.unit),j=C.convertUnitTo(R,E.value,D);return"succeeded"===j.status&&b.isEquivalent(this.value,j.toVal)}_compareYearsAndMonths(E){const D=d._yearMonthConversionFactor[this.unit],R=d._yearMonthConversionFactor[E.unit];return D&&R?{isEqual:b.isEqual(this.value*D,E.value*R)}:null}}const r=/^'|'$/g;d.getEquivalentUcumUnitCode=function(O){return d.mapTimeUnitsToUCUMCode[O]||O.replace(r,"")},d.toUcumQuantity=function(O,E){const D=d._calendarDuration2Seconds[E];return D?{value:D*O,unit:"s"}:{value:O,unit:E.replace(r,"")}},d.convUnitTo=function(O,E,D){const R=d._yearMonthConversionFactor[O],j=d._yearMonthConversionFactor[D];if(R&&j)return new d(R*E/j,D);const N=d._calendarDuration2Seconds[O],S=d._calendarDuration2Seconds[D];if(S){if(N)return new d(N*E/S,D);{const k=C.convertUnitTo(O.replace(/^'|'$/g,""),E,"s");if("succeeded"===k.status)return new d(k.toVal/S,D)}}else{const k=N?C.convertUnitTo("s",N*E,D.replace(/^'|'$/g,"")):C.convertUnitTo(O.replace(/^'|'$/g,""),E,D.replace(/^'|'$/g,""));if("succeeded"===k.status)return new d(k.toVal,D)}return null},d._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},d._yearMonthConversionFactor={years:12,months:1,year:12,month:1},d.arithmeticDurationUnits={years:"year",months:"month",weeks:"week",days:"day",hours:"hour",minutes:"minute",seconds:"second",milliseconds:"millisecond",year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond","'wk'":"week","'d'":"day","'h'":"hour","'min'":"minute","'s'":"second","'ms'":"millisecond"},d.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},d.mapTimeUnitsToUCUMCode=Object.keys(d.mapUCUMCodeToTimeUnits).reduce(function(O,E){return O[d.mapUCUMCodeToTimeUnits[E]]=E,O[d.mapUCUMCodeToTimeUnits[E]+"s"]=E,O},{});class u extends l{constructor(E){super(),this.asStr=E}plus(E){let R=d.arithmeticDurationUnits[E.unit];if(!R)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(d.arithmeticDurationUnits));const j=this.constructor,N=j._timeUnitToDatePrecision[R];if(void 0===N)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(j._timeUnitToDatePrecision).join(", ")+".");let S=E.value;const k=j===m;if((k?N<2:N<5)&&(S=Math.trunc(S)),this._getPrecision()2?new h(S)._getTimeParts():this._getTimeParts(),Y=j>2?new h(k)._getTimeParts():E._getTimeParts(),se=0;se<=N&&!1!==D;++se)D=F[se]==Y[se];D&&(D=void 0)}}else D=!1;return D}equivalentTo(E){var D=E instanceof this.constructor;return D&&(D=this._getPrecision()==E._getPrecision())&&(D=this._getDateObj().getTime()==E._getDateObj().getTime()),D}compare(E){var D=this._getPrecision(),R=E._getPrecision(),j=D<=R?this._getDateObj().getTime():this._dateAtPrecision(R).getTime(),N=R<=D?E._getDateObj().getTime():E._dateAtPrecision(D).getTime();return D!==R&&j===N?null:j-N}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(E,D){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(E),this.timeMatchData))for(let R=D;R>=0&&void 0===this.precision;--R)this.timeMatchData[R]&&(this.precision=R);return this.timeMatchData}_getTimeParts(E){var D=[];D=[E[0]];var R=E[4];if(R){let k=D[0];D[0]=k.slice(0,k.length-R.length)}var j=E[1];if(j){let k=D[0];D[0]=k.slice(0,k.length-j.length),D[1]=j;var N=E[2];if(N){D[1]=j.slice(0,j.length-N.length),D[2]=N;var S=E[3];S&&(D[2]=N.slice(0,N.length-S.length),D[3]=S)}}return D}_getDateObj(){if(!this.dateObj){var E=this._getPrecision();this.dateObj=this._dateAtPrecision(E)}return this.dateObj}_createDate(E,D,R,j,N,S,k,F){var Y=new Date(E,D,R,j,N,S,k);if(F){var se=Y.getTimezoneOffset(),ne=0;if("Z"!=F){var me=F.split(":"),$=parseInt(me[0]);ne=parseInt(me[1]),$<0&&(ne=-ne),ne+=60*$}Y=p(Y,-se-ne)}return Y}}u.timeUnitToAddFn={year:g(3763),month:g(1277),week:g(338),day:g(2860),hour:g(6888),minute:g(3745),second:g(3857),millisecond:g(3895)};let h=(()=>{class O extends u{constructor(D){super(D)}compare(D){if(!(D instanceof O))throw"Invalid comparison of a DateTime with something else";return super.compare(D)}_getMatchData(){return super._getMatchData(c,5)}_getTimeParts(){if(!this.timeParts){let R=this._getMatchData(),j=R[0];this.timeParts=[j];var D=R[1];if(D){this.timeParts[0]=j.slice(0,j.length-D.length),this.timeParts[1]=D;let N=R[2];if(N){this.timeParts[1]=D.slice(0,D.length-N.length),this.timeParts[2]=N;let S=R[3];S&&(this.timeParts[2]=N.slice(0,N.length-S.length),"T"===S[0]&&(R[3]=S.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(R.slice(3))))}}}return this.timeParts}_dateAtPrecision(D){var R=this._getTimeParts(),j=this._getMatchData()[7],N=this._getPrecision(),S=parseInt(R[0]),k=N>0?parseInt(R[1].slice(1))-1:0,F=N>1?parseInt(R[2].slice(1)):1,Y=N>2?parseInt(R[3]):0,se=N>3?parseInt(R[4].slice(1)):0,ne=N>4?parseInt(R[5].slice(1)):0,me=R.length>6?parseInt(R[6].slice(1)):0,$=this._createDate(S,k,F,Y,se,ne,me,j);return D0?$.getMonth():0,F=D>1?$.getDate():1,Y=D>2?$.getHours():0,se=D>3?$.getMinutes():0,$=new Date(S,k,F,Y,se)),$}}return O.checkString=function(E){let D=new O(E);return D._getMatchData()||(D=null),D},O._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},O._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],O})(),m=(()=>{class O extends u{constructor(D){"T"==D[0]&&(D=D.slice(1)),super(D)}compare(D){if(!(D instanceof O))throw"Invalid comparison of a time with something else";return super.compare(D)}_dateAtPrecision(D){var R=this._getTimeParts(),j=this._getMatchData()[4],N=this._getPrecision(),S=2010,Y=parseInt(R[0]),se=N>0?parseInt(R[1].slice(1)):0,ne=N>1?parseInt(R[2].slice(1)):0,me=R.length>3?parseInt(R[3].slice(1)):0,$=this._createDate(S,0,1,Y,se,ne,me,j);return j&&($.setYear(S),$.setMonth(0),$.setDate(1)),D0?$.getMinutes():0,$=new Date(S,0,1,Y,se)),$}_getMatchData(){return super._getMatchData(a,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return O.checkString=function(E){let D=new O(E);return D._getMatchData()||(D=null),D},O._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},O._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],O})();function _(O,E){var D=O;return 3===E&&O<100&&(D="0"+O),O<10&&(D="0"+D),D}h.isoDateTime=function(O,E){void 0===E&&(E=5);var D=""+O.getFullYear();if(E>0&&(D+="-"+_(O.getMonth()+1),E>1&&(D+="-"+_(O.getDate()),E>2&&(D+="T"+h.isoTime(O,E-3)))),E>2){var R=O.getTimezoneOffset(),j=R<0?"+":"-",N=(R=Math.abs(R))%60;D+=j+_((R-N)/60)+":"+_(N)}return D},h.isoTime=function(O,E){void 0===E&&(E=2);let D=""+_(O.getHours());return E>0&&(D+=":"+_(O.getMinutes()),E>1&&(D+=":"+_(O.getSeconds()),O.getMilliseconds()&&(D+="."+_(O.getMilliseconds(),3)))),D};let M=(()=>{class O extends h{constructor(D){super(D)}_getMatchData(){return u.prototype._getMatchData.apply(this,[s,2])}}return O.checkString=function(E){let D=new O(E);return D._getMatchData()||(D=null),D},O.isoDate=function(E,D){return(void 0===D||D>2)&&(D=2),h.isoDateTime(E,D)},O})(),x=(()=>{class O{constructor(D,R,j){D?.resourceType&&(R=D.resourceType),this.path=R,this.data=D,this._data=j||{}}getTypeInfo(){const D=w.FHIR;return/^System\.(.*)$/.test(this.path)?new w({namespace:w.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new w({namespace:D,name:this.path}):w.model?new w({namespace:D,name:"BackboneElement"}):w.createByValueInNamespace({namespace:D,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var D=this.data;if(w.isType(this.path,"Quantity")){if("http://unitsofmeasure.org"===D?.system&&"number"==typeof D.value&&"string"==typeof D.code){if(void 0!==D.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");D=new d(D.value,d.mapUCUMCodeToTimeUnits[D.code]||"'"+D.code+"'")}}else"date"===this.path?D=M.checkString(D)||D:"dateTime"===this.path?D=h.checkString(D)||D:"time"===this.path&&(D=m.checkString(D)||D);return D}}return O.makeResNode=function(E,D,R){return E instanceof O?E:new O(E,D,R)},O})(),w=(()=>{class O{constructor({name:D,namespace:R}){this.name=D,this.namespace=R}is(D){return D instanceof O&&(!this.namespace||!D.namespace||this.namespace===D.namespace)&&(!O.model||this.namespace&&this.namespace!==O.FHIR?this.name===D.name:O.isType(this.name,D.name))}}return n(O,"model",null),O.isType=function(E,D){do{if(E===D)return!0}while(E=O.model?.type2Parent[E]);return!1},O.System="System",O.FHIR="FHIR",O.createByValueInNamespace=function({namespace:E,value:D}){let R=typeof D;return Number.isInteger(D)?R="integer":"number"===R?R="decimal":D instanceof M?R="date":D instanceof h?R="dateTime":D instanceof m?R="time":D instanceof d&&(R="Quantity"),E===O.System&&(R=R.replace(/^\w/,j=>j.toUpperCase())),new O({namespace:E,name:R})},O.fromValue=function(E){return E instanceof x?E.getTypeInfo():O.createByValueInNamespace({namespace:O.System,value:E})},O})();Se.exports={FP_Type:l,FP_TimeBase:u,FP_Date:M,FP_DateTime:h,FP_Time:m,FP_Quantity:d,timeRE:a,dateTimeRE:c,ResourceNode:x,TypeInfo:w,typeFn:function L(O){return O.map(E=>w.fromValue(E))},isFn:function A(O,E){if(0===O.length)return[];if(O.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(O));return w.fromValue(O[0]).is(E)},asFn:function T(O,E){if(0===O.length)return[];if(O.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(O));return w.fromValue(O[0]).is(E)?O:[]}}},5827:(Se,X,g)=>{const n={},p=g(4217);let{ResourceNode:C}=p;n.raiseError=function(b,o){throw(o=o?o+": ":"")+b},n.assertAtMostOne=function(b,o){b.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(b),o)},n.assertType=function(b,o,v){let a=this.valData(b);if(o.indexOf(typeof a)<0){let c=o.length>1?"one of "+o.join(", "):o[0];n.raiseError("Found type '"+typeof b+"' but was expecting "+c,v)}return a},n.isEmpty=function(b){return Array.isArray(b)&&0==b.length},n.isSome=function(b){return null!=b&&!n.isEmpty(b)},n.isTrue=function(b){return null!=b&&(!0===b||1==b.length&&!0===b[0])},n.isFalse=function(b){return null!=b&&(!1===b||1==b.length&&!1===b[0])},n.isCapitalized=function(b){return b&&b[0]===b[0].toUpperCase()},n.flatten=function(b){return b.reduce(function(o,v){return Array.isArray(v)?o=o.concat(v):o.push(v),o},[])},n.arraify=function(b){return Array.isArray(b)?b:n.isSome(b)?[b]:[]},n.valData=function(b){return b instanceof C?b.data:b},n.valDataConverted=function(b){return b instanceof C&&(b=b.convertData()),b},n.escapeStringForRegExp=function(b){return b.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},Se.exports=n},220:Se=>{"use strict";Se.exports=function(X,g){for(var n={},p=Object.keys(X),C=Array.isArray(g),b=0;b{!function(Se,X){"use strict";var g="hljs-ln",n="hljs-ln-line",p="hljs-ln-code",C="hljs-ln-numbers",b="hljs-ln-n",o="data-line-number",v=/\r\n|\r|\n/g;function r(S){try{var k=X.querySelectorAll("code.hljs,code.nohighlight");for(var F in k)k.hasOwnProperty(F)&&(u(k[F])||h(k[F],S))}catch(Y){Se.console.error("LineNumbers error: ",Y)}}function u(S){return S.classList.contains("nohljsln")}function h(S,k){"object"==typeof S&&function D(S){Se.setTimeout(S,0)}(function(){S.innerHTML=_(S,k)})}function _(S,k){var F=function x(S,k){return{singleLine:w(k=k||{}),startFrom:L(S,k)}}(S,k);return A(S),function M(S,k){var F=O(S);if(""===F[F.length-1].trim()&&F.pop(),F.length>1||k.singleLine){for(var Y="",se=0,ne=F.length;se
{6}',[n,C,b,o,p,se+k.startFrom,F[se].length>0?F[se]:" "]);return R('{1}
',[g,Y])}return S}(S.innerHTML,F)}function w(S){return!!S.singleLine&&S.singleLine}function L(S,k){var Y=1;isFinite(k.startFrom)&&(Y=k.startFrom);var se=function j(S,k){return S.hasAttribute(k)?S.getAttribute(k):null}(S,"data-ln-start-from");return null!==se&&(Y=function N(S,k){if(!S)return k;var F=Number(S);return isFinite(F)?F:k}(se,1)),Y}function A(S){var k=S.childNodes;for(var F in k)if(k.hasOwnProperty(F)){var Y=k[F];E(Y.textContent)>0&&(Y.childNodes.length>0?A(Y):T(Y.parentNode))}}function T(S){var k=S.className;if(/hljs-/.test(k)){for(var F=O(S.innerHTML),Y=0,se="";Y{1}\n',[k,F[Y].length>0?F[Y]:" "]);S.innerHTML=se.trim()}}function O(S){return 0===S.length?[]:S.split(v)}function E(S){return(S.trim().match(v)||[]).length}function R(S,k){return S.replace(/\{(\d+)\}/g,function(F,Y){return void 0!==k[Y]?k[Y]:F})}Se.hljs?(Se.hljs.initLineNumbersOnLoad=function d(S){"interactive"===X.readyState||"complete"===X.readyState?r(S):Se.addEventListener("DOMContentLoaded",function(){r(S)})},Se.hljs.lineNumbersBlock=h,Se.hljs.lineNumbersValue=function m(S,k){if("string"==typeof S){var F=document.createElement("code");return F.innerHTML=S,_(F,k)}},function l(){var S=X.createElement("style");S.type="text/css",S.innerHTML=R(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[g,b,o]),X.getElementsByTagName("head")[0].appendChild(S)}()):Se.console.error("highlight.js not detected!"),document.addEventListener("copy",function(S){var F,k=window.getSelection();(function a(S){for(var k=S;k;){if(k.className&&-1!==k.className.indexOf("hljs-ln-code"))return!0;k=k.parentNode}return!1})(k.anchorNode)&&(F=-1!==window.navigator.userAgent.indexOf("Edge")?function s(S){for(var k=S.toString(),F=S.anchorNode;"TD"!==F.nodeName;)F=F.parentNode;for(var Y=S.focusNode;"TD"!==Y.nodeName;)Y=Y.parentNode;var se=parseInt(F.dataset.lineNumber),ne=parseInt(Y.dataset.lineNumber);if(se!=ne){var me=F.textContent,$=Y.textContent;if(se>ne){var q=se;se=ne,ne=q,q=me,me=$,$=q}for(;0!==k.indexOf(me);)me=me.slice(1);for(;-1===k.lastIndexOf($);)$=$.slice(0,-1);for(var Q=me,ue=function c(S){for(var k=S;"TABLE"!==k.nodeName;)k=k.parentNode;return k}(F),Me=se+1;Me{"use strict";Se.exports=Number.isFinite||function(X){return!("number"!=typeof X||X!=X||X===1/0||X===-1/0)}},4864:(Se,X,g)=>{var n=g(9136);Se.exports=Number.isInteger||function(p){return"number"==typeof p&&n(p)&&Math.floor(p)===p}},1328:function(Se,X){var g,p;void 0!==(p="function"==typeof(g=function(){"use strict";function C(l){function d(_){for(var M=0,x=r.length;M127){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 b(l){if(!(l instanceof ArrayBuffer))throw new TypeError("arrayBuffer is not an instance of ArrayBuffer.");if(!a.Worker)throw new Error("Worker implementation is not available in this environment.");return new C(function(d,r,u){var h=new Worker(v),m=[];h.onerror=function(_){r(_)},h.onmessage=function(_){switch((_=_.data).type){case"log":console[_.data.level]("Worker: "+_.data.msg);break;case"extract":var M=function o(l){return Object.defineProperties(l,s),l}(_.data);m.push(M),u(M);break;case"complete":h.terminate(),d(m);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(X,[]):g)&&(Se.exports=p)},3187:(Se,X)=>{function n(p,C){var b=[],o=[];return null==C&&(C=function(v,a){return b[0]===a?"[Circular ~]":"[Circular ~."+o.slice(0,b.indexOf(a)).join(".")+"]"}),function(v,a){if(b.length>0){var c=b.indexOf(this);~c?b.splice(c+1):b.push(this),~c?o.splice(c,1/0,v):o.push(v),~b.indexOf(a)&&(a=C.call(this,v,a))}else b.push(a);return null==p?a:p.call(this,v,a)}}(Se.exports=function g(p,C,b,o){return JSON.stringify(p,n(C,o),b)}).getSerialize=n},7253:Se=>{var X=1e3,g=60*X,n=60*g,p=24*n;function c(s,l,d,r){var u=l>=1.5*d;return Math.round(s/d)+" "+r+(u?"s":"")}Se.exports=function(s,l){l=l||{};var d=typeof s;if("string"===d&&s.length>0)return function o(s){if(!((s=String(s)).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(s);if(l){var d=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*d;case"weeks":case"week":case"w":return 6048e5*d;case"days":case"day":case"d":return d*p;case"hours":case"hour":case"hrs":case"hr":case"h":return d*n;case"minutes":case"minute":case"mins":case"min":case"m":return d*g;case"seconds":case"second":case"secs":case"sec":case"s":return d*X;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}(s);if("number"===d&&isFinite(s))return l.long?function a(s){var l=Math.abs(s);return l>=p?c(s,l,p,"day"):l>=n?c(s,l,n,"hour"):l>=g?c(s,l,g,"minute"):l>=X?c(s,l,X,"second"):s+" ms"}(s):function v(s){var l=Math.abs(s);return l>=p?Math.round(s/p)+"d":l>=n?Math.round(s/n)+"h":l>=g?Math.round(s/g)+"m":l>=X?Math.round(s/X)+"s":s+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))}},4783:Se=>{"use strict";const X=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!X)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!X.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');Se.exports.AbortController=X.AbortController},133:(Se,X,g)=>{"use strict";const n=g(8385),p=g(4989),C=g(6144),b=g(220),v=Symbol("encodeFragmentIdentifier");function s(x){if("string"!=typeof x||1!==x.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(x,w){return w.encode?w.strict?n(x):encodeURIComponent(x):x}function d(x,w){return w.decode?p(x):x}function r(x){return Array.isArray(x)?x.sort():"object"==typeof x?r(Object.keys(x)).sort((w,L)=>Number(w)-Number(L)).map(w=>x[w]):x}function u(x){const w=x.indexOf("#");return-1!==w&&(x=x.slice(0,w)),x}function m(x){const w=(x=u(x)).indexOf("?");return-1===w?"":x.slice(w+1)}function _(x,w){return w.parseNumbers&&!Number.isNaN(Number(x))&&"string"==typeof x&&""!==x.trim()?x=Number(x):w.parseBooleans&&null!==x&&("true"===x.toLowerCase()||"false"===x.toLowerCase())&&(x="true"===x.toLowerCase()),x}function M(x,w){s((w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w)).arrayFormatSeparator);const L=function c(x){let w;switch(x.arrayFormat){case"index":return(L,A,T)=>{w=/\[(\d*)\]$/.exec(L),L=L.replace(/\[\d*\]$/,""),w?(void 0===T[L]&&(T[L]={}),T[L][w[1]]=A):T[L]=A};case"bracket":return(L,A,T)=>{w=/(\[\])$/.exec(L),T[L=L.replace(/\[\]$/,"")]=w?void 0!==T[L]?[].concat(T[L],A):[A]:A};case"colon-list-separator":return(L,A,T)=>{w=/(:list)$/.exec(L),T[L=L.replace(/:list$/,"")]=w?void 0!==T[L]?[].concat(T[L],A):[A]:A};case"comma":case"separator":return(L,A,T)=>{const O="string"==typeof A&&A.includes(x.arrayFormatSeparator),E="string"==typeof A&&!O&&d(A,x).includes(x.arrayFormatSeparator);A=E?d(A,x):A;const D=O||E?A.split(x.arrayFormatSeparator).map(R=>d(R,x)):null===A?A:d(A,x);T[L]=D};case"bracket-separator":return(L,A,T)=>{const O=/(\[\])$/.test(L);if(L=L.replace(/\[\]$/,""),!O)return void(T[L]=A&&d(A,x));const E=null===A?[]:A.split(x.arrayFormatSeparator).map(D=>d(D,x));T[L]=void 0!==T[L]?[].concat(T[L],E):E};default:return(L,A,T)=>{T[L]=void 0!==T[L]?[].concat(T[L],A):A}}}(w),A=Object.create(null);if("string"!=typeof x||!(x=x.trim().replace(/^[?#&]/,"")))return A;for(const T of x.split("&")){if(""===T)continue;let[O,E]=C(w.decode?T.replace(/\+/g," "):T,"=");E=void 0===E?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?E:d(E,w),L(d(O,w),E,A)}for(const T of Object.keys(A)){const O=A[T];if("object"==typeof O&&null!==O)for(const E of Object.keys(O))O[E]=_(O[E],w);else A[T]=_(O,w)}return!1===w.sort?A:(!0===w.sort?Object.keys(A).sort():Object.keys(A).sort(w.sort)).reduce((T,O)=>{const E=A[O];return T[O]=E&&"object"==typeof E&&!Array.isArray(E)?r(E):E,T},Object.create(null))}X.extract=m,X.parse=M,X.stringify=(x,w)=>{if(!x)return"";s((w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w)).arrayFormatSeparator);const L=E=>w.skipNull&&(x=>null==x)(x[E])||w.skipEmptyString&&""===x[E],A=function a(x){switch(x.arrayFormat){case"index":return w=>(L,A)=>{const T=L.length;return void 0===A||x.skipNull&&null===A||x.skipEmptyString&&""===A?L:null===A?[...L,[l(w,x),"[",T,"]"].join("")]:[...L,[l(w,x),"[",l(T,x),"]=",l(A,x)].join("")]};case"bracket":return w=>(L,A)=>void 0===A||x.skipNull&&null===A||x.skipEmptyString&&""===A?L:null===A?[...L,[l(w,x),"[]"].join("")]:[...L,[l(w,x),"[]=",l(A,x)].join("")];case"colon-list-separator":return w=>(L,A)=>void 0===A||x.skipNull&&null===A||x.skipEmptyString&&""===A?L:null===A?[...L,[l(w,x),":list="].join("")]:[...L,[l(w,x),":list=",l(A,x)].join("")];case"comma":case"separator":case"bracket-separator":{const w="bracket-separator"===x.arrayFormat?"[]=":"=";return L=>(A,T)=>void 0===T||x.skipNull&&null===T||x.skipEmptyString&&""===T?A:(T=null===T?"":T,0===A.length?[[l(L,x),w,l(T,x)].join("")]:[[A,l(T,x)].join(x.arrayFormatSeparator)])}default:return w=>(L,A)=>void 0===A||x.skipNull&&null===A||x.skipEmptyString&&""===A?L:null===A?[...L,l(w,x)]:[...L,[l(w,x),"=",l(A,x)].join("")]}}(w),T={};for(const E of Object.keys(x))L(E)||(T[E]=x[E]);const O=Object.keys(T);return!1!==w.sort&&O.sort(w.sort),O.map(E=>{const D=x[E];return void 0===D?"":null===D?l(E,w):Array.isArray(D)?0===D.length&&"bracket-separator"===w.arrayFormat?l(E,w)+"[]":D.reduce(A(E),[]).join("&"):l(E,w)+"="+l(D,w)}).filter(E=>E.length>0).join("&")},X.parseUrl=(x,w)=>{w=Object.assign({decode:!0},w);const[L,A]=C(x,"#");return Object.assign({url:L.split("?")[0]||"",query:M(m(x),w)},w&&w.parseFragmentIdentifier&&A?{fragmentIdentifier:d(A,w)}:{})},X.stringifyUrl=(x,w)=>{w=Object.assign({encode:!0,strict:!0,[v]:!0},w);const L=u(x.url).split("?")[0]||"",A=X.extract(x.url),T=X.parse(A,{sort:!1}),O=Object.assign(T,x.query);let E=X.stringify(O,w);E&&(E=`?${E}`);let D=function h(x){let w="";const L=x.indexOf("#");return-1!==L&&(w=x.slice(L)),w}(x.url);return x.fragmentIdentifier&&(D=`#${w[v]?l(x.fragmentIdentifier,w):x.fragmentIdentifier}`),`${L}${E}${D}`},X.pick=(x,w,L)=>{L=Object.assign({parseFragmentIdentifier:!0,[v]:!1},L);const{url:A,query:T,fragmentIdentifier:O}=X.parseUrl(x,L);return X.stringifyUrl({url:A,query:b(T,w),fragmentIdentifier:O},L)},X.exclude=(x,w,L)=>{const A=Array.isArray(w)?T=>!w.includes(T):(T,O)=>!w(T,O);return X.pick(x,A,L)}},5619:(Se,X,g)=>{"use strict";g.d(X,{X:()=>p});var n=g(8645);class p extends n.x{constructor(b){super(),this._value=b}get value(){return this.getValue()}_subscribe(b){const o=super._subscribe(b);return!o.closed&&b.next(this._value),o}getValue(){const{hasError:b,thrownError:o,_value:v}=this;if(b)throw o;return this._throwIfClosed(),v}next(b){super.next(this._value=b)}}},5592:(Se,X,g)=>{"use strict";g.d(X,{y:()=>c});var n=g(305),p=g(7394),C=g(4850),b=g(8407),o=g(2653),v=g(4674),a=g(1441);let c=(()=>{class r{constructor(h){h&&(this._subscribe=h)}lift(h){const m=new r;return m.source=this,m.operator=h,m}subscribe(h,m,_){const M=function d(r){return r&&r instanceof n.Lv||function l(r){return r&&(0,v.m)(r.next)&&(0,v.m)(r.error)&&(0,v.m)(r.complete)}(r)&&(0,p.Nn)(r)}(h)?h:new n.Hp(h,m,_);return(0,a.x)(()=>{const{operator:x,source:w}=this;M.add(x?x.call(M,w):w?this._subscribe(M):this._trySubscribe(M))}),M}_trySubscribe(h){try{return this._subscribe(h)}catch(m){h.error(m)}}forEach(h,m){return new(m=s(m))((_,M)=>{const x=new n.Hp({next:w=>{try{h(w)}catch(L){M(L),x.unsubscribe()}},error:M,complete:_});this.subscribe(x)})}_subscribe(h){var m;return null===(m=this.source)||void 0===m?void 0:m.subscribe(h)}[C.L](){return this}pipe(...h){return(0,b.U)(h)(this)}toPromise(h){return new(h=s(h))((m,_)=>{let M;this.subscribe(x=>M=x,x=>_(x),()=>m(M))})}}return r.create=u=>new r(u),r})();function s(r){var u;return null!==(u=r??o.config.Promise)&&void 0!==u?u:Promise}},7328:(Se,X,g)=>{"use strict";g.d(X,{t:()=>C});var n=g(8645),p=g(4552);class C extends n.x{constructor(o=1/0,v=1/0,a=p.l){super(),this._bufferSize=o,this._windowTime=v,this._timestampProvider=a,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=v===1/0,this._bufferSize=Math.max(1,o),this._windowTime=Math.max(1,v)}next(o){const{isStopped:v,_buffer:a,_infiniteTimeWindow:c,_timestampProvider:s,_windowTime:l}=this;v||(a.push(o),!c&&a.push(s.now()+l)),this._trimBuffer(),super.next(o)}_subscribe(o){this._throwIfClosed(),this._trimBuffer();const v=this._innerSubscribe(o),{_infiniteTimeWindow:a,_buffer:c}=this,s=c.slice();for(let l=0;l{"use strict";g.d(X,{x:()=>a});var n=g(5592),p=g(7394);const b=(0,g(2306).d)(s=>function(){s(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var o=g(9039),v=g(1441);let a=(()=>{class s extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(d){const r=new c(this,this);return r.operator=d,r}_throwIfClosed(){if(this.closed)throw new b}next(d){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(d)}})}error(d){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=d;const{observers:r}=this;for(;r.length;)r.shift().error(d)}})}complete(){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:d}=this;for(;d.length;)d.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var d;return(null===(d=this.observers)||void 0===d?void 0:d.length)>0}_trySubscribe(d){return this._throwIfClosed(),super._trySubscribe(d)}_subscribe(d){return this._throwIfClosed(),this._checkFinalizedStatuses(d),this._innerSubscribe(d)}_innerSubscribe(d){const{hasError:r,isStopped:u,observers:h}=this;return r||u?p.Lc:(this.currentObservers=null,h.push(d),new p.w0(()=>{this.currentObservers=null,(0,o.P)(h,d)}))}_checkFinalizedStatuses(d){const{hasError:r,thrownError:u,isStopped:h}=this;r?d.error(u):h&&d.complete()}asObservable(){const d=new n.y;return d.source=this,d}}return s.create=(l,d)=>new c(l,d),s})();class c extends a{constructor(l,d){super(),this.destination=l,this.source=d}next(l){var d,r;null===(r=null===(d=this.destination)||void 0===d?void 0:d.next)||void 0===r||r.call(d,l)}error(l){var d,r;null===(r=null===(d=this.destination)||void 0===d?void 0:d.error)||void 0===r||r.call(d,l)}complete(){var l,d;null===(d=null===(l=this.destination)||void 0===l?void 0:l.complete)||void 0===d||d.call(l)}_subscribe(l){var d,r;return null!==(r=null===(d=this.source)||void 0===d?void 0:d.subscribe(l))&&void 0!==r?r:p.Lc}}},305:(Se,X,g)=>{"use strict";g.d(X,{Hp:()=>_,Lv:()=>r});var n=g(4674),p=g(7394),C=g(2653),b=g(3894),o=g(2420);const v=s("C",void 0,void 0);function s(A,T,O){return{kind:A,value:T,error:O}}var l=g(7599),d=g(1441);class r extends p.w0{constructor(T){super(),this.isStopped=!1,T?(this.destination=T,(0,p.Nn)(T)&&T.add(this)):this.destination=L}static create(T,O,E){return new _(T,O,E)}next(T){this.isStopped?w(function c(A){return s("N",A,void 0)}(T),this):this._next(T)}error(T){this.isStopped?w(function a(A){return s("E",void 0,A)}(T),this):(this.isStopped=!0,this._error(T))}complete(){this.isStopped?w(v,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(T){this.destination.next(T)}_error(T){try{this.destination.error(T)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const u=Function.prototype.bind;function h(A,T){return u.call(A,T)}class m{constructor(T){this.partialObserver=T}next(T){const{partialObserver:O}=this;if(O.next)try{O.next(T)}catch(E){M(E)}}error(T){const{partialObserver:O}=this;if(O.error)try{O.error(T)}catch(E){M(E)}else M(T)}complete(){const{partialObserver:T}=this;if(T.complete)try{T.complete()}catch(O){M(O)}}}class _ extends r{constructor(T,O,E){let D;if(super(),(0,n.m)(T)||!T)D={next:T??void 0,error:O??void 0,complete:E??void 0};else{let R;this&&C.config.useDeprecatedNextContext?(R=Object.create(T),R.unsubscribe=()=>this.unsubscribe(),D={next:T.next&&h(T.next,R),error:T.error&&h(T.error,R),complete:T.complete&&h(T.complete,R)}):D=T}this.destination=new m(D)}}function M(A){C.config.useDeprecatedSynchronousErrorHandling?(0,d.O)(A):(0,b.h)(A)}function w(A,T){const{onStoppedNotification:O}=C.config;O&&l.z.setTimeout(()=>O(A,T))}const L={closed:!0,next:o.Z,error:function x(A){throw A},complete:o.Z}},7394:(Se,X,g)=>{"use strict";g.d(X,{Lc:()=>v,w0:()=>o,Nn:()=>a});var n=g(4674);const C=(0,g(2306).d)(s=>function(d){s(this),this.message=d?`${d.length} errors occurred during unsubscription:\n${d.map((r,u)=>`${u+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=d});var b=g(9039);class o{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:d}=this;if(d)if(this._parentage=null,Array.isArray(d))for(const h of d)h.remove(this);else d.remove(this);const{initialTeardown:r}=this;if((0,n.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{c(h)}catch(m){l=l??[],m instanceof C?l=[...l,...m.errors]:l.push(m)}}if(l)throw new C(l)}}add(l){var d;if(l&&l!==this)if(this.closed)c(l);else{if(l instanceof o){if(l.closed||l._hasParent(this))return;l._addParent(this)}(this._finalizers=null!==(d=this._finalizers)&&void 0!==d?d:[]).push(l)}}_hasParent(l){const{_parentage:d}=this;return d===l||Array.isArray(d)&&d.includes(l)}_addParent(l){const{_parentage:d}=this;this._parentage=Array.isArray(d)?(d.push(l),d):d?[d,l]:l}_removeParent(l){const{_parentage:d}=this;d===l?this._parentage=null:Array.isArray(d)&&(0,b.P)(d,l)}remove(l){const{_finalizers:d}=this;d&&(0,b.P)(d,l),l instanceof o&&l._removeParent(this)}}o.EMPTY=(()=>{const s=new o;return s.closed=!0,s})();const v=o.EMPTY;function a(s){return s instanceof o||s&&"closed"in s&&(0,n.m)(s.remove)&&(0,n.m)(s.add)&&(0,n.m)(s.unsubscribe)}function c(s){(0,n.m)(s)?s():s.unsubscribe()}},2653:(Se,X,g)=>{"use strict";g.d(X,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Se,X,g)=>{"use strict";g.d(X,{c:()=>v});var n=g(5592),p=g(7394),C=g(6196),b=g(8251),o=g(9360);class v extends n.y{constructor(c,s){super(),this.source=c,this.subjectFactory=s,this._subject=null,this._refCount=0,this._connection=null,(0,o.A)(c)&&(this.lift=c.lift)}_subscribe(c){return this.getSubject().subscribe(c)}getSubject(){const c=this._subject;return(!c||c.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:c}=this;this._subject=this._connection=null,c?.unsubscribe()}connect(){let c=this._connection;if(!c){c=this._connection=new p.w0;const s=this.getSubject();c.add(this.source.subscribe((0,b.x)(s,void 0,()=>{this._teardown(),s.complete()},l=>{this._teardown(),s.error(l)},()=>this._teardown()))),c.closed&&(this._connection=null,c=p.w0.EMPTY)}return c}refCount(){return(0,C.x)()(this)}}},2572:(Se,X,g)=>{"use strict";g.d(X,{a:()=>l,l:()=>d});var n=g(5592),p=g(7453),C=g(2459),b=g(2737),o=g(7400),v=g(9940),a=g(2714),c=g(8251),s=g(7103);function l(...u){const h=(0,v.yG)(u),m=(0,v.jO)(u),{args:_,keys:M}=(0,p.D)(u);if(0===_.length)return(0,C.D)([],h);const x=new n.y(d(_,h,M?w=>(0,a.n)(M,w):b.y));return m?x.pipe((0,o.Z)(m)):x}function d(u,h,m=b.y){return _=>{r(h,()=>{const{length:M}=u,x=new Array(M);let w=M,L=M;for(let A=0;A{const T=(0,C.D)(u[A],h);let O=!1;T.subscribe((0,c.x)(_,E=>{x[A]=E,O||(O=!0,L--),L||_.next(m(x.slice()))},()=>{--w||_.complete()}))},_)},_)}}function r(u,h,m){u?(0,s.f)(m,u,h):h()}},34:(Se,X,g)=>{"use strict";g.d(X,{z:()=>b});var n=g(1948),p=g(9940),C=g(2459);function b(...o){return(0,n.u)()((0,C.D)(o,(0,p.yG)(o)))}},4911:(Se,X,g)=>{"use strict";g.d(X,{P:()=>C});var n=g(5592),p=g(4829);function C(b){return new n.y(o=>{(0,p.Xf)(b()).subscribe(o)})}},6232:(Se,X,g)=>{"use strict";g.d(X,{E:()=>p});const p=new(g(5592).y)(o=>o.complete())},9315:(Se,X,g)=>{"use strict";g.d(X,{D:()=>c});var n=g(5592),p=g(7453),C=g(4829),b=g(9940),o=g(8251),v=g(7400),a=g(2714);function c(...s){const l=(0,b.jO)(s),{args:d,keys:r}=(0,p.D)(s),u=new n.y(h=>{const{length:m}=d;if(!m)return void h.complete();const _=new Array(m);let M=m,x=m;for(let w=0;w{L||(L=!0,x--),_[w]=A},()=>M--,void 0,()=>{(!M||!L)&&(x||h.next(r?(0,a.n)(r,_):_),h.complete())}))}});return l?u.pipe((0,v.Z)(l)):u}},2459:(Se,X,g)=>{"use strict";g.d(X,{D:()=>T});var n=g(4829),p=g(3093),C=g(5137),v=g(5592),c=g(4971),s=g(4674),l=g(7103);function r(O,E){if(!O)throw new Error("Iterable cannot be null");return new v.y(D=>{(0,l.f)(D,E,()=>{const R=O[Symbol.asyncIterator]();(0,l.f)(D,E,()=>{R.next().then(j=>{j.done?D.complete():D.next(j.value)})},0,!0)})})}var u=g(8382),h=g(4026),m=g(4266),_=g(3664),M=g(5726),x=g(9853),w=g(541);function T(O,E){return E?function A(O,E){if(null!=O){if((0,u.c)(O))return function b(O,E){return(0,n.Xf)(O).pipe((0,C.R)(E),(0,p.Q)(E))}(O,E);if((0,m.z)(O))return function a(O,E){return new v.y(D=>{let R=0;return E.schedule(function(){R===O.length?D.complete():(D.next(O[R++]),D.closed||this.schedule())})})}(O,E);if((0,h.t)(O))return function o(O,E){return(0,n.Xf)(O).pipe((0,C.R)(E),(0,p.Q)(E))}(O,E);if((0,M.D)(O))return r(O,E);if((0,_.T)(O))return function d(O,E){return new v.y(D=>{let R;return(0,l.f)(D,E,()=>{R=O[c.h](),(0,l.f)(D,E,()=>{let j,N;try{({value:j,done:N}=R.next())}catch(S){return void D.error(S)}N?D.complete():D.next(j)},0,!0)}),()=>(0,s.m)(R?.return)&&R.return()})}(O,E);if((0,w.L)(O))return function L(O,E){return r((0,w.Q)(O),E)}(O,E)}throw(0,x.z)(O)}(O,E):(0,n.Xf)(O)}},2438:(Se,X,g)=>{"use strict";g.d(X,{R:()=>l});var n=g(4829),p=g(5592),C=g(9769),b=g(4266),o=g(4674),v=g(7400);const a=["addListener","removeListener"],c=["addEventListener","removeEventListener"],s=["on","off"];function l(m,_,M,x){if((0,o.m)(M)&&(x=M,M=void 0),x)return l(m,_,M).pipe((0,v.Z)(x));const[w,L]=function h(m){return(0,o.m)(m.addEventListener)&&(0,o.m)(m.removeEventListener)}(m)?c.map(A=>T=>m[A](_,T,M)):function r(m){return(0,o.m)(m.addListener)&&(0,o.m)(m.removeListener)}(m)?a.map(d(m,_)):function u(m){return(0,o.m)(m.on)&&(0,o.m)(m.off)}(m)?s.map(d(m,_)):[];if(!w&&(0,b.z)(m))return(0,C.z)(A=>l(A,_,M))((0,n.Xf)(m));if(!w)throw new TypeError("Invalid event target");return new p.y(A=>{const T=(...O)=>A.next(1L(T)})}function d(m,_){return M=>x=>m[M](_,x)}},4829:(Se,X,g)=>{"use strict";g.d(X,{Xf:()=>u});var n=g(655),p=g(4266),C=g(4026),b=g(5592),o=g(8382),v=g(5726),a=g(9853),c=g(3664),s=g(541),l=g(4674),d=g(3894),r=g(4850);function u(A){if(A instanceof b.y)return A;if(null!=A){if((0,o.c)(A))return function h(A){return new b.y(T=>{const O=A[r.L]();if((0,l.m)(O.subscribe))return O.subscribe(T);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(A);if((0,p.z)(A))return function m(A){return new b.y(T=>{for(let O=0;O{A.then(O=>{T.closed||(T.next(O),T.complete())},O=>T.error(O)).then(null,d.h)})}(A);if((0,v.D)(A))return x(A);if((0,c.T)(A))return function M(A){return new b.y(T=>{for(const O of A)if(T.next(O),T.closed)return;T.complete()})}(A);if((0,s.L)(A))return function w(A){return x((0,s.Q)(A))}(A)}throw(0,a.z)(A)}function x(A){return new b.y(T=>{(function L(A,T){var O,E,D,R;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(O=(0,n.__asyncValues)(A);!(E=yield O.next()).done;)if(T.next(E.value),T.closed)return}catch(j){D={error:j}}finally{try{E&&!E.done&&(R=O.return)&&(yield R.call(O))}finally{if(D)throw D.error}}T.complete()})})(A,T).catch(O=>T.error(O))})}},3019:(Se,X,g)=>{"use strict";g.d(X,{T:()=>v});var n=g(7537),p=g(4829),C=g(6232),b=g(9940),o=g(2459);function v(...a){const c=(0,b.yG)(a),s=(0,b._6)(a,1/0),l=a;return l.length?1===l.length?(0,p.Xf)(l[0]):(0,n.J)(s)((0,o.D)(l,c)):C.E}},2096:(Se,X,g)=>{"use strict";g.d(X,{of:()=>C});var n=g(9940),p=g(2459);function C(...b){const o=(0,n.yG)(b);return(0,p.D)(b,o)}},3684:(Se,X,g)=>{"use strict";g.d(X,{R:()=>v,S:()=>o});var n=g(5592),p=g(4829),C=g(7728),b=g(8251);function o(...a){return 1===(a=(0,C.k)(a)).length?(0,p.Xf)(a[0]):new n.y(v(a))}function v(a){return c=>{let s=[];for(let l=0;s&&!c.closed&&l{if(s){for(let r=0;r{"use strict";g.d(X,{_:()=>C});var n=g(5592),p=g(4674);function C(b,o){const v=(0,p.m)(b)?b:()=>b,a=c=>c.error(v());return new n.y(o?c=>o.schedule(a,0,c):a)}},9080:(Se,X,g)=>{"use strict";g.d(X,{H:()=>o});var n=g(5592),p=g(6321),C=g(671),b=g(93);function o(v=0,a,c=p.P){let s=-1;return null!=a&&((0,C.K)(a)?c=a:s=a),new n.y(l=>{let d=(0,b.q)(v)?+v-c.now():v;d<0&&(d=0);let r=0;return c.schedule(function(){l.closed||(l.next(r++),0<=s?this.schedule(void 0,s):l.complete())},d)})}},9278:(Se,X,g)=>{"use strict";g.d(X,{$:()=>a});var n=g(5592),p=g(4829),C=g(7728),b=g(6232),o=g(8251),v=g(9940);function a(...c){const s=(0,v.jO)(c),l=(0,C.k)(c);return l.length?new n.y(d=>{let r=l.map(()=>[]),u=l.map(()=>!1);d.add(()=>{r=u=null});for(let h=0;!d.closed&&h{if(r[h].push(m),r.every(_=>_.length)){const _=r.map(M=>M.shift());d.next(s?s(..._):_),r.some((M,x)=>!M.length&&u[x])&&d.complete()}},()=>{u[h]=!0,!r[h].length&&d.complete()}));return()=>{r=u=null}}):b.E}},8251:(Se,X,g)=>{"use strict";g.d(X,{Q:()=>C,x:()=>p});var n=g(305);function p(b,o,v,a,c){return new C(b,o,v,a,c)}class C extends n.Lv{constructor(o,v,a,c,s,l){super(o),this.onFinalize=s,this.shouldUnsubscribe=l,this._next=v?function(d){try{v(d)}catch(r){o.error(r)}}:super._next,this._error=c?function(d){try{c(d)}catch(r){o.error(r)}finally{this.unsubscribe()}}:super._error,this._complete=a?function(){try{a()}catch(d){o.error(d)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var o;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:v}=this;super.unsubscribe(),!v&&(null===(o=this.onFinalize)||void 0===o||o.call(this))}}}},6301:(Se,X,g)=>{"use strict";g.d(X,{U:()=>b});var n=g(9360),p=g(4829),C=g(8251);function b(o){return(0,n.e)((v,a)=>{let c=!1,s=null,l=null,d=!1;const r=()=>{if(l?.unsubscribe(),l=null,c){c=!1;const h=s;s=null,a.next(h)}d&&a.complete()},u=()=>{l=null,d&&a.complete()};v.subscribe((0,C.x)(a,h=>{c=!0,s=h,l||(0,p.Xf)(o(h)).subscribe(l=(0,C.x)(a,r,u))},()=>{d=!0,(!c||!l||l.closed)&&a.complete()}))})}},8672:(Se,X,g)=>{"use strict";g.d(X,{e:()=>b});var n=g(6321),p=g(6301),C=g(9080);function b(o,v=n.z){return(0,p.U)(()=>(0,C.H)(o,v))}},6306:(Se,X,g)=>{"use strict";g.d(X,{K:()=>b});var n=g(4829),p=g(8251),C=g(9360);function b(o){return(0,C.e)((v,a)=>{let l,c=null,s=!1;c=v.subscribe((0,p.x)(a,void 0,void 0,d=>{l=(0,n.Xf)(o(d,b(o)(v))),c?(c.unsubscribe(),c=null,l.subscribe(a)):s=!0})),s&&(c.unsubscribe(),c=null,l.subscribe(a))})}},1948:(Se,X,g)=>{"use strict";g.d(X,{u:()=>p});var n=g(7537);function p(){return(0,n.J)(1)}},6328:(Se,X,g)=>{"use strict";g.d(X,{b:()=>C});var n=g(9769),p=g(4674);function C(b,o){return(0,p.m)(o)?(0,n.z)(b,o,1):(0,n.z)(b,1)}},3620:(Se,X,g)=>{"use strict";g.d(X,{b:()=>b});var n=g(6321),p=g(9360),C=g(8251);function b(o,v=n.z){return(0,p.e)((a,c)=>{let s=null,l=null,d=null;const r=()=>{if(s){s.unsubscribe(),s=null;const h=l;l=null,c.next(h)}};function u(){const h=d+o,m=v.now();if(m{l=h,d=v.now(),s||(s=v.schedule(u,o),c.add(s))},()=>{r(),c.complete()},void 0,()=>{l=s=null}))})}},3572:(Se,X,g)=>{"use strict";g.d(X,{d:()=>C});var n=g(9360),p=g(8251);function C(b){return(0,n.e)((o,v)=>{let a=!1;o.subscribe((0,p.x)(v,c=>{a=!0,v.next(c)},()=>{a||v.next(b),v.complete()}))})}},7547:(Se,X,g)=>{"use strict";g.d(X,{g:()=>b});var n=g(6321),p=g(4610),C=g(9080);function b(o,v=n.z){const a=(0,C.H)(o,v);return(0,p.j)(()=>a)}},4610:(Se,X,g)=>{"use strict";g.d(X,{j:()=>a});var n=g(34),p=g(8180),C=g(7538),b=g(975),o=g(9769),v=g(4829);function a(c,s){return s?l=>(0,n.z)(s.pipe((0,p.q)(1),(0,C.l)()),l.pipe(a(c))):(0,o.z)((l,d)=>(0,v.Xf)(c(l,d)).pipe((0,p.q)(1),(0,b.h)(l)))}},3997:(Se,X,g)=>{"use strict";g.d(X,{x:()=>b});var n=g(2737),p=g(9360),C=g(8251);function b(v,a=n.y){return v=v??o,(0,p.e)((c,s)=>{let l,d=!0;c.subscribe((0,C.x)(s,r=>{const u=a(r);(d||!v(l,u))&&(d=!1,l=u,s.next(r))}))})}function o(v,a){return v===a}},2181:(Se,X,g)=>{"use strict";g.d(X,{h:()=>C});var n=g(9360),p=g(8251);function C(b,o){return(0,n.e)((v,a)=>{let c=0;v.subscribe((0,p.x)(a,s=>b.call(o,s,c++)&&a.next(s)))})}},4716:(Se,X,g)=>{"use strict";g.d(X,{x:()=>p});var n=g(9360);function p(C){return(0,n.e)((b,o)=>{try{b.subscribe(o)}finally{o.add(C)}})}},1374:(Se,X,g)=>{"use strict";g.d(X,{P:()=>a});var n=g(6973),p=g(2181),C=g(8180),b=g(3572),o=g(3026),v=g(2737);function a(c,s){const l=arguments.length>=2;return d=>d.pipe(c?(0,p.h)((r,u)=>c(r,u,d)):v.y,(0,C.q)(1),l?(0,b.d)(s):(0,o.T)(()=>new n.K))}},7538:(Se,X,g)=>{"use strict";g.d(X,{l:()=>b});var n=g(9360),p=g(8251),C=g(2420);function b(){return(0,n.e)((o,v)=>{o.subscribe((0,p.x)(v,C.Z))})}},2032:(Se,X,g)=>{"use strict";g.d(X,{Z:()=>a});var n=g(6973),p=g(2181),C=g(4418),b=g(3026),o=g(3572),v=g(2737);function a(c,s){const l=arguments.length>=2;return d=>d.pipe(c?(0,p.h)((r,u)=>c(r,u,d)):v.y,(0,C.h)(1),l?(0,o.d)(s):(0,b.T)(()=>new n.K))}},7398:(Se,X,g)=>{"use strict";g.d(X,{U:()=>C});var n=g(9360),p=g(8251);function C(b,o){return(0,n.e)((v,a)=>{let c=0;v.subscribe((0,p.x)(a,s=>{a.next(b.call(o,s,c++))}))})}},975:(Se,X,g)=>{"use strict";g.d(X,{h:()=>p});var n=g(7398);function p(C){return(0,n.U)(()=>C)}},7537:(Se,X,g)=>{"use strict";g.d(X,{J:()=>C});var n=g(9769),p=g(2737);function C(b=1/0){return(0,n.z)(p.y,b)}},564:(Se,X,g)=>{"use strict";g.d(X,{p:()=>b});var n=g(4829),p=g(7103),C=g(8251);function b(o,v,a,c,s,l,d,r){const u=[];let h=0,m=0,_=!1;const M=()=>{_&&!u.length&&!h&&v.complete()},x=L=>h{l&&v.next(L),h++;let A=!1;(0,n.Xf)(a(L,m++)).subscribe((0,C.x)(v,T=>{s?.(T),l?x(T):v.next(T)},()=>{A=!0},void 0,()=>{if(A)try{for(h--;u.length&&hw(T)):w(T)}M()}catch(T){v.error(T)}}))};return o.subscribe((0,C.x)(v,x,()=>{_=!0,M()})),()=>{r?.()}}},9769:(Se,X,g)=>{"use strict";g.d(X,{z:()=>v});var n=g(7398),p=g(4829),C=g(9360),b=g(564),o=g(4674);function v(a,c,s=1/0){return(0,o.m)(c)?v((l,d)=>(0,n.U)((r,u)=>c(l,r,d,u))((0,p.Xf)(a(l,d))),s):("number"==typeof c&&(s=c),(0,C.e)((l,d)=>(0,b.p)(l,d,a,s)))}},3093:(Se,X,g)=>{"use strict";g.d(X,{Q:()=>b});var n=g(7103),p=g(9360),C=g(8251);function b(o,v=0){return(0,p.e)((a,c)=>{a.subscribe((0,C.x)(c,s=>(0,n.f)(c,o,()=>c.next(s),v),()=>(0,n.f)(c,o,()=>c.complete(),v),s=>(0,n.f)(c,o,()=>c.error(s),v)))})}},6196:(Se,X,g)=>{"use strict";g.d(X,{x:()=>C});var n=g(9360),p=g(8251);function C(){return(0,n.e)((b,o)=>{let v=null;b._refCount++;const a=(0,p.x)(o,void 0,void 0,void 0,()=>{if(!b||b._refCount<=0||0<--b._refCount)return void(v=null);const c=b._connection,s=v;v=null,c&&(!s||c===s)&&c.unsubscribe(),o.unsubscribe()});b.subscribe(a),a.closed||(v=b.connect())})}},6424:(Se,X,g)=>{"use strict";g.d(X,{R:()=>C});var n=g(9360),p=g(9732);function C(b,o){return(0,n.e)((0,p.U)(b,o,arguments.length>=2,!0))}},9732:(Se,X,g)=>{"use strict";g.d(X,{U:()=>p});var n=g(8251);function p(C,b,o,v,a){return(c,s)=>{let l=o,d=b,r=0;c.subscribe((0,n.x)(s,u=>{const h=r++;d=l?C(d,u,h):(l=!0,u),v&&s.next(d)},a&&(()=>{l&&s.next(d),s.complete()})))}}},3020:(Se,X,g)=>{"use strict";g.d(X,{B:()=>o});var n=g(4829),p=g(8645),C=g(305),b=g(9360);function o(a={}){const{connector:c=(()=>new p.x),resetOnError:s=!0,resetOnComplete:l=!0,resetOnRefCountZero:d=!0}=a;return r=>{let u,h,m,_=0,M=!1,x=!1;const w=()=>{h?.unsubscribe(),h=void 0},L=()=>{w(),u=m=void 0,M=x=!1},A=()=>{const T=u;L(),T?.unsubscribe()};return(0,b.e)((T,O)=>{_++,!x&&!M&&w();const E=m=m??c();O.add(()=>{_--,0===_&&!x&&!M&&(h=v(A,d))}),E.subscribe(O),!u&&_>0&&(u=new C.Hp({next:D=>E.next(D),error:D=>{x=!0,w(),h=v(L,s,D),E.error(D)},complete:()=>{M=!0,w(),h=v(L,l),E.complete()}}),(0,n.Xf)(T).subscribe(u))})(r)}}function v(a,c,...s){if(!0===c)return void a();if(!1===c)return;const l=new C.Hp({next:()=>{l.unsubscribe(),a()}});return(0,n.Xf)(c(...s)).subscribe(l)}},7081:(Se,X,g)=>{"use strict";g.d(X,{d:()=>C});var n=g(7328),p=g(3020);function C(b,o,v){let a,c=!1;return b&&"object"==typeof b?({bufferSize:a=1/0,windowTime:o=1/0,refCount:c=!1,scheduler:v}=b):a=b??1/0,(0,p.B)({connector:()=>new n.t(a,o,v),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}},836:(Se,X,g)=>{"use strict";g.d(X,{T:()=>p});var n=g(2181);function p(C){return(0,n.h)((b,o)=>C<=o)}},7921:(Se,X,g)=>{"use strict";g.d(X,{O:()=>b});var n=g(34),p=g(9940),C=g(9360);function b(...o){const v=(0,p.yG)(o);return(0,C.e)((a,c)=>{(v?(0,n.z)(o,a,v):(0,n.z)(o,a)).subscribe(c)})}},5137:(Se,X,g)=>{"use strict";g.d(X,{R:()=>p});var n=g(9360);function p(C,b=0){return(0,n.e)((o,v)=>{v.add(C.schedule(()=>o.subscribe(v),b))})}},4664:(Se,X,g)=>{"use strict";g.d(X,{w:()=>b});var n=g(4829),p=g(9360),C=g(8251);function b(o,v){return(0,p.e)((a,c)=>{let s=null,l=0,d=!1;const r=()=>d&&!s&&c.complete();a.subscribe((0,C.x)(c,u=>{s?.unsubscribe();let h=0;const m=l++;(0,n.Xf)(o(u,m)).subscribe(s=(0,C.x)(c,_=>c.next(v?v(u,_,m,h++):_),()=>{s=null,r()}))},()=>{d=!0,r()}))})}},8180:(Se,X,g)=>{"use strict";g.d(X,{q:()=>b});var n=g(6232),p=g(9360),C=g(8251);function b(o){return o<=0?()=>n.E:(0,p.e)((v,a)=>{let c=0;v.subscribe((0,C.x)(a,s=>{++c<=o&&(a.next(s),o<=c&&a.complete())}))})}},4418:(Se,X,g)=>{"use strict";g.d(X,{h:()=>b});var n=g(6232),p=g(9360),C=g(8251);function b(o){return o<=0?()=>n.E:(0,p.e)((v,a)=>{let c=[];v.subscribe((0,C.x)(a,s=>{c.push(s),o{for(const s of c)a.next(s);a.complete()},void 0,()=>{c=null}))})}},9773:(Se,X,g)=>{"use strict";g.d(X,{R:()=>o});var n=g(9360),p=g(8251),C=g(4829),b=g(2420);function o(v){return(0,n.e)((a,c)=>{(0,C.Xf)(v).subscribe((0,p.x)(c,()=>c.complete(),b.Z)),!c.closed&&a.subscribe(c)})}},812:(Se,X,g)=>{"use strict";g.d(X,{o:()=>C});var n=g(9360),p=g(8251);function C(b,o=!1){return(0,n.e)((v,a)=>{let c=0;v.subscribe((0,p.x)(a,s=>{const l=b(s,c++);(l||o)&&a.next(s),!l&&a.complete()}))})}},9397:(Se,X,g)=>{"use strict";g.d(X,{b:()=>o});var n=g(4674),p=g(9360),C=g(8251),b=g(2737);function o(v,a,c){const s=(0,n.m)(v)||a||c?{next:v,error:a,complete:c}:v;return s?(0,p.e)((l,d)=>{var r;null===(r=s.subscribe)||void 0===r||r.call(s);let u=!0;l.subscribe((0,C.x)(d,h=>{var m;null===(m=s.next)||void 0===m||m.call(s,h),d.next(h)},()=>{var h;u=!1,null===(h=s.complete)||void 0===h||h.call(s),d.complete()},h=>{var m;u=!1,null===(m=s.error)||void 0===m||m.call(s,h),d.error(h)},()=>{var h,m;u&&(null===(h=s.unsubscribe)||void 0===h||h.call(s)),null===(m=s.finalize)||void 0===m||m.call(s)}))}):b.y}},3026:(Se,X,g)=>{"use strict";g.d(X,{T:()=>b});var n=g(6973),p=g(9360),C=g(8251);function b(v=o){return(0,p.e)((a,c)=>{let s=!1;a.subscribe((0,C.x)(c,l=>{s=!0,c.next(l)},()=>s?c.complete():c.error(v())))})}function o(){return new n.K}},5178:(Se,X,g)=>{"use strict";g.d(X,{V:()=>s});var n=g(6321),p=g(93),C=g(9360),b=g(4829),o=g(2306),v=g(8251),a=g(7103);const c=(0,o.d)(d=>function(u=null){d(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=u});function s(d,r){const{first:u,each:h,with:m=l,scheduler:_=r??n.z,meta:M=null}=(0,p.q)(d)?{first:d}:"number"==typeof d?{each:d}:d;if(null==u&&null==h)throw new TypeError("No timeout provided.");return(0,C.e)((x,w)=>{let L,A,T=null,O=0;const E=D=>{A=(0,a.f)(w,_,()=>{try{L.unsubscribe(),(0,b.Xf)(m({meta:M,lastValue:T,seen:O})).subscribe(w)}catch(R){w.error(R)}},D)};L=x.subscribe((0,v.x)(w,D=>{A?.unsubscribe(),O++,w.next(T=D),h>0&&E(h)},void 0,void 0,()=>{A?.closed||A?.unsubscribe(),T=null})),!O&&E(null!=u?"number"==typeof u?u:+u-_.now():h)})}function l(d){throw new c(d)}},1954:(Se,X,g)=>{"use strict";g.d(X,{o:()=>o});var n=g(7394);class p extends n.w0{constructor(a,c){super()}schedule(a,c=0){return this}}const C={setInterval(v,a,...c){const{delegate:s}=C;return s?.setInterval?s.setInterval(v,a,...c):setInterval(v,a,...c)},clearInterval(v){const{delegate:a}=C;return(a?.clearInterval||clearInterval)(v)},delegate:void 0};var b=g(9039);class o extends p{constructor(a,c){super(a,c),this.scheduler=a,this.work=c,this.pending=!1}schedule(a,c=0){var s;if(this.closed)return this;this.state=a;const l=this.id,d=this.scheduler;return null!=l&&(this.id=this.recycleAsyncId(d,l,c)),this.pending=!0,this.delay=c,this.id=null!==(s=this.id)&&void 0!==s?s:this.requestAsyncId(d,this.id,c),this}requestAsyncId(a,c,s=0){return C.setInterval(a.flush.bind(a,this),s)}recycleAsyncId(a,c,s=0){if(null!=s&&this.delay===s&&!1===this.pending)return c;null!=c&&C.clearInterval(c)}execute(a,c){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(a,c);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(a,c){let l,s=!1;try{this.work(a)}catch(d){s=!0,l=d||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),l}unsubscribe(){if(!this.closed){const{id:a,scheduler:c}=this,{actions:s}=c;this.work=this.state=this.scheduler=null,this.pending=!1,(0,b.P)(s,this),null!=a&&(this.id=this.recycleAsyncId(c,a,null)),this.delay=null,super.unsubscribe()}}}},2631:(Se,X,g)=>{"use strict";g.d(X,{v:()=>C});var n=g(4552);class p{constructor(o,v=p.now){this.schedulerActionCtor=o,this.now=v}schedule(o,v=0,a){return new this.schedulerActionCtor(this,o).schedule(a,v)}}p.now=n.l.now;class C extends p{constructor(o,v=p.now){super(o,v),this.actions=[],this._active=!1}flush(o){const{actions:v}=this;if(this._active)return void v.push(o);let a;this._active=!0;do{if(a=o.execute(o.state,o.delay))break}while(o=v.shift());if(this._active=!1,a){for(;o=v.shift();)o.unsubscribe();throw a}}}},927:(Se,X,g)=>{"use strict";g.d(X,{Z:()=>a});var n=g(1954),p=g(7394);const C={schedule(s){let l=requestAnimationFrame,d=cancelAnimationFrame;const{delegate:r}=C;r&&(l=r.requestAnimationFrame,d=r.cancelAnimationFrame);const u=l(h=>{d=void 0,s(h)});return new p.w0(()=>d?.(u))},requestAnimationFrame(...s){const{delegate:l}=C;return(l?.requestAnimationFrame||requestAnimationFrame)(...s)},cancelAnimationFrame(...s){const{delegate:l}=C;return(l?.cancelAnimationFrame||cancelAnimationFrame)(...s)},delegate:void 0};var o=g(2631);const a=new class v extends o.v{flush(l){this._active=!0;const d=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===d&&r.shift());if(this._active=!1,u){for(;(l=r[0])&&l.id===d&&r.shift();)l.unsubscribe();throw u}}}(class b extends n.o{constructor(l,d){super(l,d),this.scheduler=l,this.work=d}requestAsyncId(l,d,r=0){return null!==r&&r>0?super.requestAsyncId(l,d,r):(l.actions.push(this),l._scheduled||(l._scheduled=C.requestAnimationFrame(()=>l.flush(void 0))))}recycleAsyncId(l,d,r=0){var u;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(l,d,r);const{actions:h}=l;null!=d&&(null===(u=h[h.length-1])||void 0===u?void 0:u.id)!==d&&(C.cancelAnimationFrame(d),l._scheduled=void 0)}})},6410:(Se,X,g)=>{"use strict";g.d(X,{E:()=>h});var n=g(1954);let C,p=1;const b={};function o(_){return _ in b&&(delete b[_],!0)}const v={setImmediate(_){const M=p++;return b[M]=!0,C||(C=Promise.resolve()),C.then(()=>o(M)&&_()),M},clearImmediate(_){o(_)}},{setImmediate:c,clearImmediate:s}=v,l={setImmediate(..._){const{delegate:M}=l;return(M?.setImmediate||c)(..._)},clearImmediate(_){const{delegate:M}=l;return(M?.clearImmediate||s)(_)},delegate:void 0};var r=g(2631);const h=new class u extends r.v{flush(M){this._active=!0;const x=this._scheduled;this._scheduled=void 0;const{actions:w}=this;let L;M=M||w.shift();do{if(L=M.execute(M.state,M.delay))break}while((M=w[0])&&M.id===x&&w.shift());if(this._active=!1,L){for(;(M=w[0])&&M.id===x&&w.shift();)M.unsubscribe();throw L}}}(class d extends n.o{constructor(M,x){super(M,x),this.scheduler=M,this.work=x}requestAsyncId(M,x,w=0){return null!==w&&w>0?super.requestAsyncId(M,x,w):(M.actions.push(this),M._scheduled||(M._scheduled=l.setImmediate(M.flush.bind(M,void 0))))}recycleAsyncId(M,x,w=0){var L;if(null!=w?w>0:this.delay>0)return super.recycleAsyncId(M,x,w);const{actions:A}=M;null!=x&&(null===(L=A[A.length-1])||void 0===L?void 0:L.id)!==x&&(l.clearImmediate(x),M._scheduled===x&&(M._scheduled=void 0))}})},6321:(Se,X,g)=>{"use strict";g.d(X,{P:()=>b,z:()=>C});var n=g(1954);const C=new(g(2631).v)(n.o),b=C},4552:(Se,X,g)=>{"use strict";g.d(X,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(Se,X,g)=>{"use strict";g.d(X,{z:()=>n});const n={setTimeout(p,C,...b){const{delegate:o}=n;return o?.setTimeout?o.setTimeout(p,C,...b):setTimeout(p,C,...b)},clearTimeout(p){const{delegate:C}=n;return(C?.clearTimeout||clearTimeout)(p)},delegate:void 0}},4971:(Se,X,g)=>{"use strict";g.d(X,{h:()=>p});const p=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Se,X,g)=>{"use strict";g.d(X,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(Se,X,g)=>{"use strict";g.d(X,{K:()=>p});const p=(0,g(2306).d)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(Se,X,g)=>{"use strict";g.d(X,{_6:()=>v,jO:()=>b,yG:()=>o});var n=g(4674),p=g(671);function C(a){return a[a.length-1]}function b(a){return(0,n.m)(C(a))?a.pop():void 0}function o(a){return(0,p.K)(C(a))?a.pop():void 0}function v(a,c){return"number"==typeof C(a)?a.pop():c}},7453:(Se,X,g)=>{"use strict";g.d(X,{D:()=>o});const{isArray:n}=Array,{getPrototypeOf:p,prototype:C,keys:b}=Object;function o(a){if(1===a.length){const c=a[0];if(n(c))return{args:c,keys:null};if(function v(a){return a&&"object"==typeof a&&p(a)===C}(c)){const s=b(c);return{args:s.map(l=>c[l]),keys:s}}}return{args:a,keys:null}}},7728:(Se,X,g)=>{"use strict";g.d(X,{k:()=>p});const{isArray:n}=Array;function p(C){return 1===C.length&&n(C[0])?C[0]:C}},9039:(Se,X,g)=>{"use strict";function n(p,C){if(p){const b=p.indexOf(C);0<=b&&p.splice(b,1)}}g.d(X,{P:()=>n})},2306:(Se,X,g)=>{"use strict";function n(p){const b=p(o=>{Error.call(o),o.stack=(new Error).stack});return b.prototype=Object.create(Error.prototype),b.prototype.constructor=b,b}g.d(X,{d:()=>n})},2714:(Se,X,g)=>{"use strict";function n(p,C){return p.reduce((b,o,v)=>(b[o]=C[v],b),{})}g.d(X,{n:()=>n})},1441:(Se,X,g)=>{"use strict";g.d(X,{O:()=>b,x:()=>C});var n=g(2653);let p=null;function C(o){if(n.config.useDeprecatedSynchronousErrorHandling){const v=!p;if(v&&(p={errorThrown:!1,error:null}),o(),v){const{errorThrown:a,error:c}=p;if(p=null,a)throw c}}else o()}function b(o){n.config.useDeprecatedSynchronousErrorHandling&&p&&(p.errorThrown=!0,p.error=o)}},7103:(Se,X,g)=>{"use strict";function n(p,C,b,o=0,v=!1){const a=C.schedule(function(){b(),v?p.add(this.schedule(null,o)):this.unsubscribe()},o);if(p.add(a),!v)return a}g.d(X,{f:()=>n})},2737:(Se,X,g)=>{"use strict";function n(p){return p}g.d(X,{y:()=>n})},4266:(Se,X,g)=>{"use strict";g.d(X,{z:()=>n});const n=p=>p&&"number"==typeof p.length&&"function"!=typeof p},5726:(Se,X,g)=>{"use strict";g.d(X,{D:()=>p});var n=g(4674);function p(C){return Symbol.asyncIterator&&(0,n.m)(C?.[Symbol.asyncIterator])}},93:(Se,X,g)=>{"use strict";function n(p){return p instanceof Date&&!isNaN(p)}g.d(X,{q:()=>n})},4674:(Se,X,g)=>{"use strict";function n(p){return"function"==typeof p}g.d(X,{m:()=>n})},8382:(Se,X,g)=>{"use strict";g.d(X,{c:()=>C});var n=g(4850),p=g(4674);function C(b){return(0,p.m)(b[n.L])}},3664:(Se,X,g)=>{"use strict";g.d(X,{T:()=>C});var n=g(4971),p=g(4674);function C(b){return(0,p.m)(b?.[n.h])}},2664:(Se,X,g)=>{"use strict";g.d(X,{b:()=>C});var n=g(5592),p=g(4674);function C(b){return!!b&&(b instanceof n.y||(0,p.m)(b.lift)&&(0,p.m)(b.subscribe))}},4026:(Se,X,g)=>{"use strict";g.d(X,{t:()=>p});var n=g(4674);function p(C){return(0,n.m)(C?.then)}},541:(Se,X,g)=>{"use strict";g.d(X,{L:()=>b,Q:()=>C});var n=g(655),p=g(4674);function C(o){return(0,n.__asyncGenerator)(this,arguments,function*(){const a=o.getReader();try{for(;;){const{value:c,done:s}=yield(0,n.__await)(a.read());if(s)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(c)}}finally{a.releaseLock()}})}function b(o){return(0,p.m)(o?.getReader)}},671:(Se,X,g)=>{"use strict";g.d(X,{K:()=>p});var n=g(4674);function p(C){return C&&(0,n.m)(C.schedule)}},9360:(Se,X,g)=>{"use strict";g.d(X,{A:()=>p,e:()=>C});var n=g(4674);function p(b){return(0,n.m)(b?.lift)}function C(b){return o=>{if(p(o))return o.lift(function(v){try{return b(v,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Se,X,g)=>{"use strict";g.d(X,{Z:()=>b});var n=g(7398);const{isArray:p}=Array;function b(o){return(0,n.U)(v=>function C(o,v){return p(v)?o(...v):o(v)}(o,v))}},2420:(Se,X,g)=>{"use strict";function n(){}g.d(X,{Z:()=>n})},8407:(Se,X,g)=>{"use strict";g.d(X,{U:()=>C,z:()=>p});var n=g(2737);function p(...b){return C(b)}function C(b){return 0===b.length?n.y:1===b.length?b[0]:function(v){return b.reduce((a,c)=>c(a),v)}}},3894:(Se,X,g)=>{"use strict";g.d(X,{h:()=>C});var n=g(2653),p=g(7599);function C(b){p.z.setTimeout(()=>{const{onUnhandledError:o}=n.config;if(!o)throw b;o(b)})}},9853:(Se,X,g)=>{"use strict";function n(p){return new TypeError(`You provided ${null!==p&&"object"==typeof p?"an invalid object":`'${p}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(X,{z:()=>n})},1385:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{audit:()=>n.U,auditTime:()=>p.e,buffer:()=>a,bufferCount:()=>s,bufferTime:()=>h,bufferToggle:()=>m,bufferWhen:()=>_,catchError:()=>M.K,combineAll:()=>S,combineLatest:()=>F,combineLatestAll:()=>N,combineLatestWith:()=>Y,concat:()=>me,concatAll:()=>se.u,concatMap:()=>$.b,concatMapTo:()=>Q,concatWith:()=>ue,connect:()=>$e,count:()=>st,debounce:()=>Mt,debounceTime:()=>tt.b,defaultIfEmpty:()=>St.d,delay:()=>bt.g,delayWhen:()=>xt.j,dematerialize:()=>ee,distinct:()=>ae,distinctUntilChanged:()=>ie.x,distinctUntilKeyChanged:()=>pe,elementAt:()=>ze,endWith:()=>Bt,every:()=>$t,exhaust:()=>ve,exhaustAll:()=>We,exhaustMap:()=>Ue,expand:()=>at,filter:()=>Lt.h,finalize:()=>De.x,find:()=>je,findIndex:()=>Z,first:()=>re.P,flatMap:()=>tn,groupBy:()=>ce,ignoreElements:()=>Ee.l,isEmpty:()=>it,last:()=>Rt.Z,map:()=>Yt.U,mapTo:()=>Ye.h,materialize:()=>qe,max:()=>Ne,merge:()=>At,mergeAll:()=>dt.J,mergeMap:()=>T.z,mergeMapTo:()=>wn,mergeScan:()=>Tn,mergeWith:()=>Sn,min:()=>Mn,multicast:()=>di,observeOn:()=>Li.Q,onErrorResumeNext:()=>mt,pairwise:()=>pt,partition:()=>on,pluck:()=>hn,publish:()=>un,publishBehavior:()=>In,publishLast:()=>mi,publishReplay:()=>ri,race:()=>Dn,raceWith:()=>en,reduce:()=>E,refCount:()=>oi.x,repeat:()=>Yn,repeatWhen:()=>si,retry:()=>ii,retryWhen:()=>Ii,sample:()=>li,sampleTime:()=>Ct,scan:()=>Ft.R,sequenceEqual:()=>Ae,share:()=>be.B,shareReplay:()=>ge.d,single:()=>an,skip:()=>gn.T,skipLast:()=>pn,skipUntil:()=>Jn,skipWhile:()=>Nn,startWith:()=>kn.O,subscribeOn:()=>Un.R,switchAll:()=>$i,switchMap:()=>vi.w,switchMapTo:()=>er,switchScan:()=>fn,take:()=>Kt.q,takeLast:()=>yn.h,takeUntil:()=>rn.R,takeWhile:()=>xn.o,tap:()=>ti.b,throttle:()=>Ti,throttleTime:()=>zi,throwIfEmpty:()=>Dt.T,timeInterval:()=>xi,timeout:()=>gi.V,timeoutWith:()=>kt,timestamp:()=>fe,toArray:()=>R,window:()=>Pe,windowCount:()=>Je,windowTime:()=>Gt,windowToggle:()=>Pn,windowWhen:()=>Gi,withLatestFrom:()=>Vi,zip:()=>or,zipAll:()=>Zi,zipWith:()=>ur});var n=g(6301),p=g(8672),C=g(9360),b=g(2420),o=g(8251),v=g(4829);function a(Et){return(0,C.e)((_t,ft)=>{let Tt=[];return _t.subscribe((0,o.x)(ft,Ut=>Tt.push(Ut),()=>{ft.next(Tt),ft.complete()})),(0,v.Xf)(Et).subscribe((0,o.x)(ft,()=>{const Ut=Tt;Tt=[],ft.next(Ut)},b.Z)),()=>{Tt=null}})}var c=g(9039);function s(Et,_t=null){return _t=_t??Et,(0,C.e)((ft,Tt)=>{let Ut=[],Wt=0;ft.subscribe((0,o.x)(Tt,nn=>{let Cn=null;Wt++%_t==0&&Ut.push([]);for(const _n of Ut)_n.push(nn),Et<=_n.length&&(Cn=Cn??[],Cn.push(_n));if(Cn)for(const _n of Cn)(0,c.P)(Ut,_n),Tt.next(_n)},()=>{for(const nn of Ut)Tt.next(nn);Tt.complete()},void 0,()=>{Ut=null}))})}var l=g(7394),d=g(6321),r=g(9940),u=g(7103);function h(Et,..._t){var ft,Tt;const Ut=null!==(ft=(0,r.yG)(_t))&&void 0!==ft?ft:d.z,Wt=null!==(Tt=_t[0])&&void 0!==Tt?Tt:null,nn=_t[1]||1/0;return(0,C.e)((Cn,_n)=>{let zn=[],Vn=!1;const Ri=ni=>{const{buffer:Xn,subs:ai}=ni;ai.unsubscribe(),(0,c.P)(zn,ni),_n.next(Xn),Vn&&ci()},ci=()=>{if(zn){const ni=new l.w0;_n.add(ni);const ai={buffer:[],subs:ni};zn.push(ai),(0,u.f)(ni,Ut,()=>Ri(ai),Et)}};null!==Wt&&Wt>=0?(0,u.f)(_n,Ut,ci,Wt,!0):Vn=!0,ci();const Mi=(0,o.x)(_n,ni=>{const Xn=zn.slice();for(const ai of Xn){const{buffer:Fi}=ai;Fi.push(ni),nn<=Fi.length&&Ri(ai)}},()=>{for(;zn?.length;)_n.next(zn.shift().buffer);Mi?.unsubscribe(),_n.complete(),_n.unsubscribe()},void 0,()=>zn=null);Cn.subscribe(Mi)})}function m(Et,_t){return(0,C.e)((ft,Tt)=>{const Ut=[];(0,v.Xf)(Et).subscribe((0,o.x)(Tt,Wt=>{const nn=[];Ut.push(nn);const Cn=new l.w0;Cn.add((0,v.Xf)(_t(Wt)).subscribe((0,o.x)(Tt,()=>{(0,c.P)(Ut,nn),Tt.next(nn),Cn.unsubscribe()},b.Z)))},b.Z)),ft.subscribe((0,o.x)(Tt,Wt=>{for(const nn of Ut)nn.push(Wt)},()=>{for(;Ut.length>0;)Tt.next(Ut.shift());Tt.complete()}))})}function _(Et){return(0,C.e)((_t,ft)=>{let Tt=null,Ut=null;const Wt=()=>{Ut?.unsubscribe();const nn=Tt;Tt=[],nn&&ft.next(nn),(0,v.Xf)(Et()).subscribe(Ut=(0,o.x)(ft,Wt,b.Z))};Wt(),_t.subscribe((0,o.x)(ft,nn=>Tt?.push(nn),()=>{Tt&&ft.next(Tt),ft.complete()},void 0,()=>Tt=Ut=null))})}var M=g(6306),x=g(2572),w=g(2737),L=g(7400),A=g(8407),T=g(9769),O=g(9732);function E(Et,_t){return(0,C.e)((0,O.U)(Et,_t,arguments.length>=2,!1,!0))}const D=(Et,_t)=>(Et.push(_t),Et);function R(){return(0,C.e)((Et,_t)=>{E(D,[])(Et).subscribe(_t)})}function j(Et,_t){return(0,A.z)(R(),(0,T.z)(ft=>Et(ft)),_t?(0,L.Z)(_t):w.y)}function N(Et){return j(x.a,Et)}const S=N;var k=g(7728);function F(...Et){const _t=(0,r.jO)(Et);return _t?(0,A.z)(F(...Et),(0,L.Z)(_t)):(0,C.e)((ft,Tt)=>{(0,x.l)([ft,...(0,k.k)(Et)])(Tt)})}function Y(...Et){return F(...Et)}var se=g(1948),ne=g(2459);function me(...Et){const _t=(0,r.yG)(Et);return(0,C.e)((ft,Tt)=>{(0,se.u)()((0,ne.D)([ft,...Et],_t)).subscribe(Tt)})}var $=g(6328),q=g(4674);function Q(Et,_t){return(0,q.m)(_t)?(0,$.b)(()=>Et,_t):(0,$.b)(()=>Et)}function ue(...Et){return me(...Et)}var Me=g(8645),Oe=g(5592);const Be={connector:()=>new Me.x};function $e(Et,_t=Be){const{connector:ft}=_t;return(0,C.e)((Tt,Ut)=>{const Wt=ft();(0,v.Xf)(Et(function Xe(Et){return new Oe.y(_t=>Et.subscribe(_t))}(Wt))).subscribe(Ut),Ut.add(Tt.subscribe(Wt))})}function st(Et){return E((_t,ft,Tt)=>!Et||Et(ft,Tt)?_t+1:_t,0)}function Mt(Et){return(0,C.e)((_t,ft)=>{let Tt=!1,Ut=null,Wt=null;const nn=()=>{if(Wt?.unsubscribe(),Wt=null,Tt){Tt=!1;const Cn=Ut;Ut=null,ft.next(Cn)}};_t.subscribe((0,o.x)(ft,Cn=>{Wt?.unsubscribe(),Tt=!0,Ut=Cn,Wt=(0,o.x)(ft,nn,b.Z),(0,v.Xf)(Et(Cn)).subscribe(Wt)},()=>{nn(),ft.complete()},void 0,()=>{Ut=Wt=null}))})}var tt=g(3620),St=g(3572),bt=g(7547),xt=g(4610),nt=g(6232),ot=g(2096),vt=g(8504);class J{constructor(_t,ft,Tt){this.kind=_t,this.value=ft,this.error=Tt,this.hasValue="N"===_t}observe(_t){return Ce(this,_t)}do(_t,ft,Tt){const{kind:Ut,value:Wt,error:nn}=this;return"N"===Ut?_t?.(Wt):"E"===Ut?ft?.(nn):Tt?.()}accept(_t,ft,Tt){var Ut;return(0,q.m)(null===(Ut=_t)||void 0===Ut?void 0:Ut.next)?this.observe(_t):this.do(_t,ft,Tt)}toObservable(){const{kind:_t,value:ft,error:Tt}=this,Ut="N"===_t?(0,ot.of)(ft):"E"===_t?(0,vt._)(()=>Tt):"C"===_t?nt.E:0;if(!Ut)throw new TypeError(`Unexpected notification kind ${_t}`);return Ut}static createNext(_t){return new J("N",_t)}static createError(_t){return new J("E",void 0,_t)}static createComplete(){return J.completeNotification}}function Ce(Et,_t){var ft,Tt,Ut;const{kind:Wt,value:nn,error:Cn}=Et;if("string"!=typeof Wt)throw new TypeError('Invalid notification, missing "kind"');"N"===Wt?null===(ft=_t.next)||void 0===ft||ft.call(_t,nn):"E"===Wt?null===(Tt=_t.error)||void 0===Tt||Tt.call(_t,Cn):null===(Ut=_t.complete)||void 0===Ut||Ut.call(_t)}function ee(){return(0,C.e)((Et,_t)=>{Et.subscribe((0,o.x)(_t,ft=>Ce(ft,_t)))})}function ae(Et,_t){return(0,C.e)((ft,Tt)=>{const Ut=new Set;ft.subscribe((0,o.x)(Tt,Wt=>{const nn=Et?Et(Wt):Wt;Ut.has(nn)||(Ut.add(nn),Tt.next(Wt))})),_t&&(0,v.Xf)(_t).subscribe((0,o.x)(Tt,()=>Ut.clear(),b.Z))})}J.completeNotification=new J("C");var ie=g(3997);function pe(Et,_t){return(0,ie.x)((ft,Tt)=>_t?_t(ft[Et],Tt[Et]):ft[Et]===Tt[Et])}var Te=g(2306);const ct=(0,Te.d)(Et=>function(){Et(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Lt=g(2181),Dt=g(3026),Kt=g(8180);function ze(Et,_t){if(Et<0)throw new ct;const ft=arguments.length>=2;return Tt=>Tt.pipe((0,Lt.h)((Ut,Wt)=>Wt===Et),(0,Kt.q)(1),ft?(0,St.d)(_t):(0,Dt.T)(()=>new ct))}var yt=g(34);function Bt(...Et){return _t=>(0,yt.z)(_t,(0,ot.of)(...Et))}function $t(Et,_t){return(0,C.e)((ft,Tt)=>{let Ut=0;ft.subscribe((0,o.x)(Tt,Wt=>{Et.call(_t,Wt,Ut++,ft)||(Tt.next(!1),Tt.complete())},()=>{Tt.next(!0),Tt.complete()}))})}var Yt=g(7398);function Ue(Et,_t){return _t?ft=>ft.pipe(Ue((Tt,Ut)=>(0,v.Xf)(Et(Tt,Ut)).pipe((0,Yt.U)((Wt,nn)=>_t(Tt,Wt,Ut,nn))))):(0,C.e)((ft,Tt)=>{let Ut=0,Wt=null,nn=!1;ft.subscribe((0,o.x)(Tt,Cn=>{Wt||(Wt=(0,o.x)(Tt,void 0,()=>{Wt=null,nn&&Tt.complete()}),(0,v.Xf)(Et(Cn,Ut++)).subscribe(Wt))},()=>{nn=!0,!Wt&&Tt.complete()}))})}function We(){return Ue(w.y)}const ve=We;var we=g(564);function at(Et,_t=1/0,ft){return _t=(_t||0)<1?1/0:_t,(0,C.e)((Tt,Ut)=>(0,we.p)(Tt,Ut,Et,_t,void 0,!0,ft))}var De=g(4716);function je(Et,_t){return(0,C.e)(ke(Et,_t,"value"))}function ke(Et,_t,ft){const Tt="index"===ft;return(Ut,Wt)=>{let nn=0;Ut.subscribe((0,o.x)(Wt,Cn=>{const _n=nn++;Et.call(_t,Cn,_n,Ut)&&(Wt.next(Tt?_n:Cn),Wt.complete())},()=>{Wt.next(Tt?-1:void 0),Wt.complete()}))}}function Z(Et,_t){return(0,C.e)(ke(Et,_t,"index"))}var re=g(1374);function ce(Et,_t,ft,Tt){return(0,C.e)((Ut,Wt)=>{let nn;_t&&"function"!=typeof _t?({duration:ft,element:nn,connector:Tt}=_t):nn=_t;const Cn=new Map,_n=ni=>{Cn.forEach(ni),ni(Wt)},zn=ni=>_n(Xn=>Xn.error(ni));let Vn=0,Ri=!1;const ci=new o.Q(Wt,ni=>{try{const Xn=Et(ni);let ai=Cn.get(Xn);if(!ai){Cn.set(Xn,ai=Tt?Tt():new Me.x);const Fi=function Mi(ni,Xn){const ai=new Oe.y(Fi=>{Vn++;const Xi=Xn.subscribe(Fi);return()=>{Xi.unsubscribe(),0==--Vn&&Ri&&ci.unsubscribe()}});return ai.key=ni,ai}(Xn,ai);if(Wt.next(Fi),ft){const Xi=(0,o.x)(ai,()=>{ai.complete(),Xi?.unsubscribe()},void 0,void 0,()=>Cn.delete(Xn));ci.add((0,v.Xf)(ft(Fi)).subscribe(Xi))}}ai.next(nn?nn(ni):ni)}catch(Xn){zn(Xn)}},()=>_n(ni=>ni.complete()),zn,()=>Cn.clear(),()=>(Ri=!0,0===Vn));Ut.subscribe(ci)})}var Ee=g(7538);function it(){return(0,C.e)((Et,_t)=>{Et.subscribe((0,o.x)(_t,()=>{_t.next(!1),_t.complete()},()=>{_t.next(!0),_t.complete()}))})}var Rt=g(2032),Ye=g(975);function qe(){return(0,C.e)((Et,_t)=>{Et.subscribe((0,o.x)(_t,ft=>{_t.next(J.createNext(ft))},()=>{_t.next(J.createComplete()),_t.complete()},ft=>{_t.next(J.createError(ft)),_t.complete()}))})}function Ne(Et){return E((0,q.m)(Et)?(_t,ft)=>Et(_t,ft)>0?_t:ft:(_t,ft)=>_t>ft?_t:ft)}var dt=g(7537);function At(...Et){const _t=(0,r.yG)(Et),ft=(0,r._6)(Et,1/0);return Et=(0,k.k)(Et),(0,C.e)((Tt,Ut)=>{(0,dt.J)(ft)((0,ne.D)([Tt,...Et],_t)).subscribe(Ut)})}const tn=T.z;function wn(Et,_t,ft=1/0){return(0,q.m)(_t)?(0,T.z)(()=>Et,_t,ft):("number"==typeof _t&&(ft=_t),(0,T.z)(()=>Et,ft))}function Tn(Et,_t,ft=1/0){return(0,C.e)((Tt,Ut)=>{let Wt=_t;return(0,we.p)(Tt,Ut,(nn,Cn)=>Et(Wt,nn,Cn),ft,nn=>{Wt=nn},!1,void 0,()=>Wt=null)})}function Sn(...Et){return At(...Et)}function Mn(Et){return E((0,q.m)(Et)?(_t,ft)=>Et(_t,ft)<0?_t:ft:(_t,ft)=>_tEt;return(0,q.m)(_t)?$e(_t,{connector:ft}):Tt=>new Ci.c(Tt,ft)}var Li=g(3093);const mt=function wt(...Et){const _t=(0,k.k)(Et);return ft=>function Qi(...Et){const _t=(0,k.k)(Et);return new Oe.y(ft=>{let Tt=0;const Ut=()=>{if(Tt<_t.length){let Wt;try{Wt=(0,v.Xf)(_t[Tt++])}catch{return void Ut()}const nn=new o.Q(ft,void 0,b.Z,b.Z);Wt.subscribe(nn),nn.add(Ut)}else ft.complete()};Ut()})}(ft,..._t)};function pt(){return(0,C.e)((Et,_t)=>{let ft,Tt=!1;Et.subscribe((0,o.x)(_t,Ut=>{const Wt=ft;ft=Ut,Tt&&_t.next([Wt,Ut]),Tt=!0}))})}function qt(Et,_t){return(ft,Tt)=>!Et.call(_t,ft,Tt)}function on(Et,_t){return ft=>[(0,Lt.h)(Et,_t)(ft),(0,Lt.h)(qt(Et,_t))(ft)]}function hn(...Et){const _t=Et.length;if(0===_t)throw new Error("list of properties cannot be empty.");return(0,Yt.U)(ft=>{let Tt=ft;for(let Ut=0;Ut<_t;Ut++){const Wt=Tt?.[Et[Ut]];if(!(typeof Wt<"u"))return;Tt=Wt}return Tt})}function un(Et){return Et?_t=>$e(Et)(_t):_t=>di(new Me.x)(_t)}var $n=g(5619);function In(Et){return _t=>{const ft=new $n.X(Et);return new Ci.c(_t,()=>ft)}}class Zn extends Me.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(_t){const{hasError:ft,_hasValue:Tt,_value:Ut,thrownError:Wt,isStopped:nn,_isComplete:Cn}=this;ft?_t.error(Wt):(nn||Cn)&&(Tt&&_t.next(Ut),_t.complete())}next(_t){this.isStopped||(this._value=_t,this._hasValue=!0)}complete(){const{_hasValue:_t,_value:ft,_isComplete:Tt}=this;Tt||(this._isComplete=!0,_t&&super.next(ft),super.complete())}}function mi(){return Et=>{const _t=new Zn;return new Ci.c(Et,()=>_t)}}var Qn=g(7328);function ri(Et,_t,ft,Tt){ft&&!(0,q.m)(ft)&&(Tt=ft);const Ut=(0,q.m)(ft)?ft:void 0;return Wt=>di(new Qn.t(Et,_t,Tt),Ut)(Wt)}var ln=g(3684);function en(...Et){return Et.length?(0,C.e)((_t,ft)=>{(0,ln.R)([_t,...Et])(ft)}):w.y}function Dn(...Et){return en(...(0,k.k)(Et))}var An=g(9080);function Yn(Et){let ft,_t=1/0;return null!=Et&&("object"==typeof Et?({count:_t=1/0,delay:ft}=Et):_t=Et),_t<=0?()=>nt.E:(0,C.e)((Tt,Ut)=>{let nn,Wt=0;const Cn=()=>{if(nn?.unsubscribe(),nn=null,null!=ft){const zn="number"==typeof ft?(0,An.H)(ft):(0,v.Xf)(ft(Wt)),Vn=(0,o.x)(Ut,()=>{Vn.unsubscribe(),_n()});zn.subscribe(Vn)}else _n()},_n=()=>{let zn=!1;nn=Tt.subscribe((0,o.x)(Ut,void 0,()=>{++Wt<_t?nn?Cn():zn=!0:Ut.complete()})),zn&&Cn()};_n()})}function si(Et){return(0,C.e)((_t,ft)=>{let Tt,Wt,Ut=!1,nn=!1,Cn=!1;const _n=()=>Cn&&nn&&(ft.complete(),!0),Vn=()=>{Cn=!1,Tt=_t.subscribe((0,o.x)(ft,void 0,()=>{Cn=!0,!_n()&&(Wt||(Wt=new Me.x,(0,v.Xf)(Et(Wt)).subscribe((0,o.x)(ft,()=>{Tt?Vn():Ut=!0},()=>{nn=!0,_n()}))),Wt).next()})),Ut&&(Tt.unsubscribe(),Tt=null,Ut=!1,Vn())};Vn()})}function ii(Et=1/0){let _t;_t=Et&&"object"==typeof Et?Et:{count:Et};const{count:ft=1/0,delay:Tt,resetOnSuccess:Ut=!1}=_t;return ft<=0?w.y:(0,C.e)((Wt,nn)=>{let _n,Cn=0;const zn=()=>{let Vn=!1;_n=Wt.subscribe((0,o.x)(nn,Ri=>{Ut&&(Cn=0),nn.next(Ri)},void 0,Ri=>{if(Cn++{_n?(_n.unsubscribe(),_n=null,zn()):Vn=!0};if(null!=Tt){const Mi="number"==typeof Tt?(0,An.H)(Tt):(0,v.Xf)(Tt(Ri,Cn)),ni=(0,o.x)(nn,()=>{ni.unsubscribe(),ci()},()=>{nn.complete()});Mi.subscribe(ni)}else ci()}else nn.error(Ri)})),Vn&&(_n.unsubscribe(),_n=null,zn())};zn()})}function Ii(Et){return(0,C.e)((_t,ft)=>{let Tt,Wt,Ut=!1;const nn=()=>{Tt=_t.subscribe((0,o.x)(ft,void 0,void 0,Cn=>{Wt||(Wt=new Me.x,(0,v.Xf)(Et(Wt)).subscribe((0,o.x)(ft,()=>Tt?nn():Ut=!0))),Wt&&Wt.next(Cn)})),Ut&&(Tt.unsubscribe(),Tt=null,Ut=!1,nn())};nn()})}var oi=g(6196);function li(Et){return(0,C.e)((_t,ft)=>{let Tt=!1,Ut=null;_t.subscribe((0,o.x)(ft,Wt=>{Tt=!0,Ut=Wt})),(0,v.Xf)(Et).subscribe((0,o.x)(ft,()=>{if(Tt){Tt=!1;const Wt=Ut;Ut=null,ft.next(Wt)}},b.Z))})}function Ct(Et,_t=d.z){return li(function Pi(Et=0,_t=d.z){return Et<0&&(Et=0),(0,An.H)(Et,Et,_t)}(Et,_t))}var Ft=g(6424);function Ae(Et,_t=((ft,Tt)=>ft===Tt)){return(0,C.e)((ft,Tt)=>{const Ut={buffer:[],complete:!1},Wt={buffer:[],complete:!1},nn=_n=>{Tt.next(_n),Tt.complete()},Cn=(_n,zn)=>{const Vn=(0,o.x)(Tt,Ri=>{const{buffer:ci,complete:Mi}=zn;0===ci.length?Mi?nn(!1):_n.buffer.push(Ri):!_t(Ri,ci.shift())&&nn(!1)},()=>{_n.complete=!0;const{complete:Ri,buffer:ci}=zn;Ri&&nn(0===ci.length),Vn?.unsubscribe()});return Vn};ft.subscribe(Cn(Ut,Wt)),(0,v.Xf)(Et).subscribe(Cn(Wt,Ut))})}var be=g(3020),ge=g(7081),Ge=g(6973);const It=(0,Te.d)(Et=>function(ft){Et(this),this.name="SequenceError",this.message=ft}),zt=(0,Te.d)(Et=>function(ft){Et(this),this.name="NotFoundError",this.message=ft});function an(Et){return(0,C.e)((_t,ft)=>{let Ut,Tt=!1,Wt=!1,nn=0;_t.subscribe((0,o.x)(ft,Cn=>{Wt=!0,(!Et||Et(Cn,nn++,_t))&&(Tt&&ft.error(new It("Too many matching values")),Tt=!0,Ut=Cn)},()=>{Tt?(ft.next(Ut),ft.complete()):ft.error(Wt?new zt("No matching values"):new Ge.K)}))})}var gn=g(836);function pn(Et){return Et<=0?w.y:(0,C.e)((_t,ft)=>{let Tt=new Array(Et),Ut=0;return _t.subscribe((0,o.x)(ft,Wt=>{const nn=Ut++;if(nn{Tt=null}})}function Jn(Et){return(0,C.e)((_t,ft)=>{let Tt=!1;const Ut=(0,o.x)(ft,()=>{Ut?.unsubscribe(),Tt=!0},b.Z);(0,v.Xf)(Et).subscribe(Ut),_t.subscribe((0,o.x)(ft,Wt=>Tt&&ft.next(Wt)))})}function Nn(Et){return(0,C.e)((_t,ft)=>{let Tt=!1,Ut=0;_t.subscribe((0,o.x)(ft,Wt=>(Tt||(Tt=!Et(Wt,Ut++)))&&ft.next(Wt)))})}var kn=g(7921),Un=g(5137),vi=g(4664);function $i(){return(0,vi.w)(w.y)}function er(Et,_t){return(0,q.m)(_t)?(0,vi.w)(()=>Et,_t):(0,vi.w)(()=>Et)}function fn(Et,_t){return(0,C.e)((ft,Tt)=>{let Ut=_t;return(0,vi.w)((Wt,nn)=>Et(Ut,Wt,nn),(Wt,nn)=>(Ut=nn,nn))(ft).subscribe(Tt),()=>{Ut=null}})}var yn=g(4418),rn=g(9773),xn=g(812),ti=g(9397);function Ti(Et,_t){return(0,C.e)((ft,Tt)=>{const{leading:Ut=!0,trailing:Wt=!1}=_t??{};let nn=!1,Cn=null,_n=null,zn=!1;const Vn=()=>{_n?.unsubscribe(),_n=null,Wt&&(Mi(),zn&&Tt.complete())},Ri=()=>{_n=null,zn&&Tt.complete()},ci=ni=>_n=(0,v.Xf)(Et(ni)).subscribe((0,o.x)(Tt,Vn,Ri)),Mi=()=>{if(nn){nn=!1;const ni=Cn;Cn=null,Tt.next(ni),!zn&&ci(ni)}};ft.subscribe((0,o.x)(Tt,ni=>{nn=!0,Cn=ni,(!_n||_n.closed)&&(Ut?Mi():ci(ni))},()=>{zn=!0,(!(Wt&&nn&&_n)||_n.closed)&&Tt.complete()}))})}function zi(Et,_t=d.z,ft){const Tt=(0,An.H)(Et,_t);return Ti(()=>Tt,ft)}function xi(Et=d.z){return(0,C.e)((_t,ft)=>{let Tt=Et.now();_t.subscribe((0,o.x)(ft,Ut=>{const Wt=Et.now(),nn=Wt-Tt;Tt=Wt,ft.next(new _r(Ut,nn))}))})}class _r{constructor(_t,ft){this.value=_t,this.interval=ft}}var gi=g(5178),Ke=g(93);function kt(Et,_t,ft){let Tt,Ut,Wt;if(ft=ft??d.P,(0,Ke.q)(Et)?Tt=Et:"number"==typeof Et&&(Ut=Et),!_t)throw new TypeError("No observable provided to switch to");if(Wt=()=>_t,null==Tt&&null==Ut)throw new TypeError("No timeout provided.");return(0,gi.V)({first:Tt,each:Ut,scheduler:ft,with:Wt})}var U=g(4552);function fe(Et=U.l){return(0,Yt.U)(_t=>({value:_t,timestamp:Et.now()}))}function Pe(Et){return(0,C.e)((_t,ft)=>{let Tt=new Me.x;ft.next(Tt.asObservable());const Ut=Wt=>{Tt.error(Wt),ft.error(Wt)};return _t.subscribe((0,o.x)(ft,Wt=>Tt?.next(Wt),()=>{Tt.complete(),ft.complete()},Ut)),(0,v.Xf)(Et).subscribe((0,o.x)(ft,()=>{Tt.complete(),ft.next(Tt=new Me.x)},b.Z,Ut)),()=>{Tt?.unsubscribe(),Tt=null}})}function Je(Et,_t=0){const ft=_t>0?_t:Et;return(0,C.e)((Tt,Ut)=>{let Wt=[new Me.x],nn=[],Cn=0;Ut.next(Wt[0].asObservable()),Tt.subscribe((0,o.x)(Ut,_n=>{for(const Vn of Wt)Vn.next(_n);const zn=Cn-Et+1;if(zn>=0&&zn%ft==0&&Wt.shift().complete(),++Cn%ft==0){const Vn=new Me.x;Wt.push(Vn),Ut.next(Vn.asObservable())}},()=>{for(;Wt.length>0;)Wt.shift().complete();Ut.complete()},_n=>{for(;Wt.length>0;)Wt.shift().error(_n);Ut.error(_n)},()=>{nn=null,Wt=null}))})}function Gt(Et,..._t){var ft,Tt;const Ut=null!==(ft=(0,r.yG)(_t))&&void 0!==ft?ft:d.z,Wt=null!==(Tt=_t[0])&&void 0!==Tt?Tt:null,nn=_t[1]||1/0;return(0,C.e)((Cn,_n)=>{let zn=[],Vn=!1;const Ri=Xn=>{const{window:ai,subs:Fi}=Xn;ai.complete(),Fi.unsubscribe(),(0,c.P)(zn,Xn),Vn&&ci()},ci=()=>{if(zn){const Xn=new l.w0;_n.add(Xn);const ai=new Me.x,Fi={window:ai,subs:Xn,seen:0};zn.push(Fi),_n.next(ai.asObservable()),(0,u.f)(Xn,Ut,()=>Ri(Fi),Et)}};null!==Wt&&Wt>=0?(0,u.f)(_n,Ut,ci,Wt,!0):Vn=!0,ci();const Mi=Xn=>zn.slice().forEach(Xn),ni=Xn=>{Mi(({window:ai})=>Xn(ai)),Xn(_n),_n.unsubscribe()};return Cn.subscribe((0,o.x)(_n,Xn=>{Mi(ai=>{ai.window.next(Xn),nn<=++ai.seen&&Ri(ai)})},()=>ni(Xn=>Xn.complete()),Xn=>ni(ai=>ai.error(Xn)))),()=>{zn=null}})}function Pn(Et,_t){return(0,C.e)((ft,Tt)=>{const Ut=[],Wt=nn=>{for(;0{const Cn=new Me.x;Ut.push(Cn);const _n=new l.w0;let Vn;try{Vn=(0,v.Xf)(_t(nn))}catch(Ri){return void Wt(Ri)}Tt.next(Cn.asObservable()),_n.add(Vn.subscribe((0,o.x)(Tt,()=>{(0,c.P)(Ut,Cn),Cn.complete(),_n.unsubscribe()},b.Z,Wt)))},b.Z)),ft.subscribe((0,o.x)(Tt,nn=>{const Cn=Ut.slice();for(const _n of Cn)_n.next(nn)},()=>{for(;0{for(;0{let Tt,Ut;const Wt=Cn=>{Tt.error(Cn),ft.error(Cn)},nn=()=>{let Cn;Ut?.unsubscribe(),Tt?.complete(),Tt=new Me.x,ft.next(Tt.asObservable());try{Cn=(0,v.Xf)(Et())}catch(_n){return void Wt(_n)}Cn.subscribe(Ut=(0,o.x)(ft,nn,nn,Wt))};nn(),_t.subscribe((0,o.x)(ft,Cn=>Tt.next(Cn),()=>{Tt.complete(),ft.complete()},Wt,()=>{Ut?.unsubscribe(),Tt=null}))})}function Vi(...Et){const _t=(0,r.jO)(Et);return(0,C.e)((ft,Tt)=>{const Ut=Et.length,Wt=new Array(Ut);let nn=Et.map(()=>!1),Cn=!1;for(let _n=0;_n{Wt[_n]=zn,!Cn&&!nn[_n]&&(nn[_n]=!0,(Cn=nn.every(w.y))&&(nn=null))},b.Z));ft.subscribe((0,o.x)(Tt,_n=>{if(Cn){const zn=[_n,...Wt];Tt.next(_t?_t(...zn):zn)}}))})}var rr=g(9278);function or(...Et){return(0,C.e)((_t,ft)=>{(0,rr.$)(_t,...Et).subscribe(ft)})}function Zi(Et){return j(rr.$,Et)}function ur(...Et){return or(...Et)}},6144:Se=>{"use strict";Se.exports=(X,g)=>{if("string"!=typeof X||"string"!=typeof g)throw new TypeError("Expected the arguments to be of type `string`");if(""===g)return[X];const n=X.indexOf(g);return-1===n?[X]:[X.slice(0,n),X.slice(n+g.length)]}},8385:Se=>{"use strict";Se.exports=X=>encodeURIComponent(X).replace(/[!'()*]/g,g=>`%${g.charCodeAt(0).toString(16).toUpperCase()}`)},655:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{__addDisposableResource:()=>Y,__assign:()=>C,__asyncDelegator:()=>O,__asyncGenerator:()=>T,__asyncValues:()=>E,__await:()=>A,__awaiter:()=>r,__classPrivateFieldGet:()=>S,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>k,__createBinding:()=>h,__decorate:()=>o,__disposeResources:()=>ne,__esDecorate:()=>a,__exportStar:()=>m,__extends:()=>p,__generator:()=>u,__importDefault:()=>N,__importStar:()=>j,__makeTemplateObject:()=>D,__metadata:()=>d,__param:()=>v,__propKey:()=>s,__read:()=>M,__rest:()=>b,__runInitializers:()=>c,__setFunctionName:()=>l,__spread:()=>x,__spreadArray:()=>L,__spreadArrays:()=>w,__values:()=>_,default:()=>me});var n=function($,q){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,ue){Q.__proto__=ue}||function(Q,ue){for(var Me in ue)Object.prototype.hasOwnProperty.call(ue,Me)&&(Q[Me]=ue[Me])})($,q)};function p($,q){if("function"!=typeof q&&null!==q)throw new TypeError("Class extends value "+String(q)+" is not a constructor or null");function Q(){this.constructor=$}n($,q),$.prototype=null===q?Object.create(q):(Q.prototype=q.prototype,new Q)}var C=function(){return C=Object.assign||function(q){for(var Q,ue=1,Me=arguments.length;ue=0;Be--)(Xe=$[Be])&&(Oe=(Me<3?Xe(Oe):Me>3?Xe(q,Q,Oe):Xe(q,Q))||Oe);return Me>3&&Oe&&Object.defineProperty(q,Q,Oe),Oe}function v($,q){return function(Q,ue){q(Q,ue,$)}}function a($,q,Q,ue,Me,Oe){function Xe(vt){if(void 0!==vt&&"function"!=typeof vt)throw new TypeError("Function expected");return vt}for(var tt,Be=ue.kind,$e="getter"===Be?"get":"setter"===Be?"set":"value",st=!q&&$?ue.static?$:$.prototype:null,Mt=q||(st?Object.getOwnPropertyDescriptor(st,ue.name):{}),St=!1,bt=Q.length-1;bt>=0;bt--){var xt={};for(var nt in ue)xt[nt]="access"===nt?{}:ue[nt];for(var nt in ue.access)xt.access[nt]=ue.access[nt];xt.addInitializer=function(vt){if(St)throw new TypeError("Cannot add initializers after decoration has completed");Oe.push(Xe(vt||null))};var ot=(0,Q[bt])("accessor"===Be?{get:Mt.get,set:Mt.set}:Mt[$e],xt);if("accessor"===Be){if(void 0===ot)continue;if(null===ot||"object"!=typeof ot)throw new TypeError("Object expected");(tt=Xe(ot.get))&&(Mt.get=tt),(tt=Xe(ot.set))&&(Mt.set=tt),(tt=Xe(ot.init))&&Me.unshift(tt)}else(tt=Xe(ot))&&("field"===Be?Me.unshift(tt):Mt[$e]=tt)}st&&Object.defineProperty(st,ue.name,Mt),St=!0}function c($,q,Q){for(var ue=arguments.length>2,Me=0;Me0&&Oe[Oe.length-1])&&(6===st[0]||2===st[0])){Q=0;continue}if(3===st[0]&&(!Oe||st[1]>Oe[0]&&st[1]=$.length&&($=void 0),{value:$&&$[ue++],done:!$}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}function M($,q){var Q="function"==typeof Symbol&&$[Symbol.iterator];if(!Q)return $;var Me,Xe,ue=Q.call($),Oe=[];try{for(;(void 0===q||q-- >0)&&!(Me=ue.next()).done;)Oe.push(Me.value)}catch(Be){Xe={error:Be}}finally{try{Me&&!Me.done&&(Q=ue.return)&&Q.call(ue)}finally{if(Xe)throw Xe.error}}return Oe}function x(){for(var $=[],q=0;q1||Be(St,bt)})})}function Be(St,bt){try{!function $e(St){St.value instanceof A?Promise.resolve(St.value.v).then(st,Mt):tt(Oe[0][2],St)}(ue[St](bt))}catch(xt){tt(Oe[0][3],xt)}}function st(St){Be("next",St)}function Mt(St){Be("throw",St)}function tt(St,bt){St(bt),Oe.shift(),Oe.length&&Be(Oe[0][0],Oe[0][1])}}function O($){var q,Q;return q={},ue("next"),ue("throw",function(Me){throw Me}),ue("return"),q[Symbol.iterator]=function(){return this},q;function ue(Me,Oe){q[Me]=$[Me]?function(Xe){return(Q=!Q)?{value:A($[Me](Xe)),done:!1}:Oe?Oe(Xe):Xe}:Oe}}function E($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Q,q=$[Symbol.asyncIterator];return q?q.call($):($=_($),Q={},ue("next"),ue("throw"),ue("return"),Q[Symbol.asyncIterator]=function(){return this},Q);function ue(Oe){Q[Oe]=$[Oe]&&function(Xe){return new Promise(function(Be,$e){!function Me(Oe,Xe,Be,$e){Promise.resolve($e).then(function(st){Oe({value:st,done:Be})},Xe)}(Be,$e,(Xe=$[Oe](Xe)).done,Xe.value)})}}}function D($,q){return Object.defineProperty?Object.defineProperty($,"raw",{value:q}):$.raw=q,$}var R=Object.create?function($,q){Object.defineProperty($,"default",{enumerable:!0,value:q})}:function($,q){$.default=q};function j($){if($&&$.__esModule)return $;var q={};if(null!=$)for(var Q in $)"default"!==Q&&Object.prototype.hasOwnProperty.call($,Q)&&h(q,$,Q);return R(q,$),q}function N($){return $&&$.__esModule?$:{default:$}}function S($,q,Q,ue){if("a"===Q&&!ue)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof q?$!==q||!ue:!q.has($))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===Q?ue:"a"===Q?ue.call($):ue?ue.value:q.get($)}function k($,q,Q,ue,Me){if("m"===ue)throw new TypeError("Private method is not writable");if("a"===ue&&!Me)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof q?$!==q||!Me:!q.has($))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===ue?Me.call($,Q):Me?Me.value=Q:q.set($,Q),Q}function F($,q){if(null===q||"object"!=typeof q&&"function"!=typeof q)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof $?q===$:$.has(q)}function Y($,q,Q){if(null!=q){if("object"!=typeof q&&"function"!=typeof q)throw new TypeError("Object expected.");var ue;if(Q){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ue=q[Symbol.asyncDispose]}if(void 0===ue){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ue=q[Symbol.dispose]}if("function"!=typeof ue)throw new TypeError("Object not disposable.");$.stack.push({value:q,dispose:ue,async:Q})}else Q&&$.stack.push({async:!0});return q}var se="function"==typeof SuppressedError?SuppressedError:function($,q,Q){var ue=new Error(Q);return ue.name="SuppressedError",ue.error=$,ue.suppressed=q,ue};function ne($){function q(ue){$.error=$.hasError?new se(ue,$.error,"An error was suppressed during disposal."):ue,$.hasError=!0}return function Q(){for(;$.stack.length;){var ue=$.stack.pop();try{var Me=ue.dispose&&ue.dispose.call(ue.value);if(ue.async)return Promise.resolve(Me).then(Q,function(Oe){return q(Oe),Q()})}catch(Oe){q(Oe)}}if($.hasError)throw $.error}()}const me={__extends:p,__assign:C,__rest:b,__decorate:o,__param:v,__metadata:d,__awaiter:r,__generator:u,__createBinding:h,__exportStar:m,__values:_,__read:M,__spread:x,__spreadArrays:w,__spreadArray:L,__await:A,__asyncGenerator:T,__asyncDelegator:O,__asyncValues:E,__makeTemplateObject:D,__importStar:j,__importDefault:N,__classPrivateFieldGet:S,__classPrivateFieldSet:k,__classPrivateFieldIn:F,__addDisposableResource:Y,__disposeResources:ne}},6548:Se=>{function X(Z){return Z instanceof Map?Z.clear=Z.delete=Z.set=function(){throw new Error("map is read-only")}:Z instanceof Set&&(Z.add=Z.clear=Z.delete=function(){throw new Error("set is read-only")}),Object.freeze(Z),Object.getOwnPropertyNames(Z).forEach(re=>{const ce=Z[re],Ee=typeof ce;("object"===Ee||"function"===Ee)&&!Object.isFrozen(ce)&&X(ce)}),Z}class g{constructor(re){void 0===re.data&&(re.data={}),this.data=re.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(Z){return Z.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function p(Z,...re){const ce=Object.create(null);for(const Ee in Z)ce[Ee]=Z[Ee];return re.forEach(function(Ee){for(const it in Ee)ce[it]=Ee[it]}),ce}const b=Z=>!!Z.scope;class v{constructor(re,ce){this.buffer="",this.classPrefix=ce.classPrefix,re.walk(this)}addText(re){this.buffer+=n(re)}openNode(re){if(!b(re))return;const ce=((Z,{prefix:re})=>{if(Z.startsWith("language:"))return Z.replace("language:","language-");if(Z.includes(".")){const ce=Z.split(".");return[`${re}${ce.shift()}`,...ce.map((Ee,it)=>`${Ee}${"_".repeat(it+1)}`)].join(" ")}return`${re}${Z}`})(re.scope,{prefix:this.classPrefix});this.span(ce)}closeNode(re){b(re)&&(this.buffer+="")}value(){return this.buffer}span(re){this.buffer+=``}}const a=(Z={})=>{const re={children:[]};return Object.assign(re,Z),re};class c{constructor(){this.rootNode=a(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(re){this.top.children.push(re)}openNode(re){const ce=a({scope:re});this.add(ce),this.stack.push(ce)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(re){return this.constructor._walk(re,this.rootNode)}static _walk(re,ce){return"string"==typeof ce?re.addText(ce):ce.children&&(re.openNode(ce),ce.children.forEach(Ee=>this._walk(re,Ee)),re.closeNode(ce)),re}static _collapse(re){"string"!=typeof re&&re.children&&(re.children.every(ce=>"string"==typeof ce)?re.children=[re.children.join("")]:re.children.forEach(ce=>{c._collapse(ce)}))}}class s extends c{constructor(re){super(),this.options=re}addText(re){""!==re&&this.add(re)}startScope(re){this.openNode(re)}endScope(){this.closeNode()}__addSublanguage(re,ce){const Ee=re.root;ce&&(Ee.scope=`language:${ce}`),this.add(Ee)}toHTML(){return new v(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(Z){return Z?"string"==typeof Z?Z:Z.source:null}function d(Z){return h("(?=",Z,")")}function r(Z){return h("(?:",Z,")*")}function u(Z){return h("(?:",Z,")?")}function h(...Z){return Z.map(ce=>l(ce)).join("")}function _(...Z){return"("+(function m(Z){const re=Z[Z.length-1];return"object"==typeof re&&re.constructor===Object?(Z.splice(Z.length-1,1),re):{}}(Z).capture?"":"?:")+Z.map(Ee=>l(Ee)).join("|")+")"}function M(Z){return new RegExp(Z.toString()+"|").exec("").length-1}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function L(Z,{joinWith:re}){let ce=0;return Z.map(Ee=>{ce+=1;const it=ce;let Rt=l(Ee),Ye="";for(;Rt.length>0;){const qe=w.exec(Rt);if(!qe){Ye+=Rt;break}Ye+=Rt.substring(0,qe.index),Rt=Rt.substring(qe.index+qe[0].length),"\\"===qe[0][0]&&qe[1]?Ye+="\\"+String(Number(qe[1])+it):(Ye+=qe[0],"("===qe[0]&&ce++)}return Ye}).map(Ee=>`(${Ee})`).join(re)}const T="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",E="\\b\\d+(\\.\\d+)?",D="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",R="\\b(0b[01]+)",S={begin:"\\\\[\\s\\S]",relevance:0},k={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[S]},F={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[S]},se=function(Z,re,ce={}){const Ee=p({scope:"comment",begin:Z,end:re,contains:[]},ce);Ee.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 it=_("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 Ee.contains.push({begin:h(/[ ]+/,"(",it,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Ee},ne=se("//","$"),me=se("/\\*","\\*/"),$=se("#","$");var st=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:T,UNDERSCORE_IDENT_RE:O,NUMBER_RE:E,C_NUMBER_RE:D,BINARY_NUMBER_RE:R,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Z={})=>{const re=/^#![ ]*\//;return Z.binary&&(Z.begin=h(re,/.*\b/,Z.binary,/\b.*/)),p({scope:"meta",begin:re,end:/$/,relevance:0,"on:begin":(ce,Ee)=>{0!==ce.index&&Ee.ignoreMatch()}},Z)},BACKSLASH_ESCAPE:S,APOS_STRING_MODE:k,QUOTE_STRING_MODE:F,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:se,C_LINE_COMMENT_MODE:ne,C_BLOCK_COMMENT_MODE:me,HASH_COMMENT_MODE:$,NUMBER_MODE:{scope:"number",begin:E,relevance:0},C_NUMBER_MODE:{scope:"number",begin:D,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:R,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[S,{begin:/\[/,end:/\]/,relevance:0,contains:[S]}]}]},TITLE_MODE:{scope:"title",begin:T,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:O,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+O,relevance:0},END_SAME_AS_BEGIN:function(Z){return Object.assign(Z,{"on:begin":(re,ce)=>{ce.data._beginMatch=re[1]},"on:end":(re,ce)=>{ce.data._beginMatch!==re[1]&&ce.ignoreMatch()}})}});function Mt(Z,re){"."===Z.input[Z.index-1]&&re.ignoreMatch()}function tt(Z,re){void 0!==Z.className&&(Z.scope=Z.className,delete Z.className)}function St(Z,re){re&&Z.beginKeywords&&(Z.begin="\\b("+Z.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Z.__beforeBegin=Mt,Z.keywords=Z.keywords||Z.beginKeywords,delete Z.beginKeywords,void 0===Z.relevance&&(Z.relevance=0))}function bt(Z,re){Array.isArray(Z.illegal)&&(Z.illegal=_(...Z.illegal))}function xt(Z,re){if(Z.match){if(Z.begin||Z.end)throw new Error("begin & end are not supported with match");Z.begin=Z.match,delete Z.match}}function nt(Z,re){void 0===Z.relevance&&(Z.relevance=1)}const ot=(Z,re)=>{if(!Z.beforeMatch)return;if(Z.starts)throw new Error("beforeMatch cannot be used with starts");const ce=Object.assign({},Z);Object.keys(Z).forEach(Ee=>{delete Z[Ee]}),Z.keywords=ce.keywords,Z.begin=h(ce.beforeMatch,d(ce.begin)),Z.starts={relevance:0,contains:[Object.assign(ce,{endsParent:!0})]},Z.relevance=0,delete ce.beforeMatch},vt=["of","and","for","in","not","or","if","then","parent","list","value"],rt="keyword";function J(Z,re,ce=rt){const Ee=Object.create(null);return"string"==typeof Z?it(ce,Z.split(" ")):Array.isArray(Z)?it(ce,Z):Object.keys(Z).forEach(function(Rt){Object.assign(Ee,J(Z[Rt],re,Rt))}),Ee;function it(Rt,Ye){re&&(Ye=Ye.map(qe=>qe.toLowerCase())),Ye.forEach(function(qe){const Ne=qe.split("|");Ee[Ne[0]]=[Rt,Ce(Ne[0],Ne[1])]})}}function Ce(Z,re){return re?Number(re):function ee(Z){return vt.includes(Z.toLowerCase())}(Z)?0:1}const ae={},ie=Z=>{console.error(Z)},pe=(Z,...re)=>{console.log(`WARN: ${Z}`,...re)},Te=(Z,re)=>{ae[`${Z}/${re}`]||(console.log(`Deprecated as of ${Z}. ${re}`),ae[`${Z}/${re}`]=!0)},ct=new Error;function Lt(Z,re,{key:ce}){let Ee=0;const it=Z[ce],Rt={},Ye={};for(let qe=1;qe<=re.length;qe++)Ye[qe+Ee]=it[qe],Rt[qe+Ee]=!0,Ee+=M(re[qe-1]);Z[ce]=Ye,Z[ce]._emit=Rt,Z[ce]._multi=!0}function yt(Z){(function ze(Z){Z.scope&&"object"==typeof Z.scope&&null!==Z.scope&&(Z.beginScope=Z.scope,delete Z.scope)})(Z),"string"==typeof Z.beginScope&&(Z.beginScope={_wrap:Z.beginScope}),"string"==typeof Z.endScope&&(Z.endScope={_wrap:Z.endScope}),function Dt(Z){if(Array.isArray(Z.begin)){if(Z.skip||Z.excludeBegin||Z.returnBegin)throw ie("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ct;if("object"!=typeof Z.beginScope||null===Z.beginScope)throw ie("beginScope must be object"),ct;Lt(Z,Z.begin,{key:"beginScope"}),Z.begin=L(Z.begin,{joinWith:""})}}(Z),function Kt(Z){if(Array.isArray(Z.end)){if(Z.skip||Z.excludeEnd||Z.returnEnd)throw ie("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ct;if("object"!=typeof Z.endScope||null===Z.endScope)throw ie("endScope must be object"),ct;Lt(Z,Z.end,{key:"endScope"}),Z.end=L(Z.end,{joinWith:""})}}(Z)}function Bt(Z){function re(Ye,qe){return new RegExp(l(Ye),"m"+(Z.case_insensitive?"i":"")+(Z.unicodeRegex?"u":"")+(qe?"g":""))}class ce{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(qe,Ne){Ne.position=this.position++,this.matchIndexes[this.matchAt]=Ne,this.regexes.push([Ne,qe]),this.matchAt+=M(qe)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const qe=this.regexes.map(Ne=>Ne[1]);this.matcherRe=re(L(qe,{joinWith:"|"}),!0),this.lastIndex=0}exec(qe){this.matcherRe.lastIndex=this.lastIndex;const Ne=this.matcherRe.exec(qe);if(!Ne)return null;const dt=Ne.findIndex((tn,wn)=>wn>0&&void 0!==tn),At=this.matchIndexes[dt];return Ne.splice(0,dt),Object.assign(Ne,At)}}class Ee{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(qe){if(this.multiRegexes[qe])return this.multiRegexes[qe];const Ne=new ce;return this.rules.slice(qe).forEach(([dt,At])=>Ne.addRule(dt,At)),Ne.compile(),this.multiRegexes[qe]=Ne,Ne}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(qe,Ne){this.rules.push([qe,Ne]),"begin"===Ne.type&&this.count++}exec(qe){const Ne=this.getMatcher(this.regexIndex);Ne.lastIndex=this.lastIndex;let dt=Ne.exec(qe);if(this.resumingScanAtSamePosition()&&(!dt||dt.index!==this.lastIndex)){const At=this.getMatcher(0);At.lastIndex=this.lastIndex+1,dt=At.exec(qe)}return dt&&(this.regexIndex+=dt.position+1,this.regexIndex===this.count&&this.considerAll()),dt}}if(Z.compilerExtensions||(Z.compilerExtensions=[]),Z.contains&&Z.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Z.classNameAliases=p(Z.classNameAliases||{}),function Rt(Ye,qe){const Ne=Ye;if(Ye.isCompiled)return Ne;[tt,xt,yt,ot].forEach(At=>At(Ye,qe)),Z.compilerExtensions.forEach(At=>At(Ye,qe)),Ye.__beforeBegin=null,[St,bt,nt].forEach(At=>At(Ye,qe)),Ye.isCompiled=!0;let dt=null;return"object"==typeof Ye.keywords&&Ye.keywords.$pattern&&(Ye.keywords=Object.assign({},Ye.keywords),dt=Ye.keywords.$pattern,delete Ye.keywords.$pattern),dt=dt||/\w+/,Ye.keywords&&(Ye.keywords=J(Ye.keywords,Z.case_insensitive)),Ne.keywordPatternRe=re(dt,!0),qe&&(Ye.begin||(Ye.begin=/\B|\b/),Ne.beginRe=re(Ne.begin),!Ye.end&&!Ye.endsWithParent&&(Ye.end=/\B|\b/),Ye.end&&(Ne.endRe=re(Ne.end)),Ne.terminatorEnd=l(Ne.end)||"",Ye.endsWithParent&&qe.terminatorEnd&&(Ne.terminatorEnd+=(Ye.end?"|":"")+qe.terminatorEnd)),Ye.illegal&&(Ne.illegalRe=re(Ye.illegal)),Ye.contains||(Ye.contains=[]),Ye.contains=[].concat(...Ye.contains.map(function(At){return function Yt(Z){return Z.variants&&!Z.cachedVariants&&(Z.cachedVariants=Z.variants.map(function(re){return p(Z,{variants:null},re)})),Z.cachedVariants?Z.cachedVariants:$t(Z)?p(Z,{starts:Z.starts?p(Z.starts):null}):Object.isFrozen(Z)?p(Z):Z}("self"===At?Ye:At)})),Ye.contains.forEach(function(At){Rt(At,Ne)}),Ye.starts&&Rt(Ye.starts,qe),Ne.matcher=function it(Ye){const qe=new Ee;return Ye.contains.forEach(Ne=>qe.addRule(Ne.begin,{rule:Ne,type:"begin"})),Ye.terminatorEnd&&qe.addRule(Ye.terminatorEnd,{type:"end"}),Ye.illegal&&qe.addRule(Ye.illegal,{type:"illegal"}),qe}(Ne),Ne}(Z)}function $t(Z){return!!Z&&(Z.endsWithParent||$t(Z.starts))}class We extends Error{constructor(re,ce){super(re),this.name="HTMLInjectionError",this.html=ce}}const ve=n,we=p,at=Symbol("nomatch"),je=function(Z){const re=Object.create(null),ce=Object.create(null),Ee=[];let it=!0;const Rt="Could not find the language '{}', did you forget to load/include a language module?",Ye={disableAutodetect:!0,name:"Plain text",contains:[]};let qe={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:s};function Ne(ln){return qe.noHighlightRe.test(ln)}function At(ln,en,Dn){let An="",Yn="";"object"==typeof en?(An=ln,Dn=en.ignoreIllegals,Yn=en.language):(Te("10.7.0","highlight(lang, code, ...args) has been deprecated."),Te("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),Yn=ln,An=en),void 0===Dn&&(Dn=!0);const si={code:An,language:Yn};Qn("before:highlight",si);const ii=si.result?si.result:tn(si.language,si.code,Dn);return ii.code=si.code,Qn("after:highlight",ii),ii}function tn(ln,en,Dn,An){const Yn=Object.create(null);function si(fn,yn){return fn.keywords[yn]}function ii(){if(!pn.keywords)return void Nn.addText(kn);let fn=0;pn.keywordPatternRe.lastIndex=0;let yn=pn.keywordPatternRe.exec(kn),rn="";for(;yn;){rn+=kn.substring(fn,yn.index);const xn=zt.case_insensitive?yn[0].toLowerCase():yn[0],ti=si(pn,xn);if(ti){const[Ti,zi]=ti;Nn.addText(rn),rn="",Yn[xn]=(Yn[xn]||0)+1,Yn[xn]<=7&&(Un+=zi),Ti.startsWith("_")?rn+=yn[0]:li(yn[0],zt.classNameAliases[Ti]||Ti)}else rn+=yn[0];fn=pn.keywordPatternRe.lastIndex,yn=pn.keywordPatternRe.exec(kn)}rn+=kn.substring(fn),Nn.addText(rn)}function oi(){null!=pn.subLanguage?function Ii(){if(""===kn)return;let fn=null;if("string"==typeof pn.subLanguage){if(!re[pn.subLanguage])return void Nn.addText(kn);fn=tn(pn.subLanguage,kn,!0,Jn[pn.subLanguage]),Jn[pn.subLanguage]=fn._top}else fn=Tn(kn,pn.subLanguage.length?pn.subLanguage:null);pn.relevance>0&&(Un+=fn.relevance),Nn.__addSublanguage(fn._emitter,fn.language)}():ii(),kn=""}function li(fn,yn){""!==fn&&(Nn.startScope(yn),Nn.addText(fn),Nn.endScope())}function Pi(fn,yn){let rn=1;const xn=yn.length-1;for(;rn<=xn;){if(!fn._emit[rn]){rn++;continue}const ti=zt.classNameAliases[fn[rn]]||fn[rn],Ti=yn[rn];ti?li(Ti,ti):(kn=Ti,ii(),kn=""),rn++}}function Ct(fn,yn){return fn.scope&&"string"==typeof fn.scope&&Nn.openNode(zt.classNameAliases[fn.scope]||fn.scope),fn.beginScope&&(fn.beginScope._wrap?(li(kn,zt.classNameAliases[fn.beginScope._wrap]||fn.beginScope._wrap),kn=""):fn.beginScope._multi&&(Pi(fn.beginScope,yn),kn="")),pn=Object.create(fn,{parent:{value:pn}}),pn}function Ft(fn,yn,rn){let xn=function x(Z,re){const ce=Z&&Z.exec(re);return ce&&0===ce.index}(fn.endRe,rn);if(xn){if(fn["on:end"]){const ti=new g(fn);fn["on:end"](yn,ti),ti.isMatchIgnored&&(xn=!1)}if(xn){for(;fn.endsParent&&fn.parent;)fn=fn.parent;return fn}}if(fn.endsWithParent)return Ft(fn.parent,yn,rn)}function Ae(fn){return 0===pn.matcher.regexIndex?(kn+=fn[0],1):(er=!0,0)}function be(fn){const yn=fn[0],rn=en.substring(fn.index),xn=Ft(pn,fn,rn);if(!xn)return at;const ti=pn;pn.endScope&&pn.endScope._wrap?(oi(),li(yn,pn.endScope._wrap)):pn.endScope&&pn.endScope._multi?(oi(),Pi(pn.endScope,fn)):ti.skip?kn+=yn:(ti.returnEnd||ti.excludeEnd||(kn+=yn),oi(),ti.excludeEnd&&(kn=yn));do{pn.scope&&Nn.closeNode(),!pn.skip&&!pn.subLanguage&&(Un+=pn.relevance),pn=pn.parent}while(pn!==xn.parent);return xn.starts&&Ct(xn.starts,fn),ti.returnEnd?0:yn.length}let Ge={};function It(fn,yn){const rn=yn&&yn[0];if(kn+=fn,null==rn)return oi(),0;if("begin"===Ge.type&&"end"===yn.type&&Ge.index===yn.index&&""===rn){if(kn+=en.slice(yn.index,yn.index+1),!it){const xn=new Error(`0 width match regex (${ln})`);throw xn.languageName=ln,xn.badRule=Ge.rule,xn}return 1}if(Ge=yn,"begin"===yn.type)return function W(fn){const yn=fn[0],rn=fn.rule,xn=new g(rn),ti=[rn.__beforeBegin,rn["on:begin"]];for(const Ti of ti)if(Ti&&(Ti(fn,xn),xn.isMatchIgnored))return Ae(yn);return rn.skip?kn+=yn:(rn.excludeBegin&&(kn+=yn),oi(),!rn.returnBegin&&!rn.excludeBegin&&(kn=yn)),Ct(rn,fn),rn.returnBegin?0:yn.length}(yn);if("illegal"===yn.type&&!Dn){const xn=new Error('Illegal lexeme "'+rn+'" for mode "'+(pn.scope||"")+'"');throw xn.mode=pn,xn}if("end"===yn.type){const xn=be(yn);if(xn!==at)return xn}if("illegal"===yn.type&&""===rn)return 1;if($i>1e5&&$i>3*yn.index)throw new Error("potential infinite loop, way more iterations than matches");return kn+=rn,rn.length}const zt=hn(ln);if(!zt)throw ie(Rt.replace("{}",ln)),new Error('Unknown language: "'+ln+'"');const an=Bt(zt);let gn="",pn=An||an;const Jn={},Nn=new qe.__emitter(qe);!function ge(){const fn=[];for(let yn=pn;yn!==zt;yn=yn.parent)yn.scope&&fn.unshift(yn.scope);fn.forEach(yn=>Nn.openNode(yn))}();let kn="",Un=0,vi=0,$i=0,er=!1;try{if(zt.__emitTokens)zt.__emitTokens(en,Nn);else{for(pn.matcher.considerAll();;){$i++,er?er=!1:pn.matcher.considerAll(),pn.matcher.lastIndex=vi;const fn=pn.matcher.exec(en);if(!fn)break;const rn=It(en.substring(vi,fn.index),fn);vi=fn.index+rn}It(en.substring(vi))}return Nn.finalize(),gn=Nn.toHTML(),{language:ln,value:gn,relevance:Un,illegal:!1,_emitter:Nn,_top:pn}}catch(fn){if(fn.message&&fn.message.includes("Illegal"))return{language:ln,value:ve(en),illegal:!0,relevance:0,_illegalBy:{message:fn.message,index:vi,context:en.slice(vi-100,vi+100),mode:fn.mode,resultSoFar:gn},_emitter:Nn};if(it)return{language:ln,value:ve(en),illegal:!1,relevance:0,errorRaised:fn,_emitter:Nn,_top:pn};throw fn}}function Tn(ln,en){en=en||qe.languages||Object.keys(re);const Dn=function wn(ln){const en={value:ve(ln),illegal:!1,relevance:0,_top:Ye,_emitter:new qe.__emitter(qe)};return en._emitter.addText(ln),en}(ln),An=en.filter(hn).filter($n).map(oi=>tn(oi,ln,!1));An.unshift(Dn);const Yn=An.sort((oi,li)=>{if(oi.relevance!==li.relevance)return li.relevance-oi.relevance;if(oi.language&&li.language){if(hn(oi.language).supersetOf===li.language)return 1;if(hn(li.language).supersetOf===oi.language)return-1}return 0}),[si,ii]=Yn,Ii=si;return Ii.secondBest=ii,Ii}function Mn(ln){let en=null;const Dn=function dt(ln){let en=ln.className+" ";en+=ln.parentNode?ln.parentNode.className:"";const Dn=qe.languageDetectRe.exec(en);if(Dn){const An=hn(Dn[1]);return An||(pe(Rt.replace("{}",Dn[1])),pe("Falling back to no-highlight mode for this block.",ln)),An?Dn[1]:"no-highlight"}return en.split(/\s+/).find(An=>Ne(An)||hn(An))}(ln);if(Ne(Dn))return;if(Qn("before:highlightElement",{el:ln,language:Dn}),ln.children.length>0&&(qe.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(ln)),qe.throwUnescapedHTML))throw new We("One of your code blocks includes unescaped HTML.",ln.innerHTML);en=ln;const An=en.textContent,Yn=Dn?At(An,{language:Dn,ignoreIllegals:!0}):Tn(An);ln.innerHTML=Yn.value,function Sn(ln,en,Dn){const An=en&&ce[en]||Dn;ln.classList.add("hljs"),ln.classList.add(`language-${An}`)}(ln,Dn,Yn.language),ln.result={language:Yn.language,re:Yn.relevance,relevance:Yn.relevance},Yn.secondBest&&(ln.secondBest={language:Yn.secondBest.language,relevance:Yn.secondBest.relevance}),Qn("after:highlightElement",{el:ln,result:Yn,text:An})}let Qi=!1;function wt(){"loading"!==document.readyState?document.querySelectorAll(qe.cssSelector).forEach(Mn):Qi=!0}function hn(ln){return ln=(ln||"").toLowerCase(),re[ln]||re[ce[ln]]}function un(ln,{languageName:en}){"string"==typeof ln&&(ln=[ln]),ln.forEach(Dn=>{ce[Dn.toLowerCase()]=en})}function $n(ln){const en=hn(ln);return en&&!en.disableAutodetect}function Qn(ln,en){const Dn=ln;Ee.forEach(function(An){An[Dn]&&An[Dn](en)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function mt(){Qi&&wt()},!1),Object.assign(Z,{highlight:At,highlightAuto:Tn,highlightAll:wt,highlightElement:Mn,highlightBlock:function ri(ln){return Te("10.7.0","highlightBlock will be removed entirely in v12.0"),Te("10.7.0","Please use highlightElement now."),Mn(ln)},configure:function Ci(ln){qe=we(qe,ln)},initHighlighting:()=>{wt(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Li(){wt(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function pt(ln,en){let Dn=null;try{Dn=en(Z)}catch(An){if(ie("Language definition for '{}' could not be registered.".replace("{}",ln)),!it)throw An;ie(An),Dn=Ye}Dn.name||(Dn.name=ln),re[ln]=Dn,Dn.rawDefinition=en.bind(null,Z),Dn.aliases&&un(Dn.aliases,{languageName:ln})},unregisterLanguage:function qt(ln){delete re[ln];for(const en of Object.keys(ce))ce[en]===ln&&delete ce[en]},listLanguages:function on(){return Object.keys(re)},getLanguage:hn,registerAliases:un,autoDetection:$n,inherit:we,addPlugin:function Zn(ln){(function In(ln){ln["before:highlightBlock"]&&!ln["before:highlightElement"]&&(ln["before:highlightElement"]=en=>{ln["before:highlightBlock"](Object.assign({block:en.el},en))}),ln["after:highlightBlock"]&&!ln["after:highlightElement"]&&(ln["after:highlightElement"]=en=>{ln["after:highlightBlock"](Object.assign({block:en.el},en))})})(ln),Ee.push(ln)},removePlugin:function mi(ln){const en=Ee.indexOf(ln);-1!==en&&Ee.splice(en,1)}}),Z.debugMode=function(){it=!1},Z.safeMode=function(){it=!0},Z.versionString="11.8.0",Z.regex={concat:h,lookahead:d,either:_,optional:u,anyNumberOfTimes:r};for(const ln in st)"object"==typeof st[ln]&&X(st[ln]);return Object.assign(Z,st),Z},ke=je({});ke.newInstance=()=>je({}),Se.exports=ke,ke.HighlightJS=ke,ke.default=ke},5454:Se=>{Se.exports=function X(g){const C=["true","false","null"],b={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,b,g.C_NUMBER_MODE,g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}},5149:Se=>{Se.exports=function X(g){const n=g.regex,p=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),b={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},v=g.inherit(o,{begin:/\(/,end:/\)/}),a=g.inherit(g.APOS_STRING_MODE,{className:"string"}),c=g.inherit(g.QUOTE_STRING_MODE,{className:"string"}),s={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:[o,c,a,v,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,v,c,a]}]}]},g.COMMENT(//,{relevance:10}),{begin://,relevance:10},b,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[s],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[s],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:p,relevance:0,starts:s}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(p,/>/))),contains:[{className:"name",begin:p,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},7156:Se=>{function X(n,p,C,b,o,v,a){try{var c=n[v](a),s=c.value}catch(l){return void C(l)}c.done?p(s):Promise.resolve(s).then(b,o)}Se.exports=function g(n){return function(){var p=this,C=arguments;return new Promise(function(b,o){var v=n.apply(p,C);function a(s){X(v,b,o,a,c,"next",s)}function c(s){X(v,b,o,a,c,"throw",s)}a(void 0)})}},Se.exports.__esModule=!0,Se.exports.default=Se.exports},8416:(Se,X,g)=>{var n=g(4062);Se.exports=function p(C,b,o){return(b=n(b))in C?Object.defineProperty(C,b,{value:o,enumerable:!0,configurable:!0,writable:!0}):C[b]=o,C},Se.exports.__esModule=!0,Se.exports.default=Se.exports},5036:(Se,X,g)=>{var n=g(8698).default;Se.exports=function p(C,b){if("object"!==n(C)||null===C)return C;var o=C[Symbol.toPrimitive];if(void 0!==o){var v=o.call(C,b||"default");if("object"!==n(v))return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===b?String:Number)(C)},Se.exports.__esModule=!0,Se.exports.default=Se.exports},4062:(Se,X,g)=>{var n=g(8698).default,p=g(5036);Se.exports=function C(b){var o=p(b,"string");return"symbol"===n(o)?o:String(o)},Se.exports.__esModule=!0,Se.exports.default=Se.exports},8698:Se=>{function X(g){return Se.exports=X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Se.exports.__esModule=!0,Se.exports.default=Se.exports,X(g)}Se.exports=X,Se.exports.__esModule=!0,Se.exports.default=Se.exports},6825:(Se,X,g)=>{"use strict";function b(L,A){return{type:7,name:L,definitions:A,options:{}}}function o(L,A=null){return{type:4,styles:A,timings:L}}function v(L,A=null){return{type:3,steps:L,options:A}}function c(L){return{type:6,styles:L,offset:null}}function s(L,A,T){return{type:0,name:L,styles:A,options:T}}function l(L){return{type:5,steps:L}}function d(L,A,T=null){return{type:1,expr:L,animation:A,options:T}}function u(L=null){return{type:9,options:L}}function m(L,A,T=null){return{type:11,selector:L,animation:A,options:T}}g.d(X,{F4:()=>l,IO:()=>m,SB:()=>s,X$:()=>b,eR:()=>d,jt:()=>o,oB:()=>c,pV:()=>u,ru:()=>v})},4300:(Se,X,g)=>{"use strict";g.d(X,{$s:()=>N,Em:()=>se,Kd:()=>yt,X6:()=>Ce,Zf:()=>A,iD:()=>T,kH:()=>We,mK:()=>xt,qm:()=>De,rt:()=>je,s1:()=>Y,tE:()=>Ue,yG:()=>ee});var n=g(6814),p=g(5879),C=g(2831),b=g(8645),o=g(7394),v=g(5619),a=g(2096),c=g(6028),s=g(9397),l=g(3620),d=g(2181),r=g(7398),u=g(8180),h=g(836),m=g(3997),_=g(9773),M=g(2495),x=g(7131),w=g(1088);const L=" ";function A(ke,Z,re){const ce=O(ke,Z);ce.some(Ee=>Ee.trim()==re.trim())||(ce.push(re.trim()),ke.setAttribute(Z,ce.join(L)))}function T(ke,Z,re){const Ee=O(ke,Z).filter(it=>it!=re.trim());Ee.length?ke.setAttribute(Z,Ee.join(L)):ke.removeAttribute(Z)}function O(ke,Z){return(ke.getAttribute(Z)||"").match(/\S+/g)||[]}const D="cdk-describedby-message",R="cdk-describedby-host";let j=0,N=(()=>{class ke{constructor(re,ce){this._platform=ce,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+j++,this._document=re,this._id=(0,p.inject)(p.APP_ID)+"-"+j++}describe(re,ce,Ee){if(!this._canBeDescribed(re,ce))return;const it=S(ce,Ee);"string"!=typeof ce?(k(ce,this._id),this._messageRegistry.set(it,{messageElement:ce,referenceCount:0})):this._messageRegistry.has(it)||this._createMessageElement(ce,Ee),this._isElementDescribedByMessage(re,it)||this._addMessageReference(re,it)}removeDescription(re,ce,Ee){if(!ce||!this._isElementNode(re))return;const it=S(ce,Ee);if(this._isElementDescribedByMessage(re,it)&&this._removeMessageReference(re,it),"string"==typeof ce){const Rt=this._messageRegistry.get(it);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(it)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const re=this._document.querySelectorAll(`[${R}="${this._id}"]`);for(let ce=0;ce0!=Ee.indexOf(D));re.setAttribute("aria-describedby",ce.join(" "))}_addMessageReference(re,ce){const Ee=this._messageRegistry.get(ce);A(re,"aria-describedby",Ee.messageElement.id),re.setAttribute(R,this._id),Ee.referenceCount++}_removeMessageReference(re,ce){const Ee=this._messageRegistry.get(ce);Ee.referenceCount--,T(re,"aria-describedby",Ee.messageElement.id),re.removeAttribute(R)}_isElementDescribedByMessage(re,ce){const Ee=O(re,"aria-describedby"),it=this._messageRegistry.get(ce),Rt=it&&it.messageElement.id;return!!Rt&&-1!=Ee.indexOf(Rt)}_canBeDescribed(re,ce){if(!this._isElementNode(re))return!1;if(ce&&"object"==typeof ce)return!0;const Ee=null==ce?"":`${ce}`.trim(),it=re.getAttribute("aria-label");return!(!Ee||it&&it.trim()===Ee)}_isElementNode(re){return re.nodeType===this._document.ELEMENT_NODE}}return ke.\u0275fac=function(re){return new(re||ke)(p.\u0275\u0275inject(n.DOCUMENT),p.\u0275\u0275inject(C.t4))},ke.\u0275prov=p.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();function S(ke,Z){return"string"==typeof ke?`${Z||""}/${ke}`:ke}function k(ke,Z){ke.id||(ke.id=`${D}-${Z}-${j++}`)}class F{constructor(Z){this._items=Z,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new b.x,this._typeaheadSubscription=o.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=re=>re.disabled,this._pressedLetters=[],this.tabOut=new b.x,this.change=new b.x,Z instanceof p.QueryList&&(this._itemChangesSubscription=Z.changes.subscribe(re=>{if(this._activeItem){const Ee=re.toArray().indexOf(this._activeItem);Ee>-1&&Ee!==this._activeItemIndex&&(this._activeItemIndex=Ee)}}))}skipPredicate(Z){return this._skipPredicateFn=Z,this}withWrap(Z=!0){return this._wrap=Z,this}withVerticalOrientation(Z=!0){return this._vertical=Z,this}withHorizontalOrientation(Z){return this._horizontal=Z,this}withAllowedModifierKeys(Z){return this._allowedModifierKeys=Z,this}withTypeAhead(Z=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,s.b)(re=>this._pressedLetters.push(re)),(0,l.b)(Z),(0,d.h)(()=>this._pressedLetters.length>0),(0,r.U)(()=>this._pressedLetters.join(""))).subscribe(re=>{const ce=this._getItemsArray();for(let Ee=1;Ee!Z[it]||this._allowedModifierKeys.indexOf(it)>-1);switch(re){case c.Mf:return void this.tabOut.next();case c.JH:if(this._vertical&&Ee){this.setNextItemActive();break}return;case c.LH:if(this._vertical&&Ee){this.setPreviousItemActive();break}return;case c.SV:if(this._horizontal&&Ee){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.oh:if(this._horizontal&&Ee){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.Sd:if(this._homeAndEnd&&Ee){this.setFirstItemActive();break}return;case c.uR:if(this._homeAndEnd&&Ee){this.setLastItemActive();break}return;case c.Ku:if(this._pageUpAndDown.enabled&&Ee){const it=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(it>0?it:0,1);break}return;case c.VM:if(this._pageUpAndDown.enabled&&Ee){const it=this._activeItemIndex+this._pageUpAndDown.delta,Rt=this._getItemsArray().length;this._setActiveItemByIndex(it=c.A&&re<=c.Z||re>=c.xE&&re<=c.aO)&&this._letterKeyStream.next(String.fromCharCode(re))))}this._pressedLetters=[],Z.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(Z){const re=this._getItemsArray(),ce="number"==typeof Z?Z:re.indexOf(Z);this._activeItem=re[ce]??null,this._activeItemIndex=ce}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Z){this._wrap?this._setActiveInWrapMode(Z):this._setActiveInDefaultMode(Z)}_setActiveInWrapMode(Z){const re=this._getItemsArray();for(let ce=1;ce<=re.length;ce++){const Ee=(this._activeItemIndex+Z*ce+re.length)%re.length;if(!this._skipPredicateFn(re[Ee]))return void this.setActiveItem(Ee)}}_setActiveInDefaultMode(Z){this._setActiveItemByIndex(this._activeItemIndex+Z,Z)}_setActiveItemByIndex(Z,re){const ce=this._getItemsArray();if(ce[Z]){for(;this._skipPredicateFn(ce[Z]);)if(!ce[Z+=re])return;this.setActiveItem(Z)}}_getItemsArray(){return this._items instanceof p.QueryList?this._items.toArray():this._items}}class Y extends F{setActiveItem(Z){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Z),this.activeItem&&this.activeItem.setActiveStyles()}}class se extends F{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Z){return this._origin=Z,this}setActiveItem(Z){super.setActiveItem(Z),this.activeItem&&this.activeItem.focus(this._origin)}}let me=(()=>{class ke{constructor(re){this._platform=re}isDisabled(re){return re.hasAttribute("disabled")}isVisible(re){return function q(ke){return!!(ke.offsetWidth||ke.offsetHeight||"function"==typeof ke.getClientRects&&ke.getClientRects().length)}(re)&&"visible"===getComputedStyle(re).visibility}isTabbable(re){if(!this._platform.isBrowser)return!1;const ce=function $(ke){try{return ke.frameElement}catch{return null}}(function tt(ke){return ke.ownerDocument&&ke.ownerDocument.defaultView||window}(re));if(ce&&(-1===$e(ce)||!this.isVisible(ce)))return!1;let Ee=re.nodeName.toLowerCase(),it=$e(re);return re.hasAttribute("contenteditable")?-1!==it:!("iframe"===Ee||"object"===Ee||this._platform.WEBKIT&&this._platform.IOS&&!function st(ke){let Z=ke.nodeName.toLowerCase(),re="input"===Z&&ke.type;return"text"===re||"password"===re||"select"===Z||"textarea"===Z}(re))&&("audio"===Ee?!!re.hasAttribute("controls")&&-1!==it:"video"===Ee?-1!==it&&(null!==it||this._platform.FIREFOX||re.hasAttribute("controls")):re.tabIndex>=0)}isFocusable(re,ce){return function Mt(ke){return!function ue(ke){return function Oe(ke){return"input"==ke.nodeName.toLowerCase()}(ke)&&"hidden"==ke.type}(ke)&&(function Q(ke){let Z=ke.nodeName.toLowerCase();return"input"===Z||"select"===Z||"button"===Z||"textarea"===Z}(ke)||function Me(ke){return function Xe(ke){return"a"==ke.nodeName.toLowerCase()}(ke)&&ke.hasAttribute("href")}(ke)||ke.hasAttribute("contenteditable")||Be(ke))}(re)&&!this.isDisabled(re)&&(ce?.ignoreVisibility||this.isVisible(re))}}return ke.\u0275fac=function(re){return new(re||ke)(p.\u0275\u0275inject(C.t4))},ke.\u0275prov=p.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();function Be(ke){if(!ke.hasAttribute("tabindex")||void 0===ke.tabIndex)return!1;let Z=ke.getAttribute("tabindex");return!(!Z||isNaN(parseInt(Z,10)))}function $e(ke){if(!Be(ke))return null;const Z=parseInt(ke.getAttribute("tabindex")||"",10);return isNaN(Z)?-1:Z}class St{get enabled(){return this._enabled}set enabled(Z){this._enabled=Z,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Z,this._startAnchor),this._toggleAnchorTabIndex(Z,this._endAnchor))}constructor(Z,re,ce,Ee,it=!1){this._element=Z,this._checker=re,this._ngZone=ce,this._document=Ee,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,it||this.attachAnchors()}destroy(){const Z=this._startAnchor,re=this._endAnchor;Z&&(Z.removeEventListener("focus",this.startAnchorListener),Z.remove()),re&&(re.removeEventListener("focus",this.endAnchorListener),re.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(Z){return new Promise(re=>{this._executeOnStable(()=>re(this.focusInitialElement(Z)))})}focusFirstTabbableElementWhenReady(Z){return new Promise(re=>{this._executeOnStable(()=>re(this.focusFirstTabbableElement(Z)))})}focusLastTabbableElementWhenReady(Z){return new Promise(re=>{this._executeOnStable(()=>re(this.focusLastTabbableElement(Z)))})}_getRegionBoundary(Z){const re=this._element.querySelectorAll(`[cdk-focus-region-${Z}], [cdkFocusRegion${Z}], [cdk-focus-${Z}]`);return"start"==Z?re.length?re[0]:this._getFirstTabbableElement(this._element):re.length?re[re.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Z){const re=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(re){if(!this._checker.isFocusable(re)){const ce=this._getFirstTabbableElement(re);return ce?.focus(Z),!!ce}return re.focus(Z),!0}return this.focusFirstTabbableElement(Z)}focusFirstTabbableElement(Z){const re=this._getRegionBoundary("start");return re&&re.focus(Z),!!re}focusLastTabbableElement(Z){const re=this._getRegionBoundary("end");return re&&re.focus(Z),!!re}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Z){if(this._checker.isFocusable(Z)&&this._checker.isTabbable(Z))return Z;const re=Z.children;for(let ce=0;ce=0;ce--){const Ee=re[ce].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(re[ce]):null;if(Ee)return Ee}return null}_createAnchor(){const Z=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Z),Z.classList.add("cdk-visually-hidden"),Z.classList.add("cdk-focus-trap-anchor"),Z.setAttribute("aria-hidden","true"),Z}_toggleAnchorTabIndex(Z,re){Z?re.setAttribute("tabindex","0"):re.removeAttribute("tabindex")}toggleAnchors(Z){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Z,this._startAnchor),this._toggleAnchorTabIndex(Z,this._endAnchor))}_executeOnStable(Z){this._ngZone.isStable?Z():this._ngZone.onStable.pipe((0,u.q)(1)).subscribe(Z)}}let bt=(()=>{class ke{constructor(re,ce,Ee){this._checker=re,this._ngZone=ce,this._document=Ee}create(re,ce=!1){return new St(re,this._checker,this._ngZone,this._document,ce)}}return ke.\u0275fac=function(re){return new(re||ke)(p.\u0275\u0275inject(me),p.\u0275\u0275inject(p.NgZone),p.\u0275\u0275inject(n.DOCUMENT))},ke.\u0275prov=p.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})(),xt=(()=>{class ke{get enabled(){return this.focusTrap.enabled}set enabled(re){this.focusTrap.enabled=(0,M.Ig)(re)}get autoCapture(){return this._autoCapture}set autoCapture(re){this._autoCapture=(0,M.Ig)(re)}constructor(re,ce,Ee){this._elementRef=re,this._focusTrapFactory=ce,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(re){const ce=re.autoCapture;ce&&!ce.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,C.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return ke.\u0275fac=function(re){return new(re||ke)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(bt),p.\u0275\u0275directiveInject(n.DOCUMENT))},ke.\u0275dir=p.\u0275\u0275defineDirective({type:ke,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[p.\u0275\u0275NgOnChangesFeature]}),ke})();function Ce(ke){return 0===ke.buttons||0===ke.offsetX&&0===ke.offsetY}function ee(ke){const Z=ke.touches&&ke.touches[0]||ke.changedTouches&&ke.changedTouches[0];return!(!Z||-1!==Z.identifier||null!=Z.radiusX&&1!==Z.radiusX||null!=Z.radiusY&&1!==Z.radiusY)}const ae=new p.InjectionToken("cdk-input-modality-detector-options"),ie={ignoreKeys:[c.zL,c.jx,c.b2,c.MW,c.JU]},Te=(0,C.i$)({passive:!0,capture:!0});let ct=(()=>{class ke{get mostRecentModality(){return this._modality.value}constructor(re,ce,Ee,it){this._platform=re,this._mostRecentTarget=null,this._modality=new v.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(Ye=>Ye===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ce(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.sA)(Rt))},this._onTouchstart=Rt=>{ee(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.sA)(Rt))},this._options={...ie,...it},this.modalityDetected=this._modality.pipe((0,h.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,m.x)()),re.isBrowser&&ce.runOutsideAngular(()=>{Ee.addEventListener("keydown",this._onKeydown,Te),Ee.addEventListener("mousedown",this._onMousedown,Te),Ee.addEventListener("touchstart",this._onTouchstart,Te)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Te),document.removeEventListener("mousedown",this._onMousedown,Te),document.removeEventListener("touchstart",this._onTouchstart,Te))}}return ke.\u0275fac=function(re){return new(re||ke)(p.\u0275\u0275inject(C.t4),p.\u0275\u0275inject(p.NgZone),p.\u0275\u0275inject(n.DOCUMENT),p.\u0275\u0275inject(ae,8))},ke.\u0275prov=p.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();const Lt=new p.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function Dt(){return null}}),Kt=new p.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ze=0,yt=(()=>{class ke{constructor(re,ce,Ee,it){this._ngZone=ce,this._defaultOptions=it,this._document=Ee,this._liveElement=re||this._createLiveElement()}announce(re,...ce){const Ee=this._defaultOptions;let it,Rt;return 1===ce.length&&"number"==typeof ce[0]?Rt=ce[0]:[it,Rt]=ce,this.clear(),clearTimeout(this._previousTimeout),it||(it=Ee&&Ee.politeness?Ee.politeness:"polite"),null==Rt&&Ee&&(Rt=Ee.duration),this._liveElement.setAttribute("aria-live",it),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ye=>this._currentResolve=Ye)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=re,"number"==typeof Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const re="cdk-live-announcer-element",ce=this._document.getElementsByClassName(re),Ee=this._document.createElement("div");for(let it=0;it .cdk-overlay-container [aria-modal="true"]');for(let Ee=0;Ee{class ke{constructor(re,ce,Ee,it,Rt){this._ngZone=re,this._platform=ce,this._inputModalityDetector=Ee,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 b.x,this._rootNodeFocusAndBlurListener=Ye=>{for(let Ne=(0,C.sA)(Ye);Ne;Ne=Ne.parentElement)"focus"===Ye.type?this._onFocus(Ye,Ne):this._onBlur(Ye,Ne)},this._document=it,this._detectionMode=Rt?.detectionMode||0}monitor(re,ce=!1){const Ee=(0,M.fI)(re);if(!this._platform.isBrowser||1!==Ee.nodeType)return(0,a.of)();const it=(0,C.kV)(Ee)||this._getDocument(),Rt=this._elementInfo.get(Ee);if(Rt)return ce&&(Rt.checkChildren=!0),Rt.subject;const Ye={checkChildren:ce,subject:new b.x,rootNode:it};return this._elementInfo.set(Ee,Ye),this._registerGlobalListeners(Ye),Ye.subject}stopMonitoring(re){const ce=(0,M.fI)(re),Ee=this._elementInfo.get(ce);Ee&&(Ee.subject.complete(),this._setClasses(ce),this._elementInfo.delete(ce),this._removeGlobalListeners(Ee))}focusVia(re,ce,Ee){const it=(0,M.fI)(re);it===this._getDocument().activeElement?this._getClosestElementsInfo(it).forEach(([Ye,qe])=>this._originChanged(Ye,ce,qe)):(this._setOrigin(ce),"function"==typeof it.focus&&it.focus(Ee))}ngOnDestroy(){this._elementInfo.forEach((re,ce)=>this.stopMonitoring(ce))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(re){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(re)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:re&&this._isLastInteractionFromInputLabel(re)?"mouse":"program"}_shouldBeAttributedToTouch(re){return 1===this._detectionMode||!!re?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(re,ce){re.classList.toggle("cdk-focused",!!ce),re.classList.toggle("cdk-touch-focused","touch"===ce),re.classList.toggle("cdk-keyboard-focused","keyboard"===ce),re.classList.toggle("cdk-mouse-focused","mouse"===ce),re.classList.toggle("cdk-program-focused","program"===ce)}_setOrigin(re,ce=!1){this._ngZone.runOutsideAngular(()=>{this._origin=re,this._originFromTouchInteraction="touch"===re&&ce,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(re,ce){const Ee=this._elementInfo.get(ce),it=(0,C.sA)(re);!Ee||!Ee.checkChildren&&ce!==it||this._originChanged(ce,this._getFocusOrigin(it),Ee)}_onBlur(re,ce){const Ee=this._elementInfo.get(ce);!Ee||Ee.checkChildren&&re.relatedTarget instanceof Node&&ce.contains(re.relatedTarget)||(this._setClasses(ce),this._emitOrigin(Ee,null))}_emitOrigin(re,ce){re.subject.observers.length&&this._ngZone.run(()=>re.subject.next(ce))}_registerGlobalListeners(re){if(!this._platform.isBrowser)return;const ce=re.rootNode,Ee=this._rootNodeFocusListenerCount.get(ce)||0;Ee||this._ngZone.runOutsideAngular(()=>{ce.addEventListener("focus",this._rootNodeFocusAndBlurListener,Yt),ce.addEventListener("blur",this._rootNodeFocusAndBlurListener,Yt)}),this._rootNodeFocusListenerCount.set(ce,Ee+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.R)(this._stopInputModalityDetector)).subscribe(it=>{this._setOrigin(it,!0)}))}_removeGlobalListeners(re){const ce=re.rootNode;if(this._rootNodeFocusListenerCount.has(ce)){const Ee=this._rootNodeFocusListenerCount.get(ce);Ee>1?this._rootNodeFocusListenerCount.set(ce,Ee-1):(ce.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Yt),ce.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Yt),this._rootNodeFocusListenerCount.delete(ce))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(re,ce,Ee){this._setClasses(re,ce),this._emitOrigin(Ee,ce),this._lastFocusOrigin=ce}_getClosestElementsInfo(re){const ce=[];return this._elementInfo.forEach((Ee,it)=>{(it===re||Ee.checkChildren&&it.contains(re))&&ce.push([it,Ee])}),ce}_isLastInteractionFromInputLabel(re){const{_mostRecentTarget:ce,mostRecentModality:Ee}=this._inputModalityDetector;if("mouse"!==Ee||!ce||ce===re||"INPUT"!==re.nodeName&&"TEXTAREA"!==re.nodeName||re.disabled)return!1;const it=re.labels;if(it)for(let Rt=0;Rt{class ke{constructor(re,ce){this._elementRef=re,this._focusMonitor=ce,this._focusOrigin=null,this.cdkFocusChange=new p.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const re=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(re,1===re.nodeType&&re.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(ce=>{this._focusOrigin=ce,this.cdkFocusChange.emit(ce)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ke.\u0275fac=function(re){return new(re||ke)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(Ue))},ke.\u0275dir=p.\u0275\u0275defineDirective({type:ke,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),ke})();const ve="cdk-high-contrast-black-on-white",we="cdk-high-contrast-white-on-black",at="cdk-high-contrast-active";let De=(()=>{class ke{constructor(re,ce){this._platform=re,this._document=ce,this._breakpointSubscription=(0,p.inject)(w.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const re=this._document.createElement("div");re.style.backgroundColor="rgb(1,2,3)",re.style.position="absolute",this._document.body.appendChild(re);const ce=this._document.defaultView||window,Ee=ce&&ce.getComputedStyle?ce.getComputedStyle(re):null,it=(Ee&&Ee.backgroundColor||"").replace(/ /g,"");switch(re.remove(),it){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const re=this._document.body.classList;re.remove(at,ve,we),this._hasCheckedHighContrastMode=!0;const ce=this.getHighContrastMode();1===ce?re.add(at,ve):2===ce&&re.add(at,we)}}}return ke.\u0275fac=function(re){return new(re||ke)(p.\u0275\u0275inject(C.t4),p.\u0275\u0275inject(n.DOCUMENT))},ke.\u0275prov=p.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})(),je=(()=>{class ke{constructor(re){re._applyBodyHighContrastModeCssClasses()}}return ke.\u0275fac=function(re){return new(re||ke)(p.\u0275\u0275inject(De))},ke.\u0275mod=p.\u0275\u0275defineNgModule({type:ke}),ke.\u0275inj=p.\u0275\u0275defineInjector({imports:[x.Q8]}),ke})()},9388:(Se,X,g)=>{"use strict";g.d(X,{Is:()=>a,vT:()=>s});var n=g(5879),p=g(6814);const C=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function b(){return(0,n.inject)(p.DOCUMENT)}}),o=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let a=(()=>{class l{constructor(r){this.value="ltr",this.change=new n.EventEmitter,r&&(this.value=function v(l){const d=l?.toLowerCase()||"";return"auto"===d&&typeof navigator<"u"&&navigator?.language?o.test(navigator.language)?"rtl":"ltr":"rtl"===d?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return l.\u0275fac=function(r){return new(r||l)(n.\u0275\u0275inject(C,8))},l.\u0275prov=n.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),s=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=n.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=n.\u0275\u0275defineInjector({}),l})()},2495:(Se,X,g)=>{"use strict";g.d(X,{Eq:()=>o,HM:()=>v,Ig:()=>p,du:()=>c,fI:()=>a,su:()=>C,t6:()=>b});var n=g(5879);function p(s){return null!=s&&"false"!=`${s}`}function C(s,l=0){return b(s)?Number(s):l}function b(s){return!isNaN(parseFloat(s))&&!isNaN(Number(s))}function o(s){return Array.isArray(s)?s:[s]}function v(s){return null==s?"":"string"==typeof s?s:`${s}px`}function a(s){return s instanceof n.ElementRef?s.nativeElement:s}function c(s,l=/\s+/){const d=[];if(null!=s){const r=Array.isArray(s)?s:`${s}`.split(l);for(const u of r){const h=`${u}`.trim();h&&d.push(h)}}return d}},8337:(Se,X,g)=>{"use strict";g.d(X,{A8:()=>d,Ov:()=>s,Z9:()=>o,eX:()=>c,k:()=>r,o2:()=>b,yy:()=>a});var n=g(3168),p=g(8645),C=g(5879);class b{}function o(u){return u&&"function"==typeof u.connect&&!(u instanceof n.c)}class a{applyChanges(h,m,_,M,x){h.forEachOperation((w,L,A)=>{let T,O;if(null==w.previousIndex){const E=_(w,L,A);T=m.createEmbeddedView(E.templateRef,E.context,E.index),O=1}else null==A?(m.remove(L),O=3):(T=m.get(L),m.move(T,A),O=2);x&&x({context:T?.context,operation:O,record:w})})}detach(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(h,m,_,M,x){h.forEachOperation((w,L,A)=>{let T,O;null==w.previousIndex?(T=this._insertView(()=>_(w,L,A),A,m,M(w)),O=T?1:0):null==A?(this._detachAndCacheView(L,m),O=3):(T=this._moveView(L,A,m,M(w)),O=2),x&&x({context:T?.context,operation:O,record:w})})}detach(){for(const h of this._viewCache)h.destroy();this._viewCache=[]}_insertView(h,m,_,M){const x=this._insertViewFromCache(m,_);if(x)return void(x.context.$implicit=M);const w=h();return _.createEmbeddedView(w.templateRef,w.context,w.index)}_detachAndCacheView(h,m){const _=m.detach(h);this._maybeCacheView(_,m)}_moveView(h,m,_,M){const x=_.get(h);return _.move(x,m),x.context.$implicit=M,x}_maybeCacheView(h,m){if(this._viewCache.lengththis._markSelected(x)):this._markSelected(m[0]),this._selectedToEmit.length=0)}select(...h){this._verifyValueAssignment(h),h.forEach(_=>this._markSelected(_));const m=this._hasQueuedChanges();return this._emitChangeEvent(),m}deselect(...h){this._verifyValueAssignment(h),h.forEach(_=>this._unmarkSelected(_));const m=this._hasQueuedChanges();return this._emitChangeEvent(),m}setSelection(...h){this._verifyValueAssignment(h);const m=this.selected,_=new Set(h);h.forEach(x=>this._markSelected(x)),m.filter(x=>!_.has(x)).forEach(x=>this._unmarkSelected(x));const M=this._hasQueuedChanges();return this._emitChangeEvent(),M}toggle(h){return this.isSelected(h)?this.deselect(h):this.select(h)}clear(h=!0){this._unmarkAll();const m=this._hasQueuedChanges();return h&&this._emitChangeEvent(),m}isSelected(h){return this._selection.has(this._getConcreteValue(h))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(h){this._multiple&&this.selected&&this._selected.sort(h)}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(h){h=this._getConcreteValue(h),this.isSelected(h)||(this._multiple||this._unmarkAll(),this.isSelected(h)||this._selection.add(h),this._emitChanges&&this._selectedToEmit.push(h))}_unmarkSelected(h){h=this._getConcreteValue(h),this.isSelected(h)&&(this._selection.delete(h),this._emitChanges&&this._deselectedToEmit.push(h))}_unmarkAll(){this.isEmpty()||this._selection.forEach(h=>this._unmarkSelected(h))}_verifyValueAssignment(h){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(h){if(this.compareWith){for(let m of this._selection)if(this.compareWith(h,m))return m;return h}return h}}let d=(()=>{class u{constructor(){this._listeners=[]}notify(m,_){for(let M of this._listeners)M(m,_)}listen(m){return this._listeners.push(m),()=>{this._listeners=this._listeners.filter(_=>m!==_)}}ngOnDestroy(){this._listeners=[]}}return u.\u0275fac=function(m){return new(m||u)},u.\u0275prov=C.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const r=new C.InjectionToken("_ViewRepeater")},6028:(Se,X,g)=>{"use strict";g.d(X,{A:()=>ue,JH:()=>L,JU:()=>v,K5:()=>o,Ku:()=>u,LH:()=>x,L_:()=>r,MW:()=>Kt,Mf:()=>C,SV:()=>w,Sd:()=>_,VM:()=>h,Vb:()=>oi,Z:()=>Dt,ZH:()=>p,aO:()=>ne,b2:()=>Ii,hY:()=>d,jx:()=>a,oh:()=>M,uR:()=>m,xE:()=>D,zL:()=>c});const p=8,C=9,o=13,v=16,a=17,c=18,d=27,r=32,u=33,h=34,m=35,_=36,M=37,x=38,w=39,L=40,D=48,ne=57,ue=65,Dt=90,Kt=91,Ii=224;function oi(li,...Pi){return Pi.length?Pi.some(Ct=>li[Ct]):li.altKey||li.shiftKey||li.ctrlKey||li.metaKey}},1088:(Se,X,g)=>{"use strict";g.d(X,{Yg:()=>L,u3:()=>T});var n=g(5879),p=g(2495),C=g(8645),b=g(2572),o=g(34),v=g(5592),a=g(8180),c=g(836),s=g(3620),l=g(7398),d=g(7921),r=g(9773),u=g(2831);const m=new Set;let _,M=(()=>{class O{constructor(D,R){this._platform=D,this._nonce=R,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w}matchMedia(D){return(this._platform.WEBKIT||this._platform.BLINK)&&function x(O,E){if(!m.has(O))try{_||(_=document.createElement("style"),E&&(_.nonce=E),_.setAttribute("type","text/css"),document.head.appendChild(_)),_.sheet&&(_.sheet.insertRule(`@media ${O} {body{ }}`,0),m.add(O))}catch(D){console.error(D)}}(D,this._nonce),this._matchMedia(D)}}return O.\u0275fac=function(D){return new(D||O)(n.\u0275\u0275inject(u.t4),n.\u0275\u0275inject(n.CSP_NONCE,8))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function w(O){return{matches:"all"===O||""===O,media:O,addListener:()=>{},removeListener:()=>{}}}let L=(()=>{class O{constructor(D,R){this._mediaMatcher=D,this._zone=R,this._queries=new Map,this._destroySubject=new C.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(D){return A((0,p.Eq)(D)).some(j=>this._registerQuery(j).mql.matches)}observe(D){const j=A((0,p.Eq)(D)).map(S=>this._registerQuery(S).observable);let N=(0,b.a)(j);return N=(0,o.z)(N.pipe((0,a.q)(1)),N.pipe((0,c.T)(1),(0,s.b)(0))),N.pipe((0,l.U)(S=>{const k={matches:!1,breakpoints:{}};return S.forEach(({matches:F,query:Y})=>{k.matches=k.matches||F,k.breakpoints[Y]=F}),k}))}_registerQuery(D){if(this._queries.has(D))return this._queries.get(D);const R=this._mediaMatcher.matchMedia(D),N={observable:new v.y(S=>{const k=F=>this._zone.run(()=>S.next(F));return R.addListener(k),()=>{R.removeListener(k)}}).pipe((0,d.O)(R),(0,l.U)(({matches:S})=>({query:D,matches:S})),(0,r.R)(this._destroySubject)),mql:R};return this._queries.set(D,N),N}}return O.\u0275fac=function(D){return new(D||O)(n.\u0275\u0275inject(M),n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function A(O){return O.map(E=>E.split(",")).reduce((E,D)=>E.concat(D)).map(E=>E.trim())}const T={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7131:(Se,X,g)=>{"use strict";g.d(X,{Q8:()=>s,wD:()=>c});var n=g(2495),p=g(5879),C=g(5592),b=g(8645),o=g(3620);let v=(()=>{class l{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}}return l.\u0275fac=function(r){return new(r||l)},l.\u0275prov=p.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),a=(()=>{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,n.fI)(r);return new C.y(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 b.x,h=this._mutationObserverFactory.create(m=>u.next(m));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)}}}return l.\u0275fac=function(r){return new(r||l)(p.\u0275\u0275inject(v))},l.\u0275prov=p.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})(),c=(()=>{class l{get disabled(){return this._disabled}set disabled(r){this._disabled=(0,n.Ig)(r),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(r){this._debounce=(0,n.su)(r),this._subscribe()}constructor(r,u,h){this._contentObserver=r,this._elementRef=u,this._ngZone=h,this.event=new p.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,o.b)(this.debounce)):r).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return l.\u0275fac=function(r){return new(r||l)(p.\u0275\u0275directiveInject(a),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(p.NgZone))},l.\u0275dir=p.\u0275\u0275defineDirective({type:l,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),l})(),s=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=p.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=p.\u0275\u0275defineInjector({providers:[v]}),l})()},9594:(Se,X,g)=>{"use strict";g.d(X,{U8:()=>J,X_:()=>D,_G:()=>Q,aV:()=>St,pI:()=>ot,xu:()=>nt});var n=g(6672),p=g(6814),C=g(5879),b=g(2495),o=g(2831),v=g(2181),a=g(8180),c=g(9773),s=g(812),l=g(9388),d=g(8484),r=g(8645),u=g(7394),h=g(3019),m=g(6028);const _=(0,o.Mq)();class M{constructor(ae,ie){this._viewportRuler=ae,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ie}attach(){}enable(){if(this._canBeEnabled()){const ae=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ae.style.left||"",this._previousHTMLStyles.top=ae.style.top||"",ae.style.left=(0,b.HM)(-this._previousScrollPosition.left),ae.style.top=(0,b.HM)(-this._previousScrollPosition.top),ae.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ae=this._document.documentElement,pe=ae.style,Te=this._document.body.style,ct=pe.scrollBehavior||"",Lt=Te.scrollBehavior||"";this._isEnabled=!1,pe.left=this._previousHTMLStyles.left,pe.top=this._previousHTMLStyles.top,ae.classList.remove("cdk-global-scrollblock"),_&&(pe.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_&&(pe.scrollBehavior=ct,Te.scrollBehavior=Lt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ie=this._document.body,pe=this._viewportRuler.getViewportSize();return ie.scrollHeight>pe.height||ie.scrollWidth>pe.width}}class w{constructor(ae,ie,pe,Te){this._scrollDispatcher=ae,this._ngZone=ie,this._viewportRuler=pe,this._config=Te,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ae){this._overlayRef=ae}enable(){if(this._scrollSubscription)return;const ae=this._scrollDispatcher.scrolled(0).pipe((0,v.h)(ie=>!ie||!this._overlayRef.overlayElement.contains(ie.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ae.subscribe(()=>{const ie=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ie-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ae.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class L{enable(){}disable(){}attach(){}}function A(ee,ae){return ae.some(ie=>ee.bottomie.bottom||ee.rightie.right)}function T(ee,ae){return ae.some(ie=>ee.topie.bottom||ee.leftie.right)}class O{constructor(ae,ie,pe,Te){this._scrollDispatcher=ae,this._viewportRuler=ie,this._ngZone=pe,this._config=Te,this._scrollSubscription=null}attach(ae){this._overlayRef=ae}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 ie=this._overlayRef.overlayElement.getBoundingClientRect(),{width:pe,height:Te}=this._viewportRuler.getViewportSize();A(ie,[{width:pe,height:Te,bottom:Te,right:pe,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 E=(()=>{class ee{constructor(ie,pe,Te,ct){this._scrollDispatcher=ie,this._viewportRuler=pe,this._ngZone=Te,this.noop=()=>new L,this.close=Lt=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,Lt),this.block=()=>new M(this._viewportRuler,this._document),this.reposition=Lt=>new O(this._scrollDispatcher,this._viewportRuler,this._ngZone,Lt),this._document=ct}}return ee.\u0275fac=function(ie){return new(ie||ee)(C.\u0275\u0275inject(n.mF),C.\u0275\u0275inject(n.rL),C.\u0275\u0275inject(C.NgZone),C.\u0275\u0275inject(p.DOCUMENT))},ee.\u0275prov=C.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();class D{constructor(ae){if(this.scrollStrategy=new L,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ae){const ie=Object.keys(ae);for(const pe of ie)void 0!==ae[pe]&&(this[pe]=ae[pe])}}}class N{constructor(ae,ie){this.connectionPair=ae,this.scrollableViewProperties=ie}}let F=(()=>{class ee{constructor(ie){this._attachedOverlays=[],this._document=ie}ngOnDestroy(){this.detach()}add(ie){this.remove(ie),this._attachedOverlays.push(ie)}remove(ie){const pe=this._attachedOverlays.indexOf(ie);pe>-1&&this._attachedOverlays.splice(pe,1),0===this._attachedOverlays.length&&this.detach()}}return ee.\u0275fac=function(ie){return new(ie||ee)(C.\u0275\u0275inject(p.DOCUMENT))},ee.\u0275prov=C.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Y=(()=>{class ee extends F{constructor(ie,pe){super(ie),this._ngZone=pe,this._keydownListener=Te=>{const ct=this._attachedOverlays;for(let Lt=ct.length-1;Lt>-1;Lt--)if(ct[Lt]._keydownEvents.observers.length>0){const Dt=ct[Lt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Dt.next(Te)):Dt.next(Te);break}}}add(ie){super.add(ie),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return ee.\u0275fac=function(ie){return new(ie||ee)(C.\u0275\u0275inject(p.DOCUMENT),C.\u0275\u0275inject(C.NgZone,8))},ee.\u0275prov=C.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),se=(()=>{class ee extends F{constructor(ie,pe,Te){super(ie),this._platform=pe,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=ct=>{this._pointerDownEventTarget=(0,o.sA)(ct)},this._clickListener=ct=>{const Lt=(0,o.sA)(ct),Dt="click"===ct.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Lt;this._pointerDownEventTarget=null;const Kt=this._attachedOverlays.slice();for(let ze=Kt.length-1;ze>-1;ze--){const yt=Kt[ze];if(yt._outsidePointerEvents.observers.length<1||!yt.hasAttached())continue;if(yt.overlayElement.contains(Lt)||yt.overlayElement.contains(Dt))break;const Bt=yt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Bt.next(ct)):Bt.next(ct)}}}add(ie){if(super.add(ie),!this._isAttached){const pe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(pe)):this._addEventListeners(pe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=pe.style.cursor,pe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ie=this._document.body;ie.removeEventListener("pointerdown",this._pointerDownListener,!0),ie.removeEventListener("click",this._clickListener,!0),ie.removeEventListener("auxclick",this._clickListener,!0),ie.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ie.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ie){ie.addEventListener("pointerdown",this._pointerDownListener,!0),ie.addEventListener("click",this._clickListener,!0),ie.addEventListener("auxclick",this._clickListener,!0),ie.addEventListener("contextmenu",this._clickListener,!0)}}return ee.\u0275fac=function(ie){return new(ie||ee)(C.\u0275\u0275inject(p.DOCUMENT),C.\u0275\u0275inject(o.t4),C.\u0275\u0275inject(C.NgZone,8))},ee.\u0275prov=C.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),ne=(()=>{class ee{constructor(ie,pe){this._platform=pe,this._document=ie}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ie="cdk-overlay-container";if(this._platform.isBrowser||(0,o.Oy)()){const Te=this._document.querySelectorAll(`.${ie}[platform="server"], .${ie}[platform="test"]`);for(let ct=0;ctthis._backdropClick.next(Bt),this._backdropTransitionendHandler=Bt=>{this._disposeBackdrop(Bt.target)},this._keydownEvents=new r.x,this._outsidePointerEvents=new r.x,Te.scrollStrategy&&(this._scrollStrategy=Te.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Te.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ae){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ie=this._portalOutlet.attach(ae);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,a.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof ie?.onDestroy&&ie.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ie}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ae=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ae}dispose(){const ae=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,ae&&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(ae){ae!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ae,this.hasAttached()&&(ae.attach(this),this.updatePosition()))}updateSize(ae){this._config={...this._config,...ae},this._updateElementSize()}setDirection(ae){this._config={...this._config,direction:ae},this._updateElementDirection()}addPanelClass(ae){this._pane&&this._toggleClasses(this._pane,ae,!0)}removePanelClass(ae){this._pane&&this._toggleClasses(this._pane,ae,!1)}getDirection(){const ae=this._config.direction;return ae?"string"==typeof ae?ae:ae.value:"ltr"}updateScrollStrategy(ae){ae!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ae,this.hasAttached()&&(ae.attach(this),ae.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ae=this._pane.style;ae.width=(0,b.HM)(this._config.width),ae.height=(0,b.HM)(this._config.height),ae.minWidth=(0,b.HM)(this._config.minWidth),ae.minHeight=(0,b.HM)(this._config.minHeight),ae.maxWidth=(0,b.HM)(this._config.maxWidth),ae.maxHeight=(0,b.HM)(this._config.maxHeight)}_togglePointerEvents(ae){this._pane.style.pointerEvents=ae?"":"none"}_attachBackdrop(){const ae="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(ae)})}):this._backdropElement.classList.add(ae)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ae=this._backdropElement;if(ae){if(this._animationsDisabled)return void this._disposeBackdrop(ae);ae.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ae.addEventListener("transitionend",this._backdropTransitionendHandler)}),ae.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ae)},500))}}_toggleClasses(ae,ie,pe){const Te=(0,b.Eq)(ie||[]).filter(ct=>!!ct);Te.length&&(pe?ae.classList.add(...Te):ae.classList.remove(...Te))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ae=this._ngZone.onStable.pipe((0,c.R)((0,h.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ae.unsubscribe())})})}_disposeScrollStrategy(){const ae=this._scrollStrategy;ae&&(ae.disable(),ae.detach&&ae.detach())}_disposeBackdrop(ae){ae&&(ae.removeEventListener("click",this._backdropClickHandler),ae.removeEventListener("transitionend",this._backdropTransitionendHandler),ae.remove(),this._backdropElement===ae&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $="cdk-overlay-connected-position-bounding-box",q=/([A-Za-z%]+)$/;class Q{get positions(){return this._preferredPositions}constructor(ae,ie,pe,Te,ct){this._viewportRuler=ie,this._document=pe,this._platform=Te,this._overlayContainer=ct,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new r.x,this._resizeSubscription=u.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ae)}attach(ae){this._validatePositions(),ae.hostElement.classList.add($),this._overlayRef=ae,this._boundingBox=ae.hostElement,this._pane=ae.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 ae=this._originRect,ie=this._overlayRect,pe=this._viewportRect,Te=this._containerRect,ct=[];let Lt;for(let Dt of this._preferredPositions){let Kt=this._getOriginPoint(ae,Te,Dt),ze=this._getOverlayPoint(Kt,ie,Dt),yt=this._getOverlayFit(ze,ie,pe,Dt);if(yt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Dt,Kt);this._canFitWithFlexibleDimensions(yt,ze,pe)?ct.push({position:Dt,origin:Kt,overlayRect:ie,boundingBoxRect:this._calculateBoundingBoxRect(Kt,Dt)}):(!Lt||Lt.overlayFit.visibleAreaKt&&(Kt=yt,Dt=ze)}return this._isPushed=!1,void this._applyPosition(Dt.position,Dt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Lt.position,Lt.originPoint);this._applyPosition(Lt.position,Lt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ue(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ae=this._lastPosition;if(ae){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ie=this._getOriginPoint(this._originRect,this._containerRect,ae);this._applyPosition(ae,ie)}else this.apply()}withScrollableContainers(ae){return this._scrollables=ae,this}withPositions(ae){return this._preferredPositions=ae,-1===ae.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ae){return this._viewportMargin=ae,this}withFlexibleDimensions(ae=!0){return this._hasFlexibleDimensions=ae,this}withGrowAfterOpen(ae=!0){return this._growAfterOpen=ae,this}withPush(ae=!0){return this._canPush=ae,this}withLockedPosition(ae=!0){return this._positionLocked=ae,this}setOrigin(ae){return this._origin=ae,this}withDefaultOffsetX(ae){return this._offsetX=ae,this}withDefaultOffsetY(ae){return this._offsetY=ae,this}withTransformOriginOn(ae){return this._transformOriginSelector=ae,this}_getOriginPoint(ae,ie,pe){let Te,ct;if("center"==pe.originX)Te=ae.left+ae.width/2;else{const Lt=this._isRtl()?ae.right:ae.left,Dt=this._isRtl()?ae.left:ae.right;Te="start"==pe.originX?Lt:Dt}return ie.left<0&&(Te-=ie.left),ct="center"==pe.originY?ae.top+ae.height/2:"top"==pe.originY?ae.top:ae.bottom,ie.top<0&&(ct-=ie.top),{x:Te,y:ct}}_getOverlayPoint(ae,ie,pe){let Te,ct;return Te="center"==pe.overlayX?-ie.width/2:"start"===pe.overlayX?this._isRtl()?-ie.width:0:this._isRtl()?0:-ie.width,ct="center"==pe.overlayY?-ie.height/2:"top"==pe.overlayY?0:-ie.height,{x:ae.x+Te,y:ae.y+ct}}_getOverlayFit(ae,ie,pe,Te){const ct=Oe(ie);let{x:Lt,y:Dt}=ae,Kt=this._getOffset(Te,"x"),ze=this._getOffset(Te,"y");Kt&&(Lt+=Kt),ze&&(Dt+=ze);let $t=0-Dt,Yt=Dt+ct.height-pe.height,Ue=this._subtractOverflows(ct.width,0-Lt,Lt+ct.width-pe.width),We=this._subtractOverflows(ct.height,$t,Yt),ve=Ue*We;return{visibleArea:ve,isCompletelyWithinViewport:ct.width*ct.height===ve,fitsInViewportVertically:We===ct.height,fitsInViewportHorizontally:Ue==ct.width}}_canFitWithFlexibleDimensions(ae,ie,pe){if(this._hasFlexibleDimensions){const Te=pe.bottom-ie.y,ct=pe.right-ie.x,Lt=Me(this._overlayRef.getConfig().minHeight),Dt=Me(this._overlayRef.getConfig().minWidth);return(ae.fitsInViewportVertically||null!=Lt&&Lt<=Te)&&(ae.fitsInViewportHorizontally||null!=Dt&&Dt<=ct)}return!1}_pushOverlayOnScreen(ae,ie,pe){if(this._previousPushAmount&&this._positionLocked)return{x:ae.x+this._previousPushAmount.x,y:ae.y+this._previousPushAmount.y};const Te=Oe(ie),ct=this._viewportRect,Lt=Math.max(ae.x+Te.width-ct.width,0),Dt=Math.max(ae.y+Te.height-ct.height,0),Kt=Math.max(ct.top-pe.top-ae.y,0),ze=Math.max(ct.left-pe.left-ae.x,0);let yt=0,Bt=0;return yt=Te.width<=ct.width?ze||-Lt:ae.xUe&&!this._isInitialRender&&!this._growAfterOpen&&(Lt=ae.y-Ue/2)}if("end"===ie.overlayX&&!Te||"start"===ie.overlayX&&Te)$t=pe.width-ae.x+this._viewportMargin,yt=ae.x-this._viewportMargin;else if("start"===ie.overlayX&&!Te||"end"===ie.overlayX&&Te)Bt=ae.x,yt=pe.right-ae.x;else{const Yt=Math.min(pe.right-ae.x+pe.left,ae.x),Ue=this._lastBoundingBoxSize.width;yt=2*Yt,Bt=ae.x-Yt,yt>Ue&&!this._isInitialRender&&!this._growAfterOpen&&(Bt=ae.x-Ue/2)}return{top:Lt,left:Bt,bottom:Dt,right:$t,width:yt,height:ct}}_setBoundingBoxStyles(ae,ie){const pe=this._calculateBoundingBoxRect(ae,ie);!this._isInitialRender&&!this._growAfterOpen&&(pe.height=Math.min(pe.height,this._lastBoundingBoxSize.height),pe.width=Math.min(pe.width,this._lastBoundingBoxSize.width));const Te={};if(this._hasExactPosition())Te.top=Te.left="0",Te.bottom=Te.right=Te.maxHeight=Te.maxWidth="",Te.width=Te.height="100%";else{const ct=this._overlayRef.getConfig().maxHeight,Lt=this._overlayRef.getConfig().maxWidth;Te.height=(0,b.HM)(pe.height),Te.top=(0,b.HM)(pe.top),Te.bottom=(0,b.HM)(pe.bottom),Te.width=(0,b.HM)(pe.width),Te.left=(0,b.HM)(pe.left),Te.right=(0,b.HM)(pe.right),Te.alignItems="center"===ie.overlayX?"center":"end"===ie.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===ie.overlayY?"center":"bottom"===ie.overlayY?"flex-end":"flex-start",ct&&(Te.maxHeight=(0,b.HM)(ct)),Lt&&(Te.maxWidth=(0,b.HM)(Lt))}this._lastBoundingBoxSize=pe,ue(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ue(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ue(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ae,ie){const pe={},Te=this._hasExactPosition(),ct=this._hasFlexibleDimensions,Lt=this._overlayRef.getConfig();if(Te){const yt=this._viewportRuler.getViewportScrollPosition();ue(pe,this._getExactOverlayY(ie,ae,yt)),ue(pe,this._getExactOverlayX(ie,ae,yt))}else pe.position="static";let Dt="",Kt=this._getOffset(ie,"x"),ze=this._getOffset(ie,"y");Kt&&(Dt+=`translateX(${Kt}px) `),ze&&(Dt+=`translateY(${ze}px)`),pe.transform=Dt.trim(),Lt.maxHeight&&(Te?pe.maxHeight=(0,b.HM)(Lt.maxHeight):ct&&(pe.maxHeight="")),Lt.maxWidth&&(Te?pe.maxWidth=(0,b.HM)(Lt.maxWidth):ct&&(pe.maxWidth="")),ue(this._pane.style,pe)}_getExactOverlayY(ae,ie,pe){let Te={top:"",bottom:""},ct=this._getOverlayPoint(ie,this._overlayRect,ae);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,pe)),"bottom"===ae.overlayY?Te.bottom=this._document.documentElement.clientHeight-(ct.y+this._overlayRect.height)+"px":Te.top=(0,b.HM)(ct.y),Te}_getExactOverlayX(ae,ie,pe){let Lt,Te={left:"",right:""},ct=this._getOverlayPoint(ie,this._overlayRect,ae);return this._isPushed&&(ct=this._pushOverlayOnScreen(ct,this._overlayRect,pe)),Lt=this._isRtl()?"end"===ae.overlayX?"left":"right":"end"===ae.overlayX?"right":"left","right"===Lt?Te.right=this._document.documentElement.clientWidth-(ct.x+this._overlayRect.width)+"px":Te.left=(0,b.HM)(ct.x),Te}_getScrollVisibility(){const ae=this._getOriginRect(),ie=this._pane.getBoundingClientRect(),pe=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:T(ae,pe),isOriginOutsideView:A(ae,pe),isOverlayClipped:T(ie,pe),isOverlayOutsideView:A(ie,pe)}}_subtractOverflows(ae,...ie){return ie.reduce((pe,Te)=>pe-Math.max(Te,0),ae)}_getNarrowedViewportRect(){const ae=this._document.documentElement.clientWidth,ie=this._document.documentElement.clientHeight,pe=this._viewportRuler.getViewportScrollPosition();return{top:pe.top+this._viewportMargin,left:pe.left+this._viewportMargin,right:pe.left+ae-this._viewportMargin,bottom:pe.top+ie-this._viewportMargin,width:ae-2*this._viewportMargin,height:ie-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ae,ie){return"x"===ie?null==ae.offsetX?this._offsetX:ae.offsetX:null==ae.offsetY?this._offsetY:ae.offsetY}_validatePositions(){}_addPanelClasses(ae){this._pane&&(0,b.Eq)(ae).forEach(ie=>{""!==ie&&-1===this._appliedPanelClasses.indexOf(ie)&&(this._appliedPanelClasses.push(ie),this._pane.classList.add(ie))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ae=>{this._pane.classList.remove(ae)}),this._appliedPanelClasses=[])}_getOriginRect(){const ae=this._origin;if(ae instanceof C.ElementRef)return ae.nativeElement.getBoundingClientRect();if(ae instanceof Element)return ae.getBoundingClientRect();const ie=ae.width||0,pe=ae.height||0;return{top:ae.y,bottom:ae.y+pe,left:ae.x,right:ae.x+ie,height:pe,width:ie}}}function ue(ee,ae){for(let ie in ae)ae.hasOwnProperty(ie)&&(ee[ie]=ae[ie]);return ee}function Me(ee){if("number"!=typeof ee&&null!=ee){const[ae,ie]=ee.split(q);return ie&&"px"!==ie?null:parseFloat(ae)}return ee||null}function Oe(ee){return{top:Math.floor(ee.top),right:Math.floor(ee.right),bottom:Math.floor(ee.bottom),left:Math.floor(ee.left),width:Math.floor(ee.width),height:Math.floor(ee.height)}}const $e="cdk-global-overlay-wrapper";class st{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ae){const ie=ae.getConfig();this._overlayRef=ae,this._width&&!ie.width&&ae.updateSize({width:this._width}),this._height&&!ie.height&&ae.updateSize({height:this._height}),ae.hostElement.classList.add($e),this._isDisposed=!1}top(ae=""){return this._bottomOffset="",this._topOffset=ae,this._alignItems="flex-start",this}left(ae=""){return this._xOffset=ae,this._xPosition="left",this}bottom(ae=""){return this._topOffset="",this._bottomOffset=ae,this._alignItems="flex-end",this}right(ae=""){return this._xOffset=ae,this._xPosition="right",this}start(ae=""){return this._xOffset=ae,this._xPosition="start",this}end(ae=""){return this._xOffset=ae,this._xPosition="end",this}width(ae=""){return this._overlayRef?this._overlayRef.updateSize({width:ae}):this._width=ae,this}height(ae=""){return this._overlayRef?this._overlayRef.updateSize({height:ae}):this._height=ae,this}centerHorizontally(ae=""){return this.left(ae),this._xPosition="center",this}centerVertically(ae=""){return this.top(ae),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ae=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement.style,pe=this._overlayRef.getConfig(),{width:Te,height:ct,maxWidth:Lt,maxHeight:Dt}=pe,Kt=!("100%"!==Te&&"100vw"!==Te||Lt&&"100%"!==Lt&&"100vw"!==Lt),ze=!("100%"!==ct&&"100vh"!==ct||Dt&&"100%"!==Dt&&"100vh"!==Dt),yt=this._xPosition,Bt=this._xOffset,$t="rtl"===this._overlayRef.getConfig().direction;let Yt="",Ue="",We="";Kt?We="flex-start":"center"===yt?(We="center",$t?Ue=Bt:Yt=Bt):$t?"left"===yt||"end"===yt?(We="flex-end",Yt=Bt):("right"===yt||"start"===yt)&&(We="flex-start",Ue=Bt):"left"===yt||"start"===yt?(We="flex-start",Yt=Bt):("right"===yt||"end"===yt)&&(We="flex-end",Ue=Bt),ae.position=this._cssPosition,ae.marginLeft=Kt?"0":Yt,ae.marginTop=ze?"0":this._topOffset,ae.marginBottom=this._bottomOffset,ae.marginRight=Kt?"0":Ue,ie.justifyContent=We,ie.alignItems=ze?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ae=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement,pe=ie.style;ie.classList.remove($e),pe.justifyContent=pe.alignItems=ae.marginTop=ae.marginBottom=ae.marginLeft=ae.marginRight=ae.position="",this._overlayRef=null,this._isDisposed=!0}}let Mt=(()=>{class ee{constructor(ie,pe,Te,ct){this._viewportRuler=ie,this._document=pe,this._platform=Te,this._overlayContainer=ct}global(){return new st}flexibleConnectedTo(ie){return new Q(ie,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return ee.\u0275fac=function(ie){return new(ie||ee)(C.\u0275\u0275inject(n.rL),C.\u0275\u0275inject(p.DOCUMENT),C.\u0275\u0275inject(o.t4),C.\u0275\u0275inject(ne))},ee.\u0275prov=C.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),tt=0,St=(()=>{class ee{constructor(ie,pe,Te,ct,Lt,Dt,Kt,ze,yt,Bt,$t,Yt){this.scrollStrategies=ie,this._overlayContainer=pe,this._componentFactoryResolver=Te,this._positionBuilder=ct,this._keyboardDispatcher=Lt,this._injector=Dt,this._ngZone=Kt,this._document=ze,this._directionality=yt,this._location=Bt,this._outsideClickDispatcher=$t,this._animationsModuleType=Yt}create(ie){const pe=this._createHostElement(),Te=this._createPaneElement(pe),ct=this._createPortalOutlet(Te),Lt=new D(ie);return Lt.direction=Lt.direction||this._directionality.value,new me(ct,pe,Te,Lt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ie){const pe=this._document.createElement("div");return pe.id="cdk-overlay-"+tt++,pe.classList.add("cdk-overlay-pane"),ie.appendChild(pe),pe}_createHostElement(){const ie=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ie),ie}_createPortalOutlet(ie){return this._appRef||(this._appRef=this._injector.get(C.ApplicationRef)),new d.u0(ie,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return ee.\u0275fac=function(ie){return new(ie||ee)(C.\u0275\u0275inject(E),C.\u0275\u0275inject(ne),C.\u0275\u0275inject(C.ComponentFactoryResolver),C.\u0275\u0275inject(Mt),C.\u0275\u0275inject(Y),C.\u0275\u0275inject(C.Injector),C.\u0275\u0275inject(C.NgZone),C.\u0275\u0275inject(p.DOCUMENT),C.\u0275\u0275inject(l.Is),C.\u0275\u0275inject(p.Location),C.\u0275\u0275inject(se),C.\u0275\u0275inject(C.ANIMATION_MODULE_TYPE,8))},ee.\u0275prov=C.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();const bt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],xt=new C.InjectionToken("cdk-connected-overlay-scroll-strategy");let nt=(()=>{class ee{constructor(ie){this.elementRef=ie}}return ee.\u0275fac=function(ie){return new(ie||ee)(C.\u0275\u0275directiveInject(C.ElementRef))},ee.\u0275dir=C.\u0275\u0275defineDirective({type:ee,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),ee})(),ot=(()=>{class ee{get offsetX(){return this._offsetX}set offsetX(ie){this._offsetX=ie,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ie){this._offsetY=ie,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ie){this._hasBackdrop=(0,b.Ig)(ie)}get lockPosition(){return this._lockPosition}set lockPosition(ie){this._lockPosition=(0,b.Ig)(ie)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ie){this._flexibleDimensions=(0,b.Ig)(ie)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ie){this._growAfterOpen=(0,b.Ig)(ie)}get push(){return this._push}set push(ie){this._push=(0,b.Ig)(ie)}constructor(ie,pe,Te,ct,Lt){this._overlay=ie,this._dir=Lt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.w0.EMPTY,this._attachSubscription=u.w0.EMPTY,this._detachSubscription=u.w0.EMPTY,this._positionSubscription=u.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!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 d.UE(pe,Te),this._scrollStrategyFactory=ct,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(ie){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ie.origin&&this.open&&this._position.apply()),ie.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=bt);const ie=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ie.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ie.detachments().subscribe(()=>this.detach.emit()),ie.keydownEvents().subscribe(pe=>{this.overlayKeydown.next(pe),pe.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(pe)&&(pe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(pe=>{this.overlayOutsideClick.next(pe)})}_buildConfig(){const ie=this._position=this.positionStrategy||this._createPositionStrategy(),pe=new D({direction:this._dir,positionStrategy:ie,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(pe.width=this.width),(this.height||0===this.height)&&(pe.height=this.height),(this.minWidth||0===this.minWidth)&&(pe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(pe.minHeight=this.minHeight),this.backdropClass&&(pe.backdropClass=this.backdropClass),this.panelClass&&(pe.panelClass=this.panelClass),pe}_updatePositionStrategy(ie){const pe=this.positions.map(Te=>({originX:Te.originX,originY:Te.originY,overlayX:Te.overlayX,overlayY:Te.overlayY,offsetX:Te.offsetX||this.offsetX,offsetY:Te.offsetY||this.offsetY,panelClass:Te.panelClass||void 0}));return ie.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(pe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ie=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ie),ie}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof nt?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(ie=>{this.backdropClick.emit(ie)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,s.o)(()=>this.positionChange.observers.length>0)).subscribe(ie=>{this.positionChange.emit(ie),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return ee.\u0275fac=function(ie){return new(ie||ee)(C.\u0275\u0275directiveInject(St),C.\u0275\u0275directiveInject(C.TemplateRef),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275directiveInject(xt),C.\u0275\u0275directiveInject(l.Is,8))},ee.\u0275dir=C.\u0275\u0275defineDirective({type:ee,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[C.\u0275\u0275NgOnChangesFeature]}),ee})();const rt={provide:xt,deps:[St],useFactory:function vt(ee){return()=>ee.scrollStrategies.reposition()}};let J=(()=>{class ee{}return ee.\u0275fac=function(ie){return new(ie||ee)},ee.\u0275mod=C.\u0275\u0275defineNgModule({type:ee}),ee.\u0275inj=C.\u0275\u0275defineInjector({providers:[St,rt],imports:[l.vT,d.eL,n.Cl,n.Cl]}),ee})()},2831:(Se,X,g)=>{"use strict";g.d(X,{Mq:()=>h,Oy:()=>A,ht:()=>w,i$:()=>d,kV:()=>x,qK:()=>c,sA:()=>L,t4:()=>b});var n=g(5879),p=g(6814);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let v,b=(()=>{class T{constructor(E){this._platformId=E,this.isBrowser=this._platformId?(0,p.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}}return T.\u0275fac=function(E){return new(E||T)(n.\u0275\u0275inject(n.PLATFORM_ID))},T.\u0275prov=n.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac,providedIn:"root"}),T})();const a=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function c(){if(v)return v;if("object"!=typeof document||!document)return v=new Set(a),v;let T=document.createElement("input");return v=new Set(a.filter(O=>(T.setAttribute("type",O),T.type===O))),v}let s,u,_;function d(T){return function l(){if(null==s&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>s=!0}))}finally{s=s||!1}return s}()?T:!!T.capture}function h(){if(null==u){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return u=!1,u;if("scrollBehavior"in document.documentElement.style)u=!0;else{const T=Element.prototype.scrollTo;u=!!T&&!/\{\s*\[native code\]\s*\}/.test(T.toString())}}return u}function x(T){if(function M(){if(null==_){const T=typeof document<"u"?document.head:null;_=!(!T||!T.createShadowRoot&&!T.attachShadow)}return _}()){const O=T.getRootNode?T.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&O instanceof ShadowRoot)return O}return null}function w(){let T=typeof document<"u"&&document?document.activeElement:null;for(;T&&T.shadowRoot;){const O=T.shadowRoot.activeElement;if(O===T)break;T=O}return T}function L(T){return T.composedPath?T.composedPath()[0]:T.target}function A(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Se,X,g)=>{"use strict";g.d(X,{C5:()=>l,Pl:()=>w,UE:()=>d,eL:()=>A,ig:()=>M,u0:()=>m});var n=g(5879),p=g(6814);class s{attach(E){return this._attachedHost=E,E.attach(this)}detach(){let E=this._attachedHost;null!=E&&(this._attachedHost=null,E.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(E){this._attachedHost=E}}class l extends s{constructor(E,D,R,j,N){super(),this.component=E,this.viewContainerRef=D,this.injector=R,this.componentFactoryResolver=j,this.projectableNodes=N}}class d extends s{constructor(E,D,R,j){super(),this.templateRef=E,this.viewContainerRef=D,this.context=R,this.injector=j}get origin(){return this.templateRef.elementRef}attach(E,D=this.context){return this.context=D,super.attach(E)}detach(){return this.context=void 0,super.detach()}}class r extends s{constructor(E){super(),this.element=E instanceof n.ElementRef?E.nativeElement:E}}class u{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(E){return E instanceof l?(this._attachedPortal=E,this.attachComponentPortal(E)):E instanceof d?(this._attachedPortal=E,this.attachTemplatePortal(E)):this.attachDomPortal&&E instanceof r?(this._attachedPortal=E,this.attachDomPortal(E)):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(E){this._disposeFn=E}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class m extends u{constructor(E,D,R,j,N){super(),this.outletElement=E,this._componentFactoryResolver=D,this._appRef=R,this._defaultInjector=j,this.attachDomPortal=S=>{const k=S.element,F=this._document.createComment("dom-portal");k.parentNode.insertBefore(F,k),this.outletElement.appendChild(k),this._attachedPortal=S,super.setDisposeFn(()=>{F.parentNode&&F.parentNode.replaceChild(k,F)})},this._document=N}attachComponentPortal(E){const R=(E.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(E.component);let j;return E.viewContainerRef?(j=E.viewContainerRef.createComponent(R,E.viewContainerRef.length,E.injector||E.viewContainerRef.injector,E.projectableNodes||void 0),this.setDisposeFn(()=>j.destroy())):(j=R.create(E.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(j.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(j.hostView),j.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(j)),this._attachedPortal=E,j}attachTemplatePortal(E){let D=E.viewContainerRef,R=D.createEmbeddedView(E.templateRef,E.context,{injector:E.injector});return R.rootNodes.forEach(j=>this.outletElement.appendChild(j)),R.detectChanges(),this.setDisposeFn(()=>{let j=D.indexOf(R);-1!==j&&D.remove(j)}),this._attachedPortal=E,R}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(E){return E.hostView.rootNodes[0]}}let M=(()=>{class O extends d{constructor(D,R){super(D,R)}}return O.\u0275fac=function(D){return new(D||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),w=(()=>{class O extends u{constructor(D,R,j){super(),this._componentFactoryResolver=D,this._viewContainerRef=R,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=N=>{const S=N.element,k=this._document.createComment("dom-portal");N.setAttachedHost(this),S.parentNode.insertBefore(k,S),this._getRootNode().appendChild(S),this._attachedPortal=N,super.setDisposeFn(()=>{k.parentNode&&k.parentNode.replaceChild(S,k)})},this._document=j}get portal(){return this._attachedPortal}set portal(D){this.hasAttached()&&!D&&!this._isInitialized||(this.hasAttached()&&super.detach(),D&&super.attach(D),this._attachedPortal=D||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(D){D.setAttachedHost(this);const R=null!=D.viewContainerRef?D.viewContainerRef:this._viewContainerRef,N=(D.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(D.component),S=R.createComponent(N,R.length,D.injector||R.injector,D.projectableNodes||void 0);return R!==this._viewContainerRef&&this._getRootNode().appendChild(S.hostView.rootNodes[0]),super.setDisposeFn(()=>S.destroy()),this._attachedPortal=D,this._attachedRef=S,this.attached.emit(S),S}attachTemplatePortal(D){D.setAttachedHost(this);const R=this._viewContainerRef.createEmbeddedView(D.templateRef,D.context,{injector:D.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=D,this._attachedRef=R,this.attached.emit(R),R}_getRootNode(){const D=this._viewContainerRef.element.nativeElement;return D.nodeType===D.ELEMENT_NODE?D:D.parentNode}}return O.\u0275fac=function(D){return new(D||O)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(p.DOCUMENT))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),A=(()=>{class O{}return O.\u0275fac=function(D){return new(D||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({}),O})()},6672:(Se,X,g)=>{"use strict";g.d(X,{Cl:()=>me,ZD:()=>ne,mF:()=>A,rL:()=>E});var n=g(2495),p=g(5879),C=g(8645),b=g(2096),o=g(5592),v=g(2438),s=(g(927),g(6410),g(8672)),l=g(2181),d=g(2831),r=g(6814),u=g(9388);let A=(()=>{class ${constructor(Q,ue,Me){this._ngZone=Q,this._platform=ue,this._scrolled=new C.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Me}register(Q){this.scrollContainers.has(Q)||this.scrollContainers.set(Q,Q.elementScrolled().subscribe(()=>this._scrolled.next(Q)))}deregister(Q){const ue=this.scrollContainers.get(Q);ue&&(ue.unsubscribe(),this.scrollContainers.delete(Q))}scrolled(Q=20){return this._platform.isBrowser?new o.y(ue=>{this._globalSubscription||this._addGlobalListener();const Me=Q>0?this._scrolled.pipe((0,s.e)(Q)).subscribe(ue):this._scrolled.subscribe(ue);return this._scrolledCount++,()=>{Me.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,b.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Q,ue)=>this.deregister(ue)),this._scrolled.complete()}ancestorScrolled(Q,ue){const Me=this.getAncestorScrollContainers(Q);return this.scrolled(ue).pipe((0,l.h)(Oe=>!Oe||Me.indexOf(Oe)>-1))}getAncestorScrollContainers(Q){const ue=[];return this.scrollContainers.forEach((Me,Oe)=>{this._scrollableContainsElement(Oe,Q)&&ue.push(Oe)}),ue}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Q,ue){let Me=(0,n.fI)(ue),Oe=Q.getElementRef().nativeElement;do{if(Me==Oe)return!0}while(Me=Me.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Q=this._getWindow();return(0,v.R)(Q.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return $.\u0275fac=function(Q){return new(Q||$)(p.\u0275\u0275inject(p.NgZone),p.\u0275\u0275inject(d.t4),p.\u0275\u0275inject(r.DOCUMENT,8))},$.\u0275prov=p.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),E=(()=>{class ${constructor(Q,ue,Me){this._platform=Q,this._change=new C.x,this._changeListener=Oe=>{this._change.next(Oe)},this._document=Me,ue.runOutsideAngular(()=>{if(Q.isBrowser){const Oe=this._getWindow();Oe.addEventListener("resize",this._changeListener),Oe.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Q=this._getWindow();Q.removeEventListener("resize",this._changeListener),Q.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Q={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Q}getViewportRect(){const Q=this.getViewportScrollPosition(),{width:ue,height:Me}=this.getViewportSize();return{top:Q.top,left:Q.left,bottom:Q.top+Me,right:Q.left+ue,height:Me,width:ue}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Q=this._document,ue=this._getWindow(),Me=Q.documentElement,Oe=Me.getBoundingClientRect();return{top:-Oe.top||Q.body.scrollTop||ue.scrollY||Me.scrollTop||0,left:-Oe.left||Q.body.scrollLeft||ue.scrollX||Me.scrollLeft||0}}change(Q=20){return Q>0?this._change.pipe((0,s.e)(Q)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Q=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Q.innerWidth,height:Q.innerHeight}:{width:0,height:0}}}return $.\u0275fac=function(Q){return new(Q||$)(p.\u0275\u0275inject(d.t4),p.\u0275\u0275inject(p.NgZone),p.\u0275\u0275inject(r.DOCUMENT,8))},$.\u0275prov=p.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"}),$})(),ne=(()=>{class ${}return $.\u0275fac=function(Q){return new(Q||$)},$.\u0275mod=p.\u0275\u0275defineNgModule({type:$}),$.\u0275inj=p.\u0275\u0275defineInjector({}),$})(),me=(()=>{class ${}return $.\u0275fac=function(Q){return new(Q||$)},$.\u0275mod=p.\u0275\u0275defineNgModule({type:$}),$.\u0275inj=p.\u0275\u0275defineInjector({imports:[u.vT,ne,u.vT,ne]}),$})()},6263:(Se,X,g)=>{"use strict";g.d(X,{Ky:()=>l,Lq:()=>a});var n=g(2831),p=g(5879),C=g(2495),b=g(6232),o=g(8645);const v=(0,n.i$)({passive:!0});let a=(()=>{class d{constructor(u,h){this._platform=u,this._ngZone=h,this._monitoredElements=new Map}monitor(u){if(!this._platform.isBrowser)return b.E;const h=(0,C.fI)(u),m=this._monitoredElements.get(h);if(m)return m.subject;const _=new o.x,M="cdk-text-field-autofilled",x=w=>{"cdk-text-field-autofill-start"!==w.animationName||h.classList.contains(M)?"cdk-text-field-autofill-end"===w.animationName&&h.classList.contains(M)&&(h.classList.remove(M),this._ngZone.run(()=>_.next({target:w.target,isAutofilled:!1}))):(h.classList.add(M),this._ngZone.run(()=>_.next({target:w.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{h.addEventListener("animationstart",x,v),h.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(h,{subject:_,unlisten:()=>{h.removeEventListener("animationstart",x,v)}}),_}stopMonitoring(u){const h=(0,C.fI)(u),m=this._monitoredElements.get(h);m&&(m.unlisten(),m.subject.complete(),h.classList.remove("cdk-text-field-autofill-monitored"),h.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(h))}ngOnDestroy(){this._monitoredElements.forEach((u,h)=>this.stopMonitoring(h))}}return d.\u0275fac=function(u){return new(u||d)(p.\u0275\u0275inject(n.t4),p.\u0275\u0275inject(p.NgZone))},d.\u0275prov=p.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),l=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275mod=p.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=p.\u0275\u0275defineInjector({}),d})()},6814:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{APP_BASE_HREF:()=>h,AsyncPipe:()=>kn,BrowserPlatformLocation:()=>s,CommonModule:()=>Gi,CurrencyPipe:()=>fe,DATE_PIPE_DEFAULT_OPTIONS:()=>rn,DATE_PIPE_DEFAULT_TIMEZONE:()=>yn,DOCUMENT:()=>v,DatePipe:()=>xn,DecimalPipe:()=>kt,FormStyle:()=>D,FormatWidth:()=>j,HashLocationStrategy:()=>_,I18nPluralPipe:()=>Ti,I18nSelectPipe:()=>zi,IMAGE_CONFIG:()=>ar,IMAGE_LOADER:()=>Fi,JsonPipe:()=>xi,KeyValuePipe:()=>gi,LOCATION_INITIALIZED:()=>c,Location:()=>M,LocationStrategy:()=>u,LowerCasePipe:()=>Un,NgClass:()=>ln,NgComponentOutlet:()=>en,NgFor:()=>Yn,NgForOf:()=>Yn,NgForOfContext:()=>An,NgIf:()=>Ii,NgIfContext:()=>oi,NgLocaleLocalization:()=>In,NgLocalization:()=>un,NgOptimizedImage:()=>Xo,NgPlural:()=>be,NgPluralCase:()=>ge,NgStyle:()=>Ge,NgSwitch:()=>Ct,NgSwitchCase:()=>Ft,NgSwitchDefault:()=>Ae,NgTemplateOutlet:()=>It,NumberFormatStyle:()=>O,NumberSymbol:()=>N,PRECONNECT_CHECK_BLOCKLIST:()=>_o,PathLocationStrategy:()=>m,PercentPipe:()=>U,PlatformLocation:()=>a,Plural:()=>E,SlicePipe:()=>Gt,TitleCasePipe:()=>$i,TranslationWidth:()=>R,UpperCasePipe:()=>er,VERSION:()=>Tt,ViewportScroller:()=>Ut,WeekDay:()=>S,XhrFactory:()=>zn,formatCurrency:()=>Li,formatDate:()=>ct,formatNumber:()=>wt,formatPercent:()=>Qi,getCurrencySymbol:()=>vt,getLocaleCurrencyCode:()=>$e,getLocaleCurrencyName:()=>Be,getLocaleCurrencySymbol:()=>Xe,getLocaleDateFormat:()=>q,getLocaleDateTimeFormat:()=>ue,getLocaleDayNames:()=>Y,getLocaleDayPeriods:()=>F,getLocaleDirection:()=>xt,getLocaleEraNames:()=>ne,getLocaleExtraDayPeriodRules:()=>St,getLocaleExtraDayPeriods:()=>bt,getLocaleFirstDayOfWeek:()=>me,getLocaleId:()=>k,getLocaleMonthNames:()=>se,getLocaleNumberFormat:()=>Oe,getLocaleNumberSymbol:()=>Me,getLocalePluralCase:()=>Mt,getLocaleTimeFormat:()=>Q,getLocaleWeekEndRange:()=>$,getNumberOfCurrencyDigits:()=>J,isPlatformBrowser:()=>ur,isPlatformServer:()=>Et,isPlatformWorkerApp:()=>_t,isPlatformWorkerUi:()=>ft,provideCloudflareLoader:()=>us,provideCloudinaryLoader:()=>Go,provideImageKitLoader:()=>Ko,provideImgixLoader:()=>He,registerLocaleData:()=>Zn,\u0275DomAdapter:()=>o,\u0275NullViewportScroller:()=>_n,\u0275PLATFORM_BROWSER_ID:()=>Vi,\u0275PLATFORM_SERVER_ID:()=>rr,\u0275PLATFORM_WORKER_APP_ID:()=>or,\u0275PLATFORM_WORKER_UI_ID:()=>Zi,\u0275getDOM:()=>C,\u0275parseCookieValue:()=>mi,\u0275setRootDomAdapter:()=>b});var n=g(5879);let p=null;function C(){return p}function b(z){p||(p=z)}class o{}const v=new n.InjectionToken("DocumentToken");let a=(()=>{class z{historyGo(le){throw new Error("Not implemented")}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:function(){return(0,n.inject)(s)},providedIn:"platform"}),z})();const c=new n.InjectionToken("Location Initialized");let s=(()=>{class z extends a{constructor(){super(),this._doc=(0,n.inject)(v),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(le){const Fe=C().getGlobalEventTarget(this._doc,"window");return Fe.addEventListener("popstate",le,!1),()=>Fe.removeEventListener("popstate",le)}onHashChange(le){const Fe=C().getGlobalEventTarget(this._doc,"window");return Fe.addEventListener("hashchange",le,!1),()=>Fe.removeEventListener("hashchange",le)}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(le){this._location.pathname=le}pushState(le,Fe,ht){this._history.pushState(le,Fe,ht)}replaceState(le,Fe,ht){this._history.replaceState(le,Fe,ht)}forward(){this._history.forward()}back(){this._history.back()}historyGo(le=0){this._history.go(le)}getState(){return this._history.state}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:function(){return new z},providedIn:"platform"}),z})();function l(z,Ie){if(0==z.length)return Ie;if(0==Ie.length)return z;let le=0;return z.endsWith("/")&&le++,Ie.startsWith("/")&&le++,2==le?z+Ie.substring(1):1==le?z+Ie:z+"/"+Ie}function d(z){const Ie=z.match(/#|\?|$/),le=Ie&&Ie.index||z.length;return z.slice(0,le-("/"===z[le-1]?1:0))+z.slice(le)}function r(z){return z&&"?"!==z[0]?"?"+z:z}let u=(()=>{class z{historyGo(le){throw new Error("Not implemented")}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:function(){return(0,n.inject)(m)},providedIn:"root"}),z})();const h=new n.InjectionToken("appBaseHref");let m=(()=>{class z extends u{constructor(le,Fe){super(),this._platformLocation=le,this._removeListenerFns=[],this._baseHref=Fe??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(v).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}prepareExternalUrl(le){return l(this._baseHref,le)}path(le=!1){const Fe=this._platformLocation.pathname+r(this._platformLocation.search),ht=this._platformLocation.hash;return ht&&le?`${Fe}${ht}`:Fe}pushState(le,Fe,ht,Ht){const Zt=this.prepareExternalUrl(ht+r(Ht));this._platformLocation.pushState(le,Fe,Zt)}replaceState(le,Fe,ht,Ht){const Zt=this.prepareExternalUrl(ht+r(Ht));this._platformLocation.replaceState(le,Fe,Zt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275inject(a),n.\u0275\u0275inject(h,8))},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),_=(()=>{class z extends u{constructor(le,Fe){super(),this._platformLocation=le,this._baseHref="",this._removeListenerFns=[],null!=Fe&&(this._baseHref=Fe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}path(le=!1){let Fe=this._platformLocation.hash;return null==Fe&&(Fe="#"),Fe.length>0?Fe.substring(1):Fe}prepareExternalUrl(le){const Fe=l(this._baseHref,le);return Fe.length>0?"#"+Fe:Fe}pushState(le,Fe,ht,Ht){let Zt=this.prepareExternalUrl(ht+r(Ht));0==Zt.length&&(Zt=this._platformLocation.pathname),this._platformLocation.pushState(le,Fe,Zt)}replaceState(le,Fe,ht,Ht){let Zt=this.prepareExternalUrl(ht+r(Ht));0==Zt.length&&(Zt=this._platformLocation.pathname),this._platformLocation.replaceState(le,Fe,Zt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275inject(a),n.\u0275\u0275inject(h,8))},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),M=(()=>{class z{constructor(le){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=le;const Fe=this._locationStrategy.getBaseHref();this._basePath=function A(z){if(new RegExp("^(https?:)?//").test(z)){const[,le]=z.split(/\/\/[^\/]+/);return le}return z}(d(L(Fe))),this._locationStrategy.onPopState(ht=>{this._subject.emit({url:this.path(!0),pop:!0,state:ht.state,type:ht.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(le=!1){return this.normalize(this._locationStrategy.path(le))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(le,Fe=""){return this.path()==this.normalize(le+r(Fe))}normalize(le){return z.stripTrailingSlash(function w(z,Ie){if(!z||!Ie.startsWith(z))return Ie;const le=Ie.substring(z.length);return""===le||["/",";","?","#"].includes(le[0])?le:Ie}(this._basePath,L(le)))}prepareExternalUrl(le){return le&&"/"!==le[0]&&(le="/"+le),this._locationStrategy.prepareExternalUrl(le)}go(le,Fe="",ht=null){this._locationStrategy.pushState(ht,"",le,Fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+r(Fe)),ht)}replaceState(le,Fe="",ht=null){this._locationStrategy.replaceState(ht,"",le,Fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+r(Fe)),ht)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(le=0){this._locationStrategy.historyGo?.(le)}onUrlChange(le){return this._urlChangeListeners.push(le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Fe=>{this._notifyUrlChangeListeners(Fe.url,Fe.state)})),()=>{const Fe=this._urlChangeListeners.indexOf(le);this._urlChangeListeners.splice(Fe,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(le="",Fe){this._urlChangeListeners.forEach(ht=>ht(le,Fe))}subscribe(le,Fe,ht){return this._subject.subscribe({next:le,error:Fe,complete:ht})}}return z.normalizeQueryParams=r,z.joinWithSlash=l,z.stripTrailingSlash=d,z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275inject(u))},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:function(){return function x(){return new M((0,n.\u0275\u0275inject)(u))}()},providedIn:"root"}),z})();function L(z){return z.replace(/\/index.html$/,"")}const T={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 O=function(z){return z[z.Decimal=0]="Decimal",z[z.Percent=1]="Percent",z[z.Currency=2]="Currency",z[z.Scientific=3]="Scientific",z}(O||{}),E=function(z){return z[z.Zero=0]="Zero",z[z.One=1]="One",z[z.Two=2]="Two",z[z.Few=3]="Few",z[z.Many=4]="Many",z[z.Other=5]="Other",z}(E||{}),D=function(z){return z[z.Format=0]="Format",z[z.Standalone=1]="Standalone",z}(D||{}),R=function(z){return z[z.Narrow=0]="Narrow",z[z.Abbreviated=1]="Abbreviated",z[z.Wide=2]="Wide",z[z.Short=3]="Short",z}(R||{}),j=function(z){return z[z.Short=0]="Short",z[z.Medium=1]="Medium",z[z.Long=2]="Long",z[z.Full=3]="Full",z}(j||{}),N=function(z){return z[z.Decimal=0]="Decimal",z[z.Group=1]="Group",z[z.List=2]="List",z[z.PercentSign=3]="PercentSign",z[z.PlusSign=4]="PlusSign",z[z.MinusSign=5]="MinusSign",z[z.Exponential=6]="Exponential",z[z.SuperscriptingExponent=7]="SuperscriptingExponent",z[z.PerMille=8]="PerMille",z[z.Infinity=9]="Infinity",z[z.NaN=10]="NaN",z[z.TimeSeparator=11]="TimeSeparator",z[z.CurrencyDecimal=12]="CurrencyDecimal",z[z.CurrencyGroup=13]="CurrencyGroup",z}(N||{}),S=function(z){return z[z.Sunday=0]="Sunday",z[z.Monday=1]="Monday",z[z.Tuesday=2]="Tuesday",z[z.Wednesday=3]="Wednesday",z[z.Thursday=4]="Thursday",z[z.Friday=5]="Friday",z[z.Saturday=6]="Saturday",z}(S||{});function k(z){return(0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.LocaleId]}function F(z,Ie,le){const Fe=(0,n.\u0275findLocaleData)(z),Ht=nt([Fe[n.\u0275LocaleDataIndex.DayPeriodsFormat],Fe[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ie);return nt(Ht,le)}function Y(z,Ie,le){const Fe=(0,n.\u0275findLocaleData)(z),Ht=nt([Fe[n.\u0275LocaleDataIndex.DaysFormat],Fe[n.\u0275LocaleDataIndex.DaysStandalone]],Ie);return nt(Ht,le)}function se(z,Ie,le){const Fe=(0,n.\u0275findLocaleData)(z),Ht=nt([Fe[n.\u0275LocaleDataIndex.MonthsFormat],Fe[n.\u0275LocaleDataIndex.MonthsStandalone]],Ie);return nt(Ht,le)}function ne(z,Ie){return nt((0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.Eras],Ie)}function me(z){return(0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function $(z){return(0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.WeekendRange]}function q(z,Ie){return nt((0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.DateFormat],Ie)}function Q(z,Ie){return nt((0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.TimeFormat],Ie)}function ue(z,Ie){return nt((0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.DateTimeFormat],Ie)}function Me(z,Ie){const le=(0,n.\u0275findLocaleData)(z),Fe=le[n.\u0275LocaleDataIndex.NumberSymbols][Ie];if(typeof Fe>"u"){if(Ie===N.CurrencyDecimal)return le[n.\u0275LocaleDataIndex.NumberSymbols][N.Decimal];if(Ie===N.CurrencyGroup)return le[n.\u0275LocaleDataIndex.NumberSymbols][N.Group]}return Fe}function Oe(z,Ie){return(0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.NumberFormats][Ie]}function Xe(z){return(0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Be(z){return(0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.CurrencyName]||null}function $e(z){return(0,n.\u0275getLocaleCurrencyCode)(z)}const Mt=n.\u0275getLocalePluralCase;function tt(z){if(!z[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${z[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function St(z){const Ie=(0,n.\u0275findLocaleData)(z);return tt(Ie),(Ie[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Fe=>"string"==typeof Fe?ot(Fe):[ot(Fe[0]),ot(Fe[1])])}function bt(z,Ie,le){const Fe=(0,n.\u0275findLocaleData)(z);tt(Fe);const Ht=nt([Fe[n.\u0275LocaleDataIndex.ExtraData][0],Fe[n.\u0275LocaleDataIndex.ExtraData][1]],Ie)||[];return nt(Ht,le)||[]}function xt(z){return(0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.Directionality]}function nt(z,Ie){for(let le=Ie;le>-1;le--)if(typeof z[le]<"u")return z[le];throw new Error("Locale data API: locale data undefined")}function ot(z){const[Ie,le]=z.split(":");return{hours:+Ie,minutes:+le}}function vt(z,Ie,le="en"){const Fe=function st(z){return(0,n.\u0275findLocaleData)(z)[n.\u0275LocaleDataIndex.Currencies]}(le)[z]||T[z]||[],ht=Fe[1];return"narrow"===Ie&&"string"==typeof ht?ht:Fe[0]||z}const rt=2;function J(z){let Ie;const le=T[z];return le&&(Ie=le[2]),"number"==typeof Ie?Ie:rt}const Ce=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ee={},ae=/((?:[^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 ie=function(z){return z[z.Short=0]="Short",z[z.ShortGMT=1]="ShortGMT",z[z.Long=2]="Long",z[z.Extended=3]="Extended",z}(ie||{}),pe=function(z){return z[z.FullYear=0]="FullYear",z[z.Month=1]="Month",z[z.Date=2]="Date",z[z.Hours=3]="Hours",z[z.Minutes=4]="Minutes",z[z.Seconds=5]="Seconds",z[z.FractionalSeconds=6]="FractionalSeconds",z[z.Day=7]="Day",z}(pe||{}),Te=function(z){return z[z.DayPeriods=0]="DayPeriods",z[z.Days=1]="Days",z[z.Months=2]="Months",z[z.Eras=3]="Eras",z}(Te||{});function ct(z,Ie,le,Fe){let ht=function Rt(z){if(qe(z))return z;if("number"==typeof z&&!isNaN(z))return new Date(z);if("string"==typeof z){if(z=z.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(z)){const[ht,Ht=1,Zt=1]=z.split("-").map(jn=>+jn);return Lt(ht,Ht-1,Zt)}const le=parseFloat(z);if(!isNaN(z-le))return new Date(le);let Fe;if(Fe=z.match(Ce))return function Ye(z){const Ie=new Date(0);let le=0,Fe=0;const ht=z[8]?Ie.setUTCFullYear:Ie.setFullYear,Ht=z[8]?Ie.setUTCHours:Ie.setHours;z[9]&&(le=Number(z[9]+z[10]),Fe=Number(z[9]+z[11])),ht.call(Ie,Number(z[1]),Number(z[2])-1,Number(z[3]));const Zt=Number(z[4]||0)-le,jn=Number(z[5]||0)-Fe,Ni=Number(z[6]||0),ji=Math.floor(1e3*parseFloat("0."+(z[7]||0)));return Ht.call(Ie,Zt,jn,Ni,ji),Ie}(Fe)}const Ie=new Date(z);if(!qe(Ie))throw new Error(`Unable to convert "${z}" into a date`);return Ie}(z);Ie=Dt(le,Ie)||Ie;let jn,Zt=[];for(;Ie;){if(jn=ae.exec(Ie),!jn){Zt.push(Ie);break}{Zt=Zt.concat(jn.slice(1));const pi=Zt.pop();if(!pi)break;Ie=pi}}let Ni=ht.getTimezoneOffset();Fe&&(Ni=ce(Fe,Ni),ht=function it(z,Ie,le){const Fe=le?-1:1,ht=z.getTimezoneOffset();return function Ee(z,Ie){return(z=new Date(z.getTime())).setMinutes(z.getMinutes()+Ie),z}(z,Fe*(ce(Ie,ht)-ht))}(ht,Fe,!0));let ji="";return Zt.forEach(pi=>{const Rn=function re(z){if(Z[z])return Z[z];let Ie;switch(z){case"G":case"GG":case"GGG":Ie=Yt(Te.Eras,R.Abbreviated);break;case"GGGG":Ie=Yt(Te.Eras,R.Wide);break;case"GGGGG":Ie=Yt(Te.Eras,R.Narrow);break;case"y":Ie=Bt(pe.FullYear,1,0,!1,!0);break;case"yy":Ie=Bt(pe.FullYear,2,0,!0,!0);break;case"yyy":Ie=Bt(pe.FullYear,3,0,!1,!0);break;case"yyyy":Ie=Bt(pe.FullYear,4,0,!1,!0);break;case"Y":Ie=ke(1);break;case"YY":Ie=ke(2,!0);break;case"YYY":Ie=ke(3);break;case"YYYY":Ie=ke(4);break;case"M":case"L":Ie=Bt(pe.Month,1,1);break;case"MM":case"LL":Ie=Bt(pe.Month,2,1);break;case"MMM":Ie=Yt(Te.Months,R.Abbreviated);break;case"MMMM":Ie=Yt(Te.Months,R.Wide);break;case"MMMMM":Ie=Yt(Te.Months,R.Narrow);break;case"LLL":Ie=Yt(Te.Months,R.Abbreviated,D.Standalone);break;case"LLLL":Ie=Yt(Te.Months,R.Wide,D.Standalone);break;case"LLLLL":Ie=Yt(Te.Months,R.Narrow,D.Standalone);break;case"w":Ie=je(1);break;case"ww":Ie=je(2);break;case"W":Ie=je(1,!0);break;case"d":Ie=Bt(pe.Date,1);break;case"dd":Ie=Bt(pe.Date,2);break;case"c":case"cc":Ie=Bt(pe.Day,1);break;case"ccc":Ie=Yt(Te.Days,R.Abbreviated,D.Standalone);break;case"cccc":Ie=Yt(Te.Days,R.Wide,D.Standalone);break;case"ccccc":Ie=Yt(Te.Days,R.Narrow,D.Standalone);break;case"cccccc":Ie=Yt(Te.Days,R.Short,D.Standalone);break;case"E":case"EE":case"EEE":Ie=Yt(Te.Days,R.Abbreviated);break;case"EEEE":Ie=Yt(Te.Days,R.Wide);break;case"EEEEE":Ie=Yt(Te.Days,R.Narrow);break;case"EEEEEE":Ie=Yt(Te.Days,R.Short);break;case"a":case"aa":case"aaa":Ie=Yt(Te.DayPeriods,R.Abbreviated);break;case"aaaa":Ie=Yt(Te.DayPeriods,R.Wide);break;case"aaaaa":Ie=Yt(Te.DayPeriods,R.Narrow);break;case"b":case"bb":case"bbb":Ie=Yt(Te.DayPeriods,R.Abbreviated,D.Standalone,!0);break;case"bbbb":Ie=Yt(Te.DayPeriods,R.Wide,D.Standalone,!0);break;case"bbbbb":Ie=Yt(Te.DayPeriods,R.Narrow,D.Standalone,!0);break;case"B":case"BB":case"BBB":Ie=Yt(Te.DayPeriods,R.Abbreviated,D.Format,!0);break;case"BBBB":Ie=Yt(Te.DayPeriods,R.Wide,D.Format,!0);break;case"BBBBB":Ie=Yt(Te.DayPeriods,R.Narrow,D.Format,!0);break;case"h":Ie=Bt(pe.Hours,1,-12);break;case"hh":Ie=Bt(pe.Hours,2,-12);break;case"H":Ie=Bt(pe.Hours,1);break;case"HH":Ie=Bt(pe.Hours,2);break;case"m":Ie=Bt(pe.Minutes,1);break;case"mm":Ie=Bt(pe.Minutes,2);break;case"s":Ie=Bt(pe.Seconds,1);break;case"ss":Ie=Bt(pe.Seconds,2);break;case"S":Ie=Bt(pe.FractionalSeconds,1);break;case"SS":Ie=Bt(pe.FractionalSeconds,2);break;case"SSS":Ie=Bt(pe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ie=We(ie.Short);break;case"ZZZZZ":Ie=We(ie.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ie=We(ie.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ie=We(ie.Long);break;default:return null}return Z[z]=Ie,Ie}(pi);ji+=Rn?Rn(ht,le,Ni):"''"===pi?"'":pi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ji}function Lt(z,Ie,le){const Fe=new Date(0);return Fe.setFullYear(z,Ie,le),Fe.setHours(0,0,0),Fe}function Dt(z,Ie){const le=k(z);if(ee[le]=ee[le]||{},ee[le][Ie])return ee[le][Ie];let Fe="";switch(Ie){case"shortDate":Fe=q(z,j.Short);break;case"mediumDate":Fe=q(z,j.Medium);break;case"longDate":Fe=q(z,j.Long);break;case"fullDate":Fe=q(z,j.Full);break;case"shortTime":Fe=Q(z,j.Short);break;case"mediumTime":Fe=Q(z,j.Medium);break;case"longTime":Fe=Q(z,j.Long);break;case"fullTime":Fe=Q(z,j.Full);break;case"short":const ht=Dt(z,"shortTime"),Ht=Dt(z,"shortDate");Fe=Kt(ue(z,j.Short),[ht,Ht]);break;case"medium":const Zt=Dt(z,"mediumTime"),jn=Dt(z,"mediumDate");Fe=Kt(ue(z,j.Medium),[Zt,jn]);break;case"long":const Ni=Dt(z,"longTime"),ji=Dt(z,"longDate");Fe=Kt(ue(z,j.Long),[Ni,ji]);break;case"full":const pi=Dt(z,"fullTime"),Rn=Dt(z,"fullDate");Fe=Kt(ue(z,j.Full),[pi,Rn])}return Fe&&(ee[le][Ie]=Fe),Fe}function Kt(z,Ie){return Ie&&(z=z.replace(/\{([^}]+)}/g,function(le,Fe){return null!=Ie&&Fe in Ie?Ie[Fe]:le})),z}function ze(z,Ie,le="-",Fe,ht){let Ht="";(z<0||ht&&z<=0)&&(ht?z=1-z:(z=-z,Ht=le));let Zt=String(z);for(;Zt.length0||jn>-le)&&(jn+=le),z===pe.Hours)0===jn&&-12===le&&(jn=12);else if(z===pe.FractionalSeconds)return function yt(z,Ie){return ze(z,3).substring(0,Ie)}(jn,Ie);const Ni=Me(Zt,N.MinusSign);return ze(jn,Ie,Ni,Fe,ht)}}function Yt(z,Ie,le=D.Format,Fe=!1){return function(ht,Ht){return function Ue(z,Ie,le,Fe,ht,Ht){switch(le){case Te.Months:return se(Ie,ht,Fe)[z.getMonth()];case Te.Days:return Y(Ie,ht,Fe)[z.getDay()];case Te.DayPeriods:const Zt=z.getHours(),jn=z.getMinutes();if(Ht){const ji=St(Ie),pi=bt(Ie,ht,Fe),Rn=ji.findIndex(qi=>{if(Array.isArray(qi)){const[Si,ir]=qi,Ar=Zt>=Si.hours&&jn>=Si.minutes,wr=Zt0?Math.floor(ht/60):Math.ceil(ht/60);switch(z){case ie.Short:return(ht>=0?"+":"")+ze(Zt,2,Ht)+ze(Math.abs(ht%60),2,Ht);case ie.ShortGMT:return"GMT"+(ht>=0?"+":"")+ze(Zt,1,Ht);case ie.Long:return"GMT"+(ht>=0?"+":"")+ze(Zt,2,Ht)+":"+ze(Math.abs(ht%60),2,Ht);case ie.Extended:return 0===Fe?"Z":(ht>=0?"+":"")+ze(Zt,2,Ht)+":"+ze(Math.abs(ht%60),2,Ht);default:throw new Error(`Unknown zone width "${z}"`)}}}const ve=0,we=4;function De(z){return Lt(z.getFullYear(),z.getMonth(),z.getDate()+(we-z.getDay()))}function je(z,Ie=!1){return function(le,Fe){let ht;if(Ie){const Ht=new Date(le.getFullYear(),le.getMonth(),1).getDay()-1,Zt=le.getDate();ht=1+Math.floor((Zt+Ht)/7)}else{const Ht=De(le),Zt=function at(z){const Ie=Lt(z,ve,1).getDay();return Lt(z,0,1+(Ie<=we?we:we+7)-Ie)}(Ht.getFullYear()),jn=Ht.getTime()-Zt.getTime();ht=1+Math.round(jn/6048e5)}return ze(ht,z,Me(Fe,N.MinusSign))}}function ke(z,Ie=!1){return function(le,Fe){return ze(De(le).getFullYear(),z,Me(Fe,N.MinusSign),Ie)}}const Z={};function ce(z,Ie){z=z.replace(/:/g,"");const le=Date.parse("Jan 01, 1970 00:00:00 "+z)/6e4;return isNaN(le)?Ie:le}function qe(z){return z instanceof Date&&!isNaN(z.valueOf())}const Ne=/^(\d+)?\.((\d+)(-(\d+))?)?$/,dt=22,At=".",tn="0",wn=";",Tn=",",Sn="#",Mn="\xa4",Ci="%";function di(z,Ie,le,Fe,ht,Ht,Zt=!1){let jn="",Ni=!1;if(isFinite(z)){let ji=function qt(z){let Fe,ht,Ht,Zt,jn,Ie=Math.abs(z)+"",le=0;for((ht=Ie.indexOf(At))>-1&&(Ie=Ie.replace(At,"")),(Ht=Ie.search(/e/i))>0?(ht<0&&(ht=Ht),ht+=+Ie.slice(Ht+1),Ie=Ie.substring(0,Ht)):ht<0&&(ht=Ie.length),Ht=0;Ie.charAt(Ht)===tn;Ht++);if(Ht===(jn=Ie.length))Fe=[0],ht=1;else{for(jn--;Ie.charAt(jn)===tn;)jn--;for(ht-=Ht,Fe=[],Zt=0;Ht<=jn;Ht++,Zt++)Fe[Zt]=Number(Ie.charAt(Ht))}return ht>dt&&(Fe=Fe.splice(0,dt-1),le=ht-1,ht=1),{digits:Fe,exponent:le,integerLen:ht}}(z);Zt&&(ji=function pt(z){if(0===z.digits[0])return z;const Ie=z.digits.length-z.integerLen;return z.exponent?z.exponent+=2:(0===Ie?z.digits.push(0,0):1===Ie&&z.digits.push(0),z.integerLen+=2),z}(ji));let pi=Ie.minInt,Rn=Ie.minFrac,qi=Ie.maxFrac;if(Ht){const fr=Ht.match(Ne);if(null===fr)throw new Error(`${Ht} is not a valid digit info`);const Kr=fr[1],lr=fr[3],Nr=fr[5];null!=Kr&&(pi=hn(Kr)),null!=lr&&(Rn=hn(lr)),null!=Nr?qi=hn(Nr):null!=lr&&Rn>qi&&(qi=Rn)}!function on(z,Ie,le){if(Ie>le)throw new Error(`The minimum number of digits after fraction (${Ie}) is higher than the maximum (${le}).`);let Fe=z.digits,ht=Fe.length-z.integerLen;const Ht=Math.min(Math.max(Ie,ht),le);let Zt=Ht+z.integerLen,jn=Fe[Zt];if(Zt>0){Fe.splice(Math.max(z.integerLen,Zt));for(let Rn=Zt;Rn=5)if(Zt-1<0){for(let Rn=0;Rn>Zt;Rn--)Fe.unshift(0),z.integerLen++;Fe.unshift(1),z.integerLen++}else Fe[Zt-1]++;for(;ht=ji?ir.pop():Ni=!1),qi>=10?1:0},0);pi&&(Fe.unshift(pi),z.integerLen++)}(ji,Rn,qi);let Si=ji.digits,ir=ji.integerLen;const Ar=ji.exponent;let wr=[];for(Ni=Si.every(fr=>!fr);ir0?wr=Si.splice(ir,Si.length):(wr=Si,Si=[0]);const Kn=[];for(Si.length>=Ie.lgSize&&Kn.unshift(Si.splice(-Ie.lgSize,Si.length).join(""));Si.length>Ie.gSize;)Kn.unshift(Si.splice(-Ie.gSize,Si.length).join(""));Si.length&&Kn.unshift(Si.join("")),jn=Kn.join(Me(le,Fe)),wr.length&&(jn+=Me(le,ht)+wr.join("")),Ar&&(jn+=Me(le,N.Exponential)+"+"+Ar)}else jn=Me(le,N.Infinity);return jn=z<0&&!Ni?Ie.negPre+jn+Ie.negSuf:Ie.posPre+jn+Ie.posSuf,jn}function Li(z,Ie,le,Fe,ht){const Zt=mt(Oe(Ie,O.Currency),Me(Ie,N.MinusSign));return Zt.minFrac=J(Fe),Zt.maxFrac=Zt.minFrac,di(z,Zt,Ie,N.CurrencyGroup,N.CurrencyDecimal,ht).replace(Mn,le).replace(Mn,"").trim()}function Qi(z,Ie,le){return di(z,mt(Oe(Ie,O.Percent),Me(Ie,N.MinusSign)),Ie,N.Group,N.Decimal,le,!0).replace(new RegExp(Ci,"g"),Me(Ie,N.PercentSign))}function wt(z,Ie,le){return di(z,mt(Oe(Ie,O.Decimal),Me(Ie,N.MinusSign)),Ie,N.Group,N.Decimal,le)}function mt(z,Ie="-"){const le={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Fe=z.split(wn),ht=Fe[0],Ht=Fe[1],Zt=-1!==ht.indexOf(At)?ht.split(At):[ht.substring(0,ht.lastIndexOf(tn)+1),ht.substring(ht.lastIndexOf(tn)+1)],jn=Zt[0],Ni=Zt[1]||"";le.posPre=jn.substring(0,jn.indexOf(Sn));for(let pi=0;pi{class z{}return z.\u0275fac=function(le){return new(le||z)},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:function(le){let Fe=null;return le?Fe=new le:(ht=n.\u0275\u0275inject(n.LOCALE_ID),Fe=new In(ht)),Fe;var ht},providedIn:"root"}),z})();function $n(z,Ie,le,Fe){let ht=`=${z}`;if(Ie.indexOf(ht)>-1||(ht=le.getPluralCategory(z,Fe),Ie.indexOf(ht)>-1))return ht;if(Ie.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${z}"`)}let In=(()=>{class z extends un{constructor(le){super(),this.locale=le}getPluralCategory(le,Fe){switch(Mt(Fe||this.locale)(le)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275inject(n.LOCALE_ID))},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})();function Zn(z,Ie,le){return(0,n.\u0275registerLocaleData)(z,Ie,le)}function mi(z,Ie){Ie=encodeURIComponent(Ie);for(const le of z.split(";")){const Fe=le.indexOf("="),[ht,Ht]=-1==Fe?[le,""]:[le.slice(0,Fe),le.slice(Fe+1)];if(ht.trim()===Ie)return decodeURIComponent(Ht)}return null}const Qn=/\s+/,ri=[];let ln=(()=>{class z{constructor(le,Fe,ht,Ht){this._iterableDiffers=le,this._keyValueDiffers=Fe,this._ngEl=ht,this._renderer=Ht,this.initialClasses=ri,this.stateMap=new Map}set klass(le){this.initialClasses=null!=le?le.trim().split(Qn):ri}set ngClass(le){this.rawClass="string"==typeof le?le.trim().split(Qn):le}ngDoCheck(){for(const Fe of this.initialClasses)this._updateState(Fe,!0);const le=this.rawClass;if(Array.isArray(le)||le instanceof Set)for(const Fe of le)this._updateState(Fe,!0);else if(null!=le)for(const Fe of Object.keys(le))this._updateState(Fe,!!le[Fe]);this._applyStateDiff()}_updateState(le,Fe){const ht=this.stateMap.get(le);void 0!==ht?(ht.enabled!==Fe&&(ht.changed=!0,ht.enabled=Fe),ht.touched=!0):this.stateMap.set(le,{enabled:Fe,changed:!0,touched:!0})}_applyStateDiff(){for(const le of this.stateMap){const Fe=le[0],ht=le[1];ht.changed?(this._toggleClass(Fe,ht.enabled),ht.changed=!1):ht.touched||(ht.enabled&&this._toggleClass(Fe,!1),this.stateMap.delete(Fe)),ht.touched=!1}}_toggleClass(le,Fe){(le=le.trim()).length>0&&le.split(Qn).forEach(ht=>{Fe?this._renderer.addClass(this._ngEl.nativeElement,ht):this._renderer.removeClass(this._ngEl.nativeElement,ht)})}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),z})(),en=(()=>{class z{constructor(le){this._viewContainerRef=le,this.ngComponentOutlet=null}ngOnChanges(le){const{_viewContainerRef:Fe,ngComponentOutletNgModule:ht,ngComponentOutletNgModuleFactory:Ht}=this;if(Fe.clear(),this._componentRef=void 0,this.ngComponentOutlet){const Zt=this.ngComponentOutletInjector||Fe.parentInjector;(le.ngComponentOutletNgModule||le.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=ht?(0,n.createNgModule)(ht,Dn(Zt)):Ht?Ht.create(Dn(Zt)):void 0),this._componentRef=Fe.createComponent(this.ngComponentOutlet,{index:Fe.length,injector:Zt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),z})();function Dn(z){return z.get(n.NgModuleRef).injector}class An{constructor(Ie,le,Fe,ht){this.$implicit=Ie,this.ngForOf=le,this.index=Fe,this.count=ht}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Yn=(()=>{class z{set ngForOf(le){this._ngForOf=le,this._ngForOfDirty=!0}set ngForTrackBy(le){this._trackByFn=le}get ngForTrackBy(){return this._trackByFn}constructor(le,Fe,ht){this._viewContainer=le,this._template=Fe,this._differs=ht,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(le){le&&(this._template=le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const le=this._ngForOf;!this._differ&&le&&(this._differ=this._differs.find(le).create(this.ngForTrackBy))}if(this._differ){const le=this._differ.diff(this._ngForOf);le&&this._applyChanges(le)}}_applyChanges(le){const Fe=this._viewContainer;le.forEachOperation((ht,Ht,Zt)=>{if(null==ht.previousIndex)Fe.createEmbeddedView(this._template,new An(ht.item,this._ngForOf,-1,-1),null===Zt?void 0:Zt);else if(null==Zt)Fe.remove(null===Ht?void 0:Ht);else if(null!==Ht){const jn=Fe.get(Ht);Fe.move(jn,Zt),si(jn,ht)}});for(let ht=0,Ht=Fe.length;ht{si(Fe.get(ht.currentIndex),ht)})}static ngTemplateContextGuard(le,Fe){return!0}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),z})();function si(z,Ie){z.context.$implicit=Ie.item}let Ii=(()=>{class z{constructor(le,Fe){this._viewContainer=le,this._context=new oi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Fe}set ngIf(le){this._context.$implicit=this._context.ngIf=le,this._updateView()}set ngIfThen(le){li("ngIfThen",le),this._thenTemplateRef=le,this._thenViewRef=null,this._updateView()}set ngIfElse(le){li("ngIfElse",le),this._elseTemplateRef=le,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(le,Fe){return!0}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),z})();class oi{constructor(){this.$implicit=null,this.ngIf=null}}function li(z,Ie){if(Ie&&!Ie.createEmbeddedView)throw new Error(`${z} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Ie)}'.`)}class Pi{constructor(Ie,le){this._viewContainerRef=Ie,this._templateRef=le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ie){Ie&&!this._created?this.create():!Ie&&this._created&&this.destroy()}}let Ct=(()=>{class z{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(le){this._ngSwitch=le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(le){this._defaultViews.push(le)}_matchCase(le){const Fe=le==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Fe,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Fe}_updateDefaultCases(le){if(this._defaultViews.length>0&&le!==this._defaultUsed){this._defaultUsed=le;for(const Fe of this._defaultViews)Fe.enforceState(le)}}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),z})(),Ft=(()=>{class z{constructor(le,Fe,ht){this.ngSwitch=ht,ht._addCase(),this._view=new Pi(le,Fe)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Ct,9))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),z})(),Ae=(()=>{class z{constructor(le,Fe,ht){ht._addDefault(new Pi(le,Fe))}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Ct,9))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngSwitchDefault",""]],standalone:!0}),z})(),be=(()=>{class z{constructor(le){this._localization=le,this._caseViews={}}set ngPlural(le){this._updateView(le)}addCase(le,Fe){this._caseViews[le]=Fe}_updateView(le){this._clearViews();const ht=$n(le,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[ht])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(le){le&&(this._activeView=le,this._activeView.create())}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(un))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),z})(),ge=(()=>{class z{constructor(le,Fe,ht,Ht){this.value=le;const Zt=!isNaN(Number(le));Ht.addCase(Zt?`=${le}`:le,new Pi(ht,Fe))}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(be,1))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngPluralCase",""]],standalone:!0}),z})(),Ge=(()=>{class z{constructor(le,Fe,ht){this._ngEl=le,this._differs=Fe,this._renderer=ht,this._ngStyle=null,this._differ=null}set ngStyle(le){this._ngStyle=le,!this._differ&&le&&(this._differ=this._differs.find(le).create())}ngDoCheck(){if(this._differ){const le=this._differ.diff(this._ngStyle);le&&this._applyChanges(le)}}_setStyle(le,Fe){const[ht,Ht]=le.split("."),Zt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Fe?this._renderer.setStyle(this._ngEl.nativeElement,ht,Ht?`${Fe}${Ht}`:Fe,Zt):this._renderer.removeStyle(this._ngEl.nativeElement,ht,Zt)}_applyChanges(le){le.forEachRemovedItem(Fe=>this._setStyle(Fe.key,null)),le.forEachAddedItem(Fe=>this._setStyle(Fe.key,Fe.currentValue)),le.forEachChangedItem(Fe=>this._setStyle(Fe.key,Fe.currentValue))}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),z})(),It=(()=>{class z{constructor(le){this._viewContainerRef=le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(le){if(le.ngTemplateOutlet||le.ngTemplateOutletInjector){const Fe=this._viewContainerRef;if(this._viewRef&&Fe.remove(Fe.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ht,ngTemplateOutletContext:Ht,ngTemplateOutletInjector:Zt}=this;this._viewRef=Fe.createEmbeddedView(ht,Ht,Zt?{injector:Zt}:void 0)}else this._viewRef=null}else this._viewRef&&le.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),z})();function an(z,Ie){return new n.\u0275RuntimeError(2100,!1)}class gn{createSubscription(Ie,le){return(0,n.untracked)(()=>Ie.subscribe({next:le,error:Fe=>{throw Fe}}))}dispose(Ie){(0,n.untracked)(()=>Ie.unsubscribe())}}class pn{createSubscription(Ie,le){return Ie.then(le,Fe=>{throw Fe})}dispose(Ie){}}const Jn=new pn,Nn=new gn;let kn=(()=>{class z{constructor(le){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=le}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(le){return this._obj?le!==this._obj?(this._dispose(),this.transform(le)):this._latestValue:(le&&this._subscribe(le),this._latestValue)}_subscribe(le){this._obj=le,this._strategy=this._selectStrategy(le),this._subscription=this._strategy.createSubscription(le,Fe=>this._updateLatestValue(le,Fe))}_selectStrategy(le){if((0,n.\u0275isPromise)(le))return Jn;if((0,n.\u0275isSubscribable)(le))return Nn;throw an()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(le,Fe){le===this._obj&&(this._latestValue=Fe,this._ref.markForCheck())}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},z.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:z,pure:!1,standalone:!0}),z})(),Un=(()=>{class z{transform(le){if(null==le)return null;if("string"!=typeof le)throw an();return le.toLowerCase()}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:z,pure:!0,standalone:!0}),z})();const vi=/(?:[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 $i=(()=>{class z{transform(le){if(null==le)return null;if("string"!=typeof le)throw an();return le.replace(vi,Fe=>Fe[0].toUpperCase()+Fe.slice(1).toLowerCase())}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:z,pure:!0,standalone:!0}),z})(),er=(()=>{class z{transform(le){if(null==le)return null;if("string"!=typeof le)throw an();return le.toUpperCase()}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:z,pure:!0,standalone:!0}),z})();const yn=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),rn=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let xn=(()=>{class z{constructor(le,Fe,ht){this.locale=le,this.defaultTimezone=Fe,this.defaultOptions=ht}transform(le,Fe,ht,Ht){if(null==le||""===le||le!=le)return null;try{return ct(le,Fe??this.defaultOptions?.dateFormat??"mediumDate",Ht||this.locale,ht??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Zt){throw an()}}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(yn,24),n.\u0275\u0275directiveInject(rn,24))},z.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:z,pure:!0,standalone:!0}),z})();const ti=/#/g;let Ti=(()=>{class z{constructor(le){this._localization=le}transform(le,Fe,ht){if(null==le)return"";if("object"!=typeof Fe||null===Fe)throw an();return Fe[$n(le,Object.keys(Fe),this._localization,ht)].replace(ti,le.toString())}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(un,16))},z.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:z,pure:!0,standalone:!0}),z})(),zi=(()=>{class z{transform(le,Fe){if(null==le)return"";if("object"!=typeof Fe||"string"!=typeof le)throw an();return Fe.hasOwnProperty(le)?Fe[le]:Fe.hasOwnProperty("other")?Fe.other:""}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:z,pure:!0,standalone:!0}),z})(),xi=(()=>{class z{transform(le){return JSON.stringify(le,null,2)}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:z,pure:!1,standalone:!0}),z})(),gi=(()=>{class z{constructor(le){this.differs=le,this.keyValues=[],this.compareFn=Ke}transform(le,Fe=Ke){if(!le||!(le instanceof Map)&&"object"!=typeof le)return null;this.differ||(this.differ=this.differs.find(le).create());const ht=this.differ.diff(le),Ht=Fe!==this.compareFn;return ht&&(this.keyValues=[],ht.forEachItem(Zt=>{this.keyValues.push(function _r(z,Ie){return{key:z,value:Ie}}(Zt.key,Zt.currentValue))})),(ht||Ht)&&(this.keyValues.sort(Fe),this.compareFn=Fe),this.keyValues}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},z.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:z,pure:!1,standalone:!0}),z})();function Ke(z,Ie){const le=z.key,Fe=Ie.key;if(le===Fe)return 0;if(void 0===le)return 1;if(void 0===Fe)return-1;if(null===le)return 1;if(null===Fe)return-1;if("string"==typeof le&&"string"==typeof Fe)return le{class z{constructor(le){this._locale=le}transform(le,Fe,ht){if(!Pe(le))return null;ht=ht||this._locale;try{return wt(Je(le),ht,Fe)}catch(Ht){throw an()}}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},z.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:z,pure:!0,standalone:!0}),z})(),U=(()=>{class z{constructor(le){this._locale=le}transform(le,Fe,ht){if(!Pe(le))return null;ht=ht||this._locale;try{return Qi(Je(le),ht,Fe)}catch(Ht){throw an()}}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},z.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:z,pure:!0,standalone:!0}),z})(),fe=(()=>{class z{constructor(le,Fe="USD"){this._locale=le,this._defaultCurrencyCode=Fe}transform(le,Fe=this._defaultCurrencyCode,ht="symbol",Ht,Zt){if(!Pe(le))return null;Zt=Zt||this._locale,"boolean"==typeof ht&&(ht=ht?"symbol":"code");let jn=Fe||this._defaultCurrencyCode;"code"!==ht&&(jn="symbol"===ht||"symbol-narrow"===ht?vt(jn,"symbol"===ht?"wide":"narrow",Zt):ht);try{return Li(Je(le),Zt,jn,Fe,Ht)}catch(Ni){throw an()}}}return z.\u0275fac=function(le){return new(le||z)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},z.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:z,pure:!0,standalone:!0}),z})();function Pe(z){return!(null==z||""===z||z!=z)}function Je(z){if("string"==typeof z&&!isNaN(Number(z)-parseFloat(z)))return Number(z);if("number"!=typeof z)throw new Error(`${z} is not a number`);return z}let Gt=(()=>{class z{transform(le,Fe,ht){if(null==le)return null;if(!this.supports(le))throw an();return le.slice(Fe,ht)}supports(le){return"string"==typeof le||Array.isArray(le)}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:z,pure:!1,standalone:!0}),z})(),Gi=(()=>{class z{}return z.\u0275fac=function(le){return new(le||z)},z.\u0275mod=n.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=n.\u0275\u0275defineInjector({}),z})();const Vi="browser",rr="server",or="browserWorkerApp",Zi="browserWorkerUi";function ur(z){return z===Vi}function Et(z){return z===rr}function _t(z){return z===or}function ft(z){return z===Zi}const Tt=new n.Version("16.1.7");let Ut=(()=>{class z{}return z.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:z,providedIn:"root",factory:()=>new Wt((0,n.\u0275\u0275inject)(v),window)}),z})();class Wt{constructor(Ie,le){this.document=Ie,this.window=le,this.offset=()=>[0,0]}setOffset(Ie){this.offset=Array.isArray(Ie)?()=>Ie:Ie}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Ie){this.supportsScrolling()&&this.window.scrollTo(Ie[0],Ie[1])}scrollToAnchor(Ie){if(!this.supportsScrolling())return;const le=function Cn(z,Ie){const le=z.getElementById(Ie)||z.getElementsByName(Ie)[0];if(le)return le;if("function"==typeof z.createTreeWalker&&z.body&&"function"==typeof z.body.attachShadow){const Fe=z.createTreeWalker(z.body,NodeFilter.SHOW_ELEMENT);let ht=Fe.currentNode;for(;ht;){const Ht=ht.shadowRoot;if(Ht){const Zt=Ht.getElementById(Ie)||Ht.querySelector(`[name="${Ie}"]`);if(Zt)return Zt}ht=Fe.nextNode()}}return null}(this.document,Ie);le&&(this.scrollToElement(le),le.focus())}setHistoryScrollRestoration(Ie){if(this.supportScrollRestoration()){const le=this.window.history;le&&le.scrollRestoration&&(le.scrollRestoration=Ie)}}scrollToElement(Ie){const le=Ie.getBoundingClientRect(),Fe=le.left+this.window.pageXOffset,ht=le.top+this.window.pageYOffset,Ht=this.offset();this.window.scrollTo(Fe-Ht[0],ht-Ht[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Ie=nn(this.window.history)||nn(Object.getPrototypeOf(this.window.history));return!(!Ie||!Ie.writable&&!Ie.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function nn(z){return Object.getOwnPropertyDescriptor(z,"scrollRestoration")}class _n{setOffset(Ie){}getScrollPosition(){return[0,0]}scrollToPosition(Ie){}scrollToAnchor(Ie){}setHistoryScrollRestoration(Ie){}}class zn{}function Xn(z){return z.startsWith("/")?z.slice(1):z}const ai=z=>z.src,Fi=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>ai});function Xi(z,Ie){return function(Fe){return function Mi(z){if("string"!=typeof z||""===z.trim())return!1;try{return new URL(z),!0}catch{return!1}}(Fe)||function Jr(z,Ie){throw new n.\u0275RuntimeError(2959,!1)}(),Fe=function ni(z){return z.endsWith("/")?z.slice(0,-1):z}(Fe),[{provide:Fi,useValue:Zt=>(function Ri(z){return/^https?:\/\//.test(z)}(Zt.src)&&function Ho(z,Ie){throw new n.\u0275RuntimeError(2959,!1)}(),z(Fe,{...Zt,src:Xn(Zt.src)}))}]}}const us=Xi(oo);function oo(z,Ie){let le="format=auto";return Ie.width&&(le+=`,width=${Ie.width}`),`${z}/cdn-cgi/image/${le}/${Ie.src}`}const Go=Xi(go);function go(z,Ie){let le="f_auto,q_auto";return Ie.width&&(le+=`,w_${Ie.width}`),`${z}/image/upload/${le}/${Ie.src}`}const Ko=Xi(Yo);function Yo(z,Ie){const{src:le,width:Fe}=Ie;let ht;return ht=Fe?[z,`tr:w-${Fe}`,le]:[z,le],ht.join("/")}const He=Xi(Qt);function Qt(z,Ie){const le=new URL(`${z}/${Ie.src}`);return le.searchParams.set("auto","format"),Ie.width&&le.searchParams.set("w",Ie.width.toString()),le.href}const _o=new n.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),hs=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let fs=(()=>{class z{constructor(){this.preloadedImages=(0,n.inject)(hs),this.document=(0,n.inject)(v)}createPreloadLinkTag(le,Fe,ht,Ht){if(this.preloadedImages.has(Fe))return;this.preloadedImages.add(Fe);const Zt=le.createElement("link");le.setAttribute(Zt,"as","image"),le.setAttribute(Zt,"href",Fe),le.setAttribute(Zt,"rel","preload"),le.setAttribute(Zt,"fetchpriority","high"),Ht&&le.setAttribute(Zt,"imageSizes",Ht),ht&&le.setAttribute(Zt,"imageSrcset",ht),le.appendChild(this.document.head,Zt)}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275prov=n.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Zo=/^((\s*\d+w\s*(,|$)){1,})$/,so=[1,2],Ao={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},ar=new n.InjectionToken("ImageConfig",{providedIn:"root",factory:()=>Ao});let Xo=(()=>{class z{constructor(){this.imageLoader=(0,n.inject)(Fi),this.config=function eo(z){let Ie={};return z.breakpoints&&(Ie.breakpoints=z.breakpoints.sort((le,Fe)=>le-Fe)),Object.assign({},Ao,z,Ie)}((0,n.inject)(ar)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=Et((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(fs),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const le=this.getRewrittenSrc();let Fe;this.setHostAttribute("src",le),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?Fe=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Fe=this.getAutomaticSrcset()),Fe&&this.setHostAttribute("srcset",Fe),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,le,Fe,this.sizes)}ngOnChanges(le){}callImageLoader(le){let Fe=le;return this.loaderParams&&(Fe.loaderParams=this.loaderParams),this.imageLoader(Fe)}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 le=Zo.test(this.ngSrcset);return this.ngSrcset.split(",").filter(ht=>""!==ht).map(ht=>{ht=ht.trim();const Ht=le?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Ht})} ${ht}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:le}=this.config;let Fe=le;return"100vw"===this.sizes?.trim()&&(Fe=le.filter(Ht=>Ht>=640)),Fe.map(Ht=>`${this.callImageLoader({src:this.ngSrc,width:Ht})} ${Ht}w`).join(", ")}getFixedSrcset(){return so.map(Fe=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Fe})} ${Fe}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ai&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(le,Fe){this.renderer.setAttribute(this.imgElement,le,Fe)}}return z.\u0275fac=function(le){return new(le||z)},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(le,Fe){2&le&&n.\u0275\u0275styleProp("position",Fe.fill?"absolute":null)("width",Fe.fill?"100%":null)("height",Fe.fill?"100%":null)("inset",Fe.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.numberAttribute],height:["height","height",n.numberAttribute],loading:"loading",priority:["priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:["fill","fill",n.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]}),z})()},9862:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{FetchBackend:()=>Be,HTTP_INTERCEPTORS:()=>xt,HttpBackend:()=>m,HttpClient:()=>ue,HttpClientJsonpModule:()=>wn,HttpClientModule:()=>tn,HttpClientXsrfModule:()=>At,HttpContext:()=>R,HttpContextToken:()=>D,HttpErrorResponse:()=>q,HttpEventType:()=>se,HttpFeatureKind:()=>ke,HttpHandler:()=>h,HttpHeaderResponse:()=>me,HttpHeaders:()=>_,HttpParams:()=>E,HttpRequest:()=>Y,HttpResponse:()=>$,HttpResponseBase:()=>ne,HttpUrlEncodingCodec:()=>x,HttpXhrBackend:()=>Bt,HttpXsrfTokenExtractor:()=>we,JsonpClientBackend:()=>Lt,JsonpInterceptor:()=>Kt,provideHttpClient:()=>re,withFetch:()=>dt,withInterceptors:()=>ce,withInterceptorsFromDi:()=>it,withJsonpSupport:()=>qe,withNoXsrfProtection:()=>Ye,withRequestsMadeViaParent:()=>Ne,withXsrfConfiguration:()=>Rt,\u0275HttpInterceptingHandler:()=>rt,\u0275HttpInterceptorHandler:()=>rt,\u0275withHttpTransferCache:()=>Qi});var n=g(5861),p=g(5879),C=g(2096),b=g(5592),o=g(2459),v=g(6328),a=g(2181),c=g(7398),s=g(4716),l=g(4664),d=g(9397),r=g(1374),u=g(6814);class h{}class m{}class _{constructor(mt){this.normalizedNames=new Map,this.lazyUpdate=null,mt?"string"==typeof mt?this.lazyInit=()=>{this.headers=new Map,mt.split("\n").forEach(pt=>{const qt=pt.indexOf(":");if(qt>0){const on=pt.slice(0,qt),hn=on.toLowerCase(),un=pt.slice(qt+1).trim();this.maybeSetNormalizedName(on,hn),this.headers.has(hn)?this.headers.get(hn).push(un):this.headers.set(hn,[un])}})}:typeof Headers<"u"&&mt instanceof Headers?(this.headers=new Map,mt.forEach((pt,qt)=>{this.setHeaderEntries(qt,pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(mt).forEach(([pt,qt])=>{this.setHeaderEntries(pt,qt)})}:this.headers=new Map}has(mt){return this.init(),this.headers.has(mt.toLowerCase())}get(mt){this.init();const pt=this.headers.get(mt.toLowerCase());return pt&&pt.length>0?pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(mt){return this.init(),this.headers.get(mt.toLowerCase())||null}append(mt,pt){return this.clone({name:mt,value:pt,op:"a"})}set(mt,pt){return this.clone({name:mt,value:pt,op:"s"})}delete(mt,pt){return this.clone({name:mt,value:pt,op:"d"})}maybeSetNormalizedName(mt,pt){this.normalizedNames.has(pt)||this.normalizedNames.set(pt,mt)}init(){this.lazyInit&&(this.lazyInit instanceof _?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(mt=>this.applyUpdate(mt)),this.lazyUpdate=null))}copyFrom(mt){mt.init(),Array.from(mt.headers.keys()).forEach(pt=>{this.headers.set(pt,mt.headers.get(pt)),this.normalizedNames.set(pt,mt.normalizedNames.get(pt))})}clone(mt){const pt=new _;return pt.lazyInit=this.lazyInit&&this.lazyInit instanceof _?this.lazyInit:this,pt.lazyUpdate=(this.lazyUpdate||[]).concat([mt]),pt}applyUpdate(mt){const pt=mt.name.toLowerCase();switch(mt.op){case"a":case"s":let qt=mt.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(mt.name,pt);const on=("a"===mt.op?this.headers.get(pt):void 0)||[];on.push(...qt),this.headers.set(pt,on);break;case"d":const hn=mt.value;if(hn){let un=this.headers.get(pt);if(!un)return;un=un.filter($n=>-1===hn.indexOf($n)),0===un.length?(this.headers.delete(pt),this.normalizedNames.delete(pt)):this.headers.set(pt,un)}else this.headers.delete(pt),this.normalizedNames.delete(pt)}}setHeaderEntries(mt,pt){const qt=(Array.isArray(pt)?pt:[pt]).map(hn=>hn.toString()),on=mt.toLowerCase();this.headers.set(on,qt),this.maybeSetNormalizedName(mt,on)}forEach(mt){this.init(),Array.from(this.normalizedNames.keys()).forEach(pt=>mt(this.normalizedNames.get(pt),this.headers.get(pt)))}}class x{encodeKey(mt){return T(mt)}encodeValue(mt){return T(mt)}decodeKey(mt){return decodeURIComponent(mt)}decodeValue(mt){return decodeURIComponent(mt)}}const L=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function T(wt){return encodeURIComponent(wt).replace(L,(mt,pt)=>A[pt]??mt)}function O(wt){return`${wt}`}class E{constructor(mt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=mt.encoder||new x,mt.fromString){if(mt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function w(wt,mt){const pt=new Map;return wt.length>0&&wt.replace(/^\?/,"").split("&").forEach(on=>{const hn=on.indexOf("="),[un,$n]=-1==hn?[mt.decodeKey(on),""]:[mt.decodeKey(on.slice(0,hn)),mt.decodeValue(on.slice(hn+1))],In=pt.get(un)||[];In.push($n),pt.set(un,In)}),pt}(mt.fromString,this.encoder)}else mt.fromObject?(this.map=new Map,Object.keys(mt.fromObject).forEach(pt=>{const qt=mt.fromObject[pt],on=Array.isArray(qt)?qt.map(O):[O(qt)];this.map.set(pt,on)})):this.map=null}has(mt){return this.init(),this.map.has(mt)}get(mt){this.init();const pt=this.map.get(mt);return pt?pt[0]:null}getAll(mt){return this.init(),this.map.get(mt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(mt,pt){return this.clone({param:mt,value:pt,op:"a"})}appendAll(mt){const pt=[];return Object.keys(mt).forEach(qt=>{const on=mt[qt];Array.isArray(on)?on.forEach(hn=>{pt.push({param:qt,value:hn,op:"a"})}):pt.push({param:qt,value:on,op:"a"})}),this.clone(pt)}set(mt,pt){return this.clone({param:mt,value:pt,op:"s"})}delete(mt,pt){return this.clone({param:mt,value:pt,op:"d"})}toString(){return this.init(),this.keys().map(mt=>{const pt=this.encoder.encodeKey(mt);return this.map.get(mt).map(qt=>pt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(mt=>""!==mt).join("&")}clone(mt){const pt=new E({encoder:this.encoder});return pt.cloneFrom=this.cloneFrom||this,pt.updates=(this.updates||[]).concat(mt),pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(mt=>this.map.set(mt,this.cloneFrom.map.get(mt))),this.updates.forEach(mt=>{switch(mt.op){case"a":case"s":const pt=("a"===mt.op?this.map.get(mt.param):void 0)||[];pt.push(O(mt.value)),this.map.set(mt.param,pt);break;case"d":if(void 0===mt.value){this.map.delete(mt.param);break}{let qt=this.map.get(mt.param)||[];const on=qt.indexOf(O(mt.value));-1!==on&&qt.splice(on,1),qt.length>0?this.map.set(mt.param,qt):this.map.delete(mt.param)}}}),this.cloneFrom=this.updates=null)}}class D{constructor(mt){this.defaultValue=mt}}class R{constructor(){this.map=new Map}set(mt,pt){return this.map.set(mt,pt),this}get(mt){return this.map.has(mt)||this.map.set(mt,mt.defaultValue()),this.map.get(mt)}delete(mt){return this.map.delete(mt),this}has(mt){return this.map.has(mt)}keys(){return this.map.keys()}}function N(wt){return typeof ArrayBuffer<"u"&&wt instanceof ArrayBuffer}function S(wt){return typeof Blob<"u"&&wt instanceof Blob}function k(wt){return typeof FormData<"u"&&wt instanceof FormData}class Y{constructor(mt,pt,qt,on){let hn;if(this.url=pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=mt.toUpperCase(),function j(wt){switch(wt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||on?(this.body=void 0!==qt?qt:null,hn=on):hn=qt,hn&&(this.reportProgress=!!hn.reportProgress,this.withCredentials=!!hn.withCredentials,hn.responseType&&(this.responseType=hn.responseType),hn.headers&&(this.headers=hn.headers),hn.context&&(this.context=hn.context),hn.params&&(this.params=hn.params)),this.headers||(this.headers=new _),this.context||(this.context=new R),this.params){const un=this.params.toString();if(0===un.length)this.urlWithParams=pt;else{const $n=pt.indexOf("?");this.urlWithParams=pt+(-1===$n?"?":$nQn.set(ri,mt.setHeaders[ri]),In)),mt.setParams&&(Zn=Object.keys(mt.setParams).reduce((Qn,ri)=>Qn.set(ri,mt.setParams[ri]),Zn)),new Y(pt,qt,hn,{params:Zn,headers:In,context:mi,reportProgress:$n,responseType:on,withCredentials:un})}}var se=function(wt){return wt[wt.Sent=0]="Sent",wt[wt.UploadProgress=1]="UploadProgress",wt[wt.ResponseHeader=2]="ResponseHeader",wt[wt.DownloadProgress=3]="DownloadProgress",wt[wt.Response=4]="Response",wt[wt.User=5]="User",wt}(se||{});class ne{constructor(mt,pt=200,qt="OK"){this.headers=mt.headers||new _,this.status=void 0!==mt.status?mt.status:pt,this.statusText=mt.statusText||qt,this.url=mt.url||null,this.ok=this.status>=200&&this.status<300}}class me extends ne{constructor(mt={}){super(mt),this.type=se.ResponseHeader}clone(mt={}){return new me({headers:mt.headers||this.headers,status:void 0!==mt.status?mt.status:this.status,statusText:mt.statusText||this.statusText,url:mt.url||this.url||void 0})}}class $ extends ne{constructor(mt={}){super(mt),this.type=se.Response,this.body=void 0!==mt.body?mt.body:null}clone(mt={}){return new $({body:void 0!==mt.body?mt.body:this.body,headers:mt.headers||this.headers,status:void 0!==mt.status?mt.status:this.status,statusText:mt.statusText||this.statusText,url:mt.url||this.url||void 0})}}class q extends ne{constructor(mt){super(mt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${mt.url||"(unknown url)"}`:`Http failure response for ${mt.url||"(unknown url)"}: ${mt.status} ${mt.statusText}`,this.error=mt.error||null}}function Q(wt,mt){return{body:mt,headers:wt.headers,context:wt.context,observe:wt.observe,params:wt.params,reportProgress:wt.reportProgress,responseType:wt.responseType,withCredentials:wt.withCredentials}}let ue=(()=>{class wt{constructor(pt){this.handler=pt}request(pt,qt,on={}){let hn;if(pt instanceof Y)hn=pt;else{let In,Zn;In=on.headers instanceof _?on.headers:new _(on.headers),on.params&&(Zn=on.params instanceof E?on.params:new E({fromObject:on.params})),hn=new Y(pt,qt,void 0!==on.body?on.body:null,{headers:In,context:on.context,params:Zn,reportProgress:on.reportProgress,responseType:on.responseType||"json",withCredentials:on.withCredentials})}const un=(0,C.of)(hn).pipe((0,v.b)(In=>this.handler.handle(In)));if(pt instanceof Y||"events"===on.observe)return un;const $n=un.pipe((0,a.h)(In=>In instanceof $));switch(on.observe||"body"){case"body":switch(hn.responseType){case"arraybuffer":return $n.pipe((0,c.U)(In=>{if(null!==In.body&&!(In.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return In.body}));case"blob":return $n.pipe((0,c.U)(In=>{if(null!==In.body&&!(In.body instanceof Blob))throw new Error("Response is not a Blob.");return In.body}));case"text":return $n.pipe((0,c.U)(In=>{if(null!==In.body&&"string"!=typeof In.body)throw new Error("Response is not a string.");return In.body}));default:return $n.pipe((0,c.U)(In=>In.body))}case"response":return $n;default:throw new Error(`Unreachable: unhandled observe type ${on.observe}}`)}}delete(pt,qt={}){return this.request("DELETE",pt,qt)}get(pt,qt={}){return this.request("GET",pt,qt)}head(pt,qt={}){return this.request("HEAD",pt,qt)}jsonp(pt,qt){return this.request("JSONP",pt,{params:(new E).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,qt={}){return this.request("OPTIONS",pt,qt)}patch(pt,qt,on={}){return this.request("PATCH",pt,Q(on,qt))}post(pt,qt,on={}){return this.request("POST",pt,Q(on,qt))}put(pt,qt,on={}){return this.request("PUT",pt,Q(on,qt))}}return wt.\u0275fac=function(pt){return new(pt||wt)(p.\u0275\u0275inject(h))},wt.\u0275prov=p.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac}),wt})();const Me=/^\)\]\}',?\n/;function Xe(wt){if(wt.url)return wt.url;const mt="X-Request-URL".toLocaleLowerCase();return wt.headers.get(mt)}let Be=(()=>{class wt{constructor(){this.fetchImpl=(0,p.inject)($e,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,p.inject)(p.NgZone)}handle(pt){return new b.y(qt=>{const on=new AbortController;return this.doRequest(pt,on.signal,qt).then(st,hn=>qt.error(new q({error:hn}))),()=>on.abort()})}doRequest(pt,qt,on){var hn=this;return(0,n.Z)(function*(){const un=hn.createRequestInit(pt);let $n;try{const en=hn.fetchImpl(pt.urlWithParams,{signal:qt,...un});(function Mt(wt){wt.then(st,st)})(en),on.next({type:se.Sent}),$n=yield en}catch(en){return void on.error(new q({error:en,status:en.status??0,statusText:en.statusText,url:pt.urlWithParams,headers:en.headers}))}const In=new _($n.headers),Zn=$n.statusText,mi=Xe($n)??pt.urlWithParams;let Qn=$n.status,ri=null;if(pt.reportProgress&&on.next(new me({headers:In,status:Qn,statusText:Zn,url:mi})),$n.body){const en=$n.headers.get("content-length"),Dn=[],An=$n.body.getReader();let si,ii,Yn=0;const Ii=typeof Zone<"u"&&Zone.current;yield hn.ngZone.runOutsideAngular((0,n.Z)(function*(){for(;;){const{done:li,value:Pi}=yield An.read();if(li)break;if(Dn.push(Pi),Yn+=Pi.length,pt.reportProgress){ii="text"===pt.responseType?(ii??"")+(si??=new TextDecoder).decode(Pi,{stream:!0}):void 0;const Ct=()=>on.next({type:se.DownloadProgress,total:en?+en:void 0,loaded:Yn,partialText:ii});Ii?Ii.run(Ct):Ct()}}}));const oi=hn.concatChunks(Dn,Yn);try{ri=hn.parseBody(pt,oi)}catch(li){return void on.error(new q({error:li,headers:new _($n.headers),status:$n.status,statusText:$n.statusText,url:Xe($n)??pt.urlWithParams}))}}0===Qn&&(Qn=ri?200:0),Qn>=200&&Qn<300?(on.next(new $({body:ri,headers:In,status:Qn,statusText:Zn,url:mi})),on.complete()):on.error(new q({error:ri,headers:In,status:Qn,statusText:Zn,url:mi}))})()}parseBody(pt,qt){switch(pt.responseType){case"json":const on=(new TextDecoder).decode(qt).replace(Me,"");return""===on?null:JSON.parse(on);case"text":return(new TextDecoder).decode(qt);case"blob":return new Blob([qt]);case"arraybuffer":return qt.buffer}}createRequestInit(pt){const qt={},on=pt.withCredentials?"include":void 0;if(pt.headers.forEach((hn,un)=>qt[hn]=un.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const hn=pt.detectContentTypeHeader();null!==hn&&(qt["Content-Type"]=hn)}return{body:pt.serializeBody(),method:pt.method,headers:qt,credentials:on}}concatChunks(pt,qt){const on=new Uint8Array(qt);let hn=0;for(const un of pt)on.set(un,hn),hn+=un.length;return on}}return wt.\u0275fac=function(pt){return new(pt||wt)},wt.\u0275prov=p.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac}),wt})();class $e{}function st(){}function tt(wt,mt){return mt(wt)}function St(wt,mt){return(pt,qt)=>mt.intercept(pt,{handle:on=>wt(on,qt)})}const xt=new p.InjectionToken(""),nt=new p.InjectionToken(""),ot=new p.InjectionToken("");function vt(){let wt=null;return(mt,pt)=>{null===wt&&(wt=((0,p.inject)(xt,{optional:!0})??[]).reduceRight(St,tt));const qt=(0,p.inject)(p.\u0275InitialRenderPendingTasks),on=qt.add();return wt(mt,pt).pipe((0,s.x)(()=>qt.remove(on)))}}let Ce,rt=(()=>{class wt extends h{constructor(pt,qt){super(),this.backend=pt,this.injector=qt,this.chain=null,this.pendingTasks=(0,p.inject)(p.\u0275InitialRenderPendingTasks)}handle(pt){if(null===this.chain){const on=Array.from(new Set([...this.injector.get(nt),...this.injector.get(ot,[])]));this.chain=on.reduceRight((hn,un)=>function bt(wt,mt,pt){return(qt,on)=>pt.runInContext(()=>mt(qt,hn=>wt(hn,on)))}(hn,un,this.injector),tt)}const qt=this.pendingTasks.add();return this.chain(pt,on=>this.backend.handle(on)).pipe((0,s.x)(()=>this.pendingTasks.remove(qt)))}}return wt.\u0275fac=function(pt){return new(pt||wt)(p.\u0275\u0275inject(m),p.\u0275\u0275inject(p.EnvironmentInjector))},wt.\u0275prov=p.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac}),wt})(),J=0;class Te{}function ct(){return"object"==typeof window?window:{}}let Lt=(()=>{class wt{constructor(pt,qt){this.callbackMap=pt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+J++}handle(pt){if("JSONP"!==pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==pt.responseType)throw new Error("JSONP requests must use Json response type.");if(pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new b.y(qt=>{const on=this.nextCallback(),hn=pt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${on}$1`),un=this.document.createElement("script");un.src=hn;let $n=null,In=!1;this.callbackMap[on]=ri=>{delete this.callbackMap[on],$n=ri,In=!0};const Zn=()=>{un.parentNode&&un.parentNode.removeChild(un),delete this.callbackMap[on]};return un.addEventListener("load",ri=>{this.resolvedPromise.then(()=>{Zn(),In?(qt.next(new $({body:$n,status:200,statusText:"OK",url:hn})),qt.complete()):qt.error(new q({url:hn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),un.addEventListener("error",ri=>{Zn(),qt.error(new q({error:ri,status:0,statusText:"JSONP Error",url:hn}))}),this.document.body.appendChild(un),qt.next({type:se.Sent}),()=>{In||this.removeListeners(un),Zn()}})}removeListeners(pt){Ce||(Ce=this.document.implementation.createHTMLDocument()),Ce.adoptNode(pt)}}return wt.\u0275fac=function(pt){return new(pt||wt)(p.\u0275\u0275inject(Te),p.\u0275\u0275inject(u.DOCUMENT))},wt.\u0275prov=p.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac}),wt})();function Dt(wt,mt){return"JSONP"===wt.method?(0,p.inject)(Lt).handle(wt):mt(wt)}let Kt=(()=>{class wt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>Dt(pt,on=>qt.handle(on)))}}return wt.\u0275fac=function(pt){return new(pt||wt)(p.\u0275\u0275inject(p.EnvironmentInjector))},wt.\u0275prov=p.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac}),wt})();const ze=/^\)\]\}',?\n/;let Bt=(()=>{class wt{constructor(pt){this.xhrFactory=pt}handle(pt){if("JSONP"===pt.method)throw new p.\u0275RuntimeError(-2800,!1);const qt=this.xhrFactory;return(qt.\u0275loadImpl?(0,o.D)(qt.\u0275loadImpl()):(0,C.of)(null)).pipe((0,l.w)(()=>new b.y(hn=>{const un=qt.build();if(un.open(pt.method,pt.urlWithParams),pt.withCredentials&&(un.withCredentials=!0),pt.headers.forEach((Dn,An)=>un.setRequestHeader(Dn,An.join(","))),pt.headers.has("Accept")||un.setRequestHeader("Accept","application/json, text/plain, */*"),!pt.headers.has("Content-Type")){const Dn=pt.detectContentTypeHeader();null!==Dn&&un.setRequestHeader("Content-Type",Dn)}if(pt.responseType){const Dn=pt.responseType.toLowerCase();un.responseType="json"!==Dn?Dn:"text"}const $n=pt.serializeBody();let In=null;const Zn=()=>{if(null!==In)return In;const Dn=un.statusText||"OK",An=new _(un.getAllResponseHeaders()),Yn=function yt(wt){return"responseURL"in wt&&wt.responseURL?wt.responseURL:/^X-Request-URL:/m.test(wt.getAllResponseHeaders())?wt.getResponseHeader("X-Request-URL"):null}(un)||pt.url;return In=new me({headers:An,status:un.status,statusText:Dn,url:Yn}),In},mi=()=>{let{headers:Dn,status:An,statusText:Yn,url:si}=Zn(),ii=null;204!==An&&(ii=typeof un.response>"u"?un.responseText:un.response),0===An&&(An=ii?200:0);let Ii=An>=200&&An<300;if("json"===pt.responseType&&"string"==typeof ii){const oi=ii;ii=ii.replace(ze,"");try{ii=""!==ii?JSON.parse(ii):null}catch(li){ii=oi,Ii&&(Ii=!1,ii={error:li,text:ii})}}Ii?(hn.next(new $({body:ii,headers:Dn,status:An,statusText:Yn,url:si||void 0})),hn.complete()):hn.error(new q({error:ii,headers:Dn,status:An,statusText:Yn,url:si||void 0}))},Qn=Dn=>{const{url:An}=Zn(),Yn=new q({error:Dn,status:un.status||0,statusText:un.statusText||"Unknown Error",url:An||void 0});hn.error(Yn)};let ri=!1;const ln=Dn=>{ri||(hn.next(Zn()),ri=!0);let An={type:se.DownloadProgress,loaded:Dn.loaded};Dn.lengthComputable&&(An.total=Dn.total),"text"===pt.responseType&&un.responseText&&(An.partialText=un.responseText),hn.next(An)},en=Dn=>{let An={type:se.UploadProgress,loaded:Dn.loaded};Dn.lengthComputable&&(An.total=Dn.total),hn.next(An)};return un.addEventListener("load",mi),un.addEventListener("error",Qn),un.addEventListener("timeout",Qn),un.addEventListener("abort",Qn),pt.reportProgress&&(un.addEventListener("progress",ln),null!==$n&&un.upload&&un.upload.addEventListener("progress",en)),un.send($n),hn.next({type:se.Sent}),()=>{un.removeEventListener("error",Qn),un.removeEventListener("abort",Qn),un.removeEventListener("load",mi),un.removeEventListener("timeout",Qn),pt.reportProgress&&(un.removeEventListener("progress",ln),null!==$n&&un.upload&&un.upload.removeEventListener("progress",en)),un.readyState!==un.DONE&&un.abort()}})))}}return wt.\u0275fac=function(pt){return new(pt||wt)(p.\u0275\u0275inject(u.XhrFactory))},wt.\u0275prov=p.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac}),wt})();const $t=new p.InjectionToken("XSRF_ENABLED"),Yt="XSRF-TOKEN",Ue=new p.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Yt}),We="X-XSRF-TOKEN",ve=new p.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>We});class we{}let at=(()=>{class wt{constructor(pt,qt,on){this.doc=pt,this.platform=qt,this.cookieName=on,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,u.\u0275parseCookieValue)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}}return wt.\u0275fac=function(pt){return new(pt||wt)(p.\u0275\u0275inject(u.DOCUMENT),p.\u0275\u0275inject(p.PLATFORM_ID),p.\u0275\u0275inject(Ue))},wt.\u0275prov=p.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac}),wt})();function De(wt,mt){const pt=wt.url.toLowerCase();if(!(0,p.inject)($t)||"GET"===wt.method||"HEAD"===wt.method||pt.startsWith("http://")||pt.startsWith("https://"))return mt(wt);const qt=(0,p.inject)(we).getToken(),on=(0,p.inject)(ve);return null!=qt&&!wt.headers.has(on)&&(wt=wt.clone({headers:wt.headers.set(on,qt)})),mt(wt)}let je=(()=>{class wt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>De(pt,on=>qt.handle(on)))}}return wt.\u0275fac=function(pt){return new(pt||wt)(p.\u0275\u0275inject(p.EnvironmentInjector))},wt.\u0275prov=p.\u0275\u0275defineInjectable({token:wt,factory:wt.\u0275fac}),wt})();var ke=function(wt){return wt[wt.Interceptors=0]="Interceptors",wt[wt.LegacyInterceptors=1]="LegacyInterceptors",wt[wt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",wt[wt.NoXsrfProtection=3]="NoXsrfProtection",wt[wt.JsonpSupport=4]="JsonpSupport",wt[wt.RequestsMadeViaParent=5]="RequestsMadeViaParent",wt[wt.Fetch=6]="Fetch",wt}(ke||{});function Z(wt,mt){return{\u0275kind:wt,\u0275providers:mt}}function re(...wt){const mt=[ue,Bt,rt,{provide:h,useExisting:rt},{provide:m,useExisting:Bt},{provide:nt,useValue:De,multi:!0},{provide:$t,useValue:!0},{provide:we,useClass:at}];for(const pt of wt)mt.push(...pt.\u0275providers);return(0,p.makeEnvironmentProviders)(mt)}function ce(wt){return Z(ke.Interceptors,wt.map(mt=>({provide:nt,useValue:mt,multi:!0})))}const Ee=new p.InjectionToken("LEGACY_INTERCEPTOR_FN");function it(){return Z(ke.LegacyInterceptors,[{provide:Ee,useFactory:vt},{provide:nt,useExisting:Ee,multi:!0}])}function Rt({cookieName:wt,headerName:mt}){const pt=[];return void 0!==wt&&pt.push({provide:Ue,useValue:wt}),void 0!==mt&&pt.push({provide:ve,useValue:mt}),Z(ke.CustomXsrfConfiguration,pt)}function Ye(){return Z(ke.NoXsrfProtection,[{provide:$t,useValue:!1}])}function qe(){return Z(ke.JsonpSupport,[Lt,{provide:Te,useFactory:ct},{provide:nt,useValue:Dt,multi:!0}])}function Ne(){return Z(ke.RequestsMadeViaParent,[{provide:m,useFactory:()=>(0,p.inject)(h,{skipSelf:!0,optional:!0})}])}function dt(){return Z(ke.Fetch,[Be,{provide:m,useExisting:Be}])}let At=(()=>{class wt{static disable(){return{ngModule:wt,providers:[Ye().\u0275providers]}}static withOptions(pt={}){return{ngModule:wt,providers:Rt(pt).\u0275providers}}}return wt.\u0275fac=function(pt){return new(pt||wt)},wt.\u0275mod=p.\u0275\u0275defineNgModule({type:wt}),wt.\u0275inj=p.\u0275\u0275defineInjector({providers:[je,{provide:xt,useExisting:je,multi:!0},{provide:we,useClass:at},Rt({cookieName:Yt,headerName:We}).\u0275providers,{provide:$t,useValue:!0}]}),wt})(),tn=(()=>{class wt{}return wt.\u0275fac=function(pt){return new(pt||wt)},wt.\u0275mod=p.\u0275\u0275defineNgModule({type:wt}),wt.\u0275inj=p.\u0275\u0275defineInjector({providers:[re(it())]}),wt})(),wn=(()=>{class wt{}return wt.\u0275fac=function(pt){return new(pt||wt)},wt.\u0275mod=p.\u0275\u0275defineNgModule({type:wt}),wt.\u0275inj=p.\u0275\u0275defineInjector({providers:[qe().\u0275providers]}),wt})();const Tn=new p.InjectionToken(""),Sn=["GET","HEAD"];function Mn(wt,mt){const{isCacheActive:pt}=(0,p.inject)(Tn);if(!pt||!Sn.includes(wt.method))return mt(wt);const qt=(0,p.inject)(p.TransferState),on=function di(wt){const{params:mt,method:pt,responseType:qt,url:on}=wt,$n=function Li(wt){let mt=0;for(const pt of wt)mt=Math.imul(31,mt)+pt.charCodeAt(0)<<0;return mt+=2147483648,mt.toString()}(pt+"."+qt+"."+on+"?"+mt.keys().sort().map(In=>`${In}=${mt.getAll(In)}`).join("&"));return(0,p.makeStateKey)($n)}(wt),hn=qt.get(on,null);if(hn){let un=hn.body;switch(hn.responseType){case"arraybuffer":un=(new TextEncoder).encode(hn.body).buffer;break;case"blob":un=new Blob([hn.body])}return(0,C.of)(new $({body:un,headers:new _(hn.headers),status:hn.status,statusText:hn.statusText,url:hn.url}))}return mt(wt).pipe((0,d.b)(un=>{un instanceof $&&qt.set(on,{body:un.body,headers:Ci(un.headers),status:un.status,statusText:un.statusText,url:un.url||"",responseType:wt.responseType})}))}function Ci(wt){const mt={};for(const pt of wt.keys()){const qt=wt.getAll(pt);null!==qt&&(mt[pt]=qt)}return mt}function Qi(){return[{provide:Tn,useFactory:()=>((0,p.inject)(p.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:ot,useValue:Mn,multi:!0,deps:[p.TransferState,Tn]},{provide:p.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const wt=(0,p.inject)(p.ApplicationRef),mt=(0,p.inject)(Tn);return()=>{wt.isStable.pipe((0,r.P)(pt=>pt)).toPromise().then(()=>{mt.isCacheActive=!1})}}}]}},5879:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{ANIMATION_MODULE_TYPE:()=>iy,APP_BOOTSTRAP_LISTENER:()=>Ah,APP_ID:()=>gm,APP_INITIALIZER:()=>C_,ApplicationInitStatus:()=>Tc,ApplicationModule:()=>fw,ApplicationRef:()=>Aa,Attribute:()=>Gh,COMPILER_OPTIONS:()=>D_,CSP_NONCE:()=>ry,CUSTOM_ELEMENTS_SCHEMA:()=>uf,ChangeDetectionStrategy:()=>wn,ChangeDetectorRef:()=>tv,Compiler:()=>AM,CompilerFactory:()=>kM,Component:()=>bM,ComponentFactory:()=>Ql,ComponentFactoryResolver:()=>tl,ComponentRef:()=>wm,ContentChild:()=>wv,ContentChildren:()=>Mv,DEFAULT_CURRENCY_CODE:()=>TM,DebugElement:()=>Cl,DebugEventListener:()=>JM,DebugNode:()=>Lh,DefaultIterableDiffer:()=>av,DestroyRef:()=>Wu,Directive:()=>y_,ENVIRONMENT_INITIALIZER:()=>Xa,ElementRef:()=>nl,EmbeddedViewRef:()=>XM,EnvironmentInjector:()=>Ps,ErrorHandler:()=>ua,EventEmitter:()=>Io,Host:()=>ef,HostBinding:()=>MM,HostListener:()=>wM,INJECTOR:()=>uu,Inject:()=>Jh,InjectFlags:()=>pe,Injectable:()=>ky,InjectionToken:()=>Yi,Injector:()=>as,Input:()=>CM,IterableDiffers:()=>Nh,KeyValueDiffers:()=>Uh,LOCALE_ID:()=>Sc,MissingTranslationStrategy:()=>M_,ModuleWithComponentFactories:()=>E_,NO_ERRORS_SCHEMA:()=>df,NgModule:()=>EM,NgModuleFactory:()=>ig,NgModuleRef:()=>Sa,NgProbeToken:()=>BM,NgZone:()=>Rr,Optional:()=>Tl,Output:()=>xM,PACKAGE_ROOT_URL:()=>ny,PLATFORM_ID:()=>yu,PLATFORM_INITIALIZER:()=>_m,Pipe:()=>yM,PlatformRef:()=>kh,Query:()=>Ba,QueryList:()=>Mc,Renderer2:()=>vy,RendererFactory2:()=>Dm,RendererStyleFlags2:()=>Pl,Sanitizer:()=>Tm,SecurityContext:()=>Rs,Self:()=>qh,SimpleChange:()=>ts,SkipSelf:()=>Sl,TRANSLATIONS:()=>SM,TRANSLATIONS_FORMAT:()=>IM,TemplateRef:()=>bl,Testability:()=>UM,TestabilityRegistry:()=>N_,TransferState:()=>Ja,Type:()=>Yh,VERSION:()=>Im,Version:()=>Sm,ViewChild:()=>Dv,ViewChildren:()=>Ev,ViewContainerRef:()=>Ec,ViewEncapsulation:()=>Tn,ViewRef:()=>iv,asNativeElements:()=>qM,assertInInjectionContext:()=>zm,assertPlatform:()=>W_,booleanAttribute:()=>ww,computed:()=>Qo,createComponent:()=>Pw,createEnvironmentInjector:()=>sg,createNgModule:()=>rg,createNgModuleRef:()=>Mx,createPlatform:()=>j_,createPlatformFactory:()=>z_,defineInjectable:()=>bt,destroyPlatform:()=>jM,effect:()=>dp,enableProdMode:()=>KM,forwardRef:()=>_,getDebugNode:()=>ka,getModuleFactory:()=>YM,getNgModuleById:()=>ZM,getPlatform:()=>Ic,importProvidersFrom:()=>um,inject:()=>it,isDevMode:()=>GM,isSignal:()=>_o,isStandalone:()=>Nn,makeEnvironmentProviders:()=>du,makeStateKey:()=>oy,mergeApplicationConfig:()=>Nw,numberAttribute:()=>Ew,platformCore:()=>hw,provideZoneChangeDetection:()=>q_,reflectComponentType:()=>Fw,resolveForwardRef:()=>M,runInInjectionContext:()=>Ey,setTestabilityGetter:()=>U_,signal:()=>Jo,untracked:()=>ps,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Sh,\u0275ComponentFactory:()=>Ql,\u0275Console:()=>x_,\u0275DEFAULT_LOCALE_ID:()=>Bs,\u0275ENABLED_SSR_FEATURES:()=>vm,\u0275INJECTOR_SCOPE:()=>pu,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>rl,\u0275InitialRenderPendingTasks:()=>w_,\u0275LContext:()=>bf,\u0275LifecycleHooksFeature:()=>yp,\u0275LocaleDataIndex:()=>Ta,\u0275NG_COMP_DEF:()=>Ci,\u0275NG_DIR_DEF:()=>di,\u0275NG_ELEMENT_ID:()=>mt,\u0275NG_INJ_DEF:()=>ee,\u0275NG_MOD_DEF:()=>Qi,\u0275NG_PIPE_DEF:()=>Li,\u0275NG_PROV_DEF:()=>Ce,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Xl,\u0275NO_CHANGE:()=>fi,\u0275NgModuleFactory:()=>xc,\u0275NoopNgZone:()=>L_,\u0275ReflectionCapabilities:()=>Xh,\u0275Render3ComponentFactory:()=>pa,\u0275Render3ComponentRef:()=>bp,\u0275Render3NgModuleRef:()=>Cc,\u0275RuntimeError:()=>T,\u0275TESTABILITY:()=>P_,\u0275TESTABILITY_GETTER:()=>F_,\u0275ViewRef:()=>ma,\u0275XSS_SECURITY_URL:()=>A,\u0275_sanitizeHtml:()=>tm,\u0275_sanitizeUrl:()=>Hl,\u0275allowSanitizationBypassAndThrow:()=>sa,\u0275annotateForHydration:()=>gw,\u0275bypassSanitizationTrustHtml:()=>Lb,\u0275bypassSanitizationTrustResourceUrl:()=>Fb,\u0275bypassSanitizationTrustScript:()=>Ob,\u0275bypassSanitizationTrustStyle:()=>Rb,\u0275bypassSanitizationTrustUrl:()=>Pb,\u0275clearResolutionOfComponentResourcesQueue:()=>af,\u0275compileComponent:()=>l_,\u0275compileDirective:()=>wh,\u0275compileNgModule:()=>i_,\u0275compileNgModuleDefs:()=>r_,\u0275compileNgModuleFactory:()=>B_,\u0275compilePipe:()=>v_,\u0275convertToBitFlags:()=>Rt,\u0275createInjector:()=>Ru,\u0275defaultIterableDiffers:()=>uw,\u0275defaultKeyValueDiffers:()=>dw,\u0275detectChanges:()=>hp,\u0275devModeEqual:()=>Sp,\u0275findLocaleData:()=>Xd,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>t_,\u0275formatRuntimeError:()=>O,\u0275getDebugNode:()=>ka,\u0275getDirectives:()=>hg,\u0275getHostElement:()=>ch,\u0275getInjectableDef:()=>nt,\u0275getLContext:()=>kr,\u0275getLocaleCurrencyCode:()=>TC,\u0275getLocalePluralCase:()=>S0,\u0275getSanitizationBypassType:()=>Yf,\u0275getUnknownElementStrictMode:()=>Wv,\u0275getUnknownPropertyStrictMode:()=>Kv,\u0275global:()=>ze,\u0275injectChangeDetectorRef:()=>nv,\u0275internalCreateApplication:()=>VM,\u0275isBoundToModule:()=>V_,\u0275isEnvironmentProviders:()=>w,\u0275isInjectable:()=>ot,\u0275isNgModule:()=>vh,\u0275isPromise:()=>fd,\u0275isSubscribable:()=>$p,\u0275noSideEffects:()=>tn,\u0275patchComponentDefWithScope:()=>xh,\u0275publishDefaultGlobalUtils:()=>RM,\u0275publishGlobalUtil:()=>ro,\u0275registerLocaleData:()=>DC,\u0275resetCompiledComponents:()=>aM,\u0275resetJitOptions:()=>iM,\u0275resolveComponentResources:()=>rf,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Hv,\u0275setAlternateWeakRefImpl:()=>vo,\u0275setClassMetadata:()=>mg,\u0275setCurrentInjector:()=>Z,\u0275setDocument:()=>Db,\u0275setLocaleId:()=>Jd,\u0275setUnknownElementStrictMode:()=>zv,\u0275setUnknownPropertyStrictMode:()=>Gv,\u0275store:()=>Pp,\u0275stringify:()=>u,\u0275transitiveScopesFor:()=>$s,\u0275unregisterLocaleData:()=>SC,\u0275unwrapSafeValue:()=>Bo,\u0275withDomHydration:()=>Mw,\u0275\u0275CopyDefinitionFeature:()=>xp,\u0275\u0275FactoryTarget:()=>As,\u0275\u0275HostDirectivesFeature:()=>Mp,\u0275\u0275InheritDefinitionFeature:()=>Gu,\u0275\u0275InputTransformsFeature:()=>Tp,\u0275\u0275NgOnChangesFeature:()=>bo,\u0275\u0275ProvidersFeature:()=>ng,\u0275\u0275StandaloneFeature:()=>ag,\u0275\u0275advance:()=>jm,\u0275\u0275attribute:()=>Yu,\u0275\u0275attributeInterpolate1:()=>Zu,\u0275\u0275attributeInterpolate2:()=>Qu,\u0275\u0275attributeInterpolate3:()=>Xu,\u0275\u0275attributeInterpolate4:()=>Ju,\u0275\u0275attributeInterpolate5:()=>qu,\u0275\u0275attributeInterpolate6:()=>ed,\u0275\u0275attributeInterpolate7:()=>td,\u0275\u0275attributeInterpolate8:()=>nd,\u0275\u0275attributeInterpolateV:()=>id,\u0275\u0275classMap:()=>e0,\u0275\u0275classMapInterpolate1:()=>u0,\u0275\u0275classMapInterpolate2:()=>d0,\u0275\u0275classMapInterpolate3:()=>h0,\u0275\u0275classMapInterpolate4:()=>f0,\u0275\u0275classMapInterpolate5:()=>m0,\u0275\u0275classMapInterpolate6:()=>p0,\u0275\u0275classMapInterpolate7:()=>g0,\u0275\u0275classMapInterpolate8:()=>_0,\u0275\u0275classMapInterpolateV:()=>v0,\u0275\u0275classProp:()=>Id,\u0275\u0275contentQuery:()=>Yg,\u0275\u0275defineComponent:()=>Ft,\u0275\u0275defineDirective:()=>zt,\u0275\u0275defineInjectable:()=>St,\u0275\u0275defineInjector:()=>xt,\u0275\u0275defineNgModule:()=>ge,\u0275\u0275definePipe:()=>an,\u0275\u0275directiveInject:()=>ha,\u0275\u0275disableBindings:()=>rs,\u0275\u0275element:()=>dd,\u0275\u0275elementContainer:()=>hd,\u0275\u0275elementContainerEnd:()=>hc,\u0275\u0275elementContainerStart:()=>dc,\u0275\u0275elementEnd:()=>uc,\u0275\u0275elementStart:()=>cc,\u0275\u0275enableBindings:()=>Hs,\u0275\u0275getCurrentView:()=>Bp,\u0275\u0275getInheritedFactory:()=>zh,\u0275\u0275hostProperty:()=>Zd,\u0275\u0275i18n:()=>X0,\u0275\u0275i18nApply:()=>q0,\u0275\u0275i18nAttributes:()=>J0,\u0275\u0275i18nEnd:()=>nh,\u0275\u0275i18nExp:()=>ih,\u0275\u0275i18nPostprocess:()=>eg,\u0275\u0275i18nStart:()=>th,\u0275\u0275inject:()=>ce,\u0275\u0275injectAttribute:()=>Fc,\u0275\u0275invalidFactory:()=>Zm,\u0275\u0275invalidFactoryDep:()=>Ee,\u0275\u0275listener:()=>md,\u0275\u0275loadQuery:()=>Zg,\u0275\u0275namespaceHTML:()=>br,\u0275\u0275namespaceMathML:()=>Wi,\u0275\u0275namespaceSVG:()=>Gn,\u0275\u0275nextContext:()=>zp,\u0275\u0275ngDeclareClassMetadata:()=>Tw,\u0275\u0275ngDeclareComponent:()=>Sw,\u0275\u0275ngDeclareDirective:()=>Dw,\u0275\u0275ngDeclareFactory:()=>Iw,\u0275\u0275ngDeclareInjectable:()=>kw,\u0275\u0275ngDeclareInjector:()=>Lw,\u0275\u0275ngDeclareNgModule:()=>Rw,\u0275\u0275ngDeclarePipe:()=>Ow,\u0275\u0275pipe:()=>Ag,\u0275\u0275pipeBind1:()=>kg,\u0275\u0275pipeBind2:()=>Lg,\u0275\u0275pipeBind3:()=>Rg,\u0275\u0275pipeBind4:()=>Og,\u0275\u0275pipeBindV:()=>Pg,\u0275\u0275projection:()=>Gp,\u0275\u0275projectionDef:()=>Wp,\u0275\u0275property:()=>cd,\u0275\u0275propertyInterpolate:()=>gd,\u0275\u0275propertyInterpolate1:()=>fc,\u0275\u0275propertyInterpolate2:()=>_d,\u0275\u0275propertyInterpolate3:()=>vd,\u0275\u0275propertyInterpolate4:()=>bd,\u0275\u0275propertyInterpolate5:()=>yd,\u0275\u0275propertyInterpolate6:()=>Cd,\u0275\u0275propertyInterpolate7:()=>xd,\u0275\u0275propertyInterpolate8:()=>Md,\u0275\u0275propertyInterpolateV:()=>wd,\u0275\u0275pureFunction0:()=>pg,\u0275\u0275pureFunction1:()=>gg,\u0275\u0275pureFunction2:()=>_g,\u0275\u0275pureFunction3:()=>vg,\u0275\u0275pureFunction4:()=>bg,\u0275\u0275pureFunction5:()=>yg,\u0275\u0275pureFunction6:()=>Cg,\u0275\u0275pureFunction7:()=>xg,\u0275\u0275pureFunction8:()=>Mg,\u0275\u0275pureFunctionV:()=>wg,\u0275\u0275queryRefresh:()=>Gg,\u0275\u0275reference:()=>Fp,\u0275\u0275registerNgModuleType:()=>Vc,\u0275\u0275resetView:()=>vs,\u0275\u0275resolveBody:()=>Lu,\u0275\u0275resolveDocument:()=>Om,\u0275\u0275resolveWindow:()=>Rm,\u0275\u0275restoreView:()=>_s,\u0275\u0275sanitizeHtml:()=>nm,\u0275\u0275sanitizeResourceUrl:()=>cu,\u0275\u0275sanitizeScript:()=>rm,\u0275\u0275sanitizeStyle:()=>im,\u0275\u0275sanitizeUrl:()=>lu,\u0275\u0275sanitizeUrlOrResourceUrl:()=>am,\u0275\u0275setComponentScope:()=>Ae,\u0275\u0275setNgModuleScope:()=>Ge,\u0275\u0275styleMap:()=>fo,\u0275\u0275styleMapInterpolate1:()=>b0,\u0275\u0275styleMapInterpolate2:()=>y0,\u0275\u0275styleMapInterpolate3:()=>C0,\u0275\u0275styleMapInterpolate4:()=>x0,\u0275\u0275styleMapInterpolate5:()=>M0,\u0275\u0275styleMapInterpolate6:()=>w0,\u0275\u0275styleMapInterpolate7:()=>E0,\u0275\u0275styleMapInterpolate8:()=>D0,\u0275\u0275styleMapInterpolateV:()=>T0,\u0275\u0275styleProp:()=>Sd,\u0275\u0275stylePropInterpolate1:()=>$d,\u0275\u0275stylePropInterpolate2:()=>Vd,\u0275\u0275stylePropInterpolate3:()=>jd,\u0275\u0275stylePropInterpolate4:()=>Hd,\u0275\u0275stylePropInterpolate5:()=>zd,\u0275\u0275stylePropInterpolate6:()=>Wd,\u0275\u0275stylePropInterpolate7:()=>Gd,\u0275\u0275stylePropInterpolate8:()=>Kd,\u0275\u0275stylePropInterpolateV:()=>Yd,\u0275\u0275syntheticHostListener:()=>pd,\u0275\u0275syntheticHostProperty:()=>Qd,\u0275\u0275template:()=>Lp,\u0275\u0275templateRefExtractor:()=>qg,\u0275\u0275text:()=>l0,\u0275\u0275textInterpolate:()=>kd,\u0275\u0275textInterpolate1:()=>gc,\u0275\u0275textInterpolate2:()=>Ld,\u0275\u0275textInterpolate3:()=>Rd,\u0275\u0275textInterpolate4:()=>Od,\u0275\u0275textInterpolate5:()=>Pd,\u0275\u0275textInterpolate6:()=>Fd,\u0275\u0275textInterpolate7:()=>Nd,\u0275\u0275textInterpolate8:()=>Ud,\u0275\u0275textInterpolateV:()=>Bd,\u0275\u0275trustConstantHtml:()=>om,\u0275\u0275trustConstantResourceUrl:()=>sm,\u0275\u0275validateIframeAttribute:()=>zf,\u0275\u0275viewQuery:()=>Kg});var n=g(8645),p=g(7394),C=g(5619),b=g(5592),o=g(3019),v=g(2096),a=g(3020),c=g(4664),s=g(3997),l=g(1374);function d(e){for(let t in e)if(e[t]===d)return t;throw Error("Could not find renamed property on target object.")}function r(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function u(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(u).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function h(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const m=d({__forward_ref__:d});function _(e){return e.__forward_ref__=_,e.toString=function(){return u(this())},e}function M(e){return x(e)?e():e}function x(e){return"function"==typeof e&&e.hasOwnProperty(m)&&e.__forward_ref__===_}function w(e){return e&&!!e.\u0275providers}const A="https://g.co/ng/security#xss";class T extends Error{constructor(t,i){super(O(t,i)),this.code=t}}function O(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function E(e){return"string"==typeof e?e:null==e?"":String(e)}function D(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():E(e)}function S(e,t){throw new T(-201,!1)}function $e(e,t,i,f){throw new Error(`ASSERTION ERROR: ${e}`+(null==f?"":` [Expected=> ${i} ${f} ${t} <=Actual]`))}function St(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const bt=St;function xt(e){return{providers:e.providers||[],imports:e.imports||[]}}function nt(e){return vt(e,Ce)||vt(e,ae)}function ot(e){return null!==nt(e)}function vt(e,t){return e.hasOwnProperty(t)?e[t]:null}function J(e){return e&&(e.hasOwnProperty(ee)||e.hasOwnProperty(ie))?e[ee]:null}const Ce=d({\u0275prov:d}),ee=d({\u0275inj:d}),ae=d({ngInjectableDef:d}),ie=d({ngInjectorDef:d});var pe=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}(pe||{});let Te;function ct(){return Te}function Lt(e){const t=Te;return Te=e,t}function Dt(e,t,i){const f=nt(e);return f&&"root"==f.providedIn?void 0===f.value?f.value=f.factory():f.value:i&pe.Optional?null:void 0!==t?t:void S(u(e))}const ze=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Yt={},Ue="__NG_DI_FLAG__",We="ngTempTokenPath",we=/\n/gm,De="__source";let je;function Z(e){const t=je;return je=e,t}function re(e,t=pe.Default){if(void 0===je)throw new T(-203,!1);return null===je?Dt(e,void 0,t):je.get(e,t&pe.Optional?null:void 0,t)}function ce(e,t=pe.Default){return(ct()||re)(M(e),t)}function Ee(e){throw new T(202,!1)}function it(e,t=pe.Default){return ce(e,Rt(t))}function Rt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ye(e){const t=[];for(let i=0;it){B=I-1;break}}}for(;II?"":y[lt+1].toLowerCase();const jt=8&f?Pt:null;if(jt&&-1!==qt(jt,xe,0)||2&f&&xe!==Pt){if(en(f))return!1;B=!0}}}}else{if(!B&&!en(f)&&!en(oe))return!1;if(B&&en(oe))continue;B=!1,f=oe|1&f}}return en(f)||B}function en(e){return 0==(1&e)}function Dn(e,t,i,f){if(null===t)return-1;let y=0;if(f||!i){let I=!1;for(;y-1)for(i++;i0?'="'+K+'"':"")+"]"}else 8&f?y+="."+B:4&f&&(y+=" "+B);else""!==y&&!en(B)&&(t+=oi(I,y),y=""),f=B,I=I||!en(f);i++}return""!==y&&(t+=oi(I,y)),t}function Ft(e){return tn(()=>{const t=Un(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Tn.Emulated,styles:e.styles||Mn,_:null,schemas:e.schemas||null,tView:null,id:""};vi(i);const f=e.dependencies;return i.directiveDefs=$i(f,!1),i.pipeDefs=$i(f,!0),i.id=function fn(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const y of i)t=Math.imul(31,t)+y.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function Ae(e,t,i){const f=e.\u0275cmp;f.directiveDefs=$i(t,!1),f.pipeDefs=$i(i,!0)}function W(e){return gn(e)||pn(e)}function be(e){return null!==e}function ge(e){return tn(()=>({type:e.type,bootstrap:e.bootstrap||Mn,declarations:e.declarations||Mn,imports:e.imports||Mn,exports:e.exports||Mn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ge(e,t){return tn(()=>{const i=kn(e,!0);i.declarations=t.declarations||Mn,i.imports=t.imports||Mn,i.exports=t.exports||Mn})}function It(e,t){if(null==e)return Sn;const i={};for(const f in e)if(e.hasOwnProperty(f)){let y=e[f],I=y;Array.isArray(y)&&(I=y[1],y=y[0]),i[y]=f,t&&(t[y]=I)}return i}function zt(e){return tn(()=>{const t=Un(e);return vi(t),t})}function an(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function gn(e){return e[Ci]||null}function pn(e){return e[di]||null}function Jn(e){return e[Li]||null}function Nn(e){const t=gn(e)||pn(e)||Jn(e);return null!==t&&t.standalone}function kn(e,t){const i=e[Qi]||null;if(!i&&!0===t)throw new Error(`Type ${u(e)} does not have '\u0275mod' property.`);return i}function Un(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Sn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Mn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:It(e.inputs,t),outputs:It(e.outputs)}}function vi(e){e.features?.forEach(t=>t(e))}function $i(e,t){if(!e)return null;const i=t?Jn:W;return()=>("function"==typeof e?e():e).map(f=>i(f)).filter(be)}const er=new Map,yn=0,rn=1,xn=2,ti=3,Ti=4,zi=5,xi=6,_r=7,gi=8,Ke=9,kt=10,U=11,fe=12,Pe=13,Je=14,Gt=15,Pn=16,Gi=17,Vi=18,rr=19,or=20,Zi=21,ur=22,Et=23,_t=24,ft=25,Ut=1,Wt=2,nn=7,_n=9,zn=10,Vn=11;function ci(e){return Array.isArray(e)&&"object"==typeof e[Ut]}function Mi(e){return Array.isArray(e)&&!0===e[Ut]}function ni(e){return 0!=(4&e.flags)}function Xn(e){return e.componentOffset>-1}function ai(e){return 1==(1&e.flags)}function Fi(e){return!!e.template}function Xi(e){return 0!=(512&e[xn])}function Jr(e){return 16==(16&e.type)}function sr(e,t){return e.hasOwnProperty(wt)?e[wt]:null}const Mr=Symbol("SIGNAL");function _o(e){return"function"==typeof e&&void 0!==e[Mr]}function Or(e,t,i={}){return t[Mr]=e,Object.assign(t,i)}function qr(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let hs=ze.WeakRef??class ds{constructor(t){this.ref=t}deref(){return this.ref}};function vo(e){}let Zo=0,yr=null,Cr=!1;function Ji(e){const t=yr;return yr=e,t}class so{constructor(){this.id=Zo++,this.ref=function fs(e){return new hs(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,i]of this.producers){const f=i.producerNode.deref();if(null!=f&&i.atTrackingVersion===this.trackingVersion){if(f.producerPollStatus(i.seenValueVersion))return!0}else this.producers.delete(t),f?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Cr;Cr=!0;try{for(const[i,f]of this.consumers){const y=f.consumerNode.deref();null!=y&&y.trackingVersion===f.atTrackingVersion?y.onConsumerDependencyMayHaveChanged():(this.consumers.delete(i),y?.producers.delete(this.id))}}finally{Cr=t}}producerAccessed(){if(Cr)throw new Error("");if(null===yr)return;let t=yr.producers.get(this.id);void 0===t?(t={consumerNode:yr.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:yr.trackingVersion},yr.producers.set(this.id,t),this.consumers.set(yr.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=yr.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==yr?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}function Qo(e,t){const i=new Gr(e,t?.equal??qr);return Or(i,i.signal.bind(i))}const ao=Symbol("UNSET"),zr=Symbol("COMPUTING"),Wr=Symbol("ERRORED");class Gr extends so{constructor(t,i){super(),this.computation=t,this.equal=i,this.value=ao,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==ao&&this.value!==zr&&!this.consumerPollProducersForChange())return void(this.stale=!1);this.recomputeValue()}}recomputeValue(){if(this.value===zr)throw new Error("Detected cycle in computations.");const t=this.value;this.value=zr,this.trackingVersion++;const i=Ji(this);let f;try{f=this.computation()}catch(y){f=Wr,this.error=y}finally{Ji(i)}this.stale=!1,t!==ao&&t!==Wr&&f!==Wr&&this.equal(t,f)?this.value=t:(this.value=f,this.valueVersion++)}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===Wr)throw this.error;return this.value}}let Ao=function ms(){throw new Error};function ar(){Ao()}class La extends so{constructor(t,i){super(),this.value=t,this.equal=i,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(t){this.producerUpdatesAllowed||ar(),this.equal(this.value,t)||(this.value=t,this.valueVersion++,this.producerMayHaveChanged())}update(t){this.producerUpdatesAllowed||ar(),this.set(t(this.value))}mutate(t){this.producerUpdatesAllowed||ar(),t(this.value),this.valueVersion++,this.producerMayHaveChanged()}asReadonly(){return void 0===this.readonlySignal&&(this.readonlySignal=Or(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}}function Jo(e,t){const i=new La(e,t?.equal??qr);return Or(i,i.signal.bind(i),{set:i.set.bind(i),update:i.update.bind(i),mutate:i.mutate.bind(i),asReadonly:i.asReadonly.bind(i)})}function ps(e){const t=Ji(null);try{return e()}finally{Ji(t)}}const qo=()=>{};class es extends so{constructor(t,i,f){super(),this.watch=t,this.schedule=i,this.dirty=!1,this.cleanupFn=qo,this.registerOnCleanup=y=>{this.cleanupFn=y},this.consumerAllowSignalWrites=f}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Ji(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=qo,this.watch(this.registerOnCleanup)}finally{Ji(t)}}cleanup(){this.cleanupFn()}}class ts{constructor(t,i,f){this.previousValue=t,this.currentValue=i,this.firstChange=f}isFirstChange(){return this.firstChange}}function bo(){return Lo}function Lo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ro),ns}function ns(){const e=to(this),t=e?.current;if(t){const i=e.previous;if(i===Sn)e.previous=t;else for(let f in t)i[f]=t[f];e.current=null,this.ngOnChanges(t)}}function Ro(e,t,i,f){const y=this.declaredInputs[i],I=to(e)||function Fr(e,t){return e[Pr]=t}(e,{previous:Sn,current:null}),B=I.current||(I.current={}),K=I.previous,oe=K[y];B[y]=new ts(oe&&oe.currentValue,t,K===Sn),e[f]=t}bo.ngInherit=!0;const Pr="__ngSimpleChanges__";function to(e){return e[Pr]||null}let lo=null;const yo=e=>{lo=e},vr=function(e,t,i){lo?.(e,t,i)},Co="svg",Oo="math";function Oi(e){for(;Array.isArray(e);)e=e[yn];return e}function Ie(e,t){return Oi(t[e])}function le(e,t){return Oi(t[e.index])}function ht(e,t){return e.data[t]}function Ht(e,t){return e[t]}function Zt(e,t){const i=t[e];return ci(i)?i:i[yn]}function pi(e,t){return null==t?null:e[t]}function Rn(e){e[Gi]=0}function qi(e){1024&e[xn]||(e[xn]|=1024,ir(e,1))}function Si(e){1024&e[xn]&&(e[xn]&=-1025,ir(e,-1))}function ir(e,t){let i=e[ti];if(null===i)return;i[zi]+=t;let f=i;for(i=i[ti];null!==i&&(1===t&&1===f[zi]||-1===t&&0===f[zi]);)i[zi]+=t,f=i,i=i[ti]}function Ar(e,t){if(256==(256&e[xn]))throw new T(911,!1);null===e[Zi]&&(e[Zi]=[]),e[Zi].push(t)}const Kn={lFrame:te(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function is(){return Kn.bindingsEnabled}function mr(){return null!==Kn.skipHydrationRootTNode}function Hs(){Kn.bindingsEnabled=!0}function rs(){Kn.bindingsEnabled=!1}function dn(){return Kn.lFrame.lView}function yi(){return Kn.lFrame.tView}function _s(e){return Kn.lFrame.contextLView=e,e[gi]}function vs(e){return Kn.lFrame.contextLView=null,e}function cr(){let e=bs();for(;null!==e&&64===e.type;)e=e.parent;return e}function bs(){return Kn.lFrame.currentTNode}function xo(){const e=Kn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ur(e,t){const i=Kn.lFrame;i.currentTNode=e,i.isParent=t}function ys(){return Kn.lFrame.isParent}function Cs(){Kn.lFrame.isParent=!1}function dr(){const e=Kn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yr(){return Kn.lFrame.bindingIndex}function Br(e){return Kn.lFrame.bindingIndex=e}function Mo(){return Kn.lFrame.bindingIndex++}function Zr(e){const t=Kn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Ks(e){Kn.lFrame.inI18n=e}function Oa(e,t){const i=Kn.lFrame;i.bindingIndex=i.bindingRootIndex=e,Po(t)}function Po(e){Kn.lFrame.currentDirectiveIndex=e}function Fo(e){const t=Kn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ys(){return Kn.lFrame.currentQueryIndex}function os(e){Kn.lFrame.currentQueryIndex=e}function Pa(e){const t=e[rn];return 2===t.type?t.declTNode:1===t.type?e[xi]:null}function wo(e,t,i){if(i&pe.SkipSelf){let y=t,I=e;for(;!(y=y.parent,null!==y||i&pe.Host||(y=Pa(I),null===y||(I=I[Je],10&y.type))););if(null===y)return!1;t=y,e=I}const f=Kn.lFrame=G();return f.currentTNode=t,f.lView=e,!0}function No(e){const t=G(),i=e[rn];Kn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function G(){const e=Kn.lFrame,t=null===e?null:e.child;return null===t?te(e):t}function te(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function V(){const e=Kn.lFrame;return Kn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const de=V;function Le(){const e=V();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 Nt(){return Kn.lFrame.selectedIndex}function mn(e){Kn.lFrame.selectedIndex=e}function Ln(){const e=Kn.lFrame;return ht(e.tView,e.selectedIndex)}function Gn(){Kn.lFrame.currentNamespace=Co}function Wi(){Kn.lFrame.currentNamespace=Oo}function br(){!function Ms(){Kn.lFrame.currentNamespace=null}()}function Eo(){return Kn.lFrame.currentNamespace}let uo=!0;function ho(){return uo}function Er(e){uo=e}function ws(e,t){for(let i=t.directiveStart,f=t.directiveEnd;i=f)break}else t[oe]<0&&(e[Gi]+=65536),(K>13>16&&(3&e[xn])===t&&(e[xn]+=8192,Ml(K,I)):Ml(K,I)}const Re=-1;class H{constructor(t,i,f){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=f}}function Ui(e){return e!==Re}function Fn(e){return 32767&e}function qn(e,t){let i=function bn(e){return e>>16}(e),f=t;for(;i>0;)f=f[Je],i--;return f}let nr=!0;function wi(e){const t=nr;return nr=e,t}const Hi=255,Ei=5;let Bn=0;const _i={};function ei(e,t){const i=Ai(e,t);if(-1!==i)return i;const f=t[rn];f.firstCreatePass&&(e.injectorIndex=t.length,Ki(f.data,e),Ki(t,null),Ki(f.blueprint,null));const y=ui(e,t),I=e.injectorIndex;if(Ui(y)){const B=Fn(y),K=qn(y,t),oe=K[rn].data;for(let xe=0;xe<8;xe++)t[I+xe]=K[B+xe]|oe[B+xe]}return t[I+8]=y,I}function Ki(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ai(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ui(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,f=null,y=t;for(;null!==y;){if(f=Wh(y),null===f)return Re;if(i++,y=y[Je],-1!==f.injectorIndex)return f.injectorIndex|i<<16}return Re}function Di(e,t,i){!function hr(e,t,i){let f;"string"==typeof i?f=i.charCodeAt(0)||0:i.hasOwnProperty(mt)&&(f=i[mt]),null==f&&(f=i[mt]=Bn++);const y=f&Hi;t.data[e+(y>>Ei)]|=1<=0?t&Hi:Cv:t}(i);if("function"==typeof I){if(!wo(t,e,f))return f&pe.Host?Na(y,0,f):Ts(t,i,f,y);try{const B=I(f);if(null!=B||f&pe.Optional)return B;S()}finally{de()}}else if("number"==typeof I){let B=null,K=Ai(e,t),oe=Re,xe=f&pe.Host?t[Gt][xi]:null;for((-1===K||f&pe.SkipSelf)&&(oe=-1===K?ui(e,t):t[K+8],oe!==Re&&Hh(f,!1)?(B=t[rn],K=Fn(oe),t=qn(oe,t)):K=-1);-1!==K;){const Ve=t[rn];if(jh(I,K,Ve.data)){const lt=bv(K,t,i,B,f,xe);if(lt!==_i)return lt}oe=t[K+8],oe!==Re&&Hh(f,t[rn].data[K+8]===xe)&&jh(I,K,t)?(B=Ve,K=Fn(oe),t=qn(oe,t)):K=-1}}return y}function bv(e,t,i,f,y,I){const B=t[rn],K=B.data[e+8],Ve=wl(K,B,i,null==f?Xn(K)&&nr:f!=B&&0!=(3&K.type),y&pe.Host&&I===K);return null!==Ve?Is(t,B,Ve,K):_i}function wl(e,t,i,f,y){const I=e.providerIndexes,B=t.data,K=1048575&I,oe=e.directiveStart,Ve=I>>20,Pt=y?K+Ve:e.directiveEnd;for(let jt=f?K:K+Ve;jt=oe&&sn.type===i)return jt}if(y){const jt=B[oe];if(jt&&Fi(jt)&&jt.type===i)return oe}return null}function Is(e,t,i,f){let y=e[i];const I=t.data;if(function Ze(e){return e instanceof H}(y)){const B=y;B.resolving&&function R(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new T(-200,`Circular dependency in DI detected for ${e}${i}`)}(D(I[i]));const K=wi(B.canSeeViewProviders);B.resolving=!0;const oe=B.injectImpl?Lt(B.injectImpl):null;wo(e,f,pe.Default);try{y=e[i]=B.factory(void 0,I,e,f),t.firstCreatePass&&i>=f.directiveStart&&function xl(e,t,i){const{ngOnChanges:f,ngOnInit:y,ngDoCheck:I}=t.type.prototype;if(f){const B=Lo(t);(i.preOrderHooks??=[]).push(e,B),(i.preOrderCheckHooks??=[]).push(e,B)}y&&(i.preOrderHooks??=[]).push(0-e,y),I&&((i.preOrderHooks??=[]).push(e,I),(i.preOrderCheckHooks??=[]).push(e,I))}(i,I[i],t)}finally{null!==oe&&Lt(oe),wi(K),B.resolving=!1,de()}}return y}function jh(e,t,i){return!!(i[t+(e>>Ei)]&1<{const t=e.prototype.constructor,i=t[wt]||Pc(t),f=Object.prototype;let y=Object.getPrototypeOf(e.prototype).constructor;for(;y&&y!==f;){const I=y[wt]||Pc(y);if(I&&I!==i)return I;y=Object.getPrototypeOf(y)}return I=>new I})}function Pc(e){return x(e)?()=>{const t=Pc(M(e));return t&&t()}:sr(e)}function Wh(e){const t=e[rn],i=t.type;return 2===i?t.declTNode:1===i?e[xi]:null}function Fc(e){return function Uo(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const f=i.length;let y=0;for(;y{const I=Nc(t);function B(...K){if(this instanceof B)return I.call(this,...K),this;const oe=new B(...K);return function(Ve){return y&&y(Ve,...K),(Ve.hasOwnProperty(Xs)?Ve[Xs]:Object.defineProperty(Ve,Xs,{value:[]})[Xs]).push(oe),f&&f(Ve),Ve}}return i&&(B.prototype=Object.create(i.prototype)),B.prototype.ngMetadataName=e,B.annotationCls=B,B})}function Nc(e){return function(...i){if(e){const f=e(...i);for(const y in f)this[y]=f[y]}}}function ea(e,t,i){return tn(()=>{const f=Nc(t);function y(...I){if(this instanceof y)return f.apply(this,I),this;const B=new y(...I);return K.annotation=B,K;function K(oe,xe,Ve){const lt=oe.hasOwnProperty(Js)?oe[Js]:Object.defineProperty(oe,Js,{value:[]})[Js];for(;lt.length<=Ve;)lt.push(null);return(lt[Ve]=lt[Ve]||[]).push(B),oe}}return i&&(y.prototype=Object.create(i.prototype)),y.prototype.ngMetadataName=e,y.annotationCls=y,y})}function ss(e,t,i,f){return tn(()=>{const y=Nc(t);function I(...B){if(this instanceof I)return y.apply(this,B),this;const K=new I(...B);return function oe(xe,Ve){if(void 0===xe)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const lt=xe.constructor,Pt=lt.hasOwnProperty(qs)?lt[qs]:Object.defineProperty(lt,qs,{value:{}})[qs];Pt[Ve]=Pt.hasOwnProperty(Ve)&&Pt[Ve]||[],Pt[Ve].unshift(K),f&&f(xe,Ve,...B)}}return i&&(I.prototype=Object.create(i.prototype)),I.prototype.ngMetadataName=e,I.annotationCls=I,I})}const Gh=ea("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Fc(e)}));class Ba{}const Mv=ss("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),Ba),wv=ss("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Ba),Ev=ss("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),Ba),Dv=ss("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Ba);var As=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}(As||{});function pr(e){const t=ze.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Yh=Function;function $a(e){return"function"==typeof e}function no(e){return e.flat(Number.POSITIVE_INFINITY)}function Va(e,t){e.forEach(i=>Array.isArray(i)?Va(i,t):t(i))}function Zh(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function El(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ja(e,t){const i=[];for(let f=0;f=0?e[1|f]=i:(f=~f,function kv(e,t,i,f){let y=e.length;if(y==t)e.push(i,f);else if(1===y)e.push(f,e[0]),e[0]=i;else{for(y--,e.push(e[y-1],e[y]);y>t;)e[y]=e[y-2],y--;e[t]=i,e[t+1]=f}}(e,f,t,i)),f}function Uc(e,t){const i=ta(e,t);if(i>=0)return e[1|i]}function ta(e,t){return function Qh(e,t,i){let f=0,y=e.length>>i;for(;y!==f;){const I=f+(y-f>>1),B=e[I<t?y=I:f=I+1}return~(y<new t(...i)}_zipTypesAndAnnotations(t,i){let f;f=ja(typeof t>"u"?i.length:t.length);for(let y=0;y"u"?[]:t[y]&&t[y]!=Object?[t[y]]:[],i&&null!=i[y]&&(f[y]=f[y].concat(i[y]));return f}_ownParameters(t,i){if(function Fv(e){return Lv.test(e)||Pv.test(e)||Rv.test(e)&&!Ov.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const y=t.ctorParameters;if(y&&y!==i.ctorParameters){const K="function"==typeof y?y():y,oe=K.map(Ve=>Ve&&Ve.type),xe=K.map(Ve=>Ve&&Bc(Ve.decorators));return this._zipTypesAndAnnotations(oe,xe)}const I=t.hasOwnProperty(Js)&&t[Js],B=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return B||I?this._zipTypesAndAnnotations(B,I):ja(t.length)}parameters(t){if(!$a(t))return[];const i=Dl(t);let f=this._ownParameters(t,i);return!f&&i!==Object&&(f=this.parameters(i)),f||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let f=t.annotations;return"function"==typeof f&&f.annotations&&(f=f.annotations),f}return t.decorators&&t.decorators!==i.decorators?Bc(t.decorators):t.hasOwnProperty(Xs)?t[Xs]:null}annotations(t){if(!$a(t))return[];const i=Dl(t),f=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(f)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let f=t.propMetadata;return"function"==typeof f&&f.propMetadata&&(f=f.propMetadata),f}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const f=t.propDecorators,y={};return Object.keys(f).forEach(I=>{y[I]=Bc(f[I])}),y}return t.hasOwnProperty(qs)?t[qs]:null}propMetadata(t){if(!$a(t))return{};const i=Dl(t),f={};if(i!==Object){const I=this.propMetadata(i);Object.keys(I).forEach(B=>{f[B]=I[B]})}const y=this._ownPropMetadata(t,i);return y&&Object.keys(y).forEach(I=>{const B=[];f.hasOwnProperty(I)&&B.push(...f[I]),B.push(...y[I]),f[I]=B}),f}ownPropMetadata(t){return $a(t)&&this._ownPropMetadata(t,Dl(t))||{}}hasLifecycleHook(t,i){return t instanceof Yh&&i in t.prototype}}function Bc(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Dl(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Jh=qe(ea("Inject",e=>({token:e})),-1),Tl=qe(ea("Optional"),8),qh=qe(ea("Self"),2),Sl=qe(ea("SkipSelf"),4),ef=qe(ea("Host"),1);let tf=null;function $c(){return tf=tf||new Xh}function Il(e){return nf($c().parameters(e))}function nf(e){return e.map(t=>function Nv(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i{const B=[];y.templateUrl&&B.push(f(y.templateUrl).then(lt=>{y.template=lt}));const K=y.styleUrls,oe=y.styles||(y.styles=[]),xe=y.styles.length;K&&K.forEach((lt,Pt)=>{oe.push(""),B.push(f(lt).then(jt=>{oe[xe+Pt]=jt,K.splice(K.indexOf(lt),1),0==K.length&&(y.styleUrls=void 0)}))});const Ve=Promise.all(B).then(()=>function Vv(e){Ha.delete(e)}(I));t.push(Ve)}),af(),Promise.all(t).then(()=>{})}let na=new Map;const Ha=new Set;function sf(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function af(){const e=na;return na=new Map,e}function $v(e){return"string"==typeof e?e:e.text()}const Al=new Map;let lf=!0;function Vc(e,t){(function jv(e,t,i){if(t&&t!==i&&lf)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)})(t,Al.get(t)||null,e),Al.set(t,e)}function cf(e){return Al.get(e)}function Hv(e){lf=!e}const uf={name:"custom-elements"},df={name:"no-errors-schema"};let jc=!1;function zv(e){jc=e}function Wv(){return jc}let Hc=!1;function Gv(e){Hc=e}function Kv(){return Hc}const ia="ngSkipHydration";function pf(e){const t=ia.toLowerCase(),i=e.mergedAttrs;if(null===i)return!1;for(let f=0;f|^->||--!>|)/,Xv="\u200b$1\u200b";const zc=new Map;let Jv=0;function vf(e){return zc.get(e)||null}class bf{get lView(){return vf(this.lViewId)}constructor(t,i,f){this.lViewId=t,this.nodeIndex=i,this.native=f}}function kr(e){let t=za(e);if(t){if(ci(t)){const i=t;let f,y,I;if(xf(e)){if(f=wf(i,e),-1==f)throw new Error("The provided component was not found in the application");y=e}else if(function nb(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(f=function rb(e,t){let i=e[rn].firstChild;for(;i;){const y=i.directiveEnd;for(let I=i.directiveStart;I=0){const K=Oi(I[B]),oe=Wc(I,B,K);Dr(K,oe),t=oe;break}}}}return t||null}function Wc(e,t,i){return new bf(e[rr],t,i)}function yf(e){let i,t=za(e);if(ci(t)){const f=t,y=wf(f,e);i=Zt(y,f);const I=Wc(f,y,i[yn]);I.component=e,Dr(e,I),Dr(I.native,I)}else i=Zt(t.nodeIndex,t.lView);return i}const Gc="__ngContext__";function Dr(e,t){ci(t)?(e[Gc]=t[rr],function eb(e){zc.set(e[rr],e)}(t)):e[Gc]=t}function za(e){const t=e[Gc];return"number"==typeof t?vf(t):t||null}function Cf(e){const t=za(e);return t?ci(t)?t:t.lView:null}function xf(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Mf(e,t){const i=e[rn];for(let f=ft;ft.replace(Qv,Xv))}(t))}function Nl(e,t,i){return e.createElement(t,i)}function Af(e,t){const i=e[_n],f=i.indexOf(t);Si(t),i.splice(f,1)}function Qc(e,t){if(e.length<=Vn)return;const i=Vn+t,f=e[i];if(f){const y=f[Pn];null!==y&&y!==e&&Af(y,f),t>0&&(e[i-1][Ti]=f[Ti]);const I=El(e,Vn+t);!function ub(e,t){Ka(e,t,t[U],2,null,null),t[yn]=null,t[xi]=null}(f[rn],f);const B=I[Vi];null!==B&&B.detachView(I[rn]),f[ti]=null,f[Ti]=null,f[xn]&=-129}return f}function kf(e,t){if(!(256&t[xn])){const i=t[U];t[Et]?.destroy(),t[_t]?.destroy(),i.destroyNode&&Ka(e,t,i,3,null,null),function fb(e){let t=e[fe];if(!t)return Xc(e[rn],e);for(;t;){let i=null;if(ci(t))i=t[fe];else{const f=t[Vn];f&&(i=f)}if(!i){for(;t&&!t[Ti]&&t!==e;)ci(t)&&Xc(t[rn],t),t=t[ti];null===t&&(t=e),ci(t)&&Xc(t[rn],t),i=t&&t[Ti]}t=i}}(t)}}function Xc(e,t){if(!(256&t[xn])){t[xn]&=-129,t[xn]|=256,function _b(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let f=0;f=0?f[B]():f[-B].unsubscribe(),I+=2}else i[I].call(f[i[I+1]]);null!==f&&(t[_r]=null);const y=t[Zi];if(null!==y){t[Zi]=null;for(let I=0;I-1){const{encapsulation:I}=e.data[f.directiveStart+y];if(I===Tn.None||I===Tn.Emulated)return null}return le(f,i)}}function ks(e,t,i,f,y){e.insertBefore(t,i,f,y)}function Rf(e,t,i){e.appendChild(t,i)}function Of(e,t,i,f,y){null!==f?ks(e,t,i,f,y):Rf(e,t,i)}function Ul(e,t){return e.parentNode(t)}function Pf(e,t,i){return Nf(e,t,i)}function Ff(e,t,i){return 40&e.type?le(e,i):null}let qc,Vl,iu,jl,Nf=Ff;function Uf(e,t){Nf=e,qc=t}function Bl(e,t,i,f){const y=Jc(e,f,t),I=t[U],K=Pf(f.parent||t[xi],f,t);if(null!=y)if(Array.isArray(i))for(let oe=0;oee,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vl}function oa(e){return nu()?.createHTML(e)||e}function zf(e,t,i){const f=dn(),y=Ln(),I=le(y,f);if(2===y.type&&"iframe"===t.toLowerCase()){const B=I;throw B.src="",B.srcdoc=oa(""),$l(f[U],B),new T(-910,!1)}return e}function Db(e){iu=e}function Ya(){if(void 0!==iu)return iu;if(typeof document<"u")return document;throw new T(210,!1)}function ru(){if(void 0===jl&&(jl=null,ze.trustedTypes))try{jl=ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jl}function Wf(e){return ru()?.createHTML(e)||e}function Gf(e){return ru()?.createScript(e)||e}function Kf(e){return ru()?.createScriptURL(e)||e}class Ls{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${A})`}}class Tb extends Ls{getTypeName(){return"HTML"}}class Sb extends Ls{getTypeName(){return"Style"}}class Ib extends Ls{getTypeName(){return"Script"}}class Ab extends Ls{getTypeName(){return"URL"}}class kb extends Ls{getTypeName(){return"ResourceURL"}}function Bo(e){return e instanceof Ls?e.changingThisBreaksApplicationSecurity:e}function sa(e,t){const i=Yf(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${A})`)}return i===t}function Yf(e){return e instanceof Ls&&e.getTypeName()||null}function Lb(e){return new Tb(e)}function Rb(e){return new Sb(e)}function Ob(e){return new Ib(e)}function Pb(e){return new Ab(e)}function Fb(e){return new kb(e)}function Zf(e){const t=new Ub(e);return function Bb(){try{return!!(new window.DOMParser).parseFromString(oa(""),"text/html")}catch{return!1}}()?new Nb(t):t}class Nb{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(oa(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class Ub{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=oa(t),i}}const $b=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hl(e){return(e=String(e)).match($b)?e:"unsafe:"+e}function $o(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Za(...e){const t={};for(const i of e)for(const f in i)i.hasOwnProperty(f)&&(t[f]=!0);return t}const Qf=$o("area,br,col,hr,img,wbr"),Xf=$o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jf=$o("rp,rt"),ou=Za(Qf,Za(Xf,$o("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")),Za(Jf,$o("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")),Za(Jf,Xf)),su=$o("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qf=Za(su,$o("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"),$o("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")),Vb=$o("script,style,template");class jb{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,f=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?f=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,f&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let y=this.checkClobberedElement(i,i.nextSibling);if(y){i=y;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!ou.hasOwnProperty(i))return this.sanitizedSomething=!0,!Vb.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const f=t.attributes;for(let y=0;y"),!0}endElement(t){const i=t.nodeName.toLowerCase();ou.hasOwnProperty(i)&&!Qf.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(em(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const Hb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zb=/([^\#-~ |!])/g;function em(e){return e.replace(/&/g,"&").replace(Hb,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(zb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let zl;function tm(e,t){let i=null;try{zl=zl||Zf(e);let f=t?String(t):"";i=zl.getInertBodyElement(f);let y=5,I=f;do{if(0===y)throw new Error("Failed to sanitize html because the input is unstable");y--,f=I,I=i.innerHTML,i=zl.getInertBodyElement(f)}while(f!==I);return oa((new jb).sanitizeChildren(au(i)||i))}finally{if(i){const f=au(i)||i;for(;f.firstChild;)f.removeChild(f.firstChild)}}}function au(e){return"content"in e&&function Wb(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Rs=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}(Rs||{});function nm(e){const t=Qa();return t?Wf(t.sanitize(Rs.HTML,e)||""):sa(e,"HTML")?Wf(Bo(e)):tm(Ya(),E(e))}function im(e){const t=Qa();return t?t.sanitize(Rs.STYLE,e)||"":sa(e,"Style")?Bo(e):E(e)}function lu(e){const t=Qa();return t?t.sanitize(Rs.URL,e)||"":sa(e,"URL")?Bo(e):Hl(E(e))}function cu(e){const t=Qa();if(t)return Kf(t.sanitize(Rs.RESOURCE_URL,e)||"");if(sa(e,"ResourceURL"))return Kf(Bo(e));throw new T(904,!1)}function rm(e){const t=Qa();if(t)return Gf(t.sanitize(Rs.SCRIPT,e)||"");if(sa(e,"Script"))return Gf(Bo(e));throw new T(905,!1)}function om(e){return oa(e[0])}function sm(e){return function Eb(e){return nu()?.createScriptURL(e)||e}(e[0])}function am(e,t,i){return function Gb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?cu:lu}(t,i)(e)}function Qa(){const e=dn();return e&&e[kt].sanitizer}class Yi{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=St({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Xa=new Yi("ENVIRONMENT_INITIALIZER"),uu=new Yi("INJECTOR",-1),lm=new Yi("INJECTOR_DEF_TYPES");class cm{get(t,i=Yt){if(i===Yt){const f=new Error(`NullInjectorError: No provider for ${u(t)}!`);throw f.name="NullInjectorError",f}return i}}function du(e){return{\u0275providers:e}}function um(...e){return{\u0275providers:dm(0,e),\u0275fromNgModule:!0}}function dm(e,...t){const i=[],f=new Set;let y;return Va(t,I=>{const B=I;hu(B,i,[],f)&&(y||=[],y.push(B))}),void 0!==y&&hm(y,i),i}function hm(e,t){for(let i=0;i{t.push(I)})}}function hu(e,t,i,f){if(!(e=M(e)))return!1;let y=null,I=J(e);const B=!I&&gn(e);if(I||B){if(B&&!B.standalone)return!1;y=e}else{const oe=e.ngModule;if(I=J(oe),!I)return!1;y=oe}const K=f.has(y);if(B){if(K)return!1;if(f.add(y),B.dependencies){const oe="function"==typeof B.dependencies?B.dependencies():B.dependencies;for(const xe of oe)hu(xe,t,i,f)}}else{if(!I)return!1;{if(null!=I.imports&&!K){let xe;f.add(y);try{Va(I.imports,Ve=>{hu(Ve,t,i,f)&&(xe||=[],xe.push(Ve))})}finally{}void 0!==xe&&hm(xe,t)}if(!K){const xe=sr(y)||(()=>new y);t.push({provide:y,useFactory:xe,deps:Mn},{provide:lm,useValue:y,multi:!0},{provide:Xa,useValue:()=>ce(y),multi:!0})}const oe=I.providers;null==oe||K||fu(oe,Ve=>{t.push(Ve)})}}return y!==e&&void 0!==e.providers}function fu(e,t){for(let i of e)w(i)&&(i=i.\u0275providers),Array.isArray(i)?fu(i,t):t(i)}const Kb=d({provide:String,useValue:d});function mu(e){return null!==e&&"object"==typeof e&&Kb in e}function Os(e){return"function"==typeof e}const pu=new Yi("Set Injector scope."),Wl={},Zb={};let gu;function Gl(){return void 0===gu&&(gu=new cm),gu}class Ps{}class _u extends Ps{get destroyed(){return this._destroyed}constructor(t,i,f,y){super(),this.parent=i,this.source=f,this.scopes=y,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,bu(t,B=>this.processProvider(B)),this.records.set(uu,aa(void 0,this)),y.has("environment")&&this.records.set(Ps,aa(void 0,this));const I=this.records.get(pu);null!=I&&"string"==typeof I.value&&this.scopes.add(I.value),this.injectorDefTypes=new Set(this.get(lm.multi,Mn,pe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=Z(this),f=Lt(void 0);try{return t()}finally{Z(i),Lt(f)}}get(t,i=Yt,f=pe.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pt))return t[pt](this);f=Rt(f);const y=Z(this),I=Lt(void 0);try{if(!(f&pe.SkipSelf)){let K=this.records.get(t);if(void 0===K){const oe=function ey(e){return"function"==typeof e||"object"==typeof e&&e instanceof Yi}(t)&&nt(t);K=oe&&this.injectableDefInScope(oe)?aa(vu(t),Wl):null,this.records.set(t,K)}if(null!=K)return this.hydrate(t,K)}return(f&pe.Self?Gl():this.parent).get(t,i=f&pe.Optional&&i===Yt?null:i)}catch(B){if("NullInjectorError"===B.name){if((B[We]=B[We]||[]).unshift(u(t)),y)throw B;return function dt(e,t,i,f){const y=e[We];throw t[De]&&y.unshift(t[De]),e.message=function At(e,t,i,f=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let y=u(t);if(Array.isArray(t))y=t.map(u).join(" -> ");else if("object"==typeof t){let I=[];for(let B in t)if(t.hasOwnProperty(B)){let K=t[B];I.push(B+":"+("string"==typeof K?JSON.stringify(K):u(K)))}y=`{${I.join(", ")}}`}return`${i}${f?"("+f+")":""}[${y}]: ${e.replace(we,"\n ")}`}("\n"+e.message,y,i,f),e.ngTokenPath=y,e[We]=null,e}(B,t,"R3InjectorError",this.source)}throw B}finally{Lt(I),Z(y)}}resolveInjectorInitializers(){const t=Z(this),i=Lt(void 0);try{const f=this.get(Xa.multi,Mn,pe.Self);for(const y of f)y()}finally{Z(t),Lt(i)}}toString(){const t=[],i=this.records;for(const f of i.keys())t.push(u(f));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(t){let i=Os(t=M(t))?t:M(t&&t.provide);const f=function Xb(e){return mu(e)?aa(void 0,e.useValue):aa(pm(e),Wl)}(t);if(Os(t)||!0!==t.multi)this.records.get(i);else{let y=this.records.get(i);y||(y=aa(void 0,Wl,!0),y.factory=()=>Ye(y.multi),this.records.set(i,y)),i=t,y.multi.push(t)}this.records.set(i,f)}hydrate(t,i){return i.value===Wl&&(i.value=Zb,i.value=i.factory()),"object"==typeof i.value&&i.value&&function qb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=M(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function vu(e){const t=nt(e),i=null!==t?t.factory:sr(e);if(null!==i)return i;if(e instanceof Yi)throw new T(204,!1);if(e instanceof Function)return function Qb(e){const t=e.length;if(t>0)throw ja(t,"?"),new T(204,!1);const i=function rt(e){return e&&(e[Ce]||e[ae])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new T(204,!1)}function pm(e,t,i){let f;if(Os(e)){const y=M(e);return sr(y)||vu(y)}if(mu(e))f=()=>M(e.useValue);else if(function mm(e){return!(!e||!e.useFactory)}(e))f=()=>e.useFactory(...Ye(e.deps||[]));else if(function fm(e){return!(!e||!e.useExisting)}(e))f=()=>ce(M(e.useExisting));else{const y=M(e&&(e.useClass||e.provide));if(!function Jb(e){return!!e.deps}(e))return sr(y)||vu(y);f=()=>new y(...Ye(e.deps))}return f}function aa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function bu(e,t){for(const i of e)Array.isArray(i)?bu(i,t):i&&w(i)?bu(i.\u0275providers,t):t(i)}const gm=new Yi("AppId",{providedIn:"root",factory:()=>ty}),ty="ng",_m=new Yi("Platform Initializer"),yu=new Yi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ny=new Yi("Application Packages Root URL"),iy=new Yi("AnimationModuleType"),ry=new Yi("CSP nonce",{providedIn:"root",factory:()=>Ya().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),vm=new Yi("",{providedIn:"root",factory:()=>new Set});function oy(e){return e}function sy(){const e=new Ja;return"browser"===it(yu)&&(e.store=function ay(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(f){console.warn("Exception while restoring TransferState for app "+t,f)}return{}}(Ya(),it(gm))),e}let Ja=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(i,f){return void 0!==this.store[i]?this.store[i]:f}set(i,f){this.store[i]=f}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,f){this.onSerializeCallbacks[i]=f}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(f){console.warn("Exception in onSerialize callback: ",f)}return JSON.stringify(this.store).replace(/null;function ly(e,t){const i=e.getAttribute(Tu);if(null==i)return null;let f={};if(""!==i){const I=t.get(Ja,null,{optional:!0});null!==I&&(f=I.get(Du,[])[Number(i)])}const y={data:f,firstChild:e.firstChild??null};return e.removeAttribute(Tu),y}function Cm(e,t){return ym(e,t)}function xm(e){let t=e._lView;return 2===t[rn].type?null:(Xi(t)&&(t=t[ft]),Mi(t)&&(t=t[yn]),t)}function Su(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function Iu(e,t){return e.segmentHeads?.[t]??null}function Mm(e,t){return e.data[qa]?.[t]??null}function Au(e,t){const i=Mm(e,t)??[];let f=0;for(let y of i)f+=y[el]*(y[Kl]??1);return f}function Zl(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[Yl];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class wm{}class Ql{}class py{resolveComponentFactory(t){throw function my(e){const t=Error(`No component factory found for ${u(e)}.`);return t.ngComponent=e,t}(t)}}let tl=(()=>{class e{}return e.NULL=new py,e})();function gy(){return ca(cr(),dn())}function ca(e,t){return new nl(le(e,t))}let nl=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=gy,e})();function _y(e){return e instanceof nl?e.nativeElement:e}class Dm{}let vy=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function by(){const e=dn(),i=Zt(cr().index,e);return(ci(i)?i:e)[U]}(),e})(),Tm=(()=>{class e{}return e.\u0275prov=St({token:e,providedIn:"root",factory:()=>null}),e})();class Sm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Im=new Sm("16.1.7"),Xl={};function il(e){for(;e;){e[xn]|=64;const t=Wa(e);if(Xi(e)&&!t)return e;e=t}return null}function ku(e){return e.ngOriginalError}class ua{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&ku(t);for(;i&&ku(i);)i=ku(i);return i||null}}const rl=new Yi(""),Lm=new Yi("",{providedIn:"root",factory:()=>!1});function Rm(e){return e.ownerDocument.defaultView}function Om(e){return e.ownerDocument}function Lu(e){return e.ownerDocument.body}function Vo(e){return e instanceof Function?e():e}class Um extends so{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){il(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,i,f){const y=Ji(this);this.trackingVersion++;try{t(i,f)}finally{Ji(y)}}destroy(){this.trackingVersion++}}let Jl=null;function Bm(){return Jl??=new Um,Jl}function $m(e,t){return e[t]??Bm()}function Vm(e,t){const i=Bm();i.hasReadASignal&&(e[t]=Jl,i.lView=e,Jl=new Um)}const fi={};function jm(e){Hm(yi(),dn(),Nt()+e,!1)}function Hm(e,t,i,f){if(!f)if(3==(3&t[xn])){const I=e.preOrderCheckHooks;null!==I&&Es(t,I,i)}else{const I=e.preOrderHooks;null!==I&&Ds(t,I,0,i)}mn(i)}function Ey(e,t){e instanceof _u&&e.assertNotDestroyed();const i=Z(e),f=Lt(void 0);try{return t()}finally{Z(i),Lt(f)}}function zm(e){if(!ct()&&!function ke(){return je}())throw new T(-203,!1)}const Wm={\u0275\u0275defineInjectable:St,\u0275\u0275defineInjector:xt,\u0275\u0275inject:ce,\u0275\u0275invalidFactoryDep:Ee,resolveForwardRef:M};const Ty=d({provide:String,useValue:d});function Gm(e){return void 0!==e.useClass}function Km(e){return void 0!==e.useFactory}const ky=Ua("Injectable",void 0,void 0,void 0,(e,t)=>function Dy(e,t){let i=null,f=null;e.hasOwnProperty(Ce)||Object.defineProperty(e,Ce,{get:()=>(null===i&&(i=pr().compileInjectable(Wm,`ng:///${e.name}/\u0275prov.js`,function Ay(e,t){const i=t||{providedIn:null},f={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Gm(i)||Km(i))&&void 0!==i.deps&&(f.deps=nf(i.deps)),Gm(i)?f.useClass=i.useClass:function Sy(e){return Ty in e}(i)?f.useValue=i.useValue:Km(i)?f.useFactory=i.useFactory:function Iy(e){return void 0!==e.useExisting}(i)&&(f.useExisting=i.useExisting),f}(e,t))),i)}),e.hasOwnProperty(wt)||Object.defineProperty(e,wt,{get:()=>{if(null===f){const y=pr();f=y.compileFactory(Wm,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Il(e),target:y.FactoryTarget.Injectable})}return f},configurable:!0})}(e,t));function Ru(e,t=null,i=null,f){const y=Ym(e,t,i,f);return y.resolveInjectorInitializers(),y}function Ym(e,t=null,i=null,f,y=new Set){const I=[i||Mn,um(e)];return f=f||("object"==typeof e?void 0:u(e)),new _u(I,t||Gl(),f||null,y)}let as=(()=>{class e{static create(i,f){if(Array.isArray(i))return Ru({name:""},f,i,"");{const y=i.name??"";return Ru({name:y},i.parent,i.providers,y)}}}return e.THROW_IF_NOT_FOUND=Yt,e.NULL=new cm,e.\u0275prov=St({token:e,providedIn:"any",factory:()=>ce(uu)}),e.__NG_ELEMENT_ID__=-1,e})();function ha(e,t=pe.Default){const i=dn();return null===i?ce(e,t):Ss(cr(),i,M(e),t)}function Zm(){throw new Error("invalid")}function ql(e,t,i,f,y,I,B,K,oe,xe,Ve){const lt=t.blueprint.slice();return lt[yn]=y,lt[xn]=140|f,(null!==xe||e&&2048&e[xn])&&(lt[xn]|=2048),Rn(lt),lt[ti]=lt[Je]=e,lt[gi]=i,lt[kt]=B||e&&e[kt],lt[U]=K||e&&e[U],lt[Ke]=oe||e&&e[Ke]||null,lt[xi]=I,lt[rr]=function qv(){return Jv++}(),lt[ur]=Ve,lt[or]=xe,lt[Gt]=2==t.type?e[Gt]:lt,lt}function fa(e,t,i,f,y){let I=e.data[t];if(null===I)I=Ou(e,t,i,f,y),function Gs(){return Kn.lFrame.inI18n}()&&(I.flags|=32);else if(64&I.type){I.type=i,I.value=f,I.attrs=y;const B=xo();I.injectorIndex=null===B?-1:B.injectorIndex}return Ur(I,!0),I}function Ou(e,t,i,f,y){const I=bs(),B=ys(),oe=e.data[t]=function By(e,t,i,f,y,I){let B=t?t.injectorIndex:-1,K=0;return mr()&&(K|=128),{type:i,index:f,insertBeforeIndex:null,injectorIndex:B,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:K,providerIndexes:0,value:y,attrs:I,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,B?I:I&&I.parent,i,t,f,y);return null===e.firstChild&&(e.firstChild=oe),null!==I&&(B?null==I.child&&null!==oe.parent&&(I.child=oe):null===I.next&&(I.next=oe,oe.prev=I)),oe}function ol(e,t,i,f){if(0===i)return-1;const y=t.length;for(let I=0;Ift&&Hm(e,t,ft,!1),vr(K?2:0,y),K)I.runInContext(i,f,y);else{const xe=Ji(null);try{i(f,y)}finally{Ji(xe)}}}finally{K&&null===t[Et]&&Vm(t,Et),mn(B),vr(K?3:1,y)}}function Pu(e,t,i){if(ni(t)){const f=Ji(null);try{const I=t.directiveEnd;for(let B=t.directiveStart;Bnull;function Fy(e){gf(e)?$f(e):function dy(e){const t=Ya(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(I){const B=function uy(e){return e.textContent?.replace(/\s/gm,"")}(I);return"ngetn"===B||"ngtns"===B?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let f;const y=[];for(;f=i.nextNode();)y.push(f);for(const I of y)"ngetn"===I.textContent?I.replaceWith(t.createTextNode("")):I.remove()}(e)}function qm(e,t,i,f){for(let y in e)if(e.hasOwnProperty(y)){i=null===i?{}:i;const I=e[y];null===f?ep(i,t,y,I):f.hasOwnProperty(y)&&ep(i,t,f[y],I)}return i}function ep(e,t,i,f){e.hasOwnProperty(i)?e[i].push(t,f):e[i]=[t,f]}function Xr(e,t,i,f,y,I,B,K){const oe=le(t,i);let Ve,xe=t.inputs;!K&&null!=xe&&(Ve=xe[f])?(Hu(e,i,Ve,f,y),Xn(t)&&function jy(e,t){const i=Zt(t,e);16&i[xn]||(i[xn]|=64)}(i,t.index)):3&t.type&&(f=function Vy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(f),y=null!=B?B(y,t.value||"",f):y,I.setProperty(oe,f,y))}function Bu(e,t,i,f){if(is()){const y=null===f?null:{"":-1},I=function Yy(e,t){const i=e.directiveRegistry;let f=null,y=null;if(i)for(let I=0;I0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(B)!=K&&B.push(K),B.push(i,f,I)}}(e,t,f,ol(e,i,y.hostVars,fi),y)}function Do(e,t,i,f,y,I){const B=le(e,t);Vu(t[U],B,I,e.value,i,f,y)}function Vu(e,t,i,f,y,I,B){if(null==I)e.removeAttribute(t,y,i);else{const K=null==B?E(I):B(I,f||"",y);e.setAttribute(t,y,K,i)}}function e1(e,t,i,f,y,I){const B=I[t];if(null!==B)for(let K=0;K{class e{}return e.__NG_ELEMENT_ID__=a1,e.__NG_ENV_ID__=t=>t,e})();class s1 extends Wu{constructor(t){super(),this._lView=t}onDestroy(t){return Ar(this._lView,t),()=>function wr(e,t){if(null===e[Zi])return;const i=e[Zi].indexOf(t);-1!==i&&e[Zi].splice(i,1)}(this._lView,t)}}function a1(){return new s1(dn())}let up=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(i,f,y){const I=typeof Zone>"u"?null:Zone.current,B=new es(i,xe=>{this.all.has(xe)&&this.queue.set(xe,I)},y);let K;this.all.add(B),B.notify();const oe=()=>{B.cleanup(),K?.(),this.all.delete(B),this.queue.delete(B)};return K=f?.onDestroy(oe),{destroy:oe}}flush(){if(0!==this.queue.size)for(const[i,f]of this.queue)this.queue.delete(i),f?f.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=St({token:e,providedIn:"root",factory:()=>new e}),e})();function dp(e,t){!t?.injector&&zm();const i=t?.injector??it(as),f=i.get(up),y=!0!==t?.manualCleanup?i.get(Wu):null;return f.create(e,y,!!t?.allowSignalWrites)}function tc(e,t,i){let f=i?e.styles:null,y=i?e.classes:null,I=0;if(null!==t)for(let B=0;B0){mp(e,1);const y=e[rn].components;null!==y&&gp(e,y,1)}}function gp(e,t,i){for(let f=0;f-1&&(Qc(t,f),El(i,f))}this._attachedToViewContainer=!1}kf(this._lView[rn],this._lView)}onDestroy(t){Ar(this._lView,t)}markForCheck(){il(this._cdRefInjectingView||this._lView)}detach(){this._lView[xn]&=-129}reattach(){this._lView[xn]|=128}detectChanges(){nc(this._lView[rn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function hb(e,t){Ka(e,t,t[U],2,null,null)}(this._lView[rn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=t}}class u1 extends ma{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;nc(t[rn],t,t[gi],!1)}checkNoChanges(){}get context(){return null}}class _p extends tl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=gn(t);return new pa(i,this.ngModule)}}function vp(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class h1{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,f){f=Rt(f);const y=this.injector.get(t,Xl,f);return y!==Xl||i===Xl?y:this.parentInjector.get(t,i,f)}}class pa extends Ql{get inputs(){const t=this.componentDef,i=t.inputTransforms,f=vp(t.inputs);if(null!==i)for(const y of f)i.hasOwnProperty(y.propName)&&(y.transform=i[y.propName]);return f}get outputs(){return vp(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Pi(e){return e.map(li).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,f,y){let I=(y=y||this.ngModule)instanceof Ps?y:y?.injector;I&&null!==this.componentDef.getStandaloneInjector&&(I=this.componentDef.getStandaloneInjector(I)||I);const B=I?new h1(t,I):t,K=B.get(Dm,null);if(null===K)throw new T(407,!1);const Ve={rendererFactory:K,sanitizer:B.get(Tm,null),effectManager:B.get(up,null)},lt=K.createRenderer(null,this.componentDef),Pt=this.componentDef.selectors[0][0]||"div",jt=f?function Oy(e,t,i,f){const I=f.get(Lm,!1)||i===Tn.ShadowDom,B=e.selectRootElement(t,I);return function Py(e){Jm(e)}(B),B}(lt,f,this.componentDef.encapsulation,B):Nl(lt,Pt,function d1(e){const t=e.toLowerCase();return"svg"===t?Co:"math"===t?Oo:null}(Pt)),On=this.componentDef.signals?4608:this.componentDef.onPush?576:528,Wn=Uu(0,null,null,1,0,null,null,null,null,null,null),cn=ql(null,Wn,null,On,null,null,Ve,lt,B,null,null);let hi,ki;No(cn);try{const Bi=this.componentDef;let Sr,Lc=null;Bi.findHostDirectiveDefs?(Sr=[],Lc=new Map,Bi.findHostDirectiveDefs(Bi,Sr,Lc),Sr.push(Bi)):Sr=[Bi];const Uw=function f1(e,t){const i=e[rn],f=ft;return e[f]=t,fa(i,f,2,"#host",null)}(cn,jt),Bw=function m1(e,t,i,f,y,I,B){const K=y[rn];!function p1(e,t,i,f){for(const y of e)t.mergedAttrs=$n(t.mergedAttrs,y.hostAttrs);null!==t.mergedAttrs&&(tc(t,t.mergedAttrs,!0),null!==i&&Hf(f,i,t))}(f,e,t,B);let oe=null;null!==t&&(oe=Cm(t,y[Ke]));const xe=I.rendererFactory.createRenderer(t,i);let Ve=16;i.signals?Ve=4096:i.onPush&&(Ve=64);const lt=ql(y,Xm(i),null,Ve,y[e.index],e,I,xe,null,null,oe);return K.firstCreatePass&&$u(K,e,f.length-1),ec(y,lt),y[e.index]=lt}(Uw,jt,Bi,Sr,cn,Ve,lt);ki=ht(Wn,ft),jt&&function _1(e,t,i,f){if(f)on(e,i,["ng-version",Im.full]);else{const{attrs:y,classes:I}=function Ct(e){const t=[],i=[];let f=1,y=2;for(;f0&&jf(e,i,I.join(" "))}}(lt,Bi,jt,f),void 0!==i&&function v1(e,t,i){const f=e.projection=[];for(let y=0;y=0;f--){const y=e[f];y.hostVars=t+=y.hostVars,y.hostAttrs=$n(y.hostAttrs,i=$n(i,y.hostAttrs))}}(f)}function ic(e){return e===Sn?{}:e===Mn?[]:e}function y1(e,t){const i=e.viewQuery;e.viewQuery=i?(f,y)=>{t(f,y),i(f,y)}:t}function C1(e,t){const i=e.contentQueries;e.contentQueries=i?(f,y,I)=>{t(f,y,I),i(f,y,I)}:t}function x1(e,t){const i=e.hostBindings;e.hostBindings=i?(f,y)=>{t(f,y),i(f,y)}:t}const M1=["providersResolver"],w1=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function xp(e){let i,t=Cp(e.type);i=Fi(e)?t.\u0275cmp:t.\u0275dir;const f=e;for(const y of M1)f[y]=i[y];if(Fi(i))for(const y of w1)f[y]=i[y]}function Mp(e){return t=>{t.findHostDirectiveDefs=wp,t.hostDirectives=(Array.isArray(e)?e:e()).map(i=>"function"==typeof i?{directive:M(i),inputs:Sn,outputs:Sn}:{directive:M(i.directive),inputs:Ep(i.inputs),outputs:Ep(i.outputs)})}}function wp(e,t,i){if(null!==e.hostDirectives)for(const f of e.hostDirectives){const y=pn(f.directive);E1(y.declaredInputs,f.inputs),wp(y,t,i),i.set(y,f),t.push(y)}}function Ep(e){if(void 0===e||0===e.length)return Sn;const t={};for(let i=0;i${t}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function S1(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 ll(e,t="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const f=i.tagName.toLowerCase(),y=function O1(e){const t=[];for(let i=0;i${t}`;case Node.TEXT_NODE:const I=i.textContent?ul(i.textContent):"";return"#text"+(I?`(${I})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${ul(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function ul(e,t=50){return e?(e=function P1(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}const F1=new RegExp(`^(\\d+)*(${xu}|${Cu})*(.*)`);function ad(e){return e.index-ft}function ac(e,t,i,f){let y=null;const I=ad(f),B=e.data[Eu];if(B?.[I])y=function V1(e,t){const[i,...f]=function U1(e){const t=e.match(F1),[i,f,y,I]=t,B=f?parseInt(f,10):y,K=[];for(const[oe,xe,Ve]of I.matchAll(/(f|n)(\d*)/g)){const lt=parseInt(Ve,10)||1;K.push(xe,lt)}return[B,...K]}(e);let y;return y=i===Cu?t[Gt][yn]:i===xu?Lu(t[Gt][yn]):Oi(t[Number(i)+ft]),function $1(e,t){let i=e;for(let f=0;f0&&i[y-1]===f?i[y]=(i[y]||1)+1:i.push(f,"")}return i.join("")}(i,f)}function H1(e,t){const i=e.parent;let f,y,I;null!==i&&3&i.type?(f=i.index,y=Oi(t[f]),I=E(f-ft)):(f=I=Cu,y=t[Gt][yn]);let B=Oi(t[e.index]);if(12&e.type){const oe=Ga(t,e);oe&&(B=oe)}let K=kp(y,B,I);if(null===K&&y!==B&&(K=kp(y.ownerDocument.body,B,xu),null===K))throw function A1(e,t){const f=`${function sd(e,t,i){const f=" ";let y="";t.prev?(y+=" \u2026\n",y+=f+od(t.prev)+"\n"):t.type&&12&t.type&&(y+=" \u2026\n"),i?(y+=f+od(t)+"\n",y+=f+`\x3c!-- container --\x3e ${rd}\n`):y+=f+od(t)+` ${rd}\n`,y+=" \u2026\n";const I=t.type?Jc(e[rn],t,e):null;return I&&(y=ll(I,"\n"+y)),y}(e,t,!1)}\n\n`,y=function cl(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 T(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+f+y)}(t,e);return K}function Lp(e,t,i,f,y,I,B,K){const oe=dn(),xe=yi(),Ve=e+ft,lt=xe.firstCreatePass?function z1(e,t,i,f,y,I,B,K,oe){const xe=t.consts,Ve=fa(t,e,4,B||null,pi(xe,K));Bu(t,i,Ve,pi(xe,oe)),ws(t,Ve);const lt=Ve.tView=Uu(2,Ve,f,y,I,t.directiveRegistry,t.pipeRegistry,null,t.schemas,xe,null);return null!==t.queries&&(t.queries.template(t,Ve),lt.queries=t.queries.embeddedTView(Ve)),Ve}(Ve,xe,oe,t,i,f,y,I,B):xe.data[Ve];Ur(lt,!1);const Pt=Rp(xe,oe,lt,e);ho()&&Bl(xe,oe,Pt,lt),Dr(Pt,oe),ec(oe,oe[Ve]=rp(Pt,oe,Pt,lt)),ai(lt)&&Fu(xe,oe,lt),null!=B&&Nu(oe,lt,K)}let Rp=Op;function Op(e,t,i,f){return Er(!0),t[U].createComment("")}function W1(e,t,i,f){const y=t[ur],I=!y||mr()||Zl(y,f);if(Er(I),I)return Op(0,t);const B=y.data[wu]?.[f]??null;null!==B&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=B);const K=ac(y,e,t,i);return Su(y,f,K),lc(Au(y,f),K)}function Pp(e,t,i,f){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=f}function Fp(e){return Ht(function Ws(){return Kn.lFrame.contextLView}(),ft+e)}function cd(e,t,i){const f=dn();return Tr(f,Mo(),t)&&Xr(yi(),Ln(),f,e,t,f[U],i,!1),cd}function ud(e,t,i,f,y){const B=y?"class":"style";Hu(e,i,t.inputs[B],B,f)}function cc(e,t,i,f){const y=dn(),I=yi(),B=ft+e,K=y[U],oe=I.firstCreatePass?function K1(e,t,i,f,y,I){const B=t.consts,oe=fa(t,e,2,f,pi(B,y));return Bu(t,i,oe,pi(B,I)),null!==oe.attrs&&tc(oe,oe.attrs,!1),null!==oe.mergedAttrs&&tc(oe,oe.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,oe),oe}(B,I,y,t,i,f):I.data[B],xe=Np(I,y,oe,K,t,e);y[B]=xe;const Ve=ai(oe);return Ur(oe,!0),Hf(K,xe,oe),32!=(32&oe.flags)&&ho()&&Bl(I,y,xe,oe),0===function lr(){return Kn.lFrame.elementDepthCount}()&&Dr(xe,y),function Nr(){Kn.lFrame.elementDepthCount++}(),Ve&&(Fu(I,y,oe),Pu(I,oe,y)),null!==f&&Nu(y,oe),cc}function uc(){let e=cr();ys()?Cs():(e=e.parent,Ur(e,!1));const t=e;(function Ra(e){return Kn.skipHydrationRootTNode===e})(t)&&function zs(){Kn.skipHydrationRootTNode=null}(),function js(){Kn.lFrame.elementDepthCount--}();const i=yi();return i.firstCreatePass&&(ws(i,e),ni(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Vt(e){return 0!=(8&e.flags)}(t)&&ud(i,t,dn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Hn(e){return 0!=(16&e.flags)}(t)&&ud(i,t,dn(),t.stylesWithoutHost,!1),uc}function dd(e,t,i,f){return cc(e,t,i,f),uc(),dd}let Np=(e,t,i,f,y,I)=>(Er(!0),Nl(f,y,Eo()));function Y1(e,t,i,f,y,I){const B=t[ur],K=!B||mr()||Zl(B,I);if(Er(K),K)return Nl(f,y,Eo());const oe=ac(B,e,t,i);return Mm(B,I)&&Su(B,I,oe.nextSibling),B&&(pf(i)||gf(oe))&&Xn(i)&&(function gs(e){Kn.skipHydrationRootTNode=e}(i),$f(oe)),oe}function dc(e,t,i){const f=dn(),y=yi(),I=e+ft,B=y.firstCreatePass?function Q1(e,t,i,f,y){const I=t.consts,B=pi(I,f),K=fa(t,e,8,"ng-container",B);return null!==B&&tc(K,B,!0),Bu(t,i,K,pi(I,y)),null!==t.queries&&t.queries.elementStart(t,K),K}(I,y,f,t,i):y.data[I];Ur(B,!0);const K=Up(y,f,B,e);return f[I]=K,ho()&&Bl(y,f,K,B),Dr(K,f),ai(B)&&(Fu(y,f,B),Pu(y,B,f)),null!=i&&Nu(f,B),dc}function hc(){let e=cr();const t=yi();return ys()?Cs():(e=e.parent,Ur(e,!1)),t.firstCreatePass&&(ws(t,e),ni(e)&&t.queries.elementEnd(e)),hc}function hd(e,t,i){return dc(e,t,i),hc(),hd}let Up=(e,t,i,f)=>(Er(!0),Zc(t[U],""));function X1(e,t,i,f){let y;const I=t[ur],B=!I||mr();if(Er(B),B)return Zc(t[U],"");const K=ac(I,e,t,i),oe=function fy(e,t){const i=e.data;let f=i[Mu]?.[t]??null;return null===f&&i[qa]?.[t]&&(f=Au(e,t)),f}(I,f);return Su(I,f,K),y=lc(oe,K),y}function Bp(){return dn()}function fd(e){return!!e&&"function"==typeof e.then}function $p(e){return!!e&&"function"==typeof e.subscribe}function md(e,t,i,f){const y=dn(),I=yi(),B=cr();return Vp(I,y,y[U],B,e,t,f),md}function pd(e,t){const i=cr(),f=dn(),y=yi();return Vp(y,f,lp(Fo(y.data),i,f),i,e,t),pd}function Vp(e,t,i,f,y,I,B){const K=ai(f),xe=e.firstCreatePass&&ap(e),Ve=t[gi],lt=sp(t);let Pt=!0;if(3&f.type||B){const vn=le(f,t),On=B?B(vn):vn,Wn=lt.length,cn=B?ki=>B(Oi(ki[f.index])):f.index;let hi=null;if(!B&&K&&(hi=function q1(e,t,i,f){const y=e.cleanup;if(null!=y)for(let I=0;Ioe?K[oe]:null}"string"==typeof B&&(I+=2)}return null}(e,t,y,f.index)),null!==hi)(hi.__ngLastListenerFn__||hi).__ngNextListenerFn__=I,hi.__ngLastListenerFn__=I,Pt=!1;else{I=Hp(f,t,Ve,I,!1);const ki=i.listen(On,y,I);lt.push(I,ki),xe&&xe.push(y,cn,Wn,Wn+1)}}else I=Hp(f,t,Ve,I,!1);const jt=f.outputs;let sn;if(Pt&&null!==jt&&(sn=jt[y])){const vn=sn.length;if(vn)for(let On=0;On-1?Zt(e.index,t):t);let oe=jp(t,i,f,B),xe=I.__ngNextListenerFn__;for(;xe;)oe=jp(t,i,xe,B)&&oe,xe=xe.__ngNextListenerFn__;return y&&!1===oe&&B.preventDefault(),oe}}function zp(e=1){return function Qe(e){return(Kn.lFrame.contextLView=function et(e,t){for(;e>0;)t=t[Je],e--;return t}(e,Kn.lFrame.contextLView))[gi]}(e)}function eC(e,t){let i=null;const f=function Yn(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let y=0;y>17&32767}function Ed(e){return 2|e}function Ns(e){return(131068&e)>>2}function Dd(e,t){return-131069&e|t<<2}function Td(e){return 1|e}function Kp(e,t,i,f,y){const I=e[i+1],B=null===t;let K=f?ls(I):Ns(I),oe=!1;for(;0!==K&&(!1===oe||B);){const Ve=e[K+1];sC(e[K],t)&&(oe=!0,e[K+1]=f?Td(Ve):Ed(Ve)),K=f?ls(Ve):Ns(Ve)}oe&&(e[i+1]=f?Ed(I):Td(I))}function sC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ta(e,t)>=0}const gr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Yp(e){return e.substring(gr.key,gr.keyEnd)}function aC(e){return e.substring(gr.value,gr.valueEnd)}function Zp(e,t){const i=gr.textEnd;return i===t?-1:(t=gr.keyEnd=function uC(e,t,i){for(;t32;)t++;return t}(e,gr.key=t,i),Ea(e,t,i))}function Qp(e,t){const i=gr.textEnd;let f=gr.key=Ea(e,t,i);return i===f?-1:(f=gr.keyEnd=function dC(e,t,i){let f;for(;t=65&&(-33&f)<=90||f>=48&&f<=57);)t++;return t}(e,f,i),f=Jp(e,f,i),f=gr.value=Ea(e,f,i),f=gr.valueEnd=function hC(e,t,i){let f=-1,y=-1,I=-1,B=t,K=B;for(;B32&&(K=B),I=y,y=f,f=-33&oe}return K}(e,f,i),Jp(e,f,i))}function Xp(e){gr.key=0,gr.keyEnd=0,gr.value=0,gr.valueEnd=0,gr.textEnd=e.length}function Ea(e,t,i){for(;t=0;i=Qp(t,i))r0(e,Yp(t),aC(t))}function e0(e){po(bC,So,e,!0)}function So(e,t){for(let i=function lC(e){return Xp(e),Zp(e,Ea(e,0,gr.textEnd))}(t);i>=0;i=Zp(t,i))Qr(e,Yp(t),!0)}function mo(e,t,i,f){const y=dn(),I=yi(),B=Zr(2);I.firstUpdatePass&&n0(I,e,B,f),t!==fi&&Tr(y,B,t)&&o0(I,I.data[Nt()],y,y[U],e,y[B+1]=function CC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(Bo(e)))),e}(t,i),f,B)}function po(e,t,i,f){const y=yi(),I=Zr(2);y.firstUpdatePass&&n0(y,null,I,f);const B=dn();if(i!==fi&&Tr(B,I,i)){const K=y.data[Nt()];if(a0(K,f)&&!t0(y,I)){let oe=f?K.classesWithoutHost:K.stylesWithoutHost;null!==oe&&(i=h(oe,i||"")),ud(y,K,B,i,f)}else!function yC(e,t,i,f,y,I,B,K){y===fi&&(y=Mn);let oe=0,xe=0,Ve=0=e.expandoStartIndex}function n0(e,t,i,f){const y=e.data;if(null===y[i+1]){const I=y[Nt()],B=t0(e,i);a0(I,f)&&null===t&&!B&&(t=!1),t=function mC(e,t,i,f){const y=Fo(e);let I=f?t.residualClasses:t.residualStyles;if(null===y)0===(f?t.classBindings:t.styleBindings)&&(i=dl(i=Ad(null,e,t,i,f),t.attrs,f),I=null);else{const B=t.directiveStylingLast;if(-1===B||e[B]!==y)if(i=Ad(y,e,t,i,f),null===I){let oe=function pC(e,t,i){const f=i?t.classBindings:t.styleBindings;if(0!==Ns(f))return e[ls(f)]}(e,t,f);void 0!==oe&&Array.isArray(oe)&&(oe=Ad(null,e,t,oe[1],f),oe=dl(oe,t.attrs,f),function gC(e,t,i,f){e[ls(i?t.classBindings:t.styleBindings)]=f}(e,t,f,oe))}else I=function _C(e,t,i){let f;const y=t.directiveEnd;for(let I=1+t.directiveStylingLast;I0)&&(xe=!0)):Ve=i,y)if(0!==oe){const Pt=ls(e[K+1]);e[f+1]=mc(Pt,K),0!==Pt&&(e[Pt+1]=Dd(e[Pt+1],f)),e[K+1]=function nC(e,t){return 131071&e|t<<17}(e[K+1],f)}else e[f+1]=mc(K,0),0!==K&&(e[K+1]=Dd(e[K+1],f)),K=f;else e[f+1]=mc(oe,0),0===K?K=f:e[oe+1]=Dd(e[oe+1],f),oe=f;xe&&(e[f+1]=Ed(e[f+1])),Kp(e,Ve,f,!0),Kp(e,Ve,f,!1),function oC(e,t,i,f,y){const I=y?e.residualClasses:e.residualStyles;null!=I&&"string"==typeof t&&ta(I,t)>=0&&(i[f+1]=Td(i[f+1]))}(t,Ve,e,f,I),B=mc(K,oe),I?t.classBindings=B:t.styleBindings=B}(y,I,t,i,B,f)}}function Ad(e,t,i,f,y){let I=null;const B=i.directiveEnd;let K=i.directiveStylingLast;for(-1===K?K=i.directiveStart:K++;K0;){const oe=e[y],xe=Array.isArray(oe),Ve=xe?oe[1]:oe,lt=null===Ve;let Pt=i[y+1];Pt===fi&&(Pt=lt?Mn:void 0);let jt=lt?Uc(Pt,f):Ve===f?Pt:void 0;if(xe&&!pc(jt)&&(jt=Uc(oe,f)),pc(jt)&&(K=jt,B))return K;const sn=e[y+1];y=B?ls(sn):Ns(sn)}if(null!==t){let oe=I?t.residualClasses:t.residualStyles;null!=oe&&(K=Uc(oe,f))}return K}function pc(e){return void 0!==e}function a0(e,t){return 0!=(e.flags&(t?8:16))}function l0(e,t=""){const i=dn(),f=yi(),y=e+ft,I=f.firstCreatePass?fa(f,y,1,t,null):f.data[y],B=c0(f,i,I,t,e);i[y]=B,ho()&&Bl(f,i,B,I),Ur(I,!1)}let c0=(e,t,i,f,y)=>(Er(!0),Fl(t[U],f));function xC(e,t,i,f,y){const I=t[ur],B=!I||mr()||Zl(I,y);return Er(B),B?Fl(t[U],f):ac(I,e,t,i)}function kd(e){return gc("",e,""),kd}function gc(e,t,i){const f=dn(),y=_a(f,e,t,i);return y!==fi&&jo(f,Nt(),y),gc}function Ld(e,t,i,f,y){const I=dn(),B=va(I,e,t,i,f,y);return B!==fi&&jo(I,Nt(),B),Ld}function Rd(e,t,i,f,y,I,B){const K=dn(),oe=ba(K,e,t,i,f,y,I,B);return oe!==fi&&jo(K,Nt(),oe),Rd}function Od(e,t,i,f,y,I,B,K,oe){const xe=dn(),Ve=ya(xe,e,t,i,f,y,I,B,K,oe);return Ve!==fi&&jo(xe,Nt(),Ve),Od}function Pd(e,t,i,f,y,I,B,K,oe,xe,Ve){const lt=dn(),Pt=Ca(lt,e,t,i,f,y,I,B,K,oe,xe,Ve);return Pt!==fi&&jo(lt,Nt(),Pt),Pd}function Fd(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt){const jt=dn(),sn=xa(jt,e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt);return sn!==fi&&jo(jt,Nt(),sn),Fd}function Nd(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn){const vn=dn(),On=Ma(vn,e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn);return On!==fi&&jo(vn,Nt(),On),Nd}function Ud(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On){const Wn=dn(),cn=wa(Wn,e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On);return cn!==fi&&jo(Wn,Nt(),cn),Ud}function Bd(e){const t=dn(),i=ga(t,e);return i!==fi&&jo(t,Nt(),i),Bd}function u0(e,t,i){po(Qr,So,_a(dn(),e,t,i),!0)}function d0(e,t,i,f,y){po(Qr,So,va(dn(),e,t,i,f,y),!0)}function h0(e,t,i,f,y,I,B){po(Qr,So,ba(dn(),e,t,i,f,y,I,B),!0)}function f0(e,t,i,f,y,I,B,K,oe){po(Qr,So,ya(dn(),e,t,i,f,y,I,B,K,oe),!0)}function m0(e,t,i,f,y,I,B,K,oe,xe,Ve){po(Qr,So,Ca(dn(),e,t,i,f,y,I,B,K,oe,xe,Ve),!0)}function p0(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt){po(Qr,So,xa(dn(),e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt),!0)}function g0(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn){po(Qr,So,Ma(dn(),e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn),!0)}function _0(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On){po(Qr,So,wa(dn(),e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On),!0)}function v0(e){po(Qr,So,ga(dn(),e),!0)}function b0(e,t,i){fo(_a(dn(),e,t,i))}function y0(e,t,i,f,y){fo(va(dn(),e,t,i,f,y))}function C0(e,t,i,f,y,I,B){fo(ba(dn(),e,t,i,f,y,I,B))}function x0(e,t,i,f,y,I,B,K,oe){fo(ya(dn(),e,t,i,f,y,I,B,K,oe))}function M0(e,t,i,f,y,I,B,K,oe,xe,Ve){fo(Ca(dn(),e,t,i,f,y,I,B,K,oe,xe,Ve))}function w0(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt){fo(xa(dn(),e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt))}function E0(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn){fo(Ma(dn(),e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn))}function D0(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On){fo(wa(dn(),e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On))}function T0(e){fo(ga(dn(),e))}function $d(e,t,i,f,y){return mo(e,_a(dn(),t,i,f),y,!1),$d}function Vd(e,t,i,f,y,I,B){return mo(e,va(dn(),t,i,f,y,I),B,!1),Vd}function jd(e,t,i,f,y,I,B,K,oe){return mo(e,ba(dn(),t,i,f,y,I,B,K),oe,!1),jd}function Hd(e,t,i,f,y,I,B,K,oe,xe,Ve){return mo(e,ya(dn(),t,i,f,y,I,B,K,oe,xe),Ve,!1),Hd}function zd(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt){return mo(e,Ca(dn(),t,i,f,y,I,B,K,oe,xe,Ve,lt),Pt,!1),zd}function Wd(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn){return mo(e,xa(dn(),t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt),sn,!1),Wd}function Gd(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On){return mo(e,Ma(dn(),t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn),On,!1),Gd}function Kd(e,t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On,Wn,cn){return mo(e,wa(dn(),t,i,f,y,I,B,K,oe,xe,Ve,lt,Pt,jt,sn,vn,On,Wn),cn,!1),Kd}function Yd(e,t,i){return mo(e,ga(dn(),t),i,!1),Yd}function Zd(e,t,i){const f=dn();return Tr(f,Mo(),t)&&Xr(yi(),Ln(),f,e,t,f[U],i,!0),Zd}function Qd(e,t,i){const f=dn();if(Tr(f,Mo(),t)){const I=yi(),B=Ln();Xr(I,B,f,e,t,lp(Fo(I.data),B,f),i,!0)}return Qd}const Us=void 0;var EC=["en",[["a","p"],["AM","PM"],Us],[["AM","PM"],Us,Us],[["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"]],Us,[["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"]],Us,[["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}",Us,"{1} 'at' {0}",Us],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function wC(e){const i=Math.floor(Math.abs(e)),f=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===f?1:5}];let Da={};function DC(e,t,i){"string"!=typeof t&&(i=t,t=e[Ta.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Da[t]=e,i&&(Da[t][Ta.ExtraData]=i)}function Xd(e){const t=function IC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=I0(t);if(i)return i;const f=t.split("-")[0];if(i=I0(f),i)return i;if("en"===f)return EC;throw new T(701,!1)}function TC(e){return Xd(e)[Ta.CurrencyCode]||null}function S0(e){return Xd(e)[Ta.PluralCase]}function I0(e){return e in Da||(Da[e]=ze.ng&&ze.ng.common&&ze.ng.common.locales&&ze.ng.common.locales[e]),Da[e]}function SC(){Da={}}var Ta=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}(Ta||{});const AC=["zero","one","two","few","many"],Bs="en-US",_c={marker:"element"},vc={marker:"ICU"};var $r=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}($r||{});let A0=Bs;function Jd(e){(function Be(e,t){null==e&&$e(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(A0=e.toLowerCase().replace(/_/g,"-"))}function k0(e,t,i){const f=t.insertBeforeIndex,y=Array.isArray(f)?f[0]:f;return null===y?Ff(e,0,i):Oi(i[y])}function L0(e,t,i,f,y){const I=t.insertBeforeIndex;if(Array.isArray(I)){let B=f,K=null;if(3&t.type||(K=B,B=y),null!==B&&-1===t.componentOffset)for(let oe=1;oe1)for(let i=e.length-2;i>=0;i--){const f=e[i];O0(f)||OC(f,t)&&null===PC(f)&&FC(f,t.index)}}function O0(e){return!(64&e.type)}function OC(e,t){return O0(t)||e.index>t.index}function PC(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function FC(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(Uf(k0,L0),e.insertBeforeIndex=t)}function hl(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function BC(e,t,i){const f=Ou(e,i,64,null,null);return R0(t,f),f}function bc(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function P0(e){return e>>>17}function F0(e){return(131070&e)>>>1}let fl=0,ml=0;function U0(e,t,i,f){const y=i[U];let B,I=null;for(let K=0;K>>1,i),null,null,jt,sn,null)}else switch(oe){case vc:const xe=t[++K],Ve=t[++K];null===i[Ve]&&Dr(i[Ve]=Zc(y,xe),i);break;case _c:const lt=t[++K],Pt=t[++K];null===i[Pt]&&Dr(i[Pt]=Nl(y,lt,null),i)}}}function B0(e,t,i,f,y){for(let I=0;I>>2;switch(3&Ve){case 1:const Pt=i[++xe],jt=i[++xe],sn=e.data[lt];"string"==typeof sn?Vu(t[U],t[lt],null,sn,Pt,oe,jt):Xr(e,sn,t,Pt,oe,t[U],jt,!1);break;case 0:const vn=t[lt];null!==vn&&If(t[U],vn,oe);break;case 2:zC(e,hl(e,lt),t,oe);break;case 3:$0(e,hl(e,lt),f,t)}}}}else{const oe=i[I+1];if(oe>0&&3==(3&oe)){const Ve=hl(e,oe>>>2);t[Ve.currentCaseLViewIndex]<0&&$0(e,Ve,f,t)}}I+=K}}function $0(e,t,i,f){let y=f[t.currentCaseLViewIndex];if(null!==y){let I=fl;y<0&&(y=f[t.currentCaseLViewIndex]=~y,I=-1),B0(e,f,t.update[y],i,I)}}function zC(e,t,i,f){const y=function WC(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const f=function kC(e,t){const i=S0(t)(parseInt(e,10)),f=AC[i];return void 0!==f?f:"other"}(t,function RC(){return A0}());i=e.cases.indexOf(f),-1===i&&"other"!==f&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,f);if(bc(t,i)!==y&&(V0(e,t,i),i[t.currentCaseLViewIndex]=null===y?null:~y,null!==y)){const B=i[t.anchorIdx];B&&U0(e,t.create[y],i,B)}}function V0(e,t,i){let f=bc(t,i);if(null!==f){const y=t.remove[f];for(let I=0;I0){const K=Ie(B,i);null!==K&&$l(i[U],K)}else V0(e,hl(e,~B),i)}}}function GC(){const e=[];let i,f,t=-1;function I(K,oe){t=0;const xe=bc(K,oe);f=null!==xe?K.remove[xe]:Mn}function B(){if(t0?i[K]:(e.push(t,f),I(i[rn].data[~K],i),B())}return 0===e.length?null:(f=e.pop(),t=e.pop(),B())}return function y(K,oe){for(i=oe;e.length;)e.pop();return I(K.value,oe),B}}const yc=/\ufffd(\d+):?\d*\ufffd/gi,KC=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,YC=/\ufffd(\d+)\ufffd/,H0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,pl="\ufffd",ZC=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,QC=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,XC=/\uE500/g;function z0(e,t,i,f,y,I,B){const K=ol(e,f,1,null);let oe=K<<$r.SHIFT,xe=xo();t===xe&&(xe=null),null===xe&&(oe|=$r.APPEND_EAGERLY),B&&(oe|=$r.COMMENT,function ab(e){void 0===Kc&&(Kc=e())}(GC)),y.push(oe,null===I?"":I);const Ve=Ou(e,K,B?32:1,null===I?"":I,null);R0(i,Ve);const lt=Ve.index;return Ur(Ve,!1),null!==xe&&t!==xe&&function UC(e,t){let i=e.insertBeforeIndex;null===i?(Uf(k0,L0),i=e.insertBeforeIndex=[null,t]):(function ne(e,t,i){e!=t&&$e(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}(xe,lt),Ve}function ex(e,t,i,f,y,I,B){const K=B.match(yc),oe=z0(e,t,i,I,f,K?null:B,!1);K&&gl(y,B,oe.index,null,0,null)}function gl(e,t,i,f,y,I){const B=e.length,K=B+1;e.push(null,null);const oe=B+2,xe=t.split(yc);let Ve=0;for(let lt=0;lti.length&&i.push(oe)}return{type:f,mainBinding:y,cases:t,values:i}}function qd(e){if(!e)return[];let t=0;const i=[],f=[],y=/[{}]/g;let I;for(y.lastIndex=0;I=y.exec(e);){const K=I.index;if("}"==I[0]){if(i.pop(),0==i.length){const oe=e.substring(t,K);H0.test(oe)?f.push(ox(oe)):f.push(oe),t=K+1}}else{if(0==i.length){const oe=e.substring(t,K);f.push(oe),t=K+1}i.push("{")}}const B=e.substring(t);return f.push(B),f}function sx(e,t,i,f,y,I,B,K){const oe=[],xe=[],Ve=[];t.cases.push(I),t.create.push(oe),t.remove.push(xe),t.update.push(Ve);const Pt=Zf(Ya()).getInertBodyElement(B),jt=au(Pt)||Pt;return jt?Y0(e,t,i,f,oe,xe,Ve,jt,y,K,0):0}function Y0(e,t,i,f,y,I,B,K,oe,xe,Ve){let lt=0,Pt=K.firstChild;for(;Pt;){const jt=ol(e,i,1,null);switch(Pt.nodeType){case Node.ELEMENT_NODE:const sn=Pt,vn=sn.tagName.toLowerCase();if(ou.hasOwnProperty(vn)){eh(y,_c,vn,oe,jt),e.data[jt]=vn;const hi=sn.attributes;for(let ki=0;ki>>$r.SHIFT;let lt=e[Ve];null===lt&&(lt=e[Ve]=(B&$r.COMMENT)===$r.COMMENT?y.createComment(K):Fl(y,K)),xe&&null!==i&&ks(y,i,lt,f,!1)}})(y,oe.create,Ve,K&&8&K.type?y[K.index]:null),Ks(!0)}function nh(){Ks(!1)}function X0(e,t,i){th(e,t,i),nh()}function J0(e,t){const i=yi(),f=pi(i.consts,t);!function tx(e,t,i){const y=cr().index,I=[];if(e.firstCreatePass&&null===e.data[t]){for(let B=0;B0){const f=e.data[i];B0(e,t,Array.isArray(f)?f:f.update,Yr()-ml-1,fl)}fl=0,ml=0}(yi(),dn(),e+ft)}function eg(e,t={}){return function vx(e,t={}){let i=e;if(dx.test(e)){const f={},y=[Q0];i=i.replace(hx,(I,B,K)=>{const oe=B||K,xe=f[oe]||[];if(xe.length||(oe.split("|").forEach(vn=>{const On=vn.match(_x),Wn=On?parseInt(On[1],10):Q0,cn=gx.test(vn);xe.push([Wn,cn,vn])}),f[oe]=xe),!xe.length)throw new Error(`i18n postprocess: unmatched placeholder - ${oe}`);const Ve=y[y.length-1];let lt=0;for(let vn=0;vnt.hasOwnProperty(I)?`${y}${t[I]}${oe}`:f),i=i.replace(mx,(f,y)=>t.hasOwnProperty(y)?t[y]:f),i=i.replace(px,(f,y)=>{if(t.hasOwnProperty(y)){const I=t[y];if(!I.length)throw new Error(`i18n postprocess: unmatched ICU - ${f} with key: ${y}`);return I.shift()}return f})),i}(e,t)}function rh(e,t,i,f,y){if(e=M(e),Array.isArray(e))for(let I=0;I>20;if(Os(e)||!e.multi){const jt=new H(oe,y,ha),sn=sh(K,t,y?Ve:Ve+Pt,lt);-1===sn?(Di(ei(xe,B),I,K),oh(I,e,t.length),t.push(K),xe.directiveStart++,xe.directiveEnd++,y&&(xe.providerIndexes+=1048576),i.push(jt),B.push(jt)):(i[sn]=jt,B[sn]=jt)}else{const jt=sh(K,t,Ve+Pt,lt),sn=sh(K,t,Ve,Ve+Pt),On=sn>=0&&i[sn];if(y&&!On||!y&&!(jt>=0&&i[jt])){Di(ei(xe,B),I,K);const Wn=function xx(e,t,i,f,y){const I=new H(e,i,ha);return I.multi=[],I.index=t,I.componentProviders=0,tg(I,y,f&&!i),I}(y?Cx:yx,i.length,y,f,oe);!y&&On&&(i[sn].providerFactory=Wn),oh(I,e,t.length,0),t.push(K),xe.directiveStart++,xe.directiveEnd++,y&&(xe.providerIndexes+=1048576),i.push(Wn),B.push(Wn)}else oh(I,e,jt>-1?jt:sn,tg(i[y?sn:jt],oe,!y&&f));!y&&f&&On&&i[sn].componentProviders++}}}function oh(e,t,i,f){const y=Os(t),I=function Yb(e){return!!e.useClass}(t);if(y||I){const oe=(I?M(t.useClass):t).prototype.ngOnDestroy;if(oe){const xe=e.destroyHooks||(e.destroyHooks=[]);if(!y&&t.multi){const Ve=xe.indexOf(i);-1===Ve?xe.push(i,[f,oe]):xe[Ve+1].push(f,oe)}else xe.push(i,oe)}}}function tg(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function sh(e,t,i,f){for(let y=i;y{i.providersResolver=(f,y)=>function bx(e,t,i){const f=yi();if(f.firstCreatePass){const y=Fi(e);rh(i,f.data,f.blueprint,y,!0),rh(t,f.data,f.blueprint,y,!1)}}(f,y?y(e):e,t)}}class Sa{}class ig{}function rg(e,t){return new Cc(e,t??null,[])}const Mx=rg;class Cc extends Sa{constructor(t,i,f){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new _p(this);const y=kn(t);this._bootstrapComponents=Vo(y.bootstrap),this._r3Injector=Ym(t,i,[{provide:Sa,useValue:this},{provide:tl,useValue:this.componentFactoryResolver},...f],u(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class xc extends ig{constructor(t){super(),this.moduleType=t}create(t){return new Cc(this.moduleType,t,[])}}class og extends Sa{constructor(t){super(),this.componentFactoryResolver=new _p(this),this.instance=null;const i=new _u([...t.providers,{provide:Sa,useValue:this},{provide:tl,useValue:this.componentFactoryResolver}],t.parent||Gl(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function sg(e,t,i=null){return new og({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let Ex=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const f=dm(0,i.type),y=f.length>0?sg([f],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,y)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=St({token:e,providedIn:"environment",factory:()=>new e(ce(Ps))}),e})();function ag(e){e.getStandaloneInjector=t=>t.get(Ex).getOrCreateStandaloneInjector(e)}function lh(e){const t=kr(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function ob(e,t){const i=t[rn].data[e],{directiveStart:f,componentOffset:y}=i;return y>-1?t[f+y]:null}(t.nodeIndex,i)}return t.component}function lg(e){!function kx(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=kr(e),i=t?t.lView:null;return null===i?null:i[gi]}function cg(e){const t=kr(e);let f,i=t?t.lView:null;if(null===i)return null;for(;2===i[rn].type&&(f=Wa(i));)i=f;return 512&i[xn]?null:i[gi]}function ug(e){const t=Cf(e);return null!==t?[cb(t)]:[]}function dg(e){const t=kr(e),i=t?t.lView:null;return null===i?as.NULL:new Qs(i[rn].data[t.nodeIndex],i)}function hg(e){if(e instanceof Text)return[];const t=kr(e),i=t?t.lView:null;if(null===i)return[];const f=i[rn],y=t.nodeIndex;return f?.data[y]?(void 0===t.directives&&(t.directives=Ef(y,i)),null===t.directives?[]:[...t.directives]):[]}function Tx(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=gn(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?wn.OnPush:wn.Default};const f=pn(t);return f?{inputs:f.inputs,outputs:f.outputs}:null}function ch(e){return kr(e).native}function fg(e){const t=kr(e),i=null===t?null:t.lView;if(null===i)return[];const y=i[_r],I=i[rn].cleanup,B=[];if(I&&y)for(let K=0;K=0?"dom":"output"})}}return B.sort(Ix),B}function Ix(e,t){return e.name==t.name?0:e.name{const y=e;null!==t&&(y.hasOwnProperty("decorators")&&void 0!==y.decorators?y.decorators.push(...t):y.decorators=t),null!==i&&(y.ctorParameters=i),null!==f&&(y.propDecorators=y.hasOwnProperty("propDecorators")&&void 0!==y.propDecorators?{...y.propDecorators,...f}:f)})}function pg(e,t,i){const f=dr()+e,y=dn();return y[f]===fi?To(y,f,i?t.call(i):t()):al(y,f)}function gg(e,t,i,f){return Eg(dn(),dr(),e,t,i,f)}function _g(e,t,i,f,y){return Dg(dn(),dr(),e,t,i,f,y)}function vg(e,t,i,f,y,I){return Tg(dn(),dr(),e,t,i,f,y,I)}function bg(e,t,i,f,y,I,B){return Sg(dn(),dr(),e,t,i,f,y,I,B)}function yg(e,t,i,f,y,I,B,K){const oe=dr()+e,xe=dn(),Ve=io(xe,oe,i,f,y,I);return Tr(xe,oe+4,B)||Ve?To(xe,oe+5,K?t.call(K,i,f,y,I,B):t(i,f,y,I,B)):al(xe,oe+5)}function Cg(e,t,i,f,y,I,B,K,oe){const xe=dr()+e,Ve=dn(),lt=io(Ve,xe,i,f,y,I);return Fs(Ve,xe+4,B,K)||lt?To(Ve,xe+6,oe?t.call(oe,i,f,y,I,B,K):t(i,f,y,I,B,K)):al(Ve,xe+6)}function xg(e,t,i,f,y,I,B,K,oe,xe){const Ve=dr()+e,lt=dn();let Pt=io(lt,Ve,i,f,y,I);return oc(lt,Ve+4,B,K,oe)||Pt?To(lt,Ve+7,xe?t.call(xe,i,f,y,I,B,K,oe):t(i,f,y,I,B,K,oe)):al(lt,Ve+7)}function Mg(e,t,i,f,y,I,B,K,oe,xe,Ve){const lt=dr()+e,Pt=dn(),jt=io(Pt,lt,i,f,y,I);return io(Pt,lt+4,B,K,oe,xe)||jt?To(Pt,lt+8,Ve?t.call(Ve,i,f,y,I,B,K,oe,xe):t(i,f,y,I,B,K,oe,xe)):al(Pt,lt+8)}function wg(e,t,i,f){return Ig(dn(),dr(),e,t,i,f)}function _l(e,t){const i=e[t];return i===fi?void 0:i}function Eg(e,t,i,f,y,I){const B=t+i;return Tr(e,B,y)?To(e,B+1,I?f.call(I,y):f(y)):_l(e,B+1)}function Dg(e,t,i,f,y,I,B){const K=t+i;return Fs(e,K,y,I)?To(e,K+2,B?f.call(B,y,I):f(y,I)):_l(e,K+2)}function Tg(e,t,i,f,y,I,B,K){const oe=t+i;return oc(e,oe,y,I,B)?To(e,oe+3,K?f.call(K,y,I,B):f(y,I,B)):_l(e,oe+3)}function Sg(e,t,i,f,y,I,B,K,oe){const xe=t+i;return io(e,xe,y,I,B,K)?To(e,xe+4,oe?f.call(oe,y,I,B,K):f(y,I,B,K)):_l(e,xe+4)}function Ig(e,t,i,f,y,I){let B=t+i,K=!1;for(let oe=0;oe=0;i--){const f=t[i];if(e===f.name)return f}}(t,i.pipeRegistry),i.data[y]=f,f.onDestroy&&(i.destroyHooks??=[]).push(y,f.onDestroy)):f=i.data[y];const I=f.factory||(f.factory=sr(f.type)),B=Lt(ha);try{const K=wi(!1),oe=I();return wi(K),Pp(i,dn(),y,oe),oe}finally{Lt(B)}}function kg(e,t,i){const f=e+ft,y=dn(),I=Ht(y,f);return vl(y,f)?Eg(y,dr(),t,I.transform,i,I):I.transform(i)}function Lg(e,t,i,f){const y=e+ft,I=dn(),B=Ht(I,y);return vl(I,y)?Dg(I,dr(),t,B.transform,i,f,B):B.transform(i,f)}function Rg(e,t,i,f,y){const I=e+ft,B=dn(),K=Ht(B,I);return vl(B,I)?Tg(B,dr(),t,K.transform,i,f,y,K):K.transform(i,f,y)}function Og(e,t,i,f,y,I){const B=e+ft,K=dn(),oe=Ht(K,B);return vl(K,B)?Sg(K,dr(),t,oe.transform,i,f,y,I,oe):oe.transform(i,f,y,I)}function Pg(e,t,i){const f=e+ft,y=dn(),I=Ht(y,f);return vl(y,f)?Ig(y,dr(),t,I.transform,i,I):I.transform.apply(I,i)}function vl(e,t){return e[rn].data[t].pure}function uh(e){return t=>{setTimeout(e,void 0,t)}}const Io=class Rx extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,f){let y=t,I=i||(()=>null),B=f;if(t&&"object"==typeof t){const oe=t;y=oe.next?.bind(oe),I=oe.error?.bind(oe),B=oe.complete?.bind(oe)}this.__isAsync&&(I=uh(I),y&&(y=uh(y)),B&&(B=uh(B)));const K=super.subscribe({next:y,error:I,complete:B});return t instanceof p.w0&&t.add(K),K}};function Ox(){return this._results[Symbol.iterator]()}class Mc{get changes(){return this._changes||(this._changes=new Io)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=Mc.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=Ox)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const f=this;f.dirty=!1;const y=no(t);(this._changesDetected=!function Iv(e,t,i){if(e.length!==t.length)return!1;for(let f=0;f{class e{}return e.__NG_ELEMENT_ID__=Nx,e})();const Px=bl,Fx=class extends Px{constructor(t,i,f){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=f}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i,null)}createEmbeddedViewImpl(t,i,f){const B=this._declarationTContainer.tView,K=ql(this._declarationLView,B,t,4096&this._declarationLView[xn]?4096:16,null,B.declTNode,null,null,null,i||null,f||null);K[Pn]=this._declarationLView[this._declarationTContainer.index];const xe=this._declarationLView[Vi];return null!==xe&&(K[Vi]=xe.createEmbeddedView(B)),zu(B,K,t),new ma(K)}};function Nx(){return wc(cr(),dn())}function wc(e,t){return 4&e.type?new Fx(t,e,ca(e,t)):null}function Fg(e){const t=e[zn]??[],f=e[ti][U];for(const y of t)Ux(y,f);e[zn]=Mn}function Ux(e,t){let i=0,f=e.firstChild;if(f){const y=e.data[el];for(;inull;function jx(e,t){const i=e[zn]??[];return t&&0!==i.length?i[0].data[bm]===t?i.shift():(Fg(e),null):null}function Ug(e,t){return Ng(e,t)}let Ec=(()=>{class e{}return e.__NG_ELEMENT_ID__=zx,e})();function zx(){return Vg(cr(),dn())}const Wx=Ec,Bg=class extends Wx{constructor(t,i,f){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=f}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new Qs(this._hostTNode,this._hostLView)}get parentInjector(){const t=ui(this._hostTNode,this._hostLView);if(Ui(t)){const i=qn(t,this._hostLView),f=Fn(t);return new Qs(i[rn].data[f+8],i)}return new Qs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=$g(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-Vn}createEmbeddedView(t,i,f){let y,I;"number"==typeof f?y=f:null!=f&&(y=f.index,I=f.injector);const B=Ug(this._lContainer,t.ssrId),K=t.createEmbeddedViewImpl(i||{},I,B),oe=!!B&&!Rl(this._hostTNode);return this.insertImpl(K,y,oe),K}createComponent(t,i,f,y,I){const B=t&&!$a(t);let K;if(B)K=i;else{const vn=i||{};K=vn.index,f=vn.injector,y=vn.projectableNodes,I=vn.environmentInjector||vn.ngModuleRef}const oe=B?t:new pa(gn(t)),xe=f||this.parentInjector;if(!I&&null==oe.ngModule){const On=(B?xe:this.parentInjector).get(Ps,null);On&&(I=On)}const Ve=gn(oe.componentType??{}),lt=Ug(this._lContainer,Ve?.id??null),jt=oe.create(xe,y,lt?.firstChild??null,I),sn=!!lt&&!Rl(this._hostTNode);return this.insertImpl(jt.hostView,K,sn),jt}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,f){const y=t._lView,I=y[rn];if(function ji(e){return Mi(e[ti])}(y)){const oe=this.indexOf(t);if(-1!==oe)this.detach(oe);else{const xe=y[ti],Ve=new Bg(xe,xe[xi],xe[ti]);Ve.detach(Ve.indexOf(t))}}const B=this._adjustIndex(i),K=this._lContainer;if(function mb(e,t,i,f){const y=Vn+f,I=i.length;f>0&&(i[y-1][Ti]=t),f0&&(I.firstChild=e,e=lc(f[el],e)),i.push(I)}return[e,i]}(oe,xe);e[nn]=Ve,e[zn]=lt}class fh{constructor(t){this.queryList=t,this.matches=null}clone(){return new fh(this.queryList)}setDirty(){this.queryList.setDirty()}}class mh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const f=null!==t.contentQueries?t.contentQueries[0]:i.length,y=[];for(let I=0;I0)f.push(B[K/2]);else{const xe=I[K+1],Ve=t[-oe];for(let lt=Vn;lt({\u0275\u0275attribute:Yu,\u0275\u0275attributeInterpolate1:Zu,\u0275\u0275attributeInterpolate2:Qu,\u0275\u0275attributeInterpolate3:Xu,\u0275\u0275attributeInterpolate4:Ju,\u0275\u0275attributeInterpolate5:qu,\u0275\u0275attributeInterpolate6:ed,\u0275\u0275attributeInterpolate7:td,\u0275\u0275attributeInterpolate8:nd,\u0275\u0275attributeInterpolateV:id,\u0275\u0275defineComponent:Ft,\u0275\u0275defineDirective:zt,\u0275\u0275defineInjectable:St,\u0275\u0275defineInjector:xt,\u0275\u0275defineNgModule:ge,\u0275\u0275definePipe:an,\u0275\u0275directiveInject:ha,\u0275\u0275getInheritedFactory:zh,\u0275\u0275inject:ce,\u0275\u0275injectAttribute:Fc,\u0275\u0275invalidFactory:Zm,\u0275\u0275invalidFactoryDep:Ee,\u0275\u0275templateRefExtractor:qg,\u0275\u0275resetView:vs,\u0275\u0275HostDirectivesFeature:Mp,\u0275\u0275NgOnChangesFeature:bo,\u0275\u0275ProvidersFeature:ng,\u0275\u0275CopyDefinitionFeature:xp,\u0275\u0275InheritDefinitionFeature:Gu,\u0275\u0275InputTransformsFeature:Tp,\u0275\u0275StandaloneFeature:ag,\u0275\u0275nextContext:zp,\u0275\u0275namespaceHTML:br,\u0275\u0275namespaceMathML:Wi,\u0275\u0275namespaceSVG:Gn,\u0275\u0275enableBindings:Hs,\u0275\u0275disableBindings:rs,\u0275\u0275elementStart:cc,\u0275\u0275elementEnd:uc,\u0275\u0275element:dd,\u0275\u0275elementContainerStart:dc,\u0275\u0275elementContainerEnd:hc,\u0275\u0275elementContainer:hd,\u0275\u0275pureFunction0:pg,\u0275\u0275pureFunction1:gg,\u0275\u0275pureFunction2:_g,\u0275\u0275pureFunction3:vg,\u0275\u0275pureFunction4:bg,\u0275\u0275pureFunction5:yg,\u0275\u0275pureFunction6:Cg,\u0275\u0275pureFunction7:xg,\u0275\u0275pureFunction8:Mg,\u0275\u0275pureFunctionV:wg,\u0275\u0275getCurrentView:Bp,\u0275\u0275restoreView:_s,\u0275\u0275listener:md,\u0275\u0275projection:Gp,\u0275\u0275syntheticHostProperty:Qd,\u0275\u0275syntheticHostListener:pd,\u0275\u0275pipeBind1:kg,\u0275\u0275pipeBind2:Lg,\u0275\u0275pipeBind3:Rg,\u0275\u0275pipeBind4:Og,\u0275\u0275pipeBindV:Pg,\u0275\u0275projectionDef:Wp,\u0275\u0275hostProperty:Zd,\u0275\u0275property:cd,\u0275\u0275propertyInterpolate:gd,\u0275\u0275propertyInterpolate1:fc,\u0275\u0275propertyInterpolate2:_d,\u0275\u0275propertyInterpolate3:vd,\u0275\u0275propertyInterpolate4:bd,\u0275\u0275propertyInterpolate5:yd,\u0275\u0275propertyInterpolate6:Cd,\u0275\u0275propertyInterpolate7:xd,\u0275\u0275propertyInterpolate8:Md,\u0275\u0275propertyInterpolateV:wd,\u0275\u0275pipe:Ag,\u0275\u0275queryRefresh:Gg,\u0275\u0275viewQuery:Kg,\u0275\u0275loadQuery:Zg,\u0275\u0275contentQuery:Yg,\u0275\u0275reference:Fp,\u0275\u0275classMap:e0,\u0275\u0275classMapInterpolate1:u0,\u0275\u0275classMapInterpolate2:d0,\u0275\u0275classMapInterpolate3:h0,\u0275\u0275classMapInterpolate4:f0,\u0275\u0275classMapInterpolate5:m0,\u0275\u0275classMapInterpolate6:p0,\u0275\u0275classMapInterpolate7:g0,\u0275\u0275classMapInterpolate8:_0,\u0275\u0275classMapInterpolateV:v0,\u0275\u0275styleMap:fo,\u0275\u0275styleMapInterpolate1:b0,\u0275\u0275styleMapInterpolate2:y0,\u0275\u0275styleMapInterpolate3:C0,\u0275\u0275styleMapInterpolate4:x0,\u0275\u0275styleMapInterpolate5:M0,\u0275\u0275styleMapInterpolate6:w0,\u0275\u0275styleMapInterpolate7:E0,\u0275\u0275styleMapInterpolate8:D0,\u0275\u0275styleMapInterpolateV:T0,\u0275\u0275styleProp:Sd,\u0275\u0275stylePropInterpolate1:$d,\u0275\u0275stylePropInterpolate2:Vd,\u0275\u0275stylePropInterpolate3:jd,\u0275\u0275stylePropInterpolate4:Hd,\u0275\u0275stylePropInterpolate5:zd,\u0275\u0275stylePropInterpolate6:Wd,\u0275\u0275stylePropInterpolate7:Gd,\u0275\u0275stylePropInterpolate8:Kd,\u0275\u0275stylePropInterpolateV:Yd,\u0275\u0275classProp:Id,\u0275\u0275advance:jm,\u0275\u0275template:Lp,\u0275\u0275text:l0,\u0275\u0275textInterpolate:kd,\u0275\u0275textInterpolate1:gc,\u0275\u0275textInterpolate2:Ld,\u0275\u0275textInterpolate3:Rd,\u0275\u0275textInterpolate4:Od,\u0275\u0275textInterpolate5:Pd,\u0275\u0275textInterpolate6:Fd,\u0275\u0275textInterpolate7:Nd,\u0275\u0275textInterpolate8:Ud,\u0275\u0275textInterpolateV:Bd,\u0275\u0275i18n:X0,\u0275\u0275i18nAttributes:J0,\u0275\u0275i18nExp:ih,\u0275\u0275i18nStart:th,\u0275\u0275i18nEnd:nh,\u0275\u0275i18nApply:q0,\u0275\u0275i18nPostprocess:eg,\u0275\u0275resolveWindow:Rm,\u0275\u0275resolveDocument:Om,\u0275\u0275resolveBody:Lu,\u0275\u0275setComponentScope:Ae,\u0275\u0275setNgModuleScope:Ge,\u0275\u0275registerNgModuleType:Vc,\u0275\u0275sanitizeHtml:nm,\u0275\u0275sanitizeStyle:im,\u0275\u0275sanitizeResourceUrl:cu,\u0275\u0275sanitizeScript:rm,\u0275\u0275sanitizeUrl:lu,\u0275\u0275sanitizeUrlOrResourceUrl:am,\u0275\u0275trustConstantHtml:om,\u0275\u0275trustConstantResourceUrl:sm,\u0275\u0275validateIframeAttribute:zf,forwardRef:_,resolveForwardRef:M}))();let Ia=null;function iM(){Ia=null}function vh(e){return!!kn(e)}const yl=[];let bh=!1;function t_(){if(!bh){bh=!0;try{for(let e=yl.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=yl[e];i.declarations&&i.declarations.every(n_)&&(yl.splice(e,1),lM(t,i))}}finally{bh=!1}}}function n_(e){return Array.isArray(e)?e.every(n_):!!M(e)}function i_(e,t={}){r_(e,t),void 0!==t.id&&Vc(e,t.id),function rM(e,t){yl.push({moduleType:e,ngModule:t})}(e,t)}function r_(e,t,i=!1){const f=no(t.declarations||Mn);let y=null;Object.defineProperty(e,Qi,{configurable:!0,get:()=>(null===y&&(y=pr().compileNgModule(Lr,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:no(t.bootstrap||Mn).map(M),declarations:f.map(M),imports:no(t.imports||Mn).map(M).map(a_),exports:no(t.exports||Mn).map(M).map(a_),schemas:t.schemas?no(t.schemas):null,id:t.id||null}),y.schemas||(y.schemas=[])),y)});let I=null;Object.defineProperty(e,wt,{get:()=>{if(null===I){const K=pr();I=K.compileFactory(Lr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Il(e),target:K.FactoryTarget.NgModule,typeArgumentCount:0})}return I},configurable:!1});let B=null;Object.defineProperty(e,ee,{get:()=>{if(null===B){const K={name:e.name,type:e,providers:t.providers||Mn,imports:[(t.imports||Mn).map(M),(t.exports||Mn).map(M)]};B=pr().compileInjector(Lr,`ng:///${e.name}/\u0275inj.js`,K)}return B},configurable:!1})}let Dc=new WeakMap,Ch=new WeakMap;function aM(){Dc=new WeakMap,Ch=new WeakMap,yl.length=0,er.clear()}function lM(e,t){const i=no(t.declarations||Mn),f=$s(e);i.forEach(y=>{(y=M(y)).hasOwnProperty(Ci)?xh(gn(y),f):!y.hasOwnProperty(di)&&!y.hasOwnProperty(Li)&&(y.ngSelectorScope=e)})}function xh(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(Ci)?gn(i):pn(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Jn(i)),e.schemas=t.schemas,e.tView=null}function $s(e){if(vh(e))return function cM(e){const t=kn(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Vo(t.imports).forEach(f=>{const y=$s(f);y.exported.directives.forEach(I=>i.compilation.directives.add(I)),y.exported.pipes.forEach(I=>i.compilation.pipes.add(I))}),Vo(t.declarations).forEach(f=>{Jn(f)?i.compilation.pipes.add(f):i.compilation.directives.add(f)}),Vo(t.exports).forEach(f=>{const y=f;if(vh(y)){const I=$s(y);I.exported.directives.forEach(B=>{i.compilation.directives.add(B),i.exported.directives.add(B)}),I.exported.pipes.forEach(B=>{i.compilation.pipes.add(B),i.exported.pipes.add(B)})}else Jn(y)?i.exported.pipes.add(y):i.exported.directives.add(y)}),t.transitiveCompileScopes=i,i}(e);if(Nn(e)){if(null!==(gn(e)||pn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Jn(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 a_(e){return function e_(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let Mh=0;function l_(e,t){let i=null;(function Uv(e,t){sf(t)&&(na.set(e,t),Ha.add(e))})(e,t),u_(e,t),Object.defineProperty(e,Ci,{get:()=>{if(null===i){const f=pr();if(sf(t)){const xe=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&xe.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&xe.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),xe.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(xe.join("\n"))}const y=function nM(){return Ia}();let I=t.preserveWhitespaces;void 0===I&&(I=null!==y&&void 0!==y.preserveWhitespaces&&y.preserveWhitespaces);let B=t.encapsulation;void 0===B&&(B=null!==y&&void 0!==y.defaultEncapsulation?y.defaultEncapsulation:Tn.Emulated);const K=t.templateUrl||`ng:///${e.name}/template.html`,oe={...d_(e,t),typeSourceSpan:f.createParseSourceSpan("Component",e.name,K),template:t.template||"",preserveWhitespaces:I,styles:t.styles||Mn,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:B,interpolation:t.interpolation,viewProviders:t.viewProviders||null};Mh++;try{if(oe.usesInheritance&&h_(e),i=f.compileComponent(Lr,K,oe),t.standalone){const xe=no(t.imports||Mn),{directiveDefs:Ve,pipeDefs:lt}=function dM(e,t){let i=null,f=null;return{directiveDefs:()=>{if(null===i){i=[gn(e)];const B=new Set([e]);for(const K of t){const oe=M(K);if(!B.has(oe))if(B.add(oe),kn(oe)){const xe=$s(oe);for(const Ve of xe.exported.directives){const lt=gn(Ve)||pn(Ve);lt&&!B.has(Ve)&&(B.add(Ve),i.push(lt))}}else{const xe=gn(oe)||pn(oe);xe&&i.push(xe)}}}return i},pipeDefs:()=>{if(null===f){f=[];const B=new Set;for(const K of t){const oe=M(K);if(!B.has(oe))if(B.add(oe),kn(oe)){const xe=$s(oe);for(const Ve of xe.exported.pipes){const lt=Jn(Ve);lt&&!B.has(Ve)&&(B.add(Ve),f.push(lt))}}else{const xe=Jn(oe);xe&&f.push(xe)}}}return f}}}(e,xe);i.directiveDefs=Ve,i.pipeDefs=lt,i.dependencies=()=>xe.map(M)}}finally{Mh--}if(0===Mh&&t_(),function hM(e){return void 0!==e.ngSelectorScope}(e)){const xe=$s(e.ngSelectorScope);xh(i,xe)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${D(e)} but is only valid on a component that is standalone.`);i.schemas=t.schemas}else t.standalone&&(i.schemas=[])}return i},configurable:!1})}function wh(e,t){let i=null;u_(e,t||{}),Object.defineProperty(e,di,{get:()=>{if(null===i){const f=c_(e,t||{});i=pr().compileDirective(Lr,f.sourceMapUrl,f.metadata)}return i},configurable:!1})}function c_(e,t){const i=e&&e.name,f=`ng:///${i}/\u0275dir.js`,y=pr(),I=d_(e,t);return I.typeSourceSpan=y.createParseSourceSpan("Directive",i,f),I.usesInheritance&&h_(e),{metadata:I,sourceMapUrl:f}}function u_(e,t){let i=null;Object.defineProperty(e,wt,{get:()=>{if(null===i){const f=c_(e,t),y=pr();i=y.compileFactory(Lr,`ng:///${e.name}/\u0275fac.js`,{name:f.metadata.name,type:f.metadata.type,typeArgumentCount:0,deps:Il(e),target:y.FactoryTarget.Directive})}return i},configurable:!1})}function fM(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function d_(e,t){const i=$c(),f=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Sn,propMetadata:f,inputs:t.inputs||Mn,outputs:t.outputs||Mn,queries:f_(e,f,m_),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!fM(e),exportAs:gM(t.exportAs),providers:t.providers||null,viewQueries:f_(e,f,p_),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(y=>"function"==typeof y?{directive:y}:y)||null}}function h_(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!pn(i)&&!gn(i)&&vM(i)&&wh(i,null),i=Object.getPrototypeOf(i)}function mM(e){return"string"==typeof e?__(e):M(e)}function pM(e,t){return{propertyName:e,predicate:mM(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function f_(e,t,i){const f=[];for(const y in t)if(t.hasOwnProperty(y)){const I=t[y];I.forEach(B=>{if(i(B)){if(!B.selector)throw new Error(`Can't construct a query for the property "${y}" of "${D(e)}" since the query selector wasn't defined.`);if(I.some(g_))throw new Error("Cannot combine @Input decorators with query decorators");f.push(pM(y,B))}})}return f}function gM(e){return void 0===e?null:__(e)}function m_(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function p_(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function g_(e){return"Input"===e.ngMetadataName}function __(e){return e.split(",").map(t=>t.trim())}const _M=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function vM(e){const t=$c();if(_M.some(f=>t.hasLifecycleHook(e,f)))return!0;const i=t.propMetadata(e);for(const f in i){const y=i[f];for(let I=0;I{if(null===f){const y=b_(e,t),I=pr();f=I.compileFactory(Lr,`ng:///${y.name}/\u0275fac.js`,{name:y.name,type:y.type,typeArgumentCount:0,deps:Il(e),target:I.FactoryTarget.Pipe})}return f},configurable:!1}),Object.defineProperty(e,Li,{get:()=>{if(null===i){const y=b_(e,t);i=pr().compilePipe(Lr,`ng:///${y.name}/\u0275pipe.js`,y)}return i},configurable:!1})}function b_(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const y_=Ua("Directive",(e={})=>e,void 0,void 0,(e,t)=>wh(e,t)),bM=Ua("Component",(e={})=>({changeDetection:wn.Default,...e}),y_,void 0,(e,t)=>l_(e,t)),yM=Ua("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>v_(e,t)),CM=ss("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),xM=ss("Output",e=>({alias:e})),MM=ss("HostBinding",e=>({hostPropertyName:e})),wM=ss("HostListener",(e,t)=>({eventName:e,args:t})),EM=Ua("NgModule",e=>e,void 0,void 0,(e,t)=>i_(e,t)),C_=new Yi("Application Initializer");let Tc=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,f)=>{this.resolve=i,this.reject=f}),this.appInits=it(C_,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const y of this.appInits){const I=y();if(fd(I))i.push(I);else if($p(I)){const B=new Promise((K,oe)=>{I.subscribe({complete:K,error:oe})});i.push(B)}}const f=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{f()}).catch(y=>{this.reject(y)}),0===i.length&&f(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),x_=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Sc=new Yi("LocaleId",{providedIn:"root",factory:()=>it(Sc,pe.Optional|pe.SkipSelf)||function DM(){return typeof $localize<"u"&&$localize.locale||Bs}()}),TM=new Yi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),SM=new Yi("Translations"),IM=new Yi("TranslationsFormat");var M_=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(M_||{});let w_=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new C.X(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class E_{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let AM=(()=>{class e{compileModuleSync(i){return new xc(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const f=this.compileModuleSync(i),I=Vo(kn(i).declarations).reduce((B,K)=>{const oe=gn(K);return oe&&B.push(new pa(oe)),B},[]);return new E_(f,I)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const D_=new Yi("compilerOptions");class kM{}function LM(e){il(yf(e)),ug(e).forEach(t=>hp(t))}const T_="ng";let S_=!1;function RM(){S_||(S_=!0,ro("\u0275setProfiler",yo),ro("getDirectiveMetadata",Tx),ro("getComponent",lh),ro("getContext",lg),ro("getListeners",fg),ro("getOwningComponent",cg),ro("getHostElement",ch),ro("getInjector",dg),ro("getRootComponents",ug),ro("getDirectives",hg),ro("applyChanges",LM))}function ro(e,t){if((typeof COMPILED>"u"||!COMPILED)&&ze){let f=ze[T_];f||(f=ze[T_]={}),f[e]=t}}function I_(...e){}class Rr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:f=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Io(!1),this.onMicrotaskEmpty=new Io(!1),this.onStable=new Io(!1),this.onError=new Io(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const y=this;y._nesting=0,y._outer=y._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(y._inner=y._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(y._inner=y._inner.fork(Zone.longStackTraceZoneSpec)),y.shouldCoalesceEventChangeDetection=!f&&i,y.shouldCoalesceRunChangeDetection=f,y.lastRequestAnimationFrameId=-1,y.nativeRequestAnimationFrame=function OM(){const e="function"==typeof ze.requestAnimationFrame;let t=ze[e?"requestAnimationFrame":"setTimeout"],i=ze[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const f=t[Zone.__symbol__("OriginalDelegate")];f&&(t=f);const y=i[Zone.__symbol__("OriginalDelegate")];y&&(i=y)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function NM(e){const t=()=>{!function FM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ze,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Dh(e),e.isCheckStableRunning=!0,Eh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Dh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,f,y,I,B,K)=>{try{return A_(e),i.invokeTask(y,I,B,K)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===I.type||e.shouldCoalesceRunChangeDetection)&&t(),k_(e)}},onInvoke:(i,f,y,I,B,K,oe)=>{try{return A_(e),i.invoke(y,I,B,K,oe)}finally{e.shouldCoalesceRunChangeDetection&&t(),k_(e)}},onHasTask:(i,f,y,I)=>{i.hasTask(y,I),f===y&&("microTask"==I.change?(e._hasPendingMicrotasks=I.microTask,Dh(e),Eh(e)):"macroTask"==I.change&&(e.hasPendingMacrotasks=I.macroTask))},onHandleError:(i,f,y,I)=>(i.handleError(y,I),e.runOutsideAngular(()=>e.onError.emit(I)),!1)})}(y)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Rr.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(Rr.isInAngularZone())throw new T(909,!1)}run(t,i,f){return this._inner.run(t,i,f)}runTask(t,i,f,y){const I=this._inner,B=I.scheduleEventTask("NgZoneEvent: "+y,t,PM,I_,I_);try{return I.runTask(B,i,f)}finally{I.cancelTask(B)}}runGuarded(t,i,f){return this._inner.runGuarded(t,i,f)}runOutsideAngular(t){return this._outer.run(t)}}const PM={};function Eh(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 A_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function k_(e){e._nesting--,Eh(e)}class L_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Io,this.onMicrotaskEmpty=new Io,this.onStable=new Io,this.onError=new Io}run(t,i,f){return t.apply(i,f)}runGuarded(t,i,f){return t.apply(i,f)}runOutsideAngular(t){return t()}runTask(t,i,f,y){return t.apply(i,f)}}const R_=new Yi("",{providedIn:"root",factory:O_});function O_(){const e=it(Rr);let t=!0;const i=new b.y(y=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{y.next(t),y.complete()})}),f=new b.y(y=>{let I;e.runOutsideAngular(()=>{I=e.onStable.subscribe(()=>{Rr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,y.next(!0))})})});const B=e.onUnstable.subscribe(()=>{Rr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{y.next(!1)}))});return()=>{I.unsubscribe(),B.unsubscribe()}});return(0,o.T)(i,f.pipe((0,a.B)()))}const P_=new Yi(""),F_=new Yi("");let UM=(()=>{class e{constructor(i,f,y){this._ngZone=i,this.registry=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Th||(U_(y),y.addToWindow(f)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Rr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(f=>!f.updateCb||!f.updateCb(i)||(clearTimeout(f.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,f,y){let I=-1;f&&f>0&&(I=setTimeout(()=>{this._callbacks=this._callbacks.filter(B=>B.timeoutId!==I),i(this._didWork,this.getPendingTasks())},f)),this._callbacks.push({doneCb:i,timeoutId:I,updateCb:y})}whenStable(i,f,y){if(y&&!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,f,y),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,f,y){return[]}}return e.\u0275fac=function(i){return new(i||e)(ce(Rr),ce(N_),ce(F_))},e.\u0275prov=St({token:e,factory:e.\u0275fac}),e})(),N_=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,f){this._applications.set(i,f)}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,f=!0){return Th?.findTestabilityInTree(this,i,f)??null}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function U_(e){Th=e}let Th,cs=null;const Sh=new Yi("AllowMultipleToken"),Ih=new Yi("PlatformDestroyListeners"),Ah=new Yi("appBootstrapListener");function B_(e,t,i){const f=new xc(i);return Promise.resolve(f)}function $_(){!function Xo(e){Ao=e}(()=>{throw new T(600,!1)})}function V_(e){return e.isBoundToModule}class BM{constructor(t,i){this.name=t,this.token=i}}function j_(e){if(cs&&!cs.get(Sh,!1))throw new T(400,!1);$_(),cs=e;const t=e.get(kh);return H_(e),t}function H_(e){e.get(_m,null)?.forEach(i=>i())}function VM(e){try{const{rootComponent:t,appProviders:i,platformProviders:f}=e,y=function $M(e=[]){if(cs)return cs;const t=G_(e);return cs=t,$_(),H_(t),t}(f),I=[q_(),...i||[]],K=new og({providers:I,parent:y,debugName:"",runEnvironmentInitializers:!1}).injector,oe=K.get(Rr);return oe.run(()=>{K.resolveInjectorInitializers();const xe=K.get(ua,null);let Ve;oe.runOutsideAngular(()=>{Ve=oe.onError.subscribe({next:jt=>{xe.handleError(jt)}})});const lt=()=>K.destroy(),Pt=y.get(Ih);return Pt.add(lt),K.onDestroy(()=>{Ve.unsubscribe(),Pt.delete(lt)}),Y_(xe,oe,()=>{const jt=K.get(Tc);return jt.runInitializers(),jt.donePromise.then(()=>{Jd(K.get(Sc,Bs)||Bs);const vn=K.get(Aa);return void 0!==t&&vn.bootstrap(t),vn})})})}catch(t){return Promise.reject(t)}}function z_(e,t,i=[]){const f=`Platform: ${t}`,y=new Yi(f);return(I=[])=>{let B=Ic();if(!B||B.injector.get(Sh,!1)){const K=[...i,...I,{provide:y,useValue:!0}];e?e(K):j_(G_(K,f))}return W_()}}function W_(e){const t=Ic();if(!t)throw new T(401,!1);return t}function G_(e=[],t){return as.create({name:t,providers:[{provide:pu,useValue:"platform"},{provide:Ih,useValue:new Set([()=>cs=null])},...e]})}function jM(){Ic()?.destroy()}function Ic(){return cs?.get(kh)??null}let kh=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,f){const y=function HM(e="zone.js",t){return"noop"===e?new L_:"zone.js"===e?new Rr(t):e}(f?.ngZone,K_({eventCoalescing:f?.ngZoneEventCoalescing,runCoalescing:f?.ngZoneRunCoalescing}));return y.run(()=>{const I=function wx(e,t,i){return new Cc(e,t,i)}(i.moduleType,this.injector,J_(()=>y)),B=I.injector.get(ua,null);return y.runOutsideAngular(()=>{const K=y.onError.subscribe({next:oe=>{B.handleError(oe)}});I.onDestroy(()=>{Ac(this._modules,I),K.unsubscribe()})}),Y_(B,y,()=>{const K=I.injector.get(Tc);return K.runInitializers(),K.donePromise.then(()=>(Jd(I.injector.get(Sc,Bs)||Bs),this._moduleDoBootstrap(I),I))})})}bootstrapModule(i,f=[]){const y=Z_({},f);return B_(0,0,i).then(I=>this.bootstrapModuleFactory(I,y))}_moduleDoBootstrap(i){const f=i.injector.get(Aa);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(y=>f.bootstrap(y));else{if(!i.instance.ngDoBootstrap)throw new T(-403,!1);i.instance.ngDoBootstrap(f)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(f=>f.destroy()),this._destroyListeners.forEach(f=>f());const i=this._injector.get(Ih,null);i&&(i.forEach(f=>f()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(ce(as))},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function K_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function Y_(e,t,i){try{const f=i();return fd(f)?f.catch(y=>{throw t.runOutsideAngular(()=>e.handleError(y)),y}):f}catch(f){throw t.runOutsideAngular(()=>e.handleError(f)),f}}function Z_(e,t){return Array.isArray(t)?t.reduce(Z_,e):{...e,...t}}let Aa=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=it(X_),this.zoneIsStable=it(R_),this.componentTypes=[],this.components=[],this.isStable=it(w_).hasPendingTasks.pipe((0,c.w)(i=>i?(0,v.of)(!1):this.zoneIsStable),(0,s.x)(),(0,a.B)()),this._injector=it(Ps)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,f){const y=i instanceof Ql;if(!this._injector.get(Tc).done)throw!y&&Nn(i),new T(405,!1);let B;B=y?i:this._injector.get(tl).resolveComponentFactory(i),this.componentTypes.push(B.componentType);const K=V_(B)?void 0:this._injector.get(Sa),xe=B.create(as.NULL,[],f||B.selector,K),Ve=xe.location.nativeElement,lt=xe.injector.get(P_,null);return lt?.registerApplication(Ve),xe.onDestroy(()=>{this.detachView(xe.hostView),Ac(this.components,xe),lt?.unregisterApplication(Ve)}),this._loadComponent(xe),xe}tick(){if(this._runningTick)throw new T(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const f=i;this._views.push(f),f.attachToAppRef(this)}detachView(i){const f=i;Ac(this._views,f),f.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const f=this._injector.get(Ah,[]);f.push(...this._bootstrapListeners),f.forEach(y=>y(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),()=>Ac(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new T(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ac(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const X_=new Yi("",{providedIn:"root",factory:()=>it(ua).handleError.bind(void 0)});function zM(){const e=it(Rr),t=it(ua);return i=>e.runOutsideAngular(()=>t.handleError(i))}let WM=(()=>{class e{constructor(){this.zone=it(Rr),this.applicationRef=it(Aa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=St({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function J_(e){return[{provide:Rr,useFactory:e},{provide:Xa,multi:!0,useFactory:()=>{const t=it(WM,{optional:!0});return()=>t.initialize()}},{provide:X_,useFactory:zM},{provide:R_,useFactory:O_}]}function q_(e){return du([[],J_(()=>new Rr(K_(e)))])}function GM(){return!1}function KM(){}function YM(e){const t=cf(e);if(!t)throw ev(e);return new xc(t)}function ZM(e){const t=cf(e);if(!t)throw ev(e);return t}function ev(e){return new Error(`No module with ID ${e} loaded`)}let tv=(()=>{class e{}return e.__NG_ELEMENT_ID__=nv,e})();function nv(e){return function QM(e,t,i){if(Xn(e)&&!i){const f=Zt(e.index,t);return new ma(f,f)}return 47&e.type?new ma(t[Gt],t):null}(cr(),dn(),16==(16&e))}class iv extends tv{}class XM extends iv{}class JM{constructor(t,i){this.name=t,this.callback=i}}function qM(e){return e.map(t=>t.nativeElement)}class Lh{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Cl(t):null}get injector(){return dg(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(lh(t)||cg(t))}get context(){return lh(this.nativeNode)||lg(this.nativeNode)}get listeners(){return fg(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function Sx(e){const t=kr(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function sb(e,t){const i=e[rn].data[t];if(i&&i.localNames){const f={};let y=i.index+1;for(let I=0;I1){let Ve=oe[1];for(let lt=1;ltt[I]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let f=0;f{if(I.name===t){const B=I.callback;B.call(f,i),y.push(B)}}),"function"==typeof f.eventListeners&&f.eventListeners(t).forEach(I=>{if(-1!==I.toString().indexOf("__ngUnwrap__")){const B=I("__ngUnwrap__");return-1===y.indexOf(B)&&B.call(f,i)}})}}function tw(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function rv(e,t,i,f){const y=kr(e.nativeNode),I=y?y.lView:null;null!==I?Vs(I[rn].data[y.nodeIndex],I,t,i,f,e.nativeNode):Oh(e.nativeNode,t,i,f)}function Vs(e,t,i,f,y,I){const B=function Fe(e,t){const i=null===e?-1:e.index;return-1!==i?Oi(t[i]):null}(e,t);if(11&e.type){if(Rh(B,i,f,y,I),Xn(e)){const oe=Zt(e.index,t);oe&&oe[rn].firstChild&&Vs(oe[rn].firstChild,oe,i,f,y,I)}else e.child&&Vs(e.child,t,i,f,y,I),B&&Oh(B,i,f,y);const K=t[e.index];Mi(K)&&ov(K,i,f,y,I)}else if(4&e.type){const K=t[e.index];Rh(K[nn],i,f,y,I),ov(K,i,f,y,I)}else if(16&e.type){const K=t[Gt],xe=K[xi].projection[e.projection];if(Array.isArray(xe))for(let Ve of xe)Rh(Ve,i,f,y,I);else if(xe){const Ve=K[ti];Vs(Ve[rn].data[xe.index],Ve,i,f,y,I)}}else e.child&&Vs(e.child,t,i,f,y,I);if(I!==B){const K=2&e.flags?e.projectionNext:e.next;K&&Vs(K,t,i,f,y,I)}}function ov(e,t,i,f,y){for(let I=Vn;It;class av{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||iw}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,f=this._removalsHead,y=0,I=null;for(;i||f;){const B=!f||i&&i.currentIndex{B=this._trackByFn(y,K),null!==i&&Object.is(i.trackById,B)?(f&&(i=this._verifyReinsertion(i,K,B,y)),Object.is(i.item,K)||this._addIdentityChange(i,K)):(i=this._mismatch(i,K,B,y),f=!0),i=i._next,y++}),this.length=y;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,f,y){let I;return null===t?I=this._itTail:(I=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(f,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,I,y)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(f,y))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,I,y)):t=this._addAfter(new rw(i,f),I,y),t}_verifyReinsertion(t,i,f,y){let I=null===this._unlinkedRecords?null:this._unlinkedRecords.get(f,null);return null!==I?t=this._reinsertAfter(I,t._prev,y):t.currentIndex!=y&&(t.currentIndex=y,this._addToMoves(t,y)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,f){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const y=t._prevRemoved,I=t._nextRemoved;return null===y?this._removalsHead=I:y._nextRemoved=I,null===I?this._removalsTail=y:I._prevRemoved=y,this._insertAfter(t,i,f),this._addToMoves(t,f),t}_moveAfter(t,i,f){return this._unlink(t),this._insertAfter(t,i,f),this._addToMoves(t,f),t}_addAfter(t,i,f){return this._insertAfter(t,i,f),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,f){const y=null===i?this._itHead:i._next;return t._next=y,t._prev=i,null===y?this._itTail=t:y._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new lv),this._linkedRecords.put(t),t.currentIndex=f,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,f=t._next;return null===i?this._itHead=f:i._next=f,null===f?this._itTail=i:f._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new lv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class rw{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ow{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let f;for(f=this._head;null!==f;f=f._nextDup)if((null===i||i<=f.currentIndex)&&Object.is(f.trackById,t))return f;return null}remove(t){const i=t._prevDup,f=t._nextDup;return null===i?this._head=f:i._nextDup=f,null===f?this._tail=i:f._prevDup=i,null===this._head}}class lv{constructor(){this.map=new Map}put(t){const i=t.trackById;let f=this.map.get(i);f||(f=new ow,this.map.set(i,f)),f.add(t)}get(t,i){const y=this.map.get(t);return y?y.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cv(e,t,i){const f=e.previousIndex;if(null===f)return f;let y=0;return i&&f{if(i&&i.key===y)this._maybeAddToChanges(i,f),this._appendAfter=i,i=i._next;else{const I=this._getOrCreateRecordForKey(y,f);i=this._insertBeforeOrAppend(i,I)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let f=i;null!==f;f=f._nextRemoved)f===this._mapHead&&(this._mapHead=null),this._records.delete(f.key),f._nextRemoved=f._next,f.previousValue=f.currentValue,f.currentValue=null,f._prev=null,f._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const f=t._prev;return i._next=t,i._prev=f,t._prev=i,f&&(f._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const y=this._records.get(t);this._maybeAddToChanges(y,i);const I=y._prev,B=y._next;return I&&(I._next=B),B&&(B._prev=I),y._next=null,y._prev=null,y}const f=new aw(t);return this._records.set(t,f),f.currentValue=i,this._addToAdditions(f),f}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(f=>i(t[f],f))}}class aw{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function dv(){return new Nh([new sv])}let Nh=(()=>{class e{constructor(i){this.factories=i}static create(i,f){if(null!=f){const y=f.factories.slice();i=i.concat(y)}return new e(i)}static extend(i){return{provide:e,useFactory:f=>e.create(i,f||dv()),deps:[[e,new Sl,new Tl]]}}find(i){const f=this.factories.find(y=>y.supports(i));if(null!=f)return f;throw new T(901,!1)}}return e.\u0275prov=St({token:e,providedIn:"root",factory:dv}),e})();function hv(){return new Uh([new uv])}let Uh=(()=>{class e{constructor(i){this.factories=i}static create(i,f){if(f){const y=f.factories.slice();i=i.concat(y)}return new e(i)}static extend(i){return{provide:e,useFactory:f=>e.create(i,f||hv()),deps:[[e,new Sl,new Tl]]}}find(i){const f=this.factories.find(y=>y.supports(i));if(f)return f;throw new T(901,!1)}}return e.\u0275prov=St({token:e,providedIn:"root",factory:hv}),e})();const lw=[new uv],uw=new Nh([new sv]),dw=new Uh(lw),hw=z_(null,"core",[]);let fw=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(ce(Aa))},e.\u0275mod=ge({type:e}),e.\u0275inj=xt({}),e})();class mw{constructor(){this.views=[],this.indexByContent=new Map}add(t){const i=JSON.stringify(t);if(!this.indexByContent.has(i)){const f=this.views.length;return this.views.push(t),this.indexByContent.set(i,f),f}return this.indexByContent.get(i)}getAll(){return this.views}}let pw=0;function fv(e){return e.ssrId||(e.ssrId="t"+pw++),e.ssrId}function mv(e,t,i){const f=[];return sl(e,t,i,f),f.length}function gw(e,t){const i=new mw,f=new Map,y=e._views;for(const K of y){const oe=xm(K);if(null!==oe){const xe=oe[yn];xe&&!xe.hasAttribute(ia)&&($h(xe,oe,{serializedViewCollection:i,corruptedTextNodes:f}),bw(f,t))}}const I=i.getAll();e.injector.get(Ja).set(Du,I)}function _w(e,t){const i=[];let f="";for(let y=Vn;y0&&Ve===f){const lt=i[i.length-1];lt[Kl]??=1,lt[Kl]++}else f=Ve,i.push(xe)}return i}function Bh(e,t,i){const f=t.index-ft;e[Eu]??={},e[Eu][f]=H1(t,i)}function pv(e,t){const i=t.index-ft;e[Yl]??=[],e[Yl].includes(i)||e[Yl].push(i)}function gv(e,t){const i={},f=e[rn];for(let y=ft;y{let e=!0;return kc()&&(e=!!it(Ja,{optional:!0})?.get(Du,null)),e&&it(vm).add("hydration"),e}},{provide:Xa,useValue:()=>{kc()&&it(rl)&&function Cw(){vv||(vv=!0,function cy(){ym=ly}(),function Z1(){Np=Y1}(),function MC(){c0=xC}(),function J1(){Up=X1}(),function G1(){Rp=W1}(),function Yx(){jg=Kx}(),function Hx(){Ng=jx}(),function Ny(){Jm=Fy}())}()},multi:!0},{provide:Lm,useFactory:()=>kc()&&it(rl)},{provide:Ah,useFactory:()=>{if(kc()&&it(rl)){const e=it(Aa);return it(as),()=>{(function xw(e,t){return e.isStable.pipe((0,l.P)(f=>f)).toPromise().then(()=>{})})(e).then(()=>{!function $x(e){const t=e._views;for(const i of t){const f=xm(i);null!==f&&null!==f[yn]&&dh(f)}}(e)})}}return()=>{}},multi:!0}])}function ww(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Ew(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function Dw(e){return pr().compileDirectiveDeclaration(Lr,`ng:///${e.type.name}/\u0275fac.js`,e)}function Tw(e){mg(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function Sw(e){return pr().compileComponentDeclaration(Lr,`ng:///${e.type.name}/\u0275cmp.js`,e)}function Iw(e){return pr(function Aw(e){switch(e){case As.Directive:return"directive";case As.Component:return"component";case As.Injectable:return"injectable";case As.Pipe:return"pipe";case As.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Lr,`ng:///${e.type.name}/\u0275fac.js`,e)}function kw(e){return pr().compileInjectableDeclaration(Lr,`ng:///${e.type.name}/\u0275prov.js`,e)}function Lw(e){return pr().compileInjectorDeclaration(Lr,`ng:///${e.type.name}/\u0275inj.js`,e)}function Rw(e){return pr().compileNgModuleDeclaration(Lr,`ng:///${e.type.name}/\u0275mod.js`,e)}function Ow(e){return pr().compilePipeDeclaration(Lr,`ng:///${e.type.name}/\u0275pipe.js`,e)}function Pw(e,t){const i=gn(e),f=t.elementInjector||Gl();return new pa(i).create(f,t.projectableNodes,t.hostElement,t.environmentInjector)}function Fw(e){const t=gn(e);if(!t)return null;const i=new pa(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function Nw(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{AbstractControl:()=>it,AbstractControlDirective:()=>tt,AbstractFormGroupDirective:()=>Ct,COMPOSITION_BUFFER_MODE:()=>u,CheckboxControlValueAccessor:()=>l,CheckboxRequiredValidator:()=>Vn,ControlContainer:()=>St,DefaultValueAccessor:()=>h,EmailValidator:()=>ci,FormArray:()=>Ir,FormArrayName:()=>gi,FormBuilder:()=>go,FormControl:()=>oi,FormControlDirective:()=>xn,FormControlName:()=>U,FormGroup:()=>Rt,FormGroupDirective:()=>Ti,FormGroupName:()=>xi,FormRecord:()=>Ne,FormsModule:()=>Ko,MaxLengthValidator:()=>ai,MaxValidator:()=>Ut,MinLengthValidator:()=>ni,MinValidator:()=>nn,NG_ASYNC_VALIDATORS:()=>x,NG_VALIDATORS:()=>M,NG_VALUE_ACCESSOR:()=>c,NgControl:()=>bt,NgControlStatus:()=>vt,NgControlStatusGroup:()=>rt,NgForm:()=>si,NgModel:()=>an,NgModelGroup:()=>Ge,NgSelectOption:()=>Pn,NonNullableFormBuilder:()=>Vr,NumberValueAccessor:()=>Jn,PatternValidator:()=>Xi,RadioControlValueAccessor:()=>$i,RangeValueAccessor:()=>fn,ReactiveFormsModule:()=>Yo,RequiredValidator:()=>zn,SelectControlValueAccessor:()=>Gt,SelectMultipleControlValueAccessor:()=>Zi,UntypedFormArray:()=>zo,UntypedFormBuilder:()=>jr,UntypedFormControl:()=>li,UntypedFormGroup:()=>Ye,VERSION:()=>Hr,Validators:()=>L,isFormArray:()=>Wo,isFormControl:()=>Pi,isFormGroup:()=>qe,isFormRecord:()=>dt,\u0275InternalFormsSharedModule:()=>oo,\u0275NgNoValidate:()=>gn,\u0275NgSelectMultipleOption:()=>ur});var n=g(5879),p=g(6814),C=g(2459),b=g(9315),o=g(7398);let v=(()=>{class ye{constructor(he,He){this._renderer=he,this._elementRef=He,this.onChange=Qt=>{},this.onTouched=()=>{}}setProperty(he,He){this._renderer.setProperty(this._elementRef.nativeElement,he,He)}registerOnTouched(he){this.onTouched=he}registerOnChange(he){this.onChange=he}setDisabledState(he){this.setProperty("disabled",he)}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye}),ye})(),a=(()=>{class ye extends v{}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,features:[n.\u0275\u0275InheritDefinitionFeature]}),ye})();const c=new n.InjectionToken("NgValueAccessor"),s={provide:c,useExisting:(0,n.forwardRef)(()=>l),multi:!0};let l=(()=>{class ye extends a{writeValue(he){this.setProperty("checked",he)}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(he,He){1&he&&n.\u0275\u0275listener("change",function(En){return He.onChange(En.target.checked)})("blur",function(){return He.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([s]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const d={provide:c,useExisting:(0,n.forwardRef)(()=>h),multi:!0},u=new n.InjectionToken("CompositionEventMode");let h=(()=>{class ye extends v{constructor(he,He,Qt){super(he,He),this._compositionMode=Qt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function r(){const ye=(0,p.\u0275getDOM)()?(0,p.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(ye.toLowerCase())}())}writeValue(he){this.setProperty("value",he??"")}_handleInput(he){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(he)}_compositionStart(){this._composing=!0}_compositionEnd(he){this._composing=!1,this._compositionMode&&this.onChange(he)}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u,8))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,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(he,He){1&he&&n.\u0275\u0275listener("input",function(En){return He._handleInput(En.target.value)})("blur",function(){return He.onTouched()})("compositionstart",function(){return He._compositionStart()})("compositionend",function(En){return He._compositionEnd(En.target.value)})},features:[n.\u0275\u0275ProvidersFeature([d]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();function m(ye){return null==ye||("string"==typeof ye||Array.isArray(ye))&&0===ye.length}function _(ye){return null!=ye&&"number"==typeof ye.length}const M=new n.InjectionToken("NgValidators"),x=new n.InjectionToken("NgAsyncValidators"),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 L{static min(_e){return A(_e)}static max(_e){return T(_e)}static required(_e){return O(_e)}static requiredTrue(_e){return E(_e)}static email(_e){return D(_e)}static minLength(_e){return R(_e)}static maxLength(_e){return j(_e)}static pattern(_e){return N(_e)}static nullValidator(_e){return null}static compose(_e){return $(_e)}static composeAsync(_e){return Q(_e)}}function A(ye){return _e=>{if(m(_e.value)||m(ye))return null;const he=parseFloat(_e.value);return!isNaN(he)&&he{if(m(_e.value)||m(ye))return null;const he=parseFloat(_e.value);return!isNaN(he)&&he>ye?{max:{max:ye,actual:_e.value}}:null}}function O(ye){return m(ye.value)?{required:!0}:null}function E(ye){return!0===ye.value?null:{required:!0}}function D(ye){return m(ye.value)||w.test(ye.value)?null:{email:!0}}function R(ye){return _e=>m(_e.value)||!_(_e.value)?null:_e.value.length_(_e.value)&&_e.value.length>ye?{maxlength:{requiredLength:ye,actualLength:_e.value.length}}:null}function N(ye){if(!ye)return S;let _e,he;return"string"==typeof ye?(he="","^"!==ye.charAt(0)&&(he+="^"),he+=ye,"$"!==ye.charAt(ye.length-1)&&(he+="$"),_e=new RegExp(he)):(he=ye.toString(),_e=ye),He=>{if(m(He.value))return null;const Qt=He.value;return _e.test(Qt)?null:{pattern:{requiredPattern:he,actualValue:Qt}}}}function S(ye){return null}function k(ye){return null!=ye}function F(ye){return(0,n.\u0275isPromise)(ye)?(0,C.D)(ye):ye}function Y(ye){let _e={};return ye.forEach(he=>{_e=null!=he?{..._e,...he}:_e}),0===Object.keys(_e).length?null:_e}function se(ye,_e){return _e.map(he=>he(ye))}function me(ye){return ye.map(_e=>function ne(ye){return!ye.validate}(_e)?_e:he=>_e.validate(he))}function $(ye){if(!ye)return null;const _e=ye.filter(k);return 0==_e.length?null:function(he){return Y(se(he,_e))}}function q(ye){return null!=ye?$(me(ye)):null}function Q(ye){if(!ye)return null;const _e=ye.filter(k);return 0==_e.length?null:function(he){const He=se(he,_e).map(F);return(0,b.D)(He).pipe((0,o.U)(Y))}}function ue(ye){return null!=ye?Q(me(ye)):null}function Me(ye,_e){return null===ye?[_e]:Array.isArray(ye)?[...ye,_e]:[ye,_e]}function Oe(ye){return ye._rawValidators}function Xe(ye){return ye._rawAsyncValidators}function Be(ye){return ye?Array.isArray(ye)?ye:[ye]:[]}function $e(ye,_e){return Array.isArray(ye)?ye.includes(_e):ye===_e}function st(ye,_e){const he=Be(_e);return Be(ye).forEach(Qt=>{$e(he,Qt)||he.push(Qt)}),he}function Mt(ye,_e){return Be(_e).filter(he=>!$e(ye,he))}class tt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(_e){this._rawValidators=_e||[],this._composedValidatorFn=q(this._rawValidators)}_setAsyncValidators(_e){this._rawAsyncValidators=_e||[],this._composedAsyncValidatorFn=ue(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(_e){this._onDestroyCallbacks.push(_e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(_e=>_e()),this._onDestroyCallbacks=[]}reset(_e=void 0){this.control&&this.control.reset(_e)}hasError(_e,he){return!!this.control&&this.control.hasError(_e,he)}getError(_e,he){return this.control?this.control.getError(_e,he):null}}class St extends tt{get formDirective(){return null}get path(){return null}}class bt extends tt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class xt{constructor(_e){this._cd=_e}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 vt=(()=>{class ye extends xt{constructor(he){super(he)}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(bt,2))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(he,He){2&he&&n.\u0275\u0275classProp("ng-untouched",He.isUntouched)("ng-touched",He.isTouched)("ng-pristine",He.isPristine)("ng-dirty",He.isDirty)("ng-valid",He.isValid)("ng-invalid",He.isInvalid)("ng-pending",He.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),ye})(),rt=(()=>{class ye extends xt{constructor(he){super(he)}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(St,10))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(he,He){2&he&&n.\u0275\u0275classProp("ng-untouched",He.isUntouched)("ng-touched",He.isTouched)("ng-pristine",He.isPristine)("ng-dirty",He.isDirty)("ng-valid",He.isValid)("ng-invalid",He.isInvalid)("ng-pending",He.isPending)("ng-submitted",He.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),ye})();const We="VALID",ve="INVALID",we="PENDING",at="DISABLED";function De(ye){return(re(ye)?ye.validators:ye)||null}function ke(ye,_e){return(re(_e)?_e.asyncValidators:ye)||null}function re(ye){return null!=ye&&!Array.isArray(ye)&&"object"==typeof ye}function ce(ye,_e,he){const He=ye.controls;if(!(_e?Object.keys(He):He).length)throw new n.\u0275RuntimeError(1e3,"");if(!He[he])throw new n.\u0275RuntimeError(1001,"")}function Ee(ye,_e,he){ye._forEachChild((He,Qt)=>{if(void 0===he[Qt])throw new n.\u0275RuntimeError(1002,"")})}class it{constructor(_e,he){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(_e),this._assignAsyncValidators(he)}get validator(){return this._composedValidatorFn}set validator(_e){this._rawValidators=this._composedValidatorFn=_e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(_e){this._rawAsyncValidators=this._composedAsyncValidatorFn=_e}get parent(){return this._parent}get valid(){return this.status===We}get invalid(){return this.status===ve}get pending(){return this.status==we}get disabled(){return this.status===at}get enabled(){return this.status!==at}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(_e){this._assignValidators(_e)}setAsyncValidators(_e){this._assignAsyncValidators(_e)}addValidators(_e){this.setValidators(st(_e,this._rawValidators))}addAsyncValidators(_e){this.setAsyncValidators(st(_e,this._rawAsyncValidators))}removeValidators(_e){this.setValidators(Mt(_e,this._rawValidators))}removeAsyncValidators(_e){this.setAsyncValidators(Mt(_e,this._rawAsyncValidators))}hasValidator(_e){return $e(this._rawValidators,_e)}hasAsyncValidator(_e){return $e(this._rawAsyncValidators,_e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(_e={}){this.touched=!0,this._parent&&!_e.onlySelf&&this._parent.markAsTouched(_e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(_e=>_e.markAllAsTouched())}markAsUntouched(_e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(he=>{he.markAsUntouched({onlySelf:!0})}),this._parent&&!_e.onlySelf&&this._parent._updateTouched(_e)}markAsDirty(_e={}){this.pristine=!1,this._parent&&!_e.onlySelf&&this._parent.markAsDirty(_e)}markAsPristine(_e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(he=>{he.markAsPristine({onlySelf:!0})}),this._parent&&!_e.onlySelf&&this._parent._updatePristine(_e)}markAsPending(_e={}){this.status=we,!1!==_e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!_e.onlySelf&&this._parent.markAsPending(_e)}disable(_e={}){const he=this._parentMarkedDirty(_e.onlySelf);this.status=at,this.errors=null,this._forEachChild(He=>{He.disable({..._e,onlySelf:!0})}),this._updateValue(),!1!==_e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({..._e,skipPristineCheck:he}),this._onDisabledChange.forEach(He=>He(!0))}enable(_e={}){const he=this._parentMarkedDirty(_e.onlySelf);this.status=We,this._forEachChild(He=>{He.enable({..._e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:_e.emitEvent}),this._updateAncestors({..._e,skipPristineCheck:he}),this._onDisabledChange.forEach(He=>He(!1))}_updateAncestors(_e){this._parent&&!_e.onlySelf&&(this._parent.updateValueAndValidity(_e),_e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(_e){this._parent=_e}getRawValue(){return this.value}updateValueAndValidity(_e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===We||this.status===we)&&this._runAsyncValidator(_e.emitEvent)),!1!==_e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!_e.onlySelf&&this._parent.updateValueAndValidity(_e)}_updateTreeValidity(_e={emitEvent:!0}){this._forEachChild(he=>he._updateTreeValidity(_e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:_e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?at:We}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(_e){if(this.asyncValidator){this.status=we,this._hasOwnPendingAsyncValidator=!0;const he=F(this.asyncValidator(this));this._asyncValidationSubscription=he.subscribe(He=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(He,{emitEvent:_e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(_e,he={}){this.errors=_e,this._updateControlsErrors(!1!==he.emitEvent)}get(_e){let he=_e;return null==he||(Array.isArray(he)||(he=he.split(".")),0===he.length)?null:he.reduce((He,Qt)=>He&&He._find(Qt),this)}getError(_e,he){const He=he?this.get(he):this;return He&&He.errors?He.errors[_e]:null}hasError(_e,he){return!!this.getError(_e,he)}get root(){let _e=this;for(;_e._parent;)_e=_e._parent;return _e}_updateControlsErrors(_e){this.status=this._calculateStatus(),_e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(_e)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?at:this.errors?ve:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(we)?we:this._anyControlsHaveStatus(ve)?ve:We}_anyControlsHaveStatus(_e){return this._anyControls(he=>he.status===_e)}_anyControlsDirty(){return this._anyControls(_e=>_e.dirty)}_anyControlsTouched(){return this._anyControls(_e=>_e.touched)}_updatePristine(_e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!_e.onlySelf&&this._parent._updatePristine(_e)}_updateTouched(_e={}){this.touched=this._anyControlsTouched(),this._parent&&!_e.onlySelf&&this._parent._updateTouched(_e)}_registerOnCollectionChange(_e){this._onCollectionChange=_e}_setUpdateStrategy(_e){re(_e)&&null!=_e.updateOn&&(this._updateOn=_e.updateOn)}_parentMarkedDirty(_e){return!_e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(_e){return null}_assignValidators(_e){this._rawValidators=Array.isArray(_e)?_e.slice():_e,this._composedValidatorFn=function je(ye){return Array.isArray(ye)?q(ye):ye||null}(this._rawValidators)}_assignAsyncValidators(_e){this._rawAsyncValidators=Array.isArray(_e)?_e.slice():_e,this._composedAsyncValidatorFn=function Z(ye){return Array.isArray(ye)?ue(ye):ye||null}(this._rawAsyncValidators)}}class Rt extends it{constructor(_e,he,He){super(De(he),ke(He,he)),this.controls=_e,this._initObservables(),this._setUpdateStrategy(he),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(_e,he){return this.controls[_e]?this.controls[_e]:(this.controls[_e]=he,he.setParent(this),he._registerOnCollectionChange(this._onCollectionChange),he)}addControl(_e,he,He={}){this.registerControl(_e,he),this.updateValueAndValidity({emitEvent:He.emitEvent}),this._onCollectionChange()}removeControl(_e,he={}){this.controls[_e]&&this.controls[_e]._registerOnCollectionChange(()=>{}),delete this.controls[_e],this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}setControl(_e,he,He={}){this.controls[_e]&&this.controls[_e]._registerOnCollectionChange(()=>{}),delete this.controls[_e],he&&this.registerControl(_e,he),this.updateValueAndValidity({emitEvent:He.emitEvent}),this._onCollectionChange()}contains(_e){return this.controls.hasOwnProperty(_e)&&this.controls[_e].enabled}setValue(_e,he={}){Ee(this,0,_e),Object.keys(_e).forEach(He=>{ce(this,!0,He),this.controls[He].setValue(_e[He],{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he)}patchValue(_e,he={}){null!=_e&&(Object.keys(_e).forEach(He=>{const Qt=this.controls[He];Qt&&Qt.patchValue(_e[He],{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he))}reset(_e={},he={}){this._forEachChild((He,Qt)=>{He.reset(_e[Qt],{onlySelf:!0,emitEvent:he.emitEvent})}),this._updatePristine(he),this._updateTouched(he),this.updateValueAndValidity(he)}getRawValue(){return this._reduceChildren({},(_e,he,He)=>(_e[He]=he.getRawValue(),_e))}_syncPendingControls(){let _e=this._reduceChildren(!1,(he,He)=>!!He._syncPendingControls()||he);return _e&&this.updateValueAndValidity({onlySelf:!0}),_e}_forEachChild(_e){Object.keys(this.controls).forEach(he=>{const He=this.controls[he];He&&_e(He,he)})}_setUpControls(){this._forEachChild(_e=>{_e.setParent(this),_e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(_e){for(const[he,He]of Object.entries(this.controls))if(this.contains(he)&&_e(He))return!0;return!1}_reduceValue(){return this._reduceChildren({},(he,He,Qt)=>((He.enabled||this.disabled)&&(he[Qt]=He.value),he))}_reduceChildren(_e,he){let He=_e;return this._forEachChild((Qt,En)=>{He=he(He,Qt,En)}),He}_allControlsDisabled(){for(const _e of Object.keys(this.controls))if(this.controls[_e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(_e){return this.controls.hasOwnProperty(_e)?this.controls[_e]:null}}const Ye=Rt,qe=ye=>ye instanceof Rt;class Ne extends Rt{}const dt=ye=>ye instanceof Ne,At=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>tn}),tn="always";function wn(ye,_e){return[..._e.path,ye]}function Tn(ye,_e,he=tn){di(ye,_e),_e.valueAccessor.writeValue(ye.value),(ye.disabled||"always"===he)&&_e.valueAccessor.setDisabledState?.(ye.disabled),function Qi(ye,_e){_e.valueAccessor.registerOnChange(he=>{ye._pendingValue=he,ye._pendingChange=!0,ye._pendingDirty=!0,"change"===ye.updateOn&&mt(ye,_e)})}(ye,_e),function pt(ye,_e){const he=(He,Qt)=>{_e.valueAccessor.writeValue(He),Qt&&_e.viewToModelUpdate(He)};ye.registerOnChange(he),_e._registerOnDestroy(()=>{ye._unregisterOnChange(he)})}(ye,_e),function wt(ye,_e){_e.valueAccessor.registerOnTouched(()=>{ye._pendingTouched=!0,"blur"===ye.updateOn&&ye._pendingChange&&mt(ye,_e),"submit"!==ye.updateOn&&ye.markAsTouched()})}(ye,_e),function Ci(ye,_e){if(_e.valueAccessor.setDisabledState){const he=He=>{_e.valueAccessor.setDisabledState(He)};ye.registerOnDisabledChange(he),_e._registerOnDestroy(()=>{ye._unregisterOnDisabledChange(he)})}}(ye,_e)}function Sn(ye,_e,he=!0){const He=()=>{};_e.valueAccessor&&(_e.valueAccessor.registerOnChange(He),_e.valueAccessor.registerOnTouched(He)),Li(ye,_e),ye&&(_e._invokeOnDestroyCallbacks(),ye._registerOnCollectionChange(()=>{}))}function Mn(ye,_e){ye.forEach(he=>{he.registerOnValidatorChange&&he.registerOnValidatorChange(_e)})}function di(ye,_e){const he=Oe(ye);null!==_e.validator?ye.setValidators(Me(he,_e.validator)):"function"==typeof he&&ye.setValidators([he]);const He=Xe(ye);null!==_e.asyncValidator?ye.setAsyncValidators(Me(He,_e.asyncValidator)):"function"==typeof He&&ye.setAsyncValidators([He]);const Qt=()=>ye.updateValueAndValidity();Mn(_e._rawValidators,Qt),Mn(_e._rawAsyncValidators,Qt)}function Li(ye,_e){let he=!1;if(null!==ye){if(null!==_e.validator){const Qt=Oe(ye);if(Array.isArray(Qt)&&Qt.length>0){const En=Qt.filter(tr=>tr!==_e.validator);En.length!==Qt.length&&(he=!0,ye.setValidators(En))}}if(null!==_e.asyncValidator){const Qt=Xe(ye);if(Array.isArray(Qt)&&Qt.length>0){const En=Qt.filter(tr=>tr!==_e.asyncValidator);En.length!==Qt.length&&(he=!0,ye.setAsyncValidators(En))}}}const He=()=>{};return Mn(_e._rawValidators,He),Mn(_e._rawAsyncValidators,He),he}function mt(ye,_e){ye._pendingDirty&&ye.markAsDirty(),ye.setValue(ye._pendingValue,{emitModelToViewChange:!1}),_e.viewToModelUpdate(ye._pendingValue),ye._pendingChange=!1}function qt(ye,_e){di(ye,_e)}function mi(ye,_e){if(!ye.hasOwnProperty("model"))return!1;const he=ye.model;return!!he.isFirstChange()||!Object.is(_e,he.currentValue)}function ri(ye,_e){ye._syncPendingControls(),_e.forEach(he=>{const He=he.control;"submit"===He.updateOn&&He._pendingChange&&(he.viewToModelUpdate(He._pendingValue),He._pendingChange=!1)})}function ln(ye,_e){if(!_e)return null;let he,He,Qt;return Array.isArray(_e),_e.forEach(En=>{En.constructor===h?he=En:function Qn(ye){return Object.getPrototypeOf(ye.constructor)===a}(En)?He=En:Qt=En}),Qt||He||he||null}const An={provide:St,useExisting:(0,n.forwardRef)(()=>si)},Yn=(()=>Promise.resolve())();let si=(()=>{class ye extends St{constructor(he,He,Qt){super(),this.callSetDisabledState=Qt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Rt({},q(he),ue(He))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(he){Yn.then(()=>{const He=this._findContainer(he.path);he.control=He.registerControl(he.name,he.control),Tn(he.control,he,this.callSetDisabledState),he.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(he)})}getControl(he){return this.form.get(he.path)}removeControl(he){Yn.then(()=>{const He=this._findContainer(he.path);He&&He.removeControl(he.name),this._directives.delete(he)})}addFormGroup(he){Yn.then(()=>{const He=this._findContainer(he.path),Qt=new Rt({});qt(Qt,he),He.registerControl(he.name,Qt),Qt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(he){Yn.then(()=>{const He=this._findContainer(he.path);He&&He.removeControl(he.name)})}getFormGroup(he){return this.form.get(he.path)}updateModel(he,He){Yn.then(()=>{this.form.get(he.path).setValue(He)})}setValue(he){this.control.setValue(he)}onSubmit(he){return this.submitted=!0,ri(this.form,this._directives),this.ngSubmit.emit(he),"dialog"===he?.target?.method}onReset(){this.resetForm()}resetForm(he=void 0){this.form.reset(he),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(he){return he.pop(),he.length?this.form.get(he):this.form}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(At,8))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(he,He){1&he&&n.\u0275\u0275listener("submit",function(En){return He.onSubmit(En)})("reset",function(){return He.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([An]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();function ii(ye,_e){const he=ye.indexOf(_e);he>-1&&ye.splice(he,1)}function Ii(ye){return"object"==typeof ye&&null!==ye&&2===Object.keys(ye).length&&"value"in ye&&"disabled"in ye}const oi=class extends it{constructor(_e=null,he,He){super(De(he),ke(He,he)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(_e),this._setUpdateStrategy(he),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),re(he)&&(he.nonNullable||he.initialValueIsDefault)&&(this.defaultValue=Ii(_e)?_e.value:_e)}setValue(_e,he={}){this.value=this._pendingValue=_e,this._onChange.length&&!1!==he.emitModelToViewChange&&this._onChange.forEach(He=>He(this.value,!1!==he.emitViewToModelChange)),this.updateValueAndValidity(he)}patchValue(_e,he={}){this.setValue(_e,he)}reset(_e=this.defaultValue,he={}){this._applyFormState(_e),this.markAsPristine(he),this.markAsUntouched(he),this.setValue(this.value,he),this._pendingChange=!1}_updateValue(){}_anyControls(_e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(_e){this._onChange.push(_e)}_unregisterOnChange(_e){ii(this._onChange,_e)}registerOnDisabledChange(_e){this._onDisabledChange.push(_e)}_unregisterOnDisabledChange(_e){ii(this._onDisabledChange,_e)}_forEachChild(_e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(_e){Ii(_e)?(this.value=this._pendingValue=_e.value,_e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=_e}},li=oi,Pi=ye=>ye instanceof oi;let Ct=(()=>{class ye extends St{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return wn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,features:[n.\u0275\u0275InheritDefinitionFeature]}),ye})();const ge={provide:St,useExisting:(0,n.forwardRef)(()=>Ge)};let Ge=(()=>{class ye extends Ct{constructor(he,He,Qt){super(),this.name="",this._parent=he,this._setValidators(He),this._setAsyncValidators(Qt)}_checkParentType(){}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(St,5),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(x,10))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([ge]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const It={provide:bt,useExisting:(0,n.forwardRef)(()=>an)},zt=(()=>Promise.resolve())();let an=(()=>{class ye extends bt{constructor(he,He,Qt,En,tr,xr){super(),this._changeDetectorRef=tr,this.callSetDisabledState=xr,this.control=new oi,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=he,this._setValidators(He),this._setAsyncValidators(Qt),this.valueAccessor=ln(0,En)}ngOnChanges(he){if(this._checkForErrors(),!this._registered||"name"in he){if(this._registered&&(this._checkName(),this.formDirective)){const He=he.name.previousValue;this.formDirective.removeControl({name:He,path:this._getPath(He)})}this._setUpControl()}"isDisabled"in he&&this._updateDisabled(he),mi(he,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(he){this.viewModel=he,this.update.emit(he)}_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(){Tn(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(he){zt.then(()=>{this.control.setValue(he,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(he){const He=he.isDisabled.currentValue,Qt=0!==He&&(0,n.booleanAttribute)(He);zt.then(()=>{Qt&&!this.control.disabled?this.control.disable():!Qt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(he){return this._parent?wn(he,this._parent):[he]}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(St,9),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(c,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(At,8))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([It]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ye})(),gn=(()=>{class ye{}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ye})();const pn={provide:c,useExisting:(0,n.forwardRef)(()=>Jn),multi:!0};let Jn=(()=>{class ye extends a{writeValue(he){this.setProperty("value",he??"")}registerOnChange(he){this.onChange=He=>{he(""==He?null:parseFloat(He))}}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(he,He){1&he&&n.\u0275\u0275listener("input",function(En){return He.onChange(En.target.value)})("blur",function(){return He.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([pn]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const Nn={provide:c,useExisting:(0,n.forwardRef)(()=>$i),multi:!0};let Un=(()=>{class ye{}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({}),ye})(),vi=(()=>{class ye{constructor(){this._accessors=[]}add(he,He){this._accessors.push([he,He])}remove(he){for(let He=this._accessors.length-1;He>=0;--He)if(this._accessors[He][1]===he)return void this._accessors.splice(He,1)}select(he){this._accessors.forEach(He=>{this._isSameGroup(He,he)&&He[1]!==he&&He[1].fireUncheck(he.value)})}_isSameGroup(he,He){return!!he[0].control&&he[0]._parent===He._control._parent&&he[1].name===He.name}}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:Un}),ye})(),$i=(()=>{class ye extends a{constructor(he,He,Qt,En){super(he,He),this._registry=Qt,this._injector=En,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(At,{optional:!0})??tn}ngOnInit(){this._control=this._injector.get(bt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(he){this._state=he===this.value,this.setProperty("checked",this._state)}registerOnChange(he){this._fn=he,this.onChange=()=>{he(this.value),this._registry.select(this)}}setDisabledState(he){(this.setDisabledStateFired||he||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",he),this.setDisabledStateFired=!0}fireUncheck(he){this.writeValue(he)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(vi),n.\u0275\u0275directiveInject(n.Injector))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(he,He){1&he&&n.\u0275\u0275listener("change",function(){return He.onChange()})("blur",function(){return He.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Nn]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const er={provide:c,useExisting:(0,n.forwardRef)(()=>fn),multi:!0};let fn=(()=>{class ye extends a{writeValue(he){this.setProperty("value",parseFloat(he))}registerOnChange(he){this.onChange=He=>{he(""==He?null:parseFloat(He))}}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(he,He){1&he&&n.\u0275\u0275listener("change",function(En){return He.onChange(En.target.value)})("input",function(En){return He.onChange(En.target.value)})("blur",function(){return He.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([er]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const yn=new n.InjectionToken("NgModelWithFormControlWarning"),rn={provide:bt,useExisting:(0,n.forwardRef)(()=>xn)};let xn=(()=>{class ye extends bt{set isDisabled(he){}constructor(he,He,Qt,En,tr){super(),this._ngModelWarningConfig=En,this.callSetDisabledState=tr,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(he),this._setAsyncValidators(He),this.valueAccessor=ln(0,Qt)}ngOnChanges(he){if(this._isControlChanged(he)){const He=he.form.previousValue;He&&Sn(He,this,!1),Tn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}mi(he,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Sn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(he){this.viewModel=he,this.update.emit(he)}_isControlChanged(he){return he.hasOwnProperty("form")}}return ye._ngModelWarningSentOnce=!1,ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(c,10),n.\u0275\u0275directiveInject(yn,8),n.\u0275\u0275directiveInject(At,8))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([rn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ye})();const ti={provide:St,useExisting:(0,n.forwardRef)(()=>Ti)};let Ti=(()=>{class ye extends St{constructor(he,He,Qt){super(),this.callSetDisabledState=Qt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(he),this._setAsyncValidators(He)}ngOnChanges(he){this._checkFormPresent(),he.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Li(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(he){const He=this.form.get(he.path);return Tn(He,he,this.callSetDisabledState),He.updateValueAndValidity({emitEvent:!1}),this.directives.push(he),He}getControl(he){return this.form.get(he.path)}removeControl(he){Sn(he.control||null,he,!1),function en(ye,_e){const he=ye.indexOf(_e);he>-1&&ye.splice(he,1)}(this.directives,he)}addFormGroup(he){this._setUpFormContainer(he)}removeFormGroup(he){this._cleanUpFormContainer(he)}getFormGroup(he){return this.form.get(he.path)}addFormArray(he){this._setUpFormContainer(he)}removeFormArray(he){this._cleanUpFormContainer(he)}getFormArray(he){return this.form.get(he.path)}updateModel(he,He){this.form.get(he.path).setValue(He)}onSubmit(he){return this.submitted=!0,ri(this.form,this.directives),this.ngSubmit.emit(he),"dialog"===he?.target?.method}onReset(){this.resetForm()}resetForm(he=void 0){this.form.reset(he),this.submitted=!1}_updateDomValue(){this.directives.forEach(he=>{const He=he.control,Qt=this.form.get(he.path);He!==Qt&&(Sn(He||null,he),Pi(Qt)&&(Tn(Qt,he,this.callSetDisabledState),he.control=Qt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(he){const He=this.form.get(he.path);qt(He,he),He.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(he){if(this.form){const He=this.form.get(he.path);He&&function on(ye,_e){return Li(ye,_e)}(He,he)&&He.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){di(this.form,this),this._oldForm&&Li(this._oldForm,this)}_checkFormPresent(){}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(At,8))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","formGroup",""]],hostBindings:function(he,He){1&he&&n.\u0275\u0275listener("submit",function(En){return He.onSubmit(En)})("reset",function(){return He.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([ti]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ye})();const zi={provide:St,useExisting:(0,n.forwardRef)(()=>xi)};let xi=(()=>{class ye extends Ct{constructor(he,He,Qt){super(),this.name=null,this._parent=he,this._setValidators(He),this._setAsyncValidators(Qt)}_checkParentType(){Ke(this._parent)}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(St,13),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(x,10))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([zi]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const _r={provide:St,useExisting:(0,n.forwardRef)(()=>gi)};let gi=(()=>{class ye extends St{constructor(he,He,Qt){super(),this.name=null,this._parent=he,this._setValidators(He),this._setAsyncValidators(Qt)}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 wn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ke(this._parent)}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(St,13),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(x,10))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([_r]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();function Ke(ye){return!(ye instanceof xi||ye instanceof Ti||ye instanceof gi)}const kt={provide:bt,useExisting:(0,n.forwardRef)(()=>U)};let U=(()=>{class ye extends bt{set isDisabled(he){}constructor(he,He,Qt,En,tr){super(),this._ngModelWarningConfig=tr,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=he,this._setValidators(He),this._setAsyncValidators(Qt),this.valueAccessor=ln(0,En)}ngOnChanges(he){this._added||this._setUpControl(),mi(he,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(he){this.viewModel=he,this.update.emit(he)}get path(){return wn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return ye._ngModelWarningSentOnce=!1,ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(St,13),n.\u0275\u0275directiveInject(M,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(c,10),n.\u0275\u0275directiveInject(yn,8))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([kt]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ye})();const fe={provide:c,useExisting:(0,n.forwardRef)(()=>Gt),multi:!0};function Pe(ye,_e){return null==ye?`${_e}`:(_e&&"object"==typeof _e&&(_e="Object"),`${ye}: ${_e}`.slice(0,50))}let Gt=(()=>{class ye extends a{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(he){this._compareWith=he}writeValue(he){this.value=he;const Qt=Pe(this._getOptionId(he),he);this.setProperty("value",Qt)}registerOnChange(he){this.onChange=He=>{this.value=this._getOptionValue(He),he(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(he){for(const He of this._optionMap.keys())if(this._compareWith(this._optionMap.get(He),he))return He;return null}_getOptionValue(he){const He=function Je(ye){return ye.split(":")[0]}(he);return this._optionMap.has(He)?this._optionMap.get(He):he}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(he,He){1&he&&n.\u0275\u0275listener("change",function(En){return He.onChange(En.target.value)})("blur",function(){return He.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([fe]),n.\u0275\u0275InheritDefinitionFeature]}),ye})(),Pn=(()=>{class ye{constructor(he,He,Qt){this._element=he,this._renderer=He,this._select=Qt,this._select&&(this.id=this._select._registerOption())}set ngValue(he){null!=this._select&&(this._select._optionMap.set(this.id,he),this._setElementValue(Pe(this.id,he)),this._select.writeValue(this._select.value))}set value(he){this._setElementValue(he),this._select&&this._select.writeValue(this._select.value)}_setElementValue(he){this._renderer.setProperty(this._element.nativeElement,"value",he)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Gt,9))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ye})();const Gi={provide:c,useExisting:(0,n.forwardRef)(()=>Zi),multi:!0};function Vi(ye,_e){return null==ye?`${_e}`:("string"==typeof _e&&(_e=`'${_e}'`),_e&&"object"==typeof _e&&(_e="Object"),`${ye}: ${_e}`.slice(0,50))}let Zi=(()=>{class ye extends a{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(he){this._compareWith=he}writeValue(he){let He;if(this.value=he,Array.isArray(he)){const Qt=he.map(En=>this._getOptionId(En));He=(En,tr)=>{En._setSelected(Qt.indexOf(tr.toString())>-1)}}else He=(Qt,En)=>{Qt._setSelected(!1)};this._optionMap.forEach(He)}registerOnChange(he){this.onChange=He=>{const Qt=[],En=He.selectedOptions;if(void 0!==En){const tr=En;for(let xr=0;xr{class ye{constructor(he,He,Qt){this._element=he,this._renderer=He,this._select=Qt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(he){null!=this._select&&(this._value=he,this._setElementValue(Vi(this.id,he)),this._select.writeValue(this._select.value))}set value(he){this._select?(this._value=he,this._setElementValue(Vi(this.id,he)),this._select.writeValue(this._select.value)):this._setElementValue(he)}_setElementValue(he){this._renderer.setProperty(this._element.nativeElement,"value",he)}_setSelected(he){this._renderer.setProperty(this._element.nativeElement,"selected",he)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return ye.\u0275fac=function(he){return new(he||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Zi,9))},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ye})();function Et(ye){return"number"==typeof ye?ye:parseInt(ye,10)}function _t(ye){return"number"==typeof ye?ye:parseFloat(ye)}let ft=(()=>{class ye{constructor(){this._validator=S}ngOnChanges(he){if(this.inputName in he){const He=this.normalizeInput(he[this.inputName].currentValue);this._enabled=this.enabled(He),this._validator=this._enabled?this.createValidator(He):S,this._onChange&&this._onChange()}}validate(he){return this._validator(he)}registerOnValidatorChange(he){this._onChange=he}enabled(he){return null!=he}}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,features:[n.\u0275\u0275NgOnChangesFeature]}),ye})();const Tt={provide:M,useExisting:(0,n.forwardRef)(()=>Ut),multi:!0};let Ut=(()=>{class ye extends ft{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=he=>_t(he),this.createValidator=he=>T(he)}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(he,He){2&he&&n.\u0275\u0275attribute("max",He._enabled?He.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Tt]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const Wt={provide:M,useExisting:(0,n.forwardRef)(()=>nn),multi:!0};let nn=(()=>{class ye extends ft{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=he=>_t(he),this.createValidator=he=>A(he)}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(he,He){2&he&&n.\u0275\u0275attribute("min",He._enabled?He.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Wt]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const Cn={provide:M,useExisting:(0,n.forwardRef)(()=>zn),multi:!0},_n={provide:M,useExisting:(0,n.forwardRef)(()=>Vn),multi:!0};let zn=(()=>{class ye extends ft{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=he=>O}enabled(he){return he}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(he,He){2&he&&n.\u0275\u0275attribute("required",He._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([Cn]),n.\u0275\u0275InheritDefinitionFeature]}),ye})(),Vn=(()=>{class ye extends zn{constructor(){super(...arguments),this.createValidator=he=>E}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(he,He){2&he&&n.\u0275\u0275attribute("required",He._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([_n]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const Ri={provide:M,useExisting:(0,n.forwardRef)(()=>ci),multi:!0};let ci=(()=>{class ye extends ft{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=he=>D}enabled(he){return he}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Ri]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const Mi={provide:M,useExisting:(0,n.forwardRef)(()=>ni),multi:!0};let ni=(()=>{class ye extends ft{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=he=>Et(he),this.createValidator=he=>R(he)}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(he,He){2&he&&n.\u0275\u0275attribute("minlength",He._enabled?He.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Mi]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const Xn={provide:M,useExisting:(0,n.forwardRef)(()=>ai),multi:!0};let ai=(()=>{class ye extends ft{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=he=>Et(he),this.createValidator=he=>j(he)}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(he,He){2&he&&n.\u0275\u0275attribute("maxlength",He._enabled?He.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([Xn]),n.\u0275\u0275InheritDefinitionFeature]}),ye})();const Fi={provide:M,useExisting:(0,n.forwardRef)(()=>Xi),multi:!0};let Xi=(()=>{class ye extends ft{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=he=>he,this.createValidator=he=>N(he)}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(he,He){2&he&&n.\u0275\u0275attribute("pattern",He._enabled?He.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Fi]),n.\u0275\u0275InheritDefinitionFeature]}),ye})(),oo=(()=>{class ye{}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({imports:[Un]}),ye})();class Ir extends it{constructor(_e,he,He){super(De(he),ke(He,he)),this.controls=_e,this._initObservables(),this._setUpdateStrategy(he),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(_e){return this.controls[this._adjustIndex(_e)]}push(_e,he={}){this.controls.push(_e),this._registerControl(_e),this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}insert(_e,he,He={}){this.controls.splice(_e,0,he),this._registerControl(he),this.updateValueAndValidity({emitEvent:He.emitEvent})}removeAt(_e,he={}){let He=this._adjustIndex(_e);He<0&&(He=0),this.controls[He]&&this.controls[He]._registerOnCollectionChange(()=>{}),this.controls.splice(He,1),this.updateValueAndValidity({emitEvent:he.emitEvent})}setControl(_e,he,He={}){let Qt=this._adjustIndex(_e);Qt<0&&(Qt=0),this.controls[Qt]&&this.controls[Qt]._registerOnCollectionChange(()=>{}),this.controls.splice(Qt,1),he&&(this.controls.splice(Qt,0,he),this._registerControl(he)),this.updateValueAndValidity({emitEvent:He.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(_e,he={}){Ee(this,0,_e),_e.forEach((He,Qt)=>{ce(this,!1,Qt),this.at(Qt).setValue(He,{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he)}patchValue(_e,he={}){null!=_e&&(_e.forEach((He,Qt)=>{this.at(Qt)&&this.at(Qt).patchValue(He,{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he))}reset(_e=[],he={}){this._forEachChild((He,Qt)=>{He.reset(_e[Qt],{onlySelf:!0,emitEvent:he.emitEvent})}),this._updatePristine(he),this._updateTouched(he),this.updateValueAndValidity(he)}getRawValue(){return this.controls.map(_e=>_e.getRawValue())}clear(_e={}){this.controls.length<1||(this._forEachChild(he=>he._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:_e.emitEvent}))}_adjustIndex(_e){return _e<0?_e+this.length:_e}_syncPendingControls(){let _e=this.controls.reduce((he,He)=>!!He._syncPendingControls()||he,!1);return _e&&this.updateValueAndValidity({onlySelf:!0}),_e}_forEachChild(_e){this.controls.forEach((he,He)=>{_e(he,He)})}_updateValue(){this.value=this.controls.filter(_e=>_e.enabled||this.disabled).map(_e=>_e.value)}_anyControls(_e){return this.controls.some(he=>he.enabled&&_e(he))}_setUpControls(){this._forEachChild(_e=>this._registerControl(_e))}_allControlsDisabled(){for(const _e of this.controls)if(_e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(_e){_e.setParent(this),_e._registerOnCollectionChange(this._onCollectionChange)}_find(_e){return this.at(_e)??null}}const zo=Ir,Wo=ye=>ye instanceof Ir;function Go(ye){return!!ye&&(void 0!==ye.asyncValidators||void 0!==ye.validators||void 0!==ye.updateOn)}let go=(()=>{class ye{constructor(){this.useNonNullable=!1}get nonNullable(){const he=new ye;return he.useNonNullable=!0,he}group(he,He=null){const Qt=this._reduceControls(he);let En={};return Go(He)?En=He:null!==He&&(En.validators=He.validator,En.asyncValidators=He.asyncValidator),new Rt(Qt,En)}record(he,He=null){const Qt=this._reduceControls(he);return new Ne(Qt,He)}control(he,He,Qt){let En={};return this.useNonNullable?(Go(He)?En=He:(En.validators=He,En.asyncValidators=Qt),new oi(he,{...En,nonNullable:!0})):new oi(he,He,Qt)}array(he,He,Qt){const En=he.map(tr=>this._createControl(tr));return new Ir(En,He,Qt)}_reduceControls(he){const He={};return Object.keys(he).forEach(Qt=>{He[Qt]=this._createControl(he[Qt])}),He}_createControl(he){return he instanceof oi||he instanceof it?he:Array.isArray(he)?this.control(he[0],he.length>1?he[1]:null,he.length>2?he[2]:null):this.control(he)}}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Vr=(()=>{class ye{}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:function(){return(0,n.inject)(go).nonNullable},providedIn:"root"}),ye})(),jr=(()=>{class ye extends go{group(he,He=null){return super.group(he,He)}control(he,He,Qt){return super.control(he,He,Qt)}array(he,He,Qt){return super.array(he,He,Qt)}}return ye.\u0275fac=function(){let _e;return function(He){return(_e||(_e=n.\u0275\u0275getInheritedFactory(ye)))(He||ye)}}(),ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();const Hr=new n.Version("16.1.7");let Ko=(()=>{class ye{static withConfig(he){return{ngModule:ye,providers:[{provide:At,useValue:he.callSetDisabledState??tn}]}}}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({imports:[oo]}),ye})(),Yo=(()=>{class ye{static withConfig(he){return{ngModule:ye,providers:[{provide:yn,useValue:he.warnOnNgModelWithFormControl??"always"},{provide:At,useValue:he.callSetDisabledState??tn}]}}}return ye.\u0275fac=function(he){return new(he||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({imports:[oo]}),ye})()},3680:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{AnimationCurves:()=>A,AnimationDurations:()=>T,DateAdapter:()=>q,ErrorStateMatcher:()=>Mt,MATERIAL_SANITY_CHECKS:()=>E,MAT_DATE_FORMATS:()=>Q,MAT_DATE_LOCALE:()=>me,MAT_DATE_LOCALE_FACTORY:()=>$,MAT_NATIVE_DATE_FORMATS:()=>Xe,MAT_OPTGROUP:()=>Yt,MAT_OPTION_PARENT_COMPONENT:()=>ze,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>D,MatLine:()=>tt,MatLineModule:()=>xt,MatNativeDateModule:()=>$e,MatOptgroup:()=>Ue,MatOption:()=>at,MatOptionModule:()=>ke,MatOptionSelectionChange:()=>ve,MatPseudoCheckbox:()=>Dt,MatPseudoCheckboxModule:()=>Kt,MatRipple:()=>ct,MatRippleModule:()=>Lt,NativeDateAdapter:()=>Oe,NativeDateModule:()=>Be,RippleRef:()=>nt,RippleRenderer:()=>ie,ShowOnDirtyErrorStateMatcher:()=>st,VERSION:()=>L,_MatOptgroupBase:()=>$t,_MatOptionBase:()=>we,_countGroupLabelsBeforeOption:()=>De,_getOptionScrollPosition:()=>je,defaultRippleAnimationConfig:()=>rt,mixinColor:()=>k,mixinDisableRipple:()=>F,mixinDisabled:()=>S,mixinErrorState:()=>se,mixinInitialized:()=>ne,mixinTabIndex:()=>Y,setLines:()=>St});var n=g(5879),p=g(4300),C=g(9388),o=g(6814),v=g(2831),a=g(2495),c=g(5592),s=g(8645),l=g(7921),d=g(6028);const r=["*",[["mat-option"],["ng-container"]]],u=["*","mat-option, ng-container"],h=["text"];function m(Z,re){if(1&Z&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&Z){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)("state",ce.selected?"checked":"unchecked")}}function _(Z,re){if(1&Z&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&Z){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)}}function M(Z,re){if(1&Z&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Z){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",ce.group.label,")")}}const x=[[["mat-icon"]],"*"],w=["mat-icon","*"],L=new n.Version("16.1.6");let A=(()=>{class Z{}return Z.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Z.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Z.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Z.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Z})(),T=(()=>{class Z{}return Z.COMPLEX="375ms",Z.ENTERING="225ms",Z.EXITING="195ms",Z})();const E=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function O(){return!0}});let D=(()=>{class Z{constructor(ce,Ee,it){this._sanityChecks=Ee,this._document=it,this._hasDoneGlobalChecks=!1,ce._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ce){return!(0,v.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ce])}}return Z.\u0275fac=function(ce){return new(ce||Z)(n.\u0275\u0275inject(p.qm),n.\u0275\u0275inject(E,8),n.\u0275\u0275inject(o.DOCUMENT))},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({imports:[C.vT,C.vT]}),Z})();function S(Z){return class extends Z{get disabled(){return this._disabled}set disabled(re){this._disabled=(0,a.Ig)(re)}constructor(...re){super(...re),this._disabled=!1}}}function k(Z,re){return class extends Z{get color(){return this._color}set color(ce){const Ee=ce||this.defaultColor;Ee!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Ee&&this._elementRef.nativeElement.classList.add(`mat-${Ee}`),this._color=Ee)}constructor(...ce){super(...ce),this.defaultColor=re,this.color=re}}}function F(Z){return class extends Z{get disableRipple(){return this._disableRipple}set disableRipple(re){this._disableRipple=(0,a.Ig)(re)}constructor(...re){super(...re),this._disableRipple=!1}}}function Y(Z,re=0){return class extends Z{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ce){this._tabIndex=null!=ce?(0,a.su)(ce):this.defaultTabIndex}constructor(...ce){super(...ce),this._tabIndex=re,this.defaultTabIndex=re}}}function se(Z){return class extends Z{updateErrorState(){const re=this.errorState,Rt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Rt!==re&&(this.errorState=Rt,this.stateChanges.next())}constructor(...re){super(...re),this.errorState=!1}}}function ne(Z){return class extends Z{constructor(...re){super(...re),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new c.y(ce=>{this._isInitialized?this._notifySubscriber(ce):this._pendingSubscribers.push(ce)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(re){re.next(),re.complete()}}}const me=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:$});function $(){return(0,n.inject)(n.LOCALE_ID)}class q{constructor(){this._localeChanges=new s.x,this.localeChanges=this._localeChanges}getValidDateOrNull(re){return this.isDateInstance(re)&&this.isValid(re)?re:null}deserialize(re){return null==re||this.isDateInstance(re)&&this.isValid(re)?re:this.invalid()}setLocale(re){this.locale=re,this._localeChanges.next()}compareDate(re,ce){return this.getYear(re)-this.getYear(ce)||this.getMonth(re)-this.getMonth(ce)||this.getDate(re)-this.getDate(ce)}sameDate(re,ce){if(re&&ce){let Ee=this.isValid(re),it=this.isValid(ce);return Ee&&it?!this.compareDate(re,ce):Ee==it}return re==ce}clampDate(re,ce,Ee){return ce&&this.compareDate(re,ce)<0?ce:Ee&&this.compareDate(re,Ee)>0?Ee:re}}const Q=new n.InjectionToken("mat-date-formats"),ue=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Me(Z,re){const ce=Array(Z);for(let Ee=0;Ee{class Z extends q{constructor(ce,Ee){super(),this.useUtcForDisplay=!1,super.setLocale(ce)}getYear(ce){return ce.getFullYear()}getMonth(ce){return ce.getMonth()}getDate(ce){return ce.getDate()}getDayOfWeek(ce){return ce.getDay()}getMonthNames(ce){const Ee=new Intl.DateTimeFormat(this.locale,{month:ce,timeZone:"utc"});return Me(12,it=>this._format(Ee,new Date(2017,it,1)))}getDateNames(){const ce=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Me(31,Ee=>this._format(ce,new Date(2017,0,Ee+1)))}getDayOfWeekNames(ce){const Ee=new Intl.DateTimeFormat(this.locale,{weekday:ce,timeZone:"utc"});return Me(7,it=>this._format(Ee,new Date(2017,0,it+1)))}getYearName(ce){const Ee=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Ee,ce)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ce){return this.getDate(this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce)+1,0))}clone(ce){return new Date(ce.getTime())}createDate(ce,Ee,it){let Rt=this._createDateWithOverflow(ce,Ee,it);return Rt.getMonth(),Rt}today(){return new Date}parse(ce,Ee){return"number"==typeof ce?new Date(ce):ce?new Date(Date.parse(ce)):null}format(ce,Ee){if(!this.isValid(ce))throw Error("NativeDateAdapter: Cannot format invalid date.");const it=new Intl.DateTimeFormat(this.locale,{...Ee,timeZone:"utc"});return this._format(it,ce)}addCalendarYears(ce,Ee){return this.addCalendarMonths(ce,12*Ee)}addCalendarMonths(ce,Ee){let it=this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce)+Ee,this.getDate(ce));return this.getMonth(it)!=((this.getMonth(ce)+Ee)%12+12)%12&&(it=this._createDateWithOverflow(this.getYear(it),this.getMonth(it),0)),it}addCalendarDays(ce,Ee){return this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce),this.getDate(ce)+Ee)}toIso8601(ce){return[ce.getUTCFullYear(),this._2digit(ce.getUTCMonth()+1),this._2digit(ce.getUTCDate())].join("-")}deserialize(ce){if("string"==typeof ce){if(!ce)return null;if(ue.test(ce)){let Ee=new Date(ce);if(this.isValid(Ee))return Ee}}return super.deserialize(ce)}isDateInstance(ce){return ce instanceof Date}isValid(ce){return!isNaN(ce.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ce,Ee,it){const Rt=new Date;return Rt.setFullYear(ce,Ee,it),Rt.setHours(0,0,0,0),Rt}_2digit(ce){return("00"+ce).slice(-2)}_format(ce,Ee){const it=new Date;return it.setUTCFullYear(Ee.getFullYear(),Ee.getMonth(),Ee.getDate()),it.setUTCHours(Ee.getHours(),Ee.getMinutes(),Ee.getSeconds(),Ee.getMilliseconds()),ce.format(it)}}return Z.\u0275fac=function(ce){return new(ce||Z)(n.\u0275\u0275inject(me,8),n.\u0275\u0275inject(v.t4))},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})();const Xe={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 Be=(()=>{class Z{}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:q,useClass:Oe}]}),Z})(),$e=(()=>{class Z{}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Q,useValue:Xe}],imports:[Be]}),Z})(),st=(()=>{class Z{isErrorState(ce,Ee){return!!(ce&&ce.invalid&&(ce.dirty||Ee&&Ee.submitted))}}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})(),Mt=(()=>{class Z{isErrorState(ce,Ee){return!!(ce&&ce.invalid&&(ce.touched||Ee&&Ee.submitted))}}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})(),tt=(()=>{class Z{}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Z})();function St(Z,re,ce="mat"){Z.changes.pipe((0,l.O)(Z)).subscribe(({length:Ee})=>{bt(re,`${ce}-2-line`,!1),bt(re,`${ce}-3-line`,!1),bt(re,`${ce}-multi-line`,!1),2===Ee||3===Ee?bt(re,`${ce}-${Ee}-line`,!0):Ee>3&&bt(re,`${ce}-multi-line`,!0)})}function bt(Z,re,ce){Z.nativeElement.classList.toggle(re,ce)}let xt=(()=>{class Z{}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({imports:[D,D]}),Z})();class nt{constructor(re,ce,Ee,it=!1){this._renderer=re,this.element=ce,this.config=Ee,this._animationForciblyDisabledThroughCss=it,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ot=(0,v.i$)({passive:!0,capture:!0});class vt{constructor(){this._events=new Map,this._delegateEventHandler=re=>{const ce=(0,v.sA)(re);ce&&this._events.get(re.type)?.forEach((Ee,it)=>{(it===ce||it.contains(ce))&&Ee.forEach(Rt=>Rt.handleEvent(re))})}}addHandler(re,ce,Ee,it){const Rt=this._events.get(ce);if(Rt){const Ye=Rt.get(Ee);Ye?Ye.add(it):Rt.set(Ee,new Set([it]))}else this._events.set(ce,new Map([[Ee,new Set([it])]])),re.runOutsideAngular(()=>{document.addEventListener(ce,this._delegateEventHandler,ot)})}removeHandler(re,ce,Ee){const it=this._events.get(re);if(!it)return;const Rt=it.get(ce);Rt&&(Rt.delete(Ee),0===Rt.size&&it.delete(ce),0===it.size&&(this._events.delete(re),document.removeEventListener(re,this._delegateEventHandler,ot)))}}const rt={enterDuration:225,exitDuration:150},Ce=(0,v.i$)({passive:!0,capture:!0}),ee=["mousedown","touchstart"],ae=["mouseup","mouseleave","touchend","touchcancel"];class ie{constructor(re,ce,Ee,it){this._target=re,this._ngZone=ce,this._platform=it,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,it.isBrowser&&(this._containerElement=(0,a.fI)(Ee))}fadeInRipple(re,ce,Ee={}){const it=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Rt={...rt,...Ee.animation};Ee.centered&&(re=it.left+it.width/2,ce=it.top+it.height/2);const Ye=Ee.radius||function pe(Z,re,ce){const Ee=Math.max(Math.abs(Z-ce.left),Math.abs(Z-ce.right)),it=Math.max(Math.abs(re-ce.top),Math.abs(re-ce.bottom));return Math.sqrt(Ee*Ee+it*it)}(re,ce,it),qe=re-it.left,Ne=ce-it.top,dt=Rt.enterDuration,At=document.createElement("div");At.classList.add("mat-ripple-element"),At.style.left=qe-Ye+"px",At.style.top=Ne-Ye+"px",At.style.height=2*Ye+"px",At.style.width=2*Ye+"px",null!=Ee.color&&(At.style.backgroundColor=Ee.color),At.style.transitionDuration=`${dt}ms`,this._containerElement.appendChild(At);const tn=window.getComputedStyle(At),Tn=tn.transitionDuration,Sn="none"===tn.transitionProperty||"0s"===Tn||"0s, 0s"===Tn||0===it.width&&0===it.height,Mn=new nt(this,At,Ee,Sn);At.style.transform="scale3d(1, 1, 1)",Mn.state=0,Ee.persistent||(this._mostRecentTransientRipple=Mn);let Ci=null;return!Sn&&(dt||Rt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const di=()=>this._finishRippleTransition(Mn),Li=()=>this._destroyRipple(Mn);At.addEventListener("transitionend",di),At.addEventListener("transitioncancel",Li),Ci={onTransitionEnd:di,onTransitionCancel:Li}}),this._activeRipples.set(Mn,Ci),(Sn||!dt)&&this._finishRippleTransition(Mn),Mn}fadeOutRipple(re){if(2===re.state||3===re.state)return;const ce=re.element,Ee={...rt,...re.config.animation};ce.style.transitionDuration=`${Ee.exitDuration}ms`,ce.style.opacity="0",re.state=2,(re._animationForciblyDisabledThroughCss||!Ee.exitDuration)&&this._finishRippleTransition(re)}fadeOutAll(){this._getActiveRipples().forEach(re=>re.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(re=>{re.config.persistent||re.fadeOut()})}setupTriggerEvents(re){const ce=(0,a.fI)(re);!this._platform.isBrowser||!ce||ce===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ce,ee.forEach(Ee=>{ie._eventManager.addHandler(this._ngZone,Ee,ce,this)}))}handleEvent(re){"mousedown"===re.type?this._onMousedown(re):"touchstart"===re.type?this._onTouchStart(re):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ae.forEach(ce=>{this._triggerElement.addEventListener(ce,this,Ce)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(re){0===re.state?this._startFadeOutTransition(re):2===re.state&&this._destroyRipple(re)}_startFadeOutTransition(re){const ce=re===this._mostRecentTransientRipple,{persistent:Ee}=re.config;re.state=1,!Ee&&(!ce||!this._isPointerDown)&&re.fadeOut()}_destroyRipple(re){const ce=this._activeRipples.get(re)??null;this._activeRipples.delete(re),this._activeRipples.size||(this._containerRect=null),re===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),re.state=3,null!==ce&&(re.element.removeEventListener("transitionend",ce.onTransitionEnd),re.element.removeEventListener("transitioncancel",ce.onTransitionCancel)),re.element.remove()}_onMousedown(re){const ce=(0,p.X6)(re),Ee=this._lastTouchStartEvent&&Date.now(){!re.config.persistent&&(1===re.state||re.config.terminateOnPointerUp&&0===re.state)&&re.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const re=this._triggerElement;re&&(ee.forEach(ce=>ie._eventManager.removeHandler(ce,re,this)),this._pointerUpEventsRegistered&&ae.forEach(ce=>re.removeEventListener(ce,this,Ce)))}}ie._eventManager=new vt;const Te=new n.InjectionToken("mat-ripple-global-options");let ct=(()=>{class Z{get disabled(){return this._disabled}set disabled(ce){ce&&this.fadeOutAllNonPersistent(),this._disabled=ce,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ce){this._trigger=ce,this._setupTriggerEventsIfEnabled()}constructor(ce,Ee,it,Rt,Ye){this._elementRef=ce,this._animationMode=Ye,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Rt||{},this._rippleRenderer=new ie(this,Ee,ce,it)}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(ce,Ee=0,it){return"number"==typeof ce?this._rippleRenderer.fadeInRipple(ce,Ee,{...this.rippleConfig,...it}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ce})}}return Z.\u0275fac=function(ce){return new(ce||Z)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(v.t4),n.\u0275\u0275directiveInject(Te,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},Z.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ce,Ee){2&ce&&n.\u0275\u0275classProp("mat-ripple-unbounded",Ee.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Z})(),Lt=(()=>{class Z{}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({imports:[D,D]}),Z})(),Dt=(()=>{class Z{constructor(ce){this._animationMode=ce,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return Z.\u0275fac=function(ce){return new(ce||Z)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},Z.\u0275cmp=n.\u0275\u0275defineComponent({type:Z,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(ce,Ee){2&ce&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===Ee.state)("mat-pseudo-checkbox-checked","checked"===Ee.state)("mat-pseudo-checkbox-disabled",Ee.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ee.appearance)("mat-pseudo-checkbox-full","full"===Ee.appearance)("_mat-animation-noopable","NoopAnimations"===Ee._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(ce,Ee){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),Z})(),Kt=(()=>{class Z{}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({imports:[D]}),Z})();const ze=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),yt=S(class{});let Bt=0,$t=(()=>{class Z extends yt{constructor(ce){super(),this._labelId="mat-optgroup-label-"+Bt++,this._inert=ce?.inertGroups??!1}}return Z.\u0275fac=function(ce){return new(ce||Z)(n.\u0275\u0275directiveInject(ze,8))},Z.\u0275dir=n.\u0275\u0275defineDirective({type:Z,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),Z})();const Yt=new n.InjectionToken("MatOptgroup");let Ue=(()=>{class Z extends $t{}return Z.\u0275fac=function(){let re;return function(Ee){return(re||(re=n.\u0275\u0275getInheritedFactory(Z)))(Ee||Z)}}(),Z.\u0275cmp=n.\u0275\u0275defineComponent({type:Z,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(ce,Ee){2&ce&&n.\u0275\u0275attribute("role",Ee._inert?null:"group")("aria-disabled",Ee._inert?null:Ee.disabled.toString())("aria-labelledby",Ee._inert?null:Ee._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Yt,useExisting:Z}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:u,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(ce,Ee){1&ce&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275elementStart(0,"span",0)(1,"span",1),n.\u0275\u0275text(2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(4,1)),2&ce&&(n.\u0275\u0275classProp("mdc-list-item--disabled",Ee.disabled),n.\u0275\u0275property("id",Ee._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",Ee.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}),Z})(),We=0;class ve{constructor(re,ce=!1){this.source=re,this.isUserInput=ce}}let we=(()=>{class Z{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(ce){this._disabled=(0,a.Ig)(ce)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(ce,Ee,it,Rt){this._element=ce,this._changeDetectorRef=Ee,this._parent=it,this.group=Rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+We++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new s.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(ce=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}deselect(ce=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}focus(ce,Ee){const it=this._getHostElement();"function"==typeof it.focus&&it.focus(Ee)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ce){(ce.keyCode===d.K5||ce.keyCode===d.L_)&&!(0,d.Vb)(ce)&&(this._selectViaInteraction(),ce.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 ce=this.viewValue;ce!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ce)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ce=!1){this.onSelectionChange.emit(new ve(this,ce))}}return Z.\u0275fac=function(ce){n.\u0275\u0275invalidFactory()},Z.\u0275dir=n.\u0275\u0275defineDirective({type:Z,viewQuery:function(ce,Ee){if(1&ce&&n.\u0275\u0275viewQuery(h,7),2&ce){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(Ee._text=it.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Z})(),at=(()=>{class Z extends we{constructor(ce,Ee,it,Rt){super(ce,Ee,it,Rt)}}return Z.\u0275fac=function(ce){return new(ce||Z)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ze,8),n.\u0275\u0275directiveInject(Yt,8))},Z.\u0275cmp=n.\u0275\u0275defineComponent({type:Z,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(ce,Ee){1&ce&&n.\u0275\u0275listener("click",function(){return Ee._selectViaInteraction()})("keydown",function(Rt){return Ee._handleKeydown(Rt)}),2&ce&&(n.\u0275\u0275hostProperty("id",Ee.id),n.\u0275\u0275attribute("aria-selected",Ee.selected)("aria-disabled",Ee.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",Ee.selected)("mat-mdc-option-multiple",Ee.multiple)("mat-mdc-option-active",Ee.active)("mdc-list-item--disabled",Ee.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:w,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(ce,Ee){1&ce&&(n.\u0275\u0275projectionDef(x),n.\u0275\u0275template(0,m,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementStart(2,"span",1,2),n.\u0275\u0275projection(4,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(5,_,1,1,"mat-pseudo-checkbox",3),n.\u0275\u0275template(6,M,2,1,"span",4),n.\u0275\u0275element(7,"div",5)),2&ce&&(n.\u0275\u0275property("ngIf",Ee.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!Ee.multiple&&Ee.selected&&!Ee.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ee.group&&Ee.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",Ee._getHostElement())("matRippleDisabled",Ee.disabled||Ee.disableRipple))},dependencies:[ct,o.NgIf,Dt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),Z})();function De(Z,re,ce){if(ce.length){let Ee=re.toArray(),it=ce.toArray(),Rt=0;for(let Ye=0;Yece+Ee?Math.max(0,Z-Ee+re):ce}let ke=(()=>{class Z{}return Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({imports:[Lt,o.CommonModule,D,Kt]}),Z})()},5616:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{DateRange:()=>Sn,DefaultMatCalendarRangeStrategy:()=>qt,MAT_DATEPICKER_SCROLL_STRATEGY:()=>oi,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>li,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Pi,MAT_DATEPICKER_VALIDATORS:()=>zt,MAT_DATEPICKER_VALUE_ACCESSOR:()=>It,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>pt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>wt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>mt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Li,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Qi,MatCalendar:()=>si,MatCalendarBody:()=>qe,MatCalendarCell:()=>ce,MatCalendarHeader:()=>Yn,MatDateRangeInput:()=>ti,MatDateRangePicker:()=>Ti,MatDateSelectionModel:()=>Mn,MatDatepicker:()=>W,MatDatepickerActions:()=>_r,MatDatepickerApply:()=>zi,MatDatepickerCancel:()=>xi,MatDatepickerContent:()=>Ft,MatDatepickerInput:()=>an,MatDatepickerInputEvent:()=>be,MatDatepickerIntl:()=>re,MatDatepickerModule:()=>gi,MatDatepickerToggle:()=>pn,MatDatepickerToggleIcon:()=>gn,MatEndDate:()=>rn,MatMonthView:()=>$n,MatMultiYearView:()=>mi,MatRangeDateSelectionModel:()=>di,MatSingleDateSelectionModel:()=>Ci,MatStartDate:()=>yn,MatYearView:()=>Dn,matDatepickerAnimations:()=>ii,yearsPerPage:()=>In,yearsPerRow:()=>Zn});var n=g(4300),p=g(9594),C=g(8484),b=g(6814),o=g(5879),v=g(2831),a=g(3680);const c=["mat-button",""],s=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],l=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],_=["mat-icon-button",""],M=["*"],w={capture:!0},L=["focus","click","mouseenter","touchstart"],A="mat-button-ripple-uninitialized";let T=(()=>{class Ke{constructor(){this._document=(0,o.inject)(b.DOCUMENT,{optional:!0}),this._animationMode=(0,o.inject)(o.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,o.inject)(a.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,o.inject)(v.t4),this._ngZone=(0,o.inject)(o.NgZone),this._onInteraction=U=>{if(U.target===this._document)return;const Pe=U.target.closest(`[${A}]`);Pe&&(Pe.removeAttribute(A),this._appendRipple(Pe))},this._ngZone.runOutsideAngular(()=>{for(const U of L)this._document?.addEventListener(U,this._onInteraction,w)})}ngOnDestroy(){for(const U of L)this._document?.removeEventListener(U,this._onInteraction,w)}_appendRipple(U){if(!this._document)return;const fe=this._document.createElement("span");fe.classList.add("mat-mdc-button-ripple");const Pe=new O(U,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Pe.rippleConfig.centered=U.hasAttribute("mat-icon-button"),new a.RippleRenderer(Pe,this._ngZone,fe,this._platform).setupTriggerEvents(U),U.append(fe)}_createMatRipple(U){if(!this._document)return;U.querySelector(".mat-mdc-button-ripple")?.remove(),U.removeAttribute(A);const fe=this._document.createElement("span");fe.classList.add("mat-mdc-button-ripple");const Pe=new a.MatRipple(new o.ElementRef(fe),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Pe._isInitialized=!0,Pe.trigger=U,U.append(fe),Pe}}return Ke.\u0275fac=function(U){return new(U||Ke)},Ke.\u0275prov=o.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();class O{constructor(kt,U,fe){this._button=kt,this._globalRippleOptions=U,this._setRippleConfig(U,fe)}_setRippleConfig(kt,U){this.rippleConfig=kt||{},"NoopAnimations"===U&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const R=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],j=(0,a.mixinColor)((0,a.mixinDisabled)((0,a.mixinDisableRipple)(class{constructor(Ke){this._elementRef=Ke}})));let N=(()=>{class Ke extends j{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(U){this._ripple=U}constructor(U,fe,Pe,Je){super(U),this._platform=fe,this._ngZone=Pe,this._animationMode=Je,this._focusMonitor=(0,o.inject)(n.tE),this._rippleLoader=(0,o.inject)(T),this._isFab=!1;const Gt=U.nativeElement.classList;for(const Pn of R)this._hasHostAttributes(Pn.selector)&&Pn.mdcClasses.forEach(Gi=>{Gt.add(Gi)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnChanges(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(U="program",fe){U?this._focusMonitor.focusVia(this._elementRef.nativeElement,U,fe):this._elementRef.nativeElement.focus(fe)}_hasHostAttributes(...U){return U.some(fe=>this._elementRef.nativeElement.hasAttribute(fe))}}return Ke.\u0275fac=function(U){o.\u0275\u0275invalidFactory()},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,features:[o.\u0275\u0275InheritDefinitionFeature,o.\u0275\u0275NgOnChangesFeature]}),Ke})(),Y=(()=>{class Ke extends N{constructor(U,fe,Pe,Je){super(U,fe,Pe,Je)}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(v.t4),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(U,fe){2&U&&(o.\u0275\u0275attribute("disabled",fe.disabled||null),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===fe._animationMode)("mat-unthemed",!fe.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.\u0275\u0275InheritDefinitionFeature],attrs:c,ngContentSelectors:l,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(U,fe){1&U&&(o.\u0275\u0275projectionDef(s),o.\u0275\u0275element(0,"span",0),o.\u0275\u0275projection(1),o.\u0275\u0275elementStart(2,"span",1),o.\u0275\u0275projection(3,1),o.\u0275\u0275elementEnd(),o.\u0275\u0275projection(4,2),o.\u0275\u0275element(5,"span",2)(6,"span",3)),2&U&&o.\u0275\u0275classProp("mdc-button__ripple",!fe._isFab)("mdc-fab__ripple",fe._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Ke})(),Xe=(()=>{class Ke extends N{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}constructor(U,fe,Pe,Je){super(U,fe,Pe,Je)}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(v.t4),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(U,fe){2&U&&(o.\u0275\u0275attribute("disabled",fe.disabled||null),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===fe._animationMode)("mat-unthemed",!fe.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.\u0275\u0275InheritDefinitionFeature],attrs:_,ngContentSelectors:M,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(U,fe){1&U&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275element(0,"span",0),o.\u0275\u0275projection(1),o.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Ke})(),$e=(()=>{class Ke{}return Ke.\u0275fac=function(U){return new(U||Ke)},Ke.\u0275mod=o.\u0275\u0275defineNgModule({type:Ke}),Ke.\u0275inj=o.\u0275\u0275defineInjector({imports:[a.MatCommonModule,a.MatRippleModule,a.MatCommonModule]}),Ke})();var st=g(6672),Mt=g(8645),tt=g(7394),St=g(3019),bt=g(2096),xt=g(6028),nt=g(9388),ot=g(8180),vt=g(7921),rt=g(2181),J=g(2495),Ce=g(6825),ee=g(6223),ae=g(1043),ie=g(4516);const pe=["mat-calendar-body",""];function Te(Ke,kt){if(1&Ke&&(o.\u0275\u0275elementStart(0,"tr",3)(1,"td",4),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd()()),2&Ke){const U=o.\u0275\u0275nextContext();o.\u0275\u0275advance(1),o.\u0275\u0275styleProp("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),o.\u0275\u0275attribute("colspan",U.numCols),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1(" ",U.label," ")}}function ct(Ke,kt){if(1&Ke&&(o.\u0275\u0275elementStart(0,"td",4),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Ke){const U=o.\u0275\u0275nextContext(2);o.\u0275\u0275styleProp("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),o.\u0275\u0275attribute("colspan",U._firstRowOffset),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1(" ",U._firstRowOffset>=U.labelMinRequiredCells?U.label:""," ")}}function Lt(Ke,kt){if(1&Ke){const U=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"td",8)(1,"button",9),o.\u0275\u0275listener("click",function(Pe){const Gt=o.\u0275\u0275restoreView(U).$implicit,Pn=o.\u0275\u0275nextContext(2);return o.\u0275\u0275resetView(Pn._cellClicked(Gt,Pe))})("focus",function(Pe){const Gt=o.\u0275\u0275restoreView(U).$implicit,Pn=o.\u0275\u0275nextContext(2);return o.\u0275\u0275resetView(Pn._emitActiveDateChange(Gt,Pe))}),o.\u0275\u0275elementStart(2,"span",10),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(4,"span",11),o.\u0275\u0275elementEnd()()}if(2&Ke){const U=kt.$implicit,fe=kt.index,Pe=o.\u0275\u0275nextContext().index,Je=o.\u0275\u0275nextContext();o.\u0275\u0275styleProp("width",Je._cellWidth)("padding-top",Je._cellPadding)("padding-bottom",Je._cellPadding),o.\u0275\u0275attribute("data-mat-row",Pe)("data-mat-col",fe),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("mat-calendar-body-disabled",!U.enabled)("mat-calendar-body-active",Je._isActiveCell(Pe,fe))("mat-calendar-body-range-start",Je._isRangeStart(U.compareValue))("mat-calendar-body-range-end",Je._isRangeEnd(U.compareValue))("mat-calendar-body-in-range",Je._isInRange(U.compareValue))("mat-calendar-body-comparison-bridge-start",Je._isComparisonBridgeStart(U.compareValue,Pe,fe))("mat-calendar-body-comparison-bridge-end",Je._isComparisonBridgeEnd(U.compareValue,Pe,fe))("mat-calendar-body-comparison-start",Je._isComparisonStart(U.compareValue))("mat-calendar-body-comparison-end",Je._isComparisonEnd(U.compareValue))("mat-calendar-body-in-comparison-range",Je._isInComparisonRange(U.compareValue))("mat-calendar-body-preview-start",Je._isPreviewStart(U.compareValue))("mat-calendar-body-preview-end",Je._isPreviewEnd(U.compareValue))("mat-calendar-body-in-preview",Je._isInPreview(U.compareValue)),o.\u0275\u0275property("ngClass",U.cssClasses)("tabindex",Je._isActiveCell(Pe,fe)?0:-1),o.\u0275\u0275attribute("aria-label",U.ariaLabel)("aria-disabled",!U.enabled||null)("aria-pressed",Je._isSelected(U.compareValue))("aria-current",Je.todayValue===U.compareValue?"date":null)("aria-describedby",Je._getDescribedby(U.compareValue)),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("mat-calendar-body-selected",Je._isSelected(U.compareValue))("mat-calendar-body-comparison-identical",Je._isComparisonIdentical(U.compareValue))("mat-calendar-body-today",Je.todayValue===U.compareValue),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1(" ",U.displayValue," ")}}function Dt(Ke,kt){if(1&Ke&&(o.\u0275\u0275elementStart(0,"tr",5),o.\u0275\u0275template(1,ct,2,6,"td",6),o.\u0275\u0275template(2,Lt,5,48,"td",7),o.\u0275\u0275elementEnd()),2&Ke){const U=kt.$implicit,fe=kt.index,Pe=o.\u0275\u0275nextContext();o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",0===fe&&Pe._firstRowOffset),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngForOf",U)}}function Kt(Ke,kt){if(1&Ke&&(o.\u0275\u0275elementStart(0,"th",5)(1,"span",6),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"span",7),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd()()),2&Ke){const U=kt.$implicit;o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(U.long),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(U.narrow)}}const ze=["*"];function yt(Ke,kt){}function Bt(Ke,kt){if(1&Ke){const U=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"mat-month-view",5),o.\u0275\u0275listener("activeDateChange",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je.activeDate=Pe)})("_userSelection",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je._dateSelected(Pe))})("dragStarted",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je._dragStarted(Pe))})("dragEnded",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je._dragEnded(Pe))}),o.\u0275\u0275elementEnd()}if(2&Ke){const U=o.\u0275\u0275nextContext();o.\u0275\u0275property("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)("comparisonStart",U.comparisonStart)("comparisonEnd",U.comparisonEnd)("startDateAccessibleName",U.startDateAccessibleName)("endDateAccessibleName",U.endDateAccessibleName)("activeDrag",U._activeDrag)}}function $t(Ke,kt){if(1&Ke){const U=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"mat-year-view",6),o.\u0275\u0275listener("activeDateChange",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je.activeDate=Pe)})("monthSelected",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je._monthSelectedInYearView(Pe))})("selectedChange",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je._goToDateInView(Pe,"month"))}),o.\u0275\u0275elementEnd()}if(2&Ke){const U=o.\u0275\u0275nextContext();o.\u0275\u0275property("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function Yt(Ke,kt){if(1&Ke){const U=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"mat-multi-year-view",7),o.\u0275\u0275listener("activeDateChange",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je.activeDate=Pe)})("yearSelected",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je._yearSelectedInMultiYearView(Pe))})("selectedChange",function(Pe){o.\u0275\u0275restoreView(U);const Je=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Je._goToDateInView(Pe,"year"))}),o.\u0275\u0275elementEnd()}if(2&Ke){const U=o.\u0275\u0275nextContext();o.\u0275\u0275property("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function Ue(Ke,kt){}const We=["button"];function ve(Ke,kt){1&Ke&&(o.\u0275\u0275namespaceSVG(),o.\u0275\u0275elementStart(0,"svg",3),o.\u0275\u0275element(1,"path",4),o.\u0275\u0275elementEnd())}const we=[[["","matDatepickerToggleIcon",""]]],at=["[matDatepickerToggleIcon]"],De=[[["input","matStartDate",""]],[["input","matEndDate",""]]],je=["input[matStartDate]","input[matEndDate]"];function ke(Ke,kt){1&Ke&&(o.\u0275\u0275elementStart(0,"div",0),o.\u0275\u0275projection(1),o.\u0275\u0275elementEnd())}let re=(()=>{class Ke{constructor(){this.changes=new Mt.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(U,fe){return`${U} \u2013 ${fe}`}formatYearRangeLabel(U,fe){return`${U} to ${fe}`}}return Ke.\u0275fac=function(U){return new(U||Ke)},Ke.\u0275prov=o.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();class ce{constructor(kt,U,fe,Pe,Je={},Gt=kt,Pn){this.value=kt,this.displayValue=U,this.ariaLabel=fe,this.enabled=Pe,this.cssClasses=Je,this.compareValue=Gt,this.rawValue=Pn}}let Ee=1;const it=(0,v.i$)({passive:!1,capture:!0}),Rt=(0,v.i$)({passive:!0,capture:!0}),Ye=(0,v.i$)({passive:!0});let qe=(()=>{class Ke{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(U,fe){this._elementRef=U,this._ngZone=fe,this._platform=(0,o.inject)(v.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new o.EventEmitter,this.previewChange=new o.EventEmitter,this.activeDateChange=new o.EventEmitter,this.dragStarted=new o.EventEmitter,this.dragEnded=new o.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=Pe=>{if(this._skipNextFocus&&"focus"===Pe.type)this._skipNextFocus=!1;else if(Pe.target&&this.isRange){const Je=this._getCellFromElement(Pe.target);Je&&this._ngZone.run(()=>this.previewChange.emit({value:Je.enabled?Je:null,event:Pe}))}},this._touchmoveHandler=Pe=>{if(!this.isRange)return;const Je=Tn(Pe),Gt=Je?this._getCellFromElement(Je):null;Je!==Pe.target&&(this._didDragSinceMouseDown=!0),dt(Pe.target)&&Pe.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Gt?.enabled?Gt:null,event:Pe}))},this._leaveHandler=Pe=>{null!==this.previewEnd&&this.isRange&&("blur"!==Pe.type&&(this._didDragSinceMouseDown=!0),Pe.target&&this._getCellFromElement(Pe.target)&&(!Pe.relatedTarget||!this._getCellFromElement(Pe.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Pe})))},this._mousedownHandler=Pe=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Je=Pe.target&&this._getCellFromElement(Pe.target);!Je||!this._isInRange(Je.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Je.rawValue,event:Pe})})},this._mouseupHandler=Pe=>{if(!this.isRange)return;const Je=dt(Pe.target);Je?Je.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Gt=this._getCellFromElement(Je);this.dragEnded.emit({value:Gt?.rawValue??null,event:Pe})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Pe})})},this._touchendHandler=Pe=>{const Je=Tn(Pe);Je&&this._mouseupHandler({target:Je})},this._id="mat-calendar-body-"+Ee++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,fe.runOutsideAngular(()=>{const Pe=U.nativeElement;Pe.addEventListener("touchmove",this._touchmoveHandler,it),Pe.addEventListener("mouseenter",this._enterHandler,Rt),Pe.addEventListener("focus",this._enterHandler,Rt),Pe.addEventListener("mouseleave",this._leaveHandler,Rt),Pe.addEventListener("blur",this._leaveHandler,Rt),Pe.addEventListener("mousedown",this._mousedownHandler,Ye),Pe.addEventListener("touchstart",this._mousedownHandler,Ye),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(U,fe){this._didDragSinceMouseDown||U.enabled&&this.selectedValueChange.emit({value:U.value,event:fe})}_emitActiveDateChange(U,fe){U.enabled&&this.activeDateChange.emit({value:U.value,event:fe})}_isSelected(U){return this.startValue===U||this.endValue===U}ngOnChanges(U){const fe=U.numCols,{rows:Pe,numCols:Je}=this;(U.rows||fe)&&(this._firstRowOffset=Pe&&Pe.length&&Pe[0].length?Je-Pe[0].length:0),(U.cellAspectRatio||fe||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Je+"%"),(fe||!this._cellWidth)&&(this._cellWidth=100/Je+"%")}ngOnDestroy(){const U=this._elementRef.nativeElement;U.removeEventListener("touchmove",this._touchmoveHandler,it),U.removeEventListener("mouseenter",this._enterHandler,Rt),U.removeEventListener("focus",this._enterHandler,Rt),U.removeEventListener("mouseleave",this._leaveHandler,Rt),U.removeEventListener("blur",this._leaveHandler,Rt),U.removeEventListener("mousedown",this._mousedownHandler,Ye),U.removeEventListener("touchstart",this._mousedownHandler,Ye),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(U,fe){let Pe=U*this.numCols+fe;return U&&(Pe-=this._firstRowOffset),Pe==this.activeCell}_focusActiveCell(U=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ot.q)(1)).subscribe(()=>{setTimeout(()=>{const fe=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");fe&&(U||(this._skipNextFocus=!0),fe.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(U){return At(U,this.startValue,this.endValue)}_isRangeEnd(U){return tn(U,this.startValue,this.endValue)}_isInRange(U){return wn(U,this.startValue,this.endValue,this.isRange)}_isComparisonStart(U){return At(U,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(U,fe,Pe){if(!this._isComparisonStart(U)||this._isRangeStart(U)||!this._isInRange(U))return!1;let Je=this.rows[fe][Pe-1];if(!Je){const Gt=this.rows[fe-1];Je=Gt&&Gt[Gt.length-1]}return Je&&!this._isRangeEnd(Je.compareValue)}_isComparisonBridgeEnd(U,fe,Pe){if(!this._isComparisonEnd(U)||this._isRangeEnd(U)||!this._isInRange(U))return!1;let Je=this.rows[fe][Pe+1];if(!Je){const Gt=this.rows[fe+1];Je=Gt&&Gt[0]}return Je&&!this._isRangeStart(Je.compareValue)}_isComparisonEnd(U){return tn(U,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(U){return wn(U,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(U){return this.comparisonStart===this.comparisonEnd&&U===this.comparisonStart}_isPreviewStart(U){return At(U,this.previewStart,this.previewEnd)}_isPreviewEnd(U){return tn(U,this.previewStart,this.previewEnd)}_isInPreview(U){return wn(U,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(U){return this.isRange?this.startValue===U&&this.endValue===U?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===U?this._startDateLabelId:this.endValue===U?this._endDateLabelId:null:null}_getCellFromElement(U){const fe=dt(U);if(fe){const Pe=fe.getAttribute("data-mat-row"),Je=fe.getAttribute("data-mat-col");if(Pe&&Je)return this.rows[parseInt(Pe)][parseInt(Je)]}return null}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.NgZone))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[o.\u0275\u0275NgOnChangesFeature],attrs:pe,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(U,fe){1&U&&(o.\u0275\u0275template(0,Te,3,6,"tr",0),o.\u0275\u0275template(1,Dt,3,2,"tr",1),o.\u0275\u0275elementStart(2,"label",2),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"label",2),o.\u0275\u0275text(5),o.\u0275\u0275elementEnd()),2&U&&(o.\u0275\u0275property("ngIf",fe._firstRowOffset=kt&&Ke===U}function wn(Ke,kt,U,fe){return fe&&null!==kt&&null!==U&&kt!==U&&Ke>=kt&&Ke<=U}function Tn(Ke){const kt=Ke.changedTouches[0];return document.elementFromPoint(kt.clientX,kt.clientY)}class Sn{constructor(kt,U){this.start=kt,this.end=U}}let Mn=(()=>{class Ke{constructor(U,fe){this.selection=U,this._adapter=fe,this._selectionChanged=new Mt.x,this.selectionChanged=this._selectionChanged,this.selection=U}updateSelection(U,fe){const Pe=this.selection;this.selection=U,this._selectionChanged.next({selection:U,source:fe,oldValue:Pe})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(U){return this._adapter.isDateInstance(U)&&this._adapter.isValid(U)}}return Ke.\u0275fac=function(U){o.\u0275\u0275invalidFactory()},Ke.\u0275prov=o.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac}),Ke})(),Ci=(()=>{class Ke extends Mn{constructor(U){super(null,U)}add(U){super.updateSelection(U,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const U=new Ke(this._adapter);return U.updateSelection(this.selection,this),U}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275inject(a.DateAdapter))},Ke.\u0275prov=o.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac}),Ke})(),di=(()=>{class Ke extends Mn{constructor(U){super(new Sn(null,null),U)}add(U){let{start:fe,end:Pe}=this.selection;null==fe?fe=U:null==Pe?Pe=U:(fe=U,Pe=null),super.updateSelection(new Sn(fe,Pe),this)}isValid(){const{start:U,end:fe}=this.selection;return null==U&&null==fe||(null!=U&&null!=fe?this._isValidDateInstance(U)&&this._isValidDateInstance(fe)&&this._adapter.compareDate(U,fe)<=0:(null==U||this._isValidDateInstance(U))&&(null==fe||this._isValidDateInstance(fe)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const U=new Ke(this._adapter);return U.updateSelection(this.selection,this),U}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275inject(a.DateAdapter))},Ke.\u0275prov=o.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac}),Ke})();function Li(Ke,kt){return Ke||new Ci(kt)}const Qi={provide:Mn,deps:[[new o.Optional,new o.SkipSelf,Mn],a.DateAdapter],useFactory:Li};function wt(Ke,kt){return Ke||new di(kt)}const mt={provide:Mn,deps:[[new o.Optional,new o.SkipSelf,Mn],a.DateAdapter],useFactory:wt},pt=new o.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Ke{constructor(U){this._dateAdapter=U}selectionFinished(U,fe){let{start:Pe,end:Je}=fe;return null==Pe?Pe=U:null==Je&&U&&this._dateAdapter.compareDate(U,Pe)>=0?Je=U:(Pe=U,Je=null),new Sn(Pe,Je)}createPreview(U,fe){let Pe=null,Je=null;return fe.start&&!fe.end&&U&&(Pe=fe.start,Je=U),new Sn(Pe,Je)}createDrag(U,fe,Pe){let Je=fe.start,Gt=fe.end;if(!Je||!Gt)return null;const Pn=this._dateAdapter,Gi=0!==Pn.compareDate(Je,Gt),Vi=Pn.getYear(Pe)-Pn.getYear(U),rr=Pn.getMonth(Pe)-Pn.getMonth(U),or=Pn.getDate(Pe)-Pn.getDate(U);return Gi&&Pn.sameDate(U,fe.start)?(Je=Pe,Pn.compareDate(Pe,Gt)>0&&(Gt=Pn.addCalendarYears(Gt,Vi),Gt=Pn.addCalendarMonths(Gt,rr),Gt=Pn.addCalendarDays(Gt,or))):Gi&&Pn.sameDate(U,fe.end)?(Gt=Pe,Pn.compareDate(Pe,Je)<0&&(Je=Pn.addCalendarYears(Je,Vi),Je=Pn.addCalendarMonths(Je,rr),Je=Pn.addCalendarDays(Je,or))):(Je=Pn.addCalendarYears(Je,Vi),Je=Pn.addCalendarMonths(Je,rr),Je=Pn.addCalendarDays(Je,or),Gt=Pn.addCalendarYears(Gt,Vi),Gt=Pn.addCalendarMonths(Gt,rr),Gt=Pn.addCalendarDays(Gt,or)),new Sn(Je,Gt)}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275inject(a.DateAdapter))},Ke.\u0275prov=o.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac}),Ke})();const hn={provide:pt,deps:[[new o.Optional,new o.SkipSelf,pt],a.DateAdapter],useFactory:function on(Ke,kt){return Ke||new qt(kt)}};let $n=(()=>{class Ke{get activeDate(){return this._activeDate}set activeDate(U){const fe=this._activeDate,Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),this._hasSameMonthAndYear(fe,this._activeDate)||this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Sn?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}constructor(U,fe,Pe,Je,Gt){this._changeDetectorRef=U,this._dateFormats=fe,this._dateAdapter=Pe,this._dir=Je,this._rangeStrategy=Gt,this._rerenderSubscription=tt.w0.EMPTY,this.activeDrag=null,this.selectedChange=new o.EventEmitter,this._userSelection=new o.EventEmitter,this.dragStarted=new o.EventEmitter,this.dragEnded=new o.EventEmitter,this.activeDateChange=new o.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,vt.O)(null)).subscribe(()=>this._init())}ngOnChanges(U){const fe=U.comparisonStart||U.comparisonEnd;fe&&!fe.firstChange&&this._setRanges(this.selected),U.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(U){const fe=U.value,Pe=this._getDateFromDayOfMonth(fe);let Je,Gt;this._selected instanceof Sn?(Je=this._getDateInCurrentMonth(this._selected.start),Gt=this._getDateInCurrentMonth(this._selected.end)):Je=Gt=this._getDateInCurrentMonth(this._selected),(Je!==fe||Gt!==fe)&&this.selectedChange.emit(Pe),this._userSelection.emit({value:Pe,event:U.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(U){const Pe=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(U.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(U){const fe=this._activeDate,Pe=this._isRtl();switch(U.keyCode){case xt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Pe?1:-1);break;case xt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Pe?-1:1);break;case xt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case xt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case xt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case xt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case xt.Ku:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case xt.VM:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case xt.K5:case xt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&U.preventDefault());case xt.hY:return void(null!=this._previewEnd&&!(0,xt.Vb)(U)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:U}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:U})),U.preventDefault(),U.stopPropagation()));default:return}this._dateAdapter.compareDate(fe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===xt.L_||U.keyCode===xt.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:U}),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 U=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(U)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(U){this._matCalendarBody._focusActiveCell(U)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:U,value:fe}){if(this._rangeStrategy){const Pe=fe?fe.rawValue:null,Je=this._rangeStrategy.createPreview(Pe,this.selected,U);if(this._previewStart=this._getCellCompareValue(Je.start),this._previewEnd=this._getCellCompareValue(Je.end),this.activeDrag&&Pe){const Gt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Pe,U);Gt&&(this._previewStart=this._getCellCompareValue(Gt.start),this._previewEnd=this._getCellCompareValue(Gt.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(U){if(this.activeDrag)if(U.value){const fe=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,U.value,U.event);this.dragEnded.emit({value:fe??null,event:U.event})}else this.dragEnded.emit({value:null,event:U.event})}_getDateFromDayOfMonth(U){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),U)}_initWeekdays(){const U=this._dateAdapter.getFirstDayOfWeek(),fe=this._dateAdapter.getDayOfWeekNames("narrow");let Je=this._dateAdapter.getDayOfWeekNames("long").map((Gt,Pn)=>({long:Gt,narrow:fe[Pn]}));this._weekdays=Je.slice(U).concat(Je.slice(0,U))}_createWeekCells(){const U=this._dateAdapter.getNumDaysInMonth(this.activeDate),fe=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Pe=0,Je=this._firstWeekOffset;Pe=0)&&(!this.maxDate||this._dateAdapter.compareDate(U,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(U))}_getDateInCurrentMonth(U){return U&&this._hasSameMonthAndYear(U,this.activeDate)?this._dateAdapter.getDate(U):null}_hasSameMonthAndYear(U,fe){return!(!U||!fe||this._dateAdapter.getMonth(U)!=this._dateAdapter.getMonth(fe)||this._dateAdapter.getYear(U)!=this._dateAdapter.getYear(fe))}_getCellCompareValue(U){if(U){const fe=this._dateAdapter.getYear(U),Pe=this._dateAdapter.getMonth(U),Je=this._dateAdapter.getDate(U);return new Date(fe,Pe,Je).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(U){U instanceof Sn?(this._rangeStart=this._getCellCompareValue(U.start),this._rangeEnd=this._getCellCompareValue(U.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(U),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(U){return!this.dateFilter||this.dateFilter(U)}_clearPreview(){this._previewStart=this._previewEnd=null}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(a.MAT_DATE_FORMATS,8),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(nt.Is,8),o.\u0275\u0275directiveInject(pt,8))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-month-view"]],viewQuery:function(U,fe){if(1&U&&o.\u0275\u0275viewQuery(qe,5),2&U){let Pe;o.\u0275\u0275queryRefresh(Pe=o.\u0275\u0275loadQuery())&&(fe._matCalendarBody=Pe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[o.\u0275\u0275NgOnChangesFeature],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(U,fe){1&U&&(o.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),o.\u0275\u0275template(3,Kt,5,2,"th",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"tr"),o.\u0275\u0275element(5,"th",3),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(6,"tbody",4),o.\u0275\u0275listener("selectedValueChange",function(Je){return fe._dateSelected(Je)})("activeDateChange",function(Je){return fe._updateActiveDate(Je)})("previewChange",function(Je){return fe._previewChanged(Je)})("dragStarted",function(Je){return fe.dragStarted.emit(Je)})("dragEnded",function(Je){return fe._dragEnded(Je)})("keyup",function(Je){return fe._handleCalendarBodyKeyup(Je)})("keydown",function(Je){return fe._handleCalendarBodyKeydown(Je)}),o.\u0275\u0275elementEnd()()),2&U&&(o.\u0275\u0275advance(3),o.\u0275\u0275property("ngForOf",fe._weekdays),o.\u0275\u0275advance(3),o.\u0275\u0275property("label",fe._monthLabel)("rows",fe._weeks)("todayValue",fe._todayDate)("startValue",fe._rangeStart)("endValue",fe._rangeEnd)("comparisonStart",fe._comparisonRangeStart)("comparisonEnd",fe._comparisonRangeEnd)("previewStart",fe._previewStart)("previewEnd",fe._previewEnd)("isRange",fe._isRange)("labelMinRequiredCells",3)("activeCell",fe._dateAdapter.getDate(fe.activeDate)-1)("startDateAccessibleName",fe.startDateAccessibleName)("endDateAccessibleName",fe.endDateAccessibleName))},dependencies:[b.NgForOf,qe],encapsulation:2,changeDetection:0}),Ke})();const In=24,Zn=4;let mi=(()=>{class Ke{get activeDate(){return this._activeDate}set activeDate(U){let fe=this._activeDate;const Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),Qn(this._dateAdapter,fe,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Sn?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedYear(U)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}constructor(U,fe,Pe){this._changeDetectorRef=U,this._dateAdapter=fe,this._dir=Pe,this._rerenderSubscription=tt.w0.EMPTY,this.selectedChange=new o.EventEmitter,this.yearSelected=new o.EventEmitter,this.activeDateChange=new o.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,vt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const fe=this._dateAdapter.getYear(this._activeDate)-ri(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Pe=0,Je=[];Pethis._createCellForYear(Gt))),Je=[]);this._changeDetectorRef.markForCheck()}_yearSelected(U){const fe=U.value,Pe=this._dateAdapter.createDate(fe,0,1),Je=this._getDateFromYear(fe);this.yearSelected.emit(Pe),this.selectedChange.emit(Je)}_updateActiveDate(U){const Pe=this._activeDate;this.activeDate=this._getDateFromYear(U.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(U){const fe=this._activeDate,Pe=this._isRtl();switch(U.keyCode){case xt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pe?1:-1);break;case xt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pe?-1:1);break;case xt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Zn);break;case xt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Zn);break;case xt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ri(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case xt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,In-ri(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case xt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?10*-In:-In);break;case xt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?10*In:In);break;case xt.K5:case xt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(fe,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===xt.L_||U.keyCode===xt.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_getActiveCell(){return ri(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(U){const fe=this._dateAdapter.getMonth(this.activeDate),Pe=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(U,fe,1));return this._dateAdapter.createDate(U,fe,Math.min(this._dateAdapter.getDate(this.activeDate),Pe))}_createCellForYear(U){const fe=this._dateAdapter.createDate(U,0,1),Pe=this._dateAdapter.getYearName(fe),Je=this.dateClass?this.dateClass(fe,"multi-year"):void 0;return new ce(U,Pe,Pe,this._shouldEnableYear(U),Je)}_shouldEnableYear(U){if(null==U||this.maxDate&&U>this._dateAdapter.getYear(this.maxDate)||this.minDate&&U{class Ke{get activeDate(){return this._activeDate}set activeDate(U){let fe=this._activeDate;const Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),this._dateAdapter.getYear(fe)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Sn?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedMonth(U)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}constructor(U,fe,Pe,Je){this._changeDetectorRef=U,this._dateFormats=fe,this._dateAdapter=Pe,this._dir=Je,this._rerenderSubscription=tt.w0.EMPTY,this.selectedChange=new o.EventEmitter,this.monthSelected=new o.EventEmitter,this.activeDateChange=new o.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,vt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(U){const fe=U.value,Pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),fe,1);this.monthSelected.emit(Pe);const Je=this._getDateFromMonth(fe);this.selectedChange.emit(Je)}_updateActiveDate(U){const Pe=this._activeDate;this.activeDate=this._getDateFromMonth(U.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(U){const fe=this._activeDate,Pe=this._isRtl();switch(U.keyCode){case xt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Pe?1:-1);break;case xt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Pe?-1:1);break;case xt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case xt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case xt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case xt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case xt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-10:-1);break;case xt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?10:1);break;case xt.K5:case xt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(fe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===xt.L_||U.keyCode===xt.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let U=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(fe=>fe.map(Pe=>this._createCellForMonth(Pe,U[Pe]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(U){return U&&this._dateAdapter.getYear(U)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(U):null}_getDateFromMonth(U){const fe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,1),Pe=this._dateAdapter.getNumDaysInMonth(fe);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,Math.min(this._dateAdapter.getDate(this.activeDate),Pe))}_createCellForMonth(U,fe){const Pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,1),Je=this._dateAdapter.format(Pe,this._dateFormats.display.monthYearA11yLabel),Gt=this.dateClass?this.dateClass(Pe,"year"):void 0;return new ce(U,fe.toLocaleUpperCase(),Je,this._shouldEnableMonth(U),Gt)}_shouldEnableMonth(U){const fe=this._dateAdapter.getYear(this.activeDate);if(null==U||this._isYearAndMonthAfterMaxDate(fe,U)||this._isYearAndMonthBeforeMinDate(fe,U))return!1;if(!this.dateFilter)return!0;for(let Je=this._dateAdapter.createDate(fe,U,1);this._dateAdapter.getMonth(Je)==U;Je=this._dateAdapter.addCalendarDays(Je,1))if(this.dateFilter(Je))return!0;return!1}_isYearAndMonthAfterMaxDate(U,fe){if(this.maxDate){const Pe=this._dateAdapter.getYear(this.maxDate),Je=this._dateAdapter.getMonth(this.maxDate);return U>Pe||U===Pe&&fe>Je}return!1}_isYearAndMonthBeforeMinDate(U,fe){if(this.minDate){const Pe=this._dateAdapter.getYear(this.minDate),Je=this._dateAdapter.getMonth(this.minDate);return U{class Ke{constructor(U,fe,Pe,Je,Gt){this._intl=U,this.calendar=fe,this._dateAdapter=Pe,this._dateFormats=Je,this._id="mat-calendar-header-"+An++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Gt.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:-In)}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:In)}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(U,fe){return"month"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(fe)&&this._dateAdapter.getMonth(U)==this._dateAdapter.getMonth(fe):"year"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(fe):Qn(this._dateAdapter,U,fe,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const fe=this._dateAdapter.getYear(this.calendar.activeDate)-ri(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Pe=fe+In-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(fe,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Pe,0,1))]}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(re),o.\u0275\u0275directiveInject((0,o.forwardRef)(()=>si)),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(a.MAT_DATE_FORMATS,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ze,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(U,fe){1&U&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),o.\u0275\u0275listener("click",function(){return fe.currentPeriodClicked()}),o.\u0275\u0275elementStart(3,"span",3),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd(),o.\u0275\u0275namespaceSVG(),o.\u0275\u0275elementStart(5,"svg",4),o.\u0275\u0275element(6,"polygon",5),o.\u0275\u0275elementEnd()(),o.\u0275\u0275namespaceHTML(),o.\u0275\u0275element(7,"div",6),o.\u0275\u0275projection(8),o.\u0275\u0275elementStart(9,"button",7),o.\u0275\u0275listener("click",function(){return fe.previousClicked()}),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(10,"button",8),o.\u0275\u0275listener("click",function(){return fe.nextClicked()}),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(11,"label",9),o.\u0275\u0275text(12),o.\u0275\u0275elementEnd()),2&U&&(o.\u0275\u0275advance(2),o.\u0275\u0275attribute("aria-label",fe.periodButtonLabel)("aria-describedby",fe._periodButtonLabelId),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(fe.periodButtonText),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("mat-calendar-invert","month"!==fe.calendar.currentView),o.\u0275\u0275advance(4),o.\u0275\u0275property("disabled",!fe.previousEnabled()),o.\u0275\u0275attribute("aria-label",fe.prevButtonLabel),o.\u0275\u0275advance(1),o.\u0275\u0275property("disabled",!fe.nextEnabled()),o.\u0275\u0275attribute("aria-label",fe.nextButtonLabel),o.\u0275\u0275advance(1),o.\u0275\u0275property("id",fe._periodButtonLabelId),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(fe.periodButtonDescription))},dependencies:[Y,Xe],encapsulation:2,changeDetection:0}),Ke})(),si=(()=>{class Ke{get startAt(){return this._startAt}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get selected(){return this._selected}set selected(U){this._selected=U instanceof Sn?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get activeDate(){return this._clampedActiveDate}set activeDate(U){this._clampedActiveDate=this._dateAdapter.clampDate(U,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(U){const fe=this._currentView!==U?U:null;this._currentView=U,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),fe&&this.viewChanged.emit(fe)}constructor(U,fe,Pe,Je){this._dateAdapter=fe,this._dateFormats=Pe,this._changeDetectorRef=Je,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new o.EventEmitter,this.yearSelected=new o.EventEmitter,this.monthSelected=new o.EventEmitter,this.viewChanged=new o.EventEmitter(!0),this._userSelection=new o.EventEmitter,this._userDragDrop=new o.EventEmitter,this._activeDrag=null,this.stateChanges=new Mt.x,this._intlChanges=U.changes.subscribe(()=>{Je.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new C.C5(this.headerComponent||Yn),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(U){const fe=U.minDate&&!this._dateAdapter.sameDate(U.minDate.previousValue,U.minDate.currentValue)?U.minDate:void 0,Pe=U.maxDate&&!this._dateAdapter.sameDate(U.maxDate.previousValue,U.maxDate.currentValue)?U.maxDate:void 0,Je=fe||Pe||U.dateFilter;if(Je&&!Je.firstChange){const Gt=this._getCurrentViewComponent();Gt&&(this._changeDetectorRef.detectChanges(),Gt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(U){const fe=U.value;(this.selected instanceof Sn||fe&&!this._dateAdapter.sameDate(fe,this.selected))&&this.selectedChange.emit(fe),this._userSelection.emit(U)}_yearSelectedInMultiYearView(U){this.yearSelected.emit(U)}_monthSelectedInYearView(U){this.monthSelected.emit(U)}_goToDateInView(U,fe){this.activeDate=U,this.currentView=fe}_dragStarted(U){this._activeDrag=U}_dragEnded(U){this._activeDrag&&(U.value&&this._userDragDrop.emit(U),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(re),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(a.MAT_DATE_FORMATS,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-calendar"]],viewQuery:function(U,fe){if(1&U&&(o.\u0275\u0275viewQuery($n,5),o.\u0275\u0275viewQuery(Dn,5),o.\u0275\u0275viewQuery(mi,5)),2&U){let Pe;o.\u0275\u0275queryRefresh(Pe=o.\u0275\u0275loadQuery())&&(fe.monthView=Pe.first),o.\u0275\u0275queryRefresh(Pe=o.\u0275\u0275loadQuery())&&(fe.yearView=Pe.first),o.\u0275\u0275queryRefresh(Pe=o.\u0275\u0275loadQuery())&&(fe.multiYearView=Pe.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[o.\u0275\u0275ProvidersFeature([Qi]),o.\u0275\u0275NgOnChangesFeature],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(U,fe){1&U&&(o.\u0275\u0275template(0,yt,0,0,"ng-template",0),o.\u0275\u0275elementStart(1,"div",1),o.\u0275\u0275template(2,Bt,1,11,"mat-month-view",2),o.\u0275\u0275template(3,$t,1,6,"mat-year-view",3),o.\u0275\u0275template(4,Yt,1,6,"mat-multi-year-view",4),o.\u0275\u0275elementEnd()),2&U&&(o.\u0275\u0275property("cdkPortalOutlet",fe._calendarHeaderPortal),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitch",fe.currentView),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase","month"),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase","year"),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase","multi-year"))},dependencies:[b.NgSwitch,b.NgSwitchCase,n.kH,C.Pl,$n,Dn,mi],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),Ke})();const ii={transformPanel:(0,Ce.X$)("transformPanel",[(0,Ce.eR)("void => enter-dropdown",(0,Ce.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Ce.F4)([(0,Ce.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,Ce.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,Ce.eR)("void => enter-dialog",(0,Ce.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,Ce.F4)([(0,Ce.oB)({opacity:0,transform:"scale(0.7)"}),(0,Ce.oB)({transform:"none",opacity:1})]))),(0,Ce.eR)("* => void",(0,Ce.jt)("100ms linear",(0,Ce.oB)({opacity:0})))]),fadeInCalendar:(0,Ce.X$)("fadeInCalendar",[(0,Ce.SB)("void",(0,Ce.oB)({opacity:0})),(0,Ce.SB)("enter",(0,Ce.oB)({opacity:1})),(0,Ce.eR)("void => *",(0,Ce.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Ii=0;const oi=new o.InjectionToken("mat-datepicker-scroll-strategy");function li(Ke){return()=>Ke.scrollStrategies.reposition()}const Pi={provide:oi,deps:[p.aV],useFactory:li},Ct=(0,a.mixinColor)(class{constructor(Ke){this._elementRef=Ke}});let Ft=(()=>{class Ke extends Ct{constructor(U,fe,Pe,Je,Gt,Pn){super(U),this._changeDetectorRef=fe,this._globalModel=Pe,this._dateAdapter=Je,this._rangeSelectionStrategy=Gt,this._subscriptions=new tt.w0,this._animationDone=new Mt.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Pn.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(U){const fe=this._model.selection,Pe=U.value,Je=fe instanceof Sn;if(Je&&this._rangeSelectionStrategy){const Gt=this._rangeSelectionStrategy.selectionFinished(Pe,fe,U.event);this._model.updateSelection(Gt,this)}else Pe&&(Je||!this._dateAdapter.sameDate(Pe,fe))&&this._model.add(Pe);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(U){this._model.updateSelection(U.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(U){this._isAnimating="start"===U.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(U,fe){this._model=U?this._globalModel.clone():this._globalModel,this._actionsPortal=U,fe&&this._changeDetectorRef.detectChanges()}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(Mn),o.\u0275\u0275directiveInject(a.DateAdapter),o.\u0275\u0275directiveInject(pt,8),o.\u0275\u0275directiveInject(re))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-datepicker-content"]],viewQuery:function(U,fe){if(1&U&&o.\u0275\u0275viewQuery(si,5),2&U){let Pe;o.\u0275\u0275queryRefresh(Pe=o.\u0275\u0275loadQuery())&&(fe._calendar=Pe.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(U,fe){1&U&&o.\u0275\u0275syntheticHostListener("@transformPanel.start",function(Je){return fe._handleAnimationEvent(Je)})("@transformPanel.done",function(Je){return fe._handleAnimationEvent(Je)}),2&U&&(o.\u0275\u0275syntheticHostProperty("@transformPanel",fe._animationState),o.\u0275\u0275classProp("mat-datepicker-content-touch",fe.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[o.\u0275\u0275InheritDefinitionFeature],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(U,fe){if(1&U&&(o.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),o.\u0275\u0275listener("yearSelected",function(Je){return fe.datepicker._selectYear(Je)})("monthSelected",function(Je){return fe.datepicker._selectMonth(Je)})("viewChanged",function(Je){return fe.datepicker._viewChanged(Je)})("_userSelection",function(Je){return fe._handleUserSelection(Je)})("_userDragDrop",function(Je){return fe._handleUserDragDrop(Je)}),o.\u0275\u0275elementEnd(),o.\u0275\u0275template(2,Ue,0,0,"ng-template",2),o.\u0275\u0275elementStart(3,"button",3),o.\u0275\u0275listener("focus",function(){return fe._closeButtonFocused=!0})("blur",function(){return fe._closeButtonFocused=!1})("click",function(){return fe.datepicker.close()}),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd()()),2&U){let Pe;o.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",fe.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",fe._actionsPortal),o.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(Pe=fe._dialogLabelId)&&void 0!==Pe?Pe:void 0),o.\u0275\u0275advance(1),o.\u0275\u0275property("id",fe.datepicker.id)("ngClass",fe.datepicker.panelClass)("startAt",fe.datepicker.startAt)("startView",fe.datepicker.startView)("minDate",fe.datepicker._getMinDate())("maxDate",fe.datepicker._getMaxDate())("dateFilter",fe.datepicker._getDateFilter())("headerComponent",fe.datepicker.calendarHeaderComponent)("selected",fe._getSelected())("dateClass",fe.datepicker.dateClass)("comparisonStart",fe.comparisonStart)("comparisonEnd",fe.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",fe.startDateAccessibleName)("endDateAccessibleName",fe.endDateAccessibleName),o.\u0275\u0275advance(1),o.\u0275\u0275property("cdkPortalOutlet",fe._actionsPortal),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("cdk-visually-hidden",!fe._closeButtonFocused),o.\u0275\u0275property("color",fe.color||"primary"),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(fe._closeButtonText)}},dependencies:[b.NgClass,Y,n.mK,C.Pl,si],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[ii.transformPanel,ii.fadeInCalendar]},changeDetection:0}),Ke})(),Ae=(()=>{class Ke{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(U){this._color=U}get touchUi(){return this._touchUi}set touchUi(U){this._touchUi=(0,J.Ig)(U)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(U){const fe=(0,J.Ig)(U);fe!==this._disabled&&(this._disabled=fe,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(U){this._restoreFocus=(0,J.Ig)(U)}get panelClass(){return this._panelClass}set panelClass(U){this._panelClass=(0,J.du)(U)}get opened(){return this._opened}set opened(U){(0,J.Ig)(U)?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(U,fe,Pe,Je,Gt,Pn,Gi){this._overlay=U,this._ngZone=fe,this._viewContainerRef=Pe,this._dateAdapter=Gt,this._dir=Pn,this._model=Gi,this._inputStateChanges=tt.w0.EMPTY,this._document=(0,o.inject)(b.DOCUMENT),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new o.EventEmitter,this.monthSelected=new o.EventEmitter,this.viewChanged=new o.EventEmitter(!0),this.openedStream=new o.EventEmitter,this.closedStream=new o.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+Ii++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Mt.x,this._scrollStrategy=Je}ngOnChanges(U){const fe=U.xPosition||U.yPosition;if(fe&&!fe.firstChange&&this._overlayRef){const Pe=this._overlayRef.getConfig().positionStrategy;Pe instanceof p._G&&(this._setConnectedPositions(Pe),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(U){this._model.add(U)}_selectYear(U){this.yearSelected.emit(U)}_selectMonth(U){this.monthSelected.emit(U)}_viewChanged(U){this.viewChanged.emit(U)}registerInput(U){return this._inputStateChanges.unsubscribe(),this.datepickerInput=U,this._inputStateChanges=U.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(U){this._actionsPortal=U,this._componentRef?.instance._assignActions(U,!0)}removeActions(U){U===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,v.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const U=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,fe=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Pe,location:Je}=this._componentRef;Pe._startExitAnimation(),Pe._animationDone.pipe((0,ot.q)(1)).subscribe(()=>{const Gt=this._document.activeElement;U&&(!Gt||Gt===this._document.activeElement||Je.nativeElement.contains(Gt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}U?setTimeout(fe):fe()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(U){U.datepicker=this,U.color=this.color,U._dialogLabelId=this.datepickerInput.getOverlayLabelId(),U._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const U=this.touchUi,fe=new C.C5(Ft,this._viewContainerRef),Pe=this._overlayRef=this._overlay.create(new p.X_({positionStrategy:U?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[U?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:U?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(U?"dialog":"popup")}));this._getCloseStream(Pe).subscribe(Je=>{Je&&Je.preventDefault(),this.close()}),Pe.keydownEvents().subscribe(Je=>{const Gt=Je.keyCode;(Gt===xt.LH||Gt===xt.JH||Gt===xt.oh||Gt===xt.SV||Gt===xt.Ku||Gt===xt.VM)&&Je.preventDefault()}),this._componentRef=Pe.attach(fe),this._forwardContentValues(this._componentRef.instance),U||this._ngZone.onStable.pipe((0,ot.q)(1)).subscribe(()=>Pe.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const U=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(U)}_setConnectedPositions(U){const fe="end"===this.xPosition?"end":"start",Pe="start"===fe?"end":"start",Je="above"===this.yPosition?"bottom":"top",Gt="top"===Je?"bottom":"top";return U.withPositions([{originX:fe,originY:Gt,overlayX:fe,overlayY:Je},{originX:fe,originY:Je,overlayX:fe,overlayY:Gt},{originX:Pe,originY:Gt,overlayX:Pe,overlayY:Je},{originX:Pe,originY:Je,overlayX:Pe,overlayY:Gt}])}_getCloseStream(U){const fe=["ctrlKey","shiftKey","metaKey"];return(0,St.T)(U.backdropClick(),U.detachments(),U.keydownEvents().pipe((0,rt.h)(Pe=>Pe.keyCode===xt.hY&&!(0,xt.Vb)(Pe)||this.datepickerInput&&(0,xt.Vb)(Pe,"altKey")&&Pe.keyCode===xt.LH&&fe.every(Je=>!(0,xt.Vb)(Pe,Je)))))}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(p.aV),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject(oi),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(nt.Is,8),o.\u0275\u0275directiveInject(Mn))},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[o.\u0275\u0275NgOnChangesFeature]}),Ke})(),W=(()=>{class Ke extends Ae{}return Ke.\u0275fac=function(){let kt;return function(fe){return(kt||(kt=o.\u0275\u0275getInheritedFactory(Ke)))(fe||Ke)}}(),Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[o.\u0275\u0275ProvidersFeature([Qi,{provide:Ae,useExisting:Ke}]),o.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(U,fe){},encapsulation:2,changeDetection:0}),Ke})();class be{constructor(kt,U){this.target=kt,this.targetElement=U,this.value=this.target.value}}let ge=(()=>{class Ke{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(U){this._assignValueProgrammatically(U)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(U){const fe=(0,J.Ig)(U),Pe=this._elementRef.nativeElement;this._disabled!==fe&&(this._disabled=fe,this.stateChanges.next(void 0)),fe&&this._isInitialized&&Pe.blur&&Pe.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(U){this._model=U,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(fe=>{if(this._shouldHandleChangeEvent(fe)){const Pe=this._getValueFromModel(fe.selection);this._lastValueValid=this._isValidValue(Pe),this._cvaOnChange(Pe),this._onTouched(),this._formatValue(Pe),this.dateInput.emit(new be(this,this._elementRef.nativeElement)),this.dateChange.emit(new be(this,this._elementRef.nativeElement))}})}constructor(U,fe,Pe){this._elementRef=U,this._dateAdapter=fe,this._dateFormats=Pe,this.dateChange=new o.EventEmitter,this.dateInput=new o.EventEmitter,this.stateChanges=new Mt.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=tt.w0.EMPTY,this._localeSubscription=tt.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Je=>{const Gt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Je.value));return!Gt||this._matchesFilter(Gt)?null:{matDatepickerFilter:!0}},this._minValidator=Je=>{const Gt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Je.value)),Pn=this._getMinDate();return!Pn||!Gt||this._dateAdapter.compareDate(Pn,Gt)<=0?null:{matDatepickerMin:{min:Pn,actual:Gt}}},this._maxValidator=Je=>{const Gt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Je.value)),Pn=this._getMaxDate();return!Pn||!Gt||this._dateAdapter.compareDate(Pn,Gt)>=0?null:{matDatepickerMax:{max:Pn,actual:Gt}}},this._lastValueValid=!1,this._localeSubscription=fe.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(U){Ge(U,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(U){this._validatorOnChange=U}validate(U){return this._validator?this._validator(U):null}writeValue(U){this._assignValueProgrammatically(U)}registerOnChange(U){this._cvaOnChange=U}registerOnTouched(U){this._onTouched=U}setDisabledState(U){this.disabled=U}_onKeydown(U){(0,xt.Vb)(U,"altKey")&&U.keyCode===xt.JH&&["ctrlKey","shiftKey","metaKey"].every(Je=>!(0,xt.Vb)(U,Je))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),U.preventDefault())}_onInput(U){const fe=this._lastValueValid;let Pe=this._dateAdapter.parse(U,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Pe),Pe=this._dateAdapter.getValidDateOrNull(Pe);const Je=!this._dateAdapter.sameDate(Pe,this.value);!Pe||Je?this._cvaOnChange(Pe):(U&&!this.value&&this._cvaOnChange(Pe),fe!==this._lastValueValid&&this._validatorOnChange()),Je&&(this._assignValue(Pe),this.dateInput.emit(new be(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new be(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(U){this._elementRef.nativeElement.value=null!=U?this._dateAdapter.format(U,this._dateFormats.display.dateInput):""}_assignValue(U){this._model?(this._assignValueToModel(U),this._pendingValue=null):this._pendingValue=U}_isValidValue(U){return!U||this._dateAdapter.isValid(U)}_parentDisabled(){return!1}_assignValueProgrammatically(U){U=this._dateAdapter.deserialize(U),this._lastValueValid=this._isValidValue(U),U=this._dateAdapter.getValidDateOrNull(U),this._assignValue(U),this._formatValue(U)}_matchesFilter(U){const fe=this._getDateFilter();return!fe||fe(U)}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(a.MAT_DATE_FORMATS,8))},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.\u0275\u0275NgOnChangesFeature]}),Ke})();function Ge(Ke,kt){const U=Object.keys(Ke);for(let fe of U){const{previousValue:Pe,currentValue:Je}=Ke[fe];if(!kt.isDateInstance(Pe)||!kt.isDateInstance(Je))return!0;if(!kt.sameDate(Pe,Je))return!0}return!1}const It={provide:ee.NG_VALUE_ACCESSOR,useExisting:(0,o.forwardRef)(()=>an),multi:!0},zt={provide:ee.NG_VALIDATORS,useExisting:(0,o.forwardRef)(()=>an),multi:!0};let an=(()=>{class Ke extends ge{set matDatepicker(U){U&&(this._datepicker=U,this._closedSubscription=U.closedStream.subscribe(()=>this._onTouched()),this._registerModel(U.registerInput(this)))}get min(){return this._min}set min(U){const fe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(fe,this._min)||(this._min=fe,this._validatorOnChange())}get max(){return this._max}set max(U){const fe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(fe,this._max)||(this._max=fe,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(U){const fe=this._matchesFilter(this.value);this._dateFilter=U,this._matchesFilter(this.value)!==fe&&this._validatorOnChange()}constructor(U,fe,Pe,Je){super(U,fe,Pe),this._formField=Je,this._closedSubscription=tt.w0.EMPTY,this._validator=ee.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(U){return U}_assignValueToModel(U){this._model&&this._model.updateSelection(U,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(U){return U.source!==this}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(a.MAT_DATE_FORMATS,8),o.\u0275\u0275directiveInject(ae.G_,8))},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(U,fe){1&U&&o.\u0275\u0275listener("input",function(Je){return fe._onInput(Je.target.value)})("change",function(){return fe._onChange()})("blur",function(){return fe._onBlur()})("keydown",function(Je){return fe._onKeydown(Je)}),2&U&&(o.\u0275\u0275hostProperty("disabled",fe.disabled),o.\u0275\u0275attribute("aria-haspopup",fe._datepicker?"dialog":null)("aria-owns",(null==fe._datepicker?null:fe._datepicker.opened)&&fe._datepicker.id||null)("min",fe.min?fe._dateAdapter.toIso8601(fe.min):null)("max",fe.max?fe._dateAdapter.toIso8601(fe.max):null)("data-mat-calendar",fe._datepicker?fe._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[o.\u0275\u0275ProvidersFeature([It,zt,{provide:ie.Jk,useExisting:Ke}]),o.\u0275\u0275InheritDefinitionFeature]}),Ke})(),gn=(()=>{class Ke{}return Ke.\u0275fac=function(U){return new(U||Ke)},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,selectors:[["","matDatepickerToggleIcon",""]]}),Ke})(),pn=(()=>{class Ke{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(U){this._disabled=(0,J.Ig)(U)}constructor(U,fe,Pe){this._intl=U,this._changeDetectorRef=fe,this._stateChanges=tt.w0.EMPTY;const Je=Number(Pe);this.tabIndex=Je||0===Je?Je:null}ngOnChanges(U){U.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(U){this.datepicker&&!this.disabled&&(this.datepicker.open(),U.stopPropagation())}_watchStateChanges(){const U=this.datepicker?this.datepicker.stateChanges:(0,bt.of)(),fe=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,bt.of)(),Pe=this.datepicker?(0,St.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,bt.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,St.T)(this._intl.changes,U,fe,Pe).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(re),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275injectAttribute("tabindex"))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-datepicker-toggle"]],contentQueries:function(U,fe,Pe){if(1&U&&o.\u0275\u0275contentQuery(Pe,gn,5),2&U){let Je;o.\u0275\u0275queryRefresh(Je=o.\u0275\u0275loadQuery())&&(fe._customIcon=Je.first)}},viewQuery:function(U,fe){if(1&U&&o.\u0275\u0275viewQuery(We,5),2&U){let Pe;o.\u0275\u0275queryRefresh(Pe=o.\u0275\u0275loadQuery())&&(fe._button=Pe.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(U,fe){1&U&&o.\u0275\u0275listener("click",function(Je){return fe._open(Je)}),2&U&&(o.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",fe.datepicker?fe.datepicker.id:null),o.\u0275\u0275classProp("mat-datepicker-toggle-active",fe.datepicker&&fe.datepicker.opened)("mat-accent",fe.datepicker&&"accent"===fe.datepicker.color)("mat-warn",fe.datepicker&&"warn"===fe.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[o.\u0275\u0275NgOnChangesFeature],ngContentSelectors:at,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(U,fe){1&U&&(o.\u0275\u0275projectionDef(we),o.\u0275\u0275elementStart(0,"button",0,1),o.\u0275\u0275template(2,ve,2,0,"svg",2),o.\u0275\u0275projection(3),o.\u0275\u0275elementEnd()),2&U&&(o.\u0275\u0275property("disabled",fe.disabled)("disableRipple",fe.disableRipple),o.\u0275\u0275attribute("aria-haspopup",fe.datepicker?"dialog":null)("aria-label",fe.ariaLabel||fe._intl.openCalendarLabel)("tabindex",fe.disabled?-1:fe.tabIndex),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",!fe._customIcon))},dependencies:[b.NgIf,Xe],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),Ke})();function Jn(Ke){return vi(Ke,!0)}function Nn(Ke){return Ke.nodeType===Node.ELEMENT_NODE}function vi(Ke,kt){if(Nn(Ke)&&kt){const fe=(Ke.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Pe,Je)=>{const Gt=document.getElementById(Je);return Gt&&Pe.push(Gt),Pe},[]);if(fe.length)return fe.map(Pe=>vi(Pe,!1)).join(" ")}if(Nn(Ke)){const U=Ke.getAttribute("aria-label")?.trim();if(U)return U}if(function kn(Ke){return"INPUT"===Ke.nodeName}(Ke)||function Un(Ke){return"TEXTAREA"===Ke.nodeName}(Ke)){if(Ke.labels?.length)return Array.from(Ke.labels).map(Pe=>vi(Pe,!1)).join(" ");const U=Ke.getAttribute("placeholder")?.trim();if(U)return U;const fe=Ke.getAttribute("title")?.trim();if(fe)return fe}return(Ke.textContent||"").replace(/\s+/g," ").trim()}const $i=new o.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),fn=(0,a.mixinErrorState)((()=>{class Ke extends ge{constructor(U,fe,Pe,Je,Gt,Pn,Gi,Vi){super(fe,Gi,Vi),this._rangeInput=U,this._elementRef=fe,this._defaultErrorStateMatcher=Pe,this._injector=Je,this._parentForm=Gt,this._parentFormGroup=Pn,this._dir=(0,o.inject)(nt.Is,{optional:!0})}ngOnInit(){const U=this._injector.get(ee.NgControl,null,{optional:!0,self:!0});U&&(this.ngControl=U)}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 U=this._elementRef.nativeElement,fe=U.value;return fe.length>0?fe:U.placeholder}_onInput(U){super._onInput(U),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:U}){return U!==this._rangeInput._startInput&&U!==this._rangeInput._endInput}_assignValueProgrammatically(U){super._assignValueProgrammatically(U),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return Jn(this._elementRef.nativeElement)}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject($i),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(a.ErrorStateMatcher),o.\u0275\u0275directiveInject(o.Injector),o.\u0275\u0275directiveInject(ee.NgForm,8),o.\u0275\u0275directiveInject(ee.FormGroupDirective,8),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(a.MAT_DATE_FORMATS,8))},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,features:[o.\u0275\u0275InheritDefinitionFeature]}),Ke})());let yn=(()=>{class Ke extends fn{constructor(U,fe,Pe,Je,Gt,Pn,Gi,Vi){super(U,fe,Pe,Je,Gt,Pn,Gi,Vi),this._startValidator=rr=>{const or=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rr.value)),Zi=this._model?this._model.selection.end:null;return!or||!Zi||this._dateAdapter.compareDate(or,Zi)<=0?null:{matStartDateInvalid:{end:Zi,actual:or}}},this._validator=ee.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(U){return U.start}_shouldHandleChangeEvent(U){return!(!super._shouldHandleChangeEvent(U)||(U.oldValue?.start?U.selection.start&&!this._dateAdapter.compareDate(U.oldValue.start,U.selection.start):!U.selection.start))}_assignValueToModel(U){if(this._model){const fe=new Sn(U,this._model.selection.end);this._model.updateSelection(fe,this)}}_formatValue(U){super._formatValue(U),this._rangeInput._handleChildValueChange()}_onKeydown(U){const fe=this._rangeInput._endInput,Pe=this._elementRef.nativeElement,Je="rtl"!==this._dir?.value;(U.keyCode===xt.SV&&Je||U.keyCode===xt.oh&&!Je)&&Pe.selectionStart===Pe.value.length&&Pe.selectionEnd===Pe.value.length?(U.preventDefault(),fe._elementRef.nativeElement.setSelectionRange(0,0),fe.focus()):super._onKeydown(U)}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject($i),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(a.ErrorStateMatcher),o.\u0275\u0275directiveInject(o.Injector),o.\u0275\u0275directiveInject(ee.NgForm,8),o.\u0275\u0275directiveInject(ee.FormGroupDirective,8),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(a.MAT_DATE_FORMATS,8))},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(U,fe){1&U&&o.\u0275\u0275listener("input",function(Je){return fe._onInput(Je.target.value)})("change",function(){return fe._onChange()})("keydown",function(Je){return fe._onKeydown(Je)})("blur",function(){return fe._onBlur()}),2&U&&(o.\u0275\u0275hostProperty("disabled",fe.disabled),o.\u0275\u0275attribute("aria-haspopup",fe._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==fe._rangeInput.rangePicker?null:fe._rangeInput.rangePicker.opened)&&fe._rangeInput.rangePicker.id||null)("min",fe._getMinDate()?fe._dateAdapter.toIso8601(fe._getMinDate()):null)("max",fe._getMaxDate()?fe._dateAdapter.toIso8601(fe._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.\u0275\u0275ProvidersFeature([{provide:ee.NG_VALUE_ACCESSOR,useExisting:Ke,multi:!0},{provide:ee.NG_VALIDATORS,useExisting:Ke,multi:!0}]),o.\u0275\u0275InheritDefinitionFeature]}),Ke})(),rn=(()=>{class Ke extends fn{constructor(U,fe,Pe,Je,Gt,Pn,Gi,Vi){super(U,fe,Pe,Je,Gt,Pn,Gi,Vi),this._endValidator=rr=>{const or=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rr.value)),Zi=this._model?this._model.selection.start:null;return!or||!Zi||this._dateAdapter.compareDate(or,Zi)>=0?null:{matEndDateInvalid:{start:Zi,actual:or}}},this._validator=ee.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(U){return U.end}_shouldHandleChangeEvent(U){return!(!super._shouldHandleChangeEvent(U)||(U.oldValue?.end?U.selection.end&&!this._dateAdapter.compareDate(U.oldValue.end,U.selection.end):!U.selection.end))}_assignValueToModel(U){if(this._model){const fe=new Sn(this._model.selection.start,U);this._model.updateSelection(fe,this)}}_onKeydown(U){const fe=this._rangeInput._startInput,Pe=this._elementRef.nativeElement,Je="rtl"!==this._dir?.value;if(U.keyCode!==xt.ZH||Pe.value)if((U.keyCode===xt.oh&&Je||U.keyCode===xt.SV&&!Je)&&0===Pe.selectionStart&&0===Pe.selectionEnd){U.preventDefault();const Gt=fe._elementRef.nativeElement.value.length;fe._elementRef.nativeElement.setSelectionRange(Gt,Gt),fe.focus()}else super._onKeydown(U);else fe.focus()}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject($i),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(a.ErrorStateMatcher),o.\u0275\u0275directiveInject(o.Injector),o.\u0275\u0275directiveInject(ee.NgForm,8),o.\u0275\u0275directiveInject(ee.FormGroupDirective,8),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(a.MAT_DATE_FORMATS,8))},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(U,fe){1&U&&o.\u0275\u0275listener("input",function(Je){return fe._onInput(Je.target.value)})("change",function(){return fe._onChange()})("keydown",function(Je){return fe._onKeydown(Je)})("blur",function(){return fe._onBlur()}),2&U&&(o.\u0275\u0275hostProperty("disabled",fe.disabled),o.\u0275\u0275attribute("aria-haspopup",fe._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==fe._rangeInput.rangePicker?null:fe._rangeInput.rangePicker.opened)&&fe._rangeInput.rangePicker.id||null)("min",fe._getMinDate()?fe._dateAdapter.toIso8601(fe._getMinDate()):null)("max",fe._getMaxDate()?fe._dateAdapter.toIso8601(fe._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.\u0275\u0275ProvidersFeature([{provide:ee.NG_VALUE_ACCESSOR,useExisting:Ke,multi:!0},{provide:ee.NG_VALIDATORS,useExisting:Ke,multi:!0}]),o.\u0275\u0275InheritDefinitionFeature]}),Ke})(),xn=0,ti=(()=>{class Ke{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const U=this._startInput?._getPlaceholder()||"",fe=this._endInput?._getPlaceholder()||"";return U||fe?`${U} ${this.separator} ${fe}`:""}get rangePicker(){return this._rangePicker}set rangePicker(U){U&&(this._model=U.registerInput(this),this._rangePicker=U,this._closedSubscription.unsubscribe(),this._closedSubscription=U.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(U){this._required=(0,J.Ig)(U)}get dateFilter(){return this._dateFilter}set dateFilter(U){const fe=this._startInput,Pe=this._endInput,Je=fe&&fe._matchesFilter(fe.value),Gt=Pe&&Pe._matchesFilter(fe.value);this._dateFilter=U,fe&&fe._matchesFilter(fe.value)!==Je&&fe._validatorOnChange(),Pe&&Pe._matchesFilter(Pe.value)!==Gt&&Pe._validatorOnChange()}get min(){return this._min}set min(U){const fe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(fe,this._min)||(this._min=fe,this._revalidate())}get max(){return this._max}set max(U){const fe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(fe,this._max)||(this._max=fe,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(U){const fe=(0,J.Ig)(U);fe!==this._groupDisabled&&(this._groupDisabled=fe,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const U=!!this._startInput&&this._startInput.isEmpty(),fe=!!this._endInput&&this._endInput.isEmpty();return U&&fe}constructor(U,fe,Pe,Je,Gt){this._changeDetectorRef=U,this._elementRef=fe,this._dateAdapter=Je,this._formField=Gt,this._closedSubscription=tt.w0.EMPTY,this.id="mat-date-range-input-"+xn++,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 Mt.x,Gt?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&fe.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=Pe}setDescribedByIds(U){this._ariaDescribedBy=U.length?U.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,St.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(U){Ge(U,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(U){const fe="start"===U?this._startInput:this._endInput;return fe?fe.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 U=this._formField;return U&&U._hasFloatingLabel()?U._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(U){this.focused=null!==U,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(U){this._startInput&&this._startInput._registerModel(U),this._endInput&&this._endInput._registerModel(U)}_isTargetRequired(U){return U?.ngControl?.control?.hasValidator(ee.Validators.required)}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(ee.ControlContainer,10),o.\u0275\u0275directiveInject(a.DateAdapter,8),o.\u0275\u0275directiveInject(ae.G_,8))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-date-range-input"]],contentQueries:function(U,fe,Pe){if(1&U&&(o.\u0275\u0275contentQuery(Pe,yn,5),o.\u0275\u0275contentQuery(Pe,rn,5)),2&U){let Je;o.\u0275\u0275queryRefresh(Je=o.\u0275\u0275loadQuery())&&(fe._startInput=Je.first),o.\u0275\u0275queryRefresh(Je=o.\u0275\u0275loadQuery())&&(fe._endInput=Je.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(U,fe){2&U&&(o.\u0275\u0275attribute("id",fe.id)("aria-labelledby",fe._getAriaLabelledby())("aria-describedby",fe._ariaDescribedBy)("data-mat-calendar",fe.rangePicker?fe.rangePicker.id:null),o.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",fe._shouldHidePlaceholders())("mat-date-range-input-required",fe.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[o.\u0275\u0275ProvidersFeature([{provide:ae.Eo,useExisting:Ke},{provide:$i,useExisting:Ke}]),o.\u0275\u0275NgOnChangesFeature],ngContentSelectors:je,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(U,fe){1&U&&(o.\u0275\u0275projectionDef(De),o.\u0275\u0275elementStart(0,"div",0),o.\u0275\u0275listener("cdkFocusChange",function(Je){return fe._updateFocus(Je)}),o.\u0275\u0275elementStart(1,"div",1),o.\u0275\u0275projection(2),o.\u0275\u0275elementStart(3,"span",2),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(5,"span",3),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(7,"div",4),o.\u0275\u0275projection(8,1),o.\u0275\u0275elementStart(9,"span",2),o.\u0275\u0275text(10),o.\u0275\u0275elementEnd()()()),2&U&&(o.\u0275\u0275advance(4),o.\u0275\u0275textInterpolate(fe._getInputMirrorValue("start")),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("mat-date-range-input-separator-hidden",fe._shouldHideSeparator()),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(fe.separator),o.\u0275\u0275advance(4),o.\u0275\u0275textInterpolate(fe._getInputMirrorValue("end")))},dependencies:[n.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),Ke})(),Ti=(()=>{class Ke extends Ae{_forwardContentValues(U){super._forwardContentValues(U);const fe=this.datepickerInput;fe&&(U.comparisonStart=fe.comparisonStart,U.comparisonEnd=fe.comparisonEnd,U.startDateAccessibleName=fe._getStartDateAccessibleName(),U.endDateAccessibleName=fe._getEndDateAccessibleName())}}return Ke.\u0275fac=function(){let kt;return function(fe){return(kt||(kt=o.\u0275\u0275getInheritedFactory(Ke)))(fe||Ke)}}(),Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[o.\u0275\u0275ProvidersFeature([mt,hn,{provide:Ae,useExisting:Ke}]),o.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(U,fe){},encapsulation:2,changeDetection:0}),Ke})(),zi=(()=>{class Ke{constructor(U){this._datepicker=U}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(Ae))},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(U,fe){1&U&&o.\u0275\u0275listener("click",function(){return fe._applySelection()})}}),Ke})(),xi=(()=>{class Ke{constructor(U){this._datepicker=U}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(Ae))},Ke.\u0275dir=o.\u0275\u0275defineDirective({type:Ke,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(U,fe){1&U&&o.\u0275\u0275listener("click",function(){return fe._datepicker.close()})}}),Ke})(),_r=(()=>{class Ke{constructor(U,fe){this._datepicker=U,this._viewContainerRef=fe}ngAfterViewInit(){this._portal=new C.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}return Ke.\u0275fac=function(U){return new(U||Ke)(o.\u0275\u0275directiveInject(Ae),o.\u0275\u0275directiveInject(o.ViewContainerRef))},Ke.\u0275cmp=o.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(U,fe){if(1&U&&o.\u0275\u0275viewQuery(o.TemplateRef,5),2&U){let Pe;o.\u0275\u0275queryRefresh(Pe=o.\u0275\u0275loadQuery())&&(fe._template=Pe.first)}},ngContentSelectors:ze,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(U,fe){1&U&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275template(0,ke,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}),Ke})(),gi=(()=>{class Ke{}return Ke.\u0275fac=function(U){return new(U||Ke)},Ke.\u0275mod=o.\u0275\u0275defineNgModule({type:Ke}),Ke.\u0275inj=o.\u0275\u0275defineInjector({providers:[re,Pi],imports:[b.CommonModule,$e,p.U8,n.rt,C.eL,a.MatCommonModule,st.ZD]}),Ke})()},6385:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MatDivider:()=>b,MatDividerModule:()=>o});var n=g(5879),p=g(2495),C=g(3680);let b=(()=>{class v{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(c){this._vertical=(0,p.Ig)(c)}get inset(){return this._inset}set inset(c){this._inset=(0,p.Ig)(c)}}return v.\u0275fac=function(c){return new(c||v)},v.\u0275cmp=n.\u0275\u0275defineComponent({type:v,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(c,s){2&c&&(n.\u0275\u0275attribute("aria-orientation",s.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",s.vertical)("mat-divider-horizontal",!s.vertical)("mat-divider-inset",s.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(c,s){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),v})(),o=(()=>{class v{}return v.\u0275fac=function(c){return new(c||v)},v.\u0275mod=n.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=n.\u0275\u0275defineInjector({imports:[C.MatCommonModule,C.MatCommonModule]}),v})()},1043:(Se,X,g)=>{"use strict";g.d(X,{Bi:()=>St,Eo:()=>Mt,G_:()=>xt,Lv:()=>bt,Px:()=>ne,TN:()=>st,UO:()=>tt,Ve:()=>$,ab:()=>k});var n=g(5879),p=g(6825);const k=new n.InjectionToken("MatError"),ne=new n.InjectionToken("MatPrefix"),$=new n.InjectionToken("MatSuffix"),st={transitionMessages:(0,p.X$)("transitionMessages",[(0,p.SB)("enter",(0,p.oB)({opacity:1,transform:"translateY(0%)"})),(0,p.eR)("void => enter",[(0,p.oB)({opacity:0,transform:"translateY(-5px)"}),(0,p.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Mt=(()=>{class ie{}return ie.\u0275fac=function(Te){return new(Te||ie)},ie.\u0275dir=n.\u0275\u0275defineDirective({type:ie}),ie})();function tt(){return Error("Placeholder attribute and child element were both specified.")}function St(ie){return Error(`A hint was already declared for 'align="${ie}"'.`)}function bt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const xt=new n.InjectionToken("MatFormField")},617:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{ICON_REGISTRY_PROVIDER:()=>N,ICON_REGISTRY_PROVIDER_FACTORY:()=>j,MAT_ICON_DEFAULT_OPTIONS:()=>se,MAT_ICON_LOCATION:()=>ne,MAT_ICON_LOCATION_FACTORY:()=>me,MatIcon:()=>ue,MatIconModule:()=>Me,MatIconRegistry:()=>R,getMatIconFailedToSanitizeLiteralError:()=>E,getMatIconFailedToSanitizeUrlError:()=>O,getMatIconNameNotFoundError:()=>A,getMatIconNoHttpProviderError:()=>T});var n=g(5879),p=g(3680),C=g(2495),b=g(6814),o=g(2096),v=g(8504),a=g(9315),c=g(7394),s=g(9397),l=g(7398),d=g(6306),r=g(4716),u=g(3020),h=g(8180),m=g(9862),_=g(6593);const M=["*"];let x;function L(Oe){return function w(){if(void 0===x&&(x=null,typeof window<"u")){const Oe=window;void 0!==Oe.trustedTypes&&(x=Oe.trustedTypes.createPolicy("angular#components",{createHTML:Xe=>Xe}))}return x}()?.createHTML(Oe)||Oe}function A(Oe){return Error(`Unable to find icon with the name "${Oe}"`)}function T(){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 O(Oe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Oe}".`)}function E(Oe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Oe}".`)}class D{constructor(Xe,Be,$e){this.url=Xe,this.svgText=Be,this.options=$e}}let R=(()=>{class Oe{constructor(Be,$e,st,Mt){this._httpClient=Be,this._sanitizer=$e,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=st}addSvgIcon(Be,$e,st){return this.addSvgIconInNamespace("",Be,$e,st)}addSvgIconLiteral(Be,$e,st){return this.addSvgIconLiteralInNamespace("",Be,$e,st)}addSvgIconInNamespace(Be,$e,st,Mt){return this._addSvgIconConfig(Be,$e,new D(st,null,Mt))}addSvgIconResolver(Be){return this._resolvers.push(Be),this}addSvgIconLiteralInNamespace(Be,$e,st,Mt){const tt=this._sanitizer.sanitize(n.SecurityContext.HTML,st);if(!tt)throw E(st);const St=L(tt);return this._addSvgIconConfig(Be,$e,new D("",St,Mt))}addSvgIconSet(Be,$e){return this.addSvgIconSetInNamespace("",Be,$e)}addSvgIconSetLiteral(Be,$e){return this.addSvgIconSetLiteralInNamespace("",Be,$e)}addSvgIconSetInNamespace(Be,$e,st){return this._addSvgIconSetConfig(Be,new D($e,null,st))}addSvgIconSetLiteralInNamespace(Be,$e,st){const Mt=this._sanitizer.sanitize(n.SecurityContext.HTML,$e);if(!Mt)throw E($e);const tt=L(Mt);return this._addSvgIconSetConfig(Be,new D("",tt,st))}registerFontClassAlias(Be,$e=Be){return this._fontCssClassesByAlias.set(Be,$e),this}classNameForFontAlias(Be){return this._fontCssClassesByAlias.get(Be)||Be}setDefaultFontSetClass(...Be){return this._defaultFontSetClass=Be,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Be){const $e=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Be);if(!$e)throw O(Be);const st=this._cachedIconsByUrl.get($e);return st?(0,o.of)(S(st)):this._loadSvgIconFromConfig(new D(Be,null)).pipe((0,s.b)(Mt=>this._cachedIconsByUrl.set($e,Mt)),(0,l.U)(Mt=>S(Mt)))}getNamedSvgIcon(Be,$e=""){const st=k($e,Be);let Mt=this._svgIconConfigs.get(st);if(Mt)return this._getSvgFromConfig(Mt);if(Mt=this._getIconConfigFromResolvers($e,Be),Mt)return this._svgIconConfigs.set(st,Mt),this._getSvgFromConfig(Mt);const tt=this._iconSetConfigs.get($e);return tt?this._getSvgFromIconSetConfigs(Be,tt):(0,v._)(A(st))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Be){return Be.svgText?(0,o.of)(S(this._svgElementFromConfig(Be))):this._loadSvgIconFromConfig(Be).pipe((0,l.U)($e=>S($e)))}_getSvgFromIconSetConfigs(Be,$e){const st=this._extractIconWithNameFromAnySet(Be,$e);if(st)return(0,o.of)(st);const Mt=$e.filter(tt=>!tt.svgText).map(tt=>this._loadSvgIconSetFromConfig(tt).pipe((0,d.K)(St=>{const xt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,tt.url)} failed: ${St.message}`;return this._errorHandler.handleError(new Error(xt)),(0,o.of)(null)})));return(0,a.D)(Mt).pipe((0,l.U)(()=>{const tt=this._extractIconWithNameFromAnySet(Be,$e);if(!tt)throw A(Be);return tt}))}_extractIconWithNameFromAnySet(Be,$e){for(let st=$e.length-1;st>=0;st--){const Mt=$e[st];if(Mt.svgText&&Mt.svgText.toString().indexOf(Be)>-1){const tt=this._svgElementFromConfig(Mt),St=this._extractSvgIconFromSet(tt,Be,Mt.options);if(St)return St}}return null}_loadSvgIconFromConfig(Be){return this._fetchIcon(Be).pipe((0,s.b)($e=>Be.svgText=$e),(0,l.U)(()=>this._svgElementFromConfig(Be)))}_loadSvgIconSetFromConfig(Be){return Be.svgText?(0,o.of)(null):this._fetchIcon(Be).pipe((0,s.b)($e=>Be.svgText=$e))}_extractSvgIconFromSet(Be,$e,st){const Mt=Be.querySelector(`[id="${$e}"]`);if(!Mt)return null;const tt=Mt.cloneNode(!0);if(tt.removeAttribute("id"),"svg"===tt.nodeName.toLowerCase())return this._setSvgAttributes(tt,st);if("symbol"===tt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(tt),st);const St=this._svgElementFromString(L(""));return St.appendChild(tt),this._setSvgAttributes(St,st)}_svgElementFromString(Be){const $e=this._document.createElement("DIV");$e.innerHTML=Be;const st=$e.querySelector("svg");if(!st)throw Error(" tag not found");return st}_toSvgElement(Be){const $e=this._svgElementFromString(L("")),st=Be.attributes;for(let Mt=0;MtL(xt)),(0,r.x)(()=>this._inProgressUrlFetches.delete(tt)),(0,u.B)());return this._inProgressUrlFetches.set(tt,bt),bt}_addSvgIconConfig(Be,$e,st){return this._svgIconConfigs.set(k(Be,$e),st),this}_addSvgIconSetConfig(Be,$e){const st=this._iconSetConfigs.get(Be);return st?st.push($e):this._iconSetConfigs.set(Be,[$e]),this}_svgElementFromConfig(Be){if(!Be.svgElement){const $e=this._svgElementFromString(Be.svgText);this._setSvgAttributes($e,Be.options),Be.svgElement=$e}return Be.svgElement}_getIconConfigFromResolvers(Be,$e){for(let st=0;stXe?Xe.pathname+Xe.search:""}}const $=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],q=$.map(Oe=>`[${Oe}]`).join(", "),Q=/^url\(['"]?#(.*?)['"]?\)$/;let ue=(()=>{class Oe extends Y{get inline(){return this._inline}set inline(Be){this._inline=(0,C.Ig)(Be)}get svgIcon(){return this._svgIcon}set svgIcon(Be){Be!==this._svgIcon&&(Be?this._updateSvgIcon(Be):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Be)}get fontSet(){return this._fontSet}set fontSet(Be){const $e=this._cleanupFontValue(Be);$e!==this._fontSet&&(this._fontSet=$e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Be){const $e=this._cleanupFontValue(Be);$e!==this._fontIcon&&(this._fontIcon=$e,this._updateFontIconClasses())}constructor(Be,$e,st,Mt,tt,St){super(Be),this._iconRegistry=$e,this._location=Mt,this._errorHandler=tt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=c.w0.EMPTY,St&&(St.color&&(this.color=this.defaultColor=St.color),St.fontSet&&(this.fontSet=St.fontSet)),st||Be.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Be){if(!Be)return["",""];const $e=Be.split(":");switch($e.length){case 1:return["",$e[0]];case 2:return $e;default:throw Error(`Invalid icon name: "${Be}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Be=this._elementsWithExternalReferences;if(Be&&Be.size){const $e=this._location.getPathname();$e!==this._previousPath&&(this._previousPath=$e,this._prependPathToReferences($e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Be){this._clearSvgElement();const $e=this._location.getPathname();this._previousPath=$e,this._cacheChildrenWithExternalReferences(Be),this._prependPathToReferences($e),this._elementRef.nativeElement.appendChild(Be)}_clearSvgElement(){const Be=this._elementRef.nativeElement;let $e=Be.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();$e--;){const st=Be.childNodes[$e];(1!==st.nodeType||"svg"===st.nodeName.toLowerCase())&&st.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Be=this._elementRef.nativeElement,$e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(st=>st.length>0);this._previousFontSetClass.forEach(st=>Be.classList.remove(st)),$e.forEach(st=>Be.classList.add(st)),this._previousFontSetClass=$e,this.fontIcon!==this._previousFontIconClass&&!$e.includes("mat-ligature-font")&&(this._previousFontIconClass&&Be.classList.remove(this._previousFontIconClass),this.fontIcon&&Be.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Be){return"string"==typeof Be?Be.trim().split(" ")[0]:Be}_prependPathToReferences(Be){const $e=this._elementsWithExternalReferences;$e&&$e.forEach((st,Mt)=>{st.forEach(tt=>{Mt.setAttribute(tt.name,`url('${Be}#${tt.value}')`)})})}_cacheChildrenWithExternalReferences(Be){const $e=Be.querySelectorAll(q),st=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Mt=0;Mt<$e.length;Mt++)$.forEach(tt=>{const St=$e[Mt],bt=St.getAttribute(tt),xt=bt?bt.match(Q):null;if(xt){let nt=st.get(St);nt||(nt=[],st.set(St,nt)),nt.push({name:tt,value:xt[1]})}})}_updateSvgIcon(Be){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Be){const[$e,st]=this._splitIconName(Be);$e&&(this._svgNamespace=$e),st&&(this._svgName=st),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(st,$e).pipe((0,h.q)(1)).subscribe(Mt=>this._setSvgElement(Mt),Mt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${$e}:${st}! ${Mt.message}`))})}}}return Oe.\u0275fac=function(Be){return new(Be||Oe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(R),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(ne),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(se,8))},Oe.\u0275cmp=n.\u0275\u0275defineComponent({type:Oe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Be,$e){2&Be&&(n.\u0275\u0275attribute("data-mat-icon-type",$e._usingFontIcon()?"font":"svg")("data-mat-icon-name",$e._svgName||$e.fontIcon)("data-mat-icon-namespace",$e._svgNamespace||$e.fontSet)("fontIcon",$e._usingFontIcon()?$e.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",$e.inline)("mat-icon-no-color","primary"!==$e.color&&"accent"!==$e.color&&"warn"!==$e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:M,decls:1,vars:0,template:function(Be,$e){1&Be&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),Oe})(),Me=(()=>{class Oe{}return Oe.\u0275fac=function(Be){return new(Be||Oe)},Oe.\u0275mod=n.\u0275\u0275defineNgModule({type:Oe}),Oe.\u0275inj=n.\u0275\u0275defineInjector({imports:[p.MatCommonModule,p.MatCommonModule]}),Oe})()},4516:(Se,X,g)=>{"use strict";g.d(X,{Jk:()=>l,Nt:()=>h,b7:()=>s});var n=g(2495),p=g(2831),C=g(6263),b=g(5879),o=g(6223),v=g(3680),a=g(1043),c=g(8645);function s(_){return Error(`Input type "${_}" isn't supported by matInput.`)}const l=new b.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),d=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let r=0;const u=(0,v.mixinErrorState)(class{constructor(_,M,x,w){this._defaultErrorStateMatcher=_,this._parentForm=M,this._parentFormGroup=x,this.ngControl=w,this.stateChanges=new c.x}});let h=(()=>{class _ extends u{get disabled(){return this._disabled}set disabled(x){this._disabled=(0,n.Ig)(x),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(x){this._id=x||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(o.Validators.required)??!1}set required(x){this._required=(0,n.Ig)(x)}get type(){return this._type}set type(x){this._type=x||"text",this._validateType(),!this._isTextarea&&(0,p.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(x){x!==this.value&&(this._inputValueAccessor.value=x,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(x){this._readonly=(0,n.Ig)(x)}constructor(x,w,L,A,T,O,E,D,R,j){super(O,A,T,L),this._elementRef=x,this._platform=w,this._autofillMonitor=D,this._formField=j,this._uid="mat-input-"+r++,this.focused=!1,this.stateChanges=new c.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(k=>(0,p.qK)().has(k)),this._iOSKeyupListener=k=>{const F=k.target;!F.value&&0===F.selectionStart&&0===F.selectionEnd&&(F.setSelectionRange(1,1),F.setSelectionRange(0,0))};const N=this._elementRef.nativeElement,S=N.nodeName.toLowerCase();this._inputValueAccessor=E||N,this._previousNativeValue=this.value,this.id=this.id,w.IOS&&R.runOutsideAngular(()=>{x.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===S,this._isTextarea="textarea"===S,this._isInFormField=!!j,this._isNativeSelect&&(this.controlType=N.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(x=>{this.autofilled=x.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),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(x){this._elementRef.nativeElement.focus(x)}_focusChanged(x){x!==this.focused&&(this.focused=x,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const x=this._elementRef.nativeElement.value;this._previousNativeValue!==x&&(this._previousNativeValue=x,this.stateChanges.next())}_dirtyCheckPlaceholder(){const x=this._getPlaceholder();if(x!==this._previousPlaceholder){const w=this._elementRef.nativeElement;this._previousPlaceholder=x,x?w.setAttribute("placeholder",x):w.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){d.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let x=this._elementRef.nativeElement.validity;return x&&x.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const x=this._elementRef.nativeElement,w=x.options[0];return this.focused||x.multiple||!this.empty||!!(x.selectedIndex>-1&&w&&w.label)}return this.focused||!this.empty}setDescribedByIds(x){x.length?this._elementRef.nativeElement.setAttribute("aria-describedby",x.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const x=this._elementRef.nativeElement;return this._isNativeSelect&&(x.multiple||x.size>1)}}return _.\u0275fac=function(x){return new(x||_)(b.\u0275\u0275directiveInject(b.ElementRef),b.\u0275\u0275directiveInject(p.t4),b.\u0275\u0275directiveInject(o.NgControl,10),b.\u0275\u0275directiveInject(o.NgForm,8),b.\u0275\u0275directiveInject(o.FormGroupDirective,8),b.\u0275\u0275directiveInject(v.ErrorStateMatcher),b.\u0275\u0275directiveInject(l,10),b.\u0275\u0275directiveInject(C.Lq),b.\u0275\u0275directiveInject(b.NgZone),b.\u0275\u0275directiveInject(a.G_,8))},_.\u0275dir=b.\u0275\u0275defineDirective({type:_,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(x,w){1&x&&b.\u0275\u0275listener("focus",function(){return w._focusChanged(!0)})("blur",function(){return w._focusChanged(!1)})("input",function(){return w._onInput()}),2&x&&(b.\u0275\u0275hostProperty("id",w.id)("disabled",w.disabled)("required",w.required),b.\u0275\u0275attribute("name",w.name||null)("readonly",w.readonly&&!w._isNativeSelect||null)("aria-invalid",w.empty&&w.required?null:w.errorState)("aria-required",w.required)("id",w.id),b.\u0275\u0275classProp("mat-input-server",w._isServer)("mat-mdc-form-field-textarea-control",w._isInFormField&&w._isTextarea)("mat-mdc-form-field-input-control",w._isInFormField)("mdc-text-field__input",w._isInFormField)("mat-mdc-native-select-inline",w._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[b.\u0275\u0275ProvidersFeature([{provide:a.Eo,useExisting:_}]),b.\u0275\u0275InheritDefinitionFeature,b.\u0275\u0275NgOnChangesFeature]}),_})()},9241:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>$,MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>q,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY:()=>$e,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>st,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Mt,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>vt,MatLegacyAutocomplete:()=>ot,MatLegacyAutocompleteModule:()=>Ce,MatLegacyAutocompleteOrigin:()=>J,MatLegacyAutocompleteSelectedEvent:()=>ne,MatLegacyAutocompleteTrigger:()=>rt,getMatLegacyAutocompleteMissingPanelError:()=>Be});var n=g(5879),p=g(3680),C=g(4678),b=g(6814),o=g(6672),v=g(9594),a=g(4300),c=g(2495),s=g(2831),d=(g(6825),g(7394)),r=g(8645),u=g(4911),h=g(3019),m=g(2096),_=g(2438),M=g(6028),x=g(8484),w=g(6223),L=g(1043),A=g(7921),T=g(4664),O=g(8180),E=g(2181),D=g(7398),R=g(9397),j=g(7547),N=g(9388);const S=["panel"];let se=0;class ne{constructor(ae,ie){this.source=ae,this.option=ie}}const me=(0,p.mixinDisableRipple)(class{}),$=new n.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:q});function q(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}let Q=(()=>{class ee extends me{get isOpen(){return this._isOpen&&this.showPanel}_setColor(ie){this._color=ie,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(ie){this._autoActiveFirstOption=(0,c.Ig)(ie)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(ie){this._autoSelectActiveOption=(0,c.Ig)(ie)}set classList(ie){this._classList=ie&&ie.length?(0,c.du)(ie).reduce((pe,Te)=>(pe[Te]=!0,pe),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(ie,pe,Te,ct){super(),this._changeDetectorRef=ie,this._elementRef=pe,this._defaults=Te,this._activeOptionChanges=d.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new n.EventEmitter,this.opened=new n.EventEmitter,this.closed=new n.EventEmitter,this.optionActivated=new n.EventEmitter,this._classList={},this.id="mat-autocomplete-"+se++,this.inertGroups=ct?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new a.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(ie=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[ie]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(ie){this.panel&&(this.panel.nativeElement.scrollTop=ie)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(ie){const pe=new ne(this,ie);this.optionSelected.emit(pe)}_getPanelAriaLabelledby(ie){return this.ariaLabel?null:this.ariaLabelledby?(ie?ie+" ":"")+this.ariaLabelledby:ie}_setVisibilityClasses(ie){ie[this._visibleClass]=this.showPanel,ie[this._hiddenClass]=!this.showPanel}_setThemeClasses(ie){ie["mat-primary"]="primary"===this._color,ie["mat-warn"]="warn"===this._color,ie["mat-accent"]="accent"===this._color}_skipPredicate(ie){return ie.disabled}}return ee.\u0275fac=function(ie){return new(ie||ee)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject($),n.\u0275\u0275directiveInject(s.t4))},ee.\u0275dir=n.\u0275\u0275defineDirective({type:ee,viewQuery:function(ie,pe){if(1&ie&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(S,5)),2&ie){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(pe.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(pe.panel=Te.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[n.\u0275\u0275InheritDefinitionFeature]}),ee})(),Me=(()=>{class ee{constructor(ie){this.elementRef=ie}}return ee.\u0275fac=function(ie){return new(ie||ee)(n.\u0275\u0275directiveInject(n.ElementRef))},ee.\u0275dir=n.\u0275\u0275defineDirective({type:ee}),ee})();function Be(){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 $e=new n.InjectionToken("mat-autocomplete-scroll-strategy");function st(ee){return()=>ee.scrollStrategies.reposition()}const Mt={provide:$e,deps:[v.aV],useFactory:st};let tt=(()=>{class ee{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(ie){this._autocompleteDisabled=(0,c.Ig)(ie)}constructor(ie,pe,Te,ct,Lt,Dt,Kt,ze,yt,Bt,$t){this._element=ie,this._overlay=pe,this._viewContainerRef=Te,this._zone=ct,this._changeDetectorRef=Lt,this._dir=Kt,this._formField=ze,this._document=yt,this._viewportRuler=Bt,this._defaults=$t,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=d.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new r.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,u.P)(()=>{const Yt=this.autocomplete?this.autocomplete.options:null;return Yt?Yt.changes.pipe((0,A.O)(Yt),(0,T.w)(()=>(0,h.T)(...Yt.map(Ue=>Ue.onSelectionChange)))):this._zone.onStable.pipe((0,O.q)(1),(0,T.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Yt=>{(Yt.keyCode===M.hY&&!(0,M.Vb)(Yt)||Yt.keyCode===M.LH&&(0,M.Vb)(Yt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Yt.stopPropagation(),Yt.preventDefault())},this._trackedModal=null,this._scrollStrategy=Dt}ngAfterViewInit(){const ie=this._getWindow();typeof ie<"u"&&this._zone.runOutsideAngular(()=>ie.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(ie){ie.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const ie=this._getWindow();typeof ie<"u"&&ie.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,h.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,E.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,E.h)(()=>this._overlayAttached)):(0,m.of)()).pipe((0,D.U)(ie=>ie instanceof p.MatOptionSelectionChange?ie:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,h.T)((0,_.R)(this._document,"click"),(0,_.R)(this._document,"auxclick"),(0,_.R)(this._document,"touchend")).pipe((0,E.h)(ie=>{const pe=(0,s.sA)(ie),Te=this._formField?this._formField._elementRef.nativeElement:null,ct=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&pe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(pe))&&(!ct||!ct.contains(pe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(pe)}))}writeValue(ie){Promise.resolve(null).then(()=>this._assignOptionValue(ie))}registerOnChange(ie){this._onChange=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this._element.nativeElement.disabled=ie}_handleKeydown(ie){const pe=ie.keyCode,Te=(0,M.Vb)(ie);if(pe===M.hY&&!Te&&ie.preventDefault(),this.activeOption&&pe===M.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),ie.preventDefault();else if(this.autocomplete){const ct=this.autocomplete._keyManager.activeItem,Lt=pe===M.LH||pe===M.JH;pe===M.Mf||Lt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(ie):Lt&&this._canOpen()&&this.openPanel(),(Lt||this.autocomplete._keyManager.activeItem!==ct)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(ie){let pe=ie.target,Te=pe.value;"number"===pe.type&&(Te=""==Te?null:parseFloat(Te)),this._previousValue!==Te&&(this._previousValue=Te,this._pendingAutoselectedOption=null,this._onChange(Te),Te||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===ie.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(ie=!1){this._formField&&"auto"===this._formField.floatLabel&&(ie?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const ie=this._zone.onStable.pipe((0,O.q)(1)),pe=this.autocomplete.options.changes.pipe((0,R.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,j.g)(0));return(0,h.T)(ie,pe).pipe((0,T.w)(()=>(this._zone.run(()=>{const Te=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Te!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,O.q)(1)).subscribe(Te=>this._setValueAndClose(Te))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(ie){const pe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(ie):ie;this._updateNativeInputValue(pe??"")}_updateNativeInputValue(ie){this._formField?this._formField._control.value=ie:this._element.nativeElement.value=ie,this._previousValue=ie}_setValueAndClose(ie){const pe=ie?ie.source:this._pendingAutoselectedOption;pe&&(this._clearPreviousSelectedOption(pe),this._assignOptionValue(pe.value),this._onChange(pe.value),this.autocomplete._emitSelectEvent(pe),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(ie,pe){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==ie&&Te.selected&&Te.deselect(pe)})}_attachOverlay(){let ie=this._overlayRef;ie?(this._positionStrategy.setOrigin(this._getConnectedElement()),ie.updateSize({width:this._getPanelWidth()})):(this._portal=new x.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),ie=this._overlay.create(this._getOverlayConfig()),this._overlayRef=ie,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&ie&&ie.updateSize({width:this._getPanelWidth()})})),ie&&!ie.hasAttached()&&(ie.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const pe=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&pe!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const ie=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=ie.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=ie.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new v.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const ie=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(ie),this._positionStrategy=ie,ie}_setStrategyPositions(ie){const pe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,ct=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Te},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Te}];let Lt;Lt="above"===this.position?ct:"below"===this.position?pe:[...pe,...ct],ie.withPositions(Lt)}_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 ie=this.autocomplete;if(ie.autoActiveFirstOption){let pe=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!ie)return;const pe=this.autocomplete.id;this._trackedModal&&(0,a.iD)(this._trackedModal,"aria-owns",pe),(0,a.Zf)(ie,"aria-owns",pe),this._trackedModal=ie}_clearFromModal(){this._trackedModal&&((0,a.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return ee.\u0275fac=function(ie){return new(ie||ee)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(v.aV),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject($e),n.\u0275\u0275directiveInject(N.Is,8),n.\u0275\u0275directiveInject(L.G_,9),n.\u0275\u0275directiveInject(b.DOCUMENT,8),n.\u0275\u0275directiveInject(o.rL),n.\u0275\u0275directiveInject($,8))},ee.\u0275dir=n.\u0275\u0275defineDirective({type:ee,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[n.\u0275\u0275NgOnChangesFeature]}),ee})();function xt(ee,ae){if(1&ee&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&ee){const ie=ae.id,pe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",pe.id)("ngClass",pe._classList),n.\u0275\u0275attribute("aria-label",pe.ariaLabel||null)("aria-labelledby",pe._getPanelAriaLabelledby(ie))}}const nt=["*"];let ot=(()=>{class ee extends Q{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return ee.\u0275fac=function(){let ae;return function(pe){return(ae||(ae=n.\u0275\u0275getInheritedFactory(ee)))(pe||ee)}}(),ee.\u0275cmp=n.\u0275\u0275defineComponent({type:ee,selectors:[["mat-autocomplete"]],contentQueries:function(ie,pe,Te){if(1&ie&&(n.\u0275\u0275contentQuery(Te,p.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,C.MatLegacyOption,5)),2&ie){let ct;n.\u0275\u0275queryRefresh(ct=n.\u0275\u0275loadQuery())&&(pe.optionGroups=ct),n.\u0275\u0275queryRefresh(ct=n.\u0275\u0275loadQuery())&&(pe.options=ct)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[n.\u0275\u0275ProvidersFeature([{provide:p.MAT_OPTION_PARENT_COMPONENT,useExisting:ee}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nt,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(ie,pe){1&ie&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,xt,3,4,"ng-template"))},dependencies:[b.NgClass],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),ee})();const vt={provide:w.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>rt),multi:!0};let rt=(()=>{class ee extends tt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return ee.\u0275fac=function(){let ae;return function(pe){return(ae||(ae=n.\u0275\u0275getInheritedFactory(ee)))(pe||ee)}}(),ee.\u0275dir=n.\u0275\u0275defineDirective({type:ee,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(ie,pe){1&ie&&n.\u0275\u0275listener("focusin",function(){return pe._handleFocus()})("blur",function(){return pe._onTouched()})("input",function(ct){return pe._handleInput(ct)})("keydown",function(ct){return pe._handleKeydown(ct)})("click",function(){return pe._handleClick()}),2&ie&&n.\u0275\u0275attribute("autocomplete",pe.autocompleteAttribute)("role",pe.autocompleteDisabled?null:"combobox")("aria-autocomplete",pe.autocompleteDisabled?null:"list")("aria-activedescendant",pe.panelOpen&&pe.activeOption?pe.activeOption.id:null)("aria-expanded",pe.autocompleteDisabled?null:pe.panelOpen.toString())("aria-owns",pe.autocompleteDisabled||!pe.panelOpen||null==pe.autocomplete?null:pe.autocomplete.id)("aria-haspopup",pe.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[n.\u0275\u0275ProvidersFeature([vt]),n.\u0275\u0275InheritDefinitionFeature]}),ee})(),J=(()=>{class ee extends Me{}return ee.\u0275fac=function(){let ae;return function(pe){return(ae||(ae=n.\u0275\u0275getInheritedFactory(ee)))(pe||ee)}}(),ee.\u0275dir=n.\u0275\u0275defineDirective({type:ee,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ee})(),Ce=(()=>{class ee{}return ee.\u0275fac=function(ie){return new(ie||ee)},ee.\u0275mod=n.\u0275\u0275defineNgModule({type:ee}),ee.\u0275inj=n.\u0275\u0275defineInjector({providers:[Mt],imports:[v.U8,C.MatLegacyOptionModule,p.MatCommonModule,b.CommonModule,o.ZD,C.MatLegacyOptionModule,p.MatCommonModule]}),ee})()},4505:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MatLegacyAnchor:()=>d,MatLegacyButton:()=>l,MatLegacyButtonModule:()=>r});var n=g(5879),p=g(3680),C=g(4300);const b=["mat-button",""],o=["*"],c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],s=(0,p.mixinColor)((0,p.mixinDisabled)((0,p.mixinDisableRipple)(class{constructor(u){this._elementRef=u}})));let l=(()=>{class u extends s{constructor(m,_,M){super(m),this._focusMonitor=_,this._animationMode=M,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const x of c)this._hasHostAttributes(x)&&this._getHostElement().classList.add(x);m.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(m,_){m?this._focusMonitor.focusVia(this._getHostElement(),m,_):this._getHostElement().focus(_)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...m){return m.some(_=>this._getHostElement().hasAttribute(_))}}return u.\u0275fac=function(m){return new(m||u)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(C.tE),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},u.\u0275cmp=n.\u0275\u0275defineComponent({type:u,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(m,_){if(1&m&&n.\u0275\u0275viewQuery(p.MatRipple,5),2&m){let M;n.\u0275\u0275queryRefresh(M=n.\u0275\u0275loadQuery())&&(_.ripple=M.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(m,_){2&m&&(n.\u0275\u0275attribute("disabled",_.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===_._animationMode)("mat-button-disabled",_.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:o,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(m,_){1&m&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&m&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",_.isRoundButton||_.isIconButton),n.\u0275\u0275property("matRippleDisabled",_._isRippleDisabled())("matRippleCentered",_.isIconButton)("matRippleTrigger",_._getHostElement()))},dependencies:[p.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),u})(),d=(()=>{class u extends l{constructor(m,_,M,x){super(_,m,M),this._ngZone=x,this._haltDisabledEvents=w=>{this.disabled&&(w.preventDefault(),w.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return u.\u0275fac=function(m){return new(m||u)(n.\u0275\u0275directiveInject(C.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(n.NgZone,8))},u.\u0275cmp=n.\u0275\u0275defineComponent({type:u,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(m,_){2&m&&(n.\u0275\u0275attribute("tabindex",_.disabled?-1:_.tabIndex)("disabled",_.disabled||null)("aria-disabled",_.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===_._animationMode)("mat-button-disabled",_.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:o,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(m,_){1&m&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&m&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",_.isRoundButton||_.isIconButton),n.\u0275\u0275property("matRippleDisabled",_._isRippleDisabled())("matRippleCentered",_.isIconButton)("matRippleTrigger",_._getHostElement()))},dependencies:[p.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),u})(),r=(()=>{class u{}return u.\u0275fac=function(m){return new(m||u)},u.\u0275mod=n.\u0275\u0275defineNgModule({type:u}),u.\u0275inj=n.\u0275\u0275defineInjector({imports:[p.MatRippleModule,p.MatCommonModule,p.MatCommonModule]}),u})()},9025:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MatLegacyCard:()=>L,MatLegacyCardActions:()=>r,MatLegacyCardAvatar:()=>w,MatLegacyCardContent:()=>s,MatLegacyCardFooter:()=>u,MatLegacyCardHeader:()=>A,MatLegacyCardImage:()=>h,MatLegacyCardLgImage:()=>M,MatLegacyCardMdImage:()=>_,MatLegacyCardModule:()=>O,MatLegacyCardSmImage:()=>m,MatLegacyCardSubtitle:()=>d,MatLegacyCardTitle:()=>l,MatLegacyCardTitleGroup:()=>T,MatLegacyCardXlImage:()=>x});var n=g(5879),p=g(3680);const C=["*",[["mat-card-footer"]]],b=["*","mat-card-footer"],o=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],v=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],a=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],c=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let s=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),E})(),l=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),E})(),d=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),E})(),r=(()=>{class E{constructor(){this.align="start"}}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(R,j){2&R&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===j.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),E})(),u=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),E})(),h=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),E})(),m=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),E})(),_=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),E})(),M=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),E})(),x=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),E})(),w=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275dir=n.\u0275\u0275defineDirective({type:E,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),E})(),L=(()=>{class E{constructor(R){this._animationMode=R}}return E.\u0275fac=function(R){return new(R||E)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},E.\u0275cmp=n.\u0275\u0275defineComponent({type:E,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(R,j){2&R&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===j._animationMode)},exportAs:["matCard"],ngContentSelectors:b,decls:2,vars:0,template:function(R,j){1&R&&(n.\u0275\u0275projectionDef(C),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),E})(),A=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275cmp=n.\u0275\u0275defineComponent({type:E,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:v,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(R,j){1&R&&(n.\u0275\u0275projectionDef(o),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),E})(),T=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275cmp=n.\u0275\u0275defineComponent({type:E,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:c,decls:4,vars:0,template:function(R,j){1&R&&(n.\u0275\u0275projectionDef(a),n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(2,1),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),E})(),O=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275mod=n.\u0275\u0275defineNgModule({type:E}),E.\u0275inj=n.\u0275\u0275defineInjector({imports:[p.MatCommonModule,p.MatCommonModule]}),E})()},4021:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>R,MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS:()=>s,MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>l,MAT_LEGACY_CHECKBOX_REQUIRED_VALIDATOR:()=>x,MatLegacyCheckbox:()=>j,MatLegacyCheckboxChange:()=>D,MatLegacyCheckboxModule:()=>N,MatLegacyCheckboxRequiredValidator:()=>w,_MatLegacyCheckboxRequiredValidatorModule:()=>L});var n=g(4300),p=g(5879),C=g(6223),b=g(3680),o=g(2495);const v=["input"],a=["label"],s=new p.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:l});function l(){return{color:"accent",clickAction:"check-indeterminate"}}let u=0;const h=l(),m=(0,b.mixinTabIndex)((0,b.mixinColor)((0,b.mixinDisableRipple)((0,b.mixinDisabled)(class{constructor(S){this._elementRef=S}}))));let _=(()=>{class S extends m{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(F){this._required=(0,o.Ig)(F)}constructor(F,Y,se,ne,me,$,q){super(Y),this._changeDetectorRef=se,this._ngZone=ne,this._animationMode=$,this._options=q,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new p.EventEmitter,this.indeterminateChange=new p.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||h,this.color=this.defaultColor=this._options.color||h.color,this.tabIndex=parseInt(me)||0,this.id=this._uniqueId=`${F}${++u}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(F){const Y=(0,o.Ig)(F);Y!=this.checked&&(this._checked=Y,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(F){const Y=(0,o.Ig)(F);Y!==this.disabled&&(this._disabled=Y,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(F){const Y=F!=this._indeterminate;this._indeterminate=(0,o.Ig)(F),Y&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(F){this.checked=!!F}registerOnChange(F){this._controlValueAccessorChangeFn=F}registerOnTouched(F){this._onTouched=F}setDisabledState(F){this.disabled=F}_transitionCheckState(F){let Y=this._currentCheckState,se=this._getAnimationTargetElement();if(Y!==F&&se&&(this._currentAnimationClass&&se.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(Y,F),this._currentCheckState=F,this._currentAnimationClass.length>0)){se.classList.add(this._currentAnimationClass);const ne=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{se.classList.remove(ne)},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 F=this._options?.clickAction;this.disabled||"noop"===F?!this.disabled&&"noop"===F&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==F&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(F){F.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(F,Y){if("NoopAnimations"===this._animationMode)return"";switch(F){case 0:if(1===Y)return this._animationClasses.uncheckedToChecked;if(3==Y)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===Y?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===Y?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===Y?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(F){const Y=this._inputElement;Y&&(Y.nativeElement.indeterminate=F)}}return S.\u0275fac=function(F){p.\u0275\u0275invalidFactory()},S.\u0275dir=p.\u0275\u0275defineDirective({type:S,viewQuery:function(F,Y){if(1&F&&(p.\u0275\u0275viewQuery(v,5),p.\u0275\u0275viewQuery(a,5),p.\u0275\u0275viewQuery(b.MatRipple,5)),2&F){let se;p.\u0275\u0275queryRefresh(se=p.\u0275\u0275loadQuery())&&(Y._inputElement=se.first),p.\u0275\u0275queryRefresh(se=p.\u0275\u0275loadQuery())&&(Y._labelElement=se.first),p.\u0275\u0275queryRefresh(se=p.\u0275\u0275loadQuery())&&(Y.ripple=se.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[p.\u0275\u0275InheritDefinitionFeature]}),S})();const x={provide:C.NG_VALIDATORS,useExisting:(0,p.forwardRef)(()=>w),multi:!0};let w=(()=>{class S extends C.CheckboxRequiredValidator{}return S.\u0275fac=function(){let k;return function(Y){return(k||(k=p.\u0275\u0275getInheritedFactory(S)))(Y||S)}}(),S.\u0275dir=p.\u0275\u0275defineDirective({type:S,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[p.\u0275\u0275ProvidersFeature([x]),p.\u0275\u0275InheritDefinitionFeature]}),S})(),L=(()=>{class S{}return S.\u0275fac=function(F){return new(F||S)},S.\u0275mod=p.\u0275\u0275defineNgModule({type:S}),S.\u0275inj=p.\u0275\u0275defineInjector({}),S})();var T=g(7131);const O=function(S){return{enterDuration:S}},E=["*"];class D{}const R={provide:C.NG_VALUE_ACCESSOR,useExisting:(0,p.forwardRef)(()=>j),multi:!0};let j=(()=>{class S extends _{constructor(F,Y,se,ne,me,$,q){super("mat-checkbox-",F,Y,ne,me,$,q),this._focusMonitor=se,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(F){const Y=new D;return Y.source=this,Y.checked=F,Y}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(F=>{F||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(F){F.stopPropagation(),super._handleInputClick()}focus(F,Y){F?this._focusMonitor.focusVia(this._inputElement,F,Y):this._inputElement.nativeElement.focus(Y)}}return S.\u0275fac=function(F){return new(F||S)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275directiveInject(n.tE),p.\u0275\u0275directiveInject(p.NgZone),p.\u0275\u0275injectAttribute("tabindex"),p.\u0275\u0275directiveInject(p.ANIMATION_MODULE_TYPE,8),p.\u0275\u0275directiveInject(s,8))},S.\u0275cmp=p.\u0275\u0275defineComponent({type:S,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(F,Y){2&F&&(p.\u0275\u0275hostProperty("id",Y.id),p.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),p.\u0275\u0275classProp("mat-checkbox-indeterminate",Y.indeterminate)("mat-checkbox-checked",Y.checked)("mat-checkbox-disabled",Y.disabled)("mat-checkbox-label-before","before"==Y.labelPosition)("_mat-animation-noopable","NoopAnimations"===Y._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[p.\u0275\u0275ProvidersFeature([R]),p.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:E,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(F,Y){if(1&F&&(p.\u0275\u0275projectionDef(),p.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),p.\u0275\u0275listener("change",function(ne){return Y._onInteractionEvent(ne)})("click",function(ne){return Y._onInputClick(ne)}),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(5,"span",5),p.\u0275\u0275element(6,"span",6),p.\u0275\u0275elementEnd(),p.\u0275\u0275element(7,"span",7),p.\u0275\u0275elementStart(8,"span",8),p.\u0275\u0275namespaceSVG(),p.\u0275\u0275elementStart(9,"svg",9),p.\u0275\u0275element(10,"path",10),p.\u0275\u0275elementEnd(),p.\u0275\u0275namespaceHTML(),p.\u0275\u0275element(11,"span",11),p.\u0275\u0275elementEnd()(),p.\u0275\u0275elementStart(12,"span",12,13),p.\u0275\u0275listener("cdkObserveContent",function(){return Y._onLabelTextChange()}),p.\u0275\u0275elementStart(14,"span",14),p.\u0275\u0275text(15,"\xa0"),p.\u0275\u0275elementEnd(),p.\u0275\u0275projection(16),p.\u0275\u0275elementEnd()()),2&F){const se=p.\u0275\u0275reference(1),ne=p.\u0275\u0275reference(13);p.\u0275\u0275attribute("for",Y.inputId),p.\u0275\u0275advance(2),p.\u0275\u0275classProp("mat-checkbox-inner-container-no-side-margin",!ne.textContent||!ne.textContent.trim()),p.\u0275\u0275advance(1),p.\u0275\u0275property("id",Y.inputId)("required",Y.required)("checked",Y.checked)("disabled",Y.disabled)("tabIndex",Y.tabIndex),p.\u0275\u0275attribute("value",Y.value)("name",Y.name)("aria-label",Y.ariaLabel||null)("aria-labelledby",Y.ariaLabelledby)("aria-describedby",Y.ariaDescribedby),p.\u0275\u0275advance(2),p.\u0275\u0275property("matRippleTrigger",se)("matRippleDisabled",Y._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",p.\u0275\u0275pureFunction1(18,O,"NoopAnimations"===Y._animationMode?0:150))}},dependencies:[b.MatRipple,T.wD],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),S})(),N=(()=>{class S{}return S.\u0275fac=function(F){return new(F||S)},S.\u0275mod=p.\u0275\u0275defineNgModule({type:S}),S.\u0275inj=p.\u0275\u0275defineInjector({imports:[b.MatRippleModule,b.MatCommonModule,T.Q8,L,b.MatCommonModule,L]}),S})()},4678:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{LEGACY_VERSION:()=>C.VERSION,LegacyAnimationCurves:()=>C.AnimationCurves,LegacyAnimationDurations:()=>C.AnimationDurations,LegacyDateAdapter:()=>C.DateAdapter,LegacyErrorStateMatcher:()=>C.ErrorStateMatcher,LegacyNativeDateAdapter:()=>C.NativeDateAdapter,LegacyNativeDateModule:()=>C.NativeDateModule,LegacyRippleRef:()=>C.RippleRef,LegacyRippleRenderer:()=>C.RippleRenderer,LegacyShowOnDirtyErrorStateMatcher:()=>C.ShowOnDirtyErrorStateMatcher,MATERIAL_LEGACY_SANITY_CHECKS:()=>C.MATERIAL_SANITY_CHECKS,MAT_LEGACY_DATE_FORMATS:()=>C.MAT_DATE_FORMATS,MAT_LEGACY_DATE_LOCALE:()=>C.MAT_DATE_LOCALE,MAT_LEGACY_DATE_LOCALE_FACTORY:()=>C.MAT_DATE_LOCALE_FACTORY,MAT_LEGACY_NATIVE_DATE_FORMATS:()=>C.MAT_NATIVE_DATE_FORMATS,MAT_LEGACY_OPTGROUP:()=>C.MAT_OPTGROUP,MAT_LEGACY_OPTION_PARENT_COMPONENT:()=>C.MAT_OPTION_PARENT_COMPONENT,MAT_LEGACY_RIPPLE_GLOBAL_OPTIONS:()=>C.MAT_RIPPLE_GLOBAL_OPTIONS,MatLegacyCommonModule:()=>C.MatCommonModule,MatLegacyLine:()=>C.MatLine,MatLegacyLineModule:()=>C.MatLineModule,MatLegacyNativeDateModule:()=>C.MatNativeDateModule,MatLegacyOptgroup:()=>s,MatLegacyOption:()=>l,MatLegacyOptionModule:()=>d,MatLegacyOptionSelectionChange:()=>C.MatOptionSelectionChange,MatLegacyPseudoCheckbox:()=>C.MatPseudoCheckbox,MatLegacyPseudoCheckboxModule:()=>C.MatPseudoCheckboxModule,MatLegacyRipple:()=>C.MatRipple,MatLegacyRippleModule:()=>C.MatRippleModule,_MatLegacyOptgroupBase:()=>C._MatOptgroupBase,_MatLegacyOptionBase:()=>C._MatOptionBase,_countGroupLabelsBeforeLegacyOption:()=>C._countGroupLabelsBeforeOption,_getLegacyOptionScrollPosition:()=>C._getOptionScrollPosition,legacyDefaultRippleAnimationConfig:()=>C.defaultRippleAnimationConfig,legacyMixinColor:()=>C.mixinColor,legacyMixinDisableRipple:()=>C.mixinDisableRipple,legacyMixinDisabled:()=>C.mixinDisabled,legacyMixinErrorState:()=>C.mixinErrorState,legacyMixinInitialized:()=>C.mixinInitialized,legacyMixinTabIndex:()=>C.mixinTabIndex,legacySetLines:()=>C.setLines});var n=g(5879),p=g(6814),C=g(3680);const b=["*",[["mat-option"],["ng-container"]]],o=["*","mat-option, ng-container"];function v(r,u){if(1&r&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",5),2&r){const h=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",h.selected?"checked":"unchecked")("disabled",h.disabled)}}function a(r,u){if(1&r&&(n.\u0275\u0275elementStart(0,"span",6),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&r){const h=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",h.group.label,")")}}const c=["*"];let s=(()=>{class r extends C._MatOptgroupBase{}return r.\u0275fac=function(){let u;return function(m){return(u||(u=n.\u0275\u0275getInheritedFactory(r)))(m||r)}}(),r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(h,m){2&h&&(n.\u0275\u0275attribute("role",m._inert?null:"group")("aria-disabled",m._inert?null:m.disabled.toString())("aria-labelledby",m._inert?null:m._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",m.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:C.MAT_OPTGROUP,useExisting:r}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:o,decls:4,vars:2,consts:[["role","presentation",1,"mat-optgroup-label",3,"id"]],template:function(h,m){1&h&&(n.\u0275\u0275projectionDef(b),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&h&&(n.\u0275\u0275property("id",m._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",m.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),r})(),l=(()=>{class r extends C._MatOptionBase{constructor(h,m,_,M){super(h,m,_,M)}}return r.\u0275fac=function(h){return new(h||r)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(C.MAT_OPTION_PARENT_COMPONENT,8),n.\u0275\u0275directiveInject(C.MAT_OPTGROUP,8))},r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(h,m){1&h&&n.\u0275\u0275listener("click",function(){return m._selectViaInteraction()})("keydown",function(M){return m._handleKeydown(M)}),2&h&&(n.\u0275\u0275hostProperty("id",m.id),n.\u0275\u0275attribute("tabindex",m._getTabIndex())("aria-selected",m.selected)("aria-disabled",m.disabled.toString()),n.\u0275\u0275classProp("mat-selected",m.selected)("mat-option-multiple",m.multiple)("mat-active",m.active)("mat-option-disabled",m.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:c,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(h,m){1&h&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,v,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,a,2,1,"span",3),n.\u0275\u0275element(5,"div",4)),2&h&&(n.\u0275\u0275property("ngIf",m.multiple),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngIf",m.group&&m.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",m._getHostElement())("matRippleDisabled",m.disabled||m.disableRipple))},dependencies:[C.MatRipple,p.NgIf,C.MatPseudoCheckbox],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),r})(),d=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275mod=n.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=n.\u0275\u0275defineInjector({imports:[C.MatRippleModule,p.CommonModule,C.MatCommonModule,C.MatPseudoCheckboxModule]}),r})()},4187:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_ERROR:()=>o.ab,MAT_LEGACY_FORM_FIELD:()=>o.G_,MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS:()=>Xe,MAT_LEGACY_PREFIX:()=>o.Px,MAT_LEGACY_SUFFIX:()=>o.Ve,MatLegacyError:()=>Y,MatLegacyFormField:()=>Be,MatLegacyFormFieldControl:()=>o.Eo,MatLegacyFormFieldModule:()=>Mt,MatLegacyHint:()=>me,MatLegacyLabel:()=>$,MatLegacyPlaceholder:()=>q,MatLegacyPrefix:()=>$e,MatLegacySuffix:()=>st,_MAT_LEGACY_HINT:()=>ne,getMatLegacyFormFieldDuplicatedHintError:()=>o.Bi,getMatLegacyFormFieldMissingControlError:()=>o.Lv,getMatLegacyFormFieldPlaceholderConflictError:()=>o.UO,matLegacyFormFieldAnimations:()=>o.TN});var n=g(7131),p=g(6814),C=g(5879),b=g(3680),o=g(1043),v=g(9388),a=g(2495),c=g(8645),s=g(3019),l=g(2438),d=g(7921),r=g(9773),u=g(8180),h=g(2831);const m=["connectionContainer"],_=["inputContainer"],M=["label"];function x(tt,St){1&tt&&(C.\u0275\u0275elementContainerStart(0),C.\u0275\u0275elementStart(1,"div",14),C.\u0275\u0275element(2,"div",15)(3,"div",16)(4,"div",17),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(5,"div",18),C.\u0275\u0275element(6,"div",15)(7,"div",16)(8,"div",17),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementContainerEnd())}function w(tt,St){if(1&tt){const bt=C.\u0275\u0275getCurrentView();C.\u0275\u0275elementStart(0,"div",19),C.\u0275\u0275listener("cdkObserveContent",function(){C.\u0275\u0275restoreView(bt);const nt=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(nt.updateOutlineGap())}),C.\u0275\u0275projection(1,1),C.\u0275\u0275elementEnd()}if(2&tt){const bt=C.\u0275\u0275nextContext();C.\u0275\u0275property("cdkObserveContentDisabled","outline"!=bt.appearance)}}function L(tt,St){if(1&tt&&(C.\u0275\u0275elementContainerStart(0),C.\u0275\u0275projection(1,2),C.\u0275\u0275elementStart(2,"span"),C.\u0275\u0275text(3),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementContainerEnd()),2&tt){const bt=C.\u0275\u0275nextContext(2);C.\u0275\u0275advance(3),C.\u0275\u0275textInterpolate(bt._control.placeholder)}}function A(tt,St){1&tt&&C.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function T(tt,St){1&tt&&(C.\u0275\u0275elementStart(0,"span",23),C.\u0275\u0275text(1," *"),C.\u0275\u0275elementEnd())}function O(tt,St){if(1&tt){const bt=C.\u0275\u0275getCurrentView();C.\u0275\u0275elementStart(0,"label",20,21),C.\u0275\u0275listener("cdkObserveContent",function(){C.\u0275\u0275restoreView(bt);const nt=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(nt.updateOutlineGap())}),C.\u0275\u0275template(2,L,4,1,"ng-container",12),C.\u0275\u0275template(3,A,1,0,"ng-content",12),C.\u0275\u0275template(4,T,2,0,"span",22),C.\u0275\u0275elementEnd()}if(2&tt){const bt=C.\u0275\u0275nextContext();C.\u0275\u0275classProp("mat-empty",bt._control.empty&&!bt._shouldAlwaysFloat())("mat-form-field-empty",bt._control.empty&&!bt._shouldAlwaysFloat())("mat-accent","accent"==bt.color)("mat-warn","warn"==bt.color),C.\u0275\u0275property("cdkObserveContentDisabled","outline"!=bt.appearance)("id",bt._labelId)("ngSwitch",bt._hasLabel()),C.\u0275\u0275attribute("for",bt._control.id)("aria-owns",bt._control.id),C.\u0275\u0275advance(2),C.\u0275\u0275property("ngSwitchCase",!1),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngSwitchCase",!0),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngIf",!bt.hideRequiredMarker&&bt._control.required&&!bt._control.disabled)}}function E(tt,St){1&tt&&(C.\u0275\u0275elementStart(0,"div",24),C.\u0275\u0275projection(1,4),C.\u0275\u0275elementEnd())}function D(tt,St){if(1&tt&&(C.\u0275\u0275elementStart(0,"div",25),C.\u0275\u0275element(1,"span",26),C.\u0275\u0275elementEnd()),2&tt){const bt=C.\u0275\u0275nextContext();C.\u0275\u0275advance(1),C.\u0275\u0275classProp("mat-accent","accent"==bt.color)("mat-warn","warn"==bt.color)}}function R(tt,St){if(1&tt&&(C.\u0275\u0275elementStart(0,"div"),C.\u0275\u0275projection(1,5),C.\u0275\u0275elementEnd()),2&tt){const bt=C.\u0275\u0275nextContext();C.\u0275\u0275property("@transitionMessages",bt._subscriptAnimationState)}}function j(tt,St){if(1&tt&&(C.\u0275\u0275elementStart(0,"div",30),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&tt){const bt=C.\u0275\u0275nextContext(2);C.\u0275\u0275property("id",bt._hintLabelId),C.\u0275\u0275advance(1),C.\u0275\u0275textInterpolate(bt.hintLabel)}}function N(tt,St){if(1&tt&&(C.\u0275\u0275elementStart(0,"div",27),C.\u0275\u0275template(1,j,2,2,"div",28),C.\u0275\u0275projection(2,6),C.\u0275\u0275element(3,"div",29),C.\u0275\u0275projection(4,7),C.\u0275\u0275elementEnd()),2&tt){const bt=C.\u0275\u0275nextContext();C.\u0275\u0275property("@transitionMessages",bt._subscriptAnimationState),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngIf",bt.hintLabel)}}const S=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],k=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let F=0,Y=(()=>{class tt{constructor(bt,xt){this.id="mat-error-"+F++,bt||xt.nativeElement.setAttribute("aria-live","polite")}}return tt.\u0275fac=function(bt){return new(bt||tt)(C.\u0275\u0275injectAttribute("aria-live"),C.\u0275\u0275directiveInject(C.ElementRef))},tt.\u0275dir=C.\u0275\u0275defineDirective({type:tt,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(bt,xt){2&bt&&C.\u0275\u0275attribute("id",xt.id)},inputs:{id:"id"},features:[C.\u0275\u0275ProvidersFeature([{provide:o.ab,useExisting:tt}])]}),tt})(),se=0;const ne=new C.InjectionToken("MatHint");let me=(()=>{class tt{constructor(){this.align="start",this.id="mat-hint-"+se++}}return tt.\u0275fac=function(bt){return new(bt||tt)},tt.\u0275dir=C.\u0275\u0275defineDirective({type:tt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(bt,xt){2&bt&&(C.\u0275\u0275attribute("id",xt.id)("align",null),C.\u0275\u0275classProp("mat-form-field-hint-end","end"===xt.align))},inputs:{align:"align",id:"id"},features:[C.\u0275\u0275ProvidersFeature([{provide:ne,useExisting:tt}])]}),tt})(),$=(()=>{class tt{}return tt.\u0275fac=function(bt){return new(bt||tt)},tt.\u0275dir=C.\u0275\u0275defineDirective({type:tt,selectors:[["mat-label"]]}),tt})(),q=(()=>{class tt{}return tt.\u0275fac=function(bt){return new(bt||tt)},tt.\u0275dir=C.\u0275\u0275defineDirective({type:tt,selectors:[["mat-placeholder"]]}),tt})(),Q=0;const Oe=(0,b.mixinColor)(class{constructor(tt){this._elementRef=tt}},"primary"),Xe=new C.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Be=(()=>{class tt extends Oe{get appearance(){return this._appearance}set appearance(bt){const xt=this._appearance;this._appearance=bt||this._defaults?.appearance||"legacy","outline"===this._appearance&&xt!==bt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(bt){this._hideRequiredMarker=(0,a.Ig)(bt)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(bt){this._hintLabel=bt,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(bt){bt!==this._floatLabel&&(this._floatLabel=bt||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(bt){this._explicitFormFieldControl=bt}constructor(bt,xt,nt,ot,vt,rt,J){super(bt),this._changeDetectorRef=xt,this._dir=nt,this._defaults=ot,this._platform=vt,this._ngZone=rt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new c.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Q++,this._labelId="mat-form-field-label-"+Q++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==J,this.appearance=ot?.appearance||"legacy",ot&&(this._hideRequiredMarker=!!ot.hideRequiredMarker,ot.color&&(this.color=this.defaultColor=ot.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const bt=this._control;bt.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${bt.controlType}`),bt.stateChanges.pipe((0,d.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),bt.ngControl&&bt.ngControl.valueChanges&&bt.ngControl.valueChanges.pipe((0,r.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,r.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,s.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,d.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,d.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,r.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(bt){const xt=this._control?this._control.ngControl:null;return xt&&xt[bt]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,l.R)(this._label.nativeElement,"transitionend").pipe((0,u.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let bt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&bt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const xt=this._hintChildren?this._hintChildren.find(ot=>"start"===ot.align):null,nt=this._hintChildren?this._hintChildren.find(ot=>"end"===ot.align):null;xt?bt.push(xt.id):this._hintLabel&&bt.push(this._hintLabelId),nt&&bt.push(nt.id)}else this._errorChildren&&bt.push(...this._errorChildren.map(xt=>xt.id));this._control.setDescribedByIds(bt)}}_validateControlChild(){}updateOutlineGap(){const bt=this._label?this._label.nativeElement:null,xt=this._connectionContainerRef.nativeElement,nt=".mat-form-field-outline-start",ot=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!bt||!bt.children.length||!bt.textContent.trim()){const ee=xt.querySelectorAll(`${nt}, ${ot}`);for(let ae=0;ae0?.75*Te+10:0}for(let ee=0;ee{class tt{}return tt.\u0275fac=function(bt){return new(bt||tt)},tt.\u0275dir=C.\u0275\u0275defineDirective({type:tt,selectors:[["","matPrefix",""]],features:[C.\u0275\u0275ProvidersFeature([{provide:o.Px,useExisting:tt}])]}),tt})(),st=(()=>{class tt{}return tt.\u0275fac=function(bt){return new(bt||tt)},tt.\u0275dir=C.\u0275\u0275defineDirective({type:tt,selectors:[["","matSuffix",""]],features:[C.\u0275\u0275ProvidersFeature([{provide:o.Ve,useExisting:tt}])]}),tt})(),Mt=(()=>{class tt{}return tt.\u0275fac=function(bt){return new(bt||tt)},tt.\u0275mod=C.\u0275\u0275defineNgModule({type:tt}),tt.\u0275inj=C.\u0275\u0275defineInjector({imports:[p.CommonModule,b.MatCommonModule,n.Q8,b.MatCommonModule]}),tt})()},2400:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>p.Jk,MatLegacyInput:()=>a,MatLegacyInputModule:()=>c,getMatLegacyInputUnsupportedTypeError:()=>p.b7});var n=g(5879),p=g(4516),C=g(1043),b=g(4187),o=g(6263),v=g(3680);let a=(()=>{class s extends p.Nt{constructor(){super(...arguments),this._legacyFormField=(0,n.inject)(C.G_,{optional:!0})}_getPlaceholder(){const d=this._legacyFormField;return d&&"legacy"===d.appearance&&!d._hasLabel?.()?null:this.placeholder}}return s.\u0275fac=function(){let l;return function(r){return(l||(l=n.\u0275\u0275getInheritedFactory(s)))(r||s)}}(),s.\u0275dir=n.\u0275\u0275defineDirective({type:s,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(d,r){2&d&&(n.\u0275\u0275attribute("data-placeholder",r.placeholder),n.\u0275\u0275classProp("mat-input-server",r._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",r._isInlineSelect()))},exportAs:["matInput"],features:[n.\u0275\u0275ProvidersFeature([{provide:C.Eo,useExisting:s}]),n.\u0275\u0275InheritDefinitionFeature]}),s})(),c=(()=>{class s{}return s.\u0275fac=function(d){return new(d||s)},s.\u0275mod=n.\u0275\u0275defineNgModule({type:s}),s.\u0275inj=n.\u0275\u0275defineInjector({providers:[v.ErrorStateMatcher],imports:[o.Ky,b.MatLegacyFormFieldModule,v.MatCommonModule,o.Ky,b.MatLegacyFormFieldModule]}),s})()},6718:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_MENU_CONTENT:()=>me,MAT_LEGACY_MENU_DEFAULT_OPTIONS:()=>Xe,MAT_LEGACY_MENU_PANEL:()=>S,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Mt,MatLegacyMenu:()=>ie,MatLegacyMenuContent:()=>ct,MatLegacyMenuItem:()=>pe,MatLegacyMenuModule:()=>Lt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ue,matLegacyMenuAnimations:()=>Q,transformLegacyMenu:()=>Me});var n=g(5879),p=g(4300),C=g(2495),b=g(6028),o=g(8645),v=g(3019),a=g(7394),c=g(2096),s=g(6410),l=g(7921),d=g(4664),r=g(8180),u=g(9773),h=g(2181),m=g(7547),_=g(3680),M=g(6814),x=g(8484),w=g(6825),L=g(9388),A=g(9594),T=g(2831);const O=["mat-menu-item",""];function E(Dt,Kt){1&Dt&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const D=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],R=["mat-icon, [matMenuItemIcon]","*"],S=new n.InjectionToken("MAT_MENU_PANEL"),k=(0,_.mixinDisableRipple)((0,_.mixinDisabled)(class{}));let F=(()=>{class Dt extends k{constructor(ze,yt,Bt,$t,Yt){super(),this._elementRef=ze,this._document=yt,this._focusMonitor=Bt,this._parentMenu=$t,this._changeDetectorRef=Yt,this.role="menuitem",this._hovered=new o.x,this._focused=new o.x,this._highlighted=!1,this._triggersSubmenu=!1,$t?.addItem?.(this)}focus(ze,yt){this._focusMonitor&&ze?this._focusMonitor.focusVia(this._getHostElement(),ze,yt):this._getHostElement().focus(yt),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(ze){this.disabled&&(ze.preventDefault(),ze.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ze=this._elementRef.nativeElement.cloneNode(!0),yt=ze.querySelectorAll("mat-icon, .material-icons");for(let Bt=0;Bt{class Dt{constructor(ze,yt,Bt,$t,Yt,Ue,We){this._template=ze,this._componentFactoryResolver=yt,this._appRef=Bt,this._injector=$t,this._viewContainerRef=Yt,this._document=Ue,this._changeDetectorRef=We,this._attached=new o.x}attach(ze={}){this._portal||(this._portal=new x.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new x.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const yt=this._template.elementRef.nativeElement;yt.parentNode.insertBefore(this._outlet.outletElement,yt),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ze),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return Dt.\u0275fac=function(ze){return new(ze||Dt)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ApplicationRef),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(M.DOCUMENT),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},Dt.\u0275dir=n.\u0275\u0275defineDirective({type:Dt}),Dt})();const Q={transformMenu:(0,w.X$)("transformMenu",[(0,w.SB)("void",(0,w.oB)({opacity:0,transform:"scale(0.8)"})),(0,w.eR)("void => enter",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,w.oB)({opacity:1,transform:"scale(1)"}))),(0,w.eR)("* => void",(0,w.jt)("100ms 25ms linear",(0,w.oB)({opacity:0})))]),fadeInItems:(0,w.X$)("fadeInItems",[(0,w.SB)("showing",(0,w.oB)({opacity:1})),(0,w.eR)("void => *",[(0,w.oB)({opacity:0}),(0,w.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ue=Q.fadeInItems,Me=Q.transformMenu;let Oe=0;const Xe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Be(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let $e=(()=>{class Dt{get xPosition(){return this._xPosition}set xPosition(ze){this._xPosition=ze,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ze){this._yPosition=ze,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ze){this._overlapTrigger=(0,C.Ig)(ze)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ze){this._hasBackdrop=(0,C.Ig)(ze)}set panelClass(ze){const yt=this._previousPanelClass;yt&&yt.length&&yt.split(" ").forEach(Bt=>{this._classList[Bt]=!1}),this._previousPanelClass=ze,ze&&ze.length&&(ze.split(" ").forEach(Bt=>{this._classList[Bt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ze){this.panelClass=ze}constructor(ze,yt,Bt,$t){this._elementRef=ze,this._ngZone=yt,this._changeDetectorRef=$t,this._directDescendantItems=new n.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new o.x,this.closed=new n.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Oe++,this.overlayPanelClass=Bt.overlayPanelClass||"",this._xPosition=Bt.xPosition,this._yPosition=Bt.yPosition,this.backdropClass=Bt.backdropClass,this._overlapTrigger=Bt.overlapTrigger,this._hasBackdrop=Bt.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new p.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,l.O)(this._directDescendantItems),(0,d.w)(ze=>(0,v.T)(...ze.map(yt=>yt._focused)))).subscribe(ze=>this._keyManager.updateActiveItem(ze)),this._directDescendantItems.changes.subscribe(ze=>{const yt=this._keyManager;if("enter"===this._panelAnimationState&&yt.activeItem?._hasFocus()){const Bt=ze.toArray(),$t=Math.max(0,Math.min(Bt.length-1,yt.activeItemIndex||0));Bt[$t]&&!Bt[$t].disabled?yt.setActiveItem($t):yt.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,l.O)(this._directDescendantItems),(0,d.w)(yt=>(0,v.T)(...yt.map(Bt=>Bt._hovered))))}addItem(ze){}removeItem(ze){}_handleKeydown(ze){const yt=ze.keyCode,Bt=this._keyManager;switch(yt){case b.hY:(0,b.Vb)(ze)||(ze.preventDefault(),this.closed.emit("keydown"));break;case b.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case b.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(yt===b.LH||yt===b.JH)&&Bt.setFocusOrigin("keyboard"),void Bt.onKeydown(ze)}ze.stopPropagation()}focusFirstItem(ze="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,r.q)(1)).subscribe(()=>{let yt=null;if(this._directDescendantItems.length&&(yt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!yt||!yt.contains(document.activeElement)){const Bt=this._keyManager;Bt.setFocusOrigin(ze).setFirstItemActive(),!Bt.activeItem&&yt&&yt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ze){const yt=Math.min(this._baseElevation+ze,24),Bt=`${this._elevationPrefix}${yt}`,$t=Object.keys(this._classList).find(Yt=>Yt.startsWith(this._elevationPrefix));(!$t||$t===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Bt]=!0,this._previousElevation=Bt)}setPositionClasses(ze=this.xPosition,yt=this.yPosition){const Bt=this._classList;Bt["mat-menu-before"]="before"===ze,Bt["mat-menu-after"]="after"===ze,Bt["mat-menu-above"]="above"===yt,Bt["mat-menu-below"]="below"===yt,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ze){this._animationDone.next(ze),this._isAnimating=!1}_onAnimationStart(ze){this._isAnimating=!0,"enter"===ze.toState&&0===this._keyManager.activeItemIndex&&(ze.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,l.O)(this._allItems)).subscribe(ze=>{this._directDescendantItems.reset(ze.filter(yt=>yt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Dt.\u0275fac=function(ze){return new(ze||Dt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Xe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},Dt.\u0275dir=n.\u0275\u0275defineDirective({type:Dt,contentQueries:function(ze,yt,Bt){if(1&ze&&(n.\u0275\u0275contentQuery(Bt,me,5),n.\u0275\u0275contentQuery(Bt,F,5),n.\u0275\u0275contentQuery(Bt,F,4)),2&ze){let $t;n.\u0275\u0275queryRefresh($t=n.\u0275\u0275loadQuery())&&(yt.lazyContent=$t.first),n.\u0275\u0275queryRefresh($t=n.\u0275\u0275loadQuery())&&(yt._allItems=$t),n.\u0275\u0275queryRefresh($t=n.\u0275\u0275loadQuery())&&(yt.items=$t)}},viewQuery:function(ze,yt){if(1&ze&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&ze){let Bt;n.\u0275\u0275queryRefresh(Bt=n.\u0275\u0275loadQuery())&&(yt.templateRef=Bt.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),Dt})();const Mt=new n.InjectionToken("mat-menu-scroll-strategy"),St={provide:Mt,deps:[A.aV],useFactory:function tt(Dt){return()=>Dt.scrollStrategies.reposition()}},bt=(0,T.i$)({passive:!0});let nt=(()=>{class Dt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ze){this.menu=ze}get menu(){return this._menu}set menu(ze){ze!==this._menu&&(this._menu=ze,this._menuCloseSubscription.unsubscribe(),ze&&(this._menuCloseSubscription=ze.close.subscribe(yt=>{this._destroyMenu(yt),("click"===yt||"tab"===yt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(yt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ze,yt,Bt,$t,Yt,Ue,We,ve,we){this._overlay=ze,this._element=yt,this._viewContainerRef=Bt,this._menuItemInstance=Ue,this._dir=We,this._focusMonitor=ve,this._ngZone=we,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=a.w0.EMPTY,this._hoverSubscription=a.w0.EMPTY,this._menuCloseSubscription=a.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=at=>{(0,p.yG)(at)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new n.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=$t,this._parentMaterialMenu=Yt instanceof $e?Yt:void 0,yt.nativeElement.addEventListener("touchstart",this._handleTouchStart,bt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,bt),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 ze=this.menu;if(this._menuOpen||!ze)return;const yt=this._createOverlay(ze),Bt=yt.getConfig(),$t=Bt.positionStrategy;this._setPosition(ze,$t),Bt.hasBackdrop=null==ze.hasBackdrop?!this.triggersSubmenu():ze.hasBackdrop,yt.attach(this._getPortal(ze)),ze.lazyContent&&ze.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ze),ze instanceof $e&&(ze._startAnimation(),ze._directDescendantItems.changes.pipe((0,u.R)(ze.close)).subscribe(()=>{$t.withLockedPosition(!1).reapplyLastPosition(),$t.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ze,yt){this._focusMonitor&&ze?this._focusMonitor.focusVia(this._element,ze,yt):this._element.nativeElement.focus(yt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ze){if(!this._overlayRef||!this.menuOpen)return;const yt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ze||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,yt instanceof $e?(yt._resetAnimation(),yt.lazyContent?yt._animationDone.pipe((0,h.h)(Bt=>"void"===Bt.toState),(0,r.q)(1),(0,u.R)(yt.lazyContent._attached)).subscribe({next:()=>yt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),yt?.lazyContent?.detach())}_initMenu(ze){ze.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ze.direction=this.dir,this._setMenuElevation(ze),ze.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ze){if(ze.setElevation){let yt=0,Bt=ze.parentMenu;for(;Bt;)yt++,Bt=Bt.parentMenu;ze.setElevation(yt)}}_setIsMenuOpen(ze){ze!==this._menuOpen&&(this._menuOpen=ze,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ze),this._changeDetectorRef.markForCheck())}_createOverlay(ze){if(!this._overlayRef){const yt=this._getOverlayConfig(ze);this._subscribeToPositions(ze,yt.positionStrategy),this._overlayRef=this._overlay.create(yt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ze){return new A.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ze.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ze.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ze,yt){ze.setPositionClasses&&yt.positionChanges.subscribe(Bt=>{const $t="start"===Bt.connectionPair.overlayX?"after":"before",Yt="top"===Bt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ze.setPositionClasses($t,Yt)):ze.setPositionClasses($t,Yt)})}_setPosition(ze,yt){let[Bt,$t]="before"===ze.xPosition?["end","start"]:["start","end"],[Yt,Ue]="above"===ze.yPosition?["bottom","top"]:["top","bottom"],[We,ve]=[Yt,Ue],[we,at]=[Bt,$t],De=0;if(this.triggersSubmenu()){if(at=Bt="before"===ze.xPosition?"start":"end",$t=we="end"===Bt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const je=this._parentMaterialMenu.items.first;this._parentInnerPadding=je?je._getHostElement().offsetTop:0}De="bottom"===Yt?this._parentInnerPadding:-this._parentInnerPadding}}else ze.overlapTrigger||(We="top"===Yt?"bottom":"top",ve="top"===Ue?"bottom":"top");yt.withPositions([{originX:Bt,originY:We,overlayX:we,overlayY:Yt,offsetY:De},{originX:$t,originY:We,overlayX:at,overlayY:Yt,offsetY:De},{originX:Bt,originY:ve,overlayX:we,overlayY:Ue,offsetY:-De},{originX:$t,originY:ve,overlayX:at,overlayY:Ue,offsetY:-De}])}_menuClosingActions(){const ze=this._overlayRef.backdropClick(),yt=this._overlayRef.detachments(),Bt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,c.of)(),$t=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,h.h)(Yt=>Yt!==this._menuItemInstance),(0,h.h)(()=>this._menuOpen)):(0,c.of)();return(0,v.T)(ze,Bt,$t,yt)}_handleMousedown(ze){(0,p.X6)(ze)||(this._openedBy=0===ze.button?"mouse":void 0,this.triggersSubmenu()&&ze.preventDefault())}_handleKeydown(ze){const yt=ze.keyCode;(yt===b.K5||yt===b.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(yt===b.SV&&"ltr"===this.dir||yt===b.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ze){this.triggersSubmenu()?(ze.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,h.h)(ze=>ze===this._menuItemInstance&&!ze.disabled),(0,m.g)(0,s.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof $e&&this.menu._isAnimating?this.menu._animationDone.pipe((0,r.q)(1),(0,m.g)(0,s.E),(0,u.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ze){return(!this._portal||this._portal.templateRef!==ze.templateRef)&&(this._portal=new x.UE(ze.templateRef,this._viewContainerRef)),this._portal}}return Dt.\u0275fac=function(ze){return new(ze||Dt)(n.\u0275\u0275directiveInject(A.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Mt),n.\u0275\u0275directiveInject(S,8),n.\u0275\u0275directiveInject(F,10),n.\u0275\u0275directiveInject(L.Is,8),n.\u0275\u0275directiveInject(p.tE),n.\u0275\u0275directiveInject(n.NgZone))},Dt.\u0275dir=n.\u0275\u0275defineDirective({type:Dt,hostVars:3,hostBindings:function(ze,yt){1&ze&&n.\u0275\u0275listener("click",function($t){return yt._handleClick($t)})("mousedown",function($t){return yt._handleMousedown($t)})("keydown",function($t){return yt._handleKeydown($t)}),2&ze&&n.\u0275\u0275attribute("aria-haspopup",yt.menu?"menu":null)("aria-expanded",yt.menuOpen)("aria-controls",yt.menuOpen?yt.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),Dt})();var rt=g(6672);function J(Dt,Kt){if(1&Dt){const ze=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Bt){n.\u0275\u0275restoreView(ze);const $t=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView($t._handleKeydown(Bt))})("click",function(){n.\u0275\u0275restoreView(ze);const Bt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Bt.closed.emit("click"))})("@transformMenu.start",function(Bt){n.\u0275\u0275restoreView(ze);const $t=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView($t._onAnimationStart(Bt))})("@transformMenu.done",function(Bt){n.\u0275\u0275restoreView(ze);const $t=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView($t._onAnimationDone(Bt))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&Dt){const ze=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ze.panelId)("ngClass",ze._classList)("@transformMenu",ze._panelAnimationState),n.\u0275\u0275attribute("aria-label",ze.ariaLabel||null)("aria-labelledby",ze.ariaLabelledby||null)("aria-describedby",ze.ariaDescribedby||null)}}const Ce=["*"],ee=["mat-menu-item",""];function ae(Dt,Kt){1&Dt&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let ie=(()=>{class Dt extends $e{constructor(ze,yt,Bt,$t){super(ze,yt,Bt,$t),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return Dt.\u0275fac=function(ze){return new(ze||Dt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Xe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},Dt.\u0275cmp=n.\u0275\u0275defineComponent({type:Dt,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(ze,yt){2&ze&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:S,useExisting:Dt}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ce,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(ze,yt){1&ze&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,J,3,6,"ng-template"))},dependencies:[M.NgClass],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Q.transformMenu,Q.fadeInItems]},changeDetection:0}),Dt})(),pe=(()=>{class Dt extends F{}return Dt.\u0275fac=function(){let Kt;return function(yt){return(Kt||(Kt=n.\u0275\u0275getInheritedFactory(Dt)))(yt||Dt)}}(),Dt.\u0275cmp=n.\u0275\u0275defineComponent({type:Dt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(ze,yt){2&ze&&(n.\u0275\u0275attribute("role",yt.role)("tabindex",yt._getTabIndex())("aria-disabled",yt.disabled.toString())("disabled",yt.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",yt._highlighted)("mat-menu-item-submenu-trigger",yt._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[n.\u0275\u0275ProvidersFeature([{provide:F,useExisting:Dt}]),n.\u0275\u0275InheritDefinitionFeature],attrs:ee,ngContentSelectors:Ce,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ze,yt){1&ze&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ae,2,0,"svg",1)),2&ze&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",yt.disableRipple||yt.disabled)("matRippleTrigger",yt._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",yt._triggersSubmenu))},dependencies:[M.NgIf,_.MatRipple],encapsulation:2,changeDetection:0}),Dt})(),Te=(()=>{class Dt extends nt{}return Dt.\u0275fac=function(){let Kt;return function(yt){return(Kt||(Kt=n.\u0275\u0275getInheritedFactory(Dt)))(yt||Dt)}}(),Dt.\u0275dir=n.\u0275\u0275defineDirective({type:Dt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Dt})(),ct=(()=>{class Dt extends ${}return Dt.\u0275fac=function(){let Kt;return function(yt){return(Kt||(Kt=n.\u0275\u0275getInheritedFactory(Dt)))(yt||Dt)}}(),Dt.\u0275dir=n.\u0275\u0275defineDirective({type:Dt,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:me,useExisting:Dt}]),n.\u0275\u0275InheritDefinitionFeature]}),Dt})(),Lt=(()=>{class Dt{}return Dt.\u0275fac=function(ze){return new(ze||Dt)},Dt.\u0275mod=n.\u0275\u0275defineNgModule({type:Dt}),Dt.\u0275inj=n.\u0275\u0275defineInjector({providers:[St],imports:[M.CommonModule,_.MatCommonModule,_.MatRippleModule,A.U8,rt.ZD,_.MatCommonModule]}),Dt})()},9559:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{LegacyPageEvent:()=>Ce,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Ue,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>rt,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>vt,MatLegacyPaginator:()=>We,MatLegacyPaginatorIntl:()=>ot,MatLegacyPaginatorModule:()=>ve,_MatLegacyPaginatorBase:()=>ie});var n=g(6814),p=g(5879),C=g(3680),b=g(4505),o=g(1798),v=g(9594),a=g(4300),c=g(6672),s=g(9388),l=g(1088),d=g(2831),r=g(9773),u=g(8180),h=g(2495),m=g(6028),_=g(8484),M=g(8645);g(6825);const T=new p.InjectionToken("mat-tooltip-scroll-strategy"),E={provide:T,deps:[v.aV],useFactory:function O(we){return()=>we.scrollStrategies.reposition({scrollThrottle:20})}},R=new p.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function D(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),N="tooltip-panel",S=(0,d.i$)({passive:!0});let me=(()=>{class we{get position(){return this._position}set position(De){De!==this._position&&(this._position=De,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(De){this._positionAtOrigin=(0,h.Ig)(De),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(De){this._disabled=(0,h.Ig)(De),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(De){this._showDelay=(0,h.su)(De)}get hideDelay(){return this._hideDelay}set hideDelay(De){this._hideDelay=(0,h.su)(De),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(De){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=De?String(De).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(De){this._tooltipClass=De,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(De,je,ke,Z,re,ce,Ee,it,Rt,Ye,qe,Ne){this._overlay=De,this._elementRef=je,this._scrollDispatcher=ke,this._viewContainerRef=Z,this._ngZone=re,this._platform=ce,this._ariaDescriber=Ee,this._focusMonitor=it,this._dir=Ye,this._defaultOptions=qe,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new M.x,this._scrollStrategy=Rt,this._document=Ne,qe&&(this._showDelay=qe.showDelay,this._hideDelay=qe.hideDelay,qe.position&&(this.position=qe.position),qe.positionAtOrigin&&(this.positionAtOrigin=qe.positionAtOrigin),qe.touchGestures&&(this.touchGestures=qe.touchGestures)),Ye.change.pipe((0,r.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,r.R)(this._destroyed)).subscribe(De=>{De?"keyboard"===De&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const De=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([je,ke])=>{De.removeEventListener(je,ke,S)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(De,this.message,"tooltip"),this._focusMonitor.stopMonitoring(De)}show(De=this.showDelay,je){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ke=this._createOverlay(je);this._detach(),this._portal=this._portal||new _.C5(this._tooltipComponent,this._viewContainerRef);const Z=this._tooltipInstance=ke.attach(this._portal).instance;Z._triggerElement=this._elementRef.nativeElement,Z._mouseLeaveHideDelay=this._hideDelay,Z.afterHidden().pipe((0,r.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Z.show(De)}hide(De=this.hideDelay){const je=this._tooltipInstance;je&&(je.isVisible()?je.hide(De):(je._cancelPendingAnimations(),this._detach()))}toggle(De){this._isTooltipVisible()?this.hide():this.show(void 0,De)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(De){if(this._overlayRef){const Z=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!De)&&Z._origin instanceof p.ElementRef)return this._overlayRef;this._detach()}const je=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ke=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&De||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(je);return ke.positionChanges.pipe((0,r.R)(this._destroyed)).subscribe(Z=>{this._updateCurrentPositionClass(Z.connectionPair),this._tooltipInstance&&Z.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ke,panelClass:`${this._cssClassPrefix}-${N}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,r.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,r.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,r.R)(this._destroyed)).subscribe(Z=>{this._isTooltipVisible()&&Z.keyCode===m.hY&&!(0,m.Vb)(Z)&&(Z.preventDefault(),Z.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(De){const je=De.getConfig().positionStrategy,ke=this._getOrigin(),Z=this._getOverlayPosition();je.withPositions([this._addOffset({...ke.main,...Z.main}),this._addOffset({...ke.fallback,...Z.fallback})])}_addOffset(De){return De}_getOrigin(){const De=!this._dir||"ltr"==this._dir.value,je=this.position;let ke;"above"==je||"below"==je?ke={originX:"center",originY:"above"==je?"top":"bottom"}:"before"==je||"left"==je&&De||"right"==je&&!De?ke={originX:"start",originY:"center"}:("after"==je||"right"==je&&De||"left"==je&&!De)&&(ke={originX:"end",originY:"center"});const{x:Z,y:re}=this._invertPosition(ke.originX,ke.originY);return{main:ke,fallback:{originX:Z,originY:re}}}_getOverlayPosition(){const De=!this._dir||"ltr"==this._dir.value,je=this.position;let ke;"above"==je?ke={overlayX:"center",overlayY:"bottom"}:"below"==je?ke={overlayX:"center",overlayY:"top"}:"before"==je||"left"==je&&De||"right"==je&&!De?ke={overlayX:"end",overlayY:"center"}:("after"==je||"right"==je&&De||"left"==je&&!De)&&(ke={overlayX:"start",overlayY:"center"});const{x:Z,y:re}=this._invertPosition(ke.overlayX,ke.overlayY);return{main:ke,fallback:{overlayX:Z,overlayY:re}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1),(0,r.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(De){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=De,this._tooltipInstance._markForCheck())}_invertPosition(De,je){return"above"===this.position||"below"===this.position?"top"===je?je="bottom":"bottom"===je&&(je="top"):"end"===De?De="start":"start"===De&&(De="end"),{x:De,y:je}}_updateCurrentPositionClass(De){const{overlayY:je,originX:ke,originY:Z}=De;let re;if(re="center"===je?this._dir&&"rtl"===this._dir.value?"end"===ke?"left":"right":"start"===ke?"left":"right":"bottom"===je&&"top"===Z?"above":"below",re!==this._currentPosition){const ce=this._overlayRef;if(ce){const Ee=`${this._cssClassPrefix}-${N}-`;ce.removePanelClass(Ee+this._currentPosition),ce.addPanelClass(Ee+re)}this._currentPosition=re}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",De=>{let je;this._setupPointerExitEventsIfNeeded(),void 0!==De.x&&void 0!==De.y&&(je=De),this.show(void 0,je)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",De=>{const je=De.targetTouches?.[0],ke=je?{x:je.clientX,y:je.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,ke),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const De=[];if(this._platformSupportsMouseEvents())De.push(["mouseleave",je=>{const ke=je.relatedTarget;(!ke||!this._overlayRef?.overlayElement.contains(ke))&&this.hide()}],["wheel",je=>this._wheelListener(je)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const je=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};De.push(["touchend",je],["touchcancel",je])}this._addListeners(De),this._passiveListeners.push(...De)}_addListeners(De){De.forEach(([je,ke])=>{this._elementRef.nativeElement.addEventListener(je,ke,S)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(De){if(this._isTooltipVisible()){const je=this._document.elementFromPoint(De.clientX,De.clientY),ke=this._elementRef.nativeElement;je!==ke&&!ke.contains(je)&&this.hide()}}_disableNativeGesturesIfNecessary(){const De=this.touchGestures;if("off"!==De){const je=this._elementRef.nativeElement,ke=je.style;("on"===De||"INPUT"!==je.nodeName&&"TEXTAREA"!==je.nodeName)&&(ke.userSelect=ke.msUserSelect=ke.webkitUserSelect=ke.MozUserSelect="none"),("on"===De||!je.draggable)&&(ke.webkitUserDrag="none"),ke.touchAction="none",ke.webkitTapHighlightColor="transparent"}}}return we.\u0275fac=function(De){p.\u0275\u0275invalidFactory()},we.\u0275dir=p.\u0275\u0275defineDirective({type:we,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),we})(),q=(()=>{class we{constructor(De,je){this._changeDetectorRef=De,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new M.x,this._animationsDisabled="NoopAnimations"===je}show(De){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},De)}hide(De){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},De)}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:De}){(!De||!this._triggerElement.contains(De))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:De}){(De===this._showAnimation||De===this._hideAnimation)&&this._finalizeAnimation(De===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(De){De?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(De){const je=this._tooltip.nativeElement,ke=this._showAnimation,Z=this._hideAnimation;if(je.classList.remove(De?Z:ke),je.classList.add(De?ke:Z),this._isVisible=De,De&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const re=getComputedStyle(je);("0s"===re.getPropertyValue("animation-duration")||"none"===re.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}De&&this._onShow(),this._animationsDisabled&&(je.classList.add("_mat-animation-noopable"),this._finalizeAnimation(De))}}return we.\u0275fac=function(De){return new(De||we)(p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275directiveInject(p.ANIMATION_MODULE_TYPE,8))},we.\u0275dir=p.\u0275\u0275defineDirective({type:we}),we})();const Oe=["tooltip"];let Xe=(()=>{class we extends me{constructor(De,je,ke,Z,re,ce,Ee,it,Rt,Ye,qe,Ne){super(De,je,ke,Z,re,ce,Ee,it,Rt,Ye,qe,Ne),this._tooltipComponent=Be}}return we.\u0275fac=function(De){return new(De||we)(p.\u0275\u0275directiveInject(v.aV),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(c.mF),p.\u0275\u0275directiveInject(p.ViewContainerRef),p.\u0275\u0275directiveInject(p.NgZone),p.\u0275\u0275directiveInject(d.t4),p.\u0275\u0275directiveInject(a.$s),p.\u0275\u0275directiveInject(a.tE),p.\u0275\u0275directiveInject(T),p.\u0275\u0275directiveInject(s.Is,8),p.\u0275\u0275directiveInject(R,8),p.\u0275\u0275directiveInject(n.DOCUMENT))},we.\u0275dir=p.\u0275\u0275defineDirective({type:we,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(De,je){2&De&&p.\u0275\u0275classProp("mat-tooltip-disabled",je.disabled)},exportAs:["matTooltip"],features:[p.\u0275\u0275InheritDefinitionFeature]}),we})(),Be=(()=>{class we extends q{constructor(De,je,ke){super(De,ke),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=je.observe(l.u3.Handset)}}return we.\u0275fac=function(De){return new(De||we)(p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275directiveInject(l.Yg),p.\u0275\u0275directiveInject(p.ANIMATION_MODULE_TYPE,8))},we.\u0275cmp=p.\u0275\u0275defineComponent({type:we,selectors:[["mat-tooltip-component"]],viewQuery:function(De,je){if(1&De&&p.\u0275\u0275viewQuery(Oe,7),2&De){let ke;p.\u0275\u0275queryRefresh(ke=p.\u0275\u0275loadQuery())&&(je._tooltip=ke.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(De,je){1&De&&p.\u0275\u0275listener("mouseleave",function(Z){return je._handleMouseLeave(Z)}),2&De&&(p.\u0275\u0275attribute("mat-id-collision",null),p.\u0275\u0275styleProp("zoom",je.isVisible()?1:null))},features:[p.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(De,je){if(1&De&&(p.\u0275\u0275elementStart(0,"div",0,1),p.\u0275\u0275listener("animationend",function(Z){return je._handleAnimationEnd(Z)}),p.\u0275\u0275pipe(2,"async"),p.\u0275\u0275text(3),p.\u0275\u0275elementEnd()),2&De){let ke;p.\u0275\u0275classProp("mat-tooltip-handset",null==(ke=p.\u0275\u0275pipeBind1(2,4,je._isHandset))?null:ke.matches),p.\u0275\u0275property("ngClass",je.tooltipClass),p.\u0275\u0275advance(3),p.\u0275\u0275textInterpolate(je.message)}},dependencies:[n.NgClass,n.AsyncPipe],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),we})(),$e=(()=>{class we{}return we.\u0275fac=function(De){return new(De||we)},we.\u0275mod=p.\u0275\u0275defineNgModule({type:we}),we.\u0275inj=p.\u0275\u0275defineInjector({providers:[E],imports:[a.rt,n.CommonModule,v.U8,C.MatCommonModule,C.MatCommonModule,c.ZD]}),we})(),ot=(()=>{class we{constructor(){this.changes=new M.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(De,je,ke)=>{if(0==ke||0==je)return`0 of ${ke}`;const Z=De*je;return`${Z+1} \u2013 ${Z<(ke=Math.max(ke,0))?Math.min(Z+je,ke):Z+je} of ${ke}`}}}return we.\u0275fac=function(De){return new(De||we)},we.\u0275prov=p.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();function vt(we){return we||new ot}const rt={provide:ot,deps:[[new p.Optional,new p.SkipSelf,ot]],useFactory:vt};class Ce{}const ae=(0,C.mixinDisabled)((0,C.mixinInitialized)(class{}));let ie=(()=>{class we extends ae{get pageIndex(){return this._pageIndex}set pageIndex(De){this._pageIndex=Math.max((0,h.su)(De),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(De){this._length=(0,h.su)(De),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(De){this._pageSize=Math.max((0,h.su)(De),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(De){this._pageSizeOptions=(De||[]).map(je=>(0,h.su)(je)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(De){this._hidePageSize=(0,h.Ig)(De)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(De){this._showFirstLastButtons=(0,h.Ig)(De)}constructor(De,je,ke){if(super(),this._intl=De,this._changeDetectorRef=je,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new p.EventEmitter,this._intlChanges=De.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),ke){const{pageSize:Z,pageSizeOptions:re,hidePageSize:ce,showFirstLastButtons:Ee}=ke;null!=Z&&(this._pageSize=Z),null!=re&&(this._pageSizeOptions=re),null!=ce&&(this._hidePageSize=ce),null!=Ee&&(this._showFirstLastButtons=Ee)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const De=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(De)}previousPage(){if(!this.hasPreviousPage())return;const De=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(De)}firstPage(){if(!this.hasPreviousPage())return;const De=this.pageIndex;this.pageIndex=0,this._emitPageEvent(De)}lastPage(){if(!this.hasNextPage())return;const De=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(De)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const De=this.getNumberOfPages()-1;return this.pageIndexDe-je),this._changeDetectorRef.markForCheck())}_emitPageEvent(De){this.page.emit({previousPageIndex:De,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return we.\u0275fac=function(De){p.\u0275\u0275invalidFactory()},we.\u0275dir=p.\u0275\u0275defineDirective({type:we,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[p.\u0275\u0275InheritDefinitionFeature]}),we})();var Lt=g(4187),Dt=g(4678);function Kt(we,at){if(1&we&&(p.\u0275\u0275elementStart(0,"mat-option",19),p.\u0275\u0275text(1),p.\u0275\u0275elementEnd()),2&we){const De=at.$implicit;p.\u0275\u0275property("value",De),p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate1(" ",De," ")}}function ze(we,at){if(1&we){const De=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),p.\u0275\u0275listener("selectionChange",function(ke){p.\u0275\u0275restoreView(De);const Z=p.\u0275\u0275nextContext(2);return p.\u0275\u0275resetView(Z._changePageSize(ke.value))}),p.\u0275\u0275template(2,Kt,2,2,"mat-option",18),p.\u0275\u0275elementEnd()()}if(2&we){const De=p.\u0275\u0275nextContext(2);p.\u0275\u0275property("appearance",De._formFieldAppearance)("color",De.color),p.\u0275\u0275advance(1),p.\u0275\u0275property("value",De.pageSize)("disabled",De.disabled)("panelClass",De.selectConfig.panelClass||"")("disableOptionCentering",De.selectConfig.disableOptionCentering)("aria-label",De._intl.itemsPerPageLabel),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngForOf",De._displayedPageSizeOptions)}}function yt(we,at){if(1&we&&(p.\u0275\u0275elementStart(0,"div",20),p.\u0275\u0275text(1),p.\u0275\u0275elementEnd()),2&we){const De=p.\u0275\u0275nextContext(2);p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate(De.pageSize)}}function Bt(we,at){if(1&we&&(p.\u0275\u0275elementStart(0,"div",12)(1,"div",13),p.\u0275\u0275text(2),p.\u0275\u0275elementEnd(),p.\u0275\u0275template(3,ze,3,8,"mat-form-field",14),p.\u0275\u0275template(4,yt,2,1,"div",15),p.\u0275\u0275elementEnd()),2&we){const De=p.\u0275\u0275nextContext();p.\u0275\u0275advance(2),p.\u0275\u0275textInterpolate1(" ",De._intl.itemsPerPageLabel," "),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",De._displayedPageSizeOptions.length>1),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",De._displayedPageSizeOptions.length<=1)}}function $t(we,at){if(1&we){const De=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"button",21),p.\u0275\u0275listener("click",function(){p.\u0275\u0275restoreView(De);const ke=p.\u0275\u0275nextContext();return p.\u0275\u0275resetView(ke.firstPage())}),p.\u0275\u0275namespaceSVG(),p.\u0275\u0275elementStart(1,"svg",7),p.\u0275\u0275element(2,"path",22),p.\u0275\u0275elementEnd()()}if(2&we){const De=p.\u0275\u0275nextContext();p.\u0275\u0275property("matTooltip",De._intl.firstPageLabel)("matTooltipDisabled",De._previousButtonsDisabled())("matTooltipPosition","above")("disabled",De._previousButtonsDisabled()),p.\u0275\u0275attribute("aria-label",De._intl.firstPageLabel)}}function Yt(we,at){if(1&we){const De=p.\u0275\u0275getCurrentView();p.\u0275\u0275namespaceSVG(),p.\u0275\u0275namespaceHTML(),p.\u0275\u0275elementStart(0,"button",23),p.\u0275\u0275listener("click",function(){p.\u0275\u0275restoreView(De);const ke=p.\u0275\u0275nextContext();return p.\u0275\u0275resetView(ke.lastPage())}),p.\u0275\u0275namespaceSVG(),p.\u0275\u0275elementStart(1,"svg",7),p.\u0275\u0275element(2,"path",24),p.\u0275\u0275elementEnd()()}if(2&we){const De=p.\u0275\u0275nextContext();p.\u0275\u0275property("matTooltip",De._intl.lastPageLabel)("matTooltipDisabled",De._nextButtonsDisabled())("matTooltipPosition","above")("disabled",De._nextButtonsDisabled()),p.\u0275\u0275attribute("aria-label",De._intl.lastPageLabel)}}const Ue=new p.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let We=(()=>{class we extends ie{constructor(De,je,ke){super(De,je,ke),ke&&null!=ke.formFieldAppearance&&(this._formFieldAppearance=ke.formFieldAppearance)}}return we.\u0275fac=function(De){return new(De||we)(p.\u0275\u0275directiveInject(ot),p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275directiveInject(Ue,8))},we.\u0275cmp=p.\u0275\u0275defineComponent({type:we,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[p.\u0275\u0275InheritDefinitionFeature],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(De,je){1&De&&(p.\u0275\u0275elementStart(0,"div",0)(1,"div",1),p.\u0275\u0275template(2,Bt,5,3,"div",2),p.\u0275\u0275elementStart(3,"div",3)(4,"div",4),p.\u0275\u0275text(5),p.\u0275\u0275elementEnd(),p.\u0275\u0275template(6,$t,3,5,"button",5),p.\u0275\u0275elementStart(7,"button",6),p.\u0275\u0275listener("click",function(){return je.previousPage()}),p.\u0275\u0275namespaceSVG(),p.\u0275\u0275elementStart(8,"svg",7),p.\u0275\u0275element(9,"path",8),p.\u0275\u0275elementEnd()(),p.\u0275\u0275namespaceHTML(),p.\u0275\u0275elementStart(10,"button",9),p.\u0275\u0275listener("click",function(){return je.nextPage()}),p.\u0275\u0275namespaceSVG(),p.\u0275\u0275elementStart(11,"svg",7),p.\u0275\u0275element(12,"path",10),p.\u0275\u0275elementEnd()(),p.\u0275\u0275template(13,Yt,3,5,"button",11),p.\u0275\u0275elementEnd()()()),2&De&&(p.\u0275\u0275advance(2),p.\u0275\u0275property("ngIf",!je.hidePageSize),p.\u0275\u0275advance(3),p.\u0275\u0275textInterpolate1(" ",je._intl.getRangeLabel(je.pageIndex,je.pageSize,je.length)," "),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",je.showFirstLastButtons),p.\u0275\u0275advance(1),p.\u0275\u0275property("matTooltip",je._intl.previousPageLabel)("matTooltipDisabled",je._previousButtonsDisabled())("matTooltipPosition","above")("disabled",je._previousButtonsDisabled()),p.\u0275\u0275attribute("aria-label",je._intl.previousPageLabel),p.\u0275\u0275advance(3),p.\u0275\u0275property("matTooltip",je._intl.nextPageLabel)("matTooltipDisabled",je._nextButtonsDisabled())("matTooltipPosition","above")("disabled",je._nextButtonsDisabled()),p.\u0275\u0275attribute("aria-label",je._intl.nextPageLabel),p.\u0275\u0275advance(3),p.\u0275\u0275property("ngIf",je.showFirstLastButtons))},dependencies:[n.NgForOf,n.NgIf,b.MatLegacyButton,Lt.MatLegacyFormField,o.MatLegacySelect,Dt.MatLegacyOption,Xe],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),we})(),ve=(()=>{class we{}return we.\u0275fac=function(De){return new(De||we)},we.\u0275mod=p.\u0275\u0275defineNgModule({type:we}),we.\u0275inj=p.\u0275\u0275defineInjector({providers:[rt],imports:[n.CommonModule,b.MatLegacyButtonModule,o.MatLegacySelectModule,$e,C.MatCommonModule]}),we})()},1438:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>l,MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>d,MatLegacyProgressSpinner:()=>E,MatLegacyProgressSpinnerModule:()=>D,MatLegacySpinner:()=>R});var n=g(2495),p=g(2831),C=g(6672),b=g(6814),o=g(5879),v=g(3680);const l=new o.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:d});function d(){return{diameter:r}}const r=100;var M=g(7394);function x(j,N){if(1&j&&(o.\u0275\u0275namespaceSVG(),o.\u0275\u0275element(0,"circle",4)),2&j){const S=o.\u0275\u0275nextContext(),k=o.\u0275\u0275reference(1);o.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+S._spinnerAnimationLabel)("stroke-dashoffset",S._getStrokeDashOffset(),"px")("stroke-dasharray",S._getStrokeCircumference(),"px")("stroke-width",S._getCircleStrokeWidth(),"%")("transform-origin",S._getCircleTransformOrigin(k)),o.\u0275\u0275attribute("r",S._getCircleRadius())}}function w(j,N){if(1&j&&(o.\u0275\u0275namespaceSVG(),o.\u0275\u0275element(0,"circle",4)),2&j){const S=o.\u0275\u0275nextContext(),k=o.\u0275\u0275reference(1);o.\u0275\u0275styleProp("stroke-dashoffset",S._getStrokeDashOffset(),"px")("stroke-dasharray",S._getStrokeCircumference(),"px")("stroke-width",S._getCircleStrokeWidth(),"%")("transform-origin",S._getCircleTransformOrigin(k)),o.\u0275\u0275attribute("r",S._getCircleRadius())}}const T=(0,v.mixinColor)(class{constructor(j){this._elementRef=j}},"primary");class E extends T{get diameter(){return this._diameter}set diameter(N){this._diameter=(0,n.su)(N),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(N){this._strokeWidth=(0,n.su)(N)}get value(){return"determinate"===this.mode?this._value:0}set value(N){this._value=Math.max(0,Math.min(100,(0,n.su)(N)))}constructor(N,S,k,F,Y,se,ne,me,$){super(N),this._document=k,this._nonce=$,this._diameter=100,this._value=0,this._resizeSubscription=M.w0.EMPTY,this.mode="determinate";const q=E._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),q.has(k.head)||q.set(k.head,new Set([100])),this._noopAnimations="NoopAnimations"===F&&!!Y&&!Y._forceAnimations,"mat-spinner"===N.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),Y&&(Y.color&&(this.color=this.defaultColor=Y.color),Y.diameter&&(this.diameter=Y.diameter),Y.strokeWidth&&(this.strokeWidth=Y.strokeWidth)),S.isBrowser&&S.SAFARI&&ne&&se&&me&&(this._resizeSubscription=ne.change(150).subscribe(()=>{"indeterminate"===this.mode&&me.run(()=>se.markForCheck())}))}ngOnInit(){const N=this._elementRef.nativeElement;this._styleRoot=(0,p.kV)(N)||this._document.head,this._attachStyleNode(),N.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const N=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${N} ${N}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(N){const S=50*(N.currentScale??1);return`${S}% ${S}%`}_attachStyleNode(){const N=this._styleRoot,S=this._diameter,k=E._diameters;let F=k.get(N);if(!F||!F.has(S)){const Y=this._document.createElement("style");this._nonce&&(Y.nonce=this._nonce),Y.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Y.textContent=this._getAnimationText(),N.appendChild(Y),F||(F=new Set,k.set(N,F)),F.add(S)}}_getAnimationText(){const N=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*N).replace(/END_VALUE/g,""+.2*N).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}E._diameters=new WeakMap,E.\u0275fac=function(N){return new(N||E)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(p.t4),o.\u0275\u0275directiveInject(b.DOCUMENT,8),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8),o.\u0275\u0275directiveInject(l),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(C.rL),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.CSP_NONCE,8))},E.\u0275cmp=o.\u0275\u0275defineComponent({type:E,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(N,S){2&N&&(o.\u0275\u0275attribute("aria-valuemin","determinate"===S.mode?0:null)("aria-valuemax","determinate"===S.mode?100:null)("aria-valuenow","determinate"===S.mode?S.value:null)("mode",S.mode),o.\u0275\u0275styleProp("width",S.diameter,"px")("height",S.diameter,"px"),o.\u0275\u0275classProp("_mat-animation-noopable",S._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[o.\u0275\u0275InheritDefinitionFeature],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(N,S){1&N&&(o.\u0275\u0275namespaceSVG(),o.\u0275\u0275elementStart(0,"svg",0,1),o.\u0275\u0275template(2,x,1,11,"circle",2),o.\u0275\u0275template(3,w,1,9,"circle",3),o.\u0275\u0275elementEnd()),2&N&&(o.\u0275\u0275styleProp("width",S.diameter,"px")("height",S.diameter,"px"),o.\u0275\u0275property("ngSwitch","indeterminate"===S.mode),o.\u0275\u0275attribute("viewBox",S._getViewBox()),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngSwitchCase",!0),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[b.NgSwitch,b.NgSwitchCase],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let D=(()=>{class j{}return j.\u0275fac=function(S){return new(S||j)},j.\u0275mod=o.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=o.\u0275\u0275defineInjector({imports:[v.MatCommonModule,b.CommonModule,v.MatCommonModule]}),j})();const R=E},1036:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_RADIO_DEFAULT_OPTIONS:()=>u,MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY:()=>h,MAT_LEGACY_RADIO_GROUP:()=>r,MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>E,MatLegacyRadioButton:()=>R,MatLegacyRadioChange:()=>l,MatLegacyRadioGroup:()=>D,MatLegacyRadioModule:()=>j});var n=g(5879),p=g(3680),C=g(4300),b=g(8337),o=g(6223),v=g(2495);const a=["input"];let s=0;class l{constructor(S,k){this.source=S,this.value=k}}const r=new n.InjectionToken("MatRadioGroup"),u=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:h});function h(){return{color:"accent"}}let m=(()=>{class N{get name(){return this._name}set name(k){this._name=k,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(k){this._labelPosition="before"===k?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(k){this._value!==k&&(this._value=k,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(k){this._selected=k,this.value=k?k.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(k){this._disabled=(0,v.Ig)(k),this._markRadiosForCheck()}get required(){return this._required}set required(k){this._required=(0,v.Ig)(k),this._markRadiosForCheck()}constructor(k){this._changeDetector=k,this._value=null,this._name="mat-radio-group-"+s++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(k=>k===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(k=>{k.name=this.name,k._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(F=>{F.checked=this.value===F.value,F.checked&&(this._selected=F)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new l(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(k=>k._markForCheck())}writeValue(k){this.value=k,this._changeDetector.markForCheck()}registerOnChange(k){this._controlValueAccessorChangeFn=k}registerOnTouched(k){this.onTouched=k}setDisabledState(k){this.disabled=k,this._changeDetector.markForCheck()}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),N})();class _{constructor(S){this._elementRef=S}}const M=(0,p.mixinDisableRipple)((0,p.mixinTabIndex)(_));let x=(()=>{class N extends M{get checked(){return this._checked}set checked(k){const F=(0,v.Ig)(k);this._checked!==F&&(this._checked=F,F&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!F&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),F&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(k){this._value!==k&&(this._value=k,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===k),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(k){this._labelPosition=k}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(k){this._setDisabled((0,v.Ig)(k))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(k){this._required=(0,v.Ig)(k)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(k){this._color=k}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(k,F,Y,se,ne,me,$,q){super(F),this._changeDetector=Y,this._focusMonitor=se,this._radioDispatcher=ne,this._providerOverride=$,this._uniqueId="mat-radio-"+ ++s,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=k,this._noopAnimations="NoopAnimations"===me,q&&(this.tabIndex=(0,v.su)(q,0))}focus(k,F){F?this._focusMonitor.focusVia(this._inputElement,F,k):this._inputElement.nativeElement.focus(k)}_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((k,F)=>{k!==this.id&&F===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(k=>{!k&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new l(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(k){k.stopPropagation()}_onInputInteraction(k){if(k.stopPropagation(),!this.checked&&!this.disabled){const F=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),F&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(k){this._onInputInteraction(k),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(k){this._disabled!==k&&(this._disabled=k,this._changeDetector.markForCheck())}_updateTabIndex(){const k=this.radioGroup;let F;if(F=k&&k.selected&&!this.disabled?k.selected===this?this.tabIndex:-1:this.tabIndex,F!==this._previousTabIndex){const Y=this._inputElement?.nativeElement;Y&&(Y.setAttribute("tabindex",F+""),this._previousTabIndex=F)}}}return N.\u0275fac=function(k){n.\u0275\u0275invalidFactory()},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,viewQuery:function(k,F){if(1&k&&n.\u0275\u0275viewQuery(a,5),2&k){let Y;n.\u0275\u0275queryRefresh(Y=n.\u0275\u0275loadQuery())&&(F._inputElement=Y.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[n.\u0275\u0275InheritDefinitionFeature]}),N})();const T=function(N){return{enterDuration:N}},O=["*"],E={provide:o.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>D),multi:!0};let D=(()=>{class N extends m{}return N.\u0275fac=function(){let S;return function(F){return(S||(S=n.\u0275\u0275getInheritedFactory(N)))(F||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["mat-radio-group"]],contentQueries:function(k,F,Y){if(1&k&&n.\u0275\u0275contentQuery(Y,R,5),2&k){let se;n.\u0275\u0275queryRefresh(se=n.\u0275\u0275loadQuery())&&(F._radios=se)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([E,{provide:r,useExisting:N}]),n.\u0275\u0275InheritDefinitionFeature]}),N})(),R=(()=>{class N extends x{constructor(k,F,Y,se,ne,me,$,q){super(k,F,Y,se,ne,me,$,q)}}return N.\u0275fac=function(k){return new(k||N)(n.\u0275\u0275directiveInject(r,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(C.tE),n.\u0275\u0275directiveInject(b.A8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(u,8),n.\u0275\u0275injectAttribute("tabindex"))},N.\u0275cmp=n.\u0275\u0275defineComponent({type:N,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(k,F){1&k&&n.\u0275\u0275listener("focus",function(){return F._inputElement.nativeElement.focus()}),2&k&&(n.\u0275\u0275attribute("tabindex",null)("id",F.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-radio-checked",F.checked)("mat-radio-disabled",F.disabled)("_mat-animation-noopable",F._noopAnimations)("mat-primary","primary"===F.color)("mat-accent","accent"===F.color)("mat-warn","warn"===F.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:O,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(k,F){if(1&k&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2),n.\u0275\u0275element(3,"span",3)(4,"span",4),n.\u0275\u0275elementStart(5,"input",5,6),n.\u0275\u0275listener("change",function(se){return F._onInputInteraction(se)})("click",function(se){return F._onInputClick(se)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(7,"span",7),n.\u0275\u0275element(8,"span",8),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(9,"span",9)(10,"span",10),n.\u0275\u0275text(11,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&k){const Y=n.\u0275\u0275reference(1);n.\u0275\u0275attribute("for",F.inputId),n.\u0275\u0275advance(5),n.\u0275\u0275property("id",F.inputId)("checked",F.checked)("disabled",F.disabled)("required",F.required),n.\u0275\u0275attribute("name",F.name)("value",F.value)("aria-label",F.ariaLabel)("aria-labelledby",F.ariaLabelledby)("aria-describedby",F.ariaDescribedby),n.\u0275\u0275advance(2),n.\u0275\u0275property("matRippleTrigger",Y)("matRippleDisabled",F._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.\u0275\u0275pureFunction1(17,T,F._noopAnimations?0:150)),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-radio-label-before","before"==F.labelPosition)}},dependencies:[p.MatRipple],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),N})(),j=(()=>{class N{}return N.\u0275fac=function(k){return new(k||N)},N.\u0275mod=n.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=n.\u0275\u0275defineInjector({imports:[p.MatRippleModule,p.MatCommonModule,p.MatCommonModule]}),N})()},1798:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_SELECT_CONFIG:()=>Xe,MAT_LEGACY_SELECT_SCROLL_STRATEGY:()=>Me,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER:()=>Be,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Oe,MAT_LEGACY_SELECT_TRIGGER:()=>$e,MatLegacySelect:()=>yt,MatLegacySelectChange:()=>Kt,MatLegacySelectModule:()=>Bt,MatLegacySelectTrigger:()=>ze,matLegacySelectAnimations:()=>ae});var n=g(9594),p=g(6814),C=g(5879),b=g(3680),o=g(4678),v=g(1043),a=g(4187),c=g(6672),s=g(4300),l=g(9388),d=g(2495),r=g(8337),u=g(6028),h=g(6223),m=g(8645),_=g(4911),M=g(3019),x=g(7921),w=g(4664),L=g(8180),A=g(2181),T=g(7398),O=g(3997),E=g(9773),D=g(6825);const R=["trigger"],j=["panel"];let ue=0;const Me=new C.InjectionToken("mat-select-scroll-strategy");function Oe($t){return()=>$t.scrollStrategies.reposition()}const Xe=new C.InjectionToken("MAT_SELECT_CONFIG"),Be={provide:Me,deps:[n.aV],useFactory:Oe},$e=new C.InjectionToken("MatSelectTrigger"),Mt=(0,b.mixinDisableRipple)((0,b.mixinTabIndex)((0,b.mixinDisabled)((0,b.mixinErrorState)(class{constructor($t,Yt,Ue,We,ve){this._elementRef=$t,this._defaultErrorStateMatcher=Yt,this._parentForm=Ue,this._parentFormGroup=We,this.ngControl=ve,this.stateChanges=new m.x}}))));let tt=(()=>{class $t extends Mt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Ue){this._placeholder=Ue,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(h.Validators.required)??!1}set required(Ue){this._required=(0,d.Ig)(Ue),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ue){this._multiple=(0,d.Ig)(Ue)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ue){this._disableOptionCentering=(0,d.Ig)(Ue)}get compareWith(){return this._compareWith}set compareWith(Ue){this._compareWith=Ue,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ue){this._assignValue(Ue)&&this._onChange(Ue)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ue){this._typeaheadDebounceInterval=(0,d.su)(Ue)}get id(){return this._id}set id(Ue){this._id=Ue||this._uid,this.stateChanges.next()}constructor(Ue,We,ve,we,at,De,je,ke,Z,re,ce,Ee,it,Rt){super(at,we,je,ke,re),this._viewportRuler=Ue,this._changeDetectorRef=We,this._ngZone=ve,this._dir=De,this._parentFormField=Z,this._liveAnnouncer=it,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(Ye,qe)=>Ye===qe,this._uid="mat-select-"+ue++,this._triggerAriaLabelledBy=null,this._destroy=new m.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ue++,this._panelDoneAnimatingStream=new m.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,_.P)(()=>{const Ye=this.options;return Ye?Ye.changes.pipe((0,x.O)(Ye),(0,w.w)(()=>(0,M.T)(...Ye.map(qe=>qe.onSelectionChange)))):this._ngZone.onStable.pipe((0,L.q)(1),(0,w.w)(()=>this.optionSelectionChanges))}),this.openedChange=new C.EventEmitter,this._openedStream=this.openedChange.pipe((0,A.h)(Ye=>Ye),(0,T.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,A.h)(Ye=>!Ye),(0,T.U)(()=>{})),this.selectionChange=new C.EventEmitter,this.valueChange=new C.EventEmitter,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=Ee,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ce)||0,this.id=this.id}ngOnInit(){this._selectionModel=new r.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,O.x)(),(0,E.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,E.R)(this._destroy)).subscribe(Ue=>{Ue.added.forEach(We=>We.select()),Ue.removed.forEach(We=>We.deselect())}),this.options.changes.pipe((0,x.O)(null),(0,E.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ue=this._getTriggerAriaLabelledby(),We=this.ngControl;if(Ue!==this._triggerAriaLabelledBy){const ve=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ue,Ue?ve.setAttribute("aria-labelledby",Ue):ve.removeAttribute("aria-labelledby")}We&&(this._previousControl!==We.control&&(void 0!==this._previousControl&&null!==We.disabled&&We.disabled!==this.disabled&&(this.disabled=We.disabled),this._previousControl=We.control),this.updateErrorState())}ngOnChanges(Ue){(Ue.disabled||Ue.userAriaDescribedBy)&&this.stateChanges.next(),Ue.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const Ue=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ue)return;const We=`${this.id}-panel`;this._trackedModal&&(0,s.iD)(this._trackedModal,"aria-owns",We),(0,s.Zf)(Ue,"aria-owns",We),this._trackedModal=Ue}_clearFromModal(){this._trackedModal&&((0,s.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Ue){this._assignValue(Ue)}registerOnChange(Ue){this._onChange=Ue}registerOnTouched(Ue){this._onTouched=Ue}setDisabledState(Ue){this.disabled=Ue,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 Ue=this._selectionModel.selected.map(We=>We.viewValue);return this._isRtl()&&Ue.reverse(),Ue.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ue){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ue):this._handleClosedKeydown(Ue))}_handleClosedKeydown(Ue){const We=Ue.keyCode,ve=We===u.JH||We===u.LH||We===u.oh||We===u.SV,we=We===u.K5||We===u.L_,at=this._keyManager;if(!at.isTyping()&&we&&!(0,u.Vb)(Ue)||(this.multiple||Ue.altKey)&&ve)Ue.preventDefault(),this.open();else if(!this.multiple){const De=this.selected;at.onKeydown(Ue);const je=this.selected;je&&De!==je&&this._liveAnnouncer.announce(je.viewValue,1e4)}}_handleOpenKeydown(Ue){const We=this._keyManager,ve=Ue.keyCode,we=ve===u.JH||ve===u.LH,at=We.isTyping();if(we&&Ue.altKey)Ue.preventDefault(),this.close();else if(at||ve!==u.K5&&ve!==u.L_||!We.activeItem||(0,u.Vb)(Ue))if(!at&&this._multiple&&ve===u.A&&Ue.ctrlKey){Ue.preventDefault();const De=this.options.some(je=>!je.disabled&&!je.selected);this.options.forEach(je=>{je.disabled||(De?je.select():je.deselect())})}else{const De=We.activeItemIndex;We.onKeydown(Ue),this._multiple&&we&&Ue.shiftKey&&We.activeItem&&We.activeItemIndex!==De&&We.activeItem._selectViaInteraction()}else Ue.preventDefault(),We.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,L.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ue){if(this.options.forEach(We=>We.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ue)Array.isArray(Ue),Ue.forEach(We=>this._selectOptionByValue(We)),this._sortValues();else{const We=this._selectOptionByValue(Ue);We?this._keyManager.updateActiveItem(We):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ue){const We=this.options.find(ve=>{if(this._selectionModel.isSelected(ve))return!1;try{return null!=ve.value&&this._compareWith(ve.value,Ue)}catch{return!1}});return We&&this._selectionModel.select(We),We}_assignValue(Ue){return!!(Ue!==this._value||this._multiple&&Array.isArray(Ue))&&(this.options&&this._setSelectionByValue(Ue),this._value=Ue,!0)}_skipPredicate(Ue){return Ue.disabled}_initKeyManager(){this._keyManager=new s.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ue=(0,M.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,E.R)(Ue)).subscribe(We=>{this._onSelect(We.source,We.isUserInput),We.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,M.T)(...this.options.map(We=>We._stateChanges)).pipe((0,E.R)(Ue)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ue,We){const ve=this._selectionModel.isSelected(Ue);null!=Ue.value||this._multiple?(ve!==Ue.selected&&(Ue.selected?this._selectionModel.select(Ue):this._selectionModel.deselect(Ue)),We&&this._keyManager.setActiveItem(Ue),this.multiple&&(this._sortValues(),We&&this.focus())):(Ue.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ue.value)),ve!==this._selectionModel.isSelected(Ue)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ue=this.options.toArray();this._selectionModel.sort((We,ve)=>this.sortComparator?this.sortComparator(We,ve,Ue):Ue.indexOf(We)-Ue.indexOf(ve)),this.stateChanges.next()}}_propagateChanges(Ue){let We=null;We=this.multiple?this.selected.map(ve=>ve.value):this.selected?this.selected.value:Ue,this._value=We,this.valueChange.emit(We),this._onChange(We),this.selectionChange.emit(this._getChangeEvent(We)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ue=-1;for(let We=0;We0}focus(Ue){this._elementRef.nativeElement.focus(Ue)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ue=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ue?Ue+" ":"")+this.ariaLabelledby:Ue}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ue=this._parentFormField?.getLabelId();let We=(Ue?Ue+" ":"")+this._valueId;return this.ariaLabelledby&&(We+=" "+this.ariaLabelledby),We}_panelDoneAnimating(Ue){this.openedChange.emit(Ue)}setDescribedByIds(Ue){Ue.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ue.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return $t.\u0275fac=function(Ue){return new(Ue||$t)(C.\u0275\u0275directiveInject(c.rL),C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(b.ErrorStateMatcher),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(l.Is,8),C.\u0275\u0275directiveInject(h.NgForm,8),C.\u0275\u0275directiveInject(h.FormGroupDirective,8),C.\u0275\u0275directiveInject(v.G_,8),C.\u0275\u0275directiveInject(h.NgControl,10),C.\u0275\u0275injectAttribute("tabindex"),C.\u0275\u0275directiveInject(Me),C.\u0275\u0275directiveInject(s.Kd),C.\u0275\u0275directiveInject(Xe,8))},$t.\u0275dir=C.\u0275\u0275defineDirective({type:$t,viewQuery:function(Ue,We){if(1&Ue&&(C.\u0275\u0275viewQuery(R,5),C.\u0275\u0275viewQuery(j,5),C.\u0275\u0275viewQuery(n.pI,5)),2&Ue){let ve;C.\u0275\u0275queryRefresh(ve=C.\u0275\u0275loadQuery())&&(We.trigger=ve.first),C.\u0275\u0275queryRefresh(ve=C.\u0275\u0275loadQuery())&&(We.panel=ve.first),C.\u0275\u0275queryRefresh(ve=C.\u0275\u0275loadQuery())&&(We._overlayDir=ve.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[C.\u0275\u0275InheritDefinitionFeature,C.\u0275\u0275NgOnChangesFeature]}),$t})();function nt($t,Yt){if(1&$t&&(C.\u0275\u0275elementStart(0,"span",8),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&$t){const Ue=C.\u0275\u0275nextContext();C.\u0275\u0275advance(1),C.\u0275\u0275textInterpolate(Ue.placeholder)}}function ot($t,Yt){if(1&$t&&(C.\u0275\u0275elementStart(0,"span",12),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&$t){const Ue=C.\u0275\u0275nextContext(2);C.\u0275\u0275advance(1),C.\u0275\u0275textInterpolate(Ue.triggerValue)}}function vt($t,Yt){1&$t&&C.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function rt($t,Yt){if(1&$t&&(C.\u0275\u0275elementStart(0,"span",9),C.\u0275\u0275template(1,ot,2,1,"span",10),C.\u0275\u0275template(2,vt,1,0,"ng-content",11),C.\u0275\u0275elementEnd()),2&$t){const Ue=C.\u0275\u0275nextContext();C.\u0275\u0275property("ngSwitch",!!Ue.customTrigger),C.\u0275\u0275advance(2),C.\u0275\u0275property("ngSwitchCase",!0)}}function J($t,Yt){if(1&$t){const Ue=C.\u0275\u0275getCurrentView();C.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),C.\u0275\u0275listener("@transformPanel.done",function(ve){C.\u0275\u0275restoreView(Ue);const we=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(we._panelDoneAnimatingStream.next(ve.toState))})("keydown",function(ve){C.\u0275\u0275restoreView(Ue);const we=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(we._handleKeydown(ve))}),C.\u0275\u0275projection(3,1),C.\u0275\u0275elementEnd()()}if(2&$t){const Ue=C.\u0275\u0275nextContext();C.\u0275\u0275property("@transformPanelWrap",void 0),C.\u0275\u0275advance(1),C.\u0275\u0275classMapInterpolate1("mat-select-panel ",Ue._getPanelTheme(),""),C.\u0275\u0275styleProp("transform-origin",Ue._transformOrigin)("font-size",Ue._triggerFontSize,"px"),C.\u0275\u0275property("ngClass",Ue.panelClass)("@transformPanel",Ue.multiple?"showing-multiple":"showing"),C.\u0275\u0275attribute("id",Ue.id+"-panel")("aria-multiselectable",Ue.multiple)("aria-label",Ue.ariaLabel||null)("aria-labelledby",Ue._getPanelAriaLabelledby())}}const Ce=[[["mat-select-trigger"]],"*"],ee=["mat-select-trigger","*"],ae={transformPanelWrap:(0,D.X$)("transformPanelWrap",[(0,D.eR)("* => void",(0,D.IO)("@transformPanel",[(0,D.pV)()],{optional:!0}))]),transformPanel:(0,D.X$)("transformPanel",[(0,D.SB)("void",(0,D.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,D.SB)("showing",(0,D.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,D.SB)("showing-multiple",(0,D.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,D.eR)("void => *",(0,D.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,D.eR)("* => void",(0,D.jt)("100ms 25ms linear",(0,D.oB)({opacity:0})))])};class Kt{constructor(Yt,Ue){this.source=Yt,this.value=Ue}}let ze=(()=>{class $t{}return $t.\u0275fac=function(Ue){return new(Ue||$t)},$t.\u0275dir=C.\u0275\u0275defineDirective({type:$t,selectors:[["mat-select-trigger"]],features:[C.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:$t}])]}),$t})(),yt=(()=>{class $t extends tt{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(Ue,We,ve){const we=this._getItemHeight();return Math.min(Math.max(0,we*Ue-We+we/2),ve)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,E.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,L.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(Ue){const We=(0,b._countGroupLabelsBeforeOption)(Ue,this.options,this.optionGroups),ve=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Ue&&1===We?0:(0,b._getOptionScrollPosition)((Ue+We)*ve,ve,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Ue){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Ue)}_getChangeEvent(Ue){return new Kt(this,Ue)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Ue=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),We=this._viewportRuler.getViewportSize(),ve=this._isRtl(),we=this.multiple?56:32;let at;if(this.multiple)at=40;else if(this.disableOptionCentering)at=16;else{let ke=this._selectionModel.selected[0]||this.options.first;at=ke&&ke.group?32:16}ve||(at*=-1);const De=0-(Ue.left+at-(ve?we:0)),je=Ue.right+at-We.width+(ve?0:we);De>0?at+=De+8:je>0&&(at-=je+8),this._overlayDir.offsetX=Math.round(at),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Ue,We,ve){const we=this._getItemHeight(),at=(we-this._triggerRect.height)/2,De=Math.floor(256/we);let je;return this.disableOptionCentering?0:(je=0===this._scrollTop?Ue*we:this._scrollTop===ve?(Ue-(this._getItemCount()-De))*we+(we-(this._getItemCount()*we-256)%we):We-we/2,Math.round(-1*je-at))}_checkOverlayWithinViewport(Ue){const We=this._getItemHeight(),ve=this._viewportRuler.getViewportSize(),we=this._triggerRect.top-8,at=ve.height-this._triggerRect.bottom-8,De=Math.abs(this._offsetY),ke=Math.min(this._getItemCount()*We,256)-De-this._triggerRect.height;ke>at?this._adjustPanelUp(ke,at):De>we?this._adjustPanelDown(De,we,Ue):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Ue,We){const ve=Math.round(Ue-We);this._scrollTop-=ve,this._offsetY-=ve,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Ue,We,ve){const we=Math.round(Ue-We);if(this._scrollTop+=we,this._offsetY+=we,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=ve)return this._scrollTop=ve,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Ue=this._getItemHeight(),We=this._getItemCount(),ve=Math.min(We*Ue,256),at=We*Ue-ve;let De;De=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),De+=(0,b._countGroupLabelsBeforeOption)(De,this.options,this.optionGroups);const je=ve/2;this._scrollTop=this._calculateOverlayScroll(De,je,at),this._offsetY=this._calculateOverlayOffsetY(De,je,at),this._checkOverlayWithinViewport(at)}_getOriginBasedOnOption(){const Ue=this._getItemHeight(),We=(Ue-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-We+Ue/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return $t.\u0275fac=function(){let Yt;return function(We){return(Yt||(Yt=C.\u0275\u0275getInheritedFactory($t)))(We||$t)}}(),$t.\u0275cmp=C.\u0275\u0275defineComponent({type:$t,selectors:[["mat-select"]],contentQueries:function(Ue,We,ve){if(1&Ue&&(C.\u0275\u0275contentQuery(ve,$e,5),C.\u0275\u0275contentQuery(ve,o.MatLegacyOption,5),C.\u0275\u0275contentQuery(ve,b.MAT_OPTGROUP,5)),2&Ue){let we;C.\u0275\u0275queryRefresh(we=C.\u0275\u0275loadQuery())&&(We.customTrigger=we.first),C.\u0275\u0275queryRefresh(we=C.\u0275\u0275loadQuery())&&(We.options=we),C.\u0275\u0275queryRefresh(we=C.\u0275\u0275loadQuery())&&(We.optionGroups=we)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Ue,We){1&Ue&&C.\u0275\u0275listener("keydown",function(we){return We._handleKeydown(we)})("focus",function(){return We._onFocus()})("blur",function(){return We._onBlur()}),2&Ue&&(C.\u0275\u0275attribute("id",We.id)("tabindex",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-select-disabled",We.disabled)("mat-select-invalid",We.errorState)("mat-select-required",We.required)("mat-select-empty",We.empty)("mat-select-multiple",We.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[C.\u0275\u0275ProvidersFeature([{provide:v.Eo,useExisting:$t},{provide:b.MAT_OPTION_PARENT_COMPONENT,useExisting:$t}]),C.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ee,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Ue,We){if(1&Ue&&(C.\u0275\u0275projectionDef(Ce),C.\u0275\u0275elementStart(0,"div",0,1),C.\u0275\u0275listener("click",function(){return We.toggle()}),C.\u0275\u0275elementStart(3,"div",2),C.\u0275\u0275template(4,nt,2,1,"span",3),C.\u0275\u0275template(5,rt,3,2,"span",4),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(6,"div",5),C.\u0275\u0275element(7,"div",6),C.\u0275\u0275elementEnd()(),C.\u0275\u0275template(8,J,4,14,"ng-template",7),C.\u0275\u0275listener("backdropClick",function(){return We.close()})("attach",function(){return We._onAttached()})("detach",function(){return We.close()})),2&Ue){const ve=C.\u0275\u0275reference(1);C.\u0275\u0275attribute("aria-owns",We.panelOpen?We.id+"-panel":null),C.\u0275\u0275advance(3),C.\u0275\u0275property("ngSwitch",We.empty),C.\u0275\u0275attribute("id",We._valueId),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngSwitchCase",!0),C.\u0275\u0275advance(1),C.\u0275\u0275property("ngSwitchCase",!1),C.\u0275\u0275advance(3),C.\u0275\u0275property("cdkConnectedOverlayPanelClass",We._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",We._scrollStrategy)("cdkConnectedOverlayOrigin",ve)("cdkConnectedOverlayOpen",We.panelOpen)("cdkConnectedOverlayPositions",We._positions)("cdkConnectedOverlayMinWidth",We._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",We._offsetY)}},dependencies:[p.NgClass,p.NgSwitch,p.NgSwitchCase,p.NgSwitchDefault,n.pI,n.xu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[ae.transformPanelWrap,ae.transformPanel]},changeDetection:0}),$t})(),Bt=(()=>{class $t{}return $t.\u0275fac=function(Ue){return new(Ue||$t)},$t.\u0275mod=C.\u0275\u0275defineNgModule({type:$t}),$t.\u0275inj=C.\u0275\u0275defineInjector({providers:[Be],imports:[p.CommonModule,n.U8,o.MatLegacyOptionModule,b.MatCommonModule,c.ZD,a.MatLegacyFormFieldModule,o.MatLegacyOptionModule,b.MatCommonModule]}),$t})()},1830:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>O,MAT_LEGACY_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>_,MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>E,MatLegacySlideToggle:()=>R,MatLegacySlideToggleChange:()=>D,MatLegacySlideToggleModule:()=>j,MatLegacySlideToggleRequiredValidator:()=>M,_MatLegacySlideToggleBase:()=>h,_MatLegacySlideToggleRequiredValidatorModule:()=>x});var n=g(7131),p=g(5879),C=g(3680),b=g(4300),o=g(6223),v=g(2495);let r=0;const u=(0,C.mixinTabIndex)((0,C.mixinColor)((0,C.mixinDisableRipple)((0,C.mixinDisabled)(class{constructor(N){this._elementRef=N}}))));let h=(()=>{class N extends u{get required(){return this._required}set required(k){this._required=(0,v.Ig)(k)}get checked(){return this._checked}set checked(k){this._checked=(0,v.Ig)(k),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(k,F,Y,se,ne,me,$){super(k),this._focusMonitor=F,this._changeDetectorRef=Y,this.defaults=ne,this._onChange=q=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new p.EventEmitter,this.toggleChange=new p.EventEmitter,this.tabIndex=parseInt(se)||0,this.color=this.defaultColor=ne.color||"accent",this._noopAnimations="NoopAnimations"===me,this.id=this._uniqueId=`${$}${++r}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(k=>{"keyboard"===k||"program"===k?(this._focused=!0,this._changeDetectorRef.markForCheck()):k||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(k){this.checked=!!k}registerOnChange(k){this._onChange=k}registerOnTouched(k){this._onTouched=k}setDisabledState(k){this.disabled=k,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return N.\u0275fac=function(k){p.\u0275\u0275invalidFactory()},N.\u0275dir=p.\u0275\u0275defineDirective({type:N,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[p.\u0275\u0275InheritDefinitionFeature]}),N})();const _={provide:o.NG_VALIDATORS,useExisting:(0,p.forwardRef)(()=>M),multi:!0};let M=(()=>{class N extends o.CheckboxRequiredValidator{}return N.\u0275fac=function(){let S;return function(F){return(S||(S=p.\u0275\u0275getInheritedFactory(N)))(F||N)}}(),N.\u0275dir=p.\u0275\u0275defineDirective({type:N,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[p.\u0275\u0275ProvidersFeature([_]),p.\u0275\u0275InheritDefinitionFeature]}),N})(),x=(()=>{class N{}return N.\u0275fac=function(k){return new(k||N)},N.\u0275mod=p.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=p.\u0275\u0275defineInjector({}),N})();const L=["input"],A=function(N){return{enterDuration:N}},T=["*"],O=new p.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),E={provide:o.NG_VALUE_ACCESSOR,useExisting:(0,p.forwardRef)(()=>R),multi:!0};class D{constructor(S,k){this.source=S,this.checked=k}}let R=(()=>{class N extends h{constructor(k,F,Y,se,ne,me){super(k,F,Y,se,ne,me,"mat-slide-toggle-")}_createChangeEvent(k){return new D(this,k)}_onChangeEvent(k){k.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(k){k.stopPropagation()}focus(k,F){F?this._focusMonitor.focusVia(this._inputElement,F,k):this._inputElement.nativeElement.focus(k)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return N.\u0275fac=function(k){return new(k||N)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(b.tE),p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275injectAttribute("tabindex"),p.\u0275\u0275directiveInject(O),p.\u0275\u0275directiveInject(p.ANIMATION_MODULE_TYPE,8))},N.\u0275cmp=p.\u0275\u0275defineComponent({type:N,selectors:[["mat-slide-toggle"]],viewQuery:function(k,F){if(1&k&&p.\u0275\u0275viewQuery(L,5),2&k){let Y;p.\u0275\u0275queryRefresh(Y=p.\u0275\u0275loadQuery())&&(F._inputElement=Y.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(k,F){2&k&&(p.\u0275\u0275hostProperty("id",F.id),p.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),p.\u0275\u0275classProp("mat-checked",F.checked)("mat-disabled",F.disabled)("mat-slide-toggle-label-before","before"==F.labelPosition)("_mat-animation-noopable",F._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[p.\u0275\u0275ProvidersFeature([E]),p.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:T,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(k,F){if(1&k&&(p.\u0275\u0275projectionDef(),p.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),p.\u0275\u0275listener("change",function(se){return F._onChangeEvent(se)})("click",function(se){return F._onInputClick(se)}),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(5,"span",5),p.\u0275\u0275element(6,"span",6),p.\u0275\u0275elementStart(7,"span",7),p.\u0275\u0275element(8,"span",8),p.\u0275\u0275elementEnd()()(),p.\u0275\u0275elementStart(9,"span",9,10),p.\u0275\u0275listener("cdkObserveContent",function(){return F._onLabelTextChange()}),p.\u0275\u0275elementStart(11,"span",11),p.\u0275\u0275text(12,"\xa0"),p.\u0275\u0275elementEnd(),p.\u0275\u0275projection(13),p.\u0275\u0275elementEnd()()),2&k){const Y=p.\u0275\u0275reference(1),se=p.\u0275\u0275reference(10);p.\u0275\u0275attribute("for",F.inputId),p.\u0275\u0275advance(2),p.\u0275\u0275classProp("mat-slide-toggle-bar-no-side-margin",!se.textContent||!se.textContent.trim()),p.\u0275\u0275advance(1),p.\u0275\u0275property("id",F.inputId)("required",F.required)("tabIndex",F.tabIndex)("checked",F.checked)("disabled",F.disabled),p.\u0275\u0275attribute("name",F.name)("aria-checked",F.checked)("aria-label",F.ariaLabel)("aria-labelledby",F.ariaLabelledby)("aria-describedby",F.ariaDescribedby),p.\u0275\u0275advance(4),p.\u0275\u0275property("matRippleTrigger",Y)("matRippleDisabled",F.disableRipple||F.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",p.\u0275\u0275pureFunction1(18,A,F._noopAnimations?0:150))}},dependencies:[C.MatRipple,n.wD],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),N})(),j=(()=>{class N{}return N.\u0275fac=function(k){return new(k||N)},N.\u0275mod=p.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=p.\u0275\u0275defineInjector({imports:[x,C.MatRippleModule,C.MatCommonModule,n.Q8,x,C.MatCommonModule]}),N})()},4433:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_SLIDER_VALUE_ACCESSOR:()=>M,MatLegacySlider:()=>L,MatLegacySliderChange:()=>x,MatLegacySliderModule:()=>R});var n=g(6814),p=g(5879),C=g(3680),b=g(4300),o=g(9388),v=g(2495),a=g(6028),c=g(6223),s=g(2831),l=g(7394);const d=["sliderWrapper"],r=(0,s.i$)({passive:!1}),M={provide:c.NG_VALUE_ACCESSOR,useExisting:(0,p.forwardRef)(()=>L),multi:!0};class x{}const w=(0,C.mixinTabIndex)((0,C.mixinColor)((0,C.mixinDisabled)(class{constructor(j){this._elementRef=j}}),"accent"));let L=(()=>{class j extends w{get invert(){return this._invert}set invert(S){this._invert=(0,v.Ig)(S)}get max(){return this._max}set max(S){this._max=(0,v.su)(S,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(S){this._min=(0,v.su)(S,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(S){this._step=(0,v.su)(S,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(S){this._thumbLabel=(0,v.Ig)(S)}get tickInterval(){return this._tickInterval}set tickInterval(S){this._tickInterval="auto"===S?"auto":"number"==typeof S||"string"==typeof S?(0,v.su)(S,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(S){if(S!==this._value){let k=(0,v.su)(S,0);this._roundToDecimal&&k!==this.min&&k!==this.max&&(k=parseFloat(k.toFixed(this._roundToDecimal))),this._value=k,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(S){this._vertical=(0,v.Ig)(S)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(S){this._focusHostElement(S)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}_shouldInvertAxis(){return this.vertical?!this.invert:this.invert}_isMinValue(){return 0===this.percent}_getThumbGap(){return this.disabled?7:this._isMinValue()&&!this.thumbLabel?this._isActive?10:7:0}_getTrackBackgroundStyles(){const k=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._getThumbGap()}px) scale3d(${k})`}}_getTrackFillStyles(){const S=this.percent,F=this.vertical?`1, ${S}, 1`:`${S}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${F})`,display:0===S?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let S=100*this._tickIntervalPercent,ne={backgroundSize:this.vertical?`2px ${S}%`:`${S}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${S/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const me=this._shouldInvertAxis();let $;$=this.vertical?me?"Bottom":"Top":me?"Right":"Left",ne[`padding${$}`]=`${this._getThumbGap()}px`}return ne}_getThumbContainerStyles(){const S=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?S:!S)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const S=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?S:!S}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(S,k,F,Y,se,ne,me,$){super(S),this._focusMonitor=k,this._changeDetectorRef=F,this._dir=Y,this._ngZone=ne,this._animationMode=$,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new p.EventEmitter,this.input=new p.EventEmitter,this.valueChange=new p.EventEmitter,this.onTouched=()=>{},this._percent=0,this._isSliding=null,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=l.w0.EMPTY,this._pointerDown=q=>{this.disabled||this._isSliding||!T(q)&&0!==q.button||this._ngZone.run(()=>{this._touchId=T(q)?function D(j,N){for(let S=0;S{if("pointer"===this._isSliding){const Q=O(q,this._touchId);if(Q){q.cancelable&&q.preventDefault();const ue=this.value;this._lastPointerEvent=q,this._updateValueFromPosition(Q),ue!=this.value&&this._emitInputEvent()}}},this._pointerUp=q=>{"pointer"===this._isSliding&&(!T(q)||"number"!=typeof this._touchId||E(q.changedTouches,this._touchId))&&(q.cancelable&&q.preventDefault(),this._removeGlobalEvents(),this._isSliding=null,this._touchId=void 0,this._valueOnSlideStart!=this.value&&!this.disabled&&this._emitChangeEvent(),this._valueOnSlideStart=this._lastPointerEvent=null)},this._windowBlur=()=>{this._lastPointerEvent&&this._pointerUp(this._lastPointerEvent)},this._document=me,this.tabIndex=parseInt(se)||0,ne.runOutsideAngular(()=>{const q=S.nativeElement;q.addEventListener("mousedown",this._pointerDown,r),q.addEventListener("touchstart",this._pointerDown,r)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(S=>{this._isActive=!!S&&"keyboard"!==S,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const S=this._elementRef.nativeElement;S.removeEventListener("mousedown",this._pointerDown,r),S.removeEventListener("touchstart",this._pointerDown,r),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(S){if(this.disabled||(0,a.Vb)(S)||this._isSliding&&"keyboard"!==this._isSliding)return;const k=this.value;switch(S.keyCode){case a.Ku:this._increment(10);break;case a.VM:this._increment(-10);break;case a.uR:this.value=this.max;break;case a.Sd:this.value=this.min;break;case a.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case a.LH:this._increment(1);break;case a.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case a.JH:this._increment(-1);break;default:return}k!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",S.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(S){const k=this._document,F=T(S),se=F?"touchend":"mouseup";k.addEventListener(F?"touchmove":"mousemove",this._pointerMove,r),k.addEventListener(se,this._pointerUp,r),F&&k.addEventListener("touchcancel",this._pointerUp,r);const ne=this._getWindow();typeof ne<"u"&&ne&&ne.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const S=this._document;S.removeEventListener("mousemove",this._pointerMove,r),S.removeEventListener("mouseup",this._pointerUp,r),S.removeEventListener("touchmove",this._pointerMove,r),S.removeEventListener("touchend",this._pointerUp,r),S.removeEventListener("touchcancel",this._pointerUp,r);const k=this._getWindow();typeof k<"u"&&k&&k.removeEventListener("blur",this._windowBlur)}_increment(S){const k=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(k+this.step*S,this.min,this.max)}_updateValueFromPosition(S){if(!this._sliderDimensions)return;let se=this._clamp(((this.vertical?S.y:S.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(se=1-se),0===se)this.value=this.min;else if(1===se)this.value=this.max;else{const ne=this._calculateValue(se),me=Math.round((ne-this.min)/this.step)*this.step+this.min;this.value=this._clamp(me,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(!this.tickInterval||!this._sliderDimensions)return;let S;if("auto"==this.tickInterval){let k=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;S=Math.ceil(30/(k*this.step/(this.max-this.min)))*this.step/k}else S=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=A(S)?S:0}_createChangeEvent(S=this.value){let k=new x;return k.source=this,k.value=S,k}_calculatePercentage(S){const k=((S||0)-this.min)/(this.max-this.min);return A(k)?k:0}_calculateValue(S){return this.min+S*(this.max-this.min)}_clamp(S,k=0,F=1){return Math.max(k,Math.min(S,F))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(S){this._elementRef.nativeElement.focus(S)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(S){this.value=S}registerOnChange(S){this._controlValueAccessorChangeFn=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this.disabled=S}}return j.\u0275fac=function(S){return new(S||j)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(b.tE),p.\u0275\u0275directiveInject(p.ChangeDetectorRef),p.\u0275\u0275directiveInject(o.Is,8),p.\u0275\u0275injectAttribute("tabindex"),p.\u0275\u0275directiveInject(p.NgZone),p.\u0275\u0275directiveInject(n.DOCUMENT),p.\u0275\u0275directiveInject(p.ANIMATION_MODULE_TYPE,8))},j.\u0275cmp=p.\u0275\u0275defineComponent({type:j,selectors:[["mat-slider"]],viewQuery:function(S,k){if(1&S&&p.\u0275\u0275viewQuery(d,5),2&S){let F;p.\u0275\u0275queryRefresh(F=p.\u0275\u0275loadQuery())&&(k._sliderWrapper=F.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(S,k){1&S&&p.\u0275\u0275listener("focus",function(){return k._onFocus()})("blur",function(){return k._onBlur()})("keydown",function(Y){return k._onKeydown(Y)})("keyup",function(){return k._onKeyup()})("mouseenter",function(){return k._onMouseenter()})("selectstart",function(Y){return Y.preventDefault()}),2&S&&(p.\u0275\u0275hostProperty("tabIndex",k.tabIndex),p.\u0275\u0275attribute("aria-disabled",k.disabled)("aria-valuemax",k.max)("aria-valuemin",k.min)("aria-valuenow",k.value)("aria-valuetext",null==k.valueText?k.displayValue:k.valueText)("aria-orientation",k.vertical?"vertical":"horizontal"),p.\u0275\u0275classProp("mat-slider-disabled",k.disabled)("mat-slider-has-ticks",k.tickInterval)("mat-slider-horizontal",!k.vertical)("mat-slider-axis-inverted",k._shouldInvertAxis())("mat-slider-invert-mouse-coords",k._shouldInvertMouseCoords())("mat-slider-sliding",k._isSliding)("mat-slider-thumb-label-showing",k.thumbLabel)("mat-slider-vertical",k.vertical)("mat-slider-min-value",k._isMinValue())("mat-slider-hide-last-tick",k.disabled||k._isMinValue()&&k._getThumbGap()&&k._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===k._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",value:"value",displayWith:"displayWith",valueText:"valueText",vertical:"vertical"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[p.\u0275\u0275ProvidersFeature([M]),p.\u0275\u0275InheritDefinitionFeature],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(S,k){1&S&&(p.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2),p.\u0275\u0275element(3,"div",3)(4,"div",4),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(5,"div",5),p.\u0275\u0275element(6,"div",6),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(7,"div",7),p.\u0275\u0275element(8,"div",8)(9,"div",9),p.\u0275\u0275elementStart(10,"div",10)(11,"span",11),p.\u0275\u0275text(12),p.\u0275\u0275elementEnd()()()()),2&S&&(p.\u0275\u0275advance(3),p.\u0275\u0275property("ngStyle",k._getTrackBackgroundStyles()),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngStyle",k._getTrackFillStyles()),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngStyle",k._getTicksContainerStyles()),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngStyle",k._getTicksStyles()),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngStyle",k._getThumbContainerStyles()),p.\u0275\u0275advance(5),p.\u0275\u0275textInterpolate(k.displayValue))},dependencies:[n.NgStyle],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:grabbing}.mat-slider-wrapper{-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{-webkit-background-clip:content-box;background-clip:content-box;background-repeat:repeat;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid rgba(0,0,0,0);border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}'],encapsulation:2,changeDetection:0}),j})();function A(j){return!isNaN(j)&&isFinite(j)}function T(j){return"t"===j.type[0]}function O(j,N){let S;return S=T(j)?"number"==typeof N?E(j.touches,N)||E(j.changedTouches,N):j.touches[0]||j.changedTouches[0]:j,S?{x:S.clientX,y:S.clientY}:void 0}function E(j,N){for(let S=0;S{class j{}return j.\u0275fac=function(S){return new(S||j)},j.\u0275mod=p.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=p.\u0275\u0275defineInjector({imports:[n.CommonModule,C.MatCommonModule,C.MatCommonModule]}),j})()},2214:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MatLegacyCell:()=>Dn,MatLegacyCellDef:()=>Zn,MatLegacyColumnDef:()=>ri,MatLegacyFooterCell:()=>en,MatLegacyFooterCellDef:()=>Qn,MatLegacyFooterRow:()=>Ii,MatLegacyFooterRowDef:()=>Yn,MatLegacyHeaderCell:()=>ln,MatLegacyHeaderCellDef:()=>mi,MatLegacyHeaderRow:()=>ii,MatLegacyHeaderRowDef:()=>An,MatLegacyNoDataRow:()=>li,MatLegacyRecycleRows:()=>$n,MatLegacyRow:()=>oi,MatLegacyRowDef:()=>si,MatLegacyTable:()=>In,MatLegacyTableDataSource:()=>Ae,MatLegacyTableModule:()=>Ft,MatLegacyTextColumn:()=>Pi,_MatLegacyTableDataSource:()=>mt});var n=g(5879),p=g(9388),C=g(2495),b=g(8337),o=g(2831),v=g(6672),a=g(6814),c=g(8645),s=g(2459),l=g(5619),d=g(2664),r=g(2096),u=g(9773),h=g(8180);const m=[[["caption"]],[["colgroup"],["col"]]],_=["caption","colgroup, col"];function M(W,be){if(1&W&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&W){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ge.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ge.headerText," ")}}function x(W,be){if(1&W&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&W){const ge=be.$implicit,Ge=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ge.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ge.dataAccessor(ge,Ge.name)," ")}}function w(W){return class extends W{get sticky(){return this._sticky}set sticky(be){const ge=this._sticky;this._sticky=(0,C.Ig)(be),this._hasStickyChanged=ge!==this._sticky}hasStickyChanged(){const be=this._hasStickyChanged;return this._hasStickyChanged=!1,be}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...be){super(...be),this._sticky=!1,this._hasStickyChanged=!1}}}const L=new n.InjectionToken("CDK_TABLE"),A=new n.InjectionToken("text-column-options");let T=(()=>{class W{constructor(ge){this.template=ge}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.TemplateRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","cdkCellDef",""]]}),W})(),O=(()=>{class W{constructor(ge){this.template=ge}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.TemplateRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","cdkHeaderCellDef",""]]}),W})(),E=(()=>{class W{constructor(ge){this.template=ge}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.TemplateRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","cdkFooterCellDef",""]]}),W})();class D{}const R=w(D);let j=(()=>{class W extends R{get name(){return this._name}set name(ge){this._setNameInput(ge)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ge){const Ge=this._stickyEnd;this._stickyEnd=(0,C.Ig)(ge),this._hasStickyChanged=Ge!==this._stickyEnd}constructor(ge){super(),this._table=ge,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ge){ge&&(this._name=ge,this.cssClassFriendlyName=ge.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(L,8))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","cdkColumnDef",""]],contentQueries:function(ge,Ge,It){if(1&ge&&(n.\u0275\u0275contentQuery(It,T,5),n.\u0275\u0275contentQuery(It,O,5),n.\u0275\u0275contentQuery(It,E,5)),2&ge){let zt;n.\u0275\u0275queryRefresh(zt=n.\u0275\u0275loadQuery())&&(Ge.cell=zt.first),n.\u0275\u0275queryRefresh(zt=n.\u0275\u0275loadQuery())&&(Ge.headerCell=zt.first),n.\u0275\u0275queryRefresh(zt=n.\u0275\u0275loadQuery())&&(Ge.footerCell=zt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})();class N{constructor(be,ge){ge.nativeElement.classList.add(...be._columnCssClassName)}}let S=(()=>{class W extends N{constructor(ge,Ge){super(ge,Ge)}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(n.ElementRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),W})(),k=(()=>{class W extends N{constructor(ge,Ge){if(super(ge,Ge),1===ge._table?._elementRef.nativeElement.nodeType){const It=ge._table._elementRef.nativeElement.getAttribute("role");Ge.nativeElement.setAttribute("role","grid"===It||"treegrid"===It?"gridcell":"cell")}}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(n.ElementRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),W})(),F=(()=>{class W extends N{constructor(ge,Ge){if(super(ge,Ge),1===ge._table?._elementRef.nativeElement.nodeType){const It=ge._table._elementRef.nativeElement.getAttribute("role");Ge.nativeElement.setAttribute("role","grid"===It||"treegrid"===It?"gridcell":"cell")}}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(n.ElementRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),W})();class Y{constructor(){this.tasks=[],this.endTasks=[]}}const se=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let ne=(()=>{class W{constructor(ge){this._ngZone=ge,this._currentSchedule=null,this._destroyed=new c.x}schedule(ge){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ge)}scheduleEnd(ge){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ge)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Y,this._getScheduleObservable().pipe((0,u.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ge=this._currentSchedule;this._currentSchedule=new Y;for(const Ge of ge.tasks)Ge();for(const Ge of ge.endTasks)Ge()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,s.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,h.q)(1))}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275inject(n.NgZone))},W.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac}),W})(),$=(()=>{class W{constructor(ge,Ge){this.template=ge,this._differs=Ge}ngOnChanges(ge){if(!this._columnsDiffer){const Ge=ge.columns&&ge.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ge).create(),this._columnsDiffer.diff(Ge)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ge){return this instanceof ue?ge.headerCell.template:this instanceof Xe?ge.footerCell.template:ge.cell.template}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,features:[n.\u0275\u0275NgOnChangesFeature]}),W})();class q extends ${}const Q=w(q);let ue=(()=>{class W extends Q{constructor(ge,Ge,It){super(ge,Ge),this._table=It}ngOnChanges(ge){super.ngOnChanges(ge)}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(L,8))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),W})();class Me extends ${}const Oe=w(Me);let Xe=(()=>{class W extends Oe{constructor(ge,Ge,It){super(ge,Ge),this._table=It}ngOnChanges(ge){super.ngOnChanges(ge)}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(L,8))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),W})(),Be=(()=>{class W extends ${constructor(ge,Ge,It){super(ge,Ge),this._table=It}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(L,8))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),W})(),$e=(()=>{class W{constructor(ge){this._viewContainer=ge,W.mostRecentCellOutlet=this}ngOnDestroy(){W.mostRecentCellOutlet===this&&(W.mostRecentCellOutlet=null)}}return W.mostRecentCellOutlet=null,W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","cdkCellOutlet",""]]}),W})(),st=(()=>{class W{}return W.\u0275fac=function(ge){return new(ge||W)},W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Ge){1&ge&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$e],encapsulation:2}),W})(),Mt=(()=>{class W{}return W.\u0275fac=function(ge){return new(ge||W)},W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Ge){1&ge&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$e],encapsulation:2}),W})(),tt=(()=>{class W{}return W.\u0275fac=function(ge){return new(ge||W)},W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Ge){1&ge&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$e],encapsulation:2}),W})(),St=(()=>{class W{constructor(ge){this.templateRef=ge,this._contentClassName="cdk-no-data-row"}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.TemplateRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["ng-template","cdkNoDataRow",""]]}),W})();const bt=["top","bottom","left","right"];class xt{constructor(be,ge,Ge,It,zt=!0,an=!0,gn){this._isNativeHtmlTable=be,this._stickCellCss=ge,this.direction=Ge,this._coalescedStyleScheduler=It,this._isBrowser=zt,this._needsPositionStickyOnElement=an,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${ge}-border-elem-top`,bottom:`${ge}-border-elem-bottom`,left:`${ge}-border-elem-left`,right:`${ge}-border-elem-right`}}clearStickyPositioning(be,ge){const Ge=[];for(const It of be)if(It.nodeType===It.ELEMENT_NODE){Ge.push(It);for(let zt=0;zt{for(const It of Ge)this._removeStickyStyle(It,ge)})}updateStickyColumns(be,ge,Ge,It=!0){if(!be.length||!this._isBrowser||!ge.some(Un=>Un)&&!Ge.some(Un=>Un))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const zt=be[0],an=zt.children.length,gn=this._getCellWidths(zt,It),pn=this._getStickyStartColumnPositions(gn,ge),Jn=this._getStickyEndColumnPositions(gn,Ge),Nn=ge.lastIndexOf(!0),kn=Ge.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Un="rtl"===this.direction,vi=Un?"right":"left",$i=Un?"left":"right";for(const er of be)for(let fn=0;fnge[fn]?er:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===kn?[]:gn.slice(kn).map((er,fn)=>Ge[fn+kn]?er:null).reverse()}))})}stickRows(be,ge,Ge){if(!this._isBrowser)return;const It="bottom"===Ge?be.slice().reverse():be,zt="bottom"===Ge?ge.slice().reverse():ge,an=[],gn=[],pn=[];for(let Nn=0,kn=0;Nn{for(let Nn=0;Nn{ge.some(It=>!It)?this._removeStickyStyle(Ge,["bottom"]):this._addStickyStyle(Ge,"bottom",0,!1)})}_removeStickyStyle(be,ge){for(const It of ge)be.style[It]="",be.classList.remove(this._borderCellCss[It]);bt.some(It=>-1===ge.indexOf(It)&&be.style[It])?be.style.zIndex=this._getCalculatedZIndex(be):(be.style.zIndex="",this._needsPositionStickyOnElement&&(be.style.position=""),be.classList.remove(this._stickCellCss))}_addStickyStyle(be,ge,Ge,It){be.classList.add(this._stickCellCss),It&&be.classList.add(this._borderCellCss[ge]),be.style[ge]=`${Ge}px`,be.style.zIndex=this._getCalculatedZIndex(be),this._needsPositionStickyOnElement&&(be.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(be){const ge={top:100,bottom:10,left:1,right:1};let Ge=0;for(const It of bt)be.style[It]&&(Ge+=ge[It]);return Ge?`${Ge}`:""}_getCellWidths(be,ge=!0){if(!ge&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ge=[],It=be.children;for(let zt=0;zt0;zt--)ge[zt]&&(Ge[zt]=It,It+=be[zt]);return Ge}}const ie=new n.InjectionToken("CDK_SPL");let Te=(()=>{class W{constructor(ge,Ge){this.viewContainer=ge,this.elementRef=Ge}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","rowOutlet",""]]}),W})(),ct=(()=>{class W{constructor(ge,Ge){this.viewContainer=ge,this.elementRef=Ge}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","headerRowOutlet",""]]}),W})(),Lt=(()=>{class W{constructor(ge,Ge){this.viewContainer=ge,this.elementRef=Ge}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","footerRowOutlet",""]]}),W})(),Dt=(()=>{class W{constructor(ge,Ge){this.viewContainer=ge,this.elementRef=Ge}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","noDataRowOutlet",""]]}),W})(),yt=(()=>{class W{get trackBy(){return this._trackByFn}set trackBy(ge){this._trackByFn=ge}get dataSource(){return this._dataSource}set dataSource(ge){this._dataSource!==ge&&this._switchDataSource(ge)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ge){this._multiTemplateDataRows=(0,C.Ig)(ge),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ge){this._fixedLayout=(0,C.Ig)(ge),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(ge,Ge,It,zt,an,gn,pn,Jn,Nn,kn,Un,vi){this._differs=ge,this._changeDetectorRef=Ge,this._elementRef=It,this._dir=an,this._platform=pn,this._viewRepeater=Jn,this._coalescedStyleScheduler=Nn,this._viewportRuler=kn,this._stickyPositioningListener=Un,this._ngZone=vi,this._onDestroy=new c.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new n.EventEmitter,this.viewChange=new l.X({start:0,end:Number.MAX_VALUE}),zt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=gn,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ge,Ge)=>this.trackBy?this.trackBy(Ge.dataIndex,Ge.data):Ge),this._viewportRuler.change().pipe((0,u.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Ge=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ge,this._forceRecalculateCellWidths=Ge,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ge=>{ge.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,b.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ge=this._dataDiffer.diff(this._renderRows);if(!ge)return this._updateNoDataRow(),void this.contentChanged.next();const Ge=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ge,Ge,(It,zt,an)=>this._getEmbeddedViewArgs(It.item,an),It=>It.item.data,It=>{1===It.operation&&It.context&&this._renderCellTemplateForItem(It.record.item.rowDef,It.context)}),this._updateRowIndexContext(),ge.forEachIdentityChange(It=>{Ge.get(It.currentIndex).context.$implicit=It.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,h.q)(1),(0,u.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ge){this._customColumnDefs.add(ge)}removeColumnDef(ge){this._customColumnDefs.delete(ge)}addRowDef(ge){this._customRowDefs.add(ge)}removeRowDef(ge){this._customRowDefs.delete(ge)}addHeaderRowDef(ge){this._customHeaderRowDefs.add(ge),this._headerRowDefChanged=!0}removeHeaderRowDef(ge){this._customHeaderRowDefs.delete(ge),this._headerRowDefChanged=!0}addFooterRowDef(ge){this._customFooterRowDefs.add(ge),this._footerRowDefChanged=!0}removeFooterRowDef(ge){this._customFooterRowDefs.delete(ge),this._footerRowDefChanged=!0}setNoDataRow(ge){this._customNoDataRow=ge}updateStickyHeaderRowStyles(){const ge=this._getRenderedRows(this._headerRowOutlet),It=this._elementRef.nativeElement.querySelector("thead");It&&(It.style.display=ge.length?"":"none");const zt=this._headerRowDefs.map(an=>an.sticky);this._stickyStyler.clearStickyPositioning(ge,["top"]),this._stickyStyler.stickRows(ge,zt,"top"),this._headerRowDefs.forEach(an=>an.resetStickyChanged())}updateStickyFooterRowStyles(){const ge=this._getRenderedRows(this._footerRowOutlet),It=this._elementRef.nativeElement.querySelector("tfoot");It&&(It.style.display=ge.length?"":"none");const zt=this._footerRowDefs.map(an=>an.sticky);this._stickyStyler.clearStickyPositioning(ge,["bottom"]),this._stickyStyler.stickRows(ge,zt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,zt),this._footerRowDefs.forEach(an=>an.resetStickyChanged())}updateStickyColumnStyles(){const ge=this._getRenderedRows(this._headerRowOutlet),Ge=this._getRenderedRows(this._rowOutlet),It=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ge,...Ge,...It],["left","right"]),this._stickyColumnStylesNeedReset=!1),ge.forEach((zt,an)=>{this._addStickyColumnStyles([zt],this._headerRowDefs[an])}),this._rowDefs.forEach(zt=>{const an=[];for(let gn=0;gn{this._addStickyColumnStyles([zt],this._footerRowDefs[an])}),Array.from(this._columnDefsByName.values()).forEach(zt=>zt.resetStickyChanged())}_getAllRenderRows(){const ge=[],Ge=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let It=0;It{const gn=It&&It.has(an)?It.get(an):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Ge,pn}return{data:ge,rowDef:an,dataIndex:Ge}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Bt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ge=>{this._columnDefsByName.has(Ge.name),this._columnDefsByName.set(Ge.name,Ge)})}_cacheRowDefs(){this._headerRowDefs=Bt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Bt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Bt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ge=this._rowDefs.filter(Ge=>!Ge.when);this._defaultRowDef=ge[0]}_renderUpdatedColumns(){const ge=(an,gn)=>an||!!gn.getColumnsDiff(),Ge=this._rowDefs.reduce(ge,!1);Ge&&this._forceRenderDataRows();const It=this._headerRowDefs.reduce(ge,!1);It&&this._forceRenderHeaderRows();const zt=this._footerRowDefs.reduce(ge,!1);return zt&&this._forceRenderFooterRows(),Ge||It||zt}_switchDataSource(ge){this._data=[],(0,b.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ge||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ge}_observeRenderChanges(){if(!this.dataSource)return;let ge;(0,b.Z9)(this.dataSource)?ge=this.dataSource.connect(this):(0,d.b)(this.dataSource)?ge=this.dataSource:Array.isArray(this.dataSource)&&(ge=(0,r.of)(this.dataSource)),this._renderChangeSubscription=ge.pipe((0,u.R)(this._onDestroy)).subscribe(Ge=>{this._data=Ge||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ge,Ge)=>this._renderRow(this._headerRowOutlet,ge,Ge)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ge,Ge)=>this._renderRow(this._footerRowOutlet,ge,Ge)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ge,Ge){const It=Array.from(Ge.columns||[]).map(gn=>this._columnDefsByName.get(gn)),zt=It.map(gn=>gn.sticky),an=It.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(ge,zt,an,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ge){const Ge=[];for(let It=0;It!zt.when||zt.when(Ge,ge));else{let zt=this._rowDefs.find(an=>an.when&&an.when(Ge,ge))||this._defaultRowDef;zt&&It.push(zt)}return It}_getEmbeddedViewArgs(ge,Ge){return{templateRef:ge.rowDef.template,context:{$implicit:ge.data},index:Ge}}_renderRow(ge,Ge,It,zt={}){const an=ge.viewContainer.createEmbeddedView(Ge.template,zt,It);return this._renderCellTemplateForItem(Ge,zt),an}_renderCellTemplateForItem(ge,Ge){for(let It of this._getCellTemplates(ge))$e.mostRecentCellOutlet&&$e.mostRecentCellOutlet._viewContainer.createEmbeddedView(It,Ge);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ge=this._rowOutlet.viewContainer;for(let Ge=0,It=ge.length;Ge{const It=this._columnDefsByName.get(Ge);return ge.extractCellTemplate(It)}):[]}_applyNativeTableSections(){const ge=this._document.createDocumentFragment(),Ge=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const It of Ge){const zt=this._document.createElement(It.tag);zt.setAttribute("role","rowgroup");for(const an of It.outlets)zt.appendChild(an.elementRef.nativeElement);ge.appendChild(zt)}this._elementRef.nativeElement.appendChild(ge)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ge=(Ge,It)=>Ge||It.hasStickyChanged();this._headerRowDefs.reduce(ge,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ge,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ge,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new xt(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,r.of)()).pipe((0,u.R)(this._onDestroy)).subscribe(Ge=>{this._stickyStyler.direction=Ge,this.updateStickyColumnStyles()})}_getOwnDefs(ge){return ge.filter(Ge=>!Ge._table||Ge._table===this)}_updateNoDataRow(){const ge=this._customNoDataRow||this._noDataRow;if(!ge)return;const Ge=0===this._rowOutlet.viewContainer.length;if(Ge===this._isShowingNoDataRow)return;const It=this._noDataRowOutlet.viewContainer;if(Ge){const zt=It.createEmbeddedView(ge.templateRef),an=zt.rootNodes[0];1===zt.rootNodes.length&&an?.nodeType===this._document.ELEMENT_NODE&&(an.setAttribute("role","row"),an.classList.add(ge._contentClassName))}else It.clear();this._isShowingNoDataRow=Ge}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(p.Is,8),n.\u0275\u0275directiveInject(a.DOCUMENT),n.\u0275\u0275directiveInject(o.t4),n.\u0275\u0275directiveInject(b.k),n.\u0275\u0275directiveInject(se),n.\u0275\u0275directiveInject(v.rL),n.\u0275\u0275directiveInject(ie,12),n.\u0275\u0275directiveInject(n.NgZone,8))},W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ge,Ge,It){if(1&ge&&(n.\u0275\u0275contentQuery(It,St,5),n.\u0275\u0275contentQuery(It,j,5),n.\u0275\u0275contentQuery(It,Be,5),n.\u0275\u0275contentQuery(It,ue,5),n.\u0275\u0275contentQuery(It,Xe,5)),2&ge){let zt;n.\u0275\u0275queryRefresh(zt=n.\u0275\u0275loadQuery())&&(Ge._noDataRow=zt.first),n.\u0275\u0275queryRefresh(zt=n.\u0275\u0275loadQuery())&&(Ge._contentColumnDefs=zt),n.\u0275\u0275queryRefresh(zt=n.\u0275\u0275loadQuery())&&(Ge._contentRowDefs=zt),n.\u0275\u0275queryRefresh(zt=n.\u0275\u0275loadQuery())&&(Ge._contentHeaderRowDefs=zt),n.\u0275\u0275queryRefresh(zt=n.\u0275\u0275loadQuery())&&(Ge._contentFooterRowDefs=zt)}},viewQuery:function(ge,Ge){if(1&ge&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(ct,7),n.\u0275\u0275viewQuery(Lt,7),n.\u0275\u0275viewQuery(Dt,7)),2&ge){let It;n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(Ge._rowOutlet=It.first),n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(Ge._headerRowOutlet=It.first),n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(Ge._footerRowOutlet=It.first),n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(Ge._noDataRowOutlet=It.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(ge,Ge){2&ge&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Ge.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:L,useExisting:W},{provide:b.k,useClass:b.yy},{provide:se,useClass:ne},{provide:ie,useValue:null}])],ngContentSelectors:_,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ge,Ge){1&ge&&(n.\u0275\u0275projectionDef(m),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Te,ct,Lt,Dt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),W})();function Bt(W,be){return W.concat(Array.from(be))}let $t=(()=>{class W{get name(){return this._name}set name(ge){this._name=ge,this._syncColumnDefName()}constructor(ge,Ge){this._table=ge,this._options=Ge,this.justify="start",this._options=Ge||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((ge,Ge)=>ge[Ge])),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 ge=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(ge):ge[0].toUpperCase()+ge.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return W.\u0275fac=function(ge){return new(ge||W)(n.\u0275\u0275directiveInject(yt,8),n.\u0275\u0275directiveInject(A,8))},W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["cdk-text-column"]],viewQuery:function(ge,Ge){if(1&ge&&(n.\u0275\u0275viewQuery(j,7),n.\u0275\u0275viewQuery(T,7),n.\u0275\u0275viewQuery(O,7)),2&ge){let It;n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(Ge.columnDef=It.first),n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(Ge.cell=It.first),n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(Ge.headerCell=It.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(ge,Ge){1&ge&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,M,2,3,"th",1),n.\u0275\u0275template(2,x,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[T,O,j,F,S],encapsulation:2}),W})(),Ue=(()=>{class W{}return W.\u0275fac=function(ge){return new(ge||W)},W.\u0275mod=n.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=n.\u0275\u0275defineInjector({imports:[v.Cl]}),W})();var We=g(3680),ve=g(3019),we=g(2572),at=g(7398);class mt extends b.o2{get data(){return this._data.value}set data(be){be=Array.isArray(be)?be:[],this._data.next(be),this._renderChangesSubscription||this._filterData(be)}get filter(){return this._filter.value}set filter(be){this._filter.next(be),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(be){this._sort=be,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(be){this._paginator=be,this._updateChangeSubscription()}constructor(be=[]){super(),this._renderData=new l.X([]),this._filter=new l.X(""),this._internalPageChanges=new c.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ge,Ge)=>{const It=ge[Ge];if((0,C.t6)(It)){const zt=Number(It);return zt<9007199254740991?zt:It}return It},this.sortData=(ge,Ge)=>{const It=Ge.active,zt=Ge.direction;return It&&""!=zt?ge.sort((an,gn)=>{let pn=this.sortingDataAccessor(an,It),Jn=this.sortingDataAccessor(gn,It);const Nn=typeof pn,kn=typeof Jn;Nn!==kn&&("number"===Nn&&(pn+=""),"number"===kn&&(Jn+=""));let Un=0;return null!=pn&&null!=Jn?pn>Jn?Un=1:pn{const It=Object.keys(ge).reduce((an,gn)=>an+ge[gn]+"\u25ec","").toLowerCase(),zt=Ge.trim().toLowerCase();return-1!=It.indexOf(zt)},this._data=new l.X(be),this._updateChangeSubscription()}_updateChangeSubscription(){const be=this._sort?(0,ve.T)(this._sort.sortChange,this._sort.initialized):(0,r.of)(null),ge=this._paginator?(0,ve.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,r.of)(null),It=(0,we.a)([this._data,this._filter]).pipe((0,at.U)(([gn])=>this._filterData(gn))),zt=(0,we.a)([It,be]).pipe((0,at.U)(([gn])=>this._orderData(gn))),an=(0,we.a)([zt,ge]).pipe((0,at.U)(([gn])=>this._pageData(gn)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=an.subscribe(gn=>this._renderData.next(gn))}_filterData(be){return this.filteredData=null==this.filter||""===this.filter?be:be.filter(ge=>this.filterPredicate(ge,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(be){return this.sort?this.sortData(be.slice(),this.sort):be}_pageData(be){if(!this.paginator)return be;const ge=this.paginator.pageIndex*this.paginator.pageSize;return be.slice(ge,ge+this.paginator.pageSize)}_updatePaginator(be){Promise.resolve().then(()=>{const ge=this.paginator;if(ge&&(ge.length=be,ge.pageIndex>0)){const Ge=Math.ceil(ge.length/ge.pageSize)-1||0,It=Math.min(ge.pageIndex,Ge);It!==ge.pageIndex&&(ge.pageIndex=It,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}const qt=[[["caption"]],[["colgroup"],["col"]]],on=["caption","colgroup, col"];function hn(W,be){if(1&W&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&W){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ge.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ge.headerText," ")}}function un(W,be){if(1&W&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&W){const ge=be.$implicit,Ge=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ge.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ge.dataAccessor(ge,Ge.name)," ")}}let $n=(()=>{class W{}return W.\u0275fac=function(ge){return new(ge||W)},W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:b.k,useClass:b.eX}])]}),W})(),In=(()=>{class W extends yt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(ge,Ge){2&ge&&n.\u0275\u0275classProp("mat-table-fixed-layout",Ge.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:b.k,useClass:b.yy},{provide:yt,useExisting:W},{provide:L,useExisting:W},{provide:se,useClass:ne},{provide:ie,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:on,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ge,Ge){1&ge&&(n.\u0275\u0275projectionDef(qt),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Te,ct,Lt,Dt],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),W})(),Zn=(()=>{class W extends T{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:T,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})(),mi=(()=>{class W extends O{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:O,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})(),Qn=(()=>{class W extends E{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:E,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})(),ri=(()=>{class W extends j{get name(){return this._name}set name(ge){this._setNameInput(ge)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:j,useExisting:W},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})(),ln=(()=>{class W extends S{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),W})(),en=(()=>{class W extends k{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),W})(),Dn=(()=>{class W extends F{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),W})(),An=(()=>{class W extends ue{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ue,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})(),Yn=(()=>{class W extends Xe{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Xe,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})(),si=(()=>{class W extends Be{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})(),ii=(()=>{class W extends st{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:st,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Ge){1&ge&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$e],encapsulation:2}),W})(),Ii=(()=>{class W extends Mt{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Mt,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Ge){1&ge&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$e],encapsulation:2}),W})(),oi=(()=>{class W extends tt{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Ge){1&ge&&n.\u0275\u0275elementContainer(0,0)},dependencies:[$e],encapsulation:2}),W})(),li=(()=>{class W extends St{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:St,useExisting:W}]),n.\u0275\u0275InheritDefinitionFeature]}),W})(),Pi=(()=>{class W extends $t{}return W.\u0275fac=function(){let be;return function(Ge){return(be||(be=n.\u0275\u0275getInheritedFactory(W)))(Ge||W)}}(),W.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["mat-text-column"]],hostVars:1,hostBindings:function(ge,Ge){2&ge&&n.\u0275\u0275attribute("mat-id-collision",null)},features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(ge,Ge){1&ge&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,hn,2,3,"th",1),n.\u0275\u0275template(2,un,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[mi,ri,Zn,ln,Dn],encapsulation:2}),W})(),Ft=(()=>{class W{}return W.\u0275fac=function(ge){return new(ge||W)},W.\u0275mod=n.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ue,We.MatCommonModule,We.MatCommonModule]}),W})();class Ae extends mt{}},8615:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MAT_LEGACY_TAB:()=>rt,MAT_LEGACY_TABS_CONFIG:()=>De,MAT_LEGACY_TAB_CONTENT:()=>nt,MAT_LEGACY_TAB_GROUP:()=>yt,MatLegacyInkBar:()=>mi,MatLegacyPaginatedTabHeader:()=>ve,MatLegacyTab:()=>Qn,MatLegacyTabBody:()=>ln,MatLegacyTabBodyPortal:()=>ri,MatLegacyTabChangeEvent:()=>ce,MatLegacyTabContent:()=>li,MatLegacyTabGroup:()=>An,MatLegacyTabHeader:()=>Dn,MatLegacyTabLabel:()=>oi,MatLegacyTabLabelWrapper:()=>en,MatLegacyTabLink:()=>ii,MatLegacyTabNav:()=>si,MatLegacyTabNavPanel:()=>Ii,MatLegacyTabsModule:()=>Pi,_MAT_LEGACY_INK_BAR_POSITIONER:()=>Te,_MAT_LEGACY_INK_BAR_POSITIONER_FACTORY:()=>pe,_MatLegacyTabBase:()=>Bt,_MatLegacyTabBodyBase:()=>bt,_MatLegacyTabGroupBase:()=>Z,_MatLegacyTabHeaderBase:()=>we,_MatLegacyTabLinkBase:()=>Ye,_MatLegacyTabNavBase:()=>it,matLegacyTabsAnimations:()=>tt});var n=g(4300),p=g(7131),C=g(8484),b=g(6814),o=g(5879),v=g(3680),a=g(8180),c=g(9388),s=g(7394),l=g(8645),d=g(2438),r=g(2096),u=g(3019),h=g(6232),m=g(5592),_=g(9080),M=g(7921),x=g(3997),w=g(9773),L=g(4664),A=g(836),T=g(2181),O=g(6825),E=g(2495),D=g(6672),R=g(2831),j=g(6028);function N(Ct,Ft){}const S=function(Ct){return{animationDuration:Ct}},k=function(Ct,Ft){return{value:Ct,params:Ft}},tt={translateTab:(0,O.X$)("translateTab",[(0,O.SB)("center, void, left-origin-center, right-origin-center",(0,O.oB)({transform:"none"})),(0,O.SB)("left",(0,O.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,O.SB)("right",(0,O.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,O.eR)("* => left, * => right, left => center, right => center",(0,O.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,O.eR)("void => left-origin-center",[(0,O.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,O.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,O.eR)("void => right-origin-center",[(0,O.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,O.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let St=(()=>{class Ct extends C.Pl{constructor(Ae,W,be,ge){super(Ae,W,ge),this._host=be,this._centeringSub=s.w0.EMPTY,this._leavingSub=s.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,M.O)(this._host._isCenterPosition(this._host._position))).subscribe(Ae=>{Ae&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ComponentFactoryResolver),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject((0,o.forwardRef)(()=>xt)),o.\u0275\u0275directiveInject(b.DOCUMENT))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["","matTabBodyHost",""]],features:[o.\u0275\u0275InheritDefinitionFeature]}),Ct})(),bt=(()=>{class Ct{set position(Ae){this._positionIndex=Ae,this._computePositionAnimationState()}constructor(Ae,W,be){this._elementRef=Ae,this._dir=W,this._dirChangeSubscription=s.w0.EMPTY,this._translateTabComplete=new l.x,this._onCentering=new o.EventEmitter,this._beforeCentering=new o.EventEmitter,this._afterLeavingCenter=new o.EventEmitter,this._onCentered=new o.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,W&&(this._dirChangeSubscription=W.change.subscribe(ge=>{this._computePositionAnimationState(ge),be.markForCheck()})),this._translateTabComplete.pipe((0,x.x)((ge,Ge)=>ge.fromState===Ge.fromState&&ge.toState===Ge.toState)).subscribe(ge=>{this._isCenterPosition(ge.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(ge.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(Ae){const W=this._isCenterPosition(Ae.toState);this._beforeCentering.emit(W),W&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Ae){return"center"==Ae||"left-origin-center"==Ae||"right-origin-center"==Ae}_computePositionAnimationState(Ae=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Ae?"left":"right":this._positionIndex>0?"ltr"==Ae?"right":"left":"center"}_computePositionFromOrigin(Ae){const W=this._getLayoutDirection();return"ltr"==W&&Ae<=0||"rtl"==W&&Ae>0?"left-origin-center":"right-origin-center"}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(c.Is,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Ct})(),xt=(()=>{class Ct extends bt{constructor(Ae,W,be){super(Ae,W,be)}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(c.Is,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},Ct.\u0275cmp=o.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-tab-body"]],viewQuery:function(Ae,W){if(1&Ae&&o.\u0275\u0275viewQuery(C.Pl,5),2&Ae){let be;o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._portalHost=be.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[o.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Ae,W){1&Ae&&(o.\u0275\u0275elementStart(0,"div",0,1),o.\u0275\u0275listener("@translateTab.start",function(ge){return W._onTranslateTabStarted(ge)})("@translateTab.done",function(ge){return W._translateTabComplete.next(ge)}),o.\u0275\u0275template(2,N,0,0,"ng-template",2),o.\u0275\u0275elementEnd()),2&Ae&&o.\u0275\u0275property("@translateTab",o.\u0275\u0275pureFunction2(3,k,W._position,o.\u0275\u0275pureFunction1(1,S,W.animationDuration)))},dependencies:[St],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:[tt.translateTab]}}),Ct})();const nt=new o.InjectionToken("MatTabContent");let ot=(()=>{class Ct{constructor(Ae){this.template=Ae}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.TemplateRef))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["","matTabContent",""]],features:[o.\u0275\u0275ProvidersFeature([{provide:nt,useExisting:Ct}])]}),Ct})();const vt=new o.InjectionToken("MatTabLabel"),rt=new o.InjectionToken("MAT_TAB");let J=(()=>{class Ct extends C.ig{constructor(Ae,W,be){super(Ae,W),this._closestTab=be}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.TemplateRef),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject(rt,8))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[o.\u0275\u0275ProvidersFeature([{provide:vt,useExisting:Ct}]),o.\u0275\u0275InheritDefinitionFeature]}),Ct})();function pe(){return Ft=>({left:Ft?(Ft.offsetLeft||0)+"px":"0",width:Ft?(Ft.offsetWidth||0)+"px":"0"})}const Te=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:pe}),ct=(0,v.mixinDisabled)(class{});let Lt=(()=>{class Ct extends ct{constructor(Ae){super(),this.elementRef=Ae}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,features:[o.\u0275\u0275InheritDefinitionFeature]}),Ct})();const ze=(0,v.mixinDisabled)(class{}),yt=new o.InjectionToken("MAT_TAB_GROUP");let Bt=(()=>{class Ct extends ze{get content(){return this._contentPortal}constructor(Ae,W){super(),this._viewContainerRef=Ae,this._closestTabGroup=W,this.textLabel="",this._contentPortal=null,this._stateChanges=new l.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Ae){(Ae.hasOwnProperty("textLabel")||Ae.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new C.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Ae){Ae&&Ae._closestTab===this&&(this._templateLabel=Ae)}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject(yt,8))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,viewQuery:function(Ae,W){if(1&Ae&&o.\u0275\u0275viewQuery(o.TemplateRef,7),2&Ae){let be;o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._implicitContent=be.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[o.\u0275\u0275InheritDefinitionFeature,o.\u0275\u0275NgOnChangesFeature]}),Ct})();const Yt=(0,R.i$)({passive:!0});let ve=(()=>{class Ct{get disablePagination(){return this._disablePagination}set disablePagination(Ae){this._disablePagination=(0,E.Ig)(Ae)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ae){Ae=(0,E.su)(Ae),this._selectedIndex!=Ae&&(this._selectedIndexChanged=!0,this._selectedIndex=Ae,this._keyManager&&this._keyManager.updateActiveItem(Ae))}constructor(Ae,W,be,ge,Ge,It,zt){this._elementRef=Ae,this._changeDetectorRef=W,this._viewportRuler=be,this._dir=ge,this._ngZone=Ge,this._platform=It,this._animationMode=zt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,Ge.runOutsideAngular(()=>{(0,d.R)(Ae.nativeElement,"mouseleave").pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,d.R)(this._previousPaginator.nativeElement,"touchstart",Yt).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,d.R)(this._nextPaginator.nativeElement,"touchstart",Yt).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Ae=this._dir?this._dir.change:(0,r.of)("ltr"),W=this._viewportRuler.change(150),be=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,a.q)(1)).subscribe(be),(0,u.T)(Ae,W,this._items.changes,this._itemsResized()).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),be()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(ge=>{this.indexFocused.emit(ge),this._setTabFocus(ge)})}_itemsResized(){return"function"!=typeof ResizeObserver?h.E:this._items.changes.pipe((0,M.O)(this._items),(0,L.w)(Ae=>new m.y(W=>this._ngZone.runOutsideAngular(()=>{const be=new ResizeObserver(ge=>W.next(ge));return Ae.forEach(ge=>be.observe(ge.elementRef.nativeElement)),()=>{be.disconnect()}}))),(0,A.T)(1),(0,T.h)(Ae=>Ae.some(W=>W.contentRect.width>0&&W.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(Ae){if(!(0,j.Vb)(Ae))switch(Ae.keyCode){case j.K5:case j.L_:if(this.focusIndex!==this.selectedIndex){const W=this._items.get(this.focusIndex);W&&!W.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Ae))}break;default:this._keyManager.onKeydown(Ae)}}_onContentChanges(){const Ae=this._elementRef.nativeElement.textContent;Ae!==this._currentTextContent&&(this._currentTextContent=Ae||"",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(Ae){!this._isValidIndex(Ae)||this.focusIndex===Ae||!this._keyManager||this._keyManager.setActiveItem(Ae)}_isValidIndex(Ae){return!this._items||!!this._items.toArray()[Ae]}_setTabFocus(Ae){if(this._showPaginationControls&&this._scrollToLabel(Ae),this._items&&this._items.length){this._items.toArray()[Ae].focus();const W=this._tabListContainer.nativeElement;W.scrollLeft="ltr"==this._getLayoutDirection()?0:W.scrollWidth-W.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Ae=this.scrollDistance,W="ltr"===this._getLayoutDirection()?-Ae:Ae;this._tabList.nativeElement.style.transform=`translateX(${Math.round(W)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Ae){this._scrollTo(Ae)}_scrollHeader(Ae){return this._scrollTo(this._scrollDistance+("before"==Ae?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Ae){this._stopInterval(),this._scrollHeader(Ae)}_scrollToLabel(Ae){if(this.disablePagination)return;const W=this._items?this._items.toArray()[Ae]:null;if(!W)return;const be=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:ge,offsetWidth:Ge}=W.elementRef.nativeElement;let It,zt;"ltr"==this._getLayoutDirection()?(It=ge,zt=It+Ge):(zt=this._tabListInner.nativeElement.offsetWidth-ge,It=zt-Ge);const an=this.scrollDistance,gn=this.scrollDistance+be;Itgn&&(this.scrollDistance+=Math.min(zt-gn,It-an))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Ae=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Ae||(this.scrollDistance=0),Ae!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Ae}}_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 Ae=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,W=Ae?Ae.elementRef.nativeElement:null;W?this._inkBar.alignToElement(W):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Ae,W){W&&null!=W.button&&0!==W.button||(this._stopInterval(),(0,_.H)(650,100).pipe((0,w.R)((0,u.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:be,distance:ge}=this._scrollHeader(Ae);(0===ge||ge>=be)&&this._stopInterval()}))}_scrollTo(Ae){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const W=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(W,Ae)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:W,distance:this._scrollDistance}}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(D.rL),o.\u0275\u0275directiveInject(c.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(R.t4),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,inputs:{disablePagination:"disablePagination"}}),Ct})(),we=(()=>{class Ct extends ve{get disableRipple(){return this._disableRipple}set disableRipple(Ae){this._disableRipple=(0,E.Ig)(Ae)}constructor(Ae,W,be,ge,Ge,It,zt){super(Ae,W,be,ge,Ge,It,zt),this._disableRipple=!1}_itemSelected(Ae){Ae.preventDefault()}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(D.rL),o.\u0275\u0275directiveInject(c.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(R.t4),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,inputs:{disableRipple:"disableRipple"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Ct})();const De=new o.InjectionToken("MAT_TABS_CONFIG");let je=0;const ke=(0,v.mixinColor)((0,v.mixinDisableRipple)(class{constructor(Ct){this._elementRef=Ct}}),"primary");let Z=(()=>{class Ct extends ke{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Ae){this._dynamicHeight=(0,E.Ig)(Ae)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ae){this._indexToSelect=(0,E.su)(Ae,null)}get animationDuration(){return this._animationDuration}set animationDuration(Ae){this._animationDuration=/^\d+$/.test(Ae+"")?Ae+"ms":Ae}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Ae){this._contentTabIndex=(0,E.su)(Ae,null)}get disablePagination(){return this._disablePagination}set disablePagination(Ae){this._disablePagination=(0,E.Ig)(Ae)}get preserveContent(){return this._preserveContent}set preserveContent(Ae){this._preserveContent=(0,E.Ig)(Ae)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Ae){const W=this._elementRef.nativeElement.classList;W.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Ae&&W.add("mat-tabs-with-background",`mat-background-${Ae}`),this._backgroundColor=Ae}constructor(Ae,W,be,ge){super(Ae),this._changeDetectorRef=W,this._animationMode=ge,this._tabs=new o.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=s.w0.EMPTY,this._tabLabelSubscription=s.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new o.EventEmitter,this.focusChange=new o.EventEmitter,this.animationDone=new o.EventEmitter,this.selectedTabChange=new o.EventEmitter(!0),this._groupId=je++,this.animationDuration=be&&be.animationDuration?be.animationDuration:"500ms",this.disablePagination=!(!be||null==be.disablePagination)&&be.disablePagination,this.dynamicHeight=!(!be||null==be.dynamicHeight)&&be.dynamicHeight,this.contentTabIndex=be?.contentTabIndex??null,this.preserveContent=!!be?.preserveContent}ngAfterContentChecked(){const Ae=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Ae){const W=null==this._selectedIndex;if(!W){this.selectedTabChange.emit(this._createChangeEvent(Ae));const be=this._tabBodyWrapper.nativeElement;be.style.minHeight=be.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((be,ge)=>be.isActive=ge===Ae),W||(this.selectedIndexChange.emit(Ae),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((W,be)=>{W.position=be-Ae,null!=this._selectedIndex&&0==W.position&&!W.origin&&(W.origin=Ae-this._selectedIndex)}),this._selectedIndex!==Ae&&(this._selectedIndex=Ae,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Ae=this._clampTabIndex(this._indexToSelect);if(Ae===this._selectedIndex){const W=this._tabs.toArray();let be;for(let ge=0;ge{W[Ae].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Ae))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,M.O)(this._allTabs)).subscribe(Ae=>{this._tabs.reset(Ae.filter(W=>W._closestTabGroup===this||!W._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(Ae){const W=this._tabHeader;W&&(W.focusIndex=Ae)}_focusChanged(Ae){this._lastFocusedTabIndex=Ae,this.focusChange.emit(this._createChangeEvent(Ae))}_createChangeEvent(Ae){const W=new ce;return W.index=Ae,this._tabs&&this._tabs.length&&(W.tab=this._tabs.toArray()[Ae]),W}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,u.T)(...this._tabs.map(Ae=>Ae._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Ae){return Math.min(this._tabs.length-1,Math.max(Ae||0,0))}_getTabLabelId(Ae){return`mat-tab-label-${this._groupId}-${Ae}`}_getTabContentId(Ae){return`mat-tab-content-${this._groupId}-${Ae}`}_setTabBodyWrapperHeight(Ae){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const W=this._tabBodyWrapper.nativeElement;W.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(W.style.height=Ae+"px")}_removeTabBodyWrapperHeight(){const Ae=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Ae.clientHeight,Ae.style.height="",this.animationDone.emit()}_handleClick(Ae,W,be){W.focusIndex=be,Ae.disabled||(this.selectedIndex=be)}_getTabIndex(Ae){return Ae===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Ae,W){Ae&&"mouse"!==Ae&&"touch"!==Ae&&(this._tabHeader.focusIndex=W)}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(De,8),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Ct})();class ce{}let Ee=0,it=(()=>{class Ct extends ve{get backgroundColor(){return this._backgroundColor}set backgroundColor(Ae){const W=this._elementRef.nativeElement.classList;W.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Ae&&W.add("mat-tabs-with-background",`mat-background-${Ae}`),this._backgroundColor=Ae}get disableRipple(){return this._disableRipple}set disableRipple(Ae){this._disableRipple=(0,E.Ig)(Ae)}constructor(Ae,W,be,ge,Ge,It,zt){super(Ae,ge,Ge,W,be,It,zt),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,M.O)(null),(0,w.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const Ae=this._items.toArray();for(let W=0;W{class Ct extends Rt{get active(){return this._isActive}set active(Ae){const W=(0,E.Ig)(Ae);W!==this._isActive&&(this._isActive=W,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Ae,W,be,ge,Ge,It){super(),this._tabNavBar=Ae,this.elementRef=W,this._focusMonitor=Ge,this._isActive=!1,this.id="mat-tab-link-"+Ee++,this.rippleConfig=be||{},this.tabIndex=parseInt(ge)||0,"NoopAnimations"===It&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(Ae){!this.disabled||Ae.keyCode!==j.L_&&Ae.keyCode!==j.K5?this._tabNavBar.tabPanel&&Ae.keyCode===j.L_&&this.elementRef.nativeElement.click():Ae.preventDefault()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(it),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(v.MAT_RIPPLE_GLOBAL_OPTIONS,8),o.\u0275\u0275injectAttribute("tabindex"),o.\u0275\u0275directiveInject(n.tE),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,inputs:{active:"active",id:"id"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Ct})();function wn(Ct,Ft){1&Ct&&o.\u0275\u0275projection(0)}const Tn=["*"];function Sn(Ct,Ft){}const Mn=function(Ct){return{animationDuration:Ct}},Ci=function(Ct,Ft){return{value:Ct,params:Ft}},di=["tabListContainer"],Li=["tabList"],Qi=["tabListInner"],wt=["nextPaginator"],mt=["previousPaginator"],pt=["tabBodyWrapper"],qt=["tabHeader"];function on(Ct,Ft){}function hn(Ct,Ft){if(1&Ct&&o.\u0275\u0275template(0,on,0,0,"ng-template",10),2&Ct){const Ae=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275property("cdkPortalOutlet",Ae.templateLabel)}}function un(Ct,Ft){if(1&Ct&&o.\u0275\u0275text(0),2&Ct){const Ae=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275textInterpolate(Ae.textLabel)}}function $n(Ct,Ft){if(1&Ct){const Ae=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",6),o.\u0275\u0275listener("click",function(){const be=o.\u0275\u0275restoreView(Ae),ge=be.$implicit,Ge=be.index,It=o.\u0275\u0275nextContext(),zt=o.\u0275\u0275reference(1);return o.\u0275\u0275resetView(It._handleClick(ge,zt,Ge))})("cdkFocusChange",function(be){const Ge=o.\u0275\u0275restoreView(Ae).index,It=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(It._tabFocusChanged(be,Ge))}),o.\u0275\u0275elementStart(1,"div",7),o.\u0275\u0275template(2,hn,1,1,"ng-template",8),o.\u0275\u0275template(3,un,1,1,"ng-template",null,9,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275elementEnd()()}if(2&Ct){const Ae=Ft.$implicit,W=Ft.index,be=o.\u0275\u0275reference(4),ge=o.\u0275\u0275nextContext();o.\u0275\u0275classProp("mat-tab-label-active",ge.selectedIndex===W),o.\u0275\u0275property("id",ge._getTabLabelId(W))("ngClass",Ae.labelClass)("disabled",Ae.disabled)("matRippleDisabled",Ae.disabled||ge.disableRipple),o.\u0275\u0275attribute("tabIndex",ge._getTabIndex(W))("aria-posinset",W+1)("aria-setsize",ge._tabs.length)("aria-controls",ge._getTabContentId(W))("aria-selected",ge.selectedIndex===W)("aria-label",Ae.ariaLabel||null)("aria-labelledby",!Ae.ariaLabel&&Ae.ariaLabelledby?Ae.ariaLabelledby:null),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",Ae.templateLabel)("ngIfElse",be)}}function In(Ct,Ft){if(1&Ct){const Ae=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"mat-tab-body",11),o.\u0275\u0275listener("_onCentered",function(){o.\u0275\u0275restoreView(Ae);const be=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(be._removeTabBodyWrapperHeight())})("_onCentering",function(be){o.\u0275\u0275restoreView(Ae);const ge=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(ge._setTabBodyWrapperHeight(be))}),o.\u0275\u0275elementEnd()}if(2&Ct){const Ae=Ft.$implicit,W=Ft.index,be=o.\u0275\u0275nextContext();o.\u0275\u0275classProp("mat-tab-body-active",be.selectedIndex===W),o.\u0275\u0275property("id",be._getTabContentId(W))("ngClass",Ae.bodyClass)("content",Ae.content)("position",Ae.position)("origin",Ae.origin)("animationDuration",be.animationDuration)("preserveContent",be.preserveContent),o.\u0275\u0275attribute("tabindex",null!=be.contentTabIndex&&be.selectedIndex===W?be.contentTabIndex:null)("aria-labelledby",be._getTabLabelId(W))}}const Zn=["mat-tab-nav-bar",""];let mi=(()=>{class Ct{constructor(Ae,W,be,ge){this._elementRef=Ae,this._ngZone=W,this._inkBarPositioner=be,this._animationMode=ge}alignToElement(Ae){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,a.q)(1)).subscribe(()=>{const W=this._inkBarPositioner(Ae),be=this._elementRef.nativeElement;be.style.left=W.left,be.style.width=W.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(Te),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(Ae,W){2&Ae&&o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===W._animationMode)}}),Ct})(),Qn=(()=>{class Ct extends Bt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(Ae){this._setTemplateLabelInput(Ae)}}return Ct.\u0275fac=function(){let Ft;return function(W){return(Ft||(Ft=o.\u0275\u0275getInheritedFactory(Ct)))(W||Ct)}}(),Ct.\u0275cmp=o.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-tab"]],contentQueries:function(Ae,W,be){if(1&Ae&&(o.\u0275\u0275contentQuery(be,vt,5),o.\u0275\u0275contentQuery(be,nt,7,o.TemplateRef)),2&Ae){let ge;o.\u0275\u0275queryRefresh(ge=o.\u0275\u0275loadQuery())&&(W.templateLabel=ge.first),o.\u0275\u0275queryRefresh(ge=o.\u0275\u0275loadQuery())&&(W._explicitContent=ge.first)}},hostVars:1,hostBindings:function(Ae,W){2&Ae&&o.\u0275\u0275attribute("mat-id-collision",null)},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[o.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:Ct}]),o.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Tn,decls:1,vars:0,template:function(Ae,W){1&Ae&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275template(0,wn,1,0,"ng-template"))},encapsulation:2}),Ct})(),ri=(()=>{class Ct extends St{constructor(Ae,W,be,ge){super(Ae,W,be,ge)}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ComponentFactoryResolver),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject((0,o.forwardRef)(()=>ln)),o.\u0275\u0275directiveInject(b.DOCUMENT))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["","matTabBodyHost",""]],features:[o.\u0275\u0275InheritDefinitionFeature]}),Ct})(),ln=(()=>{class Ct extends bt{constructor(Ae,W,be){super(Ae,W,be)}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(c.Is,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},Ct.\u0275cmp=o.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-tab-body"]],viewQuery:function(Ae,W){if(1&Ae&&o.\u0275\u0275viewQuery(C.Pl,5),2&Ae){let be;o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._portalHost=be.first)}},hostAttrs:[1,"mat-tab-body"],features:[o.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Ae,W){1&Ae&&(o.\u0275\u0275elementStart(0,"div",0,1),o.\u0275\u0275listener("@translateTab.start",function(ge){return W._onTranslateTabStarted(ge)})("@translateTab.done",function(ge){return W._translateTabComplete.next(ge)}),o.\u0275\u0275template(2,Sn,0,0,"ng-template",2),o.\u0275\u0275elementEnd()),2&Ae&&o.\u0275\u0275property("@translateTab",o.\u0275\u0275pureFunction2(3,Ci,W._position,o.\u0275\u0275pureFunction1(1,Mn,W.animationDuration)))},dependencies:[ri],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[tt.translateTab]}}),Ct})(),en=(()=>{class Ct extends Lt{}return Ct.\u0275fac=function(){let Ft;return function(W){return(Ft||(Ft=o.\u0275\u0275getInheritedFactory(Ct)))(W||Ct)}}(),Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Ae,W){2&Ae&&(o.\u0275\u0275attribute("aria-disabled",!!W.disabled),o.\u0275\u0275classProp("mat-tab-disabled",W.disabled))},inputs:{disabled:"disabled"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Ct})(),Dn=(()=>{class Ct extends we{constructor(Ae,W,be,ge,Ge,It,zt){super(Ae,W,be,ge,Ge,It,zt)}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(D.rL),o.\u0275\u0275directiveInject(c.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(R.t4),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275cmp=o.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-tab-header"]],contentQueries:function(Ae,W,be){if(1&Ae&&o.\u0275\u0275contentQuery(be,en,4),2&Ae){let ge;o.\u0275\u0275queryRefresh(ge=o.\u0275\u0275loadQuery())&&(W._items=ge)}},viewQuery:function(Ae,W){if(1&Ae&&(o.\u0275\u0275viewQuery(mi,7),o.\u0275\u0275viewQuery(di,7),o.\u0275\u0275viewQuery(Li,7),o.\u0275\u0275viewQuery(Qi,7),o.\u0275\u0275viewQuery(wt,5),o.\u0275\u0275viewQuery(mt,5)),2&Ae){let be;o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._inkBar=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._tabListContainer=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._tabList=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._tabListInner=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._nextPaginator=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._previousPaginator=be.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(Ae,W){2&Ae&&o.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",W._showPaginationControls)("mat-tab-header-rtl","rtl"==W._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[o.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Tn,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Ae,W){1&Ae&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"button",0,1),o.\u0275\u0275listener("click",function(){return W._handlePaginatorClick("before")})("mousedown",function(ge){return W._handlePaginatorPress("before",ge)})("touchend",function(){return W._stopInterval()}),o.\u0275\u0275element(2,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275listener("keydown",function(ge){return W._handleKeydown(ge)}),o.\u0275\u0275elementStart(5,"div",5,6),o.\u0275\u0275listener("cdkObserveContent",function(){return W._onContentChanges()}),o.\u0275\u0275elementStart(7,"div",7,8),o.\u0275\u0275projection(9),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(10,"mat-ink-bar"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(11,"button",9,10),o.\u0275\u0275listener("mousedown",function(ge){return W._handlePaginatorPress("after",ge)})("click",function(){return W._handlePaginatorClick("after")})("touchend",function(){return W._stopInterval()}),o.\u0275\u0275element(13,"div",2),o.\u0275\u0275elementEnd()),2&Ae&&(o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",W._disableScrollBefore),o.\u0275\u0275property("matRippleDisabled",W._disableScrollBefore||W.disableRipple)("disabled",W._disableScrollBefore||null),o.\u0275\u0275advance(5),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===W._animationMode),o.\u0275\u0275advance(6),o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",W._disableScrollAfter),o.\u0275\u0275property("matRippleDisabled",W._disableScrollAfter||W.disableRipple)("disabled",W._disableScrollAfter||null))},dependencies:[v.MatRipple,p.wD,mi],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),Ct})(),An=(()=>{class Ct extends Z{constructor(Ae,W,be,ge){super(Ae,W,be,ge)}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(De,8),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275cmp=o.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-tab-group"]],contentQueries:function(Ae,W,be){if(1&Ae&&o.\u0275\u0275contentQuery(be,Qn,5),2&Ae){let ge;o.\u0275\u0275queryRefresh(ge=o.\u0275\u0275loadQuery())&&(W._allTabs=ge)}},viewQuery:function(Ae,W){if(1&Ae&&(o.\u0275\u0275viewQuery(pt,5),o.\u0275\u0275viewQuery(qt,5)),2&Ae){let be;o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._tabBodyWrapper=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._tabHeader=be.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(Ae,W){2&Ae&&o.\u0275\u0275classProp("mat-tab-group-dynamic-height",W.dynamicHeight)("mat-tab-group-inverted-header","below"===W.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[o.\u0275\u0275ProvidersFeature([{provide:yt,useExisting:Ct}]),o.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(Ae,W){1&Ae&&(o.\u0275\u0275elementStart(0,"mat-tab-header",0,1),o.\u0275\u0275listener("indexFocused",function(ge){return W._focusChanged(ge)})("selectFocusedIndex",function(ge){return W.selectedIndex=ge}),o.\u0275\u0275template(2,$n,5,15,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275template(5,In,1,11,"mat-tab-body",5),o.\u0275\u0275elementEnd()),2&Ae&&(o.\u0275\u0275property("selectedIndex",W.selectedIndex||0)("disableRipple",W.disableRipple)("disablePagination",W.disablePagination),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",W._tabs),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===W._animationMode),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",W._tabs))},dependencies:[b.NgClass,b.NgForOf,b.NgIf,C.Pl,v.MatRipple,n.kH,en,ln,Dn],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),Ct})(),Yn=0,si=(()=>{class Ct extends it{constructor(Ae,W,be,ge,Ge,It,zt){super(Ae,W,be,ge,Ge,It,zt)}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(c.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(D.rL),o.\u0275\u0275directiveInject(R.t4),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275cmp=o.\u0275\u0275defineComponent({type:Ct,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Ae,W,be){if(1&Ae&&o.\u0275\u0275contentQuery(be,ii,5),2&Ae){let ge;o.\u0275\u0275queryRefresh(ge=o.\u0275\u0275loadQuery())&&(W._items=ge)}},viewQuery:function(Ae,W){if(1&Ae&&(o.\u0275\u0275viewQuery(mi,7),o.\u0275\u0275viewQuery(di,7),o.\u0275\u0275viewQuery(Li,7),o.\u0275\u0275viewQuery(Qi,7),o.\u0275\u0275viewQuery(wt,5),o.\u0275\u0275viewQuery(mt,5)),2&Ae){let be;o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._inkBar=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._tabListContainer=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._tabList=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._tabListInner=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._nextPaginator=be.first),o.\u0275\u0275queryRefresh(be=o.\u0275\u0275loadQuery())&&(W._previousPaginator=be.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(Ae,W){2&Ae&&(o.\u0275\u0275attribute("role",W._getRole()),o.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",W._showPaginationControls)("mat-tab-header-rtl","rtl"==W._getLayoutDirection())("mat-primary","warn"!==W.color&&"accent"!==W.color)("mat-accent","accent"===W.color)("mat-warn","warn"===W.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[o.\u0275\u0275InheritDefinitionFeature],attrs:Zn,ngContentSelectors:Tn,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Ae,W){1&Ae&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"button",0,1),o.\u0275\u0275listener("click",function(){return W._handlePaginatorClick("before")})("mousedown",function(ge){return W._handlePaginatorPress("before",ge)})("touchend",function(){return W._stopInterval()}),o.\u0275\u0275element(2,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275listener("keydown",function(ge){return W._handleKeydown(ge)}),o.\u0275\u0275elementStart(5,"div",5,6),o.\u0275\u0275listener("cdkObserveContent",function(){return W._onContentChanges()}),o.\u0275\u0275elementStart(7,"div",7,8),o.\u0275\u0275projection(9),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(10,"mat-ink-bar"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(11,"button",9,10),o.\u0275\u0275listener("mousedown",function(ge){return W._handlePaginatorPress("after",ge)})("click",function(){return W._handlePaginatorClick("after")})("touchend",function(){return W._stopInterval()}),o.\u0275\u0275element(13,"div",2),o.\u0275\u0275elementEnd()),2&Ae&&(o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",W._disableScrollBefore),o.\u0275\u0275property("matRippleDisabled",W._disableScrollBefore||W.disableRipple)("disabled",W._disableScrollBefore||null),o.\u0275\u0275advance(5),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===W._animationMode),o.\u0275\u0275advance(6),o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",W._disableScrollAfter),o.\u0275\u0275property("matRippleDisabled",W._disableScrollAfter||W.disableRipple)("disabled",W._disableScrollAfter||null))},dependencies:[v.MatRipple,p.wD,mi],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}"],encapsulation:2}),Ct})(),ii=(()=>{class Ct extends Ye{constructor(Ae,W,be,ge,Ge,It,zt,an){super(Ae,W,Ge,It,zt,an),this._tabLinkRipple=new v.RippleRenderer(this,be,W,ge),this._tabLinkRipple.setupTriggerEvents(W.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)(o.\u0275\u0275directiveInject(si),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(R.t4),o.\u0275\u0275directiveInject(v.MAT_RIPPLE_GLOBAL_OPTIONS,8),o.\u0275\u0275injectAttribute("tabindex"),o.\u0275\u0275directiveInject(n.tE),o.\u0275\u0275directiveInject(o.ANIMATION_MODULE_TYPE,8))},Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(Ae,W){1&Ae&&o.\u0275\u0275listener("focus",function(){return W._handleFocus()})("keydown",function(ge){return W._handleKeydown(ge)}),2&Ae&&(o.\u0275\u0275attribute("aria-controls",W._getAriaControls())("aria-current",W._getAriaCurrent())("aria-disabled",W.disabled)("aria-selected",W._getAriaSelected())("id",W.id)("tabIndex",W._getTabIndex())("role",W._getRole()),o.\u0275\u0275classProp("mat-tab-disabled",W.disabled)("mat-tab-label-active",W.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[o.\u0275\u0275InheritDefinitionFeature]}),Ct})(),Ii=(()=>{class Ct{constructor(){this.id="mat-tab-nav-panel-"+Yn++}}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)},Ct.\u0275cmp=o.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(Ae,W){2&Ae&&o.\u0275\u0275attribute("aria-labelledby",W._activeTabId)("id",W.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Tn,decls:1,vars:0,template:function(Ae,W){1&Ae&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),Ct})(),oi=(()=>{class Ct extends J{}return Ct.\u0275fac=function(){let Ft;return function(W){return(Ft||(Ft=o.\u0275\u0275getInheritedFactory(Ct)))(W||Ct)}}(),Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[o.\u0275\u0275ProvidersFeature([{provide:vt,useExisting:Ct}]),o.\u0275\u0275InheritDefinitionFeature]}),Ct})(),li=(()=>{class Ct extends ot{}return Ct.\u0275fac=function(){let Ft;return function(W){return(Ft||(Ft=o.\u0275\u0275getInheritedFactory(Ct)))(W||Ct)}}(),Ct.\u0275dir=o.\u0275\u0275defineDirective({type:Ct,selectors:[["","matTabContent",""]],features:[o.\u0275\u0275ProvidersFeature([{provide:nt,useExisting:Ct}]),o.\u0275\u0275InheritDefinitionFeature]}),Ct})(),Pi=(()=>{class Ct{}return Ct.\u0275fac=function(Ae){return new(Ae||Ct)},Ct.\u0275mod=o.\u0275\u0275defineNgModule({type:Ct}),Ct.\u0275inj=o.\u0275\u0275defineInjector({imports:[b.CommonModule,v.MatCommonModule,C.eL,v.MatRippleModule,p.Q8,n.rt,v.MatCommonModule]}),Ct})()},1274:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{MatToolbar:()=>s,MatToolbarModule:()=>d,MatToolbarRow:()=>c,throwToolbarMixedModesError:()=>l});var n=g(5879),p=g(3680),C=g(2831),b=g(6814);const o=["*",[["mat-toolbar-row"]]],v=["*","mat-toolbar-row"],a=(0,p.mixinColor)(class{constructor(r){this._elementRef=r}});let c=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),r})(),s=(()=>{class r extends a{constructor(h,m,_){super(h),this._platform=m,this._document=_}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return r.\u0275fac=function(h){return new(h||r)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(C.t4),n.\u0275\u0275directiveInject(b.DOCUMENT))},r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["mat-toolbar"]],contentQueries:function(h,m,_){if(1&h&&n.\u0275\u0275contentQuery(_,c,5),2&h){let M;n.\u0275\u0275queryRefresh(M=n.\u0275\u0275loadQuery())&&(m._toolbarRows=M)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(h,m){2&h&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",m._toolbarRows.length>0)("mat-toolbar-single-row",0===m._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:v,decls:2,vars:0,template:function(h,m){1&h&&(n.\u0275\u0275projectionDef(o),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0}),r})();function l(){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 d=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275mod=n.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=n.\u0275\u0275defineInjector({imports:[p.MatCommonModule,p.MatCommonModule]}),r})()},6593:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{BrowserModule:()=>ot,By:()=>ze,DomSanitizer:()=>we,EVENT_MANAGER_PLUGINS:()=>r,EventManager:()=>u,HAMMER_GESTURE_CONFIG:()=>$t,HAMMER_LOADER:()=>Yt,HammerGestureConfig:()=>Ue,HammerModule:()=>ve,Meta:()=>rt,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>O,Title:()=>ee,TransferState:()=>Rt,VERSION:()=>Ee,bootstrapApplication:()=>Me,createApplication:()=>Oe,disableDebugTools:()=>Kt,enableDebugTools:()=>Dt,makeStateKey:()=>it,platformBrowser:()=>St,provideClientHydration:()=>ce,provideProtractorTestingSupport:()=>Be,withNoDomReuse:()=>ke,withNoHttpTransferCache:()=>Z,\u0275BrowserDomAdapter:()=>o,\u0275BrowserGetTestability:()=>l,\u0275DomEventsPlugin:()=>me,\u0275DomRendererFactory2:()=>j,\u0275DomSanitizerImpl:()=>De,\u0275HammerGesturesPlugin:()=>We,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>tt,\u0275KeyEventsPlugin:()=>ue,\u0275SharedStylesHost:()=>_,\u0275getDOM:()=>p.\u0275getDOM,\u0275initDomAdapter:()=>$e});var n=g(5879),p=g(6814),C=g(9862);class b extends p.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends b{static makeCurrent(){(0,p.\u0275setRootDomAdapter)(new o)}onAndCancel(qe,Ne,dt){return qe.addEventListener(Ne,dt),()=>{qe.removeEventListener(Ne,dt)}}dispatchEvent(qe,Ne){qe.dispatchEvent(Ne)}remove(qe){qe.parentNode&&qe.parentNode.removeChild(qe)}createElement(qe,Ne){return(Ne=Ne||this.getDefaultDocument()).createElement(qe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(qe){return qe.nodeType===Node.ELEMENT_NODE}isShadowRoot(qe){return qe instanceof DocumentFragment}getGlobalEventTarget(qe,Ne){return"window"===Ne?window:"document"===Ne?qe:"body"===Ne?qe.body:null}getBaseHref(qe){const Ne=function a(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==Ne?null:function s(Ye){c=c||document.createElement("a"),c.setAttribute("href",Ye);const qe=c.pathname;return"/"===qe.charAt(0)?qe:`/${qe}`}(Ne)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(qe){return(0,p.\u0275parseCookieValue)(document.cookie,qe)}}let c,v=null;class l{addToWindow(qe){n.\u0275global.getAngularTestability=(dt,At=!0)=>{const tn=qe.findTestabilityInTree(dt,At);if(null==tn)throw new n.\u0275RuntimeError(5103,!1);return tn},n.\u0275global.getAllAngularTestabilities=()=>qe.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>qe.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(dt=>{const At=n.\u0275global.getAllAngularTestabilities();let tn=At.length,wn=!1;const Tn=function(Sn){wn=wn||Sn,tn--,0==tn&&dt(wn)};At.forEach(Sn=>{Sn.whenStable(Tn)})})}findTestabilityInTree(qe,Ne,dt){return null==Ne?null:qe.getTestability(Ne)??(dt?(0,p.\u0275getDOM)().isShadowRoot(Ne)?this.findTestabilityInTree(qe,Ne.host,!0):this.findTestabilityInTree(qe,Ne.parentElement,!0):null)}}let d=(()=>{class Ye{build(){return new XMLHttpRequest}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac}),Ye})();const r=new n.InjectionToken("EventManagerPlugins");let u=(()=>{class Ye{constructor(Ne,dt){this._zone=dt,this._eventNameToPlugin=new Map,Ne.forEach(At=>{At.manager=this}),this._plugins=Ne.slice().reverse()}addEventListener(Ne,dt,At){return this._findPluginFor(dt).addEventListener(Ne,dt,At)}getZone(){return this._zone}_findPluginFor(Ne){let dt=this._eventNameToPlugin.get(Ne);if(dt)return dt;if(dt=this._plugins.find(tn=>tn.supports(Ne)),!dt)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(Ne,dt),dt}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(r),n.\u0275\u0275inject(n.NgZone))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac}),Ye})();class h{constructor(qe){this._doc=qe}}const m="ng-app-id";let _=(()=>{class Ye{constructor(Ne,dt,At,tn={}){this.doc=Ne,this.appId=dt,this.nonce=At,this.platformId=tn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,p.isPlatformServer)(tn),this.resetHostNodes()}addStyles(Ne){for(const dt of Ne)1===this.changeUsageCount(dt,1)&&this.onStyleAdded(dt)}removeStyles(Ne){for(const dt of Ne)this.changeUsageCount(dt,-1)<=0&&this.onStyleRemoved(dt)}ngOnDestroy(){const Ne=this.styleNodesInDOM;Ne&&(Ne.forEach(dt=>dt.remove()),Ne.clear());for(const dt of this.getAllStyles())this.onStyleRemoved(dt);this.resetHostNodes()}addHost(Ne){this.hostNodes.add(Ne);for(const dt of this.getAllStyles())this.addStyleToHost(Ne,dt)}removeHost(Ne){this.hostNodes.delete(Ne)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ne){for(const dt of this.hostNodes)this.addStyleToHost(dt,Ne)}onStyleRemoved(Ne){const dt=this.styleRef;dt.get(Ne)?.elements?.forEach(At=>At.remove()),dt.delete(Ne)}collectServerRenderedStyles(){const Ne=this.doc.head?.querySelectorAll(`style[${m}="${this.appId}"]`);if(Ne?.length){const dt=new Map;return Ne.forEach(At=>{null!=At.textContent&&dt.set(At.textContent,At)}),dt}return null}changeUsageCount(Ne,dt){const At=this.styleRef;if(At.has(Ne)){const tn=At.get(Ne);return tn.usage+=dt,tn.usage}return At.set(Ne,{usage:dt,elements:[]}),dt}getStyleElement(Ne,dt){const At=this.styleNodesInDOM,tn=At?.get(dt);if(tn?.parentNode===Ne)return At.delete(dt),tn.removeAttribute(m),tn;{const wn=this.doc.createElement("style");return this.nonce&&wn.setAttribute("nonce",this.nonce),wn.textContent=dt,this.platformIsServer&&wn.setAttribute(m,this.appId),wn}}addStyleToHost(Ne,dt){const At=this.getStyleElement(Ne,dt);Ne.appendChild(At);const tn=this.styleRef,wn=tn.get(dt)?.elements;wn?wn.push(At):tn.set(dt,{elements:[At],usage:1})}resetHostNodes(){const Ne=this.hostNodes;Ne.clear(),Ne.add(this.doc.head)}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(p.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac}),Ye})();const M={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/"},x=/%COMP%/g,w="%COMP%",L=`_nghost-${w}`,A=`_ngcontent-${w}`,O=new n.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function R(Ye,qe){return qe.map(Ne=>Ne.replace(x,Ye))}let j=(()=>{class Ye{constructor(Ne,dt,At,tn,wn,Tn,Sn,Mn=null){this.eventManager=Ne,this.sharedStylesHost=dt,this.appId=At,this.removeStylesOnCompDestroy=tn,this.doc=wn,this.platformId=Tn,this.ngZone=Sn,this.nonce=Mn,this.rendererByCompId=new Map,this.platformIsServer=(0,p.isPlatformServer)(Tn),this.defaultRenderer=new N(Ne,wn,Sn,this.platformIsServer)}createRenderer(Ne,dt){if(!Ne||!dt)return this.defaultRenderer;this.platformIsServer&&dt.encapsulation===n.ViewEncapsulation.ShadowDom&&(dt={...dt,encapsulation:n.ViewEncapsulation.Emulated});const At=this.getOrCreateRenderer(Ne,dt);return At instanceof ne?At.applyToHost(Ne):At instanceof se&&At.applyStyles(),At}getOrCreateRenderer(Ne,dt){const At=this.rendererByCompId;let tn=At.get(dt.id);if(!tn){const wn=this.doc,Tn=this.ngZone,Sn=this.eventManager,Mn=this.sharedStylesHost,Ci=this.removeStylesOnCompDestroy,di=this.platformIsServer;switch(dt.encapsulation){case n.ViewEncapsulation.Emulated:tn=new ne(Sn,Mn,dt,this.appId,Ci,wn,Tn,di);break;case n.ViewEncapsulation.ShadowDom:return new Y(Sn,Mn,Ne,dt,wn,Tn,this.nonce,di);default:tn=new se(Sn,Mn,dt,Ci,wn,Tn,di)}At.set(dt.id,tn)}return tn}ngOnDestroy(){this.rendererByCompId.clear()}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(u),n.\u0275\u0275inject(_),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(O),n.\u0275\u0275inject(p.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac}),Ye})();class N{constructor(qe,Ne,dt,At){this.eventManager=qe,this.doc=Ne,this.ngZone=dt,this.platformIsServer=At,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(qe,Ne){return Ne?this.doc.createElementNS(M[Ne]||Ne,qe):this.doc.createElement(qe)}createComment(qe){return this.doc.createComment(qe)}createText(qe){return this.doc.createTextNode(qe)}appendChild(qe,Ne){(F(qe)?qe.content:qe).appendChild(Ne)}insertBefore(qe,Ne,dt){qe&&(F(qe)?qe.content:qe).insertBefore(Ne,dt)}removeChild(qe,Ne){qe&&qe.removeChild(Ne)}selectRootElement(qe,Ne){let dt="string"==typeof qe?this.doc.querySelector(qe):qe;if(!dt)throw new n.\u0275RuntimeError(-5104,!1);return Ne||(dt.textContent=""),dt}parentNode(qe){return qe.parentNode}nextSibling(qe){return qe.nextSibling}setAttribute(qe,Ne,dt,At){if(At){Ne=At+":"+Ne;const tn=M[At];tn?qe.setAttributeNS(tn,Ne,dt):qe.setAttribute(Ne,dt)}else qe.setAttribute(Ne,dt)}removeAttribute(qe,Ne,dt){if(dt){const At=M[dt];At?qe.removeAttributeNS(At,Ne):qe.removeAttribute(`${dt}:${Ne}`)}else qe.removeAttribute(Ne)}addClass(qe,Ne){qe.classList.add(Ne)}removeClass(qe,Ne){qe.classList.remove(Ne)}setStyle(qe,Ne,dt,At){At&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?qe.style.setProperty(Ne,dt,At&n.RendererStyleFlags2.Important?"important":""):qe.style[Ne]=dt}removeStyle(qe,Ne,dt){dt&n.RendererStyleFlags2.DashCase?qe.style.removeProperty(Ne):qe.style[Ne]=""}setProperty(qe,Ne,dt){qe[Ne]=dt}setValue(qe,Ne){qe.nodeValue=Ne}listen(qe,Ne,dt){if("string"==typeof qe&&!(qe=(0,p.\u0275getDOM)().getGlobalEventTarget(this.doc,qe)))throw new Error(`Unsupported event target ${qe} for event ${Ne}`);return this.eventManager.addEventListener(qe,Ne,this.decoratePreventDefault(dt))}decoratePreventDefault(qe){return Ne=>{if("__ngUnwrap__"===Ne)return qe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>qe(Ne)):qe(Ne))&&Ne.preventDefault()}}}function F(Ye){return"TEMPLATE"===Ye.tagName&&void 0!==Ye.content}class Y extends N{constructor(qe,Ne,dt,At,tn,wn,Tn,Sn){super(qe,tn,wn,Sn),this.sharedStylesHost=Ne,this.hostEl=dt,this.shadowRoot=dt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=R(At.id,At.styles);for(const Ci of Mn){const di=document.createElement("style");Tn&&di.setAttribute("nonce",Tn),di.textContent=Ci,this.shadowRoot.appendChild(di)}}nodeOrShadowRoot(qe){return qe===this.hostEl?this.shadowRoot:qe}appendChild(qe,Ne){return super.appendChild(this.nodeOrShadowRoot(qe),Ne)}insertBefore(qe,Ne,dt){return super.insertBefore(this.nodeOrShadowRoot(qe),Ne,dt)}removeChild(qe,Ne){return super.removeChild(this.nodeOrShadowRoot(qe),Ne)}parentNode(qe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(qe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class se extends N{constructor(qe,Ne,dt,At,tn,wn,Tn,Sn){super(qe,tn,wn,Tn),this.sharedStylesHost=Ne,this.removeStylesOnCompDestroy=At,this.styles=Sn?R(Sn,dt.styles):dt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ne extends se{constructor(qe,Ne,dt,At,tn,wn,Tn,Sn){const Mn=At+"-"+dt.id;super(qe,Ne,dt,tn,wn,Tn,Sn,Mn),this.contentAttr=function E(Ye){return A.replace(x,Ye)}(Mn),this.hostAttr=function D(Ye){return L.replace(x,Ye)}(Mn)}applyToHost(qe){this.applyStyles(),this.setAttribute(qe,this.hostAttr,"")}createElement(qe,Ne){const dt=super.createElement(qe,Ne);return super.setAttribute(dt,this.contentAttr,""),dt}}let me=(()=>{class Ye extends h{constructor(Ne){super(Ne)}supports(Ne){return!0}addEventListener(Ne,dt,At){return Ne.addEventListener(dt,At,!1),()=>this.removeEventListener(Ne,dt,At)}removeEventListener(Ne,dt,At){return Ne.removeEventListener(dt,At)}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(p.DOCUMENT))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac}),Ye})();const $=["alt","control","meta","shift"],q={"\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"},Q={alt:Ye=>Ye.altKey,control:Ye=>Ye.ctrlKey,meta:Ye=>Ye.metaKey,shift:Ye=>Ye.shiftKey};let ue=(()=>{class Ye extends h{constructor(Ne){super(Ne)}supports(Ne){return null!=Ye.parseEventName(Ne)}addEventListener(Ne,dt,At){const tn=Ye.parseEventName(dt),wn=Ye.eventCallback(tn.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,p.\u0275getDOM)().onAndCancel(Ne,tn.domEventName,wn))}static parseEventName(Ne){const dt=Ne.toLowerCase().split("."),At=dt.shift();if(0===dt.length||"keydown"!==At&&"keyup"!==At)return null;const tn=Ye._normalizeKey(dt.pop());let wn="",Tn=dt.indexOf("code");if(Tn>-1&&(dt.splice(Tn,1),wn="code."),$.forEach(Mn=>{const Ci=dt.indexOf(Mn);Ci>-1&&(dt.splice(Ci,1),wn+=Mn+".")}),wn+=tn,0!=dt.length||0===tn.length)return null;const Sn={};return Sn.domEventName=At,Sn.fullKey=wn,Sn}static matchEventFullKeyCode(Ne,dt){let At=q[Ne.key]||Ne.key,tn="";return dt.indexOf("code.")>-1&&(At=Ne.code,tn="code."),!(null==At||!At)&&(At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),$.forEach(wn=>{wn!==At&&(0,Q[wn])(Ne)&&(tn+=wn+".")}),tn+=At,tn===dt)}static eventCallback(Ne,dt,At){return tn=>{Ye.matchEventFullKeyCode(tn,Ne)&&At.runGuarded(()=>dt(tn))}}static _normalizeKey(Ne){return"esc"===Ne?"escape":Ne}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(p.DOCUMENT))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac}),Ye})();function Me(Ye,qe){return(0,n.\u0275internalCreateApplication)({rootComponent:Ye,...Xe(qe)})}function Oe(Ye){return(0,n.\u0275internalCreateApplication)(Xe(Ye))}function Xe(Ye){return{appProviders:[...nt,...Ye?.providers??[]],platformProviders:tt}}function Be(){return[...xt]}function $e(){o.makeCurrent()}const tt=[{provide:n.PLATFORM_ID,useValue:p.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:$e,multi:!0},{provide:p.DOCUMENT,useFactory:function Mt(){return(0,n.\u0275setDocument)(document),document},deps:[]}],St=(0,n.createPlatformFactory)(n.platformCore,"browser",tt),bt=new n.InjectionToken(""),xt=[{provide:n.\u0275TESTABILITY_GETTER,useClass:l,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],nt=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function st(){return new n.ErrorHandler},deps:[]},{provide:r,useClass:me,multi:!0,deps:[p.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:r,useClass:ue,multi:!0,deps:[p.DOCUMENT]},j,_,u,{provide:n.RendererFactory2,useExisting:j},{provide:p.XhrFactory,useClass:d,deps:[]},[]];let ot=(()=>{class Ye{constructor(Ne){}static withServerTransition(Ne){return{ngModule:Ye,providers:[{provide:n.APP_ID,useValue:Ne.appId}]}}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(bt,12))},Ye.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye}),Ye.\u0275inj=n.\u0275\u0275defineInjector({providers:[...nt,...xt],imports:[p.CommonModule,n.ApplicationModule]}),Ye})(),rt=(()=>{class Ye{constructor(Ne){this._doc=Ne,this._dom=(0,p.\u0275getDOM)()}addTag(Ne,dt=!1){return Ne?this._getOrCreateElement(Ne,dt):null}addTags(Ne,dt=!1){return Ne?Ne.reduce((At,tn)=>(tn&&At.push(this._getOrCreateElement(tn,dt)),At),[]):[]}getTag(Ne){return Ne&&this._doc.querySelector(`meta[${Ne}]`)||null}getTags(Ne){if(!Ne)return[];const dt=this._doc.querySelectorAll(`meta[${Ne}]`);return dt?[].slice.call(dt):[]}updateTag(Ne,dt){if(!Ne)return null;dt=dt||this._parseSelector(Ne);const At=this.getTag(dt);return At?this._setMetaElementAttributes(Ne,At):this._getOrCreateElement(Ne,!0)}removeTag(Ne){this.removeTagElement(this.getTag(Ne))}removeTagElement(Ne){Ne&&this._dom.remove(Ne)}_getOrCreateElement(Ne,dt=!1){if(!dt){const wn=this._parseSelector(Ne),Tn=this.getTags(wn).filter(Sn=>this._containsAttributes(Ne,Sn))[0];if(void 0!==Tn)return Tn}const At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ne,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ne,dt){return Object.keys(Ne).forEach(At=>dt.setAttribute(this._getMetaKeyMap(At),Ne[At])),dt}_parseSelector(Ne){const dt=Ne.name?"name":"property";return`${dt}="${Ne[dt]}"`}_containsAttributes(Ne,dt){return Object.keys(Ne).every(At=>dt.getAttribute(this._getMetaKeyMap(At))===Ne[At])}_getMetaKeyMap(Ne){return J[Ne]||Ne}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(p.DOCUMENT))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:function(Ne){let dt=null;return dt=Ne?new Ne:function vt(){return new rt((0,n.\u0275\u0275inject)(p.DOCUMENT))}(),dt},providedIn:"root"}),Ye})();const J={httpEquiv:"http-equiv"};let ee=(()=>{class Ye{constructor(Ne){this._doc=Ne}getTitle(){return this._doc.title}setTitle(Ne){this._doc.title=Ne||""}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(p.DOCUMENT))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:function(Ne){let dt=null;return dt=Ne?new Ne:function Ce(){return new ee((0,n.\u0275\u0275inject)(p.DOCUMENT))}(),dt},providedIn:"root"}),Ye})();function ae(Ye,qe){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[Ye]=qe)}const ie=typeof window<"u"&&window||{};class pe{constructor(qe,Ne){this.msPerTick=qe,this.numTicks=Ne}}class Te{constructor(qe){this.appRef=qe.injector.get(n.ApplicationRef)}timeChangeDetection(qe){const Ne=qe&&qe.record,dt="Change Detection",At=null!=ie.console.profile;Ne&&At&&ie.console.profile(dt);const tn=ct();let wn=0;for(;wn<5||ct()-tn<500;)this.appRef.tick(),wn++;const Tn=ct();Ne&&At&&ie.console.profileEnd(dt);const Sn=(Tn-tn)/wn;return ie.console.log(`ran ${wn} change detection cycles`),ie.console.log(`${Sn.toFixed(2)} ms per check`),new pe(Sn,wn)}}function ct(){return ie.performance&&ie.performance.now?ie.performance.now():(new Date).getTime()}const Lt="profiler";function Dt(Ye){return ae(Lt,new Te(Ye)),Ye}function Kt(){ae(Lt,null)}class ze{static all(){return()=>!0}static css(qe){return Ne=>null!=Ne.nativeElement&&function yt(Ye,qe){return!!(0,p.\u0275getDOM)().isElementNode(Ye)&&(Ye.matches&&Ye.matches(qe)||Ye.msMatchesSelector&&Ye.msMatchesSelector(qe)||Ye.webkitMatchesSelector&&Ye.webkitMatchesSelector(qe))}(Ne.nativeElement,qe)}static directive(qe){return Ne=>-1!==Ne.providerTokens.indexOf(qe)}}const Bt={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},$t=new n.InjectionToken("HammerGestureConfig"),Yt=new n.InjectionToken("HammerLoader");let Ue=(()=>{class Ye{constructor(){this.events=[],this.overrides={}}buildHammer(Ne){const dt=new Hammer(Ne,this.options);dt.get("pinch").set({enable:!0}),dt.get("rotate").set({enable:!0});for(const At in this.overrides)dt.get(At).set(this.overrides[At]);return dt}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac}),Ye})(),We=(()=>{class Ye extends h{constructor(Ne,dt,At,tn){super(Ne),this._config=dt,this.console=At,this.loader=tn,this._loaderPromise=null}supports(Ne){return!(!Bt.hasOwnProperty(Ne.toLowerCase())&&!this.isCustomEvent(Ne)||!window.Hammer&&!this.loader)}addEventListener(Ne,dt,At){const tn=this.manager.getZone();if(dt=dt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||tn.runOutsideAngular(()=>this.loader());let wn=!1,Tn=()=>{wn=!0};return tn.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?wn||(Tn=this.addEventListener(Ne,dt,At)):Tn=()=>{}}).catch(()=>{Tn=()=>{}})),()=>{Tn()}}return tn.runOutsideAngular(()=>{const wn=this._config.buildHammer(Ne),Tn=function(Sn){tn.runGuarded(function(){At(Sn)})};return wn.on(dt,Tn),()=>{wn.off(dt,Tn),"function"==typeof wn.destroy&&wn.destroy()}})}isCustomEvent(Ne){return this._config.events.indexOf(Ne)>-1}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(p.DOCUMENT),n.\u0275\u0275inject($t),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Yt,8))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac}),Ye})(),ve=(()=>{class Ye{}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)},Ye.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye}),Ye.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:r,useClass:We,multi:!0,deps:[p.DOCUMENT,$t,n.\u0275Console,[new n.Optional,Yt]]},{provide:$t,useClass:Ue,deps:[]}]}),Ye})(),we=(()=>{class Ye{}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:function(Ne){let dt=null;return dt=Ne?new(Ne||Ye):n.\u0275\u0275inject(De),dt},providedIn:"root"}),Ye})(),De=(()=>{class Ye extends we{constructor(Ne){super(),this._doc=Ne}sanitize(Ne,dt){if(null==dt)return null;switch(Ne){case n.SecurityContext.NONE:return dt;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(dt,"HTML")?(0,n.\u0275unwrapSafeValue)(dt):(0,n.\u0275_sanitizeHtml)(this._doc,String(dt)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(dt,"Style")?(0,n.\u0275unwrapSafeValue)(dt):dt;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(dt,"Script"))return(0,n.\u0275unwrapSafeValue)(dt);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(dt,"URL")?(0,n.\u0275unwrapSafeValue)(dt):(0,n.\u0275_sanitizeUrl)(String(dt));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(dt,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(dt);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(Ne){return(0,n.\u0275bypassSanitizationTrustHtml)(Ne)}bypassSecurityTrustStyle(Ne){return(0,n.\u0275bypassSanitizationTrustStyle)(Ne)}bypassSecurityTrustScript(Ne){return(0,n.\u0275bypassSanitizationTrustScript)(Ne)}bypassSecurityTrustUrl(Ne){return(0,n.\u0275bypassSanitizationTrustUrl)(Ne)}bypassSecurityTrustResourceUrl(Ne){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(Ne)}}return Ye.\u0275fac=function(Ne){return new(Ne||Ye)(n.\u0275\u0275inject(p.DOCUMENT))},Ye.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:function(Ne){let dt=null;return dt=Ne?new Ne:function at(Ye){return new De(Ye.get(p.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),dt},providedIn:"root"}),Ye})();function je(Ye,qe=[]){return{\u0275kind:Ye,\u0275providers:qe}}function ke(){return je(0)}function Z(){return je(1)}function ce(...Ye){const qe=[],Ne=new Set;for(const{\u0275providers:dt,\u0275kind:At}of Ye)Ne.add(At),dt.length&&qe.push(dt);return(0,n.makeEnvironmentProviders)([[],Ne.has(0)?[]:(0,n.\u0275withDomHydration)(),Ne.has(1)?[]:(0,C.\u0275withHttpTransferCache)(),qe])}const Ee=new n.Version("16.1.7"),it=n.makeStateKey,Rt=n.TransferState},5187:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{ActivatedRoute:()=>kn,ActivatedRouteSnapshot:()=>$i,ActivationEnd:()=>Ft,ActivationStart:()=>Ct,BaseRouteReuseStrategy:()=>z,ChildActivationEnd:()=>Pi,ChildActivationStart:()=>li,ChildrenOutletContexts:()=>ge,DefaultTitleStrategy:()=>Oo,DefaultUrlSerializer:()=>Te,GuardsCheckEnd:()=>Yn,GuardsCheckStart:()=>An,NavigationCancel:()=>ri,NavigationEnd:()=>Qn,NavigationError:()=>en,NavigationSkipped:()=>ln,NavigationStart:()=>mi,NoPreloading:()=>fr,OutletContext:()=>be,PRIMARY_OUTLET:()=>me,PreloadAllModules:()=>Kn,PreloadingStrategy:()=>wr,ROUTER_CONFIGURATION:()=>le,ROUTER_INITIALIZER:()=>co,ROUTES:()=>Pr,ResolveEnd:()=>ii,ResolveStart:()=>si,RouteConfigLoadEnd:()=>oi,RouteConfigLoadStart:()=>Ii,RouteReuseStrategy:()=>Oi,Router:()=>Rn,RouterEvent:()=>Zn,RouterLink:()=>Si,RouterLinkActive:()=>ir,RouterLinkWithHref:()=>Si,RouterModule:()=>Br,RouterOutlet:()=>ti,RouterPreloader:()=>Kr,RouterState:()=>pn,RouterStateSnapshot:()=>er,RoutesRecognized:()=>Dn,Scroll:()=>Ae,TitleStrategy:()=>Co,UrlHandlingStrategy:()=>Fe,UrlSegment:()=>Ce,UrlSegmentGroup:()=>J,UrlSerializer:()=>pe,UrlTree:()=>rt,VERSION:()=>No,convertToParamMap:()=>Q,createUrlTreeFromSnapshot:()=>Ne,defaultUrlMatcher:()=>ue,mapToCanActivate:()=>Ys,mapToCanActivateChild:()=>os,mapToCanDeactivate:()=>Pa,mapToCanMatch:()=>Fo,mapToResolve:()=>wo,provideRouter:()=>js,provideRoutes:()=>gs,withComponentInputBinding:()=>Ws,withDebugTracing:()=>cr,withDisabledInitialNavigation:()=>vs,withEnabledBlockingInitialNavigation:()=>_s,withHashLocation:()=>ys,withInMemoryScrolling:()=>rs,withNavigationErrorHandler:()=>Cs,withPreloading:()=>xo,withRouterConfig:()=>Ur,\u0275EmptyOutletComponent:()=>Pn,\u0275ROUTER_PROVIDERS:()=>dr,\u0275afterNextNavigation:()=>Zt});var n=g(5879),p=g(2664),C=g(2459),b=g(2096),o=g(5619),v=g(2572),a=g(6973),c=g(34),s=g(4911),l=g(8407),d=g(8504),r=g(6232),u=g(3168),h=g(8645),m=g(6814),_=g(7398),M=g(4664),x=g(8180),w=g(7921),L=g(2181),A=g(9769),T=g(1374),O=g(6328),E=g(9397),D=g(6306),R=g(6424),j=g(3572),N=g(2032),S=g(4418),k=g(975),F=g(4716),Y=g(6196),se=g(7537),ne=g(6593);const me="primary",$=Symbol("RouteTitle");class q{constructor(te){this.params=te||{}}has(te){return Object.prototype.hasOwnProperty.call(this.params,te)}get(te){if(this.has(te)){const V=this.params[te];return Array.isArray(V)?V[0]:V}return null}getAll(te){if(this.has(te)){const V=this.params[te];return Array.isArray(V)?V:[V]}return[]}get keys(){return Object.keys(this.params)}}function Q(G){return new q(G)}function ue(G,te,V){const de=V.path.split("/");if(de.length>G.length||"full"===V.pathMatch&&(te.hasChildren()||de.lengthde[Qe]===Le)}return G===te}function Be(G){return G.length>0?G[G.length-1]:null}function $e(G){return(0,p.b)(G)?G:(0,n.\u0275isPromise)(G)?(0,C.D)(Promise.resolve(G)):(0,b.of)(G)}const st={exact:function bt(G,te,V){if(!ae(G.segments,te.segments)||!vt(G.segments,te.segments,V)||G.numberOfChildren!==te.numberOfChildren)return!1;for(const de in te.children)if(!G.children[de]||!bt(G.children[de],te.children[de],V))return!1;return!0},subset:nt},Mt={exact:function St(G,te){return Oe(G,te)},subset:function xt(G,te){return Object.keys(te).length<=Object.keys(G).length&&Object.keys(te).every(V=>Xe(G[V],te[V]))},ignored:()=>!0};function tt(G,te,V){return st[V.paths](G.root,te.root,V.matrixParams)&&Mt[V.queryParams](G.queryParams,te.queryParams)&&!("exact"===V.fragment&&G.fragment!==te.fragment)}function nt(G,te,V){return ot(G,te,te.segments,V)}function ot(G,te,V,de){if(G.segments.length>V.length){const Le=G.segments.slice(0,V.length);return!(!ae(Le,V)||te.hasChildren()||!vt(Le,V,de))}if(G.segments.length===V.length){if(!ae(G.segments,V)||!vt(G.segments,V,de))return!1;for(const Le in te.children)if(!G.children[Le]||!nt(G.children[Le],te.children[Le],de))return!1;return!0}{const Le=V.slice(0,G.segments.length),Qe=V.slice(G.segments.length);return!!(ae(G.segments,Le)&&vt(G.segments,Le,de)&&G.children[me])&&ot(G.children[me],te,Qe,de)}}function vt(G,te,V){return te.every((de,Le)=>Mt[V](G[Le].parameters,de.parameters))}class rt{constructor(te=new J([],{}),V={},de=null){this.root=te,this.queryParams=V,this.fragment=de}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Q(this.queryParams)),this._queryParamMap}toString(){return ct.serialize(this)}}class J{constructor(te,V){this.segments=te,this.children=V,this.parent=null,Object.values(V).forEach(de=>de.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lt(this)}}class Ce{constructor(te,V){this.path=te,this.parameters=V}get parameterMap(){return this._parameterMap||(this._parameterMap=Q(this.parameters)),this._parameterMap}toString(){return Ue(this)}}function ae(G,te){return G.length===te.length&&G.every((V,de)=>V.path===te[de].path)}let pe=(()=>{class G{}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:function(){return new Te},providedIn:"root"}),G})();class Te{parse(te){const V=new Ee(te);return new rt(V.parseRootSegment(),V.parseQueryParams(),V.parseFragment())}serialize(te){const V=`/${Dt(te.root,!0)}`,de=function ve(G){const te=Object.keys(G).map(V=>{const de=G[V];return Array.isArray(de)?de.map(Le=>`${ze(V)}=${ze(Le)}`).join("&"):`${ze(V)}=${ze(de)}`}).filter(V=>!!V);return te.length?`?${te.join("&")}`:""}(te.queryParams);return`${V}${de}${"string"==typeof te.fragment?`#${function yt(G){return encodeURI(G)}(te.fragment)}`:""}`}}const ct=new Te;function Lt(G){return G.segments.map(te=>Ue(te)).join("/")}function Dt(G,te){if(!G.hasChildren())return Lt(G);if(te){const V=G.children[me]?Dt(G.children[me],!1):"",de=[];return Object.entries(G.children).forEach(([Le,Qe])=>{Le!==me&&de.push(`${Le}:${Dt(Qe,!1)}`)}),de.length>0?`${V}(${de.join("//")})`:V}{const V=function ie(G,te){let V=[];return Object.entries(G.children).forEach(([de,Le])=>{de===me&&(V=V.concat(te(Le,de)))}),Object.entries(G.children).forEach(([de,Le])=>{de!==me&&(V=V.concat(te(Le,de)))}),V}(G,(de,Le)=>Le===me?[Dt(G.children[me],!1)]:[`${Le}:${Dt(de,!1)}`]);return 1===Object.keys(G.children).length&&null!=G.children[me]?`${Lt(G)}/${V[0]}`:`${Lt(G)}/(${V.join("//")})`}}function Kt(G){return encodeURIComponent(G).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ze(G){return Kt(G).replace(/%3B/gi,";")}function Bt(G){return Kt(G).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(G){return decodeURIComponent(G)}function Yt(G){return $t(G.replace(/\+/g,"%20"))}function Ue(G){return`${Bt(G.path)}${function We(G){return Object.keys(G).map(te=>`;${Bt(te)}=${Bt(G[te])}`).join("")}(G.parameters)}`}const we=/^[^\/()?;#]+/;function at(G){const te=G.match(we);return te?te[0]:""}const De=/^[^\/()?;=#]+/,ke=/^[^=?&#]+/,re=/^[^&#]+/;class Ee{constructor(te){this.url=te,this.remaining=te}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){const te={};if(this.consumeOptional("?"))do{this.parseQueryParam(te)}while(this.consumeOptional("&"));return te}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const te=[];for(this.peekStartsWith("(")||te.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),te.push(this.parseSegment());let V={};this.peekStartsWith("/(")&&(this.capture("/"),V=this.parseParens(!0));let de={};return this.peekStartsWith("(")&&(de=this.parseParens(!1)),(te.length>0||Object.keys(V).length>0)&&(de[me]=new J(te,V)),de}parseSegment(){const te=at(this.remaining);if(""===te&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(te),new Ce($t(te),this.parseMatrixParams())}parseMatrixParams(){const te={};for(;this.consumeOptional(";");)this.parseParam(te);return te}parseParam(te){const V=function je(G){const te=G.match(De);return te?te[0]:""}(this.remaining);if(!V)return;this.capture(V);let de="";if(this.consumeOptional("=")){const Le=at(this.remaining);Le&&(de=Le,this.capture(de))}te[$t(V)]=$t(de)}parseQueryParam(te){const V=function Z(G){const te=G.match(ke);return te?te[0]:""}(this.remaining);if(!V)return;this.capture(V);let de="";if(this.consumeOptional("=")){const et=function ce(G){const te=G.match(re);return te?te[0]:""}(this.remaining);et&&(de=et,this.capture(de))}const Le=Yt(V),Qe=Yt(de);if(te.hasOwnProperty(Le)){let et=te[Le];Array.isArray(et)||(et=[et],te[Le]=et),et.push(Qe)}else te[Le]=Qe}parseParens(te){const V={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const de=at(this.remaining),Le=this.remaining[de.length];if("/"!==Le&&")"!==Le&&";"!==Le)throw new n.\u0275RuntimeError(4010,!1);let Qe;de.indexOf(":")>-1?(Qe=de.slice(0,de.indexOf(":")),this.capture(Qe),this.capture(":")):te&&(Qe=me);const et=this.parseChildren();V[Qe]=1===Object.keys(et).length?et[me]:new J([],et),this.consumeOptional("//")}return V}peekStartsWith(te){return this.remaining.startsWith(te)}consumeOptional(te){return!!this.peekStartsWith(te)&&(this.remaining=this.remaining.substring(te.length),!0)}capture(te){if(!this.consumeOptional(te))throw new n.\u0275RuntimeError(4011,!1)}}function it(G){return G.segments.length>0?new J([],{[me]:G}):G}function Rt(G){const te={};for(const de of Object.keys(G.children)){const Qe=Rt(G.children[de]);if(de===me&&0===Qe.segments.length&&Qe.hasChildren())for(const[et,Nt]of Object.entries(Qe.children))te[et]=Nt;else(Qe.segments.length>0||Qe.hasChildren())&&(te[de]=Qe)}return function Ye(G){if(1===G.numberOfChildren&&G.children[me]){const te=G.children[me];return new J(G.segments.concat(te.segments),te.children)}return G}(new J(G.segments,te))}function qe(G){return G instanceof rt}function Ne(G,te,V=null,de=null){return At(dt(G),te,V,de)}function dt(G){let te;const Le=it(function V(Qe){const et={};for(const mn of Qe.children){const Ln=V(mn);et[mn.outlet]=Ln}const Nt=new J(Qe.url,et);return Qe===G&&(te=Nt),Nt}(G.root));return te??Le}function At(G,te,V,de){let Le=G;for(;Le.parent;)Le=Le.parent;if(0===te.length)return Tn(Le,Le,Le,V,de);const Qe=function Ci(G){if("string"==typeof G[0]&&1===G.length&&"/"===G[0])return new Mn(!0,0,G);let te=0,V=!1;const de=G.reduce((Le,Qe,et)=>{if("object"==typeof Qe&&null!=Qe){if(Qe.outlets){const Nt={};return Object.entries(Qe.outlets).forEach(([mn,Ln])=>{Nt[mn]="string"==typeof Ln?Ln.split("/"):Ln}),[...Le,{outlets:Nt}]}if(Qe.segmentPath)return[...Le,Qe.segmentPath]}return"string"!=typeof Qe?[...Le,Qe]:0===et?(Qe.split("/").forEach((Nt,mn)=>{0==mn&&"."===Nt||(0==mn&&""===Nt?V=!0:".."===Nt?te++:""!=Nt&&Le.push(Nt))}),Le):[...Le,Qe]},[]);return new Mn(V,te,de)}(te);if(Qe.toRoot())return Tn(Le,Le,new J([],{}),V,de);const et=function Li(G,te,V){if(G.isAbsolute)return new di(te,!0,0);if(!V)return new di(te,!1,NaN);if(null===V.parent)return new di(V,!0,0);const de=tn(G.commands[0])?0:1;return function Qi(G,te,V){let de=G,Le=te,Qe=V;for(;Qe>Le;){if(Qe-=Le,de=de.parent,!de)throw new n.\u0275RuntimeError(4005,!1);Le=de.segments.length}return new di(de,!1,Le-Qe)}(V,V.segments.length-1+de,G.numberOfDoubleDots)}(Qe,Le,G),Nt=et.processChildren?pt(et.segmentGroup,et.index,Qe.commands):mt(et.segmentGroup,et.index,Qe.commands);return Tn(Le,et.segmentGroup,Nt,V,de)}function tn(G){return"object"==typeof G&&null!=G&&!G.outlets&&!G.segmentPath}function wn(G){return"object"==typeof G&&null!=G&&G.outlets}function Tn(G,te,V,de,Le){let et,Qe={};de&&Object.entries(de).forEach(([mn,Ln])=>{Qe[mn]=Array.isArray(Ln)?Ln.map(Gn=>`${Gn}`):`${Ln}`}),et=G===te?V:Sn(G,te,V);const Nt=it(Rt(et));return new rt(Nt,Qe,Le)}function Sn(G,te,V){const de={};return Object.entries(G.children).forEach(([Le,Qe])=>{de[Le]=Qe===te?V:Sn(Qe,te,V)}),new J(G.segments,de)}class Mn{constructor(te,V,de){if(this.isAbsolute=te,this.numberOfDoubleDots=V,this.commands=de,te&&de.length>0&&tn(de[0]))throw new n.\u0275RuntimeError(4003,!1);const Le=de.find(wn);if(Le&&Le!==Be(de))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class di{constructor(te,V,de){this.segmentGroup=te,this.processChildren=V,this.index=de}}function mt(G,te,V){if(G||(G=new J([],{})),0===G.segments.length&&G.hasChildren())return pt(G,te,V);const de=function qt(G,te,V){let de=0,Le=te;const Qe={match:!1,pathIndex:0,commandIndex:0};for(;Le=V.length)return Qe;const et=G.segments[Le],Nt=V[de];if(wn(Nt))break;const mn=`${Nt}`,Ln=de0&&void 0===mn)break;if(mn&&Ln&&"object"==typeof Ln&&void 0===Ln.outlets){if(!$n(mn,Ln,et))return Qe;de+=2}else{if(!$n(mn,{},et))return Qe;de++}Le++}return{match:!0,pathIndex:Le,commandIndex:de}}(G,te,V),Le=V.slice(de.commandIndex);if(de.match&&de.pathIndex{"string"==typeof et&&(et=[et]),null!==et&&(Le[Qe]=mt(G.children[Qe],te,et))}),Object.entries(G.children).forEach(([Qe,et])=>{void 0===de[Qe]&&(Le[Qe]=et)}),new J(G.segments,Le)}}function on(G,te,V){const de=G.segments.slice(0,te);let Le=0;for(;Le{"string"==typeof de&&(de=[de]),null!==de&&(te[V]=on(new J([],{}),0,de))}),te}function un(G){const te={};return Object.entries(G).forEach(([V,de])=>te[V]=`${de}`),te}function $n(G,te,V){return G==V.path&&Oe(te,V.parameters)}const In="imperative";class Zn{constructor(te,V){this.id=te,this.url=V}}class mi extends Zn{constructor(te,V,de="imperative",Le=null){super(te,V),this.type=0,this.navigationTrigger=de,this.restoredState=Le}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Qn extends Zn{constructor(te,V,de){super(te,V),this.urlAfterRedirects=de,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ri extends Zn{constructor(te,V,de,Le){super(te,V),this.reason=de,this.code=Le,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ln extends Zn{constructor(te,V,de,Le){super(te,V),this.reason=de,this.code=Le,this.type=16}}class en extends Zn{constructor(te,V,de,Le){super(te,V),this.error=de,this.target=Le,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Dn extends Zn{constructor(te,V,de,Le){super(te,V),this.urlAfterRedirects=de,this.state=Le,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class An extends Zn{constructor(te,V,de,Le){super(te,V),this.urlAfterRedirects=de,this.state=Le,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yn extends Zn{constructor(te,V,de,Le,Qe){super(te,V),this.urlAfterRedirects=de,this.state=Le,this.shouldActivate=Qe,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class si extends Zn{constructor(te,V,de,Le){super(te,V),this.urlAfterRedirects=de,this.state=Le,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ii extends Zn{constructor(te,V,de,Le){super(te,V),this.urlAfterRedirects=de,this.state=Le,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ii{constructor(te){this.route=te,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oi{constructor(te){this.route=te,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class li{constructor(te){this.snapshot=te,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pi{constructor(te){this.snapshot=te,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ct{constructor(te){this.snapshot=te,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ft{constructor(te){this.snapshot=te,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ae{constructor(te,V,de){this.routerEvent=te,this.position=V,this.anchor=de,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class be{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ge,this.attachRef=null}}let ge=(()=>{class G{constructor(){this.contexts=new Map}onChildOutletCreated(V,de){const Le=this.getOrCreateContext(V);Le.outlet=de,this.contexts.set(V,Le)}onChildOutletDestroyed(V){const de=this.getContext(V);de&&(de.outlet=null,de.attachRef=null)}onOutletDeactivated(){const V=this.contexts;return this.contexts=new Map,V}onOutletReAttached(V){this.contexts=V}getOrCreateContext(V){let de=this.getContext(V);return de||(de=new be,this.contexts.set(V,de)),de}getContext(V){return this.contexts.get(V)||null}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();class Ge{constructor(te){this._root=te}get root(){return this._root.value}parent(te){const V=this.pathFromRoot(te);return V.length>1?V[V.length-2]:null}children(te){const V=It(te,this._root);return V?V.children.map(de=>de.value):[]}firstChild(te){const V=It(te,this._root);return V&&V.children.length>0?V.children[0].value:null}siblings(te){const V=zt(te,this._root);return V.length<2?[]:V[V.length-2].children.map(Le=>Le.value).filter(Le=>Le!==te)}pathFromRoot(te){return zt(te,this._root).map(V=>V.value)}}function It(G,te){if(G===te.value)return te;for(const V of te.children){const de=It(G,V);if(de)return de}return null}function zt(G,te){if(G===te.value)return[te];for(const V of te.children){const de=zt(G,V);if(de.length)return de.unshift(te),de}return[]}class an{constructor(te,V){this.value=te,this.children=V}toString(){return`TreeNode(${this.value})`}}function gn(G){const te={};return G&&G.children.forEach(V=>te[V.value.outlet]=V),te}class pn extends Ge{constructor(te,V){super(te),this.snapshot=V,fn(this,te)}toString(){return this.snapshot.toString()}}function Jn(G,te){const V=function Nn(G,te){const et=new $i([],{},{},"",{},me,te,null,{});return new er("",new an(et,[]))}(0,te),de=new o.X([new Ce("",{})]),Le=new o.X({}),Qe=new o.X({}),et=new o.X({}),Nt=new o.X(""),mn=new kn(de,Le,et,Nt,Qe,me,te,V.root);return mn.snapshot=V.root,new pn(new an(mn,[]),V)}class kn{constructor(te,V,de,Le,Qe,et,Nt,mn){this.urlSubject=te,this.paramsSubject=V,this.queryParamsSubject=de,this.fragmentSubject=Le,this.dataSubject=Qe,this.outlet=et,this.component=Nt,this._futureSnapshot=mn,this.title=this.dataSubject?.pipe((0,_.U)(Ln=>Ln[$]))??(0,b.of)(void 0),this.url=te,this.params=V,this.queryParams=de,this.fragment=Le,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._paramMap=this.params.pipe((0,_.U)(te=>Q(te)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,_.U)(te=>Q(te)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Un(G,te="emptyOnly"){const V=G.pathFromRoot;let de=0;if("always"!==te)for(de=V.length-1;de>=1;){const Le=V[de],Qe=V[de-1];if(Le.routeConfig&&""===Le.routeConfig.path)de--;else{if(Qe.component)break;de--}}return function vi(G){return G.reduce((te,V)=>({params:{...te.params,...V.params},data:{...te.data,...V.data},resolve:{...V.data,...te.resolve,...V.routeConfig?.data,...V._resolvedData}}),{params:{},data:{},resolve:{}})}(V.slice(de))}class $i{get title(){return this.data?.[$]}constructor(te,V,de,Le,Qe,et,Nt,mn,Ln){this.url=te,this.params=V,this.queryParams=de,this.fragment=Le,this.data=Qe,this.outlet=et,this.component=Nt,this.routeConfig=mn,this._resolve=Ln}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Q(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Q(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(de=>de.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class er extends Ge{constructor(te,V){super(V),this.url=te,fn(this,V)}toString(){return yn(this._root)}}function fn(G,te){te.value._routerState=G,te.children.forEach(V=>fn(G,V))}function yn(G){const te=G.children.length>0?` { ${G.children.map(yn).join(", ")} } `:"";return`${G.value}${te}`}function rn(G){if(G.snapshot){const te=G.snapshot,V=G._futureSnapshot;G.snapshot=V,Oe(te.queryParams,V.queryParams)||G.queryParamsSubject.next(V.queryParams),te.fragment!==V.fragment&&G.fragmentSubject.next(V.fragment),Oe(te.params,V.params)||G.paramsSubject.next(V.params),function Me(G,te){if(G.length!==te.length)return!1;for(let V=0;VOe(V.parameters,te[de].parameters))}(G.url,te.url);return V&&!(!G.parent!=!te.parent)&&(!G.parent||xn(G.parent,te.parent))}let ti=(()=>{class G{constructor(){this.activated=null,this._activatedRoute=null,this.name=me,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(ge),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(zi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(V){if(V.name){const{firstChange:de,previousValue:Le}=V.name;if(de)return;this.isTrackedInParentContexts(Le)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Le)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(V){return this.parentContexts.getContext(V)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const V=this.parentContexts.getContext(this.name);V?.route&&(V.attachRef?this.attach(V.attachRef,V.route):this.activateWith(V.route,V.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const V=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(V.instance),V}attach(V,de){this.activated=V,this._activatedRoute=de,this.location.insert(V.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(V.instance)}deactivate(){if(this.activated){const V=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(V)}}activateWith(V,de){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=V;const Le=this.location,et=V.snapshot.component,Nt=this.parentContexts.getOrCreateContext(this.name).children,mn=new Ti(V,Nt,Le.injector);this.activated=Le.createComponent(et,{index:Le.length,injector:mn,environmentInjector:de??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),G})();class Ti{constructor(te,V,de){this.route=te,this.childContexts=V,this.parent=de}get(te,V){return te===kn?this.route:te===ge?this.childContexts:this.parent.get(te,V)}}const zi=new n.InjectionToken("");let xi=(()=>{class G{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(V){this.unsubscribeFromRouteData(V),this.subscribeToRouteData(V)}unsubscribeFromRouteData(V){this.outletDataSubscriptions.get(V)?.unsubscribe(),this.outletDataSubscriptions.delete(V)}subscribeToRouteData(V){const{activatedRoute:de}=V,Le=(0,v.a)([de.queryParams,de.params,de.data]).pipe((0,M.w)(([Qe,et,Nt],mn)=>(Nt={...Qe,...et,...Nt},0===mn?(0,b.of)(Nt):Promise.resolve(Nt)))).subscribe(Qe=>{if(!V.isActivated||!V.activatedComponentRef||V.activatedRoute!==de||null===de.component)return void this.unsubscribeFromRouteData(V);const et=(0,n.reflectComponentType)(de.component);if(et)for(const{templateName:Nt}of et.inputs)V.activatedComponentRef.setInput(Nt,Qe[Nt]);else this.unsubscribeFromRouteData(V)});this.outletDataSubscriptions.set(V,Le)}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();function gi(G,te,V){if(V&&G.shouldReuseRoute(te.value,V.value.snapshot)){const de=V.value;de._futureSnapshot=te.value;const Le=function Ke(G,te,V){return te.children.map(de=>{for(const Le of V.children)if(G.shouldReuseRoute(de.value,Le.value.snapshot))return gi(G,de,Le);return gi(G,de)})}(G,te,V);return new an(de,Le)}{if(G.shouldAttach(te.value)){const Qe=G.retrieve(te.value);if(null!==Qe){const et=Qe.route;return et.value._futureSnapshot=te.value,et.children=te.children.map(Nt=>gi(G,Nt)),et}}const de=function kt(G){return new kn(new o.X(G.url),new o.X(G.params),new o.X(G.queryParams),new o.X(G.fragment),new o.X(G.data),G.outlet,G.component,G)}(te.value),Le=te.children.map(Qe=>gi(G,Qe));return new an(de,Le)}}const U="ngNavigationCancelingError";function fe(G,te){const{redirectTo:V,navigationBehaviorOptions:de}=qe(te)?{redirectTo:te,navigationBehaviorOptions:void 0}:te,Le=Pe(!1,0,te);return Le.url=V,Le.navigationBehaviorOptions=de,Le}function Pe(G,te,V){const de=new Error("NavigationCancelingError: "+(G||""));return de[U]=!0,de.cancellationCode=te,V&&(de.url=V),de}function Je(G){return Gt(G)&&qe(G.url)}function Gt(G){return G&&G[U]}let Pn=(()=>{class G{}return G.\u0275fac=function(V){return new(V||G)},G.\u0275cmp=n.\u0275\u0275defineComponent({type:G,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(V,de){1&V&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[ti],encapsulation:2}),G})();function Tt(G){const te=G.children&&G.children.map(Tt),V=te?{...G,children:te}:{...G};return!V.component&&!V.loadComponent&&(te||V.loadChildren)&&V.outlet&&V.outlet!==me&&(V.component=Pn),V}function Ut(G){return G.outlet||me}function nn(G){if(!G)return null;if(G.routeConfig?._injector)return G.routeConfig._injector;for(let te=G.parent;te;te=te.parent){const V=te.routeConfig;if(V?._loadedInjector)return V._loadedInjector;if(V?._injector)return V._injector}return null}class zn{constructor(te,V,de,Le,Qe){this.routeReuseStrategy=te,this.futureState=V,this.currState=de,this.forwardEvent=Le,this.inputBindingEnabled=Qe}activate(te){const V=this.futureState._root,de=this.currState?this.currState._root:null;this.deactivateChildRoutes(V,de,te),rn(this.futureState.root),this.activateChildRoutes(V,de,te)}deactivateChildRoutes(te,V,de){const Le=gn(V);te.children.forEach(Qe=>{const et=Qe.value.outlet;this.deactivateRoutes(Qe,Le[et],de),delete Le[et]}),Object.values(Le).forEach(Qe=>{this.deactivateRouteAndItsChildren(Qe,de)})}deactivateRoutes(te,V,de){const Le=te.value,Qe=V?V.value:null;if(Le===Qe)if(Le.component){const et=de.getContext(Le.outlet);et&&this.deactivateChildRoutes(te,V,et.children)}else this.deactivateChildRoutes(te,V,de);else Qe&&this.deactivateRouteAndItsChildren(V,de)}deactivateRouteAndItsChildren(te,V){te.value.component&&this.routeReuseStrategy.shouldDetach(te.value.snapshot)?this.detachAndStoreRouteSubtree(te,V):this.deactivateRouteAndOutlet(te,V)}detachAndStoreRouteSubtree(te,V){const de=V.getContext(te.value.outlet),Le=de&&te.value.component?de.children:V,Qe=gn(te);for(const et of Object.keys(Qe))this.deactivateRouteAndItsChildren(Qe[et],Le);if(de&&de.outlet){const et=de.outlet.detach(),Nt=de.children.onOutletDeactivated();this.routeReuseStrategy.store(te.value.snapshot,{componentRef:et,route:te,contexts:Nt})}}deactivateRouteAndOutlet(te,V){const de=V.getContext(te.value.outlet),Le=de&&te.value.component?de.children:V,Qe=gn(te);for(const et of Object.keys(Qe))this.deactivateRouteAndItsChildren(Qe[et],Le);de&&(de.outlet&&(de.outlet.deactivate(),de.children.onOutletDeactivated()),de.attachRef=null,de.route=null)}activateChildRoutes(te,V,de){const Le=gn(V);te.children.forEach(Qe=>{this.activateRoutes(Qe,Le[Qe.value.outlet],de),this.forwardEvent(new Ft(Qe.value.snapshot))}),te.children.length&&this.forwardEvent(new Pi(te.value.snapshot))}activateRoutes(te,V,de){const Le=te.value,Qe=V?V.value:null;if(rn(Le),Le===Qe)if(Le.component){const et=de.getOrCreateContext(Le.outlet);this.activateChildRoutes(te,V,et.children)}else this.activateChildRoutes(te,V,de);else if(Le.component){const et=de.getOrCreateContext(Le.outlet);if(this.routeReuseStrategy.shouldAttach(Le.snapshot)){const Nt=this.routeReuseStrategy.retrieve(Le.snapshot);this.routeReuseStrategy.store(Le.snapshot,null),et.children.onOutletReAttached(Nt.contexts),et.attachRef=Nt.componentRef,et.route=Nt.route.value,et.outlet&&et.outlet.attach(Nt.componentRef,Nt.route.value),rn(Nt.route.value),this.activateChildRoutes(te,null,et.children)}else{const Nt=nn(Le.snapshot);et.attachRef=null,et.route=Le,et.injector=Nt,et.outlet&&et.outlet.activateWith(Le,et.injector),this.activateChildRoutes(te,null,et.children)}}else this.activateChildRoutes(te,null,de)}}class Vn{constructor(te){this.path=te,this.route=this.path[this.path.length-1]}}class Ri{constructor(te,V){this.component=te,this.route=V}}function ci(G,te,V){const de=G._root;return Xn(de,te?te._root:null,V,[de.value])}function ni(G,te){const V=Symbol(),de=te.get(G,V);return de===V?"function"!=typeof G||(0,n.\u0275isInjectable)(G)?te.get(G):G:de}function Xn(G,te,V,de,Le={canDeactivateChecks:[],canActivateChecks:[]}){const Qe=gn(te);return G.children.forEach(et=>{(function ai(G,te,V,de,Le={canDeactivateChecks:[],canActivateChecks:[]}){const Qe=G.value,et=te?te.value:null,Nt=V?V.getContext(G.value.outlet):null;if(et&&Qe.routeConfig===et.routeConfig){const mn=function Fi(G,te,V){if("function"==typeof V)return V(G,te);switch(V){case"pathParamsChange":return!ae(G.url,te.url);case"pathParamsOrQueryParamsChange":return!ae(G.url,te.url)||!Oe(G.queryParams,te.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xn(G,te)||!Oe(G.queryParams,te.queryParams);default:return!xn(G,te)}}(et,Qe,Qe.routeConfig.runGuardsAndResolvers);mn?Le.canActivateChecks.push(new Vn(de)):(Qe.data=et.data,Qe._resolvedData=et._resolvedData),Xn(G,te,Qe.component?Nt?Nt.children:null:V,de,Le),mn&&Nt&&Nt.outlet&&Nt.outlet.isActivated&&Le.canDeactivateChecks.push(new Ri(Nt.outlet.component,et))}else et&&Xi(te,Nt,Le),Le.canActivateChecks.push(new Vn(de)),Xn(G,null,Qe.component?Nt?Nt.children:null:V,de,Le)})(et,Qe[et.value.outlet],V,de.concat([et.value]),Le),delete Qe[et.value.outlet]}),Object.entries(Qe).forEach(([et,Nt])=>Xi(Nt,V.getContext(et),Le)),Le}function Xi(G,te,V){const de=gn(G),Le=G.value;Object.entries(de).forEach(([Qe,et])=>{Xi(et,Le.component?te?te.children.getContext(Qe):null:te,V)}),V.canDeactivateChecks.push(new Ri(Le.component&&te&&te.outlet&&te.outlet.isActivated?te.outlet.component:null,Le))}function Jr(G){return"function"==typeof G}function Vr(G){return G instanceof a.K||"EmptyError"===G?.name}const jr=Symbol("INITIAL_VALUE");function Hr(){return(0,M.w)(G=>(0,v.a)(G.map(te=>te.pipe((0,x.q)(1),(0,w.O)(jr)))).pipe((0,_.U)(te=>{for(const V of te)if(!0!==V){if(V===jr)return jr;if(!1===V||V instanceof rt)return V}return!0}),(0,L.h)(te=>te!==jr),(0,x.q)(1)))}function xr(G){return(0,l.z)((0,E.b)(te=>{if(qe(te))throw fe(0,te)}),(0,_.U)(te=>!0===te))}class Mr{constructor(te){this.segmentGroup=te||null}}class _o{constructor(te){this.urlTree=te}}function Or(G){return(0,d._)(new Mr(G))}function qr(G){return(0,d._)(new _o(G))}class fs{constructor(te,V){this.urlSerializer=te,this.urlTree=V}noMatchError(te){return new n.\u0275RuntimeError(4002,!1)}lineralizeSegments(te,V){let de=[],Le=V.root;for(;;){if(de=de.concat(Le.segments),0===Le.numberOfChildren)return(0,b.of)(de);if(Le.numberOfChildren>1||!Le.children[me])return(0,d._)(new n.\u0275RuntimeError(4e3,!1));Le=Le.children[me]}}applyRedirectCommands(te,V,de){return this.applyRedirectCreateUrlTree(V,this.urlSerializer.parse(V),te,de)}applyRedirectCreateUrlTree(te,V,de,Le){const Qe=this.createSegmentGroup(te,V.root,de,Le);return new rt(Qe,this.createQueryParams(V.queryParams,this.urlTree.queryParams),V.fragment)}createQueryParams(te,V){const de={};return Object.entries(te).forEach(([Le,Qe])=>{if("string"==typeof Qe&&Qe.startsWith(":")){const Nt=Qe.substring(1);de[Le]=V[Nt]}else de[Le]=Qe}),de}createSegmentGroup(te,V,de,Le){const Qe=this.createSegments(te,V.segments,de,Le);let et={};return Object.entries(V.children).forEach(([Nt,mn])=>{et[Nt]=this.createSegmentGroup(te,mn,de,Le)}),new J(Qe,et)}createSegments(te,V,de,Le){return V.map(Qe=>Qe.path.startsWith(":")?this.findPosParam(te,Qe,Le):this.findOrReturn(Qe,de))}findPosParam(te,V,de){const Le=de[V.path.substring(1)];if(!Le)throw new n.\u0275RuntimeError(4001,!1);return Le}findOrReturn(te,V){let de=0;for(const Le of V){if(Le.path===te.path)return V.splice(de),Le;de++}return te}}const vo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Zo(G,te,V,de,Le){const Qe=yr(G,te,V);return Qe.matched?(de=function Gi(G,te){return G.providers&&!G._injector&&(G._injector=(0,n.createEnvironmentInjector)(G.providers,te,`Route: ${G.path}`)),G._injector??te}(te,de),function sr(G,te,V,de){const Le=te.canMatch;if(!Le||0===Le.length)return(0,b.of)(!0);const Qe=Le.map(et=>{const Nt=ni(et,G);return $e(function Wo(G){return G&&Jr(G.canMatch)}(Nt)?Nt.canMatch(te,V):G.runInContext(()=>Nt(te,V)))});return(0,b.of)(Qe).pipe(Hr(),xr())}(de,te,V).pipe((0,_.U)(et=>!0===et?Qe:{...vo}))):(0,b.of)(Qe)}function yr(G,te,V){if(""===te.path)return"full"===te.pathMatch&&(G.hasChildren()||V.length>0)?{...vo}:{matched:!0,consumedSegments:[],remainingSegments:V,parameters:{},positionalParamSegments:{}};const Le=(te.matcher||ue)(V,G,te);if(!Le)return{...vo};const Qe={};Object.entries(Le.posParams??{}).forEach(([Nt,mn])=>{Qe[Nt]=mn.path});const et=Le.consumed.length>0?{...Qe,...Le.consumed[Le.consumed.length-1].parameters}:Qe;return{matched:!0,consumedSegments:Le.consumed,remainingSegments:V.slice(Le.consumed.length),parameters:et,positionalParamSegments:Le.posParams??{}}}function Cr(G,te,V,de){return V.length>0&&function Qo(G,te,V){return V.some(de=>zr(G,te,de)&&Ut(de)!==me)}(G,V,de)?{segmentGroup:new J(te,so(de,new J(V,G.children))),slicedSegments:[]}:0===V.length&&function ao(G,te,V){return V.some(de=>zr(G,te,de))}(G,V,de)?{segmentGroup:new J(G.segments,Ji(G,0,V,de,G.children)),slicedSegments:V}:{segmentGroup:new J(G.segments,G.children),slicedSegments:V}}function Ji(G,te,V,de,Le){const Qe={};for(const et of de)if(zr(G,V,et)&&!Le[Ut(et)]){const Nt=new J([],{});Qe[Ut(et)]=Nt}return{...Le,...Qe}}function so(G,te){const V={};V[me]=te;for(const de of G)if(""===de.path&&Ut(de)!==me){const Le=new J([],{});V[Ut(de)]=Le}return V}function zr(G,te,V){return(!(G.hasChildren()||te.length>0)||"full"!==V.pathMatch)&&""===V.path}class Ao{constructor(te,V,de,Le,Qe,et,Nt){this.injector=te,this.configLoader=V,this.rootComponentType=de,this.config=Le,this.urlTree=Qe,this.paramsInheritanceStrategy=et,this.urlSerializer=Nt,this.allowRedirects=!0,this.applyRedirects=new fs(this.urlSerializer,this.urlTree)}noMatchError(te){return new n.\u0275RuntimeError(4002,!1)}recognize(){const te=Cr(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,te,me).pipe((0,D.K)(V=>{if(V instanceof _o)return this.allowRedirects=!1,this.urlTree=V.urlTree,this.match(V.urlTree);throw V instanceof Mr?this.noMatchError(V):V}),(0,_.U)(V=>{const de=new $i([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},me,this.rootComponentType,null,{}),Le=new an(de,V),Qe=new er("",Le),et=Ne(de,[],this.urlTree.queryParams,this.urlTree.fragment);return et.queryParams=this.urlTree.queryParams,Qe.url=this.urlSerializer.serialize(et),this.inheritParamsAndData(Qe._root),{state:Qe,tree:et}}))}match(te){return this.processSegmentGroup(this.injector,this.config,te.root,me).pipe((0,D.K)(de=>{throw de instanceof Mr?this.noMatchError(de):de}))}inheritParamsAndData(te){const V=te.value,de=Un(V,this.paramsInheritanceStrategy);V.params=Object.freeze(de.params),V.data=Object.freeze(de.data),te.children.forEach(Le=>this.inheritParamsAndData(Le))}processSegmentGroup(te,V,de,Le){return 0===de.segments.length&&de.hasChildren()?this.processChildren(te,V,de):this.processSegment(te,V,de,de.segments,Le,!0)}processChildren(te,V,de){const Le=[];for(const Qe of Object.keys(de.children))"primary"===Qe?Le.unshift(Qe):Le.push(Qe);return(0,C.D)(Le).pipe((0,O.b)(Qe=>{const et=de.children[Qe],Nt=function Wt(G,te){const V=G.filter(de=>Ut(de)===te);return V.push(...G.filter(de=>Ut(de)!==te)),V}(V,Qe);return this.processSegmentGroup(te,Nt,et,Qe)}),(0,R.R)((Qe,et)=>(Qe.push(...et),Qe)),(0,j.d)(null),(0,N.Z)(),(0,A.z)(Qe=>{if(null===Qe)return Or(de);const et=eo(Qe);return function ar(G){G.sort((te,V)=>te.value.outlet===me?-1:V.value.outlet===me?1:te.value.outlet.localeCompare(V.value.outlet))}(et),(0,b.of)(et)}))}processSegment(te,V,de,Le,Qe,et){return(0,C.D)(V).pipe((0,O.b)(Nt=>this.processSegmentAgainstRoute(Nt._injector??te,V,Nt,de,Le,Qe,et).pipe((0,D.K)(mn=>{if(mn instanceof Mr)return(0,b.of)(null);throw mn}))),(0,T.P)(Nt=>!!Nt),(0,D.K)(Nt=>{if(Vr(Nt))return function Gr(G,te,V){return 0===te.length&&!G.children[V]}(de,Le,Qe)?(0,b.of)([]):Or(de);throw Nt}))}processSegmentAgainstRoute(te,V,de,Le,Qe,et,Nt){return function Wr(G,te,V,de){return!!(Ut(G)===de||de!==me&&zr(te,V,G))&&("**"===G.path||yr(te,G,V).matched)}(de,Le,Qe,et)?void 0===de.redirectTo?this.matchSegmentAgainstRoute(te,Le,de,Qe,et,Nt):Nt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(te,Le,V,de,Qe,et):Or(Le):Or(Le)}expandSegmentAgainstRouteUsingRedirect(te,V,de,Le,Qe,et){return"**"===Le.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(te,de,Le,et):this.expandRegularSegmentAgainstRouteUsingRedirect(te,V,de,Le,Qe,et)}expandWildCardWithParamsAgainstRouteUsingRedirect(te,V,de,Le){const Qe=this.applyRedirects.applyRedirectCommands([],de.redirectTo,{});return de.redirectTo.startsWith("/")?qr(Qe):this.applyRedirects.lineralizeSegments(de,Qe).pipe((0,A.z)(et=>{const Nt=new J(et,{});return this.processSegment(te,V,Nt,et,Le,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(te,V,de,Le,Qe,et){const{matched:Nt,consumedSegments:mn,remainingSegments:Ln,positionalParamSegments:Gn}=yr(V,Le,Qe);if(!Nt)return Or(V);const Wi=this.applyRedirects.applyRedirectCommands(mn,Le.redirectTo,Gn);return Le.redirectTo.startsWith("/")?qr(Wi):this.applyRedirects.lineralizeSegments(Le,Wi).pipe((0,A.z)(br=>this.processSegment(te,de,V,br.concat(Ln),et,!1)))}matchSegmentAgainstRoute(te,V,de,Le,Qe,et){let Nt;if("**"===de.path){const mn=Le.length>0?Be(Le).parameters:{},Ln=new $i(Le,mn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jo(de),Ut(de),de.component??de._loadedComponent??null,de,ko(de));Nt=(0,b.of)({snapshot:Ln,consumedSegments:[],remainingSegments:[]}),V.children={}}else Nt=Zo(V,de,Le,te).pipe((0,_.U)(({matched:mn,consumedSegments:Ln,remainingSegments:Gn,parameters:Wi})=>mn?{snapshot:new $i(Ln,Wi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jo(de),Ut(de),de.component??de._loadedComponent??null,de,ko(de)),consumedSegments:Ln,remainingSegments:Gn}:null));return Nt.pipe((0,M.w)(mn=>null===mn?Or(V):this.getChildConfig(te=de._injector??te,de,Le).pipe((0,M.w)(({routes:Ln})=>{const Gn=de._loadedInjector??te,{snapshot:Wi,consumedSegments:br,remainingSegments:Ms}=mn,{segmentGroup:Eo,slicedSegments:uo}=Cr(V,br,Ms,Ln);if(0===uo.length&&Eo.hasChildren())return this.processChildren(Gn,Ln,Eo).pipe((0,_.U)(Er=>null===Er?null:[new an(Wi,Er)]));if(0===Ln.length&&0===uo.length)return(0,b.of)([new an(Wi,[])]);const ho=Ut(de)===Qe;return this.processSegment(Gn,Ln,Eo,uo,ho?me:Qe,!0).pipe((0,_.U)(Er=>[new an(Wi,Er)]))}))))}getChildConfig(te,V,de){return V.children?(0,b.of)({routes:V.children,injector:te}):V.loadChildren?void 0!==V._loadedRoutes?(0,b.of)({routes:V._loadedRoutes,injector:V._loadedInjector}):function tr(G,te,V,de){const Le=te.canLoad;if(void 0===Le||0===Le.length)return(0,b.of)(!0);const Qe=Le.map(et=>{const Nt=ni(et,G);return $e(function us(G){return G&&Jr(G.canLoad)}(Nt)?Nt.canLoad(te,V):G.runInContext(()=>Nt(te,V)))});return(0,b.of)(Qe).pipe(Hr(),xr())}(te,V,de).pipe((0,A.z)(Le=>Le?this.configLoader.loadChildren(te,V).pipe((0,E.b)(Qe=>{V._loadedRoutes=Qe.routes,V._loadedInjector=Qe.injector})):function hs(G){return(0,d._)(Pe(!1,3))}())):(0,b.of)({routes:[],injector:te})}}function Xo(G){const te=G.value.routeConfig;return te&&""===te.path}function eo(G){const te=[],V=new Set;for(const de of G){if(!Xo(de)){te.push(de);continue}const Le=te.find(Qe=>de.value.routeConfig===Qe.value.routeConfig);void 0!==Le?(Le.children.push(...de.children),V.add(Le)):te.push(de)}for(const de of V){const Le=eo(de.children);te.push(new an(de.value,Le))}return te.filter(de=>!V.has(de))}function Jo(G){return G.data||{}}function ko(G){return G.resolve||{}}function ns(G){return"string"==typeof G.title||null===G.title}function Ro(G){return(0,M.w)(te=>{const V=G(te);return V?(0,C.D)(V).pipe((0,_.U)(()=>te)):(0,b.of)(te)})}const Pr=new n.InjectionToken("ROUTES");let to=(()=>{class G{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(V){if(this.componentLoaders.get(V))return this.componentLoaders.get(V);if(V._loadedComponent)return(0,b.of)(V._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(V);const de=$e(V.loadComponent()).pipe((0,_.U)(lo),(0,E.b)(Qe=>{this.onLoadEndListener&&this.onLoadEndListener(V),V._loadedComponent=Qe}),(0,F.x)(()=>{this.componentLoaders.delete(V)})),Le=new u.c(de,()=>new h.x).pipe((0,Y.x)());return this.componentLoaders.set(V,Le),Le}loadChildren(V,de){if(this.childrenLoaders.get(de))return this.childrenLoaders.get(de);if(de._loadedRoutes)return(0,b.of)({routes:de._loadedRoutes,injector:de._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(de);const Qe=this.loadModuleFactoryOrRoutes(de.loadChildren).pipe((0,_.U)(Nt=>{this.onLoadEndListener&&this.onLoadEndListener(de);let mn,Ln;return Array.isArray(Nt)?Ln=Nt:(mn=Nt.create(V).injector,Ln=mn.get(Pr,[],n.InjectFlags.Self|n.InjectFlags.Optional).flat()),{routes:Ln.map(Tt),injector:mn}}),(0,F.x)(()=>{this.childrenLoaders.delete(de)})),et=new u.c(Qe,()=>new h.x).pipe((0,Y.x)());return this.childrenLoaders.set(de,et),et}loadModuleFactoryOrRoutes(V){return $e(V()).pipe((0,_.U)(lo),(0,A.z)(de=>de instanceof n.NgModuleFactory||Array.isArray(de)?(0,b.of)(de):(0,C.D)(this.compiler.compileModuleAsync(de))))}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();function lo(G){return function Fr(G){return G&&"object"==typeof G&&"default"in G}(G)?G.default:G}let yo=(()=>{class G{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new h.x,this.configLoader=(0,n.inject)(to),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(pe),this.rootContexts=(0,n.inject)(ge),this.inputBindingEnabled=null!==(0,n.inject)(zi,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,b.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Le=>this.events.next(new oi(Le)),this.configLoader.onLoadStartListener=Le=>this.events.next(new Ii(Le))}complete(){this.transitions?.complete()}handleNavigationRequest(V){const de=++this.navigationId;this.transitions?.next({...this.transitions.value,...V,id:de})}setupNavigations(V){return this.transitions=new o.X({id:0,currentUrlTree:V.currentUrlTree,currentRawUrl:V.currentUrlTree,extractedUrl:V.urlHandlingStrategy.extract(V.currentUrlTree),urlAfterRedirects:V.urlHandlingStrategy.extract(V.currentUrlTree),rawUrl:V.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:In,restoredState:null,currentSnapshot:V.routerState.snapshot,targetSnapshot:null,currentRouterState:V.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,L.h)(de=>0!==de.id),(0,_.U)(de=>({...de,extractedUrl:V.urlHandlingStrategy.extract(de.rawUrl)})),(0,M.w)(de=>{let Le=!1,Qe=!1;return(0,b.of)(de).pipe((0,E.b)(et=>{this.currentNavigation={id:et.id,initialUrl:et.rawUrl,extractedUrl:et.extractedUrl,trigger:et.source,extras:et.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,M.w)(et=>{const Nt=V.browserUrlTree.toString(),mn=!V.navigated||et.extractedUrl.toString()!==Nt||Nt!==V.currentUrlTree.toString();if(!mn&&"reload"!==(et.extras.onSameUrlNavigation??V.onSameUrlNavigation)){const Gn="";return this.events.next(new ln(et.id,V.serializeUrl(de.rawUrl),Gn,0)),V.rawUrlTree=et.rawUrl,et.resolve(null),r.E}if(V.urlHandlingStrategy.shouldProcessUrl(et.rawUrl))return vr(et.source)&&(V.browserUrlTree=et.extractedUrl),(0,b.of)(et).pipe((0,M.w)(Gn=>{const Wi=this.transitions?.getValue();return this.events.next(new mi(Gn.id,this.urlSerializer.serialize(Gn.extractedUrl),Gn.source,Gn.restoredState)),Wi!==this.transitions?.getValue()?r.E:Promise.resolve(Gn)}),function ps(G,te,V,de,Le,Qe){return(0,A.z)(et=>function ms(G,te,V,de,Le,Qe,et="emptyOnly"){return new Ao(G,te,V,de,Le,et,Qe).recognize()}(G,te,V,de,et.extractedUrl,Le,Qe).pipe((0,_.U)(({state:Nt,tree:mn})=>({...et,targetSnapshot:Nt,urlAfterRedirects:mn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,V.config,this.urlSerializer,V.paramsInheritanceStrategy),(0,E.b)(Gn=>{if(de.targetSnapshot=Gn.targetSnapshot,de.urlAfterRedirects=Gn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Gn.urlAfterRedirects},"eager"===V.urlUpdateStrategy){if(!Gn.extras.skipLocationChange){const br=V.urlHandlingStrategy.merge(Gn.urlAfterRedirects,Gn.rawUrl);V.setBrowserUrl(br,Gn)}V.browserUrlTree=Gn.urlAfterRedirects}const Wi=new Dn(Gn.id,this.urlSerializer.serialize(Gn.extractedUrl),this.urlSerializer.serialize(Gn.urlAfterRedirects),Gn.targetSnapshot);this.events.next(Wi)}));if(mn&&V.urlHandlingStrategy.shouldProcessUrl(V.rawUrlTree)){const{id:Gn,extractedUrl:Wi,source:br,restoredState:Ms,extras:Eo}=et,uo=new mi(Gn,this.urlSerializer.serialize(Wi),br,Ms);this.events.next(uo);const ho=Jn(0,this.rootComponentType).snapshot;return de={...et,targetSnapshot:ho,urlAfterRedirects:Wi,extras:{...Eo,skipLocationChange:!1,replaceUrl:!1}},(0,b.of)(de)}{const Gn="";return this.events.next(new ln(et.id,V.serializeUrl(de.extractedUrl),Gn,1)),V.rawUrlTree=et.rawUrl,et.resolve(null),r.E}}),(0,E.b)(et=>{const Nt=new An(et.id,this.urlSerializer.serialize(et.extractedUrl),this.urlSerializer.serialize(et.urlAfterRedirects),et.targetSnapshot);this.events.next(Nt)}),(0,_.U)(et=>de={...et,guards:ci(et.targetSnapshot,et.currentSnapshot,this.rootContexts)}),function Ko(G,te){return(0,A.z)(V=>{const{targetSnapshot:de,currentSnapshot:Le,guards:{canActivateChecks:Qe,canDeactivateChecks:et}}=V;return 0===et.length&&0===Qe.length?(0,b.of)({...V,guardsResult:!0}):function Yo(G,te,V,de){return(0,C.D)(G).pipe((0,A.z)(Le=>function En(G,te,V,de,Le){const Qe=te&&te.routeConfig?te.routeConfig.canDeactivate:null;if(!Qe||0===Qe.length)return(0,b.of)(!0);const et=Qe.map(Nt=>{const mn=nn(te)??Le,Ln=ni(Nt,mn);return $e(function zo(G){return G&&Jr(G.canDeactivate)}(Ln)?Ln.canDeactivate(G,te,V,de):mn.runInContext(()=>Ln(G,te,V,de))).pipe((0,T.P)())});return(0,b.of)(et).pipe(Hr())}(Le.component,Le.route,V,te,de)),(0,T.P)(Le=>!0!==Le,!0))}(et,de,Le,G).pipe((0,A.z)(Nt=>Nt&&function Ho(G){return"boolean"==typeof G}(Nt)?function ye(G,te,V,de){return(0,C.D)(te).pipe((0,O.b)(Le=>(0,c.z)(function he(G,te){return null!==G&&te&&te(new li(G)),(0,b.of)(!0)}(Le.route.parent,de),function _e(G,te){return null!==G&&te&&te(new Ct(G)),(0,b.of)(!0)}(Le.route,de),function Qt(G,te,V){const de=te[te.length-1],Qe=te.slice(0,te.length-1).reverse().map(et=>function Mi(G){const te=G.routeConfig?G.routeConfig.canActivateChild:null;return te&&0!==te.length?{node:G,guards:te}:null}(et)).filter(et=>null!==et).map(et=>(0,s.P)(()=>{const Nt=et.guards.map(mn=>{const Ln=nn(et.node)??V,Gn=ni(mn,Ln);return $e(function Ir(G){return G&&Jr(G.canActivateChild)}(Gn)?Gn.canActivateChild(de,G):Ln.runInContext(()=>Gn(de,G))).pipe((0,T.P)())});return(0,b.of)(Nt).pipe(Hr())}));return(0,b.of)(Qe).pipe(Hr())}(G,Le.path,V),function He(G,te,V){const de=te.routeConfig?te.routeConfig.canActivate:null;if(!de||0===de.length)return(0,b.of)(!0);const Le=de.map(Qe=>(0,s.P)(()=>{const et=nn(te)??V,Nt=ni(Qe,et);return $e(function oo(G){return G&&Jr(G.canActivate)}(Nt)?Nt.canActivate(te,G):et.runInContext(()=>Nt(te,G))).pipe((0,T.P)())}));return(0,b.of)(Le).pipe(Hr())}(G,Le.route,V))),(0,T.P)(Le=>!0!==Le,!0))}(de,Qe,G,te):(0,b.of)(Nt)),(0,_.U)(Nt=>({...V,guardsResult:Nt})))})}(this.environmentInjector,et=>this.events.next(et)),(0,E.b)(et=>{if(de.guardsResult=et.guardsResult,qe(et.guardsResult))throw fe(0,et.guardsResult);const Nt=new Yn(et.id,this.urlSerializer.serialize(et.extractedUrl),this.urlSerializer.serialize(et.urlAfterRedirects),et.targetSnapshot,!!et.guardsResult);this.events.next(Nt)}),(0,L.h)(et=>!!et.guardsResult||(V.restoreHistory(et),this.cancelNavigationTransition(et,"",3),!1)),Ro(et=>{if(et.guards.canActivateChecks.length)return(0,b.of)(et).pipe((0,E.b)(Nt=>{const mn=new si(Nt.id,this.urlSerializer.serialize(Nt.extractedUrl),this.urlSerializer.serialize(Nt.urlAfterRedirects),Nt.targetSnapshot);this.events.next(mn)}),(0,M.w)(Nt=>{let mn=!1;return(0,b.of)(Nt).pipe(function qo(G,te){return(0,A.z)(V=>{const{targetSnapshot:de,guards:{canActivateChecks:Le}}=V;if(!Le.length)return(0,b.of)(V);let Qe=0;return(0,C.D)(Le).pipe((0,O.b)(et=>function es(G,te,V,de){const Le=G.routeConfig,Qe=G._resolve;return void 0!==Le?.title&&!ns(Le)&&(Qe[$]=Le.title),function ts(G,te,V,de){const Le=function bo(G){return[...Object.keys(G),...Object.getOwnPropertySymbols(G)]}(G);if(0===Le.length)return(0,b.of)({});const Qe={};return(0,C.D)(Le).pipe((0,A.z)(et=>function Lo(G,te,V,de){const Le=nn(te)??de,Qe=ni(G,Le);return $e(Qe.resolve?Qe.resolve(te,V):Le.runInContext(()=>Qe(te,V)))}(G[et],te,V,de).pipe((0,T.P)(),(0,E.b)(Nt=>{Qe[et]=Nt}))),(0,S.h)(1),(0,k.h)(Qe),(0,D.K)(et=>Vr(et)?r.E:(0,d._)(et)))}(Qe,G,te,de).pipe((0,_.U)(et=>(G._resolvedData=et,G.data=Un(G,V).resolve,Le&&ns(Le)&&(G.data[$]=Le.title),null)))}(et.route,de,G,te)),(0,E.b)(()=>Qe++),(0,S.h)(1),(0,A.z)(et=>Qe===Le.length?(0,b.of)(V):r.E))})}(V.paramsInheritanceStrategy,this.environmentInjector),(0,E.b)({next:()=>mn=!0,complete:()=>{mn||(V.restoreHistory(Nt),this.cancelNavigationTransition(Nt,"",2))}}))}),(0,E.b)(Nt=>{const mn=new ii(Nt.id,this.urlSerializer.serialize(Nt.extractedUrl),this.urlSerializer.serialize(Nt.urlAfterRedirects),Nt.targetSnapshot);this.events.next(mn)}))}),Ro(et=>{const Nt=mn=>{const Ln=[];mn.routeConfig?.loadComponent&&!mn.routeConfig._loadedComponent&&Ln.push(this.configLoader.loadComponent(mn.routeConfig).pipe((0,E.b)(Gn=>{mn.component=Gn}),(0,_.U)(()=>{})));for(const Gn of mn.children)Ln.push(...Nt(Gn));return Ln};return(0,v.a)(Nt(et.targetSnapshot.root)).pipe((0,j.d)(),(0,x.q)(1))}),Ro(()=>this.afterPreactivation()),(0,_.U)(et=>{const Nt=function _r(G,te,V){const de=gi(G,te._root,V?V._root:void 0);return new pn(de,te)}(V.routeReuseStrategy,et.targetSnapshot,et.currentRouterState);return de={...et,targetRouterState:Nt}}),(0,E.b)(et=>{V.currentUrlTree=et.urlAfterRedirects,V.rawUrlTree=V.urlHandlingStrategy.merge(et.urlAfterRedirects,et.rawUrl),V.routerState=et.targetRouterState,"deferred"===V.urlUpdateStrategy&&(et.extras.skipLocationChange||V.setBrowserUrl(V.rawUrlTree,et),V.browserUrlTree=et.urlAfterRedirects)}),((G,te,V,de)=>(0,_.U)(Le=>(new zn(te,Le.targetRouterState,Le.currentRouterState,V,de).activate(G),Le)))(this.rootContexts,V.routeReuseStrategy,et=>this.events.next(et),this.inputBindingEnabled),(0,x.q)(1),(0,E.b)({next:et=>{Le=!0,this.lastSuccessfulNavigation=this.currentNavigation,V.navigated=!0,this.events.next(new Qn(et.id,this.urlSerializer.serialize(et.extractedUrl),this.urlSerializer.serialize(V.currentUrlTree))),V.titleStrategy?.updateTitle(et.targetRouterState.snapshot),et.resolve(!0)},complete:()=>{Le=!0}}),(0,F.x)(()=>{Le||Qe||this.cancelNavigationTransition(de,"",1),this.currentNavigation?.id===de.id&&(this.currentNavigation=null)}),(0,D.K)(et=>{if(Qe=!0,Gt(et)){Je(et)||(V.navigated=!0,V.restoreHistory(de,!0));const Nt=new ri(de.id,this.urlSerializer.serialize(de.extractedUrl),et.message,et.cancellationCode);if(this.events.next(Nt),Je(et)){const mn=V.urlHandlingStrategy.merge(et.url,V.rawUrlTree),Ln={skipLocationChange:de.extras.skipLocationChange,replaceUrl:"eager"===V.urlUpdateStrategy||vr(de.source)};V.scheduleNavigation(mn,In,null,Ln,{resolve:de.resolve,reject:de.reject,promise:de.promise})}else de.resolve(!1)}else{V.restoreHistory(de,!0);const Nt=new en(de.id,this.urlSerializer.serialize(de.extractedUrl),et,de.targetSnapshot??void 0);this.events.next(Nt);try{de.resolve(V.errorHandler(et))}catch(mn){de.reject(mn)}}return r.E}))}))}cancelNavigationTransition(V,de,Le){const Qe=new ri(V.id,this.urlSerializer.serialize(V.extractedUrl),de,Le);this.events.next(Qe),V.resolve(!1)}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();function vr(G){return G!==In}let Co=(()=>{class G{buildTitle(V){let de,Le=V.root;for(;void 0!==Le;)de=this.getResolvedTitleForRoute(Le)??de,Le=Le.children.find(Qe=>Qe.outlet===me);return de}getResolvedTitleForRoute(V){return V.data[$]}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:function(){return(0,n.inject)(Oo)},providedIn:"root"}),G})(),Oo=(()=>{class G extends Co{constructor(V){super(),this.title=V}updateTitle(V){const de=this.buildTitle(V);void 0!==de&&this.title.setTitle(de)}}return G.\u0275fac=function(V){return new(V||G)(n.\u0275\u0275inject(ne.Title))},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),Oi=(()=>{class G{}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:function(){return(0,n.inject)(Ie)},providedIn:"root"}),G})();class z{shouldDetach(te){return!1}store(te,V){}shouldAttach(te){return!1}retrieve(te){return null}shouldReuseRoute(te,V){return te.routeConfig===V.routeConfig}}let Ie=(()=>{class G extends z{}return G.\u0275fac=function(){let te;return function(de){return(te||(te=n.\u0275\u0275getInheritedFactory(G)))(de||G)}}(),G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const le=new n.InjectionToken("",{providedIn:"root",factory:()=>({})});let Fe=(()=>{class G{}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:function(){return(0,n.inject)(ht)},providedIn:"root"}),G})(),ht=(()=>{class G{shouldProcessUrl(V){return!0}extract(V){return V}merge(V,de){return V}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();var Ht=function(G){return G[G.COMPLETE=0]="COMPLETE",G[G.FAILED=1]="FAILED",G[G.REDIRECTING=2]="REDIRECTING",G}(Ht||{});function Zt(G,te){G.events.pipe((0,L.h)(V=>V instanceof Qn||V instanceof ri||V instanceof en||V instanceof ln),(0,_.U)(V=>V instanceof Qn||V instanceof ln?Ht.COMPLETE:V instanceof ri&&(0===V.code||1===V.code)?Ht.REDIRECTING:Ht.FAILED),(0,L.h)(V=>V!==Ht.REDIRECTING),(0,x.q)(1)).subscribe(()=>{te()})}function jn(G){throw G}function Ni(G,te,V){return te.parse("/")}const ji={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},pi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rn=(()=>{class G{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,n.inject)(n.\u0275Console),this.isNgZoneEnabled=!1,this.options=(0,n.inject)(le,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275InitialRenderPendingTasks),this.errorHandler=this.options.errorHandler||jn,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Ni,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,n.inject)(Fe),this.routeReuseStrategy=(0,n.inject)(Oi),this.titleStrategy=(0,n.inject)(Co),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,n.inject)(Pr,{optional:!0})?.flat()??[],this.navigationTransitions=(0,n.inject)(yo),this.urlSerializer=(0,n.inject)(pe),this.location=(0,n.inject)(m.Location),this.componentInputBindingEnabled=!!(0,n.inject)(zi,{optional:!0}),this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new rt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Jn(0,null),this.navigationTransitions.setupNavigations(this).subscribe(V=>{this.lastSuccessfulId=V.id,this.currentPageId=this.browserPageId??0},V=>{this.console.warn(`Unhandled Navigation Error: ${V}`)})}resetRootComponentType(V){this.routerState.root.component=V,this.navigationTransitions.rootComponentType=V}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const V=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),In,V)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(V=>{const de="popstate"===V.type?"popstate":"hashchange";"popstate"===de&&setTimeout(()=>{this.navigateToSyncWithBrowser(V.url,de,V.state)},0)}))}navigateToSyncWithBrowser(V,de,Le){const Qe={replaceUrl:!0},et=Le?.navigationId?Le:null;if(Le){const mn={...Le};delete mn.navigationId,delete mn.\u0275routerPageId,0!==Object.keys(mn).length&&(Qe.state=mn)}const Nt=this.parseUrl(V);this.scheduleNavigation(Nt,de,et,Qe)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(V){this.config=V.map(Tt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(V,de={}){const{relativeTo:Le,queryParams:Qe,fragment:et,queryParamsHandling:Nt,preserveFragment:mn}=de,Ln=mn?this.currentUrlTree.fragment:et;let Wi,Gn=null;switch(Nt){case"merge":Gn={...this.currentUrlTree.queryParams,...Qe};break;case"preserve":Gn=this.currentUrlTree.queryParams;break;default:Gn=Qe||null}null!==Gn&&(Gn=this.removeEmptyProps(Gn));try{Wi=dt(Le?Le.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof V[0]||!V[0].startsWith("/"))&&(V=[]),Wi=this.currentUrlTree.root}return At(Wi,V,Gn,Ln??null)}navigateByUrl(V,de={skipLocationChange:!1}){const Le=qe(V)?V:this.parseUrl(V),Qe=this.urlHandlingStrategy.merge(Le,this.rawUrlTree);return this.scheduleNavigation(Qe,In,null,de)}navigate(V,de={skipLocationChange:!1}){return function qi(G){for(let te=0;te{const Qe=V[Le];return null!=Qe&&(de[Le]=Qe),de},{})}scheduleNavigation(V,de,Le,Qe,et){if(this.disposed)return Promise.resolve(!1);let Nt,mn,Ln;et?(Nt=et.resolve,mn=et.reject,Ln=et.promise):Ln=new Promise((Wi,br)=>{Nt=Wi,mn=br});const Gn=this.pendingTasks.add();return Zt(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Gn))}),this.navigationTransitions.handleNavigationRequest({source:de,restoredState:Le,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:V,extras:Qe,resolve:Nt,reject:mn,promise:Ln,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ln.catch(Wi=>Promise.reject(Wi))}setBrowserUrl(V,de){const Le=this.urlSerializer.serialize(V);if(this.location.isCurrentPathEqualTo(Le)||de.extras.replaceUrl){const et={...de.extras.state,...this.generateNgRouterState(de.id,this.browserPageId)};this.location.replaceState(Le,"",et)}else{const Qe={...de.extras.state,...this.generateNgRouterState(de.id,(this.browserPageId??0)+1)};this.location.go(Le,"",Qe)}}restoreHistory(V,de=!1){if("computed"===this.canceledNavigationResolution){const Qe=this.currentPageId-(this.browserPageId??this.currentPageId);0!==Qe?this.location.historyGo(Qe):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===Qe&&(this.resetState(V),this.browserUrlTree=V.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(de&&this.resetState(V),this.resetUrlToCurrentUrlTree())}resetState(V){this.routerState=V.currentRouterState,this.currentUrlTree=V.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,V.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(V,de){return"computed"===this.canceledNavigationResolution?{navigationId:V,\u0275routerPageId:de}:{navigationId:V}}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),Si=(()=>{class G{constructor(V,de,Le,Qe,et,Nt){this.router=V,this.route=de,this.tabIndexAttribute=Le,this.renderer=Qe,this.el=et,this.locationStrategy=Nt,this.href=null,this.commands=null,this.onChanges=new h.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const mn=et.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===mn||"area"===mn,this.isAnchorElement?this.subscription=V.events.subscribe(Ln=>{Ln instanceof Qn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(V){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",V)}ngOnChanges(V){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(V){null!=V?(this.commands=Array.isArray(V)?V:[V],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(V,de,Le,Qe,et){return!!(null===this.urlTree||this.isAnchorElement&&(0!==V||de||Le||Qe||et||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const V=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",V)}applyAttributeValue(V,de){const Le=this.renderer,Qe=this.el.nativeElement;null!==de?Le.setAttribute(Qe,V,de):Le.removeAttribute(Qe,V)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return G.\u0275fac=function(V){return new(V||G)(n.\u0275\u0275directiveInject(Rn),n.\u0275\u0275directiveInject(kn),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(m.LocationStrategy))},G.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(V,de){1&V&&n.\u0275\u0275listener("click",function(Qe){return de.onClick(Qe.button,Qe.ctrlKey,Qe.shiftKey,Qe.altKey,Qe.metaKey)}),2&V&&n.\u0275\u0275attribute("target",de.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:["skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:["replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]}),G})(),ir=(()=>{class G{get isActive(){return this._isActive}constructor(V,de,Le,Qe,et){this.router=V,this.element=de,this.renderer=Le,this.cdr=Qe,this.link=et,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=V.events.subscribe(Nt=>{Nt instanceof Qn&&this.update()})}ngAfterContentInit(){(0,b.of)(this.links.changes,(0,b.of)(null)).pipe((0,se.J)()).subscribe(V=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const V=[...this.links.toArray(),this.link].filter(de=>!!de).map(de=>de.onChanges);this.linkInputChangesSubscription=(0,C.D)(V).pipe((0,se.J)()).subscribe(de=>{this._isActive!==this.isLinkActive(this.router)(de)&&this.update()})}set routerLinkActive(V){const de=Array.isArray(V)?V:V.split(" ");this.classes=de.filter(Le=>!!Le)}ngOnChanges(V){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const V=this.hasActiveLinks();this._isActive!==V&&(this._isActive=V,this.cdr.markForCheck(),this.classes.forEach(de=>{V?this.renderer.addClass(this.element.nativeElement,de):this.renderer.removeClass(this.element.nativeElement,de)}),V&&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(V))})}isLinkActive(V){const de=function Ar(G){return!!G.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Le=>!!Le.urlTree&&V.isActive(Le.urlTree,de)}hasActiveLinks(){const V=this.isLinkActive(this.router);return this.link&&V(this.link)||this.links.some(V)}}return G.\u0275fac=function(V){return new(V||G)(n.\u0275\u0275directiveInject(Rn),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Si,8))},G.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["","routerLinkActive",""]],contentQueries:function(V,de,Le){if(1&V&&n.\u0275\u0275contentQuery(Le,Si,5),2&V){let Qe;n.\u0275\u0275queryRefresh(Qe=n.\u0275\u0275loadQuery())&&(de.links=Qe)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),G})();class wr{}let Kn=(()=>{class G{preload(V,de){return de().pipe((0,D.K)(()=>(0,b.of)(null)))}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),fr=(()=>{class G{preload(V,de){return(0,b.of)(null)}}return G.\u0275fac=function(V){return new(V||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),Kr=(()=>{class G{constructor(V,de,Le,Qe,et){this.router=V,this.injector=Le,this.preloadingStrategy=Qe,this.loader=et}setUpPreloading(){this.subscription=this.router.events.pipe((0,L.h)(V=>V instanceof Qn),(0,O.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(V,de){const Le=[];for(const Qe of de){Qe.providers&&!Qe._injector&&(Qe._injector=(0,n.createEnvironmentInjector)(Qe.providers,V,`Route: ${Qe.path}`));const et=Qe._injector??V,Nt=Qe._loadedInjector??et;(Qe.loadChildren&&!Qe._loadedRoutes&&void 0===Qe.canLoad||Qe.loadComponent&&!Qe._loadedComponent)&&Le.push(this.preloadConfig(et,Qe)),(Qe.children||Qe._loadedRoutes)&&Le.push(this.processRoutes(Nt,Qe.children??Qe._loadedRoutes))}return(0,C.D)(Le).pipe((0,se.J)())}preloadConfig(V,de){return this.preloadingStrategy.preload(de,()=>{let Le;Le=de.loadChildren&&void 0===de.canLoad?this.loader.loadChildren(V,de):(0,b.of)(null);const Qe=Le.pipe((0,A.z)(et=>null===et?(0,b.of)(void 0):(de._loadedRoutes=et.routes,de._loadedInjector=et.injector,this.processRoutes(et.injector??V,et.routes))));if(de.loadComponent&&!de._loadedComponent){const et=this.loader.loadComponent(de);return(0,C.D)([Qe,et]).pipe((0,se.J)())}return Qe})}}return G.\u0275fac=function(V){return new(V||G)(n.\u0275\u0275inject(Rn),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(wr),n.\u0275\u0275inject(to))},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const lr=new n.InjectionToken("");let Nr=(()=>{class G{constructor(V,de,Le,Qe,et={}){this.urlSerializer=V,this.transitions=de,this.viewportScroller=Le,this.zone=Qe,this.options=et,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},et.scrollPositionRestoration=et.scrollPositionRestoration||"disabled",et.anchorScrolling=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(V=>{V instanceof mi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=V.navigationTrigger,this.restoredId=V.restoredState?V.restoredState.navigationId:0):V instanceof Qn?(this.lastId=V.id,this.scheduleScrollEvent(V,this.urlSerializer.parse(V.urlAfterRedirects).fragment)):V instanceof ln&&0===V.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(V,this.urlSerializer.parse(V.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(V=>{V instanceof Ae&&(V.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(V.position):V.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(V.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(V,de){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ae(V,"popstate"===this.lastSource?this.store[this.restoredId]:null,de))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return G.\u0275fac=function(V){n.\u0275\u0275invalidFactory()},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();function js(G,...te){return(0,n.makeEnvironmentProviders)([{provide:Pr,multi:!0,useValue:G},[],{provide:kn,useFactory:is,deps:[Rn]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:zs},te.map(V=>V.\u0275providers)])}function is(G){return G.routerState.root}function mr(G,te){return{\u0275kind:G,\u0275providers:te}}function gs(G){return[{provide:Pr,multi:!0,useValue:G},[]]}function rs(G={}){return mr(4,[{provide:lr,useFactory:()=>{const V=(0,n.inject)(m.ViewportScroller),de=(0,n.inject)(n.NgZone),Le=(0,n.inject)(yo),Qe=(0,n.inject)(pe);return new Nr(Qe,Le,V,de,G)}}])}function zs(){const G=(0,n.inject)(n.Injector);return te=>{const V=G.get(n.ApplicationRef);if(te!==V.components[0])return;const de=G.get(Rn),Le=G.get(dn);1===G.get(yi)&&de.initialNavigation(),G.get(bs,null,n.InjectFlags.Optional)?.setUpPreloading(),G.get(lr,null,n.InjectFlags.Optional)?.init(),de.resetRootComponentType(V.componentTypes[0]),Le.closed||(Le.next(),Le.complete(),Le.unsubscribe())}}const dn=new n.InjectionToken("",{factory:()=>new h.x}),yi=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function _s(){return mr(2,[{provide:yi,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:te=>{const V=te.get(m.LOCATION_INITIALIZED,Promise.resolve());return()=>V.then(()=>new Promise(de=>{const Le=te.get(Rn),Qe=te.get(dn);Zt(Le,()=>{de(!0)}),te.get(yo).afterPreactivation=()=>(de(!0),Qe.closed?(0,b.of)(void 0):Qe),Le.initialNavigation()}))}}])}function vs(){return mr(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const te=(0,n.inject)(Rn);return()=>{te.setUpLocationChangeListener()}}},{provide:yi,useValue:2}])}function cr(){let G=[];return G=[],mr(1,G)}const bs=new n.InjectionToken("");function xo(G){return mr(0,[{provide:bs,useExisting:Kr},{provide:wr,useExisting:G}])}function Ur(G){return mr(5,[{provide:le,useValue:G}])}function ys(){return mr(5,[{provide:m.LocationStrategy,useClass:m.HashLocationStrategy}])}function Cs(G){return mr(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const V=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(Rn).events.subscribe(de=>{de instanceof en&&V.runInContext(()=>G(de))})}}])}function Ws(){return mr(8,[xi,{provide:zi,useExisting:xi}])}const xs=new n.InjectionToken("ROUTER_FORROOT_GUARD"),dr=[m.Location,{provide:pe,useClass:Te},Rn,ge,{provide:kn,useFactory:is,deps:[Rn]},to,[]];function Yr(){return new n.NgProbeToken("Router",Rn)}let Br=(()=>{class G{constructor(V){}static forRoot(V,de){return{ngModule:G,providers:[dr,[],{provide:Pr,multi:!0,useValue:V},{provide:xs,useFactory:Ks,deps:[[Rn,new n.Optional,new n.SkipSelf]]},{provide:le,useValue:de||{}},de?.useHash?{provide:m.LocationStrategy,useClass:m.HashLocationStrategy}:{provide:m.LocationStrategy,useClass:m.PathLocationStrategy},{provide:lr,useFactory:()=>{const G=(0,n.inject)(m.ViewportScroller),te=(0,n.inject)(n.NgZone),V=(0,n.inject)(le),de=(0,n.inject)(yo),Le=(0,n.inject)(pe);return V.scrollOffset&&G.setOffset(V.scrollOffset),new Nr(Le,de,G,te,V)}},de?.preloadingStrategy?xo(de.preloadingStrategy).\u0275providers:[],{provide:n.NgProbeToken,multi:!0,useFactory:Yr},de?.initialNavigation?Oa(de):[],de?.bindToComponentInputs?Ws().\u0275providers:[],[{provide:co,useFactory:zs},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:co}]]}}static forChild(V){return{ngModule:G,providers:[{provide:Pr,multi:!0,useValue:V}]}}}return G.\u0275fac=function(V){return new(V||G)(n.\u0275\u0275inject(xs,8))},G.\u0275mod=n.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=n.\u0275\u0275defineInjector({}),G})();function Ks(G){return"guarded"}function Oa(G){return["disabled"===G.initialNavigation?vs().\u0275providers:[],"enabledBlocking"===G.initialNavigation?_s().\u0275providers:[]]}const co=new n.InjectionToken("");function Fo(G){return G.map(te=>(...V)=>(0,n.inject)(te).canMatch(...V))}function Ys(G){return G.map(te=>(...V)=>(0,n.inject)(te).canActivate(...V))}function os(G){return G.map(te=>(...V)=>(0,n.inject)(te).canActivateChild(...V))}function Pa(G){return G.map(te=>(...V)=>(0,n.inject)(te).canDeactivate(...V))}function wo(G){return(...te)=>(0,n.inject)(G).resolve(...te)}const No=new n.Version("16.1.7")},9515:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{DEFAULT_LANGUAGE:()=>N,FakeMissingTranslationHandler:()=>_,MissingTranslationHandler:()=>m,TranslateCompiler:()=>O,TranslateDefaultParser:()=>T,TranslateDirective:()=>F,TranslateFakeCompiler:()=>E,TranslateFakeLoader:()=>h,TranslateLoader:()=>u,TranslateModule:()=>se,TranslateParser:()=>A,TranslatePipe:()=>Y,TranslateService:()=>k,TranslateStore:()=>D,USE_DEFAULT_LANG:()=>j,USE_EXTEND:()=>S,USE_STORE:()=>R});var n=g(1180),p=g(5879),C=g(2096),b=g(2664),o=g(9315),v=g(34),a=g(4911),c=g(8180),s=g(7081),l=g(7398),d=g(6328),r=g(4664);class u{}let h=(()=>{class ne extends u{getTranslation($){return(0,C.of)({})}}return(0,n.Z)(ne,"\u0275fac",function(){let me;return function(q){return(me||(me=p.\u0275\u0275getInheritedFactory(ne)))(q||ne)}}()),(0,n.Z)(ne,"\u0275prov",p.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})),ne})();class m{}let _=(()=>{class ne{handle($){return $.key}}return(0,n.Z)(ne,"\u0275fac",function($){return new($||ne)}),(0,n.Z)(ne,"\u0275prov",p.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})),ne})();function M(ne,me){if(ne===me)return!0;if(null===ne||null===me)return!1;if(ne!=ne&&me!=me)return!0;let Q,ue,Me,$=typeof ne;if($==typeof me&&"object"==$){if(!Array.isArray(ne)){if(Array.isArray(me))return!1;for(ue in Me=Object.create(null),ne){if(!M(ne[ue],me[ue]))return!1;Me[ue]=!0}for(ue in me)if(!(ue in Me)&&typeof me[ue]<"u")return!1;return!0}if(!Array.isArray(me))return!1;if((Q=ne.length)==me.length){for(ue=0;ue{w(me[q])?q in ne?$[q]=L(ne[q],me[q]):Object.assign($,{[q]:me[q]}):Object.assign($,{[q]:me[q]})}),$}class A{}let T=(()=>{class ne extends A{constructor(...$){super(...$),(0,n.Z)(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate($,q){let Q;return Q="string"==typeof $?this.interpolateString($,q):"function"==typeof $?this.interpolateFunction($,q):$,Q}getValue($,q){let Q="string"==typeof q?q.split("."):[q];q="";do{q+=Q.shift(),!x($)||!x($[q])||"object"!=typeof $[q]&&Q.length?Q.length?q+=".":$=void 0:($=$[q],q="")}while(Q.length);return $}interpolateFunction($,q){return $(q)}interpolateString($,q){return q?$.replace(this.templateMatcher,(Q,ue)=>{let Me=this.getValue(q,ue);return x(Me)?Me:Q}):$}}return(0,n.Z)(ne,"\u0275fac",function(){let me;return function(q){return(me||(me=p.\u0275\u0275getInheritedFactory(ne)))(q||ne)}}()),(0,n.Z)(ne,"\u0275prov",p.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})),ne})();class O{}let E=(()=>{class ne extends O{compile($,q){return $}compileTranslations($,q){return $}}return(0,n.Z)(ne,"\u0275fac",function(){let me;return function(q){return(me||(me=p.\u0275\u0275getInheritedFactory(ne)))(q||ne)}}()),(0,n.Z)(ne,"\u0275prov",p.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})),ne})();class D{constructor(){(0,n.Z)(this,"defaultLang",void 0),(0,n.Z)(this,"currentLang",this.defaultLang),(0,n.Z)(this,"translations",{}),(0,n.Z)(this,"langs",[]),(0,n.Z)(this,"onTranslationChange",new p.EventEmitter),(0,n.Z)(this,"onLangChange",new p.EventEmitter),(0,n.Z)(this,"onDefaultLangChange",new p.EventEmitter)}}const R=new p.InjectionToken("USE_STORE"),j=new p.InjectionToken("USE_DEFAULT_LANG"),N=new p.InjectionToken("DEFAULT_LANGUAGE"),S=new p.InjectionToken("USE_EXTEND");let k=(()=>{class ne{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($){this.isolate?this._defaultLang=$:this.store.defaultLang=$}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang($){this.isolate?this._currentLang=$:this.store.currentLang=$}get langs(){return this.isolate?this._langs:this.store.langs}set langs($){this.isolate?this._langs=$:this.store.langs=$}get translations(){return this.isolate?this._translations:this.store.translations}set translations($){this.isolate?this._translations=$:this.store.translations=$}constructor($,q,Q,ue,Me,Oe=!0,Xe=!1,Be=!1,$e){(0,n.Z)(this,"store",void 0),(0,n.Z)(this,"currentLoader",void 0),(0,n.Z)(this,"compiler",void 0),(0,n.Z)(this,"parser",void 0),(0,n.Z)(this,"missingTranslationHandler",void 0),(0,n.Z)(this,"useDefaultLang",void 0),(0,n.Z)(this,"isolate",void 0),(0,n.Z)(this,"extend",void 0),(0,n.Z)(this,"loadingTranslations",void 0),(0,n.Z)(this,"pending",!1),(0,n.Z)(this,"_onTranslationChange",new p.EventEmitter),(0,n.Z)(this,"_onLangChange",new p.EventEmitter),(0,n.Z)(this,"_onDefaultLangChange",new p.EventEmitter),(0,n.Z)(this,"_defaultLang",void 0),(0,n.Z)(this,"_currentLang",void 0),(0,n.Z)(this,"_langs",[]),(0,n.Z)(this,"_translations",{}),(0,n.Z)(this,"_translationRequests",{}),this.store=$,this.currentLoader=q,this.compiler=Q,this.parser=ue,this.missingTranslationHandler=Me,this.useDefaultLang=Oe,this.isolate=Xe,this.extend=Be,$e&&this.setDefaultLang($e)}setDefaultLang($){if($===this.defaultLang)return;let q=this.retrieveTranslations($);typeof q<"u"?(null==this.defaultLang&&(this.defaultLang=$),q.pipe((0,c.q)(1)).subscribe(Q=>{this.changeDefaultLang($)})):this.changeDefaultLang($)}getDefaultLang(){return this.defaultLang}use($){if($===this.currentLang)return(0,C.of)(this.translations[$]);let q=this.retrieveTranslations($);return typeof q<"u"?(this.currentLang||(this.currentLang=$),q.pipe((0,c.q)(1)).subscribe(Q=>{this.changeLang($)}),q):(this.changeLang($),(0,C.of)(this.translations[$]))}retrieveTranslations($){let q;return(typeof this.translations[$]>"u"||this.extend)&&(this._translationRequests[$]=this._translationRequests[$]||this.getTranslation($),q=this._translationRequests[$]),q}getTranslation($){this.pending=!0;const q=this.currentLoader.getTranslation($).pipe((0,s.d)(1),(0,c.q)(1));return this.loadingTranslations=q.pipe((0,l.U)(Q=>this.compiler.compileTranslations(Q,$)),(0,s.d)(1),(0,c.q)(1)),this.loadingTranslations.subscribe({next:Q=>{this.translations[$]=this.extend&&this.translations[$]?{...Q,...this.translations[$]}:Q,this.updateLangs(),this.pending=!1},error:Q=>{this.pending=!1}}),q}setTranslation($,q,Q=!1){q=this.compiler.compileTranslations(q,$),this.translations[$]=(Q||this.extend)&&this.translations[$]?L(this.translations[$],q):q,this.updateLangs(),this.onTranslationChange.emit({lang:$,translations:this.translations[$]})}getLangs(){return this.langs}addLangs($){$.forEach(q=>{-1===this.langs.indexOf(q)&&this.langs.push(q)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult($,q,Q){let ue;if(q instanceof Array){let Me={},Oe=!1;for(let Xe of q)Me[Xe]=this.getParsedResult($,Xe,Q),(0,b.b)(Me[Xe])&&(Oe=!0);if(Oe){const Xe=q.map(Be=>(0,b.b)(Me[Be])?Me[Be]:(0,C.of)(Me[Be]));return(0,o.D)(Xe).pipe((0,l.U)(Be=>{let $e={};return Be.forEach((st,Mt)=>{$e[q[Mt]]=st}),$e}))}return Me}if($&&(ue=this.parser.interpolate(this.parser.getValue($,q),Q)),typeof ue>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ue=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],q),Q)),typeof ue>"u"){let Me={key:q,translateService:this};typeof Q<"u"&&(Me.interpolateParams=Q),ue=this.missingTranslationHandler.handle(Me)}return typeof ue<"u"?ue:q}get($,q){if(!x($)||!$.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,d.b)(Q=>(Q=this.getParsedResult(Q,$,q),(0,b.b)(Q)?Q:(0,C.of)(Q))));{let Q=this.getParsedResult(this.translations[this.currentLang],$,q);return(0,b.b)(Q)?Q:(0,C.of)(Q)}}getStreamOnTranslationChange($,q){if(!x($)||!$.length)throw new Error('Parameter "key" required');return(0,v.z)((0,a.P)(()=>this.get($,q)),this.onTranslationChange.pipe((0,r.w)(Q=>{const ue=this.getParsedResult(Q.translations,$,q);return"function"==typeof ue.subscribe?ue:(0,C.of)(ue)})))}stream($,q){if(!x($)||!$.length)throw new Error('Parameter "key" required');return(0,v.z)((0,a.P)(()=>this.get($,q)),this.onLangChange.pipe((0,r.w)(Q=>{const ue=this.getParsedResult(Q.translations,$,q);return(0,b.b)(ue)?ue:(0,C.of)(ue)})))}instant($,q){if(!x($)||!$.length)throw new Error('Parameter "key" required');let Q=this.getParsedResult(this.translations[this.currentLang],$,q);if((0,b.b)(Q)){if($ instanceof Array){let ue={};return $.forEach((Me,Oe)=>{ue[$[Oe]]=$[Oe]}),ue}return $}return Q}set($,q,Q=this.currentLang){this.translations[Q][$]=this.compiler.compile(q,Q),this.updateLangs(),this.onTranslationChange.emit({lang:Q,translations:this.translations[Q]})}changeLang($){this.currentLang=$,this.onLangChange.emit({lang:$,translations:this.translations[$]}),null==this.defaultLang&&this.changeDefaultLang($)}changeDefaultLang($){this.defaultLang=$,this.onDefaultLangChange.emit({lang:$,translations:this.translations[$]})}reloadLang($){return this.resetLang($),this.getTranslation($)}resetLang($){this._translationRequests[$]=void 0,this.translations[$]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let $=window.navigator.languages?window.navigator.languages[0]:null;return $=$||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof $>"u"?void 0:(-1!==$.indexOf("-")&&($=$.split("-")[0]),-1!==$.indexOf("_")&&($=$.split("_")[0]),$)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let $=window.navigator.languages?window.navigator.languages[0]:null;return $=$||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,$}}return(0,n.Z)(ne,"\u0275fac",function($){return new($||ne)(p.\u0275\u0275inject(D),p.\u0275\u0275inject(u),p.\u0275\u0275inject(O),p.\u0275\u0275inject(A),p.\u0275\u0275inject(m),p.\u0275\u0275inject(j),p.\u0275\u0275inject(R),p.\u0275\u0275inject(S),p.\u0275\u0275inject(N))}),(0,n.Z)(ne,"\u0275prov",p.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})),ne})(),F=(()=>{class ne{set translate($){$&&(this.key=$,this.checkNodes())}set translateParams($){M(this.currentParams,$)||(this.currentParams=$,this.checkNodes(!0))}constructor($,q,Q){(0,n.Z)(this,"translateService",void 0),(0,n.Z)(this,"element",void 0),(0,n.Z)(this,"_ref",void 0),(0,n.Z)(this,"key",void 0),(0,n.Z)(this,"lastParams",void 0),(0,n.Z)(this,"currentParams",void 0),(0,n.Z)(this,"onLangChangeSub",void 0),(0,n.Z)(this,"onDefaultLangChangeSub",void 0),(0,n.Z)(this,"onTranslationChangeSub",void 0),this.translateService=$,this.element=q,this._ref=Q,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ue=>{ue.lang===this.translateService.currentLang&&this.checkNodes(!0,ue.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ue=>{this.checkNodes(!0,ue.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ue=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes($=!1,q){let Q=this.element.nativeElement.childNodes;Q.length||(this.setContent(this.element.nativeElement,this.key),Q=this.element.nativeElement.childNodes);for(let ue=0;ue{Me!==$&&(q.lastKey=$),q.originalContent||(q.originalContent=this.getContent(q)),q.currentValue=x(Me)?Me:q.originalContent||$,this.setContent(q,this.key?q.currentValue:q.originalContent.replace($,q.currentValue)),this._ref.markForCheck()};if(x(Q)){let Me=this.translateService.getParsedResult(Q,$,this.currentParams);(0,b.b)(Me)?Me.subscribe({next:ue}):ue(Me)}else this.translateService.get($,this.currentParams).subscribe(ue)}}getContent($){return x($.textContent)?$.textContent:$.data}setContent($,q){x($.textContent)?$.textContent=q:$.data=q}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return(0,n.Z)(ne,"\u0275fac",function($){return new($||ne)(p.\u0275\u0275directiveInject(k),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(p.ChangeDetectorRef))}),(0,n.Z)(ne,"\u0275dir",p.\u0275\u0275defineDirective({type:ne,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})),ne})(),Y=(()=>{class ne{constructor($,q){(0,n.Z)(this,"translate",void 0),(0,n.Z)(this,"_ref",void 0),(0,n.Z)(this,"value",""),(0,n.Z)(this,"lastKey",null),(0,n.Z)(this,"lastParams",[]),(0,n.Z)(this,"onTranslationChange",void 0),(0,n.Z)(this,"onLangChange",void 0),(0,n.Z)(this,"onDefaultLangChange",void 0),this.translate=$,this._ref=q}updateValue($,q,Q){let ue=Me=>{this.value=void 0!==Me?Me:$,this.lastKey=$,this._ref.markForCheck()};if(Q){let Me=this.translate.getParsedResult(Q,$,q);(0,b.b)(Me.subscribe)?Me.subscribe(ue):ue(Me)}this.translate.get($,q).subscribe(ue)}transform($,...q){if(!$||!$.length)return $;if(M($,this.lastKey)&&M(q,this.lastParams))return this.value;let Q;if(x(q[0])&&q.length)if("string"==typeof q[0]&&q[0].length){let ue=q[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Q=JSON.parse(ue)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${q[0]}`)}}else"object"==typeof q[0]&&!Array.isArray(q[0])&&(Q=q[0]);return this.lastKey=$,this.lastParams=q,this.updateValue($,Q),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ue=>{this.lastKey&&ue.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue($,Q,ue.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ue=>{this.lastKey&&(this.lastKey=null,this.updateValue($,Q,ue.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue($,Q))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return(0,n.Z)(ne,"\u0275fac",function($){return new($||ne)(p.\u0275\u0275directiveInject(k,16),p.\u0275\u0275directiveInject(p.ChangeDetectorRef,16))}),(0,n.Z)(ne,"\u0275pipe",p.\u0275\u0275definePipe({name:"translate",type:ne,pure:!1})),(0,n.Z)(ne,"\u0275prov",p.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})),ne})(),se=(()=>{class ne{static forRoot($={}){return{ngModule:ne,providers:[$.loader||{provide:u,useClass:h},$.compiler||{provide:O,useClass:E},$.parser||{provide:A,useClass:T},$.missingTranslationHandler||{provide:m,useClass:_},D,{provide:R,useValue:$.isolate},{provide:j,useValue:$.useDefaultLang},{provide:S,useValue:$.extend},{provide:N,useValue:$.defaultLanguage},k]}}static forChild($={}){return{ngModule:ne,providers:[$.loader||{provide:u,useClass:h},$.compiler||{provide:O,useClass:E},$.parser||{provide:A,useClass:T},$.missingTranslationHandler||{provide:m,useClass:_},{provide:R,useValue:$.isolate},{provide:j,useValue:$.useDefaultLang},{provide:S,useValue:$.extend},{provide:N,useValue:$.defaultLanguage},k]}}}return(0,n.Z)(ne,"\u0275fac",function($){return new($||ne)}),(0,n.Z)(ne,"\u0275mod",p.\u0275\u0275defineNgModule({type:ne})),(0,n.Z)(ne,"\u0275inj",p.\u0275\u0275defineInjector({})),ne})()},5061:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{TranslateHttpLoader:()=>p});var n=g(1180);class p{constructor(b,o="/assets/i18n/",v=".json"){(0,n.Z)(this,"http",void 0),(0,n.Z)(this,"prefix",void 0),(0,n.Z)(this,"suffix",void 0),this.http=b,this.prefix=o,this.suffix=v}getTranslation(b){return this.http.get(`${this.prefix}${b}${this.suffix}`)}}},6381:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{AUTH_CONFIG:()=>Yt,AbstractValidationHandler:()=>Xe,AuthConfig:()=>ue,DateTimeProvider:()=>R,DefaultHashHandler:()=>ie,DefaultOAuthInterceptor:()=>Lt,HashHandler:()=>Ce,JwksValidationHandler:()=>$t,LoginOptions:()=>N,MemoryStorage:()=>F,NullValidationHandler:()=>O,OAuthErrorEvent:()=>$,OAuthEvent:()=>se,OAuthInfoEvent:()=>me,OAuthLogger:()=>S,OAuthModule:()=>yt,OAuthModuleConfig:()=>E,OAuthNoopResourceServerErrorHandler:()=>ct,OAuthResourceServerConfig:()=>D,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>pe,OAuthStorage:()=>k,OAuthSuccessEvent:()=>ne,ReceivedTokens:()=>Y,SystemDateTimeProvider:()=>j,UrlHelperService:()=>Be,ValidationHandler:()=>Oe,provideOAuthClient:()=>ze});var n=g(5861),p=g(5879),C=g(6814),b=g(9862),o=g(8645),v=g(2096),a=g(2459),c=g(3684),s=g(8504),l=g(2572),d=g(3019),r=g(2181),u=g(9397),h=g(3620),m=g(7547),_=g(4664),M=g(7398),x=g(1374),w=g(6306),L=g(5178),A=g(8180),T=g(9769);class O{validateSignature(We){return Promise.resolve(null)}validateAtHash(We){return Promise.resolve(!0)}}class E{}class D{}class R{}let j=(()=>{class Ue extends R{now(){return Date.now()}new(){return new Date}}return Ue.\u0275fac=function(){let We;return function(we){return(We||(We=p.\u0275\u0275getInheritedFactory(Ue)))(we||Ue)}}(),Ue.\u0275prov=p.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})();class N{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class S{}class k{}let F=(()=>{class Ue{constructor(){this.data=new Map}getItem(ve){return this.data.get(ve)}removeItem(ve){this.data.delete(ve)}setItem(ve,we){this.data.set(ve,we)}}return Ue.\u0275fac=function(ve){return new(ve||Ue)},Ue.\u0275prov=p.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})();class Y{}class se{constructor(We){this.type=We}}class ne extends se{constructor(We,ve=null){super(We),this.info=ve}}class me extends se{constructor(We,ve=null){super(We),this.info=ve}}class $ extends se{constructor(We,ve,we=null){super(We),this.reason=ve,this.params=we}}function q(Ue){const We=Ue.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(We).split("").map(function(ve){return"%"+("00"+ve.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function Q(Ue){return btoa(Ue).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ue{constructor(We){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=ve=>{location.href=ve},We&&Object.assign(this,We)}}class Me{encodeKey(We){return encodeURIComponent(We)}encodeValue(We){return encodeURIComponent(We)}decodeKey(We){return decodeURIComponent(We)}decodeValue(We){return decodeURIComponent(We)}}class Oe{}class Xe{validateAtHash(We){var ve=this;return(0,n.Z)(function*(){let we=ve.inferHashAlgorithm(We.idTokenHeader),at=yield ve.calcHash(We.accessToken,we),je=Q(at.substr(0,at.length/2)),ke=We.idTokenClaims.at_hash.replace(/=/g,"");return je!==ke&&(console.error("exptected at_hash: "+je),console.error("actual at_hash: "+ke)),je===ke})()}inferHashAlgorithm(We){let ve=We.alg;if(!ve.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+ve);return"sha-"+ve.substr(2)}}let Be=(()=>{class Ue{getHashFragmentParams(ve){let we=ve||window.location.hash;if(we=decodeURIComponent(we),0!==we.indexOf("#"))return{};const at=we.indexOf("?");return we=we.substr(at>-1?at+1:1),this.parseQueryString(we)}parseQueryString(ve){const we={};let at,De,je,ke,Z,re,ce;if(null===ve)return we;at=ve.split("&");for(let Ee=0;Ee=64;){for(De=We[0],je=We[1],ke=We[2],Z=We[3],re=We[4],ce=We[5],Ee=We[6],it=We[7],Ye=0;Ye<16;Ye++)qe=we+4*Ye,Ue[Ye]=(255&ve[qe])<<24|(255&ve[qe+1])<<16|(255&ve[qe+2])<<8|255&ve[qe+3];for(Ye=16;Ye<64;Ye++)Rt=Ue[Ye-2],Ne=(Rt>>>17|Rt<<15)^(Rt>>>19|Rt<<13)^Rt>>>10,Rt=Ue[Ye-15],dt=(Rt>>>7|Rt<<25)^(Rt>>>18|Rt<<14)^Rt>>>3,Ue[Ye]=(Ne+Ue[Ye-7]|0)+(dt+Ue[Ye-16]|0);for(Ye=0;Ye<64;Ye++)Ne=(((re>>>6|re<<26)^(re>>>11|re<<21)^(re>>>25|re<<7))+(re&ce^~re&Ee)|0)+(it+(Mt[Ye]+Ue[Ye]|0)|0)|0,dt=((De>>>2|De<<30)^(De>>>13|De<<19)^(De>>>22|De<<10))+(De&je^De&ke^je&ke)|0,it=Ee,Ee=ce,ce=re,re=Z+Ne|0,Z=ke,ke=je,je=De,De=Ne+dt|0;We[0]+=De,We[1]+=je,We[2]+=ke,We[3]+=Z,We[4]+=re,We[5]+=ce,We[6]+=Ee,We[7]+=it,we+=64,at-=64}return we}class St{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 We=0;We0){for(;this.bufferLength<64&&ve>0;)this.buffer[this.bufferLength++]=We[we++],ve--;64===this.bufferLength&&(tt(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ve>=64&&(we=tt(this.temp,this.state,We,we,ve),ve%=64);ve>0;)this.buffer[this.bufferLength++]=We[we++],ve--;return this}finish(We){if(!this.finished){const ve=this.bytesHashed,we=this.bufferLength,at=ve/536870912|0,De=ve<<3,je=ve%64<56?64:128;this.buffer[we]=128;for(let ke=we+1;ke>>24&255,this.buffer[je-7]=at>>>16&255,this.buffer[je-6]=at>>>8&255,this.buffer[je-5]=at>>>0&255,this.buffer[je-4]=De>>>24&255,this.buffer[je-3]=De>>>16&255,this.buffer[je-2]=De>>>8&255,this.buffer[je-1]=De>>>0&255,tt(this.temp,this.state,this.buffer,0,je),this.finished=!0}for(let ve=0;ve<8;ve++)We[4*ve+0]=this.state[ve]>>>24&255,We[4*ve+1]=this.state[ve]>>>16&255,We[4*ve+2]=this.state[ve]>>>8&255,We[4*ve+3]=this.state[ve]>>>0&255;return this}digest(){const We=new Uint8Array(this.digestLength);return this.finish(We),We}_saveState(We){for(let ve=0;ve{class Ue{calcHash(ve,we){return(0,n.Z)(function*(){return function ae(Ue){var We,ve=[];for(We=0;We{class Ue extends ue{constructor(ve,we,at,De,je,ke,Z,re,ce,Ee){super(),this.ngZone=ve,this.http=we,this.config=je,this.urlHelper=ke,this.logger=Z,this.crypto=re,this.dateTimeService=Ee,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new o.x,this.discoveryDocumentLoadedSubject=new o.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=ce,je||(je={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),De&&(this.tokenValidationHandler=De),je&&this.configure(je);try{at?this.setStorage(at):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(it){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",it)}if(this.checkLocalStorageAccessable()){const it=window?.navigator?.userAgent;(it?.includes("MSIE ")||it?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const ve="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(ve,ve),localStorage.removeItem(ve),0))}catch{return!1}}configure(ve){Object.assign(this,new ue,ve),this.config=Object.assign({},new ue,ve),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,r.h)(ve=>"token_received"===ve.type)).subscribe(ve=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(ve={},we,at=!0){let De=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,u.b)(je=>{"token_received"===je.type?De=!0:"logout"===je.type&&(De=!1)}),(0,r.h)(je=>"token_expires"===je.type&&(null==we||"any"===we||je.info===we)),(0,h.b)(1e3)).subscribe(je=>{De&&this.refreshInternal(ve,at).catch(ke=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(ve,we){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(ve,we):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(ve=null){return this.loadDiscoveryDocument().then(we=>this.tryLogin(ve))}loadDiscoveryDocumentAndLogin(ve=null){return this.loadDiscoveryDocumentAndTryLogin(ve=ve||{}).then(we=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof ve.state?ve.state:""),!1))}debug(...ve){this.showDebugInformation&&this.logger.debug.apply(this.logger,ve)}validateUrlFromDiscoveryDocument(ve){const we=[],at=this.validateUrlForHttps(ve),De=this.validateUrlAgainstIssuer(ve);return at||we.push("https for all urls required. Also for urls received by discovery."),De||we.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),we}validateUrlForHttps(ve){if(!ve)return!0;const we=ve.toLowerCase();return!(!1!==this.requireHttps&&(!we.match(/^http:\/\/localhost($|[:\/])/)&&!we.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||we.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(ve,we){if(!ve)throw new Error(`'${we}' should not be null`);if(!this.validateUrlForHttps(ve))throw new Error(`'${we}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(ve){return!this.strictDiscoveryDocumentValidation||!ve||ve.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.h)(ve=>"token_received"===ve.type)).subscribe(ve=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const ve=this.getAccessTokenExpiration(),we=this.getAccessTokenStoredAt(),at=this.calcTimeout(we,ve);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,v.of)(new me("token_expires","access_token")).pipe((0,m.g)(at)).subscribe(De=>{this.ngZone.run(()=>{this.eventsSubject.next(De)})})})}setupIdTokenTimer(){const ve=this.getIdTokenExpiration(),we=this.getIdTokenStoredAt(),at=this.calcTimeout(we,ve);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,v.of)(new me("token_expires","id_token")).pipe((0,m.g)(at)).subscribe(De=>{this.ngZone.run(()=>{this.eventsSubject.next(De)})})})}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(ve,we){const at=this.dateTimeService.now(),je=Math.max(0,(we-ve)*this.timeoutFactor-(at-ve)),ke=2147483647;return je>ke?ke:je}setStorage(ve){this._storage=ve,this.configChanged()}loadDiscoveryDocument(ve=null){return new Promise((we,at)=>{ve||((ve=this.issuer||"").endsWith("/")||(ve+="/"),ve+=".well-known/openid-configuration"),this.validateUrlForHttps(ve)?this.http.get(ve).subscribe(De=>{if(!this.validateDiscoveryDocument(De))return this.eventsSubject.next(new $("discovery_document_validation_error",null)),void at("discovery_document_validation_error");this.loginUrl=De.authorization_endpoint,this.logoutUrl=De.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=De.grant_types_supported,this.issuer=De.issuer,this.tokenEndpoint=De.token_endpoint,this.userinfoEndpoint=De.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=De.jwks_uri,this.sessionCheckIFrameUrl=De.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(De),this.revocationEndpoint=De.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(je=>{const Z=new ne("discovery_document_loaded",{discoveryDocument:De,jwks:je});this.eventsSubject.next(Z),we(Z)}).catch(je=>{this.eventsSubject.next(new $("discovery_document_load_error",je)),at(je)})},De=>{this.logger.error("error loading discovery document",De),this.eventsSubject.next(new $("discovery_document_load_error",De)),at(De)}):at("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((ve,we)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(at=>{this.jwks=at,ve(at)},at=>{this.logger.error("error loading jwks",at),this.eventsSubject.next(new $("jwks_load_error",at)),we(at)}):ve(null)})}validateDiscoveryDocument(ve){let we;return this.skipIssuerCheck||ve.issuer===this.issuer?(we=this.validateUrlFromDiscoveryDocument(ve.authorization_endpoint),we.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",we),!1):(we=this.validateUrlFromDiscoveryDocument(ve.end_session_endpoint),we.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",we),!1):(we=this.validateUrlFromDiscoveryDocument(ve.token_endpoint),we.length>0&&this.logger.error("error validating token_endpoint in discovery document",we),we=this.validateUrlFromDiscoveryDocument(ve.revocation_endpoint),we.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",we),we=this.validateUrlFromDiscoveryDocument(ve.userinfo_endpoint),we.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",we),!1):(we=this.validateUrlFromDiscoveryDocument(ve.jwks_uri),we.length>0?(this.logger.error("error validating jwks_uri in discovery document",we),!1):(this.sessionChecksEnabled&&!ve.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: "+ve.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(ve,we,at=new b.HttpHeaders){return this.fetchTokenUsingPasswordFlow(ve,we,at).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((ve,we)=>{const at=(new b.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:at,observe:"response",responseType:"text"}).subscribe(De=>{if(this.debug("userinfo received",JSON.stringify(De)),De.headers.get("content-type").startsWith("application/json")){let je=JSON.parse(De.body);const ke=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!ke.sub||je.sub!==ke.sub))return void we("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");je=Object.assign({},ke,je),this._storage.setItem("id_token_claims_obj",JSON.stringify(je)),this.eventsSubject.next(new ne("user_profile_loaded")),ve({info:je})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new ne("user_profile_loaded")),ve(JSON.parse(De.body))},De=>{this.logger.error("error loading user info",De),this.eventsSubject.next(new $("user_profile_load_error",De)),we(De)})})}fetchTokenUsingPasswordFlow(ve,we,at=new b.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:ve,password:we},at)}fetchTokenUsingGrant(ve,we,at=new b.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let De=new b.HttpParams({encoder:new Me}).set("grant_type",ve).set("scope",this.scope);if(this.useHttpBasicAuth){const je=btoa(`${this.clientId}:${this.dummyClientSecret}`);at=at.set("Authorization","Basic "+je)}if(this.useHttpBasicAuth||(De=De.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(De=De.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const je of Object.getOwnPropertyNames(this.customQueryParams))De=De.set(je,this.customQueryParams[je]);for(const je of Object.keys(we))De=De.set(je,we[je]);return at=at.set("Content-Type","application/x-www-form-urlencoded"),new Promise((je,ke)=>{this.http.post(this.tokenEndpoint,De,{headers:at}).subscribe(Z=>{this.debug("tokenResponse",Z),this.storeAccessTokenResponse(Z.access_token,Z.refresh_token,Z.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Z.scope,this.extractRecognizedCustomParameters(Z)),this.oidc&&Z.id_token&&this.processIdToken(Z.id_token,Z.access_token).then(re=>{this.storeIdToken(re),je(Z)}),this.eventsSubject.next(new ne("token_received")),je(Z)},Z=>{this.logger.error("Error performing ${grantType} flow",Z),this.eventsSubject.next(new $("token_error",Z)),ke(Z)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((ve,we)=>{let at=new b.HttpParams({encoder:new Me}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),De=(new b.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const je=btoa(`${this.clientId}:${this.dummyClientSecret}`);De=De.set("Authorization","Basic "+je)}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 je of Object.getOwnPropertyNames(this.customQueryParams))at=at.set(je,this.customQueryParams[je]);this.http.post(this.tokenEndpoint,at,{headers:De}).pipe((0,_.w)(je=>this.oidc&&je.id_token?(0,a.D)(this.processIdToken(je.id_token,je.access_token,!0)).pipe((0,u.b)(ke=>this.storeIdToken(ke)),(0,M.U)(ke=>je)):(0,v.of)(je))).subscribe(je=>{this.debug("refresh tokenResponse",je),this.storeAccessTokenResponse(je.access_token,je.refresh_token,je.expires_in||this.fallbackAccessTokenExpirationTimeInSec,je.scope,this.extractRecognizedCustomParameters(je)),this.eventsSubject.next(new ne("token_received")),this.eventsSubject.next(new ne("token_refreshed")),ve(je)},je=>{this.logger.error("Error refreshing token",je),this.eventsSubject.next(new $("token_refresh_error",je)),we(je)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=ve=>{const we=this.processMessageEventMessage(ve);this.checkOrigin&&ve.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:we,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(at=>this.debug("tryLogin during silent refresh failed",at))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(ve={},we=!0){const at=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(ve.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 De=this.document.getElementById(this.silentRefreshIFrameName);De&&this.document.body.removeChild(De),this.silentRefreshSubject=at.sub;const je=this.document.createElement("iframe");je.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,we,ve).then(Ee=>{je.setAttribute("src",Ee),this.silentRefreshShowIFrame||(je.style.display="none"),this.document.body.appendChild(je)});const Z=this.events.pipe((0,r.h)(Ee=>Ee instanceof $),(0,x.P)()),re=this.events.pipe((0,r.h)(Ee=>"token_received"===Ee.type),(0,x.P)()),ce=(0,v.of)(new $("silent_refresh_timeout",null)).pipe((0,m.g)(this.silentRefreshTimeout));return(0,c.S)([Z,re,ce]).pipe((0,M.U)(Ee=>{if(Ee instanceof $)throw"silent_refresh_timeout"===Ee.type||(Ee=new $("silent_refresh_error",Ee)),this.eventsSubject.next(Ee),Ee;return"token_received"===Ee.type&&(Ee=new ne("silently_refreshed"),this.eventsSubject.next(Ee)),Ee})).toPromise()}initImplicitFlowInPopup(ve){return this.initLoginFlowInPopup(ve)}initLoginFlowInPopup(ve){return ve=ve||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(we=>new Promise((at,De)=>{let Z,ke=null;ve.windowRef?ve.windowRef&&!ve.windowRef.closed&&(ke=ve.windowRef,ke.location.href=we):ke=window.open(we,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(ve));const re=Ye=>{this.tryLogin({customHashFragment:Ye,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{Ee(),at(!0)},qe=>{Ee(),De(qe)})};ke?Z=window.setInterval(()=>{(!ke||ke.closed)&&(Ee(),De(new $("popup_closed",{})))},500):De(new $("popup_blocked",{}));const Ee=()=>{window.clearInterval(Z),window.removeEventListener("storage",Rt),window.removeEventListener("message",it),null!==ke&&ke.close(),ke=null},it=Ye=>{const qe=this.processMessageEventMessage(Ye);qe&&null!==qe?(window.removeEventListener("storage",Rt),re(qe)):console.log("false event firing")},Rt=Ye=>{"auth_hash"===Ye.key&&(window.removeEventListener("message",it),re(Ye.newValue))};window.addEventListener("message",it),window.addEventListener("storage",Rt)}))}calculatePopupFeatures(ve){const we=ve.height||470,at=ve.width||500,De=window.screenLeft+(window.outerWidth-at)/2;return`location=no,toolbar=no,width=${at},height=${we},top=${window.screenTop+(window.outerHeight-we)/2},left=${De}`}processMessageEventMessage(ve){let we="#";if(this.silentRefreshMessagePrefix&&(we+=this.silentRefreshMessagePrefix),!ve||!ve.data||"string"!=typeof ve.data)return;const at=ve.data;return at.startsWith(we)?"#"+at.substr(we.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=ve=>{const we=ve.origin.toLowerCase(),at=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),at.startsWith(we)){switch(ve.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",ve)}else this.debug("sessionCheckEventListener","wrong origin",we,"expected",at,"event",ve)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new me("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new me("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(ve=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new me("session_terminated")),this.logOut(!0)):this.refreshToken().then(ve=>{this.debug("token refresh after session change worked")}).catch(ve=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new me("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,r.h)(ve=>"silently_refreshed"===ve.type||"silent_refresh_timeout"===ve.type||"silent_refresh_error"===ve.type),(0,x.P)()).subscribe(ve=>{"silently_refreshed"!==ve.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new me("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new me("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const ve=this.document.getElementById(this.sessionCheckIFrameName);ve&&this.document.body.removeChild(ve);const we=this.document.createElement("iframe");we.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),we.setAttribute("src",this.sessionCheckIFrameUrl),we.style.display="none",this.document.body.appendChild(we),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 ve=this.document.getElementById(this.sessionCheckIFrameName);ve||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const we=this.getSessionState();we||this.stopSessionCheckTimer(),ve.contentWindow.postMessage(this.clientId+" "+we,this.issuer)}createLoginUrl(ve="",we="",at="",De=!1,je={}){var ke=this;return(0,n.Z)(function*(){const Z=ke;let re;re=at||ke.redirectUri;const ce=yield ke.createAndSaveNonce();if(ve=ve?ce+ke.config.nonceStateSeparator+encodeURIComponent(ve):ce,!ke.requestAccessToken&&!ke.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");ke.responseType=ke.config.responseType?ke.config.responseType:ke.oidc&&ke.requestAccessToken?"id_token token":ke.oidc&&!ke.requestAccessToken?"id_token":"token";const Ee=Z.loginUrl.indexOf("?")>-1?"&":"?";let it=Z.scope;ke.oidc&&!it.match(/(^|\s)openid($|\s)/)&&(it="openid "+it);let Rt=Z.loginUrl+Ee+"response_type="+encodeURIComponent(Z.responseType)+"&client_id="+encodeURIComponent(Z.clientId)+"&state="+encodeURIComponent(ve)+"&redirect_uri="+encodeURIComponent(re)+"&scope="+encodeURIComponent(it);if(ke.responseType.includes("code")&&!ke.disablePKCE){const[Ye,qe]=yield ke.createChallangeVerifierPairForPKCE();ke.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",qe):ke._storage.setItem("PKCE_verifier",qe),Rt+="&code_challenge="+Ye,Rt+="&code_challenge_method=S256"}we&&(Rt+="&login_hint="+encodeURIComponent(we)),Z.resource&&(Rt+="&resource="+encodeURIComponent(Z.resource)),Z.oidc&&(Rt+="&nonce="+encodeURIComponent(ce)),De&&(Rt+="&prompt=none");for(const Ye of Object.keys(je))Rt+="&"+encodeURIComponent(Ye)+"="+encodeURIComponent(je[Ye]);if(ke.customQueryParams)for(const Ye of Object.getOwnPropertyNames(ke.customQueryParams))Rt+="&"+Ye+"="+encodeURIComponent(ke.customQueryParams[Ye]);return Rt})()}initImplicitFlowInternal(ve="",we=""){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 at={},De=null;"string"==typeof we?De=we:"object"==typeof we&&(at=we),this.createLoginUrl(ve,De,null,!1,at).then(this.config.openUri).catch(je=>{console.error("Error in initImplicitFlow",je),this.inImplicitFlow=!1})}initImplicitFlow(ve="",we=""){""!==this.loginUrl?this.initImplicitFlowInternal(ve,we):this.events.pipe((0,r.h)(at=>"discovery_document_loaded"===at.type)).subscribe(at=>this.initImplicitFlowInternal(ve,we))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(ve){const we=this;if(ve.onTokenReceived){const at={idClaims:we.getIdentityClaims(),idToken:we.getIdToken(),accessToken:we.getAccessToken(),state:we.state};ve.onTokenReceived(at)}}storeAccessTokenResponse(ve,we,at,De,je){if(this._storage.setItem("access_token",ve),De&&!Array.isArray(De)?this._storage.setItem("granted_scopes",JSON.stringify(De.split(" "))):De&&Array.isArray(De)&&this._storage.setItem("granted_scopes",JSON.stringify(De)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),at){const ke=1e3*at,re=this.dateTimeService.new().getTime()+ke;this._storage.setItem("expires_at",""+re)}we&&this._storage.setItem("refresh_token",we),je&&je.forEach((ke,Z)=>{this._storage.setItem(Z,ke)})}tryLogin(ve=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(ve).then(we=>!0):this.tryLoginImplicitFlow(ve)}parseQueryString(ve){return ve&&0!==ve.length?("?"===ve.charAt(0)&&(ve=ve.substr(1)),this.urlHelper.parseQueryString(ve)):{}}tryLoginCodeFlow(ve=null){var we=this;return(0,n.Z)(function*(){const at=(ve=ve||{}).customHashFragment?ve.customHashFragment.substring(1):window.location.search,De=we.getCodePartsFromUrl(at),je=De.code,ke=De.state,Z=De.session_state;if(!ve.preventClearHashAfterLogin){const Ee=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,Ee)}let[re,ce]=we.parseState(ke);if(we.state=ce,De.error){we.debug("error trying to login"),we.handleLoginError(ve,De);const Ee=new $("code_error",{},De);return we.eventsSubject.next(Ee),Promise.reject(Ee)}if(!ve.disableNonceCheck){if(!re)return we.saveRequestedRoute(),Promise.resolve();if(!ve.disableOAuth2StateCheck&&!we.validateNonce(re)){const it=new $("invalid_nonce_in_state",null);return we.eventsSubject.next(it),Promise.reject(it)}}return we.storeSessionState(Z),je&&(yield we.getTokenFromCode(je,ve),we.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const ve=this._storage.getItem("requested_route");ve&&history.replaceState(null,"",window.location.origin+ve)}getCodePartsFromUrl(ve){return ve&&0!==ve.length?("?"===ve.charAt(0)&&(ve=ve.substr(1)),this.urlHelper.parseQueryString(ve)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(ve,we){let at=new b.HttpParams({encoder:new Me}).set("grant_type","authorization_code").set("code",ve).set("redirect_uri",we.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let De;De=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),De?at=at.set("code_verifier",De):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(at,we)}fetchAndProcessToken(ve,we){we=we||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let at=(new b.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const De=btoa(`${this.clientId}:${this.dummyClientSecret}`);at=at.set("Authorization","Basic "+De)}return this.useHttpBasicAuth||(ve=ve.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ve=ve.set("client_secret",this.dummyClientSecret)),new Promise((De,je)=>{if(this.customQueryParams)for(let ke of Object.getOwnPropertyNames(this.customQueryParams))ve=ve.set(ke,this.customQueryParams[ke]);this.http.post(this.tokenEndpoint,ve,{headers:at}).subscribe(ke=>{this.debug("refresh tokenResponse",ke),this.storeAccessTokenResponse(ke.access_token,ke.refresh_token,ke.expires_in||this.fallbackAccessTokenExpirationTimeInSec,ke.scope,this.extractRecognizedCustomParameters(ke)),this.oidc&&ke.id_token?this.processIdToken(ke.id_token,ke.access_token,we.disableNonceCheck).then(Z=>{this.storeIdToken(Z),this.eventsSubject.next(new ne("token_received")),this.eventsSubject.next(new ne("token_refreshed")),De(ke)}).catch(Z=>{this.eventsSubject.next(new $("token_validation_error",Z)),console.error("Error validating tokens"),console.error(Z),je(Z)}):(this.eventsSubject.next(new ne("token_received")),this.eventsSubject.next(new ne("token_refreshed")),De(ke))},ke=>{console.error("Error getting token",ke),this.eventsSubject.next(new $("token_refresh_error",ke)),je(ke)})})}tryLoginImplicitFlow(ve=null){let we;we=(ve=ve||{}).customHashFragment?this.urlHelper.getHashFragmentParams(ve.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",we);const at=we.state;let[De,je]=this.parseState(at);if(this.state=je,we.error){this.debug("error trying to login"),this.handleLoginError(ve,we);const Ee=new $("token_error",{},we);return this.eventsSubject.next(Ee),Promise.reject(Ee)}const ke=we.access_token,Z=we.id_token,re=we.session_state,ce=we.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!ke||this.requestAccessToken&&!ve.disableOAuth2StateCheck&&!at||this.oidc&&!Z)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!re&&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&&!ve.disableNonceCheck&&!this.validateNonce(De)){const it=new $("invalid_nonce_in_state",null);return this.eventsSubject.next(it),Promise.reject(it)}return this.requestAccessToken&&this.storeAccessTokenResponse(ke,null,we.expires_in||this.fallbackAccessTokenExpirationTimeInSec,ce),this.oidc?this.processIdToken(Z,ke,ve.disableNonceCheck).then(Ee=>ve.validationHandler?ve.validationHandler({accessToken:ke,idClaims:Ee.idTokenClaims,idToken:Ee.idToken,state:at}).then(it=>Ee):Ee).then(Ee=>(this.storeIdToken(Ee),this.storeSessionState(re),this.clearHashAfterLogin&&!ve.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new ne("token_received")),this.callOnTokenReceivedIfExists(ve),this.inImplicitFlow=!1,!0)).catch(Ee=>(this.eventsSubject.next(new $("token_validation_error",Ee)),this.logger.error("Error validating tokens"),this.logger.error(Ee),Promise.reject(Ee))):(this.eventsSubject.next(new ne("token_received")),this.clearHashAfterLogin&&!ve.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(ve),Promise.resolve(!0))}parseState(ve){let we=ve,at="";if(ve){const De=ve.indexOf(this.config.nonceStateSeparator);De>-1&&(we=ve.substr(0,De),at=ve.substr(De+this.config.nonceStateSeparator.length))}return[we,at]}validateNonce(ve){let we;return we=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),we===ve||(console.error("Validating access_token failed, wrong state/nonce.",we,ve),!1)}storeIdToken(ve){this._storage.setItem("id_token",ve.idToken),this._storage.setItem("id_token_claims_obj",ve.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+ve.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(ve){this._storage.setItem("session_state",ve)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(ve,we){ve.onLoginError&&ve.onLoginError(we),this.clearHashAfterLogin&&!ve.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(ve=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:ve}processIdToken(ve,we,at=!1){const De=ve.split("."),ke=q(this.padBase64(De[0])),Z=JSON.parse(ke),ce=q(this.padBase64(De[1])),Ee=JSON.parse(ce);let it;if(it=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(Ee.aud)){if(Ee.aud.every(At=>At!==this.clientId)){const At="Wrong audience: "+Ee.aud.join(",");return this.logger.warn(At),Promise.reject(At)}}else if(Ee.aud!==this.clientId){const At="Wrong audience: "+Ee.aud;return this.logger.warn(At),Promise.reject(At)}if(!Ee.sub){const At="No sub claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==Ee.sub){const At=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${Ee.sub}`;return this.logger.warn(At),Promise.reject(At)}if(!Ee.iat){const At="No iat claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(!this.skipIssuerCheck&&Ee.iss!==this.issuer){const At="Wrong issuer: "+Ee.iss;return this.logger.warn(At),Promise.reject(At)}if(!at&&Ee.nonce!==it){const At="Wrong nonce: "+Ee.nonce;return this.logger.warn(At),Promise.reject(At)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!Ee.at_hash){const At="An at_hash is needed!";return this.logger.warn(At),Promise.reject(At)}const Rt=this.dateTimeService.now(),Ye=1e3*Ee.iat,qe=1e3*Ee.exp,Ne=this.getClockSkewInMsec();if(Ye-Ne>=Rt||qe+Ne-this.decreaseExpirationBySec<=Rt){const At="Token has expired";return console.error(At),console.error({now:Rt,issuedAtMSec:Ye,expiresAtMSec:qe}),Promise.reject(At)}const dt={accessToken:we,idToken:ve,jwks:this.jwks,idTokenClaims:Ee,idTokenHeader:Z,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(dt).then(At=>({idToken:ve,idTokenClaims:Ee,idTokenClaimsJson:ce,idTokenHeader:Z,idTokenHeaderJson:ke,idTokenExpiresAt:qe})):this.checkAtHash(dt).then(At=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!At){const tn="Wrong at_hash";return this.logger.warn(tn),Promise.reject(tn)}return this.checkSignature(dt).then(tn=>{const Tn={idToken:ve,idTokenClaims:Ee,idTokenClaimsJson:ce,idTokenHeader:Z,idTokenHeaderJson:ke,idTokenExpiresAt:qe};return this.disableAtHashCheck?Tn:this.checkAtHash(dt).then(Sn=>{if(this.requestAccessToken&&!Sn){const Mn="Wrong at_hash";return this.logger.warn(Mn),Promise.reject(Mn)}return Tn})})})}getIdentityClaims(){const ve=this._storage.getItem("id_token_claims_obj");return ve?JSON.parse(ve):null}getGrantedScopes(){const ve=this._storage.getItem("granted_scopes");return ve?JSON.parse(ve):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(ve){for(;ve.length%4!=0;)ve+="=";return ve}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 ve=this._storage.getItem("expires_at"),we=this.dateTimeService.new();return!(ve&&parseInt(ve,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(ve)?JSON.parse(this._storage.getItem(ve)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(ve={},we=""){let at=!1;"boolean"==typeof ve&&(at=ve,ve={});const De=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(ke=>this._storage.removeItem(ke)),this.silentRefreshSubject=null,this.eventsSubject.next(new me("logout")),!this.logoutUrl||at)return;let je;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)je=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(De)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let ke=new b.HttpParams({encoder:new Me});De&&(ke=ke.set("id_token_hint",De));const Z=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";Z&&(ke=ke.set("post_logout_redirect_uri",Z),we&&(ke=ke.set("state",we)));for(let re in ve)ke=ke.set(re,ve[re]);je=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+ke.toString()}this.config.openUri(je)}createAndSaveNonce(){const ve=this;return this.createNonce().then(function(we){return ve.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",we):ve._storage.setItem("nonce",we),we})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const ve=this.document.getElementById(this.silentRefreshIFrameName);ve&&ve.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const we=this.document.getElementById(this.sessionCheckIFrameName);we&&we.remove()}createNonce(){return new Promise(ve=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let at=45,De="";const je=typeof self>"u"?null:self.crypto||self.msCrypto;if(je){let ke=new Uint8Array(at);je.getRandomValues(ke),ke.map||(ke.map=Array.prototype.map),ke=ke.map(Z=>we.charCodeAt(Z%66)),De=String.fromCharCode.apply(null,ke)}else for(;0"discovery_document_loaded"===at.type)).subscribe(at=>this.initCodeFlowInternal(ve,we))}initCodeFlowInternal(ve="",we={}){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 at={},De=null;"string"==typeof we?De=we:"object"==typeof we&&(at=we),this.createLoginUrl(ve,De,null,!1,at).then(this.config.openUri).catch(je=>{console.error("Error in initAuthorizationCodeFlow"),console.error(je)})}createChallangeVerifierPairForPKCE(){var ve=this;return(0,n.Z)(function*(){if(!ve.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const we=yield ve.createNonce();return[Q(yield ve.crypto.calcHash(we,"sha-256")),we]})()}extractRecognizedCustomParameters(ve){let we=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(at=>{ve[at]&&we.set(at,JSON.stringify(ve[at]))}),we}revokeTokenAndLogout(ve={},we=!1){let at=this.revocationEndpoint,De=this.getAccessToken(),je=this.getRefreshToken();if(!De)return Promise.resolve();let ke=new b.HttpParams({encoder:new Me}),Z=(new b.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const re=btoa(`${this.clientId}:${this.dummyClientSecret}`);Z=Z.set("Authorization","Basic "+re)}if(this.useHttpBasicAuth||(ke=ke.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ke=ke.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const re of Object.getOwnPropertyNames(this.customQueryParams))ke=ke.set(re,this.customQueryParams[re]);return new Promise((re,ce)=>{let Ee,it;if(De){let Rt=ke.set("token",De).set("token_type_hint","access_token");Ee=this.http.post(at,Rt,{headers:Z})}else Ee=(0,v.of)(null);if(je){let Rt=ke.set("token",je).set("token_type_hint","refresh_token");it=this.http.post(at,Rt,{headers:Z})}else it=(0,v.of)(null);we&&(Ee=Ee.pipe((0,w.K)(Rt=>0===Rt.status?(0,v.of)(null):(0,s._)(Rt))),it=it.pipe((0,w.K)(Rt=>0===Rt.status?(0,v.of)(null):(0,s._)(Rt)))),(0,l.a)([Ee,it]).subscribe(Rt=>{this.logOut(ve),re(Rt),this.logger.info("Token successfully revoked")},Rt=>{this.logger.error("Error revoking token",Rt),this.eventsSubject.next(new $("token_revoke_error",Rt)),ce(Rt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Ue.\u0275fac=function(ve){return new(ve||Ue)(p.\u0275\u0275inject(p.NgZone),p.\u0275\u0275inject(b.HttpClient),p.\u0275\u0275inject(k,8),p.\u0275\u0275inject(Oe,8),p.\u0275\u0275inject(ue,8),p.\u0275\u0275inject(Be),p.\u0275\u0275inject(S),p.\u0275\u0275inject(Ce,8),p.\u0275\u0275inject(C.DOCUMENT),p.\u0275\u0275inject(R))},Ue.\u0275prov=p.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})();class Te{}class ct{handleError(We){return(0,s._)(We)}}let Lt=(()=>{class Ue{constructor(ve,we,at){this.oAuthService=ve,this.errorHandler=we,this.moduleConfig=at}checkUrl(ve){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(ve):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(we=>ve.toLowerCase().startsWith(we.toLowerCase()))}intercept(ve,we){const at=ve.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(at)?this.moduleConfig.resourceServer.sendAccessToken?(0,d.T)((0,v.of)(this.oAuthService.getAccessToken()).pipe((0,r.h)(je=>!!je)),this.oAuthService.events.pipe((0,r.h)(je=>"token_received"===je.type),(0,L.V)(this.oAuthService.waitForTokenInMsec||0),(0,w.K)(je=>(0,v.of)(null)),(0,M.U)(je=>this.oAuthService.getAccessToken()))).pipe((0,A.q)(1),(0,T.z)(je=>{if(je){const Z=ve.headers.set("Authorization","Bearer "+je);ve=ve.clone({headers:Z})}return we.handle(ve).pipe((0,w.K)(ke=>this.errorHandler.handleError(ke)))})):we.handle(ve).pipe((0,w.K)(je=>this.errorHandler.handleError(je))):we.handle(ve)}}return Ue.\u0275fac=function(ve){return new(ve||Ue)(p.\u0275\u0275inject(pe),p.\u0275\u0275inject(Te),p.\u0275\u0275inject(E,8))},Ue.\u0275prov=p.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})();function Dt(){return console}function Kt(){return typeof sessionStorage<"u"?sessionStorage:new F}function ze(Ue=null,We=O){return(0,p.makeEnvironmentProviders)([pe,Be,{provide:S,useFactory:Dt},{provide:k,useFactory:Kt},{provide:Oe,useClass:We},{provide:Ce,useClass:ie},{provide:Te,useClass:ct},{provide:E,useValue:Ue},{provide:b.HTTP_INTERCEPTORS,useClass:Lt,multi:!0},{provide:R,useClass:j}])}let yt=(()=>{class Ue{static forRoot(ve=null,we=O){return{ngModule:Ue,providers:[ze(ve,we)]}}}return Ue.\u0275fac=function(ve){return new(ve||Ue)},Ue.\u0275mod=p.\u0275\u0275defineNgModule({type:Ue}),Ue.\u0275inj=p.\u0275\u0275defineInjector({imports:[C.CommonModule]}),Ue})();class $t 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 Yt=new p.InjectionToken("AUTH_CONFIG")},9949:(Se,X,g)=>{"use strict";g.r(X),g.d(X,{HIGHLIGHT_OPTIONS:()=>_,Highlight:()=>O,HighlightJS:()=>T,HighlightLoader:()=>L,HighlightModule:()=>E});var n=g(5879),p=g(6814),C=g(5619),b=g(2181),o=g(8180),v=g(4664),a=g(9397),c=g(6232),s=g(6306),l=g(8504),d=g(9278),r=g(7398),u=g(2459),h=g(927),m=g(6593);const _=new n.InjectionToken("HIGHLIGHT_OPTIONS");let M;let L=(()=>{class D{constructor(j,N,S){this.doc=j,this.platformId=N,this._options=S,this._ready=new C.X(null),this.ready=this._ready.asObservable().pipe((0,b.h)(k=>!!k),(0,o.q)(1)),(0,p.isPlatformBrowser)(N)&&(j.defaultView.hljs?this._ready.next(j.defaultView.hljs):(this._loadLibrary().pipe((0,v.w)(k=>this._options&&this._options.lineNumbersLoader?(j.defaultView.hljs=k,this.loadLineNumbers().pipe((0,a.b)(F=>{F.activateLineNumbers(),this._ready.next(k)}))):(this._ready.next(k),c.E)),(0,s.K)(k=>(console.error("[HLJS] ",k),c.E))).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,v.w)(j=>this._loadLanguages(j)))}return(0,l._)(()=>"Highlight.js library was not imported!")}_loadLanguages(j){const N=Object.entries(this._options.languages).map(([S,k])=>A(k()).pipe((0,a.b)(F=>j.registerLanguage(S,F))));return(0,d.$)(...N).pipe((0,r.U)(()=>j))}loadCoreLibrary(){return A(this._options.coreLibraryLoader())}loadFullLibrary(){return A(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,u.D)(this._options.lineNumbersLoader())}setTheme(j){(0,p.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=j:this.loadTheme(j))}loadTheme(j){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=j,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return D.\u0275fac=function(j){return new(j||D)(n.\u0275\u0275inject(p.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(_,8))},D.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const A=D=>(0,u.D)(D).pipe((0,b.h)(R=>!!R?.default),(0,r.U)(R=>R.default));let T=(()=>{class D{get hljs(){return this._hljs}constructor(j,N){this._loader=j,this._hljs=null,j.ready.subscribe(S=>{this._hljs=S,N&&N.config&&(S.configure(N.config),S.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(j,{language:N,ignoreIllegals:S}){return this._loader.ready.pipe((0,r.U)(k=>k.highlight(j,{language:N,ignoreIllegals:S})))}highlightAuto(j,N){return this._loader.ready.pipe((0,r.U)(S=>S.highlightAuto(j,N)))}highlightElement(j){return this._loader.ready.pipe((0,r.U)(N=>N.highlightElement(j)))}highlightAll(){return this._loader.ready.pipe((0,r.U)(j=>j.highlightAll()))}configure(j){return this._loader.ready.pipe((0,r.U)(N=>N.configure(j)))}registerLanguage(j,N){return this._loader.ready.pipe((0,a.b)(S=>S.registerLanguage(j,N)))}unregisterLanguage(j){return this._loader.ready.pipe((0,a.b)(N=>N.unregisterLanguage(j)))}registerAliases(j,{languageName:N}){return this._loader.ready.pipe((0,a.b)(S=>S.registerAliases(j,{languageName:N})))}listLanguages(){return this._loader.ready.pipe((0,r.U)(j=>j.listLanguages()))}getLanguage(j){return this._loader.ready.pipe((0,r.U)(N=>N.getLanguage(j)))}safeMode(){return this._loader.ready.pipe((0,r.U)(j=>j.safeMode()))}debugMode(){return this._loader.ready.pipe((0,r.U)(j=>j.debugMode()))}lineNumbersBlock(j){return this._loader.ready.pipe((0,b.h)(N=>!!N.lineNumbersBlock),(0,a.b)(N=>N.lineNumbersBlock(j)))}}return D.\u0275fac=function(j){return new(j||D)(n.\u0275\u0275inject(L),n.\u0275\u0275inject(_,8))},D.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),O=(()=>{class D{constructor(j,N,S,k,F){this._hljs=N,this._sanitizer=S,this.platformId=k,this._options=F,this.highlighted=new n.EventEmitter,this._nativeElement=j.nativeElement}ngOnChanges(j){(0,p.isPlatformBrowser)(this.platformId)&&null!==j?.code?.currentValue&&j.code.currentValue!==j.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(j,N){this.setTextContent(j),this._hljs.highlightAuto(j,N).subscribe(S=>{this.setInnerHTML(S?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(S)})}addLineNumbers(){this.destroyLineNumbersObserver(),h.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(j){h.Z.schedule(()=>this._nativeElement.textContent=j)}setInnerHTML(j){h.Z.schedule(()=>this._nativeElement.innerHTML=function w(D){return function x(){if(!M)try{M=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:D=>D})}catch{}return M}()?.createHTML(D)||D}(this._sanitizer.sanitize(n.SecurityContext.HTML,j)||""))}}return D.\u0275fac=function(j){return new(j||D)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(T),n.\u0275\u0275directiveInject(m.DomSanitizer),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(_,8))},D.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(j,N){2&j&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),D})(),E=(()=>{class D{}return D.\u0275fac=function(j){return new(j||D)},D.\u0275mod=n.\u0275\u0275defineNgModule({type:D}),D.\u0275inj=n.\u0275\u0275defineInjector({}),D})()},827:(Se,X,g)=>{"use strict";function o(P){let Re=P.length;for(;--Re>=0;)P[Re]=0}g.r(X),g.d(X,{Deflate:()=>uo,Inflate:()=>ws,constants:()=>Fa,default:()=>Ml,deflate:()=>ho,deflateRaw:()=>Er,gzip:()=>xl,inflate:()=>Es,inflateRaw:()=>Ds,ungzip:()=>Zs});const E=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]),D=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]),R=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),j=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),S=new Array(576);o(S);const k=new Array(60);o(k);const F=new Array(512);o(F);const Y=new Array(256);o(Y);const se=new Array(29);o(se);const ne=new Array(30);function me(P,Re,H,Ze,gt){this.static_tree=P,this.extra_bits=Re,this.extra_base=H,this.elems=Ze,this.max_length=gt,this.has_stree=P&&P.length}let $,q,Q;function ue(P,Re){this.dyn_tree=P,this.max_code=0,this.stat_desc=Re}o(ne);const Me=P=>P<256?F[P]:F[256+(P>>>7)],Oe=(P,Re)=>{P.pending_buf[P.pending++]=255&Re,P.pending_buf[P.pending++]=Re>>>8&255},Xe=(P,Re,H)=>{P.bi_valid>16-H?(P.bi_buf|=Re<>16-P.bi_valid,P.bi_valid+=H-16):(P.bi_buf|=Re<{Xe(P,H[2*Re],H[2*Re+1])},$e=(P,Re)=>{let H=0;do{H|=1&P,P>>>=1,H<<=1}while(--Re>0);return H>>>1},tt=(P,Re,H)=>{const Ze=new Array(16);let ut,Xt,gt=0;for(ut=1;ut<=15;ut++)gt=gt+H[ut-1]<<1,Ze[ut]=gt;for(Xt=0;Xt<=Re;Xt++){let Vt=P[2*Xt+1];0!==Vt&&(P[2*Xt]=$e(Ze[Vt]++,Vt))}},bt=P=>{let Re;for(Re=0;Re<286;Re++)P.dyn_ltree[2*Re]=0;for(Re=0;Re<30;Re++)P.dyn_dtree[2*Re]=0;for(Re=0;Re<19;Re++)P.bl_tree[2*Re]=0;P.dyn_ltree[512]=1,P.opt_len=P.static_len=0,P.sym_next=P.matches=0},xt=P=>{P.bi_valid>8?Oe(P,P.bi_buf):P.bi_valid>0&&(P.pending_buf[P.pending++]=P.bi_buf),P.bi_buf=0,P.bi_valid=0},nt=(P,Re,H,Ze)=>{const gt=2*Re,ut=2*H;return P[gt]{const Ze=P.heap[H];let gt=H<<1;for(;gt<=P.heap_len&&(gt{let Ze,gt,Xt,Vt,ut=0;if(0!==P.sym_next)do{Ze=255&P.pending_buf[P.sym_buf+ut++],Ze+=(255&P.pending_buf[P.sym_buf+ut++])<<8,gt=P.pending_buf[P.sym_buf+ut++],0===Ze?Be(P,gt,Re):(Xt=Y[gt],Be(P,Xt+256+1,Re),Vt=E[Xt],0!==Vt&&(gt-=se[Xt],Xe(P,gt,Vt)),Ze--,Xt=Me(Ze),Be(P,Xt,H),Vt=D[Xt],0!==Vt&&(Ze-=ne[Xt],Xe(P,Ze,Vt)))}while(ut{const H=Re.dyn_tree,Ze=Re.stat_desc.static_tree,gt=Re.stat_desc.has_stree,ut=Re.stat_desc.elems;let Xt,Vt,Ot,Hn=-1;for(P.heap_len=0,P.heap_max=573,Xt=0;Xt>1;Xt>=1;Xt--)ot(P,H,Xt);Ot=ut;do{Xt=P.heap[1],P.heap[1]=P.heap[P.heap_len--],ot(P,H,1),Vt=P.heap[1],P.heap[--P.heap_max]=Xt,P.heap[--P.heap_max]=Vt,H[2*Ot]=H[2*Xt]+H[2*Vt],P.depth[Ot]=(P.depth[Xt]>=P.depth[Vt]?P.depth[Xt]:P.depth[Vt])+1,H[2*Xt+1]=H[2*Vt+1]=Ot,P.heap[1]=Ot++,ot(P,H,1)}while(P.heap_len>=2);P.heap[--P.heap_max]=P.heap[1],((P,Re)=>{const H=Re.dyn_tree,Ze=Re.max_code,gt=Re.stat_desc.static_tree,ut=Re.stat_desc.has_stree,Xt=Re.stat_desc.extra_bits,Vt=Re.stat_desc.extra_base,Hn=Re.stat_desc.max_length;let Ot,Jt,Ui,Fn,bn,qn,nr=0;for(Fn=0;Fn<=15;Fn++)P.bl_count[Fn]=0;for(H[2*P.heap[P.heap_max]+1]=0,Ot=P.heap_max+1;Ot<573;Ot++)Jt=P.heap[Ot],Fn=H[2*H[2*Jt+1]+1]+1,Fn>Hn&&(Fn=Hn,nr++),H[2*Jt+1]=Fn,!(Jt>Ze)&&(P.bl_count[Fn]++,bn=0,Jt>=Vt&&(bn=Xt[Jt-Vt]),qn=H[2*Jt],P.opt_len+=qn*(Fn+bn),ut&&(P.static_len+=qn*(gt[2*Jt+1]+bn)));if(0!==nr){do{for(Fn=Hn-1;0===P.bl_count[Fn];)Fn--;P.bl_count[Fn]--,P.bl_count[Fn+1]+=2,P.bl_count[Hn]--,nr-=2}while(nr>0);for(Fn=Hn;0!==Fn;Fn--)for(Jt=P.bl_count[Fn];0!==Jt;)Ui=P.heap[--Ot],!(Ui>Ze)&&(H[2*Ui+1]!==Fn&&(P.opt_len+=(Fn-H[2*Ui+1])*H[2*Ui],H[2*Ui+1]=Fn),Jt--)}})(P,Re),tt(H,Hn,P.bl_count)},J=(P,Re,H)=>{let Ze,ut,gt=-1,Xt=Re[1],Vt=0,Hn=7,Ot=4;for(0===Xt&&(Hn=138,Ot=3),Re[2*(H+1)+1]=65535,Ze=0;Ze<=H;Ze++)ut=Xt,Xt=Re[2*(Ze+1)+1],!(++Vt{let Ze,ut,gt=-1,Xt=Re[1],Vt=0,Hn=7,Ot=4;for(0===Xt&&(Hn=138,Ot=3),Ze=0;Ze<=H;Ze++)if(ut=Xt,Xt=Re[2*(Ze+1)+1],!(++Vt{Xe(P,0+(Ze?1:0),3),xt(P),Oe(P,H),Oe(P,~H),H&&P.pending_buf.set(P.window.subarray(Re,Re+H),P.pending),P.pending+=H};var Ue={_tr_init:P=>{pe||((()=>{let P,Re,H,Ze,gt;const ut=new Array(16);for(H=0,Ze=0;Ze<28;Ze++)for(se[Ze]=H,P=0;P<1<>=7;Ze<30;Ze++)for(ne[Ze]=gt<<7,P=0;P<1<{let gt,ut,Xt=0;P.level>0?(2===P.strm.data_type&&(P.strm.data_type=(P=>{let H,Re=4093624447;for(H=0;H<=31;H++,Re>>>=1)if(1&Re&&0!==P.dyn_ltree[2*H])return 0;if(0!==P.dyn_ltree[18]||0!==P.dyn_ltree[20]||0!==P.dyn_ltree[26])return 1;for(H=32;H<256;H++)if(0!==P.dyn_ltree[2*H])return 1;return 0})(P)),rt(P,P.l_desc),rt(P,P.d_desc),Xt=(P=>{let Re;for(J(P,P.dyn_ltree,P.l_desc.max_code),J(P,P.dyn_dtree,P.d_desc.max_code),rt(P,P.bl_desc),Re=18;Re>=3&&0===P.bl_tree[2*j[Re]+1];Re--);return P.opt_len+=3*(Re+1)+5+5+4,Re})(P),gt=P.opt_len+3+7>>>3,ut=P.static_len+3+7>>>3,ut<=gt&&(gt=ut)):gt=ut=H+5,H+4<=gt&&-1!==Re?ct(P,Re,H,Ze):4===P.strategy||ut===gt?(Xe(P,2+(Ze?1:0),3),vt(P,S,k)):(Xe(P,4+(Ze?1:0),3),((P,Re,H,Ze)=>{let gt;for(Xe(P,Re-257,5),Xe(P,H-1,5),Xe(P,Ze-4,4),gt=0;gt(P.pending_buf[P.sym_buf+P.sym_next++]=Re,P.pending_buf[P.sym_buf+P.sym_next++]=Re>>8,P.pending_buf[P.sym_buf+P.sym_next++]=H,0===Re?P.dyn_ltree[2*H]++:(P.matches++,Re--,P.dyn_ltree[2*(Y[H]+256+1)]++,P.dyn_dtree[2*Me(Re)]++),P.sym_next===P.sym_end),_tr_align:P=>{Xe(P,2,3),Be(P,256,S),(P=>{16===P.bi_valid?(Oe(P,P.bi_buf),P.bi_buf=0,P.bi_valid=0):P.bi_valid>=8&&(P.pending_buf[P.pending++]=255&P.bi_buf,P.bi_buf>>=8,P.bi_valid-=8)})(P)}},ve=(P,Re,H,Ze)=>{let gt=65535&P|0,ut=P>>>16&65535|0,Xt=0;for(;0!==H;){Xt=H>2e3?2e3:H,H-=Xt;do{gt=gt+Re[Ze++]|0,ut=ut+gt|0}while(--Xt);gt%=65521,ut%=65521}return gt|ut<<16|0};const at=new Uint32Array((()=>{let P,Re=[];for(var H=0;H<256;H++){P=H;for(var Ze=0;Ze<8;Ze++)P=1&P?3988292384^P>>>1:P>>>1;Re[H]=P}return Re})());var je=(P,Re,H,Ze)=>{const gt=at,ut=Ze+H;P^=-1;for(let Xt=Ze;Xt>>8^gt[255&(P^Re[Xt])];return-1^P},ke={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"},Z={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:re,_tr_stored_block:ce,_tr_flush_block:Ee,_tr_tally:it,_tr_align:Rt}=Ue,{Z_NO_FLUSH:Ye,Z_PARTIAL_FLUSH:qe,Z_FULL_FLUSH:Ne,Z_FINISH:dt,Z_BLOCK:At,Z_OK:tn,Z_STREAM_END:wn,Z_STREAM_ERROR:Tn,Z_DATA_ERROR:Sn,Z_BUF_ERROR:Mn,Z_DEFAULT_COMPRESSION:Ci,Z_FILTERED:di,Z_HUFFMAN_ONLY:Li,Z_RLE:Qi,Z_FIXED:wt,Z_DEFAULT_STRATEGY:mt,Z_UNKNOWN:pt,Z_DEFLATED:qt}=Z,An=262,It=(P,Re)=>(P.msg=ke[Re],Re),zt=P=>2*P-(P>4?9:0),an=P=>{let Re=P.length;for(;--Re>=0;)P[Re]=0},gn=P=>{let Re,H,Ze,gt=P.w_size;Re=P.hash_size,Ze=Re;do{H=P.head[--Ze],P.head[Ze]=H>=gt?H-gt:0}while(--Re);Re=gt,Ze=Re;do{H=P.prev[--Ze],P.prev[Ze]=H>=gt?H-gt:0}while(--Re)};let Jn=(P,Re,H)=>(Re<{const Re=P.state;let H=Re.pending;H>P.avail_out&&(H=P.avail_out),0!==H&&(P.output.set(Re.pending_buf.subarray(Re.pending_out,Re.pending_out+H),P.next_out),P.next_out+=H,Re.pending_out+=H,P.total_out+=H,P.avail_out-=H,Re.pending-=H,0===Re.pending&&(Re.pending_out=0))},kn=(P,Re)=>{Ee(P,P.block_start>=0?P.block_start:-1,P.strstart-P.block_start,Re),P.block_start=P.strstart,Nn(P.strm)},Un=(P,Re)=>{P.pending_buf[P.pending++]=Re},vi=(P,Re)=>{P.pending_buf[P.pending++]=Re>>>8&255,P.pending_buf[P.pending++]=255&Re},$i=(P,Re,H,Ze)=>{let gt=P.avail_in;return gt>Ze&&(gt=Ze),0===gt?0:(P.avail_in-=gt,Re.set(P.input.subarray(P.next_in,P.next_in+gt),H),1===P.state.wrap?P.adler=ve(P.adler,Re,gt,H):2===P.state.wrap&&(P.adler=je(P.adler,Re,gt,H)),P.next_in+=gt,P.total_in+=gt,gt)},er=(P,Re)=>{let gt,ut,H=P.max_chain_length,Ze=P.strstart,Xt=P.prev_length,Vt=P.nice_match;const Hn=P.strstart>P.w_size-An?P.strstart-(P.w_size-An):0,Ot=P.window,Jt=P.w_mask,Ui=P.prev,Fn=P.strstart+258;let bn=Ot[Ze+Xt-1],qn=Ot[Ze+Xt];P.prev_length>=P.good_match&&(H>>=2),Vt>P.lookahead&&(Vt=P.lookahead);do{if(gt=Re,Ot[gt+Xt]===qn&&Ot[gt+Xt-1]===bn&&Ot[gt]===Ot[Ze]&&Ot[++gt]===Ot[Ze+1]){Ze+=2,gt++;do{}while(Ot[++Ze]===Ot[++gt]&&Ot[++Ze]===Ot[++gt]&&Ot[++Ze]===Ot[++gt]&&Ot[++Ze]===Ot[++gt]&&Ot[++Ze]===Ot[++gt]&&Ot[++Ze]===Ot[++gt]&&Ot[++Ze]===Ot[++gt]&&Ot[++Ze]===Ot[++gt]&&ZeXt){if(P.match_start=Re,Xt=ut,ut>=Vt)break;bn=Ot[Ze+Xt-1],qn=Ot[Ze+Xt]}}}while((Re=Ui[Re&Jt])>Hn&&0!=--H);return Xt<=P.lookahead?Xt:P.lookahead},fn=P=>{const Re=P.w_size;let H,Ze,gt;do{if(Ze=P.window_size-P.lookahead-P.strstart,P.strstart>=Re+(Re-An)&&(P.window.set(P.window.subarray(Re,Re+Re-Ze),0),P.match_start-=Re,P.strstart-=Re,P.block_start-=Re,P.insert>P.strstart&&(P.insert=P.strstart),gn(P),Ze+=Re),0===P.strm.avail_in)break;if(H=$i(P.strm,P.window,P.strstart+P.lookahead,Ze),P.lookahead+=H,P.lookahead+P.insert>=3)for(gt=P.strstart-P.insert,P.ins_h=P.window[gt],P.ins_h=Jn(P,P.ins_h,P.window[gt+1]);P.insert&&(P.ins_h=Jn(P,P.ins_h,P.window[gt+3-1]),P.prev[gt&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=gt,gt++,P.insert--,!(P.lookahead+P.insert<3)););}while(P.lookahead{let Ze,gt,ut,H=P.pending_buf_size-5>P.w_size?P.w_size:P.pending_buf_size-5,Xt=0,Vt=P.strm.avail_in;do{if(Ze=65535,ut=P.bi_valid+42>>3,P.strm.avail_outgt+P.strm.avail_in&&(Ze=gt+P.strm.avail_in),Ze>ut&&(Ze=ut),Ze>8,P.pending_buf[P.pending-2]=~Ze,P.pending_buf[P.pending-1]=~Ze>>8,Nn(P.strm),gt&&(gt>Ze&&(gt=Ze),P.strm.output.set(P.window.subarray(P.block_start,P.block_start+gt),P.strm.next_out),P.strm.next_out+=gt,P.strm.avail_out-=gt,P.strm.total_out+=gt,P.block_start+=gt,Ze-=gt),Ze&&($i(P.strm,P.strm.output,P.strm.next_out,Ze),P.strm.next_out+=Ze,P.strm.avail_out-=Ze,P.strm.total_out+=Ze)}while(0===Xt);return Vt-=P.strm.avail_in,Vt&&(Vt>=P.w_size?(P.matches=2,P.window.set(P.strm.input.subarray(P.strm.next_in-P.w_size,P.strm.next_in),0),P.strstart=P.w_size,P.insert=P.strstart):(P.window_size-P.strstart<=Vt&&(P.strstart-=P.w_size,P.window.set(P.window.subarray(P.w_size,P.w_size+P.strstart),0),P.matches<2&&P.matches++,P.insert>P.strstart&&(P.insert=P.strstart)),P.window.set(P.strm.input.subarray(P.strm.next_in-Vt,P.strm.next_in),P.strstart),P.strstart+=Vt,P.insert+=Vt>P.w_size-P.insert?P.w_size-P.insert:Vt),P.block_start=P.strstart),P.high_waterut&&P.block_start>=P.w_size&&(P.block_start-=P.w_size,P.strstart-=P.w_size,P.window.set(P.window.subarray(P.w_size,P.w_size+P.strstart),0),P.matches<2&&P.matches++,ut+=P.w_size,P.insert>P.strstart&&(P.insert=P.strstart)),ut>P.strm.avail_in&&(ut=P.strm.avail_in),ut&&($i(P.strm,P.window,P.strstart,ut),P.strstart+=ut,P.insert+=ut>P.w_size-P.insert?P.w_size-P.insert:ut),P.high_water>3,ut=P.pending_buf_size-ut>65535?65535:P.pending_buf_size-ut,H=ut>P.w_size?P.w_size:ut,gt=P.strstart-P.block_start,(gt>=H||(gt||Re===dt)&&Re!==Ye&&0===P.strm.avail_in&><=ut)&&(Ze=gt>ut?ut:gt,Xt=Re===dt&&0===P.strm.avail_in&&Ze===gt?1:0,ce(P,P.block_start,Ze,Xt),P.block_start+=Ze,Nn(P.strm)),Xt?3:1)},rn=(P,Re)=>{let H,Ze;for(;;){if(P.lookahead=3&&(P.ins_h=Jn(P,P.ins_h,P.window[P.strstart+3-1]),H=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart),0!==H&&P.strstart-H<=P.w_size-An&&(P.match_length=er(P,H)),P.match_length>=3)if(Ze=it(P,P.strstart-P.match_start,P.match_length-3),P.lookahead-=P.match_length,P.match_length<=P.max_lazy_match&&P.lookahead>=3){P.match_length--;do{P.strstart++,P.ins_h=Jn(P,P.ins_h,P.window[P.strstart+3-1]),H=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart}while(0!=--P.match_length);P.strstart++}else P.strstart+=P.match_length,P.match_length=0,P.ins_h=P.window[P.strstart],P.ins_h=Jn(P,P.ins_h,P.window[P.strstart+1]);else Ze=it(P,0,P.window[P.strstart]),P.lookahead--,P.strstart++;if(Ze&&(kn(P,!1),0===P.strm.avail_out))return 1}return P.insert=P.strstart<2?P.strstart:2,Re===dt?(kn(P,!0),0===P.strm.avail_out?3:4):P.sym_next&&(kn(P,!1),0===P.strm.avail_out)?1:2},xn=(P,Re)=>{let H,Ze,gt;for(;;){if(P.lookahead=3&&(P.ins_h=Jn(P,P.ins_h,P.window[P.strstart+3-1]),H=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart),P.prev_length=P.match_length,P.prev_match=P.match_start,P.match_length=2,0!==H&&P.prev_length4096)&&(P.match_length=2)),P.prev_length>=3&&P.match_length<=P.prev_length){gt=P.strstart+P.lookahead-3,Ze=it(P,P.strstart-1-P.prev_match,P.prev_length-3),P.lookahead-=P.prev_length-1,P.prev_length-=2;do{++P.strstart<=gt&&(P.ins_h=Jn(P,P.ins_h,P.window[P.strstart+3-1]),H=P.prev[P.strstart&P.w_mask]=P.head[P.ins_h],P.head[P.ins_h]=P.strstart)}while(0!=--P.prev_length);if(P.match_available=0,P.match_length=2,P.strstart++,Ze&&(kn(P,!1),0===P.strm.avail_out))return 1}else if(P.match_available){if(Ze=it(P,0,P.window[P.strstart-1]),Ze&&kn(P,!1),P.strstart++,P.lookahead--,0===P.strm.avail_out)return 1}else P.match_available=1,P.strstart++,P.lookahead--}return P.match_available&&(Ze=it(P,0,P.window[P.strstart-1]),P.match_available=0),P.insert=P.strstart<2?P.strstart:2,Re===dt?(kn(P,!0),0===P.strm.avail_out?3:4):P.sym_next&&(kn(P,!1),0===P.strm.avail_out)?1:2};function zi(P,Re,H,Ze,gt){this.good_length=P,this.max_lazy=Re,this.nice_length=H,this.max_chain=Ze,this.func=gt}const xi=[new zi(0,0,0,0,yn),new zi(4,4,8,4,rn),new zi(4,5,16,8,rn),new zi(4,6,32,32,rn),new zi(4,4,16,16,xn),new zi(8,16,32,32,xn),new zi(8,16,128,128,xn),new zi(8,32,128,256,xn),new zi(32,128,258,1024,xn),new zi(32,258,258,4096,xn)];function gi(){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=qt,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),an(this.dyn_ltree),an(this.dyn_dtree),an(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),an(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),an(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 Ke=P=>{if(!P)return 1;const Re=P.state;return!Re||Re.strm!==P||42!==Re.status&&57!==Re.status&&69!==Re.status&&73!==Re.status&&91!==Re.status&&103!==Re.status&&113!==Re.status&&666!==Re.status?1:0},kt=P=>{if(Ke(P))return It(P,Tn);P.total_in=P.total_out=0,P.data_type=pt;const Re=P.state;return Re.pending=0,Re.pending_out=0,Re.wrap<0&&(Re.wrap=-Re.wrap),Re.status=2===Re.wrap?57:Re.wrap?42:113,P.adler=2===Re.wrap?0:1,Re.last_flush=-2,re(Re),tn},U=P=>{const Re=kt(P);return Re===tn&&(P=>{P.window_size=2*P.w_size,an(P.head),P.max_lazy_match=xi[P.level].max_lazy,P.good_match=xi[P.level].good_length,P.nice_match=xi[P.level].nice_length,P.max_chain_length=xi[P.level].max_chain,P.strstart=0,P.block_start=0,P.lookahead=0,P.insert=0,P.match_length=P.prev_length=2,P.match_available=0,P.ins_h=0})(P.state),Re},Pe=(P,Re,H,Ze,gt,ut)=>{if(!P)return Tn;let Xt=1;if(Re===Ci&&(Re=6),Ze<0?(Xt=0,Ze=-Ze):Ze>15&&(Xt=2,Ze-=16),gt<1||gt>9||H!==qt||Ze<8||Ze>15||Re<0||Re>9||ut<0||ut>wt||8===Ze&&1!==Xt)return It(P,Tn);8===Ze&&(Ze=9);const Vt=new gi;return P.state=Vt,Vt.strm=P,Vt.status=42,Vt.wrap=Xt,Vt.gzhead=null,Vt.w_bits=Ze,Vt.w_size=1<Pe(P,Re,qt,15,8,mt),deflateInit2:Pe,deflateReset:U,deflateResetKeep:kt,deflateSetHeader:(P,Re)=>Ke(P)||2!==P.state.wrap?Tn:(P.state.gzhead=Re,tn),deflate:(P,Re)=>{if(Ke(P)||Re>At||Re<0)return P?It(P,Tn):Tn;const H=P.state;if(!P.output||0!==P.avail_in&&!P.input||666===H.status&&Re!==dt)return It(P,0===P.avail_out?Mn:Tn);const Ze=H.last_flush;if(H.last_flush=Re,0!==H.pending){if(Nn(P),0===P.avail_out)return H.last_flush=-1,tn}else if(0===P.avail_in&&zt(Re)<=zt(Ze)&&Re!==dt)return It(P,Mn);if(666===H.status&&0!==P.avail_in)return It(P,Mn);if(42===H.status&&0===H.wrap&&(H.status=113),42===H.status){let gt=qt+(H.w_bits-8<<4)<<8,ut=-1;if(ut=H.strategy>=Li||H.level<2?0:H.level<6?1:6===H.level?2:3,gt|=ut<<6,0!==H.strstart&&(gt|=32),gt+=31-gt%31,vi(H,gt),0!==H.strstart&&(vi(H,P.adler>>>16),vi(H,65535&P.adler)),P.adler=1,H.status=113,Nn(P),0!==H.pending)return H.last_flush=-1,tn}if(57===H.status)if(P.adler=0,Un(H,31),Un(H,139),Un(H,8),H.gzhead)Un(H,(H.gzhead.text?1:0)+(H.gzhead.hcrc?2:0)+(H.gzhead.extra?4:0)+(H.gzhead.name?8:0)+(H.gzhead.comment?16:0)),Un(H,255&H.gzhead.time),Un(H,H.gzhead.time>>8&255),Un(H,H.gzhead.time>>16&255),Un(H,H.gzhead.time>>24&255),Un(H,9===H.level?2:H.strategy>=Li||H.level<2?4:0),Un(H,255&H.gzhead.os),H.gzhead.extra&&H.gzhead.extra.length&&(Un(H,255&H.gzhead.extra.length),Un(H,H.gzhead.extra.length>>8&255)),H.gzhead.hcrc&&(P.adler=je(P.adler,H.pending_buf,H.pending,0)),H.gzindex=0,H.status=69;else if(Un(H,0),Un(H,0),Un(H,0),Un(H,0),Un(H,0),Un(H,9===H.level?2:H.strategy>=Li||H.level<2?4:0),Un(H,3),H.status=113,Nn(P),0!==H.pending)return H.last_flush=-1,tn;if(69===H.status){if(H.gzhead.extra){let gt=H.pending,ut=(65535&H.gzhead.extra.length)-H.gzindex;for(;H.pending+ut>H.pending_buf_size;){let Vt=H.pending_buf_size-H.pending;if(H.pending_buf.set(H.gzhead.extra.subarray(H.gzindex,H.gzindex+Vt),H.pending),H.pending=H.pending_buf_size,H.gzhead.hcrc&&H.pending>gt&&(P.adler=je(P.adler,H.pending_buf,H.pending-gt,gt)),H.gzindex+=Vt,Nn(P),0!==H.pending)return H.last_flush=-1,tn;gt=0,ut-=Vt}let Xt=new Uint8Array(H.gzhead.extra);H.pending_buf.set(Xt.subarray(H.gzindex,H.gzindex+ut),H.pending),H.pending+=ut,H.gzhead.hcrc&&H.pending>gt&&(P.adler=je(P.adler,H.pending_buf,H.pending-gt,gt)),H.gzindex=0}H.status=73}if(73===H.status){if(H.gzhead.name){let ut,gt=H.pending;do{if(H.pending===H.pending_buf_size){if(H.gzhead.hcrc&&H.pending>gt&&(P.adler=je(P.adler,H.pending_buf,H.pending-gt,gt)),Nn(P),0!==H.pending)return H.last_flush=-1,tn;gt=0}ut=H.gzindexgt&&(P.adler=je(P.adler,H.pending_buf,H.pending-gt,gt)),H.gzindex=0}H.status=91}if(91===H.status){if(H.gzhead.comment){let ut,gt=H.pending;do{if(H.pending===H.pending_buf_size){if(H.gzhead.hcrc&&H.pending>gt&&(P.adler=je(P.adler,H.pending_buf,H.pending-gt,gt)),Nn(P),0!==H.pending)return H.last_flush=-1,tn;gt=0}ut=H.gzindexgt&&(P.adler=je(P.adler,H.pending_buf,H.pending-gt,gt))}H.status=103}if(103===H.status){if(H.gzhead.hcrc){if(H.pending+2>H.pending_buf_size&&(Nn(P),0!==H.pending))return H.last_flush=-1,tn;Un(H,255&P.adler),Un(H,P.adler>>8&255),P.adler=0}if(H.status=113,Nn(P),0!==H.pending)return H.last_flush=-1,tn}if(0!==P.avail_in||0!==H.lookahead||Re!==Ye&&666!==H.status){let gt=0===H.level?yn(H,Re):H.strategy===Li?((P,Re)=>{let H;for(;;){if(0===P.lookahead&&(fn(P),0===P.lookahead)){if(Re===Ye)return 1;break}if(P.match_length=0,H=it(P,0,P.window[P.strstart]),P.lookahead--,P.strstart++,H&&(kn(P,!1),0===P.strm.avail_out))return 1}return P.insert=0,Re===dt?(kn(P,!0),0===P.strm.avail_out?3:4):P.sym_next&&(kn(P,!1),0===P.strm.avail_out)?1:2})(H,Re):H.strategy===Qi?((P,Re)=>{let H,Ze,gt,ut;const Xt=P.window;for(;;){if(P.lookahead<=258){if(fn(P),P.lookahead<=258&&Re===Ye)return 1;if(0===P.lookahead)break}if(P.match_length=0,P.lookahead>=3&&P.strstart>0&&(gt=P.strstart-1,Ze=Xt[gt],Ze===Xt[++gt]&&Ze===Xt[++gt]&&Ze===Xt[++gt])){ut=P.strstart+258;do{}while(Ze===Xt[++gt]&&Ze===Xt[++gt]&&Ze===Xt[++gt]&&Ze===Xt[++gt]&&Ze===Xt[++gt]&&Ze===Xt[++gt]&&Ze===Xt[++gt]&&Ze===Xt[++gt]&>P.lookahead&&(P.match_length=P.lookahead)}if(P.match_length>=3?(H=it(P,1,P.match_length-3),P.lookahead-=P.match_length,P.strstart+=P.match_length,P.match_length=0):(H=it(P,0,P.window[P.strstart]),P.lookahead--,P.strstart++),H&&(kn(P,!1),0===P.strm.avail_out))return 1}return P.insert=0,Re===dt?(kn(P,!0),0===P.strm.avail_out?3:4):P.sym_next&&(kn(P,!1),0===P.strm.avail_out)?1:2})(H,Re):xi[H.level].func(H,Re);if((3===gt||4===gt)&&(H.status=666),1===gt||3===gt)return 0===P.avail_out&&(H.last_flush=-1),tn;if(2===gt&&(Re===qe?Rt(H):Re!==At&&(ce(H,0,0,!1),Re===Ne&&(an(H.head),0===H.lookahead&&(H.strstart=0,H.block_start=0,H.insert=0))),Nn(P),0===P.avail_out))return H.last_flush=-1,tn}return Re!==dt?tn:H.wrap<=0?wn:(2===H.wrap?(Un(H,255&P.adler),Un(H,P.adler>>8&255),Un(H,P.adler>>16&255),Un(H,P.adler>>24&255),Un(H,255&P.total_in),Un(H,P.total_in>>8&255),Un(H,P.total_in>>16&255),Un(H,P.total_in>>24&255)):(vi(H,P.adler>>>16),vi(H,65535&P.adler)),Nn(P),H.wrap>0&&(H.wrap=-H.wrap),0!==H.pending?tn:wn)},deflateEnd:P=>{if(Ke(P))return Tn;const Re=P.state.status;return P.state=null,113===Re?It(P,Sn):tn},deflateSetDictionary:(P,Re)=>{let H=Re.length;if(Ke(P))return Tn;const Ze=P.state,gt=Ze.wrap;if(2===gt||1===gt&&42!==Ze.status||Ze.lookahead)return Tn;if(1===gt&&(P.adler=ve(P.adler,Re,H,0)),Ze.wrap=0,H>=Ze.w_size){0===gt&&(an(Ze.head),Ze.strstart=0,Ze.block_start=0,Ze.insert=0);let Hn=new Uint8Array(Ze.w_size);Hn.set(Re.subarray(H-Ze.w_size,H),0),Re=Hn,H=Ze.w_size}const ut=P.avail_in,Xt=P.next_in,Vt=P.input;for(P.avail_in=H,P.next_in=0,P.input=Re,fn(Ze);Ze.lookahead>=3;){let Hn=Ze.strstart,Ot=Ze.lookahead-2;do{Ze.ins_h=Jn(Ze,Ze.ins_h,Ze.window[Hn+3-1]),Ze.prev[Hn&Ze.w_mask]=Ze.head[Ze.ins_h],Ze.head[Ze.ins_h]=Hn,Hn++}while(--Ot);Ze.strstart=Hn,Ze.lookahead=2,fn(Ze)}return Ze.strstart+=Ze.lookahead,Ze.block_start=Ze.strstart,Ze.insert=Ze.lookahead,Ze.lookahead=0,Ze.match_length=Ze.prev_length=2,Ze.match_available=0,P.next_in=Xt,P.input=Vt,P.avail_in=ut,Ze.wrap=gt,tn},deflateInfo:"pako deflate (from Nodeca project)"};const Wt=(P,Re)=>Object.prototype.hasOwnProperty.call(P,Re);var _n={assign:function(P){const Re=Array.prototype.slice.call(arguments,1);for(;Re.length;){const H=Re.shift();if(H){if("object"!=typeof H)throw new TypeError(H+"must be non-object");for(const Ze in H)Wt(H,Ze)&&(P[Ze]=H[Ze])}}return P},flattenChunks:P=>{let Re=0;for(let Ze=0,gt=P.length;Ze=252?6:P>=248?5:P>=240?4:P>=224?3:P>=192?2:1;Vn[254]=Vn[254]=1;var Xn={string2buf:P=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(P);let Re,H,Ze,gt,ut,Xt=P.length,Vt=0;for(gt=0;gt>>6,Re[ut++]=128|63&H):H<65536?(Re[ut++]=224|H>>>12,Re[ut++]=128|H>>>6&63,Re[ut++]=128|63&H):(Re[ut++]=240|H>>>18,Re[ut++]=128|H>>>12&63,Re[ut++]=128|H>>>6&63,Re[ut++]=128|63&H);return Re},buf2string:(P,Re)=>{const H=Re||P.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(P.subarray(0,Re));let Ze,gt;const ut=new Array(2*H);for(gt=0,Ze=0;Ze4)ut[gt++]=65533,Ze+=Vt-1;else{for(Xt&=2===Vt?31:3===Vt?15:7;Vt>1&&Ze1?ut[gt++]=65533:Xt<65536?ut[gt++]=Xt:(Xt-=65536,ut[gt++]=55296|Xt>>10&1023,ut[gt++]=56320|1023&Xt)}}return((P,Re)=>{if(Re<65534&&P.subarray&&zn)return String.fromCharCode.apply(null,P.length===Re?P:P.subarray(0,Re));let H="";for(let Ze=0;Ze{(Re=Re||P.length)>P.length&&(Re=P.length);let H=Re-1;for(;H>=0&&128==(192&P[H]);)H--;return H<0||0===H?Re:H+Vn[P[H]]>Re?H:Re}},Fi=function ai(){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 Xi=Object.prototype.toString,{Z_NO_FLUSH:Jr,Z_SYNC_FLUSH:Ho,Z_FULL_FLUSH:us,Z_FINISH:oo,Z_OK:Ir,Z_STREAM_END:zo,Z_DEFAULT_COMPRESSION:Wo,Z_DEFAULT_STRATEGY:Go,Z_DEFLATED:go}=Z;function Vr(P){this.options=_n.assign({level:Wo,method:go,chunkSize:16384,windowBits:15,memLevel:8,strategy:Go},P||{});let Re=this.options;Re.raw&&Re.windowBits>0?Re.windowBits=-Re.windowBits:Re.gzip&&Re.windowBits>0&&Re.windowBits<16&&(Re.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Fi,this.strm.avail_out=0;let H=Ut.deflateInit2(this.strm,Re.level,Re.method,Re.windowBits,Re.memLevel,Re.strategy);if(H!==Ir)throw new Error(ke[H]);if(Re.header&&Ut.deflateSetHeader(this.strm,Re.header),Re.dictionary){let Ze;if(Ze="string"==typeof Re.dictionary?Xn.string2buf(Re.dictionary):"[object ArrayBuffer]"===Xi.call(Re.dictionary)?new Uint8Array(Re.dictionary):Re.dictionary,H=Ut.deflateSetDictionary(this.strm,Ze),H!==Ir)throw new Error(ke[H]);this._dict_set=!0}}function jr(P,Re){const H=new Vr(Re);if(H.push(P,!0),H.err)throw H.msg||ke[H.err];return H.result}Vr.prototype.push=function(P,Re){const H=this.strm,Ze=this.options.chunkSize;let gt,ut;if(this.ended)return!1;for(ut=Re===~~Re?Re:!0===Re?oo:Jr,H.input="string"==typeof P?Xn.string2buf(P):"[object ArrayBuffer]"===Xi.call(P)?new Uint8Array(P):P,H.next_in=0,H.avail_in=H.input.length;;)if(0===H.avail_out&&(H.output=new Uint8Array(Ze),H.next_out=0,H.avail_out=Ze),(ut===Ho||ut===us)&&H.avail_out<=6)this.onData(H.output.subarray(0,H.next_out)),H.avail_out=0;else{if(gt=Ut.deflate(H,ut),gt===zo)return H.next_out>0&&this.onData(H.output.subarray(0,H.next_out)),gt=Ut.deflateEnd(this.strm),this.onEnd(gt),this.ended=!0,gt===Ir;if(0!==H.avail_out){if(ut>0&&H.next_out>0)this.onData(H.output.subarray(0,H.next_out)),H.avail_out=0;else if(0===H.avail_in)break}else this.onData(H.output)}return!0},Vr.prototype.onData=function(P){this.chunks.push(P)},Vr.prototype.onEnd=function(P){P===Ir&&(this.result=_n.flattenChunks(this.chunks)),this.chunks=[],this.err=P,this.msg=this.strm.msg};var Qt={Deflate:Vr,deflate:jr,deflateRaw:function Hr(P,Re){return(Re=Re||{}).raw=!0,jr(P,Re)},gzip:function Ko(P,Re){return(Re=Re||{}).gzip=!0,jr(P,Re)},constants:Z};const En=16209;var xr=function(Re,H){let Ze,gt,ut,Xt,Vt,Hn,Ot,Jt,Ui,Fn,bn,qn,nr,wi,bi,Hi,Ei,Bn,_i,hr,ei,Ki,Ai,ui;const Di=Re.state;Ze=Re.next_in,Ai=Re.input,gt=Ze+(Re.avail_in-5),ut=Re.next_out,ui=Re.output,Xt=ut-(H-Re.avail_out),Vt=ut+(Re.avail_out-257),Hn=Di.dmax,Ot=Di.wsize,Jt=Di.whave,Ui=Di.wnext,Fn=Di.window,bn=Di.hold,qn=Di.bits,nr=Di.lencode,wi=Di.distcode,bi=(1<>>24,bn>>>=Bn,qn-=Bn,Bn=Ei>>>16&255,0===Bn)ui[ut++]=65535&Ei;else{if(!(16&Bn)){if(64&Bn){if(32&Bn){Di.mode=16191;break e}Re.msg="invalid literal/length code",Di.mode=En;break e}Ei=nr[(65535&Ei)+(bn&(1<>>=Bn,qn-=Bn),qn<15&&(bn+=Ai[Ze++]<>>24,bn>>>=Bn,qn-=Bn,Bn=Ei>>>16&255,16&Bn){if(hr=65535&Ei,Bn&=15,qnHn){Re.msg="invalid distance too far back",Di.mode=En;break e}if(bn>>>=Bn,qn-=Bn,Bn=ut-Xt,hr>Bn){if(Bn=hr-Bn,Bn>Jt&&Di.sane){Re.msg="invalid distance too far back",Di.mode=En;break e}if(ei=0,Ki=Fn,0===Ui){if(ei+=Ot-Bn,Bn<_i){_i-=Bn;do{ui[ut++]=Fn[ei++]}while(--Bn);ei=ut-hr,Ki=ui}}else if(Ui2;)ui[ut++]=Ki[ei++],ui[ut++]=Ki[ei++],ui[ut++]=Ki[ei++],_i-=3;_i&&(ui[ut++]=Ki[ei++],_i>1&&(ui[ut++]=Ki[ei++]))}else{ei=ut-hr;do{ui[ut++]=ui[ei++],ui[ut++]=ui[ei++],ui[ut++]=ui[ei++],_i-=3}while(_i>2);_i&&(ui[ut++]=ui[ei++],_i>1&&(ui[ut++]=ui[ei++]))}break}if(64&Bn){Re.msg="invalid distance code",Di.mode=En;break e}Ei=wi[(65535&Ei)+(bn&(1<>3,Ze-=_i,qn-=_i<<3,bn&=(1<{const Hn=Vt.bits;let Ei,Bn,_i,hr,ei,Ai,Ot=0,Jt=0,Ui=0,Fn=0,bn=0,qn=0,nr=0,wi=0,bi=0,Hi=0,Ki=null;const ui=new Uint16Array(16),Di=new Uint16Array(16);let Na,Ts,Ss,Uo=null;for(Ot=0;Ot<=15;Ot++)ui[Ot]=0;for(Jt=0;Jt=1&&0===ui[Fn];Fn--);if(bn>Fn&&(bn=Fn),0===Fn)return gt[ut++]=20971520,gt[ut++]=20971520,Vt.bits=1,0;for(Ui=1;Ui0&&(0===P||1!==Fn))return-1;for(Di[1]=0,Ot=1;Ot<15;Ot++)Di[Ot+1]=Di[Ot]+ui[Ot];for(Jt=0;Jt852||2===P&&bi>592)return 1;for(;;){Na=Ot-nr,Xt[Jt]+1=Ai?(Ts=Uo[Xt[Jt]-Ai],Ss=Ki[Xt[Jt]-Ai]):(Ts=96,Ss=0),Ei=1<>nr)+Bn]=Na<<24|Ts<<16|Ss|0}while(0!==Bn);for(Ei=1<>=1;if(0!==Ei?(Hi&=Ei-1,Hi+=Ei):Hi=0,Jt++,0==--ui[Ot]){if(Ot===Fn)break;Ot=Re[H+Xt[Jt]]}if(Ot>bn&&(Hi&hr)!==_i){for(0===nr&&(nr=bn),ei+=Ui,qn=Ot-nr,wi=1<852||2===P&&bi>592)return 1;_i=Hi&hr,gt[_i]=bn<<24|qn<<16|ei-ut|0}}return 0!==Hi&&(gt[ei+Hi]=Ot-nr<<24|64<<16|0),Vt.bits=bn,0};const{Z_FINISH:ao,Z_BLOCK:zr,Z_TREES:Wr,Z_OK:Gr,Z_STREAM_END:ms,Z_NEED_DICT:Ao,Z_STREAM_ERROR:ar,Z_DATA_ERROR:Xo,Z_MEM_ERROR:eo,Z_BUF_ERROR:La,Z_DEFLATED:Jo}=Z,ko=16180,to=16190,Fr=16191,Ie=16199,le=16200,Rn=16209,fr=P=>(P>>>24&255)+(P>>>8&65280)+((65280&P)<<8)+((255&P)<<24);function Kr(){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 lr=P=>{if(!P)return 1;const Re=P.state;return!Re||Re.strm!==P||Re.mode16211?1:0},Nr=P=>{if(lr(P))return ar;const Re=P.state;return P.total_in=P.total_out=Re.total=0,P.msg="",Re.wrap&&(P.adler=1&Re.wrap),Re.mode=ko,Re.last=0,Re.havedict=0,Re.flags=-1,Re.dmax=32768,Re.head=null,Re.hold=0,Re.bits=0,Re.lencode=Re.lendyn=new Int32Array(852),Re.distcode=Re.distdyn=new Int32Array(592),Re.sane=1,Re.back=-1,Gr},js=P=>{if(lr(P))return ar;const Re=P.state;return Re.wsize=0,Re.whave=0,Re.wnext=0,Nr(P)},is=(P,Re)=>{let H;if(lr(P))return ar;const Ze=P.state;return Re<0?(H=0,Re=-Re):(H=5+(Re>>4),Re<48&&(Re&=15)),Re&&(Re<8||Re>15)?ar:(null!==Ze.window&&Ze.wbits!==Re&&(Ze.window=null),Ze.wrap=H,Ze.wbits=Re,js(P))},mr=(P,Re)=>{if(!P)return ar;const H=new Kr;P.state=H,H.strm=P,H.window=null,H.mode=ko;const Ze=is(P,Re);return Ze!==Gr&&(P.state=null),Ze};let gs,rs,Hs=!0;const zs=P=>{if(Hs){gs=new Int32Array(512),rs=new Int32Array(32);let Re=0;for(;Re<144;)P.lens[Re++]=8;for(;Re<256;)P.lens[Re++]=9;for(;Re<280;)P.lens[Re++]=7;for(;Re<288;)P.lens[Re++]=8;for(Cr(1,P.lens,0,288,gs,0,P.work,{bits:9}),Re=0;Re<32;)P.lens[Re++]=5;Cr(2,P.lens,0,32,rs,0,P.work,{bits:5}),Hs=!1}P.lencode=gs,P.lenbits=9,P.distcode=rs,P.distbits=5},dn=(P,Re,H,Ze)=>{let gt;const ut=P.state;return null===ut.window&&(ut.wsize=1<=ut.wsize?(ut.window.set(Re.subarray(H-ut.wsize,H),0),ut.wnext=0,ut.whave=ut.wsize):(gt=ut.wsize-ut.wnext,gt>Ze&&(gt=Ze),ut.window.set(Re.subarray(H-Ze,H-Ze+gt),ut.wnext),(Ze-=gt)?(ut.window.set(Re.subarray(H-Ze,H),0),ut.wnext=Ze,ut.whave=ut.wsize):(ut.wnext+=gt,ut.wnext===ut.wsize&&(ut.wnext=0),ut.whavemr(P,15),inflateInit2:mr,inflate:(P,Re)=>{let H,Ze,gt,ut,Xt,Vt,Hn,Ot,Jt,Ui,Fn,bn,qn,nr,bi,Hi,Ei,Bn,_i,hr,ei,Ki,wi=0;const Ai=new Uint8Array(4);let ui,Di;const Uo=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(lr(P)||!P.output||!P.input&&0!==P.avail_in)return ar;H=P.state,H.mode===Fr&&(H.mode=16192),Xt=P.next_out,gt=P.output,Hn=P.avail_out,ut=P.next_in,Ze=P.input,Vt=P.avail_in,Ot=H.hold,Jt=H.bits,Ui=Vt,Fn=Hn,Ki=Gr;e:for(;;)switch(H.mode){case ko:if(0===H.wrap){H.mode=16192;break}for(;Jt<16;){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>8&255,H.check=je(H.check,Ai,2,0),Ot=0,Jt=0,H.mode=16181;break}if(H.head&&(H.head.done=!1),!(1&H.wrap)||(((255&Ot)<<8)+(Ot>>8))%31){P.msg="incorrect header check",H.mode=Rn;break}if((15&Ot)!==Jo){P.msg="unknown compression method",H.mode=Rn;break}if(Ot>>>=4,Jt-=4,ei=8+(15&Ot),0===H.wbits&&(H.wbits=ei),ei>15||ei>H.wbits){P.msg="invalid window size",H.mode=Rn;break}H.dmax=1<>8&1),512&H.flags&&4&H.wrap&&(Ai[0]=255&Ot,Ai[1]=Ot>>>8&255,H.check=je(H.check,Ai,2,0)),Ot=0,Jt=0,H.mode=16182;case 16182:for(;Jt<32;){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>8&255,Ai[2]=Ot>>>16&255,Ai[3]=Ot>>>24&255,H.check=je(H.check,Ai,4,0)),Ot=0,Jt=0,H.mode=16183;case 16183:for(;Jt<16;){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>8),512&H.flags&&4&H.wrap&&(Ai[0]=255&Ot,Ai[1]=Ot>>>8&255,H.check=je(H.check,Ai,2,0)),Ot=0,Jt=0,H.mode=16184;case 16184:if(1024&H.flags){for(;Jt<16;){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>8&255,H.check=je(H.check,Ai,2,0)),Ot=0,Jt=0}else H.head&&(H.head.extra=null);H.mode=16185;case 16185:if(1024&H.flags&&(bn=H.length,bn>Vt&&(bn=Vt),bn&&(H.head&&(ei=H.head.extra_len-H.length,H.head.extra||(H.head.extra=new Uint8Array(H.head.extra_len)),H.head.extra.set(Ze.subarray(ut,ut+bn),ei)),512&H.flags&&4&H.wrap&&(H.check=je(H.check,Ze,bn,ut)),Vt-=bn,ut+=bn,H.length-=bn),H.length))break e;H.length=0,H.mode=16186;case 16186:if(2048&H.flags){if(0===Vt)break e;bn=0;do{ei=Ze[ut+bn++],H.head&&ei&&H.length<65536&&(H.head.name+=String.fromCharCode(ei))}while(ei&&bn>9&1,H.head.done=!0),P.adler=H.check=0,H.mode=Fr;break;case 16189:for(;Jt<32;){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>=7&Jt,Jt-=7&Jt,H.mode=16206;break}for(;Jt<3;){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>=1,Jt-=1,3&Ot){case 0:H.mode=16193;break;case 1:if(zs(H),H.mode=Ie,Re===Wr){Ot>>>=2,Jt-=2;break e}break;case 2:H.mode=16196;break;case 3:P.msg="invalid block type",H.mode=Rn}Ot>>>=2,Jt-=2;break;case 16193:for(Ot>>>=7&Jt,Jt-=7&Jt;Jt<32;){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>16^65535)){P.msg="invalid stored block lengths",H.mode=Rn;break}if(H.length=65535&Ot,Ot=0,Jt=0,H.mode=16194,Re===Wr)break e;case 16194:H.mode=16195;case 16195:if(bn=H.length,bn){if(bn>Vt&&(bn=Vt),bn>Hn&&(bn=Hn),0===bn)break e;gt.set(Ze.subarray(ut,ut+bn),Xt),Vt-=bn,ut+=bn,Hn-=bn,Xt+=bn,H.length-=bn;break}H.mode=Fr;break;case 16196:for(;Jt<14;){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>=5,Jt-=5,H.ndist=1+(31&Ot),Ot>>>=5,Jt-=5,H.ncode=4+(15&Ot),Ot>>>=4,Jt-=4,H.nlen>286||H.ndist>30){P.msg="too many length or distance symbols",H.mode=Rn;break}H.have=0,H.mode=16197;case 16197:for(;H.have>>=3,Jt-=3}for(;H.have<19;)H.lens[Uo[H.have++]]=0;if(H.lencode=H.lendyn,H.lenbits=7,ui={bits:H.lenbits},Ki=Cr(0,H.lens,0,19,H.lencode,0,H.work,ui),H.lenbits=ui.bits,Ki){P.msg="invalid code lengths set",H.mode=Rn;break}H.have=0,H.mode=16198;case 16198:for(;H.have>>24,Hi=wi>>>16&255,Ei=65535&wi,!(bi<=Jt);){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>=bi,Jt-=bi,H.lens[H.have++]=Ei;else{if(16===Ei){for(Di=bi+2;Jt>>=bi,Jt-=bi,0===H.have){P.msg="invalid bit length repeat",H.mode=Rn;break}ei=H.lens[H.have-1],bn=3+(3&Ot),Ot>>>=2,Jt-=2}else if(17===Ei){for(Di=bi+3;Jt>>=bi,Jt-=bi,ei=0,bn=3+(7&Ot),Ot>>>=3,Jt-=3}else{for(Di=bi+7;Jt>>=bi,Jt-=bi,ei=0,bn=11+(127&Ot),Ot>>>=7,Jt-=7}if(H.have+bn>H.nlen+H.ndist){P.msg="invalid bit length repeat",H.mode=Rn;break}for(;bn--;)H.lens[H.have++]=ei}}if(H.mode===Rn)break;if(0===H.lens[256]){P.msg="invalid code -- missing end-of-block",H.mode=Rn;break}if(H.lenbits=9,ui={bits:H.lenbits},Ki=Cr(1,H.lens,0,H.nlen,H.lencode,0,H.work,ui),H.lenbits=ui.bits,Ki){P.msg="invalid literal/lengths set",H.mode=Rn;break}if(H.distbits=6,H.distcode=H.distdyn,ui={bits:H.distbits},Ki=Cr(2,H.lens,H.nlen,H.ndist,H.distcode,0,H.work,ui),H.distbits=ui.bits,Ki){P.msg="invalid distances set",H.mode=Rn;break}if(H.mode=Ie,Re===Wr)break e;case Ie:H.mode=le;case le:if(Vt>=6&&Hn>=258){P.next_out=Xt,P.avail_out=Hn,P.next_in=ut,P.avail_in=Vt,H.hold=Ot,H.bits=Jt,xr(P,Fn),Xt=P.next_out,gt=P.output,Hn=P.avail_out,ut=P.next_in,Ze=P.input,Vt=P.avail_in,Ot=H.hold,Jt=H.bits,H.mode===Fr&&(H.back=-1);break}for(H.back=0;wi=H.lencode[Ot&(1<>>24,Hi=wi>>>16&255,Ei=65535&wi,!(bi<=Jt);){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>Bn)],bi=wi>>>24,Hi=wi>>>16&255,Ei=65535&wi,!(Bn+bi<=Jt);){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>=Bn,Jt-=Bn,H.back+=Bn}if(Ot>>>=bi,Jt-=bi,H.back+=bi,H.length=Ei,0===Hi){H.mode=16205;break}if(32&Hi){H.back=-1,H.mode=Fr;break}if(64&Hi){P.msg="invalid literal/length code",H.mode=Rn;break}H.extra=15&Hi,H.mode=16201;case 16201:if(H.extra){for(Di=H.extra;Jt>>=H.extra,Jt-=H.extra,H.back+=H.extra}H.was=H.length,H.mode=16202;case 16202:for(;wi=H.distcode[Ot&(1<>>24,Hi=wi>>>16&255,Ei=65535&wi,!(bi<=Jt);){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>Bn)],bi=wi>>>24,Hi=wi>>>16&255,Ei=65535&wi,!(Bn+bi<=Jt);){if(0===Vt)break e;Vt--,Ot+=Ze[ut++]<>>=Bn,Jt-=Bn,H.back+=Bn}if(Ot>>>=bi,Jt-=bi,H.back+=bi,64&Hi){P.msg="invalid distance code",H.mode=Rn;break}H.offset=Ei,H.extra=15&Hi,H.mode=16203;case 16203:if(H.extra){for(Di=H.extra;Jt>>=H.extra,Jt-=H.extra,H.back+=H.extra}if(H.offset>H.dmax){P.msg="invalid distance too far back",H.mode=Rn;break}H.mode=16204;case 16204:if(0===Hn)break e;if(bn=Fn-Hn,H.offset>bn){if(bn=H.offset-bn,bn>H.whave&&H.sane){P.msg="invalid distance too far back",H.mode=Rn;break}bn>H.wnext?(bn-=H.wnext,qn=H.wsize-bn):qn=H.wnext-bn,bn>H.length&&(bn=H.length),nr=H.window}else nr=gt,qn=Xt-H.offset,bn=H.length;bn>Hn&&(bn=Hn),Hn-=bn,H.length-=bn;do{gt[Xt++]=nr[qn++]}while(--bn);0===H.length&&(H.mode=le);break;case 16205:if(0===Hn)break e;gt[Xt++]=H.length,Hn--,H.mode=le;break;case 16206:if(H.wrap){for(;Jt<32;){if(0===Vt)break e;Vt--,Ot|=Ze[ut++]<{if(lr(P))return ar;let Re=P.state;return Re.window&&(Re.window=null),P.state=null,Gr},inflateGetHeader:(P,Re)=>{if(lr(P))return ar;const H=P.state;return 2&H.wrap?(H.head=Re,Re.done=!1,Gr):ar},inflateSetDictionary:(P,Re)=>{const H=Re.length;let Ze,gt,ut;return lr(P)||(Ze=P.state,0!==Ze.wrap&&Ze.mode!==to)?ar:Ze.mode===to&&(gt=1,gt=ve(gt,Re,H,0),gt!==Ze.check)?Xo:(ut=dn(P,Re,H,H),ut?(Ze.mode=16210,eo):(Ze.havedict=1,Gr))},inflateInfo:"pako inflate (from Nodeca project)"},Zr=function Mo(){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 Gs=Object.prototype.toString,{Z_NO_FLUSH:Ks,Z_FINISH:Oa,Z_OK:co,Z_STREAM_END:Po,Z_NEED_DICT:Fo,Z_STREAM_ERROR:Ys,Z_DATA_ERROR:os,Z_MEM_ERROR:Pa}=Z;function wo(P){this.options=_n.assign({chunkSize:65536,windowBits:15,to:""},P||{});const Re=this.options;Re.raw&&Re.windowBits>=0&&Re.windowBits<16&&(Re.windowBits=-Re.windowBits,0===Re.windowBits&&(Re.windowBits=-15)),Re.windowBits>=0&&Re.windowBits<16&&!(P&&P.windowBits)&&(Re.windowBits+=32),Re.windowBits>15&&Re.windowBits<48&&(15&Re.windowBits||(Re.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Fi,this.strm.avail_out=0;let H=Br.inflateInit2(this.strm,Re.windowBits);if(H!==co)throw new Error(ke[H]);if(this.header=new Zr,Br.inflateGetHeader(this.strm,this.header),Re.dictionary&&("string"==typeof Re.dictionary?Re.dictionary=Xn.string2buf(Re.dictionary):"[object ArrayBuffer]"===Gs.call(Re.dictionary)&&(Re.dictionary=new Uint8Array(Re.dictionary)),Re.raw&&(H=Br.inflateSetDictionary(this.strm,Re.dictionary),H!==co)))throw new Error(ke[H])}function No(P,Re){const H=new wo(Re);if(H.push(P),H.err)throw H.msg||ke[H.err];return H.result}wo.prototype.push=function(P,Re){const H=this.strm,Ze=this.options.chunkSize,gt=this.options.dictionary;let ut,Xt,Vt;if(this.ended)return!1;for(Xt=Re===~~Re?Re:!0===Re?Oa:Ks,H.input="[object ArrayBuffer]"===Gs.call(P)?new Uint8Array(P):P,H.next_in=0,H.avail_in=H.input.length;;){for(0===H.avail_out&&(H.output=new Uint8Array(Ze),H.next_out=0,H.avail_out=Ze),ut=Br.inflate(H,Xt),ut===Fo&>&&(ut=Br.inflateSetDictionary(H,gt),ut===co?ut=Br.inflate(H,Xt):ut===os&&(ut=Fo));H.avail_in>0&&ut===Po&&H.state.wrap>0&&0!==P[H.next_in];)Br.inflateReset(H),ut=Br.inflate(H,Xt);switch(ut){case Ys:case os:case Fo:case Pa:return this.onEnd(ut),this.ended=!0,!1}if(Vt=H.avail_out,H.next_out&&(0===H.avail_out||ut===Po))if("string"===this.options.to){let Hn=Xn.utf8border(H.output,H.next_out),Ot=H.next_out-Hn,Jt=Xn.buf2string(H.output,Hn);H.next_out=Ot,H.avail_out=Ze-Ot,Ot&&H.output.set(H.output.subarray(Hn,Hn+Ot),0),this.onData(Jt)}else this.onData(H.output.length===H.next_out?H.output:H.output.subarray(0,H.next_out));if(ut!==co||0!==Vt){if(ut===Po)return ut=Br.inflateEnd(this.strm),this.onEnd(ut),this.ended=!0,!0;if(0===H.avail_in)break}}return!0},wo.prototype.onData=function(P){this.chunks.push(P)},wo.prototype.onEnd=function(P){P===co&&(this.result="string"===this.options.to?this.chunks.join(""):_n.flattenChunks(this.chunks)),this.chunks=[],this.err=P,this.msg=this.strm.msg};var et={Inflate:wo,inflate:No,inflateRaw:function G(P,Re){return(Re=Re||{}).raw=!0,No(P,Re)},ungzip:No,constants:Z};const{Deflate:Nt,deflate:mn,deflateRaw:Ln,gzip:Gn}=Qt,{Inflate:Wi,inflate:br,inflateRaw:Ms,ungzip:Eo}=et;var uo=Nt,ho=mn,Er=Ln,xl=Gn,ws=Wi,Es=br,Ds=Ms,Zs=Eo,Fa=Z,Ml={Deflate:Nt,deflate:mn,deflateRaw:Ln,gzip:Gn,Inflate:Wi,inflate:br,inflateRaw:Ms,ungzip:Eo,constants:Z}},5861:(Se,X,g)=>{"use strict";function n(C,b,o,v,a,c,s){try{var l=C[c](s),d=l.value}catch(r){return void o(r)}l.done?b(d):Promise.resolve(d).then(v,a)}function p(C){return function(){var b=this,o=arguments;return new Promise(function(v,a){var c=C.apply(b,o);function s(d){n(c,v,a,s,l,"next",d)}function l(d){n(c,v,a,s,l,"throw",d)}s(void 0)})}}g.d(X,{Z:()=>p})},1180:(Se,X,g)=>{"use strict";function n(o){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(v){return typeof v}:function(v){return v&&"function"==typeof Symbol&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v})(o)}function b(o,v,a){return(v=function C(o){var v=function p(o,v){if("object"!==n(o)||null===o)return o;var a=o[Symbol.toPrimitive];if(void 0!==a){var c=a.call(o,v||"default");if("object"!==n(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===v?String:Number)(o)}(o,"string");return"symbol"===n(v)?v:String(v)}(v))in o?Object.defineProperty(o,v,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[v]=a,o}g.d(X,{Z:()=>b})},8210:Se=>{"use strict";Se.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1.0000000000000001e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 16.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1g","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"at","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mos","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"h","const",true,null,null,1,false,false,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 \xd7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"k","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xd710^\u221223 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"\u03b50","const",true,null,null,1,false,false,0,"\u03b50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xd7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"\u03bc0","const",true,null,null,1,false,false,0,"\u03bc0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03c0\xd710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xd710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"e","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xd710^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xd710^\u221219 C = 1.6\xd710\u221219 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"me","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xd7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"mp","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"G","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674\xd710\u221211 N\u22c5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",true,null,null,1,false,false,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03c0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03c0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"r\xf6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xb0C","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xb0C","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xb0F","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xb0F","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xb0F","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"BtuIT","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO2","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO2","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xb7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xae method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"st\xe8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,0,"\xc5; Angstroms; Ao; \xc5ngstr\xf6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; \u03a9^\u22121; \u03a9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ctm","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/103<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/106<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO2<.r>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","([IU]/KG)/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"((i.U.)/kg)/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(1012)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"103","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(103)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(103)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(103)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(104)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"105","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"106","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","((10*6).[CFU])/L","number",1000000000,[-3,0,0,0,0,0,0],"((106).CFU)/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(106)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(106)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(106)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(106)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"108","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(109)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(109)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(109)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[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,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xb7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; \xb0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[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/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/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/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/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/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/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/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/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/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)/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/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[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/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[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/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[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/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/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/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/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/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/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/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)/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/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO2)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[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/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m2)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m3)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[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/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/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)/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/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/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/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(1010)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(109)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[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/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/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/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)/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)/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/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/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[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]]}}')},82:Se=>{"use strict";Se.exports=JSON.parse('{"name":"fhirpath","version":"3.6.0","description":"A FHIRPath engine","main":"src/fhirpath.js","dependencies":{"@lhncbc/ucum-lhc":"^4.1.3","antlr4":"~4.9.3","commander":"^2.18.0","date-fns":"^1.30.1","js-yaml":"^3.13.1"},"devDependencies":{"@babel/core":"^7.21.4","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-loader":"^8.2.3","benny":"^3.7.1","bestzip":"^2.2.0","copy-webpack-plugin":"^6.0.3","cypress":"^10.3.0","eslint":"^8.10.0","fhir":"^4.10.3","grunt":"^1.5.2","grunt-cli":"^1.4.3","grunt-text-replace":"^0.4.0","jasmine-spec-reporter":"^4.2.1","jest":"^27.3.1","jit-grunt":"^0.10.0","lodash":"^4.17.21","open":"^8.4.0","rimraf":"^3.0.0","tmp":"0.0.33","webpack":"^5.11.1","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.9.1","xml2js":"^0.5.0","yargs":"^15.1.0"},"engines":{"node":">=8.9.0"},"scripts":{"generateParser":"cd src/parser; rimraf ./generated/*; java -Xmx500M -cp \\"../../antlr-4.9.3-complete.jar:$CLASSPATH\\" org.antlr.v4.Tool -o generated -Dlanguage=JavaScript FHIRPath.g4; grunt updateParserRequirements","build":"cd browser-build && webpack && rimraf fhirpath.zip && bestzip fhirpath.zip LICENSE.md fhirpath.min.js fhirpath.r5.min.js fhirpath.r4.min.js fhirpath.stu3.min.js fhirpath.dstu2.min.js && rimraf LICENSE.md","test:unit":"jest && TZ=America/New_York jest && TZ=Europe/Paris jest","test:unit:debug":"echo \'open chrome chrome://inspect/\' && node --inspect node_modules/.bin/jest --runInBand","build:demo":"npm run build && cd demo && npm run build","test:e2e":"npm run build:demo && cypress run","test":"npm run lint && npm run test:unit && npm run test:e2e && echo \\"For tests specific to IE 11, open browser-build/test/index.html in IE 11, and confirm that the tests on that page pass.\\"","lint":"eslint src/parser/index.js src/*.js converter/","compare-performance":"node ./test/benchmark.js"},"bin":{"fhirpath":"bin/fhirpath"},"repository":"github:HL7/fhirpath.js","license":"MIT"}')},4147:Se=>{"use strict";Se.exports=JSON.parse('{"name":"matchbox","version":"3.5.2","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":"^16.1.4","@angular/animations":"^16.1.5","@angular/cdk":"^16.1.5","@angular/common":"^16.1.7","@angular/core":"^16.1.7","@angular/forms":"^16.1.7","@angular/material":"^16.1.6","@angular/platform-browser":"^16.1.7","@angular/platform-browser-dynamic":"^16.1.7","@angular/router":"^16.1.7","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","ace-builds":"^1.23.4","angular-oauth2-oidc":"^15.0.1","browserify-zlib":"^0.2.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.6.0","highlightjs-line-numbers.js":"^2.8.0","js-untar":"^2.0.0","ngx-highlightjs":"^10.0.0","pako":"^2.1.0","rxjs":"^7.8.1","tslib":"^2.6.1","zone.js":"^0.13.1"},"devDependencies":{"@angular/cli":"^16.1.6","@angular-eslint/builder":"^16.1.0","@angular-eslint/eslint-plugin":"^16.1.0","@angular-eslint/eslint-plugin-template":"^16.1.0","@angular-eslint/schematics":"^16.1.0","@angular-eslint/template-parser":"^16.1.0","@angular/compiler":"^16.1.7","@angular/compiler-cli":"^16.1.7","@angular/language-service":"^16.1.5","@types/debug":"^4.1.8","@types/jasmine":"^4.3.5","@types/node":"^20.4.5","@types/pako":"^2.0.0","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.45.0","husky":"^8.0.3","jasmine":"^5.1.0","jasmine-core":"^5.1.0","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.0.0","pretty-quick":"^3.1.3","protractor":"~7.0.0","ts-node":"^10.9.1","tslint":"~6.1.0","typescript":"^5.1.6"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},Se=>{Se(Se.s=4913)}]); \ No newline at end of file diff --git a/matchbox-server/src/main/resources/static/main.c0d52a26fd3d1ab9.js b/matchbox-server/src/main/resources/static/main.c0d52a26fd3d1ab9.js new file mode 100644 index 00000000000..b8f6f622a23 --- /dev/null +++ b/matchbox-server/src/main/resources/static/main.c0d52a26fd3d1ab9.js @@ -0,0 +1 @@ +(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{9473:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Ucum=void 0,ie.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:' ',closeEmphHTML_:" ",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},1995:(Me,ie,_)=>{"use strict";ie.R=void 0;var f=_(9473),D=_(4864);class y{constructor(v){if(0===f.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==v)this.assignZero();else if(v instanceof Array){if(v.length!==f.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(v)}`);this.dimVec_=[];for(let s=0;s=f.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[v]=1}}setElementAt(v,s){if(!D(v)||v<0||v>=f.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${v})`);this.dimVec_||this.assignZero(),null==s&&(s=1),this.dimVec_[v]=s}getElementAt(v){if(!D(v)||v<0||v>=f.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${v})`);let s=null;return this.dimVec_&&(s=this.dimVec_[v]),s}getProperty(v){return this["_"===v.charAt(v.length-1)?v:v+"_"]}toString(){let v=null;return this.dimVec_&&(v="["+this.dimVec_.join(", ")+"]"),v}add(v){if(!v instanceof y)throw new Error(`Dimension.add called with an invalid parameter - ${typeof v} instead of a Dimension object`);if(this.dimVec_&&v.dimVec_)for(let s=0;s{"use strict";ie.DP=function m(h){const o=h&&h.config;if(o){if(o.length&&h.data){const l=y(o);return h.data.map(v.bind(null,l))}return h.data}return h};function y(h){return h.map(o=>Array.isArray(o)?o:[o])}function v(h,o){let l={};return h.forEach((r,c)=>{let d=l;for(let g=0;g{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Prefix=void 0,_(9473),ie.Prefix=class f{constructor(y){if(null==y.code_||null==y.name_||null==y.value_||void 0===y.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_=y.code_,this.ciCode_=y.ciCode_,this.name_=y.name_,this.printSymbol_=y.printSymbol_,this.value_="string"==typeof y.value_?parseFloat(y.value_):y.value_,this.exp_=y.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(y){return this.code_===y.code_&&this.ciCode_===y.ciCode_&&this.name_===y.name_&&this.printSymbol_===y.printSymbol_&&this.value_===y.value_&&this.exp_===y.exp_}}},8902:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.PrefixTables=ie.PrefixTablesFactory=void 0;class _{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let y="",u=Object.keys(this.byValue_),v=u.length;for(let s=0;s{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=void 0;var n=new class _{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(D){return D-273.15},cnvFrom:function(D){return D+273.15}},this.funcs.degf={cnvTo:function(D){return D-459.67},cnvFrom:function(D){return D+459.67}},this.funcs.degre={cnvTo:function(D){return D-273.15},cnvFrom:function(D){return D+273.15}},this.funcs.ph={cnvTo:function(D){return-Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,-D)}},this.funcs.ln={cnvTo:function(D){return Math.log(D)},cnvFrom:function(D){return Math.exp(D)}},this.funcs["2ln"]={cnvTo:function(D){return 2*Math.log(D)},cnvFrom:function(D){return Math.exp(D/2)}},this.funcs.lg={cnvTo:function(D){return Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D)}},this.funcs["10lg"]={cnvTo:function(D){return 10*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/10)}},this.funcs["20lg"]={cnvTo:function(D){return 20*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/20)}},this.funcs["2lg"]={cnvTo:function(D){return 2*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(D){return Math.log(D)/Math.LN2},cnvFrom:function(D){return Math.pow(2,D)}},this.funcs["100tan"]={cnvTo:function(D){return 100*Math.tan(D)},cnvFrom:function(D){return Math.atan(D/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(D){return Math.sqrt(D)},cnvFrom:function(D){return D*D}},this.funcs.inv={cnvTo:function(D){return 1/D},cnvFrom:function(D){return 1/D}},this.funcs.hpX={cnvTo:function(D){return-this.funcs.lg(D)},cnvFrom:function(D){return Math.pow(10,-D)}},this.funcs.hpC={cnvTo:function(D){return-this.func.ln(D)/this.funcs.ln(100)},cnvFrom:function(D){return Math.pow(100,-D)}},this.funcs.hpM={cnvTo:function(D){return-this.funcs.ln(D)/this.funcs.ln(1e3)},cnvFrom:function(D){return Math.pow(1e3,-D)}},this.funcs.hpQ={cnvTo:function(D){return-this.funcs.ln(D)/this.funcs.ln(5e4)},cnvFrom:function(D){return Math.pow(5e4,-D)}}}forName(D){D=D.toLowerCase();let y=this.funcs[D];if(null===y)throw new Error(`Requested function ${D} is not defined`);return y}isDefined(D){return D=D.toLowerCase(),null!==this.funcs[D]}};ie.default=n},6361:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.isNumericString=function f(u){let v=""+u;return!isNaN(v)&&!isNaN(parseFloat(v))},ie.isIntegerUnit=function D(u){return/^\d+$/.test(u)},ie.getSynonyms=function y(u){let v={},m={};if(m=n.getInstance().getUnitBySynonym(u),m.units){v.status="succeeded";let h=m.units.length;v.units=[];for(let o=0;o{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ucumJsonDefs=ie.UcumJsonDefs=void 0;var n=_(3407),f=_(8902),D=_(5744),y=_(7894),u=_(5601).DP;class v{loadJsonDefs(){const h=_(8210);if(h.prefixes=u(h.prefixes),h.units=u(h.units),0===y.UnitTables.getInstance().unitsCount()){let o=f.PrefixTables.getInstance(),l=h.prefixes,r=l.length;for(let b=0;b{"use strict";ie.n=void 0;var f=_(8929),D=function u(o){if(o&&o.__esModule)return o;if(null===o||"object"!=typeof o&&"function"!=typeof o)return{default:o};var l=y();if(l&&l.has(o))return l.get(o);var r={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in o)if(Object.prototype.hasOwnProperty.call(o,d)){var g=c?Object.getOwnPropertyDescriptor(o,d):null;g&&(g.get||g.set)?Object.defineProperty(r,d,g):r[d]=o[d]}return r.default=o,l&&l.set(o,r),r}(_(6361));function y(){if("function"!=typeof WeakMap)return null;var o=new WeakMap;return y=function(){return o},o}var v=_(9473).Ucum,s=_(7894).UnitTables,m=_(4206).T;class h{constructor(){0===s.getInstance().unitsCount()&&f.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=m.getInstance()}useHTMLInMessages(l){void 0===l&&(l=!0),this.uStrParser_.useHTMLInMessages(l)}useBraceMsgForEachString(l){void 0===l&&(l=!0),this.uStrParser_.useBraceMsgForEachString(l)}validateUnitString(l,r,c){void 0===r&&(r=!1),void 0===c&&(c="validate");let d=this.getSpecifiedUnit(l,c,r),g=d.unit,b={};return b=g?{status:d.origString===l?"valid":"invalid",ucumCode:d.origString,unit:{code:g.csCode_,name:g.name_,guidance:g.guidance_}}:{status:d.origString&&null!==d.origString?"invalid":"error",ucumCode:null},d.suggestions&&(b.suggestions=d.suggestions),b.msg=d.retMsg,b}convertUnitTo(l,r,c,d,g){void 0===d&&(d=!1),void 0===g&&(g=null);let b={status:"failed",toVal:null,msg:[]};if(l&&(l=l.trim()),(!l||""==l)&&(b.status="error",b.msg.push('No "from" unit expression specified.')),(null===r||isNaN(r)||"number"!=typeof r&&!D.isNumericString(r))&&(b.status="error",b.msg.push('No "from" value, or an invalid "from" value, was specified.')),c&&(c=c.trim()),(!c||""==c)&&(b.status="error",b.msg.push('No "to" unit expression specified.')),"error"!==b.status)try{let C=null,x=this.getSpecifiedUnit(l,"convert",d);C=x.unit,x.retMsg&&(b.msg=b.msg.concat(x.retMsg)),x.suggestions&&(b.suggestions={},b.suggestions.from=x.suggestions),C||b.msg.push(`Unable to find a unit for ${l}, so no conversion could be performed.`);let w=null;if(x=this.getSpecifiedUnit(c,"convert",d),w=x.unit,x.retMsg&&(b.msg=b.msg.concat(x.retMsg)),x.suggestions&&(b.suggestions||(b.suggestions={}),b.suggestions.to=x.suggestions),w||b.msg.push(`Unable to find a unit for ${c}, so no conversion could be performed.`),C&&w)try{if(g){if(0!==C.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===C.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(!C.isMoleMassCommensurable(w))throw new Error(`Sorry. ${l} cannot be converted to ${c}.`);b.toVal=0!==C.moleExp_?C.convertMolToMass(r,w,g):C.convertMassToMol(r,w,g)}else b.toVal=w.convertFrom(r,C);b.status="succeeded",b.fromUnit=C,b.toUnit=w}catch(T){b.status="failed",b.msg.push(T.message)}}catch(C){b.status=C.message==v.needMoleWeightMsg_?"failed":"error",b.msg.push(C.message)}return b}convertToBaseUnits(l,r){let c=this.getSpecifiedUnit(l,"validate"),d={},g=c.unit;if(d.msg=c.retMsg||[],g){if(g.isArbitrary_)d.msg.push("Arbitrary units cannot be converted to base units or other units.");else if(0==d.msg.length){let b={},C=g.dim_?.dimVec_,x="1";if(C){let S=s.getInstance().dimVecIndexToBaseUnit_;for(let M=0,k=C.length;M0&&(r=d.retMsg),g){let b=null,C=g.getProperty("dim_");if(C){try{b=C.getProperty("dimVec_")}catch(x){r.push(x.message),"Dimension does not have requested property(dimVec_)"===x.message&&(b=null)}b&&(c=s.getInstance().getUnitsByDimension(b))}else r.push("No commensurable units were found for "+l)}else r.push(`Could not find unit ${l}.`);return[c,r]}}ie.n=h,h.getInstance=function(){return new h}},2207:(Me,ie,_)=>{"use strict";ie.ng=void 0,_(9473);var D=_(9741).n;ie.ng=D,_(7894)},5744:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Unit=void 0;var n=function u(l){return l&&l.__esModule?l:{default:l}}(_(5568)),f=function y(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var r=D();if(r&&r.has(l))return r.get(l);var c={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in l)if(Object.prototype.hasOwnProperty.call(l,g)){var b=d?Object.getOwnPropertyDescriptor(l,g):null;b&&(b.get||b.set)?Object.defineProperty(c,g,b):c[g]=l[g]}return c.default=l,r&&r.set(l,c),c}(_(6361));function D(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return D=function(){return l},l}var m,v=_(9473).Ucum,s=_(1995).R,h=_(4864);class o{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||h(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 c in r){let d="_"===!c.charAt(c.length-1)?c+"_":c;if(!this.hasOwnProperty(d))throw new Error(`Parameter error; ${c} is not a property of a Unit`);this[d]=r[c]}}clone(){let r=new o;return Object.getOwnPropertyNames(this).forEach(c=>{"dim_"===c?r.dim_=this.dim_?this.dim_.clone():null:r[c]=this[c]}),r}assign(r){Object.getOwnPropertyNames(r).forEach(c=>{"dim_"===c?this.dim_=r.dim_?r.dim_.clone():null:this[c]=r[c]})}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 c=Object.keys(this).sort(),d=Object.keys(r).sort(),g=c.length,b=g===d.length;for(let C=0;C0){let c=r.replace("/","!").replace(".","/").replace("!",".");switch(c.charAt(0)){case".":r=c.substr(1);break;case"/":r=c;break;default:r="/"+c}}return r}_concatStrs(r,c,d,g,b){return this._buildOneString(r,g,b)+c+this._buildOneString(d,g,b)}_buildOneString(r,c,d){let g="";return g=f.isNumericString(r)||"("===r.charAt(0)&&r.endsWith(")")||"["===r.charAt(0)&&r.endsWith("]")?r:/[./* ]/.test(r)?c+r+d:r,g}power(r){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let d=this.csCode_.match(/([./]|[^./]+)/g),g=d.length;for(let b=0;b=0;T--){let S=parseInt(C[T]);if(!h(S)){if(("-"===C[T]||"+"===C[T])&&T--,T{"use strict";ie.T=void 0;var f=function y(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var r=D();if(r&&r.has(l))return r.get(l);var c={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in l)if(Object.prototype.hasOwnProperty.call(l,g)){var b=d?Object.getOwnPropertyDescriptor(l,g):null;b&&(b.get||b.set)?Object.defineProperty(c,g,b):c[g]=l[g]}return c.default=l,r&&r.set(l,c),c}(_(6361));function D(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return D=function(){return l},l}function u(l,r,c){return r in l?Object.defineProperty(l,r,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[r]=c,l}var v=_(9473).Ucum,s=_(5744).Unit,m=_(7894).UnitTables,h=_(8902).PrefixTables;class o{constructor(){this.utabs_=m.getInstance(),this.pfxTabs_=h.getInstance(),this.openEmph_=v.openEmph_,this.closeEmph_=v.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_=v.openEmphHTML_,this.closeEmph_=v.closeEmphHTML_):(this.openEmph_=v.openEmph_,this.closeEmph_=v.closeEmph_)}useBraceMsgForEachString(r){this.bracesMsg_=void 0===r||r?v.bracesMsg_:""}parseString(r,c,d){if(""===(r=r.trim())||null===r)throw new Error("Please specify a unit expression to be validated.");"validate"===c?(this.vcMsgStart_=v.valMsgStart_,this.vcMsgEnd_=v.valMsgEnd_):(this.vcMsgStart_=v.cnvMsgStart_,this.vcMsgEnd_=v.cnvMsgEnd_),this.suggestions_=void 0===d||!1===d?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let g=r,b=[];if(r=this._getAnnotations(r),this.retMsg_.length>0)b[0]=null,b[1]=null;else{let x=null;for(x in v.specUnits_)for(;-1!==r.indexOf(x);)r=r.replace(x,v.specUnits_[x]);if(r.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");b=this._parseTheString(r,g);let w=b[0];(f.isIntegerUnit(w)||"number"==typeof w)&&(w=new s({csCode_:g,ciCode_:g,magnitude_:w,name_:g}),b[0]=w)}return b[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(b[3]=this.suggestions_),b}_parseTheString(r,c){let d=null,g=this.retMsg_.length>0,b=this._processParens(r,c);g=b[2];let C=[];if(!g){let x=this._makeUnitsArray(r=b[0],c=b[1]);if(g=x[2],!g){C=x[0],c=x[1];let w=C.length;for(let T=0;T=0){let M=this._getParensUnit(S,c);g||(g=M[1]),g||(C[T].un=M[0])}else{let M=this._makeUnit(S,c);null===M[0]?g=!0:(C[T].un=M[0],c=M[1])}}}}return g||(null===C[0]||" "===C[0]||null==C[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${c}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),g=!0),g||(d=this._performUnitArithmetic(C,c)),[d,c]}_getAnnotations(r){let c=r.indexOf("{");for(;c>=0;){let d=r.indexOf("}");if(d<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+r.substr(c)+this.closeEmph_),c=-1;else{let g=r.substring(c,d+1);if(o.VALID_ANNOTATION_REGEX.test(g)){let b=this.annotations_.length.toString();r=r.replace(g,this.braceFlag_+b+this.braceFlag_),this.annotations_.push(g),c=r.indexOf("{")}else this.retMsg_.push(o.INVALID_ANNOTATION_CHAR_MSG+this.openEmph_+g+this.closeEmph_),c=-1}}if(0==this.retMsg_.length){let d=r.indexOf("}");d>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+r.substring(0,d+1)+this.closeEmph_)}return r}_processParens(r,c){let d=[],g=0,b=!1,C=this.parensUnits_.length,x=0;for(;""!==r&&!b;){let w=0,T=0,S=r.indexOf("(");if(S<0){let M=r.indexOf(")");if(M>=0){let k=`Missing open parenthesis for close parenthesis at ${r.substring(0,M+x)}${this.openEmph_}${r.substr(M,1)}${this.closeEmph_}`;M0&&(d[g++]=r.substr(0,S));let k=0,I=S+1;for(;I0&&(T=r.substr(0,w-1));let S=r.lastIndexOf(this.parensFlag_),M=null;S+this.pFlagLen_=0){let I=this._getAnnoText(T,c);if(I[1]||I[2])throw new Error(`Text found before the parentheses (${T}) included an annotation along with other text for parenthetical unit ${b.csCode_}`);this.retMsg_.push(`The annotation ${I[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(r+=I[0])+this.vcMsgEnd_)}else this.suggestions_?d="succeeded"!==this._getSuggestions(T):(this.retMsg_.push(`${T} preceding the unit code ${r} is invalid. Unable to make a substitution.`),d=!0);if(M)if(M.indexOf(this.braceFlag_)>=0){let I=this._getAnnoText(M,c);if(I[1]||I[2])throw new Error(`Text found after the parentheses (${M}) included an annotation along with other text for parenthetical unit ${b.csCode_}`);r+=I[0]}else f.isNumericString(M)?(r+=M,b=b.power(Number(M)),this.retMsg_.push(`An exponent (${M}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+r+this.vcMsgEnd_)):this.suggestions_?d="succeeded"!==this._getSuggestions(T):(this.retMsg_.push(`Text ${M} following the unit code ${r} is invalid. Unable to make a substitution.`),d=!0);return d||(b?f.isIntegerUnit(b)?b=new s({csCode_:b,magnitude_:b,name_:b}):b.csCode_=r:b=new s({csCode_:r,magnitude_:1,name_:r})),[b,d]}_getAnnoText(r,c){let d=r.indexOf(this.braceFlag_),g=d>0?r.substring(0,d):null;0!==d&&(r=r.substr(d));let b=r.indexOf(this.braceFlag_,1),C=b+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${x} found in ${r} that was created from ${c}`);return[r=this.annotations_[w],g,C]}_getSuggestions(r){let c=f.getSynonyms(r);if("succeeded"===c.status){let d={};d.msg=`${r} is not a valid UCUM code. We found possible units that might be what was meant:`,d.invalidUnit=r;let g=c.units.length;d.units=[];for(let b=0;b=0){let g=this._getUnitWithAnnotation(r,c);d=g[0],d&&(c=g[1])}else{if(r.indexOf("^")>-1){let g=r.replace("^","*");d=this.utabs_.getUnitByCode(g),d&&(d=d.clone(),d.csCode_=d.csCode_.replace("*","^"),d.ciCode_=d.ciCode_.replace("*","^"))}if(!d){let g="["+r+"]";d=this.utabs_.getUnitByCode(g),d&&(d=d.clone(),c=c.replace(r,g),this.retMsg_.push(`${r} is not a valid unit expression, but ${g} is.\n`+this.vcMsgStart_+`${g} (${d.name_})${this.vcMsgEnd_}`))}if(!d){let g=this.utabs_.getUnitByName(r);if(g&&g.length>0){d=g[0].clone();let b="The UCUM code for "+r+" is "+d.csCode_+".\n"+this.vcMsgStart_+d.csCode_+this.vcMsgEnd_,C=!1;for(let T=0;T"+R+"",csCode_:F+R,ciCode_:A+R,printSymbol_:L+""+R+""})}}else d=null,this.suggestions_?this._getSuggestions(g):this.retMsg_.push(`${g} is not a valid UCUM code.`)}}return[d,c]}_getUnitWithAnnotation(r,c){let d=null,g=this._getAnnoText(r,c),b=g[0],C=g[1],x=g[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let w=this.retMsg_.length;if(C||x)if(C&&!x)if(f.isIntegerUnit(C))d=C;else{let T=this._makeUnit(C,c);T[0]?(d=T[0],d.csCode_+=b,c=T[1]):this.retMsg_.push(`Unable to find a unit for ${C} that precedes the annotation ${b}.`)}else if(!C&&x)if(f.isIntegerUnit(x))d=x+b,this.retMsg_.push(`The annotation ${b} before the ``${x} is invalid.\n`+this.vcMsgStart_+d+this.vcMsgEnd_);else{let T=this._makeUnit(x,c);T[0]?(d=T[0],d.csCode_+=b,c=d.csCode_,this.retMsg_.push(`The annotation ${b} before the unit code is invalid.\n`+this.vcMsgStart_+d.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${C} that follows the annotation ${b}.`)}else this.retMsg_.push(`Unable to find a unit for ${C}${b}${x}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let T="["+b.substring(1,b.length-1)+"]",S=this._makeUnit(T,c);S[0]?(d=S[0],c=c.replace(b,T),this.retMsg_.push(`${b} is not a valid unit expression, but ${T} is.\n`+this.vcMsgStart_+`${T} (${d.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>w&&this.retMsg_.pop(),r=1,d=1)}return[d,c]}_performUnitArithmetic(r,c){let d=r[0].un;f.isIntegerUnit(d)&&(d=new s({csCode_:d,ciCode_:d,magnitude_:Number(d),name_:d}));let g=r.length,b=!1;for(let C=1;C{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.UnitTables=void 0;var n=_(9473).Ucum,D=new class f{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(v){v.name_&&this.addUnitName(v),this.addUnitCode(v),this.addUnitString(v);try{v.dim_.getProperty("dimVec_")&&this.addUnitDimension(v)}catch{}if(v.isBase_){const m=v.dim_.dimVec_;let h;for(let o=0,l=m.length;null==h&&o=1&&(m=v.substr(s+n.codeSep_.length),v=v.substr(0,s));let h=this.unitNames_[v];if(h){let o=h.length;if(m&&o>1){let l=0;for(;h[l].csCode_!==m&&l0&&(m+=s),"dim_"===v[b])m+=null!=g.dim_&&g.dim_.dimVec_ instanceof Array?"["+g.dim_.dimVec_.join(",")+"]":"";else{let C=g[v[b]];m+="string"==typeof C?C.replace(/[\n\r]/g," "):C}m+="\r\n"}}return m}printUnits(v,s){void 0===v&&(v=!1),void 0===s&&(s="|");let m="",h=this.codeOrder_.length,o="csCode"+s;v&&(o+="ciCode"+s),o+="name"+s,v&&(o+="isBase"+s),o+="magnitude"+s+"dimension"+s+"from unit(s)"+s+"value"+s+"function"+s,v&&(o+="property"+s+"printSymbol"+s+"synonyms"+s+"source"+s+"class"+s+"isMetric"+s+"variable"+s+"isSpecial"+s+"isAbitrary"+s),o+="comment",m=o+"\n";for(let l=0;l{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.AppComponent=void 0;const n=_(655),y=(_(7088),_(9515),n.__importDefault(_(4147))),u=n.__importStar(_(9212)),v=n.__importStar(_(9515)),s=n.__importStar(_(7088)),m=n.__importStar(_(617)),h=n.__importStar(_(5187));ie.AppComponent=(()=>{class l{constructor(c,d){this.version=y.default.version,c.setDefaultLang("de"),c.use(c.getBrowserLang());let g=location.origin;if("http://localhost:4200"===g)console.log("note: using local dev mag system for"+location.origin),d.changeFhirMicroService("http://localhost:8080/matchboxv3/fhir");else{let b=g+location.pathname+"fhir";d.changeFhirMicroService(b),console.log("fhir endpoint "+b)}}static#e=this.\u0275fac=function(d){return new(d||l)(u.\u0275\u0275directiveInject(v.TranslateService),u.\u0275\u0275directiveInject(s.FhirConfigService))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:l,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(d,g){1&d&&(u.\u0275\u0275elementStart(0,"header")(1,"div",0),u.\u0275\u0275element(2,"img",1),u.\u0275\u0275elementStart(3,"span",2),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(5,"nav")(6,"div",3)(7,"mat-icon"),u.\u0275\u0275text(8,"home"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"span"),u.\u0275\u0275text(10,"Home"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(11,"div",4)(12,"mat-icon"),u.\u0275\u0275text(13,"info"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(14,"span"),u.\u0275\u0275text(15,"CapabilityStatement"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(16,"div",5)(17,"mat-icon"),u.\u0275\u0275text(18,"info"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(19,"span"),u.\u0275\u0275text(20,"IGs"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(21,"div",6)(22,"mat-icon"),u.\u0275\u0275text(23,"search"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(24,"span"),u.\u0275\u0275text(25,"FHIR Mapping"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(26,"div",7)(27,"mat-icon"),u.\u0275\u0275text(28,"transform"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(29,"span"),u.\u0275\u0275text(30,"Transform"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(31,"div",8)(32,"mat-icon"),u.\u0275\u0275text(33,"rule"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(34,"span"),u.\u0275\u0275text(35,"Validate"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(36,"div",9)(37,"mat-icon"),u.\u0275\u0275text(38,"settings"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(39,"span"),u.\u0275\u0275text(40,"Settings"),u.\u0275\u0275elementEnd()()()(),u.\u0275\u0275elementStart(41,"main",10),u.\u0275\u0275element(42,"router-outlet"),u.\u0275\u0275elementEnd()),2&d&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate1("v",g.version,""))},dependencies:[m.MatIcon,h.RouterOutlet,h.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 l})()},8629:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.AppModule=ie.createTranslateLoader=void 0;const n=_(655),f=_(9862),D=_(5187),y=_(9515),u=_(5061),v=_(6401),s=_(6938),m=_(6459),h=_(5389),o=_(3835),l=_(6208),r=_(1037),c=_(9949),d=_(7154),g=_(9936),b=_(4751),C=_(3427),x=n.__importStar(_(9212)),M=(n.__importStar(_(5187)),n.__importStar(_(9515)),n.__importStar(_(4751)),[{path:"",component:m.HomeComponent},{path:"mappinglanguage",component:h.MappingLanguageComponent},{path:"CapabilityStatement",component:s.CapabilityStatementComponent},{path:"igs",component:r.IgsComponent},{path:"settings",component:o.SettingsComponent},{path:"transform",component:d.TransformComponent},{path:"validate",component:g.ValidateComponent}]);function k(P){return new u.TranslateHttpLoader(P,"./assets/i18n/",".json")}ie.createTranslateLoader=k,ie.AppModule=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=x.\u0275\u0275defineNgModule({type:P,bootstrap:[v.AppComponent]});static#n=this.\u0275inj=x.\u0275\u0275defineInjector({providers:[{provide:c.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>n.__importStar(_(6548))),lineNumbersLoader:()=>Promise.resolve().then(()=>n.__importStar(_(1035))),languages:{json:()=>Promise.resolve().then(()=>n.__importStar(_(5454))),xml:()=>Promise.resolve().then(()=>n.__importStar(_(5149)))}}}],imports:[l.SharedModule,f.HttpClientModule,c.HighlightModule,D.RouterModule.forRoot(M,{useHash:!0}),y.TranslateModule.forRoot({loader:{provide:y.TranslateLoader,useFactory:k,deps:[f.HttpClient]}}),b.OAuthModule.forRoot(),C.NgxMatSelectSearchModule]})}return P})()},6938:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.CapabilityStatementComponent=void 0;const n=_(655),D=(_(7088),n.__importDefault(_(5101)));_(2919),_(9811);const y=_(6504),u=n.__importStar(_(9212)),v=n.__importStar(_(7088)),s=n.__importStar(_(6814)),m=n.__importStar(_(5940)),h=n.__importStar(_(5135));function o(d,g){1&d&&u.\u0275\u0275element(0,"mat-spinner")}function l(d,g){if(1&d&&u.\u0275\u0275element(0,"app-operation-result",4),2&d){const b=u.\u0275\u0275nextContext();u.\u0275\u0275property("operationResult",b.operationResult)}}ie.CapabilityStatementComponent=(()=>{class d{constructor(b){this.data=b,this.capabilityStatement=null,this.operationResult=null,this.loading=!0,this.client=b.getFhirClient()}ngAfterViewInit(){this.client.capabilityStatement().then(b=>{this.loading=!1,this.operationResult=null,this.editor=D.default.edit("code"),this.editor.setReadOnly(!0),this.editor.setValue(JSON.stringify(b,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(b=>{console.error(b),this.loading=!1,this.capabilityStatement=null,this.editor&&(this.editor.destroy(),this.editor.container.remove()),this.editor=null,this.operationResult=b.response?.data?y.OperationResult.fromOperationOutcome(b.response.data):y.OperationResult.fromMatchboxError(b.message)})}static#e=this.\u0275fac=function(C){return new(C||d)(u.\u0275\u0275directiveInject(v.FhirConfigService))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:d,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(C,x){1&C&&(u.\u0275\u0275elementStart(0,"div",0)(1,"h2"),u.\u0275\u0275text(2,"CapabilityStatement"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"p"),u.\u0275\u0275text(4," CapabilityStatement of the server: "),u.\u0275\u0275elementStart(5,"code"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(7,o,1,0,"mat-spinner",1),u.\u0275\u0275element(8,"div",2),u.\u0275\u0275template(9,l,1,1,"app-operation-result",3),u.\u0275\u0275elementEnd()),2&C&&(u.\u0275\u0275advance(6),u.\u0275\u0275textInterpolate(x.client.baseUrl),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",x.loading),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",x.operationResult))},dependencies:[s.NgIf,m.MatProgressSpinner,h.OperationResultComponent]})}return d})()},7088:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.FhirConfigService=void 0;const n=_(655),f=n.__importDefault(_(8907)),D=n.__importStar(_(9212));ie.FhirConfigService=(()=>{class u{constructor(){}changeFhirMicroService(s){localStorage.setItem("fhirMicroServer",s)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")}getFhirClient(){return new f.default({baseUrl:this.getFhirMicroService()})}static#e=this.\u0275fac=function(m){return new(m||u)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},7973:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.FhirPathService=void 0;const n=_(655),f=_(8921),D=n.__importStar(_(9212));ie.FhirPathService=(()=>{class u{evaluate(s,m){return(0,f.evaluate)(s,m,null)}evaluateToString(s,m){const h=this.evaluate(s,m);return h&&h instanceof Array&&1===h.length?h[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(m){return new(m||u)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},6459:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.HomeComponent=void 0;const n=_(655),f=n.__importDefault(_(4147)),D=n.__importStar(_(9212)),y=n.__importStar(_(5195)),u=n.__importStar(_(617)),v=n.__importStar(_(7988)),s=n.__importStar(_(5187));ie.HomeComponent=(()=>{class h{constructor(){this.version=f.default.version}static#e=this.\u0275fac=function(r){return new(r||h)};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:h,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,c){1&r&&(D.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"button",1)(3,"mat-icon"),D.\u0275\u0275text(4,"rule"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(5,"span"),D.\u0275\u0275text(6,"Validate resource"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(7,"button",2)(8,"mat-icon"),D.\u0275\u0275text(9,"info"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(10,"span"),D.\u0275\u0275text(11,"Installed IGs"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(12,"button",3)(13,"mat-icon"),D.\u0275\u0275text(14,"settings"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(15,"span"),D.\u0275\u0275text(16,"Settings"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(17,"p"),D.\u0275\u0275text(18,"Other tools:"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(19,"ul")(20,"li")(21,"a",4),D.\u0275\u0275text(22,"FHIRPath tester"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(23,"li")(24,"a",5),D.\u0275\u0275text(25,"FHIR Mapper"),D.\u0275\u0275elementEnd()()()(),D.\u0275\u0275elementStart(26,"mat-card-footer")(27,"p"),D.\u0275\u0275text(28),D.\u0275\u0275elementStart(29,"a",6),D.\u0275\u0275text(30," contact"),D.\u0275\u0275elementEnd()()()()),2&r&&(D.\u0275\u0275advance(28),D.\u0275\u0275textInterpolate1(" matchbox version: ",c.version," | "))},dependencies:[y.MatCard,y.MatCardContent,y.MatCardFooter,u.MatIcon,v.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 h})()},1037:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.IgsComponent=void 0;const n=_(655),D=(_(7088),_(6223)),u=(_(7973),_(6504)),v=n.__importStar(_(9212)),s=n.__importStar(_(7088)),m=n.__importStar(_(7973)),h=n.__importStar(_(6814)),o=n.__importStar(_(6223)),l=n.__importStar(_(4170)),r=n.__importStar(_(8582)),c=n.__importStar(_(5940)),d=n.__importStar(_(5135));function g(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"tr",9),v.\u0275\u0275listener("click",function(){const L=v.\u0275\u0275restoreView(I).$implicit,F=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(F.selectRow(L))}),v.\u0275\u0275elementStart(1,"td"),v.\u0275\u0275text(2),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(3,"td",10),v.\u0275\u0275text(4),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(5,"td",10),v.\u0275\u0275text(6),v.\u0275\u0275elementEnd()()}if(2&M){const I=k.$implicit;v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.packageId),v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.version),v.\u0275\u0275advance(2),v.\u0275\u0275textInterpolate(I.title)}}function b(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275text(1,"\xa0 "),v.\u0275\u0275elementStart(2,"button",6),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(I);const A=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(A.onUpdate())}),v.\u0275\u0275text(3,"Update"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementContainerEnd()}}function C(M,k){if(1&M){const I=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275text(1,"\xa0 "),v.\u0275\u0275elementStart(2,"button",6),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(I);const A=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(A.onDelete())}),v.\u0275\u0275text(3,"Delete"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementContainerEnd()}}function x(M,k){1&M&&(v.\u0275\u0275elementContainerStart(0),v.\u0275\u0275element(1,"mat-progress-spinner",11),v.\u0275\u0275elementContainerEnd())}function w(M,k){if(1&M&&v.\u0275\u0275element(0,"app-operation-result",14),2&M){const I=v.\u0275\u0275nextContext(2);v.\u0275\u0275property("operationResult",I.operationResult)}}function T(M,k){if(1&M&&(v.\u0275\u0275elementStart(0,"div",12)(1,"h2"),v.\u0275\u0275text(2,"Result of the last operation"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(3,w,1,1,"app-operation-result",13),v.\u0275\u0275elementEnd()),2&M){const I=v.\u0275\u0275nextContext();v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",I.operationResult)}}ie.IgsComponent=(()=>{class M{constructor(I,P){this.data=I,this.fhirPathService=P,this.update=!1,this.operationResult=null,this.query={_sort:"title",_count:1e4},this.client=I.getFhirClient(),this.addPackageId=new D.UntypedFormControl("",[D.Validators.required,D.Validators.minLength(1)]),this.addVersion=new D.UntypedFormControl("current",[D.Validators.required,D.Validators.minLength(1)]),this.addUrl=new D.UntypedFormControl("url"),this.search()}search(){this.client.search({resourceType:"ImplementationGuide",searchParams:this.query}).then(I=>{this.igs=I.entry.map(A=>A.resource),this.selection=void 0,this.addPackageId.setValue(""),this.addVersion.setValue(""),this.addUrl.setValue("")}).catch(I=>{this.errorMessage="Error accessing FHIR server",this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.message)}),this.update=!1}getPackageUrl(I){return this.fhirPathService.evaluateToString(I,"extension.where(url='http://ahdis.ch/fhir/extension/packageUrl').valueUri")}selectRow(I){this.selection=I,this.addPackageId.setValue(this.selection.packageId),this.addUrl.setValue(this.getPackageUrl(I));let P=this.selection.version;P&&P.endsWith(" (current)")&&(P=P.substring(0,P.length-10)),this.addVersion.setValue(P)}onSubmit(){if(this.errorMessage=null,this.addPackageId.invalid||this.addVersion.invalid)return void(this.errorMessage="Please provide package name");let I=this.addPackageId.value.trim();I.indexOf("#")>0&&(I.substring(0,I.indexOf("#")-1),this.addVersion.setValue(I.substring(0,I.indexOf("#")+1))),this.addPackageId.setValue(I);const P=this.addVersion.value.trim();this.addVersion.setValue(P),this.update=!0,this.client.create({resourceType:"ImplementationGuide",body:{resourceType:"ImplementationGuide",name:I,version:P,packageId:I,url:this.addUrl.value},options:{headers:{Prefer:"return=OperationOutcome"}}}).then(A=>{this.errorMessage="Created Implementation Guide "+this.addPackageId.value,this.operationResult=u.OperationResult.fromOperationOutcome(A),this.search()}).catch(A=>{this.errorMessage="Error creating Implementation Guide "+this.addPackageId.value,this.operationResult=A.response?.data?u.OperationResult.fromOperationOutcome(A.response.data):u.OperationResult.fromMatchboxError(A.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(I=>{this.errorMessage="Updated Implementation Guide "+this.selection.packageId,this.operationResult=u.OperationResult.fromOperationOutcome(I),this.search()}).catch(I=>{this.errorMessage="Error updating Implementation Guide "+this.selection.packageId,this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.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(I=>{this.errorMessage="Deleted Implementation Guide Resource "+this.selection.packageId,this.operationResult=u.OperationResult.fromOperationOutcome(I),this.search()}).catch(I=>{this.errorMessage="Error deleting Implementation Guide "+this.selection.packageId,this.operationResult=I.response?.data?u.OperationResult.fromOperationOutcome(I.response.data):u.OperationResult.fromMatchboxError(I.message),this.update=!1})}static#e=this.\u0275fac=function(P){return new(P||M)(v.\u0275\u0275directiveInject(s.FhirConfigService),v.\u0275\u0275directiveInject(m.FhirPathService))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:M,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(P,A){1&P&&(v.\u0275\u0275elementStart(0,"div",0)(1,"h2"),v.\u0275\u0275text(2,"ImplementationGuides installed on the server"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(3,"table")(4,"thead")(5,"tr")(6,"th"),v.\u0275\u0275text(7,"Package"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(8,"th"),v.\u0275\u0275text(9,"Version"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(10,"th"),v.\u0275\u0275text(11,"Title"),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(12,"tbody"),v.\u0275\u0275template(13,g,7,3,"tr",1),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(14,"div",2)(15,"h3"),v.\u0275\u0275text(16,"Install an ImplementationGuide"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(17,"mat-form-field")(18,"mat-label"),v.\u0275\u0275text(19,"PackageId"),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(20,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(21," \xa0 "),v.\u0275\u0275elementStart(22,"mat-form-field")(23,"mat-label"),v.\u0275\u0275text(24,"Version"),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(25,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(26," \xa0 "),v.\u0275\u0275elementStart(27,"mat-form-field",4)(28,"mat-label"),v.\u0275\u0275text(29,"Package url (optional, use only if not available through "),v.\u0275\u0275elementStart(30,"a",5),v.\u0275\u0275text(31,"packages.fhir.org"),v.\u0275\u0275elementEnd(),v.\u0275\u0275text(32,") "),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(33,"input",3),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(34,"button",6),v.\u0275\u0275listener("click",function(){return A.onSubmit()}),v.\u0275\u0275text(35,"Upload"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(36,b,4,0,"ng-container",7)(37,C,4,0,"ng-container",7),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(38,x,2,0,"ng-container",7)(39,T,4,1,"div",8)),2&P&&(v.\u0275\u0275advance(13),v.\u0275\u0275property("ngForOf",A.igs),v.\u0275\u0275advance(7),v.\u0275\u0275property("formControl",A.addPackageId),v.\u0275\u0275advance(5),v.\u0275\u0275property("formControl",A.addVersion),v.\u0275\u0275advance(8),v.\u0275\u0275property("formControl",A.addUrl),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",A.selection),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.selection),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.update),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngIf",A.errorMessage))},dependencies:[h.NgForOf,h.NgIf,o.DefaultValueAccessor,o.NgControlStatus,o.FormControlDirective,l.MatFormField,l.MatLabel,r.MatInput,c.MatProgressSpinner,d.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 M})()},5389:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.MappingLanguageComponent=void 0;const n=_(655),y=(_(9212),_(7088),_(6223)),u=_(1385),v=n.__importDefault(_(563)),s=n.__importStar(_(9212)),m=n.__importStar(_(7088)),h=n.__importStar(_(6814)),o=n.__importStar(_(6223)),l=n.__importStar(_(5195)),r=n.__importStar(_(4170)),c=n.__importStar(_(8582));function d(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function g(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,d,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",M.operationOutcome.issue)}}function b(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-hint"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1("Successfully created on server: ",M.structureMap.url," ")}}function C(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function x(T,S){if(1&T&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,C,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&T){const M=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",M.operationOutcomeTransformed.issue)}}class w{static#e=this.log=(0,v.default)("app:");constructor(S,M){this.cd=S,this.data=M,this.client=M.getFhirClient(),this.source=new y.UntypedFormControl,this.map=new y.UntypedFormControl,this.structureMap=null,this.map.valueChanges.pipe((0,u.debounceTime)(1e3),(0,u.distinctUntilChanged)()).subscribe(k=>{w.log("create StructureMap"),this.client.create({resourceType:"StructureMap",body:k,headers:{accept:"application/fhir+json","content-type":"text/fhir-mapping"}}).then(I=>{this.operationOutcome=null,this.structureMap=I,this.transform()}).catch(I=>{this.structureMap=null,this.operationOutcome=I.response.data})}),this.source.valueChanges.pipe((0,u.debounceTime)(1e3),(0,u.distinctUntilChanged)()).subscribe(k=>this.transform())}transform(){w.log("transform Source");let S=JSON.parse(this.source.value);null!=this.structureMap&&this.client.operation({name:"transform?source="+encodeURIComponent(this.structureMap.url),resourceType:"StructureMap",input:S}).then(M=>{this.operationOutcomeTransformed=null,this.transformed=M}).catch(M=>{this.transformed=null,this.operationOutcomeTransformed=M.response.data})}ngOnInit(){}fileSource(S){const M=new FileReader;if(S.target.files&&S.target.files.length){const[k]=S.target.files;M.readAsText(k),M.onload=()=>{this.source.setValue(M.result),this.cd.markForCheck()}}}fileChange(S){const M=new FileReader;if(S.target.files&&S.target.files.length){const[k]=S.target.files;M.readAsText(k),M.onload=()=>{this.map.setValue(M.result),this.cd.markForCheck()}}}static#t=this.\u0275fac=function(M){return new(M||w)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(m.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(M,k){1&M&&(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(P){return k.fileSource(P)}),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(P){return k.fileChange(P)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(18,"textarea",5),s.\u0275\u0275text(19," "),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(20,g,3,1,"mat-error",6)(21,b,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,x,3,1,"mat-error",6),s.\u0275\u0275elementStart(28,"pre"),s.\u0275\u0275text(29),s.\u0275\u0275pipe(30,"json"),s.\u0275\u0275elementEnd()()()),2&M&&(s.\u0275\u0275advance(8),s.\u0275\u0275property("formControl",k.source),s.\u0275\u0275advance(10),s.\u0275\u0275property("formControl",k.map),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngIf",k.operationOutcome),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",k.structureMap),s.\u0275\u0275advance(6),s.\u0275\u0275property("ngIf",k.operationOutcomeTransformed),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(30,6,k.transformed)))},dependencies:[h.NgForOf,h.NgIf,o.DefaultValueAccessor,o.NgControlStatus,o.FormControlDirective,l.MatCard,l.MatCardActions,l.MatCardContent,l.MatCardHeader,l.MatCardTitle,r.MatFormField,r.MatHint,r.MatError,c.MatInput,h.JsonPipe],styles:[".fixtextarea[_ngcontent-%COMP%]{display:inline}.card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}ie.MappingLanguageComponent=w},5135:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.OperationResultComponent=void 0;const n=_(655),f=_(9212),u=(_(6593),_(6504),n.__importStar(_(9212))),v=n.__importStar(_(6593)),s=n.__importStar(_(6814));function m(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"li",8),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&g){const C=b.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",C," ")}}function h(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"ol"),u.\u0275\u0275template(1,m,2,1,"li",7),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275property("ngForOf",C.sliceInfo)}}function o(g,b){if(1&g){const C=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"li",3),u.\u0275\u0275listener("click",function(){const T=u.\u0275\u0275restoreView(C).$implicit,S=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(S.select.emit(T))}),u.\u0275\u0275elementStart(1,"span",4),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(3,"span",5)(4,"br"),u.\u0275\u0275elementStart(5,"p"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(7,h,2,1,"ol",6),u.\u0275\u0275elementEnd()}if(2&g){const C=b.$implicit,x=u.\u0275\u0275nextContext(2);u.\u0275\u0275classMapInterpolate1("issue ",C.severity,""),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(C.severity),u.\u0275\u0275advance(1),u.\u0275\u0275property("innerHtml",x.getTemplateHeaderLine(C),u.\u0275\u0275sanitizeHtml),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(C.text),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",C.sliceInfo.length)}}const l=g=>({clickable:g});function r(g,b){if(1&g&&(u.\u0275\u0275elementStart(0,"ul",1),u.\u0275\u0275template(1,o,8,7,"li",2),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext();u.\u0275\u0275property("ngClass",u.\u0275\u0275pureFunction1(2,l,C.reactsToClick)),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngForOf",C.result.issues)}}const c=["fatal","error","warning","information"];ie.OperationResultComponent=(()=>{class g{set operationResult(C){this.result=C,this.result&&this.result.issues.length&&this.result.issues.sort(g.sortIssues)}constructor(C){this.sanitized=C,this.select=new f.EventEmitter,this.reactsToClick=!1}ngOnInit(){this.reactsToClick=this.select.observed}static sortIssues(C,x){const w=c.indexOf(C.severity)-c.indexOf(x.severity);return 0!==w?w:(C.line??0)-(x.line??0)}getTemplateHeaderLine(C){let x="";C.code&&(x+=` [${C.code}]`),x+=": ";const w=[];return C.line&&w.push(`line ${C.line}`),C.col&&w.push(`column ${C.col}`),C.expression&&w.push(`in ${C.expression}`),w.length&&(x+=w.join(", ")+":"),this.sanitized.bypassSecurityTrustHtml(x)}static#e=this.\u0275fac=function(x){return new(x||g)(u.\u0275\u0275directiveInject(v.DomSanitizer))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:g,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(x,w){1&x&&u.\u0275\u0275template(0,r,2,4,"ul",0),2&x&&u.\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:#cc3300;opacity:.4} .ace-highlight-error{position:absolute;background:#ff9966;opacity:.4} .ace-highlight-warning{position:absolute;background:#ffcc00;opacity:.4} .ace-highlight-information{position:absolute;background:#99cc33;opacity:.4}"]})}return g})()},3835:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.SettingsComponent=void 0;const n=_(655),f=n.__importDefault(_(4147)),D=n.__importStar(_(9212));ie.SettingsComponent=(()=>{class u{constructor(){this.version=f.default.version}static#e=this.\u0275fac=function(m){return new(m||u)};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:u,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(m,h){1&m&&(D.\u0275\u0275elementStart(0,"div",0)(1,"h2"),D.\u0275\u0275text(2,"Matchbox settings"),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(3,"h5"),D.\u0275\u0275text(4),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(5,"p")(6,"em"),D.\u0275\u0275text(7,"There are no configurable settings here right now"),D.\u0275\u0275elementEnd()(),D.\u0275\u0275elementStart(8,"p"),D.\u0275\u0275text(9," Source code: "),D.\u0275\u0275elementStart(10,"a",1),D.\u0275\u0275text(11,"github.com/ahdis/matchbox"),D.\u0275\u0275elementEnd()()()),2&m&&(D.\u0275\u0275advance(4),D.\u0275\u0275textInterpolate1("Version ",h.version,""))}})}return u})()},6208:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.SharedModule=void 0;const n=_(655),f=_(6814),D=_(6223),y=_(6593),u=_(4630),v=_(2296),s=_(5195),m=_(5986),h=_(3680),o=_(8034),l=_(6385),r=_(4170),c=_(617),d=_(8582),g=_(7988),b=_(1476),C=_(7466),x=_(8525),w=_(2599),T=_(2202),S=_(5313),M=_(4104),k=_(1274),I=_(9515),P=_(5940),A=n.__importStar(_(9212)),L=[f.CommonModule,y.BrowserModule,D.FormsModule,D.ReactiveFormsModule,I.TranslateModule,u.MatAutocompleteModule,v.MatButtonModule,s.MatCardModule,m.MatCheckboxModule,l.MatDividerModule,r.MatFormFieldModule,c.MatIconModule,d.MatInputModule,g.MatMenuModule,b.MatPaginatorModule,x.MatSelectModule,T.MatSliderModule,w.MatSlideToggleModule,S.MatTableModule,k.MatToolbarModule,M.MatTabsModule,o.MatDatepickerModule,h.MatNativeDateModule,C.MatRadioModule,P.MatProgressSpinnerModule];ie.SharedModule=(()=>{class U{static#e=this.\u0275fac=function(ee){return new(ee||U)};static#t=this.\u0275mod=A.\u0275\u0275defineNgModule({type:U});static#n=this.\u0275inj=A.\u0275\u0275defineInjector({imports:[L,f.CommonModule,y.BrowserModule,D.FormsModule,D.ReactiveFormsModule,I.TranslateModule,u.MatAutocompleteModule,v.MatButtonModule,s.MatCardModule,m.MatCheckboxModule,l.MatDividerModule,r.MatFormFieldModule,c.MatIconModule,d.MatInputModule,g.MatMenuModule,b.MatPaginatorModule,x.MatSelectModule,T.MatSliderModule,w.MatSlideToggleModule,S.MatTableModule,k.MatToolbarModule,M.MatTabsModule,o.MatDatepickerModule,h.MatNativeDateModule,C.MatRadioModule,P.MatProgressSpinnerModule]})}return U})()},7154:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.TransformComponent=void 0;const n=_(655),y=(_(9212),_(7088),_(6223)),u=_(1385),v=n.__importStar(_(9212)),s=n.__importStar(_(7088)),m=n.__importStar(_(6814)),h=n.__importStar(_(6223)),o=n.__importStar(_(3680)),l=n.__importStar(_(5195)),r=n.__importStar(_(4170)),c=n.__importStar(_(8525)),d=n.__importStar(_(9949)),g=n.__importStar(_(9009));function b(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"mat-option",7),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;v.\u0275\u0275propertyInterpolate("value",M.url),v.\u0275\u0275advance(1),v.\u0275\u0275textInterpolate1("",M.name," ")}}function C(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"li"),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&T){const M=S.$implicit;v.\u0275\u0275advance(1),v.\u0275\u0275textInterpolate1(" ",M.diagnostics," ")}}function x(T,S){if(1&T&&(v.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),v.\u0275\u0275template(2,C,2,1,"li",8),v.\u0275\u0275elementEnd()()),2&T){const M=v.\u0275\u0275nextContext();v.\u0275\u0275advance(2),v.\u0275\u0275property("ngForOf",M.operationOutcomeTransformed.issue)}}ie.TransformComponent=(()=>{class T{constructor(M,k){this.data=M,this.cd=k,this.query={_summary:"true",_sort:"name"},this.panelOpenState=!1,this.client=M.getFhirClient(),this.client.search({resourceType:"StructureMap",searchParams:this.query}).then(I=>(this.setMaps(I),I)),this.selectedMap=new y.UntypedFormControl,this.selectedMap.valueChanges.pipe((0,u.debounceTime)(400),(0,u.distinctUntilChanged)()).subscribe(I=>{this.selectedUrl=I,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(M=>{this.operationOutcomeTransformed=null,this.transformed=M}).catch(M=>{this.transformed=null,this.operationOutcomeTransformed=M.response.data})}getSource(){return this.source}getMapped(){return JSON.stringify(this.transformed,null,2)}setMaps(M){this.structureMaps=M.entry.map(k=>k.resource)}ngOnInit(){}addFile(M){this.transformed=null,("application/json"===M.contentType||M.name.endsWith(".json"))&&(this.mimeType="application/fhir+json"),("application/xml"===M.contentType||M.name.endsWith(".xml"))&&(this.mimeType="application/fhir+xml");const k=new FileReader;k.readAsText(M.blob),k.onload=()=>{this.source=k.result}}static#e=this.\u0275fac=function(k){return new(k||T)(v.\u0275\u0275directiveInject(s.FhirConfigService),v.\u0275\u0275directiveInject(v.ChangeDetectorRef))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:T,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(k,I){1&k&&(v.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),v.\u0275\u0275text(4),v.\u0275\u0275elementEnd()(),v.\u0275\u0275elementStart(5,"div"),v.\u0275\u0275text(6,"Resource"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(7,"app-upload",1),v.\u0275\u0275listener("addFiles",function(A){return I.addFile(A)}),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(8,"pre"),v.\u0275\u0275element(9,"code",2),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-form-field",3)(12,"mat-label"),v.\u0275\u0275text(13,"Map for transforming"),v.\u0275\u0275elementEnd(),v.\u0275\u0275elementStart(14,"mat-select",4),v.\u0275\u0275template(15,b,2,2,"mat-option",5),v.\u0275\u0275elementEnd()()(),v.\u0275\u0275elementStart(16,"mat-card",0)(17,"mat-card-content")(18,"mat-card-header")(19,"mat-card-title"),v.\u0275\u0275text(20,"Transformed"),v.\u0275\u0275elementEnd()(),v.\u0275\u0275template(21,x,3,1,"mat-error",6),v.\u0275\u0275elementStart(22,"pre"),v.\u0275\u0275element(23,"code",2),v.\u0275\u0275elementEnd()()()),2&k&&(v.\u0275\u0275advance(4),v.\u0275\u0275textInterpolate(I.client.baseUrl),v.\u0275\u0275advance(5),v.\u0275\u0275property("highlight",I.getSource())("lineNumbers",!0),v.\u0275\u0275advance(5),v.\u0275\u0275property("formControl",I.selectedMap),v.\u0275\u0275advance(1),v.\u0275\u0275property("ngForOf",I.structureMaps),v.\u0275\u0275advance(6),v.\u0275\u0275property("ngIf",I.operationOutcomeTransformed),v.\u0275\u0275advance(2),v.\u0275\u0275property("highlight",I.getMapped())("lineNumbers",!0))},dependencies:[m.NgForOf,m.NgIf,h.NgControlStatus,h.FormControlDirective,o.MatOption,l.MatCard,l.MatCardContent,l.MatCardHeader,l.MatCardTitle,r.MatFormField,r.MatLabel,r.MatError,c.MatSelect,d.Highlight,g.UploadComponent],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return T})()},9009:(Me,ie,_)=>{"use strict";var n=_(7156).default;Object.defineProperty(ie,"__esModule",{value:!0}),ie.UploadComponent=void 0;const f=_(655),D=_(9212),y=f.__importStar(_(9212)),u=f.__importStar(_(2296)),v=f.__importStar(_(617));ie.UploadComponent=(()=>{class m{constructor(){this.addFiles=new D.EventEmitter,this.dragCounter=0}checkStatus(o){if(!o.ok)throw new Error(`HTTP ${o.status} - ${o.statusText}`);return o}onDrop(o){o.preventDefault(),this.dragCounter=0;const l=o.target.files||o.dataTransfer.items;if(l)for(let c=0;c0))},dependencies:[u.MatButton,v.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 m})()},6504:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.Issue=ie.OperationResult=void 0;class _{constructor(D,y){this.operationOutcome=y,this.issues=D??[]}static fromOperationOutcome(D){const y=D.issue?.map(u=>n.fromOoIssue(u));return new _(y,D)}static fromMatchboxError(D){const y=new _;return y.issues.push(new n("fatal","matchbox",D,void 0,void 0,void 0,void 0)),y}}ie.OperationResult=_;class n{constructor(D,y,u,v,s,m,h){this.sliceInfo=[],this.severity=D,this.code=y,this.text=u,this.expression=v,this.line=s,this.col=m,this.sliceInfo=h??[]}static fromOoIssue(D){let y;D.expression&&D.expression.length?y=D.expression[0]:D.location&&D.location.length&&(y=D.location[0]);const u=D.diagnostics?.indexOf("Slice info: 1.)");let v,s=null;return u>=0?(v=D.diagnostics.substring(0,u).trimEnd(),s=D.diagnostics.substring(u+15).trimStart().split(/\d+[.][)]/)):v=D.diagnostics,new n(D.severity,D.code,v,y,n.getLineNo(D),n.getColNo(D),s)}static getLineNo(D){const y=n.getExtensionIntValue(D,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line");return y&&y>0?y:void 0}static getColNo(D){const y=n.getExtensionIntValue(D,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col");return y&&y>0?y:void 0}static getExtensionIntValue(D,y){if(D.extension)for(const u of D.extension)if(u.url===y)return u.valueInteger}}ie.Issue=n},9936:(Me,ie,_)=>{"use strict";var n=_(7156).default;Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidateComponent=void 0;const f=_(655),u=(_(9212),_(7088),f.__importDefault(_(827))),v=f.__importDefault(_(1328)),s=f.__importDefault(_(5101)),m=_(5892),h=_(3538),o=_(6504),l=_(6223),r=f.__importStar(_(9212)),c=f.__importStar(_(7088)),d=f.__importStar(_(6814)),g=f.__importStar(_(6223)),b=f.__importStar(_(3680)),C=f.__importStar(_(2296)),x=f.__importStar(_(5195)),w=f.__importStar(_(4170)),T=f.__importStar(_(617)),S=f.__importStar(_(8582)),M=f.__importStar(_(7988)),k=f.__importStar(_(8525)),I=f.__importStar(_(5940)),P=f.__importStar(_(3427)),A=f.__importStar(_(5135)),L=f.__importStar(_(9009));function F(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275text(1," a "),r.\u0275\u0275elementStart(2,"span"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(4,", from "),r.\u0275\u0275elementStart(5,"em"),r.\u0275\u0275text(6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.currentResource.resourceType),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.currentResource.filename)}}function R(Te,qe){1&Te&&(r.\u0275\u0275elementStart(0,"em"),r.\u0275\u0275text(1,"None"),r.\u0275\u0275elementEnd())}function U(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"mat-option",22),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275property("value",Ee),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",Ee," ")}}function W(Te,qe){1&Te&&(r.\u0275\u0275elementStart(0,"mat-error"),r.\u0275\u0275text(1,"Please choose a profile"),r.\u0275\u0275elementEnd())}function ne(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"mat-option",22),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275property("value",Ee),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",Ee," ")}}function ee(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"p",23)(1,"mat-icon"),r.\u0275\u0275text(2,"report"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd()),2&Te){const Ee=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1(" Error: ",Ee.errorMessage,"")}}function j(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"app-upload",12),r.\u0275\u0275listener("addFiles",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.addFile(Ce))}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(2,"p",13),r.\u0275\u0275text(3," Current resource loaded: "),r.\u0275\u0275template(4,F,7,2,"ng-container",3)(5,R,2,0,"em",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"div",14)(7,"mat-form-field")(8,"mat-label"),r.\u0275\u0275text(9,"Validation profile (required)"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-select",15),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.selectedProfile=Ce)}),r.\u0275\u0275elementStart(11,"mat-option")(12,"ngx-mat-select-search",16),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.profileFilter=Ce)})("ngModelChange",function(){r.\u0275\u0275restoreView(Ee);const Ce=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ce.updateProfileFilter())}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(13,U,2,2,"mat-option",17),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(14,W,2,0,"mat-error",3),r.\u0275\u0275elementStart(15,"mat-hint"),r.\u0275\u0275text(16,"A profile is required to validate against."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(17,"div",14)(18,"mat-form-field")(19,"mat-label"),r.\u0275\u0275text(20,"Validation IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(21,"mat-select",18),r.\u0275\u0275listener("ngModelChange",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.selectedIg=Ce)}),r.\u0275\u0275elementStart(22,"mat-option",19)(23,"em"),r.\u0275\u0275text(24,"Automatic selection"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(25,ne,2,2,"mat-option",17),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(26,"mat-hint"),r.\u0275\u0275text(27,"A specific IG version may be specified."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(28,"button",20),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Ee);const Ce=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ce.onValidate())}),r.\u0275\u0275text(29,"Validate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(30,ee,4,1,"p",21),r.\u0275\u0275elementContainerEnd()}if(2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275property("ngIf",Ee.currentResource),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!Ee.currentResource),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngModel",Ee.selectedProfile),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngModel",Ee.profileFilter),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Ee.filteredProfiles),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ee.profileControl.hasError("required")),r.\u0275\u0275advance(7),r.\u0275\u0275property("ngModel",Ee.selectedIg),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",Ee.installedIgs),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngIf",Ee.errorMessage)}}function B(Te,qe){if(1&Te&&(r.\u0275\u0275elementStart(0,"div",14)(1,"mat-form-field",25)(2,"mat-label"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(4,"input",26),r.\u0275\u0275elementEnd()()),2&Te){const Ee=qe.$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.param.name),r.\u0275\u0275advance(1),r.\u0275\u0275property("formControl",Ee.formControl)}}function $(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,B,5,2,"div",24),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Ee.validatorSettings)}}function Z(Te,qe){1&Te&&r.\u0275\u0275element(0,"mat-spinner",32)}function H(Te,qe){if(1&Te&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"mat-icon",33),r.\u0275\u0275text(2,"error"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275element(4,"br"),r.\u0275\u0275elementStart(5,"mat-icon",34),r.\u0275\u0275text(6,"warning"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(7),r.\u0275\u0275element(8,"br"),r.\u0275\u0275elementStart(9,"mat-icon",35),r.\u0275\u0275text(10,"info"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(11),r.\u0275\u0275elementContainerEnd()),2&Te){const Ee=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(Ee.result?Ee.getErrors():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.result?Ee.getWarnings():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1("",Ee.result?Ee.getInfos():"-"," ")}}const te=Te=>({selected:Te});function ue(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"tr",27),r.\u0275\u0275listener("click",function(){const ge=r.\u0275\u0275restoreView(Ee).$implicit,Ae=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ae.show(ge))}),r.\u0275\u0275elementStart(1,"td",28),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",28),r.\u0275\u0275text(9),r.\u0275\u0275element(10,"br"),r.\u0275\u0275text(11),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"td",29),r.\u0275\u0275template(13,Z,1,0,"mat-spinner",10)(14,H,12,3,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(15,"td",30)(16,"mat-icon",31),r.\u0275\u0275listener("click",function(){const ge=r.\u0275\u0275restoreView(Ee).$implicit,Ae=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ae.removeEntryFromHistory(ge))}),r.\u0275\u0275text(17,"delete"),r.\u0275\u0275elementEnd()()()}if(2&Te){const Ee=qe.$implicit,Ie=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(10,te,Ee===Ie.selectedEntry)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",Ee.filename,""),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind2(6,7,Ee.date,"HH:mm:ss")),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1(" ",Ee.selectedProfile,""),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",Ee.ig," "),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",Ee.loading),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!Ee.loading)}}function ye(Te,qe){if(1&Te&&(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&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.filename),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.selectedProfile),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ee.selectedEntry.ig)}}function Ge(Te,qe){if(1&Te){const Ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"app-operation-result",36),r.\u0275\u0275listener("select",function(Ce){r.\u0275\u0275restoreView(Ee);const ge=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ge.highlightIssue(Ce))}),r.\u0275\u0275elementEnd()}if(2&Te){const Ee=r.\u0275\u0275nextContext();r.\u0275\u0275property("operationResult",Ee.selectedEntry.result)}}function $e(Te,qe){1&Te&&r.\u0275\u0275element(0,"mat-spinner",32)}ie.ValidateComponent=(()=>{class Te{constructor(Ee,Ie){this.cd=Ie,this.validationEntries=new Array,this.selectedEntry=null,this.capabilityStatement=null,this.installedIgs=new Set,this.supportedProfiles=new Set,this.validatorSettings=new Array,this.filteredProfiles=new Set,this.profileFilter="",this.selectedIg=null,this.profileControl=new l.FormControl(null,l.Validators.required),this.showSettings=!1,this.currentResource=null,this.errorMessage=null,this.client=Ee.getFhirClient(),this.client.capabilityStatement().then(Ce=>{this.capabilityStatement=Ce,this.client.read({resourceType:"OperationDefinition",id:"-s-validate"}).then(ge=>{ge.parameter?.forEach(Ae=>{"profile"==Ae.name&&(Ae.targetProfile.forEach(q=>this.supportedProfiles.add(q)),this.updateProfileFilter())}),ge.parameter.filter(Ae=>"in"==Ae.use&&"resource"!=Ae.name&&"profile"!=Ae.name&&"ig"!=Ae.name).forEach(Ae=>{this.validatorSettings.push(new h.ValidationParameter(Ae))})})}).catch(Ce=>{this.errorMessage="Error accessing FHIR server"}),this.client.search({resourceType:"ImplementationGuide",searchParams:{_sort:"title",_count:1e3}}).then(Ce=>{Ce.entry.map(ge=>ge.resource).map(ge=>`${ge.packageId}#${ge.version}`).sort().forEach(ge=>this.installedIgs.add(ge))}).catch(Ce=>{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({maxLines:1e4,tabSize:4,wrap:!0,useWorker:!1,useSvgGutterIcons:!1})}addFile(Ee){if(Ee.name.endsWith(".tgz"))try{this.addPackage(Ee.blob)}catch(Ie){console.error(Ie)}else{let Ie=null;try{this.selectedProfile=null,this.selectedIg=null;const Ce=new FileReader;Ce.readAsText(Ee.blob),Ce.onload=()=>{this.cd.markForCheck(),Ie=new m.ValidationEntry(Ee.blob.name,Ce.result,Ee.contentType,null),this.currentResource=new Et(Ee.name,Ee.contentType,Ce.result,Ie.resourceType),Ie.selectedProfile&&(this.selectedProfile=Ie.selectedProfile),this.validationEntries.unshift(Ie),this.show(Ie),this.validate(Ie)}}catch(Ce){console.error(Ce),Ie&&(Ie.result=o.OperationResult.fromMatchboxError("Error while processing the resource for validation: "+Ce.message))}}}onValidateIg(){let Ee="";null!=this.selectedIg&&(Ee=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg,Ee=Ee.replace("#","-"),this.fetchData(this.client.baseUrl+"/ImplementationGuide/"+Ee))}fetchData(Ee){var Ie=this;return n(function*(){const ge=yield(yield fetch(Ee,{cache:"no-store",headers:{Accept:"application/gzip"}})).blob();Ie.addPackage(ge)})()}addPackage(Ee){this.selectedProfile=null,this.selectedIg=null;const Ie=new FileReader;Ie.readAsArrayBuffer(Ee),Ie.onload=()=>{if(this.package=Ie.result,this.cd.markForCheck(),null!=this.package){const Ce=u.default.inflate(new Uint8Array(this.package)),ge=new Array;let Ae=null,q=null;const Re=this;(0,v.default)(Ce.buffer).then(function(ke){ge.forEach(Ke=>{Re.validationEntries.unshift(Ke),Re.validate(Ke)})},function(ke){},function(ke){if(ke.name?.indexOf("package.json")>=0){let Ke=new TextDecoder("utf-8"),me=JSON.parse(Ke.decode(ke.buffer));Ae=me.fhirVersions[0],q=me.name+"#"+me.version}if(ke.name?.indexOf("example")>=0&&-1==ke.name?.indexOf(".index.json")){let Ke=ke.name;Ke.startsWith("package/example/")&&(Ke=Ke.substring(16)),Ke.startsWith("example/")&&(Ke=Ke.substring(8));let me=new TextDecoder("utf-8"),Pe=JSON.parse(me.decode(ke.buffer)),Ne=Pe.meta?.profile,Be=new m.ValidationEntry(Ke,JSON.stringify(Pe,null,2),"application/fhir+json",Ne);ge.push(Be)}})}}}onClear(){this.selectedProfile=null,this.selectedIg=null,this.show(void 0),this.validationEntries.splice(0,this.validationEntries.length)}validate(Ee){if(null!=this.selectedProfile&&(Ee.profiles.includes(this.selectedProfile)||Ee.profiles.push(this.selectedProfile),Ee.selectedProfile=this.selectedProfile),null!=this.selectedIg&&(Ee.ig=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg),!Ee.selectedProfile)return void console.error("No profile selected, won't run validation");const Ie=new URLSearchParams;Ie.set("profile",Ee.selectedProfile),Ee.ig&&Ie.set("ig",Ee.ig);for(const Ce of this.validatorSettings)null!=Ce.formControl.value&&Ce.formControl.value.length>0&&Ie.set(Ce.param.name,Ce.formControl.value);Ee.loading=!0,this.client.operation({name:"validate?"+Ie.toString(),resourceType:void 0,input:Ee.resource,options:{headers:{accept:"application/fhir+json","content-type":Ee.mimetype}}}).then(Ce=>{Ee.loading=!1,Ee.setOperationOutcome(Ce),Ee===this.selectedEntry&&this.updateEditorIssues()}).catch(Ce=>{Ee.loading=!1,Ee.result=o.OperationResult.fromMatchboxError("Error while sending the validation request: "+Ce.message),console.error(Ce)})}show(Ee){if(this.errorMessage=null,this.selectedEntry=Ee,!Ee)return this.editor.setValue("",-1),void this.updateEditorIssues();this.currentResource=new Et(Ee.filename,Ee.mimetype,Ee.resource,Ee.resourceType),this.editor.setValue(Ee.resource,-1),"application/fhir+json"===Ee.mimetype?this.editor.getSession().setMode("ace/mode/json"):"application/fhir+xml"===Ee.mimetype&&this.editor.getSession().setMode("ace/mode/xml"),this.updateEditorIssues()}removeEntryFromHistory(Ee){Ee===this.selectedEntry&&this.show(null);const Ie=this.validationEntries.indexOf(Ee);this.validationEntries.splice(Ie,1)}onValidate(){let Ee=new m.ValidationEntry(this.currentResource.filename,this.currentResource.content,this.currentResource.contentType,[this.selectedProfile]);Ee.ig=this.selectedIg,this.validationEntries.unshift(Ee),this.validate(Ee)}toggleSettings(){this.showSettings=!this.showSettings}updateEditorIssues(){if(this.editor.session.clearAnnotations(),!this.selectedEntry?.result)return;const Ee=this.selectedEntry.result.issues.filter(Ie=>Ie.line).map(Ie=>{let Ce;switch(Ie.severity){case"fatal":case"error":Ce="error";break;case"warning":Ce="warning";break;case"information":Ce="info"}return{row:Ie.line-1,column:Ie.col,text:Ie.text,type:Ce}});this.editor.session.setAnnotations(Ee)}highlightIssue(Ee){Ee.line&&(this.editor.gotoLine(Ee.line,Ee.col,!0),this.editor.scrollToLine(Ee.line,!1,!0,()=>{}),this.editor.resize(!0))}updateProfileFilter(){this.filteredProfiles=new Set([...this.supportedProfiles].filter(Ee=>Ee.includes(this.profileFilter)))}static#e=this.\u0275fac=function(Ie){return new(Ie||Te)(r.\u0275\u0275directiveInject(c.FhirConfigService),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))};static#t=this.\u0275cmp=r.\u0275\u0275defineComponent({type:Te,selectors:[["app-validate"]],decls:37,vars:6,consts:[[1,"row"],[1,"card-maps","white-block"],["mat-menu-item","",1,"setting",3,"click"],[4,"ngIf"],[1,"mat-table"],[1,"mat-header-row"],[1,"mat-header-cell"],["class","mat-row",3,"ngClass","click",4,"ngFor","ngForOf"],["mat-raised-button","","type","submit",3,"click"],[3,"operationResult","select",4,"ngIf"],["diameter","30",4,"ngIf"],["id","editor"],[3,"addFiles"],[1,"current"],[1,"form-field-group"],["name","selectProfile","placeholder","Validate against specific Profile",3,"ngModel","ngModelChange"],["placeholderLabel","Find a profile\u2026","noEntriesFoundLabel","'no matching profile found'",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","selectIg","placeholder","Validate against specific Implementation Guide",3,"ngModel","ngModelChange"],["value",""],["color","primary","mat-raised-button","",3,"click"],["class","error",4,"ngIf"],[3,"value"],[1,"error"],["class","form-field-group",4,"ngFor","ngForOf"],[1,"column50"],["matInput","",3,"formControl"],[1,"mat-row",3,"ngClass","click"],[1,"mat-cell"],[1,"issues","mat-cell"],[1,"actions","mat-cell"],["aria-label","Remove","title","Remove from history",3,"click"],["diameter","30"],["inline","",1,"error"],["inline","",1,"warning"],["inline","",1,"info"],[3,"operationResult","select"]],template:function(Ie,Ce){1&Ie&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),r.\u0275\u0275listener("click",function(){return Ce.toggleSettings()}),r.\u0275\u0275elementStart(3,"mat-icon"),r.\u0275\u0275text(4,"settings"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"h2"),r.\u0275\u0275text(6,"Validate FHIR Resource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(7,j,31,9,"ng-container",3)(8,$,2,1,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"div",1)(10,"h2"),r.\u0275\u0275text(11,"Validation history"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"table",4)(13,"tr",5)(14,"th",6),r.\u0275\u0275text(15,"Resource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(16,"th",6),r.\u0275\u0275text(17,"Profile/IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(18,"th",6),r.\u0275\u0275text(19,"Issues"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(20,"th",6),r.\u0275\u0275text(21,"Actions"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(22,ue,18,12,"tr",7),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(23,"mat-card-actions")(24,"button",8),r.\u0275\u0275listener("click",function(){return Ce.onClear()}),r.\u0275\u0275text(25,"Clear history"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(26,"div",0)(27,"div",1)(28,"h2"),r.\u0275\u0275text(29,"Result of the validation"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(30,ye,13,3,"dl",3)(31,Ge,1,1,"app-operation-result",9)(32,$e,1,0,"mat-spinner",10),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(33,"div",1)(34,"h2"),r.\u0275\u0275text(35,"Document content"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(36,"div",11),r.\u0275\u0275elementEnd()()),2&Ie&&(r.\u0275\u0275advance(7),r.\u0275\u0275property("ngIf",!Ce.showSettings),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.showSettings),r.\u0275\u0275advance(14),r.\u0275\u0275property("ngForOf",Ce.validationEntries),r.\u0275\u0275advance(8),r.\u0275\u0275property("ngIf",Ce.selectedEntry),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.selectedEntry&&Ce.selectedEntry.result),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ce.selectedEntry&&Ce.selectedEntry.loading))},dependencies:[d.NgClass,d.NgForOf,d.NgIf,g.DefaultValueAccessor,g.NgControlStatus,g.NgModel,g.FormControlDirective,b.MatOption,C.MatButton,x.MatCardActions,w.MatFormField,w.MatLabel,w.MatHint,w.MatError,T.MatIcon,S.MatInput,M.MatMenuItem,k.MatSelect,I.MatProgressSpinner,P.MatSelectSearchComponent,A.OperationResultComponent,L.UploadComponent,d.DatePipe],styles:["[_nghost-%COMP%]{margin:0 auto;min-width:1400px;width:100%}button.setting[_ngcontent-%COMP%]{float:right}button.setting[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}p.current[_ngcontent-%COMP%]{margin:10px 0}p.current[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500}mat-hint[_ngcontent-%COMP%]{color:#7db99e}p.error[_ngcontent-%COMP%]{color:#d9534f;margin-top:20px}p.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-self:stretch;margin:1em auto;min-width:1400px;width:100%;justify-content:space-evenly}.row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:46%}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:#d8f1e6}table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%]{font-size:12px;line-height:12px;color:#818181}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:12px;height:12px;margin-right:2px;vertical-align:bottom}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#d9534f}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.warning[_ngcontent-%COMP%]{color:#f0ad4e}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#4ca8de}table[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px;color:#d9534f}.form-field-group[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem;display:flex;flex-direction:row}.form-field-group[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.card-maps[_ngcontent-%COMP%]{margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]})}return Te})();class Et{constructor(qe,Ee,Ie,Ce){this.filename=qe,this.contentType=Ee,this.content=Ie,this.resourceType=Ce}}},5892:(Me,ie,_)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidationEntry=void 0;const n=_(6504);ie.ValidationEntry=class f{constructor(y,u,v,s){this.profiles=[],this.loading=!1,this.filename=y,this.resource=u,this.mimetype=v||(y.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(y=>"error"===y.severity||"fatal"===y.severity).length}getWarnings(){if(this.result)return this.result.issues.filter(y=>"warning"===y.severity).length}getInfos(){if(this.result)return this.result.issues.filter(y=>"information"===y.severity).length}setOperationOutcome(y){this.result=n.OperationResult.fromOperationOutcome(y)}extractJsonInfo(){const y=JSON.parse(this.resource);y?.resourceType&&(this.resourceType=y.resourceType,this.resourceId=y.id),y.meta?.profile&&this.profiles.push(...y.meta.profile)}extractXmlInfo(){let y=this.resource.indexOf("",u);if(u0&&(s=s.substring(0,m)),m=s.indexOf(":"),m>0&&(s=s.substring(m+1)),this.resourceType=s;let h=this.resource.indexOf("profile",v);if(h>0){let o=this.resource.indexOf('value="',h)+7,l=this.resource.indexOf('"',o);o{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.ValidationParameter=void 0;const n=_(6223);ie.ValidationParameter=class f{constructor(y){this.param=y,this.formControl=new n.UntypedFormControl}isValueSet(){return null!=this.valueBoolean||null!=this.valueString}}},553:(Me,ie)=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.environment=void 0,ie.environment={production:!0}},4913:(Me,ie,_)=>{"use strict";const D=_(655).__importStar(_(6593)),y=_(9212),u=_(8629);_(553).environment.production&&(0,y.enableProdMode)(),D.platformBrowser().bootstrapModule(u.AppModule).catch(s=>console.log(s))},5101:(Me,ie,_)=>{Me=_.nmd(Me),function(){var f=function(){return this}();!f&&typeof window<"u"&&(f=window);var D=function(h,o,l){"string"==typeof h?(2==arguments.length&&(l=o),D.modules[h]||(D.payloads[h]=l,D.modules[h]=null)):D.original?D.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};D.modules={},D.payloads={};var y=function(h,o,l){if("string"==typeof o){var r=s(h,o);if(null!=r)return l&&l(),r}else if("[object Array]"===Object.prototype.toString.call(o)){for(var c=[],d=0,g=o.length;ds.length)&&(v=s.length);var m=s.indexOf(u,v-=u.length);return-1!==m&&m===v}),String.prototype.repeat||y(String.prototype,"repeat",function(u){for(var v="",s=this;u>0;)1&u&&(v+=s),(u>>=1)&&(s+=s);return v}),String.prototype.includes||y(String.prototype,"includes",function(u,v){return-1!=this.indexOf(u,v)}),Object.assign||(Object.assign=function(u){if(null==u)throw new TypeError("Cannot convert undefined or null to object");for(var v=Object(u),s=1;s>>0,h=arguments[1]>>0,o=h<0?Math.max(s+h,0):Math.min(h,s),l=arguments[2],r=void 0===l?s:l>>0,c=r<0?Math.max(s+r,0):Math.min(r,s);o0;)1&s&&(m+=v),(s>>=1)&&(v+=v);return m};var y=/^\s\s*/,u=/\s\s*$/;f.stringTrimLeft=function(v){return v.replace(y,"")},f.stringTrimRight=function(v){return v.replace(u,"")},f.copyObject=function(v){var s={};for(var m in v)s[m]=v[m];return s},f.copyArray=function(v){for(var s=[],m=0,h=v.length;m65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(n,f,D){"use strict";f.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},f.getOS=function(){return f.isMac?f.OS.MAC:f.isLinux?f.OS.LINUX:f.OS.WINDOWS};var y="object"==typeof navigator?navigator:{},u=(/mac|win|linux/i.exec(y.platform)||["other"])[0].toLowerCase(),v=y.userAgent||"",s=y.appName||"";f.isWin="win"==u,f.isMac="mac"==u,f.isLinux="linux"==u,f.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((v.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((v.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),f.isOldIE=f.isIE&&f.isIE<9,f.isGecko=f.isMozilla=v.match(/ Gecko\/\d+/),f.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),f.isWebKit=parseFloat(v.split("WebKit/")[1])||void 0,f.isChrome=parseFloat(v.split(" Chrome/")[1])||void 0,f.isSafari=parseFloat(v.split(" Safari/")[1])&&!f.isChrome||void 0,f.isEdge=parseFloat(v.split(" Edge/")[1])||void 0,f.isAIR=v.indexOf("AdobeAIR")>=0,f.isAndroid=v.indexOf("Android")>=0,f.isChromeOS=v.indexOf(" CrOS ")>=0,f.isIOS=/iPad|iPhone|iPod/.test(v)&&!window.MSStream,f.isIOS&&(f.isMac=!0),f.isMobile=f.isIOS||f.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("./useragent");f.buildDom=function l(r,c,d){if("string"==typeof r&&r){var g=document.createTextNode(r);return c&&c.appendChild(g),g}if(!Array.isArray(r))return r&&r.appendChild&&c&&c.appendChild(r),r;if("string"!=typeof r[0]||!r[0]){for(var b=[],C=0;C"u")){if(s)if(c)m();else if(!1===c)return s.push([l,r]);if(!v){var d=c;c&&c.getRootNode?(!(d=c.getRootNode())||d==c)&&(d=document):d=document;var g=d.ownerDocument||d;if(r&&f.hasCssString(r,d))return null;r&&(l+="\n/*# sourceURL=ace/css/"+r+" */");var b=f.createElement("style");b.appendChild(g.createTextNode(l)),r&&(b.id=r),d==g&&(d=f.getDocumentHead(g)),d.insertBefore(b,d.firstChild)}}}if(f.useStrictCSP=function(l){v=l,0==l?m():s||(s=[])},f.importCssString=h,f.importCssStylsheet=function(l,r){f.buildDom(["link",{rel:"stylesheet",href:l}],f.getDocumentHead(r))},f.scrollbarWidth=function(l){var r=f.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var c=f.createElement("ace_outer"),d=c.style;d.position="absolute",d.left="-10000px",d.overflow="hidden",d.width="200px",d.minWidth="0px",d.height="150px",d.display="block",c.appendChild(r);var g=l&&l.documentElement||document&&document.documentElement;if(!g)return 0;g.appendChild(c);var b=r.offsetWidth;d.overflow="scroll";var C=r.offsetWidth;return b===C&&(C=c.clientWidth),g.removeChild(c),b-C},f.computedStyle=function(l,r){return window.getComputedStyle(l,"")||{}},f.setStyle=function(l,r,c){l[r]!==c&&(l[r]=c)},f.HAS_CSS_ANIMATION=!1,f.HAS_CSS_TRANSFORMS=!1,f.HI_DPI=!y.isWin||typeof window<"u"&&window.devicePixelRatio>=1.5,y.isChromeOS&&(f.HI_DPI=!1),typeof document<"u"){var o=document.createElement("div");f.HI_DPI&&void 0!==o.style.transform&&(f.HAS_CSS_TRANSFORMS=!0),!y.isEdge&&typeof o.style.animationName<"u"&&(f.HAS_CSS_ANIMATION=!0),o=null}f.translate=f.HAS_CSS_TRANSFORMS?function(l,r,c){l.style.transform="translate("+Math.round(r)+"px, "+Math.round(c)+"px)"}:function(l,r,c){l.style.top=Math.round(c)+"px",l.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("./dom");f.get=function(u,v){var s=new XMLHttpRequest;s.open("GET",u,!0),s.onreadystatechange=function(){4===s.readyState&&v(s.responseText)},s.send(null)},f.loadScript=function(u,v){var s=y.getDocumentHead(),m=document.createElement("script");m.src=u,s.appendChild(m),m.onload=m.onreadystatechange=function(h,o){(o||!m.readyState||"loaded"==m.readyState||"complete"==m.readyState)&&(m=m.onload=m.onreadystatechange=null,o||v())}},f.qualifyURL=function(u){var v=document.createElement("a");return v.href=u,v.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(n,f,D){"use strict";f.inherits=function(y,u){y.super_=u,y.prototype=Object.create(u.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}})},f.mixin=function(y,u){for(var v in u)y[v]=u[v];return y},f.implement=function(y,u){f.mixin(y,u)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(n,f,D){"use strict";var y={},u=function(){this.propagationStopped=!0},v=function(){this.defaultPrevented=!0};y._emit=y._dispatchEvent=function(s,m){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var h=this._eventRegistry[s]||[],o=this._defaultHandlers[s];if(h.length||o){("object"!=typeof m||!m)&&(m={}),m.type||(m.type=s),m.stopPropagation||(m.stopPropagation=u),m.preventDefault||(m.preventDefault=v),h=h.slice();for(var l=0;l1&&(b=d[d.length-2]);var x=m[c+"Path"];return null==x?x=m.basePath:"/"==g&&(c=g=""),x&&"/"!=x.slice(-1)&&(x+="/"),x+c+g+b+this.get("suffix")},f.setModuleUrl=function(r,c){return m.$moduleUrls[r]=c},f.setLoader=function(r){o=r},f.dynamicModules=Object.create(null),f.$loading={},f.$loaded={},f.loadModule=function(r,c){var d;if(Array.isArray(r))var g=r[0],b=r[1];else"string"==typeof r&&(b=r);var C=function(x){if(x&&!f.$loading[b])return c&&c(x);if(f.$loading[b]||(f.$loading[b]=[]),f.$loading[b].push(c),!(f.$loading[b].length>1)){var w=function(){!function(r,c){"ace/theme/textmate"===r||"./theme/textmate"===r?c(0,n("./theme/textmate")):o?o(r,c):console.error("loader is not configured")}(b,function(T,S){S&&(f.$loaded[b]=S),f._emit("load.module",{name:b,module:S});var M=f.$loading[b];f.$loading[b]=null,M.forEach(function(k){k&&k(S)})})};if(!f.get("packaged"))return w();u.loadScript(f.moduleUrl(b,g),w),l()}};if(f.dynamicModules[b])f.dynamicModules[b]().then(function(x){C(x.default?x.default:x)});else{try{d=this.$require(b)}catch{}C(d||f.$loaded[b])}},f.$require=function(r){if("function"==typeof D.require)return D.require(r)},f.setModuleLoader=function(r,c){f.dynamicModules[r]=c};var l=function(){!m.basePath&&!m.workerPath&&!m.modePath&&!m.themePath&&!Object.keys(m.$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"),l=function(){})};f.version="1.32.3"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(n,f,D){"use strict";n("./lib/fixoldbrowsers");var y=n("./config");y.setLoader(function(m,h){n([m],function(o){h(null,o)})});var u=function(){return this||typeof window<"u"&&window}();function v(m){if(u&&u.document){y.set("packaged",m||n.packaged||D.packaged||u.define&&_.amdD.packaged);var h={},o="",l=document.currentScript||document._currentScript,r=l&&l.ownerDocument||document;l&&l.src&&(o=l.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var c=r.getElementsByTagName("script"),d=0;d ["+this.end.row+"/"+this.end.column+"]"},u.prototype.contains=function(v,s){return 0==this.compare(v,s)},u.prototype.compareRange=function(v){var s,m=v.end,h=v.start;return 1==(s=this.compare(m.row,m.column))?1==(s=this.compare(h.row,h.column))?2:0==s?1:0:-1==s?-2:-1==(s=this.compare(h.row,h.column))?-1:1==s?42:0},u.prototype.comparePoint=function(v){return this.compare(v.row,v.column)},u.prototype.containsRange=function(v){return 0==this.comparePoint(v.start)&&0==this.comparePoint(v.end)},u.prototype.intersects=function(v){var s=this.compareRange(v);return-1==s||0==s||1==s},u.prototype.isEnd=function(v,s){return this.end.row==v&&this.end.column==s},u.prototype.isStart=function(v,s){return this.start.row==v&&this.start.column==s},u.prototype.setStart=function(v,s){"object"==typeof v?(this.start.column=v.column,this.start.row=v.row):(this.start.row=v,this.start.column=s)},u.prototype.setEnd=function(v,s){"object"==typeof v?(this.end.column=v.column,this.end.row=v.row):(this.end.row=v,this.end.column=s)},u.prototype.inside=function(v,s){return 0==this.compare(v,s)&&!(this.isEnd(v,s)||this.isStart(v,s))},u.prototype.insideStart=function(v,s){return 0==this.compare(v,s)&&!this.isEnd(v,s)},u.prototype.insideEnd=function(v,s){return 0==this.compare(v,s)&&!this.isStart(v,s)},u.prototype.compare=function(v,s){return this.isMultiLine()||v!==this.start.row?vthis.end.row?1:this.start.row===v?s>=this.start.column?0:-1:this.end.row===v?s<=this.end.column?0:1:0:sthis.end.column?1:0},u.prototype.compareStart=function(v,s){return this.start.row==v&&this.start.column==s?-1:this.compare(v,s)},u.prototype.compareEnd=function(v,s){return this.end.row==v&&this.end.column==s?1:this.compare(v,s)},u.prototype.compareInside=function(v,s){return this.end.row==v&&this.end.column==s?1:this.start.row==v&&this.start.column==s?-1:this.compare(v,s)},u.prototype.clipRows=function(v,s){if(this.end.row>s)var m={row:s+1,column:0};else this.end.rows)var h={row:s+1,column:0};else this.start.row1?++k>4&&(k=1):k=1,u.isIE){var U=Math.abs(R.clientX-I)>5||Math.abs(R.clientY-P)>5;(!A||U)&&(k=1),A&&clearTimeout(A),A=setTimeout(function(){A=null},w[k-1]||600),1==k&&(I=R.clientX,P=R.clientY)}if(R._clicks=k,T[S]("mousedown",R),k>4)k=0;else if(k>1)return T[S](L[k],R)}Array.isArray(x)||(x=[x]),x.forEach(function(R){r(R,"mousedown",F,M)})};var d=function(x){return 0|(x.ctrlKey?1:0)|(x.altKey?2:0)|(x.shiftKey?4:0)|(x.metaKey?8:0)};function b(){v=Object.create(null)}if(f.getModifierString=function(x){return y.KEY_MODS[d(x)]},f.addCommandKeyListener=function(x,w,T){var S=null;r(x,"keydown",function(M){v[M.keyCode]=(v[M.keyCode]||0)+1;var k=function g(x,w,T){var S=d(w);if(!u.isMac&&v){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(S|=8),v.altGr){if(3==(3&S))return;v.altGr=0}if(18===T||17===T){var M="location"in w?w.location:w.keyLocation;17===T&&1===M?1==v[T]&&(s=w.timeStamp):18===T&&3===S&&2===M&&w.timeStamp-s<50&&(v.altGr=!0)}}if(T in y.MODIFIER_KEYS&&(T=-1),S||13!==T||3!==(M="location"in w?w.location:w.keyLocation)||(x(w,S,-T),!w.defaultPrevented)){if(u.isChromeOS&&8&S){if(x(w,S,T),w.defaultPrevented)return;S&=-9}return!!(S||T in y.FUNCTION_KEYS||T in y.PRINTABLE_KEYS)&&x(w,S,T)}}(w,M,M.keyCode);return S=M.defaultPrevented,k},T),r(x,"keypress",function(M){S&&(M.ctrlKey||M.altKey||M.shiftKey||M.metaKey)&&(f.stopEvent(M),S=null)},T),r(x,"keyup",function(M){v[M.keyCode]=null},T),v||(b(),r(window,"focus",b))},"object"==typeof window&&window.postMessage&&!u.isOldIE){var C=1;f.nextTick=function(x,w){w=w||window;var T="zero-timeout-message-"+C++,S=function(M){M.data==T&&(f.stopPropagation(M),c(w,"message",S),x())};r(w,"message",S),w.postMessage(T,"*")}}f.$idleBlocked=!1,f.onIdle=function(x,w){return setTimeout(function T(){f.$idleBlocked?setTimeout(T,100):x()},w)},f.$idleBlockId=null,f.blockIdle=function(x){f.$idleBlockId&&clearTimeout(f.$idleBlockId),f.$idleBlocked=!0,f.$idleBlockId=setTimeout(function(){f.$idleBlocked=!1},x||100)},f.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),f.nextFrame=f.nextFrame?f.nextFrame.bind(window):function(x){setTimeout(x,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(n,f,D){"use strict";var y;D.exports={lineMode:!1,pasteCancelled:function(){return!!(y&&y>Date.now()-50)||(y=!1)},cancel:function(){y=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(n,f,D){"use strict";var y=n("../lib/event"),u=n("../config").nls,v=n("../lib/useragent"),s=n("../lib/dom"),m=n("../lib/lang"),h=n("../clipboard"),o=v.isChrome<18,l=v.isIE,r=v.isChrome>63,c=400,d=n("../lib/keys"),g=d.KEY_MODS,b=v.isIOS,C=b?/\s/:/\n/,x=v.isMobile;f.TextInput=function(T,S){var M=s.createElement("textarea");M.className="ace_text-input",M.setAttribute("wrap","off"),M.setAttribute("autocorrect","off"),M.setAttribute("autocapitalize","off"),M.setAttribute("spellcheck","false"),M.style.opacity="0",T.insertBefore(M,T.firstChild);var k=!1,I=!1,P=!1,A=!1,L="";x||(M.style.fontSize="1px");var F=!1,R=!1,U="",W=0,ne=0,ee=0,j=Number.MAX_SAFE_INTEGER,B=Number.MIN_SAFE_INTEGER,$=0;try{var Z=document.activeElement===M}catch{}this.setNumberOfExtraLines=function(Be){j=Number.MAX_SAFE_INTEGER,B=Number.MIN_SAFE_INTEGER,$=Be<0?0:Be},this.setAriaOptions=function(Be){Be.activeDescendant?(M.setAttribute("aria-haspopup","true"),M.setAttribute("aria-autocomplete",Be.inline?"both":"list"),M.setAttribute("aria-activedescendant",Be.activeDescendant)):(M.setAttribute("aria-haspopup","false"),M.setAttribute("aria-autocomplete","both"),M.removeAttribute("aria-activedescendant")),Be.role&&M.setAttribute("role",Be.role),Be.setLabel&&(M.setAttribute("aria-roledescription",u("editor")),S.session)&&M.setAttribute("aria-label",u("Cursor at row $0",[S.session.selection.cursor.row+1]))},this.setAriaOptions({role:"textbox"}),y.addListener(M,"blur",function(Be){R||(S.onBlur(Be),Z=!1)},S),y.addListener(M,"focus",function(Be){if(!R){if(Z=!0,v.isEdge)try{if(!document.hasFocus())return}catch{}S.onFocus(Be),v.isEdge?setTimeout(te):te()}},S),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:S.renderer.enableKeyboardAccessibility}),L||r||"browser"==this.$focusScroll)return M.focus({preventScroll:!0});var Be=M.style.top;M.style.position="fixed",M.style.top="0px";try{var yt=0!=M.getBoundingClientRect().top}catch{return}var Ot=[];if(yt)for(var Yt=M.parentElement;Yt&&1==Yt.nodeType;)Ot.push(Yt),Yt.setAttribute("ace_nocontext","true"),Yt=!Yt.parentElement&&Yt.getRootNode?Yt.getRootNode().host:Yt.parentElement;M.focus({preventScroll:!0}),yt&&Ot.forEach(function(jt){jt.removeAttribute("ace_nocontext")}),setTimeout(function(){M.style.position="","0px"==M.style.top&&(M.style.top=Be)},0)},this.blur=function(){M.blur()},this.isFocused=function(){return Z},S.on("beforeEndOperation",function(){var Be=S.curOp,yt=Be&&Be.command&&Be.command.name;"insertstring"!=yt&&(P&&yt&&(Be.docChanged||Be.selectionChanged)&&(U=M.value="",Ae()),te())});var H=function(Be,yt){for(var Ot=yt,Yt=1;Yt<=Be-j&&Yt<2*$+1;Yt++)Ot+=S.session.getLine(Be-Yt).length+1;return Ot},te=b?function(Be){if(Z&&(!k||Be)&&!A){Be||(Be="");var yt="\n ab"+Be+"cde fg\n";yt!=M.value&&(M.value=U=yt);var Yt=4+(Be.length||(S.selection.isEmpty()?0:1));(4!=W||ne!=Yt)&&M.setSelectionRange(4,Yt),W=4,ne=Yt}}:function(){if(!P&&!A&&(Z||$e)){P=!0;var Be=0,yt=0,Ot="";if(S.session){var Yt=S.selection,jt=Yt.getRange(),cn=Yt.cursor.row;cn===B+1?B=(j=B+1)+2*$:cn===j-1?j=(B=j-1)-2*$:(cnB+1)&&(j=cn>$?cn-$:0,B=cn>$?cn+$:2*$);for(var fn=[],an=j;an<=B;an++)fn.push(S.session.getLine(an));if(Ot=fn.join("\n"),Be=H(jt.start.row,jt.start.column),yt=H(jt.end.row,jt.end.column),jt.start.rowB){var un=S.session.getLine(B+1);yt=jt.end.row>B+1?un.length:jt.end.column,yt+=Ot.length+1,Ot=Ot+"\n"+un}else x&&cn>0&&(Ot="\n"+Ot,yt+=1,Be+=1);Ot.length>c&&(Be0&&U[un]==Be[un];)un++,jt--;for(fn=fn.slice(un),un=1;cn>0&&U.length-un>W-1&&U[U.length-un]==Be[Be.length-un];)un++,cn--;an-=un-1,En-=un-1;var Bt=fn.length-un+1;if(Bt<0&&(jt=-Bt,Bt=0),fn=fn.slice(0,Bt),!(yt||fn||an||jt||cn||En))return"";A=!0;var Ft=!1;return v.isAndroid&&". "==fn&&(fn=" ",Ft=!0),fn&&!jt&&!cn&&!an&&!En||F?S.onTextInput(fn):S.onTextInput(fn,{extendLeft:jt,extendRight:cn,restoreStart:an,restoreEnd:En}),A=!1,U=Be,W=Ot,ne=Yt,ee=En,Ft?"\n":fn},Ze=function(Be){if(P)return ge();if(Be&&Be.inputType){if("historyUndo"==Be.inputType)return S.execCommand("undo");if("historyRedo"==Be.inputType)return S.execCommand("redo")}var yt=M.value,Ot=Ye(yt,!0);(yt.length>500||C.test(Ot)||x&&W<1&&W==ne)&&te()},Et=function(Be,yt,Ot){var Yt=Be.clipboardData||window.clipboardData;if(Yt&&!o){var jt=l||Ot?"Text":"text/plain";try{return yt?!1!==Yt.setData(jt,yt):Yt.getData(jt)}catch(cn){if(!Ot)return Et(cn,yt,!0)}}},Te=function(Be,yt){var Ot=S.getCopyText();if(!Ot)return y.preventDefault(Be);Et(Be,Ot)?(b&&(te(Ot),k=Ot,setTimeout(function(){k=!1},10)),yt?S.onCut():S.onCopy(),y.preventDefault(Be)):(k=!0,M.value=Ot,M.select(),setTimeout(function(){k=!1,te(),yt?S.onCut():S.onCopy()}))},qe=function(Be){Te(Be,!0)},Ee=function(Be){Te(Be,!1)},Ie=function(Be){var yt=Et(Be);h.pasteCancelled()||("string"==typeof yt?(yt&&S.onPaste(yt,Be),v.isIE&&setTimeout(te),y.preventDefault(Be)):(M.value="",I=!0))};y.addCommandKeyListener(M,S.onCommandKey.bind(S),S),y.addListener(M,"select",function(Be){P||(k?k=!1:function(Be){return 0===Be.selectionStart&&Be.selectionEnd>=U.length&&Be.value===U&&U&&Be.selectionEnd!==ne}(M)?(S.selectAll(),te()):x&&M.selectionStart!=W&&te())},S),y.addListener(M,"input",Ze,S),y.addListener(M,"cut",qe,S),y.addListener(M,"copy",Ee,S),y.addListener(M,"paste",Ie,S),(!("oncut"in M)||!("oncopy"in M)||!("onpaste"in M))&&y.addListener(T,"keydown",function(Be){if((!v.isMac||Be.metaKey)&&Be.ctrlKey)switch(Be.keyCode){case 67:Ee(Be);break;case 86:Ie(Be);break;case 88:qe(Be)}},S);var ge=function(){if(P&&S.onCompositionUpdate&&!S.$readOnly){if(F)return q();P.useTextareaForIME?S.onCompositionUpdate(M.value):(Ye(M.value),P.markerRange&&(P.context&&(P.markerRange.start.column=P.selectionStart=P.context.compositionStartOffset),P.markerRange.end.column=P.markerRange.start.column+ne-P.selectionStart+ee))}},Ae=function(Be){!S.onCompositionEnd||S.$readOnly||(P=!1,S.onCompositionEnd(),S.off("mousedown",q),Be&&Ze())};function q(){R=!0,M.blur(),M.focus(),R=!1}var Ke,Re=m.delayedCall(ge,50).schedule.bind(null,null);function me(){clearTimeout(Ke),Ke=setTimeout(function(){L&&(M.style.cssText=L,L=""),S.renderer.$isMousePressed=!1,S.renderer.$keepTextAreaAtCursor&&S.renderer.$moveTextAreaToCursor()},0)}y.addListener(M,"compositionstart",function(Be){if(!P&&S.onCompositionStart&&!S.$readOnly&&(P={},!F)){Be.data&&(P.useTextareaForIME=!1),setTimeout(ge,0),S._signal("compositionStart"),S.on("mousedown",q);var yt=S.getSelectionRange();yt.end.row=yt.start.row,yt.end.column=yt.start.column,P.markerRange=yt,P.selectionStart=W,S.onCompositionStart(P),P.useTextareaForIME?(U=M.value="",W=0,ne=0):(M.msGetInputContext&&(P.context=M.msGetInputContext()),M.getInputContext&&(P.context=M.getInputContext()))}},S),y.addListener(M,"compositionupdate",ge,S),y.addListener(M,"keyup",function ke(Be){27==Be.keyCode&&M.value.lengthne&&"\n"==U[En]?un=d.end:anne&&U.slice(0,En).split("\n").length>2?un=d.down:En>ne&&" "==U[En-1]?(un=d.right,Bt=g.option):(En>ne||En==ne&&ne!=W&&an==En)&&(un=d.right),an!==En&&(Bt|=g.shift),un){if(!yt.onCommandKey({},Bt,un)&&yt.commands){un=d.keyCodeToString(un);var De=yt.commands.findKeyCommand(Bt,un);De&&yt.execCommand(De)}W=an,ne=En,te("")}}};document.addEventListener("selectionchange",cn),yt.on("destroy",function(){document.removeEventListener("selectionchange",cn)})}(0,S,M),this.destroy=function(){M.parentElement&&M.parentElement.removeChild(M)}},f.$setUserAgentForTests=function(T,S){x=T,b=S}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/useragent"),s=function(){function o(l){l.$clickSelection=null;var r=l.editor;r.setDefaultHandler("mousedown",this.onMouseDown.bind(l)),r.setDefaultHandler("dblclick",this.onDoubleClick.bind(l)),r.setDefaultHandler("tripleclick",this.onTripleClick.bind(l)),r.setDefaultHandler("quadclick",this.onQuadClick.bind(l)),r.setDefaultHandler("mousewheel",this.onMouseWheel.bind(l)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(d){l[d]=this[d]},this),l.selectByLines=this.extendSelectionBy.bind(l,"getLineRange"),l.selectByWords=this.extendSelectionBy.bind(l,"getWordRange")}return o.prototype.onMouseDown=function(l){var r=l.inSelection(),c=l.getDocumentPosition();this.mousedownEvent=l;var d=this.editor,g=l.getButton();return 0!==g?((d.getSelectionRange().isEmpty()||1==g)&&d.selection.moveToPosition(c),void(2==g&&(d.textInput.onContextMenu(l.domEvent),y.isMozilla||l.preventDefault()))):(this.mousedownEvent.time=Date.now(),!r||d.isFocused()||(d.focus(),!this.$focusTimeout||this.$clickSelection||d.inMultiSelectMode)?(this.captureMouse(l),this.startSelect(c,l.domEvent._clicks>1),l.preventDefault()):(this.setState("focusWait"),void this.captureMouse(l)))},o.prototype.startSelect=function(l,r){l=l||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var c=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?c.selection.selectToPosition(l):r||c.selection.moveToPosition(l),r||this.select(),c.setStyle("ace_selecting"),this.setState("select"))},o.prototype.select=function(){var l,r=this.editor,c=r.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var d=this.$clickSelection.comparePoint(c);if(-1==d)l=this.$clickSelection.end;else if(1==d)l=this.$clickSelection.start;else{var g=h(this.$clickSelection,c);c=g.cursor,l=g.anchor}r.selection.setSelectionAnchor(l.row,l.column)}r.selection.selectToPosition(c),r.renderer.scrollCursorIntoView()},o.prototype.extendSelectionBy=function(l){var r,c=this.editor,d=c.renderer.screenToTextCoordinates(this.x,this.y),g=c.selection[l](d.row,d.column);if(this.$clickSelection){var b=this.$clickSelection.comparePoint(g.start),C=this.$clickSelection.comparePoint(g.end);if(-1==b&&C<=0)r=this.$clickSelection.end,(g.end.row!=d.row||g.end.column!=d.column)&&(d=g.start);else if(1==C&&b>=0)r=this.$clickSelection.start,(g.start.row!=d.row||g.start.column!=d.column)&&(d=g.end);else if(-1==b&&1==C)d=g.end,r=g.start;else{var x=h(this.$clickSelection,d);d=x.cursor,r=x.anchor}c.selection.setSelectionAnchor(r.row,r.column)}c.selection.selectToPosition(d),c.renderer.scrollCursorIntoView()},o.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},o.prototype.focusWait=function(){var l=function m(o,l,r,c){return Math.sqrt(Math.pow(r-o,2)+Math.pow(c-l,2))}(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),r=Date.now();(l>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},o.prototype.onDoubleClick=function(l){var r=l.getDocumentPosition(),c=this.editor,g=c.session.getBracketRange(r);g?(g.isEmpty()&&(g.start.column--,g.end.column++),this.setState("select")):(g=c.selection.getWordRange(r.row,r.column),this.setState("selectByWords")),this.$clickSelection=g,this.select()},o.prototype.onTripleClick=function(l){var r=l.getDocumentPosition(),c=this.editor;this.setState("selectByLines");var d=c.getSelectionRange();d.isMultiLine()&&d.contains(r.row,r.column)?(this.$clickSelection=c.selection.getLineRange(d.start.row),this.$clickSelection.end=c.selection.getLineRange(d.end.row).end):this.$clickSelection=c.selection.getLineRange(r.row),this.select()},o.prototype.onQuadClick=function(l){var r=this.editor;r.selectAll(),this.$clickSelection=r.getSelectionRange(),this.setState("selectAll")},o.prototype.onMouseWheel=function(l){if(!l.getAccelKey()){l.getShiftKey()&&l.wheelY&&!l.wheelX&&(l.wheelX=l.wheelY,l.wheelY=0);var r=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var c=this.$lastScroll,d=l.domEvent.timeStamp,g=d-c.t,b=g?l.wheelX/g:c.vx,C=g?l.wheelY/g:c.vy;g<550&&(b=(b+c.vx)/2,C=(C+c.vy)/2);var x=Math.abs(b/C),w=!1;if(x>=1&&r.renderer.isScrollableBy(l.wheelX*l.speed,0)&&(w=!0),x<=1&&r.renderer.isScrollableBy(0,l.wheelY*l.speed)&&(w=!0),w?c.allowed=d:d-c.allowed<550&&(Math.abs(b)<=1.5*Math.abs(c.vx)&&Math.abs(C)<=1.5*Math.abs(c.vy)?(w=!0,c.allowed=d):c.allowed=0),c.t=d,c.vx=b,c.vy=C,w)return r.renderer.scrollBy(l.wheelX*l.speed,l.wheelY*l.speed),l.stop()}},o}();function h(o,l){if(o.start.row==o.end.row)var r=2*l.column-o.start.column-o.end.column;else if(o.start.row!=o.end.row-1||o.start.column||o.end.column)r=2*l.row-o.start.row-o.end.row;else r=l.column-4;return r<0?{cursor:o.start,anchor:o.end}:{cursor:o.end,anchor:o.start}}s.prototype.selectEnd=s.prototype.selectByLinesEnd,s.prototype.selectAllEnd=s.prototype.selectByLinesEnd,s.prototype.selectByWordsEnd=s.prototype.selectByLinesEnd,f.DefaultHandlers=s}),ace.define("ace/lib/scroll",["require","exports","module"],function(n,f,D){f.preventParentScroll=function(u){u.stopPropagation();var v=u.currentTarget;v.scrollHeight>v.clientHeight||u.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(n,f,D){"use strict";var g,y=this&&this.__extends||(g=function(b,C){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,w){x.__proto__=w}||function(x,w){for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&(x[T]=w[T])})(b,C)},function(b,C){if("function"!=typeof C&&null!==C)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");function x(){this.constructor=b}g(b,C),b.prototype=null===C?Object.create(C):(x.prototype=C.prototype,new x)}),u=this&&this.__values||function(g){var b="function"==typeof Symbol&&Symbol.iterator,C=b&&g[b],x=0;if(C)return C.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&x>=g.length&&(g=void 0),{value:g&&g[x++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},v=n("./lib/dom"),m=(n("./lib/event"),n("./range").Range),h=n("./lib/scroll").preventParentScroll,o="ace_tooltip",l=function(){function g(b){this.isOpen=!1,this.$element=null,this.$parentNode=b}return g.prototype.$init=function(){return this.$element=v.createElement("div"),this.$element.className=o,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},g.prototype.getElement=function(){return this.$element||this.$init()},g.prototype.setText=function(b){this.getElement().textContent=b},g.prototype.setHtml=function(b){this.getElement().innerHTML=b},g.prototype.setPosition=function(b,C){this.getElement().style.left=b+"px",this.getElement().style.top=C+"px"},g.prototype.setClassName=function(b){v.addCssClass(this.getElement(),b)},g.prototype.setTheme=function(b){this.$element.className=o+" "+(b.isDark?"ace_dark ":"")+(b.cssClass||"")},g.prototype.show=function(b,C,x){null!=b&&this.setText(b),null!=C&&null!=x&&this.setPosition(C,x),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},g.prototype.hide=function(b){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=o,this.isOpen=!1)},g.prototype.getHeight=function(){return this.getElement().offsetHeight},g.prototype.getWidth=function(){return this.getElement().offsetWidth},g.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},g}(),r=function(){function g(){this.popups=[]}return g.prototype.addPopup=function(b){this.popups.push(b),this.updatePopups()},g.prototype.removePopup=function(b){var C=this.popups.indexOf(b);-1!==C&&(this.popups.splice(C,1),this.updatePopups())},g.prototype.updatePopups=function(){var b,C,x,w;this.popups.sort(function(F,R){return R.priority-F.priority});var T=[];try{for(var S=u(this.popups),M=S.next();!M.done;M=S.next()){var k=M.value,I=!0;try{for(var P=(x=void 0,u(T)),A=P.next();!A.done;A=P.next())if(this.doPopupsOverlap(A.value,k)){I=!1;break}}catch(F){x={error:F}}finally{try{A&&!A.done&&(w=P.return)&&w.call(P)}finally{if(x)throw x.error}}I?T.push(k):k.hide()}}catch(F){b={error:F}}finally{try{M&&!M.done&&(C=S.return)&&C.call(S)}finally{if(b)throw b.error}}},g.prototype.doPopupsOverlap=function(b,C){var x=b.getElement().getBoundingClientRect(),w=C.getElement().getBoundingClientRect();return x.leftw.left&&x.topw.top},g}(),c=new r;f.popupManager=c,f.Tooltip=l;var d=function(g){function b(C){void 0===C&&(C=document.body);var x=g.call(this,C)||this;x.timeout=void 0,x.lastT=0,x.idleTime=350,x.lastEvent=void 0,x.onMouseOut=x.onMouseOut.bind(x),x.onMouseMove=x.onMouseMove.bind(x),x.waitForHover=x.waitForHover.bind(x),x.hide=x.hide.bind(x);var w=x.getElement();return w.style.whiteSpace="pre-wrap",w.style.pointerEvents="auto",w.addEventListener("mouseout",x.onMouseOut),w.tabIndex=-1,w.addEventListener("blur",function(){w.contains(document.activeElement)||this.hide()}.bind(x)),w.addEventListener("wheel",h),x}return y(b,g),b.prototype.addToEditor=function(C){C.on("mousemove",this.onMouseMove),C.on("mousedown",this.hide),C.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},b.prototype.removeFromEditor=function(C){C.off("mousemove",this.onMouseMove),C.off("mousedown",this.hide),C.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},b.prototype.onMouseMove=function(C,x){this.lastEvent=C,this.lastT=Date.now();var w=x.$mouseHandler.isMousePressed;if(this.isOpen){var T=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(T.row,T.column)||w||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||w||(this.lastEvent=C,this.timeout=setTimeout(this.waitForHover,this.idleTime))},b.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var C=Date.now()-this.lastT;this.idleTime-C>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-C):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},b.prototype.isOutsideOfText=function(C){var x=C.editor,w=C.getDocumentPosition(),T=x.session.getLine(w.row);if(w.column==T.length){var S=x.renderer.pixelToScreenCoordinates(C.clientX,C.clientY),M=x.session.documentToScreenPosition(w.row,w.column);if(M.column!=S.column||M.row!=S.row)return!0}return!1},b.prototype.setDataProvider=function(C){this.$gatherData=C},b.prototype.showForRange=function(C,x,w,T){if(!(T&&T!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var M=C.renderer;this.isOpen||(c.addPopup(this),this.$registerCloseEvents(),this.setTheme(M.theme)),this.isOpen=!0,this.addMarker(x,C.session),this.range=m.fromPoints(x.start,x.end);var k=M.textToScreenCoordinates(x.start.row,x.start.column),I=M.scroller.getBoundingClientRect();k.pageX=r.length&&(r=void 0),{value:r&&r[g++],done:!r}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},v=n("../lib/dom"),s=n("../lib/event"),m=n("../tooltip").Tooltip,h=n("../config").nls;f.GutterHandler=function o(r){var b,C,c=r.editor,d=c.renderer.$gutterLayer,g=new l(c);function w(){b&&(b=clearTimeout(b)),g.isOpen&&(g.hideTooltip(),c.off("mousewheel",w))}function T(S){g.setPosition(S.x,S.y)}r.editor.setDefaultHandler("guttermousedown",function(S){if(c.isFocused()&&0==S.getButton()&&"foldWidgets"!=d.getRegion(S)){var k=S.getDocumentPosition().row,I=c.session.selection;if(S.getShiftKey())I.selectTo(k,0);else{if(2==S.domEvent.detail)return c.selectAll(),S.preventDefault();r.$clickSelection=c.selection.getLineRange(k)}return r.setState("selectByLines"),r.captureMouse(S),S.preventDefault()}}),r.editor.setDefaultHandler("guttermousemove",function(S){if(v.hasCssClass(S.domEvent.target||S.domEvent.srcElement,"ace_fold-widget"))return w();g.isOpen&&r.$tooltipFollowsMouse&&T(S),C=S,!b&&(b=setTimeout(function(){b=null,C&&!r.isMousePressed?function x(){var S=C.getDocumentPosition().row;if(S==c.session.getLength()){var k=c.renderer.pixelToScreenCoordinates(0,C.y).row,I=C.$pos;if(k>c.session.documentToScreenRow(I.row,I.column))return w()}if(g.showTooltip(S),g.isOpen)if(c.on("mousewheel",w),r.$tooltipFollowsMouse)T(C);else{var P=C.getGutterRow(),A=d.$lines.get(P);if(A){var F=A.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),R=g.getElement().style;R.left=F.right+"px",R.top=F.bottom+"px"}else T(C)}}():w()},50))}),s.addListener(c.renderer.$gutter,"mouseout",function(S){C=null,g.isOpen&&!b&&(b=setTimeout(function(){b=null,w()},50))},c),c.on("changeSession",w),c.on("input",w)};var l=function(r){function c(d){var g=r.call(this,d.container)||this;return g.editor=d,g}return y(c,r),c.prototype.setPosition=function(d,g){var b=window.innerWidth||document.documentElement.clientWidth,C=window.innerHeight||document.documentElement.clientHeight,x=this.getWidth(),w=this.getHeight();(d+=15)+x>b&&(d-=d+x-b),(g+=15)+w>C&&(g-=20+w),m.prototype.setPosition.call(this,d,g)},Object.defineProperty(c,"annotationLabels",{get:function(){return{error:{singular:h("error"),plural:h("errors")},warning:{singular:h("warning"),plural:h("warnings")},info:{singular:h("information message"),plural:h("information messages")}}},enumerable:!1,configurable:!0}),c.prototype.showTooltip=function(d){var C,g=this.editor.renderer.$gutterLayer,b=g.$annotations[d];C=b?{text:Array.from(b.text),type:Array.from(b.type)}:{text:[],type:[]};var x=g.session.getFoldLine(d);if(x&&g.$showFoldedAnnotations){for(var T,w={error:[],warning:[],info:[]},S=d+1;S<=x.end.row;S++)if(g.$annotations[S])for(var M=0;M ").concat(C.text[S]);P[C.type[S].replace("_fold","")].push(L)}var F=[].concat(P.error,P.warning,P.info).join("
");this.setHtml(F),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)},c.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},c.annotationsToSummaryString=function(d){var g,b,C=[];try{for(var w=u(["error","warning","info"]),T=w.next();!T.done;T=w.next()){var S=T.value;if(d[S].length){var M=1===d[S].length?c.annotationLabels[S].singular:c.annotationLabels[S].plural;C.push("".concat(d[S].length," ").concat(M))}}}catch(k){g={error:k}}finally{try{T&&!T.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return C.join(", ")},c}(m);f.GutterTooltip=l}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/event"),u=n("../lib/useragent"),v=function(){function s(m,h){this.domEvent=m,this.editor=h,this.x=this.clientX=m.clientX,this.y=this.clientY=m.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return s.prototype.stopPropagation=function(){y.stopPropagation(this.domEvent),this.propagationStopped=!0},s.prototype.preventDefault=function(){y.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 m=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(m,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 h=this.editor.getSelectionRange();if(h.isEmpty())this.$inSelection=!1;else{var o=this.getDocumentPosition();this.$inSelection=h.contains(o.row,o.column)}return this.$inSelection},s.prototype.getButton=function(){return y.getButton(this.domEvent)},s.prototype.getShiftKey=function(){return this.domEvent.shiftKey},s.prototype.getAccelKey=function(){return u.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},s}();f.MouseEvent=v}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=n("../lib/event"),v=n("../lib/useragent");function o(r){var c=r.editor,d=y.createElement("div");d.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",d.textContent="\xa0",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(H){r[H]=this[H]},this),c.on("mousedown",this.onMouseDown.bind(r));var C,x,w,T,S,M,I,P,A,L,F,b=c.container,k=0;function W(){var H=M;(function R(H,te){var ue=Date.now();L&&te&&H.row==te.row&&te&&H.column==te.column?l(F.x,F.y,x,w)>5?L=null:ue-L>=200&&(c.renderer.scrollCursorIntoView(),L=null):(c.moveCursorToPosition(H),L=ue,F={x,y:w})})(M=c.renderer.screenToTextCoordinates(x,w),H),function U(H,te){var ue=Date.now(),ye=c.renderer.layerConfig.lineHeight,Ge=c.renderer.layerConfig.characterWidth,$e=c.renderer.scroller.getBoundingClientRect(),Ye={x:{left:x-$e.left,right:$e.right-x},y:{top:w-$e.top,bottom:$e.bottom-w}},Ze=Math.min(Ye.x.left,Ye.x.right),Et=Math.min(Ye.y.top,Ye.y.bottom),Te={row:H.row,column:H.column};Ze/Ge<=2&&(Te.column+=Ye.x.left=200&&c.renderer.scrollCursorIntoView(Te):A=ue:A=null}(M,H)}function ne(){S=c.selection.toOrientedRange(),C=c.session.addMarker(S,"ace_selection",c.getSelectionStyle()),c.clearSelection(),c.isFocused()&&c.renderer.$cursorLayer.setBlinking(!1),clearInterval(T),W(),T=setInterval(W,20),k=0,u.addListener(document,"mousemove",B)}function ee(){clearInterval(T),c.session.removeMarker(C),C=null,c.selection.fromOrientedRange(S),c.isFocused()&&!P&&c.$resetCursorStyle(),S=null,M=null,k=0,A=null,L=null,u.removeListener(document,"mousemove",B)}this.onDragStart=function(H){if(this.cancelDrag||!b.draggable){var te=this;return setTimeout(function(){te.startSelect(),te.captureMouse(H)},0),H.preventDefault()}S=c.getSelectionRange();var ue=H.dataTransfer;ue.effectAllowed=c.getReadOnly()?"copy":"copyMove",c.container.appendChild(d),ue.setDragImage&&ue.setDragImage(d,0,0),setTimeout(function(){c.container.removeChild(d)}),ue.clearData(),ue.setData("Text",c.session.getTextRange()),P=!0,this.setState("drag")},this.onDragEnd=function(H){b.draggable=!1,P=!1,this.setState(null),c.getReadOnly()||(!I&&"move"==H.dataTransfer.dropEffect&&c.session.remove(c.getSelectionRange()),c.$resetCursorStyle()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(H){if(!c.getReadOnly()&&$(H.dataTransfer))return x=H.clientX,w=H.clientY,C||ne(),k++,H.dataTransfer.dropEffect=I=Z(H),u.preventDefault(H)},this.onDragOver=function(H){if(!c.getReadOnly()&&$(H.dataTransfer))return x=H.clientX,w=H.clientY,C||(ne(),k++),null!==j&&(j=null),H.dataTransfer.dropEffect=I=Z(H),u.preventDefault(H)},this.onDragLeave=function(H){if(--k<=0&&C)return ee(),I=null,u.preventDefault(H)},this.onDrop=function(H){if(M){var te=H.dataTransfer;if(P)switch(I){case"move":S=S.contains(M.row,M.column)?{start:M,end:M}:c.moveText(S,M);break;case"copy":S=c.moveText(S,M,!0)}else{var ue=te.getData("Text");S={start:M,end:c.session.insert(M,ue)},c.focus(),I=null}return ee(),u.preventDefault(H)}},u.addListener(b,"dragstart",this.onDragStart.bind(r),c),u.addListener(b,"dragend",this.onDragEnd.bind(r),c),u.addListener(b,"dragenter",this.onDragEnter.bind(r),c),u.addListener(b,"dragover",this.onDragOver.bind(r),c),u.addListener(b,"dragleave",this.onDragLeave.bind(r),c),u.addListener(b,"drop",this.onDrop.bind(r),c);var j=null;function B(){null==j&&(j=setTimeout(function(){null!=j&&C&&ee()},20))}function $(H){var te=H.types;return!te||Array.prototype.some.call(te,function(ue){return"text/plain"==ue||"Text"==ue})}function Z(H){var te=["copy","copymove","all","uninitialized"],ye=v.isMac?H.altKey:H.ctrlKey,Ge="uninitialized";try{Ge=H.dataTransfer.effectAllowed.toLowerCase()}catch{}var $e="none";return ye&&te.indexOf(Ge)>=0?$e="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(Ge)>=0?$e="move":te.indexOf(Ge)>=0&&($e="copy"),$e}}function l(r,c,d,g){return Math.sqrt(Math.pow(d-r,2)+Math.pow(g-c,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(v.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(r){var c=this.editor.container;v.isIE&&"dragReady"==this.state&&l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&c.dragDrop(),"dragWait"===this.state&&l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(c.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(r){if(this.$dragEnabled){this.mousedownEvent=r;var c=this.editor,d=r.inSelection(),g=r.getButton();if(1===(r.domEvent.detail||1)&&0===g&&d){if(r.editor.inMultiSelectMode&&(r.getAccelKey()||r.getShiftKey()))return;this.mousedownEvent.time=Date.now();var C=r.domEvent.target||r.domEvent.srcElement;"unselectable"in C&&(C.unselectable="on"),c.getDragDelay()?(v.isWebKit&&(this.cancelDrag=!0,c.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(r,this.onMouseDrag.bind(this)),r.defaultPrevented=!0}}}}).call(o.prototype),f.DragdropHandler=o}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(n,f,D){"use strict";var y=n("./mouse_event").MouseEvent,u=n("../lib/event"),v=n("../lib/dom");f.addTouchListeners=function(s,m){var o,l,r,c,d,g,C,S,M,h="scroll",b=0,x=0,w=0,T=0;function I(){M||function k(){var R=window.navigator&&window.navigator.clipboard,U=!1,ne=function(ee){var j=ee.target.getAttribute("action");if("more"==j||!U)return U=!U,function(){var ee=m.getCopyText(),j=m.session.getUndoManager().hasUndo();M.replaceChild(v.buildDom(U?["span",!ee&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],ee&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],ee&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],R&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],j&&["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"]),M.firstChild)}();"paste"==j?R.readText().then(function(B){m.execCommand(j,B)}):j&&(("cut"==j||"copy"==j)&&(R?R.writeText(m.getCopyText()):document.execCommand("copy")),m.execCommand(j)),M.firstChild.style.display="none",U=!1,"openCommandPalette"!=j&&m.focus()};M=v.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(ee){h="menu",ee.stopPropagation(),ee.preventDefault(),m.textInput.focus()},ontouchend:function(ee){ee.stopPropagation(),ee.preventDefault(),ne(ee)},onclick:ne},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],m.container)}();var R=m.selection.cursor,U=m.renderer.textToScreenCoordinates(R.row,R.column),W=m.renderer.textToScreenCoordinates(0,0).pageX,ne=m.renderer.scrollLeft,ee=m.container.getBoundingClientRect();M.style.top=U.pageY-ee.top-3+"px",U.pageX-ee.left1)return clearTimeout(d),d=null,r=-1,void(h="zoom");S=m.$mouseHandler.isMousePressed=!0;var W=m.renderer.layerConfig.lineHeight,ne=m.renderer.layerConfig.lineHeight,ee=R.timeStamp;c=ee;var j=U[0],B=j.clientX,$=j.clientY;Math.abs(o-B)+Math.abs(l-$)>W&&(r=-1),o=R.clientX=B,l=R.clientY=$,w=T=0;var Z=new y(R,m);if(C=Z.getDocumentPosition(),ee-r<500&&1==U.length&&!b)x++,R.preventDefault(),R.button=0,function L(){d=null,clearTimeout(d),m.selection.moveToPosition(C);var R=x>=2?m.selection.getLineRange(C.row):m.session.getBracketRange(C);R&&!R.isEmpty()?m.selection.setRange(R):m.selection.selectWord(),h="wait"}();else{x=0;var H=m.selection.cursor,te=m.selection.isEmpty()?H:m.selection.anchor,ue=m.renderer.$cursorLayer.getPixelPosition(H,!0),ye=m.renderer.$cursorLayer.getPixelPosition(te,!0),Ge=m.renderer.scroller.getBoundingClientRect(),$e=m.renderer.layerConfig.offset,Ye=m.renderer.scrollLeft,Ze=function(qe,Ee){return(qe/=ne)*qe+(Ee=Ee/W-.75)*Ee};if(R.clientXTe?"cursor":"anchor"),h=Te<3.5?"anchor":Et<3.5?"cursor":"scroll",d=setTimeout(A,450)}r=ee},m),u.addListener(s,"touchend",function(R){S=m.$mouseHandler.isMousePressed=!1,g&&clearInterval(g),"zoom"==h?(h="",b=0):d?(m.selection.moveToPosition(C),b=0,I()):"scroll"==h?(function F(){b+=60,g=setInterval(function(){b--<=0&&(clearInterval(g),g=null),Math.abs(w)<.01&&(w=0),Math.abs(T)<.01&&(T=0),b<20&&(w*=.9),b<20&&(T*=.9);var R=m.session.getScrollTop();m.renderer.scrollBy(10*w,10*T),R==m.session.getScrollTop()&&(b=0)},10)}(),P()):I(),clearTimeout(d),d=null},m),u.addListener(s,"touchmove",function(R){d&&(clearTimeout(d),d=null);var U=R.touches;if(!(U.length>1||"zoom"==h)){var W=U[0],ne=o-W.clientX,ee=l-W.clientY;if("wait"==h){if(!(ne*ne+ee*ee>4))return R.preventDefault();h="cursor"}o=W.clientX,l=W.clientY,R.clientX=W.clientX,R.clientY=W.clientY;var j=R.timeStamp,B=j-c;if(c=j,"scroll"==h){var $=new y(R,m);$.speed=1,$.wheelX=ne,$.wheelY=ee,10*Math.abs(ne)=Ye){for(Ee=qe+1;Ee=Ye;)Ee++;for(Ie=qe,Ce=Ee-1;Ie=Ze.length||2!=(Ee=Et[Te-1])&&3!=Ee||2!=(Ie=Ze[Te+1])&&3!=Ie?4:(m&&(Ie=3),Ie==Ee?Ie:4);case 10:return 2==(Ee=Te>0?Et[Te-1]:5)&&Te+10&&2==Et[Te-1])return 2;if(m)return 4;for(ge=Te+1,Ce=Ze.length;ge=1425&&Ae<=2303||64286==Ae)&&(1==Ee||7==Ee))return 1}return Te<1||5==(Ee=Ze[Te-1])?4:Et[Te-1];case 5:return m=!1,o=!0,v;case 6:return l=!0,4;case 13:case 14:case 16:case 17:case 15:m=!1;case $:return 4}}function Ge(Ye){var Ze=Ye.charCodeAt(0),Et=Ze>>8;return 0==Et?Ze>191?0:Z[Ze]:5==Et?/[\u0591-\u05f4]/.test(Ye)?1:0:6==Et?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(Ye)?12:/[\u0660-\u0669\u066b-\u066c]/.test(Ye)?3:1642==Ze?R:/[\u06f0-\u06f9]/.test(Ye)?2:7:32==Et&&Ze<=8287?H[255&Ze]:254==Et&&Ze>=65136?7:4}f.L=0,f.R=1,f.EN=2,f.ON_R=3,f.AN=4,f.R_H=5,f.B=6,f.RLE=7,f.DOT="\xb7",f.doBidiReorder=function(Ye,Ze,Et){if(Ye.length<2)return{};var Te=Ye.split(""),qe=new Array(Te.length),Ee=new Array(Te.length),Ie=[];v=Et?1:0,function te(Ye,Ze,Et,Te){var qe=v?g:d,Ee=null,Ie=null,Ce=null,ge=0,Ae=null,Re=-1,ke=null,Ke=null,me=[];if(!Te)for(ke=0,Te=[];ke0)if(16==Ae){for(ke=Re;ke-1){for(ke=Re;ke=0&&8==Te[Pe];Pe--)Ze[Pe]=v}}(Te,Ie,Te.length,Ze);for(var Ce=0;Ce7&&Ze[Ce]<13||4===Ze[Ce]||Ze[Ce]===$)?Ie[Ce]=f.ON_R:Ce>0&&"\u0644"===Te[Ce-1]&&/\u0622|\u0623|\u0625|\u0627/.test(Te[Ce])&&(Ie[Ce-1]=Ie[Ce]=f.R_H,Ce++);for(Te[Te.length-1]===f.DOT&&(Ie[Te.length-1]=f.B),"\u202b"===Te[0]&&(Ie[0]=f.RLE),Ce=0;Ce=0&&(h=this.session.$docRowCache[l])}return h},m.prototype.getSplitIndex=function(){var h=0,o=this.session.$screenRowCache;if(o.length)for(var l,r=this.session.$getRowCacheIndex(o,this.currentRow);this.currentRow-h>0&&(l=this.session.$getRowCacheIndex(o,this.currentRow-h-1))===r;)r=l,h++;else h=this.currentRow;return h},m.prototype.updateRowLine=function(h,o){void 0===h&&(h=this.getDocumentRow());var r=h===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(h),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var c=this.session.$wrapData[h];c&&(void 0===o&&(o=this.getSplitIndex()),o>0&&c.length?(this.wrapIndent=c.indent,this.wrapOffset=this.wrapIndent*this.charWidths[y.L],this.line=oo?this.session.getOverwrite()?h:h-1:o,r=y.getVisualFromLogicalIdx(l,this.bidiMap),c=this.bidiMap.bidiLevels,d=0;!this.session.getOverwrite()&&h<=o&&c[r]%2!=0&&r++;for(var g=0;go&&c[r]%2==0&&(d+=this.charWidths[c[r]]),this.wrapIndent&&(d+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(d+=this.rtlLineOffset),d},m.prototype.getSelections=function(h,o){var c,l=this.bidiMap,r=l.bidiLevels,d=[],g=0,b=Math.min(h,o)-this.wrapIndent,C=Math.max(h,o)-this.wrapIndent,x=!1,w=!1,T=0;this.wrapIndent&&(g+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var S,M=0;M=b&&Sr+g/2;){if(r+=g,c===d.length-1){g=0;break}g=this.charWidths[d[++c]]}return c>0&&d[c-1]%2!=0&&d[c]%2==0?(l0&&d[c-1]%2==0&&d[c]%2!=0?o=1+(l>r?this.bidiMap.logicalFromVisual[c]:this.bidiMap.logicalFromVisual[c-1]):this.isRtlDir&&c===d.length-1&&0===g&&d[c-1]%2==0||!this.isRtlDir&&0===c&&d[c]%2!=0?o=1+this.bidiMap.logicalFromVisual[c]:(c>0&&d[c-1]%2!=0&&0!==g&&c--,o=this.bidiMap.logicalFromVisual[c]),0===o&&this.isRtlDir&&o++,o+this.wrapIndent},m}();f.BidiHandler=s}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(n,f,D){"use strict";var y=n("./lib/oop"),u=n("./lib/lang"),v=n("./lib/event_emitter").EventEmitter,s=n("./range").Range,m=function(){function h(o){this.session=o,this.doc=o.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var l=this;this.cursor.on("change",function(r){l.$cursorChanged=!0,l.$silent||l._emit("changeCursor"),!l.$isEmpty&&!l.$silent&&l._emit("changeSelection"),!l.$keepDesiredColumnOnChange&&r.old.column!=r.value.column&&(l.$desiredColumn=null)}),this.anchor.on("change",function(){l.$anchorChanged=!0,!l.$isEmpty&&!l.$silent&&l._emit("changeSelection")})}return h.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},h.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},h.prototype.getCursor=function(){return this.lead.getPosition()},h.prototype.setAnchor=function(o,l){this.$isEmpty=!1,this.anchor.setPosition(o,l)},h.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},h.prototype.getSelectionLead=function(){return this.lead.getPosition()},h.prototype.isBackwards=function(){var o=this.anchor,l=this.lead;return o.row>l.row||o.row==l.row&&o.column>l.column},h.prototype.getRange=function(){var o=this.anchor,l=this.lead;return this.$isEmpty?s.fromPoints(l,l):this.isBackwards()?s.fromPoints(l,o):s.fromPoints(o,l)},h.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},h.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},h.prototype.setRange=function(o,l){var r=l?o.end:o.start,c=l?o.start:o.end;this.$setSelection(r.row,r.column,c.row,c.column)},h.prototype.$setSelection=function(o,l,r,c){if(!this.$silent){var d=this.$isEmpty,g=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(o,l),this.cursor.setPosition(r,c),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||d!=this.$isEmpty||g)&&this._emit("changeSelection")}},h.prototype.$moveSelection=function(o){var l=this.lead;this.$isEmpty&&this.setSelectionAnchor(l.row,l.column),o.call(this)},h.prototype.selectTo=function(o,l){this.$moveSelection(function(){this.moveCursorTo(o,l)})},h.prototype.selectToPosition=function(o){this.$moveSelection(function(){this.moveCursorToPosition(o)})},h.prototype.moveTo=function(o,l){this.clearSelection(),this.moveCursorTo(o,l)},h.prototype.moveToPosition=function(o){this.clearSelection(),this.moveCursorToPosition(o)},h.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},h.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},h.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},h.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},h.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},h.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},h.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},h.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},h.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},h.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},h.prototype.getWordRange=function(o,l){if(typeof l>"u"){var r=o||this.lead;o=r.row,l=r.column}return this.session.getWordRange(o,l)},h.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},h.prototype.selectAWord=function(){var o=this.getCursor(),l=this.session.getAWordRange(o.row,o.column);this.setSelectionRange(l)},h.prototype.getLineRange=function(o,l){var c,r="number"==typeof o?o:this.lead.row,d=this.session.getFoldLine(r);return d?(r=d.start.row,c=d.end.row):c=r,!0===l?new s(r,0,c,this.session.getLine(c).length):new s(r,0,c+1,0)},h.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},h.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},h.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},h.prototype.wouldMoveIntoSoftTab=function(o,l,r){var c=o.column,d=o.column+l;return r<0&&(c=o.column-l,d=o.column),this.session.isTabStop(o)&&this.doc.getLine(o.row).slice(c,d).split(" ").length-1==l},h.prototype.moveCursorLeft=function(){var l,o=this.lead.getPosition();if(l=this.session.getFoldAt(o.row,o.column,-1))this.moveCursorTo(l.start.row,l.start.column);else if(0===o.column)o.row>0&&this.moveCursorTo(o.row-1,this.doc.getLine(o.row-1).length);else{var r=this.session.getTabSize();this.wouldMoveIntoSoftTab(o,r,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-r):this.moveCursorBy(0,-1)}},h.prototype.moveCursorRight=function(){var l,o=this.lead.getPosition();if(l=this.session.getFoldAt(o.row,o.column,1))this.moveCursorTo(l.end.row,l.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(l.column=c)}}this.moveCursorTo(l.row,l.column)},h.prototype.moveCursorFileEnd=function(){var o=this.doc.getLength()-1,l=this.doc.getLine(o).length;this.moveCursorTo(o,l)},h.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},h.prototype.moveCursorLongWordRight=function(){var o=this.lead.row,l=this.lead.column,r=this.doc.getLine(o),c=r.substring(l);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var d=this.session.getFoldAt(o,l,1);if(!d)return this.session.nonTokenRe.exec(c)&&(l+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,c=r.substring(l)),l>=r.length?(this.moveCursorTo(o,r.length),this.moveCursorRight(),void(o0&&this.moveCursorWordLeft());this.session.tokenRe.exec(d)&&(l-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(o,l)}},h.prototype.$shortWordEndIndex=function(o){var r,l=0,c=/\s/,d=this.session.tokenRe;if(d.lastIndex=0,this.session.tokenRe.exec(o))l=this.session.tokenRe.lastIndex;else{for(;(r=o[l])&&c.test(r);)l++;if(l<1)for(d.lastIndex=0;(r=o[l])&&!d.test(r);)if(d.lastIndex=0,l++,c.test(r)){if(l>2){l--;break}for(;(r=o[l])&&c.test(r);)l++;if(l>2)break}}return d.lastIndex=0,l},h.prototype.moveCursorShortWordRight=function(){var o=this.lead.row,l=this.lead.column,r=this.doc.getLine(o),c=r.substring(l),d=this.session.getFoldAt(o,l,1);if(d)return this.moveCursorTo(d.end.row,d.end.column);if(l==r.length){var g=this.doc.getLength();do{o++,c=this.doc.getLine(o)}while(o0&&/^\s*$/.test(c));l=c.length,/\s+$/.test(c)||(c="")}var d=u.stringReverse(c),g=this.$shortWordEndIndex(d);return this.moveCursorTo(o,l-g)},h.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},h.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},h.prototype.moveCursorBy=function(o,l){var c,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===l&&(0!==o&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(c=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(c/this.session.$bidiHandler.charWidths[0])):c=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=o&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var d=this.session.lineWidgets[this.lead.row];o<0?o-=d.rowsAbove||0:o>0&&(o+=d.rowCount-(d.rowsAbove||0))}var g=this.session.screenToDocumentPosition(r.row+o,r.column,c);this.moveCursorTo(g.row,g.column+l,0===l)},h.prototype.moveCursorToPosition=function(o){this.moveCursorTo(o.row,o.column)},h.prototype.moveCursorTo=function(o,l,r){var c=this.session.getFoldAt(o,l,1);c&&(o=c.start.row,l=c.start.column),this.$keepDesiredColumnOnChange=!0;var d=this.session.getLine(o);/[\uDC00-\uDFFF]/.test(d.charAt(l))&&d.charAt(l-1)&&(this.lead.row==o&&this.lead.column==l+1?l-=1:l+=1),this.lead.setPosition(o,l),this.$keepDesiredColumnOnChange=!1,r||(this.$desiredColumn=null)},h.prototype.moveCursorToScreen=function(o,l,r){var c=this.session.screenToDocumentPosition(o,l);this.moveCursorTo(c.row,c.column,r)},h.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},h.prototype.fromOrientedRange=function(o){this.setSelectionRange(o,o.cursor==o.start),this.$desiredColumn=o.desiredColumn||this.$desiredColumn},h.prototype.toOrientedRange=function(o){var l=this.getRange();return o?(o.start.column=l.start.column,o.start.row=l.start.row,o.end.column=l.end.column,o.end.row=l.end.row):o=l,o.cursor=this.isBackwards()?o.start:o.end,o.desiredColumn=this.$desiredColumn,o},h.prototype.getRangeOfMovements=function(o){var l=this.getCursor();try{o(this);var r=this.getCursor();return s.fromPoints(l,r)}catch{return s.fromPoints(l,l)}finally{this.moveCursorToPosition(l)}},h.prototype.toJSON=function(){if(this.rangeCount)var o=this.ranges.map(function(l){var r=l.clone();return r.isBackwards=l.cursor==l.start,r});else(o=this.getRange()).isBackwards=this.isBackwards();return o},h.prototype.fromJSON=function(o){if(null==o.start){if(this.rangeList&&o.length>1){this.toSingleRange(o[0]);for(var l=o.length;l--;){var r=s.fromPoints(o[l].start,o[l].end);o[l].isBackwards&&(r.cursor=r.start),this.addRange(r,!0)}return}o=o[0]}this.rangeList&&this.toSingleRange(o),this.setSelectionRange(o,o.isBackwards)},h.prototype.isEqual=function(o){if((o.length||this.rangeCount)&&o.length!=this.rangeCount)return!1;if(!o.length||!this.ranges)return this.getRange().isEqual(o);for(var l=this.ranges.length;l--;)if(!this.ranges[l].isEqual(o[l]))return!1;return!0},h}();m.prototype.setSelectionAnchor=m.prototype.setAnchor,m.prototype.getSelectionAnchor=m.prototype.getAnchor,m.prototype.setSelectionRange=m.prototype.setRange,y.implement(m.prototype,v),f.Selection=m}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(n,f,D){"use strict";var y=n("./lib/report_error").reportError,u=2e3,v=function(){function s(m){for(var h in this.states=m,this.regExps={},this.matchMappings={},this.states){for(var o=this.states[h],l=[],r=0,c=this.matchMappings[h]={defaultToken:"text"},d="g",g=[],b=0;b1?this.$applyToken:C.token),w>1&&(/\\\d/.test(C.regex)?x=C.regex.replace(/\\([0-9]+)/g,function(T,S){return"\\"+(parseInt(S,10)+r+1)}):(w=1,x=this.removeCapturingGroups(C.regex)),!C.splitRegex&&"string"!=typeof C.token&&g.push(C)),c[r]=b,r+=w,l.push(x),C.onMatch||(C.onMatch=null)}}l.length||(c[0]=0,l.push("$")),g.forEach(function(T){T.splitRegex=this.createSplitterRegexp(T.regex,d)},this),this.regExps[h]=new RegExp("("+l.join(")|(")+")|($)",d)}}return s.prototype.$setMaxTokenCount=function(m){u=0|m},s.prototype.$applyToken=function(m){var h=this.splitRegex.exec(m).slice(1),o=this.token.apply(this,h);if("string"==typeof o)return[{type:o,value:m}];for(var l=[],r=0,c=o.length;rC){var I=m.substring(C,k-M.length);w.type==T?w.value+=I:(w.type&&b.push(w),w={type:T,value:I})}for(var P=0;Pu){for(x>2*m.length&&this.reportError("infinite loop with in ace tokenizer",{startState:h,line:m});C1&&o[0]!==l&&o.unshift("#tmp",l),{tokens:b,state:o.length?o:l}},s}();v.prototype.reportError=y,f.Tokenizer=v}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(n,f,D){"use strict";var u,y=n("../lib/deep_copy").deepCopy;(function(){this.addRules=function(m,h){if(h)for(var o in m){for(var l=m[o],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]},v.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},v.prototype.getCurrentTokenRow=function(){return this.$row},v.prototype.getCurrentTokenColumn=function(){var s=this.$rowTokens,m=this.$tokenIndex,h=s[m].start;if(void 0!==h)return h;for(h=0;m>0;)h+=s[m-=1].value.length;return h},v.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},v.prototype.getCurrentTokenRange=function(){var s=this.$rowTokens[this.$tokenIndex],m=this.getCurrentTokenColumn();return new y(this.$row,m,this.$row,m+s.value.length)},v}();f.TokenIterator=u}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(n,f,D){"use strict";var o,g,y=n("../../lib/oop"),u=n("../behaviour").Behaviour,v=n("../../token_iterator").TokenIterator,s=n("../../lib/lang"),m=["text","paren.rparen","rparen","paren","punctuation.operator"],h=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],l={},r={'"':'"',"'":"'"},c=function(b){var C=-1;if(b.multiSelect&&(C=b.selection.index,l.rangeCount!=b.multiSelect.rangeCount&&(l={rangeCount:b.multiSelect.rangeCount})),l[C])return o=l[C];o=l[C]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},d=function(b,C,x,w){var T=b.end.row-b.start.row;return{text:x+C+w,selection:[0,b.start.column+1,T,b.end.column+(T?0:1)]}};(g=function(b){b=b||{},this.add("braces","insertion",function(C,x,w,T,S){var M=w.getCursorPosition(),k=T.doc.getLine(M.row);if("{"==S){c(w);var I=w.getSelectionRange(),P=T.doc.getTextRange(I);if(""!==P&&"{"!==P&&w.getWrapBehavioursEnabled())return d(I,P,"{","}");if(g.isSaneInsertion(w,T))return/[\]\}\)]/.test(k[M.column])||w.inMultiSelectMode||b.braces?(g.recordAutoInsert(w,T,"}"),{text:"{}",selection:[1,1]}):(g.recordMaybeInsert(w,T,"{"),{text:"{",selection:[1,1]})}else if("}"==S){if(c(w),"}"==k.substring(M.column,M.column+1)&&null!==T.$findOpeningBracket("}",{column:M.column+1,row:M.row})&&g.isAutoInsertedClosing(M,k,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==S||"\r\n"==S){c(w);var F="";if(g.isMaybeInsertedClosing(M,k)&&(F=s.stringRepeat("}",o.maybeInsertedBrackets),g.clearMaybeInsertedClosing()),"}"===k.substring(M.column,M.column+1)){var R=T.findMatchingBracket({row:M.row,column:M.column+1},"}");if(!R)return null;var U=this.$getIndent(T.getLine(R.row))}else{if(!F)return void g.clearMaybeInsertedClosing();U=this.$getIndent(k)}var W=U+T.getTabString();return{text:"\n"+W+"\n"+U+F,selection:[1,W.length,1,W.length]}}g.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"{"==M){if(c(w),"}"==T.doc.getLine(S.start.row).substring(S.end.column,S.end.column+1))return S.end.column++,S;o.maybeInsertedBrackets--}}),this.add("parens","insertion",function(C,x,w,T,S){if("("==S){c(w);var M=w.getSelectionRange(),k=T.doc.getTextRange(M);if(""!==k&&w.getWrapBehavioursEnabled())return d(M,k,"(",")");if(g.isSaneInsertion(w,T))return g.recordAutoInsert(w,T,")"),{text:"()",selection:[1,1]}}else if(")"==S){c(w);var I=w.getCursorPosition(),P=T.doc.getLine(I.row);if(")"==P.substring(I.column,I.column+1)&&null!==T.$findOpeningBracket(")",{column:I.column+1,row:I.row})&&g.isAutoInsertedClosing(I,P,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"("==M&&(c(w),")"==T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)))return S.end.column++,S}),this.add("brackets","insertion",function(C,x,w,T,S){if("["==S){c(w);var M=w.getSelectionRange(),k=T.doc.getTextRange(M);if(""!==k&&w.getWrapBehavioursEnabled())return d(M,k,"[","]");if(g.isSaneInsertion(w,T))return g.recordAutoInsert(w,T,"]"),{text:"[]",selection:[1,1]}}else if("]"==S){c(w);var I=w.getCursorPosition(),P=T.doc.getLine(I.row);if("]"==P.substring(I.column,I.column+1)&&null!==T.$findOpeningBracket("]",{column:I.column+1,row:I.row})&&g.isAutoInsertedClosing(I,P,S))return g.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(C,x,w,T,S){var M=T.doc.getTextRange(S);if(!S.isMultiLine()&&"["==M&&(c(w),"]"==T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)))return S.end.column++,S}),this.add("string_dquotes","insertion",function(C,x,w,T,S){var M=T.$mode.$quotes||r;if(1==S.length&&M[S]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(S))return;c(w);var k=S,I=w.getSelectionRange(),P=T.doc.getTextRange(I);if(""!==P&&(1!=P.length||!M[P])&&w.getWrapBehavioursEnabled())return d(I,P,k,k);if(!P){var A=w.getCursorPosition(),L=T.doc.getLine(A.row),F=L.substring(A.column-1,A.column),R=L.substring(A.column,A.column+1),U=T.getTokenAt(A.row,A.column),W=T.getTokenAt(A.row,A.column+1);if("\\"==F&&U&&/escape/.test(U.type))return null;var j,ne=U&&/string|escape/.test(U.type),ee=!W||/string|escape/.test(W.type);if(R==k)(j=ne!==ee)&&/string\.end/.test(W.type)&&(j=!1);else{if(ne&&!ee||ne&&ee)return null;var B=T.$mode.tokenRe;B.lastIndex=0;var $=B.test(F);B.lastIndex=0;var Z=B.test(R),H=T.$mode.$pairQuotesAfter;if(!(H&&H[k]&&H[k].test(F))&&$||Z||R&&!/[\s;,.})\]\\]/.test(R))return null;var ue=L[A.column-2];if(F==k&&(ue==k||B.test(ue)))return null;j=!0}return{text:j?k+k:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(C,x,w,T,S){var M=T.$mode.$quotes||r,k=T.doc.getTextRange(S);if(!S.isMultiLine()&&M.hasOwnProperty(k)&&(c(w),T.doc.getLine(S.start.row).substring(S.start.column+1,S.start.column+2)==k))return S.end.column++,S}),!1!==b.closeDocComment&&this.add("doc comment end","insertion",function(C,x,w,T,S){if("doc-start"===C&&("\n"===S||"\r\n"===S)&&w.selection.isEmpty()){var M=w.getCursorPosition(),k=T.doc.getLine(M.row),I=T.doc.getLine(M.row+1),P=this.$getIndent(k);if(/\s*\*/.test(I))return/^\s*\*/.test(k)?{text:S+P+"* ",selection:[1,3+P.length,1,3+P.length]}:{text:S+P+" * ",selection:[1,3+P.length,1,3+P.length]};if(/\/\*\*/.test(k.substring(0,M.column)))return{text:S+P+" * "+S+" "+P+"*/",selection:[1,4+P.length,1,4+P.length]}}})}).isSaneInsertion=function(b,C){var x=b.getCursorPosition(),w=new v(C,x.row,x.column);if(!this.$matchTokenType(w.getCurrentToken()||"text",m)){if(/[)}\]]/.test(b.session.getLine(x.row)[x.column]))return!0;var T=new v(C,x.row,x.column+1);if(!this.$matchTokenType(T.getCurrentToken()||"text",m))return!1}return w.stepForward(),w.getCurrentTokenRow()!==x.row||this.$matchTokenType(w.getCurrentToken()||"text",h)},g.$matchTokenType=function(b,C){return C.indexOf(b.type||b)>-1},g.recordAutoInsert=function(b,C,x){var w=b.getCursorPosition(),T=C.doc.getLine(w.row);this.isAutoInsertedClosing(w,T,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=w.row,o.autoInsertedLineEnd=x+T.substr(w.column),o.autoInsertedBrackets++},g.recordMaybeInsert=function(b,C,x){var w=b.getCursorPosition(),T=C.doc.getLine(w.row);this.isMaybeInsertedClosing(w,T)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=w.row,o.maybeInsertedLineStart=T.substr(0,w.column)+x,o.maybeInsertedLineEnd=T.substr(w.column),o.maybeInsertedBrackets++},g.isAutoInsertedClosing=function(b,C,x){return o.autoInsertedBrackets>0&&b.row===o.autoInsertedRow&&x===o.autoInsertedLineEnd[0]&&C.substr(b.column)===o.autoInsertedLineEnd},g.isMaybeInsertedClosing=function(b,C){return o.maybeInsertedBrackets>0&&b.row===o.maybeInsertedRow&&C.substr(b.column)===o.maybeInsertedLineEnd&&C.substr(0,b.column)==o.maybeInsertedLineStart},g.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},g.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},y.inherits(g,u),f.CstyleBehaviour=g}),ace.define("ace/unicode",["require","exports","module"],function(n,f,D){"use strict";for(var y=[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],u=0,v=[],s=0;s2?ue%S!=S-1:ue%S==0}}else{if(!this.blockComment)return!1;k=this.blockComment.start;var I=this.blockComment.end,A=(P=new RegExp("^(\\s*)(?:"+h.escapeRegExp(k)+")"),new RegExp("(?:"+h.escapeRegExp(I)+")\\s*$"));L=function(j,B){R(j,B)||(!x||/\S/.test(j))&&(C.insertInLine({row:B,column:j.length},I),C.insertInLine({row:B,column:T},k))},F=function(j,B){var $;($=j.match(A))&&C.removeInLine(B,j.length-$[0].length,j.length),($=j.match(P))&&C.removeInLine(B,$[1].length,$[0].length)},R=function(j,B){if(P.test(j))return!0;for(var $=d.getTokens(B),Z=0;Z<$.length;Z++)if("comment"===$[Z].type)return!0}}function ne(j){for(var B=g;B<=b;B++)j(C.getLine(B),B)}var ee=1/0;ne(function(j,B){var $=j.search(/\S/);-1!==$?($j.length&&(ee=j.length)}),T==1/0&&(T=ee,x=!1,w=!1),M&&T%S!=0&&(T=Math.floor(T/S)*S),ne(w?F:L)},this.toggleBlockComment=function(c,d,g,b){var C=this.blockComment;if(C){!C.start&&C[0]&&(C=C[0]);var M,k,w=(x=new o(d,b.row,b.column)).getCurrentToken(),S=d.selection.toOrientedRange();if(w&&/comment/.test(w.type)){for(var I,P;w&&/comment/.test(w.type);){if(-1!=(A=w.value.indexOf(C.start))){var L=x.getCurrentTokenRow(),F=x.getCurrentTokenColumn()+A;I=new l(L,F,L,F+C.start.length);break}w=x.stepBackward()}var x;for(w=(x=new o(d,b.row,b.column)).getCurrentToken();w&&/comment/.test(w.type);){var A;if(-1!=(A=w.value.indexOf(C.end))){L=x.getCurrentTokenRow(),F=x.getCurrentTokenColumn()+A,P=new l(L,F,L,F+C.end.length);break}w=x.stepForward()}P&&d.remove(P),I&&(d.remove(I),M=I.start.row,k=-C.start.length)}else k=C.start.length,M=g.start.row,d.insert(g.end,C.end),d.insert(g.start,C.start);S.start.row==M&&(S.start.column+=k),S.end.row==M&&(S.end.column+=k),d.selection.fromOrientedRange(S)}},this.getNextLineIndent=function(c,d,g){return this.$getIndent(d)},this.checkOutdent=function(c,d,g){return!1},this.autoOutdent=function(c,d,g){},this.$getIndent=function(c){return c.match(/^\s*/)[0]},this.createWorker=function(c){return null},this.createModeDelegates=function(c){for(var d in this.$embeds=[],this.$modes={},c)if(c[d]){var g=c[d],b=g.prototype.$id,C=y.$modes[b];C||(y.$modes[b]=C=new g),y.$modes[d]||(y.$modes[d]=C),this.$embeds.push(d),this.$modes[d]=C}var x=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],w=function(S){var M,k,I;I=(M=T)[k=x[S]],M[x[S]]=function(){return this.$delegator(k,arguments,I)}},T=this;for(d=0;dthis.row)){var l=function m(h,o,l){var r="insert"==h.action,c=(r?1:-1)*(h.end.row-h.start.row),d=(r?1:-1)*(h.end.column-h.start.column),g=h.start,b=r?g:h.end;return s(o,g,l)?{row:o.row,column:o.column}:s(b,o,!l)?{row:o.row+c,column:o.column+(o.row==b.row?d:0)}:{row:g.row,column:g.column}}(o,{row:this.row,column:this.column},this.$insertRight);this.setPosition(l.row,l.column,!0)}},h.prototype.setPosition=function(o,l,r){var c;if(c=r?{row:o,column:l}:this.$clipPositionToDocument(o,l),this.row!=c.row||this.column!=c.column){var d={row:this.row,column:this.column};this.row=c.row,this.column=c.column,this._signal("change",{old:d,value:c})}},h.prototype.detach=function(){this.document.off("change",this.$onChange)},h.prototype.attach=function(o){this.document=o||this.document,this.document.on("change",this.$onChange)},h.prototype.$clipPositionToDocument=function(o,l){var r={};return o>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):o<0?(r.row=0,r.column=0):(r.row=o,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,l))),l<0&&(r.column=0),r},h}();function s(h,o,l){return h.row=c&&(l=c-1,r=void 0);var d=this.getLine(l);return null==r&&(r=d.length),{row:l,column:r=Math.min(Math.max(r,0),d.length)}},o.prototype.clonePos=function(l){return{row:l.row,column:l.column}},o.prototype.pos=function(l,r){return{row:l,column:r}},o.prototype.$clipPosition=function(l){var r=this.getLength();return l.row>=r?(l.row=Math.max(0,r-1),l.column=this.getLine(r-1).length):(l.row=Math.max(0,l.row),l.column=Math.min(Math.max(l.column,0),this.getLine(l.row).length)),l},o.prototype.insertFullLines=function(l,r){var c=0;(l=Math.min(Math.max(l,0),this.getLength()))0,d=r=0&&this.applyDelta({start:this.pos(l,this.getLine(l).length),end:this.pos(l+1,0),action:"remove",lines:["",""]})},o.prototype.replace=function(l,r){return l instanceof s||(l=s.fromPoints(l.start,l.end)),0===r.length&&l.isEmpty()?l.start:r==this.getTextRange(l)?l.end:(this.remove(l),r?this.insert(l.start,r):l.start)},o.prototype.applyDeltas=function(l){for(var r=0;r=0;r--)this.revertDelta(l[r])},o.prototype.applyDelta=function(l,r){var c="insert"==l.action;(c?l.lines.length<=1&&!l.lines[0]:!s.comparePoints(l.start,l.end))||(c&&l.lines.length>2e4?this.$splitAndapplyLargeDelta(l,2e4):(u(this.$lines,l,r),this._signal("change",l)))},o.prototype.$safeApplyDelta=function(l){var r=this.$lines.length;("remove"==l.action&&l.start.row20){o.running=setTimeout(o.$worker,20);break}}o.currentLine=r,-1==c&&(c=r),g<=c&&o.fireUpdateEvent(g,c)}}}return s.prototype.setTokenizer=function(m){this.tokenizer=m,this.lines=[],this.states=[],this.start(0)},s.prototype.setDocument=function(m){this.doc=m,this.lines=[],this.states=[],this.stop()},s.prototype.fireUpdateEvent=function(m,h){this._signal("update",{data:{first:m,last:h}})},s.prototype.start=function(m){this.currentLine=Math.min(m||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(m){var h=m.start.row,o=m.end.row-h;if(0===o)this.lines[h]=null;else if("remove"==m.action)this.lines.splice(h,o+1,null),this.states.splice(h,o+1,null);else{var l=Array(o+1);l.unshift(h,1),this.lines.splice.apply(this.lines,l),this.states.splice.apply(this.states,l)}this.currentLine=Math.min(h,this.currentLine,this.doc.getLength()),this.stop()},s.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},s.prototype.getTokens=function(m){return this.lines[m]||this.$tokenizeRow(m)},s.prototype.getState=function(m){return this.currentLine==m&&this.$tokenizeRow(m),this.states[m]||"start"},s.prototype.$tokenizeRow=function(m){var h=this.doc.getLine(m),l=this.tokenizer.getLineTokens(h,this.states[m-1],m);return this.states[m]+""!=l.state+""?(this.states[m]=l.state,this.lines[m+1]=null,this.currentLine>m+1&&(this.currentLine=m+1)):this.currentLine==m&&(this.currentLine=m+1),this.lines[m]=l.tokens},s.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},s}();y.implement(v.prototype,u),f.BackgroundTokenizer=v}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(n,f,D){"use strict";var y=n("./lib/lang"),u=n("./range").Range,v=function(){function s(m,h,o){void 0===o&&(o="text"),this.setRegexp(m),this.clazz=h,this.type=o}return s.prototype.setRegexp=function(m){this.regExp+""!=m+""&&(this.regExp=m,this.cache=[])},s.prototype.update=function(m,h,o,l){if(this.regExp)for(var c=l.lastRow,d={},g=l.firstRow;g<=c;g++){var b=this.cache[g];null==b&&((b=y.getMatchOffsets(o.getLine(g),this.regExp)).length>this.MAX_RANGES&&(b=b.slice(0,this.MAX_RANGES)),b=b.map(function(T){return new u(g,T.offset,g,T.offset+T.length)}),this.cache[g]=b.length?b:"");for(var C=b.length;C--;){var x=b[C].toScreenRange(o),w=x.toString();d[w]||(d[w]=!0,h.drawSingleLineMarker(m,x,this.clazz,l))}}},s}();v.prototype.MAX_RANGES=500,f.SearchHighlight=v}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(n,f,D){"use strict";var y=function(){function M(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return M.prototype.addSession=function(k){this.$session=k},M.prototype.add=function(k,I,P){if(!this.$fromUndo&&k!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===I||!this.lastDeltas){this.lastDeltas=[];var A=this.$undoStack.length;A>this.$undoDepth-1&&this.$undoStack.splice(0,A-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),k.id=this.$rev=++this.$maxRev}("remove"==k.action||"insert"==k.action)&&(this.$lastDelta=k),this.lastDeltas.push(k)}},M.prototype.addSelection=function(k,I){this.selections.push({value:k,rev:I||this.$rev})},M.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},M.prototype.markIgnored=function(k,I){null==I&&(I=this.$rev+1);for(var P=this.$undoStack,A=P.length;A--;){var L=P[A][0];if(L.id<=k)break;L.id0},M.prototype.canRedo=function(){return this.$redoStack.length>0},M.prototype.bookmark=function(k){null==k&&(k=this.$rev),this.mark=k},M.prototype.isAtBookmark=function(){return this.$rev===this.mark},M.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},M.prototype.fromJSON=function(k){this.reset(),this.$undoStack=k.$undoStack,this.$redoStack=k.$redoStack},M.prototype.$prettyPrint=function(k){return k?r(k):r(this.$undoStack)+"\n---\n"+r(this.$redoStack)},M}();y.prototype.hasUndo=y.prototype.canUndo,y.prototype.hasRedo=y.prototype.canRedo,y.prototype.isClean=y.prototype.isAtBookmark,y.prototype.markClean=y.prototype.bookmark;var v=n("./range").Range,s=v.comparePoints;function o(M){return{row:M.row,column:M.column}}function r(M){if(M=M||this,Array.isArray(M))return M.map(r).join("\n");var k="";return M.action?(k="insert"==M.action?"+":"-",k+="["+M.lines+"]"):M.value&&(k=Array.isArray(M.value)?M.value.map(c).join("\n"):c(M.value)),M.start&&(k+=c(M)),(M.id||M.rev)&&(k+="\t("+(M.id||M.rev)+")"),k}function c(M){return M.start.row+":"+M.start.column+"=>"+M.end.row+":"+M.end.column}function d(M,k){var I="insert"==M.action,P="insert"==k.action;if(I&&P)if(s(k.start,M.end)>=0)C(k,M,-1);else{if(!(s(k.start,M.start)<=0))return null;C(M,k,1)}else if(I&&!P)if(s(k.start,M.end)>=0)C(k,M,-1);else{if(!(s(k.end,M.start)<=0))return null;C(M,k,-1)}else if(!I&&P)if(s(k.start,M.start)>=0)C(k,M,1);else{if(!(s(k.start,M.start)<=0))return null;C(M,k,1)}else if(!I&&!P)if(s(k.start,M.start)>=0)C(k,M,1);else{if(!(s(k.end,M.start)<=0))return null;C(M,k,-1)}return[k,M]}function g(M,k){for(var I=M.length;I--;)for(var P=0;P=0?C(M,k,-1):(s(M.start,k.start)<=0||C(M,v.fromPoints(k.start,M.start),-1),C(k,M,1));else if(!I&&P)s(k.start,M.end)>=0?C(k,M,-1):(s(k.start,M.start)<=0||C(k,v.fromPoints(M.start,k.start),-1),C(M,k,1));else if(!I&&!P)if(s(k.start,M.end)>=0)C(k,M,-1);else{var A,L;if(!(s(k.end,M.start)<=0))return s(M.start,k.start)<0&&(A=M,M=w(M,k.start)),s(M.end,k.end)>0&&(L=w(M,k.end)),x(k.end,M.start,M.end,-1),L&&!A&&(M.lines=L.lines,M.start=L.start,M.end=L.end,L=M),[k,A,L].filter(Boolean);C(M,k,-1)}return[k,M]}function C(M,k,I){x(M.start,k.start,k.end,I),x(M.end,k.start,k.end,I)}function x(M,k,I,P){M.row==(1==P?k:I).row&&(M.column+=P*(I.column-k.column)),M.row+=P*(I.row-k.row)}function w(M,k){var I=M.lines,P=M.end;M.end=o(k);var A=M.end.row-M.start.row,L=I.splice(A,I.length),F=A?k.column:k.column-M.start.column;return I.push(L[0].substring(0,F)),L[0]=L[0].substr(F),{start:o(k),end:P,lines:L,action:M.action}}function T(M,k){k=function l(M){return{start:o(M.start),end:o(M.end),action:M.action,lines:M.lines.slice()}}(k);for(var I=M.length;I--;){for(var P=M[I],A=0;Athis.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(m,h){return-m.range.compareEnd(h.start.row,h.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},v.prototype.containsRow=function(s){return s>=this.start.row&&s<=this.end.row},v.prototype.walk=function(s,m,h){var r,c,o=0,l=this.folds,g=!0;null==m&&(m=this.end.row,h=this.end.column);for(var b=0;b0)){var g=u(m,c.start);return 0===d?h&&0!==g?-r-2:r:g>0||0===g&&!h?r:-r-1}}return-r-1},s.prototype.add=function(m){var h=!m.isEmpty(),o=this.pointIndex(m.start,h);o<0&&(o=-o-1);var l=this.pointIndex(m.end,h,o);return l<0?l=-l-1:l++,this.ranges.splice(o,l-o,m)},s.prototype.addList=function(m){for(var h=[],o=m.length;o--;)h.push.apply(h,this.add(m[o]));return h},s.prototype.substractPoint=function(m){var h=this.pointIndex(m);if(h>=0)return this.ranges.splice(h,1)},s.prototype.merge=function(){for(var l,m=[],h=this.ranges,o=(h=h.sort(function(d,g){return u(d.start,g.start)}))[0],r=1;r=0},s.prototype.containsPoint=function(m){return this.pointIndex(m)>=0},s.prototype.rangeAtPoint=function(m){var h=this.pointIndex(m);if(h>=0)return this.ranges[h]},s.prototype.clipRows=function(m,h){var o=this.ranges;if(o[0].start.row>h||o[o.length-1].start.row=l);d++);if("insert"==m.action){for(var C=r-l,x=-h.column+o.column;dl);d++)if(b.start.row==l&&b.start.column>=h.column&&(b.start.column==h.column&&this.$bias<=0||(b.start.column+=x,b.start.row+=C)),b.end.row==l&&b.end.column>=h.column){if(b.end.column==h.column&&this.$bias<0)continue;b.end.column==h.column&&x>0&&db.start.column&&b.end.column==c[d+1].start.column&&(b.end.column-=x),b.end.column+=x,b.end.row+=C}}else for(C=l-r,x=h.column-o.column;dr);d++)b.end.rowh.column)&&(b.end.column=h.column,b.end.row=h.row):(b.end.column+=x,b.end.row+=C):b.end.row>r&&(b.end.row+=C),b.start.rowh.column)&&(b.start.column=h.column,b.start.row=h.row):(b.start.column+=x,b.start.row+=C):b.start.row>r&&(b.start.row+=C);if(0!=C&&d=o)return d;if(d.end.row>o)return null}return null},this.getNextFoldLine=function(o,l){var r=this.$foldData,c=0;for(l&&(c=r.indexOf(l)),-1==c&&(c=0);c=o)return d}return null},this.getFoldedRowCount=function(o,l){for(var r=this.$foldData,c=l-o+1,d=0;d=l){C=o?c-=l-C:c=0);break}b>=o&&(c-=C>=o?b-C:b-o+1)}return c},this.$addFoldLine=function(o){return this.$foldData.push(o),this.$foldData.sort(function(l,r){return l.start.row-r.start.row}),o},this.addFold=function(o,l){var d,r=this.$foldData,c=!1;o instanceof v?d=o:(d=new v(l,o)).collapseChildren=l.collapseChildren,this.$clipRangeToDocument(d.range);var g=d.start.row,b=d.start.column,C=d.end.row,x=d.end.column,w=this.getFoldAt(g,b,1),T=this.getFoldAt(C,x,-1);if(w&&T==w)return w.addSubFold(d);w&&!w.range.isStart(g,b)&&this.removeFold(w),T&&!T.range.isEnd(C,x)&&this.removeFold(T);var S=this.getFoldsInRange(d.range);S.length>0&&(this.removeFolds(S),d.collapseChildren||S.forEach(function(P){d.addSubFold(P)}));for(var M=0;M0&&this.foldAll(o.start.row+1,o.end.row,o.collapseChildren-1),o.subFolds=[]},this.expandFolds=function(o){o.forEach(function(l){this.expandFold(l)},this)},this.unfold=function(o,l){var r,c;if(null==o)r=new y(0,0,this.getLength(),0),null==l&&(l=!0);else if("number"==typeof o)r=new y(o,0,o,this.getLine(o).length);else if("row"in o)r=y.fromPoints(o,o);else{if(Array.isArray(o))return c=[],o.forEach(function(g){c=c.concat(this.unfold(g))},this),c;r=o}for(var d=c=this.getFoldsInRangeList(r);1==c.length&&y.comparePoints(c[0].start,r.start)<0&&y.comparePoints(c[0].end,r.end)>0;)this.expandFolds(c),c=this.getFoldsInRangeList(r);if(0!=l?this.removeFolds(c):this.expandFolds(c),d.length)return d},this.isRowFolded=function(o,l){return!!this.getFoldLine(o,l)},this.getRowFoldEnd=function(o,l){var r=this.getFoldLine(o,l);return r?r.end.row:o},this.getRowFoldStart=function(o,l){var r=this.getFoldLine(o,l);return r?r.start.row:o},this.getFoldDisplayLine=function(o,l,r,c,d){null==c&&(c=o.start.row),null==d&&(d=0),null==l&&(l=o.end.row),null==r&&(r=this.getLine(l).length);var g=this.doc,b="";return o.walk(function(C,x,w,T){if(!(xx)break}while(d&&b.test(d.type)&&!/^comment.start/.test(d.type));d=c.stepBackward()}else d=c.getCurrentToken();return C.end.row=c.getCurrentTokenRow(),C.end.column=c.getCurrentTokenColumn(),/^comment.end/.test(d.type)||(C.end.column+=d.value.length-2),C}},this.foldAll=function(o,l,r,c){null==r&&(r=1e5);var d=this.foldWidgets;if(d){l=l||this.getLength();for(var g=o=o||0;g=o&&(g=b.end.row,b.collapseChildren=r,this.addFold("...",b))}}},this.foldToLevel=function(o){for(this.foldAll();o-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var o=this;this.foldAll(null,null,null,function(l){for(var r=o.getTokens(l),c=0;c=0;){var g=r[c];if(null==g&&(g=r[c]=this.getFoldWidget(c)),"start"==g){var b=this.getFoldWidgetRange(c);if(d||(d=b),b&&b.end.row>=o)break}c--}return{range:-1!==c&&b,firstRange:d}},this.onFoldWidgetClick=function(o,l){if(l instanceof m&&(l=l.domEvent),!this.$toggleFoldWidget(o,{children:l.shiftKey,all:l.ctrlKey||l.metaKey,siblings:l.altKey})){var d=l.target||l.srcElement;d&&/ace_fold-widget/.test(d.className)&&(d.className+=" ace_invalid")}},this.$toggleFoldWidget=function(o,l){if(this.getFoldWidget){var r=this.getFoldWidget(o),c=this.getLine(o),d="end"===r?-1:1,g=this.getFoldAt(o,-1===d?0:c.length,d);if(g)return l.children||l.all?this.removeFold(g):this.expandFold(g),g;var b=this.getFoldWidgetRange(o,!0);if(b&&!b.isMultiLine()&&(g=this.getFoldAt(b.start.row,b.start.column,1))&&b.isEqual(g.range))return this.removeFold(g),g;if(l.siblings){var C=this.getParentFoldRangeData(o);if(C.range)var x=C.range.start.row+1,w=C.range.end.row;this.foldAll(x,w,l.all?1e4:0)}else l.children?(w=b?b.end.row:this.getLength(),this.foldAll(o+1,w,l.all?1e4:0)):b&&(l.all&&(b.collapseChildren=1e4),this.addFold("...",b));return b}},this.toggleFoldWidget=function(o){var l=this.selection.getCursor().row;l=this.getRowFoldStart(l);var r=this.$toggleFoldWidget(l,{});if(!r){var c=this.getParentFoldRangeData(l,!0);if(r=c.range||c.firstRange){var d=this.getFoldAt(l=r.start.row,this.getLine(l).length,1);d?this.removeFold(d):this.addFold("...",r)}}},this.updateFoldWidgets=function(o){var l=o.start.row,r=o.end.row-l;if(0===r)this.foldWidgets[l]=null;else if("remove"==o.action)this.foldWidgets.splice(l,r+1,null);else{var c=Array(r+1);c.unshift(l,1),this.foldWidgets.splice.apply(this.foldWidgets,c)}},this.tokenizerUpdateFoldWidgets=function(o){var l=o.data;l.first!=l.last&&this.foldWidgets.length>l.first&&this.foldWidgets.splice(l.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(n,f,D){"use strict";var y=n("../token_iterator").TokenIterator,u=n("../range").Range;f.BracketMatch=function v(){this.findMatchingBracket=function(s,m){if(0==s.column)return null;var h=m||this.getLine(s.row).charAt(s.column-1);if(""==h)return null;var o=h.match(/([\(\[\{])|([\)\]\}])/);return o?o[1]?this.$findClosingBracket(o[1],s):this.$findOpeningBracket(o[2],s):null},this.getBracketRange=function(s){var o,m=this.getLine(s.row),h=!0,l=m.charAt(s.column-1),r=l&&l.match(/([\(\[\{])|([\)\]\}])/);if(r||(l=m.charAt(s.column),s={row:s.row,column:s.column+1},r=l&&l.match(/([\(\[\{])|([\)\]\}])/),h=!1),!r)return null;if(r[1]){if(!(c=this.$findClosingBracket(r[1],s)))return null;o=u.fromPoints(s,c),h||(o.end.column++,o.start.column--),o.cursor=o.end}else{var c;if(!(c=this.$findOpeningBracket(r[2],s)))return null;o=u.fromPoints(c,s),h||(o.start.column++,o.end.column--),o.cursor=o.start}return o},this.getMatchingBracketRanges=function(s,m){var h=this.getLine(s.row),o=/([\(\[\{])|([\)\]\}])/,l=!m&&h.charAt(s.column-1),r=l&&l.match(o);if(r||(l=(void 0===m||m)&&h.charAt(s.column),s={row:s.row,column:s.column+1},r=l&&l.match(o)),!r)return null;var c=new u(s.row,s.column-1,s.row,s.column),d=r[1]?this.$findClosingBracket(r[1],s):this.$findOpeningBracket(r[2],s);return d?[c,new u(d.row,d.column,d.row,d.column+1)]:[c]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(s,m,h){var o=this.$brackets[s],l=1,r=new y(this,m.row,m.column),c=r.getCurrentToken();if(c||(c=r.stepForward()),c){h||(h=new RegExp("(\\.?"+c.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var d=m.column-r.getCurrentTokenColumn()-2,g=c.value;;){for(;d>=0;){var b=g.charAt(d);if(b==o){if(0==(l-=1))return{row:r.getCurrentTokenRow(),column:d+r.getCurrentTokenColumn()}}else b==s&&(l+=1);d-=1}do{c=r.stepBackward()}while(c&&!h.test(c.type));if(null==c)break;d=(g=c.value).length-1}return null}},this.$findClosingBracket=function(s,m,h){var o=this.$brackets[s],l=1,r=new y(this,m.row,m.column),c=r.getCurrentToken();if(c||(c=r.stepForward()),c){h||(h=new RegExp("(\\.?"+c.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var d=m.column-r.getCurrentTokenColumn();;){for(var g=c.value,b=g.length;d"===m.value?o=!0:-1!==m.type.indexOf("tag-name")&&(h=!0))}while(m&&!h);return m},this.$findClosingTag=function(s,m){var h,o=m.value,l=m.value,r=0,c=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);m=s.stepForward();var d=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+m.value.length),g=!1;do{if(h=m,m=s.stepForward()){if(">"===m.value&&!g){var b=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);g=!0}if(-1!==m.type.indexOf("tag-name")){if(l===(o=m.value))if("<"===h.value)r++;else if(""!==m.value)return;var w=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else l===o&&"/>"===m.value&&--r<0&&(w=x=C=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+2),b=new u(d.end.row,d.end.column,d.end.row,d.end.column+1))}}while(m&&r>=0);if(c&&b&&C&&w&&d&&x)return{openTag:new u(c.start.row,c.start.column,b.end.row,b.end.column),closeTag:new u(C.start.row,C.start.column,w.end.row,w.end.column),openTagName:d,closeTagName:x}},this.$findOpeningTag=function(s,m){var h=s.getCurrentToken(),o=m.value,l=0,r=s.getCurrentTokenRow(),c=s.getCurrentTokenColumn(),d=c+2,g=new u(r,c,r,d);s.stepForward();var b=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+m.value.length);if((m=s.stepForward())&&">"===m.value){var C=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);s.stepBackward(),s.stepBackward();do{if(m=h,r=s.getCurrentTokenRow(),d=(c=s.getCurrentTokenColumn())+m.value.length,h=s.stepBackward(),m)if(-1!==m.type.indexOf("tag-name")){if(o===m.value)if("<"===h.value){if(++l>0){var x=new u(r,c,r,d),w=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);do{m=s.stepForward()}while(m&&">"!==m.value);var T=new u(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else""===m.value){for(var S=0,M=h;M;){if(-1!==M.type.indexOf("tag-name")&&M.value===o){l--;break}if("<"===M.value)break;M=s.stepBackward(),S++}for(var k=0;kR&&(this.$docRowCache.splice(R,F),this.$screenRowCache.splice(R,F))},A.prototype.$getRowCacheIndex=function(L,F){for(var R=0,U=L.length-1;R<=U;){var W=R+U>>1,ne=L[W];if(F>ne)R=W+1;else{if(!(F=F);ne++);return(U=R[ne])?(U.index=ne,U.start=W-U.value.length,U):null},A.prototype.setUndoManager=function(L){if(this.$undoManager=L,this.$informUndoManager&&this.$informUndoManager.cancel(),L){var F=this;L.addSession(this),this.$syncInformUndoManager=function(){F.$informUndoManager.cancel(),F.mergeUndoDeltas=!1},this.$informUndoManager=u.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},A.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},A.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},A.prototype.getTabString=function(){return this.getUseSoftTabs()?u.stringRepeat(" ",this.getTabSize()):"\t"},A.prototype.setUseSoftTabs=function(L){this.setOption("useSoftTabs",L)},A.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},A.prototype.setTabSize=function(L){this.setOption("tabSize",L)},A.prototype.getTabSize=function(){return this.$tabSize},A.prototype.isTabStop=function(L){return this.$useSoftTabs&&L.column%this.$tabSize==0},A.prototype.setNavigateWithinSoftTabs=function(L){this.setOption("navigateWithinSoftTabs",L)},A.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},A.prototype.setOverwrite=function(L){this.setOption("overwrite",L)},A.prototype.getOverwrite=function(){return this.$overwrite},A.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},A.prototype.addGutterDecoration=function(L,F){this.$decorations[L]||(this.$decorations[L]=""),this.$decorations[L]+=" "+F,this._signal("changeBreakpoint",{})},A.prototype.removeGutterDecoration=function(L,F){this.$decorations[L]=(this.$decorations[L]||"").replace(" "+F,""),this._signal("changeBreakpoint",{})},A.prototype.getBreakpoints=function(){return this.$breakpoints},A.prototype.setBreakpoints=function(L){this.$breakpoints=[];for(var F=0;F0&&(U=!!R.charAt(F-1).match(this.tokenRe)),U||(U=!!R.charAt(F).match(this.tokenRe)),U)var W=this.tokenRe;else W=/^\s+$/.test(R.slice(F-1,F+1))?/\s/:this.nonTokenRe;var ne=F;if(ne>0){do{ne--}while(ne>=0&&R.charAt(ne).match(W));ne++}for(var ee=F;eeL&&(L=F.screenWidth)}),this.lineWidgetWidth=L},A.prototype.$computeWidth=function(L){if(this.$modified||L){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var F=this.doc.getAllLines(),R=this.$rowLengthCache,U=0,W=0,ne=this.$foldData[W],ee=ne?ne.start.row:1/0,j=F.length,B=0;Bee){if((B=ne.end.row+1)>=j)break;ee=(ne=this.$foldData[W++])?ne.start.row:1/0}null==R[B]&&(R[B]=this.$getStringScreenWidth(F[B])[0]),R[B]>U&&(U=R[B])}this.screenWidth=U}},A.prototype.getLine=function(L){return this.doc.getLine(L)},A.prototype.getLines=function(L,F){return this.doc.getLines(L,F)},A.prototype.getLength=function(){return this.doc.getLength()},A.prototype.getTextRange=function(L){return this.doc.getTextRange(L||this.selection.getRange())},A.prototype.insert=function(L,F){return this.doc.insert(L,F)},A.prototype.remove=function(L){return this.doc.remove(L)},A.prototype.removeFullLines=function(L,F){return this.doc.removeFullLines(L,F)},A.prototype.undoChanges=function(L,F){if(L.length){this.$fromUndo=!0;for(var R=L.length-1;-1!=R;R--){var U=L[R];"insert"==U.action||"remove"==U.action?this.doc.revertDelta(U):U.folds&&this.addFolds(U.folds)}!F&&this.$undoSelect&&(L.selectionBefore?this.selection.fromJSON(L.selectionBefore):this.selection.setRange(this.$getUndoSelection(L,!0))),this.$fromUndo=!1}},A.prototype.redoChanges=function(L,F){if(L.length){this.$fromUndo=!0;for(var R=0;RL.end.column&&(ne.start.column+=j),ne.end.row==L.end.row&&ne.end.column>L.end.column&&(ne.end.column+=j)),ee&&ne.start.row>=L.end.row&&(ne.start.row+=ee,ne.end.row+=ee)),ne.end=this.insert(ne.start,U),W.length){var B=L.start,$=ne.start,ee=$.row-B.row,j=$.column-B.column;this.addFolds(W.map(function(te){return(te=te.clone()).start.row==B.row&&(te.start.column+=j),te.end.row==B.row&&(te.end.column+=j),te.start.row+=ee,te.end.row+=ee,te}))}return ne},A.prototype.indentRows=function(L,F,R){R=R.replace(/\t/g,this.getTabString());for(var U=L;U<=F;U++)this.doc.insertInLine({row:U,column:0},R)},A.prototype.outdentRows=function(L){for(var F=L.collapseRows(),R=new l(0,0,0,0),U=this.getTabSize(),W=F.start.row;W<=F.end.row;++W){var ne=this.getLine(W);R.start.row=W,R.end.row=W;for(var ee=0;ee0){var U;if((U=this.getRowFoldEnd(F+R))>this.doc.getLength()-1)return 0;W=U-F}else L=this.$clipRowToDocument(L),W=(F=this.$clipRowToDocument(F))-L+1;var ne=new l(L,0,F,Number.MAX_VALUE),ee=this.getFoldsInRange(ne).map(function(B){return(B=B.clone()).start.row+=W,B.end.row+=W,B}),j=0==R?this.doc.getLines(L,F):this.doc.removeFullLines(L,F);return this.doc.insertFullLines(L+W,j),ee.length&&this.addFolds(ee),W},A.prototype.moveLinesUp=function(L,F){return this.$moveLines(L,F,-1)},A.prototype.moveLinesDown=function(L,F){return this.$moveLines(L,F,1)},A.prototype.duplicateLines=function(L,F){return this.$moveLines(L,F,0)},A.prototype.$clipRowToDocument=function(L){return Math.max(0,Math.min(L,this.doc.getLength()-1))},A.prototype.$clipColumnToRow=function(L,F){return F<0?0:Math.min(this.doc.getLine(L).length,F)},A.prototype.$clipPositionToDocument=function(L,F){if(F=Math.max(0,F),L<0)L=0,F=0;else{var R=this.doc.getLength();L>=R?(L=R-1,F=this.doc.getLine(R-1).length):F=Math.min(this.doc.getLine(L).length,F)}return{row:L,column:F}},A.prototype.$clipRangeToDocument=function(L){L.start.row<0?(L.start.row=0,L.start.column=0):L.start.column=this.$clipColumnToRow(L.start.row,L.start.column);var F=this.doc.getLength()-1;return L.end.row>F?(L.end.row=F,L.end.column=this.doc.getLine(F).length):L.end.column=this.$clipColumnToRow(L.end.row,L.end.column),L},A.prototype.setUseWrapMode=function(L){if(L!=this.$useWrapMode){if(this.$useWrapMode=L,this.$modified=!0,this.$resetRowCache(0),L){var F=this.getLength();this.$wrapData=Array(F),this.$updateWrapData(0,F-1)}this._signal("changeWrapMode")}},A.prototype.getUseWrapMode=function(){return this.$useWrapMode},A.prototype.setWrapLimitRange=function(L,F){(this.$wrapLimitRange.min!==L||this.$wrapLimitRange.max!==F)&&(this.$wrapLimitRange={min:L,max:F},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},A.prototype.adjustWrapLimit=function(L,F){var R=this.$wrapLimitRange;R.max<0&&(R={min:F,max:F});var U=this.$constrainWrapLimit(L,R.min,R.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)},A.prototype.$constrainWrapLimit=function(L,F,R){return F&&(L=Math.max(F,L)),R&&(L=Math.min(R,L)),L},A.prototype.getWrapLimit=function(){return this.$wrapLimit},A.prototype.setWrapLimit=function(L){this.setWrapLimitRange(L,L)},A.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},A.prototype.$updateInternalDataOnChange=function(L){var F=this.$useWrapMode,R=L.action,U=L.start,W=L.end,ne=U.row,ee=W.row,j=ee-ne,B=null;if(this.$updating=!0,0!=j)if("remove"===R){this[F?"$wrapData":"$rowLengthCache"].splice(ne,j);var $=this.$foldData;B=this.getFoldsInRange(L),this.removeFolds(B);var H=0;if(Z=this.getFoldLine(W.row)){Z.addRemoveChars(W.row,W.column,U.column-W.column),Z.shiftRow(-j);var te=this.getFoldLine(ne);te&&te!==Z&&(te.merge(Z),Z=te),H=$.indexOf(Z)+1}for(;H<$.length;H++)(Z=$[H]).start.row>=W.row&&Z.shiftRow(-j);ee=ne}else{var ue=Array(j);ue.unshift(ne,0);var ye=F?this.$wrapData:this.$rowLengthCache;if(ye.splice.apply(ye,ue),$=this.$foldData,H=0,Z=this.getFoldLine(ne)){var Ge=Z.range.compareInside(U.row,U.column);0==Ge?(Z=Z.split(U.row,U.column))&&(Z.shiftRow(j),Z.addRemoveChars(ee,0,W.column-U.column)):-1==Ge&&(Z.addRemoveChars(ne,0,W.column-U.column),Z.shiftRow(j)),H=$.indexOf(Z)+1}for(;H<$.length;H++){var Z;(Z=$[H]).start.row>=ne&&Z.shiftRow(j)}}else j=Math.abs(L.start.column-L.end.column),"remove"===R&&(B=this.getFoldsInRange(L),this.removeFolds(B),j=-j),(Z=this.getFoldLine(ne))&&Z.addRemoveChars(ne,U.column,j);return F&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,F?this.$updateWrapData(ne,ee):this.$updateRowLengthCache(ne,ee),B},A.prototype.$updateRowLengthCache=function(L,F){this.$rowLengthCache[L]=null,this.$rowLengthCache[F]=null},A.prototype.$updateWrapData=function(L,F){var ee,j,R=this.doc.getAllLines(),U=this.getTabSize(),W=this.$wrapData,ne=this.$wrapLimit,B=L;for(F=Math.min(F,R.length-1);B<=F;)(j=this.getFoldLine(B,j))?(ee=[],j.walk(function($,Z,H,te){var ue;if(null!=$){(ue=this.$getDisplayTokens($,ee.length))[0]=w;for(var ye=1;yeF-te;){var ue=ne+F-te;if(L[ue-1]>=M&&L[ue]>=M)H(ue);else if(L[ue]!=w&&L[ue]!=T){for(var ye=Math.max(ue-(F-(F>>2)),ne-1);ue>ye&&L[ue]ye&&L[ue]ye&&L[ue]==S;)ue--}else for(;ue>ye&&L[ue]ye?H(++ue):(L[ue=ne+F]==x&&ue--,H(ue-te))}else{for(;ue!=ne-1&&L[ue]!=w;ue--);if(ue>ne){H(ue);continue}for(ue=ne+F;ue39&&ne<48||ne>57&&ne<64?R.push(S):ne>=4352&&P(ne)?R.push(C,x):R.push(C)}return R},A.prototype.$getStringScreenWidth=function(L,F,R){if(0==F)return[0,0];var U,W;for(null==F&&(F=1/0),R=R||0,W=0;W=4352&&P(U)?R+=2:R+=1,!(R>F));W++);return[R,W]},A.prototype.getRowLength=function(L){var F=1;return this.lineWidgets&&(F+=this.lineWidgets[L]&&this.lineWidgets[L].rowCount||0),this.$useWrapMode&&this.$wrapData[L]?this.$wrapData[L].length+F:F},A.prototype.getRowLineCount=function(L){return this.$useWrapMode&&this.$wrapData[L]?this.$wrapData[L].length+1:1},A.prototype.getRowWrapIndent=function(L){if(this.$useWrapMode){var F=this.screenToDocumentPosition(L,Number.MAX_VALUE),R=this.$wrapData[F.row];return R.length&&R[0]=0){j=$[Z],W=this.$docRowCache[Z];var te=L>$[H-1]}else te=!H;for(var ue=this.getLength()-1,ye=this.getNextFoldLine(W),Ge=ye?ye.start.row:1/0;j<=L&&!(j+(B=this.getRowLength(W))>L||W>=ue);)j+=B,++W>Ge&&(Ge=(ye=this.getNextFoldLine(W=ye.end.row+1,ye))?ye.start.row:1/0),te&&(this.$docRowCache.push(W),this.$screenRowCache.push(j));if(ye&&ye.start.row<=W)U=this.getFoldDisplayLine(ye),W=ye.start.row;else{if(j+B<=L||W>ue)return{row:ue,column:this.getLine(ue).length};U=this.getLine(W),ye=null}var $e=0,Ye=Math.floor(L-j);if(this.$useWrapMode){var Ze=this.$wrapData[W];Ze&&(ee=Ze[Ye],Ye>0&&Ze.length&&($e=Ze.indent,U=U.substring(ne=Ze[Ye-1]||Ze[Ze.length-1])))}return void 0!==R&&this.$bidiHandler.isBidiRow(j+Ye,W,Ye)&&(F=this.$bidiHandler.offsetToCol(R)),ne+=this.$getStringScreenWidth(U,F-$e)[1],this.$useWrapMode&&ne>=ee&&(ne=ee-1),ye?ye.idxToPosition(ne):{row:W,column:ne}},A.prototype.documentToScreenPosition=function(L,F){if(typeof F>"u")var R=this.$clipPositionToDocument(L.row,L.column);else R=this.$clipPositionToDocument(L,F);var ne,U=0,W=null;(ne=this.getFoldAt(L=R.row,F=R.column,1))&&(L=ne.start.row,F=ne.start.column);var ee,j=0,B=this.$docRowCache,$=this.$getRowCacheIndex(B,L),Z=B.length;if(Z&&$>=0){j=B[$],U=this.$screenRowCache[$];var H=L>B[Z-1]}else H=!Z;for(var te=this.getNextFoldLine(j),ue=te?te.start.row:1/0;j=ue){if((ee=te.end.row+1)>L)break;ue=(te=this.getNextFoldLine(ee,te))?te.start.row:1/0}else ee=j+1;U+=this.getRowLength(j),j=ee,H&&(this.$docRowCache.push(j),this.$screenRowCache.push(U))}var ye="";te&&j>=ue?(ye=this.getFoldDisplayLine(te,L,F),W=te.start.row):(ye=this.getLine(L).substring(0,F),W=L);var Ge=0;if(this.$useWrapMode){var $e=this.$wrapData[W];if($e){for(var Ye=0;ye.length>=$e[Ye];)U++,Ye++;ye=ye.substring($e[Ye-1]||0,ye.length),Ge=Ye>0?$e.indent:0}}return this.lineWidgets&&this.lineWidgets[j]&&this.lineWidgets[j].rowsAbove&&(U+=this.lineWidgets[j].rowsAbove),{row:U,column:Ge+this.$getStringScreenWidth(ye)[0]}},A.prototype.documentToScreenColumn=function(L,F){return this.documentToScreenPosition(L,F).column},A.prototype.documentToScreenRow=function(L,F){return this.documentToScreenPosition(L,F).row},A.prototype.getScreenLength=function(){var L=0,F=null;if(this.$useWrapMode)for(var W=this.$wrapData.length,ne=0,U=0,ee=(F=this.$foldData[U++])?F.start.row:1/0;neee&&(ne=F.end.row+1,ee=(F=this.$foldData[U++])?F.start.row:1/0)}else{L=this.getLength();var R=this.$foldData;for(U=0;UR);ne++);return[U,ne]})},A.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()},A}();b.$uid=0,b.prototype.$modes=s.$modes,b.prototype.getValue=b.prototype.toString,b.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},b.prototype.$overwrite=!1,b.prototype.$mode=null,b.prototype.$modeId=null,b.prototype.$scrollTop=0,b.prototype.$scrollLeft=0,b.prototype.$wrapLimit=80,b.prototype.$useWrapMode=!1,b.prototype.$wrapLimitRange={min:null,max:null},b.prototype.lineWidgets=null,b.prototype.isFullWidth=P,y.implement(b.prototype,m);var C=1,x=2,w=3,T=4,S=9,M=10,k=11,I=12;function P(A){return!(A<4352)&&(A>=4352&&A<=4447||A>=4515&&A<=4519||A>=4602&&A<=4607||A>=9001&&A<=9002||A>=11904&&A<=11929||A>=11931&&A<=12019||A>=12032&&A<=12245||A>=12272&&A<=12283||A>=12288&&A<=12350||A>=12353&&A<=12438||A>=12441&&A<=12543||A>=12549&&A<=12589||A>=12593&&A<=12686||A>=12688&&A<=12730||A>=12736&&A<=12771||A>=12784&&A<=12830||A>=12832&&A<=12871||A>=12880&&A<=13054||A>=13056&&A<=19903||A>=19968&&A<=42124||A>=42128&&A<=42182||A>=43360&&A<=43388||A>=44032&&A<=55203||A>=55216&&A<=55238||A>=55243&&A<=55291||A>=63744&&A<=64255||A>=65040&&A<=65049||A>=65072&&A<=65106||A>=65108&&A<=65126||A>=65128&&A<=65131||A>=65281&&A<=65376||A>=65504&&A<=65510)}n("./edit_session/folding").Folding.call(b.prototype),n("./edit_session/bracket_match").BracketMatch.call(b.prototype),s.defineOptions(b.prototype,"session",{wrap:{set:function(A){if(A&&"off"!=A?"free"==A?A=!0:"printMargin"==A?A=-1:"string"==typeof A&&(A=parseInt(A,10)||!1):A=!1,this.$wrap!=A)if(this.$wrap=A,A){var L="number"==typeof A?A:null;this.setWrapLimitRange(L,L),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(A){(A="auto"==A?"text"!=this.$mode.type:"text"!=A)!=this.$wrapAsCode&&(this.$wrapAsCode=A,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(A){this.$useWorker=A,this.$stopWorker(),A&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(A){(A=parseInt(A))>0&&this.$tabSize!==A&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=A,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(A){this.setFoldStyle(A)},handlesSet:!0},overwrite:{set:function(A){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(A){this.doc.setNewLineMode(A)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(A){this.setMode(A)},get:function(){return this.$modeId},handlesSet:!0}}),f.EditSession=b}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(n,f,D){"use strict";var y=n("./lib/lang"),u=n("./lib/oop"),v=n("./range").Range,s=function(){function h(){this.$options={}}return h.prototype.set=function(o){return u.mixin(this.$options,o),this},h.prototype.getOptions=function(){return y.copyObject(this.$options)},h.prototype.setOptions=function(o){this.$options=o},h.prototype.find=function(o){var l=this.$options,r=this.$matchIterator(o,l);if(!r)return!1;var c=null;return r.forEach(function(d,g,b,C){return c=new v(d,g,b,C),!(g==C&&l.start&&l.start.start&&0!=l.skipCurrent&&c.isEqual(l.start)&&(c=null,1))}),c},h.prototype.findAll=function(o){var l=this.$options;if(!l.needle)return[];this.$assembleRegExp(l);var r=l.range,c=r?o.getLines(r.start.row,r.end.row):o.doc.getAllLines(),d=[],g=l.re;if(l.$isMultiLine){var x,b=g.length,C=c.length-b;e:for(var w=g.offset||0;w<=C;w++){for(var T=0;Tk||(d.push(x=new v(w,k,w+b-1,I)),b>2&&(w=w+b-2))}}else for(var P=0;PR&&d[T].end.row==U;)T--;for(d=d.slice(P,T+1),P=0,T=d.length;P=x;I--)if(M(I,Number.MAX_VALUE,k))return;if(0!=l.wrap)for(I=w,x=C.row;I>=x;I--)if(M(I,Number.MAX_VALUE,k))return}};else T=function(I){var P=C.row;if(!M(P,C.column,I)){for(P+=1;P<=w;P++)if(M(P,0,I))return;if(0!=l.wrap)for(P=x,w=C.row;P<=w;P++)if(M(P,0,I))return}};if(l.$isMultiLine)var S=r.length,M=function(k,I,P){var A=c?k-S+1:k;if(!(A<0||A+S>o.getLength())){var L=o.getLine(A),F=L.search(r[0]);if(!(!c&&FI)&&P(A,F,A+S-1,U))return!0}}};else M=c?function(I,P,A){var R,L=o.getLine(I),F=[],U=0;for(r.lastIndex=0;R=r.exec(L);){if(U=R.index,!(W=R[0].length)){if(U>=L.length)break;r.lastIndex=U+=y.skipEmptyMatch(L,U,g)}if(R.index+W>P)break;F.push(R.index,W)}for(var ne=F.length-1;ne>=0;ne-=2){var W,ee=F[ne-1];if(A(I,ee,I,ee+(W=F[ne])))return!0}}:function(I,P,A){var F,R,L=o.getLine(I);for(r.lastIndex=P;R=r.exec(L);){var U=R[0].length;if(A(I,F=R.index,I,F+U))return!0;if(!U&&(r.lastIndex=F+=y.skipEmptyMatch(L,F,g),F>=L.length))return!1}};return{forEach:T}},h}();f.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(n,f,D){"use strict";var l,y=this&&this.__extends||(l=function(r,c){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,g){d.__proto__=g}||function(d,g){for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&(d[b]=g[b])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}l(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}),u=n("../lib/keys"),v=n("../lib/useragent"),s=u.KEY_MODS,m=function(){function l(r,c){this.$init(r,c,!1)}return l.prototype.$init=function(r,c,d){this.platform=c||(v.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(r),this.$singleCommand=d},l.prototype.addCommand=function(r){this.commands[r.name]&&this.removeCommand(r),this.commands[r.name]=r,r.bindKey&&this._buildKeyHash(r)},l.prototype.removeCommand=function(r,c){var d=r&&("string"==typeof r?r:r.name);r=this.commands[d],c||delete this.commands[d];var g=this.commandKeyBinding;for(var b in g){var C=g[b];if(C==r)delete g[b];else if(Array.isArray(C)){var x=C.indexOf(r);-1!=x&&(C.splice(x,1),1==C.length&&(g[b]=C[0]))}}},l.prototype.bindKey=function(r,c,d){if("object"==typeof r&&r&&(null==d&&(d=r.position),r=r[this.platform]),r){if("function"==typeof c)return this.addCommand({exec:c,bindKey:r,name:c.name||r});r.split("|").forEach(function(g){var b="";if(-1!=g.indexOf(" ")){var C=g.split(/\s+/);g=C.pop(),C.forEach(function(T){var S=this.parseKeys(T);this._addCommandToBinding(b+=(b?" ":"")+(s[S.hashId]+S.key),"chainKeys")},this),b+=" "}var x=this.parseKeys(g);this._addCommandToBinding(b+(s[x.hashId]+x.key),c,d)},this)}},l.prototype._addCommandToBinding=function(r,c,d){var b,g=this.commandKeyBinding;if(c)if(!g[r]||this.$singleCommand)g[r]=c;else{Array.isArray(g[r])?-1!=(b=g[r].indexOf(c))&&g[r].splice(b,1):g[r]=[g[r]],"number"!=typeof d&&(d=h(c));var C=g[r];for(b=0;bd);b++);C.splice(b,0,c)}else delete g[r]},l.prototype.addCommands=function(r){r&&Object.keys(r).forEach(function(c){var d=r[c];if(d){if("string"==typeof d)return this.bindKey(d,c);"function"==typeof d&&(d={exec:d}),"object"==typeof d&&(d.name||(d.name=c),this.addCommand(d))}},this)},l.prototype.removeCommands=function(r){Object.keys(r).forEach(function(c){this.removeCommand(r[c])},this)},l.prototype.bindKeys=function(r){Object.keys(r).forEach(function(c){this.bindKey(c,r[c])},this)},l.prototype._buildKeyHash=function(r){this.bindKey(r.bindKey,r)},l.prototype.parseKeys=function(r){var c=r.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(w){return w}),d=c.pop(),g=u[d];if(u.FUNCTION_KEYS[g])d=u.FUNCTION_KEYS[g].toLowerCase();else{if(!c.length)return{key:d,hashId:-1};if(1==c.length&&"shift"==c[0])return{key:d.toUpperCase(),hashId:-1}}for(var b=0,C=c.length;C--;){var x=u.KEY_MODS[c[C]];if(null==x)return typeof console<"u"&&console.error("invalid modifier "+c[C]+" in "+r),!1;b|=x}return{key:d,hashId:b}},l.prototype.findKeyCommand=function(r,c){return this.commandKeyBinding[s[r]+c]},l.prototype.handleKeyboard=function(r,c,d,g){if(!(g<0)){var b=s[c]+d,C=this.commandKeyBinding[b];return r.$keyChain&&(r.$keyChain+=" "+b,C=this.commandKeyBinding[r.$keyChain]||C),!C||"chainKeys"!=C&&"chainKeys"!=C[C.length-1]?(r.$keyChain&&(c&&4!=c||1!=d.length?(-1==c||g>0)&&(r.$keyChain=""):r.$keyChain=r.$keyChain.slice(0,-b.length-1)),{command:C}):(r.$keyChain=r.$keyChain||b,{command:"null"})}},l.prototype.getStatusText=function(r,c){return c.$keyChain||""},l}();function h(l){return"object"==typeof l&&l.bindKey&&l.bindKey.position||(l.isDefault?-100:0)}var o=function(l){function r(c,d){var g=l.call(this,c,d)||this;return g.$singleCommand=!0,g}return y(r,l),r}(m);o.call=function(l,r,c){m.prototype.$init.call(l,r,c,!0)},m.call=function(l,r,c){m.prototype.$init.call(l,r,c,!1)},f.HashHandler=o,f.MultiHashHandler=m}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(n,f,D){"use strict";var h,y=this&&this.__extends||(h=function(o,l){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,c){r.__proto__=c}||function(r,c){for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(r[d]=c[d])})(o,l)},function(o,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function r(){this.constructor=o}h(o,l),o.prototype=null===l?Object.create(l):(r.prototype=l.prototype,new r)}),u=n("../lib/oop"),v=n("../keyboard/hash_handler").MultiHashHandler,s=n("../lib/event_emitter").EventEmitter,m=function(h){function o(l,r){var c=h.call(this,r,l)||this;return c.byName=c.commands,c.setDefaultHandler("exec",function(d){return d.args?d.command.exec(d.editor,d.args,d.event,!1):d.command.exec(d.editor,{},d.event,!0)}),c}return y(o,h),o.prototype.exec=function(l,r,c){if(Array.isArray(l)){for(var d=l.length;d--;)if(this.exec(l[d],r,c))return!0;return!1}if("string"==typeof l&&(l=this.commands[l]),!l||r&&r.$readOnly&&!l.readOnly||0!=this.$checkCommandState&&l.isAvailable&&!l.isAvailable(r))return!1;var g={editor:r,command:l,args:c};return g.returnValue=this._emit("exec",g),this._signal("afterExec",g),!1!==g.returnValue},o.prototype.toggleRecording=function(l){if(!this.$inReplay)return l&&l._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)},o.prototype.replay=function(l){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(l);try{this.$inReplay=!0,this.macro.forEach(function(r){"string"==typeof r?this.exec(r,l):this.exec(r[0],l,r[1])},this)}finally{this.$inReplay=!1}}},o.prototype.trimMacro=function(l){return l.map(function(r){return"string"!=typeof r[0]&&(r[0]=r[0].name),r[1]||(r=r[0]),r})},o}(v);u.implement(m.prototype,s),f.CommandManager=m}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(n,f,D){"use strict";var y=n("../lib/lang"),u=n("../config"),v=n("../range").Range;function s(h,o){return{win:h,mac:o}}f.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(h){u.loadModule("ace/ext/settings_menu",function(o){o.init(h),h.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(h){u.loadModule("ace/ext/error_marker",function(o){o.showErrorMarker(h,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(h){u.loadModule("ace/ext/error_marker",function(o){o.showErrorMarker(h,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(h){h.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(h){h.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(h,o){"number"==typeof o&&!isNaN(o)&&h.gotoLine(o),h.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(h){h.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(h){h.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(h){h.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(h){h.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(h){h.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(h){h.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(h){h.session.foldAll(),h.session.unfold(h.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(h){h.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(h){h.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(h){h.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(h){h.selection.isEmpty()?h.selection.selectWord():h.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(h){h.selection.isEmpty()?h.selection.selectWord():h.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(h){u.loadModule("ace/ext/searchbox",function(o){o.Search(h)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(h){h.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(h){h.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(h){h.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(h){h.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(h,o){h.navigateUp(o.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(h){h.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(h){h.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(h){h.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(h,o){h.navigateDown(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(h){h.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(h){h.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(h){h.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(h){h.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(h){h.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(h,o){h.navigateLeft(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(h){h.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(h){h.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(h){h.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(h){h.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(h){h.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(h,o){h.navigateRight(o.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(h){h.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(h){h.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(h){h.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(h){h.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(h){h.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(h){h.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(h){h.renderer.scrollBy(0,-2*h.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(h){h.renderer.scrollBy(0,2*h.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(h){h.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(h){h.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(h){h.commands.toggleRecording(h)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(h){h.commands.replay(h)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(h){h.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(h){h.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(h){h.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(h){},readOnly:!0},{name:"cut",description:"Cut",exec:function(h){var l=h.$copyWithEmptySelection&&h.selection.isEmpty()?h.selection.getLineRange():h.selection.getRange();h._emit("cut",l),l.isEmpty()||h.session.remove(l),h.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(h,o){h.$handlePaste(o)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(h){h.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(h){h.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(h){h.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(h){h.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(h){h.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(h){h.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(h){h.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(h){u.loadModule("ace/ext/searchbox",function(o){o.Search(h,!0)})}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(h){h.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(h){h.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(h){h.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(h){h.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(h){h.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(h){h.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(h){h.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(h){h.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(h){if(!h.selection.isEmpty())return!1;h.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(h){h.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(h){h.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(h){var o=h.selection.getRange();o.start.column=0,h.session.remove(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(h){var o=h.selection.getRange();o.end.column=Number.MAX_VALUE,h.session.remove(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(h){h.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(h){h.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(h){h.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(h){h.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(h){h.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(h){h.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(h,o){h.insert(o)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(h,o){h.insert(y.stringRepeat(o.text||"",o.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(h){h.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(h){h.transposeLetters()},multiSelectAction:function(h){h.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(h){h.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(h){h.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(h){h.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(h){var o=h.selection.getRange();o.start.column=o.end.column=0,o.end.row++,h.selection.setRange(o,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(h){h.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(h){for(var o=h.selection.isBackwards(),l=o?h.selection.getSelectionLead():h.selection.getSelectionAnchor(),r=o?h.selection.getSelectionAnchor():h.selection.getSelectionLead(),c=h.session.doc.getLine(l.row).length,g=h.session.doc.getTextRange(h.selection.getRange()).replace(/\n\s*/," ").length,b=h.session.doc.getLine(l.row),C=l.row+1;C<=r.row+1;C++){var x=y.stringTrimLeft(y.stringTrimRight(h.session.doc.getLine(C)));0!==x.length&&(x=" "+x),b+=x}r.row+10?(h.selection.moveCursorTo(l.row,l.column),h.selection.selectTo(l.row,l.column+g)):(c=h.session.doc.getLine(l.row).length>c?c+1:c,h.selection.moveCursorTo(l.row,c))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(h){var o=h.session.doc.getLength()-1,l=h.session.doc.getLine(o).length,r=h.selection.rangeList.ranges,c=[];r.length<1&&(r=[h.selection.getRange()]);for(var d=0;dm[h].column&&h++,r.unshift(h,0),m.splice.apply(m,r),this.$updateRows()}}},v.prototype.$updateRows=function(){var s=this.session.lineWidgets;if(s){var m=!0;s.forEach(function(h,o){if(h)for(m=!1,h.row=o;h.$oldWidget;)h.$oldWidget.row=o,h=h.$oldWidget}),m&&(this.session.lineWidgets=null)}},v.prototype.$registerLineWidget=function(s){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var m=this.session.lineWidgets[s.row];return m&&(s.$oldWidget=m,m.el&&m.el.parentNode&&(m.el.parentNode.removeChild(m.el),m._inDocument=!1)),this.session.lineWidgets[s.row]=s,s},v.prototype.addLineWidget=function(s){if(this.$registerLineWidget(s),s.session=this.session,!this.editor)return s;var m=this.editor.renderer;s.html&&!s.el&&(s.el=y.createElement("div"),s.el.innerHTML=s.html),s.text&&!s.el&&(s.el=y.createElement("div"),s.el.textContent=s.text),s.el&&(y.addCssClass(s.el,"ace_lineWidgetContainer"),s.className&&y.addCssClass(s.el,s.className),s.el.style.position="absolute",s.el.style.zIndex="5",m.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/m.layerConfig.lineHeight);var h=this.session.getFoldAt(s.row,0);if(s.$fold=h,h){var o=this.session.lineWidgets;s.row!=h.end.row||o[h.start.row]?s.hidden=!0:o[h.start.row]=s}return this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows(),this.renderWidgets(null,m),this.onWidgetChanged(s),s},v.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 m=this.session.lineWidgets[s.row];if(m==s)this.session.lineWidgets[s.row]=s.$oldWidget,s.$oldWidget&&this.onWidgetChanged(s.$oldWidget);else for(;m;){if(m.$oldWidget==s){m.$oldWidget=s.$oldWidget;break}m=m.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows()},v.prototype.getWidgetsAtRow=function(s){for(var m=this.session.lineWidgets,h=m&&m[s],o=[];h;)o.push(h),h=h.$oldWidget;return o},v.prototype.onWidgetChanged=function(s){this.session._changedWidgets.push(s),this.editor&&this.editor.renderer.updateFull()},v.prototype.measureWidgets=function(s,m){var h=this.session._changedWidgets,o=m.layerConfig;if(h&&h.length){for(var l=1/0,r=0;r0&&!o[l];)l--;this.firstRow=h.firstRow,this.lastRow=h.lastRow,m.$cursorLayer.config=h;for(var c=l;c<=r;c++){var d=o[c];if(d&&d.el){if(d.hidden){d.el.style.top=-100-(d.pixelHeight||0)+"px";continue}d._inDocument||(d._inDocument=!0,m.container.appendChild(d.el));var g=m.$cursorLayer.getPixelPosition({row:c,column:0},!0).top;d.coverLine||(g+=h.lineHeight*this.session.getRowLineCount(d.row)),d.el.style.top=g-h.offset+"px";var b=d.coverGutter?0:m.gutterWidth;d.fixedWidth||(b-=m.scrollLeft),d.el.style.left=b+"px",d.fullWidth&&d.screenWidth&&(d.el.style.minWidth=h.width+2*h.padding+"px"),d.el.style.right=d.fixedWidth?m.scrollBar.getWidth()+"px":""}}}},v}();f.LineWidgets=u}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(n,f,D){"use strict";var y=n("../lib/keys"),u=n("../mouse/default_gutter_handler").GutterTooltip,v=function(){function m(h){this.editor=h,this.gutterLayer=h.renderer.$gutterLayer,this.element=h.renderer.$gutter,this.lines=h.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new u(this.editor)}return m.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))},m.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))},m.prototype.$onGutterKeyDown=function(h){if(this.annotationTooltip.isOpen)return h.preventDefault(),void(h.keyCode===y.escape&&this.annotationTooltip.hideTooltip());if(h.target===this.element){if(h.keyCode!=y.enter)return;h.preventDefault();var o=this.editor.getCursorPosition().row;return this.editor.isRowVisible(o)||this.editor.scrollToLine(o,!0,!0),void setTimeout(function(){var l=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),r=this.$findNearestFoldWidget(l),c=this.$findNearestAnnotation(l);if(null!==r||null!==c)return null===r&&null!==c?(this.activeRowIndex=c,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==r&&null===c?(this.activeRowIndex=r,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(c-l)0||h+o=0&&this.$isFoldWidgetVisible(h-o))return h-o;if(h+o<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(h+o))return h+o}return null},m.prototype.$findNearestAnnotation=function(h){if(this.$isAnnotationVisible(h))return h;for(var o=0;h-o>0||h+o=0&&this.$isAnnotationVisible(h-o))return h-o;if(h+o<=this.lines.getLength()-1&&this.$isAnnotationVisible(h+o))return h+o}return null},m.prototype.$focusFoldWidget=function(h){if(null!=h){var o=this.$getFoldWidget(h);o.classList.add(this.editor.renderer.keyboardFocusClassName),o.focus()}},m.prototype.$focusAnnotation=function(h){if(null!=h){var o=this.$getAnnotation(h);o.classList.add(this.editor.renderer.keyboardFocusClassName),o.focus()}},m.prototype.$blurFoldWidget=function(h){var o=this.$getFoldWidget(h);o.classList.remove(this.editor.renderer.keyboardFocusClassName),o.blur()},m.prototype.$blurAnnotation=function(h){var o=this.$getAnnotation(h);o.classList.remove(this.editor.renderer.keyboardFocusClassName),o.blur()},m.prototype.$moveFoldWidgetUp=function(){for(var h=this.activeRowIndex;h>0;)if(h--,this.$isFoldWidgetVisible(h))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=h,void this.$focusFoldWidget(this.activeRowIndex)},m.prototype.$moveFoldWidgetDown=function(){for(var h=this.activeRowIndex;h0;)if(h--,this.$isAnnotationVisible(h))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=h,void this.$focusAnnotation(this.activeRowIndex)},m.prototype.$moveAnnotationDown=function(){for(var h=this.activeRowIndex;h=F.length&&(F=void 0),{value:F&&F[W++],done:!F}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/lang"),m=n("./lib/useragent"),h=n("./keyboard/textinput").TextInput,o=n("./mouse/mouse_handler").MouseHandler,l=n("./mouse/fold_handler").FoldHandler,r=n("./keyboard/keybinding").KeyBinding,c=n("./edit_session").EditSession,d=n("./search").Search,g=n("./range").Range,b=n("./lib/event_emitter").EventEmitter,C=n("./commands/command_manager").CommandManager,x=n("./commands/default_commands").commands,w=n("./config"),T=n("./token_iterator").TokenIterator,S=n("./line_widgets").LineWidgets,M=n("./keyboard/gutter_handler").GutterKeyboardHandler,k=n("./config").nls,I=n("./clipboard"),P=n("./lib/keys"),A=function(){function F(R,U,W){this.$toDestroy=[];var ne=R.getContainerElement();this.container=ne,this.renderer=R,this.id="editor"+ ++F.$uid,this.commands=new C(m.isMac?"mac":"win",x),"object"==typeof document&&(this.textInput=new h(R.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new o(this),new l(this)),this.keyBinding=new r(this),this.$search=(new d).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(ee,j){j._$emitInputEvent.schedule(31)}),this.setSession(U||W&&W.session||new c("")),w.resetOptions(this),W&&this.setOptions(W),w._signal("editor",this)}return F.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)},F.prototype.startOperation=function(R){if(this.curOp){if(!R||this.curOp.command)return;this.prevOp=this.curOp}R||(this.previousCommand=null,R={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:R.command||{},args:R.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},F.prototype.endOperation=function(R){if(this.curOp&&this.session){if(R&&!1===R.returnValue||!this.session)return this.curOp=null;if(1==R&&this.curOp.command&&"mouse"==this.curOp.command.name||(this._signal("beforeEndOperation"),!this.curOp))return;var U=this.curOp.command,W=U&&U.scrollIntoView;if(W){switch(W){case"center-animate":W="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var ne=this.selection.getRange(),ee=this.renderer.layerConfig;(ne.start.row>=ee.lastRow||ne.end.row<=ee.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==W&&this.renderer.animateScrolling(this.curOp.scrollTop)}var j=this.selection.toJSON();this.curOp.selectionAfter=j,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(j),this.prevOp=this.curOp,this.curOp=null}},F.prototype.$historyTracker=function(R){if(this.$mergeUndoDeltas){var U=this.prevOp,W=this.$mergeableCommands,ne=U.command&&R.command.name==U.command.name;if("insertstring"==R.command.name){var ee=R.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),ne=ne&&this.mergeNextCommand&&(!/\s/.test(ee)||/\s/.test(U.args)),this.mergeNextCommand=!0}else ne=ne&&-1!==W.indexOf(R.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(ne=!1),ne?this.session.mergeUndoDeltas=!0:-1!==W.indexOf(R.command.name)&&(this.sequenceStartTime=Date.now())}},F.prototype.setKeyboardHandler=function(R,U){if(R&&"string"==typeof R&&"ace"!=R){this.$keybindingId=R;var W=this;w.loadModule(["keybinding",R],function(ne){W.$keybindingId==R&&W.keyBinding.setKeyboardHandler(ne&&ne.handler),U&&U()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(R),U&&U()},F.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},F.prototype.setSession=function(R){if(this.session!=R){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 W=this.session.getSelection();W.off("changeCursor",this.$onCursorChange),W.off("changeSelection",this.$onSelectionChange)}this.session=R,R?(this.$onDocumentChange=this.onDocumentChange.bind(this),R.on("change",this.$onDocumentChange),this.renderer.setSession(R),this.$onChangeMode=this.onChangeMode.bind(this),R.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),R.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),R.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),R.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),R.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),R.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=R.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(R)),this._signal("changeSession",{session:R,oldSession:U}),this.curOp=null,U&&U._signal("changeEditor",{oldEditor:this}),R&&R._signal("changeEditor",{editor:this}),R&&!R.destroyed&&R.bgTokenizer.scheduleStart()}},F.prototype.getSession=function(){return this.session},F.prototype.setValue=function(R,U){return this.session.doc.setValue(R),U?1==U?this.navigateFileEnd():-1==U&&this.navigateFileStart():this.selectAll(),R},F.prototype.getValue=function(){return this.session.getValue()},F.prototype.getSelection=function(){return this.selection},F.prototype.resize=function(R){this.renderer.onResize(R)},F.prototype.setTheme=function(R,U){this.renderer.setTheme(R,U)},F.prototype.getTheme=function(){return this.renderer.getTheme()},F.prototype.setStyle=function(R){this.renderer.setStyle(R)},F.prototype.unsetStyle=function(R){this.renderer.unsetStyle(R)},F.prototype.getFontSize=function(){return this.getOption("fontSize")||v.computedStyle(this.container).fontSize},F.prototype.setFontSize=function(R){this.setOption("fontSize",R)},F.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var R=this;this.$highlightPending=!0,setTimeout(function(){R.$highlightPending=!1;var U=R.session;if(U&&!U.destroyed){U.$bracketHighlight&&(U.$bracketHighlight.markerIds.forEach(function(te){U.removeMarker(te)}),U.$bracketHighlight=null);var W=R.getCursorPosition(),ne=R.getKeyboardHandler(),ee=ne&&ne.$getDirectionForHighlight&&ne.$getDirectionForHighlight(R),j=U.getMatchingBracketRanges(W,ee);if(!j){var $=new T(U,W.row,W.column).getCurrentToken();if($&&/\b(?:tag-open|tag-name)/.test($.type)){var Z=U.getMatchingTags(W);Z&&(j=[Z.openTagName,Z.closeTagName])}}if(!j&&U.$mode.getMatching&&(j=U.$mode.getMatching(R.session)),!j)return void(R.getHighlightIndentGuides()&&R.renderer.$textLayer.$highlightIndentGuide());var H="ace_bracket";Array.isArray(j)?1==j.length&&(H="ace_error_bracket"):j=[j],2==j.length&&(0==g.comparePoints(j[0].end,j[1].start)?j=[g.fromPoints(j[0].start,j[1].end)]:0==g.comparePoints(j[0].start,j[1].end)&&(j=[g.fromPoints(j[1].start,j[0].end)])),U.$bracketHighlight={ranges:j,markerIds:j.map(function(te){return U.addMarker(te,H,"text")})},R.getHighlightIndentGuides()&&R.renderer.$textLayer.$highlightIndentGuide()}},50)}},F.prototype.focus=function(){this.textInput.focus()},F.prototype.isFocused=function(){return this.textInput.isFocused()},F.prototype.blur=function(){this.textInput.blur()},F.prototype.onFocus=function(R){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",R))},F.prototype.onBlur=function(R){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",R))},F.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},F.prototype.onDocumentChange=function(R){this.renderer.updateLines(R.start.row,R.start.row==R.end.row?R.end.row:1/0,this.session.$useWrapMode),this._signal("change",R),this.$cursorChange()},F.prototype.onTokenizerUpdate=function(R){var U=R.data;this.renderer.updateLines(U.first,U.last)},F.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},F.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},F.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},F.prototype.$updateHighlightActiveLine=function(){var U,R=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)),R.$highlightLineMarker&&!U)R.removeMarker(R.$highlightLineMarker.id),R.$highlightLineMarker=null;else if(!R.$highlightLineMarker&&U){var W=new g(U.row,U.column,U.row,1/0);W.id=R.addMarker(W,"ace_active-line","screenLine"),R.$highlightLineMarker=W}else U&&(R.$highlightLineMarker.start.row=U.row,R.$highlightLineMarker.end.row=U.row,R.$highlightLineMarker.start.column=U.column,R._signal("changeBackMarker"))},F.prototype.onSelectionChange=function(R){var U=this.session;if(U.$selectionMarker&&U.removeMarker(U.$selectionMarker),U.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var W=this.selection.getRange(),ne=this.getSelectionStyle();U.$selectionMarker=U.addMarker(W,"ace_selection",ne)}var ee=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(ee),this._signal("changeSelection")},F.prototype.$getSelectionHighLightRegexp=function(){var R=this.session,U=this.getSelectionRange();if(!U.isEmpty()&&!U.isMultiLine()){var W=U.start.column,ne=U.end.column,ee=R.getLine(U.start.row),j=ee.substring(W,ne);if(!(j.length>5e3)&&/[\w\d]/.test(j)){var B=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:j}),$=ee.substring(W-1,ne+1);if(B.test($))return B}}},F.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},F.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},F.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},F.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},F.prototype.onChangeMode=function(R){this.renderer.updateText(),this._emit("changeMode",R)},F.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},F.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},F.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},F.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},F.prototype.getCopyText=function(){var R=this.getSelectedText(),U=this.session.doc.getNewLineCharacter(),W=!1;if(!R&&this.$copyWithEmptySelection){W=!0;for(var ne=this.selection.getAllRanges(),ee=0;eete.search(/\S|$/)){var $=te.substr(ee.column).search(/\S|$/);W.doc.removeInLine(ee.row,ee.column,ee.column+$)}}this.clearSelection();var Z=ee.column,H=W.getState(ee.row),ue=(te=W.getLine(ee.row),ne.checkOutdent(H,te,R));if(W.insert(ee,R),j&&j.selection&&this.selection.setSelectionRange(2==j.selection.length?new g(ee.row,Z+j.selection[0],ee.row,Z+j.selection[1]):new g(ee.row+j.selection[0],j.selection[1],ee.row+j.selection[2],j.selection[3])),this.$enableAutoIndent){if(W.getDocument().isNewLine(R)){var ye=ne.getNextLineIndent(H,te.slice(0,ee.column),W.getTabString());W.insert({row:ee.row+1,column:0},ye)}ue&&ne.autoOutdent(H,W,ee.row)}},F.prototype.autoIndent=function(){var W,ne,R=this.session,U=R.getMode();if(this.selection.isEmpty())W=0,ne=R.doc.getLength()-1;else{var ee=this.getSelectionRange();W=ee.start.row,ne=ee.end.row}for(var Z,H,te,j="",B="",$="",ue=R.getTabString(),ye=W;ye<=ne;ye++)ye>0&&(j=R.getState(ye-1),B=R.getLine(ye-1),$=U.getNextLineIndent(j,B,ue)),Z=R.getLine(ye),$!==(H=U.$getIndent(Z))&&(H.length>0&&(te=new g(ye,0,ye,H.length),R.remove(te)),$.length>0&&R.insert({row:ye,column:0},$)),U.autoOutdent(j,R,ye)},F.prototype.onTextInput=function(R,U){if(!U)return this.keyBinding.onTextInput(R);this.startOperation({command:{name:"insertstring"}});var W=this.applyComposition.bind(this,R,U);this.selection.rangeCount?this.forEachSelection(W):W(),this.endOperation()},F.prototype.applyComposition=function(R,U){var W;(U.extendLeft||U.extendRight)&&((W=this.selection.getRange()).start.column-=U.extendLeft,W.end.column+=U.extendRight,W.start.column<0&&(W.start.row--,W.start.column+=this.session.getLine(W.start.row).length+1),this.selection.setRange(W),!R&&!W.isEmpty()&&this.remove()),(R||!this.selection.isEmpty())&&this.insert(R,!0),(U.restoreStart||U.restoreEnd)&&((W=this.selection.getRange()).start.column-=U.restoreStart,W.end.column-=U.restoreEnd,this.selection.setRange(W))},F.prototype.onCommandKey=function(R,U,W){return this.keyBinding.onCommandKey(R,U,W)},F.prototype.setOverwrite=function(R){this.session.setOverwrite(R)},F.prototype.getOverwrite=function(){return this.session.getOverwrite()},F.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},F.prototype.setScrollSpeed=function(R){this.setOption("scrollSpeed",R)},F.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},F.prototype.setDragDelay=function(R){this.setOption("dragDelay",R)},F.prototype.getDragDelay=function(){return this.getOption("dragDelay")},F.prototype.setSelectionStyle=function(R){this.setOption("selectionStyle",R)},F.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},F.prototype.setHighlightActiveLine=function(R){this.setOption("highlightActiveLine",R)},F.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},F.prototype.setHighlightGutterLine=function(R){this.setOption("highlightGutterLine",R)},F.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},F.prototype.setHighlightSelectedWord=function(R){this.setOption("highlightSelectedWord",R)},F.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},F.prototype.setAnimatedScroll=function(R){this.renderer.setAnimatedScroll(R)},F.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},F.prototype.setShowInvisibles=function(R){this.renderer.setShowInvisibles(R)},F.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},F.prototype.setDisplayIndentGuides=function(R){this.renderer.setDisplayIndentGuides(R)},F.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},F.prototype.setHighlightIndentGuides=function(R){this.renderer.setHighlightIndentGuides(R)},F.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},F.prototype.setShowPrintMargin=function(R){this.renderer.setShowPrintMargin(R)},F.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},F.prototype.setPrintMarginColumn=function(R){this.renderer.setPrintMarginColumn(R)},F.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},F.prototype.setReadOnly=function(R){this.setOption("readOnly",R)},F.prototype.getReadOnly=function(){return this.getOption("readOnly")},F.prototype.setBehavioursEnabled=function(R){this.setOption("behavioursEnabled",R)},F.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},F.prototype.setWrapBehavioursEnabled=function(R){this.setOption("wrapBehavioursEnabled",R)},F.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},F.prototype.setShowFoldWidgets=function(R){this.setOption("showFoldWidgets",R)},F.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},F.prototype.setFadeFoldWidgets=function(R){this.setOption("fadeFoldWidgets",R)},F.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},F.prototype.remove=function(R){this.selection.isEmpty()&&("left"==R?this.selection.selectLeft():this.selection.selectRight());var U=this.getSelectionRange();if(this.getBehavioursEnabled()){var W=this.session,ne=W.getState(U.start.row),ee=W.getMode().transformAction(ne,"deletion",this,W,U);if(0===U.end.column){var j=W.getTextRange(U);if("\n"==j[j.length-1]){var B=W.getLine(U.end.row);/^\s+$/.test(B)&&(U.end.column=B.length)}}ee&&(U=ee)}this.session.remove(U),this.clearSelection()},F.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},F.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var R=this.getSelectionRange();R.start.column==R.end.column&&R.start.row==R.end.row&&(R.end.column=0,R.end.row++),this.session.remove(R),this.clearSelection()},F.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var R=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(R)},F.prototype.setGhostText=function(R,U){this.session.widgetManager||(this.session.widgetManager=new S(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(R,U)},F.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},F.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var R=this.getCursorPosition(),U=R.column;if(0!==U){var ne,ee,W=this.session.getLine(R.row);U$.toLowerCase()?1:0});var ee=new g(0,0,0,0);for(ne=R.first;ne<=R.last;ne++){var j=U.getLine(ne);ee.start.row=ne,ee.end.row=ne,ee.end.column=j.length,U.replace(ee,W[ne-R.first])}},F.prototype.toggleCommentLines=function(){var R=this.session.getState(this.getCursorPosition().row),U=this.$getSelectedRows();this.session.getMode().toggleCommentLines(R,this.session,U.first,U.last)},F.prototype.toggleBlockComment=function(){var R=this.getCursorPosition(),U=this.session.getState(R.row),W=this.getSelectionRange();this.session.getMode().toggleBlockComment(U,this.session,W,R)},F.prototype.getNumberAt=function(R,U){var W=/[\-]?[0-9]+(?:\.[0-9]+)?/g;W.lastIndex=0;for(var ne=this.session.getLine(R);W.lastIndex=U)return{value:ee[0],start:ee.index,end:ee.index+ee[0].length}}return null},F.prototype.modifyNumber=function(R){var U=this.selection.getCursor().row,W=this.selection.getCursor().column,ne=new g(U,W-1,U,W),ee=this.session.getTextRange(ne);if(!isNaN(parseFloat(ee))&&isFinite(ee)){var j=this.getNumberAt(U,W);if(j){var B=j.value.indexOf(".")>=0?j.start+j.value.indexOf(".")+1:j.end,$=j.start+j.value.length-B,Z=parseFloat(j.value);Z*=Math.pow(10,$),Z+=R*=B!==j.end&&W=B&&j<=$&&(W=Et,Z.selection.clearSelection(),Z.moveCursorTo(R,B+ne),Z.selection.selectTo(R,$+ne)),B=$});for(var te,H=this.$toggleWordPairs,ue=0;ue=$&&B<=Z&&ye.match(/((?:https?|ftp):\/\/[\S]+)/)){H=ye.replace(/[\s:.,'";}\]]+$/,"");break}$=Z}}catch(Ge){W={error:Ge}}finally{try{ue&&!ue.done&&(ne=te.return)&&ne.call(te)}finally{if(W)throw W.error}}return H},F.prototype.openLink=function(){var R=this.selection.getCursor(),U=this.findLinkAt(R.row,R.column);return U&&window.open(U,"_blank"),null!=U},F.prototype.removeLines=function(){var R=this.$getSelectedRows();this.session.removeFullLines(R.first,R.last),this.clearSelection()},F.prototype.duplicateSelection=function(){var R=this.selection,U=this.session,W=R.getRange(),ne=R.isBackwards();if(W.isEmpty()){var ee=W.start.row;U.duplicateLines(ee,ee)}else{var j=ne?W.start:W.end,B=U.insert(j,U.getTextRange(W));W.start=j,W.end=B,R.setSelectionRange(W,ne)}},F.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},F.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},F.prototype.moveText=function(R,U,W){return this.session.moveText(R,U,W)},F.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},F.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},F.prototype.$moveLines=function(R,U){var W,ne,ee=this.selection;if(!ee.inMultiSelectMode||this.inVirtualSelectionMode){var j=ee.toOrientedRange();W=this.$getSelectedRows(j),ne=this.session.$moveLines(W.first,W.last,U?0:R),U&&-1==R&&(ne=0),j.moveBy(ne,0),ee.fromOrientedRange(j)}else{var B=ee.rangeList.ranges;ee.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var $=0,Z=0,H=B.length,te=0;teGe+1)break;Ge=$e.last}for(te--,$=this.session.$moveLines(ye,Ge,U?0:R),U&&-1==R&&(ue=te+1);ue<=te;)B[ue].moveBy($,0),ue++;U||($=0),Z+=$}ee.fromOrientedRange(ee.ranges[0]),ee.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},F.prototype.$getSelectedRows=function(R){return R=(R||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(R.start.row),last:this.session.getRowFoldEnd(R.end.row)}},F.prototype.onCompositionStart=function(R){this.renderer.showComposition(R)},F.prototype.onCompositionUpdate=function(R){this.renderer.setCompositionText(R)},F.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},F.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},F.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},F.prototype.isRowVisible=function(R){return R>=this.getFirstVisibleRow()&&R<=this.getLastVisibleRow()},F.prototype.isRowFullyVisible=function(R){return R>=this.renderer.getFirstFullyVisibleRow()&&R<=this.renderer.getLastFullyVisibleRow()},F.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},F.prototype.$moveByPage=function(R,U){var W=this.renderer,ne=this.renderer.layerConfig,ee=R*Math.floor(ne.height/ne.lineHeight);!0===U?this.selection.$moveSelection(function(){this.moveCursorBy(ee,0)}):!1===U&&(this.selection.moveCursorBy(ee,0),this.selection.clearSelection());var j=W.scrollTop;W.scrollBy(0,ee*ne.lineHeight),null!=U&&W.scrollCursorIntoView(null,.5),W.animateScrolling(j)},F.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},F.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},F.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},F.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},F.prototype.scrollPageDown=function(){this.$moveByPage(1)},F.prototype.scrollPageUp=function(){this.$moveByPage(-1)},F.prototype.scrollToRow=function(R){this.renderer.scrollToRow(R)},F.prototype.scrollToLine=function(R,U,W,ne){this.renderer.scrollToLine(R,U,W,ne)},F.prototype.centerSelection=function(){var R=this.getSelectionRange(),U={row:Math.floor(R.start.row+(R.end.row-R.start.row)/2),column:Math.floor(R.start.column+(R.end.column-R.start.column)/2)};this.renderer.alignCursor(U,.5)},F.prototype.getCursorPosition=function(){return this.selection.getCursor()},F.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},F.prototype.getSelectionRange=function(){return this.selection.getRange()},F.prototype.selectAll=function(){this.selection.selectAll()},F.prototype.clearSelection=function(){this.selection.clearSelection()},F.prototype.moveCursorTo=function(R,U){this.selection.moveCursorTo(R,U)},F.prototype.moveCursorToPosition=function(R){this.selection.moveCursorToPosition(R)},F.prototype.jumpToMatching=function(R,U){var W=this.getCursorPosition(),ne=new T(this.session,W.row,W.column),ee=ne.getCurrentToken(),j=0;ee&&-1!==ee.type.indexOf("tag-name")&&(ee=ne.stepBackward());var B=ee||ne.stepForward();if(B){var $,ue,Z=!1,H={},te=W.column-B.start,ye={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(B.value.match(/[{}()\[\]]/g)){for(;te1?H[B.value]++:"=0;--j)this.$tryReplace(W[j],R)&&ne++;return this.selection.setSelectionRange(ee),ne},F.prototype.$tryReplace=function(R,U){var W=this.session.getTextRange(R);return null!==(U=this.$search.replace(W,U))?(R.end=this.session.replace(R,U),R):null},F.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},F.prototype.find=function(R,U,W){U||(U={}),"string"==typeof R||R instanceof RegExp?U.needle=R:"object"==typeof R&&u.mixin(U,R);var ne=this.selection.getRange();null==U.needle&&((R=this.session.getTextRange(ne)||this.$search.$options.needle)||(ne=this.session.getWordRange(ne.start.row,ne.start.column),R=this.session.getTextRange(ne)),this.$search.set({needle:R})),this.$search.set(U),U.start||this.$search.set({start:ne});var ee=this.$search.find(this.session);return U.preventScroll?ee:ee?(this.revealRange(ee,W),ee):(U.backwards?ne.start=ne.end:ne.end=ne.start,void this.selection.setRange(ne))},F.prototype.findNext=function(R,U){this.find({skipCurrent:!0,backwards:!1},R,U)},F.prototype.findPrevious=function(R,U){this.find(R,{skipCurrent:!0,backwards:!0},U)},F.prototype.revealRange=function(R,U){this.session.unfold(R),this.selection.setSelectionRange(R);var W=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(R.start,R.end,.5),!1!==U&&this.renderer.animateScrolling(W)},F.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},F.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},F.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(R){R.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()},F.prototype.setAutoScrollEditorIntoView=function(R){if(R){var U,W=this,ne=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var ee=this.$scrollAnchor;ee.style.cssText="position:absolute",this.container.insertBefore(ee,this.container.firstChild);var j=this.on("changeSelection",function(){ne=!0}),B=this.renderer.on("beforeRender",function(){ne&&(U=W.renderer.container.getBoundingClientRect())}),$=this.renderer.on("afterRender",function(){if(ne&&U&&(W.isFocused()||W.searchBox&&W.searchBox.isFocused())){var Z=W.renderer,H=Z.$cursorLayer.$pixelPos,te=Z.layerConfig,ue=H.top-te.offset;null!=(ne=H.top>=0&&ue+U.top<0||!(H.topwindow.innerHeight)&&null)&&(ee.style.top=ue+"px",ee.style.left=H.left+"px",ee.style.height=te.lineHeight+"px",ee.scrollIntoView(ne)),ne=U=null}});this.setAutoScrollEditorIntoView=function(Z){Z||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",j),this.renderer.off("afterRender",$),this.renderer.off("beforeRender",B))}}},F.prototype.$resetCursorStyle=function(){var R=this.$cursorStyle||"ace",U=this.renderer.$cursorLayer;U&&(U.setSmoothBlinking(/smooth/.test(R)),U.isBlinking=!this.$readOnly&&"wide"!=R,v.setCssClass(U.element,"ace_slim-cursors",/slim/.test(R)))},F.prototype.prompt=function(R,U,W){var ne=this;w.loadModule("ace/ext/prompt",function(ee){ee.prompt(ne,R,U,W)})},F}();A.$uid=0,A.prototype.curOp=null,A.prototype.prevOp={},A.prototype.$mergeableCommands=["backspace","del","insertstring"],A.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"],["&&","||"],["==","!="]],u.implement(A.prototype,b),w.defineOptions(A.prototype,"editor",{selectionStyle:{set:function(F){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:F})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(F){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(F){this.textInput.setReadOnly(F),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(F){this.textInput.setCopyWithEmptySelection(F)},initialValue:!1},cursorStyle:{set:function(F){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(F){this.setAutoScrollEditorIntoView(F)}},keyboardHandler:{set:function(F){this.setKeyboardHandler(F)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(F){this.session.setValue(F)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(F){this.setSession(F)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(F){this.renderer.$gutterLayer.setShowLineNumbers(F),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),F&&this.$relativeLineNumbers?L.attach(this):L.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(F){this.$showLineNumbers&&F?L.attach(this):L.detach(this)}},placeholder:{set:function(F){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var R=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(R&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),v.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(R||this.renderer.placeholderNode)!R&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),v.addCssClass(this.container,"ace_hasPlaceholder");var U=v.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(F){var W,R={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(ne){ne.blur(),ne.renderer.scroller.focus()},readOnly:!0},U=function(ne){if(ne.target==this.renderer.scroller&&ne.keyCode===P.enter){ne.preventDefault();var ee=this.getCursorPosition().row;this.isRowVisible(ee)||this.scrollToLine(ee,!0,!0),this.focus()}};F?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(m.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",k("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",k("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",U.bind(this)),this.commands.addCommand(R),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",k("editor")),this.renderer.$gutter.setAttribute("aria-label",k("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),W||(W=new M(this)),W.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(R),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),W&&W.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 L={getText:function(F,R){return(Math.abs(F.selection.lead.row-R)||R+1+(R<9?"\xb7":""))+""},getWidth:function(F,R,U){return Math.max(R.toString().length,(U.lastRow+1).toString().length,2)*U.characterWidth},update:function(F,R){R.renderer.$loop.schedule(R.renderer.CHANGE_GUTTER)},attach:function(F){F.renderer.$gutterLayer.$renderer=this,F.on("changeSelection",this.update),this.update(null,F)},detach:function(F){F.renderer.$gutterLayer.$renderer==this&&(F.renderer.$gutterLayer.$renderer=null),F.off("changeSelection",this.update),this.update(null,F)}};f.Editor=A}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=function(){function v(s,m){this.element=s,this.canvasHeight=m||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return v.prototype.moveContainer=function(s){y.translate(this.element,0,-s.firstRowScreen*s.lineHeight%this.canvasHeight-s.offset*this.$offsetCoefficient)},v.prototype.pageChanged=function(s,m){return Math.floor(s.firstRowScreen*s.lineHeight/this.canvasHeight)!==Math.floor(m.firstRowScreen*m.lineHeight/this.canvasHeight)},v.prototype.computeLineTop=function(s,m,h){var l=Math.floor(m.firstRowScreen*m.lineHeight/this.canvasHeight);return h.documentToScreenRow(s,0)*m.lineHeight-l*this.canvasHeight},v.prototype.computeLineHeight=function(s,m,h){return m.lineHeight*h.getRowLineCount(s)},v.prototype.getLength=function(){return this.cells.length},v.prototype.get=function(s){return this.cells[s]},v.prototype.shift=function(){this.$cacheCell(this.cells.shift())},v.prototype.pop=function(){this.$cacheCell(this.cells.pop())},v.prototype.push=function(s){if(Array.isArray(s)){this.cells.push.apply(this.cells,s);for(var m=y.createFragment(this.element),h=0;hx&&(x=(C=d.getNextFoldLine(S=C.end.row+1,C))?C.start.row:1/0),S>b){for(;this.$lines.getLength()>T+1;)this.$lines.pop();break}(w=this.$lines.get(++T))?w.row=S:(w=this.$lines.createCell(S,c,this.session,l),this.$lines.push(w)),this.$renderCell(w,c,C,S),S++}this._signal("afterRender"),this.$updateGutterWidth(c)},r.prototype.$updateGutterWidth=function(c){var d=this.session,g=d.gutterRenderer||this.$renderer,b=d.$firstLineNumber,C=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||d.$useWrapMode)&&(C=d.getLength()+b-1);var x=g?g.getWidth(d,C,c):C.toString().length*c.characterWidth,w=this.$padding||this.$computePadding();(x+=w.left+w.right)!==this.gutterWidth&&!isNaN(x)&&(this.gutterWidth=x,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",x))},r.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var c=this.session.selection.getCursor();this.$cursorRow!==c.row&&(this.$cursorRow=c.row)}},r.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var c=this.session.selection.cursor.row;if(this.$cursorRow=c,!this.$cursorCell||this.$cursorCell.row!=c){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var d=this.$lines.cells;this.$cursorCell=null;for(var g=0;g=this.$cursorRow){if(b.row>this.$cursorRow){var C=this.session.getFoldLine(this.$cursorRow);if(!(g>0&&C&&C.start.row==d[g-1].row))break;b=d[g-1]}b.element.className="ace_gutter-active-line "+b.element.className,this.$cursorCell=b;break}}}}},r.prototype.scrollLines=function(c){var d=this.config;if(this.config=c,this.$updateCursorRow(),this.$lines.pageChanged(d,c))return this.update(c);this.$lines.moveContainer(c);var g=Math.min(c.lastRow+c.gutterOffset,this.session.getLength()-1),b=this.oldLastRow;if(this.oldLastRow=g,!d||b0;C--)this.$lines.shift();if(b>g)for(C=this.session.getFoldedRowCount(g+1,b);C>0;C--)this.$lines.pop();c.firstRowb&&this.$lines.push(this.$renderLines(c,b+1,g)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(c)},r.prototype.$renderLines=function(c,d,g){for(var b=[],C=d,x=this.session.getNextFoldLine(C),w=x?x.start.row:1/0;C>w&&(w=(x=this.session.getNextFoldLine(C=x.end.row+1,x))?x.start.row:1/0),!(C>g);){var T=this.$lines.createCell(C,c,this.session,l);this.$renderCell(T,c,x,C),b.push(T),C++}return b},r.prototype.$renderCell=function(c,d,g,b){var C=c.element,x=this.session,w=C.childNodes[0],T=C.childNodes[1],S=C.childNodes[2],M=S.firstChild,k=x.$firstLineNumber,I=x.$breakpoints,P=x.$decorations,A=x.gutterRenderer||this.$renderer,L=this.$showFoldWidgets&&x.foldWidgets,F=g?g.start.row:Number.MAX_VALUE,R=d.lineHeight+"px",U=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",W=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",ne=(A?A.getText(x,b):b+k).toString();if(this.$highlightGutterLine&&(b==this.$cursorRow||g&&b=F&&this.$cursorRow<=g.end.row)&&(U+="ace_gutter-active-line ",this.$cursorCell!=c&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=c)),I[b]&&(U+=I[b]),P[b]&&(U+=P[b]),this.$annotations[b]&&b!==F&&(U+=this.$annotations[b].className),L){var ee=L[b];null==ee&&(ee=L[b]=x.getFoldWidget(b))}if(ee){var j="ace_fold-widget ace_"+ee,B="start"==ee&&b==F&&bg.right-d.right?"foldWidgets":void 0},r}();function l(r){var c=document.createTextNode("");r.appendChild(c);var d=y.createElement("span");r.appendChild(d);var g=y.createElement("span");r.appendChild(g);var b=y.createElement("span");return g.appendChild(b),r}o.prototype.$fixedWidth=!1,o.prototype.$highlightGutterLine=!0,o.prototype.$renderer="",o.prototype.$showLineNumbers=!0,o.prototype.$showFoldWidgets=!0,u.implement(o.prototype,s),f.Gutter=o}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../range").Range,u=n("../lib/dom"),v=function(){function m(h){this.element=u.createElement("div"),this.element.className="ace_layer ace_marker-layer",h.appendChild(this.element)}return m.prototype.setPadding=function(h){this.$padding=h},m.prototype.setSession=function(h){this.session=h},m.prototype.setMarkers=function(h){this.markers=h},m.prototype.elt=function(h,o){var l=-1!=this.i&&this.element.childNodes[this.i];l?this.i++:(l=document.createElement("div"),this.element.appendChild(l),this.i=-1),l.style.cssText=o,l.className=h},m.prototype.update=function(h){if(h){var o;for(var l in this.config=h,this.i=0,this.markers){var r=this.markers[l];if(r.range){var c=r.range.clipRows(h.firstRow,h.lastRow);if(!c.isEmpty())if(c=c.toScreenRange(this.session),r.renderer){var d=this.$getTop(c.start.row,h);r.renderer(o,c,this.$padding+c.start.column*h.characterWidth,d,h)}else"fullLine"==r.type?this.drawFullLineMarker(o,c,r.clazz,h):"screenLine"==r.type?this.drawScreenLineMarker(o,c,r.clazz,h):c.isMultiLine()?"text"==r.type?this.drawTextMarker(o,c,r.clazz,h):this.drawMultiLineMarker(o,c,r.clazz,h):this.drawSingleLineMarker(o,c,r.clazz+" ace_start ace_br15",h)}else r.update(o,this,this.session,h)}if(-1!=this.i)for(;this.iT,C==b),r,C==b?0:1,c)},m.prototype.drawMultiLineMarker=function(h,o,l,r,c){var x,d=this.$padding,g=r.lineHeight,b=this.$getTop(o.start.row,r),C=d+o.start.column*r.characterWidth;if(c=c||"",this.session.$bidiHandler.isBidiRow(o.start.row)?((x=o.clone()).end.row=x.start.row,x.end.column=this.session.getLine(x.start.row).length,this.drawBidiSingleLineMarker(h,x,l+" ace_br1 ace_start",r,null,c)):this.elt(l+" ace_br1 ace_start","height:"+g+"px;right:0;top:"+b+"px;left:"+C+"px;"+(c||"")),this.session.$bidiHandler.isBidiRow(o.end.row)?((x=o.clone()).start.row=x.end.row,x.start.column=0,this.drawBidiSingleLineMarker(h,x,l+" ace_br12",r,null,c)):(b=this.$getTop(o.end.row,r),this.elt(l+" ace_br12","height:"+g+"px;width:"+o.end.column*r.characterWidth+"px;top:"+b+"px;left:"+d+"px;"+(c||""))),!((g=(o.end.row-o.start.row-1)*r.lineHeight)<=0)){b=this.$getTop(o.start.row+1,r);var T=(o.start.column?1:0)|(o.end.column?0:8);this.elt(l+(T?" ace_br"+T:""),"height:"+g+"px;right:0;top:"+b+"px;left:"+d+"px;"+(c||""))}},m.prototype.drawSingleLineMarker=function(h,o,l,r,c,d){if(this.session.$bidiHandler.isBidiRow(o.start.row))return this.drawBidiSingleLineMarker(h,o,l,r,c,d);var g=r.lineHeight,b=(o.end.column+(c||0)-o.start.column)*r.characterWidth,C=this.$getTop(o.start.row,r);this.elt(l,"height:"+g+"px;width:"+b+"px;top:"+C+"px;left:"+(this.$padding+o.start.column*r.characterWidth)+"px;"+(d||""))},m.prototype.drawBidiSingleLineMarker=function(h,o,l,r,c,d){var g=r.lineHeight,b=this.$getTop(o.start.row,r),C=this.$padding;this.session.$bidiHandler.getSelections(o.start.column,o.end.column).forEach(function(w){this.elt(l,"height:"+g+"px;width:"+(w.width+(c||0))+"px;top:"+b+"px;left:"+(C+w.left)+"px;"+(d||""))},this)},m.prototype.drawFullLineMarker=function(h,o,l,r,c){var d=this.$getTop(o.start.row,r),g=r.lineHeight;o.start.row!=o.end.row&&(g+=this.$getTop(o.end.row,r)-d),this.elt(l,"height:"+g+"px;top:"+d+"px;left:0;right:0;"+(c||""))},m.prototype.drawScreenLineMarker=function(h,o,l,r,c){var d=this.$getTop(o.start.row,r);this.elt(l,"height:"+r.lineHeight+"px;top:"+d+"px;left:0;right:0;"+(c||""))},m}();function s(m,h,o,l){return(m?1:0)|(h?2:0)|(o?4:0)|(l?8:0)}v.prototype.$padding=0,f.Marker=v}),ace.define("ace/layer/text_util",["require","exports","module"],function(n,f,D){var y=new Set(["text","rparen","lparen"]);f.isTextToken=function(u){return y.has(u)}}),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(n,f,D){"use strict";var y=n("../lib/oop"),u=n("../lib/dom"),v=n("../lib/lang"),s=n("./lines").Lines,m=n("../lib/event_emitter").EventEmitter,h=n("../config").nls,o=n("./text_util").isTextToken,l=function(){function r(c){this.dom=u,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",c.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return r.prototype.$updateEolChar=function(){var c=this.session.doc,g="\n"==c.getNewLineCharacter()&&"windows"!=c.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=g)return this.EOL_CHAR=g,!0},r.prototype.setPadding=function(c){this.$padding=c,this.element.style.margin="0 "+c+"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(c){this.$fontMetrics=c,this.$fontMetrics.on("changeCharacterSize",function(d){this._signal("changeCharacterSize",d)}.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(c){this.session=c,c&&this.$computeTabString()},r.prototype.setShowInvisibles=function(c){return this.showInvisibles!=c&&(this.showInvisibles=c,"string"==typeof c?(this.showSpaces=/tab/i.test(c),this.showTabs=/space/i.test(c),this.showEOL=/eol/i.test(c)):this.showSpaces=this.showTabs=this.showEOL=c,this.$computeTabString(),!0)},r.prototype.setDisplayIndentGuides=function(c){return this.displayIndentGuides!=c&&(this.displayIndentGuides=c,this.$computeTabString(),!0)},r.prototype.setHighlightIndentGuides=function(c){return this.$highlightIndentGuides!==c&&(this.$highlightIndentGuides=c,c)},r.prototype.$computeTabString=function(){var c=this.session.getTabSize();this.tabSize=c;for(var d=this.$tabStrings=[0],g=1;gk&&(k=(M=this.session.getNextFoldLine(S=M.end.row+1,M))?M.start.row:1/0),!(S>C);){var I=x[w++];if(I){this.dom.removeChildren(I),this.$renderLine(I,S,S==k&&M),T&&(I.style.top=this.$lines.computeLineTop(S,c,this.session)+"px");var P=c.lineHeight*this.session.getRowLength(S)+"px";I.style.height!=P&&(T=!0,I.style.height=P)}S++}if(T)for(;w0;C--)this.$lines.shift();if(d.lastRow>c.lastRow)for(C=this.session.getFoldedRowCount(c.lastRow+1,d.lastRow);C>0;C--)this.$lines.pop();c.firstRowd.lastRow&&this.$lines.push(this.$renderLinesFragment(c,d.lastRow+1,c.lastRow)),this.$highlightIndentGuide()},r.prototype.$renderLinesFragment=function(c,d,g){for(var b=[],C=d,x=this.session.getNextFoldLine(C),w=x?x.start.row:1/0;C>w&&(w=(x=this.session.getNextFoldLine(C=x.end.row+1,x))?x.start.row:1/0),!(C>g);){var T=this.$lines.createCell(C,c,this.session),S=T.element;this.dom.removeChildren(S),u.setStyle(S.style,"height",this.$lines.computeLineHeight(C,c,this.session)+"px"),u.setStyle(S.style,"top",this.$lines.computeLineTop(C,c,this.session)+"px"),this.$renderLine(S,C,C==w&&x),S.className=this.$useLineGroups()?"ace_line_group":"ace_line",b.push(T),C++}return b},r.prototype.update=function(c){this.$lines.moveContainer(c),this.config=c;for(var d=c.firstRow,g=c.lastRow,b=this.$lines;b.getLength();)b.pop();b.push(this.$renderLinesFragment(c,d,g))},r.prototype.$renderToken=function(c,d,g,b){for(var T,C=this,x=/(\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),S=0;T=x.exec(b);){var M=T[1],k=T[2],I=T[3],P=T[4],A=T[5];if(C.showSpaces||!k){var L=S!=T.index?b.slice(S,T.index):"";if(S=T.index+T[0].length,L&&w.appendChild(this.dom.createTextNode(L,this.element)),M){var F=C.session.getScreenTabSize(d+T.index);w.appendChild(C.$tabStrings[F].cloneNode(!0)),d+=F-1}else k?C.showSpaces?((R=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",R.textContent=v.stringRepeat(C.SPACE_CHAR,k.length),w.appendChild(R)):w.appendChild(this.dom.createTextNode(k,this.element)):I?((R=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",R.textContent=v.stringRepeat(C.SPACE_CHAR,I.length),w.appendChild(R)):P?(d+=1,(R=this.dom.createElement("span")).style.width=2*C.config.characterWidth+"px",R.className=C.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",R.textContent=C.showSpaces?C.SPACE_CHAR:P,w.appendChild(R)):A&&(d+=1,(R=this.dom.createElement("span")).style.width=2*C.config.characterWidth+"px",R.className="ace_cjk",R.textContent=A,w.appendChild(R))}}if(w.appendChild(this.dom.createTextNode(S?b.slice(S):b,this.element)),o(g.type))c.appendChild(w);else{var U="ace_"+g.type.replace(/\./g," ace_"),R=this.dom.createElement("span");"fold"==g.type&&(R.style.width=g.value.length*this.config.characterWidth+"px",R.setAttribute("title",h("Unfold code"))),R.className=U,R.appendChild(w),c.appendChild(R)}return d+b.length},r.prototype.renderIndentGuide=function(c,d,g){var b=d.search(this.$indentGuideRe);if(b<=0||b>=g)return d;if(" "==d[0]){for(var C=(b-=b%this.tabSize)/this.tabSize,x=0;xx[w].start.row?-1:1;break}if(!this.$highlightIndentGuideMarker.end&&""!==c[d.row]&&d.column===c[d.row].length)for(this.$highlightIndentGuideMarker.dir=1,w=d.row+1;w0)for(var C=0;C=this.$highlightIndentGuideMarker.start+1){if(b.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(b,d)}}else for(g=c.length-1;g>=0;g--)if(b=c[g],this.$highlightIndentGuideMarker.end&&b.row=x;)w=this.$renderToken(T,w,M,k.substring(0,x-b)),k=k.substring(x-b),b=x,T=this.$createLineElement(),c.appendChild(T),T.appendChild(this.dom.createTextNode(v.stringRepeat("\xa0",g.indent),this.element)),w=0,x=g[++C]||Number.MAX_VALUE;0!=k.length&&(b+=k.length,w=this.$renderToken(T,w,M,k))}}g[g.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(T,w,null,"",!0)},r.prototype.$renderSimpleLine=function(c,d){for(var g=0,b=0;bthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(c,g,C,x);g=this.$renderToken(c,g,C,x)}}},r.prototype.$renderOverflowMessage=function(c,d,g,b,C){g&&this.$renderToken(c,d,g,b.slice(0,this.MAX_LINE_LENGTH-d));var x=this.dom.createElement("span");x.className="ace_inline_button ace_keyword ace_toggle_wrap",x.textContent=C?"":"",c.appendChild(x)},r.prototype.$renderLine=function(c,d,g){if(!g&&0!=g&&(g=this.session.getFoldLine(d)),g)var b=this.$getFoldLineTokens(d,g);else b=this.session.getTokens(d);var C=c;if(b.length){var x=this.session.getRowSplitData(d);x&&x.length?(this.$renderWrappedLine(c,b,x),C=c.lastChild):(C=c,this.$useLineGroups()&&(C=this.$createLineElement(),c.appendChild(C)),this.$renderSimpleLine(C,b))}else this.$useLineGroups()&&(C=this.$createLineElement(),c.appendChild(C));if(this.showEOL&&C){g&&(d=g.end.row);var w=this.dom.createElement("span");w.className="ace_invisible ace_invisible_eol",w.textContent=d==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,C.appendChild(w)}},r.prototype.$getFoldLineTokens=function(c,d){var g=this.session,b=[],x=g.getTokens(c);return d.walk(function(w,T,S,M,k){null!=w?b.push({type:"fold",value:w}):(k&&(x=g.getTokens(T)),x.length&&function C(w,T,S){for(var M=0,k=0;k+w[M].value.lengthS-T&&(I=I.substring(0,S-T)),b.push({type:w[M].type,value:I}),k=T+I.length,M+=1);kS?{type:w[M].type,value:I.substring(0,S-k)}:w[M]),k+=I.length,M+=1}}(x,M,S))},d.end.row,this.session.getLine(d.end.row).length),b},r.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},r}();l.prototype.EOF_CHAR="\xb6",l.prototype.EOL_CHAR_LF="\xac",l.prototype.EOL_CHAR_CRLF="\xa4",l.prototype.EOL_CHAR=l.prototype.EOL_CHAR_LF,l.prototype.TAB_CHAR="\u2014",l.prototype.SPACE_CHAR="\xb7",l.prototype.$padding=0,l.prototype.MAX_LINE_LENGTH=1e4,l.prototype.showInvisibles=!1,l.prototype.showSpaces=!1,l.prototype.showTabs=!1,l.prototype.showEOL=!1,l.prototype.displayIndentGuides=!0,l.prototype.$highlightIndentGuides=!0,l.prototype.$tabStrings=[],l.prototype.destroy={},l.prototype.onChangeTabSize=l.prototype.$computeTabString,y.implement(l.prototype,m),f.Text=l}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(n,f,D){"use strict";var y=n("../lib/dom"),u=function(){function v(s){this.element=y.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(),y.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return v.prototype.$updateOpacity=function(s){for(var m=this.cursors,h=m.length;h--;)y.setStyle(m[h].style,"opacity",s?"":"0")},v.prototype.$startCssAnimation=function(){for(var s=this.cursors,m=s.length;m--;)s[m].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&y.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},v.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,y.removeCssClass(this.element,"ace_animate-blinking")},v.prototype.setPadding=function(s){this.$padding=s},v.prototype.setSession=function(s){this.session=s},v.prototype.setBlinking=function(s){s!=this.isBlinking&&(this.isBlinking=s,this.restartTimer())},v.prototype.setBlinkInterval=function(s){s!=this.blinkInterval&&(this.blinkInterval=s,this.restartTimer())},v.prototype.setSmoothBlinking=function(s){s!=this.smoothBlinking&&(this.smoothBlinking=s,y.setCssClass(this.element,"ace_smooth-blinking",s),this.$updateCursors(!0),this.restartTimer())},v.prototype.addCursor=function(){var s=y.createElement("div");return s.className="ace_cursor",this.element.appendChild(s),this.cursors.push(s),s},v.prototype.removeCursor=function(){if(this.cursors.length>1){var s=this.cursors.pop();return s.parentNode.removeChild(s),s}},v.prototype.hideCursor=function(){this.isVisible=!1,y.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},v.prototype.showCursor=function(){this.isVisible=!0,y.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},v.prototype.restartTimer=function(){var s=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,y.removeCssClass(this.element,"ace_smooth-blinking")),s(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&y.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),y.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var m=function(){this.timeoutId=setTimeout(function(){s(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){s(!0),m()},this.blinkInterval),m()}else this.$stopCssAnimation()},v.prototype.getPixelPosition=function(s,m){if(!this.config||!this.session)return{left:0,top:0};s||(s=this.session.selection.getCursor());var h=this.session.documentToScreenPosition(s);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(h.row,s.row)?this.session.$bidiHandler.getPosLeft(h.column):h.column*this.config.characterWidth),top:(h.row-(m?this.config.firstRowScreen:0))*this.config.lineHeight}},v.prototype.isCursorInView=function(s,m){return s.top>=0&&s.tops.height+s.offset||r.top<0)&&h>1)){var c=this.cursors[o++]||this.addCursor(),d=c.style;this.drawCursor?this.drawCursor(c,r,s,m[h],this.session):this.isCursorInView(r,s)?(y.setStyle(d,"display","block"),y.translate(c,r.left,r.top),y.setStyle(d,"width",Math.round(s.characterWidth)+"px"),y.setStyle(d,"height",s.lineHeight+"px")):y.setStyle(d,"display","none")}}for(;this.cursors.length>o;)this.removeCursor();var g=this.session.getOverwrite();this.$setOverwrite(g),this.$pixelPos=r,this.restartTimer()},v.prototype.$setOverwrite=function(s){s!=this.overwrite&&(this.overwrite=s,s?y.addCssClass(this.element,"ace_overwrite-cursors"):y.removeCssClass(this.element,"ace_overwrite-cursors"))},v.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},v}();u.prototype.$padding=0,u.prototype.drawCursor=null,f.Cursor=u}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(n,f,D){"use strict";var c,y=this&&this.__extends||(c=function(d,g){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,C){b.__proto__=C}||function(b,C){for(var x in C)Object.prototype.hasOwnProperty.call(C,x)&&(b[x]=C[x])})(d,g)},function(d,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function b(){this.constructor=d}c(d,g),d.prototype=null===g?Object.create(g):(b.prototype=g.prototype,new b)}),u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/event"),m=n("./lib/event_emitter").EventEmitter,h=32768,o=function(){function c(d,g){this.element=v.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+g,this.inner=v.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),d.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 c.prototype.setVisible=function(d){this.element.style.display=d?"":"none",this.isVisible=d,this.coeff=1},c}();u.implement(o.prototype,m);var l=function(c){function d(g,b){var C=c.call(this,g,"-v")||this;return C.scrollTop=0,C.scrollHeight=0,b.$scrollbarWidth=C.width=v.scrollbarWidth(g.ownerDocument),C.inner.style.width=C.element.style.width=(C.width||15)+5+"px",C.$minWidth=0,C}return y(d,c),d.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var g=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-g)/(this.coeff-g)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},d.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},d.prototype.setHeight=function(g){this.element.style.height=g+"px"},d.prototype.setScrollHeight=function(g){this.scrollHeight=g,g>h?(this.coeff=h/g,g=h):1!=this.coeff&&(this.coeff=1),this.inner.style.height=g+"px"},d.prototype.setScrollTop=function(g){this.scrollTop!=g&&(this.skipEvent=!0,this.scrollTop=g,this.element.scrollTop=g*this.coeff)},d}(o);l.prototype.setInnerHeight=l.prototype.setScrollHeight;var r=function(c){function d(g,b){var C=c.call(this,g,"-h")||this;return C.scrollLeft=0,C.height=b.$scrollbarWidth,C.inner.style.height=C.element.style.height=(C.height||15)+5+"px",C}return y(d,c),d.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},d.prototype.getHeight=function(){return this.isVisible?this.height:0},d.prototype.setWidth=function(g){this.element.style.width=g+"px"},d.prototype.setInnerWidth=function(g){this.inner.style.width=g+"px"},d.prototype.setScrollWidth=function(g){this.inner.style.width=g+"px"},d.prototype.setScrollLeft=function(g){this.scrollLeft!=g&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=g)},d}(o);f.ScrollBar=l,f.ScrollBarV=l,f.ScrollBarH=r,f.VScrollBar=l,f.HScrollBar=r}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(n,f,D){"use strict";var r,y=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var C in b)Object.prototype.hasOwnProperty.call(b,C)&&(g[C]=b[C])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function g(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(g.prototype=d.prototype,new g)}),u=n("./lib/oop"),v=n("./lib/dom"),s=n("./lib/event"),m=n("./lib/event_emitter").EventEmitter;v.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 h=function(){function r(c,d){this.element=v.createElement("div"),this.element.className="ace_sb"+d,this.inner=v.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,c.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return r.prototype.setVisible=function(c){this.element.style.display=c?"":"none",this.isVisible=c,this.coeff=1},r}();u.implement(h.prototype,m);var o=function(r){function c(d,g){var b=r.call(this,d,"-v")||this;return b.scrollTop=0,b.scrollHeight=0,b.parent=d,b.width=b.VScrollWidth,b.renderer=g,b.inner.style.width=b.element.style.width=(b.width||15)+"px",b.$minWidth=0,b}return y(c,r),c.prototype.onMouseDown=function(d,g){if("mousedown"===d&&0===s.getButton(g)&&2!==g.detail){if(g.target===this.inner){var b=this,C=g.clientY,T=g.clientY,S=this.thumbTop;s.capture(this.inner,function(P){C=P.clientY},function(){clearInterval(k)});var k=setInterval(function(){if(void 0!==C){var P=b.scrollTopFromThumbTop(S+C-T);P!==b.scrollTop&&b._emit("scroll",{data:P})}},20);return s.preventDefault(g)}var I=g.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(I)}),s.preventDefault(g)}},c.prototype.getHeight=function(){return this.height},c.prototype.scrollTopFromThumbTop=function(d){var g=d*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(g>>=0)<0?g=0:g>this.pageHeight-this.viewHeight&&(g=this.pageHeight-this.viewHeight),g},c.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},c.prototype.setHeight=function(d){this.height=Math.max(0,d),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},c.prototype.setScrollHeight=function(d,g){this.pageHeight===d&&!g||(this.pageHeight=d,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})))},c.prototype.setScrollTop=function(d){this.scrollTop=d,d<0&&(d=0),this.thumbTop=d*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},c}(h);o.prototype.setInnerHeight=o.prototype.setScrollHeight;var l=function(r){function c(d,g){var b=r.call(this,d,"-h")||this;return b.scrollLeft=0,b.scrollWidth=0,b.height=b.HScrollHeight,b.inner.style.height=b.element.style.height=(b.height||12)+"px",b.renderer=g,b}return y(c,r),c.prototype.onMouseDown=function(d,g){if("mousedown"===d&&0===s.getButton(g)&&2!==g.detail){if(g.target===this.inner){var b=this,C=g.clientX,T=g.clientX,S=this.thumbLeft;s.capture(this.inner,function(P){C=P.clientX},function(){clearInterval(k)});var k=setInterval(function(){if(void 0!==C){var P=b.scrollLeftFromThumbLeft(S+C-T);P!==b.scrollLeft&&b._emit("scroll",{data:P})}},20);return s.preventDefault(g)}var I=g.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(I)}),s.preventDefault(g)}},c.prototype.getHeight=function(){return this.isVisible?this.height:0},c.prototype.scrollLeftFromThumbLeft=function(d){var g=d*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(g>>=0)<0?g=0:g>this.pageWidth-this.viewWidth&&(g=this.pageWidth-this.viewWidth),g},c.prototype.setWidth=function(d){this.width=Math.max(0,d),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},c.prototype.setScrollWidth=function(d,g){this.pageWidth===d&&!g||(this.pageWidth=d,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})))},c.prototype.setScrollLeft=function(d){this.scrollLeft=d,d<0&&(d=0),this.thumbLeft=d*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},c}(h);l.prototype.setInnerWidth=l.prototype.setScrollWidth,f.ScrollBar=o,f.ScrollBarV=o,f.ScrollBarH=l,f.VScrollBar=o,f.HScrollBar=l}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(n,f,D){"use strict";var y=n("./lib/event"),u=function(){function v(s,m){this.onRender=s,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=m||window;var h=this;this._flush=function(o){h.pending=!1;var l=h.changes;if(l&&(y.blockIdle(100),h.changes=0,h.onRender(l)),h.changes){if(h.$recursionLimit--<0)return;h.schedule()}else h.$recursionLimit=2}}return v.prototype.schedule=function(s){this.changes=this.changes|s,this.changes&&!this.pending&&(y.nextFrame(this._flush),this.pending=!0)},v.prototype.clear=function(s){var m=this.changes;return this.changes=0,m},v}();f.RenderLoop=u}),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(n,f,D){var y=n("../lib/oop"),u=n("../lib/dom"),v=n("../lib/lang"),s=n("../lib/event"),m=n("../lib/useragent"),h=n("../lib/event_emitter").EventEmitter,o=512,l="function"==typeof ResizeObserver,r=200,c=function(){function d(g){this.el=u.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=u.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=u.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),g.appendChild(this.el),this.$measureNode.textContent=v.stringRepeat("X",o),this.$characterSize={width:0,height:0},l?this.$addObserver():this.checkForSizeChanges()}return d.prototype.$setMeasureNodeStyles=function(g,b){g.width=g.height="auto",g.left=g.top="0px",g.visibility="hidden",g.position="absolute",g.whiteSpace="pre",m.isIE<8?g["font-family"]="inherit":g.font="inherit",g.overflow=b?"hidden":"visible"},d.prototype.checkForSizeChanges=function(g){if(void 0===g&&(g=this.$measureSizes()),g&&(this.$characterSize.width!==g.width||this.$characterSize.height!==g.height)){this.$measureNode.style.fontWeight="bold";var b=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=g,this.charSizes=Object.create(null),this.allowBoldFonts=b&&b.width===g.width&&b.height===g.height,this._emit("changeCharacterSize",{data:g})}},d.prototype.$addObserver=function(){var g=this;this.$observer=new window.ResizeObserver(function(b){g.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},d.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var g=this;return this.$pollSizeChangesTimer=s.onIdle(function b(){g.checkForSizeChanges(),s.onIdle(b,500)},500)},d.prototype.setPolling=function(g){g?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},d.prototype.$measureSizes=function(g){var b={height:(g||this.$measureNode).clientHeight,width:(g||this.$measureNode).clientWidth/o};return 0===b.width||0===b.height?null:b},d.prototype.$measureCharWidth=function(g){return this.$main.textContent=v.stringRepeat(g,o),this.$main.getBoundingClientRect().width/o},d.prototype.getCharacterWidth=function(g){var b=this.charSizes[g];return void 0===b&&(b=this.charSizes[g]=this.$measureCharWidth(g)/this.$characterSize.width),b},d.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},d.prototype.$getZoom=function(g){return g&&g.parentElement?(window.getComputedStyle(g).zoom||1)*this.$getZoom(g.parentElement):1},d.prototype.$initTransformMeasureNodes=function(){var g=function(b,C){return["div",{style:"position: absolute;top:"+b+"px;left:"+C+"px;"}]};this.els=u.buildDom([g(0,0),g(r,0),g(0,r),g(r,r)],this.el)},d.prototype.transformCoordinates=function(g,b){function x(B,$,Z){var H=B[1]*$[0]-B[0]*$[1];return[(-$[1]*Z[0]+$[0]*Z[1])/H,(+B[1]*Z[0]-B[0]*Z[1])/H]}function w(B,$){return[B[0]-$[0],B[1]-$[1]]}function T(B,$){return[B[0]+$[0],B[1]+$[1]]}function S(B,$){return[B*$[0],B*$[1]]}function M(B){var $=B.getBoundingClientRect();return[$.left,$.top]}g&&(g=S(1/this.$getZoom(this.el),g)),this.els||this.$initTransformMeasureNodes();var k=M(this.els[0]),I=M(this.els[1]),P=M(this.els[2]),A=M(this.els[3]),L=x(w(A,I),w(A,P),w(T(I,P),T(A,k))),F=S(1+L[0],w(I,k)),R=S(1+L[1],w(P,k));if(b){var U=b,W=L[0]*U[0]/r+L[1]*U[1]/r+1,ne=T(S(U[0],F),S(U[1],R));return T(S(1/W/r,ne),k)}var ee=w(g,k),j=x(w(F,S(L[0],ee)),w(R,S(L[1],ee)),ee);return S(r,j)},d}();c.prototype.$characterSize={width:0,height:0},y.implement(c.prototype,h),f.FontMetrics=c}),ace.define("ace/css/editor-css",["require","exports","module"],function(n,f,D){D.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(n,f,D){"use strict";var y=n("../lib/dom"),u=n("../lib/oop"),v=n("../lib/event_emitter").EventEmitter,s=function(){function m(h,o){this.canvas=y.createElement("canvas"),this.renderer=o,this.pixelRatio=1,this.maxHeight=o.layerConfig.maxHeight,this.lineHeight=o.layerConfig.lineHeight,this.canvasHeight=h.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=h.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)"},h.element.appendChild(this.canvas)}return m.prototype.$updateDecorators=function(h){var o=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;h&&(this.maxHeight=h.maxHeight,this.lineHeight=h.lineHeight,this.canvasHeight=h.height,this.heightRatio=(h.lastRow+1)*this.lineHeightL.priority?1:0});for(var b=this.renderer.session.$foldData,C=0;Cthis.canvasHeight&&(I=this.canvasHeight-this.halfMinDecorationHeight),S=Math.round(I-this.halfMinDecorationHeight),M=Math.round(I+this.halfMinDecorationHeight)}r.fillStyle=o[d[C].type]||null,r.fillRect(0,T,this.canvasWidth,M-S)}}var P=this.renderer.session.selection.getCursor();P&&(w=this.compensateFoldRows(P.row,b),T=Math.round((P.row-w)*this.lineHeight*this.heightRatio),r.fillStyle="rgba(0, 0, 0, 0.5)",r.fillRect(0,T,this.canvasWidth,2))},m.prototype.compensateFoldRows=function(h,o){var l=0;if(o&&o.length>0)for(var r=0;ro[r].start.row&&h=o[r].end.row&&(l+=o[r].end.row-o[r].start.row);return l},m}();u.implement(s.prototype,v),f.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(n,f,D){"use strict";var y=n("./lib/oop"),u=n("./lib/dom"),v=n("./lib/lang"),s=n("./config"),m=n("./layer/gutter").Gutter,h=n("./layer/marker").Marker,o=n("./layer/text").Text,l=n("./layer/cursor").Cursor,r=n("./scrollbar").HScrollBar,c=n("./scrollbar").VScrollBar,d=n("./scrollbar_custom").HScrollBar,g=n("./scrollbar_custom").VScrollBar,b=n("./renderloop").RenderLoop,C=n("./layer/font_metrics").FontMetrics,x=n("./lib/event_emitter").EventEmitter,w=n("./css/editor-css"),T=n("./layer/decorators").Decorator,S=n("./lib/useragent");u.importCssString(w,"ace_editor.css",!1);var M=function(){function k(I,P){var A=this;this.container=I||u.createElement("div"),u.addCssClass(this.container,"ace_editor"),u.HI_DPI&&u.addCssClass(this.container,"ace_hidpi"),this.setTheme(P),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=u.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=u.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=u.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new m(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new h(this.content);var L=this.$textLayer=new o(this.content);this.canvas=L.element,this.$markerFront=new h(this.content),this.$cursorLayer=new l(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new c(this.container,this),this.scrollBarH=new r(this.container,this),this.scrollBarV.on("scroll",function(F){A.$scrollAnimation||A.session.setScrollTop(F.data-A.scrollMargin.top)}),this.scrollBarH.on("scroll",function(F){A.$scrollAnimation||A.session.setScrollLeft(F.data-A.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new C(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(F){A.updateCharacterSize(),A.onResize(!0,A.gutterWidth,A.$size.width,A.$size.height),A._signal("changeCharacterSize",F)}),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=!S.isIOS,this.$loop=new b(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 k.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(),u.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},k.prototype.setSession=function(I){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=I,I&&this.scrollMargin.top&&I.getScrollTop()<=0&&I.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(I),this.$markerBack.setSession(I),this.$markerFront.setSession(I),this.$gutterLayer.setSession(I),this.$textLayer.setSession(I),I&&(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))},k.prototype.updateLines=function(I,P,A){if(void 0===P&&(P=1/0),this.$changedLines?(this.$changedLines.firstRow>I&&(this.$changedLines.firstRow=I),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},k.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},k.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},k.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},k.prototype.updateFull=function(I){I?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},k.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},k.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},k.prototype.onResize=function(I,P,A,L){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=I?1:0;var F=this.container;L||(L=F.clientHeight||F.scrollHeight),A||(A=F.clientWidth||F.scrollWidth);var R=this.$updateCachedSize(I,P,A,L);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!A&&!L)return this.resizing=0;I&&(this.$gutterLayer.$padding=null),I?this.$renderChanges(R|this.$changes,!0):this.$loop.schedule(R|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},k.prototype.$updateCachedSize=function(I,P,A,L){var F=0,R=this.$size,U={width:R.width,height:R.height,scrollerHeight:R.scrollerHeight,scrollerWidth:R.scrollerWidth};if((L-=this.$extraHeight||0)&&(I||R.height!=L)&&(R.height=L,F|=this.CHANGE_SIZE,R.scrollerHeight=R.height,this.$horizScroll&&(R.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(R.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",F|=this.CHANGE_SCROLL),A&&(I||R.width!=A)){F|=this.CHANGE_SIZE,R.width=A,null==P&&(P=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=P,u.setStyle(this.scrollBarH.element.style,"left",P+"px"),u.setStyle(this.scroller.style,"left",P+this.margin.left+"px"),R.scrollerWidth=Math.max(0,A-P-this.scrollBarV.getWidth()-this.margin.h),u.setStyle(this.$gutter.style,"left",this.margin.left+"px");var W=this.scrollBarV.getWidth()+"px";u.setStyle(this.scrollBarH.element.style,"right",W),u.setStyle(this.scroller.style,"right",W),u.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(R.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||I)&&(F|=this.CHANGE_FULL)}return R.$dirty=!A||!L,F&&this._signal("resize",U),F},k.prototype.onGutterResize=function(I){var P=this.$showGutter?I:0;P!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,P,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},k.prototype.adjustWrapLimit=function(){var P=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(P,this.$showPrintMargin&&this.$printMarginColumn)},k.prototype.setAnimatedScroll=function(I){this.setOption("animatedScroll",I)},k.prototype.getAnimatedScroll=function(){return this.$animatedScroll},k.prototype.setShowInvisibles=function(I){this.setOption("showInvisibles",I),this.session.$bidiHandler.setShowInvisibles(I)},k.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},k.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},k.prototype.setDisplayIndentGuides=function(I){this.setOption("displayIndentGuides",I)},k.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},k.prototype.setHighlightIndentGuides=function(I){this.setOption("highlightIndentGuides",I)},k.prototype.setShowPrintMargin=function(I){this.setOption("showPrintMargin",I)},k.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},k.prototype.setPrintMarginColumn=function(I){this.setOption("printMarginColumn",I)},k.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},k.prototype.getShowGutter=function(){return this.getOption("showGutter")},k.prototype.setShowGutter=function(I){return this.setOption("showGutter",I)},k.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},k.prototype.setFadeFoldWidgets=function(I){this.setOption("fadeFoldWidgets",I)},k.prototype.setHighlightGutterLine=function(I){this.setOption("highlightGutterLine",I)},k.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},k.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var I=u.createElement("div");I.className="ace_layer ace_print-margin-layer",this.$printMarginEl=u.createElement("div"),this.$printMarginEl.className="ace_print-margin",I.appendChild(this.$printMarginEl),this.content.insertBefore(I,this.content.firstChild)}var P=this.$printMarginEl.style;P.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",P.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},k.prototype.getContainerElement=function(){return this.container},k.prototype.getMouseEventTarget=function(){return this.scroller},k.prototype.getTextAreaContainer=function(){return this.container},k.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var I=this.textarea.style,P=this.$composition;if(!this.$keepTextAreaAtCursor&&!P)return void u.translate(this.textarea,-100,0);var A=this.$cursorLayer.$pixelPos;if(A){P&&P.markerRange&&(A=this.$cursorLayer.getPixelPosition(P.markerRange.start,!0));var L=this.layerConfig,F=A.top,R=A.left,U=P&&P.useTextareaForIME||S.isMobile?this.lineHeight:1;if((F-=L.offset)<0||F>L.height-U)return void u.translate(this.textarea,0,0);var W=1,ne=this.$size.height-U;P?P.useTextareaForIME?W=this.characterWidth*this.session.$getStringScreenWidth(this.textarea.value)[0]:F+=this.lineHeight+2:F+=this.lineHeight,(R-=this.scrollLeft)>this.$size.scrollerWidth-W&&(R=this.$size.scrollerWidth-W),R+=this.gutterWidth+this.margin.left,u.setStyle(I,"height",U+"px"),u.setStyle(I,"width",W+"px"),u.translate(this.textarea,Math.min(R,this.$size.scrollerWidth-W),Math.min(F,ne))}}},k.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},k.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},k.prototype.getLastFullyVisibleRow=function(){var I=this.layerConfig,P=I.lastRow;return this.session.documentToScreenRow(P,0)*I.lineHeight-this.session.getScrollTop()>I.height-I.lineHeight?P-1:P},k.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},k.prototype.setPadding=function(I){this.$padding=I,this.$textLayer.setPadding(I),this.$cursorLayer.setPadding(I),this.$markerFront.setPadding(I),this.$markerBack.setPadding(I),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},k.prototype.setScrollMargin=function(I,P,A,L){var F=this.scrollMargin;F.top=0|I,F.bottom=0|P,F.right=0|L,F.left=0|A,F.v=F.top+F.bottom,F.h=F.left+F.right,F.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-F.top),this.updateFull()},k.prototype.setMargin=function(I,P,A,L){var F=this.margin;F.top=0|I,F.bottom=0|P,F.right=0|L,F.left=0|A,F.v=F.top+F.bottom,F.h=F.left+F.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},k.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},k.prototype.setHScrollBarAlwaysVisible=function(I){this.setOption("hScrollBarAlwaysVisible",I)},k.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},k.prototype.setVScrollBarAlwaysVisible=function(I){this.setOption("vScrollBarAlwaysVisible",I)},k.prototype.$updateScrollBarV=function(){var I=this.layerConfig.maxHeight,P=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(I-=(P-this.lineHeight)*this.$scrollPastEnd)-P&&(I=this.scrollTop+P,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(I+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},k.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},k.prototype.freeze=function(){this.$frozen=!0},k.prototype.unfreeze=function(){this.$frozen=!1},k.prototype.$renderChanges=function(I,P){if(this.$changes&&(I|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(I||P)){if(this.$size.$dirty)return this.$changes|=I,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",I),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var A=this.layerConfig;if(I&this.CHANGE_FULL||I&this.CHANGE_SIZE||I&this.CHANGE_TEXT||I&this.CHANGE_LINES||I&this.CHANGE_SCROLL||I&this.CHANGE_H_SCROLL){if(I|=this.$computeLayerConfig()|this.$loop.clear(),A.firstRow!=this.layerConfig.firstRow&&A.firstRowScreen==this.layerConfig.firstRowScreen){var L=this.scrollTop+(A.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;L>0&&(this.scrollTop=L,I|=this.CHANGE_SCROLL,I|=this.$computeLayerConfig()|this.$loop.clear())}A=this.layerConfig,this.$updateScrollBarV(),I&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),u.translate(this.content,-this.scrollLeft,-A.offset);var R=A.minHeight+"px";u.setStyle(this.content.style,"width",A.width+2*this.$padding+"px"),u.setStyle(this.content.style,"height",R)}return I&this.CHANGE_H_SCROLL&&(u.translate(this.content,-this.scrollLeft,-A.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),I&this.CHANGE_FULL?(this.$changedLines=null,this.$textLayer.update(A),this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A),this.$markerBack.update(A),this.$markerFront.update(A),this.$cursorLayer.update(A),this.$moveTextAreaToCursor(),void this._signal("afterRender",I)):I&this.CHANGE_SCROLL?(this.$changedLines=null,I&this.CHANGE_TEXT||I&this.CHANGE_LINES?this.$textLayer.update(A):this.$textLayer.scrollLines(A),this.$showGutter&&(I&this.CHANGE_GUTTER||I&this.CHANGE_LINES?this.$gutterLayer.update(A):this.$gutterLayer.scrollLines(A)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A),this.$markerBack.update(A),this.$markerFront.update(A),this.$cursorLayer.update(A),this.$moveTextAreaToCursor(),void this._signal("afterRender",I)):(I&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(A),this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_LINES?((this.$updateLines()||I&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_TEXT||I&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)):I&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(A),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(A)),I&this.CHANGE_CURSOR&&(this.$cursorLayer.update(A),this.$moveTextAreaToCursor()),I&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(A),I&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(A),void this._signal("afterRender",I))}this.$changes|=I},k.prototype.$autosize=function(){var I=this.session.getScreenLength()*this.lineHeight,P=this.$maxLines*this.lineHeight,A=Math.min(P,Math.max((this.$minLines||1)*this.lineHeight,I))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(A+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&A>this.$maxPixelHeight&&(A=this.$maxPixelHeight);var F=!(A<=2*this.lineHeight)&&I>P;if(A!=this.desiredHeight||this.$size.height!=this.desiredHeight||F!=this.$vScroll){F!=this.$vScroll&&(this.$vScroll=F,this.scrollBarV.setVisible(F));var R=this.container.clientWidth;this.container.style.height=A+"px",this.$updateCachedSize(!0,this.$gutterWidth,R,A),this.desiredHeight=A,this._signal("autosize")}},k.prototype.$computeLayerConfig=function(){var I=this.session,P=this.$size,A=P.height<=2*this.lineHeight,F=this.session.getScreenLength()*this.lineHeight,R=this.$getLongestLine(),U=!A&&(this.$hScrollBarAlwaysVisible||P.scrollerWidth-R-2*this.$padding<0),W=this.$horizScroll!==U;W&&(this.$horizScroll=U,this.scrollBarH.setVisible(U));var ne=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var ee=P.scrollerHeight+this.lineHeight,j=!this.$maxLines&&this.$scrollPastEnd?(P.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;F+=j;var B=this.scrollMargin;this.session.setScrollTop(Math.max(-B.top,Math.min(this.scrollTop,F-P.scrollerHeight+B.bottom))),this.session.setScrollLeft(Math.max(-B.left,Math.min(this.scrollLeft,R+2*this.$padding-P.scrollerWidth+B.right)));var $=!A&&(this.$vScrollBarAlwaysVisible||P.scrollerHeight-F+j<0||this.scrollTop>B.top),Z=ne!==$;Z&&(this.$vScroll=$,this.scrollBarV.setVisible($));var Ge,$e,H=this.scrollTop%this.lineHeight,te=Math.ceil(ee/this.lineHeight)-1,ue=Math.max(0,Math.round((this.scrollTop-H)/this.lineHeight)),ye=ue+te,Ye=this.lineHeight;ue=I.screenToDocumentRow(ue,0);var Ze=I.getFoldLine(ue);Ze&&(ue=Ze.start.row),Ge=I.documentToScreenRow(ue,0),$e=I.getRowLength(ue)*Ye,ye=Math.min(I.screenToDocumentRow(ye,0),I.getLength()-1),ee=P.scrollerHeight+I.getRowLength(ye)*Ye+$e,H=this.scrollTop-Ge*Ye;var Et=0;return(this.layerConfig.width!=R||W)&&(Et=this.CHANGE_H_SCROLL),(W||Z)&&(Et|=this.$updateCachedSize(!0,this.gutterWidth,P.width,P.height),this._signal("scrollbarVisibilityChanged"),Z&&(R=this.$getLongestLine())),this.layerConfig={width:R,padding:this.$padding,firstRow:ue,firstRowScreen:Ge,lastRow:ye,lineHeight:Ye,characterWidth:this.characterWidth,minHeight:ee,maxHeight:F,offset:H,gutterOffset:Ye?Math.max(0,Math.ceil((H+P.height-P.scrollerHeight)/Ye)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(R-this.$padding),Et},k.prototype.$updateLines=function(){if(this.$changedLines){var I=this.$changedLines.firstRow,P=this.$changedLines.lastRow;this.$changedLines=null;var A=this.layerConfig;if(!(I>A.lastRow+1||Pthis.$textLayer.MAX_LINE_LENGTH&&(I=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(I*this.characterWidth))},k.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},k.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},k.prototype.addGutterDecoration=function(I,P){this.$gutterLayer.addGutterDecoration(I,P)},k.prototype.removeGutterDecoration=function(I,P){this.$gutterLayer.removeGutterDecoration(I,P)},k.prototype.updateBreakpoints=function(I){this._rows=I,this.$loop.schedule(this.CHANGE_GUTTER)},k.prototype.setAnnotations=function(I){this.$gutterLayer.setAnnotations(I),this.$loop.schedule(this.CHANGE_GUTTER)},k.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},k.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},k.prototype.showCursor=function(){this.$cursorLayer.showCursor()},k.prototype.scrollSelectionIntoView=function(I,P,A){this.scrollCursorIntoView(I,A),this.scrollCursorIntoView(P,A)},k.prototype.scrollCursorIntoView=function(I,P,A){if(0!==this.$size.scrollerHeight){var L=this.$cursorLayer.getPixelPosition(I),F=L.left,R=L.top,U=A&&A.top||0,W=A&&A.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var ne=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;ne+U>R?(P&&ne+U>R+this.lineHeight&&(R-=P*this.$size.scrollerHeight),0===R&&(R=-this.scrollMargin.top),this.session.setScrollTop(R)):ne+this.$size.scrollerHeight-W=1-this.scrollMargin.top||P>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||I<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||I>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},k.prototype.pixelToScreenCoordinates=function(I,P){var A;if(this.$hasCssTransforms){A={top:0,left:0};var L=this.$fontMetrics.transformCoordinates([I,P]);I=L[1]-this.gutterWidth-this.margin.left,P=L[0]}else A=this.scroller.getBoundingClientRect();var F=I+this.scrollLeft-A.left-this.$padding,R=F/this.characterWidth,U=Math.floor((P+this.scrollTop-A.top)/this.lineHeight),W=this.$blockCursor?Math.floor(R):Math.round(R);return{row:U,column:W,side:R-W>0?1:-1,offsetX:F}},k.prototype.screenToTextCoordinates=function(I,P){var A;if(this.$hasCssTransforms){A={top:0,left:0};var L=this.$fontMetrics.transformCoordinates([I,P]);I=L[1]-this.gutterWidth-this.margin.left,P=L[0]}else A=this.scroller.getBoundingClientRect();var F=I+this.scrollLeft-A.left-this.$padding,R=F/this.characterWidth,U=this.$blockCursor?Math.floor(R):Math.round(R),W=Math.floor((P+this.scrollTop-A.top)/this.lineHeight);return this.session.screenToDocumentPosition(W,Math.max(U,0),F)},k.prototype.textToScreenCoordinates=function(I,P){var A=this.scroller.getBoundingClientRect(),L=this.session.documentToScreenPosition(I,P),F=this.$padding+(this.session.$bidiHandler.isBidiRow(L.row,I)?this.session.$bidiHandler.getPosLeft(L.column):Math.round(L.column*this.characterWidth));return{pageX:A.left+F-this.scrollLeft,pageY:A.top+L.row*this.lineHeight-this.scrollTop}},k.prototype.visualizeFocus=function(){u.addCssClass(this.container,"ace_focus")},k.prototype.visualizeBlur=function(){u.removeCssClass(this.container,"ace_focus")},k.prototype.showComposition=function(I){this.$composition=I,I.cssText||(I.cssText=this.textarea.style.cssText),null==I.useTextareaForIME&&(I.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(u.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):I.markerId=this.session.addMarker(I.markerRange,"ace_composition_marker","text")},k.prototype.setCompositionText=function(I){var P=this.session.selection.cursor;this.addToken(I,"composition_placeholder",P.row,P.column),this.$moveTextAreaToCursor()},k.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),u.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var I=this.session.selection.cursor;this.removeExtraToken(I.row,I.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},k.prototype.setGhostText=function(I,P){var A=this.session.selection.cursor,L=P||{row:A.row,column:A.column};this.removeGhostText();var F=I.split("\n");if(this.addToken(F[0],"ghost_text",L.row,L.column),this.$ghostText={text:I,position:{row:L.row,column:L.column}},F.length>1){this.$ghostTextWidget={text:F.slice(1).join("\n"),row:L.row,column:L.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var R=this.$cursorLayer.getPixelPosition(L,!0),W=this.container.getBoundingClientRect().height,ne=F.length*this.lineHeight;if(ne1||Math.abs(I.$size.height-L)>1?I.$resizeTimer.delay():I.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},k}();M.prototype.CHANGE_CURSOR=1,M.prototype.CHANGE_MARKER=2,M.prototype.CHANGE_GUTTER=4,M.prototype.CHANGE_SCROLL=8,M.prototype.CHANGE_LINES=16,M.prototype.CHANGE_TEXT=32,M.prototype.CHANGE_SIZE=64,M.prototype.CHANGE_MARKER_BACK=128,M.prototype.CHANGE_MARKER_FRONT=256,M.prototype.CHANGE_FULL=512,M.prototype.CHANGE_H_SCROLL=1024,M.prototype.$changes=0,M.prototype.$padding=null,M.prototype.$frozen=!1,M.prototype.STEPS=8,y.implement(M.prototype,x),s.defineOptions(M.prototype,"renderer",{useResizeObserver:{set:function(k){!k&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):k&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(k){this.$textLayer.setShowInvisibles(k)&&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(k){"number"==typeof k&&(this.$printMarginColumn=k),this.$showPrintMargin=!!k,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(k){this.$gutter.style.display=k?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(k){this.$gutterLayer.$useSvgGutterIcons=k},initialValue:!1},showFoldedAnnotations:{set:function(k){this.$gutterLayer.$showFoldedAnnotations=k},initialValue:!1},fadeFoldWidgets:{set:function(k){u.setCssClass(this.$gutter,"ace_fade-fold-widgets",k)},initialValue:!1},showFoldWidgets:{set:function(k){this.$gutterLayer.setShowFoldWidgets(k),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(k){this.$textLayer.setDisplayIndentGuides(k)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(k){1==this.$textLayer.setHighlightIndentGuides(k)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(k){this.$gutterLayer.setHighlightGutterLine(k),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(k){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(k){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(k){"number"==typeof k&&(k+="px"),this.container.style.fontSize=k,this.updateFontSize()},initialValue:12},fontFamily:{set:function(k){this.container.style.fontFamily=k,this.updateFontSize()}},maxLines:{set:function(k){this.updateFull()}},minLines:{set:function(k){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(k){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(k){this.$scrollPastEnd!=(k=+k||0)&&(this.$scrollPastEnd=k,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(k){this.$gutterLayer.$fixedWidth=!!k,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(k){this.$updateCustomScrollbar(k)},initialValue:!1},theme:{set:function(k){this.setTheme(k)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!S.isMobile&&!S.isIE}}),f.VirtualRenderer=M}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("../lib/net"),v=n("../lib/event_emitter").EventEmitter,s=n("../config");function h(r){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var c=function m(r){var c="importScripts('"+u.qualifyURL(r)+"');";try{return new Blob([c],{type:"application/javascript"})}catch{var g=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return g.append(c),g.getBlob("application/javascript")}}(r),g=(window.URL||window.webkitURL).createObjectURL(c);return new Worker(g)}return new Worker(r)}var o=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(){y.implement(this,v),this.$createWorkerFromOldConfig=function(r,c,d,g,b){if(n.nameToUrl&&!n.toUrl&&(n.toUrl=n.nameToUrl),s.get("packaged")||!n.toUrl)g=g||s.moduleUrl(c,"worker");else{var C=this.$normalizePath;g=g||C(n.toUrl("ace/worker/worker.js",null,"_"));var x={};r.forEach(function(w){x[w]=C(n.toUrl(w,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=h(g),b&&this.send("importScripts",b),this.$worker.postMessage({init:!0,tlns:x,module:c,classname:d}),this.$worker},this.onMessage=function(r){var c=r.data;switch(c.type){case"event":this._signal(c.name,{data:c.data});break;case"call":var d=this.callbacks[c.id];d&&(d(c.data),delete this.callbacks[c.id]);break;case"error":this.reportError(c.data);break;case"log":window.console&&console.log&&console.log.apply(console,c.data)}},this.reportError=function(r){window.console&&console.error&&console.error(r)},this.$normalizePath=function(r){return u.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,c){this.$worker.postMessage({command:r,args:c})},this.call=function(r,c,d){if(d){var g=this.callbackId++;this.callbacks[g]=d,c.push(g)}this.send(r,c)},this.emit=function(r,c){try{c.data&&c.data.err&&(c.data.err={message:c.data.err.message,stack:c.data.err.stack,code:c.data.err.code}),this.$worker&&this.$worker.postMessage({event:r,data:{data:c.data}})}catch(d){console.error(d.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(o.prototype),f.UIWorkerClient=function(r,c,d){var g=null,b=!1,C=Object.create(v),x=[],w=new o({messageBuffer:x,terminate:function(){},postMessage:function(S){x.push(S),g&&(b?setTimeout(T):T())}});w.setEmitSync=function(S){b=S};var T=function(){var S=x.shift();S.command?g[S.command].apply(g,S.args):S.event&&C._signal(S.event,S.data)};return C.postMessage=function(S){w.onMessage({data:S})},C.callback=function(S,M){this.postMessage({type:"call",id:M,data:S})},C.emit=function(S,M){this.postMessage({type:"event",name:S,data:M})},s.loadModule(["worker",c],function(S){for(g=new S[d](C);x.length;)T()}),w},f.WorkerClient=o,f.createWorker=h}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(n,f,D){"use strict";var y=n("./range").Range,u=n("./lib/event_emitter").EventEmitter,v=n("./lib/oop"),s=function(){function m(h,o,l,r,c,d){var g=this;this.length=o,this.session=h,this.doc=h.getDocument(),this.mainClass=c,this.othersClass=d,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){g.onCursorChange()})},this.$pos=l;var b=h.getUndoManager().$undoStack||h.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=b.length,this.setup(),h.selection.on("changeCursor",this.$onCursorChange)}return m.prototype.setup=function(){var h=this,o=this.doc,l=this.session;this.selectionBefore=l.selection.toJSON(),l.selection.inMultiSelectMode&&l.selection.toSingleRange(),this.pos=o.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=l.addMarker(new y(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(c){var d=o.createAnchor(c.row,c.column);d.$insertRight=!0,d.detach(),h.others.push(d)}),l.setUndoSelect(!1)},m.prototype.showOtherMarkers=function(){if(!this.othersActive){var h=this.session,o=this;this.othersActive=!0,this.others.forEach(function(l){l.markerId=h.addMarker(new y(l.row,l.column,l.row,l.column+o.length),o.othersClass,null,!1)})}},m.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var h=0;h=this.pos.column&&o.start.column<=this.pos.column+this.length+1,c=o.start.column-this.pos.column;if(this.updateAnchors(h),r&&(this.length+=l),r&&!this.session.$fromUndo)if("insert"===h.action)for(var d=this.others.length-1;d>=0;d--)this.doc.insertMergedLines(b={row:(g=this.others[d]).row,column:g.column+c},h.lines);else if("remove"===h.action)for(d=this.others.length-1;d>=0;d--){var g,b;this.doc.remove(new y((b={row:(g=this.others[d]).row,column:g.column+c}).row,b.column,b.row,b.column-l))}this.$updating=!1,this.updateMarkers()}},m.prototype.updateAnchors=function(h){this.pos.onChange(h);for(var o=this.others.length;o--;)this.others[o].onChange(h);this.updateMarkers()},m.prototype.updateMarkers=function(){if(!this.$updating){var h=this,o=this.session,l=function(c,d){o.removeMarker(c.markerId),c.markerId=o.addMarker(new y(c.row,c.column,c.row,c.column+h.length),d,null,!1)};l(this.pos,this.mainClass);for(var r=this.others.length;r--;)l(this.others[r],this.othersClass)}},m.prototype.onCursorChange=function(h){if(!this.$updating&&this.session){var o=this.session.selection.getCursor();o.row===this.pos.row&&o.column>=this.pos.column&&o.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",h)):(this.hideOtherMarkers(),this._emit("cursorLeave",h))}},m.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},m.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var h=this.session.getUndoManager(),o=(h.$undoStack||h.$undostack).length-this.$undoStackDepth,l=0;l1?u.multiSelect.joinSelections():u.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(u){u.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(u){u.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(u){u.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],f.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(u){u.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(u){return u&&u.inMultiSelectMode}}];var y=n("../keyboard/hash_handler").HashHandler;f.keyboardHandler=new y(f.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(n,f,D){var y=n("./range_list").RangeList,u=n("./range").Range,v=n("./selection").Selection,s=n("./mouse/multi_select_handler").onMouseDown,m=n("./lib/event"),h=n("./lib/lang"),o=n("./commands/multi_select_commands");f.commands=o.defaultCommands.concat(o.multiSelectCommands);var r=new(0,n("./search").Search),d=n("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(w,T){if(w){if(!this.inMultiSelectMode&&0===this.rangeCount){var S=this.toOrientedRange();if(this.rangeList.add(S),this.rangeList.add(w),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),T||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(S),this.$onAddRange(S)}w.cursor||(w.cursor=w.end);var M=this.rangeList.add(w);return this.$onAddRange(w),M.length&&this.$onRemoveRange(M),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),T||this.fromOrientedRange(w)}},this.toSingleRange=function(w){w=w||this.ranges[0];var T=this.rangeList.removeAll();T.length&&this.$onRemoveRange(T),w&&this.fromOrientedRange(w)},this.substractPoint=function(w){var T=this.rangeList.substractPoint(w);if(T)return this.$onRemoveRange(T),T[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 T=this.rangeList.ranges.pop();w.push(T),this.rangeCount=0}for(var S=w.length;S--;){var M=this.ranges.indexOf(w[S]);this.ranges.splice(M,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)),(T=T||this.ranges[0])&&!T.isEqual(this.getRange())&&this.fromOrientedRange(T)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new y,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()],T=[],S=0;S1){var w=this.rangeList.ranges,T=w[w.length-1],S=u.fromPoints(w[0].start,T.end);this.toSingleRange(),this.setSelectionRange(S,T.cursor==T.start)}else{var M=this.session.documentToScreenPosition(this.cursor),k=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(M,k).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,T,S){var M=[],k=w.column0;)j--;if(j>0)for(var B=0;M[B].isEmpty();)B++;for(var $=j;$>=B;$--)M[$].isEmpty()&&M.splice($,1)}return M}}.call(v.prototype);var g=n("./editor").Editor;function b(w,T){return w.row==T.row&&w.column==T.column}function C(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=f.onSessionChange.bind(w),w.$checkMultiselectChange=w.$checkMultiselectChange.bind(w),w.$multiselectOnSessionChange(w),w.on("changeSession",w.$multiselectOnSessionChange),w.on("mousedown",s),w.commands.addCommands(o.defaultCommands),function x(w){if(w.textInput){var T=w.textInput.getElement(),S=!1;m.addListener(T,"keydown",function(k){w.$blockSelectEnabled&&18==k.keyCode&&!(k.ctrlKey||k.shiftKey||k.metaKey)?S||(w.renderer.setMouseCursor("crosshair"),S=!0):S&&M()},w),m.addListener(T,"keyup",M,w),m.addListener(T,"blur",M,w)}function M(k){S&&(w.renderer.setMouseCursor(""),S=!1)}}(w))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(w){w.cursor||(w.cursor=w.end);var T=this.getSelectionStyle();return w.marker=this.session.addMarker(w,"ace_selection",T),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 T=this.session.$selectionMarkers.indexOf(w);-1!=T&&this.session.$selectionMarkers.splice(T,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(w){for(var T=this.session.$selectionMarkers,S=w.length;S--;){var M=w[S];if(M.marker){this.session.removeMarker(M.marker);var k=T.indexOf(M);-1!=k&&T.splice(k,1)}}this.session.selectionMarkerCount=T.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(o.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(o.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(w){var T=w.command,S=w.editor;if(S.multiSelect){if(T.multiSelectAction)"forEach"==T.multiSelectAction?M=S.forEachSelection(T,w.args):"forEachLine"==T.multiSelectAction?M=S.forEachSelection(T,w.args,!0):"single"==T.multiSelectAction?(S.exitMultiSelectMode(),M=T.exec(S,w.args||{})):M=T.multiSelectAction(S,w.args||{});else{var M=T.exec(S,w.args||{});S.multiSelect.addRange(S.multiSelect.toOrientedRange()),S.multiSelect.mergeOverlappingRanges()}return M}},this.forEachSelection=function(w,T,S){if(!this.inVirtualSelectionMode){var F,k=1==S||S&&S.$byLines,I=this.session,P=this.selection,L=(S&&S.keepOrder?P:P.rangeList).ranges;if(!L.length)return w.exec?w.exec(this,T||{}):w(this,T||{});var R=P._eventRegistry;P._eventRegistry={};var U=new v(I);this.inVirtualSelectionMode=!0;for(var W=L.length;W--;){if(k)for(;W>0&&L[W].start.row==L[W-1].end.row;)W--;U.fromOrientedRange(L[W]),U.index=W,this.selection=I.selection=U;var ne=w.exec?w.exec(this,T||{}):w(this,T||{});!F&&void 0!==ne&&(F=ne),U.toOrientedRange(L[W])}U.detach(),this.selection=I.selection=P,this.inVirtualSelectionMode=!1,P._eventRegistry=R,P.mergeOverlappingRanges(),P.ranges[0]&&P.fromOrientedRange(P.ranges[0]);var ee=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),ee&&ee.from==ee.to&&this.renderer.animateScrolling(ee.from),F}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var w="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var T=this.multiSelect.rangeList.ranges,S=[],M=0;MW&&(W=B.column),ZH?w.insert($,h.stringRepeat(" ",Z-H)):w.remove(new u($.row,$.column,$.row,$.column-Z+H)),j.start.column=j.end.column=W,j.start.row=j.end.row=$.row,j.cursor=j.end}),T.fromOrientedRange(S[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var I=this.selection.getRange(),P=I.start.row,A=I.end.row,L=P==A;if(L){var R,F=this.session.getLength();do{R=this.session.getLine(A)}while(/[=:]/.test(R)&&++A0);P<0&&(P=0),A>=F&&(A=F-1)}var U=this.session.removeFullLines(P,A);U=this.$reAlignText(U,L),this.session.insert({row:P,column:0},U.join("\n")+"\n"),L||(I.start.column=0,I.end.column=U[U.length-1].length),this.selection.setRange(I)}},this.$reAlignText=function(w,T){var k,I,P,S=!0,M=!0;return w.map(function(U){var W=U.match(/(\s*)(.*?)(\s*)([=:].*)/);return W?null==k?(k=W[1].length,I=W[2].length,P=W[3].length,W):(k+I+P!=W[1].length+W[2].length+W[3].length&&(M=!1),k!=W[1].length&&(S=!1),k>W[1].length&&(k=W[1].length),IW[3].length&&(P=W[3].length),W):[U]}).map(T?L:S?M?function F(U){return U[2]?A(k+I-U[2].length)+U[2]+A(P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}:L:function R(U){return U[2]?A(k)+U[2]+A(P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]});function A(U){return h.stringRepeat(" ",U)}function L(U){return U[2]?A(k)+U[2]+A(I-U[2].length+P)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}}}).call(g.prototype),f.onSessionChange=function(w){var T=w.session;T&&!T.multiSelect&&(T.$selectionMarkers=[],T.selection.$initRangeList(),T.multiSelect=T.selection),this.multiSelect=T&&T.multiSelect;var S=w.oldSession;S&&(S.multiSelect.off("addRange",this.$onAddRange),S.multiSelect.off("removeRange",this.$onRemoveRange),S.multiSelect.off("multiSelect",this.$onMultiSelect),S.multiSelect.off("singleSelect",this.$onSingleSelect),S.multiSelect.lead.off("change",this.$checkMultiselectChange),S.multiSelect.anchor.off("change",this.$checkMultiselectChange)),T&&(T.multiSelect.on("addRange",this.$onAddRange),T.multiSelect.on("removeRange",this.$onRemoveRange),T.multiSelect.on("multiSelect",this.$onMultiSelect),T.multiSelect.on("singleSelect",this.$onSingleSelect),T.multiSelect.lead.on("change",this.$checkMultiselectChange),T.multiSelect.anchor.on("change",this.$checkMultiselectChange)),T&&this.inMultiSelectMode!=T.selection.inMultiSelectMode&&(T.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},f.MultiSelect=C,n("./config").defineOptions(g.prototype,"editor",{enableMultiselect:{set:function(w){C(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(n,f,D){"use strict";var y=n("../../range").Range,u=f.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(v,s,m){var h=v.getLine(m);return this.foldingStartMarker.test(h)?"start":"markbeginend"==s&&this.foldingStopMarker&&this.foldingStopMarker.test(h)?"end":""},this.getFoldWidgetRange=function(v,s,m){return null},this.indentationBlock=function(v,s,m){var h=/\S/,o=v.getLine(s),l=o.search(h);if(-1!=l){for(var r=m||o.length,c=v.getLength(),d=s,g=s;++sd){var x=v.getLine(g).length;return new y(d,r,g,x)}}},this.openingBracketBlock=function(v,s,m,h,o){var l={row:m,column:h+1},r=v.$findClosingBracket(s,l,o);if(r){var c=v.foldWidgets[r.row];return null==c&&(c=v.getFoldWidget(r.row)),"start"==c&&r.row>l.row&&(r.row--,r.column=v.getLine(r.row).length),y.fromPoints(l,r)}},this.closingBracketBlock=function(v,s,m,h,o){var l={row:m,column:h},r=v.$findOpeningBracket(s,l);if(r)return r.column++,l.column--,y.fromPoints(r,l)}}).call(u.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(n,f,D){"use strict";var y=n("../line_widgets").LineWidgets,u=n("../lib/dom"),v=n("../range").Range,s=n("../config").nls;f.showErrorMarker=function(o,l){var r=o.session;r.widgetManager||(r.widgetManager=new y(r),r.widgetManager.attach(o));var c=o.getCursorPosition(),d=c.row,g=r.widgetManager.getWidgetsAtRow(d).filter(function(I){return"errorMarker"==I.type})[0];g?g.destroy():d-=l;var C,b=function h(o,l,r){var c=o.getAnnotations().sort(v.comparePoints);if(c.length){var d=function m(o,l,r){for(var c=0,d=o.length-1;c<=d;){var g=c+d>>1,b=r(l,o[g]);if(b>0)c=g+1;else{if(!(b<0))return g;d=g-1}}return-(c+1)}(c,{row:l,column:-1},v.comparePoints);d<0&&(d=-d-1),d>=c.length?d=r>0?0:c.length-1:0===d&&r<0&&(d=c.length-1);var g=c[d];if(g&&r){if(g.row===l){do{g=c[d+=r]}while(g&&g.row===l);if(!g)return c.slice()}var b=[];l=g.row;do{b[r<0?"unshift":"push"](g),g=c[d+=r]}while(g&&g.row==l);return b.length&&b}}}(r,d,l);if(b){var x=b[0];c.column=(x.pos&&"number"!=typeof x.column?x.pos.sc:x.column)||0,c.row=x.row,C=o.renderer.$gutterLayer.$annotations[c.row]}else{if(g)return;C={text:[s("Looks good!")],className:"ace_ok"}}o.session.unfold(c.row),o.selection.moveToPosition(c);var w={row:c.row,fixedWidth:!0,coverGutter:!0,el:u.createElement("div"),type:"errorMarker"},T=w.el.appendChild(u.createElement("div")),S=w.el.appendChild(u.createElement("div"));S.className="error_widget_arrow "+C.className;var M=o.renderer.$cursorLayer.getPixelPosition(c).left;S.style.left=M+o.renderer.gutterWidth-5+"px",w.el.className="error_widget_wrapper",T.className="error_widget "+C.className,T.innerHTML=C.text.join("
"),T.appendChild(u.createElement("div"));var k=function(I,P,A){if(0===P&&("esc"===A||"return"===A))return w.destroy(),{command:"null"}};w.destroy=function(){o.$mouseHandler.isMousePressed||(o.keyBinding.removeKeyboardHandler(k),r.widgetManager.removeLineWidget(w),o.off("changeSelection",w.destroy),o.off("changeSession",w.destroy),o.off("mouseup",w.destroy),o.off("change",w.destroy))},o.keyBinding.addKeyboardHandler(k),o.on("changeSelection",w.destroy),o.on("changeSession",w.destroy),o.on("mouseup",w.destroy),o.on("change",w.destroy),o.session.widgetManager.addLineWidget(w),w.el.onmousedown=o.focus.bind(o),o.renderer.scrollCursorIntoView(null,.5,{bottom:w.el.offsetHeight})},u.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(n,f,D){"use strict";n("./loader_build")(f);var y=n("./lib/dom"),u=n("./range").Range,v=n("./editor").Editor,s=n("./edit_session").EditSession,m=n("./undomanager").UndoManager,h=n("./virtual_renderer").VirtualRenderer;n("./worker/worker_client"),n("./keyboard/hash_handler"),n("./placeholder"),n("./multi_select"),n("./mode/folding/fold_mode"),n("./theme/textmate"),n("./ext/error_marker"),f.config=n("./config"),f.edit=function(o,l){if("string"==typeof o){var r=o;if(!(o=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(o&&o.env&&o.env.editor instanceof v)return o.env.editor;var c="";if(o&&/input|textarea/i.test(o.tagName)){var d=o;c=d.value,o=y.createElement("pre"),d.parentNode.replaceChild(o,d)}else o&&(c=o.textContent,o.innerHTML="");var g=f.createEditSession(c),b=new v(new h(o),g,l),C={document:g,editor:b,onResize:b.resize.bind(b,null)};return d&&(C.textarea=d),b.on("destroy",function(){C.editor.container.env=null}),b.container.env=b.env=C,b},f.createEditSession=function(o,l){var r=new s(o,l);return r.setUndoManager(new m),r},f.Range=u,f.Editor=v,f.EditSession=s,f.UndoManager=m,f.VirtualRenderer=h,f.version=f.config.version}),ace.require(["ace/ace"],function(n){n&&(n.config.init(!0),n.define=ace.define);var f=function(){return this}();for(var D in!f&&typeof window<"u"&&(f=window),!f&&typeof self<"u"&&(f=self),f.ace||(f.ace=n),n)n.hasOwnProperty(D)&&(f.ace[D]=n[D]);f.ace.default=f.ace,Me&&(Me.exports=f.ace)})},2919:(Me,ie,_)=>{Me=_.nmd(Me),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,f,D){"use strict";var y=n("../lib/oop"),u=n("./text_highlight_rules").TextHighlightRules,v=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"}]}};y.inherits(v,u),f.JsonHighlightRules=v}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(n,f,D){"use strict";var y=n("../range").Range,u=function(){};(function(){this.checkOutdent=function(v,s){return!!/^\s+$/.test(v)&&/^\s*\}/.test(s)},this.autoOutdent=function(v,s){var h=v.getLine(s).match(/^(\s*\})/);if(!h)return 0;var o=h[1].length,l=v.findMatchingBracket({row:s,column:o});if(!l||l.row==s)return 0;var r=this.$getIndent(v.getLine(l.row));v.replace(new y(s,0,s,o-1),r)},this.$getIndent=function(v){return v.match(/^\s*/)[0]}}).call(u.prototype),f.MatchingBraceOutdent=u}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,f,D){"use strict";var y=n("../../lib/oop"),u=n("../../range").Range,v=n("./fold_mode").FoldMode,s=f.FoldMode=function(m){m&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+m.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+m.end)))};y.inherits(s,v),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(m,h,o){var l=m.getLine(o);if(this.singleLineBlockCommentRe.test(l)&&!this.startRegionRe.test(l)&&!this.tripleStarBlockCommentRe.test(l))return"";var r=this._getFoldWidgetBase(m,h,o);return!r&&this.startRegionRe.test(l)?"start":r},this.getFoldWidgetRange=function(m,h,o,l){var g,r=m.getLine(o);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(m,r,o);if(g=r.match(this.foldingStartMarker)){var c=g.index;if(g[1])return this.openingBracketBlock(m,g[1],o,c);var d=m.getCommentFoldRange(o,c+g[0].length,1);return d&&!d.isMultiLine()&&(l?d=this.getSectionRange(m,o):"all"!=h&&(d=null)),d}return"markbegin"!==h&&(g=r.match(this.foldingStopMarker))?(c=g.index+g[0].length,g[1]?this.closingBracketBlock(m,g[1],o,c):m.getCommentFoldRange(o,c,-1)):void 0},this.getSectionRange=function(m,h){for(var o=m.getLine(h),l=o.search(/\S/),r=h,c=o.length,d=h+=1,g=m.getLength();++hb)break;var C=this.getFoldWidgetRange(m,"all",h);if(C){if(C.start.row<=r)break;if(C.isMultiLine())h=C.end.row;else if(l==b)break}d=h}}return new u(r,c,d,m.getLine(d).length)},this.getCommentRegionBlock=function(m,h,o){for(var l=h.search(/\s*$/),r=m.getLength(),c=o,d=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,g=1;++oc)return new u(c,l,o,h.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(n,f,D){"use strict";var y=n("../lib/oop"),u=n("./text").Mode,v=n("./json_highlight_rules").JsonHighlightRules,s=n("./matching_brace_outdent").MatchingBraceOutdent,m=n("./folding/cstyle").FoldMode,h=n("../worker/worker_client").WorkerClient,o=function(){this.HighlightRules=v,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new m};y.inherits(o,u),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(l,r,c){var d=this.$getIndent(r);return"start"==l&&r.match(/^.*[\{\(\[]\s*$/)&&(d+=c),d},this.checkOutdent=function(l,r,c){return this.$outdent.checkOutdent(r,c)},this.autoOutdent=function(l,r,c){this.$outdent.autoOutdent(r,c)},this.createWorker=function(l){var r=new h(["ace"],"ace/mode/json_worker","JsonWorker");return r.attachToDocument(l.getDocument()),r.on("annotate",function(c){l.setAnnotations(c.data)}),r.on("terminate",function(){l.clearAnnotations()}),r},this.$id="ace/mode/json"}.call(o.prototype),f.Mode=o}),ace.require(["ace/mode/json"],function(n){Me&&(Me.exports=n)})},9811:(Me,ie,_)=>{Me=_.nmd(Me),ace.define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(n,f,D){"use strict";f.isDark=!1,f.cssClass="ace-tm",f.cssText=n("./textmate-css"),f.$id="ace/theme/textmate",n("../lib/dom").importCssString(f.cssText,f.cssClass,!1)}),ace.require(["ace/theme/textmate"],function(n){Me&&(Me.exports=n)})},5899:Me=>{function ie(){}Me.exports=ie,Me.exports.HttpsAgent=ie},6357:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9042),{Interval:D}=_(9173);class y{}Me.exports=class u extends y{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(m)>=m}fetch(s){if(this.fetchedEOF)return 0;for(let m=0;m=this.tokens.length&&(m=this.tokens.length-1);for(let l=s;l=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[m]}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,m){if(this.sync(s),s>=this.tokens.length)return-1;let h=this.tokens[s];for(;h.channel!==this.channel;){if(h.type===n.EOF)return-1;this.sync(s+=1),h=this.tokens[s]}return s}previousTokenOnChannel(s,m){for(;s>=0&&this.tokens[s].channel!==m;)s-=1;return s}getHiddenTokensToRight(s,m){if(void 0===m&&(m=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const h=this.nextTokenOnChannel(s+1,f.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(s+1,-1===h?this.tokens.length-1:h,m)}getHiddenTokensToLeft(s,m){if(void 0===m&&(m=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const h=this.previousTokenOnChannel(s-1,f.DEFAULT_TOKEN_CHANNEL);return h===s-1?null:this.filterForChannel(h+1,s-1,m)}filterForChannel(s,m,h){const o=[];for(let l=s;l=this.tokens.length&&(h=this.tokens.length-1);let o="";for(let l=m;l{const n=_(6205).CommonToken;class f{}class D extends f{constructor(u){super(),this.copyText=void 0!==u&&u}create(u,v,s,m,h,o,l,r){const c=new n(u,v,m,h,o);return c.line=l,c.column=r,null!==s?c.text=s:this.copyText&&null!==u[1]&&(c.text=u[1].getText(h,o)),c}createThin(u,v){const s=new n(null,u);return s.text=v,s}}D.DEFAULT=new D,Me.exports=D},7456:(Me,ie,_)=>{const n=_(6205).Token,f=_(6357);Me.exports=class D extends f{constructor(u,v){super(u),this.channel=void 0===v?n.DEFAULT_CHANNEL:v}adjustSeekIndex(u){return this.nextTokenOnChannel(u,this.channel)}LB(u){if(0===u||this.index-u<0)return null;let v=this.index,s=1;for(;s<=u;)v=this.previousTokenOnChannel(v-1,this.channel),s+=1;return v<0?null:this.tokens[v]}LT(u){if(this.lazyInit(),0===u)return null;if(u<0)return this.LB(-u);let v=this.index,s=1;for(;s{const{Token:n}=_(6205);_(6419),_(9182),Me.exports=class f{constructor(y,u){if(this.name="",this.strdata=y,this.decodeToUnicodeCodePoints=u||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let v=0;v=this._size)throw"cannot consume EOF";this._index+=1}LA(y){if(0===y)return 0;y<0&&(y+=1);const u=this._index+y-1;return u<0||u>=this._size?n.EOF:this.data[u]}LT(y){return this.LA(y)}mark(){return-1}release(y){}seek(y){this._index=y<=this._index?y:Math.min(y,this._size)}getText(y,u){if(u>=this._size&&(u=this._size-1),y>=this._size)return"";if(this.decodeToUnicodeCodePoints){let v="";for(let s=y;s<=u;s++)v+=String.fromCodePoint(this.data[s]);return v}return this.strdata.slice(y,u+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}},9173:(Me,ie,_)=>{const{Token:n}=_(6205);class f{constructor(u,v){this.start=u,this.stop=v}clone(){return new f(this.start,this.stop)}contains(u){return u>=this.start&&uthis.addInterval(v),this),this}reduce(u){if(u=s.stop?(this.intervals.splice(u+1,1),this.reduce(u)):v.stop>=s.start&&(this.intervals[u]=new f(v.start,s.stop),this.intervals.splice(u+1,1))}}complement(u,v){const s=new D;return s.addInterval(new f(u,v+1)),null!==this.intervals&&this.intervals.forEach(m=>s.removeRange(m)),s}contains(u){if(null===this.intervals)return!1;for(let v=0;vm.start&&u.stop=m.stop?(this.intervals.splice(v,1),v-=1):u.start":"'"+String.fromCharCode(s.start)+"'":"'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return u.length>1?"{"+u.join(", ")+"}":u[0]}toIndexString(){const u=[];for(let v=0;v":s.start.toString():s.start.toString()+".."+(s.stop-1).toString())}return u.length>1?"{"+u.join(", ")+"}":u[0]}toTokenString(u,v){const s=[];for(let m=0;m1?"{"+s.join(", ")+"}":s[0]}elementName(u,v,s){return s===n.EOF?"":s===n.EPSILON?"":u[s]||v[s]}get length(){return this.intervals.map(u=>u.length).reduce((u,v)=>u+v)}}Me.exports={Interval:f,IntervalSet:D}},4589:(Me,ie,_)=>{const{Set:n,BitSet:f}=_(3340),{Token:D}=_(6205),{ATNConfig:y}=_(7745),{IntervalSet:u}=_(9173),{RuleStopState:v}=_(5516),{RuleTransition:s,NotSetTransition:m,WildcardTransition:h,AbstractPredicateTransition:o}=_(6850),{predictionContextFromRuleContext:l,PredictionContext:r,SingletonPredictionContext:c}=_(6185);class d{constructor(b){this.atn=b}getDecisionLookahead(b){if(null===b)return null;const C=b.transitions.length,x=[];for(let w=0;w{const{Token:n}=_(6205),f=_(9495),D=_(9882),{RecognitionException:y}=_(5858),{LexerNoViableAltException:u}=_(5858);class s extends f{constructor(h){super(),this._input=h,this._factory=D.DEFAULT,this._tokenFactorySourcePair=[this,h],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=n.DEFAULT_CHANNEL,this._type=n.INVALID_TYPE,this._modeStack=[],this._mode=s.DEFAULT_MODE,this._text=null}reset(){null!==this._input&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=s.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(null===this._input)throw"nextToken requires a non-null input stream.";const h=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let o=!1;for(;;){this._type=n.INVALID_TYPE;let l=s.SKIP;try{l=this._interp.match(this._input,this._mode)}catch(r){if(!(r instanceof y))throw console.log(r.stack),r;this.notifyListeners(r),this.recover(r)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=l),this._type===s.SKIP){o=!0;break}if(this._type!==s.MORE)break}if(!o)return null===this._token&&this.emit(),this._token}}finally{this._input.release(h)}}skip(){this._type=s.SKIP}more(){this._type=s.MORE}mode(h){this._mode=h}pushMode(h){this._interp.debug&&console.log("pushMode "+h),this._modeStack.push(this._mode),this.mode(h)}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(h){this._token=h}emit(){const h=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(h),h}emitEOF(){const l=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,this.line,this.column);return this.emitToken(l),l}getCharIndex(){return this._input.index}getAllTokens(){const h=[];let o=this.nextToken();for(;o.type!==n.EOF;)h.push(o),o=this.nextToken();return h}notifyListeners(h){const r=this._input.getText(this._tokenStartCharIndex,this._input.index),c="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,c,h)}getErrorDisplay(h){const o=[];for(let l=0;l":"\n"===h?"\\n":"\t"===h?"\\t":"\r"===h?"\\r":h}getCharErrorDisplay(h){return"'"+this.getErrorDisplayForChar(h)+"'"}recover(h){this._input.LA(1)!==n.EOF&&(h instanceof u?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(h){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=h,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(h){this._type=h}get line(){return this._interp.line}set line(h){this._interp.line=h}get column(){return this._interp.column}set column(h){this._interp.column=h}get text(){return null!==this._text?this._text:this._interp.getText(this._input)}set text(h){this._text=h}}s.DEFAULT_MODE=0,s.MORE=-2,s.SKIP=-3,s.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,s.HIDDEN=n.HIDDEN_CHANNEL,s.MIN_CHAR_VALUE=0,s.MAX_CHAR_VALUE=1114111,Me.exports=s},111:(Me,ie,_)=>{const{Token:n}=_(6205),{ParseTreeListener:f,TerminalNode:D,ErrorNode:y}=_(5829),u=_(9495),{DefaultErrorStrategy:v}=_(2487),s=_(7499),m=_(2905),h=_(9042);class o extends f{constructor(c){super(),this.parser=c}enterEveryRule(c){console.log("enter "+this.parser.ruleNames[c.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(c){console.log("consume "+c.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(c){console.log("exit "+this.parser.ruleNames[c.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}Me.exports=(()=>{class r extends u{constructor(d){super(),this._input=null,this._errHandler=new v,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(d)}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(d){let g=this.getCurrentToken();return g.type===d?(this._errHandler.reportMatch(this),this.consume()):(g=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===g.tokenIndex&&this._ctx.addErrorNode(g)),g}matchWildcard(){let d=this.getCurrentToken();return d.type>0?(this._errHandler.reportMatch(this),this.consume()):(d=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===d.tokenIndex&&this._ctx.addErrorNode(d)),d}getParseListeners(){return this._parseListeners||[]}addParseListener(d){if(null===d)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(d)}removeParseListener(d){if(null!==this._parseListeners){const g=this._parseListeners.indexOf(d);g>=0&&this._parseListeners.splice(g,1),0===this._parseListeners.length&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(null!==this._parseListeners){const d=this._ctx;this._parseListeners.forEach(function(g){g.enterEveryRule(d),d.enterRule(g)})}}triggerExitRuleEvent(){if(null!==this._parseListeners){const d=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(g){d.exitRule(g),g.exitEveryRule(d)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(d){this._input.tokenSource._factory=d}getATNWithBypassAlts(){const d=this.getSerializedATN();if(null===d)throw"The current parser does not support an ATN with bypass alternatives.";let g=this.bypassAltsAtnCache[d];if(null===g){const b=new m;b.generateRuleBypassTransitions=!0,g=new s(b).deserialize(d),this.bypassAltsAtnCache[d]=g}return g}compileParseTreePattern(d,g,b){if(null===(b=b||null)&&null!==this.getTokenStream()){const x=this.getTokenStream().tokenSource;x instanceof h&&(b=x)}if(null===b)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(b,this).compile(d,g)}getInputStream(){return this.getTokenStream()}setInputStream(d){this.setTokenStream(d)}getTokenStream(){return this._input}setTokenStream(d){this._input=null,this.reset(),this._input=d}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(d,g,b){b=b||null,null===(g=g||null)&&(g=this.getCurrentToken()),this._syntaxErrors+=1;const C=g.line,x=g.column;this.getErrorListenerDispatch().syntaxError(this,g,C,x,d,b)}consume(){const d=this.getCurrentToken();d.type!==n.EOF&&this.getInputStream().consume();const g=null!==this._parseListeners&&this._parseListeners.length>0;if(this.buildParseTrees||g){let b;b=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(d):this._ctx.addTokenNode(d),b.invokingState=this.state,g&&this._parseListeners.forEach(function(C){b instanceof y||void 0!==b.isErrorNode&&b.isErrorNode()?C.visitErrorNode(b):b instanceof D&&C.visitTerminal(b)})}return d}addContextToParseTree(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(d,g,b){this.state=g,this._ctx=d,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(d,g){d.setAltNumber(g),this.buildParseTrees&&this._ctx!==d&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(d)),this._ctx=d}getPrecedence(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(d,g,b,C){this.state=g,this._precedenceStack.push(C),this._ctx=d,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(d,g,b){const C=this._ctx;C.parentCtx=d,C.invokingState=g,C.stop=this._input.LT(-1),this._ctx=d,this._ctx.start=C.start,this.buildParseTrees&&this._ctx.addChild(C),this.triggerEnterRuleEvent()}unrollRecursionContexts(d){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const g=this._ctx,b=this.getParseListeners();if(null!==b&&b.length>0)for(;this._ctx!==d;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=d;g.parentCtx=d,this.buildParseTrees&&null!==d&&d.addChild(g)}getInvokingContext(d){let g=this._ctx;for(;null!==g;){if(g.ruleIndex===d)return g;g=g.parentCtx}return null}precpred(d,g){return g>=this._precedenceStack[this._precedenceStack.length-1]}inContext(d){return!1}isExpectedToken(d){const g=this._interp.atn;let b=this._ctx,x=g.nextTokens(g.states[this.state]);if(x.contains(d))return!0;if(!x.contains(n.EPSILON))return!1;for(;null!==b&&b.invokingState>=0&&x.contains(n.EPSILON);){if(x=g.nextTokens(g.states[b.invokingState].transitions[0].followState),x.contains(d))return!0;b=b.parentCtx}return!(!x.contains(n.EPSILON)||d!==n.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const d=this._interp.atn;return d.nextTokens(d.states[this.state])}getRuleIndex(d){const g=this.getRuleIndexMap()[d];return null!==g?g:-1}getRuleInvocationStack(d){null===(d=d||null)&&(d=this._ctx);const g=[];for(;null!==d;){const b=d.ruleIndex;g.push(b<0?"n/a":this.ruleNames[b]),d=d.parentCtx}return g}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let d=!1;for(let g=0;g0&&(d&&console.log(),this.printer.println("Decision "+b.decision+":"),this.printer.print(b.toString(this.literalNames,this.symbolicNames)),d=!0)}}getSourceName(){return this._input.sourceName}setTrace(d){d?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new o(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return r.bypassAltsAtnCache={},r})()},7293:(Me,ie,_)=>{const n=_(13),f=_(5829),D=f.INVALID_INTERVAL,y=f.TerminalNode,u=f.TerminalNodeImpl,v=f.ErrorNodeImpl,s=_(9173).Interval;class m extends n{constructor(l,r){super(l=l||null,r=r||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(l){this.parentCtx=l.parentCtx,this.invokingState=l.invokingState,this.children=null,this.start=l.start,this.stop=l.stop,l.children&&(this.children=[],l.children.map(function(r){r instanceof v&&(this.children.push(r),r.parentCtx=this)},this))}enterRule(l){}exitRule(l){}addChild(l){return null===this.children&&(this.children=[]),this.children.push(l),l}removeLastChild(){null!==this.children&&this.children.pop()}addTokenNode(l){const r=new u(l);return this.addChild(r),r.parentCtx=this,r}addErrorNode(l){const r=new v(l);return this.addChild(r),r.parentCtx=this,r}getChild(l,r){if(null===this.children||l<0||l>=this.children.length)return null;if(null===(r=r||null))return this.children[l];for(let c=0;c=this.children.length)return null;for(let c=0;c{const n=_(13),{Hash:f,Map:D,equalArrays:y}=_(3340);class u{constructor(w){this.cachedHashCode=w}isEmpty(){return this===u.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===u.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(w){w.update(this.cachedHashCode)}}u.EMPTY=null,u.EMPTY_RETURN_STATE=2147483647,u.globalNodeCount=1,u.id=u.globalNodeCount;class s extends u{constructor(w,T){let S=0;const M=new f;null!==w?M.update(w,T):M.update(1),S=M.finish(),super(S),this.parentCtx=w,this.returnState=T}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===u.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+w}get length(){return 1}static create(w,T){return T===u.EMPTY_RETURN_STATE&&null===w?u.EMPTY:new s(w,T)}}class m extends s{constructor(){super(null,u.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(w){return null}getReturnState(w){return this.returnState}equals(w){return this===w}toString(){return"$"}}u.EMPTY=new m;class h extends u{constructor(w,T){const S=new f;return S.update(w,T),super(S.finish()),this.parents=w,this.returnStates=T,this}isEmpty(){return this.returnStates[0]===u.EMPTY_RETURN_STATE}getParent(w){return this.parents[w]}getReturnState(w){return this.returnStates[w]}equals(w){return this===w||w instanceof h&&this.hashCode()===w.hashCode()&&y(this.returnStates,w.returnStates)&&y(this.parents,w.parents)}toString(){if(this.isEmpty())return"[]";{let w="[";for(let T=0;T0&&(w+=", "),this.returnStates[T]!==u.EMPTY_RETURN_STATE?(w+=this.returnStates[T],null!==this.parents[T]?w=w+" "+this.parents[T]:w+="null"):w+="$";return w+"]"}}get length(){return this.returnStates.length}}Me.exports={merge:function l(x,w,T,S){if(x===w)return x;if(x instanceof s&&w instanceof s)return function r(x,w,T,S){if(null!==S){let k=S.get(x,w);if(null!==k||(k=S.get(w,x),null!==k))return k}const M=function c(x,w,T){if(T){if(x===u.EMPTY||w===u.EMPTY)return u.EMPTY}else{if(x===u.EMPTY&&w===u.EMPTY)return u.EMPTY;if(x===u.EMPTY)return new h([w.parentCtx,null],[w.returnState,u.EMPTY_RETURN_STATE]);if(w===u.EMPTY)return new h([x.parentCtx,null],[x.returnState,u.EMPTY_RETURN_STATE])}return null}(x,w,T);if(null!==M)return null!==S&&S.set(x,w,M),M;if(x.returnState===w.returnState){const k=l(x.parentCtx,w.parentCtx,T,S);if(k===x.parentCtx)return x;if(k===w.parentCtx)return w;const I=s.create(k,x.returnState);return null!==S&&S.set(x,w,I),I}{let k=null;if((x===w||null!==x.parentCtx&&x.parentCtx===w.parentCtx)&&(k=x.parentCtx),null!==k){const L=[x.returnState,w.returnState];x.returnState>w.returnState&&(L[0]=w.returnState,L[1]=x.returnState);const R=new h([k,k],L);return null!==S&&S.set(x,w,R),R}const I=[x.returnState,w.returnState];let P=[x.parentCtx,w.parentCtx];x.returnState>w.returnState&&(I[0]=w.returnState,I[1]=x.returnState,P=[w.parentCtx,x.parentCtx]);const A=new h(P,I);return null!==S&&S.set(x,w,A),A}}(x,w,T,S);if(T){if(x instanceof m)return x;if(w instanceof m)return w}return x instanceof s&&(x=new h([x.getParent()],[x.returnState])),w instanceof s&&(w=new h([w.getParent()],[w.returnState])),function d(x,w,T,S){if(null!==S){let F=S.get(x,w);if(null!==F||(F=S.get(w,x),null!==F))return F}let M=0,k=0,I=0,P=[],A=[];for(;M{const{Token:n}=_(6205),{ConsoleErrorListener:f}=_(7967),{ProxyErrorListener:D}=_(7967);Me.exports=(()=>{class u{constructor(){this._listeners=[f.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(),m=this.getSymbolicNames(),h=s.length>m.length?s.length:m.length;this.tokenNames=[];for(let o=0;o";let m=s.text;return null===m&&(m=s.type===n.EOF?"":"<"+s.type+">"),m=m.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+m+"'"}getErrorListenerDispatch(){return new D(this._listeners)}sempred(s,m,h){return!0}precpred(s,m){return!0}get state(){return this._stateNumber}set state(s){this._stateNumber=s}}return u.tokenTypeMapCache={},u.ruleIndexMapCache={},u})()},13:(Me,ie,_)=>{const{RuleNode:n}=_(5829),{INVALID_INTERVAL:f}=_(5829),D=_(5140);Me.exports=class y extends n{constructor(v,s){super(),this.parentCtx=v||null,this.invokingState=s||-1}depth(){let v=0,s=this;for(;null!==s;)s=s.parentCtx,v+=1;return v}isEmpty(){return-1===this.invokingState}getSourceInterval(){return f}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(v){return v.getText()}).join("")}getAltNumber(){return 0}setAltNumber(v){}getChild(v){return null}getChildCount(){return 0}accept(v){return v.visitChildren(this)}toStringTree(v,s){return D.toStringTree(this,v,s)}toString(v,s){v=v||null,s=s||null;let m=this,h="[";for(;null!==m&&m!==s;){if(null===v)m.isEmpty()||(h+=m.invokingState);else{const o=m.ruleIndex;h+=o>=0&&o{let ie=(()=>{class n{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(D){this._text=D}}return n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,n})();Me.exports={Token:ie,CommonToken:(()=>{class n extends ie{constructor(D,y,u,v,s){super(),this.source=void 0!==D?D:n.EMPTY_SOURCE,this.type=void 0!==y?y:null,this.channel=void 0!==u?u:ie.DEFAULT_CHANNEL,this.start=void 0!==v?v:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=D[0].line,this.column=D[0].column):this.column=-1}clone(){const D=new n(this.source,this.type,this.channel,this.start,this.stop);return D.tokenIndex=this.tokenIndex,D.line=this.line,D.column=this.column,D.text=this.text,D}toString(){let D=this.text;return D=null!==D?D.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+D+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(null!==this._text)return this._text;const D=this.getInputStream();if(null===D)return null;const y=D.size;return this.start"}set text(D){this._text=D}}return n.EMPTY_SOURCE=[null,null],n})()}},3340:Me=>{function ie(c){return null===c?"null":c}function _(c){return Array.isArray(c)?"["+c.map(ie).join(", ")+"]":"null"}function n(c,d){return c?c.equals(d):c==d}function f(c){return c?c.hashCode():-1}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const c=this.toString();let d,g;const b=3&c.length,C=c.length-b;let x=String.prototype.seed;const w=3432918353,T=461845907;let S=0;for(;S>>16)*w&65535)<<16)&4294967295,g=g<<15|g>>>17,g=(65535&g)*T+(((g>>>16)*T&65535)<<16)&4294967295,x^=g,x=x<<13|x>>>19,d=5*(65535&x)+((5*(x>>>16)&65535)<<16)&4294967295,x=27492+(65535&d)+((58964+(d>>>16)&65535)<<16);switch(g=0,b){case 3:g^=(255&c.charCodeAt(S+2))<<16;case 2:g^=(255&c.charCodeAt(S+1))<<8;case 1:g^=255&c.charCodeAt(S),g=(65535&g)*w+(((g>>>16)*w&65535)<<16)&4294967295,g=g<<15|g>>>17,g=(65535&g)*T+(((g>>>16)*T&65535)<<16)&4294967295,x^=g}return x^=c.length,x^=x>>>16,x=2246822507*(65535&x)+((2246822507*(x>>>16)&65535)<<16)&4294967295,x^=x>>>13,x=3266489909*(65535&x)+((3266489909*(x>>>16)&65535)<<16)&4294967295,x^=x>>>16,x>>>0};class y{constructor(){this.data=[]}add(d){this.data[d]=!0}or(d){const g=this;Object.keys(d.data).map(function(b){g.add(b)})}remove(d){delete this.data[d]}contains(d){return!0===this.data[d]}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){const d=new m;return d.update(this.values()),d.finish()}equals(d){return d instanceof y&&this.hashCode()===d.hashCode()}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class u{constructor(d,g){this.data={},this.hashFunction=d||f,this.equalsFunction=g||n}put(d,g){const b="hash_"+this.hashFunction(d);if(b in this.data){const C=this.data[b];for(let x=0;x>>17,b*=461845907,this.count=this.count+1;let C=this.hash^b;C=C<<13|C>>>19,C=5*C+3864292196,this.hash=C}}}finish(){let d=this.hash^4*this.count;return d^=d>>>16,d*=2246822507,d^=d>>>13,d*=3266489909,d^=d>>>16,d}}Me.exports={Hash:m,Set:class D{constructor(d,g){this.data={},this.hashFunction=d||f,this.equalsFunction=g||n}add(d){const b="hash_"+this.hashFunction(d);if(b in this.data){const C=this.data[b];for(let x=0;x{const n=_(4589),{IntervalSet:f}=_(9173),{Token:D}=_(6205);Me.exports=(()=>{class u{constructor(s,m){this.grammarType=s,this.maxTokenType=m,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(s,m){return new n(this).LOOK(s,null,m)}nextTokensNoContext(s){return null!==s.nextTokenWithinRule||(s.nextTokenWithinRule=this.nextTokensInContext(s,null),s.nextTokenWithinRule.readOnly=!0),s.nextTokenWithinRule}nextTokens(s,m){return void 0===m?this.nextTokensNoContext(s):this.nextTokensInContext(s,m)}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,m){if(s<0||s>=this.states.length)throw"Invalid state number.";let o=this.nextTokens(this.states[s]);if(!o.contains(D.EPSILON))return o;const l=new f;for(l.addSet(o),l.removeOne(D.EPSILON);null!==m&&m.invokingState>=0&&o.contains(D.EPSILON);)o=this.nextTokens(this.states[m.invokingState].transitions[0].followState),l.addSet(o),l.removeOne(D.EPSILON),m=m.parentCtx;return o.contains(D.EPSILON)&&l.addOne(D.EOF),l}}return u.INVALID_ALT_NUMBER=0,u})()},7745:(Me,ie,_)=>{const{DecisionState:n}=_(5516),{SemanticContext:f}=_(9454),{Hash:D}=_(3340);function y(s,m){if(null===s){const h={state:null,alt:null,context:null,semanticContext:null};return m&&(h.reachesIntoOuterContext=0),h}{const h={};return h.state=s.state||null,h.alt=void 0===s.alt?null:s.alt,h.context=s.context||null,h.semanticContext=s.semanticContext||null,m&&(h.reachesIntoOuterContext=s.reachesIntoOuterContext||0,h.precedenceFilterSuppressed=s.precedenceFilterSuppressed||!1),h}}class u{constructor(m,h){this.checkContext(m,h),m=y(m),h=y(h,!0),this.state=null!==m.state?m.state:h.state,this.alt=null!==m.alt?m.alt:h.alt,this.context=null!==m.context?m.context:h.context,this.semanticContext=null!==m.semanticContext?m.semanticContext:null!==h.semanticContext?h.semanticContext:f.NONE,this.reachesIntoOuterContext=h.reachesIntoOuterContext,this.precedenceFilterSuppressed=h.precedenceFilterSuppressed}checkContext(m,h){null==m.context&&(null===h||null==h.context)&&(this.context=null)}hashCode(){const m=new D;return this.updateHashCode(m),m.finish()}updateHashCode(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(m){return this===m||m instanceof u&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&(null===this.context?null===m.context:this.context.equals(m.context))&&this.semanticContext.equals(m.semanticContext)&&this.precedenceFilterSuppressed===m.precedenceFilterSuppressed}hashCodeForConfigSet(){const m=new D;return m.update(this.state.stateNumber,this.alt,this.semanticContext),m.finish()}equalsForConfigSet(m){return this===m||m instanceof u&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&this.semanticContext.equals(m.semanticContext)}toString(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==f.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class v extends u{constructor(m,h){return super(m,h),this.lexerActionExecutor=m.lexerActionExecutor||(null!==h?h.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==h&&this.checkNonGreedyDecision(h,this.state),this.hashCodeForConfigSet=v.prototype.hashCode,this.equalsForConfigSet=v.prototype.equals,this}updateHashCode(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(m){return this===m||m instanceof v&&this.passedThroughNonGreedyDecision===m.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(m.lexerActionExecutor):!m.lexerActionExecutor)&&super.equals(m)}checkNonGreedyDecision(m,h){return m.passedThroughNonGreedyDecision||h instanceof n&&h.nonGreedy}}Me.exports.ATNConfig=u,Me.exports.LexerATNConfig=v},4280:(Me,ie,_)=>{const n=_(9800),f=_(3340),{SemanticContext:D}=_(9454),{merge:y}=_(6185);function u(h){return h.hashCodeForConfigSet()}function v(h,o){return h===o||null!==h&&null!==o&&h.equalsForConfigSet(o)}class s{constructor(o){this.configLookup=new f.Set(u,v),this.fullCtx=void 0===o||o,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(o,l){if(void 0===l&&(l=null),this.readOnly)throw"This set is readonly";o.semanticContext!==D.NONE&&(this.hasSemanticContext=!0),o.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const r=this.configLookup.add(o);if(r===o)return this.cachedHashCode=-1,this.configs.push(o),!0;const d=y(r.context,o.context,!this.fullCtx,l);return r.reachesIntoOuterContext=Math.max(r.reachesIntoOuterContext,o.reachesIntoOuterContext),o.precedenceFilterSuppressed&&(r.precedenceFilterSuppressed=!0),r.context=d,!0}getStates(){const o=new f.Set;for(let l=0;l{class ie{constructor(n){void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions}}ie.defaultOptions=new ie,ie.defaultOptions.readOnly=!0,Me.exports=ie},7499:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9800),D=_(8729),{ATNState:y,BasicState:u,DecisionState:v,BlockStartState:s,BlockEndState:m,LoopEndState:h,RuleStartState:o,RuleStopState:l,TokensStartState:r,PlusLoopbackState:c,StarLoopbackState:d,StarLoopEntryState:g,PlusBlockStartState:b,StarBlockStartState:C,BasicBlockStartState:x}=_(5516),{Transition:w,AtomTransition:T,SetTransition:S,NotSetTransition:M,RuleTransition:k,RangeTransition:I,ActionTransition:P,EpsilonTransition:A,WildcardTransition:L,PredicateTransition:F,PrecedencePredicateTransition:R}=_(6850),{IntervalSet:U}=_(9173),W=_(2905),{LexerActionType:ne,LexerSkipAction:ee,LexerChannelAction:j,LexerCustomAction:B,LexerMoreAction:$,LexerTypeAction:Z,LexerPushModeAction:H,LexerPopModeAction:te,LexerModeAction:ue}=_(201),Ge="59627784-3BE5-417A-B9EB-8131A7286089",$e=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Ge],Ze=Ge;function Et(Ie,Ce){const ge=[];return ge[Ie-1]=Ce,ge.map(function(Ae){return Ce})}const Ee=function qe(){const Ie=[];for(let Ce=0;Ce<256;Ce++)Ie[Ce]=(Ce+256).toString(16).substr(1).toUpperCase();return Ie}();Me.exports=class Te{constructor(Ce){null==Ce&&(Ce=W.defaultOptions),this.deserializationOptions=Ce,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Ce,ge){const Ae=$e.indexOf(Ce);return!(Ae<0)&&$e.indexOf(ge)>=Ae}deserialize(Ce){this.reset(Ce),this.checkVersion(),this.checkUUID();const ge=this.readATN();this.readStates(ge),this.readRules(ge),this.readModes(ge);const Ae=[];return this.readSets(ge,Ae,this.readInt.bind(this)),this.isFeatureSupported(Ge,this.uuid)&&this.readSets(ge,Ae,this.readInt32.bind(this)),this.readEdges(ge,Ae),this.readDecisions(ge),this.readLexerActions(ge),this.markPrecedenceDecisions(ge),this.verifyATN(ge),this.deserializationOptions.generateRuleBypassTransitions&&ge.grammarType===D.PARSER&&(this.generateRuleBypassTransitions(ge),this.verifyATN(ge)),ge}reset(Ce){const Ae=Ce.split("").map(function(q){const Re=q.charCodeAt(0);return Re>1?Re-2:Re+65534});Ae[0]=Ce.charCodeAt(0),this.data=Ae,this.pos=0}checkVersion(){const Ce=this.readInt();if(3!==Ce)throw"Could not deserialize ATN with version "+Ce+" (expected 3)."}checkUUID(){const Ce=this.readUUID();if($e.indexOf(Ce)<0)throw Ze;this.uuid=Ce}readATN(){const Ce=this.readInt(),ge=this.readInt();return new f(Ce,ge)}readStates(Ce){let ge,Ae,q;const Re=[],ke=[],Ke=this.readInt();for(let Ne=0;Ne0;)Re.addTransition(Pe.transitions[Ne-1]),Pe.transitions=Pe.transitions.slice(-1);Ce.ruleToStartState[ge].addTransition(new A(Re)),ke.addTransition(new A(me));const Be=new u;Ce.addState(Be),Be.addTransition(new T(ke,Ce.ruleToTokenType[ge])),Re.addTransition(new A(Be))}stateIsEndStateFor(Ce,ge){if(Ce.ruleIndex!==ge||!(Ce instanceof g))return null;const Ae=Ce.transitions[Ce.transitions.length-1].target;return Ae instanceof h&&Ae.epsilonOnlyTransitions&&Ae.transitions[0].target instanceof l?Ce:null}markPrecedenceDecisions(Ce){for(let ge=0;ge=0:Ae.transitions.length<=1||Ae instanceof l)}}checkCondition(Ce,ge){if(!Ce)throw null==ge&&(ge="IllegalState"),ge}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const Ce=[];for(let ge=7;ge>=0;ge--){const Ae=this.readInt();Ce[2*ge+1]=255&Ae,Ce[2*ge]=Ae>>8&255}return Ee[Ce[0]]+Ee[Ce[1]]+Ee[Ce[2]]+Ee[Ce[3]]+"-"+Ee[Ce[4]]+Ee[Ce[5]]+"-"+Ee[Ce[6]]+Ee[Ce[7]]+"-"+Ee[Ce[8]]+Ee[Ce[9]]+"-"+Ee[Ce[10]]+Ee[Ce[11]]+Ee[Ce[12]]+Ee[Ce[13]]+Ee[Ce[14]]+Ee[Ce[15]]}edgeFactory(Ce,ge,Ae,q,Re,ke,Ke,me){const Pe=Ce.states[q];switch(ge){case w.EPSILON:return new A(Pe);case w.RANGE:return new I(Pe,0!==Ke?n.EOF:Re,ke);case w.RULE:return new k(Ce.states[Re],ke,Ke,Pe);case w.PREDICATE:return new F(Pe,Re,ke,0!==Ke);case w.PRECEDENCE:return new R(Pe,Re);case w.ATOM:return new T(Pe,0!==Ke?n.EOF:Re);case w.ACTION:return new P(Pe,Re,ke,0!==Ke);case w.SET:return new S(Pe,me[Re]);case w.NOT_SET:return new M(Pe,me[Re]);case w.WILDCARD:return new L(Pe);default:throw"The specified transition type: "+ge+" is not valid."}}stateFactory(Ce,ge){if(null===this.stateFactories){const Ae=[];Ae[y.INVALID_TYPE]=null,Ae[y.BASIC]=()=>new u,Ae[y.RULE_START]=()=>new o,Ae[y.BLOCK_START]=()=>new x,Ae[y.PLUS_BLOCK_START]=()=>new b,Ae[y.STAR_BLOCK_START]=()=>new C,Ae[y.TOKEN_START]=()=>new r,Ae[y.RULE_STOP]=()=>new l,Ae[y.BLOCK_END]=()=>new m,Ae[y.STAR_LOOP_BACK]=()=>new d,Ae[y.STAR_LOOP_ENTRY]=()=>new g,Ae[y.PLUS_LOOP_BACK]=()=>new c,Ae[y.LOOP_END]=()=>new h,this.stateFactories=Ae}if(Ce>this.stateFactories.length||null===this.stateFactories[Ce])throw"The specified state type "+Ce+" is not valid.";{const Ae=this.stateFactories[Ce]();if(null!==Ae)return Ae.ruleIndex=ge,Ae}}lexerActionFactory(Ce,ge,Ae){if(null===this.actionFactories){const q=[];q[ne.CHANNEL]=(Re,ke)=>new j(Re),q[ne.CUSTOM]=(Re,ke)=>new B(Re,ke),q[ne.MODE]=(Re,ke)=>new ue(Re),q[ne.MORE]=(Re,ke)=>$.INSTANCE,q[ne.POP_MODE]=(Re,ke)=>te.INSTANCE,q[ne.PUSH_MODE]=(Re,ke)=>new H(Re),q[ne.SKIP]=(Re,ke)=>ee.INSTANCE,q[ne.TYPE]=(Re,ke)=>new Z(Re),this.actionFactories=q}if(Ce>this.actionFactories.length||null===this.actionFactories[Ce])throw"The specified lexer action type "+Ce+" is not valid.";return this.actionFactories[Ce](ge,Ae)}}},4675:(Me,ie,_)=>{const{DFAState:n}=_(5468),{ATNConfigSet:f}=_(4280),{getCachedPredictionContext:D}=_(6185),{Map:y}=_(3340);class u{constructor(s,m){return this.atn=s,this.sharedContextCache=m,this}getCachedContext(s){if(null===this.sharedContextCache)return s;const m=new y;return D(s,this.sharedContextCache,m)}}u.ERROR=new n(2147483647,new f),Me.exports=u},5516:Me=>{let _=(()=>{class g{constructor(){this.atn=null,this.stateNumber=g.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(C){return C instanceof g&&this.stateNumber===C.stateNumber}isNonGreedyExitState(){return!1}addTransition(C,x){void 0===x&&(x=-1),0===this.transitions.length?this.epsilonOnlyTransitions=C.isEpsilon:this.epsilonOnlyTransitions!==C.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===x?this.transitions.push(C):this.transitions.splice(x,1,C)}}return g.INVALID_TYPE=0,g.BASIC=1,g.RULE_START=2,g.BLOCK_START=3,g.PLUS_BLOCK_START=4,g.STAR_BLOCK_START=5,g.TOKEN_START=6,g.RULE_STOP=7,g.BLOCK_END=8,g.STAR_LOOP_BACK=9,g.STAR_LOOP_ENTRY=10,g.PLUS_LOOP_BACK=11,g.LOOP_END=12,g.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"],g.INVALID_STATE_NUMBER=-1,g})();class f extends _{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class D extends f{constructor(){return super(),this.endState=null,this}}Me.exports={ATNState:_,BasicState:class n extends _{constructor(){super(),this.stateType=_.BASIC}},DecisionState:f,BlockStartState:D,BlockEndState:class u extends _{constructor(){return super(),this.stateType=_.BLOCK_END,this.startState=null,this}},LoopEndState:class c extends _{constructor(){return super(),this.stateType=_.LOOP_END,this.loopBackState=null,this}},RuleStartState:class s extends _{constructor(){return super(),this.stateType=_.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class v extends _{constructor(){return super(),this.stateType=_.RULE_STOP,this}},TokensStartState:class d extends f{constructor(){return super(),this.stateType=_.TOKEN_START,this}},PlusLoopbackState:class m extends f{constructor(){return super(),this.stateType=_.PLUS_LOOP_BACK,this}},StarLoopbackState:class l extends _{constructor(){return super(),this.stateType=_.STAR_LOOP_BACK,this}},StarLoopEntryState:class r extends f{constructor(){return super(),this.stateType=_.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}},PlusBlockStartState:class h extends D{constructor(){return super(),this.stateType=_.PLUS_BLOCK_START,this.loopBackState=null,this}},StarBlockStartState:class o extends D{constructor(){return super(),this.stateType=_.STAR_BLOCK_START,this}},BasicBlockStartState:class y extends D{constructor(){return super(),this.stateType=_.BLOCK_START,this}}}},8729:Me=>{Me.exports={LEXER:0,PARSER:1}},9462:(Me,ie,_)=>{const{Token:n}=_(6205),f=_(9042),D=_(9800),y=_(4675),{DFAState:u}=_(5468),{OrderedATNConfigSet:v}=_(4280),{PredictionContext:s}=_(6185),{SingletonPredictionContext:m}=_(6185),{RuleStopState:h}=_(5516),{LexerATNConfig:o}=_(7745),{Transition:l}=_(6850),r=_(5168),{LexerNoViableAltException:c}=_(5858);function d(C){C.index=-1,C.line=0,C.column=-1,C.dfaState=null}class g{constructor(){d(this)}reset(){d(this)}}Me.exports=(()=>{class C extends y{constructor(w,T,S,M){super(T,M),this.decisionToDFA=S,this.recog=w,this.startIndex=-1,this.line=1,this.column=0,this.mode=f.DEFAULT_MODE,this.prevAccept=new g}copyState(w){this.column=w.column,this.line=w.line,this.mode=w.mode,this.startIndex=w.startIndex}match(w,T){this.match_calls+=1,this.mode=T;const S=w.mark();try{this.startIndex=w.index,this.prevAccept.reset();const M=this.decisionToDFA[T];return null===M.s0?this.matchATN(w):this.execATN(w,M.s0)}finally{w.release(S)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=f.DEFAULT_MODE}matchATN(w){const T=this.atn.modeToStartState[this.mode];C.debug&&console.log("matchATN mode "+this.mode+" start: "+T);const S=this.mode,M=this.computeStartState(w,T),k=M.hasSemanticContext;M.hasSemanticContext=!1;const I=this.addDFAState(M);k||(this.decisionToDFA[this.mode].s0=I);const P=this.execATN(w,I);return C.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[S].toLexerString()),P}execATN(w,T){C.debug&&console.log("start state closure="+T.configs),T.isAcceptState&&this.captureSimState(this.prevAccept,w,T);let S=w.LA(1),M=T;for(;;){C.debug&&console.log("execATN loop starting closure: "+M.configs);let k=this.getExistingTargetState(M,S);if(null===k&&(k=this.computeTargetState(w,M,S)),k===y.ERROR||(S!==n.EOF&&this.consume(w),k.isAcceptState&&(this.captureSimState(this.prevAccept,w,k),S===n.EOF)))break;S=w.LA(1),M=k}return this.failOrAccept(this.prevAccept,w,M.configs,S)}getExistingTargetState(w,T){if(null===w.edges||TC.MAX_DFA_EDGE)return null;let S=w.edges[T-C.MIN_DFA_EDGE];return void 0===S&&(S=null),C.debug&&null!==S&&console.log("reuse state "+w.stateNumber+" edge to "+S.stateNumber),S}computeTargetState(w,T,S){const M=new v;return this.getReachableConfigSet(w,T.configs,M,S),0===M.items.length?(M.hasSemanticContext||this.addDFAEdge(T,S,y.ERROR),y.ERROR):this.addDFAEdge(T,S,null,M)}failOrAccept(w,T,S,M){if(null!==this.prevAccept.dfaState)return this.accept(T,w.dfaState.lexerActionExecutor,this.startIndex,w.index,w.line,w.column),w.dfaState.prediction;if(M===n.EOF&&T.index===this.startIndex)return n.EOF;throw new c(this.recog,T,this.startIndex,S)}getReachableConfigSet(w,T,S,M){let k=D.INVALID_ALT_NUMBER;for(let I=0;IC.MAX_DFA_EDGE||(C.debug&&console.log("EDGE "+w+" -> "+S+" upon "+T),null===w.edges&&(w.edges=[]),w.edges[T-C.MIN_DFA_EDGE]=S),S}addDFAState(w){const T=new u(null,w);let S=null;for(let P=0;P{const ie={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class _{constructor(l){this.actionType=l,this.isPositionDependent=!1}hashCode(){const l=new Hash;return this.updateHashCode(l),l.finish()}updateHashCode(l){l.update(this.actionType)}equals(l){return this===l}}class n extends _{constructor(){super(ie.SKIP)}execute(l){l.skip()}toString(){return"skip"}}n.INSTANCE=new n;class f extends _{constructor(l){super(ie.TYPE),this.type=l}execute(l){l.type=this.type}updateHashCode(l){l.update(this.actionType,this.type)}equals(l){return this===l||l instanceof f&&this.type===l.type}toString(){return"type("+this.type+")"}}class D extends _{constructor(l){super(ie.PUSH_MODE),this.mode=l}execute(l){l.pushMode(this.mode)}updateHashCode(l){l.update(this.actionType,this.mode)}equals(l){return this===l||l instanceof D&&this.mode===l.mode}toString(){return"pushMode("+this.mode+")"}}class y extends _{constructor(){super(ie.POP_MODE)}execute(l){l.popMode()}toString(){return"popMode"}}y.INSTANCE=new y;class u extends _{constructor(){super(ie.MORE)}execute(l){l.more()}toString(){return"more"}}u.INSTANCE=new u;class v extends _{constructor(l){super(ie.MODE),this.mode=l}execute(l){l.mode(this.mode)}updateHashCode(l){l.update(this.actionType,this.mode)}equals(l){return this===l||l instanceof v&&this.mode===l.mode}toString(){return"mode("+this.mode+")"}}class s extends _{constructor(l,r){super(ie.CUSTOM),this.ruleIndex=l,this.actionIndex=r,this.isPositionDependent=!0}execute(l){l.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(l){l.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(l){return this===l||l instanceof s&&this.ruleIndex===l.ruleIndex&&this.actionIndex===l.actionIndex}}class m extends _{constructor(l){super(ie.CHANNEL),this.channel=l}execute(l){l._channel=this.channel}updateHashCode(l){l.update(this.actionType,this.channel)}equals(l){return this===l||l instanceof m&&this.channel===l.channel}toString(){return"channel("+this.channel+")"}}class h extends _{constructor(l,r){super(r.actionType),this.offset=l,this.action=r,this.isPositionDependent=!0}execute(l){this.action.execute(l)}updateHashCode(l){l.update(this.actionType,this.offset,this.action)}equals(l){return this===l||l instanceof h&&this.offset===l.offset&&this.action===l.action}}Me.exports={LexerActionType:ie,LexerSkipAction:n,LexerChannelAction:m,LexerCustomAction:s,LexerIndexedCustomAction:h,LexerMoreAction:u,LexerTypeAction:f,LexerPushModeAction:D,LexerPopModeAction:y,LexerModeAction:v}},5168:(Me,ie,_)=>{const{hashStuff:n}=_(3340),{LexerIndexedCustomAction:f}=_(201);class D{constructor(u){return this.lexerActions=null===u?[]:u,this.cachedHashCode=n(u),this}fixOffsetBeforeMatch(u){let v=null;for(let s=0;s{const n=_(3340),{Set:f,BitSet:D,DoubleDict:y}=n,u=_(9800),{ATNState:v,RuleStopState:s}=_(5516),{ATNConfig:m}=_(7745),{ATNConfigSet:h}=_(4280),{Token:o}=_(6205),{DFAState:l,PredPrediction:r}=_(5468),c=_(4675),d=_(5359),g=_(13),{SemanticContext:C}=(_(7293),_(9454)),{PredictionContext:x}=_(6185),{Interval:w}=_(9173),{Transition:T,SetTransition:S,NotSetTransition:M,RuleTransition:k,ActionTransition:I}=_(6850),{NoViableAltException:P}=_(5858),{SingletonPredictionContext:A,predictionContextFromRuleContext:L}=_(6185);Me.exports=class F extends c{constructor(U,W,ne,ee){super(W,ee),this.parser=U,this.decisionToDFA=ne,this.predictionMode=d.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,W,ne){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+W+" exec LA(1)=="+this.getLookaheadName(U)+" line "+U.LT(1).line+":"+U.LT(1).column),this._input=U,this._startIndex=U.index,this._outerContext=ne;const ee=this.decisionToDFA[W];this._dfa=ee;const j=U.mark(),B=U.index;try{let $;if($=ee.precedenceDfa?ee.getPrecedenceStartState(this.parser.getPrecedence()):ee.s0,null===$){null===ne&&(ne=g.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+ee.decision+" exec LA(1)=="+this.getLookaheadName(U)+", outerContext="+ne.toString(this.parser.ruleNames));let te=this.computeStartState(ee.atnStartState,g.EMPTY,!1);ee.precedenceDfa?(ee.s0.configs=te,te=this.applyPrecedenceFilter(te),$=this.addDFAState(ee,new l(null,te)),ee.setPrecedenceStartState(this.parser.getPrecedence(),$)):($=this.addDFAState(ee,new l(null,te)),ee.s0=$)}const Z=this.execATN(ee,$,U,B,ne);return this.debug&&console.log("DFA after predictATN: "+ee.toString(this.parser.literalNames,this.parser.symbolicNames)),Z}finally{this._dfa=null,this.mergeCache=null,U.seek(B),U.release(j)}}execATN(U,W,ne,ee,j){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+U.decision+" exec LA(1)=="+this.getLookaheadName(ne)+" line "+ne.LT(1).line+":"+ne.LT(1).column);let B,$=W;this.debug&&console.log("s0 = "+W);let Z=ne.LA(1);for(;;){let H=this.getExistingTargetState($,Z);if(null===H&&(H=this.computeTargetState(U,$,Z)),H===c.ERROR){const te=this.noViableAlt(ne,j,$.configs,ee);if(ne.seek(ee),B=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule($.configs,j),B!==u.INVALID_ALT_NUMBER)return B;throw te}if(H.requiresFullContext&&this.predictionMode!==d.SLL){let te=null;if(null!==H.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Ge=ne.index;if(Ge!==ee&&ne.seek(ee),te=this.evalSemanticContext(H.predicates,j,!0),1===te.length)return this.debug&&console.log("Full LL avoided"),te.minValue();Ge!==ee&&ne.seek(Ge)}this.dfa_debug&&console.log("ctx sensitive state "+j+" in "+H);const ye=this.computeStartState(U.atnStartState,j,!0);return this.reportAttemptingFullContext(U,te,H.configs,ee,ne.index),B=this.execATNWithFullContext(U,H,ye,ne,ee,j),B}if(H.isAcceptState){if(null===H.predicates)return H.prediction;const te=ne.index;ne.seek(ee);const ue=this.evalSemanticContext(H.predicates,j,!0);if(0===ue.length)throw this.noViableAlt(ne,j,H.configs,ee);return 1===ue.length||this.reportAmbiguity(U,H,ee,te,!1,ue,H.configs),ue.minValue()}$=H,Z!==o.EOF&&(ne.consume(),Z=ne.LA(1))}}getExistingTargetState(U,W){const ne=U.edges;return null===ne?null:ne[W+1]||null}computeTargetState(U,W,ne){const ee=this.computeReachSet(W.configs,ne,!1);if(null===ee)return this.addDFAEdge(U,W,ne,c.ERROR),c.ERROR;let j=new l(null,ee);const B=this.getUniqueAlt(ee);if(this.debug){const $=d.getConflictingAltSubsets(ee);console.log("SLL altSubSets="+n.arrayToString($)+", configs="+ee+", predict="+B+", allSubsetsConflict="+d.allSubsetsConflict($)+", conflictingAlts="+this.getConflictingAlts(ee))}return B!==u.INVALID_ALT_NUMBER?(j.isAcceptState=!0,j.configs.uniqueAlt=B,j.prediction=B):d.hasSLLConflictTerminatingPrediction(this.predictionMode,ee)&&(j.configs.conflictingAlts=this.getConflictingAlts(ee),j.requiresFullContext=!0,j.isAcceptState=!0,j.prediction=j.configs.conflictingAlts.minValue()),j.isAcceptState&&j.configs.hasSemanticContext&&(this.predicateDFAState(j,this.atn.getDecisionState(U.decision)),null!==j.predicates&&(j.prediction=u.INVALID_ALT_NUMBER)),j=this.addDFAEdge(U,W,ne,j),j}predicateDFAState(U,W){const ne=W.transitions.length,ee=this.getConflictingAltsOrUniqueAlt(U.configs),j=this.getPredsForAmbigAlts(ee,U.configs,ne);null!==j?(U.predicates=this.getPredicatePredictions(ee,j),U.prediction=u.INVALID_ALT_NUMBER):U.prediction=ee.minValue()}execATNWithFullContext(U,W,ne,ee,j,B){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ne);let H,Z=!1,te=ne;ee.seek(j);let ue=ee.LA(1),ye=-1;for(;;){if(H=this.computeReachSet(te,ue,!0),null===H){const $e=this.noViableAlt(ee,B,te,j);ee.seek(j);const Ye=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(te,B);if(Ye!==u.INVALID_ALT_NUMBER)return Ye;throw $e}const Ge=d.getConflictingAltSubsets(H);if(this.debug&&console.log("LL altSubSets="+Ge+", predict="+d.getUniqueAlt(Ge)+", resolvesToJustOneViableAlt="+d.resolvesToJustOneViableAlt(Ge)),H.uniqueAlt=this.getUniqueAlt(H),H.uniqueAlt!==u.INVALID_ALT_NUMBER){ye=H.uniqueAlt;break}if(this.predictionMode!==d.LL_EXACT_AMBIG_DETECTION){if(ye=d.resolvesToJustOneViableAlt(Ge),ye!==u.INVALID_ALT_NUMBER)break}else if(d.allSubsetsConflict(Ge)&&d.allSubsetsEqual(Ge)){Z=!0,ye=d.getSingleViableAlt(Ge);break}te=H,ue!==o.EOF&&(ee.consume(),ue=ee.LA(1))}return H.uniqueAlt!==u.INVALID_ALT_NUMBER?(this.reportContextSensitivity(U,ye,H,j,ee.index),ye):(this.reportAmbiguity(U,W,j,ee.index,Z,null,H),ye)}computeReachSet(U,W,ne){this.debug&&console.log("in computeReachSet, starting closure: "+U),null===this.mergeCache&&(this.mergeCache=new y);const ee=new h(ne);let j=null;for(let $=0;$0&&(B=this.getAltThatFinishedDecisionEntryRule(j),B!==u.INVALID_ALT_NUMBER)?B:u.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(U){const W=[];for(let ne=0;ne0||ee.state instanceof s&&ee.context.hasEmptyPath())&&W.indexOf(ee.alt)<0&&W.push(ee.alt)}return 0===W.length?u.INVALID_ALT_NUMBER:Math.min.apply(null,W)}splitAccordingToSemanticValidity(U,W){const ne=new h(U.fullCtx),ee=new h(U.fullCtx);for(let j=0;j50))throw"problem";if(U.state instanceof s){if(!U.context.isEmpty()){for(let Z=0;Z=0&&(Ge+=1)}this.closureCheckingStopState(ye,W,ne,ue,j,Ge,$)}}}canDropLoopEntryEdgeInLeftRecursiveRule(U){const W=U.state;if(W.stateType!==v.STAR_LOOP_ENTRY||W.stateType!==v.STAR_LOOP_ENTRY||!W.isPrecedenceDecision||U.context.isEmpty()||U.context.hasEmptyPath())return!1;const ne=U.context.length;for(let $=0;$=0?this.parser.ruleNames[U]:""}getEpsilonTarget(U,W,ne,ee,j,B){switch(W.serializationType){case T.RULE:return this.ruleTransition(U,W);case T.PRECEDENCE:return this.precedenceTransition(U,W,ne,ee,j);case T.PREDICATE:return this.predTransition(U,W,ne,ee,j);case T.ACTION:return this.actionTransition(U,W);case T.EPSILON:return new m({state:W.target},U);case T.ATOM:case T.RANGE:case T.SET:return B&&W.matches(o.EOF,0,1)?new m({state:W.target},U):null;default:return null}}actionTransition(U,W){return this.debug&&console.log("ACTION edge "+W.ruleIndex+":"+(-1===W.actionIndex?65535:W.actionIndex)),new m({state:W.target},U)}precedenceTransition(U,W,ne,ee,j){this.debug&&(console.log("PRED (collectPredicates="+ne+") "+W.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let B=null;if(ne&&ee)if(j){const $=this._input.index;this._input.seek(this._startIndex);const Z=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek($),Z&&(B=new m({state:W.target},U))}else{const $=C.andContext(U.semanticContext,W.getPredicate());B=new m({state:W.target,semanticContext:$},U)}else B=new m({state:W.target},U);return this.debug&&console.log("config from pred transition="+B),B}predTransition(U,W,ne,ee,j){this.debug&&(console.log("PRED (collectPredicates="+ne+") "+W.ruleIndex+":"+W.predIndex+", ctx dependent="+W.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let B=null;if(ne&&(W.isCtxDependent&&ee||!W.isCtxDependent))if(j){const $=this._input.index;this._input.seek(this._startIndex);const Z=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek($),Z&&(B=new m({state:W.target},U))}else{const $=C.andContext(U.semanticContext,W.getPredicate());B=new m({state:W.target,semanticContext:$},U)}else B=new m({state:W.target},U);return this.debug&&console.log("config from pred transition="+B),B}ruleTransition(U,W){this.debug&&console.log("CALL rule "+this.getRuleName(W.target.ruleIndex)+", ctx="+U.context);const ee=A.create(U.context,W.followState.stateNumber);return new m({state:W.target,context:ee},U)}getConflictingAlts(U){const W=d.getConflictingAltSubsets(U);return d.getAlts(W)}getConflictingAltsOrUniqueAlt(U){let W=null;return U.uniqueAlt!==u.INVALID_ALT_NUMBER?(W=new D,W.add(U.uniqueAlt)):W=U.conflictingAlts,W}getTokenName(U){if(U===o.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 W=U.getDeadEndConfigs();for(let ne=0;ne0){const B=ee.state.transitions[0];B instanceof AtomTransition?j="Atom "+this.getTokenName(B.label):B instanceof S&&(j=(B instanceof M?"~":"")+"Set "+B.set)}console.error(ee.toString(this.parser,!0)+":"+j)}}noViableAlt(U,W,ne,ee){return new P(this.parser,U,U.get(ee),U.LT(1),ne,W)}getUniqueAlt(U){let W=u.INVALID_ALT_NUMBER;for(let ne=0;ne "+ee+" upon "+this.getTokenName(ne)),null===ee?null:(ee=this.addDFAState(U,ee),null===W||ne<-1||ne>this.atn.maxTokenType||(null===W.edges&&(W.edges=[]),W.edges[ne+1]=ee,this.debug&&console.log("DFA=\n"+U.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),ee)}addDFAState(U,W){if(W===c.ERROR)return W;const ne=U.states.get(W);return null!==ne?ne:(W.stateNumber=U.states.length,W.configs.readOnly||(W.configs.optimizeConfigs(this),W.configs.setReadonly(!0)),U.states.add(W),this.debug&&console.log("adding new DFA state: "+W),W)}reportAttemptingFullContext(U,W,ne,ee,j){if(this.debug||this.retry_debug){const B=new w(ee,j+1);console.log("reportAttemptingFullContext decision="+U.decision+":"+ne+", input="+this.parser.getTokenStream().getText(B))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,U,ee,j,W,ne)}reportContextSensitivity(U,W,ne,ee,j){if(this.debug||this.retry_debug){const B=new w(ee,j+1);console.log("reportContextSensitivity decision="+U.decision+":"+ne+", input="+this.parser.getTokenStream().getText(B))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,U,ee,j,W,ne)}reportAmbiguity(U,W,ne,ee,j,B,$){if(this.debug||this.retry_debug){const Z=new w(ne,ee+1);console.log("reportAmbiguity "+B+":"+$+", input="+this.parser.getTokenStream().getText(Z))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,U,ne,ee,j,B,$)}}},5359:(Me,ie,_)=>{const{Map:n,BitSet:f,AltDict:D,hashStuff:y}=_(3340),u=_(9800),{RuleStopState:v}=_(5516),{ATNConfigSet:s}=_(4280),{ATNConfig:m}=_(7745),{SemanticContext:h}=_(9454),o={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(l,r){if(o.allConfigsInRuleStopStates(r))return!0;if(l===o.SLL&&r.hasSemanticContext){const d=new s;for(let g=0;g1)return!0;return!1},allSubsetsEqual:function(l){let r=null;for(let c=0;c{const{Set:n,Hash:f,equalArrays:D}=_(3340);class y{hashCode(){const o=new f;return this.updateHashCode(o),o.finish()}evaluate(o,l){}evalPrecedence(o,l){return this}static andContext(o,l){if(null===o||o===y.NONE)return l;if(null===l||l===y.NONE)return o;const r=new s(o,l);return 1===r.opnds.length?r.opnds[0]:r}static orContext(o,l){if(null===o)return l;if(null===l)return o;if(o===y.NONE||l===y.NONE)return y.NONE;const r=new m(o,l);return 1===r.opnds.length?r.opnds[0]:r}}class u extends y{constructor(o,l,r){super(),this.ruleIndex=void 0===o?-1:o,this.predIndex=void 0===l?-1:l,this.isCtxDependent=void 0!==r&&r}evaluate(o,l){return o.sempred(this.isCtxDependent?l:null,this.ruleIndex,this.predIndex)}updateHashCode(o){o.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(o){return this===o||o instanceof u&&this.ruleIndex===o.ruleIndex&&this.predIndex===o.predIndex&&this.isCtxDependent===o.isCtxDependent}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}y.NONE=new u;class v extends y{constructor(o){super(),this.precedence=void 0===o?0:o}evaluate(o,l){return o.precpred(l,this.precedence)}evalPrecedence(o,l){return o.precpred(l,this.precedence)?y.NONE:null}compareTo(o){return this.precedence-o.precedence}updateHashCode(o){o.update(this.precedence)}equals(o){return this===o||o instanceof v&&this.precedence===o.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(o){const l=[];return o.values().map(function(r){r instanceof v&&l.push(r)}),l}}class s extends y{constructor(o,l){super();const r=new n;o instanceof s?o.opnds.map(function(d){r.add(d)}):r.add(o),l instanceof s?l.opnds.map(function(d){r.add(d)}):r.add(l);const c=v.filterPrecedencePredicates(r);if(c.length>0){let d=null;c.map(function(g){(null===d||g.precedencel.toString());return(o.length>3?o.slice(3):o).join("&&")}}class m extends y{constructor(o,l){super();const r=new n;o instanceof m?o.opnds.map(function(d){r.add(d)}):r.add(o),l instanceof m?l.opnds.map(function(d){r.add(d)}):r.add(l);const c=v.filterPrecedencePredicates(r);if(c.length>0){const d=c.sort(function(b,C){return b.compareTo(C)});r.add(d[d.length-1])}this.opnds=Array.from(r.values())}equals(o){return this===o||o instanceof m&&D(this.opnds,o.opnds)}updateHashCode(o){o.update(this.opnds,"OR")}evaluate(o,l){for(let r=0;rl.toString());return(o.length>3?o.slice(3):o).join("||")}}Me.exports={SemanticContext:y,PrecedencePredicate:v,Predicate:u}},6850:(Me,ie,_)=>{const{Token:n}=_(6205),{IntervalSet:f}=_(9173),{Predicate:D,PrecedencePredicate:y}=_(9454);class u{constructor(x){if(null==x)throw"target cannot be null.";this.target=x,this.isEpsilon=!1,this.label=null}}u.EPSILON=1,u.RANGE=2,u.RULE=3,u.PREDICATE=4,u.ATOM=5,u.ACTION=6,u.SET=7,u.NOT_SET=8,u.WILDCARD=9,u.PRECEDENCE=10,u.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],u.serializationTypes={EpsilonTransition:u.EPSILON,RangeTransition:u.RANGE,RuleTransition:u.RULE,PredicateTransition:u.PREDICATE,AtomTransition:u.ATOM,ActionTransition:u.ACTION,SetTransition:u.SET,NotSetTransition:u.NOT_SET,WildcardTransition:u.WILDCARD,PrecedencePredicateTransition:u.PRECEDENCE};class o extends u{constructor(x){super(x)}}class c extends u{constructor(x,w){super(x),this.serializationType=u.SET,null!=w?this.label=w:(this.label=new f,this.label.addOne(n.INVALID_TYPE))}matches(x,w,T){return this.label.contains(x)}toString(){return this.label.toString()}}Me.exports={Transition:u,AtomTransition:class v extends u{constructor(x,w){super(x),this.label_=w,this.label=this.makeLabel(),this.serializationType=u.ATOM}makeLabel(){const x=new f;return x.addOne(this.label_),x}matches(x,w,T){return this.label_===x}toString(){return this.label_}},SetTransition:c,NotSetTransition:class d extends c{constructor(x,w){super(x,w),this.serializationType=u.NOT_SET}matches(x,w,T){return x>=w&&x<=T&&!super.matches(x,w,T)}toString(){return"~"+super.toString()}},RuleTransition:class s extends u{constructor(x,w,T,S){super(x),this.ruleIndex=w,this.precedence=T,this.followState=S,this.serializationType=u.RULE,this.isEpsilon=!0}matches(x,w,T){return!1}},ActionTransition:class r extends u{constructor(x,w,T,S){super(x),this.serializationType=u.ACTION,this.ruleIndex=w,this.actionIndex=void 0===T?-1:T,this.isCtxDependent=void 0!==S&&S,this.isEpsilon=!0}matches(x,w,T){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}},EpsilonTransition:class m extends u{constructor(x,w){super(x),this.serializationType=u.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=w}matches(x,w,T){return!1}toString(){return"epsilon"}},RangeTransition:class h extends u{constructor(x,w,T){super(x),this.serializationType=u.RANGE,this.start=w,this.stop=T,this.label=this.makeLabel()}makeLabel(){const x=new f;return x.addRange(this.start,this.stop),x}matches(x,w,T){return x>=this.start&&x<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}},WildcardTransition:class g extends u{constructor(x){super(x),this.serializationType=u.WILDCARD}matches(x,w,T){return x>=w&&x<=T}toString(){return"."}},PredicateTransition:class l extends o{constructor(x,w,T,S){super(x),this.serializationType=u.PREDICATE,this.ruleIndex=w,this.predIndex=T,this.isCtxDependent=S,this.isEpsilon=!0}matches(x,w,T){return!1}getPredicate(){return new D(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}},PrecedencePredicateTransition:class b extends o{constructor(x,w){super(x),this.serializationType=u.PRECEDENCE,this.precedence=w,this.isEpsilon=!0}matches(x,w,T){return!1}getPredicate(){return new y(this.precedence)}toString(){return this.precedence+" >= _p"}},AbstractPredicateTransition:o}},871:(Me,ie,_)=>{ie.ATN=_(9800),ie.ATNDeserializer=_(7499),ie.LexerATNSimulator=_(9462),ie.ParserATNSimulator=_(6877),ie.PredictionMode=_(5359)},5343:(Me,ie,_)=>{const{Set:n}=_(3340),{DFAState:f}=_(5468),{StarLoopEntryState:D}=_(5516),{ATNConfigSet:y}=_(4280),{DFASerializer:u}=_(7279),{LexerDFASerializer:v}=_(7279);Me.exports=class s{constructor(h,o){if(void 0===o&&(o=0),this.atnStartState=h,this.decision=o,this._states=new n,this.s0=null,this.precedenceDfa=!1,h instanceof D&&h.isPrecedenceDecision){this.precedenceDfa=!0;const l=new f(null,new y);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}}getPrecedenceStartState(h){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return h<0||h>=this.s0.edges.length?null:this.s0.edges[h]||null}setPrecedenceStartState(h,o){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";h<0||(this.s0.edges[h]=o)}setPrecedenceDfa(h){if(this.precedenceDfa!==h){if(this._states=new n,h){const o=new f(null,new y);o.edges=[],o.isAcceptState=!1,o.requiresFullContext=!1,this.s0=o}else this.s0=null;this.precedenceDfa=h}}sortedStates(){return this._states.values().sort(function(o,l){return o.stateNumber-l.stateNumber})}toString(h,o){return h=h||null,o=o||null,null===this.s0?"":new u(this,h,o).toString()}toLexerString(){return null===this.s0?"":new v(this).toString()}get states(){return this._states}}},7279:(Me,ie,_)=>{const n=_(3340);class f{constructor(u,v,s){this.dfa=u,this.literalNames=v||[],this.symbolicNames=s||[]}toString(){if(null===this.dfa.s0)return null;let u="";const v=this.dfa.sortedStates();for(let s=0;s"),u=u.concat(this.getStateString(l)),u=u.concat("\n"))}}}return 0===u.length?null:u}getEdgeLabel(u){return 0===u?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[u-1]||this.symbolicNames[u-1]:String.fromCharCode(u-1)}getStateString(u){const v=(u.isAcceptState?":":"")+"s"+u.stateNumber+(u.requiresFullContext?"^":"");return u.isAcceptState?null!==u.predicates?v+"=>"+n.arrayToString(u.predicates):v+"=>"+u.prediction.toString():v}}Me.exports={DFASerializer:f,LexerDFASerializer:class D extends f{constructor(u){super(u,null)}getEdgeLabel(u){return"'"+String.fromCharCode(u)+"'"}}}},5468:(Me,ie,_)=>{const{ATNConfigSet:n}=_(4280),{Hash:f,Set:D}=_(3340);class u{constructor(s,m){return null===s&&(s=-1),null===m&&(m=new n),this.stateNumber=s,this.configs=m,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const s=new D;if(null!==this.configs)for(let m=0;m{ie.DFA=_(5343),ie.DFASerializer=_(7279).DFASerializer,ie.LexerDFASerializer=_(7279).LexerDFASerializer,ie.PredPrediction=_(5468).PredPrediction},9935:(Me,ie,_)=>{const{BitSet:n}=_(3340),{ErrorListener:f}=_(7967),{Interval:D}=_(9173);Me.exports=class y extends f{constructor(v){super(),this.exactOnly=v=v||!0}reportAmbiguity(v,s,m,h,o,l,r){if(this.exactOnly&&!o)return;const c="reportAmbiguity d="+this.getDecisionDescription(v,s)+": ambigAlts="+this.getConflictingAlts(l,r)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(c)}reportAttemptingFullContext(v,s,m,h,o,l){const r="reportAttemptingFullContext d="+this.getDecisionDescription(v,s)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(r)}reportContextSensitivity(v,s,m,h,o,l){const r="reportContextSensitivity d="+this.getDecisionDescription(v,s)+", input='"+v.getTokenStream().getText(new D(m,h))+"'";v.notifyErrorListeners(r)}getDecisionDescription(v,s){const m=s.decision,h=s.atnStartState.ruleIndex,o=v.ruleNames;if(h<0||h>=o.length)return""+m;const l=o[h]||null;return null===l||0===l.length?""+m:`${m} (${l})`}getConflictingAlts(v,s){if(null!==v)return v;const m=new n;for(let h=0;h{class ie{syntaxError(D,y,u,v,s,m){}reportAmbiguity(D,y,u,v,s,m,h){}reportAttemptingFullContext(D,y,u,v,s,m){}reportContextSensitivity(D,y,u,v,s,m){}}class _ extends ie{constructor(){super()}syntaxError(D,y,u,v,s,m){console.error("line "+u+":"+v+" "+s)}}_.INSTANCE=new _,Me.exports={ErrorListener:ie,ConsoleErrorListener:_,ProxyErrorListener:class n extends ie{constructor(D){if(super(),null===D)throw"delegates";return this.delegates=D,this}syntaxError(D,y,u,v,s,m){this.delegates.map(h=>h.syntaxError(D,y,u,v,s,m))}reportAmbiguity(D,y,u,v,s,m,h){this.delegates.map(o=>o.reportAmbiguity(D,y,u,v,s,m,h))}reportAttemptingFullContext(D,y,u,v,s,m){this.delegates.map(h=>h.reportAttemptingFullContext(D,y,u,v,s,m))}reportContextSensitivity(D,y,u,v,s,m){this.delegates.map(h=>h.reportContextSensitivity(D,y,u,v,s,m))}}}},2487:(Me,ie,_)=>{const{Token:n}=_(6205),{NoViableAltException:f,InputMismatchException:D,FailedPredicateException:y,ParseCancellationException:u}=_(5858),{ATNState:v}=_(5516),{Interval:s,IntervalSet:m}=_(9173);class h{reset(c){}recoverInline(c){}recover(c,d){}sync(c){}inErrorRecoveryMode(c){}reportError(c){}}class o extends h{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(c){this.endErrorCondition(c)}beginErrorCondition(c){this.errorRecoveryMode=!0}inErrorRecoveryMode(c){return this.errorRecoveryMode}endErrorCondition(c){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(c){this.endErrorCondition(c)}reportError(c,d){this.inErrorRecoveryMode(c)||(this.beginErrorCondition(c),d instanceof f?this.reportNoViableAlternative(c,d):d instanceof D?this.reportInputMismatch(c,d):d instanceof y?this.reportFailedPredicate(c,d):(console.log("unknown recognition error type: "+d.constructor.name),console.log(d.stack),c.notifyErrorListeners(d.getOffendingToken(),d.getMessage(),d)))}recover(c,d){this.lastErrorIndex===c.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(c.state)>=0&&c.consume(),this.lastErrorIndex=c._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(c.state);const g=this.getErrorRecoverySet(c);this.consumeUntil(c,g)}sync(c){if(this.inErrorRecoveryMode(c))return;const d=c._interp.atn.states[c.state],g=c.getTokenStream().LA(1),b=c.atn.nextTokens(d);if(b.contains(g))return this.nextTokensContext=null,void(this.nextTokenState=v.INVALID_STATE_NUMBER);if(b.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=c._ctx,this.nextTokensState=c._stateNumber);else switch(d.stateType){case v.BLOCK_START:case v.STAR_BLOCK_START:case v.PLUS_BLOCK_START:case v.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(c))return;throw new D(c);case v.PLUS_LOOP_BACK:case v.STAR_LOOP_BACK:this.reportUnwantedToken(c);const C=new m;C.addSet(c.getExpectedTokens());const x=C.addSet(this.getErrorRecoverySet(c));this.consumeUntil(c,x)}}reportNoViableAlternative(c,d){const g=c.getTokenStream();let b;b=null!==g?d.startToken.type===n.EOF?"":g.getText(new s(d.startToken.tokenIndex,d.offendingToken.tokenIndex)):"";const C="no viable alternative at input "+this.escapeWSAndQuote(b);c.notifyErrorListeners(C,d.offendingToken,d)}reportInputMismatch(c,d){const g="mismatched input "+this.getTokenErrorDisplay(d.offendingToken)+" expecting "+d.getExpectedTokens().toString(c.literalNames,c.symbolicNames);c.notifyErrorListeners(g,d.offendingToken,d)}reportFailedPredicate(c,d){c.notifyErrorListeners("rule "+c.ruleNames[c._ctx.ruleIndex]+" "+d.message,d.offendingToken,d)}reportUnwantedToken(c){if(this.inErrorRecoveryMode(c))return;this.beginErrorCondition(c);const d=c.getCurrentToken(),C="extraneous input "+this.getTokenErrorDisplay(d)+" expecting "+this.getExpectedTokens(c).toString(c.literalNames,c.symbolicNames);c.notifyErrorListeners(C,d,null)}reportMissingToken(c){if(this.inErrorRecoveryMode(c))return;this.beginErrorCondition(c);const d=c.getCurrentToken(),b="missing "+this.getExpectedTokens(c).toString(c.literalNames,c.symbolicNames)+" at "+this.getTokenErrorDisplay(d);c.notifyErrorListeners(b,d,null)}recoverInline(c){const d=this.singleTokenDeletion(c);if(null!==d)return c.consume(),d;if(this.singleTokenInsertion(c))return this.getMissingSymbol(c);throw new D(c)}singleTokenInsertion(c){const d=c.getTokenStream().LA(1),g=c._interp.atn;return!!g.nextTokens(g.states[c.state].transitions[0].target,c._ctx).contains(d)&&(this.reportMissingToken(c),!0)}singleTokenDeletion(c){const d=c.getTokenStream().LA(2);if(this.getExpectedTokens(c).contains(d)){this.reportUnwantedToken(c),c.consume();const b=c.getCurrentToken();return this.reportMatch(c),b}return null}getMissingSymbol(c){const d=c.getCurrentToken(),b=this.getExpectedTokens(c).first();let C;C=b===n.EOF?"":"";let x=d;const w=c.getTokenStream().LT(-1);return x.type===n.EOF&&null!==w&&(x=w),c.getTokenFactory().create(x.source,b,C,n.DEFAULT_CHANNEL,-1,-1,x.line,x.column)}getExpectedTokens(c){return c.getExpectedTokens()}getTokenErrorDisplay(c){if(null===c)return"";let d=c.text;return null===d&&(d=c.type===n.EOF?"":"<"+c.type+">"),this.escapeWSAndQuote(d)}escapeWSAndQuote(c){return"'"+(c=(c=(c=c.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}getErrorRecoverySet(c){const d=c._interp.atn;let g=c._ctx;const b=new m;for(;null!==g&&g.invokingState>=0;){const w=d.nextTokens(d.states[g.invokingState].transitions[0].followState);b.addSet(w),g=g.parentCtx}return b.removeOne(n.EPSILON),b}consumeUntil(c,d){let g=c.getTokenStream().LA(1);for(;g!==n.EOF&&!d.contains(g);)c.consume(),g=c.getTokenStream().LA(1)}}Me.exports={BailErrorStrategy:class l extends o{constructor(){super()}recover(c,d){let g=c._ctx;for(;null!==g;)g.exception=d,g=g.parentCtx;throw new u(d)}recoverInline(c){this.recover(c,new D(c))}sync(c){}},DefaultErrorStrategy:o}},5858:(Me,ie,_)=>{const{PredicateTransition:n}=_(6850),{Interval:f}=_(9173).Interval;class D extends Error{constructor(l){super(l.message),Error.captureStackTrace?Error.captureStackTrace(this,D):new Error,this.message=l.message,this.recognizer=l.recognizer,this.input=l.input,this.ctx=l.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(o,l){return null!==l?l:"failed predicate: {"+o+"}?"}class h extends Error{constructor(){super(),Error.captureStackTrace(this,h)}}Me.exports={RecognitionException:D,NoViableAltException:class u extends D{constructor(l,r,c,d,g,b){b=b||l._ctx,d=d||l.getCurrentToken(),c=c||l.getCurrentToken(),r=r||l.getInputStream(),super({message:"",recognizer:l,input:r,ctx:b}),this.deadEndConfigs=g,this.startToken=c,this.offendingToken=d}},LexerNoViableAltException:class y extends D{constructor(l,r,c,d){super({message:"",recognizer:l,input:r,ctx:null}),this.startIndex=c,this.deadEndConfigs=d}toString(){let l="";return this.startIndex>=0&&this.startIndex{Me.exports.RecognitionException=_(5858).RecognitionException,Me.exports.NoViableAltException=_(5858).NoViableAltException,Me.exports.LexerNoViableAltException=_(5858).LexerNoViableAltException,Me.exports.InputMismatchException=_(5858).InputMismatchException,Me.exports.FailedPredicateException=_(5858).FailedPredicateException,Me.exports.DiagnosticErrorListener=_(9935),Me.exports.BailErrorStrategy=_(2487).BailErrorStrategy,Me.exports.DefaultErrorStrategy=_(2487).DefaultErrorStrategy,Me.exports.ErrorListener=_(7967).ErrorListener},6419:()=>{String.prototype.codePointAt||function(){"use strict";var Me=function(){let _;try{const n={},f=Object.defineProperty;_=f(n,n,n)&&f}catch{}return _}();const ie=function(_){if(null==this)throw TypeError();const n=String(this),f=n.length;let D=_?Number(_):0;if(D!=D&&(D=0),D<0||D>=f)return;const y=n.charCodeAt(D);let u;return y>=55296&&y<=56319&&f>D+1&&(u=n.charCodeAt(D+1),u>=56320&&u<=57343)?1024*(y-55296)+u-56320+65536:y};Me?Me(String.prototype,"codePointAt",{value:ie,configurable:!0,writable:!0}):String.prototype.codePointAt=ie}()},9182:()=>{String.fromCodePoint||function(){const Me=function(){let f;try{const D={},y=Object.defineProperty;f=y(D,D,D)&&y}catch{}return f}(),ie=String.fromCharCode,_=Math.floor,n=function(f){const y=[];let u,v,s=-1;const m=arguments.length;if(!m)return"";let h="";for(;++s1114111||_(o)!==o)throw RangeError("Invalid code point: "+o);o<=65535?y.push(o):(o-=65536,u=55296+(o>>10),v=o%1024+56320,y.push(u,v)),(s+1===m||y.length>16384)&&(h+=ie.apply(null,y),y.length=0)}return h};Me?Me(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()},5829:(Me,ie,_)=>{const{Token:n}=_(6205),{Interval:f}=_(9173),D=new f(-1,-2);class y{}class u extends y{constructor(){super()}}class v extends u{constructor(){super()}}class m extends v{constructor(){super()}}class h extends m{constructor(){super()}}class r extends m{constructor(b){super(),this.parentCtx=null,this.symbol=b}getChild(b){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(null===this.symbol)return D;const b=this.symbol.tokenIndex;return new f(b,b)}getChildCount(){return 0}accept(b){return b.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===n.EOF?"":this.symbol.text}}class d{walk(b,C){if(C instanceof h||void 0!==C.isErrorNode&&C.isErrorNode())b.visitErrorNode(C);else if(C instanceof m)b.visitTerminal(C);else{this.enterRule(b,C);for(let w=0;w{const n=_(3340),{Token:f}=_(6205),{ErrorNode:D,TerminalNode:y,RuleNode:u}=_(5829),v={toStringTree:function(s,m,h){m=m||null,null!==(h=h||null)&&(m=h.ruleNames);let o=v.getNodeText(s,m);o=n.escapeWhitespace(o,!1);const l=s.getChildCount();if(0===l)return o;let r="("+o+" ";l>0&&(o=v.toStringTree(s.getChild(0),m),r=r.concat(o));for(let c=1;c{const n=_(5829),f=_(5140);Me.exports={...n,Trees:f}},9807:function(){var Me;Me=typeof self<"u"?self:this,function(_){var n_searchParams="URLSearchParams"in Me,n_iterable="Symbol"in Me&&"iterator"in Symbol,n_blob="FileReader"in Me&&"Blob"in Me&&function(){try{return new Blob,!0}catch{return!1}}(),n_formData="FormData"in Me,n_arrayBuffer="ArrayBuffer"in Me;if(n_arrayBuffer)var D=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],y=ArrayBuffer.isView||function(I){return I&&D.indexOf(Object.prototype.toString.call(I))>-1};function u(I){if("string"!=typeof I&&(I=String(I)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(I))throw new TypeError("Invalid character in header field name");return I.toLowerCase()}function v(I){return"string"!=typeof I&&(I=String(I)),I}function s(I){var P={next:function(){var A=I.shift();return{done:void 0===A,value:A}}};return n_iterable&&(P[Symbol.iterator]=function(){return P}),P}function m(I){this.map={},I instanceof m?I.forEach(function(P,A){this.append(A,P)},this):Array.isArray(I)?I.forEach(function(P){this.append(P[0],P[1])},this):I&&Object.getOwnPropertyNames(I).forEach(function(P){this.append(P,I[P])},this)}function h(I){if(I.bodyUsed)return Promise.reject(new TypeError("Already read"));I.bodyUsed=!0}function o(I){return new Promise(function(P,A){I.onload=function(){P(I.result)},I.onerror=function(){A(I.error)}})}function l(I){var P=new FileReader,A=o(P);return P.readAsArrayBuffer(I),A}function d(I){if(I.slice)return I.slice(0);var P=new Uint8Array(I.byteLength);return P.set(new Uint8Array(I)),P.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(I){this._bodyInit=I,I?"string"==typeof I?this._bodyText=I:n_blob&&Blob.prototype.isPrototypeOf(I)?this._bodyBlob=I:n_formData&&FormData.prototype.isPrototypeOf(I)?this._bodyFormData=I:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(I)?this._bodyText=I.toString():n_arrayBuffer&&n_blob&&function f(I){return I&&DataView.prototype.isPrototypeOf(I)}(I)?(this._bodyArrayBuffer=d(I.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(I)||y(I))?this._bodyArrayBuffer=d(I):this._bodyText=I=Object.prototype.toString.call(I):this._bodyText="",this.headers.get("content-type")||("string"==typeof I?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n_searchParams&&URLSearchParams.prototype.isPrototypeOf(I)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var I=h(this);if(I)return I;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?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var I=h(this);if(I)return I;if(this._bodyBlob)return function r(I){var P=new FileReader,A=o(P);return P.readAsText(I),A}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function c(I){for(var P=new Uint8Array(I),A=new Array(P.length),L=0;L-1?P:I}(P.method||this.method||"GET"),this.mode=P.mode||this.mode||null,this.signal=P.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}function w(I){var P=new FormData;return I.trim().split("&").forEach(function(A){if(A){var L=A.split("="),F=L.shift().replace(/\+/g," "),R=L.join("=").replace(/\+/g," ");P.append(decodeURIComponent(F),decodeURIComponent(R))}}),P}function T(I){var P=new m;return I.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(L){var F=L.split(":"),R=F.shift().trim();if(R){var U=F.join(":").trim();P.append(R,U)}}),P}function S(I,P){P||(P={}),this.type="default",this.status=void 0===P.status?200:P.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in P?P.statusText:"OK",this.headers=new m(P.headers),this.url=P.url||"",this._initBody(I)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},g.call(x.prototype),g.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},S.error=function(){var I=new S(null,{status:0,statusText:""});return I.type="error",I};var M=[301,302,303,307,308];S.redirect=function(I,P){if(-1===M.indexOf(P))throw new RangeError("Invalid status code");return new S(null,{status:P,headers:{location:I}})},_.DOMException=Me.DOMException;try{new _.DOMException}catch{_.DOMException=function(P,A){this.message=P,this.name=A;var L=Error(P);this.stack=L.stack},_.DOMException.prototype=Object.create(Error.prototype),_.DOMException.prototype.constructor=_.DOMException}function k(I,P){return new Promise(function(A,L){var F=new x(I,P);if(F.signal&&F.signal.aborted)return L(new _.DOMException("Aborted","AbortError"));var R=new XMLHttpRequest;function U(){R.abort()}R.onload=function(){var W={status:R.status,statusText:R.statusText,headers:T(R.getAllResponseHeaders()||"")};W.url="responseURL"in R?R.responseURL:W.headers.get("X-Request-URL"),A(new S("response"in R?R.response:R.responseText,W))},R.onerror=function(){L(new TypeError("Network request failed"))},R.ontimeout=function(){L(new TypeError("Network request failed"))},R.onabort=function(){L(new _.DOMException("Aborted","AbortError"))},R.open(F.method,F.url,!0),"include"===F.credentials?R.withCredentials=!0:"omit"===F.credentials&&(R.withCredentials=!1),"responseType"in R&&n_blob&&(R.responseType="blob"),F.headers.forEach(function(W,ne){R.setRequestHeader(ne,W)}),F.signal&&(F.signal.addEventListener("abort",U),R.onreadystatechange=function(){4===R.readyState&&F.signal.removeEventListener("abort",U)}),R.send(typeof F._bodyInit>"u"?null:F._bodyInit)})}k.polyfill=!0,Me.fetch||(Me.fetch=k,Me.Headers=m,Me.Request=x,Me.Response=S),_.Headers=m,_.Request=x,_.Response=S,_.fetch=k,Object.defineProperty(_,"__esModule",{value:!0})}({})},7098:Me=>{Me.exports=function(n){var f=new Date(n.getTime()),D=f.getTimezoneOffset();return f.setSeconds(0,0),6e4*D+f.getTime()%6e4}},2860:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D,y){var u=n(D),v=Number(y);return u.setDate(u.getDate()+v),u}},6888:(Me,ie,_)=>{var n=_(3895);Me.exports=function D(y,u){var v=Number(u);return n(y,36e5*v)}},3895:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D,y){var u=n(D).getTime(),v=Number(y);return new Date(u+v)}},3745:(Me,ie,_)=>{var n=_(3895);Me.exports=function D(y,u){var v=Number(u);return n(y,6e4*v)}},1277:(Me,ie,_)=>{var n=_(1420),f=_(7255);Me.exports=function D(y,u){var v=n(y),s=Number(u),m=v.getMonth()+s,h=new Date(0);h.setFullYear(v.getFullYear(),m,1),h.setHours(0,0,0,0);var o=f(h);return v.setMonth(m,Math.min(o,v.getDate())),v}},3857:(Me,ie,_)=>{var n=_(3895);Me.exports=function f(D,y){var u=Number(y);return n(D,1e3*u)}},338:(Me,ie,_)=>{var n=_(2860);Me.exports=function f(D,y){var u=Number(y);return n(D,7*u)}},3763:(Me,ie,_)=>{var n=_(1277);Me.exports=function f(D,y){var u=Number(y);return n(D,12*u)}},7255:(Me,ie,_)=>{var n=_(1420);Me.exports=function f(D){var y=n(D),u=y.getFullYear(),v=y.getMonth(),s=new Date(0);return s.setFullYear(u,v+1,0),s.setHours(0,0,0,0),s.getDate()}},4853:Me=>{Me.exports=function ie(_){return _ instanceof Date}},1420:(Me,ie,_)=>{var n=_(7098),f=_(4853),D=36e5,y=6e4,v=/[T ]/,s=/:/,m=/^(\d{2})$/,h=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],o=/^(\d{4})/,l=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],r=/^-(\d{2})$/,c=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,g=/^-?W(\d{2})$/,b=/^-?W(\d{2})-?(\d{1})$/,C=/^(\d{2}([.,]\d*)?)$/,x=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,w=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,T=/([Z+-].*)$/,S=/^(Z)$/,M=/^([+-])(\d{2})$/,k=/^([+-])(\d{2}):?(\d{2})$/;function U(W,ne,ee){ne=ne||0,ee=ee||0;var j=new Date(0);j.setUTCFullYear(W,0,4);var $=7*ne+ee+1-(j.getUTCDay()||7);return j.setUTCDate(j.getUTCDate()+$),j}Me.exports=function I(W,ne){if(f(W))return new Date(W.getTime());if("string"!=typeof W)return new Date(W);var j=(ne||{}).additionalDigits;j=null==j?2:Number(j);var B=function P(W){var j,ne={},ee=W.split(v);if(s.test(ee[0])?(ne.date=null,j=ee[0]):(ne.date=ee[0],j=ee[1]),j){var B=T.exec(j);B?(ne.time=j.replace(B[1],""),ne.timezone=B[1]):ne.time=j}return ne}(W),$=function A(W,ne){var B,ee=h[ne],j=l[ne];if(B=o.exec(W)||j.exec(W)){var $=B[1];return{year:parseInt($,10),restDateString:W.slice($.length)}}if(B=m.exec(W)||ee.exec(W)){var Z=B[1];return{year:100*parseInt(Z,10),restDateString:W.slice(Z.length)}}return{year:null}}(B.date,j),te=function L(W,ne){if(null===ne)return null;var ee,j,B;if(0===W.length)return(j=new Date(0)).setUTCFullYear(ne),j;if(ee=r.exec(W))return j=new Date(0),B=parseInt(ee[1],10)-1,j.setUTCFullYear(ne,B),j;if(ee=c.exec(W)){j=new Date(0);var Z=parseInt(ee[1],10);return j.setUTCFullYear(ne,0,Z),j}if(ee=d.exec(W)){j=new Date(0),B=parseInt(ee[1],10)-1;var H=parseInt(ee[2],10);return j.setUTCFullYear(ne,B,H),j}return(ee=g.exec(W))?U(ne,parseInt(ee[1],10)-1):(ee=b.exec(W))?U(ne,parseInt(ee[1],10)-1,parseInt(ee[2],10)-1):null}($.restDateString,$.year);if(te){var Ge,ue=te.getTime(),ye=0;if(B.time&&(ye=function F(W){var ne,ee,j;if(ne=C.exec(W))return(ee=parseFloat(ne[1].replace(",",".")))%24*D;if(ne=x.exec(W))return ee=parseInt(ne[1],10),j=parseFloat(ne[2].replace(",",".")),ee%24*D+j*y;if(ne=w.exec(W)){ee=parseInt(ne[1],10),j=parseInt(ne[2],10);var B=parseFloat(ne[3].replace(",","."));return ee%24*D+j*y+1e3*B}return null}(B.time)),B.timezone)Ge=function R(W){var ne,ee;return(ne=S.exec(W))?0:(ne=M.exec(W))?(ee=60*parseInt(ne[2],10),"+"===ne[1]?-ee:ee):(ne=k.exec(W))?(ee=60*parseInt(ne[2],10)+parseInt(ne[3],10),"+"===ne[1]?-ee:ee):0}(B.timezone)*y;else{var $e=ue+ye,Ye=new Date($e);Ge=n(Ye);var Ze=new Date($e);Ze.setDate(Ye.getDate()+1);var Et=n(Ze)-n(Ye);Et>0&&(Ge+=Et)}return new Date(ue+ye+Ge)}return new Date(W)}},563:(Me,ie,_)=>{ie.formatArgs=function f(s){if(s[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+s[0]+(this.useColors?"%c ":" ")+"+"+Me.exports.humanize(this.diff),!this.useColors)return;const m="color: "+this.color;s.splice(1,0,m,"color: inherit");let h=0,o=0;s[0].replace(/%[a-zA-Z%]/g,l=>{"%%"!==l&&(h++,"%c"===l&&(o=h))}),s.splice(o,0,m)},ie.save=function D(s){try{s?ie.storage.setItem("debug",s):ie.storage.removeItem("debug")}catch{}},ie.load=function y(){let s;try{s=ie.storage.getItem("debug")}catch{}return!s&&typeof process<"u"&&"env"in process&&(s=process.env.DEBUG),s},ie.useColors=function n(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},ie.storage=function u(){try{return localStorage}catch{}}(),ie.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`."))}})(),ie.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"],ie.log=console.debug||console.log||(()=>{}),Me.exports=_(6018)(ie);const{formatters:v}=Me.exports;v.j=function(s){try{return JSON.stringify(s)}catch(m){return"[UnexpectedJSONParseError]: "+m.message}}},6018:(Me,ie,_)=>{Me.exports=function n(f){function y(r){let c,g,b,d=null;function C(...x){if(!C.enabled)return;const w=C,T=Number(new Date);w.diff=T-(c||T),w.prev=c,w.curr=T,c=T,x[0]=y.coerce(x[0]),"string"!=typeof x[0]&&x.unshift("%O");let M=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(I,P)=>{if("%%"===I)return"%";M++;const A=y.formatters[P];return"function"==typeof A&&(I=A.call(w,x[M]),x.splice(M,1),M--),I}),y.formatArgs.call(w,x),(w.log||y.log).apply(w,x)}return C.namespace=r,C.useColors=y.useColors(),C.color=y.selectColor(r),C.extend=u,C.destroy=y.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==d?d:(g!==y.namespaces&&(g=y.namespaces,b=y.enabled(r)),b),set:x=>{d=x}}),"function"==typeof y.init&&y.init(C),C}function u(r,c){const d=y(this.namespace+(typeof c>"u"?":":c)+r);return d.log=this.log,d}function h(r){return r.toString().substring(2,r.toString().length-2).replace(/\.\*\?$/,"*")}return y.debug=y,y.default=y,y.coerce=function o(r){return r instanceof Error?r.stack||r.message:r},y.disable=function s(){const r=[...y.names.map(h),...y.skips.map(h).map(c=>"-"+c)].join(",");return y.enable(""),r},y.enable=function v(r){let c;y.save(r),y.namespaces=r,y.names=[],y.skips=[];const d=("string"==typeof r?r:"").split(/[\s,]+/),g=d.length;for(c=0;c{y[r]=f[r]}),y.names=[],y.skips=[],y.formatters={},y.selectColor=function D(r){let c=0;for(let d=0;d{"use strict";var ie="%[a-f0-9]{2}",_=new RegExp("("+ie+")|([^%]+?)","gi"),n=new RegExp("("+ie+")+","gi");function f(u,v){try{return[decodeURIComponent(u.join(""))]}catch{}if(1===u.length)return u;var s=u.slice(0,v=v||1),m=u.slice(v);return Array.prototype.concat.call([],f(s),f(m))}function D(u){try{return decodeURIComponent(u)}catch{for(var v=u.match(_)||[],s=1;s"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),c=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function x(){var ke=setTimeout;return function(){return ke(T,1)}}var w=new Array(1e3);function T(){for(var ke=0;ke{Me.exports=class ie{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,f){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:f}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,f){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:f}})}supportFor({resourceType:n,capabilityType:f,where:D}={}){let y;if(y=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!y)return!1;const u=y[f];if(D&&u){const v=Object.keys(D)[0];return void 0!==u.find(m=>m[v]===D[v])}return void 0!==u}interactionsFor({resourceType:n}={}){const f=this.resourceCapabilities({resourceType:n});return void 0===f?[]:f.interaction.map(D=>D.code)}searchParamsFor({resourceType:n}={}){const f=this.resourceCapabilities({resourceType:n});return void 0===f||void 0===f.searchParam?[]:f.searchParam.map(D=>D.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(y=>y.type===n)}capabilityContents({resourceType:n,capabilityType:f}={}){const D=this.resourceCapabilities({resourceType:n});if(void 0!==D)return D[f]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},8907:(Me,ie,_)=>{var n=_(7156).default;const f=_(133),{authFromCapability:D,authFromWellKnown:y}=_(6686),u=_(8237),v=_(7681),s=_(1370),{createQueryString:m,validResourceType:h}=_(9047),{FetchQueue:o}=_(1335),{deprecatePaginationArgs:l,deprecateHeaders:r}=_(3820),c=_(6836);Me.exports=class d{constructor({baseUrl:b,customHeaders:C,requestOptions:x,requestSigner:w,bearerToken:T}={}){this.httpClient=new u({baseUrl:b,customHeaders:C,requestOptions:x,requestSigner:w}),T&&(this.httpClient.bearerToken=T),this.resolver=new v(this),this.pagination=new s(this.httpClient)}static httpFor(b){return{request:u.requestFor(b),response:u.responseFor(b)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(b){this.httpClient&&(this.httpClient.baseUrl=b)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(b){this.httpClient.customHeaders=b}set bearerToken(b){this.httpClient.bearerToken=b}resolve({reference:b,context:C,headers:x,options:w={}}={}){return this.resolver.resolve({reference:b,context:C,options:r(w,x)})}smartAuthMetadata({headers:b,options:C={}}={}){var x=this;return n(function*(){const w={options:r(C,b)};w.options.headers||(w.options.headers={}),w.options.headers.accept="application/fhir+json,application/json";const T=x.baseUrl.replace(/\/*$/,"/"),S=new o,M=S.buildJob(),k=S.buildJob(),I=S.buildJob(),P=[];return new Promise((A,L)=>{function F(R){P.push(R)===S.numJobs&&L(new Error(P.map(U=>U.message).join("; ")))}x.httpClient.request("GET",`${T}.well-known/smart-configuration`,k.addSignalOption(w)).then(R=>(S.safeAbortOthers(k),A(y(R)))).catch(R=>F(R)),x.capabilityStatement(M.addSignalOption(w)).then(R=>(S.safeAbortOthers(M),A(D(R)))).catch(R=>F(R)),x.httpClient.request("GET",`${T}.well-known/openid-configuration`,I.addSignalOption(w)).then(R=>(S.safeAbortOthers(I),A(y(R)))).catch(R=>F(R))})})()}capabilityStatement({headers:b,options:C={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",r(C,b))),this.metadata}request(b,{method:C="GET",options:x={},body:w}={}){return x.method&&x.method!==C&&console.warn(`WARNING: 'options.method' has been specified: ${x.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(C,b,x,w)}read({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}`,r(w,x))}vread({resourceType:b,id:C,version:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}/_history/${x}`,r(T,w))}create({resourceType:b,body:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.post(b,C,r(w,x))}delete({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.delete(`${b}/${C}`,r(w,x))}update({resourceType:b,id:C,searchParams:x,body:w,headers:T,options:S={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);if(C&&x)throw new Error("Conditional update with search params cannot be with id",b);if(x){const M=m(x);return this.httpClient.put(`${b}?${M}`,w,r(S,T))}return this.httpClient.put(`${b}/${C}`,w,r(S,T))}patch({resourceType:b,id:C,JSONPatch:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);const M={...r(T,w).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${b}/${C}`,x,{...T,headers:M})}batch({body:b,headers:C,options:x={}}={}){return this.httpClient.post("/",b,r(x,C))}transaction({body:b,headers:C,options:x={}}={}){return this.httpClient.post("/",b,r(x,C))}operation({name:b,resourceType:C,id:x,method:w="POST",input:T,options:S={}}={}){const M=["/"];if(C){if(!h(C))throw new Error("Invalid resourceType",C);M.push(`${C}/`)}return x&&M.push(`${x}/`),M.push(`${b.startsWith("$")?b:`$${b}`}`),"POST"===w.toUpperCase()?this.httpClient.post(M.join(""),T,S):"GET"===w.toUpperCase()?(T&&M.push(`?${f.stringify(T)}`),this.httpClient.get(M.join(""),S)):void 0}nextPage(b,C){const{bundle:x,options:w={}}=l(b,C);return this.pagination.nextPage(x,w)}prevPage(b,C){const{bundle:x,options:w={}}=l(b,C);return this.pagination.prevPage(x,w)}search({resourceType:b,compartment:C,searchParams:x,headers:w,options:T={}}={}){if(b&&!h(b))throw new Error("Invalid resourceType",b);if(C&&b)return this.compartmentSearch({resourceType:b,compartment:C,searchParams:x,options:r(T,w)});if(b)return this.resourceSearch({resourceType:b,searchParams:x,options:r(T,w)});if(x instanceof Object&&Object.keys(x).length>0)return this.systemSearch({searchParams:x,options:r(T,w)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:b,searchParams:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);let T=b;return w.postSearch&&(T+="/_search"),this.baseSearch({searchPath:T,searchParams:C,headers:x,options:w})}systemSearch({searchParams:b,headers:C,options:x={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:b,headers:C,options:x})}compartmentSearch({resourceType:b,compartment:C,searchParams:x,headers:w,options:T={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);const{resourceType:S,id:M}=C;if(!h(S))throw new Error("Invalid compartmentType",S);let k=`/${S}/${M}/${b}`;return T.postSearch&&(k+="/_search"),this.baseSearch({searchPath:k,searchParams:x,headers:w,options:T})}baseSearch({searchPath:b,searchParams:C,headers:x,options:w}){const T=m(C),S=r(w,x);return this[w.postSearch?"postSearch":"getSearch"](b,T,S)}postSearch(b,C,x){const T={"Content-Type":"application/x-www-form-urlencoded",...x.headers},S={...x,headers:T};return this.httpClient.post(b,C,S)}getSearch(b,C,x){let w=b;return C&&(w+=`?${C}`),this.httpClient.get(w,x)}history({resourceType:b,id:C,headers:x,options:w={}}={}){if(b&&!h(b))throw new Error("Invalid resourceType",b);return C&&b?this.resourceHistory({resourceType:b,id:C,options:r(w,x)}):b?this.typeHistory({resourceType:b,options:r(w,x)}):this.systemHistory({options:r(w,x)})}resourceHistory({resourceType:b,id:C,headers:x,options:w={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/${C}/_history`,r(w,x))}typeHistory({resourceType:b,headers:C,options:x={}}={}){if(!h(b))throw new Error("Invalid resourceType",b);return this.httpClient.get(`${b}/_history`,r(x,C))}systemHistory({headers:b,options:C={}}={}){return this.httpClient.get("_history",r(C,b))}},Me.exports.CapabilityTool=c},3820:Me=>{Me.exports={deprecateHeaders:(n,f)=>f?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(f,null," ")),{headers:f,...n}):n,deprecatePaginationArgs:(n,f)=>{if(Object.prototype.hasOwnProperty.call(n,"resourceType")){console.warn("WARNING: positional parameters for pagination methods are deprecated and will be removed in the next major version. Call with ({ bundle, options }) rather than (bundle, headers)");const D={bundle:n};return f&&(D.options={headers:f}),D}return n}}},1335:(Me,ie,_)=>{const{AbortController:n}=_(4783);class f{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(u){return{signal:this.controller.signal,...u}}safeAbort(){this.resolving||this.controller.abort()}}Me.exports={FetchQueue:class D{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const u=new f;return this.numJobs=this.jobs.push(u),u}safeAbortOthers(u){u.resolving=!0;for(let v=0,s=this.numJobs;v{Me.exports={fhirReferenceRegEx:/^((http|https):\/\/([A-Za-z0-9\\.:%$]*\/)*)?(Account|ActivityDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodySite|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Conformance|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DataElement|DecisionSupportRule|DecisionSupportServiceModule|DetectedIssue|Device|DeviceComponent|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseRequest|DeviceUseStatement|DiagnosticOrder|DiagnosticReport|DiagnosticRequest|DocumentManifest|DocumentReference|EffectEvidenceSynthesis|EligibilityRequest|EligibilityResponse|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EntryDefinition|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExpansionProfile|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceRequest|GuidanceResponse|HealthcareService|ImagingExcerpt|ImagingManifest|ImagingObjectSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|ImplementationGuideInput|ImplementationGuideOutput|InsurancePlan|Invoice|ItemInstance|Library|Linkage|List|Location|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationOrder|MedicationRequest|MedicationStatement|MedicinalProduct|MedicinalProductAuthorization|MedicinalProductClinicals|MedicinalProductContraindication|MedicinalProductDeviceSpec|MedicinalProductIndication|MedicinalProductIngredient|MedicinalProductInteraction|MedicinalProductManufactured|MedicinalProductPackaged|MedicinalProductPharmaceutical|MedicinalProductUndesirableEffect|MessageDefinition|MessageHeader|ModuleDefinition|ModuleMetadata|MolecularSequence|NamingSystem|NutritionOrder|NutritionRequest|Observation|ObservationDefinition|OccupationalData|OperationDefinition|OperationOutcome|Order|OrderResponse|OrderSet|Organization|OrganizationAffiliation|OrganizationRole|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|ProcedureRequest|ProcessRequest|ProcessResponse|ProductPlan|Protocol|Provenance|Questionnaire|QuestionnaireResponse|ReferralRequest|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|RiskEvidenceSynthesis|Schedule|SearchParameter|Sequence|ServiceDefinition|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SubstanceSpecification|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|UserSession|ValueSet|VerificationResult|VisionPrescription)\/[A-Za-z0-9\-.]{1,256}(\/_history\/[A-Za-z0-9\-.]{1,256})?$/}},8237:(Me,ie,_)=>{var n=_(7156).default;_(1098).polyfill(),_(9807);const{logRequestError:f,logRequestInfo:D,logResponseInfo:y}=_(1566),u={accept:"application/fhir+json"},v="__response",s="__request";let h,o,m=!1;try{h=_(5899),o=_(5899).HttpsAgent,m=!0}catch{D("HTTP Agent is not available")}const l=new WeakMap;function c({status:g,data:b,method:C,headers:x,url:w}){const T={response:{status:g,data:b},config:{method:C,url:w,headers:x}};return f(T),T}Me.exports=class Wu{static lcKeys(b){return b&&Object.keys(b).reduce((C,x)=>(C[x.toLowerCase()]=b[x],C),{})}constructor({baseUrl:b,customHeaders:C={},requestOptions:x={},requestSigner:w}){this.baseUrl=b,this.customHeaders=C,this.baseRequestOptions=x,this.requestSigner=w}set baseUrl(b){if(!b)throw new Error("baseUrl cannot be blank");if("string"!=typeof b)throw new Error("baseUrl must be a string");this.baseUrlValue=b}get baseUrl(){return this.baseUrlValue}static responseFor(b){return b[v]}static requestFor(b){return b[s]}set bearerToken(b){this.authHeader={authorization:`Bearer ${b}`}}requestBuilder(b,C,x,w){const T={...this.baseRequestOptions,...x,method:b,body:(g=w,"string"==typeof g?g:JSON.stringify(g))};var g;let S={};return m||(S={keepalive:!Object.prototype.hasOwnProperty.call(T,"keepalive")||T.keepalive}),Object.assign(T,S,{headers:new Headers(this.mergeHeaders(x.headers))},function r(g,b={}){const C={baseUrl:g,agentOptions:b};return m?(l.get(C)||(g.startsWith("https")?l.set(C,{agent:new o(b)}):l.set(C,{agent:new h(b)})),l.get(C)):{}}(this.baseUrl,T)),this.requestSigner&&this.requestSigner(C,T),new Request(C,T)}request(b,C,x={},w){var T=this;return n(function*(){const S=T.expandUrl(C),M=T.requestBuilder(b,S,x,w);D(b,S,M.headers);const k=yield fetch(M),{status:I,headers:P}=k;y({status:I,response:k});const A=yield k.text();let L={};if(A)try{L=JSON.parse(A)}catch{throw L=A,c({status:I,data:L,method:b,headers:P,url:S})}if(!k.ok)throw c({status:I,data:L,method:b,headers:P,url:S});return Object.defineProperty(L,v,{writable:!1,enumerable:!1,value:k}),Object.defineProperty(L,s,{writable:!1,enumerable:!1,value:M}),L})()}get(b,C){var x=this;return n(function*(){return x.request("GET",b,C)})()}delete(b,C){var x=this;return n(function*(){return x.request("DELETE",b,C)})()}put(b,C,x={}){var w=this;return n(function*(){const T={"content-type":"application/fhir+json",...Wu.lcKeys(x.headers)},S={...x,headers:T};return w.request("PUT",b,S,C)})()}post(b,C,x={}){var w=this;return n(function*(){const T={"content-type":"application/fhir+json",...Wu.lcKeys(x.headers)},S={...x,headers:T};return w.request("POST",b,S,C)})()}patch(b,C,x){var w=this;return n(function*(){return w.request("PATCH",b,x,C)})()}expandUrl(b=""){return b.toLowerCase().startsWith("http")?b:this.baseUrl.endsWith("/")&&b.startsWith("/")?this.baseUrl+b.slice(1):this.baseUrl.endsWith("/")||b.startsWith("/")?this.baseUrl+b:`${this.baseUrl}/${b}`}mergeHeaders(b){const{lcKeys:C}=Wu;return{...C(u),...C(this.authHeader),...C(this.customHeaders),...C(b)}}}},1566:(Me,ie,_)=>{const n=_(3187),f=_(563)("fhir-kit-client:error"),D=_(563)("fhir-kit-client:info");function y(o){return n(o)}function u(o){return y(o.raw&&"function"==typeof o.raw?o.raw():o)}Me.exports={logRequestError:function v(o){f.enabled&&(f("!!! Error"),o.response&&f(` Status: ${o.response.status}`),o.config&&(f(` ${o.config.method.toUpperCase()}: ${o.config.url}`),f(` Headers: ${u(o.config.headers)}`)),o.response&&o.response.data&&f(y(o.response.data)),f("!!! Request Error"))},logRequestInfo:function s(o,l,r){D.enabled&&(l&&D(`Request: ${o.toUpperCase()} ${l.toString()}`),D(`Request Headers: ${u(r)}`))},logResponseInfo:function m(o){D.enabled&&(D(`Response: ${o.status}`),o.data&&D(y(o.data)))},logError:function h(o){f.enabled&&f(o)}}},1370:Me=>{Me.exports=class ie{constructor(n){this.httpClient=n}nextPage(n,{headers:f}={}){const D=n.link.find(y=>"next"===y.relation);return D?this.httpClient.get(D.url,{headers:f}):void 0}prevPage(n,{headers:f}={}){const D=n.link.find(y=>y.relation.match(/^prev(ious)?$/));return D?this.httpClient.get(D.url,{headers:f}):void 0}}},7681:(Me,ie,_)=>{var n=_(7156).default;const{splitReference:f}=_(9047),{deprecateHeaders:D}=_(3820);Me.exports=class{constructor(y){this.client=y}resolve({reference:y,context:u,headers:v,options:s={}}={}){var m=this;return n(function*(){return void 0===u?y.startsWith("http")?m.resolveAbsoluteReference(y,D(s,v)):m.client.httpClient.get(y,D(s,v)):y.startsWith("#")?m.resolveContainedReference(y,u):m.resolveBundleReference(y,u,D(s,v))})()}resolveAbsoluteReference(y,u){var v=this;return n(function*(){if(y.startsWith(v.client.baseUrl))return v.client.httpClient.get(y,u);const{baseUrl:s,resourceType:m,id:h}=f(y);return new(_(8907))({baseUrl:s}).read({resourceType:m,id:h,options:u})})()}resolveContainedReference(y,u){if(u.contained){const v=y.slice(1),s=u.contained.find(m=>m.id===v);if(s)return s}throw new Error(`Unable to resolve contained reference: ${y}`)}resolveBundleReference(y,u,v){var s=this;return n(function*(){const m=new RegExp(`(^|/)${y}$`),h=u.entry.find(o=>m.test(o.fullUrl));return h?h.resource:s.resolve({reference:y,options:v})})()}}},6686:(Me,ie,_)=>{const{logError:f}=_(1566);Me.exports={authFromCapability:function D(u){const v={};try{return u.rest.forEach(s=>{s.security.extension.find(h=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===h.url).extension.forEach(h=>{switch(h.url){case"authorize":v.authorizeUrl=new URL(h.valueUri);break;case"token":v.tokenUrl=new URL(h.valueUri);break;case"register":v.registerUrl=new URL(h.valueUri);break;case"manage":v.manageUrl=new URL(h.valueUri)}})}),v}catch(s){return f(s),v}},authFromWellKnown:function y(u){const{authorization_endpoint:v,token_endpoint:s,registration_endpoint:m}=u;return{authorizeUrl:v&&new URL(v),tokenUrl:s&&new URL(s),registerUrl:m&&new URL(m)}}}},9047:(Me,ie,_)=>{const n=_(133),{fhirReferenceRegEx:f}=_(4115);Me.exports={createQueryString:function u(v){if(v instanceof Object&&Object.keys(v).length>0)return n.stringify(v)},splitReference:function D(v){if(!v.match(f))throw new Error(`${v} is not a recognized FHIR reference`);let s,m=v;v.startsWith("http")&&([,s]=f.exec(v),m=v.slice(s.length),s.endsWith("/")&&(s=s.slice(0,-1)));const[h,o]=m.split("/");return{baseUrl:s,resourceType:h,id:o}},validResourceType:function y(v){return!v.startsWith("/")&&!v.includes(":")&&/\S/.test(v)}}},4258:(Me,ie,_)=>{let n={};const f=_(7353),D=_(5117),y=_(5827);n.aggregateMacro=function(u,v,s){return u.reduce((m,h,o)=>(this.$index=o,this.$total=v(h)),this.$total=s)},n.countFn=function(u){return u&&u.length?u.length:0},n.sumFn=function(u){return n.aggregateMacro.apply(this,[u,v=>f.plus(y.arraify(v),y.arraify(this.$total)),0])},n.minFn=function(u){return n.aggregateMacro.apply(this,[u,v=>{const s=y.arraify(v),m=y.arraify(this.$total);return y.isEmpty(m)||D.lt(s,m)?s:m}])},n.maxFn=function(u){return n.aggregateMacro.apply(this,[u,v=>{const s=y.arraify(v),m=y.arraify(this.$total);return y.isEmpty(m)||D.gt(s,m)?s:m}])},n.avgFn=function(u){return f.div(n.sumFn(u),n.countFn(u))},Me.exports=n},500:(Me,ie,_)=>{const{deepEqual:n}=_(2825),f={};function D(y,u){if(0==u.length)return!0;for(var v=0;v1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(u));return D(y,u)},f.in=function(y,u){if(0==y.length)return[];if(0==u.length)return!1;if(y.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(u));return D(u,y)},Me.exports=f},8330:(Me,ie,_)=>{const n={},{distinctFn:f}=_(5073),D=_(6190),{deepEqual:y,maxCollSizeForDeepEqual:u}=_(2825);n.union=function(v,s){return f(v.concat(s))},n.combineFn=function(v,s){return v.concat(s)},n.intersect=function(v,s){let m=[];const h=v.length;let o=s.length;if(h&&o)if(h+o>u){let l={};s.forEach(r=>{const c=D(r);l[c]?o--:l[c]=!0});for(let r=0;r0;++r){let c=v[r],d=D(c);l[d]&&(m.push(c),l[d]=!1,o--)}}else m=f(v).filter(l=>s.some(r=>y(l,r)));return m},n.exclude=function(v,s){let m=[];const h=v.length,o=s.length;if(!o)return v;if(h)if(h+o>u){let l={};s.forEach(r=>{const c=D(r);l[c]=!0}),m=v.filter(r=>!l[D(r)])}else m=v.filter(l=>!s.some(r=>y(l,r)));return m},Me.exports=n},9285:Me=>{Me.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.timeOfDay=null,this.localTimezoneOffset=null},today:null,now:null,timeOfDay:null}},1605:(Me,ie,_)=>{var n={};const f=_(4217),D=_(9285),y=f.FP_Date,u=f.FP_DateTime,v=f.FP_Time;n.now=function(){if(!D.now){var m=u.isoDateTime(D.nowDate);D.now=new u(m)}return D.now},n.today=function(){if(!D.today){var m=y.isoDate(D.nowDate);D.today=new y(m)}return D.today},n.timeOfDay=function(){if(!D.timeOfDay){const m=u.isoTime(D.nowDate);D.timeOfDay=new v(m)}return D.timeOfDay},Me.exports=n},2825:(Me,ie,_)=>{var f=_(4217).FP_Type,D=_(5827),y=_(4192),u=Array.prototype.slice,v=Object.keys,s=function(d){return"[object Arguments]"==Object.prototype.toString.call(d)};function m(d){return"string"==typeof d||d instanceof String}function h(d){return!isNaN(parseFloat(d))&&isFinite(d)}function o(d){return d.toUpperCase().replace(/\s+/," ")}function r(d){return null==d}Me.exports={deepEqual:function l(d,g,b){if(b||(b={}),(d=D.valDataConverted(d))===(g=D.valDataConverted(g)))return!0;if(b.fuzzy){if(m(d)&&m(g))return o(d)==o(g);if(h(d)&&h(g))return y.isEquivalent(d,g)}else if("number"==typeof d&&"number"==typeof g)return y.isEqual(d,g);if(d instanceof Date&&g instanceof Date)return d.getTime()===g.getTime();if(!d||!g||"object"!=typeof d&&"object"!=typeof g)return d===g;var C=d instanceof f,x=g instanceof f;return C&&x?b.fuzzy?d.equivalentTo(g):d.equals(g):!C&&!x&&function c(d,g,b){var C,x;if(r(d)||r(g)||d.prototype!==g.prototype)return!1;if(s(d)||s(g))return l(d=s(d)?u.call(d):d,g=s(g)?u.call(g):g,b);try{var w=v(d),T=v(g)}catch{return!1}if(w.length!=T.length)return!1;for(w.sort(),T.sort(),C=w.length-1;C>=0;C--)if(w[C]!=T[C])return!1;if(1===w.length)return l(d[x=w[0]],g[x],b);for(C=w.length-1;C>=0;C--)if(!l(d[x=w[C]],g[x],b))return!1;return typeof d==typeof g}(d,g,b)},maxCollSizeForDeepEqual:6}},5117:(Me,ie,_)=>{const n=_(5827),{deepEqual:f}=_(2825),D=_(4217),y=D.FP_Type,u=D.FP_DateTime;var v={};function s(o,l){return n.isEmpty(o)||n.isEmpty(l)?[]:f(o,l)}function m(o,l){return n.isEmpty(o)&&n.isEmpty(l)?[!0]:n.isEmpty(o)||n.isEmpty(l)?[]:f(o,l,{fuzzy:!0})}function h(o,l){n.assertAtMostOne(o,"Singleton was expected"),n.assertAtMostOne(l,"Singleton was expected"),o=n.valDataConverted(o[0]),l=n.valDataConverted(l[0]);let r=o instanceof u?u:o.constructor,c=l instanceof u?u:l.constructor;return r!==c&&n.raiseError('Type of "'+o+'" ('+r.name+') did not match type of "'+l+'" ('+c.name+")","InequalityExpression"),[o,l]}v.equal=function(o,l){return s(o,l)},v.unequal=function(o,l){var r=s(o,l);return void 0===r?void 0:!r},v.equival=function(o,l){return m(o,l)},v.unequival=function(o,l){return!m(o,l)},v.lt=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d<0}return r0}return r>c},v.lte=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d<=0}return r<=c},v.gte=function(o,l){if(!o.length||!l.length)return[];const[r,c]=h(o,l);if(r instanceof y){const d=r.compare(c);return null===d?[]:d>=0}return r>=c},Me.exports=v},631:(Me,ie,_)=>{const n=_(5827),{whereMacro:f,distinctFn:D}=_(5073),y=_(6777),u=_(6190),{deepEqual:v,maxCollSizeForDeepEqual:s}=_(2825),m={};function h(o,l){const r=o.length,c=l.length;let d=r<=c;if(d)if(r+c>s){const g=l.reduce((b,C)=>(b[u(C)]=!0,b),{});d=!o.some(b=>!g[u(b)])}else for(let g=0,b=o.length;gv(C,n.valData(x)))}return d}m.emptyFn=n.isEmpty,m.notFn=function(o){let l=y.singleton(o,"Boolean");return"boolean"==typeof l?!l:[]},m.existsMacro=function(o,l){var r=o;return l?m.existsMacro(f.call(this,o,l)):!n.isEmpty(r)},m.allMacro=function(o,l){for(let r=0,c=o.length;r{const{version:n}=_(82),f=_(7661),D=_(5827);_(4835);const y=_(9285);let u={},v=_(631),s=_(5073),m=_(4258),h=_(8330),o=_(6777),l=_(5117),r=_(500),c=_(7353),d=_(4702),g=_(3774),b=_(1605),C=_(2804);const x=_(4217),{FP_Date:w,FP_DateTime:T,FP_Time:S,FP_Quantity:M,FP_Type:k,ResourceNode:I,TypeInfo:P}=x;let A=I.makeResNode;function L(Z,H,te,ue){if("Expr"===te)return function(Ge){const $e=D.arraify(Ge);return u.doEval({...Z,$this:$e},$e,ue)};if("AnyAtRoot"===te){const Ge=Z.$this||Z.dataRoot;return u.doEval({...Z,$this:Ge},Ge,ue)}if("Identifier"===te){if("TermExpression"===ue.type)return ue.text;throw new Error("Expected identifier node, got "+JSON.stringify(ue))}if("TypeSpecifier"===te)return u.TypeSpecifier(Z,H,ue);const ye=u.doEval(Z,H,ue);if("Any"===te)return ye;if(Array.isArray(te)){if(0===ye.length)return[];te=te[0]}return o.singleton(ye,te)}function R(Z){return null==Z||D.isEmpty(Z)}function U(Z,H,te,ue){var ye=u.invocationTable[H];if(ye&&ye.fn){var Ge=ue?ue.length:0;if(2!==Ge)throw new Error("Infix invoke should have arity 2");var $e=ye.arity[Ge];if($e){for(var Ye=[],Ze=0;ZeZe?.__path__?A(Ze,Ze?.__path__):Ze),$e={context:Ge,ucum:"http://unitsofmeasure.org"};te&&(te=Object.keys(te).reduce((Ze,Et)=>(Ze[Et]=Array.isArray(te[Et])?te[Et].map(Te=>Te?.__path__?A(Te,Te.__path__):Te):te[Et]?.__path__?A(te[Et],te[Et].__path__):te[Et],Ze),{}));let Ye={dataRoot:Ge,vars:Object.assign($e,te),model:ue};return ye.traceFn&&(Ye.customTraceFn=ye.traceFn),ye.userInvocationTable&&(Ye.userInvocationTable=ye.userInvocationTable),u.doEval(Ye,Ge,H.children[0]).map(Ze=>{let Et=Ze instanceof I?Ze.path:null;return(Ze=D.valData(Ze))instanceof k&&ye.resolveInternalTypes&&(Ze=Ze.toString()),Et&&"object"==typeof Ze&&Object.defineProperty(Ze,"__path__",{value:Et}),Ze})}function B(Z,H,te){const ue=(te={resolveInternalTypes:!0,...te}).userInvocationTable;if(ue&&(te.userInvocationTable=Object.keys(ue).reduce((ye,Ge)=>(ye[Ge]=ue[Ge].internalStructures?ue[Ge]:{...ue[Ge],fn:(...$e)=>ue[Ge].fn.apply(this,$e.map(Ye=>Array.isArray(Ye)?Ye.map(Ze=>D.valData(Ze)):Ye))},ye),{})),"object"==typeof Z){const ye=W(Z.expression);return function(Ge,$e){const Ye=Z.base?A(Ge,Z.base):Ge;return P.model=H,ne(Ye,ye,$e,H,te)}}{const ye=W(Z);return function(Ge,$e){return P.model=H,ne(Ge,ye,$e,H,te)}}}u.invocationTable={empty:{fn:v.emptyFn},not:{fn:v.notFn},exists:{fn:v.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:v.allMacro,arity:{1:["Expr"]}},allTrue:{fn:v.allTrueFn},anyTrue:{fn:v.anyTrueFn},allFalse:{fn:v.allFalseFn},anyFalse:{fn:v.anyFalseFn},subsetOf:{fn:v.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:v.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:v.isDistinctFn},distinct:{fn:s.distinctFn},count:{fn:m.countFn},where:{fn:s.whereMacro,arity:{1:["Expr"]}},extension:{fn:s.extension,arity:{1:["String"]}},select:{fn:s.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:m.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:m.sumFn},min:{fn:m.minFn},max:{fn:m.maxFn},avg:{fn:m.avgFn},single:{fn:s.singleFn},first:{fn:s.firstFn},last:{fn:s.lastFn},type:{fn:x.typeFn,arity:{0:[]}},ofType:{fn:s.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:x.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:x.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:s.tailFn},take:{fn:s.takeFn,arity:{1:["Integer"]}},skip:{fn:s.skipFn,arity:{1:["Integer"]}},combine:{fn:h.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:h.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:h.intersect,arity:{1:["AnyAtRoot"]}},exclude:{fn:h.exclude,arity:{1:["AnyAtRoot"]}},iif:{fn:o.iifMacro,arity:{2:["Expr","Expr"],3:["Expr","Expr","Expr"]}},trace:{fn:o.traceFn,arity:{1:["String"],2:["String","Expr"]}},toInteger:{fn:o.toInteger},toDecimal:{fn:o.toDecimal},toString:{fn:o.toString},toDate:{fn:o.toDate},toDateTime:{fn:o.toDateTime},toTime:{fn:o.toTime},toBoolean:{fn:o.toBoolean},toQuantity:{fn:o.toQuantity,arity:{0:[],1:["String"]}},hasValue:{fn:o.hasValueFn},convertsToBoolean:{fn:o.createConvertsToFn(o.toBoolean,"boolean")},convertsToInteger:{fn:o.createConvertsToFn(o.toInteger,"number")},convertsToDecimal:{fn:o.createConvertsToFn(o.toDecimal,"number")},convertsToString:{fn:o.createConvertsToFn(o.toString,"string")},convertsToDate:{fn:o.createConvertsToFn(o.toDate,w)},convertsToDateTime:{fn:o.createConvertsToFn(o.toDateTime,T)},convertsToTime:{fn:o.createConvertsToFn(o.toTime,S)},convertsToQuantity:{fn:o.createConvertsToFn(o.toQuantity,M)},indexOf:{fn:d.indexOf,arity:{1:["String"]}},substring:{fn:d.substring,arity:{1:["Integer"],2:["Integer","Integer"]}},startsWith:{fn:d.startsWith,arity:{1:["String"]}},endsWith:{fn:d.endsWith,arity:{1:["String"]}},contains:{fn:d.containsFn,arity:{1:["String"]}},upper:{fn:d.upper},lower:{fn:d.lower},replace:{fn:d.replace,arity:{2:["String","String"]}},matches:{fn:d.matches,arity:{1:["String"]}},replaceMatches:{fn:d.replaceMatches,arity:{2:["String","String"]}},length:{fn:d.length},toChars:{fn:d.toChars},join:{fn:d.joinFn,arity:{0:[],1:["String"]}},split:{fn:d.splitFn,arity:{1:["String"]}},trim:{fn:d.trimFn},encode:{fn:d.encodeFn,arity:{1:["String"]}},decode:{fn:d.decodeFn,arity:{1:["String"]}},abs:{fn:c.abs},ceiling:{fn:c.ceiling},exp:{fn:c.exp},floor:{fn:c.floor},ln:{fn:c.ln},log:{fn:c.log,arity:{1:["Number"]},nullable:!0},power:{fn:c.power,arity:{1:["Number"]},nullable:!0},round:{fn:c.round,arity:{1:["Number"]}},sqrt:{fn:c.sqrt},truncate:{fn:c.truncate},now:{fn:b.now},today:{fn:b.today},timeOfDay:{fn:b.timeOfDay},repeat:{fn:s.repeatMacro,arity:{1:["Expr"]}},children:{fn:g.children},descendants:{fn:g.descendants},"|":{fn:h.union,arity:{2:["Any","Any"]}},"=":{fn:l.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:l.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:l.equival,arity:{2:["Any","Any"]}},"!~":{fn:l.unequival,arity:{2:["Any","Any"]}},"<":{fn:l.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:l.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:l.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:l.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:x.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:x.asFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:c.amp,arity:{2:["String","String"]}},"+":{fn:c.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:c.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:c.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:c.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:c.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:c.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:C.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:C.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:C.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:C.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},u.InvocationExpression=function(Z,H,te){return te.children.reduce(function(ue,ye){return u.doEval(Z,ue,ye)},H)},u.TermExpression=function(Z,H,te){return H&&(H=H.map(ue=>ue instanceof Object&&ue.resourceType?A(ue,ue.resourceType):ue)),u.doEval(Z,H,te.children[0])},u.PolarityExpression=function(Z,H,te){var ue=te.terminalNodeText[0],ye=u.doEval(Z,H,te.children[0]);if(1!==ye.length)throw new Error("Unary "+ue+" can only be applied to an individual number.");if("number"!=typeof ye[0]||isNaN(ye[0]))throw new Error("Unary "+ue+" can only be applied to a number.");return"-"===ue&&(ye[0]=-ye[0]),ye},u.TypeSpecifier=function(Z,H,te){let ue,ye;const Ge=te.text.split(".").map($e=>$e.replace(/(^`|`$)/g,""));switch(Ge.length){case 2:[ue,ye]=Ge;break;case 1:[ye]=Ge;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(te))}return new P({namespace:ue,name:ye})},u.ExternalConstantTerm=function(Z,H,te){var Ge=u.Identifier(Z,H,te.children[0].children[0])[0],$e=Z.vars[Ge];if(!(Ge in Z.vars))throw new Error("Attempting to access an undefined environment variable: "+Ge);return null==$e?[]:$e instanceof Array?$e:[$e]},u.LiteralTerm=function(Z,H,te){var ue=te.children[0];return ue?u.doEval(Z,H,ue):[te.text]},u.StringLiteral=function(Z,H,te){var ue=te.text.replace(/(^'|'$)/g,"");return[ue=ue.replace(/\\(u\d{4}|.)/g,function(ye,Ge){switch(ye){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return Ge.length>1?String.fromCharCode("0x"+Ge.slice(1)):Ge}})]},u.BooleanLiteral=function(Z,H,te){return"true"===te.text?[!0]:[!1]},u.QuantityLiteral=function(Z,H,te){var ue=te.children[0],ye=Number(ue.terminalNodeText[0]),Ge=ue.children[0],$e=Ge.terminalNodeText[0];return!$e&&Ge.children&&($e=Ge.children[0].terminalNodeText[0]),[new M(ye,$e)]},u.DateTimeLiteral=function(Z,H,te){var ue=te.text.slice(1);return[new T(ue)]},u.TimeLiteral=function(Z,H,te){var ue=te.text.slice(1);return[new S(ue)]},u.NumberLiteral=function(Z,H,te){return[Number(te.text)]},u.Identifier=function(Z,H,te){return[te.text.replace(/(^`|`$)/g,"")]},u.InvocationTerm=function(Z,H,te){return u.doEval(Z,H,te.children[0])},u.MemberInvocation=function(Z,H,te){const ue=u.doEval(Z,H,te.children[0])[0],ye=Z.model;if(H){if(D.isCapitalized(ue))return H.filter(Ge=>Ge instanceof I&&Ge.path===ue);{const Ge=H.path||H.__path__;return H.reduce(function($e,Ye){var Ze=(Ye=A(Ye,Ge)).path+"."+ue;if(ye){let Ee=ye.pathsDefinedElsewhere[Ze];Ee&&(Ze=Ee)}let Et,Te,qe=ye&&ye.choiceTypePaths[Ze];if(qe)for(let Ee of qe){let Ie=ue+Ee;if(Et=Ye.data?.[Ie],Te=Ye.data?.["_"+Ie],void 0!==Et||void 0!==Te){Ze+=Ee;break}}else Et=Ye.data?.[ue],Te=Ye.data?.["_"+ue],void 0===Et&&void 0===Te&&(Et=Ye._data[ue]),"extension"===ue&&(Ze="Extension");return Ze=ye&&ye.path2Type[Ze]||Ze,(D.isSome(Et)||D.isSome(Te))&&(Array.isArray(Et)?$e=$e.concat(Et.map((Ee,Ie)=>A(Ee,Ze,Te&&Te[Ie]))):$e.push(A(Et,Ze,Te))),$e},[])}}return[]},u.IndexerExpression=function(Z,H,te){const ye=te.children[1];var Ge=u.doEval(Z,H,te.children[0]),$e=u.doEval(Z,H,ye);if(D.isEmpty($e))return[];var Ye=parseInt($e[0]);return Ge&&D.isSome(Ye)&&Ge.length>Ye&&Ye>=0?[Ge[Ye]]:[]},u.Functn=function(Z,H,te){return te.children.map(function(ue){return u.doEval(Z,H,ue)})},u.realizeParams=function(Z,H,te){return te&&te[0]&&te[0].children?te[0].children.map(function(ue){return u.doEval(Z,H,ue)}):[]},u.FunctionInvocation=function(Z,H,te){var ue=u.doEval(Z,H,te.children[0]);const ye=ue[0];return ue.shift(),function F(Z,H,te,ue){var Ge,ye=Z.userInvocationTable?.[H]??u.invocationTable[H];if(ye){if(ye.arity){var $e=ue?ue.length:0,Ye=ye.arity[$e];if(Ye){for(var Ze=[],Et=0;Et<$e;Et++)Ze.push(L(Z,te,Ye[Et],ue[Et]));return Ze.unshift(te),ye.nullable&&Ze.some(R)?[]:(Ge=ye.fn.apply(Z,Ze),D.arraify(Ge))}return console.log(H+" wrong arity: got "+$e),[]}if(ue)throw new Error(H+" expects no params");return Ge=ye.fn.call(Z,D.arraify(te)),D.arraify(Ge)}throw new Error("Not implemented: "+H)}(Z,ye,H,ue&&ue[0]&&ue[0].children)},u.ParamList=function(Z,H,te){return te},u.UnionExpression=function(Z,H,te){return U(Z,"|",H,te.children)},u.ThisInvocation=function(Z){return Z.$this},u.TotalInvocation=function(Z){return D.arraify(Z.$total)},u.IndexInvocation=function(Z){return D.arraify(Z.$index)},u.OpExpression=function(Z,H,te){return U(Z,te.terminalNodeText[0],H,te.children)},u.AliasOpExpression=function(Z){return function(H,te,ue){var ye=ue.terminalNodeText[0],Ge=Z[ye];if(!Ge)throw new Error("Do not know how to alias "+ye+" by "+JSON.stringify(Z));return U(H,Ge,te,ue.children)}},u.NullLiteral=function(){return[]},u.ParenthesizedTerm=function(Z,H,te){return u.doEval(Z,H,te.children[0])},u.evalTable={BooleanLiteral:u.BooleanLiteral,EqualityExpression:u.OpExpression,FunctionInvocation:u.FunctionInvocation,Functn:u.Functn,Identifier:u.Identifier,IndexerExpression:u.IndexerExpression,InequalityExpression:u.OpExpression,InvocationExpression:u.InvocationExpression,AdditiveExpression:u.OpExpression,MultiplicativeExpression:u.OpExpression,TypeExpression:u.AliasOpExpression({is:"isOp",as:"asOp"}),MembershipExpression:u.AliasOpExpression({contains:"containsOp",in:"inOp"}),NullLiteral:u.NullLiteral,EntireExpression:u.InvocationTerm,InvocationTerm:u.InvocationTerm,LiteralTerm:u.LiteralTerm,MemberInvocation:u.MemberInvocation,NumberLiteral:u.NumberLiteral,ParamList:u.ParamList,ParenthesizedTerm:u.ParenthesizedTerm,StringLiteral:u.StringLiteral,TermExpression:u.TermExpression,ThisInvocation:u.ThisInvocation,TotalInvocation:u.TotalInvocation,IndexInvocation:u.IndexInvocation,UnionExpression:u.UnionExpression,OrExpression:u.OpExpression,ImpliesExpression:u.OpExpression,AndExpression:u.OpExpression,XorExpression:u.OpExpression},u.doEval=function(Z,H,te){const ue=u.evalTable[te.type]||u[te.type];if(ue)return ue.call(u,Z,H,te);throw new Error("No "+te.type+" evaluator ")},Me.exports={version:n,parse:W,compile:B,evaluate:function j(Z,H,te,ue,ye){return B(H,ue,ye)(Z,te)},resolveInternalTypes:function ee(Z){if(Array.isArray(Z))for(let H=0,te=Z.length;H{const te=P.fromValue(H?.__path__?new I(H,H.__path__):H);return`${te.namespace}.${te.name}`})},ucumUtils:_(2207).ng.getInstance(),util:D}},5073:(Me,ie,_)=>{const n=_(5827),{TypeInfo:f,ResourceNode:D}=_(4217),y=_(6190),{deepEqual:u,maxCollSizeForDeepEqual:v}=_(2825);Me.exports={whereMacro:function(m,h){return!1===m||m?n.flatten(m.filter((o,l)=>(this.$index=l,h(o)[0]))):[]},extension:function(m,h){return!1!==m&&!m||!h?[]:n.flatten(m.map((o,l)=>{this.$index=l;const r=o&&(o.data&&o.data.extension||o._data&&o._data.extension);return r?r.filter(c=>c.url===h).map(c=>D.makeResNode(c,"Extension")):[]}))},selectMacro:function(m,h){return!1===m||m?n.flatten(m.map((o,l)=>(this.$index=l,h(o)))):[]},repeatMacro:function(m,h){if(!1!==m&&!m)return[];let o=[];const l={},r=m.length;for(let c=0;c{const b=y(g),C=!l[b];return C&&(l[b]=!0),C})}while(o.lengthf.fromValue(o).is(h))},distinctFn:function(m){let h=[];if(m.length>0)if(m.length>v){let o={};for(let l=0,r=m.length;l!u(o,l))}while(m.length)}return h}}},6190:(Me,ie,_)=>{const n=_(2207).ng.getInstance(),{roundToMaxPrecision:f}=_(4192),{valDataConverted:D}=_(5827),{FP_Type:y,FP_Quantity:u}=_(4217);function s(m){if("number"==typeof(m=D(m)))return f(m);if(m instanceof Date)return m.toISOString();if(m instanceof u){const h=u._yearMonthConversionFactor[m.unit];if(h)return"_!yearMonth!_:"+h*m.value;{const o=u.toUcumQuantity(m.value,m.unit),l=n.getSpecifiedUnit(o.unit).unit;return"_!"+l.property_+"!_:"+l.magnitude_*o.value}}return m instanceof y?m.toString():"object"==typeof m?Array.isArray(m)?m.map(s):Object.keys(m).sort().reduce((h,o)=>(h[o]=s(m[o]),h),{}):m}Me.exports=function v(m){return JSON.stringify(s(m))}},2804:Me=>{Me.exports={orOp:function(_,n){if(Array.isArray(n)){if(!0===_)return!0;if(!1===_)return[];if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n||[]:_||n},andOp:function(_,n){if(Array.isArray(n)){if(!0===_)return[];if(!1===_)return!1;if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n&&[]:_&&n},xorOp:function(_,n){return Array.isArray(_)||Array.isArray(n)?[]:_&&!n||!_&&n},impliesOp:function(_,n){if(Array.isArray(n)){if(!0===_)return[];if(!1===_)return!0;if(Array.isArray(_))return[]}return Array.isArray(_)?!0===n||[]:!1===_||_&&n}}},7353:(Me,ie,_)=>{var n=_(4217);let{FP_TimeBase:f,FP_Quantity:D}=n;const y=_(5827);var u={};function v(m){let h=y.valData(m);if("number"!=typeof h){if(1==h.length&&"number"==typeof(h=y.valData(h[0])))return h;throw new Error("Expected number, but got "+JSON.stringify(h||m))}return h}function s(m){return"number"!=typeof m&&0==m.length}u.amp=function(m,h){return(m||"")+(h||"")},u.plus=function(m,h){if(1==m.length&&1==h.length){var o=y.valDataConverted(m[0]),l=y.valDataConverted(h[0]);if("string"==typeof o&&"string"==typeof l||"number"==typeof o&&"number"==typeof l)return o+l;if(o instanceof f&&l instanceof D)return o.plus(l)}throw new Error("Cannot "+JSON.stringify(m)+" + "+JSON.stringify(h))},u.minus=function(m,h){if(1==m.length&&1==h.length){var o=y.valDataConverted(m[0]),l=y.valDataConverted(h[0]);if("number"==typeof o&&"number"==typeof l)return o-l;if(o instanceof f&&l instanceof D)return o.plus(new D(-l.value,l.unit))}throw new Error("Cannot "+JSON.stringify(m)+" - "+JSON.stringify(h))},u.mul=function(m,h){return m*h},u.div=function(m,h){return 0===h?[]:m/h},u.intdiv=function(m,h){return 0===h?[]:Math.floor(m/h)},u.mod=function(m,h){return 0===h?[]:m%h},u.abs=function(m){if(s(m))return[];{let h=v(m);return Math.abs(h)}},u.ceiling=function(m){if(s(m))return[];{let h=v(m);return Math.ceil(h)}},u.exp=function(m){if(s(m))return[];{let h=v(m);return Math.exp(h)}},u.floor=function(m){if(s(m))return[];{let h=v(m);return Math.floor(h)}},u.ln=function(m){if(s(m))return[];{let h=v(m);return Math.log(h)}},u.log=function(m,h){if(s(m)||s(h))return[];{let o=v(m),l=v(h);return Math.log(o)/Math.log(l)}},u.power=function(m,h){if(s(m)||s(h))return[];{let o=v(m),l=v(h);return o<0&&Math.floor(l)!=l?[]:Math.pow(o,l)}},u.round=function(m,h){if(s(m))return[];{let o=v(m);if(s(h))return Math.round(o);{let l=v(h),r=Math.pow(10,l);return Math.round(o*r)/r}}},u.sqrt=function(m){if(s(m))return[];{let h=v(m);return h<0?[]:Math.sqrt(h)}},u.truncate=function(m){if(s(m))return[];{let h=v(m);return Math.trunc(h)}},Me.exports=u},6777:(Me,ie,_)=>{var n=_(5827),f=_(4217);const{FP_Quantity:D}=f;var y={iifMacro:function(g,b,C,x){return n.isTrue(b(g))?C(g):x?x(g):[]},traceFn:function(g,b,C){return this.customTraceFn?this.customTraceFn(C?C(g):g,b??""):C?console.log("TRACE:["+(b||"")+"]",JSON.stringify(C(g),null," ")):console.log("TRACE:["+(b||"")+"]",JSON.stringify(g,null," ")),g}},u=/^[+-]?\d+$/;y.toInteger=function(g){if(1!==g.length)return[];var b=n.valData(g[0]);return!1===b?0:!0===b?1:"number"==typeof b?Number.isInteger(b)?b:[]:"string"==typeof b&&u.test(b)?parseInt(b):[]};const v=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;y.toQuantity=function(g,b){let C;if(b&&!D.mapTimeUnitsToUCUMCode[b]&&(b=`'${b}'`),g.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===g.length){var x=n.valDataConverted(g[0]);let w;if("number"==typeof x)C=new D(x,"'1'");else if(x instanceof D)C=x;else if("boolean"==typeof x)C=new D(x?1:0,"'1'");else if("string"==typeof x&&(w=v.exec(x))){const S=w[5],M=w[6];(!M||D.mapTimeUnitsToUCUMCode[M])&&(C=new D(Number(w[1]),S||M||"'1'"))}C&&b&&C.unit!==b&&(C=D.convUnitTo(C.unit,C.value,b))}return C||[]};var m=/^[+-]?\d+(\.\d+)?$/;function h(g){let b=g.slice(3);y["to"+b]=function(C){var x=[];if(C.length>1)throw Error("to "+b+" called for a collection of length "+C.length);if(1===C.length){var w=f[g].checkString(n.valData(C[0]));w&&(x=w)}return x}}y.toDecimal=function(g){if(1!==g.length)return[];var b=n.valData(g[0]);return!1===b?0:!0===b?1:"number"==typeof b?b:"string"==typeof b&&m.test(b)?parseFloat(b):[]},y.toString=function(g){return 1!==g.length?[]:n.valDataConverted(g[0]).toString()},h("FP_Date"),h("FP_DateTime"),h("FP_Time");const o=["true","t","yes","y","1","1.0"].reduce((g,b)=>(g[b]=!0,g),{}),l=["false","f","no","n","0","0.0"].reduce((g,b)=>(g[b]=!0,g),{});y.toBoolean=function(g){if(1!==g.length)return[];const b=n.valData(g[0]);switch(typeof b){case"boolean":return b;case"number":if(1===b)return!0;if(0===b)return!1;break;case"string":const C=b.toLowerCase();if(o[C])return!0;if(l[C])return!1}return[]},y.createConvertsToFn=function(g,b){return"string"==typeof b?function(C){return 1!==C.length?[]:typeof g(C)===b}:function(C){return 1!==C.length?[]:g(C)instanceof b}};const r={Integer:function(g){const b=n.valData(g[0]);if(Number.isInteger(b))return b},Boolean:function(g){const b=n.valData(g[0]);return!0===b||!1===b?b:1===g.length||void 0},Number:function(g){const b=n.valData(g[0]);if("number"==typeof b)return b},String:function(g){const b=n.valData(g[0]);if("string"==typeof b)return b}};y.singleton=function(g,b){if(g.length>1)throw new Error("Unexpected collection"+JSON.stringify(g)+"; expected singleton of type "+b);if(0===g.length)return[];const C=r[b];if(C){const x=C(g);if(void 0!==x)return x;throw new Error(`Expected ${b.toLowerCase()}, but got: ${JSON.stringify(g)}`)}throw new Error("Not supported type "+b)};const c=new Set(["instant","time","date","dateTime","base64Binary","decimal","integer64","boolean","string","code","markdown","id","integer","unsignedInt","positiveInt","uri","oid","uuid","canonical","url"]);function d(g){switch(typeof g){case"string":case"number":case"boolean":return!0;default:return!1}}y.hasValueFn=function(g){return 1===g.length?this.model?[c.has(g[0].path)]:[d(n.valData(g[0]))]:[!1]},Me.exports=y},3774:(Me,ie,_)=>{const n=_(5827),{ResourceNode:f}=_(4217);let D=f.makeResNode;var y={children:function(u){let v=this.model;return u.reduce(function(s,m){let h=n.valData(m);if(m=D(m),"object"==typeof h){for(var o of Object.keys(h)){var l=h[o],r=m.path+"."+o;if(v){let c=v.pathsDefinedElsewhere[r];c&&(r=c)}Array.isArray(l)?s.push.apply(s,l.map(c=>D(c,r))):s.push(D(l,r))}return s}return s},[])},descendants:function(u){for(var v=y.children.call(this,u),s=[];v.length>0;)s.push.apply(s,v),v=y.children.call(this,v);return s}};Me.exports=y},4192:Me=>{let ie={};function _(y){const v=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +y);if(!v)return 0;const s=v[2];return Math.max(0,("0"===s?0:(s||"").length)-(v[3]||0))}function n(y,u){const v=Math.pow(10,u);return Math.round(y*v)/v}const D=ie.roundToMaxPrecision=function(y){return 1e-8*Math.round(y/1e-8)};ie.isEquivalent=function(y,u){if(Number.isInteger(y)&&Number.isInteger(u))return y===u;const v=Math.min(_(y),_(u));return 0===v?Math.round(y)===Math.round(u):n(y,v)===n(u,v)},ie.isEqual=function(y,u){return D(y)===D(u)},Me.exports=ie},5815:(Me,ie,_)=>{ie.atn=_(871),ie.codepointat=_(6419),ie.dfa=_(7061),ie.fromcodepoint=_(9182),ie.tree=_(9804),ie.error=_(6405),ie.Token=_(6205).Token,ie.CommonToken=_(6205).CommonToken,ie.InputStream=_(1466),ie.CommonTokenStream=_(7456),ie.Lexer=_(9042),ie.Parser=_(111);var n=_(6185);ie.PredictionContextCache=n.PredictionContextCache,ie.ParserRuleContext=_(7293),ie.Interval=_(9173).Interval,ie.IntervalSet=_(9173).IntervalSet,ie.Utils=_(3340),ie.LL1Analyzer=_(4589).LL1Analyzer},2472:(Me,ie,_)=>{const n=_(5815),f=["\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(""),D=(new n.atn.ATNDeserializer).deserialize(f),y=D.decisionToState.map((v,s)=>new n.dfa.DFA(v,s));class u extends n.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 n.atn.LexerATNSimulator(this,D,y,new n.PredictionContextCache)}get atn(){return D}}u.EOF=n.Token.EOF,u.T__0=1,u.T__1=2,u.T__2=3,u.T__3=4,u.T__4=5,u.T__5=6,u.T__6=7,u.T__7=8,u.T__8=9,u.T__9=10,u.T__10=11,u.T__11=12,u.T__12=13,u.T__13=14,u.T__14=15,u.T__15=16,u.T__16=17,u.T__17=18,u.T__18=19,u.T__19=20,u.T__20=21,u.T__21=22,u.T__22=23,u.T__23=24,u.T__24=25,u.T__25=26,u.T__26=27,u.T__27=28,u.T__28=29,u.T__29=30,u.T__30=31,u.T__31=32,u.T__32=33,u.T__33=34,u.T__34=35,u.T__35=36,u.T__36=37,u.T__37=38,u.T__38=39,u.T__39=40,u.T__40=41,u.T__41=42,u.T__42=43,u.T__43=44,u.T__44=45,u.T__45=46,u.T__46=47,u.T__47=48,u.T__48=49,u.T__49=50,u.T__50=51,u.T__51=52,u.T__52=53,u.T__53=54,u.DATETIME=55,u.TIME=56,u.IDENTIFIER=57,u.DELIMITEDIDENTIFIER=58,u.STRING=59,u.NUMBER=60,u.WS=61,u.COMMENT=62,u.LINE_COMMENT=63,Me.exports=u},6647:(Me,ie,_)=>{const n=_(5815);Me.exports=class f extends n.tree.ParseTreeListener{enterEntireExpression(y){}exitEntireExpression(y){}enterIndexerExpression(y){}exitIndexerExpression(y){}enterPolarityExpression(y){}exitPolarityExpression(y){}enterAdditiveExpression(y){}exitAdditiveExpression(y){}enterMultiplicativeExpression(y){}exitMultiplicativeExpression(y){}enterUnionExpression(y){}exitUnionExpression(y){}enterOrExpression(y){}exitOrExpression(y){}enterAndExpression(y){}exitAndExpression(y){}enterMembershipExpression(y){}exitMembershipExpression(y){}enterInequalityExpression(y){}exitInequalityExpression(y){}enterInvocationExpression(y){}exitInvocationExpression(y){}enterEqualityExpression(y){}exitEqualityExpression(y){}enterImpliesExpression(y){}exitImpliesExpression(y){}enterTermExpression(y){}exitTermExpression(y){}enterTypeExpression(y){}exitTypeExpression(y){}enterInvocationTerm(y){}exitInvocationTerm(y){}enterLiteralTerm(y){}exitLiteralTerm(y){}enterExternalConstantTerm(y){}exitExternalConstantTerm(y){}enterParenthesizedTerm(y){}exitParenthesizedTerm(y){}enterNullLiteral(y){}exitNullLiteral(y){}enterBooleanLiteral(y){}exitBooleanLiteral(y){}enterStringLiteral(y){}exitStringLiteral(y){}enterNumberLiteral(y){}exitNumberLiteral(y){}enterDateTimeLiteral(y){}exitDateTimeLiteral(y){}enterTimeLiteral(y){}exitTimeLiteral(y){}enterQuantityLiteral(y){}exitQuantityLiteral(y){}enterExternalConstant(y){}exitExternalConstant(y){}enterMemberInvocation(y){}exitMemberInvocation(y){}enterFunctionInvocation(y){}exitFunctionInvocation(y){}enterThisInvocation(y){}exitThisInvocation(y){}enterIndexInvocation(y){}exitIndexInvocation(y){}enterTotalInvocation(y){}exitTotalInvocation(y){}enterFunctn(y){}exitFunctn(y){}enterParamList(y){}exitParamList(y){}enterQuantity(y){}exitQuantity(y){}enterUnit(y){}exitUnit(y){}enterDateTimePrecision(y){}exitDateTimePrecision(y){}enterPluralDateTimePrecision(y){}exitPluralDateTimePrecision(y){}enterTypeSpecifier(y){}exitTypeSpecifier(y){}enterQualifiedIdentifier(y){}exitQualifiedIdentifier(y){}enterIdentifier(y){}exitIdentifier(y){}}},8827:(Me,ie,_)=>{const n=_(5815),f=_(6647),D=["\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(""),y=(new n.atn.ATNDeserializer).deserialize(D),u=y.decisionToState.map((Ae,q)=>new n.dfa.DFA(Ae,q)),v=new n.PredictionContextCache;class s extends n.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 n.atn.ParserATNSimulator(this,y,u,v),this.ruleNames=s.ruleNames,this.literalNames=s.literalNames,this.symbolicNames=s.symbolicNames}get atn(){return y}sempred(q,Re,ke){if(1===Re)return this.expression_sempred(q,ke);throw"No predicate with index:"+Re}expression_sempred(q,Re){switch(Re){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:"+Re}}entireExpression(){let q=new m(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(Re){if(!(Re instanceof n.error.RecognitionException))throw Re;q.exception=Re,this._errHandler.reportError(this,Re),this._errHandler.recover(this,Re)}finally{this.exitRule()}return q}expression(q){void 0===q&&(q=0);const Re=this._ctx,ke=this.state;let Ke=new h(this,this._ctx,ke),me=Ke;this.enterRecursionRule(Ke,2,s.RULE_expression,q);var Ne=0;try{switch(this.enterOuterAlt(Ke,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:Ke=new M(this,Ke),this._ctx=Ke,me=Ke,this.state=34,this.term();break;case s.T__3:case s.T__4:Ke=new l(this,Ke),this._ctx=Ke,me=Ke,this.state=35,(Ne=this._input.LA(1))===s.T__3||Ne===s.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new n.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var Be=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Be&&Be!=n.atn.ATN.INVALID_ALT_NUMBER;){if(1===Be)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),me=Ke,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(Ke=new c(this,new h(this,Re,ke)),this.pushNewRecursionContext(Ke,2,s.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new n.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,!(-32&(Ne=this._input.LA(1)))&&1<{const n=_(5815),f=_(2472),D=_(8827),y=_(6647);class u extends n.error.ErrorListener{constructor(m){super(),this.errors=m}syntaxError(m,h,o,l,r,c){this.errors.push([m,h,o,l,r,c])}}Me.exports={parse:function(s){var m=new n.InputStream(s),h=new f(m),o=new n.CommonTokenStream(h),l=new D(o);l.buildParseTrees=!0;var r=[],c=new u(r);h.removeErrorListeners(),h.addErrorListener(c),l.removeErrorListeners(),l.addErrorListener(c);var d=l.entireExpression();class g extends y{constructor(){super()}}var C,b={},x=[b];for(let S of Object.getOwnPropertyNames(y.prototype))S.startsWith("enter")?g.prototype[S]=function(M){let k=x[x.length-1];(C={type:S.slice(5)}).text=M.getText(),k.children||(k.children=[]),k.children.push(C),x.push(C),C.terminalNodeText=[];for(let P of M.children)P.symbol&&C.terminalNodeText.push(P.getText())}:S.startsWith("exit")&&(g.prototype[S]=function(){x.pop()});var w=new g;if(n.tree.ParseTreeWalker.DEFAULT.walk(w,d),r.length>0){let S=[];for(let M=0,k=r.length;M{const Me=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(ie){return"number"==typeof ie&&isFinite(ie)&&Math.floor(ie)===ie},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(ie,_){return this.indexOf(ie,_=_||0)===_}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(ie,_){var n=this.toString();(void 0===_||_>n.length)&&(_=n.length);var f=n.indexOf(ie,_-=ie.length);return-1!==f&&f===_}}),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(ie){if(null==ie)throw new TypeError("Cannot convert undefined or null to object");return Me(arguments,1).reduce(function(_,n){return Object.keys(Object(n)).forEach(function(f){_[f]=n[f]}),_},Object(ie))}}),typeof btoa>"u"&&(global.btoa=function(ie){return new Buffer.from(ie,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(ie){return new Buffer.from(ie,"base64").toString("binary")})},4702:(Me,ie,_)=>{const n=_(5827),f=_(6777),D={},y={};D.indexOf=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.indexOf(m)},D.substring=function(s,m,h){const o=f.singleton(s,"String");return n.isEmpty(o)||n.isEmpty(m)||m<0||m>=o.length?[]:void 0===h||n.isEmpty(h)?o.substring(m):o.substring(m,m+h)},D.startsWith=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.startsWith(m)},D.endsWith=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.endsWith(m)},D.containsFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:h.includes(m)},D.upper=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.toUpperCase()},D.lower=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.toLowerCase()},D.joinFn=function(s,m){return void 0===m&&(m=""),s.map(o=>{const l=n.valData(o);if("string"==typeof l)return l;throw new Error("Join requires a collection of strings.")}).join(m)},D.splitFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(h)?[]:h.split(m)},D.trimFn=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.trim()},D.encodeFn=function(s,m){const h=f.singleton(s,"String");return n.isEmpty(h)?[]:"urlbase64"===m||"base64url"===m?btoa(h).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===m?btoa(h):"hex"===m?Array.from(h).map(o=>o.charCodeAt(0)<128?o.charCodeAt(0).toString(16):encodeURIComponent(o).replace(/%/g,"")).join(""):[]},D.decodeFn=function(s,m){const h=f.singleton(s,"String");if(n.isEmpty(h))return[];if("urlbase64"===m||"base64url"===m)return atob(h.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===m)return atob(h);if("hex"===m){if(h.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+h.match(/.{2}/g).join("%"))}return[]},D.matches=!1===new RegExp("").dotAll?function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:new RegExp(m,"s").test(h)}:function(s,m){const h=f.singleton(s,"String");return n.isEmpty(m)||n.isEmpty(h)?[]:new RegExp(function u(s){return y[s]||(y[s]=s.replace(/\./g,(m,h,o)=>{const r=o.substr(0,h).replace(/\\\\/g,"").replace(/\\[\][]/g,""),c="\\"===r[r.length-1],d=r.lastIndexOf("["),g=r.lastIndexOf("]");return c||d>g?".":"[^]"})),y[s]}(m)).test(h)},D.replace=function(s,m,h){const o=f.singleton(s,"String");if(n.isEmpty(m)||n.isEmpty(h)||n.isEmpty(o))return[];const l=new RegExp(n.escapeStringForRegExp(m),"g");return o.replace(l,h)},D.replaceMatches=function(s,m,h){const o=f.singleton(s,"String");if(n.isEmpty(m)||n.isEmpty(h)||n.isEmpty(o))return[];const l=new RegExp(m,"g");return o.replace(l,h)},D.length=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.length},D.toChars=function(s){const m=f.singleton(s,"String");return n.isEmpty(m)?[]:m.split("")},Me.exports=D},4217:(Me,ie,_)=>{const n=_(3745),f=_(2207).ng.getInstance(),D=_(4192);let u="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",v=new RegExp("^T?"+u+"$"),s=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+u+")?)?)?Z?$"),m=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9])?)?$"),h=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 o{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class l extends o{constructor(P,A){super(),this.asStr=P+" "+A,this.value=P,this.unit=A}equals(P){if(!(P instanceof this.constructor))return!1;if(this.unit===P.unit)return D.isEqual(this.value,P.value);const A=this._compareYearsAndMonths(P);if(A)return A.isEqual;const L=l.toUcumQuantity(this.value,this.unit),F=l.toUcumQuantity(P.value,P.unit),R=f.convertUnitTo(F.unit,F.value,L.unit);return"succeeded"===R.status&&D.isEqual(L.value,R.toVal)}equivalentTo(P){if(!(P instanceof this.constructor))return!1;if(this.unit===P.unit)return D.isEquivalent(this.value,P.value);const A=l.getEquivalentUcumUnitCode(this.unit),L=l.getEquivalentUcumUnitCode(P.unit),F=f.convertUnitTo(L,P.value,A);return"succeeded"===F.status&&D.isEquivalent(this.value,F.toVal)}_compareYearsAndMonths(P){const A=l._yearMonthConversionFactor[this.unit],L=l._yearMonthConversionFactor[P.unit];return A&&L?{isEqual:D.isEqual(this.value*A,P.value*L)}:null}}const r=/^'|'$/g;l.getEquivalentUcumUnitCode=function(I){return l.mapTimeUnitsToUCUMCode[I]||I.replace(r,"")},l.toUcumQuantity=function(I,P){const A=l._calendarDuration2Seconds[P];return A?{value:A*I,unit:"s"}:{value:I,unit:P.replace(r,"")}},l.convUnitTo=function(I,P,A){const L=l._yearMonthConversionFactor[I],F=l._yearMonthConversionFactor[A];if(L&&F)return new l(L*P/F,A);const R=l._calendarDuration2Seconds[I],U=l._calendarDuration2Seconds[A];if(U){if(R)return new l(R*P/U,A);{const W=f.convertUnitTo(I.replace(/^'|'$/g,""),P,"s");if("succeeded"===W.status)return new l(W.toVal/U,A)}}else{const W=R?f.convertUnitTo("s",R*P,A.replace(/^'|'$/g,"")):f.convertUnitTo(I.replace(/^'|'$/g,""),P,A.replace(/^'|'$/g,""));if("succeeded"===W.status)return new l(W.toVal,A)}return null},l._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},l._yearMonthConversionFactor={years:12,months:1,year:12,month:1},l.arithmeticDurationUnits={years:"year",months:"month",weeks:"week",days:"day",hours:"hour",minutes:"minute",seconds:"second",milliseconds:"millisecond",year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond","'wk'":"week","'d'":"day","'h'":"hour","'min'":"minute","'s'":"second","'ms'":"millisecond"},l.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},l.mapTimeUnitsToUCUMCode=Object.keys(l.mapUCUMCodeToTimeUnits).reduce(function(I,P){return I[l.mapUCUMCodeToTimeUnits[P]]=P,I[l.mapUCUMCodeToTimeUnits[P]+"s"]=P,I},{});class c extends o{constructor(P){super(),this.asStr=P}plus(P){let L=l.arithmeticDurationUnits[P.unit];if(!L)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(l.arithmeticDurationUnits));const F=this.constructor,R=F._timeUnitToDatePrecision[L];if(void 0===R)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(F._timeUnitToDatePrecision).join(", ")+".");let U=P.value;const W=F===g;if((W?R<2:R<5)&&(U=Math.trunc(U)),this._getPrecision()2?new d(U)._getTimeParts():this._getTimeParts(),ee=F>2?new d(W)._getTimeParts():P._getTimeParts(),j=0;j<=R&&!1!==A;++j)A=ne[j]==ee[j];A&&(A=void 0)}}else A=!1;return A}equivalentTo(P){var A=P instanceof this.constructor;return A&&(A=this._getPrecision()==P._getPrecision())&&(A=this._getDateObj().getTime()==P._getDateObj().getTime()),A}compare(P){var A=this._getPrecision(),L=P._getPrecision(),F=A<=L?this._getDateObj().getTime():this._dateAtPrecision(L).getTime(),R=L<=A?P._getDateObj().getTime():P._dateAtPrecision(A).getTime();return A!==L&&F===R?null:F-R}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(P,A){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(P),this.timeMatchData))for(let L=A;L>=0&&void 0===this.precision;--L)this.timeMatchData[L]&&(this.precision=L);return this.timeMatchData}_getTimeParts(P){var A=[];A=[P[0]];var L=P[4];if(L){let W=A[0];A[0]=W.slice(0,W.length-L.length)}var F=P[1];if(F){let W=A[0];A[0]=W.slice(0,W.length-F.length),A[1]=F;var R=P[2];if(R){A[1]=F.slice(0,F.length-R.length),A[2]=R;var U=P[3];U&&(A[2]=R.slice(0,R.length-U.length),A[3]=U)}}return A}_getDateObj(){if(!this.dateObj){var P=this._getPrecision();this.dateObj=this._dateAtPrecision(P)}return this.dateObj}_createDate(P,A,L,F,R,U,W,ne){var ee=new Date(P,A,L,F,R,U,W);if(ne){var j=ee.getTimezoneOffset(),B=0;if("Z"!=ne){var $=ne.split(":"),Z=parseInt($[0]);B=parseInt($[1]),Z<0&&(B=-B),B+=60*Z}ee=n(ee,-j-B)}return ee}}c.timeUnitToAddFn={year:_(3763),month:_(1277),week:_(338),day:_(2860),hour:_(6888),minute:_(3745),second:_(3857),millisecond:_(3895)};let d=(()=>{class I extends c{constructor(A){super(A)}compare(A){if(!(A instanceof I))throw"Invalid comparison of a DateTime with something else";return super.compare(A)}_getMatchData(){return super._getMatchData(s,5)}_getTimeParts(){if(!this.timeParts){let L=this._getMatchData(),F=L[0];this.timeParts=[F];var A=L[1];if(A){this.timeParts[0]=F.slice(0,F.length-A.length),this.timeParts[1]=A;let R=L[2];if(R){this.timeParts[1]=A.slice(0,A.length-R.length),this.timeParts[2]=R;let U=L[3];U&&(this.timeParts[2]=R.slice(0,R.length-U.length),"T"===U[0]&&(L[3]=U.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(L.slice(3))))}}}return this.timeParts}_dateAtPrecision(A){var L=this._getTimeParts(),F=this._getMatchData()[7],R=this._getPrecision(),U=parseInt(L[0]),W=R>0?parseInt(L[1].slice(1))-1:0,ne=R>1?parseInt(L[2].slice(1)):1,ee=R>2?parseInt(L[3]):0,j=R>3?parseInt(L[4].slice(1)):0,B=R>4?parseInt(L[5].slice(1)):0,$=L.length>6?parseInt(L[6].slice(1)):0,Z=this._createDate(U,W,ne,ee,j,B,$,F);return A0?Z.getMonth():0,ne=A>1?Z.getDate():1,ee=A>2?Z.getHours():0,j=A>3?Z.getMinutes():0,Z=new Date(U,W,ne,ee,j)),Z}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},I._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],I})(),g=(()=>{class I extends c{constructor(A){"T"==A[0]&&(A=A.slice(1)),super(A)}compare(A){if(!(A instanceof I))throw"Invalid comparison of a time with something else";return super.compare(A)}_dateAtPrecision(A){var L=this._getTimeParts(),F=this._getMatchData()[4],R=this._getPrecision(),U=2010,ee=parseInt(L[0]),j=R>0?parseInt(L[1].slice(1)):0,B=R>1?parseInt(L[2].slice(1)):0,$=L.length>3?parseInt(L[3].slice(1)):0,Z=this._createDate(U,0,1,ee,j,B,$,F);return F&&(Z.setYear(U),Z.setMonth(0),Z.setDate(1)),A0?Z.getMinutes():0,Z=new Date(U,0,1,ee,j)),Z}_getMatchData(){return super._getMatchData(v,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},I._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],I})();function b(I,P){var A=I;return 3===P&&I<100&&(A="0"+I),I<10&&(A="0"+A),A}d.isoDateTime=function(I,P){void 0===P&&(P=5);var A=""+I.getFullYear();if(P>0&&(A+="-"+b(I.getMonth()+1),P>1&&(A+="-"+b(I.getDate()),P>2&&(A+="T"+d.isoTime(I,P-3)))),P>2){var L=I.getTimezoneOffset(),F=L<0?"+":"-",R=(L=Math.abs(L))%60;A+=F+b((L-R)/60)+":"+b(R)}return A},d.isoTime=function(I,P){void 0===P&&(P=2);let A=""+b(I.getHours());return P>0&&(A+=":"+b(I.getMinutes()),P>1&&(A+=":"+b(I.getSeconds()),I.getMilliseconds()&&(A+="."+b(I.getMilliseconds(),3)))),A};let C=(()=>{class I extends d{constructor(A){super(A)}_getMatchData(){return c.prototype._getMatchData.apply(this,[m,2])}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I.isoDate=function(P,A){return(void 0===A||A>2)&&(A=2),d.isoDateTime(P,A)},I})(),x=(()=>{class I extends d{constructor(A){super(A)}_getMatchData(){return c.prototype._getMatchData.apply(this,[h,5])}}return I.checkString=function(P){let A=new I(P);return A._getMatchData()||(A=null),A},I})(),w=(()=>{class I{constructor(A,L,F){A?.resourceType&&(L=A.resourceType),this.path=L,this.data=A,this._data=F||{}}getTypeInfo(){const A=T.FHIR;return/^System\.(.*)$/.test(this.path)?new T({namespace:T.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new T({namespace:A,name:this.path}):T.model?new T({namespace:A,name:"BackboneElement"}):T.createByValueInNamespace({namespace:A,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var A=this.data;const L=T.typeToClassWithCheckString[this.path];if(L)A=L.checkString(A)||A;else if(T.isType(this.path,"Quantity")&&"http://unitsofmeasure.org"===A?.system&&"number"==typeof A.value&&"string"==typeof A.code){if(void 0!==A.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");A=new l(A.value,l.mapUCUMCodeToTimeUnits[A.code]||"'"+A.code+"'")}return A}}return I.makeResNode=function(P,A,L){return P instanceof I?P:new I(P,A,L)},I})(),T=(()=>{class I{constructor({name:A,namespace:L}){this.name=A,this.namespace=L}static model=null;is(A){return A instanceof I&&(!this.namespace||!A.namespace||this.namespace===A.namespace)&&(!I.model||this.namespace&&this.namespace!==I.FHIR?this.name===A.name:I.isType(this.name,A.name))}}return I.typeToClassWithCheckString={date:C,dateTime:d,instant:x,time:g},I.isType=function(P,A){do{if(P===A)return!0}while(P=I.model?.type2Parent[P]);return!1},I.System="System",I.FHIR="FHIR",I.createByValueInNamespace=function({namespace:P,value:A}){let L=typeof A;return Number.isInteger(A)?L="integer":"number"===L?L="decimal":A instanceof C?L="date":A instanceof d?L="dateTime":A instanceof g?L="time":A instanceof l&&(L="Quantity"),P===I.System&&(L=L.replace(/^\w/,F=>F.toUpperCase())),new I({namespace:P,name:L})},I.fromValue=function(P){return P instanceof w?P.getTypeInfo():I.createByValueInNamespace({namespace:I.System,value:P})},I})();Me.exports={FP_Type:o,FP_TimeBase:c,FP_Date:C,FP_DateTime:d,FP_Instant:x,FP_Time:g,FP_Quantity:l,timeRE:v,dateTimeRE:s,ResourceNode:w,TypeInfo:T,typeFn:function S(I){return I.map(P=>T.fromValue(P))},isFn:function M(I,P){if(0===I.length)return[];if(I.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(I));return T.fromValue(I[0]).is(P)},asFn:function k(I,P){if(0===I.length)return[];if(I.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(I));return T.fromValue(I[0]).is(P)?I:[]}}},5827:(Me,ie,_)=>{const n={},f=_(4217);let{ResourceNode:D}=f;n.raiseError=function(y,u){throw(u=u?u+": ":"")+y},n.assertAtMostOne=function(y,u){y.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(y),u)},n.assertType=function(y,u,v){let s=this.valData(y);if(u.indexOf(typeof s)<0){let m=u.length>1?"one of "+u.join(", "):u[0];n.raiseError("Found type '"+typeof y+"' but was expecting "+m,v)}return s},n.isEmpty=function(y){return Array.isArray(y)&&0==y.length},n.isSome=function(y){return null!=y&&!n.isEmpty(y)},n.isTrue=function(y){return null!=y&&(!0===y||1==y.length&&!0===y[0])},n.isFalse=function(y){return null!=y&&(!1===y||1==y.length&&!1===y[0])},n.isCapitalized=function(y){return y&&y[0]===y[0].toUpperCase()},n.flatten=function(y){return y.reduce(function(u,v){return Array.isArray(v)?u=u.concat(v):u.push(v),u},[])},n.arraify=function(y){return Array.isArray(y)?y:n.isSome(y)?[y]:[]},n.valData=function(y){return y instanceof D?y.data:y},n.valDataConverted=function(y){return y instanceof D&&(y=y.convertData()),y},n.escapeStringForRegExp=function(y){return y.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},Me.exports=n},220:Me=>{"use strict";Me.exports=function(ie,_){for(var n={},f=Object.keys(ie),D=Array.isArray(_),y=0;y{!function(Me,ie){"use strict";var _="hljs-ln",n="hljs-ln-line",f="hljs-ln-code",D="hljs-ln-numbers",y="hljs-ln-n",u="data-line-number",v=/\r\n|\r|\n/g;function r(R){try{var U=ie.querySelectorAll("code.hljs,code.nohighlight");for(var W in U)U.hasOwnProperty(W)&&(c(U[W])||d(U[W],R))}catch(ne){Me.console.error("LineNumbers error: ",ne)}}function c(R){return R.classList.contains("nohljsln")}function d(R,U){"object"==typeof R&&function P(R){Me.setTimeout(R,0)}(function(){R.innerHTML=b(R,U)})}function b(R,U){var W=function x(R,U){return{singleLine:w(U=U||{}),startFrom:T(R,U)}}(R,U);return S(R),function C(R,U){var W=k(R);if(""===W[W.length-1].trim()&&W.pop(),W.length>1||U.singleLine){for(var ne="",ee=0,j=W.length;ee
{6}',[n,D,y,u,f,ee+U.startFrom,W[ee].length>0?W[ee]:" "]);return A('{1}
',[_,ne])}return R}(R.innerHTML,W)}function w(R){return!!R.singleLine&&R.singleLine}function T(R,U){var ne=1;isFinite(U.startFrom)&&(ne=U.startFrom);var ee=function L(R,U){return R.hasAttribute(U)?R.getAttribute(U):null}(R,"data-ln-start-from");return null!==ee&&(ne=function F(R,U){if(!R)return U;var W=Number(R);return isFinite(W)?W:U}(ee,1)),ne}function S(R){var U=R.childNodes;for(var W in U)if(U.hasOwnProperty(W)){var ne=U[W];I(ne.textContent)>0&&(ne.childNodes.length>0?S(ne):M(ne.parentNode))}}function M(R){var U=R.className;if(/hljs-/.test(U)){for(var W=k(R.innerHTML),ne=0,ee="";ne{1}\n',[U,W[ne].length>0?W[ne]:" "]);R.innerHTML=ee.trim()}}function k(R){return 0===R.length?[]:R.split(v)}function I(R){return(R.trim().match(v)||[]).length}function A(R,U){return R.replace(/\{(\d+)\}/g,function(W,ne){return void 0!==U[ne]?U[ne]:W})}Me.hljs?(Me.hljs.initLineNumbersOnLoad=function l(R){"interactive"===ie.readyState||"complete"===ie.readyState?r(R):Me.addEventListener("DOMContentLoaded",function(){r(R)})},Me.hljs.lineNumbersBlock=d,Me.hljs.lineNumbersValue=function g(R,U){if("string"==typeof R){var W=document.createElement("code");return W.innerHTML=R,b(W,U)}},function o(){var R=ie.createElement("style");R.type="text/css",R.innerHTML=A(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[_,y,u]),ie.getElementsByTagName("head")[0].appendChild(R)}()):Me.console.error("highlight.js not detected!"),document.addEventListener("copy",function(R){var W,U=window.getSelection();(function s(R){for(var U=R;U;){if(U.className&&-1!==U.className.indexOf("hljs-ln-code"))return!0;U=U.parentNode}return!1})(U.anchorNode)&&(W=-1!==window.navigator.userAgent.indexOf("Edge")?function h(R){for(var U=R.toString(),W=R.anchorNode;"TD"!==W.nodeName;)W=W.parentNode;for(var ne=R.focusNode;"TD"!==ne.nodeName;)ne=ne.parentNode;var ee=parseInt(W.dataset.lineNumber),j=parseInt(ne.dataset.lineNumber);if(ee!=j){var B=W.textContent,$=ne.textContent;if(ee>j){var Z=ee;ee=j,j=Z,Z=B,B=$,$=Z}for(;0!==U.indexOf(B);)B=B.slice(1);for(;-1===U.lastIndexOf($);)$=$.slice(0,-1);for(var H=B,te=function m(R){for(var U=R;"TABLE"!==U.nodeName;)U=U.parentNode;return U}(W),ue=ee+1;ue{"use strict";Me.exports=Number.isFinite||function(ie){return!("number"!=typeof ie||ie!=ie||ie===1/0||ie===-1/0)}},4864:(Me,ie,_)=>{var n=_(9136);Me.exports=Number.isInteger||function(f){return"number"==typeof f&&n(f)&&Math.floor(f)===f}},1328:function(Me,ie){var _,f;void 0!==(f="function"==typeof(_=function(){"use strict";function D(o){function l(b){for(var C=0,x=r.length;C127){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 y(o){if(!(o 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 D(function(l,r,c){var d=new Worker(v),g=[];d.onerror=function(b){r(b)},d.onmessage=function(b){switch((b=b.data).type){case"log":console[b.data.level]("Worker: "+b.data.msg);break;case"extract":var C=function u(o){return Object.defineProperties(o,h),o}(b.data);g.push(C),c(C);break;case"complete":d.terminate(),l(g);break;case"error":d.terminate(),r(new Error(b.data.message));break;default:d.terminate(),r(new Error("Unknown message from worker: "+b.type))}},d.postMessage({type:"extract",buffer:o},[o])})}})?_.apply(ie,[]):_)&&(Me.exports=f)},3187:(Me,ie)=>{function n(f,D){var y=[],u=[];return null==D&&(D=function(v,s){return y[0]===s?"[Circular ~]":"[Circular ~."+u.slice(0,y.indexOf(s)).join(".")+"]"}),function(v,s){if(y.length>0){var m=y.indexOf(this);~m?y.splice(m+1):y.push(this),~m?u.splice(m,1/0,v):u.push(v),~y.indexOf(s)&&(s=D.call(this,v,s))}else y.push(s);return null==f?s:f.call(this,v,s)}}(Me.exports=function _(f,D,y,u){return JSON.stringify(f,n(D,u),y)}).getSerialize=n},7253:Me=>{var ie=1e3,_=6e4,n=60*_,f=24*n;function m(h,o,l,r){var c=o>=1.5*l;return Math.round(h/l)+" "+r+(c?"s":"")}Me.exports=function(h,o){o=o||{};var l=typeof h;if("string"===l&&h.length>0)return function u(h){if(!((h=String(h)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(h);if(o){var l=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"weeks":case"week":case"w":return 6048e5*l;case"days":case"day":case"d":return l*f;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*_;case"seconds":case"second":case"secs":case"sec":case"s":return l*ie;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}(h);if("number"===l&&isFinite(h))return o.long?function s(h){var o=Math.abs(h);return o>=f?m(h,o,f,"day"):o>=n?m(h,o,n,"hour"):o>=_?m(h,o,_,"minute"):o>=ie?m(h,o,ie,"second"):h+" ms"}(h):function v(h){var o=Math.abs(h);return o>=f?Math.round(h/f)+"d":o>=n?Math.round(h/n)+"h":o>=_?Math.round(h/_)+"m":o>=ie?Math.round(h/ie)+"s":h+"ms"}(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))}},4783:Me=>{"use strict";const ie=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!ie)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!ie.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');Me.exports.AbortController=ie.AbortController},133:(Me,ie,_)=>{"use strict";const n=_(8385),f=_(4989),D=_(6144),y=_(220),v=Symbol("encodeFragmentIdentifier");function h(x){if("string"!=typeof x||1!==x.length)throw new TypeError("arrayFormatSeparator must be single character string")}function o(x,w){return w.encode?w.strict?n(x):encodeURIComponent(x):x}function l(x,w){return w.decode?f(x):x}function r(x){return Array.isArray(x)?x.sort():"object"==typeof x?r(Object.keys(x)).sort((w,T)=>Number(w)-Number(T)).map(w=>x[w]):x}function c(x){const w=x.indexOf("#");return-1!==w&&(x=x.slice(0,w)),x}function g(x){const w=(x=c(x)).indexOf("?");return-1===w?"":x.slice(w+1)}function b(x,w){return w.parseNumbers&&!Number.isNaN(Number(x))&&"string"==typeof x&&""!==x.trim()?x=Number(x):w.parseBooleans&&null!==x&&("true"===x.toLowerCase()||"false"===x.toLowerCase())&&(x="true"===x.toLowerCase()),x}function C(x,w){h((w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w)).arrayFormatSeparator);const T=function m(x){let w;switch(x.arrayFormat){case"index":return(T,S,M)=>{w=/\[(\d*)\]$/.exec(T),T=T.replace(/\[\d*\]$/,""),w?(void 0===M[T]&&(M[T]={}),M[T][w[1]]=S):M[T]=S};case"bracket":return(T,S,M)=>{w=/(\[\])$/.exec(T),M[T=T.replace(/\[\]$/,"")]=w?void 0!==M[T]?[].concat(M[T],S):[S]:S};case"colon-list-separator":return(T,S,M)=>{w=/(:list)$/.exec(T),M[T=T.replace(/:list$/,"")]=w?void 0!==M[T]?[].concat(M[T],S):[S]:S};case"comma":case"separator":return(T,S,M)=>{const k="string"==typeof S&&S.includes(x.arrayFormatSeparator),I="string"==typeof S&&!k&&l(S,x).includes(x.arrayFormatSeparator);S=I?l(S,x):S;const P=k||I?S.split(x.arrayFormatSeparator).map(A=>l(A,x)):null===S?S:l(S,x);M[T]=P};case"bracket-separator":return(T,S,M)=>{const k=/(\[\])$/.test(T);if(T=T.replace(/\[\]$/,""),!k)return void(M[T]=S&&l(S,x));const I=null===S?[]:S.split(x.arrayFormatSeparator).map(P=>l(P,x));M[T]=void 0!==M[T]?[].concat(M[T],I):I};default:return(T,S,M)=>{M[T]=void 0!==M[T]?[].concat(M[T],S):S}}}(w),S=Object.create(null);if("string"!=typeof x||!(x=x.trim().replace(/^[?#&]/,"")))return S;for(const M of x.split("&")){if(""===M)continue;let[k,I]=D(w.decode?M.replace(/\+/g," "):M,"=");I=void 0===I?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?I:l(I,w),T(l(k,w),I,S)}for(const M of Object.keys(S)){const k=S[M];if("object"==typeof k&&null!==k)for(const I of Object.keys(k))k[I]=b(k[I],w);else S[M]=b(k,w)}return!1===w.sort?S:(!0===w.sort?Object.keys(S).sort():Object.keys(S).sort(w.sort)).reduce((M,k)=>{const I=S[k];return M[k]=I&&"object"==typeof I&&!Array.isArray(I)?r(I):I,M},Object.create(null))}ie.extract=g,ie.parse=C,ie.stringify=(x,w)=>{if(!x)return"";h((w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w)).arrayFormatSeparator);const T=I=>w.skipNull&&(x=>null==x)(x[I])||w.skipEmptyString&&""===x[I],S=function s(x){switch(x.arrayFormat){case"index":return w=>(T,S)=>{const M=T.length;return void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),"[",M,"]"].join("")]:[...T,[o(w,x),"[",o(M,x),"]=",o(S,x)].join("")]};case"bracket":return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),"[]"].join("")]:[...T,[o(w,x),"[]=",o(S,x)].join("")];case"colon-list-separator":return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,[o(w,x),":list="].join("")]:[...T,[o(w,x),":list=",o(S,x)].join("")];case"comma":case"separator":case"bracket-separator":{const w="bracket-separator"===x.arrayFormat?"[]=":"=";return T=>(S,M)=>void 0===M||x.skipNull&&null===M||x.skipEmptyString&&""===M?S:(M=null===M?"":M,0===S.length?[[o(T,x),w,o(M,x)].join("")]:[[S,o(M,x)].join(x.arrayFormatSeparator)])}default:return w=>(T,S)=>void 0===S||x.skipNull&&null===S||x.skipEmptyString&&""===S?T:null===S?[...T,o(w,x)]:[...T,[o(w,x),"=",o(S,x)].join("")]}}(w),M={};for(const I of Object.keys(x))T(I)||(M[I]=x[I]);const k=Object.keys(M);return!1!==w.sort&&k.sort(w.sort),k.map(I=>{const P=x[I];return void 0===P?"":null===P?o(I,w):Array.isArray(P)?0===P.length&&"bracket-separator"===w.arrayFormat?o(I,w)+"[]":P.reduce(S(I),[]).join("&"):o(I,w)+"="+o(P,w)}).filter(I=>I.length>0).join("&")},ie.parseUrl=(x,w)=>{w=Object.assign({decode:!0},w);const[T,S]=D(x,"#");return Object.assign({url:T.split("?")[0]||"",query:C(g(x),w)},w&&w.parseFragmentIdentifier&&S?{fragmentIdentifier:l(S,w)}:{})},ie.stringifyUrl=(x,w)=>{w=Object.assign({encode:!0,strict:!0,[v]:!0},w);const T=c(x.url).split("?")[0]||"",S=ie.extract(x.url),M=ie.parse(S,{sort:!1}),k=Object.assign(M,x.query);let I=ie.stringify(k,w);I&&(I=`?${I}`);let P=function d(x){let w="";const T=x.indexOf("#");return-1!==T&&(w=x.slice(T)),w}(x.url);return x.fragmentIdentifier&&(P=`#${w[v]?o(x.fragmentIdentifier,w):x.fragmentIdentifier}`),`${T}${I}${P}`},ie.pick=(x,w,T)=>{T=Object.assign({parseFragmentIdentifier:!0,[v]:!1},T);const{url:S,query:M,fragmentIdentifier:k}=ie.parseUrl(x,T);return ie.stringifyUrl({url:S,query:y(M,w),fragmentIdentifier:k},T)},ie.exclude=(x,w,T)=>{const S=Array.isArray(w)?M=>!w.includes(M):(M,k)=>!w(M,k);return ie.pick(x,S,T)}},5619:(Me,ie,_)=>{"use strict";_.d(ie,{X:()=>f});var n=_(8645);class f extends n.x{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const u=super._subscribe(y);return!u.closed&&y.next(this._value),u}getValue(){const{hasError:y,thrownError:u,_value:v}=this;if(y)throw u;return this._throwIfClosed(),v}next(y){super.next(this._value=y)}}},5592:(Me,ie,_)=>{"use strict";_.d(ie,{y:()=>m});var n=_(305),f=_(7394),D=_(4850),y=_(8407),u=_(2653),v=_(4674),s=_(1441);let m=(()=>{class r{constructor(d){d&&(this._subscribe=d)}lift(d){const g=new r;return g.source=this,g.operator=d,g}subscribe(d,g,b){const C=function l(r){return r&&r instanceof n.Lv||function o(r){return r&&(0,v.m)(r.next)&&(0,v.m)(r.error)&&(0,v.m)(r.complete)}(r)&&(0,f.Nn)(r)}(d)?d:new n.Hp(d,g,b);return(0,s.x)(()=>{const{operator:x,source:w}=this;C.add(x?x.call(C,w):w?this._subscribe(C):this._trySubscribe(C))}),C}_trySubscribe(d){try{return this._subscribe(d)}catch(g){d.error(g)}}forEach(d,g){return new(g=h(g))((b,C)=>{const x=new n.Hp({next:w=>{try{d(w)}catch(T){C(T),x.unsubscribe()}},error:C,complete:b});this.subscribe(x)})}_subscribe(d){var g;return null===(g=this.source)||void 0===g?void 0:g.subscribe(d)}[D.L](){return this}pipe(...d){return(0,y.U)(d)(this)}toPromise(d){return new(d=h(d))((g,b)=>{let C;this.subscribe(x=>C=x,x=>b(x),()=>g(C))})}}return r.create=c=>new r(c),r})();function h(r){var c;return null!==(c=r??u.config.Promise)&&void 0!==c?c:Promise}},7328:(Me,ie,_)=>{"use strict";_.d(ie,{t:()=>D});var n=_(8645),f=_(4552);class D extends n.x{constructor(u=1/0,v=1/0,s=f.l){super(),this._bufferSize=u,this._windowTime=v,this._timestampProvider=s,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=v===1/0,this._bufferSize=Math.max(1,u),this._windowTime=Math.max(1,v)}next(u){const{isStopped:v,_buffer:s,_infiniteTimeWindow:m,_timestampProvider:h,_windowTime:o}=this;v||(s.push(u),!m&&s.push(h.now()+o)),this._trimBuffer(),super.next(u)}_subscribe(u){this._throwIfClosed(),this._trimBuffer();const v=this._innerSubscribe(u),{_infiniteTimeWindow:s,_buffer:m}=this,h=m.slice();for(let o=0;o{"use strict";_.d(ie,{x:()=>s});var n=_(5592),f=_(7394);const y=(0,_(2306).d)(h=>function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var u=_(9039),v=_(1441);let s=(()=>{class h extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(l){const r=new m(this,this);return r.operator=l,r}_throwIfClosed(){if(this.closed)throw new y}next(l){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(l)}})}error(l){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=l;const{observers:r}=this;for(;r.length;)r.shift().error(l)}})}complete(){(0,v.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:l}=this;for(;l.length;)l.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var l;return(null===(l=this.observers)||void 0===l?void 0:l.length)>0}_trySubscribe(l){return this._throwIfClosed(),super._trySubscribe(l)}_subscribe(l){return this._throwIfClosed(),this._checkFinalizedStatuses(l),this._innerSubscribe(l)}_innerSubscribe(l){const{hasError:r,isStopped:c,observers:d}=this;return r||c?f.Lc:(this.currentObservers=null,d.push(l),new f.w0(()=>{this.currentObservers=null,(0,u.P)(d,l)}))}_checkFinalizedStatuses(l){const{hasError:r,thrownError:c,isStopped:d}=this;r?l.error(c):d&&l.complete()}asObservable(){const l=new n.y;return l.source=this,l}}return h.create=(o,l)=>new m(o,l),h})();class m extends s{constructor(o,l){super(),this.destination=o,this.source=l}next(o){var l,r;null===(r=null===(l=this.destination)||void 0===l?void 0:l.next)||void 0===r||r.call(l,o)}error(o){var l,r;null===(r=null===(l=this.destination)||void 0===l?void 0:l.error)||void 0===r||r.call(l,o)}complete(){var o,l;null===(l=null===(o=this.destination)||void 0===o?void 0:o.complete)||void 0===l||l.call(o)}_subscribe(o){var l,r;return null!==(r=null===(l=this.source)||void 0===l?void 0:l.subscribe(o))&&void 0!==r?r:f.Lc}}},305:(Me,ie,_)=>{"use strict";_.d(ie,{Hp:()=>b,Lv:()=>r});var n=_(4674),f=_(7394),D=_(2653),y=_(3894),u=_(2420);const v=h("C",void 0,void 0);function h(S,M,k){return{kind:S,value:M,error:k}}var o=_(7599),l=_(1441);class r extends f.w0{constructor(M){super(),this.isStopped=!1,M?(this.destination=M,(0,f.Nn)(M)&&M.add(this)):this.destination=T}static create(M,k,I){return new b(M,k,I)}next(M){this.isStopped?w(function m(S){return h("N",S,void 0)}(M),this):this._next(M)}error(M){this.isStopped?w(function s(S){return h("E",void 0,S)}(M),this):(this.isStopped=!0,this._error(M))}complete(){this.isStopped?w(v,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(M){this.destination.next(M)}_error(M){try{this.destination.error(M)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const c=Function.prototype.bind;function d(S,M){return c.call(S,M)}class g{constructor(M){this.partialObserver=M}next(M){const{partialObserver:k}=this;if(k.next)try{k.next(M)}catch(I){C(I)}}error(M){const{partialObserver:k}=this;if(k.error)try{k.error(M)}catch(I){C(I)}else C(M)}complete(){const{partialObserver:M}=this;if(M.complete)try{M.complete()}catch(k){C(k)}}}class b extends r{constructor(M,k,I){let P;if(super(),(0,n.m)(M)||!M)P={next:M??void 0,error:k??void 0,complete:I??void 0};else{let A;this&&D.config.useDeprecatedNextContext?(A=Object.create(M),A.unsubscribe=()=>this.unsubscribe(),P={next:M.next&&d(M.next,A),error:M.error&&d(M.error,A),complete:M.complete&&d(M.complete,A)}):P=M}this.destination=new g(P)}}function C(S){D.config.useDeprecatedSynchronousErrorHandling?(0,l.O)(S):(0,y.h)(S)}function w(S,M){const{onStoppedNotification:k}=D.config;k&&o.z.setTimeout(()=>k(S,M))}const T={closed:!0,next:u.Z,error:function x(S){throw S},complete:u.Z}},7394:(Me,ie,_)=>{"use strict";_.d(ie,{Lc:()=>v,w0:()=>u,Nn:()=>s});var n=_(4674);const D=(0,_(2306).d)(h=>function(l){h(this),this.message=l?`${l.length} errors occurred during unsubscription:\n${l.map((r,c)=>`${c+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=l});var y=_(9039);class u{constructor(o){this.initialTeardown=o,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let o;if(!this.closed){this.closed=!0;const{_parentage:l}=this;if(l)if(this._parentage=null,Array.isArray(l))for(const d of l)d.remove(this);else l.remove(this);const{initialTeardown:r}=this;if((0,n.m)(r))try{r()}catch(d){o=d instanceof D?d.errors:[d]}const{_finalizers:c}=this;if(c){this._finalizers=null;for(const d of c)try{m(d)}catch(g){o=o??[],g instanceof D?o=[...o,...g.errors]:o.push(g)}}if(o)throw new D(o)}}add(o){var l;if(o&&o!==this)if(this.closed)m(o);else{if(o instanceof u){if(o.closed||o._hasParent(this))return;o._addParent(this)}(this._finalizers=null!==(l=this._finalizers)&&void 0!==l?l:[]).push(o)}}_hasParent(o){const{_parentage:l}=this;return l===o||Array.isArray(l)&&l.includes(o)}_addParent(o){const{_parentage:l}=this;this._parentage=Array.isArray(l)?(l.push(o),l):l?[l,o]:o}_removeParent(o){const{_parentage:l}=this;l===o?this._parentage=null:Array.isArray(l)&&(0,y.P)(l,o)}remove(o){const{_finalizers:l}=this;l&&(0,y.P)(l,o),o instanceof u&&o._removeParent(this)}}u.EMPTY=(()=>{const h=new u;return h.closed=!0,h})();const v=u.EMPTY;function s(h){return h instanceof u||h&&"closed"in h&&(0,n.m)(h.remove)&&(0,n.m)(h.add)&&(0,n.m)(h.unsubscribe)}function m(h){(0,n.m)(h)?h():h.unsubscribe()}},2653:(Me,ie,_)=>{"use strict";_.d(ie,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Me,ie,_)=>{"use strict";_.d(ie,{c:()=>v});var n=_(5592),f=_(7394),D=_(6196),y=_(8251),u=_(9360);class v extends n.y{constructor(m,h){super(),this.source=m,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,u.A)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new f.w0;const h=this.getSubject();m.add(this.source.subscribe((0,y.x)(h,void 0,()=>{this._teardown(),h.complete()},o=>{this._teardown(),h.error(o)},()=>this._teardown()))),m.closed&&(this._connection=null,m=f.w0.EMPTY)}return m}refCount(){return(0,D.x)()(this)}}},2572:(Me,ie,_)=>{"use strict";_.d(ie,{a:()=>o,l:()=>l});var n=_(5592),f=_(7453),D=_(2459),y=_(2737),u=_(7400),v=_(9940),s=_(2714),m=_(8251),h=_(7103);function o(...c){const d=(0,v.yG)(c),g=(0,v.jO)(c),{args:b,keys:C}=(0,f.D)(c);if(0===b.length)return(0,D.D)([],d);const x=new n.y(l(b,d,C?w=>(0,s.n)(C,w):y.y));return g?x.pipe((0,u.Z)(g)):x}function l(c,d,g=y.y){return b=>{r(d,()=>{const{length:C}=c,x=new Array(C);let w=C,T=C;for(let S=0;S{const M=(0,D.D)(c[S],d);let k=!1;M.subscribe((0,m.x)(b,I=>{x[S]=I,k||(k=!0,T--),T||b.next(g(x.slice()))},()=>{--w||b.complete()}))},b)},b)}}function r(c,d,g){c?(0,h.f)(g,c,d):d()}},34:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>y});var n=_(1948),f=_(9940),D=_(2459);function y(...u){return(0,n.u)()((0,D.D)(u,(0,f.yG)(u)))}},4911:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>D});var n=_(5592),f=_(4829);function D(y){return new n.y(u=>{(0,f.Xf)(y()).subscribe(u)})}},6232:(Me,ie,_)=>{"use strict";_.d(ie,{E:()=>f});const f=new(_(5592).y)(u=>u.complete())},9315:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>m});var n=_(5592),f=_(7453),D=_(4829),y=_(9940),u=_(8251),v=_(7400),s=_(2714);function m(...h){const o=(0,y.jO)(h),{args:l,keys:r}=(0,f.D)(h),c=new n.y(d=>{const{length:g}=l;if(!g)return void d.complete();const b=new Array(g);let C=g,x=g;for(let w=0;w{T||(T=!0,x--),b[w]=S},()=>C--,void 0,()=>{(!C||!T)&&(x||d.next(r?(0,s.n)(r,b):b),d.complete())}))}});return o?c.pipe((0,v.Z)(o)):c}},2459:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>M});var n=_(4829),f=_(3093),D=_(5137),v=_(5592),m=_(4971),h=_(4674),o=_(7103);function r(k,I){if(!k)throw new Error("Iterable cannot be null");return new v.y(P=>{(0,o.f)(P,I,()=>{const A=k[Symbol.asyncIterator]();(0,o.f)(P,I,()=>{A.next().then(L=>{L.done?P.complete():P.next(L.value)})},0,!0)})})}var c=_(8382),d=_(4026),g=_(4266),b=_(3664),C=_(5726),x=_(9853),w=_(541);function M(k,I){return I?function S(k,I){if(null!=k){if((0,c.c)(k))return function y(k,I){return(0,n.Xf)(k).pipe((0,D.R)(I),(0,f.Q)(I))}(k,I);if((0,g.z)(k))return function s(k,I){return new v.y(P=>{let A=0;return I.schedule(function(){A===k.length?P.complete():(P.next(k[A++]),P.closed||this.schedule())})})}(k,I);if((0,d.t)(k))return function u(k,I){return(0,n.Xf)(k).pipe((0,D.R)(I),(0,f.Q)(I))}(k,I);if((0,C.D)(k))return r(k,I);if((0,b.T)(k))return function l(k,I){return new v.y(P=>{let A;return(0,o.f)(P,I,()=>{A=k[m.h](),(0,o.f)(P,I,()=>{let L,F;try{({value:L,done:F}=A.next())}catch(R){return void P.error(R)}F?P.complete():P.next(L)},0,!0)}),()=>(0,h.m)(A?.return)&&A.return()})}(k,I);if((0,w.L)(k))return function T(k,I){return r((0,w.Q)(k),I)}(k,I)}throw(0,x.z)(k)}(k,I):(0,n.Xf)(k)}},2438:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>o});var n=_(4829),f=_(5592),D=_(9769),y=_(4266),u=_(4674),v=_(7400);const s=["addListener","removeListener"],m=["addEventListener","removeEventListener"],h=["on","off"];function o(g,b,C,x){if((0,u.m)(C)&&(x=C,C=void 0),x)return o(g,b,C).pipe((0,v.Z)(x));const[w,T]=function d(g){return(0,u.m)(g.addEventListener)&&(0,u.m)(g.removeEventListener)}(g)?m.map(S=>M=>g[S](b,M,C)):function r(g){return(0,u.m)(g.addListener)&&(0,u.m)(g.removeListener)}(g)?s.map(l(g,b)):function c(g){return(0,u.m)(g.on)&&(0,u.m)(g.off)}(g)?h.map(l(g,b)):[];if(!w&&(0,y.z)(g))return(0,D.z)(S=>o(S,b,C))((0,n.Xf)(g));if(!w)throw new TypeError("Invalid event target");return new f.y(S=>{const M=(...k)=>S.next(1T(M)})}function l(g,b){return C=>x=>g[C](b,x)}},4829:(Me,ie,_)=>{"use strict";_.d(ie,{Xf:()=>c});var n=_(655),f=_(4266),D=_(4026),y=_(5592),u=_(8382),v=_(5726),s=_(9853),m=_(3664),h=_(541),o=_(4674),l=_(3894),r=_(4850);function c(S){if(S instanceof y.y)return S;if(null!=S){if((0,u.c)(S))return function d(S){return new y.y(M=>{const k=S[r.L]();if((0,o.m)(k.subscribe))return k.subscribe(M);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(S);if((0,f.z)(S))return function g(S){return new y.y(M=>{for(let k=0;k{S.then(k=>{M.closed||(M.next(k),M.complete())},k=>M.error(k)).then(null,l.h)})}(S);if((0,v.D)(S))return x(S);if((0,m.T)(S))return function C(S){return new y.y(M=>{for(const k of S)if(M.next(k),M.closed)return;M.complete()})}(S);if((0,h.L)(S))return function w(S){return x((0,h.Q)(S))}(S)}throw(0,s.z)(S)}function x(S){return new y.y(M=>{(function T(S,M){var k,I,P,A;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(k=(0,n.__asyncValues)(S);!(I=yield k.next()).done;)if(M.next(I.value),M.closed)return}catch(L){P={error:L}}finally{try{I&&!I.done&&(A=k.return)&&(yield A.call(k))}finally{if(P)throw P.error}}M.complete()})})(S,M).catch(k=>M.error(k))})}},3019:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>v});var n=_(7537),f=_(4829),D=_(6232),y=_(9940),u=_(2459);function v(...s){const m=(0,y.yG)(s),h=(0,y._6)(s,1/0),o=s;return o.length?1===o.length?(0,f.Xf)(o[0]):(0,n.J)(h)((0,u.D)(o,m)):D.E}},2096:(Me,ie,_)=>{"use strict";_.d(ie,{of:()=>D});var n=_(9940),f=_(2459);function D(...y){const u=(0,n.yG)(y);return(0,f.D)(y,u)}},3684:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>v,S:()=>u});var n=_(5592),f=_(4829),D=_(7728),y=_(8251);function u(...s){return 1===(s=(0,D.k)(s)).length?(0,f.Xf)(s[0]):new n.y(v(s))}function v(s){return m=>{let h=[];for(let o=0;h&&!m.closed&&o{if(h){for(let r=0;r{"use strict";_.d(ie,{_:()=>D});var n=_(5592),f=_(4674);function D(y,u){const v=(0,f.m)(y)?y:()=>y,s=m=>m.error(v());return new n.y(u?m=>u.schedule(s,0,m):s)}},9080:(Me,ie,_)=>{"use strict";_.d(ie,{H:()=>u});var n=_(5592),f=_(6321),D=_(671),y=_(93);function u(v=0,s,m=f.P){let h=-1;return null!=s&&((0,D.K)(s)?m=s:h=s),new n.y(o=>{let l=(0,y.q)(v)?+v-m.now():v;l<0&&(l=0);let r=0;return m.schedule(function(){o.closed||(o.next(r++),0<=h?this.schedule(void 0,h):o.complete())},l)})}},9278:(Me,ie,_)=>{"use strict";_.d(ie,{$:()=>s});var n=_(5592),f=_(4829),D=_(7728),y=_(6232),u=_(8251),v=_(9940);function s(...m){const h=(0,v.jO)(m),o=(0,D.k)(m);return o.length?new n.y(l=>{let r=o.map(()=>[]),c=o.map(()=>!1);l.add(()=>{r=c=null});for(let d=0;!l.closed&&d{if(r[d].push(g),r.every(b=>b.length)){const b=r.map(C=>C.shift());l.next(h?h(...b):b),r.some((C,x)=>!C.length&&c[x])&&l.complete()}},()=>{c[d]=!0,!r[d].length&&l.complete()}));return()=>{r=c=null}}):y.E}},8251:(Me,ie,_)=>{"use strict";_.d(ie,{Q:()=>D,x:()=>f});var n=_(305);function f(y,u,v,s,m){return new D(y,u,v,s,m)}class D extends n.Lv{constructor(u,v,s,m,h,o){super(u),this.onFinalize=h,this.shouldUnsubscribe=o,this._next=v?function(l){try{v(l)}catch(r){u.error(r)}}:super._next,this._error=m?function(l){try{m(l)}catch(r){u.error(r)}finally{this.unsubscribe()}}:super._error,this._complete=s?function(){try{s()}catch(l){u.error(l)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var u;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:v}=this;super.unsubscribe(),!v&&(null===(u=this.onFinalize)||void 0===u||u.call(this))}}}},6301:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>y});var n=_(9360),f=_(4829),D=_(8251);function y(u){return(0,n.e)((v,s)=>{let m=!1,h=null,o=null,l=!1;const r=()=>{if(o?.unsubscribe(),o=null,m){m=!1;const d=h;h=null,s.next(d)}l&&s.complete()},c=()=>{o=null,l&&s.complete()};v.subscribe((0,D.x)(s,d=>{m=!0,h=d,o||(0,f.Xf)(u(d)).subscribe(o=(0,D.x)(s,r,c))},()=>{l=!0,(!m||!o||o.closed)&&s.complete()}))})}},8672:(Me,ie,_)=>{"use strict";_.d(ie,{e:()=>y});var n=_(6321),f=_(6301),D=_(9080);function y(u,v=n.z){return(0,f.U)(()=>(0,D.H)(u,v))}},6306:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>y});var n=_(4829),f=_(8251),D=_(9360);function y(u){return(0,D.e)((v,s)=>{let o,m=null,h=!1;m=v.subscribe((0,f.x)(s,void 0,void 0,l=>{o=(0,n.Xf)(u(l,y(u)(v))),m?(m.unsubscribe(),m=null,o.subscribe(s)):h=!0})),h&&(m.unsubscribe(),m=null,o.subscribe(s))})}},1948:(Me,ie,_)=>{"use strict";_.d(ie,{u:()=>f});var n=_(7537);function f(){return(0,n.J)(1)}},6328:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>D});var n=_(9769),f=_(4674);function D(y,u){return(0,f.m)(u)?(0,n.z)(y,u,1):(0,n.z)(y,1)}},3620:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>y});var n=_(6321),f=_(9360),D=_(8251);function y(u,v=n.z){return(0,f.e)((s,m)=>{let h=null,o=null,l=null;const r=()=>{if(h){h.unsubscribe(),h=null;const d=o;o=null,m.next(d)}};function c(){const d=l+u,g=v.now();if(g{o=d,l=v.now(),h||(h=v.schedule(c,u),m.add(h))},()=>{r(),m.complete()},void 0,()=>{o=h=null}))})}},3572:(Me,ie,_)=>{"use strict";_.d(ie,{d:()=>D});var n=_(9360),f=_(8251);function D(y){return(0,n.e)((u,v)=>{let s=!1;u.subscribe((0,f.x)(v,m=>{s=!0,v.next(m)},()=>{s||v.next(y),v.complete()}))})}},7547:(Me,ie,_)=>{"use strict";_.d(ie,{g:()=>y});var n=_(6321),f=_(4610),D=_(9080);function y(u,v=n.z){const s=(0,D.H)(u,v);return(0,f.j)(()=>s)}},4610:(Me,ie,_)=>{"use strict";_.d(ie,{j:()=>s});var n=_(34),f=_(8180),D=_(7538),y=_(975),u=_(9769),v=_(4829);function s(m,h){return h?o=>(0,n.z)(h.pipe((0,f.q)(1),(0,D.l)()),o.pipe(s(m))):(0,u.z)((o,l)=>(0,v.Xf)(m(o,l)).pipe((0,f.q)(1),(0,y.h)(o)))}},3997:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>y});var n=_(2737),f=_(9360),D=_(8251);function y(v,s=n.y){return v=v??u,(0,f.e)((m,h)=>{let o,l=!0;m.subscribe((0,D.x)(h,r=>{const c=s(r);(l||!v(o,c))&&(l=!1,o=c,h.next(r))}))})}function u(v,s){return v===s}},2181:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>D});var n=_(9360),f=_(8251);function D(y,u){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>y.call(u,h,m++)&&s.next(h)))})}},4716:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>f});var n=_(9360);function f(D){return(0,n.e)((y,u)=>{try{y.subscribe(u)}finally{u.add(D)}})}},1374:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>s});var n=_(6973),f=_(2181),D=_(8180),y=_(3572),u=_(3026),v=_(2737);function s(m,h){const o=arguments.length>=2;return l=>l.pipe(m?(0,f.h)((r,c)=>m(r,c,l)):v.y,(0,D.q)(1),o?(0,y.d)(h):(0,u.T)(()=>new n.K))}},7538:(Me,ie,_)=>{"use strict";_.d(ie,{l:()=>y});var n=_(9360),f=_(8251),D=_(2420);function y(){return(0,n.e)((u,v)=>{u.subscribe((0,f.x)(v,D.Z))})}},2032:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>s});var n=_(6973),f=_(2181),D=_(4418),y=_(3026),u=_(3572),v=_(2737);function s(m,h){const o=arguments.length>=2;return l=>l.pipe(m?(0,f.h)((r,c)=>m(r,c,l)):v.y,(0,D.h)(1),o?(0,u.d)(h):(0,y.T)(()=>new n.K))}},7398:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>D});var n=_(9360),f=_(8251);function D(y,u){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>{s.next(y.call(u,h,m++))}))})}},975:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>f});var n=_(7398);function f(D){return(0,n.U)(()=>D)}},7537:(Me,ie,_)=>{"use strict";_.d(ie,{J:()=>D});var n=_(9769),f=_(2737);function D(y=1/0){return(0,n.z)(f.y,y)}},564:(Me,ie,_)=>{"use strict";_.d(ie,{p:()=>y});var n=_(4829),f=_(7103),D=_(8251);function y(u,v,s,m,h,o,l,r){const c=[];let d=0,g=0,b=!1;const C=()=>{b&&!c.length&&!d&&v.complete()},x=T=>d{o&&v.next(T),d++;let S=!1;(0,n.Xf)(s(T,g++)).subscribe((0,D.x)(v,M=>{h?.(M),o?x(M):v.next(M)},()=>{S=!0},void 0,()=>{if(S)try{for(d--;c.length&&dw(M)):w(M)}C()}catch(M){v.error(M)}}))};return u.subscribe((0,D.x)(v,x,()=>{b=!0,C()})),()=>{r?.()}}},9769:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>v});var n=_(7398),f=_(4829),D=_(9360),y=_(564),u=_(4674);function v(s,m,h=1/0){return(0,u.m)(m)?v((o,l)=>(0,n.U)((r,c)=>m(o,r,l,c))((0,f.Xf)(s(o,l))),h):("number"==typeof m&&(h=m),(0,D.e)((o,l)=>(0,y.p)(o,l,s,h)))}},3093:(Me,ie,_)=>{"use strict";_.d(ie,{Q:()=>y});var n=_(7103),f=_(9360),D=_(8251);function y(u,v=0){return(0,f.e)((s,m)=>{s.subscribe((0,D.x)(m,h=>(0,n.f)(m,u,()=>m.next(h),v),()=>(0,n.f)(m,u,()=>m.complete(),v),h=>(0,n.f)(m,u,()=>m.error(h),v)))})}},6196:(Me,ie,_)=>{"use strict";_.d(ie,{x:()=>D});var n=_(9360),f=_(8251);function D(){return(0,n.e)((y,u)=>{let v=null;y._refCount++;const s=(0,f.x)(u,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(v=null);const m=y._connection,h=v;v=null,m&&(!h||m===h)&&m.unsubscribe(),u.unsubscribe()});y.subscribe(s),s.closed||(v=y.connect())})}},6424:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>D});var n=_(9360),f=_(9732);function D(y,u){return(0,n.e)((0,f.U)(y,u,arguments.length>=2,!0))}},9732:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>f});var n=_(8251);function f(D,y,u,v,s){return(m,h)=>{let o=u,l=y,r=0;m.subscribe((0,n.x)(h,c=>{const d=r++;l=o?D(l,c,d):(o=!0,c),v&&h.next(l)},s&&(()=>{o&&h.next(l),h.complete()})))}}},3020:(Me,ie,_)=>{"use strict";_.d(ie,{B:()=>u});var n=_(4829),f=_(8645),D=_(305),y=_(9360);function u(s={}){const{connector:m=(()=>new f.x),resetOnError:h=!0,resetOnComplete:o=!0,resetOnRefCountZero:l=!0}=s;return r=>{let c,d,g,b=0,C=!1,x=!1;const w=()=>{d?.unsubscribe(),d=void 0},T=()=>{w(),c=g=void 0,C=x=!1},S=()=>{const M=c;T(),M?.unsubscribe()};return(0,y.e)((M,k)=>{b++,!x&&!C&&w();const I=g=g??m();k.add(()=>{b--,0===b&&!x&&!C&&(d=v(S,l))}),I.subscribe(k),!c&&b>0&&(c=new D.Hp({next:P=>I.next(P),error:P=>{x=!0,w(),d=v(T,h,P),I.error(P)},complete:()=>{C=!0,w(),d=v(T,o),I.complete()}}),(0,n.Xf)(M).subscribe(c))})(r)}}function v(s,m,...h){if(!0===m)return void s();if(!1===m)return;const o=new D.Hp({next:()=>{o.unsubscribe(),s()}});return(0,n.Xf)(m(...h)).subscribe(o)}},7081:(Me,ie,_)=>{"use strict";_.d(ie,{d:()=>D});var n=_(7328),f=_(3020);function D(y,u,v){let s,m=!1;return y&&"object"==typeof y?({bufferSize:s=1/0,windowTime:u=1/0,refCount:m=!1,scheduler:v}=y):s=y??1/0,(0,f.B)({connector:()=>new n.t(s,u,v),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:m})}},836:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>f});var n=_(2181);function f(D){return(0,n.h)((y,u)=>D<=u)}},7921:(Me,ie,_)=>{"use strict";_.d(ie,{O:()=>y});var n=_(34),f=_(9940),D=_(9360);function y(...u){const v=(0,f.yG)(u);return(0,D.e)((s,m)=>{(v?(0,n.z)(u,s,v):(0,n.z)(u,s)).subscribe(m)})}},5137:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>f});var n=_(9360);function f(D,y=0){return(0,n.e)((u,v)=>{v.add(D.schedule(()=>u.subscribe(v),y))})}},4664:(Me,ie,_)=>{"use strict";_.d(ie,{w:()=>y});var n=_(4829),f=_(9360),D=_(8251);function y(u,v){return(0,f.e)((s,m)=>{let h=null,o=0,l=!1;const r=()=>l&&!h&&m.complete();s.subscribe((0,D.x)(m,c=>{h?.unsubscribe();let d=0;const g=o++;(0,n.Xf)(u(c,g)).subscribe(h=(0,D.x)(m,b=>m.next(v?v(c,b,g,d++):b),()=>{h=null,r()}))},()=>{l=!0,r()}))})}},8180:(Me,ie,_)=>{"use strict";_.d(ie,{q:()=>y});var n=_(6232),f=_(9360),D=_(8251);function y(u){return u<=0?()=>n.E:(0,f.e)((v,s)=>{let m=0;v.subscribe((0,D.x)(s,h=>{++m<=u&&(s.next(h),u<=m&&s.complete())}))})}},4418:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>y});var n=_(6232),f=_(9360),D=_(8251);function y(u){return u<=0?()=>n.E:(0,f.e)((v,s)=>{let m=[];v.subscribe((0,D.x)(s,h=>{m.push(h),u{for(const h of m)s.next(h);s.complete()},void 0,()=>{m=null}))})}},9773:(Me,ie,_)=>{"use strict";_.d(ie,{R:()=>u});var n=_(9360),f=_(8251),D=_(4829),y=_(2420);function u(v){return(0,n.e)((s,m)=>{(0,D.Xf)(v).subscribe((0,f.x)(m,()=>m.complete(),y.Z)),!m.closed&&s.subscribe(m)})}},812:(Me,ie,_)=>{"use strict";_.d(ie,{o:()=>D});var n=_(9360),f=_(8251);function D(y,u=!1){return(0,n.e)((v,s)=>{let m=0;v.subscribe((0,f.x)(s,h=>{const o=y(h,m++);(o||u)&&s.next(h),!o&&s.complete()}))})}},9397:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>u});var n=_(4674),f=_(9360),D=_(8251),y=_(2737);function u(v,s,m){const h=(0,n.m)(v)||s||m?{next:v,error:s,complete:m}:v;return h?(0,f.e)((o,l)=>{var r;null===(r=h.subscribe)||void 0===r||r.call(h);let c=!0;o.subscribe((0,D.x)(l,d=>{var g;null===(g=h.next)||void 0===g||g.call(h,d),l.next(d)},()=>{var d;c=!1,null===(d=h.complete)||void 0===d||d.call(h),l.complete()},d=>{var g;c=!1,null===(g=h.error)||void 0===g||g.call(h,d),l.error(d)},()=>{var d,g;c&&(null===(d=h.unsubscribe)||void 0===d||d.call(h)),null===(g=h.finalize)||void 0===g||g.call(h)}))}):y.y}},3026:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>y});var n=_(6973),f=_(9360),D=_(8251);function y(v=u){return(0,f.e)((s,m)=>{let h=!1;s.subscribe((0,D.x)(m,o=>{h=!0,m.next(o)},()=>h?m.complete():m.error(v())))})}function u(){return new n.K}},5178:(Me,ie,_)=>{"use strict";_.d(ie,{V:()=>h});var n=_(6321),f=_(93),D=_(9360),y=_(4829),u=_(2306),v=_(8251),s=_(7103);const m=(0,u.d)(l=>function(c=null){l(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=c});function h(l,r){const{first:c,each:d,with:g=o,scheduler:b=r??n.z,meta:C=null}=(0,f.q)(l)?{first:l}:"number"==typeof l?{each:l}:l;if(null==c&&null==d)throw new TypeError("No timeout provided.");return(0,D.e)((x,w)=>{let T,S,M=null,k=0;const I=P=>{S=(0,s.f)(w,b,()=>{try{T.unsubscribe(),(0,y.Xf)(g({meta:C,lastValue:M,seen:k})).subscribe(w)}catch(A){w.error(A)}},P)};T=x.subscribe((0,v.x)(w,P=>{S?.unsubscribe(),k++,w.next(M=P),d>0&&I(d)},void 0,void 0,()=>{S?.closed||S?.unsubscribe(),M=null})),!k&&I(null!=c?"number"==typeof c?c:+c-b.now():d)})}function o(l){throw new m(l)}},1954:(Me,ie,_)=>{"use strict";_.d(ie,{o:()=>u});var n=_(7394);class f extends n.w0{constructor(s,m){super()}schedule(s,m=0){return this}}const D={setInterval(v,s,...m){const{delegate:h}=D;return h?.setInterval?h.setInterval(v,s,...m):setInterval(v,s,...m)},clearInterval(v){const{delegate:s}=D;return(s?.clearInterval||clearInterval)(v)},delegate:void 0};var y=_(9039);class u extends f{constructor(s,m){super(s,m),this.scheduler=s,this.work=m,this.pending=!1}schedule(s,m=0){var h;if(this.closed)return this;this.state=s;const o=this.id,l=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(l,o,m)),this.pending=!0,this.delay=m,this.id=null!==(h=this.id)&&void 0!==h?h:this.requestAsyncId(l,this.id,m),this}requestAsyncId(s,m,h=0){return D.setInterval(s.flush.bind(s,this),h)}recycleAsyncId(s,m,h=0){if(null!=h&&this.delay===h&&!1===this.pending)return m;null!=m&&D.clearInterval(m)}execute(s,m){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const h=this._execute(s,m);if(h)return h;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(s,m){let o,h=!1;try{this.work(s)}catch(l){h=!0,o=l||new Error("Scheduled action threw falsy error")}if(h)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:s,scheduler:m}=this,{actions:h}=m;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.P)(h,this),null!=s&&(this.id=this.recycleAsyncId(m,s,null)),this.delay=null,super.unsubscribe()}}}},2631:(Me,ie,_)=>{"use strict";_.d(ie,{v:()=>D});var n=_(4552);class f{constructor(u,v=f.now){this.schedulerActionCtor=u,this.now=v}schedule(u,v=0,s){return new this.schedulerActionCtor(this,u).schedule(s,v)}}f.now=n.l.now;class D extends f{constructor(u,v=f.now){super(u,v),this.actions=[],this._active=!1}flush(u){const{actions:v}=this;if(this._active)return void v.push(u);let s;this._active=!0;do{if(s=u.execute(u.state,u.delay))break}while(u=v.shift());if(this._active=!1,s){for(;u=v.shift();)u.unsubscribe();throw s}}}},927:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>s});var n=_(1954),f=_(7394);const D={schedule(h){let o=requestAnimationFrame,l=cancelAnimationFrame;const{delegate:r}=D;r&&(o=r.requestAnimationFrame,l=r.cancelAnimationFrame);const c=o(d=>{l=void 0,h(d)});return new f.w0(()=>l?.(c))},requestAnimationFrame(...h){const{delegate:o}=D;return(o?.requestAnimationFrame||requestAnimationFrame)(...h)},cancelAnimationFrame(...h){const{delegate:o}=D;return(o?.cancelAnimationFrame||cancelAnimationFrame)(...h)},delegate:void 0};var u=_(2631);const s=new class v extends u.v{flush(o){this._active=!0;const l=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let c;o=o||r.shift();do{if(c=o.execute(o.state,o.delay))break}while((o=r[0])&&o.id===l&&r.shift());if(this._active=!1,c){for(;(o=r[0])&&o.id===l&&r.shift();)o.unsubscribe();throw c}}}(class y extends n.o{constructor(o,l){super(o,l),this.scheduler=o,this.work=l}requestAsyncId(o,l,r=0){return null!==r&&r>0?super.requestAsyncId(o,l,r):(o.actions.push(this),o._scheduled||(o._scheduled=D.requestAnimationFrame(()=>o.flush(void 0))))}recycleAsyncId(o,l,r=0){var c;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(o,l,r);const{actions:d}=o;null!=l&&(null===(c=d[d.length-1])||void 0===c?void 0:c.id)!==l&&(D.cancelAnimationFrame(l),o._scheduled=void 0)}})},6410:(Me,ie,_)=>{"use strict";_.d(ie,{E:()=>d});var n=_(1954);let D,f=1;const y={};function u(b){return b in y&&(delete y[b],!0)}const v={setImmediate(b){const C=f++;return y[C]=!0,D||(D=Promise.resolve()),D.then(()=>u(C)&&b()),C},clearImmediate(b){u(b)}},{setImmediate:m,clearImmediate:h}=v,o={setImmediate(...b){const{delegate:C}=o;return(C?.setImmediate||m)(...b)},clearImmediate(b){const{delegate:C}=o;return(C?.clearImmediate||h)(b)},delegate:void 0};var r=_(2631);const d=new class c extends r.v{flush(C){this._active=!0;const x=this._scheduled;this._scheduled=void 0;const{actions:w}=this;let T;C=C||w.shift();do{if(T=C.execute(C.state,C.delay))break}while((C=w[0])&&C.id===x&&w.shift());if(this._active=!1,T){for(;(C=w[0])&&C.id===x&&w.shift();)C.unsubscribe();throw T}}}(class l extends n.o{constructor(C,x){super(C,x),this.scheduler=C,this.work=x}requestAsyncId(C,x,w=0){return null!==w&&w>0?super.requestAsyncId(C,x,w):(C.actions.push(this),C._scheduled||(C._scheduled=o.setImmediate(C.flush.bind(C,void 0))))}recycleAsyncId(C,x,w=0){var T;if(null!=w?w>0:this.delay>0)return super.recycleAsyncId(C,x,w);const{actions:S}=C;null!=x&&(null===(T=S[S.length-1])||void 0===T?void 0:T.id)!==x&&(o.clearImmediate(x),C._scheduled===x&&(C._scheduled=void 0))}})},6321:(Me,ie,_)=>{"use strict";_.d(ie,{P:()=>y,z:()=>D});var n=_(1954);const D=new(_(2631).v)(n.o),y=D},4552:(Me,ie,_)=>{"use strict";_.d(ie,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>n});const n={setTimeout(f,D,...y){const{delegate:u}=n;return u?.setTimeout?u.setTimeout(f,D,...y):setTimeout(f,D,...y)},clearTimeout(f){const{delegate:D}=n;return(D?.clearTimeout||clearTimeout)(f)},delegate:void 0}},4971:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>f});const f=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Me,ie,_)=>{"use strict";_.d(ie,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>f});const f=(0,_(2306).d)(D=>function(){D(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(Me,ie,_)=>{"use strict";_.d(ie,{_6:()=>v,jO:()=>y,yG:()=>u});var n=_(4674),f=_(671);function D(s){return s[s.length-1]}function y(s){return(0,n.m)(D(s))?s.pop():void 0}function u(s){return(0,f.K)(D(s))?s.pop():void 0}function v(s,m){return"number"==typeof D(s)?s.pop():m}},7453:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>u});const{isArray:n}=Array,{getPrototypeOf:f,prototype:D,keys:y}=Object;function u(s){if(1===s.length){const m=s[0];if(n(m))return{args:m,keys:null};if(function v(s){return s&&"object"==typeof s&&f(s)===D}(m)){const h=y(m);return{args:h.map(o=>m[o]),keys:h}}}return{args:s,keys:null}}},7728:(Me,ie,_)=>{"use strict";_.d(ie,{k:()=>f});const{isArray:n}=Array;function f(D){return 1===D.length&&n(D[0])?D[0]:D}},9039:(Me,ie,_)=>{"use strict";function n(f,D){if(f){const y=f.indexOf(D);0<=y&&f.splice(y,1)}}_.d(ie,{P:()=>n})},2306:(Me,ie,_)=>{"use strict";function n(f){const y=f(u=>{Error.call(u),u.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}_.d(ie,{d:()=>n})},2714:(Me,ie,_)=>{"use strict";function n(f,D){return f.reduce((y,u,v)=>(y[u]=D[v],y),{})}_.d(ie,{n:()=>n})},1441:(Me,ie,_)=>{"use strict";_.d(ie,{O:()=>y,x:()=>D});var n=_(2653);let f=null;function D(u){if(n.config.useDeprecatedSynchronousErrorHandling){const v=!f;if(v&&(f={errorThrown:!1,error:null}),u(),v){const{errorThrown:s,error:m}=f;if(f=null,s)throw m}}else u()}function y(u){n.config.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=u)}},7103:(Me,ie,_)=>{"use strict";function n(f,D,y,u=0,v=!1){const s=D.schedule(function(){y(),v?f.add(this.schedule(null,u)):this.unsubscribe()},u);if(f.add(s),!v)return s}_.d(ie,{f:()=>n})},2737:(Me,ie,_)=>{"use strict";function n(f){return f}_.d(ie,{y:()=>n})},4266:(Me,ie,_)=>{"use strict";_.d(ie,{z:()=>n});const n=f=>f&&"number"==typeof f.length&&"function"!=typeof f},5726:(Me,ie,_)=>{"use strict";_.d(ie,{D:()=>f});var n=_(4674);function f(D){return Symbol.asyncIterator&&(0,n.m)(D?.[Symbol.asyncIterator])}},93:(Me,ie,_)=>{"use strict";function n(f){return f instanceof Date&&!isNaN(f)}_.d(ie,{q:()=>n})},4674:(Me,ie,_)=>{"use strict";function n(f){return"function"==typeof f}_.d(ie,{m:()=>n})},8382:(Me,ie,_)=>{"use strict";_.d(ie,{c:()=>D});var n=_(4850),f=_(4674);function D(y){return(0,f.m)(y[n.L])}},3664:(Me,ie,_)=>{"use strict";_.d(ie,{T:()=>D});var n=_(4971),f=_(4674);function D(y){return(0,f.m)(y?.[n.h])}},2664:(Me,ie,_)=>{"use strict";_.d(ie,{b:()=>D});var n=_(5592),f=_(4674);function D(y){return!!y&&(y instanceof n.y||(0,f.m)(y.lift)&&(0,f.m)(y.subscribe))}},4026:(Me,ie,_)=>{"use strict";_.d(ie,{t:()=>f});var n=_(4674);function f(D){return(0,n.m)(D?.then)}},541:(Me,ie,_)=>{"use strict";_.d(ie,{L:()=>y,Q:()=>D});var n=_(655),f=_(4674);function D(u){return(0,n.__asyncGenerator)(this,arguments,function*(){const s=u.getReader();try{for(;;){const{value:m,done:h}=yield(0,n.__await)(s.read());if(h)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(m)}}finally{s.releaseLock()}})}function y(u){return(0,f.m)(u?.getReader)}},671:(Me,ie,_)=>{"use strict";_.d(ie,{K:()=>f});var n=_(4674);function f(D){return D&&(0,n.m)(D.schedule)}},9360:(Me,ie,_)=>{"use strict";_.d(ie,{A:()=>f,e:()=>D});var n=_(4674);function f(y){return(0,n.m)(y?.lift)}function D(y){return u=>{if(f(u))return u.lift(function(v){try{return y(v,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Me,ie,_)=>{"use strict";_.d(ie,{Z:()=>y});var n=_(7398);const{isArray:f}=Array;function y(u){return(0,n.U)(v=>function D(u,v){return f(v)?u(...v):u(v)}(u,v))}},2420:(Me,ie,_)=>{"use strict";function n(){}_.d(ie,{Z:()=>n})},8407:(Me,ie,_)=>{"use strict";_.d(ie,{U:()=>D,z:()=>f});var n=_(2737);function f(...y){return D(y)}function D(y){return 0===y.length?n.y:1===y.length?y[0]:function(v){return y.reduce((s,m)=>m(s),v)}}},3894:(Me,ie,_)=>{"use strict";_.d(ie,{h:()=>D});var n=_(2653),f=_(7599);function D(y){f.z.setTimeout(()=>{const{onUnhandledError:u}=n.config;if(!u)throw y;u(y)})}},9853:(Me,ie,_)=>{"use strict";function n(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(ie,{z:()=>n})},1385:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{audit:()=>n.U,auditTime:()=>f.e,buffer:()=>s,bufferCount:()=>h,bufferTime:()=>d,bufferToggle:()=>g,bufferWhen:()=>b,catchError:()=>C.K,combineAll:()=>R,combineLatest:()=>W,combineLatestAll:()=>F,combineLatestWith:()=>ne,concat:()=>B,concatAll:()=>ee.u,concatMap:()=>$.b,concatMapTo:()=>H,concatWith:()=>te,connect:()=>Ye,count:()=>Ze,debounce:()=>Et,debounceTime:()=>Te.b,defaultIfEmpty:()=>qe.d,delay:()=>Ee.g,delayWhen:()=>Ie.j,dematerialize:()=>Ke,distinct:()=>me,distinctUntilChanged:()=>Pe.x,distinctUntilKeyChanged:()=>Ne,elementAt:()=>cn,endWith:()=>an,every:()=>En,exhaust:()=>De,exhaustAll:()=>Ft,exhaustMap:()=>Bt,expand:()=>Xe,filter:()=>Ot.h,finalize:()=>St.x,find:()=>tt,findIndex:()=>Oe,first:()=>Ct.P,flatMap:()=>nt,groupBy:()=>Pt,ignoreElements:()=>Nt.l,isEmpty:()=>bt,last:()=>_e.Z,map:()=>un.U,mapTo:()=>ce.h,materialize:()=>z,max:()=>oe,merge:()=>at,mergeAll:()=>Se.J,mergeMap:()=>M.z,mergeMapTo:()=>mt,mergeScan:()=>He,mergeWith:()=>rt,min:()=>Lt,multicast:()=>tn,observeOn:()=>Nn.Q,onErrorResumeNext:()=>Hi,pairwise:()=>Yn,partition:()=>pn,pluck:()=>Ue,publish:()=>ot,publishBehavior:()=>qt,publishLast:()=>dt,publishReplay:()=>Ut,race:()=>Ht,raceWith:()=>vt,reduce:()=>I,refCount:()=>de.x,repeat:()=>ze,repeatWhen:()=>en,retry:()=>Y,retryWhen:()=>pe,sample:()=>Qe,sampleTime:()=>hn,scan:()=>On.R,sequenceEqual:()=>Bn,share:()=>Zn.B,shareReplay:()=>Ei.d,single:()=>Gi,skip:()=>fr.T,skipLast:()=>Tn,skipUntil:()=>Ki,skipWhile:()=>qn,startWith:()=>Pn.O,subscribeOn:()=>Qn.R,switchAll:()=>mr,switchMap:()=>Fi.w,switchMapTo:()=>er,switchScan:()=>_n,take:()=>jt.q,takeLast:()=>wn.h,takeUntil:()=>Fn.R,takeWhile:()=>Ln.o,tap:()=>Mi.b,throttle:()=>Vn,throttleTime:()=>Ui,throwIfEmpty:()=>Yt.T,timeInterval:()=>sr,timeout:()=>Gr.V,timeoutWith:()=>Lr,timestamp:()=>Cr,toArray:()=>A,window:()=>Zi,windowCount:()=>or,windowTime:()=>oi,windowToggle:()=>wr,windowWhen:()=>Fr,withLatestFrom:()=>ps,zip:()=>Tr,zipAll:()=>qr,zipWith:()=>Ur});var n=_(6301),f=_(8672),D=_(9360),y=_(2420),u=_(8251),v=_(4829);function s(Dt){return(0,D.e)((gt,Tt)=>{let It=[];return gt.subscribe((0,u.x)(Tt,$t=>It.push($t),()=>{Tt.next(It),Tt.complete()})),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{const $t=It;It=[],Tt.next($t)},y.Z)),()=>{It=null}})}var m=_(9039);function h(Dt,gt=null){return gt=gt??Dt,(0,D.e)((Tt,It)=>{let $t=[],Gt=0;Tt.subscribe((0,u.x)(It,on=>{let vn=null;Gt++%gt==0&&$t.push([]);for(const bn of $t)bn.push(on),Dt<=bn.length&&(vn=vn??[],vn.push(bn));if(vn)for(const bn of vn)(0,m.P)($t,bn),It.next(bn)},()=>{for(const on of $t)It.next(on);It.complete()},void 0,()=>{$t=null}))})}var o=_(7394),l=_(6321),r=_(9940),c=_(7103);function d(Dt,...gt){var Tt,It;const $t=null!==(Tt=(0,r.yG)(gt))&&void 0!==Tt?Tt:l.z,Gt=null!==(It=gt[0])&&void 0!==It?It:null,on=gt[1]||1/0;return(0,D.e)((vn,bn)=>{let An=[],Gn=!1;const ai=ri=>{const{buffer:Kn,subs:li}=ri;li.unsubscribe(),(0,m.P)(An,ri),bn.next(Kn),Gn&&Ti()},Ti=()=>{if(An){const ri=new o.w0;bn.add(ri);const li={buffer:[],subs:ri};An.push(li),(0,c.f)(ri,$t,()=>ai(li),Dt)}};null!==Gt&&Gt>=0?(0,c.f)(bn,$t,Ti,Gt,!0):Gn=!0,Ti();const Vi=(0,u.x)(bn,ri=>{const Kn=An.slice();for(const li of Kn){const{buffer:ji}=li;ji.push(ri),on<=ji.length&&ai(li)}},()=>{for(;An?.length;)bn.next(An.shift().buffer);Vi?.unsubscribe(),bn.complete(),bn.unsubscribe()},void 0,()=>An=null);vn.subscribe(Vi)})}function g(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=[];(0,v.Xf)(Dt).subscribe((0,u.x)(It,Gt=>{const on=[];$t.push(on);const vn=new o.w0;vn.add((0,v.Xf)(gt(Gt)).subscribe((0,u.x)(It,()=>{(0,m.P)($t,on),It.next(on),vn.unsubscribe()},y.Z)))},y.Z)),Tt.subscribe((0,u.x)(It,Gt=>{for(const on of $t)on.push(Gt)},()=>{for(;$t.length>0;)It.next($t.shift());It.complete()}))})}function b(Dt){return(0,D.e)((gt,Tt)=>{let It=null,$t=null;const Gt=()=>{$t?.unsubscribe();const on=It;It=[],on&&Tt.next(on),(0,v.Xf)(Dt()).subscribe($t=(0,u.x)(Tt,Gt,y.Z))};Gt(),gt.subscribe((0,u.x)(Tt,on=>It?.push(on),()=>{It&&Tt.next(It),Tt.complete()},void 0,()=>It=$t=null))})}var C=_(6306),x=_(2572),w=_(2737),T=_(7400),S=_(8407),M=_(9769),k=_(9732);function I(Dt,gt){return(0,D.e)((0,k.U)(Dt,gt,arguments.length>=2,!1,!0))}const P=(Dt,gt)=>(Dt.push(gt),Dt);function A(){return(0,D.e)((Dt,gt)=>{I(P,[])(Dt).subscribe(gt)})}function L(Dt,gt){return(0,S.z)(A(),(0,M.z)(Tt=>Dt(Tt)),gt?(0,T.Z)(gt):w.y)}function F(Dt){return L(x.a,Dt)}const R=F;var U=_(7728);function W(...Dt){const gt=(0,r.jO)(Dt);return gt?(0,S.z)(W(...Dt),(0,T.Z)(gt)):(0,D.e)((Tt,It)=>{(0,x.l)([Tt,...(0,U.k)(Dt)])(It)})}function ne(...Dt){return W(...Dt)}var ee=_(1948),j=_(2459);function B(...Dt){const gt=(0,r.yG)(Dt);return(0,D.e)((Tt,It)=>{(0,ee.u)()((0,j.D)([Tt,...Dt],gt)).subscribe(It)})}var $=_(6328),Z=_(4674);function H(Dt,gt){return(0,Z.m)(gt)?(0,$.b)(()=>Dt,gt):(0,$.b)(()=>Dt)}function te(...Dt){return B(...Dt)}var ue=_(8645),ye=_(5592);const $e={connector:()=>new ue.x};function Ye(Dt,gt=$e){const{connector:Tt}=gt;return(0,D.e)((It,$t)=>{const Gt=Tt();(0,v.Xf)(Dt(function Ge(Dt){return new ye.y(gt=>Dt.subscribe(gt))}(Gt))).subscribe($t),$t.add(It.subscribe(Gt))})}function Ze(Dt){return I((gt,Tt,It)=>!Dt||Dt(Tt,It)?gt+1:gt,0)}function Et(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=null,Gt=null;const on=()=>{if(Gt?.unsubscribe(),Gt=null,It){It=!1;const vn=$t;$t=null,Tt.next(vn)}};gt.subscribe((0,u.x)(Tt,vn=>{Gt?.unsubscribe(),It=!0,$t=vn,Gt=(0,u.x)(Tt,on,y.Z),(0,v.Xf)(Dt(vn)).subscribe(Gt)},()=>{on(),Tt.complete()},void 0,()=>{$t=Gt=null}))})}var Te=_(3620),qe=_(3572),Ee=_(7547),Ie=_(4610),Ce=_(6232),ge=_(2096),Ae=_(8504);class Re{constructor(gt,Tt,It){this.kind=gt,this.value=Tt,this.error=It,this.hasValue="N"===gt}observe(gt){return ke(this,gt)}do(gt,Tt,It){const{kind:$t,value:Gt,error:on}=this;return"N"===$t?gt?.(Gt):"E"===$t?Tt?.(on):It?.()}accept(gt,Tt,It){var $t;return(0,Z.m)(null===($t=gt)||void 0===$t?void 0:$t.next)?this.observe(gt):this.do(gt,Tt,It)}toObservable(){const{kind:gt,value:Tt,error:It}=this,$t="N"===gt?(0,ge.of)(Tt):"E"===gt?(0,Ae._)(()=>It):"C"===gt?Ce.E:0;if(!$t)throw new TypeError(`Unexpected notification kind ${gt}`);return $t}static createNext(gt){return new Re("N",gt)}static createError(gt){return new Re("E",void 0,gt)}static createComplete(){return Re.completeNotification}}function ke(Dt,gt){var Tt,It,$t;const{kind:Gt,value:on,error:vn}=Dt;if("string"!=typeof Gt)throw new TypeError('Invalid notification, missing "kind"');"N"===Gt?null===(Tt=gt.next)||void 0===Tt||Tt.call(gt,on):"E"===Gt?null===(It=gt.error)||void 0===It||It.call(gt,vn):null===($t=gt.complete)||void 0===$t||$t.call(gt)}function Ke(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,Tt=>ke(Tt,gt)))})}function me(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=new Set;Tt.subscribe((0,u.x)(It,Gt=>{const on=Dt?Dt(Gt):Gt;$t.has(on)||($t.add(on),It.next(Gt))})),gt&&(0,v.Xf)(gt).subscribe((0,u.x)(It,()=>$t.clear(),y.Z))})}Re.completeNotification=new Re("C");var Pe=_(3997);function Ne(Dt,gt){return(0,Pe.x)((Tt,It)=>gt?gt(Tt[Dt],It[Dt]):Tt[Dt]===It[Dt])}var Be=_(2306);const yt=(0,Be.d)(Dt=>function(){Dt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Ot=_(2181),Yt=_(3026),jt=_(8180);function cn(Dt,gt){if(Dt<0)throw new yt;const Tt=arguments.length>=2;return It=>It.pipe((0,Ot.h)(($t,Gt)=>Gt===Dt),(0,jt.q)(1),Tt?(0,qe.d)(gt):(0,Yt.T)(()=>new yt))}var fn=_(34);function an(...Dt){return gt=>(0,fn.z)(gt,(0,ge.of)(...Dt))}function En(Dt,gt){return(0,D.e)((Tt,It)=>{let $t=0;Tt.subscribe((0,u.x)(It,Gt=>{Dt.call(gt,Gt,$t++,Tt)||(It.next(!1),It.complete())},()=>{It.next(!0),It.complete()}))})}var un=_(7398);function Bt(Dt,gt){return gt?Tt=>Tt.pipe(Bt((It,$t)=>(0,v.Xf)(Dt(It,$t)).pipe((0,un.U)((Gt,on)=>gt(It,Gt,$t,on))))):(0,D.e)((Tt,It)=>{let $t=0,Gt=null,on=!1;Tt.subscribe((0,u.x)(It,vn=>{Gt||(Gt=(0,u.x)(It,void 0,()=>{Gt=null,on&&It.complete()}),(0,v.Xf)(Dt(vn,$t++)).subscribe(Gt))},()=>{on=!0,!Gt&&It.complete()}))})}function Ft(){return Bt(w.y)}const De=Ft;var Ve=_(564);function Xe(Dt,gt=1/0,Tt){return gt=(gt||0)<1?1/0:gt,(0,D.e)((It,$t)=>(0,Ve.p)(It,$t,Dt,gt,void 0,!0,Tt))}var St=_(4716);function tt(Dt,gt){return(0,D.e)(ut(Dt,gt,"value"))}function ut(Dt,gt,Tt){const It="index"===Tt;return($t,Gt)=>{let on=0;$t.subscribe((0,u.x)(Gt,vn=>{const bn=on++;Dt.call(gt,vn,bn,$t)&&(Gt.next(It?bn:vn),Gt.complete())},()=>{Gt.next(It?-1:void 0),Gt.complete()}))}}function Oe(Dt,gt){return(0,D.e)(ut(Dt,gt,"index"))}var Ct=_(1374);function Pt(Dt,gt,Tt,It){return(0,D.e)(($t,Gt)=>{let on;gt&&"function"!=typeof gt?({duration:Tt,element:on,connector:It}=gt):on=gt;const vn=new Map,bn=ri=>{vn.forEach(ri),ri(Gt)},An=ri=>bn(Kn=>Kn.error(ri));let Gn=0,ai=!1;const Ti=new u.Q(Gt,ri=>{try{const Kn=Dt(ri);let li=vn.get(Kn);if(!li){vn.set(Kn,li=It?It():new ue.x);const ji=function Vi(ri,Kn){const li=new ye.y(ji=>{Gn++;const lr=Kn.subscribe(ji);return()=>{lr.unsubscribe(),0==--Gn&&ai&&Ti.unsubscribe()}});return li.key=ri,li}(Kn,li);if(Gt.next(ji),Tt){const lr=(0,u.x)(li,()=>{li.complete(),lr?.unsubscribe()},void 0,void 0,()=>vn.delete(Kn));Ti.add((0,v.Xf)(Tt(ji)).subscribe(lr))}}li.next(on?on(ri):ri)}catch(Kn){An(Kn)}},()=>bn(ri=>ri.complete()),An,()=>vn.clear(),()=>(ai=!0,0===Gn));$t.subscribe(Ti)})}var Nt=_(7538);function bt(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,()=>{gt.next(!1),gt.complete()},()=>{gt.next(!0),gt.complete()}))})}var _e=_(2032),ce=_(975);function z(){return(0,D.e)((Dt,gt)=>{Dt.subscribe((0,u.x)(gt,Tt=>{gt.next(Re.createNext(Tt))},()=>{gt.next(Re.createComplete()),gt.complete()},Tt=>{gt.next(Re.createError(Tt)),gt.complete()}))})}function oe(Dt){return I((0,Z.m)(Dt)?(gt,Tt)=>Dt(gt,Tt)>0?gt:Tt:(gt,Tt)=>gt>Tt?gt:Tt)}var Se=_(7537);function at(...Dt){const gt=(0,r.yG)(Dt),Tt=(0,r._6)(Dt,1/0);return Dt=(0,U.k)(Dt),(0,D.e)((It,$t)=>{(0,Se.J)(Tt)((0,j.D)([It,...Dt],gt)).subscribe($t)})}const nt=M.z;function mt(Dt,gt,Tt=1/0){return(0,Z.m)(gt)?(0,M.z)(()=>Dt,gt,Tt):("number"==typeof gt&&(Tt=gt),(0,M.z)(()=>Dt,Tt))}function He(Dt,gt,Tt=1/0){return(0,D.e)((It,$t)=>{let Gt=gt;return(0,Ve.p)(It,$t,(on,vn)=>Dt(Gt,on,vn),Tt,on=>{Gt=on},!1,void 0,()=>Gt=null)})}function rt(...Dt){return at(...Dt)}function Lt(Dt){return I((0,Z.m)(Dt)?(gt,Tt)=>Dt(gt,Tt)<0?gt:Tt:(gt,Tt)=>gtDt;return(0,Z.m)(gt)?Ye(gt,{connector:Tt}):It=>new Xt.c(It,Tt)}var Nn=_(3093);const Hi=function _i(...Dt){const gt=(0,U.k)(Dt);return Tt=>function ui(...Dt){const gt=(0,U.k)(Dt);return new ye.y(Tt=>{let It=0;const $t=()=>{if(It{let Tt,It=!1;Dt.subscribe((0,u.x)(gt,$t=>{const Gt=Tt;Tt=$t,It&>.next([Gt,$t]),It=!0}))})}function st(Dt,gt){return(Tt,It)=>!Dt.call(gt,Tt,It)}function pn(Dt,gt){return Tt=>[(0,Ot.h)(Dt,gt)(Tt),(0,Ot.h)(st(Dt,gt))(Tt)]}function Ue(...Dt){const gt=Dt.length;if(0===gt)throw new Error("list of properties cannot be empty.");return(0,un.U)(Tt=>{let It=Tt;for(let $t=0;$tYe(Dt)(gt):gt=>tn(new ue.x)(gt)}var At=_(5619);function qt(Dt){return gt=>{const Tt=new At.X(Dt);return new Xt.c(gt,()=>Tt)}}class it extends ue.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(gt){const{hasError:Tt,_hasValue:It,_value:$t,thrownError:Gt,isStopped:on,_isComplete:vn}=this;Tt?gt.error(Gt):(on||vn)&&(It&>.next($t),gt.complete())}next(gt){this.isStopped||(this._value=gt,this._hasValue=!0)}complete(){const{_hasValue:gt,_value:Tt,_isComplete:It}=this;It||(this._isComplete=!0,gt&&super.next(Tt),super.complete())}}function dt(){return Dt=>{const gt=new it;return new Xt.c(Dt,()=>gt)}}var ct=_(7328);function Ut(Dt,gt,Tt,It){Tt&&!(0,Z.m)(Tt)&&(It=Tt);const $t=(0,Z.m)(Tt)?Tt:void 0;return Gt=>tn(new ct.t(Dt,gt,It),$t)(Gt)}var wt=_(3684);function vt(...Dt){return Dt.length?(0,D.e)((gt,Tt)=>{(0,wt.R)([gt,...Dt])(Tt)}):w.y}function Ht(...Dt){return vt(...(0,U.k)(Dt))}var dn=_(9080);function ze(Dt){let Tt,gt=1/0;return null!=Dt&&("object"==typeof Dt?({count:gt=1/0,delay:Tt}=Dt):gt=Dt),gt<=0?()=>Ce.E:(0,D.e)((It,$t)=>{let on,Gt=0;const vn=()=>{if(on?.unsubscribe(),on=null,null!=Tt){const An="number"==typeof Tt?(0,dn.H)(Tt):(0,v.Xf)(Tt(Gt)),Gn=(0,u.x)($t,()=>{Gn.unsubscribe(),bn()});An.subscribe(Gn)}else bn()},bn=()=>{let An=!1;on=It.subscribe((0,u.x)($t,void 0,()=>{++Gt{let It,Gt,$t=!1,on=!1,vn=!1;const bn=()=>vn&&on&&(Tt.complete(),!0),Gn=()=>{vn=!1,It=gt.subscribe((0,u.x)(Tt,void 0,()=>{vn=!0,!bn()&&(Gt||(Gt=new ue.x,(0,v.Xf)(Dt(Gt)).subscribe((0,u.x)(Tt,()=>{It?Gn():$t=!0},()=>{on=!0,bn()}))),Gt).next()})),$t&&(It.unsubscribe(),It=null,$t=!1,Gn())};Gn()})}function Y(Dt=1/0){let gt;gt=Dt&&"object"==typeof Dt?Dt:{count:Dt};const{count:Tt=1/0,delay:It,resetOnSuccess:$t=!1}=gt;return Tt<=0?w.y:(0,D.e)((Gt,on)=>{let bn,vn=0;const An=()=>{let Gn=!1;bn=Gt.subscribe((0,u.x)(on,ai=>{$t&&(vn=0),on.next(ai)},void 0,ai=>{if(vn++{bn?(bn.unsubscribe(),bn=null,An()):Gn=!0};if(null!=It){const Vi="number"==typeof It?(0,dn.H)(It):(0,v.Xf)(It(ai,vn)),ri=(0,u.x)(on,()=>{ri.unsubscribe(),Ti()},()=>{on.complete()});Vi.subscribe(ri)}else Ti()}else on.error(ai)})),Gn&&(bn.unsubscribe(),bn=null,An())};An()})}function pe(Dt){return(0,D.e)((gt,Tt)=>{let It,Gt,$t=!1;const on=()=>{It=gt.subscribe((0,u.x)(Tt,void 0,void 0,vn=>{Gt||(Gt=new ue.x,(0,v.Xf)(Dt(Gt)).subscribe((0,u.x)(Tt,()=>It?on():$t=!0))),Gt&&Gt.next(vn)})),$t&&(It.unsubscribe(),It=null,$t=!1,on())};on()})}var de=_(6196);function Qe(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=null;gt.subscribe((0,u.x)(Tt,Gt=>{It=!0,$t=Gt})),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{if(It){It=!1;const Gt=$t;$t=null,Tt.next(Gt)}},y.Z))})}function hn(Dt,gt=l.z){return Qe(function _t(Dt=0,gt=l.z){return Dt<0&&(Dt=0),(0,dn.H)(Dt,Dt,gt)}(Dt,gt))}var On=_(6424);function Bn(Dt,gt=((Tt,It)=>Tt===It)){return(0,D.e)((Tt,It)=>{const $t={buffer:[],complete:!1},Gt={buffer:[],complete:!1},on=bn=>{It.next(bn),It.complete()},vn=(bn,An)=>{const Gn=(0,u.x)(It,ai=>{const{buffer:Ti,complete:Vi}=An;0===Ti.length?Vi?on(!1):bn.buffer.push(ai):!gt(ai,Ti.shift())&&on(!1)},()=>{bn.complete=!0;const{complete:ai,buffer:Ti}=An;ai&&on(0===Ti.length),Gn?.unsubscribe()});return Gn};Tt.subscribe(vn($t,Gt)),(0,v.Xf)(Dt).subscribe(vn(Gt,$t))})}var Zn=_(3020),Ei=_(7081),qi=_(6973);const ki=(0,Be.d)(Dt=>function(Tt){Dt(this),this.name="SequenceError",this.message=Tt}),zi=(0,Be.d)(Dt=>function(Tt){Dt(this),this.name="NotFoundError",this.message=Tt});function Gi(Dt){return(0,D.e)((gt,Tt)=>{let $t,It=!1,Gt=!1,on=0;gt.subscribe((0,u.x)(Tt,vn=>{Gt=!0,(!Dt||Dt(vn,on++,gt))&&(It&&Tt.error(new ki("Too many matching values")),It=!0,$t=vn)},()=>{It?(Tt.next($t),Tt.complete()):Tt.error(Gt?new zi("No matching values"):new qi.K)}))})}var fr=_(836);function Tn(Dt){return Dt<=0?w.y:(0,D.e)((gt,Tt)=>{let It=new Array(Dt),$t=0;return gt.subscribe((0,u.x)(Tt,Gt=>{const on=$t++;if(on{It=null}})}function Ki(Dt){return(0,D.e)((gt,Tt)=>{let It=!1;const $t=(0,u.x)(Tt,()=>{$t?.unsubscribe(),It=!0},y.Z);(0,v.Xf)(Dt).subscribe($t),gt.subscribe((0,u.x)(Tt,Gt=>It&&Tt.next(Gt)))})}function qn(Dt){return(0,D.e)((gt,Tt)=>{let It=!1,$t=0;gt.subscribe((0,u.x)(Tt,Gt=>(It||(It=!Dt(Gt,$t++)))&&Tt.next(Gt)))})}var Pn=_(7921),Qn=_(5137),Fi=_(4664);function mr(){return(0,Fi.w)(w.y)}function er(Dt,gt){return(0,Z.m)(gt)?(0,Fi.w)(()=>Dt,gt):(0,Fi.w)(()=>Dt)}function _n(Dt,gt){return(0,D.e)((Tt,It)=>{let $t=gt;return(0,Fi.w)((Gt,on)=>Dt($t,Gt,on),(Gt,on)=>($t=on,on))(Tt).subscribe(It),()=>{$t=null}})}var wn=_(4418),Fn=_(9773),Ln=_(812),Mi=_(9397);function Vn(Dt,gt){return(0,D.e)((Tt,It)=>{const{leading:$t=!0,trailing:Gt=!1}=gt??{};let on=!1,vn=null,bn=null,An=!1;const Gn=()=>{bn?.unsubscribe(),bn=null,Gt&&(Vi(),An&&It.complete())},ai=()=>{bn=null,An&&It.complete()},Ti=ri=>bn=(0,v.Xf)(Dt(ri)).subscribe((0,u.x)(It,Gn,ai)),Vi=()=>{if(on){on=!1;const ri=vn;vn=null,It.next(ri),!An&&Ti(ri)}};Tt.subscribe((0,u.x)(It,ri=>{on=!0,vn=ri,(!bn||bn.closed)&&($t?Vi():Ti(ri))},()=>{An=!0,(!(Gt&&on&&bn)||bn.closed)&&It.complete()}))})}function Ui(Dt,gt=l.z,Tt){const It=(0,dn.H)(Dt,gt);return Vn(()=>It,Tt)}function sr(Dt=l.z){return(0,D.e)((gt,Tt)=>{let It=Dt.now();gt.subscribe((0,u.x)(Tt,$t=>{const Gt=Dt.now(),on=Gt-It;It=Gt,Tt.next(new pr($t,on))}))})}class pr{constructor(gt,Tt){this.value=gt,this.interval=Tt}}var Gr=_(5178),Sr=_(93);function Lr(Dt,gt,Tt){let It,$t,Gt;if(Tt=Tt??l.P,(0,Sr.q)(Dt)?It=Dt:"number"==typeof Dt&&($t=Dt),!gt)throw new TypeError("No observable provided to switch to");if(Gt=()=>gt,null==It&&null==$t)throw new TypeError("No timeout provided.");return(0,Gr.V)({first:It,each:$t,scheduler:Tt,with:Gt})}var tr=_(4552);function Cr(Dt=tr.l){return(0,un.U)(gt=>({value:gt,timestamp:Dt.now()}))}function Zi(Dt){return(0,D.e)((gt,Tt)=>{let It=new ue.x;Tt.next(It.asObservable());const $t=Gt=>{It.error(Gt),Tt.error(Gt)};return gt.subscribe((0,u.x)(Tt,Gt=>It?.next(Gt),()=>{It.complete(),Tt.complete()},$t)),(0,v.Xf)(Dt).subscribe((0,u.x)(Tt,()=>{It.complete(),Tt.next(It=new ue.x)},y.Z,$t)),()=>{It?.unsubscribe(),It=null}})}function or(Dt,gt=0){const Tt=gt>0?gt:Dt;return(0,D.e)((It,$t)=>{let Gt=[new ue.x],on=[],vn=0;$t.next(Gt[0].asObservable()),It.subscribe((0,u.x)($t,bn=>{for(const Gn of Gt)Gn.next(bn);const An=vn-Dt+1;if(An>=0&&An%Tt==0&&Gt.shift().complete(),++vn%Tt==0){const Gn=new ue.x;Gt.push(Gn),$t.next(Gn.asObservable())}},()=>{for(;Gt.length>0;)Gt.shift().complete();$t.complete()},bn=>{for(;Gt.length>0;)Gt.shift().error(bn);$t.error(bn)},()=>{on=null,Gt=null}))})}function oi(Dt,...gt){var Tt,It;const $t=null!==(Tt=(0,r.yG)(gt))&&void 0!==Tt?Tt:l.z,Gt=null!==(It=gt[0])&&void 0!==It?It:null,on=gt[1]||1/0;return(0,D.e)((vn,bn)=>{let An=[],Gn=!1;const ai=Kn=>{const{window:li,subs:ji}=Kn;li.complete(),ji.unsubscribe(),(0,m.P)(An,Kn),Gn&&Ti()},Ti=()=>{if(An){const Kn=new o.w0;bn.add(Kn);const li=new ue.x,ji={window:li,subs:Kn,seen:0};An.push(ji),bn.next(li.asObservable()),(0,c.f)(Kn,$t,()=>ai(ji),Dt)}};null!==Gt&&Gt>=0?(0,c.f)(bn,$t,Ti,Gt,!0):Gn=!0,Ti();const Vi=Kn=>An.slice().forEach(Kn),ri=Kn=>{Vi(({window:li})=>Kn(li)),Kn(bn),bn.unsubscribe()};return vn.subscribe((0,u.x)(bn,Kn=>{Vi(li=>{li.window.next(Kn),on<=++li.seen&&ai(li)})},()=>ri(Kn=>Kn.complete()),Kn=>ri(li=>li.error(Kn)))),()=>{An=null}})}function wr(Dt,gt){return(0,D.e)((Tt,It)=>{const $t=[],Gt=on=>{for(;0<$t.length;)$t.shift().error(on);It.error(on)};(0,v.Xf)(Dt).subscribe((0,u.x)(It,on=>{const vn=new ue.x;$t.push(vn);const bn=new o.w0;let Gn;try{Gn=(0,v.Xf)(gt(on))}catch(ai){return void Gt(ai)}It.next(vn.asObservable()),bn.add(Gn.subscribe((0,u.x)(It,()=>{(0,m.P)($t,vn),vn.complete(),bn.unsubscribe()},y.Z,Gt)))},y.Z)),Tt.subscribe((0,u.x)(It,on=>{const vn=$t.slice();for(const bn of vn)bn.next(on)},()=>{for(;0<$t.length;)$t.shift().complete();It.complete()},Gt,()=>{for(;0<$t.length;)$t.shift().unsubscribe()}))})}function Fr(Dt){return(0,D.e)((gt,Tt)=>{let It,$t;const Gt=vn=>{It.error(vn),Tt.error(vn)},on=()=>{let vn;$t?.unsubscribe(),It?.complete(),It=new ue.x,Tt.next(It.asObservable());try{vn=(0,v.Xf)(Dt())}catch(bn){return void Gt(bn)}vn.subscribe($t=(0,u.x)(Tt,on,on,Gt))};on(),gt.subscribe((0,u.x)(Tt,vn=>It.next(vn),()=>{It.complete(),Tt.complete()},Gt,()=>{$t?.unsubscribe(),It=null}))})}function ps(...Dt){const gt=(0,r.jO)(Dt);return(0,D.e)((Tt,It)=>{const $t=Dt.length,Gt=new Array($t);let on=Dt.map(()=>!1),vn=!1;for(let bn=0;bn<$t;bn++)(0,v.Xf)(Dt[bn]).subscribe((0,u.x)(It,An=>{Gt[bn]=An,!vn&&!on[bn]&&(on[bn]=!0,(vn=on.every(w.y))&&(on=null))},y.Z));Tt.subscribe((0,u.x)(It,bn=>{if(vn){const An=[bn,...Gt];It.next(gt?gt(...An):An)}}))})}var Jr=_(9278);function Tr(...Dt){return(0,D.e)((gt,Tt)=>{(0,Jr.$)(gt,...Dt).subscribe(Tt)})}function qr(Dt){return L(Jr.$,Dt)}function Ur(...Dt){return Tr(...Dt)}},6144:Me=>{"use strict";Me.exports=(ie,_)=>{if("string"!=typeof ie||"string"!=typeof _)throw new TypeError("Expected the arguments to be of type `string`");if(""===_)return[ie];const n=ie.indexOf(_);return-1===n?[ie]:[ie.slice(0,n),ie.slice(n+_.length)]}},8385:Me=>{"use strict";Me.exports=ie=>encodeURIComponent(ie).replace(/[!'()*]/g,_=>`%${_.charCodeAt(0).toString(16).toUpperCase()}`)},655:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{__addDisposableResource:()=>ne,__assign:()=>D,__asyncDelegator:()=>k,__asyncGenerator:()=>M,__asyncValues:()=>I,__await:()=>S,__awaiter:()=>r,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>U,__createBinding:()=>d,__decorate:()=>u,__disposeResources:()=>j,__esDecorate:()=>s,__exportStar:()=>g,__extends:()=>f,__generator:()=>c,__importDefault:()=>F,__importStar:()=>L,__makeTemplateObject:()=>P,__metadata:()=>l,__param:()=>v,__propKey:()=>h,__read:()=>C,__rest:()=>y,__runInitializers:()=>m,__setFunctionName:()=>o,__spread:()=>x,__spreadArray:()=>T,__spreadArrays:()=>w,__values:()=>b,default:()=>B});var n=function($,Z){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,te){H.__proto__=te}||function(H,te){for(var ue in te)Object.prototype.hasOwnProperty.call(te,ue)&&(H[ue]=te[ue])})($,Z)};function f($,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Class extends value "+String(Z)+" is not a constructor or null");function H(){this.constructor=$}n($,Z),$.prototype=null===Z?Object.create(Z):(H.prototype=Z.prototype,new H)}var D=function(){return D=Object.assign||function(Z){for(var H,te=1,ue=arguments.length;te=0;$e--)(Ge=$[$e])&&(ye=(ue<3?Ge(ye):ue>3?Ge(Z,H,ye):Ge(Z,H))||ye);return ue>3&&ye&&Object.defineProperty(Z,H,ye),ye}function v($,Z){return function(H,te){Z(H,te,$)}}function s($,Z,H,te,ue,ye){function Ge(Ae){if(void 0!==Ae&&"function"!=typeof Ae)throw new TypeError("Function expected");return Ae}for(var Te,$e=te.kind,Ye="getter"===$e?"get":"setter"===$e?"set":"value",Ze=!Z&&$?te.static?$:$.prototype:null,Et=Z||(Ze?Object.getOwnPropertyDescriptor(Ze,te.name):{}),qe=!1,Ee=H.length-1;Ee>=0;Ee--){var Ie={};for(var Ce in te)Ie[Ce]="access"===Ce?{}:te[Ce];for(var Ce in te.access)Ie.access[Ce]=te.access[Ce];Ie.addInitializer=function(Ae){if(qe)throw new TypeError("Cannot add initializers after decoration has completed");ye.push(Ge(Ae||null))};var ge=(0,H[Ee])("accessor"===$e?{get:Et.get,set:Et.set}:Et[Ye],Ie);if("accessor"===$e){if(void 0===ge)continue;if(null===ge||"object"!=typeof ge)throw new TypeError("Object expected");(Te=Ge(ge.get))&&(Et.get=Te),(Te=Ge(ge.set))&&(Et.set=Te),(Te=Ge(ge.init))&&ue.unshift(Te)}else(Te=Ge(ge))&&("field"===$e?ue.unshift(Te):Et[Ye]=Te)}Ze&&Object.defineProperty(Ze,te.name,Et),qe=!0}function m($,Z,H){for(var te=arguments.length>2,ue=0;ue0&&ye[ye.length-1])&&(6===Ze[0]||2===Ze[0])){H=0;continue}if(3===Ze[0]&&(!ye||Ze[1]>ye[0]&&Ze[1]=$.length&&($=void 0),{value:$&&$[te++],done:!$}}};throw new TypeError(Z?"Object is not iterable.":"Symbol.iterator is not defined.")}function C($,Z){var H="function"==typeof Symbol&&$[Symbol.iterator];if(!H)return $;var ue,Ge,te=H.call($),ye=[];try{for(;(void 0===Z||Z-- >0)&&!(ue=te.next()).done;)ye.push(ue.value)}catch($e){Ge={error:$e}}finally{try{ue&&!ue.done&&(H=te.return)&&H.call(te)}finally{if(Ge)throw Ge.error}}return ye}function x(){for(var $=[],Z=0;Z1||$e(qe,Ee)})})}function $e(qe,Ee){try{!function Ye(qe){qe.value instanceof S?Promise.resolve(qe.value.v).then(Ze,Et):Te(ye[0][2],qe)}(te[qe](Ee))}catch(Ie){Te(ye[0][3],Ie)}}function Ze(qe){$e("next",qe)}function Et(qe){$e("throw",qe)}function Te(qe,Ee){qe(Ee),ye.shift(),ye.length&&$e(ye[0][0],ye[0][1])}}function k($){var Z,H;return Z={},te("next"),te("throw",function(ue){throw ue}),te("return"),Z[Symbol.iterator]=function(){return this},Z;function te(ue,ye){Z[ue]=$[ue]?function(Ge){return(H=!H)?{value:S($[ue](Ge)),done:!1}:ye?ye(Ge):Ge}:ye}}function I($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,Z=$[Symbol.asyncIterator];return Z?Z.call($):($=b($),H={},te("next"),te("throw"),te("return"),H[Symbol.asyncIterator]=function(){return this},H);function te(ye){H[ye]=$[ye]&&function(Ge){return new Promise(function($e,Ye){!function ue(ye,Ge,$e,Ye){Promise.resolve(Ye).then(function(Ze){ye({value:Ze,done:$e})},Ge)}($e,Ye,(Ge=$[ye](Ge)).done,Ge.value)})}}}function P($,Z){return Object.defineProperty?Object.defineProperty($,"raw",{value:Z}):$.raw=Z,$}var A=Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z};function L($){if($&&$.__esModule)return $;var Z={};if(null!=$)for(var H in $)"default"!==H&&Object.prototype.hasOwnProperty.call($,H)&&d(Z,$,H);return A(Z,$),Z}function F($){return $&&$.__esModule?$:{default:$}}function R($,Z,H,te){if("a"===H&&!te)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof Z?$!==Z||!te:!Z.has($))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===H?te:"a"===H?te.call($):te?te.value:Z.get($)}function U($,Z,H,te,ue){if("m"===te)throw new TypeError("Private method is not writable");if("a"===te&&!ue)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof Z?$!==Z||!ue:!Z.has($))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===te?ue.call($,H):ue?ue.value=H:Z.set($,H),H}function W($,Z){if(null===Z||"object"!=typeof Z&&"function"!=typeof Z)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof $?Z===$:$.has(Z)}function ne($,Z,H){if(null!=Z){if("object"!=typeof Z&&"function"!=typeof Z)throw new TypeError("Object expected.");var te;if(H){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");te=Z[Symbol.asyncDispose]}if(void 0===te){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");te=Z[Symbol.dispose]}if("function"!=typeof te)throw new TypeError("Object not disposable.");$.stack.push({value:Z,dispose:te,async:H})}else H&&$.stack.push({async:!0});return Z}var ee="function"==typeof SuppressedError?SuppressedError:function($,Z,H){var te=new Error(H);return te.name="SuppressedError",te.error=$,te.suppressed=Z,te};function j($){function Z(te){$.error=$.hasError?new ee(te,$.error,"An error was suppressed during disposal."):te,$.hasError=!0}return function H(){for(;$.stack.length;){var te=$.stack.pop();try{var ue=te.dispose&&te.dispose.call(te.value);if(te.async)return Promise.resolve(ue).then(H,function(ye){return Z(ye),H()})}catch(ye){Z(ye)}}if($.hasError)throw $.error}()}const B={__extends:f,__assign:D,__rest:y,__decorate:u,__param:v,__metadata:l,__awaiter:r,__generator:c,__createBinding:d,__exportStar:g,__values:b,__read:C,__spread:x,__spreadArrays:w,__spreadArray:T,__await:S,__asyncGenerator:M,__asyncDelegator:k,__asyncValues:I,__makeTemplateObject:P,__importStar:L,__importDefault:F,__classPrivateFieldGet:R,__classPrivateFieldSet:U,__classPrivateFieldIn:W,__addDisposableResource:ne,__disposeResources:j}},6548:Me=>{function ie(Oe){return Oe instanceof Map?Oe.clear=Oe.delete=Oe.set=function(){throw new Error("map is read-only")}:Oe instanceof Set&&(Oe.add=Oe.clear=Oe.delete=function(){throw new Error("set is read-only")}),Object.freeze(Oe),Object.getOwnPropertyNames(Oe).forEach(Ct=>{const Pt=Oe[Ct],Nt=typeof Pt;("object"===Nt||"function"===Nt)&&!Object.isFrozen(Pt)&&ie(Pt)}),Oe}class _{constructor(Ct){void 0===Ct.data&&(Ct.data={}),this.data=Ct.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(Oe){return Oe.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function f(Oe,...Ct){const Pt=Object.create(null);for(const Nt in Oe)Pt[Nt]=Oe[Nt];return Ct.forEach(function(Nt){for(const bt in Nt)Pt[bt]=Nt[bt]}),Pt}const y=Oe=>!!Oe.scope;class v{constructor(Ct,Pt){this.buffer="",this.classPrefix=Pt.classPrefix,Ct.walk(this)}addText(Ct){this.buffer+=n(Ct)}openNode(Ct){if(!y(Ct))return;const Pt=((Oe,{prefix:Ct})=>{if(Oe.startsWith("language:"))return Oe.replace("language:","language-");if(Oe.includes(".")){const Pt=Oe.split(".");return[`${Ct}${Pt.shift()}`,...Pt.map((Nt,bt)=>`${Nt}${"_".repeat(bt+1)}`)].join(" ")}return`${Ct}${Oe}`})(Ct.scope,{prefix:this.classPrefix});this.span(Pt)}closeNode(Ct){y(Ct)&&(this.buffer+="")}value(){return this.buffer}span(Ct){this.buffer+=``}}const s=(Oe={})=>{const Ct={children:[]};return Object.assign(Ct,Oe),Ct};class m{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Ct){this.top.children.push(Ct)}openNode(Ct){const Pt=s({scope:Ct});this.add(Pt),this.stack.push(Pt)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Ct){return this.constructor._walk(Ct,this.rootNode)}static _walk(Ct,Pt){return"string"==typeof Pt?Ct.addText(Pt):Pt.children&&(Ct.openNode(Pt),Pt.children.forEach(Nt=>this._walk(Ct,Nt)),Ct.closeNode(Pt)),Ct}static _collapse(Ct){"string"!=typeof Ct&&Ct.children&&(Ct.children.every(Pt=>"string"==typeof Pt)?Ct.children=[Ct.children.join("")]:Ct.children.forEach(Pt=>{m._collapse(Pt)}))}}class h extends m{constructor(Ct){super(),this.options=Ct}addText(Ct){""!==Ct&&this.add(Ct)}startScope(Ct){this.openNode(Ct)}endScope(){this.closeNode()}__addSublanguage(Ct,Pt){const Nt=Ct.root;Pt&&(Nt.scope=`language:${Pt}`),this.add(Nt)}toHTML(){return new v(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function o(Oe){return Oe?"string"==typeof Oe?Oe:Oe.source:null}function l(Oe){return d("(?=",Oe,")")}function r(Oe){return d("(?:",Oe,")*")}function c(Oe){return d("(?:",Oe,")?")}function d(...Oe){return Oe.map(Pt=>o(Pt)).join("")}function b(...Oe){return"("+(function g(Oe){const Ct=Oe[Oe.length-1];return"object"==typeof Ct&&Ct.constructor===Object?(Oe.splice(Oe.length-1,1),Ct):{}}(Oe).capture?"":"?:")+Oe.map(Nt=>o(Nt)).join("|")+")"}function C(Oe){return new RegExp(Oe.toString()+"|").exec("").length-1}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function T(Oe,{joinWith:Ct}){let Pt=0;return Oe.map(Nt=>{Pt+=1;const bt=Pt;let _e=o(Nt),ce="";for(;_e.length>0;){const z=w.exec(_e);if(!z){ce+=_e;break}ce+=_e.substring(0,z.index),_e=_e.substring(z.index+z[0].length),"\\"===z[0][0]&&z[1]?ce+="\\"+String(Number(z[1])+bt):(ce+=z[0],"("===z[0]&&Pt++)}return ce}).map(Nt=>`(${Nt})`).join(Ct)}const M="[a-zA-Z]\\w*",k="[a-zA-Z_]\\w*",I="\\b\\d+(\\.\\d+)?",P="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",A="\\b(0b[01]+)",R={begin:"\\\\[\\s\\S]",relevance:0},U={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[R]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[R]},ee=function(Oe,Ct,Pt={}){const Nt=f({scope:"comment",begin:Oe,end:Ct,contains:[]},Pt);Nt.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 bt=b("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 Nt.contains.push({begin:d(/[ ]+/,"(",bt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Nt},j=ee("//","$"),B=ee("/\\*","\\*/"),$=ee("#","$");var Ze=Object.freeze({__proto__:null,APOS_STRING_MODE:U,BACKSLASH_ESCAPE:R,BINARY_NUMBER_MODE:{scope:"number",begin:A,relevance:0},BINARY_NUMBER_RE:A,COMMENT:ee,C_BLOCK_COMMENT_MODE:B,C_LINE_COMMENT_MODE:j,C_NUMBER_MODE:{scope:"number",begin:P,relevance:0},C_NUMBER_RE:P,END_SAME_AS_BEGIN:function(Oe){return Object.assign(Oe,{"on:begin":(Ct,Pt)=>{Pt.data._beginMatch=Ct[1]},"on:end":(Ct,Pt)=>{Pt.data._beginMatch!==Ct[1]&&Pt.ignoreMatch()}})},HASH_COMMENT_MODE:$,IDENT_RE:M,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+k,relevance:0},NUMBER_MODE:{scope:"number",begin:I,relevance:0},NUMBER_RE:I,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:W,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[R,{begin:/\[/,end:/\]/,relevance:0,contains:[R]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Oe={})=>{const Ct=/^#![ ]*\//;return Oe.binary&&(Oe.begin=d(Ct,/.*\b/,Oe.binary,/\b.*/)),f({scope:"meta",begin:Ct,end:/$/,relevance:0,"on:begin":(Pt,Nt)=>{0!==Pt.index&&Nt.ignoreMatch()}},Oe)},TITLE_MODE:{scope:"title",begin:M,relevance:0},UNDERSCORE_IDENT_RE:k,UNDERSCORE_TITLE_MODE:{scope:"title",begin:k,relevance:0}});function Et(Oe,Ct){"."===Oe.input[Oe.index-1]&&Ct.ignoreMatch()}function Te(Oe,Ct){void 0!==Oe.className&&(Oe.scope=Oe.className,delete Oe.className)}function qe(Oe,Ct){Ct&&Oe.beginKeywords&&(Oe.begin="\\b("+Oe.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Oe.__beforeBegin=Et,Oe.keywords=Oe.keywords||Oe.beginKeywords,delete Oe.beginKeywords,void 0===Oe.relevance&&(Oe.relevance=0))}function Ee(Oe,Ct){Array.isArray(Oe.illegal)&&(Oe.illegal=b(...Oe.illegal))}function Ie(Oe,Ct){if(Oe.match){if(Oe.begin||Oe.end)throw new Error("begin & end are not supported with match");Oe.begin=Oe.match,delete Oe.match}}function Ce(Oe,Ct){void 0===Oe.relevance&&(Oe.relevance=1)}const ge=(Oe,Ct)=>{if(!Oe.beforeMatch)return;if(Oe.starts)throw new Error("beforeMatch cannot be used with starts");const Pt=Object.assign({},Oe);Object.keys(Oe).forEach(Nt=>{delete Oe[Nt]}),Oe.keywords=Pt.keywords,Oe.begin=d(Pt.beforeMatch,l(Pt.begin)),Oe.starts={relevance:0,contains:[Object.assign(Pt,{endsParent:!0})]},Oe.relevance=0,delete Pt.beforeMatch},Ae=["of","and","for","in","not","or","if","then","parent","list","value"],q="keyword";function Re(Oe,Ct,Pt=q){const Nt=Object.create(null);return"string"==typeof Oe?bt(Pt,Oe.split(" ")):Array.isArray(Oe)?bt(Pt,Oe):Object.keys(Oe).forEach(function(_e){Object.assign(Nt,Re(Oe[_e],Ct,_e))}),Nt;function bt(_e,ce){Ct&&(ce=ce.map(z=>z.toLowerCase())),ce.forEach(function(z){const oe=z.split("|");Nt[oe[0]]=[_e,ke(oe[0],oe[1])]})}}function ke(Oe,Ct){return Ct?Number(Ct):function Ke(Oe){return Ae.includes(Oe.toLowerCase())}(Oe)?0:1}const me={},Pe=Oe=>{console.error(Oe)},Ne=(Oe,...Ct)=>{console.log(`WARN: ${Oe}`,...Ct)},Be=(Oe,Ct)=>{me[`${Oe}/${Ct}`]||(console.log(`Deprecated as of ${Oe}. ${Ct}`),me[`${Oe}/${Ct}`]=!0)},yt=new Error;function Ot(Oe,Ct,{key:Pt}){let Nt=0;const bt=Oe[Pt],_e={},ce={};for(let z=1;z<=Ct.length;z++)ce[z+Nt]=bt[z],_e[z+Nt]=!0,Nt+=C(Ct[z-1]);Oe[Pt]=ce,Oe[Pt]._emit=_e,Oe[Pt]._multi=!0}function fn(Oe){(function cn(Oe){Oe.scope&&"object"==typeof Oe.scope&&null!==Oe.scope&&(Oe.beginScope=Oe.scope,delete Oe.scope)})(Oe),"string"==typeof Oe.beginScope&&(Oe.beginScope={_wrap:Oe.beginScope}),"string"==typeof Oe.endScope&&(Oe.endScope={_wrap:Oe.endScope}),function Yt(Oe){if(Array.isArray(Oe.begin)){if(Oe.skip||Oe.excludeBegin||Oe.returnBegin)throw Pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),yt;if("object"!=typeof Oe.beginScope||null===Oe.beginScope)throw Pe("beginScope must be object"),yt;Ot(Oe,Oe.begin,{key:"beginScope"}),Oe.begin=T(Oe.begin,{joinWith:""})}}(Oe),function jt(Oe){if(Array.isArray(Oe.end)){if(Oe.skip||Oe.excludeEnd||Oe.returnEnd)throw Pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),yt;if("object"!=typeof Oe.endScope||null===Oe.endScope)throw Pe("endScope must be object"),yt;Ot(Oe,Oe.end,{key:"endScope"}),Oe.end=T(Oe.end,{joinWith:""})}}(Oe)}function an(Oe){function Ct(ce,z){return new RegExp(o(ce),"m"+(Oe.case_insensitive?"i":"")+(Oe.unicodeRegex?"u":"")+(z?"g":""))}class Pt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(z,oe){oe.position=this.position++,this.matchIndexes[this.matchAt]=oe,this.regexes.push([oe,z]),this.matchAt+=C(z)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const z=this.regexes.map(oe=>oe[1]);this.matcherRe=Ct(T(z,{joinWith:"|"}),!0),this.lastIndex=0}exec(z){this.matcherRe.lastIndex=this.lastIndex;const oe=this.matcherRe.exec(z);if(!oe)return null;const Se=oe.findIndex((nt,mt)=>mt>0&&void 0!==nt),at=this.matchIndexes[Se];return oe.splice(0,Se),Object.assign(oe,at)}}class Nt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(z){if(this.multiRegexes[z])return this.multiRegexes[z];const oe=new Pt;return this.rules.slice(z).forEach(([Se,at])=>oe.addRule(Se,at)),oe.compile(),this.multiRegexes[z]=oe,oe}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(z,oe){this.rules.push([z,oe]),"begin"===oe.type&&this.count++}exec(z){const oe=this.getMatcher(this.regexIndex);oe.lastIndex=this.lastIndex;let Se=oe.exec(z);if(this.resumingScanAtSamePosition()&&(!Se||Se.index!==this.lastIndex)){const at=this.getMatcher(0);at.lastIndex=this.lastIndex+1,Se=at.exec(z)}return Se&&(this.regexIndex+=Se.position+1,this.regexIndex===this.count&&this.considerAll()),Se}}if(Oe.compilerExtensions||(Oe.compilerExtensions=[]),Oe.contains&&Oe.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Oe.classNameAliases=f(Oe.classNameAliases||{}),function _e(ce,z){const oe=ce;if(ce.isCompiled)return oe;[Te,Ie,fn,ge].forEach(at=>at(ce,z)),Oe.compilerExtensions.forEach(at=>at(ce,z)),ce.__beforeBegin=null,[qe,Ee,Ce].forEach(at=>at(ce,z)),ce.isCompiled=!0;let Se=null;return"object"==typeof ce.keywords&&ce.keywords.$pattern&&(ce.keywords=Object.assign({},ce.keywords),Se=ce.keywords.$pattern,delete ce.keywords.$pattern),Se=Se||/\w+/,ce.keywords&&(ce.keywords=Re(ce.keywords,Oe.case_insensitive)),oe.keywordPatternRe=Ct(Se,!0),z&&(ce.begin||(ce.begin=/\B|\b/),oe.beginRe=Ct(oe.begin),!ce.end&&!ce.endsWithParent&&(ce.end=/\B|\b/),ce.end&&(oe.endRe=Ct(oe.end)),oe.terminatorEnd=o(oe.end)||"",ce.endsWithParent&&z.terminatorEnd&&(oe.terminatorEnd+=(ce.end?"|":"")+z.terminatorEnd)),ce.illegal&&(oe.illegalRe=Ct(ce.illegal)),ce.contains||(ce.contains=[]),ce.contains=[].concat(...ce.contains.map(function(at){return function un(Oe){return Oe.variants&&!Oe.cachedVariants&&(Oe.cachedVariants=Oe.variants.map(function(Ct){return f(Oe,{variants:null},Ct)})),Oe.cachedVariants?Oe.cachedVariants:En(Oe)?f(Oe,{starts:Oe.starts?f(Oe.starts):null}):Object.isFrozen(Oe)?f(Oe):Oe}("self"===at?ce:at)})),ce.contains.forEach(function(at){_e(at,oe)}),ce.starts&&_e(ce.starts,z),oe.matcher=function bt(ce){const z=new Nt;return ce.contains.forEach(oe=>z.addRule(oe.begin,{rule:oe,type:"begin"})),ce.terminatorEnd&&z.addRule(ce.terminatorEnd,{type:"end"}),ce.illegal&&z.addRule(ce.illegal,{type:"illegal"}),z}(oe),oe}(Oe)}function En(Oe){return!!Oe&&(Oe.endsWithParent||En(Oe.starts))}class Ft extends Error{constructor(Ct,Pt){super(Ct),this.name="HTMLInjectionError",this.html=Pt}}const De=n,Ve=f,Xe=Symbol("nomatch"),tt=function(Oe){const Ct=Object.create(null),Pt=Object.create(null),Nt=[];let bt=!0;const _e="Could not find the language '{}', did you forget to load/include a language module?",ce={disableAutodetect:!0,name:"Plain text",contains:[]};let z={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function oe(wt){return z.noHighlightRe.test(wt)}function at(wt,vt,Ht){let dn="",ze="";"object"==typeof vt?(dn=wt,Ht=vt.ignoreIllegals,ze=vt.language):(Be("10.7.0","highlight(lang, code, ...args) has been deprecated."),Be("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),ze=wt,dn=vt),void 0===Ht&&(Ht=!0);const en={code:dn,language:ze};ct("before:highlight",en);const Y=en.result?en.result:nt(en.language,en.code,Ht);return Y.code=en.code,ct("after:highlight",Y),Y}function nt(wt,vt,Ht,dn){const ze=Object.create(null);function en(_n,wn){return _n.keywords[wn]}function Y(){if(!Tn.keywords)return void qn.addText(Pn);let _n=0;Tn.keywordPatternRe.lastIndex=0;let wn=Tn.keywordPatternRe.exec(Pn),Fn="";for(;wn;){Fn+=Pn.substring(_n,wn.index);const Ln=zi.case_insensitive?wn[0].toLowerCase():wn[0],Mi=en(Tn,Ln);if(Mi){const[Vn,Ui]=Mi;qn.addText(Fn),Fn="",ze[Ln]=(ze[Ln]||0)+1,ze[Ln]<=7&&(Qn+=Ui),Vn.startsWith("_")?Fn+=wn[0]:Qe(wn[0],zi.classNameAliases[Vn]||Vn)}else Fn+=wn[0];_n=Tn.keywordPatternRe.lastIndex,wn=Tn.keywordPatternRe.exec(Pn)}Fn+=Pn.substring(_n),qn.addText(Fn)}function de(){null!=Tn.subLanguage?function pe(){if(""===Pn)return;let _n=null;if("string"==typeof Tn.subLanguage){if(!Ct[Tn.subLanguage])return void qn.addText(Pn);_n=nt(Tn.subLanguage,Pn,!0,Ki[Tn.subLanguage]),Ki[Tn.subLanguage]=_n._top}else _n=He(Pn,Tn.subLanguage.length?Tn.subLanguage:null);Tn.relevance>0&&(Qn+=_n.relevance),qn.__addSublanguage(_n._emitter,_n.language)}():Y(),Pn=""}function Qe(_n,wn){""!==_n&&(qn.startScope(wn),qn.addText(_n),qn.endScope())}function _t(_n,wn){let Fn=1;const Ln=wn.length-1;for(;Fn<=Ln;){if(!_n._emit[Fn]){Fn++;continue}const Mi=zi.classNameAliases[_n[Fn]]||_n[Fn],Vn=wn[Fn];Mi?Qe(Vn,Mi):(Pn=Vn,Y(),Pn=""),Fn++}}function hn(_n,wn){return _n.scope&&"string"==typeof _n.scope&&qn.openNode(zi.classNameAliases[_n.scope]||_n.scope),_n.beginScope&&(_n.beginScope._wrap?(Qe(Pn,zi.classNameAliases[_n.beginScope._wrap]||_n.beginScope._wrap),Pn=""):_n.beginScope._multi&&(_t(_n.beginScope,wn),Pn="")),Tn=Object.create(_n,{parent:{value:Tn}}),Tn}function On(_n,wn,Fn){let Ln=function x(Oe,Ct){const Pt=Oe&&Oe.exec(Ct);return Pt&&0===Pt.index}(_n.endRe,Fn);if(Ln){if(_n["on:end"]){const Mi=new _(_n);_n["on:end"](wn,Mi),Mi.isMatchIgnored&&(Ln=!1)}if(Ln){for(;_n.endsParent&&_n.parent;)_n=_n.parent;return _n}}if(_n.endsWithParent)return On(_n.parent,wn,Fn)}function Bn(_n){return 0===Tn.matcher.regexIndex?(Pn+=_n[0],1):(er=!0,0)}function Zn(_n){const wn=_n[0],Fn=vt.substring(_n.index),Ln=On(Tn,_n,Fn);if(!Ln)return Xe;const Mi=Tn;Tn.endScope&&Tn.endScope._wrap?(de(),Qe(wn,Tn.endScope._wrap)):Tn.endScope&&Tn.endScope._multi?(de(),_t(Tn.endScope,_n)):Mi.skip?Pn+=wn:(Mi.returnEnd||Mi.excludeEnd||(Pn+=wn),de(),Mi.excludeEnd&&(Pn=wn));do{Tn.scope&&qn.closeNode(),!Tn.skip&&!Tn.subLanguage&&(Qn+=Tn.relevance),Tn=Tn.parent}while(Tn!==Ln.parent);return Ln.starts&&hn(Ln.starts,_n),Mi.returnEnd?0:wn.length}let qi={};function ki(_n,wn){const Fn=wn&&wn[0];if(Pn+=_n,null==Fn)return de(),0;if("begin"===qi.type&&"end"===wn.type&&qi.index===wn.index&&""===Fn){if(Pn+=vt.slice(wn.index,wn.index+1),!bt){const Ln=new Error(`0 width match regex (${wt})`);throw Ln.languageName=wt,Ln.badRule=qi.rule,Ln}return 1}if(qi=wn,"begin"===wn.type)return function Ci(_n){const wn=_n[0],Fn=_n.rule,Ln=new _(Fn),Mi=[Fn.__beforeBegin,Fn["on:begin"]];for(const Vn of Mi)if(Vn&&(Vn(_n,Ln),Ln.isMatchIgnored))return Bn(wn);return Fn.skip?Pn+=wn:(Fn.excludeBegin&&(Pn+=wn),de(),!Fn.returnBegin&&!Fn.excludeBegin&&(Pn=wn)),hn(Fn,_n),Fn.returnBegin?0:wn.length}(wn);if("illegal"===wn.type&&!Ht){const Ln=new Error('Illegal lexeme "'+Fn+'" for mode "'+(Tn.scope||"")+'"');throw Ln.mode=Tn,Ln}if("end"===wn.type){const Ln=Zn(wn);if(Ln!==Xe)return Ln}if("illegal"===wn.type&&""===Fn)return 1;if(mr>1e5&&mr>3*wn.index)throw new Error("potential infinite loop, way more iterations than matches");return Pn+=Fn,Fn.length}const zi=Ue(wt);if(!zi)throw Pe(_e.replace("{}",wt)),new Error('Unknown language: "'+wt+'"');const Gi=an(zi);let fr="",Tn=dn||Gi;const Ki={},qn=new z.__emitter(z);!function Ei(){const _n=[];for(let wn=Tn;wn!==zi;wn=wn.parent)wn.scope&&_n.unshift(wn.scope);_n.forEach(wn=>qn.openNode(wn))}();let Pn="",Qn=0,Fi=0,mr=0,er=!1;try{if(zi.__emitTokens)zi.__emitTokens(vt,qn);else{for(Tn.matcher.considerAll();;){mr++,er?er=!1:Tn.matcher.considerAll(),Tn.matcher.lastIndex=Fi;const _n=Tn.matcher.exec(vt);if(!_n)break;const Fn=ki(vt.substring(Fi,_n.index),_n);Fi=_n.index+Fn}ki(vt.substring(Fi))}return qn.finalize(),fr=qn.toHTML(),{language:wt,value:fr,relevance:Qn,illegal:!1,_emitter:qn,_top:Tn}}catch(_n){if(_n.message&&_n.message.includes("Illegal"))return{language:wt,value:De(vt),illegal:!0,relevance:0,_illegalBy:{message:_n.message,index:Fi,context:vt.slice(Fi-100,Fi+100),mode:_n.mode,resultSoFar:fr},_emitter:qn};if(bt)return{language:wt,value:De(vt),illegal:!1,relevance:0,errorRaised:_n,_emitter:qn,_top:Tn};throw _n}}function He(wt,vt){vt=vt||z.languages||Object.keys(Ct);const Ht=function mt(wt){const vt={value:De(wt),illegal:!1,relevance:0,_top:ce,_emitter:new z.__emitter(z)};return vt._emitter.addText(wt),vt}(wt),dn=vt.filter(Ue).filter(At).map(de=>nt(de,wt,!1));dn.unshift(Ht);const ze=dn.sort((de,Qe)=>{if(de.relevance!==Qe.relevance)return Qe.relevance-de.relevance;if(de.language&&Qe.language){if(Ue(de.language).supersetOf===Qe.language)return 1;if(Ue(Qe.language).supersetOf===de.language)return-1}return 0}),[en,Y]=ze,pe=en;return pe.secondBest=Y,pe}function Lt(wt){let vt=null;const Ht=function Se(wt){let vt=wt.className+" ";vt+=wt.parentNode?wt.parentNode.className:"";const Ht=z.languageDetectRe.exec(vt);if(Ht){const dn=Ue(Ht[1]);return dn||(Ne(_e.replace("{}",Ht[1])),Ne("Falling back to no-highlight mode for this block.",wt)),dn?Ht[1]:"no-highlight"}return vt.split(/\s+/).find(dn=>oe(dn)||Ue(dn))}(wt);if(oe(Ht))return;if(ct("before:highlightElement",{el:wt,language:Ht}),wt.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",wt);if(wt.children.length>0&&(z.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(wt)),z.throwUnescapedHTML))throw new Ft("One of your code blocks includes unescaped HTML.",wt.innerHTML);vt=wt;const dn=vt.textContent,ze=Ht?at(dn,{language:Ht,ignoreIllegals:!0}):He(dn);wt.innerHTML=ze.value,wt.dataset.highlighted="yes",function rt(wt,vt,Ht){const dn=vt&&Pt[vt]||Ht;wt.classList.add("hljs"),wt.classList.add(`language-${dn}`)}(wt,Ht,ze.language),wt.result={language:ze.language,re:ze.relevance,relevance:ze.relevance},ze.secondBest&&(wt.secondBest={language:ze.secondBest.language,relevance:ze.secondBest.relevance}),ct("after:highlightElement",{el:wt,result:ze,text:dn})}let ui=!1;function _i(){"loading"!==document.readyState?document.querySelectorAll(z.cssSelector).forEach(Lt):ui=!0}function Ue(wt){return wt=(wt||"").toLowerCase(),Ct[wt]||Ct[Pt[wt]]}function ot(wt,{languageName:vt}){"string"==typeof wt&&(wt=[wt]),wt.forEach(Ht=>{Pt[Ht.toLowerCase()]=vt})}function At(wt){const vt=Ue(wt);return vt&&!vt.disableAutodetect}function ct(wt,vt){const Ht=wt;Nt.forEach(function(dn){dn[Ht]&&dn[Ht](vt)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function Hi(){ui&&_i()},!1),Object.assign(Oe,{highlight:at,highlightAuto:He,highlightAll:_i,highlightElement:Lt,highlightBlock:function Ut(wt){return Be("10.7.0","highlightBlock will be removed entirely in v12.0"),Be("10.7.0","Please use highlightElement now."),Lt(wt)},configure:function Xt(wt){z=Ve(z,wt)},initHighlighting:()=>{_i(),Be("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Nn(){_i(),Be("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function Yn(wt,vt){let Ht=null;try{Ht=vt(Oe)}catch(dn){if(Pe("Language definition for '{}' could not be registered.".replace("{}",wt)),!bt)throw dn;Pe(dn),Ht=ce}Ht.name||(Ht.name=wt),Ct[wt]=Ht,Ht.rawDefinition=vt.bind(null,Oe),Ht.aliases&&ot(Ht.aliases,{languageName:wt})},unregisterLanguage:function st(wt){delete Ct[wt];for(const vt of Object.keys(Pt))Pt[vt]===wt&&delete Pt[vt]},listLanguages:function pn(){return Object.keys(Ct)},getLanguage:Ue,registerAliases:ot,autoDetection:At,inherit:Ve,addPlugin:function it(wt){(function qt(wt){wt["before:highlightBlock"]&&!wt["before:highlightElement"]&&(wt["before:highlightElement"]=vt=>{wt["before:highlightBlock"](Object.assign({block:vt.el},vt))}),wt["after:highlightBlock"]&&!wt["after:highlightElement"]&&(wt["after:highlightElement"]=vt=>{wt["after:highlightBlock"](Object.assign({block:vt.el},vt))})})(wt),Nt.push(wt)},removePlugin:function dt(wt){const vt=Nt.indexOf(wt);-1!==vt&&Nt.splice(vt,1)}}),Oe.debugMode=function(){bt=!1},Oe.safeMode=function(){bt=!0},Oe.versionString="11.9.0",Oe.regex={concat:d,lookahead:l,either:b,optional:c,anyNumberOfTimes:r};for(const wt in Ze)"object"==typeof Ze[wt]&&ie(Ze[wt]);return Object.assign(Oe,Ze),Oe},ut=tt({});ut.newInstance=()=>tt({}),Me.exports=ut,ut.HighlightJS=ut,ut.default=ut},5454:Me=>{Me.exports=function ie(_){const D=["true","false","null"],y={scope:"literal",beginKeywords:D.join(" ")};return{name:"JSON",keywords:{literal:D},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},_.QUOTE_STRING_MODE,y,_.C_NUMBER_MODE,_.C_LINE_COMMENT_MODE,_.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}},5149:Me=>{Me.exports=function ie(_){const n=_.regex,f=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),y={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},u={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},v=_.inherit(u,{begin:/\(/,end:/\)/}),s=_.inherit(_.APOS_STRING_MODE,{className:"string"}),m=_.inherit(_.QUOTE_STRING_MODE,{className:"string"}),h={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:[u,m,s,v,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[u,v,m,s]}]}]},_.COMMENT(//,{relevance:10}),{begin://,relevance:10},y,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[h],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[h],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:f,relevance:0,starts:h}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(f,/>/))),contains:[{className:"name",begin:f,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},7156:Me=>{function ie(n,f,D,y,u,v,s){try{var m=n[v](s),h=m.value}catch(o){return void D(o)}m.done?f(h):Promise.resolve(h).then(y,u)}Me.exports=function _(n){return function(){var f=this,D=arguments;return new Promise(function(y,u){var v=n.apply(f,D);function s(h){ie(v,y,u,s,m,"next",h)}function m(h){ie(v,y,u,s,m,"throw",h)}s(void 0)})}},Me.exports.__esModule=!0,Me.exports.default=Me.exports},6825:(Me,ie,_)=>{"use strict";function f(A,L){return{type:7,name:A,definitions:L,options:{}}}function D(A,L=null){return{type:4,styles:L,timings:A}}function y(A,L=null){return{type:3,steps:A,options:L}}function v(A){return{type:6,styles:A,offset:null}}function s(A,L,F){return{type:0,name:A,styles:L,options:F}}function m(A){return{type:5,steps:A}}function h(A,L,F=null){return{type:1,expr:A,animation:L,options:F}}function l(A=null){return{type:9,options:A}}function c(A,L,F=null){return{type:11,selector:A,animation:L,options:F}}_.d(ie,{F4:()=>m,IO:()=>c,SB:()=>s,X$:()=>f,eR:()=>h,jt:()=>D,oB:()=>v,pV:()=>l,ru:()=>y})},4191:(Me,ie,_)=>{"use strict";_.d(ie,{rt:()=>at,s1:()=>Ye,$s:()=>ue,kH:()=>_e,mK:()=>yt,Em:()=>Ze,tE:()=>bt,qm:()=>Se,Kd:()=>Oe,Zf:()=>ee,X6:()=>an,yG:()=>En,iD:()=>j});var n=_(6814),f=_(9212),D=_(2831),y=_(8645),u=_(7394),v=_(5619),s=_(2096),m=_(6028),h=_(9397),o=_(3620),l=_(2181),r=_(7398),c=_(8180),d=_(836),g=_(3997),b=_(9773),C=_(7131),x=_(2495),w=_(2572),T=_(34),S=_(5592),M=_(7921);const I=new Set;let P,A=(()=>{class nt{constructor(He,rt){this._platform=He,this._nonce=rt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):F}matchMedia(He){return(this._platform.WEBKIT||this._platform.BLINK)&&function L(nt,mt){if(!I.has(nt))try{P||(P=document.createElement("style"),mt&&(P.nonce=mt),P.setAttribute("type","text/css"),document.head.appendChild(P)),P.sheet&&(P.sheet.insertRule(`@media ${nt} {body{ }}`,0),I.add(nt))}catch(He){console.error(He)}}(He,this._nonce),this._matchMedia(He)}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(f.CSP_NONCE,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function F(nt){return{matches:"all"===nt||""===nt,media:nt,addListener:()=>{},removeListener:()=>{}}}let R=(()=>{class nt{constructor(He,rt){this._mediaMatcher=He,this._zone=rt,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(He){return U((0,x.Eq)(He)).some(Lt=>this._registerQuery(Lt).mql.matches)}observe(He){const Lt=U((0,x.Eq)(He)).map(tn=>this._registerQuery(tn).observable);let Xt=(0,w.a)(Lt);return Xt=(0,T.z)(Xt.pipe((0,c.q)(1)),Xt.pipe((0,d.T)(1),(0,o.b)(0))),Xt.pipe((0,r.U)(tn=>{const Nn={matches:!1,breakpoints:{}};return tn.forEach(({matches:ui,query:_i})=>{Nn.matches=Nn.matches||ui,Nn.breakpoints[_i]=ui}),Nn}))}_registerQuery(He){if(this._queries.has(He))return this._queries.get(He);const rt=this._mediaMatcher.matchMedia(He),Xt={observable:new S.y(tn=>{const Nn=ui=>this._zone.run(()=>tn.next(ui));return rt.addListener(Nn),()=>{rt.removeListener(Nn)}}).pipe((0,M.O)(rt),(0,r.U)(({matches:tn})=>({query:He,matches:tn})),(0,b.R)(this._destroySubject)),mql:rt};return this._queries.set(He,Xt),Xt}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(A),f.\u0275\u0275inject(f.NgZone))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function U(nt){return nt.map(mt=>mt.split(",")).reduce((mt,He)=>mt.concat(He)).map(mt=>mt.trim())}const ne=" ";function ee(nt,mt,He){const rt=B(nt,mt);rt.some(Lt=>Lt.trim()==He.trim())||(rt.push(He.trim()),nt.setAttribute(mt,rt.join(ne)))}function j(nt,mt,He){const Lt=B(nt,mt).filter(Xt=>Xt!=He.trim());Lt.length?nt.setAttribute(mt,Lt.join(ne)):nt.removeAttribute(mt)}function B(nt,mt){return(nt.getAttribute(mt)||"").match(/\S+/g)||[]}const Z="cdk-describedby-message",H="cdk-describedby-host";let te=0,ue=(()=>{class nt{constructor(He,rt){this._platform=rt,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+te++,this._document=He,this._id=(0,f.inject)(f.APP_ID)+"-"+te++}describe(He,rt,Lt){if(!this._canBeDescribed(He,rt))return;const Xt=ye(rt,Lt);"string"!=typeof rt?(Ge(rt,this._id),this._messageRegistry.set(Xt,{messageElement:rt,referenceCount:0})):this._messageRegistry.has(Xt)||this._createMessageElement(rt,Lt),this._isElementDescribedByMessage(He,Xt)||this._addMessageReference(He,Xt)}removeDescription(He,rt,Lt){if(!rt||!this._isElementNode(He))return;const Xt=ye(rt,Lt);if(this._isElementDescribedByMessage(He,Xt)&&this._removeMessageReference(He,Xt),"string"==typeof rt){const tn=this._messageRegistry.get(Xt);tn&&0===tn.referenceCount&&this._deleteMessageElement(Xt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const He=this._document.querySelectorAll(`[${H}="${this._id}"]`);for(let rt=0;rt0!=Lt.indexOf(Z));He.setAttribute("aria-describedby",rt.join(" "))}_addMessageReference(He,rt){const Lt=this._messageRegistry.get(rt);ee(He,"aria-describedby",Lt.messageElement.id),He.setAttribute(H,this._id),Lt.referenceCount++}_removeMessageReference(He,rt){const Lt=this._messageRegistry.get(rt);Lt.referenceCount--,j(He,"aria-describedby",Lt.messageElement.id),He.removeAttribute(H)}_isElementDescribedByMessage(He,rt){const Lt=B(He,"aria-describedby"),Xt=this._messageRegistry.get(rt),tn=Xt&&Xt.messageElement.id;return!!tn&&-1!=Lt.indexOf(tn)}_canBeDescribed(He,rt){if(!this._isElementNode(He))return!1;if(rt&&"object"==typeof rt)return!0;const Lt=null==rt?"":`${rt}`.trim(),Xt=He.getAttribute("aria-label");return!(!Lt||Xt&&Xt.trim()===Lt)}_isElementNode(He){return He.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(n.DOCUMENT),f.\u0275\u0275inject(D.t4))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function ye(nt,mt){return"string"==typeof nt?`${mt||""}/${nt}`:nt}function Ge(nt,mt){nt.id||(nt.id=`${Z}-${mt}-${te++}`)}class $e{constructor(mt){this._items=mt,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new y.x,this._typeaheadSubscription=u.w0.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 y.x,this.change=new y.x,mt instanceof f.QueryList&&(this._itemChangesSubscription=mt.changes.subscribe(He=>{if(this._activeItem){const Lt=He.toArray().indexOf(this._activeItem);Lt>-1&&Lt!==this._activeItemIndex&&(this._activeItemIndex=Lt)}}))}skipPredicate(mt){return this._skipPredicateFn=mt,this}withWrap(mt=!0){return this._wrap=mt,this}withVerticalOrientation(mt=!0){return this._vertical=mt,this}withHorizontalOrientation(mt){return this._horizontal=mt,this}withAllowedModifierKeys(mt){return this._allowedModifierKeys=mt,this}withTypeAhead(mt=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,h.b)(He=>this._pressedLetters.push(He)),(0,o.b)(mt),(0,l.h)(()=>this._pressedLetters.length>0),(0,r.U)(()=>this._pressedLetters.join(""))).subscribe(He=>{const rt=this._getItemsArray();for(let Lt=1;Lt!mt[Xt]||this._allowedModifierKeys.indexOf(Xt)>-1);switch(He){case m.Mf:return void this.tabOut.next();case m.JH:if(this._vertical&&Lt){this.setNextItemActive();break}return;case m.LH:if(this._vertical&&Lt){this.setPreviousItemActive();break}return;case m.SV:if(this._horizontal&&Lt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.oh:if(this._horizontal&&Lt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.Sd:if(this._homeAndEnd&&Lt){this.setFirstItemActive();break}return;case m.uR:if(this._homeAndEnd&&Lt){this.setLastItemActive();break}return;case m.Ku:if(this._pageUpAndDown.enabled&&Lt){const Xt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Xt>0?Xt:0,1);break}return;case m.VM:if(this._pageUpAndDown.enabled&&Lt){const Xt=this._activeItemIndex+this._pageUpAndDown.delta,tn=this._getItemsArray().length;this._setActiveItemByIndex(Xt=m.A&&He<=m.Z||He>=m.xE&&He<=m.aO)&&this._letterKeyStream.next(String.fromCharCode(He))))}this._pressedLetters=[],mt.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(mt){const He=this._getItemsArray(),rt="number"==typeof mt?mt:He.indexOf(mt);this._activeItem=He[rt]??null,this._activeItemIndex=rt}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(mt){this._wrap?this._setActiveInWrapMode(mt):this._setActiveInDefaultMode(mt)}_setActiveInWrapMode(mt){const He=this._getItemsArray();for(let rt=1;rt<=He.length;rt++){const Lt=(this._activeItemIndex+mt*rt+He.length)%He.length;if(!this._skipPredicateFn(He[Lt]))return void this.setActiveItem(Lt)}}_setActiveInDefaultMode(mt){this._setActiveItemByIndex(this._activeItemIndex+mt,mt)}_setActiveItemByIndex(mt,He){const rt=this._getItemsArray();if(rt[mt]){for(;this._skipPredicateFn(rt[mt]);)if(!rt[mt+=He])return;this.setActiveItem(mt)}}_getItemsArray(){return this._items instanceof f.QueryList?this._items.toArray():this._items}}class Ye extends $e{setActiveItem(mt){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(mt),this.activeItem&&this.activeItem.setActiveStyles()}}class Ze extends $e{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(mt){return this._origin=mt,this}setActiveItem(mt){super.setActiveItem(mt),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class nt{constructor(He){this._platform=He}isDisabled(He){return He.hasAttribute("disabled")}isVisible(He){return function Ee(nt){return!!(nt.offsetWidth||nt.offsetHeight||"function"==typeof nt.getClientRects&&nt.getClientRects().length)}(He)&&"visible"===getComputedStyle(He).visibility}isTabbable(He){if(!this._platform.isBrowser)return!1;const rt=function qe(nt){try{return nt.frameElement}catch{return null}}(function Pe(nt){return nt.ownerDocument&&nt.ownerDocument.defaultView||window}(He));if(rt&&(-1===ke(rt)||!this.isVisible(rt)))return!1;let Lt=He.nodeName.toLowerCase(),Xt=ke(He);return He.hasAttribute("contenteditable")?-1!==Xt:!("iframe"===Lt||"object"===Lt||this._platform.WEBKIT&&this._platform.IOS&&!function Ke(nt){let mt=nt.nodeName.toLowerCase(),He="input"===mt&&nt.type;return"text"===He||"password"===He||"select"===mt||"textarea"===mt}(He))&&("audio"===Lt?!!He.hasAttribute("controls")&&-1!==Xt:"video"===Lt?-1!==Xt&&(null!==Xt||this._platform.FIREFOX||He.hasAttribute("controls")):He.tabIndex>=0)}isFocusable(He,rt){return function me(nt){return!function Ce(nt){return function Ae(nt){return"input"==nt.nodeName.toLowerCase()}(nt)&&"hidden"==nt.type}(nt)&&(function Ie(nt){let mt=nt.nodeName.toLowerCase();return"input"===mt||"select"===mt||"button"===mt||"textarea"===mt}(nt)||function ge(nt){return function q(nt){return"a"==nt.nodeName.toLowerCase()}(nt)&&nt.hasAttribute("href")}(nt)||nt.hasAttribute("contenteditable")||Re(nt))}(He)&&!this.isDisabled(He)&&(rt?.ignoreVisibility||this.isVisible(He))}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function Re(nt){if(!nt.hasAttribute("tabindex")||void 0===nt.tabIndex)return!1;let mt=nt.getAttribute("tabindex");return!(!mt||isNaN(parseInt(mt,10)))}function ke(nt){if(!Re(nt))return null;const mt=parseInt(nt.getAttribute("tabindex")||"",10);return isNaN(mt)?-1:mt}class Ne{get enabled(){return this._enabled}set enabled(mt){this._enabled=mt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(mt,this._startAnchor),this._toggleAnchorTabIndex(mt,this._endAnchor))}constructor(mt,He,rt,Lt,Xt=!1){this._element=mt,this._checker=He,this._ngZone=rt,this._document=Lt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Xt||this.attachAnchors()}destroy(){const mt=this._startAnchor,He=this._endAnchor;mt&&(mt.removeEventListener("focus",this.startAnchorListener),mt.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(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusInitialElement(mt)))})}focusFirstTabbableElementWhenReady(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusFirstTabbableElement(mt)))})}focusLastTabbableElementWhenReady(mt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusLastTabbableElement(mt)))})}_getRegionBoundary(mt){const He=this._element.querySelectorAll(`[cdk-focus-region-${mt}], [cdkFocusRegion${mt}], [cdk-focus-${mt}]`);return"start"==mt?He.length?He[0]:this._getFirstTabbableElement(this._element):He.length?He[He.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(mt){const He=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(He){if(!this._checker.isFocusable(He)){const rt=this._getFirstTabbableElement(He);return rt?.focus(mt),!!rt}return He.focus(mt),!0}return this.focusFirstTabbableElement(mt)}focusFirstTabbableElement(mt){const He=this._getRegionBoundary("start");return He&&He.focus(mt),!!He}focusLastTabbableElement(mt){const He=this._getRegionBoundary("end");return He&&He.focus(mt),!!He}hasAttached(){return this._hasAttached}_getFirstTabbableElement(mt){if(this._checker.isFocusable(mt)&&this._checker.isTabbable(mt))return mt;const He=mt.children;for(let rt=0;rt=0;rt--){const Lt=He[rt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(He[rt]):null;if(Lt)return Lt}return null}_createAnchor(){const mt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,mt),mt.classList.add("cdk-visually-hidden"),mt.classList.add("cdk-focus-trap-anchor"),mt.setAttribute("aria-hidden","true"),mt}_toggleAnchorTabIndex(mt,He){mt?He.setAttribute("tabindex","0"):He.removeAttribute("tabindex")}toggleAnchors(mt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(mt,this._startAnchor),this._toggleAnchorTabIndex(mt,this._endAnchor))}_executeOnStable(mt){this._ngZone.isStable?mt():this._ngZone.onStable.pipe((0,c.q)(1)).subscribe(mt)}}let Be=(()=>{class nt{constructor(He,rt,Lt){this._checker=He,this._ngZone=rt,this._document=Lt}create(He,rt=!1){return new Ne(He,this._checker,this._ngZone,this._document,rt)}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(Te),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(n.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),yt=(()=>{class nt{get enabled(){return this.focusTrap.enabled}set enabled(He){this.focusTrap.enabled=He}constructor(He,rt,Lt){this._elementRef=He,this._focusTrapFactory=rt,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(He){const rt=He.autoCapture;rt&&!rt.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,D.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(Be),f.\u0275\u0275directiveInject(n.DOCUMENT))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:nt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",f.booleanAttribute],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",f.booleanAttribute]},exportAs:["cdkTrapFocus"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275NgOnChangesFeature]})}return nt})();function an(nt){return 0===nt.buttons||0===nt.detail}function En(nt){const mt=nt.touches&&nt.touches[0]||nt.changedTouches&&nt.changedTouches[0];return!(!mt||-1!==mt.identifier||null!=mt.radiusX&&1!==mt.radiusX||null!=mt.radiusY&&1!==mt.radiusY)}const un=new f.InjectionToken("cdk-input-modality-detector-options"),Bt={ignoreKeys:[m.zL,m.jx,m.b2,m.MW,m.JU]},De=(0,D.i$)({passive:!0,capture:!0});let Ve=(()=>{class nt{get mostRecentModality(){return this._modality.value}constructor(He,rt,Lt,Xt){this._platform=He,this._mostRecentTarget=null,this._modality=new v.X(null),this._lastTouchMs=0,this._onKeydown=tn=>{this._options?.ignoreKeys?.some(Nn=>Nn===tn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.sA)(tn))},this._onMousedown=tn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(an(tn)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.sA)(tn))},this._onTouchstart=tn=>{En(tn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.sA)(tn))},this._options={...Bt,...Xt},this.modalityDetected=this._modality.pipe((0,d.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,g.x)()),He.isBrowser&&rt.runOutsideAngular(()=>{Lt.addEventListener("keydown",this._onKeydown,De),Lt.addEventListener("mousedown",this._onMousedown,De),Lt.addEventListener("touchstart",this._onTouchstart,De)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,De),document.removeEventListener("mousedown",this._onMousedown,De),document.removeEventListener("touchstart",this._onTouchstart,De))}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(n.DOCUMENT),f.\u0275\u0275inject(un,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();const Xe=new f.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function St(){return null}}),tt=new f.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ut=0,Oe=(()=>{class nt{constructor(He,rt,Lt,Xt){this._ngZone=rt,this._defaultOptions=Xt,this._document=Lt,this._liveElement=He||this._createLiveElement()}announce(He,...rt){const Lt=this._defaultOptions;let Xt,tn;return 1===rt.length&&"number"==typeof rt[0]?tn=rt[0]:[Xt,tn]=rt,this.clear(),clearTimeout(this._previousTimeout),Xt||(Xt=Lt&&Lt.politeness?Lt.politeness:"polite"),null==tn&&Lt&&(tn=Lt.duration),this._liveElement.setAttribute("aria-live",Xt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Nn=>this._currentResolve=Nn)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=He,"number"==typeof tn&&(this._previousTimeout=setTimeout(()=>this.clear(),tn)),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",rt=this._document.getElementsByClassName(He),Lt=this._document.createElement("div");for(let Xt=0;Xt .cdk-overlay-container [aria-modal="true"]');for(let Lt=0;Lt{class nt{constructor(He,rt,Lt,Xt,tn){this._ngZone=He,this._platform=rt,this._inputModalityDetector=Lt,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 y.x,this._rootNodeFocusAndBlurListener=Nn=>{for(let _i=(0,D.sA)(Nn);_i;_i=_i.parentElement)"focus"===Nn.type?this._onFocus(Nn,_i):this._onBlur(Nn,_i)},this._document=Xt,this._detectionMode=tn?.detectionMode||0}monitor(He,rt=!1){const Lt=(0,x.fI)(He);if(!this._platform.isBrowser||1!==Lt.nodeType)return(0,s.of)();const Xt=(0,D.kV)(Lt)||this._getDocument(),tn=this._elementInfo.get(Lt);if(tn)return rt&&(tn.checkChildren=!0),tn.subject;const Nn={checkChildren:rt,subject:new y.x,rootNode:Xt};return this._elementInfo.set(Lt,Nn),this._registerGlobalListeners(Nn),Nn.subject}stopMonitoring(He){const rt=(0,x.fI)(He),Lt=this._elementInfo.get(rt);Lt&&(Lt.subject.complete(),this._setClasses(rt),this._elementInfo.delete(rt),this._removeGlobalListeners(Lt))}focusVia(He,rt,Lt){const Xt=(0,x.fI)(He);Xt===this._getDocument().activeElement?this._getClosestElementsInfo(Xt).forEach(([Nn,ui])=>this._originChanged(Nn,rt,ui)):(this._setOrigin(rt),"function"==typeof Xt.focus&&Xt.focus(Lt))}ngOnDestroy(){this._elementInfo.forEach((He,rt)=>this.stopMonitoring(rt))}_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 1===this._detectionMode||!!He?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(He,rt){He.classList.toggle("cdk-focused",!!rt),He.classList.toggle("cdk-touch-focused","touch"===rt),He.classList.toggle("cdk-keyboard-focused","keyboard"===rt),He.classList.toggle("cdk-mouse-focused","mouse"===rt),He.classList.toggle("cdk-program-focused","program"===rt)}_setOrigin(He,rt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=He,this._originFromTouchInteraction="touch"===He&&rt,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(He,rt){const Lt=this._elementInfo.get(rt),Xt=(0,D.sA)(He);!Lt||!Lt.checkChildren&&rt!==Xt||this._originChanged(rt,this._getFocusOrigin(Xt),Lt)}_onBlur(He,rt){const Lt=this._elementInfo.get(rt);!Lt||Lt.checkChildren&&He.relatedTarget instanceof Node&&rt.contains(He.relatedTarget)||(this._setClasses(rt),this._emitOrigin(Lt,null))}_emitOrigin(He,rt){He.subject.observers.length&&this._ngZone.run(()=>He.subject.next(rt))}_registerGlobalListeners(He){if(!this._platform.isBrowser)return;const rt=He.rootNode,Lt=this._rootNodeFocusListenerCount.get(rt)||0;Lt||this._ngZone.runOutsideAngular(()=>{rt.addEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),rt.addEventListener("blur",this._rootNodeFocusAndBlurListener,Nt)}),this._rootNodeFocusListenerCount.set(rt,Lt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,b.R)(this._stopInputModalityDetector)).subscribe(Xt=>{this._setOrigin(Xt,!0)}))}_removeGlobalListeners(He){const rt=He.rootNode;if(this._rootNodeFocusListenerCount.has(rt)){const Lt=this._rootNodeFocusListenerCount.get(rt);Lt>1?this._rootNodeFocusListenerCount.set(rt,Lt-1):(rt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),rt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Nt),this._rootNodeFocusListenerCount.delete(rt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(He,rt,Lt){this._setClasses(He,rt),this._emitOrigin(Lt,rt),this._lastFocusOrigin=rt}_getClosestElementsInfo(He){const rt=[];return this._elementInfo.forEach((Lt,Xt)=>{(Xt===He||Lt.checkChildren&&Xt.contains(He))&&rt.push([Xt,Lt])}),rt}_isLastInteractionFromInputLabel(He){const{_mostRecentTarget:rt,mostRecentModality:Lt}=this._inputModalityDetector;if("mouse"!==Lt||!rt||rt===He||"INPUT"!==He.nodeName&&"TEXTAREA"!==He.nodeName||He.disabled)return!1;const Xt=He.labels;if(Xt)for(let tn=0;tn{class nt{constructor(He,rt){this._elementRef=He,this._focusMonitor=rt,this._focusOrigin=null,this.cdkFocusChange=new f.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(rt=>{this._focusOrigin=rt,this.cdkFocusChange.emit(rt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(bt))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:nt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return nt})();const ce="cdk-high-contrast-black-on-white",z="cdk-high-contrast-white-on-black",oe="cdk-high-contrast-active";let Se=(()=>{class nt{constructor(He,rt){this._platform=He,this._document=rt,this._breakpointSubscription=(0,f.inject)(R).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const He=this._document.createElement("div");He.style.backgroundColor="rgb(1,2,3)",He.style.position="absolute",this._document.body.appendChild(He);const rt=this._document.defaultView||window,Lt=rt&&rt.getComputedStyle?rt.getComputedStyle(He):null,Xt=(Lt&&Lt.backgroundColor||"").replace(/ /g,"");switch(He.remove(),Xt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const He=this._document.body.classList;He.remove(oe,ce,z),this._hasCheckedHighContrastMode=!0;const rt=this.getHighContrastMode();1===rt?He.add(oe,ce):2===rt&&He.add(oe,z)}}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(D.t4),f.\u0275\u0275inject(n.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),at=(()=>{class nt{constructor(He){He._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(rt){return new(rt||nt)(f.\u0275\u0275inject(Se))};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:nt});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[C.Q8]})}return nt})()},9388:(Me,ie,_)=>{"use strict";_.d(ie,{Is:()=>s,vT:()=>h});var n=_(9212),f=_(6814);const D=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,n.inject)(f.DOCUMENT)}}),u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class o{constructor(r){this.value="ltr",this.change=new n.EventEmitter,r&&(this.value=function v(o){const l=o?.toLowerCase()||"";return"auto"===l&&typeof navigator<"u"&&navigator?.language?u.test(navigator.language)?"rtl":"ltr":"rtl"===l?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(c){return new(c||o)(n.\u0275\u0275inject(D,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),h=(()=>{class o{static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:o});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return o})()},2495:(Me,ie,_)=>{"use strict";_.d(ie,{Eq:()=>u,HM:()=>v,Ig:()=>f,du:()=>m,fI:()=>s,su:()=>D,t6:()=>y});var n=_(9212);function f(h){return null!=h&&"false"!=`${h}`}function D(h,o=0){return y(h)?Number(h):o}function y(h){return!isNaN(parseFloat(h))&&!isNaN(Number(h))}function u(h){return Array.isArray(h)?h:[h]}function v(h){return null==h?"":"string"==typeof h?h:`${h}px`}function s(h){return h instanceof n.ElementRef?h.nativeElement:h}function m(h,o=/\s+/){const l=[];if(null!=h){const r=Array.isArray(h)?h:`${h}`.split(o);for(const c of r){const d=`${c}`.trim();d&&l.push(d)}}return l}},8337:(Me,ie,_)=>{"use strict";_.d(ie,{A8:()=>l,Ov:()=>h,Z9:()=>u,eX:()=>m,k:()=>r,o2:()=>y,yy:()=>s});var n=_(3168),f=_(8645),D=_(9212);class y{}function u(c){return c&&"function"==typeof c.connect&&!(c instanceof n.c)}class s{applyChanges(d,g,b,C,x){d.forEachOperation((w,T,S)=>{let M,k;if(null==w.previousIndex){const I=b(w,T,S);M=g.createEmbeddedView(I.templateRef,I.context,I.index),k=1}else null==S?(g.remove(T),k=3):(M=g.get(T),g.move(M,S),k=2);x&&x({context:M?.context,operation:k,record:w})})}detach(){}}class m{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(d,g,b,C,x){d.forEachOperation((w,T,S)=>{let M,k;null==w.previousIndex?(M=this._insertView(()=>b(w,T,S),S,g,C(w)),k=M?1:0):null==S?(this._detachAndCacheView(T,g),k=3):(M=this._moveView(T,S,g,C(w)),k=2),x&&x({context:M?.context,operation:k,record:w})})}detach(){for(const d of this._viewCache)d.destroy();this._viewCache=[]}_insertView(d,g,b,C){const x=this._insertViewFromCache(g,b);if(x)return void(x.context.$implicit=C);const w=d();return b.createEmbeddedView(w.templateRef,w.context,w.index)}_detachAndCacheView(d,g){const b=g.detach(d);this._maybeCacheView(b,g)}_moveView(d,g,b,C){const x=b.get(d);return b.move(x,g),x.context.$implicit=C,x}_maybeCacheView(d,g){if(this._viewCache.lengththis._markSelected(x)):this._markSelected(g[0]),this._selectedToEmit.length=0)}select(...d){this._verifyValueAssignment(d),d.forEach(b=>this._markSelected(b));const g=this._hasQueuedChanges();return this._emitChangeEvent(),g}deselect(...d){this._verifyValueAssignment(d),d.forEach(b=>this._unmarkSelected(b));const g=this._hasQueuedChanges();return this._emitChangeEvent(),g}setSelection(...d){this._verifyValueAssignment(d);const g=this.selected,b=new Set(d);d.forEach(x=>this._markSelected(x)),g.filter(x=>!b.has(x)).forEach(x=>this._unmarkSelected(x));const C=this._hasQueuedChanges();return this._emitChangeEvent(),C}toggle(d){return this.isSelected(d)?this.deselect(d):this.select(d)}clear(d=!0){this._unmarkAll();const g=this._hasQueuedChanges();return d&&this._emitChangeEvent(),g}isSelected(d){return this._selection.has(this._getConcreteValue(d))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(d){this._multiple&&this.selected&&this._selected.sort(d)}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(d){d=this._getConcreteValue(d),this.isSelected(d)||(this._multiple||this._unmarkAll(),this.isSelected(d)||this._selection.add(d),this._emitChanges&&this._selectedToEmit.push(d))}_unmarkSelected(d){d=this._getConcreteValue(d),this.isSelected(d)&&(this._selection.delete(d),this._emitChanges&&this._deselectedToEmit.push(d))}_unmarkAll(){this.isEmpty()||this._selection.forEach(d=>this._unmarkSelected(d))}_verifyValueAssignment(d){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(d){if(this.compareWith){for(let g of this._selection)if(this.compareWith(d,g))return g;return d}return d}}let l=(()=>{class c{constructor(){this._listeners=[]}notify(g,b){for(let C of this._listeners)C(g,b)}listen(g){return this._listeners.push(g),()=>{this._listeners=this._listeners.filter(b=>g!==b)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(b){return new(b||c)};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const r=new D.InjectionToken("_ViewRepeater")},6028:(Me,ie,_)=>{"use strict";_.d(ie,{A:()=>te,JH:()=>T,JU:()=>v,K5:()=>u,Ku:()=>c,LH:()=>x,L_:()=>r,MW:()=>jt,Mf:()=>D,SV:()=>w,Sd:()=>b,VM:()=>d,Vb:()=>de,Z:()=>Yt,ZH:()=>f,aO:()=>j,b2:()=>pe,hY:()=>l,jx:()=>s,oh:()=>C,uR:()=>g,xE:()=>P,zL:()=>m});const f=8,D=9,u=13,v=16,s=17,m=18,l=27,r=32,c=33,d=34,g=35,b=36,C=37,x=38,w=39,T=40,P=48,j=57,te=65,Yt=90,jt=91,pe=224;function de(Qe,..._t){return _t.length?_t.some(hn=>Qe[hn]):Qe.altKey||Qe.shiftKey||Qe.ctrlKey||Qe.metaKey}},7131:(Me,ie,_)=>{"use strict";_.d(ie,{Q8:()=>h,wD:()=>m});var n=_(2495),f=_(9212),D=_(5592),y=_(8645),u=_(3620);let v=(()=>{class o{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),s=(()=>{class o{constructor(r){this._mutationObserverFactory=r,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((r,c)=>this._cleanupObserver(c))}observe(r){const c=(0,n.fI)(r);return new D.y(d=>{const b=this._observeElement(c).subscribe(d);return()=>{b.unsubscribe(),this._unobserveElement(c)}})}_observeElement(r){if(this._observedElements.has(r))this._observedElements.get(r).count++;else{const c=new y.x,d=this._mutationObserverFactory.create(g=>c.next(g));d&&d.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:d,stream:c,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:c,stream:d}=this._observedElements.get(r);c&&c.disconnect(),d.complete(),this._observedElements.delete(r)}}static#e=this.\u0275fac=function(c){return new(c||o)(f.\u0275\u0275inject(v))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),m=(()=>{class o{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,n.su)(r),this._subscribe()}constructor(r,c,d){this._contentObserver=r,this._elementRef=c,this._ngZone=d,this.event=new f.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,u.b)(this.debounce)):r).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||o)(f.\u0275\u0275directiveInject(s),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.NgZone))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:o,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",f.booleanAttribute],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[f.\u0275\u0275InputTransformsFeature]})}return o})(),h=(()=>{class o{static#e=this.\u0275fac=function(c){return new(c||o)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:o});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[v]})}return o})()},9594:(Me,ie,_)=>{"use strict";_.d(ie,{U8:()=>Re,X_:()=>P,_G:()=>H,aV:()=>qe,pI:()=>ge,xu:()=>Ce});var n=_(6672),f=_(6814),D=_(9212),y=_(2495),u=_(2831),v=_(2181),s=_(8180),m=_(9773),h=_(812),o=_(9388),l=_(8484),r=_(8645),c=_(7394),d=_(3019),g=_(6028);const b=(0,u.Mq)();class C{constructor(me,Pe){this._viewportRuler=me,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Pe}attach(){}enable(){if(this._canBeEnabled()){const me=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=me.style.left||"",this._previousHTMLStyles.top=me.style.top||"",me.style.left=(0,y.HM)(-this._previousScrollPosition.left),me.style.top=(0,y.HM)(-this._previousScrollPosition.top),me.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const me=this._document.documentElement,Ne=me.style,Be=this._document.body.style,yt=Ne.scrollBehavior||"",Ot=Be.scrollBehavior||"";this._isEnabled=!1,Ne.left=this._previousHTMLStyles.left,Ne.top=this._previousHTMLStyles.top,me.classList.remove("cdk-global-scrollblock"),b&&(Ne.scrollBehavior=Be.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(Ne.scrollBehavior=yt,Be.scrollBehavior=Ot)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Pe=this._document.body,Ne=this._viewportRuler.getViewportSize();return Pe.scrollHeight>Ne.height||Pe.scrollWidth>Ne.width}}class w{constructor(me,Pe,Ne,Be){this._scrollDispatcher=me,this._ngZone=Pe,this._viewportRuler=Ne,this._config=Be,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(me){this._overlayRef=me}enable(){if(this._scrollSubscription)return;const me=this._scrollDispatcher.scrolled(0).pipe((0,v.h)(Pe=>!Pe||!this._overlayRef.overlayElement.contains(Pe.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=me.subscribe(()=>{const Pe=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Pe-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=me.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class T{enable(){}disable(){}attach(){}}function S(Ke,me){return me.some(Pe=>Ke.bottomPe.bottom||Ke.rightPe.right)}function M(Ke,me){return me.some(Pe=>Ke.topPe.bottom||Ke.leftPe.right)}class k{constructor(me,Pe,Ne,Be){this._scrollDispatcher=me,this._viewportRuler=Pe,this._ngZone=Ne,this._config=Be,this._scrollSubscription=null}attach(me){this._overlayRef=me}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 Pe=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ne,height:Be}=this._viewportRuler.getViewportSize();S(Pe,[{width:Ne,height:Be,bottom:Be,right:Ne,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 I=(()=>{class Ke{constructor(Pe,Ne,Be,yt){this._scrollDispatcher=Pe,this._viewportRuler=Ne,this._ngZone=Be,this.noop=()=>new T,this.close=Ot=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ot),this.block=()=>new C(this._viewportRuler,this._document),this.reposition=Ot=>new k(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ot),this._document=yt}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(n.mF),D.\u0275\u0275inject(n.rL),D.\u0275\u0275inject(D.NgZone),D.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})();class P{constructor(me){if(this.scrollStrategy=new T,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,me){const Pe=Object.keys(me);for(const Ne of Pe)void 0!==me[Ne]&&(this[Ne]=me[Ne])}}}class F{constructor(me,Pe){this.connectionPair=me,this.scrollableViewProperties=Pe}}let W=(()=>{class Ke{constructor(Pe){this._attachedOverlays=[],this._document=Pe}ngOnDestroy(){this.detach()}add(Pe){this.remove(Pe),this._attachedOverlays.push(Pe)}remove(Pe){const Ne=this._attachedOverlays.indexOf(Pe);Ne>-1&&this._attachedOverlays.splice(Ne,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),ne=(()=>{class Ke extends W{constructor(Pe,Ne){super(Pe),this._ngZone=Ne,this._keydownListener=Be=>{const yt=this._attachedOverlays;for(let Ot=yt.length-1;Ot>-1;Ot--)if(yt[Ot]._keydownEvents.observers.length>0){const Yt=yt[Ot]._keydownEvents;this._ngZone?this._ngZone.run(()=>Yt.next(Be)):Yt.next(Be);break}}}add(Pe){super.add(Pe),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(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(D.NgZone,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),ee=(()=>{class Ke extends W{constructor(Pe,Ne,Be){super(Pe),this._platform=Ne,this._ngZone=Be,this._cursorStyleIsSet=!1,this._pointerDownListener=yt=>{this._pointerDownEventTarget=(0,u.sA)(yt)},this._clickListener=yt=>{const Ot=(0,u.sA)(yt),Yt="click"===yt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ot;this._pointerDownEventTarget=null;const jt=this._attachedOverlays.slice();for(let cn=jt.length-1;cn>-1;cn--){const fn=jt[cn];if(fn._outsidePointerEvents.observers.length<1||!fn.hasAttached())continue;if(fn.overlayElement.contains(Ot)||fn.overlayElement.contains(Yt))break;const an=fn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>an.next(yt)):an.next(yt)}}}add(Pe){if(super.add(Pe),!this._isAttached){const Ne=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ne)):this._addEventListeners(Ne),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ne.style.cursor,Ne.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Pe=this._document.body;Pe.removeEventListener("pointerdown",this._pointerDownListener,!0),Pe.removeEventListener("click",this._clickListener,!0),Pe.removeEventListener("auxclick",this._clickListener,!0),Pe.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Pe.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Pe){Pe.addEventListener("pointerdown",this._pointerDownListener,!0),Pe.addEventListener("click",this._clickListener,!0),Pe.addEventListener("auxclick",this._clickListener,!0),Pe.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(u.t4),D.\u0275\u0275inject(D.NgZone,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),j=(()=>{class Ke{constructor(Pe,Ne){this._platform=Ne,this._document=Pe}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Pe="cdk-overlay-container";if(this._platform.isBrowser||(0,u.Oy)()){const Be=this._document.querySelectorAll(`.${Pe}[platform="server"], .${Pe}[platform="test"]`);for(let yt=0;ytthis._backdropClick.next(an),this._backdropTransitionendHandler=an=>{this._disposeBackdrop(an.target)},this._keydownEvents=new r.x,this._outsidePointerEvents=new r.x,Be.scrollStrategy&&(this._scrollStrategy=Be.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Be.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(me){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Pe=this._portalOutlet.attach(me);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,s.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Pe?.onDestroy&&Pe.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Pe}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const me=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),me}dispose(){const me=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,me&&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(me){me!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=me,this.hasAttached()&&(me.attach(this),this.updatePosition()))}updateSize(me){this._config={...this._config,...me},this._updateElementSize()}setDirection(me){this._config={...this._config,direction:me},this._updateElementDirection()}addPanelClass(me){this._pane&&this._toggleClasses(this._pane,me,!0)}removePanelClass(me){this._pane&&this._toggleClasses(this._pane,me,!1)}getDirection(){const me=this._config.direction;return me?"string"==typeof me?me:me.value:"ltr"}updateScrollStrategy(me){me!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=me,this.hasAttached()&&(me.attach(this),me.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const me=this._pane.style;me.width=(0,y.HM)(this._config.width),me.height=(0,y.HM)(this._config.height),me.minWidth=(0,y.HM)(this._config.minWidth),me.minHeight=(0,y.HM)(this._config.minHeight),me.maxWidth=(0,y.HM)(this._config.maxWidth),me.maxHeight=(0,y.HM)(this._config.maxHeight)}_togglePointerEvents(me){this._pane.style.pointerEvents=me?"":"none"}_attachBackdrop(){const me="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(me)})}):this._backdropElement.classList.add(me)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const me=this._backdropElement;if(me){if(this._animationsDisabled)return void this._disposeBackdrop(me);me.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{me.addEventListener("transitionend",this._backdropTransitionendHandler)}),me.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(me)},500))}}_toggleClasses(me,Pe,Ne){const Be=(0,y.Eq)(Pe||[]).filter(yt=>!!yt);Be.length&&(Ne?me.classList.add(...Be):me.classList.remove(...Be))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const me=this._ngZone.onStable.pipe((0,m.R)((0,d.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),me.unsubscribe())})})}_disposeScrollStrategy(){const me=this._scrollStrategy;me&&(me.disable(),me.detach&&me.detach())}_disposeBackdrop(me){me&&(me.removeEventListener("click",this._backdropClickHandler),me.removeEventListener("transitionend",this._backdropTransitionendHandler),me.remove(),this._backdropElement===me&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $="cdk-overlay-connected-position-bounding-box",Z=/([A-Za-z%]+)$/;class H{get positions(){return this._preferredPositions}constructor(me,Pe,Ne,Be,yt){this._viewportRuler=Pe,this._document=Ne,this._platform=Be,this._overlayContainer=yt,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.x,this._resizeSubscription=c.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(me)}attach(me){this._validatePositions(),me.hostElement.classList.add($),this._overlayRef=me,this._boundingBox=me.hostElement,this._pane=me.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 me=this._originRect,Pe=this._overlayRect,Ne=this._viewportRect,Be=this._containerRect,yt=[];let Ot;for(let Yt of this._preferredPositions){let jt=this._getOriginPoint(me,Be,Yt),cn=this._getOverlayPoint(jt,Pe,Yt),fn=this._getOverlayFit(cn,Pe,Ne,Yt);if(fn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Yt,jt);this._canFitWithFlexibleDimensions(fn,cn,Ne)?yt.push({position:Yt,origin:jt,overlayRect:Pe,boundingBoxRect:this._calculateBoundingBoxRect(jt,Yt)}):(!Ot||Ot.overlayFit.visibleAreajt&&(jt=fn,Yt=cn)}return this._isPushed=!1,void this._applyPosition(Yt.position,Yt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ot.position,Ot.originPoint);this._applyPosition(Ot.position,Ot.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&te(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const me=this._lastPosition;if(me){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Pe=this._getOriginPoint(this._originRect,this._containerRect,me);this._applyPosition(me,Pe)}else this.apply()}withScrollableContainers(me){return this._scrollables=me,this}withPositions(me){return this._preferredPositions=me,-1===me.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(me){return this._viewportMargin=me,this}withFlexibleDimensions(me=!0){return this._hasFlexibleDimensions=me,this}withGrowAfterOpen(me=!0){return this._growAfterOpen=me,this}withPush(me=!0){return this._canPush=me,this}withLockedPosition(me=!0){return this._positionLocked=me,this}setOrigin(me){return this._origin=me,this}withDefaultOffsetX(me){return this._offsetX=me,this}withDefaultOffsetY(me){return this._offsetY=me,this}withTransformOriginOn(me){return this._transformOriginSelector=me,this}_getOriginPoint(me,Pe,Ne){let Be,yt;if("center"==Ne.originX)Be=me.left+me.width/2;else{const Ot=this._isRtl()?me.right:me.left,Yt=this._isRtl()?me.left:me.right;Be="start"==Ne.originX?Ot:Yt}return Pe.left<0&&(Be-=Pe.left),yt="center"==Ne.originY?me.top+me.height/2:"top"==Ne.originY?me.top:me.bottom,Pe.top<0&&(yt-=Pe.top),{x:Be,y:yt}}_getOverlayPoint(me,Pe,Ne){let Be,yt;return Be="center"==Ne.overlayX?-Pe.width/2:"start"===Ne.overlayX?this._isRtl()?-Pe.width:0:this._isRtl()?0:-Pe.width,yt="center"==Ne.overlayY?-Pe.height/2:"top"==Ne.overlayY?0:-Pe.height,{x:me.x+Be,y:me.y+yt}}_getOverlayFit(me,Pe,Ne,Be){const yt=ye(Pe);let{x:Ot,y:Yt}=me,jt=this._getOffset(Be,"x"),cn=this._getOffset(Be,"y");jt&&(Ot+=jt),cn&&(Yt+=cn);let En=0-Yt,un=Yt+yt.height-Ne.height,Bt=this._subtractOverflows(yt.width,0-Ot,Ot+yt.width-Ne.width),Ft=this._subtractOverflows(yt.height,En,un),De=Bt*Ft;return{visibleArea:De,isCompletelyWithinViewport:yt.width*yt.height===De,fitsInViewportVertically:Ft===yt.height,fitsInViewportHorizontally:Bt==yt.width}}_canFitWithFlexibleDimensions(me,Pe,Ne){if(this._hasFlexibleDimensions){const Be=Ne.bottom-Pe.y,yt=Ne.right-Pe.x,Ot=ue(this._overlayRef.getConfig().minHeight),Yt=ue(this._overlayRef.getConfig().minWidth);return(me.fitsInViewportVertically||null!=Ot&&Ot<=Be)&&(me.fitsInViewportHorizontally||null!=Yt&&Yt<=yt)}return!1}_pushOverlayOnScreen(me,Pe,Ne){if(this._previousPushAmount&&this._positionLocked)return{x:me.x+this._previousPushAmount.x,y:me.y+this._previousPushAmount.y};const Be=ye(Pe),yt=this._viewportRect,Ot=Math.max(me.x+Be.width-yt.width,0),Yt=Math.max(me.y+Be.height-yt.height,0),jt=Math.max(yt.top-Ne.top-me.y,0),cn=Math.max(yt.left-Ne.left-me.x,0);let fn=0,an=0;return fn=Be.width<=yt.width?cn||-Ot:me.xBt&&!this._isInitialRender&&!this._growAfterOpen&&(Ot=me.y-Bt/2)}if("end"===Pe.overlayX&&!Be||"start"===Pe.overlayX&&Be)En=Ne.width-me.x+this._viewportMargin,fn=me.x-this._viewportMargin;else if("start"===Pe.overlayX&&!Be||"end"===Pe.overlayX&&Be)an=me.x,fn=Ne.right-me.x;else{const un=Math.min(Ne.right-me.x+Ne.left,me.x),Bt=this._lastBoundingBoxSize.width;fn=2*un,an=me.x-un,fn>Bt&&!this._isInitialRender&&!this._growAfterOpen&&(an=me.x-Bt/2)}return{top:Ot,left:an,bottom:Yt,right:En,width:fn,height:yt}}_setBoundingBoxStyles(me,Pe){const Ne=this._calculateBoundingBoxRect(me,Pe);!this._isInitialRender&&!this._growAfterOpen&&(Ne.height=Math.min(Ne.height,this._lastBoundingBoxSize.height),Ne.width=Math.min(Ne.width,this._lastBoundingBoxSize.width));const Be={};if(this._hasExactPosition())Be.top=Be.left="0",Be.bottom=Be.right=Be.maxHeight=Be.maxWidth="",Be.width=Be.height="100%";else{const yt=this._overlayRef.getConfig().maxHeight,Ot=this._overlayRef.getConfig().maxWidth;Be.height=(0,y.HM)(Ne.height),Be.top=(0,y.HM)(Ne.top),Be.bottom=(0,y.HM)(Ne.bottom),Be.width=(0,y.HM)(Ne.width),Be.left=(0,y.HM)(Ne.left),Be.right=(0,y.HM)(Ne.right),Be.alignItems="center"===Pe.overlayX?"center":"end"===Pe.overlayX?"flex-end":"flex-start",Be.justifyContent="center"===Pe.overlayY?"center":"bottom"===Pe.overlayY?"flex-end":"flex-start",yt&&(Be.maxHeight=(0,y.HM)(yt)),Ot&&(Be.maxWidth=(0,y.HM)(Ot))}this._lastBoundingBoxSize=Ne,te(this._boundingBox.style,Be)}_resetBoundingBoxStyles(){te(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){te(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(me,Pe){const Ne={},Be=this._hasExactPosition(),yt=this._hasFlexibleDimensions,Ot=this._overlayRef.getConfig();if(Be){const fn=this._viewportRuler.getViewportScrollPosition();te(Ne,this._getExactOverlayY(Pe,me,fn)),te(Ne,this._getExactOverlayX(Pe,me,fn))}else Ne.position="static";let Yt="",jt=this._getOffset(Pe,"x"),cn=this._getOffset(Pe,"y");jt&&(Yt+=`translateX(${jt}px) `),cn&&(Yt+=`translateY(${cn}px)`),Ne.transform=Yt.trim(),Ot.maxHeight&&(Be?Ne.maxHeight=(0,y.HM)(Ot.maxHeight):yt&&(Ne.maxHeight="")),Ot.maxWidth&&(Be?Ne.maxWidth=(0,y.HM)(Ot.maxWidth):yt&&(Ne.maxWidth="")),te(this._pane.style,Ne)}_getExactOverlayY(me,Pe,Ne){let Be={top:"",bottom:""},yt=this._getOverlayPoint(Pe,this._overlayRect,me);return this._isPushed&&(yt=this._pushOverlayOnScreen(yt,this._overlayRect,Ne)),"bottom"===me.overlayY?Be.bottom=this._document.documentElement.clientHeight-(yt.y+this._overlayRect.height)+"px":Be.top=(0,y.HM)(yt.y),Be}_getExactOverlayX(me,Pe,Ne){let Ot,Be={left:"",right:""},yt=this._getOverlayPoint(Pe,this._overlayRect,me);return this._isPushed&&(yt=this._pushOverlayOnScreen(yt,this._overlayRect,Ne)),Ot=this._isRtl()?"end"===me.overlayX?"left":"right":"end"===me.overlayX?"right":"left","right"===Ot?Be.right=this._document.documentElement.clientWidth-(yt.x+this._overlayRect.width)+"px":Be.left=(0,y.HM)(yt.x),Be}_getScrollVisibility(){const me=this._getOriginRect(),Pe=this._pane.getBoundingClientRect(),Ne=this._scrollables.map(Be=>Be.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:M(me,Ne),isOriginOutsideView:S(me,Ne),isOverlayClipped:M(Pe,Ne),isOverlayOutsideView:S(Pe,Ne)}}_subtractOverflows(me,...Pe){return Pe.reduce((Ne,Be)=>Ne-Math.max(Be,0),me)}_getNarrowedViewportRect(){const me=this._document.documentElement.clientWidth,Pe=this._document.documentElement.clientHeight,Ne=this._viewportRuler.getViewportScrollPosition();return{top:Ne.top+this._viewportMargin,left:Ne.left+this._viewportMargin,right:Ne.left+me-this._viewportMargin,bottom:Ne.top+Pe-this._viewportMargin,width:me-2*this._viewportMargin,height:Pe-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(me,Pe){return"x"===Pe?null==me.offsetX?this._offsetX:me.offsetX:null==me.offsetY?this._offsetY:me.offsetY}_validatePositions(){}_addPanelClasses(me){this._pane&&(0,y.Eq)(me).forEach(Pe=>{""!==Pe&&-1===this._appliedPanelClasses.indexOf(Pe)&&(this._appliedPanelClasses.push(Pe),this._pane.classList.add(Pe))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(me=>{this._pane.classList.remove(me)}),this._appliedPanelClasses=[])}_getOriginRect(){const me=this._origin;if(me instanceof D.ElementRef)return me.nativeElement.getBoundingClientRect();if(me instanceof Element)return me.getBoundingClientRect();const Pe=me.width||0,Ne=me.height||0;return{top:me.y,bottom:me.y+Ne,left:me.x,right:me.x+Pe,height:Ne,width:Pe}}}function te(Ke,me){for(let Pe in me)me.hasOwnProperty(Pe)&&(Ke[Pe]=me[Pe]);return Ke}function ue(Ke){if("number"!=typeof Ke&&null!=Ke){const[me,Pe]=Ke.split(Z);return Pe&&"px"!==Pe?null:parseFloat(me)}return Ke||null}function ye(Ke){return{top:Math.floor(Ke.top),right:Math.floor(Ke.right),bottom:Math.floor(Ke.bottom),left:Math.floor(Ke.left),width:Math.floor(Ke.width),height:Math.floor(Ke.height)}}const Ye="cdk-global-overlay-wrapper";class Ze{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(me){const Pe=me.getConfig();this._overlayRef=me,this._width&&!Pe.width&&me.updateSize({width:this._width}),this._height&&!Pe.height&&me.updateSize({height:this._height}),me.hostElement.classList.add(Ye),this._isDisposed=!1}top(me=""){return this._bottomOffset="",this._topOffset=me,this._alignItems="flex-start",this}left(me=""){return this._xOffset=me,this._xPosition="left",this}bottom(me=""){return this._topOffset="",this._bottomOffset=me,this._alignItems="flex-end",this}right(me=""){return this._xOffset=me,this._xPosition="right",this}start(me=""){return this._xOffset=me,this._xPosition="start",this}end(me=""){return this._xOffset=me,this._xPosition="end",this}width(me=""){return this._overlayRef?this._overlayRef.updateSize({width:me}):this._width=me,this}height(me=""){return this._overlayRef?this._overlayRef.updateSize({height:me}):this._height=me,this}centerHorizontally(me=""){return this.left(me),this._xPosition="center",this}centerVertically(me=""){return this.top(me),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const me=this._overlayRef.overlayElement.style,Pe=this._overlayRef.hostElement.style,Ne=this._overlayRef.getConfig(),{width:Be,height:yt,maxWidth:Ot,maxHeight:Yt}=Ne,jt=!("100%"!==Be&&"100vw"!==Be||Ot&&"100%"!==Ot&&"100vw"!==Ot),cn=!("100%"!==yt&&"100vh"!==yt||Yt&&"100%"!==Yt&&"100vh"!==Yt),fn=this._xPosition,an=this._xOffset,En="rtl"===this._overlayRef.getConfig().direction;let un="",Bt="",Ft="";jt?Ft="flex-start":"center"===fn?(Ft="center",En?Bt=an:un=an):En?"left"===fn||"end"===fn?(Ft="flex-end",un=an):("right"===fn||"start"===fn)&&(Ft="flex-start",Bt=an):"left"===fn||"start"===fn?(Ft="flex-start",un=an):("right"===fn||"end"===fn)&&(Ft="flex-end",Bt=an),me.position=this._cssPosition,me.marginLeft=jt?"0":un,me.marginTop=cn?"0":this._topOffset,me.marginBottom=this._bottomOffset,me.marginRight=jt?"0":Bt,Pe.justifyContent=Ft,Pe.alignItems=cn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const me=this._overlayRef.overlayElement.style,Pe=this._overlayRef.hostElement,Ne=Pe.style;Pe.classList.remove(Ye),Ne.justifyContent=Ne.alignItems=me.marginTop=me.marginBottom=me.marginLeft=me.marginRight=me.position="",this._overlayRef=null,this._isDisposed=!0}}let Et=(()=>{class Ke{constructor(Pe,Ne,Be,yt){this._viewportRuler=Pe,this._document=Ne,this._platform=Be,this._overlayContainer=yt}global(){return new Ze}flexibleConnectedTo(Pe){return new H(Pe,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(n.rL),D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(u.t4),D.\u0275\u0275inject(j))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),Te=0,qe=(()=>{class Ke{constructor(Pe,Ne,Be,yt,Ot,Yt,jt,cn,fn,an,En,un){this.scrollStrategies=Pe,this._overlayContainer=Ne,this._componentFactoryResolver=Be,this._positionBuilder=yt,this._keyboardDispatcher=Ot,this._injector=Yt,this._ngZone=jt,this._document=cn,this._directionality=fn,this._location=an,this._outsideClickDispatcher=En,this._animationsModuleType=un}create(Pe){const Ne=this._createHostElement(),Be=this._createPaneElement(Ne),yt=this._createPortalOutlet(Be),Ot=new P(Pe);return Ot.direction=Ot.direction||this._directionality.value,new B(yt,Ne,Be,Ot,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Pe){const Ne=this._document.createElement("div");return Ne.id="cdk-overlay-"+Te++,Ne.classList.add("cdk-overlay-pane"),Pe.appendChild(Ne),Ne}_createHostElement(){const Pe=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Pe),Pe}_createPortalOutlet(Pe){return this._appRef||(this._appRef=this._injector.get(D.ApplicationRef)),new l.u0(Pe,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275inject(I),D.\u0275\u0275inject(j),D.\u0275\u0275inject(D.ComponentFactoryResolver),D.\u0275\u0275inject(Et),D.\u0275\u0275inject(ne),D.\u0275\u0275inject(D.Injector),D.\u0275\u0275inject(D.NgZone),D.\u0275\u0275inject(f.DOCUMENT),D.\u0275\u0275inject(o.Is),D.\u0275\u0275inject(f.Location),D.\u0275\u0275inject(ee),D.\u0275\u0275inject(D.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})();const Ee=[{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"}],Ie=new D.InjectionToken("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Ke=(0,D.inject)(qe);return()=>Ke.scrollStrategies.reposition()}});let Ce=(()=>{class Ke{constructor(Pe){this.elementRef=Pe}static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)(D.\u0275\u0275directiveInject(D.ElementRef))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:Ke,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return Ke})(),ge=(()=>{class Ke{get offsetX(){return this._offsetX}set offsetX(Pe){this._offsetX=Pe,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Pe){this._offsetY=Pe,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Pe){this._disposeOnNavigation=Pe}constructor(Pe,Ne,Be,yt,Ot){this._overlay=Pe,this._dir=Ot,this._backdropSubscription=c.w0.EMPTY,this._attachSubscription=c.w0.EMPTY,this._detachSubscription=c.w0.EMPTY,this._positionSubscription=c.w0.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 D.EventEmitter,this.positionChange=new D.EventEmitter,this.attach=new D.EventEmitter,this.detach=new D.EventEmitter,this.overlayKeydown=new D.EventEmitter,this.overlayOutsideClick=new D.EventEmitter,this._templatePortal=new l.UE(Ne,Be),this._scrollStrategyFactory=yt,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(Pe){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Pe.origin&&this.open&&this._position.apply()),Pe.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ee);const Pe=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Pe.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Pe.detachments().subscribe(()=>this.detach.emit()),Pe.keydownEvents().subscribe(Ne=>{this.overlayKeydown.next(Ne),Ne.keyCode===g.hY&&!this.disableClose&&!(0,g.Vb)(Ne)&&(Ne.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ne=>{this.overlayOutsideClick.next(Ne)})}_buildConfig(){const Pe=this._position=this.positionStrategy||this._createPositionStrategy(),Ne=new P({direction:this._dir,positionStrategy:Pe,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Ne.width=this.width),(this.height||0===this.height)&&(Ne.height=this.height),(this.minWidth||0===this.minWidth)&&(Ne.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ne.minHeight=this.minHeight),this.backdropClass&&(Ne.backdropClass=this.backdropClass),this.panelClass&&(Ne.panelClass=this.panelClass),Ne}_updatePositionStrategy(Pe){const Ne=this.positions.map(Be=>({originX:Be.originX,originY:Be.originY,overlayX:Be.overlayX,overlayY:Be.overlayY,offsetX:Be.offsetX||this.offsetX,offsetY:Be.offsetY||this.offsetY,panelClass:Be.panelClass||void 0}));return Pe.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Ne).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Pe=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Pe),Pe}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ce?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(Pe=>{this.backdropClick.emit(Pe)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,h.o)(()=>this.positionChange.observers.length>0)).subscribe(Pe=>{this.positionChange.emit(Pe),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(Ne){return new(Ne||Ke)(D.\u0275\u0275directiveInject(qe),D.\u0275\u0275directiveInject(D.TemplateRef),D.\u0275\u0275directiveInject(D.ViewContainerRef),D.\u0275\u0275directiveInject(Ie),D.\u0275\u0275directiveInject(o.Is,8))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:Ke,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop",D.booleanAttribute],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",D.booleanAttribute],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",D.booleanAttribute],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",D.booleanAttribute],push:["cdkConnectedOverlayPush","push",D.booleanAttribute],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",D.booleanAttribute]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[D.\u0275\u0275InputTransformsFeature,D.\u0275\u0275NgOnChangesFeature]})}return Ke})();const q={provide:Ie,deps:[qe],useFactory:function Ae(Ke){return()=>Ke.scrollStrategies.reposition()}};let Re=(()=>{class Ke{static#e=this.\u0275fac=function(Ne){return new(Ne||Ke)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:Ke});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({providers:[qe,q],imports:[o.vT,l.eL,n.Cl,n.Cl]})}return Ke})()},2831:(Me,ie,_)=>{"use strict";_.d(ie,{Mq:()=>d,Oy:()=>S,ht:()=>w,i$:()=>l,kV:()=>x,qK:()=>m,sA:()=>T,t4:()=>y});var n=_(9212),f=_(6814);let D;try{D=typeof Intl<"u"&&Intl.v8BreakIterator}catch{D=!1}let v,y=(()=>{class M{constructor(I){this._platformId=I,this.isBrowser=this._platformId?(0,f.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!D)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(P){return new(P||M)(n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})();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 m(){if(v)return v;if("object"!=typeof document||!document)return v=new Set(s),v;let M=document.createElement("input");return v=new Set(s.filter(k=>(M.setAttribute("type",k),M.type===k))),v}let h,c,b;function l(M){return function o(){if(null==h&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?M:!!M.capture}function d(){if(null==c){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return c=!1,c;if("scrollBehavior"in document.documentElement.style)c=!0;else{const M=Element.prototype.scrollTo;c=!!M&&!/\{\s*\[native code\]\s*\}/.test(M.toString())}}return c}function x(M){if(function C(){if(null==b){const M=typeof document<"u"?document.head:null;b=!(!M||!M.createShadowRoot&&!M.attachShadow)}return b}()){const k=M.getRootNode?M.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&k instanceof ShadowRoot)return k}return null}function w(){let M=typeof document<"u"&&document?document.activeElement:null;for(;M&&M.shadowRoot;){const k=M.shadowRoot.activeElement;if(k===M)break;M=k}return M}function T(M){return M.composedPath?M.composedPath()[0]:M.target}function S(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Me,ie,_)=>{"use strict";_.d(ie,{C5:()=>o,Pl:()=>w,UE:()=>l,eL:()=>S,ig:()=>C,u0:()=>g});var n=_(9212),f=_(6814);class h{attach(I){return this._attachedHost=I,I.attach(this)}detach(){let I=this._attachedHost;null!=I&&(this._attachedHost=null,I.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(I){this._attachedHost=I}}class o extends h{constructor(I,P,A,L,F){super(),this.component=I,this.viewContainerRef=P,this.injector=A,this.componentFactoryResolver=L,this.projectableNodes=F}}class l extends h{constructor(I,P,A,L){super(),this.templateRef=I,this.viewContainerRef=P,this.context=A,this.injector=L}get origin(){return this.templateRef.elementRef}attach(I,P=this.context){return this.context=P,super.attach(I)}detach(){return this.context=void 0,super.detach()}}class r extends h{constructor(I){super(),this.element=I instanceof n.ElementRef?I.nativeElement:I}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(I){return I instanceof o?(this._attachedPortal=I,this.attachComponentPortal(I)):I instanceof l?(this._attachedPortal=I,this.attachTemplatePortal(I)):this.attachDomPortal&&I instanceof r?(this._attachedPortal=I,this.attachDomPortal(I)):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(I){this._disposeFn=I}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class g extends c{constructor(I,P,A,L,F){super(),this.outletElement=I,this._componentFactoryResolver=P,this._appRef=A,this._defaultInjector=L,this.attachDomPortal=R=>{const U=R.element,W=this._document.createComment("dom-portal");U.parentNode.insertBefore(W,U),this.outletElement.appendChild(U),this._attachedPortal=R,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(U,W)})},this._document=F}attachComponentPortal(I){const A=(I.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(I.component);let L;return I.viewContainerRef?(L=I.viewContainerRef.createComponent(A,I.viewContainerRef.length,I.injector||I.viewContainerRef.injector,I.projectableNodes||void 0),this.setDisposeFn(()=>L.destroy())):(L=A.create(I.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(L.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(L.hostView),L.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(L)),this._attachedPortal=I,L}attachTemplatePortal(I){let P=I.viewContainerRef,A=P.createEmbeddedView(I.templateRef,I.context,{injector:I.injector});return A.rootNodes.forEach(L=>this.outletElement.appendChild(L)),A.detectChanges(),this.setDisposeFn(()=>{let L=P.indexOf(A);-1!==L&&P.remove(L)}),this._attachedPortal=I,A}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(I){return I.hostView.rootNodes[0]}}let C=(()=>{class k extends l{constructor(P,A){super(P,A)}static#e=this.\u0275fac=function(A){return new(A||k)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return k})(),w=(()=>{class k extends c{constructor(P,A,L){super(),this._componentFactoryResolver=P,this._viewContainerRef=A,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=F=>{const R=F.element,U=this._document.createComment("dom-portal");F.setAttachedHost(this),R.parentNode.insertBefore(U,R),this._getRootNode().appendChild(R),this._attachedPortal=F,super.setDisposeFn(()=>{U.parentNode&&U.parentNode.replaceChild(R,U)})},this._document=L}get portal(){return this._attachedPortal}set portal(P){this.hasAttached()&&!P&&!this._isInitialized||(this.hasAttached()&&super.detach(),P&&super.attach(P),this._attachedPortal=P||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(P){P.setAttachedHost(this);const A=null!=P.viewContainerRef?P.viewContainerRef:this._viewContainerRef,F=(P.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(P.component),R=A.createComponent(F,A.length,P.injector||A.injector,P.projectableNodes||void 0);return A!==this._viewContainerRef&&this._getRootNode().appendChild(R.hostView.rootNodes[0]),super.setDisposeFn(()=>R.destroy()),this._attachedPortal=P,this._attachedRef=R,this.attached.emit(R),R}attachTemplatePortal(P){P.setAttachedHost(this);const A=this._viewContainerRef.createEmbeddedView(P.templateRef,P.context,{injector:P.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=P,this._attachedRef=A,this.attached.emit(A),A}_getRootNode(){const P=this._viewContainerRef.element.nativeElement;return P.nodeType===P.ELEMENT_NODE?P:P.parentNode}static#e=this.\u0275fac=function(A){return new(A||k)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(f.DOCUMENT))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return k})(),S=(()=>{class k{static#e=this.\u0275fac=function(A){return new(A||k)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:k});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return k})()},6672:(Me,ie,_)=>{"use strict";_.d(ie,{Cl:()=>B,ZD:()=>j,mF:()=>S,rL:()=>I});var n=_(2495),f=_(9212),D=_(8645),y=_(2096),u=_(5592),v=_(2438),h=(_(927),_(6410),_(8672)),o=_(2181),l=_(2831),r=_(6814),c=_(9388);let S=(()=>{class ${constructor(H,te,ue){this._ngZone=H,this._platform=te,this._scrolled=new D.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ue}register(H){this.scrollContainers.has(H)||this.scrollContainers.set(H,H.elementScrolled().subscribe(()=>this._scrolled.next(H)))}deregister(H){const te=this.scrollContainers.get(H);te&&(te.unsubscribe(),this.scrollContainers.delete(H))}scrolled(H=20){return this._platform.isBrowser?new u.y(te=>{this._globalSubscription||this._addGlobalListener();const ue=H>0?this._scrolled.pipe((0,h.e)(H)).subscribe(te):this._scrolled.subscribe(te);return this._scrolledCount++,()=>{ue.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((H,te)=>this.deregister(te)),this._scrolled.complete()}ancestorScrolled(H,te){const ue=this.getAncestorScrollContainers(H);return this.scrolled(te).pipe((0,o.h)(ye=>!ye||ue.indexOf(ye)>-1))}getAncestorScrollContainers(H){const te=[];return this.scrollContainers.forEach((ue,ye)=>{this._scrollableContainsElement(ye,H)&&te.push(ye)}),te}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(H,te){let ue=(0,n.fI)(te),ye=H.getElementRef().nativeElement;do{if(ue==ye)return!0}while(ue=ue.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const H=this._getWindow();return(0,v.R)(H.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(te){return new(te||$)(f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(l.t4),f.\u0275\u0275inject(r.DOCUMENT,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),I=(()=>{class ${constructor(H,te,ue){this._platform=H,this._change=new D.x,this._changeListener=ye=>{this._change.next(ye)},this._document=ue,te.runOutsideAngular(()=>{if(H.isBrowser){const ye=this._getWindow();ye.addEventListener("resize",this._changeListener),ye.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const H=this._getWindow();H.removeEventListener("resize",this._changeListener),H.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const H={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),H}getViewportRect(){const H=this.getViewportScrollPosition(),{width:te,height:ue}=this.getViewportSize();return{top:H.top,left:H.left,bottom:H.top+ue,right:H.left+te,height:ue,width:te}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const H=this._document,te=this._getWindow(),ue=H.documentElement,ye=ue.getBoundingClientRect();return{top:-ye.top||H.body.scrollTop||te.scrollY||ue.scrollTop||0,left:-ye.left||H.body.scrollLeft||te.scrollX||ue.scrollLeft||0}}change(H=20){return H>0?this._change.pipe((0,h.e)(H)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const H=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:H.innerWidth,height:H.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(te){return new(te||$)(f.\u0275\u0275inject(l.t4),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(r.DOCUMENT,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),j=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({})}return $})(),B=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[c.vT,j,c.vT,j]})}return $})()},6814:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{APP_BASE_HREF:()=>d,AsyncPipe:()=>Fi,BrowserPlatformLocation:()=>h,CommonModule:()=>Jr,CurrencyPipe:()=>or,DATE_PIPE_DEFAULT_OPTIONS:()=>Mi,DATE_PIPE_DEFAULT_TIMEZONE:()=>Ln,DOCUMENT:()=>v,DatePipe:()=>Vn,DecimalPipe:()=>Cr,FormStyle:()=>P,FormatWidth:()=>L,HashLocationStrategy:()=>b,I18nPluralPipe:()=>sr,I18nSelectPipe:()=>pr,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>lr,JsonPipe:()=>Gr,KeyValuePipe:()=>Lr,LOCATION_INITIALIZED:()=>m,Location:()=>C,LocationStrategy:()=>c,LowerCasePipe:()=>mr,NgClass:()=>wt,NgComponentOutlet:()=>vt,NgFor:()=>ze,NgForOf:()=>ze,NgForOfContext:()=>dn,NgIf:()=>pe,NgIfContext:()=>de,NgLocaleLocalization:()=>qt,NgLocalization:()=>ot,NgOptimizedImage:()=>jr,NgPlural:()=>qi,NgPluralCase:()=>ki,NgStyle:()=>zi,NgSwitch:()=>On,NgSwitchCase:()=>Bn,NgSwitchDefault:()=>Ci,NgTemplateOutlet:()=>Gi,NumberFormatStyle:()=>k,NumberSymbol:()=>F,PRECONNECT_CHECK_BLOCKLIST:()=>_s,PathLocationStrategy:()=>g,PercentPipe:()=>Zi,PlatformLocation:()=>s,Plural:()=>I,SlicePipe:()=>Fr,TitleCasePipe:()=>_n,TranslationWidth:()=>A,UpperCasePipe:()=>wn,VERSION:()=>Gt,ViewportScroller:()=>on,WeekDay:()=>R,XhrFactory:()=>Gn,formatCurrency:()=>Nn,formatDate:()=>yt,formatNumber:()=>_i,formatPercent:()=>ui,getCurrencySymbol:()=>Ae,getLocaleCurrencyCode:()=>Ye,getLocaleCurrencyName:()=>$e,getLocaleCurrencySymbol:()=>Ge,getLocaleDateFormat:()=>Z,getLocaleDateTimeFormat:()=>te,getLocaleDayNames:()=>ne,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Ie,getLocaleEraNames:()=>j,getLocaleExtraDayPeriodRules:()=>qe,getLocaleExtraDayPeriods:()=>Ee,getLocaleFirstDayOfWeek:()=>B,getLocaleId:()=>U,getLocaleMonthNames:()=>ee,getLocaleNumberFormat:()=>ye,getLocaleNumberSymbol:()=>ue,getLocalePluralCase:()=>Et,getLocaleTimeFormat:()=>H,getLocaleWeekEndRange:()=>$,getNumberOfCurrencyDigits:()=>Re,isPlatformBrowser:()=>gt,isPlatformServer:()=>Tt,isPlatformWorkerApp:()=>It,isPlatformWorkerUi:()=>$t,provideCloudflareLoader:()=>ti,provideCloudinaryLoader:()=>Es,provideImageKitLoader:()=>Bi,provideImgixLoader:()=>je,registerLocaleData:()=>it,\u0275DomAdapter:()=>u,\u0275NullViewportScroller:()=>An,\u0275PLATFORM_BROWSER_ID:()=>Tr,\u0275PLATFORM_SERVER_ID:()=>qr,\u0275PLATFORM_WORKER_APP_ID:()=>Ur,\u0275PLATFORM_WORKER_UI_ID:()=>Dt,\u0275getDOM:()=>D,\u0275normalizeQueryParams:()=>r,\u0275parseCookieValue:()=>dt,\u0275setRootDomAdapter:()=>y});var n=_(9212);let f=null;function D(){return f}function y(J){f||(f=J)}class u{}const v=new n.InjectionToken("DocumentToken");let s=(()=>{class J{historyGo(le){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(h),providedIn:"platform"})}return J})();const m=new n.InjectionToken("Location Initialized");let h=(()=>{class J extends s{constructor(){super(),this._doc=(0,n.inject)(v),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return D().getBaseHref(this._doc)}onPopState(le){const ve=D().getGlobalEventTarget(this._doc,"window");return ve.addEventListener("popstate",le,!1),()=>ve.removeEventListener("popstate",le)}onHashChange(le){const ve=D().getGlobalEventTarget(this._doc,"window");return ve.addEventListener("hashchange",le,!1),()=>ve.removeEventListener("hashchange",le)}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(le){this._location.pathname=le}pushState(le,ve,lt){this._history.pushState(le,ve,lt)}replaceState(le,ve,lt){this._history.replaceState(le,ve,lt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(le=0){this._history.go(le)}getState(){return this._history.state}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>new J,providedIn:"platform"})}return J})();function o(J,Fe){if(0==J.length)return Fe;if(0==Fe.length)return J;let le=0;return J.endsWith("/")&&le++,Fe.startsWith("/")&&le++,2==le?J+Fe.substring(1):1==le?J+Fe:J+"/"+Fe}function l(J){const Fe=J.match(/#|\?|$/),le=Fe&&Fe.index||J.length;return J.slice(0,le-("/"===J[le-1]?1:0))+J.slice(le)}function r(J){return J&&"?"!==J[0]?"?"+J:J}let c=(()=>{class J{historyGo(le){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(g),providedIn:"root"})}return J})();const d=new n.InjectionToken("appBaseHref");let g=(()=>{class J extends c{constructor(le,ve){super(),this._platformLocation=le,this._removeListenerFns=[],this._baseHref=ve??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(v).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}prepareExternalUrl(le){return o(this._baseHref,le)}path(le=!1){const ve=this._platformLocation.pathname+r(this._platformLocation.search),lt=this._platformLocation.hash;return lt&&le?`${ve}${lt}`:ve}pushState(le,ve,lt,zt){const nn=this.prepareExternalUrl(lt+r(zt));this._platformLocation.pushState(le,ve,nn)}replaceState(le,ve,lt,zt){const nn=this.prepareExternalUrl(lt+r(zt));this._platformLocation.replaceState(le,ve,nn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(s),n.\u0275\u0275inject(d,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),b=(()=>{class J extends c{constructor(le,ve){super(),this._platformLocation=le,this._baseHref="",this._removeListenerFns=[],null!=ve&&(this._baseHref=ve)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}path(le=!1){let ve=this._platformLocation.hash;return null==ve&&(ve="#"),ve.length>0?ve.substring(1):ve}prepareExternalUrl(le){const ve=o(this._baseHref,le);return ve.length>0?"#"+ve:ve}pushState(le,ve,lt,zt){let nn=this.prepareExternalUrl(lt+r(zt));0==nn.length&&(nn=this._platformLocation.pathname),this._platformLocation.pushState(le,ve,nn)}replaceState(le,ve,lt,zt){let nn=this.prepareExternalUrl(lt+r(zt));0==nn.length&&(nn=this._platformLocation.pathname),this._platformLocation.replaceState(le,ve,nn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(s),n.\u0275\u0275inject(d,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})(),C=(()=>{class J{constructor(le){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=le;const ve=this._locationStrategy.getBaseHref();this._basePath=function S(J){if(new RegExp("^(https?:)?//").test(J)){const[,le]=J.split(/\/\/[^\/]+/);return le}return J}(l(T(ve))),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(le=!1){return this.normalize(this._locationStrategy.path(le))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(le,ve=""){return this.path()==this.normalize(le+r(ve))}normalize(le){return J.stripTrailingSlash(function w(J,Fe){if(!J||!Fe.startsWith(J))return Fe;const le=Fe.substring(J.length);return""===le||["/",";","?","#"].includes(le[0])?le:Fe}(this._basePath,T(le)))}prepareExternalUrl(le){return le&&"/"!==le[0]&&(le="/"+le),this._locationStrategy.prepareExternalUrl(le)}go(le,ve="",lt=null){this._locationStrategy.pushState(lt,"",le,ve),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+r(ve)),lt)}replaceState(le,ve="",lt=null){this._locationStrategy.replaceState(lt,"",le,ve),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+r(ve)),lt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(le=0){this._locationStrategy.historyGo?.(le)}onUrlChange(le){return this._urlChangeListeners.push(le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ve=>{this._notifyUrlChangeListeners(ve.url,ve.state)})),()=>{const ve=this._urlChangeListeners.indexOf(le);this._urlChangeListeners.splice(ve,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(le="",ve){this._urlChangeListeners.forEach(lt=>lt(le,ve))}subscribe(le,ve,lt){return this._subject.subscribe({next:le,error:ve,complete:lt})}static#e=this.normalizeQueryParams=r;static#t=this.joinWithSlash=o;static#n=this.stripTrailingSlash=l;static#i=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(c))};static#r=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>function x(){return new C((0,n.\u0275\u0275inject)(c))}(),providedIn:"root"})}return J})();function T(J){return J.replace(/\/index.html$/,"")}const M={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 k=function(J){return J[J.Decimal=0]="Decimal",J[J.Percent=1]="Percent",J[J.Currency=2]="Currency",J[J.Scientific=3]="Scientific",J}(k||{}),I=function(J){return J[J.Zero=0]="Zero",J[J.One=1]="One",J[J.Two=2]="Two",J[J.Few=3]="Few",J[J.Many=4]="Many",J[J.Other=5]="Other",J}(I||{}),P=function(J){return J[J.Format=0]="Format",J[J.Standalone=1]="Standalone",J}(P||{}),A=function(J){return J[J.Narrow=0]="Narrow",J[J.Abbreviated=1]="Abbreviated",J[J.Wide=2]="Wide",J[J.Short=3]="Short",J}(A||{}),L=function(J){return J[J.Short=0]="Short",J[J.Medium=1]="Medium",J[J.Long=2]="Long",J[J.Full=3]="Full",J}(L||{}),F=function(J){return J[J.Decimal=0]="Decimal",J[J.Group=1]="Group",J[J.List=2]="List",J[J.PercentSign=3]="PercentSign",J[J.PlusSign=4]="PlusSign",J[J.MinusSign=5]="MinusSign",J[J.Exponential=6]="Exponential",J[J.SuperscriptingExponent=7]="SuperscriptingExponent",J[J.PerMille=8]="PerMille",J[J.Infinity=9]="Infinity",J[J.NaN=10]="NaN",J[J.TimeSeparator=11]="TimeSeparator",J[J.CurrencyDecimal=12]="CurrencyDecimal",J[J.CurrencyGroup=13]="CurrencyGroup",J}(F||{}),R=function(J){return J[J.Sunday=0]="Sunday",J[J.Monday=1]="Monday",J[J.Tuesday=2]="Tuesday",J[J.Wednesday=3]="Wednesday",J[J.Thursday=4]="Thursday",J[J.Friday=5]="Friday",J[J.Saturday=6]="Saturday",J}(R||{});function U(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.LocaleId]}function W(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.DayPeriodsFormat],ve[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Fe);return Ce(zt,le)}function ne(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.DaysFormat],ve[n.\u0275LocaleDataIndex.DaysStandalone]],Fe);return Ce(zt,le)}function ee(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J),zt=Ce([ve[n.\u0275LocaleDataIndex.MonthsFormat],ve[n.\u0275LocaleDataIndex.MonthsStandalone]],Fe);return Ce(zt,le)}function j(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Eras],Fe)}function B(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function $(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.WeekendRange]}function Z(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateFormat],Fe)}function H(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.TimeFormat],Fe)}function te(J,Fe){return Ce((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateTimeFormat],Fe)}function ue(J,Fe){const le=(0,n.\u0275findLocaleData)(J),ve=le[n.\u0275LocaleDataIndex.NumberSymbols][Fe];if(typeof ve>"u"){if(Fe===F.CurrencyDecimal)return le[n.\u0275LocaleDataIndex.NumberSymbols][F.Decimal];if(Fe===F.CurrencyGroup)return le[n.\u0275LocaleDataIndex.NumberSymbols][F.Group]}return ve}function ye(J,Fe){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.NumberFormats][Fe]}function Ge(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function $e(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencyName]||null}function Ye(J){return(0,n.\u0275getLocaleCurrencyCode)(J)}const Et=n.\u0275getLocalePluralCase;function Te(J){if(!J[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${J[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(J){const Fe=(0,n.\u0275findLocaleData)(J);return Te(Fe),(Fe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(ve=>"string"==typeof ve?ge(ve):[ge(ve[0]),ge(ve[1])])}function Ee(J,Fe,le){const ve=(0,n.\u0275findLocaleData)(J);Te(ve);const zt=Ce([ve[n.\u0275LocaleDataIndex.ExtraData][0],ve[n.\u0275LocaleDataIndex.ExtraData][1]],Fe)||[];return Ce(zt,le)||[]}function Ie(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Directionality]}function Ce(J,Fe){for(let le=Fe;le>-1;le--)if(typeof J[le]<"u")return J[le];throw new Error("Locale data API: locale data undefined")}function ge(J){const[Fe,le]=J.split(":");return{hours:+Fe,minutes:+le}}function Ae(J,Fe,le="en"){const ve=function Ze(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Currencies]}(le)[J]||M[J]||[],lt=ve[1];return"narrow"===Fe&&"string"==typeof lt?lt:ve[0]||J}const q=2;function Re(J){let Fe;const le=M[J];return le&&(Fe=le[2]),"number"==typeof Fe?Fe:q}const ke=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ke={},me=/((?:[^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 Pe=function(J){return J[J.Short=0]="Short",J[J.ShortGMT=1]="ShortGMT",J[J.Long=2]="Long",J[J.Extended=3]="Extended",J}(Pe||{}),Ne=function(J){return J[J.FullYear=0]="FullYear",J[J.Month=1]="Month",J[J.Date=2]="Date",J[J.Hours=3]="Hours",J[J.Minutes=4]="Minutes",J[J.Seconds=5]="Seconds",J[J.FractionalSeconds=6]="FractionalSeconds",J[J.Day=7]="Day",J}(Ne||{}),Be=function(J){return J[J.DayPeriods=0]="DayPeriods",J[J.Days=1]="Days",J[J.Months=2]="Months",J[J.Eras=3]="Eras",J}(Be||{});function yt(J,Fe,le,ve){let lt=function _e(J){if(z(J))return J;if("number"==typeof J&&!isNaN(J))return new Date(J);if("string"==typeof J){if(J=J.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(J)){const[lt,zt=1,nn=1]=J.split("-").map(xn=>+xn);return Ot(lt,zt-1,nn)}const le=parseFloat(J);if(!isNaN(J-le))return new Date(le);let ve;if(ve=J.match(ke))return function ce(J){const Fe=new Date(0);let le=0,ve=0;const lt=J[8]?Fe.setUTCFullYear:Fe.setFullYear,zt=J[8]?Fe.setUTCHours:Fe.setHours;J[9]&&(le=Number(J[9]+J[10]),ve=Number(J[9]+J[11])),lt.call(Fe,Number(J[1]),Number(J[2])-1,Number(J[3]));const nn=Number(J[4]||0)-le,xn=Number(J[5]||0)-ve,Li=Number(J[6]||0),di=Math.floor(1e3*parseFloat("0."+(J[7]||0)));return zt.call(Fe,nn,xn,Li,di),Fe}(ve)}const Fe=new Date(J);if(!z(Fe))throw new Error(`Unable to convert "${J}" into a date`);return Fe}(J);Fe=Yt(le,Fe)||Fe;let xn,nn=[];for(;Fe;){if(xn=me.exec(Fe),!xn){nn.push(Fe);break}{nn=nn.concat(xn.slice(1));const Un=nn.pop();if(!Un)break;Fe=Un}}let Li=lt.getTimezoneOffset();ve&&(Li=Pt(ve,Li),lt=function bt(J,Fe,le){const ve=le?-1:1,lt=J.getTimezoneOffset();return function Nt(J,Fe){return(J=new Date(J.getTime())).setMinutes(J.getMinutes()+Fe),J}(J,ve*(Pt(Fe,lt)-lt))}(lt,ve,!0));let di="";return nn.forEach(Un=>{const Xn=function Ct(J){if(Oe[J])return Oe[J];let Fe;switch(J){case"G":case"GG":case"GGG":Fe=un(Be.Eras,A.Abbreviated);break;case"GGGG":Fe=un(Be.Eras,A.Wide);break;case"GGGGG":Fe=un(Be.Eras,A.Narrow);break;case"y":Fe=an(Ne.FullYear,1,0,!1,!0);break;case"yy":Fe=an(Ne.FullYear,2,0,!0,!0);break;case"yyy":Fe=an(Ne.FullYear,3,0,!1,!0);break;case"yyyy":Fe=an(Ne.FullYear,4,0,!1,!0);break;case"Y":Fe=ut(1);break;case"YY":Fe=ut(2,!0);break;case"YYY":Fe=ut(3);break;case"YYYY":Fe=ut(4);break;case"M":case"L":Fe=an(Ne.Month,1,1);break;case"MM":case"LL":Fe=an(Ne.Month,2,1);break;case"MMM":Fe=un(Be.Months,A.Abbreviated);break;case"MMMM":Fe=un(Be.Months,A.Wide);break;case"MMMMM":Fe=un(Be.Months,A.Narrow);break;case"LLL":Fe=un(Be.Months,A.Abbreviated,P.Standalone);break;case"LLLL":Fe=un(Be.Months,A.Wide,P.Standalone);break;case"LLLLL":Fe=un(Be.Months,A.Narrow,P.Standalone);break;case"w":Fe=tt(1);break;case"ww":Fe=tt(2);break;case"W":Fe=tt(1,!0);break;case"d":Fe=an(Ne.Date,1);break;case"dd":Fe=an(Ne.Date,2);break;case"c":case"cc":Fe=an(Ne.Day,1);break;case"ccc":Fe=un(Be.Days,A.Abbreviated,P.Standalone);break;case"cccc":Fe=un(Be.Days,A.Wide,P.Standalone);break;case"ccccc":Fe=un(Be.Days,A.Narrow,P.Standalone);break;case"cccccc":Fe=un(Be.Days,A.Short,P.Standalone);break;case"E":case"EE":case"EEE":Fe=un(Be.Days,A.Abbreviated);break;case"EEEE":Fe=un(Be.Days,A.Wide);break;case"EEEEE":Fe=un(Be.Days,A.Narrow);break;case"EEEEEE":Fe=un(Be.Days,A.Short);break;case"a":case"aa":case"aaa":Fe=un(Be.DayPeriods,A.Abbreviated);break;case"aaaa":Fe=un(Be.DayPeriods,A.Wide);break;case"aaaaa":Fe=un(Be.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":Fe=un(Be.DayPeriods,A.Abbreviated,P.Standalone,!0);break;case"bbbb":Fe=un(Be.DayPeriods,A.Wide,P.Standalone,!0);break;case"bbbbb":Fe=un(Be.DayPeriods,A.Narrow,P.Standalone,!0);break;case"B":case"BB":case"BBB":Fe=un(Be.DayPeriods,A.Abbreviated,P.Format,!0);break;case"BBBB":Fe=un(Be.DayPeriods,A.Wide,P.Format,!0);break;case"BBBBB":Fe=un(Be.DayPeriods,A.Narrow,P.Format,!0);break;case"h":Fe=an(Ne.Hours,1,-12);break;case"hh":Fe=an(Ne.Hours,2,-12);break;case"H":Fe=an(Ne.Hours,1);break;case"HH":Fe=an(Ne.Hours,2);break;case"m":Fe=an(Ne.Minutes,1);break;case"mm":Fe=an(Ne.Minutes,2);break;case"s":Fe=an(Ne.Seconds,1);break;case"ss":Fe=an(Ne.Seconds,2);break;case"S":Fe=an(Ne.FractionalSeconds,1);break;case"SS":Fe=an(Ne.FractionalSeconds,2);break;case"SSS":Fe=an(Ne.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Fe=Ft(Pe.Short);break;case"ZZZZZ":Fe=Ft(Pe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Fe=Ft(Pe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Fe=Ft(Pe.Long);break;default:return null}return Oe[J]=Fe,Fe}(Un);di+=Xn?Xn(lt,le,Li):"''"===Un?"'":Un.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),di}function Ot(J,Fe,le){const ve=new Date(0);return ve.setFullYear(J,Fe,le),ve.setHours(0,0,0),ve}function Yt(J,Fe){const le=U(J);if(Ke[le]=Ke[le]||{},Ke[le][Fe])return Ke[le][Fe];let ve="";switch(Fe){case"shortDate":ve=Z(J,L.Short);break;case"mediumDate":ve=Z(J,L.Medium);break;case"longDate":ve=Z(J,L.Long);break;case"fullDate":ve=Z(J,L.Full);break;case"shortTime":ve=H(J,L.Short);break;case"mediumTime":ve=H(J,L.Medium);break;case"longTime":ve=H(J,L.Long);break;case"fullTime":ve=H(J,L.Full);break;case"short":const lt=Yt(J,"shortTime"),zt=Yt(J,"shortDate");ve=jt(te(J,L.Short),[lt,zt]);break;case"medium":const nn=Yt(J,"mediumTime"),xn=Yt(J,"mediumDate");ve=jt(te(J,L.Medium),[nn,xn]);break;case"long":const Li=Yt(J,"longTime"),di=Yt(J,"longDate");ve=jt(te(J,L.Long),[Li,di]);break;case"full":const Un=Yt(J,"fullTime"),Xn=Yt(J,"fullDate");ve=jt(te(J,L.Full),[Un,Xn])}return ve&&(Ke[le][Fe]=ve),ve}function jt(J,Fe){return Fe&&(J=J.replace(/\{([^}]+)}/g,function(le,ve){return null!=Fe&&ve in Fe?Fe[ve]:le})),J}function cn(J,Fe,le="-",ve,lt){let zt="";(J<0||lt&&J<=0)&&(lt?J=1-J:(J=-J,zt=le));let nn=String(J);for(;nn.length0||xn>-le)&&(xn+=le),J===Ne.Hours)0===xn&&-12===le&&(xn=12);else if(J===Ne.FractionalSeconds)return function fn(J,Fe){return cn(J,3).substring(0,Fe)}(xn,Fe);const Li=ue(nn,F.MinusSign);return cn(xn,Fe,Li,ve,lt)}}function un(J,Fe,le=P.Format,ve=!1){return function(lt,zt){return function Bt(J,Fe,le,ve,lt,zt){switch(le){case Be.Months:return ee(Fe,lt,ve)[J.getMonth()];case Be.Days:return ne(Fe,lt,ve)[J.getDay()];case Be.DayPeriods:const nn=J.getHours(),xn=J.getMinutes();if(zt){const di=qe(Fe),Un=Ee(Fe,lt,ve),Xn=di.findIndex($i=>{if(Array.isArray($i)){const[Ii,Yi]=$i,is=nn>=Ii.hours&&xn>=Ii.minutes,kr=nn0?Math.floor(lt/60):Math.ceil(lt/60);switch(J){case Pe.Short:return(lt>=0?"+":"")+cn(nn,2,zt)+cn(Math.abs(lt%60),2,zt);case Pe.ShortGMT:return"GMT"+(lt>=0?"+":"")+cn(nn,1,zt);case Pe.Long:return"GMT"+(lt>=0?"+":"")+cn(nn,2,zt)+":"+cn(Math.abs(lt%60),2,zt);case Pe.Extended:return 0===ve?"Z":(lt>=0?"+":"")+cn(nn,2,zt)+":"+cn(Math.abs(lt%60),2,zt);default:throw new Error(`Unknown zone width "${J}"`)}}}const De=0,Ve=4;function St(J){return Ot(J.getFullYear(),J.getMonth(),J.getDate()+(Ve-J.getDay()))}function tt(J,Fe=!1){return function(le,ve){let lt;if(Fe){const zt=new Date(le.getFullYear(),le.getMonth(),1).getDay()-1,nn=le.getDate();lt=1+Math.floor((nn+zt)/7)}else{const zt=St(le),nn=function Xe(J){const Fe=Ot(J,De,1).getDay();return Ot(J,0,1+(Fe<=Ve?Ve:Ve+7)-Fe)}(zt.getFullYear()),xn=zt.getTime()-nn.getTime();lt=1+Math.round(xn/6048e5)}return cn(lt,J,ue(ve,F.MinusSign))}}function ut(J,Fe=!1){return function(le,ve){return cn(St(le).getFullYear(),J,ue(ve,F.MinusSign),Fe)}}const Oe={};function Pt(J,Fe){J=J.replace(/:/g,"");const le=Date.parse("Jan 01, 1970 00:00:00 "+J)/6e4;return isNaN(le)?Fe:le}function z(J){return J instanceof Date&&!isNaN(J.valueOf())}const oe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Se=22,at=".",nt="0",mt=";",He=",",rt="#",Lt="\xa4",Xt="%";function tn(J,Fe,le,ve,lt,zt,nn=!1){let xn="",Li=!1;if(isFinite(J)){let di=function st(J){let ve,lt,zt,nn,xn,Fe=Math.abs(J)+"",le=0;for((lt=Fe.indexOf(at))>-1&&(Fe=Fe.replace(at,"")),(zt=Fe.search(/e/i))>0?(lt<0&&(lt=zt),lt+=+Fe.slice(zt+1),Fe=Fe.substring(0,zt)):lt<0&&(lt=Fe.length),zt=0;Fe.charAt(zt)===nt;zt++);if(zt===(xn=Fe.length))ve=[0],lt=1;else{for(xn--;Fe.charAt(xn)===nt;)xn--;for(lt-=zt,ve=[],nn=0;zt<=xn;zt++,nn++)ve[nn]=Number(Fe.charAt(zt))}return lt>Se&&(ve=ve.splice(0,Se-1),le=lt-1,lt=1),{digits:ve,exponent:le,integerLen:lt}}(J);nn&&(di=function Yn(J){if(0===J.digits[0])return J;const Fe=J.digits.length-J.integerLen;return J.exponent?J.exponent+=2:(0===Fe?J.digits.push(0,0):1===Fe&&J.digits.push(0),J.integerLen+=2),J}(di));let Un=Fe.minInt,Xn=Fe.minFrac,$i=Fe.maxFrac;if(zt){const _r=zt.match(oe);if(null===_r)throw new Error(`${zt} is not a valid digit info`);const ur=_r[1],Ji=_r[3],rs=_r[5];null!=ur&&(Un=Ue(ur)),null!=Ji&&(Xn=Ue(Ji)),null!=rs?$i=Ue(rs):null!=Ji&&Xn>$i&&($i=Xn)}!function pn(J,Fe,le){if(Fe>le)throw new Error(`The minimum number of digits after fraction (${Fe}) is higher than the maximum (${le}).`);let ve=J.digits,lt=ve.length-J.integerLen;const zt=Math.min(Math.max(Fe,lt),le);let nn=zt+J.integerLen,xn=ve[nn];if(nn>0){ve.splice(Math.max(J.integerLen,nn));for(let Xn=nn;Xn=5)if(nn-1<0){for(let Xn=0;Xn>nn;Xn--)ve.unshift(0),J.integerLen++;ve.unshift(1),J.integerLen++}else ve[nn-1]++;for(;lt=di?Yi.pop():Li=!1),$i>=10?1:0},0);Un&&(ve.unshift(Un),J.integerLen++)}(di,Xn,$i);let Ii=di.digits,Yi=di.integerLen;const is=di.exponent;let kr=[];for(Li=Ii.every(_r=>!_r);Yi0?kr=Ii.splice(Yi,Ii.length):(kr=Ii,Ii=[0]);const ds=[];for(Ii.length>=Fe.lgSize&&ds.unshift(Ii.splice(-Fe.lgSize,Ii.length).join(""));Ii.length>Fe.gSize;)ds.unshift(Ii.splice(-Fe.gSize,Ii.length).join(""));Ii.length&&ds.unshift(Ii.join("")),xn=ds.join(ue(le,ve)),kr.length&&(xn+=ue(le,lt)+kr.join("")),is&&(xn+=ue(le,F.Exponential)+"+"+is)}else xn=ue(le,F.Infinity);return xn=J<0&&!Li?Fe.negPre+xn+Fe.negSuf:Fe.posPre+xn+Fe.posSuf,xn}function Nn(J,Fe,le,ve,lt){const nn=Hi(ye(Fe,k.Currency),ue(Fe,F.MinusSign));return nn.minFrac=Re(ve),nn.maxFrac=nn.minFrac,tn(J,nn,Fe,F.CurrencyGroup,F.CurrencyDecimal,lt).replace(Lt,le).replace(Lt,"").trim()}function ui(J,Fe,le){return tn(J,Hi(ye(Fe,k.Percent),ue(Fe,F.MinusSign)),Fe,F.Group,F.Decimal,le,!0).replace(new RegExp(Xt,"g"),ue(Fe,F.PercentSign))}function _i(J,Fe,le){return tn(J,Hi(ye(Fe,k.Decimal),ue(Fe,F.MinusSign)),Fe,F.Group,F.Decimal,le)}function Hi(J,Fe="-"){const le={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ve=J.split(mt),lt=ve[0],zt=ve[1],nn=-1!==lt.indexOf(at)?lt.split(at):[lt.substring(0,lt.lastIndexOf(nt)+1),lt.substring(lt.lastIndexOf(nt)+1)],xn=nn[0],Li=nn[1]||"";le.posPre=xn.substring(0,xn.indexOf(rt));for(let Un=0;Un{class J{static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:function(ve){let lt=null;return ve?lt=new ve:(zt=n.\u0275\u0275inject(n.LOCALE_ID),lt=new qt(zt)),lt;var zt},providedIn:"root"})}return J})();function At(J,Fe,le,ve){let lt=`=${J}`;if(Fe.indexOf(lt)>-1||(lt=le.getPluralCategory(J,ve),Fe.indexOf(lt)>-1))return lt;if(Fe.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${J}"`)}let qt=(()=>{class J extends ot{constructor(le){super(),this.locale=le}getPluralCategory(le,ve){switch(Et(ve||this.locale)(le)){case I.Zero:return"zero";case I.One:return"one";case I.Two:return"two";case I.Few:return"few";case I.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})();function it(J,Fe,le){return(0,n.\u0275registerLocaleData)(J,Fe,le)}function dt(J,Fe){Fe=encodeURIComponent(Fe);for(const le of J.split(";")){const ve=le.indexOf("="),[lt,zt]=-1==ve?[le,""]:[le.slice(0,ve),le.slice(ve+1)];if(lt.trim()===Fe)return decodeURIComponent(zt)}return null}const ct=/\s+/,Ut=[];let wt=(()=>{class J{constructor(le,ve,lt,zt){this._iterableDiffers=le,this._keyValueDiffers=ve,this._ngEl=lt,this._renderer=zt,this.initialClasses=Ut,this.stateMap=new Map}set klass(le){this.initialClasses=null!=le?le.trim().split(ct):Ut}set ngClass(le){this.rawClass="string"==typeof le?le.trim().split(ct):le}ngDoCheck(){for(const ve of this.initialClasses)this._updateState(ve,!0);const le=this.rawClass;if(Array.isArray(le)||le instanceof Set)for(const ve of le)this._updateState(ve,!0);else if(null!=le)for(const ve of Object.keys(le))this._updateState(ve,!!le[ve]);this._applyStateDiff()}_updateState(le,ve){const lt=this.stateMap.get(le);void 0!==lt?(lt.enabled!==ve&&(lt.changed=!0,lt.enabled=ve),lt.touched=!0):this.stateMap.set(le,{enabled:ve,changed:!0,touched:!0})}_applyStateDiff(){for(const le of this.stateMap){const ve=le[0],lt=le[1];lt.changed?(this._toggleClass(ve,lt.enabled),lt.changed=!1):lt.touched||(lt.enabled&&this._toggleClass(ve,!1),this.stateMap.delete(ve)),lt.touched=!1}}_toggleClass(le,ve){(le=le.trim()).length>0&&le.split(ct).forEach(lt=>{ve?this._renderer.addClass(this._ngEl.nativeElement,lt):this._renderer.removeClass(this._ngEl.nativeElement,lt)})}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return J})(),vt=(()=>{class J{constructor(le){this._viewContainerRef=le,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(le){return void 0!==le.ngComponentOutletNgModule||void 0!==le.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(le){return void 0!==le.ngComponentOutlet||void 0!==le.ngComponentOutletContent||void 0!==le.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(le)}ngOnChanges(le){if(this._needToReCreateComponentInstance(le)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const ve=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(le)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,Ht(ve)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Ht(ve)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:ve,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const le of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(le,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(le){for(const[ve,lt]of this._inputsUsed)lt?(le.setInput(ve,this.ngComponentOutletInputs[ve]),this._inputsUsed.set(ve,!1)):(le.setInput(ve,void 0),this._inputsUsed.delete(ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function Ht(J){return J.get(n.NgModuleRef).injector}class dn{constructor(Fe,le,ve,lt){this.$implicit=Fe,this.ngForOf=le,this.index=ve,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 ze=(()=>{class J{set ngForOf(le){this._ngForOf=le,this._ngForOfDirty=!0}set ngForTrackBy(le){this._trackByFn=le}get ngForTrackBy(){return this._trackByFn}constructor(le,ve,lt){this._viewContainer=le,this._template=ve,this._differs=lt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(le){le&&(this._template=le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const le=this._ngForOf;!this._differ&&le&&(this._differ=this._differs.find(le).create(this.ngForTrackBy))}if(this._differ){const le=this._differ.diff(this._ngForOf);le&&this._applyChanges(le)}}_applyChanges(le){const ve=this._viewContainer;le.forEachOperation((lt,zt,nn)=>{if(null==lt.previousIndex)ve.createEmbeddedView(this._template,new dn(lt.item,this._ngForOf,-1,-1),null===nn?void 0:nn);else if(null==nn)ve.remove(null===zt?void 0:zt);else if(null!==zt){const xn=ve.get(zt);ve.move(xn,nn),en(xn,lt)}});for(let lt=0,zt=ve.length;lt{en(ve.get(lt.currentIndex),lt)})}static ngTemplateContextGuard(le,ve){return!0}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return J})();function en(J,Fe){J.context.$implicit=Fe.item}let pe=(()=>{class J{constructor(le,ve){this._viewContainer=le,this._context=new de,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ve}set ngIf(le){this._context.$implicit=this._context.ngIf=le,this._updateView()}set ngIfThen(le){Qe("ngIfThen",le),this._thenTemplateRef=le,this._thenViewRef=null,this._updateView()}set ngIfElse(le){Qe("ngIfElse",le),this._elseTemplateRef=le,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(le,ve){return!0}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return J})();class de{constructor(){this.$implicit=null,this.ngIf=null}}function Qe(J,Fe){if(Fe&&!Fe.createEmbeddedView)throw new Error(`${J} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Fe)}'.`)}class hn{constructor(Fe,le){this._viewContainerRef=Fe,this._templateRef=le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Fe){Fe&&!this._created?this.create():!Fe&&this._created&&this.destroy()}}let On=(()=>{class J{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(le){this._ngSwitch=le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(le){this._defaultViews.push(le)}_matchCase(le){const ve=le===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ve,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ve}_updateDefaultCases(le){if(this._defaultViews.length>0&&le!==this._defaultUsed){this._defaultUsed=le;for(const ve of this._defaultViews)ve.enforceState(le)}}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return J})(),Bn=(()=>{class J{constructor(le,ve,lt){this.ngSwitch=lt,lt._addCase(),this._view=new hn(le,ve)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(On,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return J})(),Ci=(()=>{class J{constructor(le,ve,lt){lt._addDefault(new hn(le,ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(On,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return J})(),qi=(()=>{class J{constructor(le){this._localization=le,this._caseViews={}}set ngPlural(le){this._updateView(le)}addCase(le,ve){this._caseViews[le]=ve}_updateView(le){this._clearViews();const lt=At(le,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[lt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(le){le&&(this._activeView=le,this._activeView.create())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(ot))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return J})(),ki=(()=>{class J{constructor(le,ve,lt,zt){this.value=le;const nn=!isNaN(Number(le));zt.addCase(nn?`=${le}`:le,new hn(lt,ve))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(qi,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPluralCase",""]],standalone:!0})}return J})(),zi=(()=>{class J{constructor(le,ve,lt){this._ngEl=le,this._differs=ve,this._renderer=lt,this._ngStyle=null,this._differ=null}set ngStyle(le){this._ngStyle=le,!this._differ&&le&&(this._differ=this._differs.find(le).create())}ngDoCheck(){if(this._differ){const le=this._differ.diff(this._ngStyle);le&&this._applyChanges(le)}}_setStyle(le,ve){const[lt,zt]=le.split("."),nn=-1===lt.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=ve?this._renderer.setStyle(this._ngEl.nativeElement,lt,zt?`${ve}${zt}`:ve,nn):this._renderer.removeStyle(this._ngEl.nativeElement,lt,nn)}_applyChanges(le){le.forEachRemovedItem(ve=>this._setStyle(ve.key,null)),le.forEachAddedItem(ve=>this._setStyle(ve.key,ve.currentValue)),le.forEachChangedItem(ve=>this._setStyle(ve.key,ve.currentValue))}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return J})(),Gi=(()=>{class J{constructor(le){this._viewContainerRef=le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(le){if(this._shouldRecreateView(le)){const ve=this._viewContainerRef;if(this._viewRef&&ve.remove(ve.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const lt=this._createContextForwardProxy();this._viewRef=ve.createEmbeddedView(this.ngTemplateOutlet,lt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(le){return!!le.ngTemplateOutlet||!!le.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(le,ve,lt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ve,lt),get:(le,ve,lt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ve,lt)}})}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function Tn(J,Fe){return new n.\u0275RuntimeError(2100,!1)}class Ki{createSubscription(Fe,le){return(0,n.untracked)(()=>Fe.subscribe({next:le,error:ve=>{throw ve}}))}dispose(Fe){(0,n.untracked)(()=>Fe.unsubscribe())}}class qn{createSubscription(Fe,le){return Fe.then(le,ve=>{throw ve})}dispose(Fe){}}const Pn=new qn,Qn=new Ki;let Fi=(()=>{class J{constructor(le){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=le}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(le){return this._obj?le!==this._obj?(this._dispose(),this.transform(le)):this._latestValue:(le&&this._subscribe(le),this._latestValue)}_subscribe(le){this._obj=le,this._strategy=this._selectStrategy(le),this._subscription=this._strategy.createSubscription(le,ve=>this._updateLatestValue(le,ve))}_selectStrategy(le){if((0,n.\u0275isPromise)(le))return Pn;if((0,n.\u0275isSubscribable)(le))return Qn;throw Tn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(le,ve){le===this._obj&&(this._latestValue=ve,this._ref.markForCheck())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:J,pure:!1,standalone:!0})}return J})(),mr=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.toLowerCase()}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:J,pure:!0,standalone:!0})}return J})();const er=/(?:[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 _n=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.replace(er,ve=>ve[0].toUpperCase()+ve.slice(1).toLowerCase())}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:J,pure:!0,standalone:!0})}return J})(),wn=(()=>{class J{transform(le){if(null==le)return null;if("string"!=typeof le)throw Tn();return le.toUpperCase()}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:J,pure:!0,standalone:!0})}return J})();const Ln=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),Mi=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let Vn=(()=>{class J{constructor(le,ve,lt){this.locale=le,this.defaultTimezone=ve,this.defaultOptions=lt}transform(le,ve,lt,zt){if(null==le||""===le||le!=le)return null;try{return yt(le,ve??this.defaultOptions?.dateFormat??"mediumDate",zt||this.locale,lt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(nn){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Ln,24),n.\u0275\u0275directiveInject(Mi,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:J,pure:!0,standalone:!0})}return J})();const Ui=/#/g;let sr=(()=>{class J{constructor(le){this._localization=le}transform(le,ve,lt){if(null==le)return"";if("object"!=typeof ve||null===ve)throw Tn();return ve[At(le,Object.keys(ve),this._localization,lt)].replace(Ui,le.toString())}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(ot,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:J,pure:!0,standalone:!0})}return J})(),pr=(()=>{class J{transform(le,ve){if(null==le)return"";if("object"!=typeof ve||"string"!=typeof le)throw Tn();return ve.hasOwnProperty(le)?ve[le]:ve.hasOwnProperty("other")?ve.other:""}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:J,pure:!0,standalone:!0})}return J})(),Gr=(()=>{class J{transform(le){return JSON.stringify(le,null,2)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:J,pure:!1,standalone:!0})}return J})(),Lr=(()=>{class J{constructor(le){this.differs=le,this.keyValues=[],this.compareFn=tr}transform(le,ve=tr){if(!le||!(le instanceof Map)&&"object"!=typeof le)return null;this.differ||(this.differ=this.differs.find(le).create());const lt=this.differ.diff(le),zt=ve!==this.compareFn;return lt&&(this.keyValues=[],lt.forEachItem(nn=>{this.keyValues.push(function Sr(J,Fe){return{key:J,value:Fe}}(nn.key,nn.currentValue))})),(lt||zt)&&(this.keyValues.sort(ve),this.compareFn=ve),this.keyValues}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:J,pure:!1,standalone:!0})}return J})();function tr(J,Fe){const le=J.key,ve=Fe.key;if(le===ve)return 0;if(void 0===le)return 1;if(void 0===ve)return-1;if(null===le)return 1;if(null===ve)return-1;if("string"==typeof le&&"string"==typeof ve)return le{class J{constructor(le){this._locale=le}transform(le,ve,lt){if(!oi(le))return null;lt=lt||this._locale;try{return _i(wr(le),lt,ve)}catch(zt){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:J,pure:!0,standalone:!0})}return J})(),Zi=(()=>{class J{constructor(le){this._locale=le}transform(le,ve,lt){if(!oi(le))return null;lt=lt||this._locale;try{return ui(wr(le),lt,ve)}catch(zt){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:J,pure:!0,standalone:!0})}return J})(),or=(()=>{class J{constructor(le,ve="USD"){this._locale=le,this._defaultCurrencyCode=ve}transform(le,ve=this._defaultCurrencyCode,lt="symbol",zt,nn){if(!oi(le))return null;nn=nn||this._locale,"boolean"==typeof lt&&(lt=lt?"symbol":"code");let xn=ve||this._defaultCurrencyCode;"code"!==lt&&(xn="symbol"===lt||"symbol-narrow"===lt?Ae(xn,"symbol"===lt?"wide":"narrow",nn):lt);try{return Nn(wr(le),nn,xn,ve,zt)}catch(Li){throw Tn()}}static#e=this.\u0275fac=function(ve){return new(ve||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:J,pure:!0,standalone:!0})}return J})();function oi(J){return!(null==J||""===J||J!=J)}function wr(J){if("string"==typeof J&&!isNaN(Number(J)-parseFloat(J)))return Number(J);if("number"!=typeof J)throw new Error(`${J} is not a number`);return J}let Fr=(()=>{class J{transform(le,ve,lt){if(null==le)return null;if(!this.supports(le))throw Tn();return le.slice(ve,lt)}supports(le){return"string"==typeof le||Array.isArray(le)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:J,pure:!1,standalone:!0})}return J})(),Jr=(()=>{class J{static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:J});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return J})();const Tr="browser",qr="server",Ur="browserWorkerApp",Dt="browserWorkerUi";function gt(J){return J===Tr}function Tt(J){return J===qr}function It(J){return J===Ur}function $t(J){return J===Dt}const Gt=new n.Version("17.0.8");let on=(()=>{class J{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:J,providedIn:"root",factory:()=>new vn((0,n.\u0275\u0275inject)(v),window)})}return J})();class vn{constructor(Fe,le){this.document=Fe,this.window=le,this.offset=()=>[0,0]}setOffset(Fe){this.offset=Array.isArray(Fe)?()=>Fe:Fe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Fe){this.supportsScrolling()&&this.window.scrollTo(Fe[0],Fe[1])}scrollToAnchor(Fe){if(!this.supportsScrolling())return;const le=function bn(J,Fe){const le=J.getElementById(Fe)||J.getElementsByName(Fe)[0];if(le)return le;if("function"==typeof J.createTreeWalker&&J.body&&"function"==typeof J.body.attachShadow){const ve=J.createTreeWalker(J.body,NodeFilter.SHOW_ELEMENT);let lt=ve.currentNode;for(;lt;){const zt=lt.shadowRoot;if(zt){const nn=zt.getElementById(Fe)||zt.querySelector(`[name="${Fe}"]`);if(nn)return nn}lt=ve.nextNode()}}return null}(this.document,Fe);le&&(this.scrollToElement(le),le.focus())}setHistoryScrollRestoration(Fe){this.supportsScrolling()&&(this.window.history.scrollRestoration=Fe)}scrollToElement(Fe){const le=Fe.getBoundingClientRect(),ve=le.left+this.window.pageXOffset,lt=le.top+this.window.pageYOffset,zt=this.offset();this.window.scrollTo(ve-zt[0],lt-zt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class An{setOffset(Fe){}getScrollPosition(){return[0,0]}scrollToPosition(Fe){}scrollToAnchor(Fe){}setHistoryScrollRestoration(Fe){}}class Gn{}function li(J){return J.startsWith("/")?J.slice(1):J}const ji=J=>J.src,lr=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>ji});function gr(J,Fe){return function(ve){return function ri(J){if("string"!=typeof J||""===J.trim())return!1;try{return new URL(J),!0}catch{return!1}}(ve)||function ls(J,Fe){throw new n.\u0275RuntimeError(2959,!1)}(),ve=function Kn(J){return J.endsWith("/")?J.slice(0,-1):J}(ve),[{provide:lr,useValue:nn=>(function Ti(J){return/^https?:\/\//.test(J)}(nn.src)&&function Ys(J,Fe){throw new n.\u0275RuntimeError(2959,!1)}(),J(ve,{...nn,src:li(nn.src)}))}]}}const ti=gr(wi);function wi(J,Fe){let le="format=auto";return Fe.width&&(le+=`,width=${Fe.width}`),`${J}/cdn-cgi/image/${le}/${Fe.src}`}const Es=gr($r);function $r(J,Fe){let le="f_auto,q_auto";return Fe.width&&(le+=`,w_${Fe.width}`),`${J}/image/upload/${le}/${Fe.src}`}const Bi=gr(yn);function yn(J,Fe){const{src:le,width:ve}=Fe;let lt;return lt=ve?[J,`tr:w-${ve}`,le]:[J,le],lt.join("/")}const je=gr(xt);function xt(J,Fe){const le=new URL(`${J}/${Fe.src}`);return le.searchParams.set("auto","format"),Fe.width&&le.searchParams.set("w",Fe.width.toString()),le.href}const _s=new n.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),Pr=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let Kr=(()=>{class J{constructor(){this.preloadedImages=(0,n.inject)(Pr),this.document=(0,n.inject)(v)}createPreloadLinkTag(le,ve,lt,zt){if(this.preloadedImages.has(ve))return;this.preloadedImages.add(ve);const nn=le.createElement("link");le.setAttribute(nn,"as","image"),le.setAttribute(nn,"href",ve),le.setAttribute(nn,"rel","preload"),le.setAttribute(nn,"fetchpriority","high"),zt&&le.setAttribute(nn,"imageSizes",zt),lt&&le.setAttribute(nn,"imageSrcset",lt),le.appendChild(this.document.head,nn)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const cs=/^((\s*\d+w\s*(,|$)){1,})$/,Hn=[1,2];let jr=(()=>{class J{constructor(){this.imageLoader=(0,n.inject)(lr),this.config=function Xi(J){let Fe={};return J.breakpoints&&(Fe.breakpoints=J.breakpoints.sort((le,ve)=>le-ve)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,J,Fe)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=Tt((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(Kr),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const le=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),le,this.sizes)}ngOnChanges(le){if(le.ngSrc&&!le.ngSrc.isFirstChange()){const ve=this._renderedSrc;this.updateSrcAndSrcset(!0);const lt=this._renderedSrc;null!==this.lcpObserver&&ve&<&&ve!==lt&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(ve,lt)})}}callImageLoader(le){let ve=le;return this.loaderParams&&(ve.loaderParams=this.loaderParams),this.imageLoader(ve)}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 le=cs.test(this.ngSrcset);return this.ngSrcset.split(",").filter(lt=>""!==lt).map(lt=>{lt=lt.trim();const zt=le?parseFloat(lt):parseFloat(lt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:zt})} ${lt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:le}=this.config;let ve=le;return"100vw"===this.sizes?.trim()&&(ve=le.filter(zt=>zt>=640)),ve.map(zt=>`${this.callImageLoader({src:this.ngSrc,width:zt})} ${zt}w`).join(", ")}updateSrcAndSrcset(le=!1){le&&(this._renderedSrc=null);const ve=this.getRewrittenSrc();let lt;return this.setHostAttribute("src",ve),this.ngSrcset?lt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(lt=this.getAutomaticSrcset()),lt&&this.setHostAttribute("srcset",lt),lt}getFixedSrcset(){return Hn.map(ve=>`${this.callImageLoader({src:this.ngSrc,width:this.width*ve})} ${ve}x`).join(", ")}shouldGenerateAutomaticSrcset(){let le=!1;return this.sizes||(le=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ji&&!le}ngOnDestroy(){}setHostAttribute(le,ve){this.renderer.setAttribute(this.imgElement,le,ve)}static#e=this.\u0275fac=function(ve){return new(ve||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(ve,lt){2&ve&&n.\u0275\u0275styleProp("position",lt.fill?"absolute":null)("width",lt.fill?"100%":null)("height",lt.fill?"100%":null)("inset",lt.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",us],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.numberAttribute],height:["height","height",n.numberAttribute],loading:"loading",priority:["priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:["fill","fill",n.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return J})();function us(J){return"string"==typeof J?J:(0,n.\u0275unwrapSafeValue)(J)}},9862:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{FetchBackend:()=>Ge,HTTP_INTERCEPTORS:()=>Ee,HttpBackend:()=>d,HttpClient:()=>H,HttpClientJsonpModule:()=>rt,HttpClientModule:()=>He,HttpClientXsrfModule:()=>mt,HttpContext:()=>P,HttpContextToken:()=>I,HttpErrorResponse:()=>$,HttpEventType:()=>ne,HttpFeatureKind:()=>Ct,HttpHandler:()=>c,HttpHeaderResponse:()=>j,HttpHeaders:()=>g,HttpParams:()=>k,HttpRequest:()=>W,HttpResponse:()=>B,HttpResponseBase:()=>ee,HttpUrlEncodingCodec:()=>C,HttpXhrBackend:()=>un,HttpXsrfTokenExtractor:()=>St,JsonpClientBackend:()=>jt,JsonpInterceptor:()=>fn,provideHttpClient:()=>Nt,withFetch:()=>nt,withInterceptors:()=>bt,withInterceptorsFromDi:()=>ce,withJsonpSupport:()=>Se,withNoXsrfProtection:()=>oe,withRequestsMadeViaParent:()=>at,withXsrfConfiguration:()=>z,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>Ce,\u0275HttpInterceptingHandler:()=>ke,\u0275HttpInterceptorHandler:()=>ke,\u0275PRIMARY_HTTP_BACKEND:()=>ge,\u0275withHttpTransferCache:()=>At});var n=_(5861),f=_(9212),D=_(2096),y=_(5592),u=_(2459),v=_(6328),s=_(2181),m=_(7398),h=_(4716),o=_(4664),l=_(9397),r=_(6814);class c{}class d{}class g{constructor(dt){this.normalizedNames=new Map,this.lazyUpdate=null,dt?"string"==typeof dt?this.lazyInit=()=>{this.headers=new Map,dt.split("\n").forEach(ct=>{const Ut=ct.indexOf(":");if(Ut>0){const wt=ct.slice(0,Ut),vt=wt.toLowerCase(),Ht=ct.slice(Ut+1).trim();this.maybeSetNormalizedName(wt,vt),this.headers.has(vt)?this.headers.get(vt).push(Ht):this.headers.set(vt,[Ht])}})}:typeof Headers<"u"&&dt instanceof Headers?(this.headers=new Map,dt.forEach((ct,Ut)=>{this.setHeaderEntries(Ut,ct)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(dt).forEach(([ct,Ut])=>{this.setHeaderEntries(ct,Ut)})}:this.headers=new Map}has(dt){return this.init(),this.headers.has(dt.toLowerCase())}get(dt){this.init();const ct=this.headers.get(dt.toLowerCase());return ct&&ct.length>0?ct[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(dt){return this.init(),this.headers.get(dt.toLowerCase())||null}append(dt,ct){return this.clone({name:dt,value:ct,op:"a"})}set(dt,ct){return this.clone({name:dt,value:ct,op:"s"})}delete(dt,ct){return this.clone({name:dt,value:ct,op:"d"})}maybeSetNormalizedName(dt,ct){this.normalizedNames.has(ct)||this.normalizedNames.set(ct,dt)}init(){this.lazyInit&&(this.lazyInit instanceof g?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(dt=>this.applyUpdate(dt)),this.lazyUpdate=null))}copyFrom(dt){dt.init(),Array.from(dt.headers.keys()).forEach(ct=>{this.headers.set(ct,dt.headers.get(ct)),this.normalizedNames.set(ct,dt.normalizedNames.get(ct))})}clone(dt){const ct=new g;return ct.lazyInit=this.lazyInit&&this.lazyInit instanceof g?this.lazyInit:this,ct.lazyUpdate=(this.lazyUpdate||[]).concat([dt]),ct}applyUpdate(dt){const ct=dt.name.toLowerCase();switch(dt.op){case"a":case"s":let Ut=dt.value;if("string"==typeof Ut&&(Ut=[Ut]),0===Ut.length)return;this.maybeSetNormalizedName(dt.name,ct);const wt=("a"===dt.op?this.headers.get(ct):void 0)||[];wt.push(...Ut),this.headers.set(ct,wt);break;case"d":const vt=dt.value;if(vt){let Ht=this.headers.get(ct);if(!Ht)return;Ht=Ht.filter(dn=>-1===vt.indexOf(dn)),0===Ht.length?(this.headers.delete(ct),this.normalizedNames.delete(ct)):this.headers.set(ct,Ht)}else this.headers.delete(ct),this.normalizedNames.delete(ct)}}setHeaderEntries(dt,ct){const Ut=(Array.isArray(ct)?ct:[ct]).map(vt=>vt.toString()),wt=dt.toLowerCase();this.headers.set(wt,Ut),this.maybeSetNormalizedName(dt,wt)}forEach(dt){this.init(),Array.from(this.normalizedNames.keys()).forEach(ct=>dt(this.normalizedNames.get(ct),this.headers.get(ct)))}}class C{encodeKey(dt){return S(dt)}encodeValue(dt){return S(dt)}decodeKey(dt){return decodeURIComponent(dt)}decodeValue(dt){return decodeURIComponent(dt)}}const w=/%(\d[a-f0-9])/gi,T={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function S(it){return encodeURIComponent(it).replace(w,(dt,ct)=>T[ct]??dt)}function M(it){return`${it}`}class k{constructor(dt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=dt.encoder||new C,dt.fromString){if(dt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function x(it,dt){const ct=new Map;return it.length>0&&it.replace(/^\?/,"").split("&").forEach(wt=>{const vt=wt.indexOf("="),[Ht,dn]=-1==vt?[dt.decodeKey(wt),""]:[dt.decodeKey(wt.slice(0,vt)),dt.decodeValue(wt.slice(vt+1))],ze=ct.get(Ht)||[];ze.push(dn),ct.set(Ht,ze)}),ct}(dt.fromString,this.encoder)}else dt.fromObject?(this.map=new Map,Object.keys(dt.fromObject).forEach(ct=>{const Ut=dt.fromObject[ct],wt=Array.isArray(Ut)?Ut.map(M):[M(Ut)];this.map.set(ct,wt)})):this.map=null}has(dt){return this.init(),this.map.has(dt)}get(dt){this.init();const ct=this.map.get(dt);return ct?ct[0]:null}getAll(dt){return this.init(),this.map.get(dt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(dt,ct){return this.clone({param:dt,value:ct,op:"a"})}appendAll(dt){const ct=[];return Object.keys(dt).forEach(Ut=>{const wt=dt[Ut];Array.isArray(wt)?wt.forEach(vt=>{ct.push({param:Ut,value:vt,op:"a"})}):ct.push({param:Ut,value:wt,op:"a"})}),this.clone(ct)}set(dt,ct){return this.clone({param:dt,value:ct,op:"s"})}delete(dt,ct){return this.clone({param:dt,value:ct,op:"d"})}toString(){return this.init(),this.keys().map(dt=>{const ct=this.encoder.encodeKey(dt);return this.map.get(dt).map(Ut=>ct+"="+this.encoder.encodeValue(Ut)).join("&")}).filter(dt=>""!==dt).join("&")}clone(dt){const ct=new k({encoder:this.encoder});return ct.cloneFrom=this.cloneFrom||this,ct.updates=(this.updates||[]).concat(dt),ct}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(dt=>this.map.set(dt,this.cloneFrom.map.get(dt))),this.updates.forEach(dt=>{switch(dt.op){case"a":case"s":const ct=("a"===dt.op?this.map.get(dt.param):void 0)||[];ct.push(M(dt.value)),this.map.set(dt.param,ct);break;case"d":if(void 0===dt.value){this.map.delete(dt.param);break}{let Ut=this.map.get(dt.param)||[];const wt=Ut.indexOf(M(dt.value));-1!==wt&&Ut.splice(wt,1),Ut.length>0?this.map.set(dt.param,Ut):this.map.delete(dt.param)}}}),this.cloneFrom=this.updates=null)}}class I{constructor(dt){this.defaultValue=dt}}class P{constructor(){this.map=new Map}set(dt,ct){return this.map.set(dt,ct),this}get(dt){return this.map.has(dt)||this.map.set(dt,dt.defaultValue()),this.map.get(dt)}delete(dt){return this.map.delete(dt),this}has(dt){return this.map.has(dt)}keys(){return this.map.keys()}}function L(it){return typeof ArrayBuffer<"u"&&it instanceof ArrayBuffer}function F(it){return typeof Blob<"u"&&it instanceof Blob}function R(it){return typeof FormData<"u"&&it instanceof FormData}class W{constructor(dt,ct,Ut,wt){let vt;if(this.url=ct,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=dt.toUpperCase(),function A(it){switch(it){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||wt?(this.body=void 0!==Ut?Ut:null,vt=wt):vt=Ut,vt&&(this.reportProgress=!!vt.reportProgress,this.withCredentials=!!vt.withCredentials,vt.responseType&&(this.responseType=vt.responseType),vt.headers&&(this.headers=vt.headers),vt.context&&(this.context=vt.context),vt.params&&(this.params=vt.params),this.transferCache=vt.transferCache),this.headers||(this.headers=new g),this.context||(this.context=new P),this.params){const Ht=this.params.toString();if(0===Ht.length)this.urlWithParams=ct;else{const dn=ct.indexOf("?");this.urlWithParams=ct+(-1===dn?"?":dnpe.set(de,dt.setHeaders[de]),ze)),dt.setParams&&(en=Object.keys(dt.setParams).reduce((pe,de)=>pe.set(de,dt.setParams[de]),en)),new W(ct,Ut,vt,{params:en,headers:ze,context:Y,reportProgress:dn,responseType:wt,withCredentials:Ht})}}var ne=function(it){return it[it.Sent=0]="Sent",it[it.UploadProgress=1]="UploadProgress",it[it.ResponseHeader=2]="ResponseHeader",it[it.DownloadProgress=3]="DownloadProgress",it[it.Response=4]="Response",it[it.User=5]="User",it}(ne||{});class ee{constructor(dt,ct=200,Ut="OK"){this.headers=dt.headers||new g,this.status=void 0!==dt.status?dt.status:ct,this.statusText=dt.statusText||Ut,this.url=dt.url||null,this.ok=this.status>=200&&this.status<300}}class j extends ee{constructor(dt={}){super(dt),this.type=ne.ResponseHeader}clone(dt={}){return new j({headers:dt.headers||this.headers,status:void 0!==dt.status?dt.status:this.status,statusText:dt.statusText||this.statusText,url:dt.url||this.url||void 0})}}class B extends ee{constructor(dt={}){super(dt),this.type=ne.Response,this.body=void 0!==dt.body?dt.body:null}clone(dt={}){return new B({body:void 0!==dt.body?dt.body:this.body,headers:dt.headers||this.headers,status:void 0!==dt.status?dt.status:this.status,statusText:dt.statusText||this.statusText,url:dt.url||this.url||void 0})}}class $ extends ee{constructor(dt){super(dt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${dt.url||"(unknown url)"}`:`Http failure response for ${dt.url||"(unknown url)"}: ${dt.status} ${dt.statusText}`,this.error=dt.error||null}}function Z(it,dt){return{body:dt,headers:it.headers,context:it.context,observe:it.observe,params:it.params,reportProgress:it.reportProgress,responseType:it.responseType,withCredentials:it.withCredentials,transferCache:it.transferCache}}let H=(()=>{class it{constructor(ct){this.handler=ct}request(ct,Ut,wt={}){let vt;if(ct instanceof W)vt=ct;else{let ze,en;ze=wt.headers instanceof g?wt.headers:new g(wt.headers),wt.params&&(en=wt.params instanceof k?wt.params:new k({fromObject:wt.params})),vt=new W(ct,Ut,void 0!==wt.body?wt.body:null,{headers:ze,context:wt.context,params:en,reportProgress:wt.reportProgress,responseType:wt.responseType||"json",withCredentials:wt.withCredentials,transferCache:wt.transferCache})}const Ht=(0,D.of)(vt).pipe((0,v.b)(ze=>this.handler.handle(ze)));if(ct instanceof W||"events"===wt.observe)return Ht;const dn=Ht.pipe((0,s.h)(ze=>ze instanceof B));switch(wt.observe||"body"){case"body":switch(vt.responseType){case"arraybuffer":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&!(ze.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ze.body}));case"blob":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&!(ze.body instanceof Blob))throw new Error("Response is not a Blob.");return ze.body}));case"text":return dn.pipe((0,m.U)(ze=>{if(null!==ze.body&&"string"!=typeof ze.body)throw new Error("Response is not a string.");return ze.body}));default:return dn.pipe((0,m.U)(ze=>ze.body))}case"response":return dn;default:throw new Error(`Unreachable: unhandled observe type ${wt.observe}}`)}}delete(ct,Ut={}){return this.request("DELETE",ct,Ut)}get(ct,Ut={}){return this.request("GET",ct,Ut)}head(ct,Ut={}){return this.request("HEAD",ct,Ut)}jsonp(ct,Ut){return this.request("JSONP",ct,{params:(new k).append(Ut,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ct,Ut={}){return this.request("OPTIONS",ct,Ut)}patch(ct,Ut,wt={}){return this.request("PATCH",ct,Z(wt,Ut))}post(ct,Ut,wt={}){return this.request("POST",ct,Z(wt,Ut))}put(ct,Ut,wt={}){return this.request("PUT",ct,Z(wt,Ut))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(c))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const te=/^\)\]\}',?\n/;function ye(it){if(it.url)return it.url;const dt="X-Request-URL".toLocaleLowerCase();return it.headers.get(dt)}let Ge=(()=>{class it{constructor(){this.fetchImpl=(0,f.inject)($e,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,f.inject)(f.NgZone)}handle(ct){return new y.y(Ut=>{const wt=new AbortController;return this.doRequest(ct,wt.signal,Ut).then(Ye,vt=>Ut.error(new $({error:vt}))),()=>wt.abort()})}doRequest(ct,Ut,wt){var vt=this;return(0,n.Z)(function*(){const Ht=vt.createRequestInit(ct);let dn;try{const _t=vt.fetchImpl(ct.urlWithParams,{signal:Ut,...Ht});(function Ze(it){it.then(Ye,Ye)})(_t),wt.next({type:ne.Sent}),dn=yield _t}catch(_t){return void wt.error(new $({error:_t,status:_t.status??0,statusText:_t.statusText,url:ct.urlWithParams,headers:_t.headers}))}const ze=new g(dn.headers),en=dn.statusText,Y=ye(dn)??ct.urlWithParams;let pe=dn.status,de=null;if(ct.reportProgress&&wt.next(new j({headers:ze,status:pe,statusText:en,url:Y})),dn.body){const _t=dn.headers.get("content-length"),hn=[],On=dn.body.getReader();let Ci,Zn,Bn=0;const Ei=typeof Zone<"u"&&Zone.current;yield vt.ngZone.runOutsideAngular((0,n.Z)(function*(){for(;;){const{done:ki,value:zi}=yield On.read();if(ki)break;if(hn.push(zi),Bn+=zi.length,ct.reportProgress){Zn="text"===ct.responseType?(Zn??"")+(Ci??=new TextDecoder).decode(zi,{stream:!0}):void 0;const Gi=()=>wt.next({type:ne.DownloadProgress,total:_t?+_t:void 0,loaded:Bn,partialText:Zn});Ei?Ei.run(Gi):Gi()}}}));const qi=vt.concatChunks(hn,Bn);try{const ki=dn.headers.get("Content-Type")??"";de=vt.parseBody(ct,qi,ki)}catch(ki){return void wt.error(new $({error:ki,headers:new g(dn.headers),status:dn.status,statusText:dn.statusText,url:ye(dn)??ct.urlWithParams}))}}0===pe&&(pe=de?200:0),pe>=200&&pe<300?(wt.next(new B({body:de,headers:ze,status:pe,statusText:en,url:Y})),wt.complete()):wt.error(new $({error:de,headers:ze,status:pe,statusText:en,url:Y}))})()}parseBody(ct,Ut,wt){switch(ct.responseType){case"json":const vt=(new TextDecoder).decode(Ut).replace(te,"");return""===vt?null:JSON.parse(vt);case"text":return(new TextDecoder).decode(Ut);case"blob":return new Blob([Ut],{type:wt});case"arraybuffer":return Ut.buffer}}createRequestInit(ct){const Ut={},wt=ct.withCredentials?"include":void 0;if(ct.headers.forEach((vt,Ht)=>Ut[vt]=Ht.join(",")),Ut.Accept??="application/json, text/plain, */*",!Ut["Content-Type"]){const vt=ct.detectContentTypeHeader();null!==vt&&(Ut["Content-Type"]=vt)}return{body:ct.serializeBody(),method:ct.method,headers:Ut,credentials:wt}}concatChunks(ct,Ut){const wt=new Uint8Array(Ut);let vt=0;for(const Ht of ct)wt.set(Ht,vt),vt+=Ht.length;return wt}static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();class $e{}function Ye(){}function Et(it,dt){return dt(it)}function Te(it,dt){return(ct,Ut)=>dt.intercept(ct,{handle:wt=>it(wt,Ut)})}const Ee=new f.InjectionToken(""),Ie=new f.InjectionToken(""),Ce=new f.InjectionToken(""),ge=new f.InjectionToken("");function Ae(){let it=null;return(dt,ct)=>{null===it&&(it=((0,f.inject)(Ee,{optional:!0})??[]).reduceRight(Te,Et));const Ut=(0,f.inject)(f.\u0275PendingTasks),wt=Ut.add();return it(dt,ct).pipe((0,h.x)(()=>Ut.remove(wt)))}}let me,ke=(()=>{class it extends c{constructor(ct,Ut){super(),this.backend=ct,this.injector=Ut,this.chain=null,this.pendingTasks=(0,f.inject)(f.\u0275PendingTasks);const wt=(0,f.inject)(ge,{optional:!0});this.backend=wt??ct}handle(ct){if(null===this.chain){const wt=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(Ce,[])]));this.chain=wt.reduceRight((vt,Ht)=>function qe(it,dt,ct){return(Ut,wt)=>(0,f.runInInjectionContext)(ct,()=>dt(Ut,vt=>it(vt,wt)))}(vt,Ht,this.injector),Et)}const Ut=this.pendingTasks.add();return this.chain(ct,wt=>this.backend.handle(wt)).pipe((0,h.x)(()=>this.pendingTasks.remove(Ut)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(d),f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})(),Ke=0;class Ot{}function Yt(){return"object"==typeof window?window:{}}let jt=(()=>{class it{constructor(ct,Ut){this.callbackMap=ct,this.document=Ut,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ke++}handle(ct){if("JSONP"!==ct.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ct.responseType)throw new Error("JSONP requests must use Json response type.");if(ct.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new y.y(Ut=>{const wt=this.nextCallback(),vt=ct.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${wt}$1`),Ht=this.document.createElement("script");Ht.src=vt;let dn=null,ze=!1;this.callbackMap[wt]=de=>{delete this.callbackMap[wt],dn=de,ze=!0};const en=()=>{Ht.parentNode&&Ht.parentNode.removeChild(Ht),delete this.callbackMap[wt]};return Ht.addEventListener("load",de=>{this.resolvedPromise.then(()=>{en(),ze?(Ut.next(new B({body:dn,status:200,statusText:"OK",url:vt})),Ut.complete()):Ut.error(new $({url:vt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Ht.addEventListener("error",de=>{en(),Ut.error(new $({error:de,status:0,statusText:"JSONP Error",url:vt}))}),this.document.body.appendChild(Ht),Ut.next({type:ne.Sent}),()=>{ze||this.removeListeners(Ht),en()}})}removeListeners(ct){me||(me=this.document.implementation.createHTMLDocument()),me.adoptNode(ct)}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(Ot),f.\u0275\u0275inject(r.DOCUMENT))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();function cn(it,dt){return"JSONP"===it.method?(0,f.inject)(jt).handle(it):dt(it)}let fn=(()=>{class it{constructor(ct){this.injector=ct}intercept(ct,Ut){return(0,f.runInInjectionContext)(this.injector,()=>cn(ct,wt=>Ut.handle(wt)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const an=/^\)\]\}',?\n/;let un=(()=>{class it{constructor(ct){this.xhrFactory=ct}handle(ct){if("JSONP"===ct.method)throw new f.\u0275RuntimeError(-2800,!1);const Ut=this.xhrFactory;return(Ut.\u0275loadImpl?(0,u.D)(Ut.\u0275loadImpl()):(0,D.of)(null)).pipe((0,o.w)(()=>new y.y(vt=>{const Ht=Ut.build();if(Ht.open(ct.method,ct.urlWithParams),ct.withCredentials&&(Ht.withCredentials=!0),ct.headers.forEach((hn,On)=>Ht.setRequestHeader(hn,On.join(","))),ct.headers.has("Accept")||Ht.setRequestHeader("Accept","application/json, text/plain, */*"),!ct.headers.has("Content-Type")){const hn=ct.detectContentTypeHeader();null!==hn&&Ht.setRequestHeader("Content-Type",hn)}if(ct.responseType){const hn=ct.responseType.toLowerCase();Ht.responseType="json"!==hn?hn:"text"}const dn=ct.serializeBody();let ze=null;const en=()=>{if(null!==ze)return ze;const hn=Ht.statusText||"OK",On=new g(Ht.getAllResponseHeaders()),Bn=function En(it){return"responseURL"in it&&it.responseURL?it.responseURL:/^X-Request-URL:/m.test(it.getAllResponseHeaders())?it.getResponseHeader("X-Request-URL"):null}(Ht)||ct.url;return ze=new j({headers:On,status:Ht.status,statusText:hn,url:Bn}),ze},Y=()=>{let{headers:hn,status:On,statusText:Bn,url:Ci}=en(),Zn=null;204!==On&&(Zn=typeof Ht.response>"u"?Ht.responseText:Ht.response),0===On&&(On=Zn?200:0);let Ei=On>=200&&On<300;if("json"===ct.responseType&&"string"==typeof Zn){const qi=Zn;Zn=Zn.replace(an,"");try{Zn=""!==Zn?JSON.parse(Zn):null}catch(ki){Zn=qi,Ei&&(Ei=!1,Zn={error:ki,text:Zn})}}Ei?(vt.next(new B({body:Zn,headers:hn,status:On,statusText:Bn,url:Ci||void 0})),vt.complete()):vt.error(new $({error:Zn,headers:hn,status:On,statusText:Bn,url:Ci||void 0}))},pe=hn=>{const{url:On}=en(),Bn=new $({error:hn,status:Ht.status||0,statusText:Ht.statusText||"Unknown Error",url:On||void 0});vt.error(Bn)};let de=!1;const Qe=hn=>{de||(vt.next(en()),de=!0);let On={type:ne.DownloadProgress,loaded:hn.loaded};hn.lengthComputable&&(On.total=hn.total),"text"===ct.responseType&&Ht.responseText&&(On.partialText=Ht.responseText),vt.next(On)},_t=hn=>{let On={type:ne.UploadProgress,loaded:hn.loaded};hn.lengthComputable&&(On.total=hn.total),vt.next(On)};return Ht.addEventListener("load",Y),Ht.addEventListener("error",pe),Ht.addEventListener("timeout",pe),Ht.addEventListener("abort",pe),ct.reportProgress&&(Ht.addEventListener("progress",Qe),null!==dn&&Ht.upload&&Ht.upload.addEventListener("progress",_t)),Ht.send(dn),vt.next({type:ne.Sent}),()=>{Ht.removeEventListener("error",pe),Ht.removeEventListener("abort",pe),Ht.removeEventListener("load",Y),Ht.removeEventListener("timeout",pe),ct.reportProgress&&(Ht.removeEventListener("progress",Qe),null!==dn&&Ht.upload&&Ht.upload.removeEventListener("progress",_t)),Ht.readyState!==Ht.DONE&&Ht.abort()}})))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(r.XhrFactory))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();const Bt=new f.InjectionToken("XSRF_ENABLED"),Ft="XSRF-TOKEN",De=new f.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ft}),Ve="X-XSRF-TOKEN",Xe=new f.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ve});class St{}let tt=(()=>{class it{constructor(ct,Ut,wt){this.doc=ct,this.platform=Ut,this.cookieName=wt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ct=this.doc.cookie||"";return ct!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.\u0275parseCookieValue)(ct,this.cookieName),this.lastCookieString=ct),this.lastToken}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(r.DOCUMENT),f.\u0275\u0275inject(f.PLATFORM_ID),f.\u0275\u0275inject(De))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();function ut(it,dt){const ct=it.url.toLowerCase();if(!(0,f.inject)(Bt)||"GET"===it.method||"HEAD"===it.method||ct.startsWith("http://")||ct.startsWith("https://"))return dt(it);const Ut=(0,f.inject)(St).getToken(),wt=(0,f.inject)(Xe);return null!=Ut&&!it.headers.has(wt)&&(it=it.clone({headers:it.headers.set(wt,Ut)})),dt(it)}let Oe=(()=>{class it{constructor(ct){this.injector=ct}intercept(ct,Ut){return(0,f.runInInjectionContext)(this.injector,()=>ut(ct,wt=>Ut.handle(wt)))}static#e=this.\u0275fac=function(Ut){return new(Ut||it)(f.\u0275\u0275inject(f.EnvironmentInjector))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac})}return it})();var Ct=function(it){return it[it.Interceptors=0]="Interceptors",it[it.LegacyInterceptors=1]="LegacyInterceptors",it[it.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",it[it.NoXsrfProtection=3]="NoXsrfProtection",it[it.JsonpSupport=4]="JsonpSupport",it[it.RequestsMadeViaParent=5]="RequestsMadeViaParent",it[it.Fetch=6]="Fetch",it}(Ct||{});function Pt(it,dt){return{\u0275kind:it,\u0275providers:dt}}function Nt(...it){const dt=[H,un,ke,{provide:c,useExisting:ke},{provide:d,useExisting:un},{provide:Ie,useValue:ut,multi:!0},{provide:Bt,useValue:!0},{provide:St,useClass:tt}];for(const ct of it)dt.push(...ct.\u0275providers);return(0,f.makeEnvironmentProviders)(dt)}function bt(it){return Pt(Ct.Interceptors,it.map(dt=>({provide:Ie,useValue:dt,multi:!0})))}const _e=new f.InjectionToken("LEGACY_INTERCEPTOR_FN");function ce(){return Pt(Ct.LegacyInterceptors,[{provide:_e,useFactory:Ae},{provide:Ie,useExisting:_e,multi:!0}])}function z({cookieName:it,headerName:dt}){const ct=[];return void 0!==it&&ct.push({provide:De,useValue:it}),void 0!==dt&&ct.push({provide:Xe,useValue:dt}),Pt(Ct.CustomXsrfConfiguration,ct)}function oe(){return Pt(Ct.NoXsrfProtection,[{provide:Bt,useValue:!1}])}function Se(){return Pt(Ct.JsonpSupport,[jt,{provide:Ot,useFactory:Yt},{provide:Ie,useValue:cn,multi:!0}])}function at(){return Pt(Ct.RequestsMadeViaParent,[{provide:d,useFactory:()=>(0,f.inject)(c,{skipSelf:!0,optional:!0})}])}function nt(){return Pt(Ct.Fetch,[Ge,{provide:d,useExisting:Ge},{provide:ge,useExisting:Ge}])}let mt=(()=>{class it{static disable(){return{ngModule:it,providers:[oe().\u0275providers]}}static withOptions(ct={}){return{ngModule:it,providers:z(ct).\u0275providers}}static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Oe,{provide:Ee,useExisting:Oe,multi:!0},{provide:St,useClass:tt},z({cookieName:Ft,headerName:Ve}).\u0275providers,{provide:Bt,useValue:!0}]})}return it})(),He=(()=>{class it{static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Nt(ce())]})}return it})(),rt=(()=>{class it{static#e=this.\u0275fac=function(Ut){return new(Ut||it)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({providers:[Se().\u0275providers]})}return it})();const Lt="b",Xt="h",tn="s",Nn="st",ui="u",_i="rt",Hi=new f.InjectionToken(""),Yn=["GET","HEAD"];function st(it,dt){const{isCacheActive:ct,...Ut}=(0,f.inject)(Hi),{transferCache:wt,method:vt}=it;if(!ct||"POST"===vt&&!Ut.includePostRequests&&!wt||"POST"!==vt&&!Yn.includes(vt)||!1===wt||!1===Ut.filter?.(it))return dt(it);const Ht=(0,f.inject)(f.TransferState),dn=function Ue(it){const{params:dt,method:ct,responseType:Ut,url:wt}=it,vt=dt.keys().sort().map(ze=>`${ze}=${dt.getAll(ze)}`).join("&"),dn=function ot(it){let dt=0;for(const ct of it)dt=Math.imul(31,dt)+ct.charCodeAt(0)<<0;return dt+=2147483648,dt.toString()}(ct+"."+Ut+"."+wt+"?"+vt);return(0,f.makeStateKey)(dn)}(it),ze=Ht.get(dn,null);let en=Ut.includeHeaders;if("object"==typeof wt&&wt.includeHeaders&&(en=wt.includeHeaders),ze){const{[Lt]:Y,[_i]:pe,[Xt]:de,[tn]:Qe,[Nn]:_t,[ui]:hn}=ze;let On=Y;switch(pe){case"arraybuffer":On=(new TextEncoder).encode(Y).buffer;break;case"blob":On=new Blob([Y])}let Bn=new g(de);return(0,D.of)(new B({body:On,headers:Bn,status:Qe,statusText:_t,url:hn}))}return dt(it).pipe((0,l.b)(Y=>{Y instanceof B&&Ht.set(dn,{[Lt]:Y.body,[Xt]:pn(Y.headers,en),[tn]:Y.status,[Nn]:Y.statusText,[ui]:Y.url||"",[_i]:it.responseType})}))}function pn(it,dt){if(!dt)return{};const ct={};for(const Ut of dt){const wt=it.getAll(Ut);null!==wt&&(ct[Ut]=wt)}return ct}function At(it){return[{provide:Hi,useFactory:()=>((0,f.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...it})},{provide:Ce,useValue:st,multi:!0,deps:[f.TransferState,Hi]},{provide:f.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const dt=(0,f.inject)(f.ApplicationRef),ct=(0,f.inject)(Hi);return()=>{(0,f.\u0275whenStable)(dt).then(()=>{ct.isCacheActive=!1})}}}]}},9212:(Me,ie,_)=>{"use strict";function n(e,t){return Object.is(e,t)}_.r(ie),_.d(ie,{ANIMATION_MODULE_TYPE:()=>gC,APP_BOOTSTRAP_LISTENER:()=>hm,APP_ID:()=>cp,APP_INITIALIZER:()=>Oy,AfterRenderPhase:()=>Io,ApplicationInitStatus:()=>Lu,ApplicationModule:()=>AS,ApplicationRef:()=>rl,Attribute:()=>Fm,COMPILER_OPTIONS:()=>Ey,CSP_NONCE:()=>_C,CUSTOM_ELEMENTS_SCHEMA:()=>vp,ChangeDetectionStrategy:()=>Cr,ChangeDetectorRef:()=>hh,Compiler:()=>NI,CompilerFactory:()=>FI,Component:()=>SI,ComponentFactory:()=>Yc,ComponentFactoryResolver:()=>kl,ComponentRef:()=>y0,ContentChild:()=>R1,ContentChildren:()=>k1,DEFAULT_CURRENCY_CODE:()=>mS,DebugElement:()=>oc,DebugEventListener:()=>ES,DebugNode:()=>gm,DefaultIterableDiffer:()=>M0,DestroyRef:()=>Fl,Directive:()=>yy,ENVIRONMENT_INITIALIZER:()=>jo,ElementRef:()=>Rl,EmbeddedViewRef:()=>xS,EnvironmentInjector:()=>Hs,ErrorHandler:()=>Mo,EventEmitter:()=>Ws,Host:()=>Gm,HostBinding:()=>RI,HostListener:()=>OI,INJECTOR:()=>rd,Inject:()=>zm,InjectFlags:()=>vt,Injectable:()=>uC,InjectionToken:()=>_t,Injector:()=>Cs,Input:()=>AI,IterableDiffers:()=>Xd,KeyValueDiffers:()=>Jd,LOCALE_ID:()=>Fu,MissingTranslationStrategy:()=>zy,ModuleWithComponentFactories:()=>xy,NO_ERRORS_SCHEMA:()=>bp,NgModule:()=>LI,NgModuleFactory:()=>ob,NgModuleRef:()=>Jo,NgProbeToken:()=>cS,NgZone:()=>br,Optional:()=>vc,Output:()=>kI,PACKAGE_ROOT_URL:()=>pC,PLATFORM_ID:()=>gd,PLATFORM_INITIALIZER:()=>up,Pipe:()=>TI,PlatformRef:()=>mm,Query:()=>pl,QueryList:()=>Au,Renderer2:()=>Nw,RendererFactory2:()=>w0,RendererStyleFlags2:()=>Oc,Sanitizer:()=>x0,SecurityContext:()=>Go,Self:()=>Wm,SimpleChange:()=>Un,SkipSelf:()=>bc,TRANSLATIONS:()=>pS,TRANSLATIONS_FORMAT:()=>gS,TemplateRef:()=>ic,Testability:()=>lS,TestabilityRegistry:()=>ky,TransferState:()=>Sl,Type:()=>Bm,VERSION:()=>PI,Version:()=>Cy,ViewChild:()=>L1,ViewChildren:()=>O1,ViewContainerRef:()=>cu,ViewEncapsulation:()=>Zi,ViewRef:()=>Xy,afterNextRender:()=>_g,afterRender:()=>gg,asNativeElements:()=>MS,assertInInjectionContext:()=>Mc,assertNotInReactiveContext:()=>jx,assertPlatform:()=>Yy,booleanAttribute:()=>sT,computed:()=>Bw,createComponent:()=>gT,createEnvironmentInjector:()=>cb,createNgModule:()=>ab,createNgModuleRef:()=>zD,createPlatform:()=>Wy,createPlatformFactory:()=>Gy,defineInjectable:()=>st,destroyPlatform:()=>_S,effect:()=>cg,enableProdMode:()=>yS,forwardRef:()=>Pe,getDebugNode:()=>sl,getModuleFactory:()=>CS,getNgModuleById:()=>wS,getPlatform:()=>Uu,importProvidersFrom:()=>Jm,inject:()=>Vn,isDevMode:()=>bS,isSignal:()=>Uw,isStandalone:()=>Br,makeEnvironmentProviders:()=>od,makeStateKey:()=>xw,mergeApplicationConfig:()=>vT,numberAttribute:()=>oT,platformCore:()=>TS,provideZoneChangeDetection:()=>jy,reflectComponentType:()=>_T,resolveForwardRef:()=>Ne,runInInjectionContext:()=>rC,setTestabilityGetter:()=>Ry,signal:()=>$w,untracked:()=>jw,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>pm,\u0275AfterRenderEventManager:()=>Ul,\u0275CONTAINER_HEADER_OFFSET:()=>fi,\u0275ChangeDetectionScheduler:()=>p0,\u0275ComponentFactory:()=>Yc,\u0275Console:()=>wy,\u0275DEFAULT_LOCALE_ID:()=>Xo,\u0275DEFER_BLOCK_CONFIG:()=>U_,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>OM,\u0275DeferBlockBehavior:()=>Zh,\u0275DeferBlockState:()=>hr,\u0275EffectScheduler:()=>ag,\u0275IMAGE_CONFIG:()=>hp,\u0275IMAGE_CONFIG_DEFAULTS:()=>dp,\u0275INJECTOR_SCOPE:()=>cd,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Ll,\u0275LContext:()=>Dp,\u0275LifecycleHooksFeature:()=>xg,\u0275LocaleDataIndex:()=>nl,\u0275NG_COMP_DEF:()=>fn,\u0275NG_DIR_DEF:()=>an,\u0275NG_ELEMENT_ID:()=>Ft,\u0275NG_INJ_DEF:()=>ct,\u0275NG_MOD_DEF:()=>un,\u0275NG_PIPE_DEF:()=>En,\u0275NG_PROV_DEF:()=>dt,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Zc,\u0275NO_CHANGE:()=>si,\u0275NgModuleFactory:()=>Iu,\u0275NoopNgZone:()=>mg,\u0275PendingTasks:()=>cm,\u0275ReflectionCapabilities:()=>Hm,\u0275Render3ComponentFactory:()=>Pa,\u0275Render3ComponentRef:()=>wg,\u0275Render3NgModuleRef:()=>Du,\u0275RuntimeError:()=>jt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>g0,\u0275TESTABILITY:()=>Ty,\u0275TESTABILITY_GETTER:()=>Ay,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>Ic,\u0275ViewRef:()=>La,\u0275XSS_SECURITY_URL:()=>Yt,\u0275ZoneAwareQueueingScheduler:()=>lg,\u0275_sanitizeHtml:()=>l0,\u0275_sanitizeUrl:()=>jc,\u0275allowSanitizationBypassAndThrow:()=>Sa,\u0275annotateForHydration:()=>ZS,\u0275bypassSanitizationTrustHtml:()=>lw,\u0275bypassSanitizationTrustResourceUrl:()=>hw,\u0275bypassSanitizationTrustScript:()=>uw,\u0275bypassSanitizationTrustStyle:()=>cw,\u0275bypassSanitizationTrustUrl:()=>dw,\u0275clearResolutionOfComponentResourcesQueue:()=>Xm,\u0275compileComponent:()=>ly,\u0275compileDirective:()=>lm,\u0275compileNgModule:()=>ny,\u0275compileNgModuleDefs:()=>iy,\u0275compileNgModuleFactory:()=>Ly,\u0275compilePipe:()=>vy,\u0275convertToBitFlags:()=>Ui,\u0275createInjector:()=>fd,\u0275defaultIterableDiffers:()=>Ux,\u0275defaultKeyValueDiffers:()=>Bx,\u0275depsTracker:()=>Ma,\u0275devModeEqual:()=>k0,\u0275findLocaleData:()=>cf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>ey,\u0275formatRuntimeError:()=>cn,\u0275generateStandaloneInDeclarationsError:()=>ry,\u0275getAsyncClassMetadataFn:()=>qD,\u0275getDebugNode:()=>sl,\u0275getDeferBlocks:()=>Mm,\u0275getDirectives:()=>vb,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>na,\u0275getHostElement:()=>Xf,\u0275getInjectableDef:()=>Ue,\u0275getLContext:()=>Qr,\u0275getLocaleCurrencyCode:()=>zM,\u0275getLocalePluralCase:()=>dv,\u0275getSanitizationBypassType:()=>e0,\u0275getUnknownElementStrictMode:()=>CC,\u0275getUnknownPropertyStrictMode:()=>xC,\u0275global:()=>pe,\u0275injectChangeDetectorRef:()=>og,\u0275internalAfterNextRender:()=>gh,\u0275internalCreateApplication:()=>WS,\u0275isBoundToModule:()=>Ny,\u0275isComponentDefPendingResolution:()=>W1,\u0275isEnvironmentProviders:()=>yt,\u0275isInjectable:()=>ot,\u0275isNgModule:()=>Co,\u0275isPromise:()=>gf,\u0275isSubscribable:()=>Uv,\u0275noSideEffects:()=>tr,\u0275patchComponentDefWithScope:()=>om,\u0275performanceMarkFeature:()=>Do,\u0275publishDefaultGlobalUtils:()=>aS,\u0275publishGlobalUtil:()=>zr,\u0275registerLocaleData:()=>HM,\u0275renderDeferBlockState:()=>co,\u0275resetCompiledComponents:()=>_I,\u0275resetJitOptions:()=>mI,\u0275resolveComponentResources:()=>Zm,\u0275restoreComponentResolutionQueue:()=>G1,\u0275setAllowDuplicateNgModuleIdsForTest:()=>bC,\u0275setAlternateWeakRefImpl:()=>VS,\u0275setClassDebugInfo:()=>qb,\u0275setClassMetadata:()=>yb,\u0275setClassMetadataAsync:()=>eI,\u0275setCurrentInjector:()=>wn,\u0275setDocument:()=>fC,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>ia,\u0275setInjectorProfilerContext:()=>Bn,\u0275setLocaleId:()=>uf,\u0275setUnknownElementStrictMode:()=>yC,\u0275setUnknownPropertyStrictMode:()=>wC,\u0275store:()=>Wv,\u0275stringify:()=>Re,\u0275transitiveScopesFor:()=>qo,\u0275triggerResourceLoading:()=>pu,\u0275truncateMiddle:()=>Ke,\u0275unregisterLocaleData:()=>WM,\u0275unwrapSafeValue:()=>oo,\u0275whenStable:()=>$y,\u0275withDomHydration:()=>iT,\u0275\u0275CopyDefinitionFeature:()=>Mg,\u0275\u0275FactoryTarget:()=>Vo,\u0275\u0275HostDirectivesFeature:()=>Dg,\u0275\u0275InheritDefinitionFeature:()=>vh,\u0275\u0275InputTransformsFeature:()=>Ag,\u0275\u0275NgOnChangesFeature:()=>Xn,\u0275\u0275ProvidersFeature:()=>sb,\u0275\u0275StandaloneFeature:()=>ub,\u0275\u0275advance:()=>V0,\u0275\u0275attribute:()=>bh,\u0275\u0275attributeInterpolate1:()=>yh,\u0275\u0275attributeInterpolate2:()=>Ch,\u0275\u0275attributeInterpolate3:()=>wh,\u0275\u0275attributeInterpolate4:()=>xh,\u0275\u0275attributeInterpolate5:()=>Eh,\u0275\u0275attributeInterpolate6:()=>Mh,\u0275\u0275attributeInterpolate7:()=>Dh,\u0275\u0275attributeInterpolate8:()=>Ih,\u0275\u0275attributeInterpolateV:()=>Sh,\u0275\u0275classMap:()=>Ug,\u0275\u0275classMapInterpolate1:()=>Wg,\u0275\u0275classMapInterpolate2:()=>Gg,\u0275\u0275classMapInterpolate3:()=>Kg,\u0275\u0275classMapInterpolate4:()=>Yg,\u0275\u0275classMapInterpolate5:()=>Zg,\u0275\u0275classMapInterpolate6:()=>Qg,\u0275\u0275classMapInterpolate7:()=>Xg,\u0275\u0275classMapInterpolate8:()=>Jg,\u0275\u0275classMapInterpolateV:()=>qg,\u0275\u0275classProp:()=>Ph,\u0275\u0275componentInstance:()=>e_,\u0275\u0275conditional:()=>b_,\u0275\u0275contentQuery:()=>Gb,\u0275\u0275defer:()=>V_,\u0275\u0275deferEnableTimerScheduling:()=>$_,\u0275\u0275deferOnHover:()=>Q_,\u0275\u0275deferOnIdle:()=>z_,\u0275\u0275deferOnImmediate:()=>G_,\u0275\u0275deferOnInteraction:()=>J_,\u0275\u0275deferOnTimer:()=>Y_,\u0275\u0275deferOnViewport:()=>ev,\u0275\u0275deferPrefetchOnHover:()=>X_,\u0275\u0275deferPrefetchOnIdle:()=>W_,\u0275\u0275deferPrefetchOnImmediate:()=>K_,\u0275\u0275deferPrefetchOnInteraction:()=>q_,\u0275\u0275deferPrefetchOnTimer:()=>Z_,\u0275\u0275deferPrefetchOnViewport:()=>tv,\u0275\u0275deferPrefetchWhen:()=>H_,\u0275\u0275deferWhen:()=>j_,\u0275\u0275defineComponent:()=>Kn,\u0275\u0275defineDirective:()=>ls,\u0275\u0275defineInjectable:()=>Yn,\u0275\u0275defineInjector:()=>pn,\u0275\u0275defineNgModule:()=>lr,\u0275\u0275definePipe:()=>Ys,\u0275\u0275directiveInject:()=>Ra,\u0275\u0275disableBindings:()=>ro,\u0275\u0275element:()=>rf,\u0275\u0275elementContainer:()=>sf,\u0275\u0275elementContainerEnd:()=>bu,\u0275\u0275elementContainerStart:()=>vu,\u0275\u0275elementEnd:()=>_u,\u0275\u0275elementStart:()=>gu,\u0275\u0275enableBindings:()=>cl,\u0275\u0275getComponentDepsFactory:()=>Jb,\u0275\u0275getCurrentView:()=>uv,\u0275\u0275getInheritedFactory:()=>Pm,\u0275\u0275hostProperty:()=>af,\u0275\u0275i18n:()=>Lv,\u0275\u0275i18nApply:()=>Nv,\u0275\u0275i18nAttributes:()=>Pv,\u0275\u0275i18nEnd:()=>mf,\u0275\u0275i18nExp:()=>pf,\u0275\u0275i18nPostprocess:()=>Fv,\u0275\u0275i18nStart:()=>ff,\u0275\u0275inject:()=>Ln,\u0275\u0275injectAttribute:()=>Ju,\u0275\u0275invalidFactory:()=>H0,\u0275\u0275invalidFactoryDep:()=>Mi,\u0275\u0275listener:()=>_f,\u0275\u0275loadQuery:()=>Kb,\u0275\u0275namespaceHTML:()=>bi,\u0275\u0275namespaceMathML:()=>Wi,\u0275\u0275namespaceSVG:()=>Wn,\u0275\u0275nextContext:()=>jv,\u0275\u0275ngDeclareClassMetadata:()=>lT,\u0275\u0275ngDeclareComponent:()=>cT,\u0275\u0275ngDeclareDirective:()=>aT,\u0275\u0275ngDeclareFactory:()=>uT,\u0275\u0275ngDeclareInjectable:()=>hT,\u0275\u0275ngDeclareInjector:()=>fT,\u0275\u0275ngDeclareNgModule:()=>mT,\u0275\u0275ngDeclarePipe:()=>pT,\u0275\u0275pipe:()=>Nb,\u0275\u0275pipeBind1:()=>Fb,\u0275\u0275pipeBind2:()=>Ub,\u0275\u0275pipeBind3:()=>Bb,\u0275\u0275pipeBind4:()=>$b,\u0275\u0275pipeBindV:()=>Vb,\u0275\u0275projection:()=>zv,\u0275\u0275projectionDef:()=>Hv,\u0275\u0275property:()=>Rh,\u0275\u0275propertyInterpolate:()=>bf,\u0275\u0275propertyInterpolate1:()=>Eu,\u0275\u0275propertyInterpolate2:()=>yf,\u0275\u0275propertyInterpolate3:()=>Cf,\u0275\u0275propertyInterpolate4:()=>wf,\u0275\u0275propertyInterpolate5:()=>xf,\u0275\u0275propertyInterpolate6:()=>Ef,\u0275\u0275propertyInterpolate7:()=>Mf,\u0275\u0275propertyInterpolate8:()=>Df,\u0275\u0275propertyInterpolateV:()=>If,\u0275\u0275pureFunction0:()=>Cb,\u0275\u0275pureFunction1:()=>wb,\u0275\u0275pureFunction2:()=>xb,\u0275\u0275pureFunction3:()=>Eb,\u0275\u0275pureFunction4:()=>Mb,\u0275\u0275pureFunction5:()=>Db,\u0275\u0275pureFunction6:()=>Ib,\u0275\u0275pureFunction7:()=>Sb,\u0275\u0275pureFunction8:()=>Tb,\u0275\u0275pureFunctionV:()=>Ab,\u0275\u0275queryRefresh:()=>zb,\u0275\u0275reference:()=>Gv,\u0275\u0275registerNgModuleType:()=>vd,\u0275\u0275repeater:()=>x_,\u0275\u0275repeaterCreate:()=>w_,\u0275\u0275repeaterTrackByIdentity:()=>C_,\u0275\u0275repeaterTrackByIndex:()=>y_,\u0275\u0275resetView:()=>da,\u0275\u0275resolveBody:()=>_d,\u0275\u0275resolveDocument:()=>mp,\u0275\u0275resolveWindow:()=>fp,\u0275\u0275restoreView:()=>ua,\u0275\u0275sanitizeHtml:()=>c0,\u0275\u0275sanitizeResourceUrl:()=>Bd,\u0275\u0275sanitizeScript:()=>d0,\u0275\u0275sanitizeStyle:()=>u0,\u0275\u0275sanitizeUrl:()=>Ud,\u0275\u0275sanitizeUrlOrResourceUrl:()=>m0,\u0275\u0275setComponentScope:()=>db,\u0275\u0275setNgModuleScope:()=>hb,\u0275\u0275styleMap:()=>ks,\u0275\u0275styleMapInterpolate1:()=>Kv,\u0275\u0275styleMapInterpolate2:()=>Yv,\u0275\u0275styleMapInterpolate3:()=>Zv,\u0275\u0275styleMapInterpolate4:()=>Qv,\u0275\u0275styleMapInterpolate5:()=>Xv,\u0275\u0275styleMapInterpolate6:()=>Jv,\u0275\u0275styleMapInterpolate7:()=>qv,\u0275\u0275styleMapInterpolate8:()=>eb,\u0275\u0275styleMapInterpolateV:()=>tb,\u0275\u0275styleProp:()=>Lh,\u0275\u0275stylePropInterpolate1:()=>Sf,\u0275\u0275stylePropInterpolate2:()=>Tf,\u0275\u0275stylePropInterpolate3:()=>Af,\u0275\u0275stylePropInterpolate4:()=>kf,\u0275\u0275stylePropInterpolate5:()=>Rf,\u0275\u0275stylePropInterpolate6:()=>Of,\u0275\u0275stylePropInterpolate7:()=>Lf,\u0275\u0275stylePropInterpolate8:()=>Pf,\u0275\u0275stylePropInterpolateV:()=>Nf,\u0275\u0275syntheticHostListener:()=>vf,\u0275\u0275syntheticHostProperty:()=>lf,\u0275\u0275template:()=>Ya,\u0275\u0275templateRefExtractor:()=>Xb,\u0275\u0275text:()=>nb,\u0275\u0275textInterpolate:()=>Ff,\u0275\u0275textInterpolate1:()=>Mu,\u0275\u0275textInterpolate2:()=>Uf,\u0275\u0275textInterpolate3:()=>Bf,\u0275\u0275textInterpolate4:()=>$f,\u0275\u0275textInterpolate5:()=>Vf,\u0275\u0275textInterpolate6:()=>jf,\u0275\u0275textInterpolate7:()=>Hf,\u0275\u0275textInterpolate8:()=>zf,\u0275\u0275textInterpolateV:()=>Wf,\u0275\u0275trustConstantHtml:()=>h0,\u0275\u0275trustConstantResourceUrl:()=>f0,\u0275\u0275validateIframeAttribute:()=>Qp,\u0275\u0275viewQuery:()=>Wb});let f=null,D=!1,y=1;const u=Symbol("SIGNAL");function v(e){const t=f;return f=e,t}const o={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 l(e){if(D)throw new Error("");if(null===f)return;f.consumerOnSignalRead(e);const t=f.nextProducerIndex++;I(f),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function w(e){I(e);for(let t=0;t0}function I(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function P(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const L=Symbol("UNSET"),F=Symbol("COMPUTING"),R=Symbol("ERRORED"),U=(()=>({...o,value:L,dirty:!0,error:null,equal:n,producerMustRecompute:e=>e.value===L||e.value===F,producerRecomputeValue(e){if(e.value===F)throw new Error("Detected cycle in computations.");const t=e.value;e.value=F;const i=C(e);let a;try{a=e.computation()}catch(p){a=R,e.error=p}finally{x(e,i)}t!==L&&t!==R&&a!==R&&e.equal(t,a)?e.value=t:(e.value=a,e.version++)}}))();let ne=function W(){throw new Error};function ee(){ne()}let B=null;function te(e,t){g()||ee(),e.equal(e.value,t)||(e.value=t,function $e(e){e.version++,function r(){y++}(),d(e),B?.()}(e))}const Ge=(()=>({...o,equal:n,value:void 0}))();const Ze=()=>{},Et=(()=>({...o,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ze}))();var qe=_(8645),Ee=_(7394),Ie=_(5619),Ce=_(7398),ge=_(1374);function Ae(e){for(let t in e)if(e[t]===Ae)return t;throw Error("Could not find renamed property on target object.")}function q(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function Re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Re).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function ke(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function Ke(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const i=Math.round(t/2);return e.substring(0,i)+"..."+e.substring(e.length-i)}const me=Ae({__forward_ref__:Ae});function Pe(e){return e.__forward_ref__=Pe,e.toString=function(){return Re(this())},e}function Ne(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(me)&&e.__forward_ref__===Pe}function yt(e){return e&&!!e.\u0275providers}const Yt="https://g.co/ng/security#xss";class jt extends Error{constructor(t,i){super(cn(t,i)),this.code=t}}function cn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const fn=Ae({\u0275cmp:Ae}),an=Ae({\u0275dir:Ae}),En=Ae({\u0275pipe:Ae}),un=Ae({\u0275mod:Ae}),Bt=Ae({\u0275fac:Ae}),Ft=Ae({__NG_ELEMENT_ID__:Ae}),De=Ae({__NG_ENV_ID__:Ae});function Ve(e){return"string"==typeof e?e:null==e?"":String(e)}function Xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ve(e)}function Pt(e,t){throw new jt(-201,!1)}function Xt(e,t){null==e&&tn(t,e,null,"!=")}function tn(e,t,i,a){throw new Error(`ASSERTION ERROR: ${e}`+(null==a?"":` [Expected=> ${i} ${a} ${t} <=Actual]`))}function Yn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const st=Yn;function pn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ue(e){return At(e,dt)||At(e,Ut)}function ot(e){return null!==Ue(e)}function At(e,t){return e.hasOwnProperty(t)?e[t]:null}function it(e){return e&&(e.hasOwnProperty(ct)||e.hasOwnProperty(wt))?e[ct]:null}const dt=Ae({\u0275prov:Ae}),ct=Ae({\u0275inj:Ae}),Ut=Ae({ngInjectableDef:Ae}),wt=Ae({ngInjectorDef:Ae});var vt=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}(vt||{});let Ht;function dn(){return Ht}function ze(e){const t=Ht;return Ht=e,t}function en(e,t,i){const a=Ue(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:i&vt.Optional?null:void 0!==t?t:void Pt(Re(e))}const pe=globalThis;class _t{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Yn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let hn;function Bn(e){tn("setInjectorProfilerContext should never be called in production mode");const t=hn;return hn=e,t}let Ci=null;const Zn=e=>{tn("setInjectorProfiler should never be called in production mode"),Ci=e},Tn={},Ki="__NG_DI_FLAG__",qn="ngTempTokenPath",Qn=/\n/gm,mr="__source";let er;function wn(e){const t=er;return er=e,t}function Fn(e,t=vt.Default){if(void 0===er)throw new jt(-203,!1);return null===er?en(e,void 0,t):er.get(e,t&vt.Optional?null:void 0,t)}function Ln(e,t=vt.Default){return(dn()||Fn)(Ne(e),t)}function Mi(e){throw new jt(202,!1)}function Vn(e,t=vt.Default){return Ln(e,Ui(t))}function Ui(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sr(e){const t=[];for(let i=0;it){N=E-1;break}}}for(;EE?"":p[et+1].toLowerCase();const Rt=8&a?Mt:null;if(Rt&&-1!==wr(Rt,fe,0)||2&a&&fe!==Mt){if($t(a))return!1;N=!0}}}}else{if(!N&&!$t(a)&&!$t(X))return!1;if(N&&$t(X))continue;N=!1,a=X|1&a}}return $t(a)||N}function $t(e){return 0==(1&e)}function Gt(e,t,i,a){if(null===t)return-1;let p=0;if(a||!i){let E=!1;for(;p-1)for(i++;i0?'="'+V+'"':"")+"]"}else 8&a?p+="."+N:4&a&&(p+=" "+N);else""!==p&&!$t(N)&&(t+=ai(E,p),p=""),a=N,E=E||!$t(a);i++}return""!==p&&(t+=ai(E,p)),t}function Kn(e){return tr(()=>{const t=Es(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Zi.Emulated,styles:e.styles||oi,_:null,schemas:e.schemas||null,tView:null,id:""};$r(i);const a=e.dependencies;return i.directiveDefs=es(a,!1),i.pipeDefs=es(a,!0),i.id=function uo(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const p of i)t=Math.imul(31,t)+p.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function li(e){return ti(e)||wi(e)}function ji(e){return null!==e}function lr(e){return tr(()=>({type:e.type,bootstrap:e.bootstrap||oi,declarations:e.declarations||oi,imports:e.imports||oi,exports:e.exports||oi,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gr(e,t){if(null==e)return or;const i={};for(const a in e)if(e.hasOwnProperty(a)){let p=e[a],E=p;Array.isArray(p)&&(E=p[1],p=p[0]),i[p]=a,t&&(t[p]=E)}return i}function ls(e){return tr(()=>{const t=Es(e);return $r(t),t})}function Ys(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 ti(e){return e[fn]||null}function wi(e){return e[an]||null}function Ri(e){return e[En]||null}function Br(e){const t=ti(e)||wi(e)||Ri(e);return null!==t&&t.standalone}function Qi(e,t){const i=e[un]||null;if(!i&&!0===t)throw new Error(`Type ${Re(e)} does not have '\u0275mod' property.`);return i}function Es(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||or,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||oi,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gr(e.inputs,t),outputs:gr(e.outputs),debugInfo:null}}function $r(e){e.features?.forEach(t=>t(e))}function es(e,t){if(!e)return null;const i=t?Ri:li;return()=>("function"==typeof e?e():e).map(a=>i(a)).filter(ji)}const Zs=new Map,Bi=0,yn=1,he=2,we=3,ae=4,je=5,xt=6,gn=7,Sn=8,Di=9,cr=10,$n=11,gs=12,_s=13,vs=14,Oi=15,bs=16,Pr=17,Kr=18,Ms=19,cs=20,ts=21,Yr=22,Ar=23,Hn=25,Qs=1,Vr=6,nr=7,ys=9,fi=10;var jr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(jr||{});function Xi(e){return Array.isArray(e)&&"object"==typeof e[Qs]}function ir(e){return Array.isArray(e)&&!0===e[Qs]}function Xs(e){return 0!=(4&e.flags)}function Zr(e){return e.componentOffset>-1}function Ps(e){return 1==(1&e.flags)}function Nr(e){return!!e.template}function Ns(e){return 0!=(512&e[he])}function Ao(e){return 16==(16&e.type)}function qs(e){return 256==(256&e[he])}function ho(e,t){!function ko(e,t){eo(e);const i=t.data;for(let a=Hn;a{_r=e},Ji=function(e,t,i){_r?.(e,t,i)},rs="svg",Is="math";let Rr=!1;function na(){return Rr}function ia(e){Rr=e}function xi(e){for(;Array.isArray(e);)e=e[Bi];return e}function Fs(e){for(;Array.isArray(e);){if("object"==typeof e[Qs])return e;e=e[Bi]}return null}function to(e,t){return xi(t[e])}function ar(e,t){return xi(t[e.index])}function no(e,t){return e.data[t]}function Ss(e,t){return e[t]}function xr(e,t){const i=t[e];return Xi(i)?i:i[Bi]}function Lo(e){return 128==(128&e[he])}function rr(e,t){return null==t?null:e[t]}function oa(e){e[Pr]=0}function cc(e){1024&e[he]||(e[he]|=1024,Lo(e)&&Us(e))}function aa(e,t){for(;e>0;)t=t[vs],e--;return t}function la(e){return 9216&e[he]||e[Ar]?.dirty}function go(e){la(e)?Us(e):64&e[he]&&(na()?(e[he]|=1024,Us(e)):e[cr].changeDetectionScheduler?.notify())}function Us(e){e[cr].changeDetectionScheduler?.notify();let t=e[we];for(;null!==t&&!(ir(t)&&t[he]&jr.HasChildViewsToRefresh||Xi(t)&&8192&t[he]);){if(ir(t))t[he]|=jr.HasChildViewsToRefresh;else if(t[he]|=8192,!Lo(t))break;t=t[we]}}function Or(e,t){if(256==(256&e[he]))throw new jt(911,!1);null===e[ts]&&(e[ts]=[]),e[ts].push(t)}function _o(e,t){if(null===e[ts])return;const i=e[ts].indexOf(t);-1!==i&&e[ts].splice(i,1)}const zn={lFrame:Kt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vo(){return zn.bindingsEnabled}function Ts(){return null!==zn.skipHydrationRootTNode}function cl(){zn.bindingsEnabled=!0}function ro(){zn.bindingsEnabled=!1}function rn(){return zn.lFrame.lView}function mi(){return zn.lFrame.tView}function ua(e){return zn.lFrame.contextLView=e,e[Sn]}function da(e){return zn.lFrame.contextLView=null,e}function Pi(){let e=bo();for(;null!==e&&64===e.type;)e=e.parent;return e}function bo(){return zn.lFrame.currentTNode}function so(){const e=zn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ss(e,t){const i=zn.lFrame;i.currentTNode=e,i.isParent=t}function Uo(){return zn.lFrame.isParent}function Bo(){zn.lFrame.isParent=!1}function G(){const e=zn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function se(){return zn.lFrame.bindingIndex}function Q(e){return zn.lFrame.bindingIndex=e}function re(){return zn.lFrame.bindingIndex++}function be(e){const t=zn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function pt(e){zn.lFrame.inI18n=e}function Zt(e,t){const i=zn.lFrame;i.bindingIndex=i.bindingRootIndex=e,Mn(t)}function Mn(e){zn.lFrame.currentDirectiveIndex=e}function ni(e){const t=zn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function O(){return zn.lFrame.currentQueryIndex}function xe(e){zn.lFrame.currentQueryIndex=e}function K(e){const t=e[yn];return 2===t.type?t.declTNode:1===t.type?e[je]:null}function Je(e,t,i){if(i&vt.SkipSelf){let p=t,E=e;for(;!(p=p.parent,null!==p||i&vt.Host||(p=K(E),null===p||(E=E[vs],10&p.type))););if(null===p)return!1;t=p,e=E}const a=zn.lFrame=ht();return a.currentTNode=t,a.lView=e,!0}function ft(e){const t=ht(),i=e[yn];zn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function ht(){const e=zn.lFrame,t=null===e?null:e.child;return null===t?Kt(e):t}function Kt(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Vt(){const e=zn.lFrame;return zn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const kn=Vt;function kt(){const e=Vt();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 Jn(){return zn.lFrame.selectedIndex}function Dn(e){zn.lFrame.selectedIndex=e}function sn(){const e=zn.lFrame;return no(e.tView,e.selectedIndex)}function Wn(){zn.lFrame.currentNamespace=rs}function Wi(){zn.lFrame.currentNamespace=Is}function bi(){!function ci(){zn.lFrame.currentNamespace=null}()}function Ai(){return zn.lFrame.currentNamespace}let pi=!0;function In(){return pi}function hi(e){pi=e}function jn(e,t){for(let i=t.directiveStart,a=t.directiveEnd;i=a)break}else t[X]<0&&(e[Pr]+=65536),(V>14>16&&(3&e[he])===t&&(e[he]+=16384,$s(V,E)):$s(V,E)}const As=-1;class Vs{constructor(t,i,a){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=a}}function y1(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Ku(e){return e!==As}function hl(e){return 32767&e}function fl(e,t){let i=function x1(e){return e>>16}(e),a=t;for(;i>0;)a=a[vs],i--;return a}let Yu=!0;function hc(e){const t=Yu;return Yu=e,t}const Dm=255,Im=5;let E1=0;const js={};function fc(e,t){const i=Sm(e,t);if(-1!==i)return i;const a=t[yn];a.firstCreatePass&&(e.injectorIndex=t.length,Zu(a.data,e),Zu(t,null),Zu(a.blueprint,null));const p=mc(e,t),E=e.injectorIndex;if(Ku(p)){const N=hl(p),V=fl(p,t),X=V[yn].data;for(let fe=0;fe<8;fe++)t[E+fe]=V[N+fe]|X[N+fe]}return t[E+8]=p,E}function Zu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function mc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,a=null,p=t;for(;null!==p;){if(a=Nm(p),null===a)return As;if(i++,p=p[vs],-1!==a.injectorIndex)return a.injectorIndex|i<<16}return As}function Qu(e,t,i){!function M1(e,t,i){let a;"string"==typeof i?a=i.charCodeAt(0)||0:i.hasOwnProperty(Ft)&&(a=i[Ft]),null==a&&(a=i[Ft]=E1++);const p=a&Dm;t.data[e+(p>>Im)]|=1<=0?t&Dm:T1:t}(i);if("function"==typeof E){if(!Je(t,e,a))return a&vt.Host?Tm(p,0,a):Am(t,i,a,p);try{let N;if(N=E(a),null!=N||a&vt.Optional)return N;Pt()}finally{kn()}}else if("number"==typeof E){let N=null,V=Sm(e,t),X=As,fe=a&vt.Host?t[Oi][je]:null;for((-1===V||a&vt.SkipSelf)&&(X=-1===V?mc(e,t):t[V+8],X!==As&&Lm(a,!1)?(N=t[yn],V=hl(X),t=fl(X,t)):V=-1);-1!==V;){const Le=t[yn];if(Om(E,V,Le.data)){const et=I1(V,t,i,N,a,fe);if(et!==js)return et}X=t[V+8],X!==As&&Lm(a,t[yn].data[V+8]===fe)&&Om(E,V,t)?(N=Le,V=hl(X),t=fl(X,t)):V=-1}}return p}function I1(e,t,i,a,p,E){const N=t[yn],V=N.data[e+8],Le=pc(V,N,i,null==a?Zr(V)&&Yu:a!=N&&0!=(3&V.type),p&vt.Host&&E===V);return null!==Le?$o(t,N,Le,V):js}function pc(e,t,i,a,p){const E=e.providerIndexes,N=t.data,V=1048575&E,X=e.directiveStart,Le=E>>20,Mt=p?V+Le:e.directiveEnd;for(let Rt=a?V:V+Le;Rt=X&&Jt.type===i)return Rt}if(p){const Rt=N[X];if(Rt&&Nr(Rt)&&Rt.type===i)return X}return null}function $o(e,t,i,a){let p=e[i];const E=t.data;if(function b1(e){return e instanceof Vs}(p)){const N=p;N.resolving&&function ut(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new jt(-200,`Circular dependency in DI detected for ${e}${i}`)}(Xe(E[i]));const V=hc(N.canSeeViewProviders);N.resolving=!0;const fe=N.injectImpl?ze(N.injectImpl):null;Je(e,a,vt.Default);try{p=e[i]=N.factory(void 0,E,e,a),t.firstCreatePass&&i>=a.directiveStart&&function vr(e,t,i){const{ngOnChanges:a,ngOnInit:p,ngDoCheck:E}=t.type.prototype;if(a){const N=$i(t);(i.preOrderHooks??=[]).push(e,N),(i.preOrderCheckHooks??=[]).push(e,N)}p&&(i.preOrderHooks??=[]).push(0-e,p),E&&((i.preOrderHooks??=[]).push(e,E),(i.preOrderCheckHooks??=[]).push(e,E))}(i,E[i],t)}finally{null!==fe&&ze(fe),hc(V),N.resolving=!1,kn()}}return p}function Om(e,t,i){return!!(i[t+(e>>Im)]&1<{const t=e.prototype.constructor,i=t[Bt]||Xu(t),a=Object.prototype;let p=Object.getPrototypeOf(e.prototype).constructor;for(;p&&p!==a;){const E=p[Bt]||Xu(p);if(E&&E!==i)return E;p=Object.getPrototypeOf(p)}return E=>new E})}function Xu(e){return Be(e)?()=>{const t=Xu(Ne(e));return t&&t()}:di(e)}function Nm(e){const t=e[yn],i=t.type;return 2===i?t.declTNode:1===i?e[je]:null}function Ju(e){return function D1(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const a=i.length;let p=0;for(;p{const E=qu(t);function N(...V){if(this instanceof N)return E.call(this,...V),this;const X=new N(...V);return function(Le){return p&&p(Le,...V),(Le.hasOwnProperty(pa)?Le[pa]:Object.defineProperty(Le,pa,{value:[]})[pa]).push(X),a&&a(Le),Le}}return i&&(N.prototype=Object.create(i.prototype)),N.prototype.ngMetadataName=e,N.annotationCls=N,N})}function qu(e){return function(...i){if(e){const a=e(...i);for(const p in a)this[p]=a[p]}}}function va(e,t,i){return tr(()=>{const a=qu(t);function p(...E){if(this instanceof p)return a.apply(this,E),this;const N=new p(...E);return V.annotation=N,V;function V(X,fe,Le){const et=X.hasOwnProperty(ga)?X[ga]:Object.defineProperty(X,ga,{value:[]})[ga];for(;et.length<=Le;)et.push(null);return(et[Le]=et[Le]||[]).push(N),X}}return i&&(p.prototype=Object.create(i.prototype)),p.prototype.ngMetadataName=e,p.annotationCls=p,p})}function yo(e,t,i,a){return tr(()=>{const p=qu(t);function E(...N){if(this instanceof E)return p.apply(this,N),this;const V=new E(...N);return function X(fe,Le){if(void 0===fe)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const et=fe.constructor,Mt=et.hasOwnProperty(_a)?et[_a]:Object.defineProperty(et,_a,{value:{}})[_a];Mt[Le]=Mt.hasOwnProperty(Le)&&Mt[Le]||[],Mt[Le].unshift(V),a&&a(fe,Le,...N)}}return i&&(E.prototype=Object.create(i.prototype)),E.prototype.ngMetadataName=e,E.annotationCls=E,E})}const Fm=va("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ju(e)}));class pl{}const k1=yo("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),pl),R1=yo("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),pl),O1=yo("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),pl),L1=yo("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),pl);var Vo=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}(Vo||{});function Mr(e){const t=pe.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Bm=Function;function gl(e){return"function"==typeof e}function os(e){return e.flat(Number.POSITIVE_INFINITY)}function ba(e,t){e.forEach(i=>Array.isArray(i)?ba(i,t):t(i))}function $m(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function gc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _l(e,t){const i=[];for(let a=0;at;)e[p]=e[p-2],p--;e[t]=i,e[t+1]=a}}function hs(e,t,i){let a=ya(e,t);return a>=0?e[1|a]=i:(a=~a,Vm(e,a,t,i)),a}function td(e,t){const i=ya(e,t);if(i>=0)return e[1|i]}function ya(e,t){return function jm(e,t,i){let a=0,p=e.length>>i;for(;p!==a;){const E=a+(p-a>>1),N=e[E<t?p=E:a=E+1}return~(p<new t(...i)}_zipTypesAndAnnotations(t,i){let a;a=_l(typeof t>"u"?i.length:t.length);for(let p=0;p"u"?[]:t[p]&&t[p]!=Object?[t[p]]:[],i&&null!=i[p]&&(a[p]=a[p].concat(i[p]));return a}_ownParameters(t,i){if(function j1(e){return U1.test(e)||V1.test(e)||B1.test(e)&&!$1.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const p=t.ctorParameters;if(p&&p!==i.ctorParameters){const V="function"==typeof p?p():p,X=V.map(Le=>Le&&Le.type),fe=V.map(Le=>Le&&nd(Le.decorators));return this._zipTypesAndAnnotations(X,fe)}const E=t.hasOwnProperty(ga)&&t[ga],N=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return N||E?this._zipTypesAndAnnotations(N,E):_l(t.length)}parameters(t){if(!gl(t))return[];const i=_c(t);let a=this._ownParameters(t,i);return!a&&i!==Object&&(a=this.parameters(i)),a||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let a=t.annotations;return"function"==typeof a&&a.annotations&&(a=a.annotations),a}return t.decorators&&t.decorators!==i.decorators?nd(t.decorators):t.hasOwnProperty(pa)?t[pa]:null}annotations(t){if(!gl(t))return[];const i=_c(t),a=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(a)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let a=t.propMetadata;return"function"==typeof a&&a.propMetadata&&(a=a.propMetadata),a}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const a=t.propDecorators,p={};return Object.keys(a).forEach(E=>{p[E]=nd(a[E])}),p}return t.hasOwnProperty(_a)?t[_a]:null}propMetadata(t){if(!gl(t))return{};const i=_c(t),a={};if(i!==Object){const E=this.propMetadata(i);Object.keys(E).forEach(N=>{a[N]=E[N]})}const p=this._ownPropMetadata(t,i);return p&&Object.keys(p).forEach(E=>{const N=[];a.hasOwnProperty(E)&&N.push(...a[E]),N.push(...p[E]),a[E]=N}),a}ownPropMetadata(t){return gl(t)&&this._ownPropMetadata(t,_c(t))||{}}hasLifecycleHook(t,i){return t instanceof Bm&&i in t.prototype}}function nd(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function _c(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const zm=pr(va("Inject",e=>({token:e})),-1),vc=pr(va("Optional"),8),Wm=pr(va("Self"),2),bc=pr(va("SkipSelf"),4),Gm=pr(va("Host"),1);let Km=null;function id(){return Km=Km||new Hm}function yc(e){return Ym(id().parameters(e))}function Ym(e){return e.map(t=>function H1(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i{const N=[];p.templateUrl&&N.push(a(p.templateUrl).then(fe=>{p.template=fe}));const V="string"==typeof p.styles?[p.styles]:p.styles||[];if(p.styles=V,p.styleUrl&&p.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(p.styleUrls?.length){const fe=p.styles.length,Le=p.styleUrls;p.styleUrls.forEach((et,Mt)=>{V.push(""),N.push(a(et).then(Rt=>{V[fe+Mt]=Rt,Le.splice(Le.indexOf(et),1),0==Le.length&&(p.styleUrls=void 0)}))})}else p.styleUrl&&N.push(a(p.styleUrl).then(fe=>{V.push(fe),p.styleUrl=void 0}));const X=Promise.all(N).then(()=>function Z1(e){vl.delete(e)}(E));t.push(X)}),Xm(),Promise.all(t).then(()=>{})}let Ca=new Map;const vl=new Set;function W1(e){return vl.has(e)}function Qm(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function Xm(){const e=Ca;return Ca=new Map,e}function G1(e){vl.clear(),e.forEach((t,i)=>vl.add(i)),Ca=e}function Y1(e){return"string"==typeof e?e:e.text()}const jo=new _t("ENVIRONMENT_INITIALIZER"),rd=new _t("INJECTOR",-1),sd=new _t("INJECTOR_DEF_TYPES");class Cc{get(t,i=Tn){if(i===Tn){const a=new Error(`NullInjectorError: No provider for ${Re(t)}!`);throw a.name="NullInjectorError",a}return i}}function od(e){return{\u0275providers:e}}function Jm(...e){return{\u0275providers:qm(0,e),\u0275fromNgModule:!0}}function qm(e,...t){const i=[],a=new Set;let p;const E=N=>{i.push(N)};return ba(t,N=>{const V=N;wc(V,E,[],a)&&(p||=[],p.push(V))}),void 0!==p&&ep(p,E),i}function ep(e,t){for(let i=0;i{t(E,a)})}}function wc(e,t,i,a){if(!(e=Ne(e)))return!1;let p=null,E=it(e);const N=!E&&ti(e);if(E||N){if(N&&!N.standalone)return!1;p=e}else{const X=e.ngModule;if(E=it(X),!E)return!1;p=X}const V=a.has(p);if(N){if(V)return!1;if(a.add(p),N.dependencies){const X="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const fe of X)wc(fe,t,i,a)}}else{if(!E)return!1;{if(null!=E.imports&&!V){let fe;a.add(p);try{ba(E.imports,Le=>{wc(Le,t,i,a)&&(fe||=[],fe.push(Le))})}finally{}void 0!==fe&&ep(fe,t)}if(!V){const fe=di(p)||(()=>new p);t({provide:p,useFactory:fe,deps:oi},p),t({provide:sd,useValue:p,multi:!0},p),t({provide:jo,useValue:()=>Ln(p),multi:!0},p)}const X=E.providers;if(null!=X&&!V){const fe=e;ad(X,Le=>{t(Le,fe)})}}}return p!==e&&void 0!==e.providers}function ad(e,t){for(let i of e)yt(i)&&(i=i.\u0275providers),Array.isArray(i)?ad(i,t):t(i)}const Q1=Ae({provide:String,useValue:Ae});function ld(e){return null!==e&&"object"==typeof e&&Q1 in e}function Ho(e){return"function"==typeof e}const cd=new _t("Set Injector scope."),xc={},J1={};let ud;function Ec(){return void 0===ud&&(ud=new Cc),ud}class Hs{}class wa extends Hs{get destroyed(){return this._destroyed}constructor(t,i,a,p){super(),this.parent=i,this.source=a,this.scopes=p,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hd(t,N=>this.processProvider(N)),this.records.set(rd,xa(void 0,this)),p.has("environment")&&this.records.set(Hs,xa(void 0,this));const E=this.records.get(cd);null!=E&&"string"==typeof E.value&&this.scopes.add(E.value),this.injectorDefTypes=new Set(this.get(sd,oi,vt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=wn(this),a=ze(void 0);try{return t()}finally{wn(i),ze(a)}}get(t,i=Tn,a=vt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(De))return t[De](this);a=Ui(a);const E=wn(this),N=ze(void 0);try{if(!(a&vt.SkipSelf)){let X=this.records.get(t);if(void 0===X){const fe=function iC(e){return"function"==typeof e||"object"==typeof e&&e instanceof _t}(t)&&Ue(t);X=fe&&this.injectableDefInScope(fe)?xa(dd(t),xc):null,this.records.set(t,X)}if(null!=X)return this.hydrate(t,X)}return(a&vt.Self?Ec():this.parent).get(t,i=a&vt.Optional&&i===Tn?null:i)}catch(V){if("NullInjectorError"===V.name){if((V[qn]=V[qn]||[]).unshift(Re(t)),E)throw V;return function Sr(e,t,i,a){const p=e[qn];throw t[mr]&&p.unshift(t[mr]),e.message=function Lr(e,t,i,a=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let p=Re(t);if(Array.isArray(t))p=t.map(Re).join(" -> ");else if("object"==typeof t){let E=[];for(let N in t)if(t.hasOwnProperty(N)){let V=t[N];E.push(N+":"+("string"==typeof V?JSON.stringify(V):Re(V)))}p=`{${E.join(", ")}}`}return`${i}${a?"("+a+")":""}[${p}]: ${e.replace(Qn,"\n ")}`}("\n"+e.message,p,i,a),e.ngTokenPath=p,e[qn]=null,e}(V,t,"R3InjectorError",this.source)}throw V}finally{ze(N),wn(E)}}resolveInjectorInitializers(){const t=wn(this),i=ze(void 0);try{const p=this.get(jo,oi,vt.Self);for(const E of p)E()}finally{wn(t),ze(i)}}toString(){const t=[],i=this.records;for(const a of i.keys())t.push(Re(a));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new jt(205,!1)}processProvider(t){let i=Ho(t=Ne(t))?t:Ne(t&&t.provide);const a=function eC(e){return ld(e)?xa(void 0,e.useValue):xa(ip(e),xc)}(t);if(Ho(t)||!0!==t.multi)this.records.get(i);else{let p=this.records.get(i);p||(p=xa(void 0,xc,!0),p.factory=()=>sr(p.multi),this.records.set(i,p)),i=t,p.multi.push(t)}this.records.set(i,a)}hydrate(t,i){return i.value===xc&&(i.value=J1,i.value=i.factory()),"object"==typeof i.value&&i.value&&function nC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Ne(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function dd(e){const t=Ue(e),i=null!==t?t.factory:di(e);if(null!==i)return i;if(e instanceof _t)throw new jt(204,!1);if(e instanceof Function)return function q1(e){const t=e.length;if(t>0)throw _l(t,"?"),new jt(204,!1);const i=function qt(e){return e&&(e[dt]||e[Ut])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new jt(204,!1)}function ip(e,t,i){let a;if(Ho(e)){const p=Ne(e);return di(p)||dd(p)}if(ld(e))a=()=>Ne(e.useValue);else if(function np(e){return!(!e||!e.useFactory)}(e))a=()=>e.useFactory(...sr(e.deps||[]));else if(function tp(e){return!(!e||!e.useExisting)}(e))a=()=>Ln(Ne(e.useExisting));else{const p=Ne(e&&(e.useClass||e.provide));if(!function tC(e){return!!e.deps}(e))return di(p)||dd(p);a=()=>new p(...sr(e.deps))}return a}function xa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function hd(e,t){for(const i of e)Array.isArray(i)?hd(i,t):i&&yt(i)?hd(i.\u0275providers,t):t(i)}function rC(e,t){e instanceof wa&&e.assertNotDestroyed();const a=wn(e),p=ze(void 0);try{return t()}finally{wn(a),ze(p)}}function Mc(e){if(!dn()&&!function _n(){return er}())throw new jt(-203,!1)}const rp={\u0275\u0275defineInjectable:Yn,\u0275\u0275defineInjector:pn,\u0275\u0275inject:Ln,\u0275\u0275invalidFactoryDep:Mi,resolveForwardRef:Ne};const oC=Ae({provide:String,useValue:Ae});function sp(e){return void 0!==e.useClass}function op(e){return void 0!==e.useFactory}const uC=ml("Injectable",void 0,void 0,void 0,(e,t)=>function sC(e,t){let i=null,a=null;e.hasOwnProperty(dt)||Object.defineProperty(e,dt,{get:()=>(null===i&&(i=Mr().compileInjectable(rp,`ng:///${e.name}/\u0275prov.js`,function cC(e,t){const i=t||{providedIn:null},a={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(sp(i)||op(i))&&void 0!==i.deps&&(a.deps=Ym(i.deps)),sp(i)?a.useClass=i.useClass:function aC(e){return oC in e}(i)?a.useValue=i.useValue:op(i)?a.useFactory=i.useFactory:function lC(e){return void 0!==e.useExisting}(i)&&(a.useExisting=i.useExisting),a}(e,t))),i)}),e.hasOwnProperty(Bt)||Object.defineProperty(e,Bt,{get:()=>{if(null===a){const p=Mr();a=p.compileFactory(rp,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:yc(e),target:p.FactoryTarget.Injectable})}return a},configurable:!0})}(e,t));function fd(e,t=null,i=null,a){const p=ap(e,t,i,a);return p.resolveInjectorInitializers(),p}function ap(e,t=null,i=null,a,p=new Set){const E=[i||oi,Jm(e)];return a=a||("object"==typeof e?void 0:Re(e)),new wa(E,t||Ec(),a||null,p)}let pd,Cs=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Tn;static#t=this.NULL=new Cc;static create(i,a){if(Array.isArray(i))return fd({name:""},a,i,"");{const p=i.name??"";return fd({name:p},i.parent,i.providers,p)}}static#n=this.\u0275prov=Yn({token:e,providedIn:"any",factory:()=>Ln(rd)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function md(e){return void 0!==e.ngModule}function Co(e){return!!Qi(e)}function Dc(e){return!!Ri(e)}function lp(e){return!!wi(e)}function bl(e){return!!ti(e)}function hC(e,t){if(Be(e)&&!(e=Ne(e)))throw new Error(`Expected forwardRef function, imported from "${Xe(t)}", to return a standalone entity or NgModule but got "${Xe(e)||e}".`);if(null==Qi(e)){const i=ti(e)||wi(e)||Ri(e);if(null==i)throw md(e)?new Error(`A module with providers was imported from "${Xe(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Xe(e)}" type, imported from "${Xe(t)}", 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 "${Xe(e)}" ${function dC(e){return ti(e)?"component":wi(e)?"directive":Ri(e)?"pipe":"type"}(e)}, imported from "${Xe(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}}function fC(e){pd=e}function wo(){if(void 0!==pd)return pd;if(typeof document<"u")return document;throw new jt(210,!1)}const cp=new _t("AppId",{providedIn:"root",factory:()=>mC}),mC="ng",up=new _t("Platform Initializer"),gd=new _t("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pC=new _t("Application Packages Root URL"),gC=new _t("AnimationModuleType"),_C=new _t("CSP nonce",{providedIn:"root",factory:()=>wo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),dp={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},hp=new _t("ImageConfig",{providedIn:"root",factory:()=>dp});function fp(e){return e.ownerDocument.defaultView}function mp(e){return e.ownerDocument}function _d(e){return e.ownerDocument.body}function fs(e){return e instanceof Function?e():e}function xo(e){return"browser"===(e??Vn(Cs)).get(gd)}const Ic=!0;class pp{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 t of this.ngModulesWithSomeUnresolvedDecls){const i=Qi(t);if(i?.declarations)for(const a of fs(i.declarations))bl(a)&&this.ownerNgModule.set(a,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,i){this.resolveNgModulesDecls();const a=ti(t);if(null===a)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(a.standalone){const p=this.getStandaloneComponentScope(t,i);return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes,...p.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const p=this.getNgModuleScope(this.ownerNgModule.get(t));return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes]}}}registerNgModule(t,i){if(!Co(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const i=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,i),i}computeNgModuleScope(t){const i=Qi(t,!0),a={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const p of fs(i.imports))if(Co(p)){const E=this.getNgModuleScope(p);Eo(E.exported.directives,a.compilation.directives),Eo(E.exported.pipes,a.compilation.pipes)}else{if(!Br(p)){a.compilation.isPoisoned=!0;break}if(lp(p)||bl(p))a.compilation.directives.add(p);else{if(!Dc(p))throw new jt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");a.compilation.pipes.add(p)}}if(!a.compilation.isPoisoned)for(const p of fs(i.declarations)){if(Co(p)||Br(p)){a.compilation.isPoisoned=!0;break}Dc(p)?a.compilation.pipes.add(p):a.compilation.directives.add(p)}for(const p of fs(i.exports))if(Co(p)){const E=this.getNgModuleScope(p);Eo(E.exported.directives,a.exported.directives),Eo(E.exported.pipes,a.exported.pipes),Eo(E.exported.directives,a.compilation.directives),Eo(E.exported.pipes,a.compilation.pipes)}else Dc(p)?a.exported.pipes.add(p):a.exported.directives.add(p);return a}getStandaloneComponentScope(t,i){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const a=this.computeStandaloneComponentScope(t,i);return this.standaloneComponentsScopeCache.set(t,a),a}computeStandaloneComponentScope(t,i){const a={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const p of os(i??[])){const E=Ne(p);try{hC(E,t)}catch{return a.compilation.isPoisoned=!0,a}if(Co(E)){a.compilation.ngModules.add(E);const N=this.getNgModuleScope(E);if(N.exported.isPoisoned)return a.compilation.isPoisoned=!0,a;Eo(N.exported.directives,a.compilation.directives),Eo(N.exported.pipes,a.compilation.pipes)}else if(Dc(E))a.compilation.pipes.add(E);else{if(!lp(E)&&!bl(E))return a.compilation.isPoisoned=!0,a;a.compilation.directives.add(E)}}return a}isOrphanComponent(t){const i=ti(t);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function Eo(e,t){for(const i of e)t.add(i)}const Ma=new pp,Sc=new Map;let gp=!0;function vd(e,t){(function vC(e,t,i){if(t&&t!==i&&gp)throw new Error(`Duplicate module registered for ${e} - ${Re(t)} vs ${Re(t.name)}`)})(t,Sc.get(t)||null,e),Sc.set(t,e)}function _p(e){return Sc.get(e)}function bC(e){gp=!e}const vp={name:"custom-elements"},bp={name:"no-errors-schema"};let bd=!1;function yC(e){bd=e}function CC(){return bd}let yd=!1;function wC(e){yd=e}function xC(){return yd}function Cd(e){tn("Must never be called in production mode");const i=function Tc(e){tn("Must never be called in production mode");const i=e[Oi][Sn];return i&&i.constructor?ti(i.constructor):null}(e)?.type?.name;return i?` (used in the '${i}' component template)`:""}const yl="ngSkipHydration",MC="ngskiphydration";function wp(e){const t=e.mergedAttrs;if(null===t)return!1;for(let i=0;i|^->||--!>|)/g,SC="\u200b$1\u200b";const wd=new Map;let TC=0;function Mp(e){return wd.get(e)||null}class Dp{get lView(){return Mp(this.lViewId)}constructor(t,i,a){this.lViewId=t,this.nodeIndex=i,this.native=a}}function Qr(e){let t=Cl(e);if(t){if(Xi(t)){const i=t;let a,p,E;if(Tp(e)){if(a=kp(i,e),-1==a)throw new Error("The provided component was not found in the application");p=e}else if(function OC(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(a=function PC(e,t){let i=e[yn].firstChild;for(;i;){const p=i.directiveEnd;for(let E=i.directiveStart;E=0){const V=xi(E[N]),X=xd(E,N,V);Hr(V,X),t=X;break}}}}return t||null}function xd(e,t,i){return new Dp(e[Ms],t,i)}function Ip(e){let i,t=Cl(e);if(Xi(t)){const a=t,p=kp(a,e);i=xr(p,a);const E=xd(a,p,i[Bi]);E.component=e,Hr(e,E),Hr(E.native,E)}else i=xr(t.nodeIndex,t.lView);return i}const Ed="__ngContext__";function Hr(e,t){Xi(t)?(e[Ed]=t[Ms],function kC(e){wd.set(e[Ms],e)}(t)):e[Ed]=t}function Cl(e){const t=e[Ed];return"number"==typeof t?Mp(t):t||null}function Sp(e){const t=Cl(e);return t?Xi(t)?t:t.lView:null}function Tp(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Ap(e,t){const i=e[yn];for(let a=Hn;at.replace(IC,SC))}(t))}function Pc(e,t,i){return e.createElement(t,i)}function Fp(e,t){const i=e[ys],a=i.indexOf(t);i.splice(a,1)}function xl(e,t){if(e.length<=fi)return;const i=fi+t,a=e[i];if(a){const p=a[bs];null!==p&&p!==e&&Fp(p,a),t>0&&(e[i-1][ae]=a[ae]);const E=gc(e,fi+t);!function VC(e,t){Ml(e,t,t[$n],2,null,null),t[Bi]=null,t[je]=null}(a[yn],a);const N=E[Kr];null!==N&&N.detachView(E[yn]),a[we]=null,a[ae]=null,a[he]&=-129}return a}function Nc(e,t){if(!(256&t[he])){const i=t[$n];i.destroyNode&&Ml(e,t,i,3,null,null),function zC(e){let t=e[gs];if(!t)return Sd(e[yn],e);for(;t;){let i=null;if(Xi(t))i=t[gs];else{const a=t[fi];a&&(i=a)}if(!i){for(;t&&!t[ae]&&t!==e;)Xi(t)&&Sd(t[yn],t),t=t[we];null===t&&(t=e),Xi(t)&&Sd(t[yn],t),i=t&&t[ae]}t=i}}(t)}}function Sd(e,t){if(!(256&t[he])){t[he]&=-129,t[he]|=256,t[Ar]&&T(t[Ar]),function YC(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let a=0;a=0?a[N]():a[-N].unsubscribe(),E+=2}else i[E].call(a[i[E+1]]);null!==a&&(t[gn]=null);const p=t[ts];if(null!==p){t[ts]=null;for(let E=0;E-1){const{encapsulation:E}=e.data[a.directiveStart+p];if(E===Zi.None||E===Zi.Emulated)return null}return ar(a,i)}}function zo(e,t,i,a,p){e.insertBefore(t,i,a,p)}function Bp(e,t,i){e.appendChild(t,i)}function $p(e,t,i,a,p){null!==a?zo(e,t,i,a,p):Bp(e,t,i)}function Fc(e,t){return e.parentNode(t)}function Vp(e,t,i){return Hp(e,t,i)}function jp(e,t,i){return 40&e.type?ar(e,i):null}let Ad,$c,Vc,Hp=jp;function zp(e,t){Hp=e,Ad=t}function Uc(e,t,i,a){const p=Td(e,a,t),E=t[$n],V=Vp(a.parent||t[je],a,t);if(null!=p)if(Array.isArray(i))for(let X=0;Xe,createScript:e=>e,createScriptURL:e=>e})}catch{}return $c}function Ia(e){return Od()?.createHTML(e)||e}function Qp(e,t,i){const a=rn(),p=sn(),E=ar(p,a);if(2===p.type&&"iframe"===t.toLowerCase()){const N=E;throw N.src="",N.srcdoc=Ia(""),Bc(a[$n],N),new jt(-910,!1)}return e}function Ld(){if(void 0===Vc&&(Vc=null,pe.trustedTypes))try{Vc=pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vc}function Xp(e){return Ld()?.createHTML(e)||e}function Jp(e){return Ld()?.createScript(e)||e}function qp(e){return Ld()?.createScriptURL(e)||e}class Wo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yt})`}}class iw extends Wo{getTypeName(){return"HTML"}}class rw extends Wo{getTypeName(){return"Style"}}class sw extends Wo{getTypeName(){return"Script"}}class ow extends Wo{getTypeName(){return"URL"}}class aw extends Wo{getTypeName(){return"ResourceURL"}}function oo(e){return e instanceof Wo?e.changingThisBreaksApplicationSecurity:e}function Sa(e,t){const i=e0(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${Yt})`)}return i===t}function e0(e){return e instanceof Wo&&e.getTypeName()||null}function lw(e){return new iw(e)}function cw(e){return new rw(e)}function uw(e){return new sw(e)}function dw(e){return new ow(e)}function hw(e){return new aw(e)}function t0(e){const t=new mw(e);return function pw(){try{return!!(new window.DOMParser).parseFromString(Ia(""),"text/html")}catch{return!1}}()?new fw(t):t}class fw{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Ia(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class mw{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Ia(t),i}}const gw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jc(e){return(e=String(e)).match(gw)?e:"unsafe:"+e}function ao(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Dl(...e){const t={};for(const i of e)for(const a in i)i.hasOwnProperty(a)&&(t[a]=!0);return t}const n0=ao("area,br,col,hr,img,wbr"),r0=ao("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),s0=ao("rp,rt"),Pd=Dl(n0,Dl(r0,ao("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")),Dl(s0,ao("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")),Dl(s0,r0)),Nd=ao("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),o0=Dl(Nd,ao("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"),ao("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")),_w=ao("script,style,template");class vw{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,a=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?a=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,a&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let p=this.checkClobberedElement(i,i.nextSibling);if(p){i=p;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Pd.hasOwnProperty(i))return this.sanitizedSomething=!0,!_w.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const a=t.attributes;for(let p=0;p"),!0}endElement(t){const i=t.nodeName.toLowerCase();Pd.hasOwnProperty(i)&&!n0.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(a0(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const bw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yw=/([^\#-~ |!])/g;function a0(e){return e.replace(/&/g,"&").replace(bw,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(yw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Hc;function l0(e,t){let i=null;try{Hc=Hc||t0(e);let a=t?String(t):"";i=Hc.getInertBodyElement(a);let p=5,E=a;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,a=E,E=i.innerHTML,i=Hc.getInertBodyElement(a)}while(a!==E);return Ia((new vw).sanitizeChildren(Fd(i)||i))}finally{if(i){const a=Fd(i)||i;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function Fd(e){return"content"in e&&function Cw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Go=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}(Go||{});function c0(e){const t=Il();return t?Xp(t.sanitize(Go.HTML,e)||""):Sa(e,"HTML")?Xp(oo(e)):l0(wo(),Ve(e))}function u0(e){const t=Il();return t?t.sanitize(Go.STYLE,e)||"":Sa(e,"Style")?oo(e):Ve(e)}function Ud(e){const t=Il();return t?t.sanitize(Go.URL,e)||"":Sa(e,"URL")?oo(e):jc(Ve(e))}function Bd(e){const t=Il();if(t)return qp(t.sanitize(Go.RESOURCE_URL,e)||"");if(Sa(e,"ResourceURL"))return qp(oo(e));throw new jt(904,!1)}function d0(e){const t=Il();if(t)return Jp(t.sanitize(Go.SCRIPT,e)||"");if(Sa(e,"Script"))return Jp(oo(e));throw new jt(905,!1)}function h0(e){return Ia(e[0])}function f0(e){return function nw(e){return Od()?.createScriptURL(e)||e}(e[0])}function m0(e,t,i){return function ww(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Bd:Ud}(t,i)(e)}function Il(){const e=rn();return e&&e[cr].sanitizer}class p0{}function xw(e){return e}function Ew(){const e=new Sl;return"browser"===Vn(gd)&&(e.store=function Mw(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(a){console.warn("Exception while restoring TransferState for app "+t,a)}return{}}(wo(),Vn(cp))),e}let Sl=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:Ew});get(i,a){return void 0!==this.store[i]?this.store[i]:a}set(i,a){this.store[i]=a}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,a){this.onSerializeCallbacks[i]=a}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(a){console.warn("Exception in onSerialize callback: ",a)}return JSON.stringify(this.store).replace(/null;function Dw(e,t,i=!1){let a=e.getAttribute(Al);if(null==a)return null;const[p,E]=a.split("|");if(a=i?E:p,!a)return null;const N=i?p:E?`|${E}`:"";let V={};if(""!==a){const fe=t.get(Sl,null,{optional:!0});null!==fe&&(V=fe.get(Gd,[])[Number(a)])}const X={data:V,firstChild:e.firstChild??null};return i&&(X.firstChild=e,Gc(X,0,e.nextSibling)),N?e.setAttribute(Al,N):e.removeAttribute(Al),X}function Kd(e,t,i=!1){return _0(e,t,i)}function v0(e){let t=e._lView;return 2===t[yn].type?null:(Ns(t)&&(t=t[Hn]),t)}function Gc(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function Yd(e,t){return e.segmentHeads?.[t]??null}function b0(e,t){return e.data[Tl]?.[t]??null}function Zd(e,t){const i=b0(e,t)??[];let a=0;for(let p of i)a+=p[Aa]*(p[zc]??1);return a}function Kc(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[Wc];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class y0{}class Yc{}class Ow{resolveComponentFactory(t){throw function Rw(e){const t=Error(`No component factory found for ${Re(e)}.`);return t.ngComponent=e,t}(t)}}let kl=(()=>{class e{static#e=this.NULL=new Ow}return e})();function Lw(){return ka(Pi(),rn())}function ka(e,t){return new Rl(ar(e,t))}let Rl=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=Lw}return e})();function Pw(e){return e instanceof Rl?e.nativeElement:e}class w0{}let Nw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Fw(){const e=rn(),i=xr(Pi().index,e);return(Xi(i)?i:e)[$n]}()}return e})(),x0=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>null})}return e})();const Zc={};function Uw(e){return"function"==typeof e&&void 0!==e[u]}function Bw(e,t){const i=function A(e){const t=Object.create(U);t.computation=e;const i=()=>{if(c(t),l(t),t.value===R)throw t.error;return t.value};return i[u]=t,i}(e);return t?.equal&&(i[u].equal=t.equal),i}function $w(e,t){const i=function $(e){const t=Object.create(Ge);t.value=e;const i=()=>(l(t),t.value);return i[u]=t,i}(e),a=i[u];return t?.equal&&(a.equal=t.equal),i.set=p=>te(a,p),i.update=p=>function ue(e,t){g()||ee(),te(e,t(e.value))}(a,p),i.asReadonly=Vw.bind(i),i}function Vw(){const e=this[u];if(void 0===e.readonlyFn){const t=()=>this();t[u]=e,e.readonlyFn=t}return e.readonlyFn}function jw(e){const t=v(null);try{return e()}finally{v(t)}}function Qc(e){return!!Qd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Qd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class E0{constructor(){}supports(t){return Qc(t)}create(t){return new M0(t)}}const Ww=(e,t)=>t;class M0{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ww}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,a=this._removalsHead,p=0,E=null;for(;i||a;){const N=!a||i&&i.currentIndex{N=this._trackByFn(p,V),null!==i&&Object.is(i.trackById,N)?(a&&(i=this._verifyReinsertion(i,V,N,p)),Object.is(i.item,V)||this._addIdentityChange(i,V)):(i=this._mismatch(i,V,N,p),a=!0),i=i._next,p++}),this.length=p;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,a,p){let E;return null===t?E=this._itTail:(E=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,E,p)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(a,p))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,E,p)):t=this._addAfter(new Gw(i,a),E,p),t}_verifyReinsertion(t,i,a,p){let E=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==E?t=this._reinsertAfter(E,t._prev,p):t.currentIndex!=p&&(t.currentIndex=p,this._addToMoves(t,p)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const p=t._prevRemoved,E=t._nextRemoved;return null===p?this._removalsHead=E:p._nextRemoved=E,null===E?this._removalsTail=p:E._prevRemoved=p,this._insertAfter(t,i,a),this._addToMoves(t,a),t}_moveAfter(t,i,a){return this._unlink(t),this._insertAfter(t,i,a),this._addToMoves(t,a),t}_addAfter(t,i,a){return this._insertAfter(t,i,a),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,a){const p=null===i?this._itHead:i._next;return t._next=p,t._prev=i,null===p?this._itTail=t:p._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new D0),this._linkedRecords.put(t),t.currentIndex=a,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,a=t._next;return null===i?this._itHead=a:i._next=a,null===a?this._itTail=i:a._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new D0),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Gw{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Kw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let a;for(a=this._head;null!==a;a=a._nextDup)if((null===i||i<=a.currentIndex)&&Object.is(a.trackById,t))return a;return null}remove(t){const i=t._prevDup,a=t._nextDup;return null===i?this._head=a:i._nextDup=a,null===a?this._tail=i:a._prevDup=i,null===this._head}}class D0{constructor(){this.map=new Map}put(t){const i=t.trackById;let a=this.map.get(i);a||(a=new Kw,this.map.set(i,a)),a.add(t)}get(t,i){const p=this.map.get(t);return p?p.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function I0(e,t,i){const a=e.previousIndex;if(null===a)return a;let p=0;return i&&a{if(i&&i.key===p)this._maybeAddToChanges(i,a),this._appendAfter=i,i=i._next;else{const E=this._getOrCreateRecordForKey(p,a);i=this._insertBeforeOrAppend(i,E)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let a=i;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const a=t._prev;return i._next=t,i._prev=a,t._prev=i,a&&(a._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const p=this._records.get(t);this._maybeAddToChanges(p,i);const E=p._prev,N=p._next;return E&&(E._next=N),N&&(N._prev=E),p._next=null,p._prev=null,p}const a=new Zw(t);return this._records.set(t,a),a.currentValue=i,this._addToAdditions(a),a}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(a=>i(t[a],a))}}class Zw{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function T0(){return new Xd([new E0])}let Xd=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:T0});constructor(i){this.factories=i}static create(i,a){if(null!=a){const p=a.factories.slice();i=i.concat(p)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||T0()),deps:[[e,new bc,new vc]]}}find(i){const a=this.factories.find(p=>p.supports(i));if(null!=a)return a;throw new jt(901,!1)}}return e})();function A0(){return new Jd([new S0])}let Jd=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:A0});constructor(i){this.factories=i}static create(i,a){if(a){const p=a.factories.slice();i=i.concat(p)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||A0()),deps:[[e,new bc,new vc]]}}find(i){const a=this.factories.find(p=>p.supports(i));if(a)return a;throw new jt(901,!1)}}return e})();function k0(e,t){const i=Qc(e),a=Qc(t);return i&&a?function Hw(e,t,i){const a=e[Symbol.iterator](),p=t[Symbol.iterator]();for(;;){const E=a.next(),N=p.next();if(E.done&&N.done)return!0;if(E.done||N.done||!i(E.value,N.value))return!1}}(e,t,k0):!(i||!e||"object"!=typeof e&&"function"!=typeof e||a||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Ol(e,t,i,a,p=!1){for(;null!==i;){const E=t[i.index];null!==E&&a.push(xi(E)),ir(E)&&R0(E,a);const N=i.type;if(8&N)Ol(e,t,i.child,a);else if(32&N){const V=Dd(i,t);let X;for(;X=V();)a.push(X)}else if(16&N){const V=Wp(t,i);if(Array.isArray(V))a.push(...V);else{const X=wl(t[Oi]);Ol(X[yn],X,V,a,!0)}}i=p?i.projectionNext:i.next}return a}function R0(e,t){for(let i=fi;i{Us(e.lView)},consumerOnSignalRead(){this.lView[Ar]=this}};function qd(e){return e.ngOriginalError}class Mo{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&qd(t);for(;i&&qd(i);)i=qd(i);return i||null}}const P0=new _t("",{providedIn:"root",factory:()=>Vn(Mo).handleError.bind(void 0)}),Ll=new _t(""),F0=new _t("",{providedIn:"root",factory:()=>!1}),si={};function V0(e){j0(mi(),rn(),Jn()+e,!1)}function j0(e,t,i,a){if(!a)if(3==(3&t[he])){const E=e.preOrderCheckHooks;null!==E&&Ni(t,E,i)}else{const E=e.preOrderHooks;null!==E&&gi(t,E,0,i)}Dn(i)}function Ra(e,t=vt.Default){const i=rn();return null===i?Ln(e,t):km(Pi(),i,Ne(e),t)}function H0(){throw new Error("invalid")}function Xc(e,t,i,a,p,E,N,V,X,fe,Le){const et=t.blueprint.slice();return et[Bi]=p,et[he]=204|a,(null!==fe||e&&2048&e[he])&&(et[he]|=2048),oa(et),et[we]=et[vs]=e,et[Sn]=i,et[cr]=N||e&&e[cr],et[$n]=V||e&&e[$n],et[Di]=X||e&&e[Di]||null,et[je]=E,et[Ms]=function AC(){return TC++}(),et[xt]=Le,et[cs]=fe,et[Oi]=2==t.type?e[Oi]:et,et}function Oa(e,t,i,a,p){let E=e.data[t];if(null===E)E=eh(e,t,i,a,p),function We(){return zn.lFrame.inI18n}()&&(E.flags|=32);else if(64&E.type){E.type=i,E.value=a,E.attrs=p;const N=so();E.injectorIndex=null===N?-1:N.injectorIndex}return ss(E,!0),E}function eh(e,t,i,a,p){const E=bo(),N=Uo(),X=e.data[t]=function hx(e,t,i,a,p,E){let N=t?t.injectorIndex:-1,V=0;return Ts()&&(V|=128),{type:i,index:a,insertBeforeIndex:null,injectorIndex:N,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:V,providerIndexes:0,value:p,attrs:E,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,N?E:E&&E.parent,i,t,a,p);return null===e.firstChild&&(e.firstChild=X),null!==E&&(N?null==E.child&&null!==X.parent&&(E.child=X):null===E.next&&(E.next=X,X.prev=E)),X}function Pl(e,t,i,a){if(0===i)return-1;const p=t.length;for(let E=0;EHn&&j0(e,t,Hn,!1),Ji(N?2:0,p),i(a,p)}finally{Dn(E),Ji(N?3:1,p)}}function th(e,t,i){if(Xs(t)){const a=v(null);try{const E=t.directiveEnd;for(let N=t.directiveStart;Nnull;function cx(e){xp(e)?Gp(e):function Tw(e){const t=wo(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(E){const N=function Sw(e){return e.textContent?.replace(/\s/gm,"")}(E);return"ngetn"===N||"ngtns"===N?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let a;const p=[];for(;a=i.nextNode();)p.push(a);for(const E of p)"ngetn"===E.textContent?E.replaceWith(t.createTextNode("")):E.remove()}(e)}function K0(e,t,i,a){for(let p in e)if(e.hasOwnProperty(p)){i=null===i?{}:i;const E=e[p];null===a?Y0(i,t,p,E):a.hasOwnProperty(p)&&Y0(i,t,a[p],E)}return i}function Y0(e,t,i,a){e.hasOwnProperty(i)?e[i].push(t,a):e[i]=[t,a]}function ms(e,t,i,a,p,E,N,V){const X=ar(t,i);let Le,fe=t.inputs;!V&&null!=fe&&(Le=fe[a])?(ch(e,i,Le,a,p),Zr(t)&&function px(e,t){const i=xr(t,e);16&i[he]||(i[he]|=64)}(i,t.index)):3&t.type&&(a=function mx(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(a),p=null!=N?N(p,t.value||"",a):p,E.setProperty(X,a,p))}function sh(e,t,i,a){if(vo()){const p=null===a?null:{"":-1},E=function Cx(e,t){const i=e.directiveRegistry;let a=null,p=null;if(i)for(let E=0;E0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(N)!=V&&N.push(V),N.push(i,a,E)}}(e,t,a,Pl(e,i,p.hostVars,si),p)}function zs(e,t,i,a,p,E){const N=ar(e,t);ah(t[$n],N,E,e.value,i,a,p)}function ah(e,t,i,a,p,E,N){if(null==E)e.removeAttribute(t,p,i);else{const V=null==N?Ve(E):N(E,a||"",p);e.setAttribute(t,p,V,i)}}function Ix(e,t,i,a,p,E){const N=E[t];if(null!==N)for(let V=0;V-1&&(xl(t,a),gc(i,a))}this._attachedToViewContainer=!1}Nc(this._lView[yn],this._lView)}onDestroy(t){Or(this._lView,t)}markForCheck(){Nl(this._cdRefInjectingView||this._lView)}detach(){this._lView[he]&=-129}reattach(){go(this._lView),this._lView[he]|=128}detectChanges(){this._lView[he]|=1024,uh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new jt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function HC(e,t){Ml(e,t,t[$n],2,null,null)}(this._lView[yn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new jt(902,!1);this._appRef=t,go(this._lView)}}let hh=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=og}return e})();function og(e){return function Px(e,t,i){if(Zr(e)&&!i){const a=xr(e.index,t);return new La(a,a)}return 47&e.type?new La(t[Oi],t):null}(Pi(),rn(),16==(16&e))}const Nx=[new S0],Ux=new Xd([new E0]),Bx=new Jd(Nx);let Fl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Vx;static#t=this.__NG_ENV_ID__=i=>i}return e})();class $x extends Fl{constructor(t){super(),this._lView=t}onDestroy(t){return Or(this._lView,t),()=>_o(this._lView,t)}}function Vx(){return new $x(rn())}function jx(e,t){if(null!==function s(){return f}())throw new jt(-602,!1)}const Hx=new _t("",{providedIn:"root",factory:()=>Vn(ag)});let ag=(()=>{class e{static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new zx})}return e})(),lg=(()=>{class e{constructor(){this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(i){const a=i.creationZone;this.queues.has(a)||this.queues.set(a,new Set);const p=this.queues.get(a);p.has(i)||(this.queuedEffectCount++,p.add(i))}flush(){for(;this.queuedEffectCount>0;)for(const[i,a]of this.queues)null===i?this.flushQueue(a):i.run(()=>this.flushQueue(a))}flushQueue(i){for(const a of i)i.delete(a),this.queuedEffectCount--,a.run()}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();class zx{constructor(){this.hasQueuedFlush=!1,this.delegate=new lg,this.flushTask=()=>{this.delegate.flush(),this.hasQueuedFlush=!1}}scheduleEffect(t){this.delegate.scheduleEffect(t),this.hasQueuedFlush||(queueMicrotask(this.flushTask),this.hasQueuedFlush=!0)}}class Wx{constructor(t,i,a,p,E,N){this.scheduler=t,this.effectFn=i,this.creationZone=a,this.errorHandler=E,this.watcher=function Ye(e,t,i){const a=Object.create(Et);i&&(a.consumerAllowSignalWrites=!0),a.fn=e,a.schedule=t;const p=X=>{a.cleanupFn=X};return a.ref={notify:()=>b(a),run:()=>{if(null===a.fn)return;if(function m(){return D}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(a.dirty=!1,a.hasRun&&!w(a))return;a.hasRun=!0;const X=C(a);try{a.cleanupFn(),a.cleanupFn=Ze,a.fn(p)}finally{x(a,X)}},cleanup:()=>a.cleanupFn(),destroy:()=>function N(X){(function E(X){return null===X.fn&&null===X.schedule})(X)||(T(X),X.cleanupFn(),X.fn=null,X.schedule=null,X.cleanupFn=Ze)}(a),[u]:a},a.ref}(V=>this.runEffect(V),()=>this.schedule(),N),this.unregisterOnDestroy=p?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(i){this.errorHandler?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function cg(e,t){!t?.injector&&Mc();const i=t?.injector??Vn(Cs),a=i.get(Mo,null,{optional:!0}),p=!0!==t?.manualCleanup?i.get(Fl):null,E=new Wx(i.get(Hx),e,typeof Zone>"u"?null:Zone.current,p,a,t?.allowSignalWrites??!1),N=i.get(hh,null,{optional:!0});return N&&8&N._lView[he]?(N._lView[Yr]??=[]).push(E.watcher.notify):E.watcher.notify(),E}const ug=new Set;function Do(e){ug.has(e)||(ug.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function fh(e){return t=>{setTimeout(e,void 0,t)}}const Ws=class Gx extends qe.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,a){let p=t,E=i||(()=>null),N=a;if(t&&"object"==typeof t){const X=t;p=X.next?.bind(X),E=X.error?.bind(X),N=X.complete?.bind(X)}this.__isAsync&&(E=fh(E),p&&(p=fh(p)),N&&(N=fh(N)));const V=super.subscribe({next:p,error:E,complete:N});return t instanceof Ee.w0&&t.add(V),V}};function dg(...e){}class br{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ws(!1),this.onMicrotaskEmpty=new Ws(!1),this.onStable=new Ws(!1),this.onError=new Ws(!1),typeof Zone>"u")throw new jt(908,!1);Zone.assertZonePatched();const p=this;p._nesting=0,p._outer=p._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(p._inner=p._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(p._inner=p._inner.fork(Zone.longStackTraceZoneSpec)),p.shouldCoalesceEventChangeDetection=!a&&i,p.shouldCoalesceRunChangeDetection=a,p.lastRequestAnimationFrameId=-1,p.nativeRequestAnimationFrame=function Kx(){const e="function"==typeof pe.requestAnimationFrame;let t=pe[e?"requestAnimationFrame":"setTimeout"],i=pe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const a=t[Zone.__symbol__("OriginalDelegate")];a&&(t=a);const p=i[Zone.__symbol__("OriginalDelegate")];p&&(i=p)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Qx(e){const t=()=>{!function Zx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ph(e),e.isCheckStableRunning=!0,mh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ph(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,a,p,E,N,V)=>{if(function Xx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(V))return i.invokeTask(p,E,N,V);try{return hg(e),i.invokeTask(p,E,N,V)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===E.type||e.shouldCoalesceRunChangeDetection)&&t(),fg(e)}},onInvoke:(i,a,p,E,N,V,X)=>{try{return hg(e),i.invoke(p,E,N,V,X)}finally{e.shouldCoalesceRunChangeDetection&&t(),fg(e)}},onHasTask:(i,a,p,E)=>{i.hasTask(p,E),a===p&&("microTask"==E.change?(e._hasPendingMicrotasks=E.microTask,ph(e),mh(e)):"macroTask"==E.change&&(e.hasPendingMacrotasks=E.macroTask))},onHandleError:(i,a,p,E)=>(i.handleError(p,E),e.runOutsideAngular(()=>e.onError.emit(E)),!1)})}(p)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!br.isInAngularZone())throw new jt(909,!1)}static assertNotInAngularZone(){if(br.isInAngularZone())throw new jt(909,!1)}run(t,i,a){return this._inner.run(t,i,a)}runTask(t,i,a,p){const E=this._inner,N=E.scheduleEventTask("NgZoneEvent: "+p,t,Yx,dg,dg);try{return E.runTask(N,i,a)}finally{E.cancelTask(N)}}runGuarded(t,i,a){return this._inner.runGuarded(t,i,a)}runOutsideAngular(t){return this._outer.run(t)}}const Yx={};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 ph(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function hg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fg(e){e._nesting--,mh(e)}class mg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ws,this.onMicrotaskEmpty=new Ws,this.onStable=new Ws,this.onError=new Ws}run(t,i,a){return t.apply(i,a)}runGuarded(t,i,a){return t.apply(i,a)}runOutsideAngular(t){return t()}runTask(t,i,a,p){return t.apply(i,a)}}var Io=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Io||{});const pg={destroy(){}};function gh(e,t){const i=t?.injector??Vn(Cs);xo(i)&&i.get(Ul).internalCallbacks.push(e)}function gg(e,t){!t&&Mc();const i=t?.injector??Vn(Cs);if(!xo(i))return pg;Do("NgAfterRender");const a=i.get(Ul),p=a.handler??=new bg,E=t?.phase??Io.MixedReadWrite,N=()=>{p.unregister(X),V()},V=i.get(Fl).onDestroy(N),X=new vg(i,E,e);return p.register(X),{destroy:N}}function _g(e,t){!t&&Mc();const i=t?.injector??Vn(Cs);if(!xo(i))return pg;Do("NgAfterNextRender");const a=i.get(Ul),p=a.handler??=new bg,E=t?.phase??Io.MixedReadWrite,N=()=>{p.unregister(X),V()},V=i.get(Fl).onDestroy(N),X=new vg(i,E,()=>{N(),e()});return p.register(X),{destroy:N}}class vg{constructor(t,i,a){this.phase=i,this.callbackFn=a,this.zone=t.get(br),this.errorHandler=t.get(Mo,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class bg{constructor(){this.executingCallbacks=!1,this.buckets={[Io.EarlyRead]:new Set,[Io.Write]:new Set,[Io.MixedReadWrite]:new Set,[Io.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new jt(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ul=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const i of this.internalCallbacks)i();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();function qx(e,t){const i=xr(t,e),a=i[yn];!function eE(e,t){for(let i=t.length;i0&&Yp(e,i,E.join(" "))}}(Mt,Si,Jt,a),void 0!==i&&function cE(e,t,i){const a=e.projection=[];for(let p=0;p=0;a--){const p=e[a];p.hostVars=t+=p.hostVars,p.hostAttrs=Tr(p.hostAttrs,i=Tr(i,p.hostAttrs))}}(a)}function tu(e){return e===or?{}:e===oi?[]:e}function dE(e,t){const i=e.viewQuery;e.viewQuery=i?(a,p)=>{t(a,p),i(a,p)}:t}function hE(e,t){const i=e.contentQueries;e.contentQueries=i?(a,p,E)=>{t(a,p,E),i(a,p,E)}:t}function fE(e,t){const i=e.hostBindings;e.hostBindings=i?(a,p)=>{t(a,p),i(a,p)}:t}const mE=["providersResolver"],pE=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Mg(e){let i,t=Eg(e.type);i=Nr(e)?t.\u0275cmp:t.\u0275dir;const a=e;for(const p of mE)a[p]=i[p];if(Nr(i))for(const p of pE)a[p]=i[p]}function Dg(e){const t=i=>{const a=(Array.isArray(e)?e:e()).map(p=>"function"==typeof p?{directive:Ne(p),inputs:or,outputs:or}:{directive:Ne(p.directive),inputs:Sg(p.inputs),outputs:Sg(p.outputs)});null===i.hostDirectives?(i.findHostDirectiveDefs=Ig,i.hostDirectives=a):i.hostDirectives.unshift(...a)};return t.ngInherit=!0,t}function Ig(e,t,i){if(null!==e.hostDirectives)for(const a of e.hostDirectives){const p=wi(a.directive);gE(p.declaredInputs,a.inputs),Ig(p,t,i),i.set(p,a),t.push(p)}}function Sg(e){if(void 0===e||0===e.length)return or;const t={};for(let i=0;i>17&32767}function Th(e){return 2|e}function Yo(e){return(131068&e)>>2}function Ah(e,t){return-131069&e|t<<2}function kh(e){return 1|e}function kg(e,t,i,a,p){const E=e[i+1],N=null===t;let V=a?So(E):Yo(E),X=!1;for(;0!==V&&(!1===X||N);){const Le=e[V+1];wE(e[V],t)&&(X=!0,e[V+1]=a?kh(Le):Th(Le)),V=a?So(Le):Yo(Le)}X&&(e[i+1]=a?Th(E):kh(E))}function wE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ya(e,t)>=0}const Dr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Rg(e){return e.substring(Dr.key,Dr.keyEnd)}function xE(e){return e.substring(Dr.value,Dr.valueEnd)}function Og(e,t){const i=Dr.textEnd;return i===t?-1:(t=Dr.keyEnd=function DE(e,t,i){for(;t32;)t++;return t}(e,Dr.key=t,i),Wa(e,t,i))}function Lg(e,t){const i=Dr.textEnd;let a=Dr.key=Wa(e,t,i);return i===a?-1:(a=Dr.keyEnd=function IE(e,t,i){let a;for(;t=65&&(-33&a)<=90||a>=48&&a<=57);)t++;return t}(e,a,i),a=Ng(e,a,i),a=Dr.value=Wa(e,a,i),a=Dr.valueEnd=function SE(e,t,i){let a=-1,p=-1,E=-1,N=t,V=N;for(;N32&&(V=N),E=p,p=a,a=-33&X}return V}(e,a,i),Ng(e,a,i))}function Pg(e){Dr.key=0,Dr.keyEnd=0,Dr.value=0,Dr.valueEnd=0,Dr.textEnd=e.length}function Wa(e,t,i){for(;t=0;i=Lg(t,i))Vg(e,Rg(t),xE(t))}function Ug(e){Os(PE,Ks,e,!0)}function Ks(e,t){for(let i=function EE(e){return Pg(e),Og(e,Wa(e,0,Dr.textEnd))}(t);i>=0;i=Og(t,i))hs(e,Rg(t),!0)}function Rs(e,t,i,a){const p=rn(),E=mi(),N=be(2);E.firstUpdatePass&&$g(E,e,N,a),t!==si&&yr(p,N,t)&&jg(E,E.data[Jn()],p,p[$n],e,p[N+1]=function FE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Re(oo(e)))),e}(t,i),a,N)}function Os(e,t,i,a){const p=mi(),E=be(2);p.firstUpdatePass&&$g(p,null,E,a);const N=rn();if(i!==si&&yr(N,E,i)){const V=p.data[Jn()];if(zg(V,a)&&!Bg(p,E)){let X=a?V.classesWithoutHost:V.stylesWithoutHost;null!==X&&(i=ke(X,i||"")),Oh(p,V,N,i,a)}else!function NE(e,t,i,a,p,E,N,V){p===si&&(p=oi);let X=0,fe=0,Le=0=e.expandoStartIndex}function $g(e,t,i,a){const p=e.data;if(null===p[i+1]){const E=p[Jn()],N=Bg(e,i);zg(E,a)&&null===t&&!N&&(t=!1),t=function AE(e,t,i,a){const p=ni(e);let E=a?t.residualClasses:t.residualStyles;if(null===p)0===(a?t.classBindings:t.styleBindings)&&(i=$l(i=Nh(null,e,t,i,a),t.attrs,a),E=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==p)if(i=Nh(p,e,t,i,a),null===E){let X=function kE(e,t,i){const a=i?t.classBindings:t.styleBindings;if(0!==Yo(a))return e[So(a)]}(e,t,a);void 0!==X&&Array.isArray(X)&&(X=Nh(null,e,t,X[1],a),X=$l(X,t.attrs,a),function RE(e,t,i,a){e[So(i?t.classBindings:t.styleBindings)]=a}(e,t,a,X))}else E=function OE(e,t,i){let a;const p=t.directiveEnd;for(let E=1+t.directiveStylingLast;E0)&&(fe=!0)):Le=i,p)if(0!==X){const Mt=So(e[V+1]);e[a+1]=iu(Mt,V),0!==Mt&&(e[Mt+1]=Ah(e[Mt+1],a)),e[V+1]=function vE(e,t){return 131071&e|t<<17}(e[V+1],a)}else e[a+1]=iu(V,0),0!==V&&(e[V+1]=Ah(e[V+1],a)),V=a;else e[a+1]=iu(X,0),0===V?V=a:e[X+1]=Ah(e[X+1],a),X=a;fe&&(e[a+1]=Th(e[a+1])),kg(e,Le,a,!0),kg(e,Le,a,!1),function CE(e,t,i,a,p){const E=p?e.residualClasses:e.residualStyles;null!=E&&"string"==typeof t&&ya(E,t)>=0&&(i[a+1]=kh(i[a+1]))}(t,Le,e,a,E),N=iu(V,X),E?t.classBindings=N:t.styleBindings=N}(p,E,t,i,N,a)}}function Nh(e,t,i,a,p){let E=null;const N=i.directiveEnd;let V=i.directiveStylingLast;for(-1===V?V=i.directiveStart:V++;V0;){const X=e[p],fe=Array.isArray(X),Le=fe?X[1]:X,et=null===Le;let Mt=i[p+1];Mt===si&&(Mt=et?oi:void 0);let Rt=et?td(Mt,a):Le===a?Mt:void 0;if(fe&&!ru(Rt)&&(Rt=td(X,a)),ru(Rt)&&(V=Rt,N))return V;const Jt=e[p+1];p=N?So(Jt):Yo(Jt)}if(null!==t){let X=E?t.residualClasses:t.residualStyles;null!=X&&(V=td(X,a))}return V}function ru(e){return void 0!==e}function zg(e,t){return 0!=(e.flags&(t?8:16))}function Wg(e,t,i){Os(hs,Ks,Fa(rn(),e,t,i),!0)}function Gg(e,t,i,a,p){Os(hs,Ks,Ua(rn(),e,t,i,a,p),!0)}function Kg(e,t,i,a,p,E,N){Os(hs,Ks,Ba(rn(),e,t,i,a,p,E,N),!0)}function Yg(e,t,i,a,p,E,N,V,X){Os(hs,Ks,$a(rn(),e,t,i,a,p,E,N,V,X),!0)}function Zg(e,t,i,a,p,E,N,V,X,fe,Le){Os(hs,Ks,Va(rn(),e,t,i,a,p,E,N,V,X,fe,Le),!0)}function Qg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){Os(hs,Ks,ja(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt),!0)}function Xg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){Os(hs,Ks,Ha(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt),!0)}function Jg(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){Os(hs,Ks,za(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn),!0)}function qg(e){Os(hs,Ks,Na(rn(),e),!0)}function e_(){return rn()[Oi][Sn]}const Fh="<-- AT THIS LOCATION";function VE(e){const a=`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 su(e){const t=" ";let i="";const a=e;return a.previousSibling&&(i+=" \u2026\n",i+=t+Vl(a.previousSibling)+"\n"),i+=t+Vl(a)+` ${Fh}\n`,e.nextSibling&&(i+=" \u2026\n"),e.parentNode&&(i=Vl(a.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 jt(-503,a)}const HE=new Set(["ngh","ng-version","ng-server-context"]);function Uh(e,t="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const a=function jE(e){const t=[];if(e.attrs)for(let i=0;i${t}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function UE(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 Vl(e,t="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const a=i.tagName.toLowerCase(),p=function zE(e){const t=[];for(let i=0;i${t}`;case Node.TEXT_NODE:const E=i.textContent?Hl(i.textContent):"";return"#text"+(E?`(${E})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Hl(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function Hl(e,t=50){return e?(e=function WE(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}function i_(e){const t=e[Vr]??[],a=e[we][$n];for(const p of t)GE(p,a);e[Vr]=oi}function GE(e,t){let i=0,a=e.firstChild;if(a){const p=e.data[Aa];for(;i0&&i[p-1]===a?i[p]=(i[p]||1)+1:i.push(a,"")}return i.join("")}(i,a)}function tM(e,t){let a,p,E,i=e.parent;for(;null!==i&&zl(i,t);)i=i.parent;null!==i&&3&i.type?(a=i.index,p=xi(t[a]),E=Ve(a-Hn)):(a=E=$d,p=t[Oi][Bi]);let N=xi(t[e.index]);if(12&e.type){const X=El(t,e);X&&(N=X)}let V=s_(p,N,E);if(null===V&&p!==N&&(V=s_(p.ownerDocument.body,N,Vd),null===V))throw function $E(e,t){const a=`${function Bh(e,t,i){const a=" ";let p="";t.prev?(p+=" \u2026\n",p+=a+Uh(t.prev)+"\n"):t.type&&12&t.type&&(p+=" \u2026\n"),i?(p+=a+Uh(t)+"\n",p+=a+`\x3c!-- container --\x3e ${Fh}\n`):p+=a+Uh(t)+` ${Fh}\n`,p+=" \u2026\n";const E=t.type?Td(e[yn],t,e):null;return E&&(p=Vl(E,"\n"+p)),p}(e,t,!1)}\n\n`,p=function jl(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 jt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+a+p)}(t,e);return V}let o_=(e,t)=>null;function iM(e,t){const i=e[Vr];return t&&null!==i&&0!==i.length?i[0].data[zd]===t?i.shift():(i_(e),null):null}function Ga(e,t){return o_(e,t)}class sM{destroy(t){}updateValue(t,i){}swap(t,i){const a=Math.min(t,i),p=Math.max(t,i),E=this.detach(p);if(p-a>1){const N=this.detach(a);this.attach(a,E),this.attach(p,N)}else this.attach(a,E)}move(t,i){this.attach(i,this.detach(t))}}function jh(e,t,i,a,p){return e===i&&Object.is(t,a)?1:Object.is(p(e,t),p(i,a))?-1:0}function Hh(e,t,i,a){return!(void 0===t||!t.has(a)||(e.attach(i,t.get(a)),t.delete(a),0))}function a_(e,t,i,a,p){if(Hh(e,t,a,i(a,p)))e.updateValue(a,p);else{const E=e.create(a,p);e.attach(a,E)}}function l_(e,t,i,a){const p=new Set;for(let E=t;E<=i;E++)p.add(a(E,e.at(E)));return p}class c_{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const i=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(t,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,i){if(this.kvMap.has(t)){let a=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(a);)a=p.get(a);p.set(a,i)}else this.kvMap.set(t,i)}forEach(t){for(let[i,a]of this.kvMap)if(t(a,i),void 0!==this._vMap){const p=this._vMap;for(;p.has(a);)a=p.get(a),t(a,i)}}}function Wl(e,t,i,a){const p=t.tView,V=Xc(e,p,i,4096&e[he]?4096:16,null,t,null,null,null,a?.injector??null,a?.dehydratedView??null);V[bs]=e[t.index];const fe=e[Kr];return null!==fe&&(V[Kr]=fe.createEmbeddedView(p)),_h(p,V,i),V}function u_(e,t){const i=fi+t;if(i0&&(i[p-1][ae]=t),a{class e{static#e=this.__NG_ELEMENT_ID__=aM}return e})();function aM(){return f_(Pi(),rn())}const lM=cu,d_=class extends lM{constructor(t,i,a){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=a}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new Er(this._hostTNode,this._hostLView)}get parentInjector(){const t=mc(this._hostTNode,this._hostLView);if(Ku(t)){const i=fl(t,this._hostLView),a=hl(t);return new Er(i[yn].data[a+8],i)}return new Er(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=h_(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-fi}createEmbeddedView(t,i,a){let p,E;"number"==typeof a?p=a:null!=a&&(p=a.index,E=a.injector);const N=Ga(this._lContainer,t.ssrId),V=t.createEmbeddedViewImpl(i||{},E,N);return this.insertImpl(V,p,Ka(this._hostTNode,N)),V}createComponent(t,i,a,p,E){const N=t&&!gl(t);let V;if(N)V=i;else{const Jt=i||{};V=Jt.index,a=Jt.injector,p=Jt.projectableNodes,E=Jt.environmentInjector||Jt.ngModuleRef}const X=N?t:new Pa(ti(t)),fe=a||this.parentInjector;if(!E&&null==X.ngModule){const mn=(N?fe:this.parentInjector).get(Hs,null);mn&&(E=mn)}const Le=ti(X.componentType??{}),et=Ga(this._lContainer,Le?.id??null),Rt=X.create(fe,p,et?.firstChild??null,E);return this.insertImpl(Rt.hostView,V,Ka(this._hostTNode,et)),Rt}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,a){const p=t._lView;if(function sa(e){return ir(e[we])}(p)){const V=this.indexOf(t);if(-1!==V)this.detach(V);else{const X=p[we],fe=new d_(X,X[je],X[we]);fe.detach(fe.indexOf(t))}}const E=this._adjustIndex(i),N=this._lContainer;return Gl(N,p,E,a),t.attachToViewContainerRef(),$m(Wh(N),E,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=h_(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),a=xl(this._lContainer,i);a&&(gc(Wh(this._lContainer),i),Nc(a[yn],a))}detach(t){const i=this._adjustIndex(t,-1),a=xl(this._lContainer,i);return a&&null!=gc(Wh(this._lContainer),i)?new La(a):null}_adjustIndex(t,i=0){return t??this.length+i}};function h_(e){return e[8]}function Wh(e){return e[8]||(e[8]=[])}function f_(e,t){let i;const a=t[e.index];return ir(a)?i=a:(i=J0(a,t,null,e),t[e.index]=i,Jc(t,i)),m_(i,t,e,a),new d_(i,e,t)}let m_=g_,Gh=(e,t,i)=>!1;function p_(e,t,i){return Gh(e,t,i)}function g_(e,t,i,a){if(e[nr])return;let p;p=8&i.type?xi(a):function cM(e,t){const i=e[$n],a=i.createComment(""),p=ar(t,e);return zo(i,Fc(i,p),a,function QC(e,t){return e.nextSibling(t)}(i,p),!1),a}(t,i),e[nr]=p}function uM(e,t,i){if(e[nr]&&e[Vr])return!0;const a=i[xt],p=t.index-Hn;if(!a||Rc(t)||Kc(a,p))return!1;const N=Yd(a,p),V=a.data[Tl]?.[p],[X,fe]=function nM(e,t){const i=[];for(const a of t)for(let p=0;p<(a[zc]??1);p++){const E={data:a,firstChild:null};a[Aa]>0&&(E.firstChild=e,e=lu(a[Aa],e)),i.push(E)}return[e,i]}(N,V);return e[nr]=X,e[Vr]=fe,!0}function dM(e,t,i,a){Gh(e,i,t)||g_(e,t,i,a)}function Ya(e,t,i,a,p,E,N,V){const X=rn(),fe=mi(),Le=e+Hn,et=fe.firstCreatePass?function fM(e,t,i,a,p,E,N,V,X){const fe=t.consts,Le=Oa(t,e,4,N||null,rr(fe,V));sh(t,i,Le,rr(fe,X)),jn(t,Le);const et=Le.tView=rh(2,Le,a,p,E,t.directiveRegistry,t.pipeRegistry,null,t.schemas,fe,null);return null!==t.queries&&(t.queries.template(t,Le),et.queries=t.queries.embeddedTView(Le)),Le}(Le,fe,X,t,i,a,p,E,N):fe.data[Le];ss(et,!1);const Mt=__(fe,X,et,e);In()&&Uc(fe,X,Mt,et),Hr(Mt,X);const Rt=J0(Mt,X,Mt,et);return X[Le]=Rt,Jc(X,Rt),p_(Rt,et,X),Ps(et)&&nh(fe,X,et),null!=N&&ih(X,et,V),Ya}let __=v_;function v_(e,t,i,a){return hi(!0),t[$n].createComment("")}function mM(e,t,i,a){const p=t[xt],E=!p||Ts()||Kc(p,a);if(hi(E),E)return v_(0,t);const N=p.data[Hd]?.[a]??null;null!==N&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=N);const V=au(p,e,t,i);return Gc(p,a,V),lu(Zd(p,a),V)}function b_(e,t,i){Do("NgControlFlow");const a=rn(),p=re(),E=Kh(a,Hn+e);if(yr(a,p,t)){const V=v(null);try{if(zh(E,0),-1!==t){const X=Yh(a[yn],Hn+t),fe=Ga(E,X.tView.ssrId);Gl(E,Wl(a,X,i,{dehydratedView:fe}),0,Ka(X,fe))}}finally{v(V)}}else{const V=u_(E,0);void 0!==V&&(V[Sn]=i)}}class gM{constructor(t,i,a){this.lContainer=t,this.$implicit=i,this.$index=a}get $count(){return this.lContainer.length-fi}}function y_(e){return e}function C_(e,t){return t}class _M{constructor(t,i,a){this.hasEmptyBlock=t,this.trackByFn=i,this.liveCollection=a}}function w_(e,t,i,a,p,E,N,V,X,fe,Le){Do("NgControlFlow");const et=void 0!==X,Mt=rn(),Rt=V?N.bind(Mt[Oi][Sn]):N,Jt=new _M(et,Rt);Mt[Hn+e]=Jt,Ya(e+1,t,i,a,p,E),et&&Ya(e+2,X,fe,Le)}class vM extends sM{constructor(t,i,a){super(),this.lContainer=t,this.hostLView=i,this.templateTNode=a,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-fi}at(t){return this.getLView(t)[Sn].$implicit}attach(t,i){const a=i[xt];this.needsIndexUpdate||=t!==this.length,Gl(this.lContainer,i,t,Ka(this.templateTNode,a))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function bM(e,t){return xl(e,t)}(this.lContainer,t)}create(t,i){const a=Ga(this.lContainer,this.templateTNode.tView.ssrId);return Wl(this.hostLView,this.templateTNode,new gM(this.lContainer,i,t),{dehydratedView:a})}destroy(t){Nc(t[yn],t)}updateValue(t,i){this.getLView(t)[Sn].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(V)})}(N,e,E.trackByFn),N.updateIndexes(),E.hasEmptyBlock){const V=re(),X=0===N.length;if(yr(a,V,X)){const fe=i+2,Le=Kh(a,fe);if(X){const et=Yh(p,fe),Mt=Ga(Le,et.tView.ssrId);Gl(Le,Wl(a,et,void 0,{dehydratedView:Mt}),0,Ka(et,Mt))}else zh(Le,0)}}}finally{v(t)}}function Kh(e,t){return e[t]}function Yh(e,t){return no(e,t)}var dr=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}(dr||{});const E_=0,CM=1;var hr=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(hr||{}),Kl=function(e){return e[e.Initial=-1]="Initial",e}(Kl||{});const Za=0,uu=1,Yl=2,du=3,M_=4,D_=5;var Zh=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Zh||{});function hu(e,t,i){const a=1===e?D_:M_;null===t[a]&&(t[a]=[]),t[a].push(i)}function Qh(e,t){const i=1===e?D_:M_,a=t[i];if(null!==a){for(const p of a)p();t[i]=null}}function I_(e){Qh(1,e),Qh(0,e)}function fu(e){return e+1}function Zo(e,t){return e[fu(t.index)]}function xs(e,t){const i=fu(t.index);return e.data[i]}function Xh(e,t){return t===hr.Placeholder?e.placeholderBlockConfig?.[E_]??null:t===hr.Loading?e.loadingBlockConfig?.[E_]??null:null}function S_(e){return e.loadingBlockConfig?.[CM]??null}function T_(e,t){if(!e||0===e.length)return t;const i=new Set(e);for(const a of t)i.add(a);return e.length===i.size?e:Array.from(i)}function DM(e){return null!==e&&"object"==typeof e&&"number"==typeof e.primaryTmplIndex}const mu={passive:!0,capture:!0},Jh=new WeakMap,qh=new WeakMap,Qa=new WeakMap,A_=["click","keydown"],k_=["mouseenter","focusin"];let Xa=null,ef=0;class tf{constructor(){this.callbacks=new Set,this.listener=()=>{for(const t of this.callbacks)t()}}}function R_(e,t){let i=qh.get(e);if(!i){i=new tf,qh.set(e,i);for(const a of A_)e.addEventListener(a,i.listener,mu)}return i.callbacks.add(t),()=>{const{callbacks:a,listener:p}=i;if(a.delete(t),0===a.size){qh.delete(e);for(const E of A_)e.removeEventListener(E,p,mu)}}}function O_(e,t){let i=Jh.get(e);if(!i){i=new tf,Jh.set(e,i);for(const a of k_)e.addEventListener(a,i.listener,mu)}return i.callbacks.add(t),()=>{const{callbacks:a,listener:p}=i;if(a.delete(t),0===a.size){for(const E of k_)e.removeEventListener(E,p,mu);Jh.delete(e)}}}function L_(e,t,i){const a=i.get(br);let p=Qa.get(e);return Xa=Xa||a.runOutsideAngular(()=>new IntersectionObserver(E=>{for(const N of E)N.isIntersecting&&Qa.has(N.target)&&a.run(Qa.get(N.target).listener)})),p||(p=new tf,a.runOutsideAngular(()=>Xa.observe(e)),Qa.set(e,p),ef++),p.callbacks.add(t),()=>{Qa.has(e)&&(p.callbacks.delete(t),0===p.callbacks.size&&(Xa?.unobserve(e),Qa.delete(e),ef--),0===ef&&(Xa?.disconnect(),Xa=null))}}function Ja(e,t,i,a,p,E,N){const V=e[Di];gh(function X(){if(qs(e))return;const fe=Zo(e,t),Le=fe[uu];if(Le!==Kl.Initial&&Le!==hr.Placeholder)return;const et=function IM(e,t,i){return null==i?e:i>=0?aa(i,e):e[t.index][fi]??null}(e,t,a);if(!et)return void gh(X,{injector:V});if(qs(et))return;const Mt=function SM(e,t){return to(Hn+t,e)}(et,i),Rt=p(Mt,()=>{e!==et&&_o(et,Rt),E()},V);e!==et&&Or(et,Rt),hu(N,fe,Rt)},{injector:V})}function P_(e,t){const a=t[Di].get(kM);return a.add(e),()=>a.remove(e)}let kM=(()=>{class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=Vn(br),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:a,deferred:p}=this;a.delete(i),p.delete(i),0===a.size&&0===p.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const i=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const a of this.current)a();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const a of this.deferred)this.current.add(a);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=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();function N_(e){return(t,i)=>F_(e,t,i)}function F_(e,t,i){const p=i[Di].get(RM);return p.add(e,t),()=>p.remove(t)}let RM=(()=>{class e{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(i,a){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+i,a),this.scheduleTimer()}remove(i){const{current:a,deferred:p}=this;-1===this.removeFromQueue(a,i)&&this.removeFromQueue(p,i),0===a.length&&0===p.length&&this.clearTimeout()}addToQueue(i,a,p){let E=i.length;for(let N=0;Na){E=N;break}Vm(i,E,a,p)}removeFromQueue(i,a){let p=-1;for(let E=0;E-1&&ed(i,p,2),p}scheduleTimer(){const i=()=>{this.clearTimeout(),this.executingCallbacks=!0;const p=[...this.current],E=Date.now();for(let V=0;V=0&&ed(this.current,0,N+1),this.executingCallbacks=!1,this.deferred.length>0){for(let V=0;V0){const p=Date.now(),E=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-E>16){this.clearTimeout();const N=Math.max(E-p,16);this.invokeTimerAt=E,this.timeoutId=setTimeout(i,N)}}}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=Yn({token:e,providedIn:"root",factory:()=>new e})}return e})();const OM=new _t("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),U_=new _t("");function B_(e){return e.get(U_,null,{optional:!0})?.behavior!==Zh.Manual&&xo(e)}let nf=null;function $_(e,t,i,a){const p=e.consts;null!=i&&(t.placeholderBlockConfig=rr(p,i)),null!=a&&(t.loadingBlockConfig=rr(p,a)),null===nf&&(nf=LM)}function V_(e,t,i,a,p,E,N,V,X){const fe=rn(),Le=mi(),et=e+Hn;if(Ya(e,null,0,0),Le.firstCreatePass){Do("NgDefer");const Cn={primaryTmplIndex:t,loadingTmplIndex:a??null,placeholderTmplIndex:p??null,errorTmplIndex:E??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:dr.NOT_STARTED,loadingPromise:null};X?.(Le,Cn,V,N),function xM(e,t,i){const a=fu(t);e.data[a]=i}(Le,et,Cn)}const Mt=Pi();p_(fe[et],Mt,fe);const Jt=[null,Kl.Initial,null,null,null,null];!function wM(e,t,i){e[fu(t)]=i}(fe,et,Jt);const mn=()=>I_(Jt);hu(0,Jt,()=>_o(fe,mn)),Or(fe,mn)}function j_(e){const t=rn();if(yr(t,re(),e)){const a=v(null);try{const p=!!e,E=sn(),V=Zo(t,E)[uu];!1===p&&V===Kl.Initial?qa(t,E):!0===p&&(V===Kl.Initial||V===hr.Placeholder)&&el(t,E)}finally{v(a)}}}function H_(e){const t=rn();if(yr(t,re(),e)){const a=v(null);try{const p=!!e,E=t[yn],N=sn(),V=xs(E,N);!0===p&&V.loadingState===dr.NOT_STARTED&&Zl(V,t,N)}finally{v(a)}}}function z_(){nv(P_)}function W_(){iv(P_)}function G_(){const e=rn(),t=Pi();null===xs(e[yn],t).loadingTmplIndex&&qa(e,t),el(e,t)}function K_(){const e=rn(),t=Pi(),a=xs(e[yn],t);a.loadingState===dr.NOT_STARTED&&pu(a,e,t)}function Y_(e){nv(N_(e))}function Z_(e){iv(N_(e))}function Q_(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,O_,()=>el(i,a),0)}function X_(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,O_,()=>Zl(E,i,a),1)}function J_(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,R_,()=>el(i,a),0)}function q_(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,R_,()=>Zl(E,i,a),1)}function ev(e,t){const i=rn(),a=Pi();qa(i,a),Ja(i,a,e,t,L_,()=>el(i,a),0)}function tv(e,t){const i=rn(),a=Pi(),E=xs(i[yn],a);E.loadingState===dr.NOT_STARTED&&Ja(i,a,e,t,L_,()=>Zl(E,i,a),1)}function nv(e){const t=rn(),i=Pi();qa(t,i);const a=e(()=>el(t,i),t);hu(0,Zo(t,i),a)}function iv(e){const t=rn(),i=Pi(),p=xs(t[yn],i);p.loadingState===dr.NOT_STARTED&&hu(1,Zo(t,i),e(()=>Zl(p,t,i),t))}function co(e,t,i,a=!1){const p=i[we],E=p[yn];if(qs(p))return;const N=Zo(p,t);if(ov(N[uu],e)&&ov(N[Za]??-1,e)){const X=xs(E,t),Le=a||null===S_(X)&&null===Xh(X,hr.Loading)&&!Xh(X,hr.Placeholder)?rv:nf;try{Le(e,N,i,t,p)}catch(et){qc(p,et)}}}function rv(e,t,i,a,p){const E=function EM(e,t,i){const p=xs(t[yn],i);switch(e){case hr.Complete:return p.primaryTmplIndex;case hr.Loading:return p.loadingTmplIndex;case hr.Error:return p.errorTmplIndex;case hr.Placeholder:return p.placeholderTmplIndex;default:return null}}(e,p,a);if(null!==E){t[uu]=e;const X=no(p[yn],E+Hn),fe=0;zh(i,fe);const Le=Ga(i,X.tView.ssrId),et=Wl(p,X,null,{dehydratedView:Le});Gl(i,et,fe,Ka(X,Le)),Nl(et)}}function LM(e,t,i,a,p){const E=Date.now(),V=xs(p[yn],a);if(null===t[Yl]||t[Yl]<=E){t[Yl]=null;const X=S_(V),fe=null!==t[du];if(e!==hr.Loading||null===X||fe){e>hr.Loading&&fe&&(t[du](),t[du]=null,t[Za]=null),rv(e,t,i,a,p);const Le=Xh(V,e);null!==Le&&(t[Yl]=E+Le,sv(Le,t,a,i,p))}else{t[Za]=e;const Le=sv(X,t,a,i,p);t[du]=Le}}else t[Za]=e}function sv(e,t,i,a,p){return F_(e,()=>{const N=t[Za];t[Yl]=null,t[Za]=null,null!==N&&co(N,i,a)},p)}function ov(e,t){return e{let fe=!1;const Le=[],et=[];for(const Mt of X){if("fulfilled"!==Mt.status){fe=!0;break}{const Rt=Mt.value,Jt=ti(Rt)||wi(Rt);if(Jt)Le.push(Jt);else{const mn=Ri(Rt);mn&&et.push(mn)}}}if(e.loadingPromise=null,fe){if(e.loadingState=dr.FAILED,null===e.errorTmplIndex){Cd(t);const Rt=new jt(750,!1);qc(t,Rt)}}else{e.loadingState=dr.COMPLETE;const Mt=N.tView;Le.length>0&&(Mt.directiveRegistry=T_(Mt.directiveRegistry,Le)),et.length>0&&(Mt.pipeRegistry=T_(Mt.pipeRegistry,et))}}):Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=dr.COMPLETE})}function qa(e,t){co(hr.Placeholder,t,e[t.index])}function av(e,t,i){e.loadingPromise.then(()=>{e.loadingState===dr.COMPLETE?co(hr.Complete,t,i):e.loadingState===dr.FAILED&&co(hr.Error,t,i)})}function el(e,t){const i=e[yn],a=e[t.index];if(!B_(e[Di]))return;const E=Zo(e,t),N=xs(i,t);switch(I_(E),N.loadingState){case dr.NOT_STARTED:co(hr.Loading,t,a),pu(N,e,t),N.loadingState===dr.IN_PROGRESS&&av(N,t,a);break;case dr.IN_PROGRESS:co(hr.Loading,t,a),av(N,t,a);break;case dr.COMPLETE:co(hr.Complete,t,a);break;case dr.FAILED:co(hr.Error,t,a)}}function gu(e,t,i,a){const p=rn(),E=mi(),N=Hn+e,V=p[$n],X=E.firstCreatePass?function PM(e,t,i,a,p,E){const N=t.consts,X=Oa(t,e,2,a,rr(N,p));return sh(t,i,X,rr(N,E)),null!==X.attrs&&eu(X,X.attrs,!1),null!==X.mergedAttrs&&eu(X,X.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,X),X}(N,E,p,t,i,a):E.data[N],fe=lv(E,p,X,V,t,e);p[N]=fe;const Le=Ps(X);return ss(X,!0),Zp(V,fe,X),32!=(32&X.flags)&&In()&&Uc(E,p,fe,X),0===function ca(){return zn.lFrame.elementDepthCount}()&&Hr(fe,p),function io(){zn.lFrame.elementDepthCount++}(),Le&&(nh(E,p,X),th(E,X,p)),null!==a&&ih(p,X),gu}function _u(){let e=Pi();Uo()?Bo():(e=e.parent,ss(e,!1));const t=e;(function Fo(e){return zn.skipHydrationRootTNode===e})(t)&&function ul(){zn.skipHydrationRootTNode=null}(),function No(){zn.lFrame.elementDepthCount--}();const i=mi();return i.firstCreatePass&&(jn(i,e),Xs(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function C1(e){return 0!=(8&e.flags)}(t)&&Oh(i,t,rn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function w1(e){return 0!=(16&e.flags)}(t)&&Oh(i,t,rn(),t.stylesWithoutHost,!1),_u}function rf(e,t,i,a){return gu(e,t,i,a),_u(),rf}let lv=(e,t,i,a,p,E)=>(hi(!0),Pc(a,p,Ai()));function NM(e,t,i,a,p,E){const N=t[xt],V=!N||Ts()||Kc(N,E);if(hi(V),V)return Pc(a,p,Ai());const X=au(N,e,t,i);return b0(N,E)&&Gc(N,E,X.nextSibling),N&&(wp(i)||xp(X))&&Zr(i)&&(function Bs(e){zn.skipHydrationRootTNode=e}(i),Gp(X)),X}function vu(e,t,i){const a=rn(),p=mi(),E=e+Hn,N=p.firstCreatePass?function UM(e,t,i,a,p){const E=t.consts,N=rr(E,a),V=Oa(t,e,8,"ng-container",N);return null!==N&&eu(V,N,!0),sh(t,i,V,rr(E,p)),null!==t.queries&&t.queries.elementStart(t,V),V}(E,p,a,t,i):p.data[E];ss(N,!0);const V=cv(p,a,N,e);return a[E]=V,In()&&Uc(p,a,V,N),Hr(V,a),Ps(N)&&(nh(p,a,N),th(p,N,a)),null!=i&&ih(a,N),vu}function bu(){let e=Pi();const t=mi();return Uo()?Bo():(e=e.parent,ss(e,!1)),t.firstCreatePass&&(jn(t,e),Xs(e)&&t.queries.elementEnd(e)),bu}function sf(e,t,i){return vu(e,t,i),bu(),sf}let cv=(e,t,i,a)=>(hi(!0),Id(t[$n],""));function BM(e,t,i,a){let p;const E=t[xt],N=!E||Ts();if(hi(N),N)return Id(t[$n],"");const V=au(E,e,t,i),X=function kw(e,t){const i=e.data;let a=i[jd]?.[t]??null;return null===a&&i[Tl]?.[t]&&(a=Zd(e,t)),a}(E,a);return Gc(E,a,V),p=lu(X,V),p}function uv(){return rn()}function af(e,t,i){const a=rn();return yr(a,re(),t)&&ms(mi(),sn(),a,e,t,a[$n],i,!0),af}function lf(e,t,i){const a=rn();if(yr(a,re(),t)){const E=mi(),N=sn();ms(E,N,a,e,t,ng(ni(E.data),N,a),i,!0)}return lf}const Qo=void 0;var jM=["en",[["a","p"],["AM","PM"],Qo],[["AM","PM"],Qo,Qo],[["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"]],Qo,[["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"]],Qo,[["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}",Qo,"{1} 'at' {0}",Qo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function VM(e){const i=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===a?1:5}];let tl={};function HM(e,t,i){"string"!=typeof t&&(i=t,t=e[nl.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),tl[t]=e,i&&(tl[t][nl.ExtraData]=i)}function cf(e){const t=function GM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=hv(t);if(i)return i;const a=t.split("-")[0];if(i=hv(a),i)return i;if("en"===a)return jM;throw new jt(701,!1)}function zM(e){return cf(e)[nl.CurrencyCode]||null}function dv(e){return cf(e)[nl.PluralCase]}function hv(e){return e in tl||(tl[e]=pe.ng&&pe.ng.common&&pe.ng.common.locales&&pe.ng.common.locales[e]),tl[e]}function WM(){tl={}}var nl=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}(nl||{});const KM=["zero","one","two","few","many"],Xo="en-US",yu={marker:"element"},Cu={marker:"ICU"};var as=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(as||{});let fv=Xo;function uf(e){Xt(e,"Expected localeId to be defined"),"string"==typeof e&&(fv=e.toLowerCase().replace(/_/g,"-"))}function mv(e,t,i){const a=t.insertBeforeIndex,p=Array.isArray(a)?a[0]:a;return null===p?jp(e,0,i):xi(i[p])}function pv(e,t,i,a,p){const E=t.insertBeforeIndex;if(Array.isArray(E)){let N=a,V=null;if(3&t.type||(V=N,N=p),null!==N&&-1===t.componentOffset)for(let X=1;X1)for(let i=e.length-2;i>=0;i--){const a=e[i];_v(a)||XM(a,t)&&null===JM(a)&&qM(a,t.index)}}function _v(e){return!(64&e.type)}function XM(e,t){return _v(t)||e.index>t.index}function JM(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function qM(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(zp(mv,pv),e.insertBeforeIndex=t)}function Ql(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function nD(e,t,i){const a=eh(e,i,64,null,null);return gv(t,a),a}function wu(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function vv(e){return e>>>17}function bv(e){return(131070&e)>>>1}let Xl=0,Jl=0;function Cv(e,t,i,a){const p=i[$n];let N,E=null;for(let V=0;V>>1,i),null,null,Rt,Jt,null)}else switch(X){case Cu:const fe=t[++V],Le=t[++V];null===i[Le]&&Hr(i[Le]=Id(p,fe),i);break;case yu:const et=t[++V],Mt=t[++V];null===i[Mt]&&Hr(i[Mt]=Pc(p,et,null),i)}}}function wv(e,t,i,a,p){for(let E=0;E>>2;switch(3&Le){case 1:const Mt=i[++fe],Rt=i[++fe],Jt=e.data[et];"string"==typeof Jt?ah(t[$n],t[et],null,Jt,Mt,X,Rt):ms(e,Jt,t,Mt,X,t[$n],Rt,!1);break;case 0:const mn=t[et];null!==mn&&Np(t[$n],mn,X);break;case 2:aD(e,Ql(e,et),t,X);break;case 3:xv(e,Ql(e,et),a,t)}}}}else{const X=i[E+1];if(X>0&&3==(3&X)){const Le=Ql(e,X>>>2);t[Le.currentCaseLViewIndex]<0&&xv(e,Le,a,t)}}E+=V}}function xv(e,t,i,a){let p=a[t.currentCaseLViewIndex];if(null!==p){let E=Xl;p<0&&(p=a[t.currentCaseLViewIndex]=~p,E=-1),wv(e,a,t.update[p],i,E)}}function aD(e,t,i,a){const p=function lD(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const a=function YM(e,t){const i=dv(t)(parseInt(e,10)),a=KM[i];return void 0!==a?a:"other"}(t,function QM(){return fv}());i=e.cases.indexOf(a),-1===i&&"other"!==a&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,a);if(wu(t,i)!==p&&(Ev(e,t,i),i[t.currentCaseLViewIndex]=null===p?null:~p,null!==p)){const N=i[t.anchorIdx];N&&Cv(e,t.create[p],i,N)}}function Ev(e,t,i){let a=wu(t,i);if(null!==a){const p=t.remove[a];for(let E=0;E0){const V=to(N,i);null!==V&&Bc(i[$n],V)}else Ev(e,Ql(e,~N),i)}}}function cD(){const e=[];let i,a,t=-1;function E(V,X){t=0;const fe=wu(V,X);a=null!==fe?V.remove[fe]:oi}function N(){if(t0?i[V]:(e.push(t,a),E(i[yn].data[~V],i),N())}return 0===e.length?null:(a=e.pop(),t=e.pop(),N())}return function p(V,X){for(i=X;e.length;)e.pop();return E(V.value,X),N}}const xu=/\ufffd(\d+):?\d*\ufffd/gi,uD=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,dD=/\ufffd(\d+)\ufffd/,Dv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ql="\ufffd",hD=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,fD=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,mD=/\uE500/g;function Iv(e,t,i,a,p,E,N){const V=Pl(e,a,1,null);let X=V<i.length&&i.push(X)}return{type:a,mainBinding:p,cases:t,values:i}}function df(e){if(!e)return[];let t=0;const i=[],a=[],p=/[{}]/g;let E;for(p.lastIndex=0;E=p.exec(e);){const V=E.index;if("}"==E[0]){if(i.pop(),0==i.length){const X=e.substring(t,V);Dv.test(X)?a.push(wD(X)):a.push(X),t=V+1}}else{if(0==i.length){const X=e.substring(t,V);a.push(X),t=V+1}i.push("{")}}const N=e.substring(t);return a.push(N),a}function xD(e,t,i,a,p,E,N,V){const X=[],fe=[],Le=[];t.cases.push(E),t.create.push(X),t.remove.push(fe),t.update.push(Le);const Mt=t0(wo()).getInertBodyElement(N),Rt=Fd(Mt)||Mt;return Rt?kv(e,t,i,a,X,fe,Le,Rt,p,V,0):0}function kv(e,t,i,a,p,E,N,V,X,fe,Le){let et=0,Mt=V.firstChild;for(;Mt;){const Rt=Pl(e,i,1,null);switch(Mt.nodeType){case Node.ELEMENT_NODE:const Jt=Mt,mn=Jt.tagName.toLowerCase();if(Pd.hasOwnProperty(mn)){hf(p,yu,mn,X,Rt),e.data[Rt]=mn;const ii=Jt.attributes;for(let yi=0;yi>>as.SHIFT;let et=e[Le];null===et&&(et=e[Le]=(N&as.COMMENT)===as.COMMENT?p.createComment(V):Lc(p,V)),fe&&null!==i&&zo(p,i,et,a,!1)}})(p,X.create,Le,V&&8&V.type?p[V.index]:null),pt(!0)}function mf(){pt(!1)}function Lv(e,t,i){ff(e,t,i),mf()}function Pv(e,t){const i=mi(),a=rr(i.consts,t);!function vD(e,t,i){const p=Pi().index,E=[];if(e.firstCreatePass&&null===e.data[t]){for(let N=0;N0){const a=e.data[i];wv(e,t,Array.isArray(a)?a:a.update,se()-Jl-1,Xl)}Xl=0,Jl=0}(mi(),rn(),e+Hn)}function Fv(e,t={}){return function PD(e,t={}){let i=e;if(SD.test(e)){const a={},p=[Ov];i=i.replace(TD,(E,N,V)=>{const X=N||V,fe=a[X]||[];if(fe.length||(X.split("|").forEach(mn=>{const Cn=mn.match(LD),Rn=Cn?parseInt(Cn[1],10):Ov,ln=OD.test(mn);fe.push([Rn,ln,mn])}),a[X]=fe),!fe.length)throw new Error(`i18n postprocess: unmatched placeholder - ${X}`);const Le=p[p.length-1];let et=0;for(let mn=0;mnt.hasOwnProperty(E)?`${p}${t[E]}${X}`:a),i=i.replace(kD,(a,p)=>t.hasOwnProperty(p)?t[p]:a),i=i.replace(RD,(a,p)=>{if(t.hasOwnProperty(p)){const E=t[p];if(!E.length)throw new Error(`i18n postprocess: unmatched ICU - ${a} with key: ${p}`);return E.shift()}return a})),i}(e,t)}function gf(e){return!!e&&"function"==typeof e.then}function Uv(e){return!!e&&"function"==typeof e.subscribe}function _f(e,t,i,a){const p=rn(),E=mi(),N=Pi();return Bv(E,p,p[$n],N,e,t,a),_f}function vf(e,t){const i=Pi(),a=rn(),p=mi();return Bv(p,a,ng(ni(p.data),i,a),i,e,t),vf}function Bv(e,t,i,a,p,E,N){const V=Ps(a),fe=e.firstCreatePass&&tg(e),Le=t[Sn],et=eg(t);let Mt=!0;if(3&a.type||N){const mn=ar(a,t),Cn=N?N(mn):mn,Rn=et.length,ln=N?yi=>N(xi(yi[a.index])):a.index;let ii=null;if(!N&&V&&(ii=function ND(e,t,i,a){const p=e.cleanup;if(null!=p)for(let E=0;EX?V[X]:null}"string"==typeof N&&(E+=2)}return null}(e,t,p,a.index)),null!==ii)(ii.__ngLastListenerFn__||ii).__ngNextListenerFn__=E,ii.__ngLastListenerFn__=E,Mt=!1;else{E=Vv(a,t,Le,E,!1);const yi=i.listen(Cn,p,E);et.push(E,yi),fe&&fe.push(p,ln,Rn,Rn+1)}}else E=Vv(a,t,Le,E,!1);const Rt=a.outputs;let Jt;if(Mt&&null!==Rt&&(Jt=Rt[p])){const mn=Jt.length;if(mn)for(let Cn=0;Cn-1?xr(e.index,t):t);let X=$v(t,i,a,N),fe=E.__ngNextListenerFn__;for(;fe;)X=$v(t,i,fe,N)&&X,fe=fe.__ngNextListenerFn__;return p&&!1===X&&N.preventDefault(),X}}function jv(e=1){return function Qt(e){return(zn.lFrame.contextLView=aa(e,zn.lFrame.contextLView))[Sn]}(e)}function FD(e,t){let i=null;const a=function vn(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let p=0;p=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=a}function Gv(e){return Ss(function dl(){return zn.lFrame.contextLView}(),Hn+e)}function Kv(e,t,i){ks(Fa(rn(),e,t,i))}function Yv(e,t,i,a,p){ks(Ua(rn(),e,t,i,a,p))}function Zv(e,t,i,a,p,E,N){ks(Ba(rn(),e,t,i,a,p,E,N))}function Qv(e,t,i,a,p,E,N,V,X){ks($a(rn(),e,t,i,a,p,E,N,V,X))}function Xv(e,t,i,a,p,E,N,V,X,fe,Le){ks(Va(rn(),e,t,i,a,p,E,N,V,X,fe,Le))}function Jv(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){ks(ja(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt))}function qv(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){ks(Ha(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt))}function eb(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){ks(za(rn(),e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn))}function tb(e){ks(Na(rn(),e))}function Sf(e,t,i,a,p){return Rs(e,Fa(rn(),t,i,a),p,!1),Sf}function Tf(e,t,i,a,p,E,N){return Rs(e,Ua(rn(),t,i,a,p,E),N,!1),Tf}function Af(e,t,i,a,p,E,N,V,X){return Rs(e,Ba(rn(),t,i,a,p,E,N,V),X,!1),Af}function kf(e,t,i,a,p,E,N,V,X,fe,Le){return Rs(e,$a(rn(),t,i,a,p,E,N,V,X,fe),Le,!1),kf}function Rf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){return Rs(e,Va(rn(),t,i,a,p,E,N,V,X,fe,Le,et),Mt,!1),Rf}function Of(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){return Rs(e,ja(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt),Jt,!1),Of}function Lf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){return Rs(e,Ha(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn),Cn,!1),Lf}function Pf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn,Rn,ln){return Rs(e,za(rn(),t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn,Rn),ln,!1),Pf}function Nf(e,t,i){return Rs(e,Na(rn(),t),i,!1),Nf}function nb(e,t=""){const i=rn(),a=mi(),p=e+Hn,E=a.firstCreatePass?Oa(a,p,1,t,null):a.data[p],N=ib(a,i,E,t,e);i[p]=N,In()&&Uc(a,i,N,E),ss(E,!1)}let ib=(e,t,i,a,p)=>(hi(!0),Lc(t[$n],a));function UD(e,t,i,a,p){const E=t[xt],N=!E||Ts()||Kc(E,p);return hi(N),N?Lc(t[$n],a):au(E,e,t,i)}function Ff(e){return Mu("",e,""),Ff}function Mu(e,t,i){const a=rn(),p=Fa(a,e,t,i);return p!==si&&lo(a,Jn(),p),Mu}function Uf(e,t,i,a,p){const E=rn(),N=Ua(E,e,t,i,a,p);return N!==si&&lo(E,Jn(),N),Uf}function Bf(e,t,i,a,p,E,N){const V=rn(),X=Ba(V,e,t,i,a,p,E,N);return X!==si&&lo(V,Jn(),X),Bf}function $f(e,t,i,a,p,E,N,V,X){const fe=rn(),Le=$a(fe,e,t,i,a,p,E,N,V,X);return Le!==si&&lo(fe,Jn(),Le),$f}function Vf(e,t,i,a,p,E,N,V,X,fe,Le){const et=rn(),Mt=Va(et,e,t,i,a,p,E,N,V,X,fe,Le);return Mt!==si&&lo(et,Jn(),Mt),Vf}function jf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt){const Rt=rn(),Jt=ja(Rt,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt);return Jt!==si&&lo(Rt,Jn(),Jt),jf}function Hf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt){const mn=rn(),Cn=Ha(mn,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt);return Cn!==si&&lo(mn,Jn(),Cn),Hf}function zf(e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn){const Rn=rn(),ln=za(Rn,e,t,i,a,p,E,N,V,X,fe,Le,et,Mt,Rt,Jt,mn,Cn);return ln!==si&&lo(Rn,Jn(),ln),zf}function Wf(e){const t=rn(),i=Na(t,e);return i!==si&&lo(t,Jn(),i),Wf}function Gf(e,t,i,a,p){if(e=Ne(e),Array.isArray(e))for(let E=0;E>20;if(Ho(e)||!e.multi){const Rt=new Vs(fe,p,Ra),Jt=Yf(X,t,p?Le:Le+Mt,et);-1===Jt?(Qu(fc(V,N),E,X),Kf(E,e,t.length),t.push(X),V.directiveStart++,V.directiveEnd++,p&&(V.providerIndexes+=1048576),i.push(Rt),N.push(Rt)):(i[Jt]=Rt,N[Jt]=Rt)}else{const Rt=Yf(X,t,Le+Mt,et),Jt=Yf(X,t,Le,Le+Mt),Cn=Jt>=0&&i[Jt];if(p&&!Cn||!p&&!(Rt>=0&&i[Rt])){Qu(fc(V,N),E,X);const Rn=function HD(e,t,i,a,p){const E=new Vs(e,i,Ra);return E.multi=[],E.index=t,E.componentProviders=0,rb(E,p,a&&!i),E}(p?jD:VD,i.length,p,a,fe);!p&&Cn&&(i[Jt].providerFactory=Rn),Kf(E,e,t.length,0),t.push(X),V.directiveStart++,V.directiveEnd++,p&&(V.providerIndexes+=1048576),i.push(Rn),N.push(Rn)}else Kf(E,e,Rt>-1?Rt:Jt,rb(i[p?Jt:Rt],fe,!p&&a));!p&&a&&Cn&&i[Jt].componentProviders++}}}function Kf(e,t,i,a){const p=Ho(t),E=function X1(e){return!!e.useClass}(t);if(p||E){const X=(E?Ne(t.useClass):t).prototype.ngOnDestroy;if(X){const fe=e.destroyHooks||(e.destroyHooks=[]);if(!p&&t.multi){const Le=fe.indexOf(i);-1===Le?fe.push(i,[a,X]):fe[Le+1].push(a,X)}else fe.push(i,X)}}}function rb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Yf(e,t,i,a){for(let p=i;p{i.providersResolver=(a,p)=>function $D(e,t,i){const a=mi();if(a.firstCreatePass){const p=Nr(e);Gf(i,a.data,a.blueprint,p,!0),Gf(t,a.data,a.blueprint,p,!1)}}(a,p?p(e):e,t)}}class Jo{}class ob{}function ab(e,t){return new Du(e,t??null,[])}const zD=ab;class Du extends Jo{constructor(t,i,a){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yg(this);const p=Qi(t);this._bootstrapComponents=fs(p.bootstrap),this._r3Injector=ap(t,i,[{provide:Jo,useValue:this},{provide:kl,useValue:this.componentFactoryResolver},...a],Re(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Iu extends ob{constructor(t){super(),this.moduleType=t}create(t){return new Du(this.moduleType,t,[])}}class lb extends Jo{constructor(t){super(),this.componentFactoryResolver=new yg(this),this.instance=null;const i=new wa([...t.providers,{provide:Jo,useValue:this},{provide:kl,useValue:this.componentFactoryResolver}],t.parent||Ec(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function cb(e,t,i=null){return new lb({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let GD=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const a=qm(0,i.type),p=a.length>0?cb([a],this._injector,`Standalone[${i.type.name}]`):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=Yn({token:e,providedIn:"environment",factory:()=>new e(Ln(Hs))})}return e})();function ub(e){Do("NgStandalone"),e.getStandaloneInjector=t=>t.get(GD).getOrCreateStandaloneInjector(e)}function db(e,t,i){const a=e.\u0275cmp;a.directiveDefs=es(t,!1),a.pipeDefs=es(i,!0)}function hb(e,t){return tr(()=>{const i=Qi(e,!0);i.declarations=Su(t.declarations||oi),i.imports=Su(t.imports||oi),i.exports=Su(t.exports||oi),t.bootstrap&&(i.bootstrap=Su(t.bootstrap)),Ma.registerNgModule(e,t)})}function Su(e){if("function"==typeof e)return e;const t=os(e);return t.some(Be)?()=>t.map(Ne).map(fb):t.map(fb)}function fb(e){return md(e)?e.ngModule:e}function Qf(e){const t=Qr(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function NC(e,t){const i=t[yn].data[e],{directiveStart:a,componentOffset:p}=i;return p>-1?t[a+p]:null}(t.nodeIndex,i)}return t.component}function mb(e){!function JD(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=Qr(e),i=t?t.lView:null;return null===i?null:i[Sn]}function pb(e){const t=Qr(e);let a,i=t?t.lView:null;if(null===i)return null;for(;2===i[yn].type&&(a=wl(i));)i=a;return 512&i[he]?null:i[Sn]}function gb(e){const t=Sp(e);return null!==t?[$C(t)]:[]}function _b(e){const t=Qr(e),i=t?t.lView:null;return null===i?Cs.NULL:new Er(i[yn].data[t.nodeIndex],i)}function vb(e){if(e instanceof Text)return[];const t=Qr(e),i=t?t.lView:null;if(null===i)return[];const a=i[yn],p=t.nodeIndex;return a?.data[p]?(void 0===t.directives&&(t.directives=Rp(p,i)),null===t.directives?[]:[...t.directives]):[]}function YD(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=ti(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Cr.OnPush:Cr.Default};const a=wi(t);return a?{inputs:a.inputs,outputs:a.outputs}:null}function Xf(e){return Qr(e).native}function bb(e){const t=Qr(e),i=null===t?null:t.lView;if(null===i)return[];const p=i[gn],E=i[yn].cleanup,N=[];if(E&&p)for(let V=0;V=0?"dom":"output"})}}return N.sort(QD),N}function QD(e,t){return e.name==t.name?0:e.namePromise.all(t()).then(p=>(i(...p),a[Tu]=null,p)),a[Tu]}function yb(e,t,i,a){return tr(()=>{const p=e;null!==t&&(p.hasOwnProperty("decorators")&&void 0!==p.decorators?p.decorators.push(...t):p.decorators=t),null!==i&&(p.ctorParameters=i),null!==a&&(p.propDecorators=p.hasOwnProperty("propDecorators")&&void 0!==p.propDecorators?{...p.propDecorators,...a}:a)})}function Cb(e,t,i){const a=G()+e,p=rn();return p[a]===si?Gs(p,a,i?t.call(i):t()):Bl(p,a)}function wb(e,t,i,a){return kb(rn(),G(),e,t,i,a)}function xb(e,t,i,a,p){return Rb(rn(),G(),e,t,i,a,p)}function Eb(e,t,i,a,p,E){return Ob(rn(),G(),e,t,i,a,p,E)}function Mb(e,t,i,a,p,E,N){return Lb(rn(),G(),e,t,i,a,p,E,N)}function Db(e,t,i,a,p,E,N,V){const X=G()+e,fe=rn(),Le=ws(fe,X,i,a,p,E);return yr(fe,X+4,N)||Le?Gs(fe,X+5,V?t.call(V,i,a,p,E,N):t(i,a,p,E,N)):Bl(fe,X+5)}function Ib(e,t,i,a,p,E,N,V,X){const fe=G()+e,Le=rn(),et=ws(Le,fe,i,a,p,E);return Ko(Le,fe+4,N,V)||et?Gs(Le,fe+6,X?t.call(X,i,a,p,E,N,V):t(i,a,p,E,N,V)):Bl(Le,fe+6)}function Sb(e,t,i,a,p,E,N,V,X,fe){const Le=G()+e,et=rn();let Mt=ws(et,Le,i,a,p,E);return nu(et,Le+4,N,V,X)||Mt?Gs(et,Le+7,fe?t.call(fe,i,a,p,E,N,V,X):t(i,a,p,E,N,V,X)):Bl(et,Le+7)}function Tb(e,t,i,a,p,E,N,V,X,fe,Le){const et=G()+e,Mt=rn(),Rt=ws(Mt,et,i,a,p,E);return ws(Mt,et+4,N,V,X,fe)||Rt?Gs(Mt,et+8,Le?t.call(Le,i,a,p,E,N,V,X,fe):t(i,a,p,E,N,V,X,fe)):Bl(Mt,et+8)}function Ab(e,t,i,a){return Pb(rn(),G(),e,t,i,a)}function tc(e,t){const i=e[t];return i===si?void 0:i}function kb(e,t,i,a,p,E){const N=t+i;return yr(e,N,p)?Gs(e,N+1,E?a.call(E,p):a(p)):tc(e,N+1)}function Rb(e,t,i,a,p,E,N){const V=t+i;return Ko(e,V,p,E)?Gs(e,V+2,N?a.call(N,p,E):a(p,E)):tc(e,V+2)}function Ob(e,t,i,a,p,E,N,V){const X=t+i;return nu(e,X,p,E,N)?Gs(e,X+3,V?a.call(V,p,E,N):a(p,E,N)):tc(e,X+3)}function Lb(e,t,i,a,p,E,N,V,X){const fe=t+i;return ws(e,fe,p,E,N,V)?Gs(e,fe+4,X?a.call(X,p,E,N,V):a(p,E,N,V)):tc(e,fe+4)}function Pb(e,t,i,a,p,E){let N=t+i,V=!1;for(let X=0;X=0;i--){const a=t[i];if(e===a.name)return a}}(t,i.pipeRegistry),i.data[p]=a,a.onDestroy&&(i.destroyHooks??=[]).push(p,a.onDestroy)):a=i.data[p];const E=a.factory||(a.factory=di(a.type)),V=ze(Ra);try{const X=hc(!1),fe=E();return hc(X),Wv(i,rn(),p,fe),fe}finally{ze(V)}}function Fb(e,t,i){const a=e+Hn,p=rn(),E=Ss(p,a);return nc(p,a)?kb(p,G(),t,E.transform,i,E):E.transform(i)}function Ub(e,t,i,a){const p=e+Hn,E=rn(),N=Ss(E,p);return nc(E,p)?Rb(E,G(),t,N.transform,i,a,N):N.transform(i,a)}function Bb(e,t,i,a,p){const E=e+Hn,N=rn(),V=Ss(N,E);return nc(N,E)?Ob(N,G(),t,V.transform,i,a,p,V):V.transform(i,a,p)}function $b(e,t,i,a,p,E){const N=e+Hn,V=rn(),X=Ss(V,N);return nc(V,N)?Lb(V,G(),t,X.transform,i,a,p,E,X):X.transform(i,a,p,E)}function Vb(e,t,i){const a=e+Hn,p=rn(),E=Ss(p,a);return nc(p,a)?Pb(p,G(),t,E.transform,i,E):E.transform.apply(E,i)}function nc(e,t){return e[yn].data[t].pure}function nI(){return this._results[Symbol.iterator]()}class Au{static#e=Symbol.iterator;get changes(){return this._changes??=new Ws}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=Au.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=nI)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){this.dirty=!1;const a=os(t);(this._changesDetected=!function F1(e,t,i){if(e.length!==t.length)return!1;for(let a=0;a{class e{static#e=this.__NG_ELEMENT_ID__=sI}return e})();const iI=ic,rI=class extends iI{constructor(t,i,a){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,a){const p=Wl(this._declarationLView,this._declarationTContainer,t,{injector:i,dehydratedView:a});return new La(p)}};function sI(){return ku(Pi(),rn())}function ku(e,t){return 4&e.type?new rI(t,e,ka(e,t)):null}class Jf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class qf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const a=null!==t.contentQueries?t.contentQueries[0]:i.length,p=[];for(let E=0;E0)a.push(N[V/2]);else{const fe=E[V+1],Le=t[-X];for(let et=fi;et{try{return Ma.getComponentDependencies(e,t).dependencies}catch(i){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,i),i}}}function qb(e,t){const i=ti(e);null!==i&&(i.debugInfo=t)}const Xr=(()=>({\u0275\u0275attribute:bh,\u0275\u0275attributeInterpolate1:yh,\u0275\u0275attributeInterpolate2:Ch,\u0275\u0275attributeInterpolate3:wh,\u0275\u0275attributeInterpolate4:xh,\u0275\u0275attributeInterpolate5:Eh,\u0275\u0275attributeInterpolate6:Mh,\u0275\u0275attributeInterpolate7:Dh,\u0275\u0275attributeInterpolate8:Ih,\u0275\u0275attributeInterpolateV:Sh,\u0275\u0275defineComponent:Kn,\u0275\u0275defineDirective:ls,\u0275\u0275defineInjectable:Yn,\u0275\u0275defineInjector:pn,\u0275\u0275defineNgModule:lr,\u0275\u0275definePipe:Ys,\u0275\u0275directiveInject:Ra,\u0275\u0275getInheritedFactory:Pm,\u0275\u0275inject:Ln,\u0275\u0275injectAttribute:Ju,\u0275\u0275invalidFactory:H0,\u0275\u0275invalidFactoryDep:Mi,\u0275\u0275templateRefExtractor:Xb,\u0275\u0275resetView:da,\u0275\u0275HostDirectivesFeature:Dg,\u0275\u0275NgOnChangesFeature:Xn,\u0275\u0275ProvidersFeature:sb,\u0275\u0275CopyDefinitionFeature:Mg,\u0275\u0275InheritDefinitionFeature:vh,\u0275\u0275InputTransformsFeature:Ag,\u0275\u0275StandaloneFeature:ub,\u0275\u0275nextContext:jv,\u0275\u0275namespaceHTML:bi,\u0275\u0275namespaceMathML:Wi,\u0275\u0275namespaceSVG:Wn,\u0275\u0275enableBindings:cl,\u0275\u0275disableBindings:ro,\u0275\u0275elementStart:gu,\u0275\u0275elementEnd:_u,\u0275\u0275element:rf,\u0275\u0275elementContainerStart:vu,\u0275\u0275elementContainerEnd:bu,\u0275\u0275elementContainer:sf,\u0275\u0275pureFunction0:Cb,\u0275\u0275pureFunction1:wb,\u0275\u0275pureFunction2:xb,\u0275\u0275pureFunction3:Eb,\u0275\u0275pureFunction4:Mb,\u0275\u0275pureFunction5:Db,\u0275\u0275pureFunction6:Ib,\u0275\u0275pureFunction7:Sb,\u0275\u0275pureFunction8:Tb,\u0275\u0275pureFunctionV:Ab,\u0275\u0275getCurrentView:uv,\u0275\u0275restoreView:ua,\u0275\u0275listener:_f,\u0275\u0275projection:zv,\u0275\u0275syntheticHostProperty:lf,\u0275\u0275syntheticHostListener:vf,\u0275\u0275pipeBind1:Fb,\u0275\u0275pipeBind2:Ub,\u0275\u0275pipeBind3:Bb,\u0275\u0275pipeBind4:$b,\u0275\u0275pipeBindV:Vb,\u0275\u0275projectionDef:Hv,\u0275\u0275hostProperty:af,\u0275\u0275property:Rh,\u0275\u0275propertyInterpolate:bf,\u0275\u0275propertyInterpolate1:Eu,\u0275\u0275propertyInterpolate2:yf,\u0275\u0275propertyInterpolate3:Cf,\u0275\u0275propertyInterpolate4:wf,\u0275\u0275propertyInterpolate5:xf,\u0275\u0275propertyInterpolate6:Ef,\u0275\u0275propertyInterpolate7:Mf,\u0275\u0275propertyInterpolate8:Df,\u0275\u0275propertyInterpolateV:If,\u0275\u0275pipe:Nb,\u0275\u0275queryRefresh:zb,\u0275\u0275viewQuery:Wb,\u0275\u0275loadQuery:Kb,\u0275\u0275contentQuery:Gb,\u0275\u0275reference:Gv,\u0275\u0275classMap:Ug,\u0275\u0275classMapInterpolate1:Wg,\u0275\u0275classMapInterpolate2:Gg,\u0275\u0275classMapInterpolate3:Kg,\u0275\u0275classMapInterpolate4:Yg,\u0275\u0275classMapInterpolate5:Zg,\u0275\u0275classMapInterpolate6:Qg,\u0275\u0275classMapInterpolate7:Xg,\u0275\u0275classMapInterpolate8:Jg,\u0275\u0275classMapInterpolateV:qg,\u0275\u0275styleMap:ks,\u0275\u0275styleMapInterpolate1:Kv,\u0275\u0275styleMapInterpolate2:Yv,\u0275\u0275styleMapInterpolate3:Zv,\u0275\u0275styleMapInterpolate4:Qv,\u0275\u0275styleMapInterpolate5:Xv,\u0275\u0275styleMapInterpolate6:Jv,\u0275\u0275styleMapInterpolate7:qv,\u0275\u0275styleMapInterpolate8:eb,\u0275\u0275styleMapInterpolateV:tb,\u0275\u0275styleProp:Lh,\u0275\u0275stylePropInterpolate1:Sf,\u0275\u0275stylePropInterpolate2:Tf,\u0275\u0275stylePropInterpolate3:Af,\u0275\u0275stylePropInterpolate4:kf,\u0275\u0275stylePropInterpolate5:Rf,\u0275\u0275stylePropInterpolate6:Of,\u0275\u0275stylePropInterpolate7:Lf,\u0275\u0275stylePropInterpolate8:Pf,\u0275\u0275stylePropInterpolateV:Nf,\u0275\u0275classProp:Ph,\u0275\u0275advance:V0,\u0275\u0275template:Ya,\u0275\u0275conditional:b_,\u0275\u0275defer:V_,\u0275\u0275deferWhen:j_,\u0275\u0275deferOnIdle:z_,\u0275\u0275deferOnImmediate:G_,\u0275\u0275deferOnTimer:Y_,\u0275\u0275deferOnHover:Q_,\u0275\u0275deferOnInteraction:J_,\u0275\u0275deferOnViewport:ev,\u0275\u0275deferPrefetchWhen:H_,\u0275\u0275deferPrefetchOnIdle:W_,\u0275\u0275deferPrefetchOnImmediate:K_,\u0275\u0275deferPrefetchOnTimer:Z_,\u0275\u0275deferPrefetchOnHover:X_,\u0275\u0275deferPrefetchOnInteraction:q_,\u0275\u0275deferPrefetchOnViewport:tv,\u0275\u0275deferEnableTimerScheduling:$_,\u0275\u0275repeater:x_,\u0275\u0275repeaterCreate:w_,\u0275\u0275repeaterTrackByIndex:y_,\u0275\u0275repeaterTrackByIdentity:C_,\u0275\u0275componentInstance:e_,\u0275\u0275text:nb,\u0275\u0275textInterpolate:Ff,\u0275\u0275textInterpolate1:Mu,\u0275\u0275textInterpolate2:Uf,\u0275\u0275textInterpolate3:Bf,\u0275\u0275textInterpolate4:$f,\u0275\u0275textInterpolate5:Vf,\u0275\u0275textInterpolate6:jf,\u0275\u0275textInterpolate7:Hf,\u0275\u0275textInterpolate8:zf,\u0275\u0275textInterpolateV:Wf,\u0275\u0275i18n:Lv,\u0275\u0275i18nAttributes:Pv,\u0275\u0275i18nExp:pf,\u0275\u0275i18nStart:ff,\u0275\u0275i18nEnd:mf,\u0275\u0275i18nApply:Nv,\u0275\u0275i18nPostprocess:Fv,\u0275\u0275resolveWindow:fp,\u0275\u0275resolveDocument:mp,\u0275\u0275resolveBody:_d,\u0275\u0275setComponentScope:db,\u0275\u0275setNgModuleScope:hb,\u0275\u0275registerNgModuleType:vd,\u0275\u0275getComponentDepsFactory:Jb,\u0275setClassDebugInfo:qb,\u0275\u0275sanitizeHtml:c0,\u0275\u0275sanitizeStyle:u0,\u0275\u0275sanitizeResourceUrl:Bd,\u0275\u0275sanitizeScript:d0,\u0275\u0275sanitizeUrl:Ud,\u0275\u0275sanitizeUrlOrResourceUrl:m0,\u0275\u0275trustConstantHtml:h0,\u0275\u0275trustConstantResourceUrl:f0,\u0275\u0275validateIframeAttribute:Qp,forwardRef:Pe,resolveForwardRef:Ne}))();let il=null;function mI(){il=null}const rc=[];let im=!1;function ey(){if(!im){im=!0;try{for(let e=rc.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=rc[e];i.declarations&&i.declarations.every(ty)&&(rc.splice(e,1),vI(t,i))}}finally{im=!1}}}function ty(e){return Array.isArray(e)?e.every(ty):!!Ne(e)}function ny(e,t={}){iy(e,t),void 0!==t.id&&vd(e,t.id),function pI(e,t){rc.push({moduleType:e,ngModule:t})}(e,t)}function iy(e,t,i=!1){const a=os(t.declarations||oi);let p=null;Object.defineProperty(e,un,{configurable:!0,get:()=>(null===p&&(p=Mr().compileNgModule(Xr,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:os(t.bootstrap||oi).map(Ne),declarations:a.map(Ne),imports:os(t.imports||oi).map(Ne).map(ay),exports:os(t.exports||oi).map(Ne).map(ay),schemas:t.schemas?os(t.schemas):null,id:t.id||null}),p.schemas||(p.schemas=[])),p)});let E=null;Object.defineProperty(e,Bt,{get:()=>{if(null===E){const V=Mr();E=V.compileFactory(Xr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:yc(e),target:V.FactoryTarget.NgModule,typeArgumentCount:0})}return E},configurable:!1});let N=null;Object.defineProperty(e,ct,{get:()=>{if(null===N){const V={name:e.name,type:e,providers:t.providers||oi,imports:[(t.imports||oi).map(Ne),(t.exports||oi).map(Ne)]};N=Mr().compileInjector(Xr,`ng:///${e.name}/\u0275inj.js`,V)}return N},configurable:!1})}function ry(e,t){return`Unexpected "${Xe(e)}" found in the "declarations" array of the ${t}, "${Xe(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 Ru=new WeakMap,sm=new WeakMap;function _I(){Ru=new WeakMap,sm=new WeakMap,rc.length=0,Zs.clear()}function vI(e,t){const i=os(t.declarations||oi),a=qo(e);i.forEach(p=>{(p=Ne(p)).hasOwnProperty(fn)?om(ti(p),a):!p.hasOwnProperty(an)&&!p.hasOwnProperty(En)&&(p.ngSelectorScope=e)})}function om(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(fn)?ti(i):wi(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Ri(i)),e.schemas=t.schemas,e.tView=null}function qo(e){if(Co(e)){if(Ic){const t=Ma.getNgModuleScope(e);return{schemas:Qi(e,!0).schemas||null,...t}}return function bI(e){const t=Qi(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return fs(t.imports).forEach(a=>{const p=qo(a);p.exported.directives.forEach(E=>i.compilation.directives.add(E)),p.exported.pipes.forEach(E=>i.compilation.pipes.add(E))}),fs(t.declarations).forEach(a=>{Ri(a)?i.compilation.pipes.add(a):i.compilation.directives.add(a)}),fs(t.exports).forEach(a=>{const p=a;if(Co(p)){const E=qo(p);E.exported.directives.forEach(N=>{i.compilation.directives.add(N),i.exported.directives.add(N)}),E.exported.pipes.forEach(N=>{i.compilation.pipes.add(N),i.exported.pipes.add(N)})}else Ri(p)?i.exported.pipes.add(p):i.exported.directives.add(p)}),t.transitiveCompileScopes=i,i}(e)}if(Br(e)){if(null!==(ti(e)||wi(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Ri(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 ay(e){return md(e)?e.ngModule:e}let am=0;function ly(e,t){let i=null;(function z1(e,t){Qm(t)&&(Ca.set(e,t),vl.add(e))})(e,t),uy(e,t),Object.defineProperty(e,fn,{get:()=>{if(null===i){const a=Mr();if(Qm(t)){const fe=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&fe.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&fe.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),t.styleUrl&&fe.push(` - styleUrl: ${t.styleUrl}`),fe.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(fe.join("\n"))}const p=function fI(){return il}();let E=t.preserveWhitespaces;void 0===E&&(E=null!==p&&void 0!==p.preserveWhitespaces&&p.preserveWhitespaces);let N=t.encapsulation;void 0===N&&(N=null!==p&&void 0!==p.defaultEncapsulation?p.defaultEncapsulation:Zi.Emulated);const V=t.templateUrl||`ng:///${e.name}/template.html`,X={...dy(e,t),typeSourceSpan:a.createParseSourceSpan("Component",e.name,V),template:t.template||"",preserveWhitespaces:E,styles:"string"==typeof t.styles?[t.styles]:t.styles||oi,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:N,interpolation:t.interpolation,viewProviders:t.viewProviders||null};am++;try{if(X.usesInheritance&&hy(e),i=a.compileComponent(Xr,V,X),t.standalone){const fe=os(t.imports||oi),{directiveDefs:Le,pipeDefs:et}=function yI(e,t){let i=null,a=null;return{directiveDefs:()=>{if(Ic)return bl(e)?[...Ma.getStandaloneComponentScope(e,t).compilation.directives].map(V=>ti(V)||wi(V)).filter(V=>null!==V):[];if(null===i){i=[ti(e)];const N=new Set([e]);for(const V of t){const X=Ne(V);if(!N.has(X))if(N.add(X),Qi(X)){const fe=qo(X);for(const Le of fe.exported.directives){const et=ti(Le)||wi(Le);et&&!N.has(Le)&&(N.add(Le),i.push(et))}}else{const fe=ti(X)||wi(X);fe&&i.push(fe)}}}return i},pipeDefs:()=>{if(Ic)return bl(e)?[...Ma.getStandaloneComponentScope(e,t).compilation.pipes].map(V=>Ri(V)).filter(V=>null!==V):[];if(null===a){a=[];const N=new Set;for(const V of t){const X=Ne(V);if(!N.has(X))if(N.add(X),Qi(X)){const fe=qo(X);for(const Le of fe.exported.pipes){const et=Ri(Le);et&&!N.has(Le)&&(N.add(Le),a.push(et))}}else{const fe=Ri(X);fe&&a.push(fe)}}}return a}}}(e,fe);i.directiveDefs=Le,i.pipeDefs=et,i.dependencies=()=>fe.map(Ne)}}finally{am--}if(0===am&&ey(),function CI(e){return void 0!==e.ngSelectorScope}(e)){const fe=qo(e.ngSelectorScope);om(i,fe)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${Xe(e)} but is only valid on a component that is standalone.`);i.schemas=t.schemas}else t.standalone&&(i.schemas=[])}return i},configurable:!1})}function lm(e,t){let i=null;uy(e,t||{}),Object.defineProperty(e,an,{get:()=>{if(null===i){const a=cy(e,t||{});i=Mr().compileDirective(Xr,a.sourceMapUrl,a.metadata)}return i},configurable:!1})}function cy(e,t){const i=e&&e.name,a=`ng:///${i}/\u0275dir.js`,p=Mr(),E=dy(e,t);return E.typeSourceSpan=p.createParseSourceSpan("Directive",i,a),E.usesInheritance&&hy(e),{metadata:E,sourceMapUrl:a}}function uy(e,t){let i=null;Object.defineProperty(e,Bt,{get:()=>{if(null===i){const a=cy(e,t),p=Mr();i=p.compileFactory(Xr,`ng:///${e.name}/\u0275fac.js`,{name:a.metadata.name,type:a.metadata.type,typeArgumentCount:0,deps:yc(e),target:p.FactoryTarget.Directive})}return i},configurable:!1})}function wI(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function dy(e,t){const i=id(),a=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||or,propMetadata:a,inputs:t.inputs||oi,outputs:t.outputs||oi,queries:fy(e,a,my),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!wI(e),exportAs:MI(t.exportAs),providers:t.providers||null,viewQueries:fy(e,a,py),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(p=>"function"==typeof p?{directive:p}:p)||null}}function hy(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!wi(i)&&!ti(i)&&II(i)&&lm(i,null),i=Object.getPrototypeOf(i)}function xI(e){return"string"==typeof e?_y(e):Ne(e)}function EI(e,t){return{propertyName:e,predicate:xI(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function fy(e,t,i){const a=[];for(const p in t)if(t.hasOwnProperty(p)){const E=t[p];E.forEach(N=>{if(i(N)){if(!N.selector)throw new Error(`Can't construct a query for the property "${p}" of "${Xe(e)}" since the query selector wasn't defined.`);if(E.some(gy))throw new Error("Cannot combine @Input decorators with query decorators");a.push(EI(p,N))}})}return a}function MI(e){return void 0===e?null:_y(e)}function my(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function py(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function gy(e){return"Input"===e.ngMetadataName}function _y(e){return e.split(",").map(t=>t.trim())}const DI=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function II(e){const t=id();if(DI.some(a=>t.hasLifecycleHook(e,a)))return!0;const i=t.propMetadata(e);for(const a in i){const p=i[a];for(let E=0;E{if(null===a){const p=by(e,t),E=Mr();a=E.compileFactory(Xr,`ng:///${p.name}/\u0275fac.js`,{name:p.name,type:p.type,typeArgumentCount:0,deps:yc(e),target:E.FactoryTarget.Pipe})}return a},configurable:!1}),Object.defineProperty(e,En,{get:()=>{if(null===i){const p=by(e,t);i=Mr().compilePipe(Xr,`ng:///${p.name}/\u0275pipe.js`,p)}return i},configurable:!1})}function by(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const yy=ml("Directive",(e={})=>e,void 0,void 0,(e,t)=>lm(e,t)),SI=ml("Component",(e={})=>({changeDetection:Cr.Default,...e}),yy,void 0,(e,t)=>ly(e,t)),TI=ml("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>vy(e,t)),AI=yo("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),kI=yo("Output",e=>({alias:e})),RI=yo("HostBinding",e=>({hostPropertyName:e})),OI=yo("HostListener",(e,t)=>({eventName:e,args:t})),LI=ml("NgModule",e=>e,void 0,void 0,(e,t)=>ny(e,t));class Cy{constructor(t){this.full=t;const i=t.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}const PI=new Cy("17.0.8");let wy=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class xy{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let NI=(()=>{class e{compileModuleSync(i){return new Iu(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const a=this.compileModuleSync(i),E=fs(Qi(i).declarations).reduce((N,V)=>{const X=ti(V);return X&&N.push(new Pa(X)),N},[]);return new xy(a,E)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ey=new _t("compilerOptions");class FI{}let cm=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie.X(!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(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class UI{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}}let sc=new UI;function Ou(){return sc}function jI(e){e instanceof Er||tn("getNodeInjectorContext must be called with a NodeInjector");const t=fa(e),i=ma(e);if(null!==i)return ho(i,t),{lView:t,tNode:i}}function My(e){let t=null;return void 0===e||(t=e instanceof Er?fa(e):e),t}function KI(e){Nl(Ip(e)),gb(e).forEach(t=>function YI(e){const t=Ip(e);t[he]|=1024,uh(t)}(t))}function ZI(e,t){const i=e.get(t,null,{self:!0,optional:!0});if(null===i)throw new Error(`Unable to determine instance of ${t} in given injector`);const a=function QI(e,t){const{resolverToTokenToDependencies:i}=Ou();if(!(t instanceof Er))return i.get(t)?.get?.(e)??[];const a=fa(t);return(i.get(a)?.get(e)??[]).filter(N=>{const V=N.injectedIn?.tNode;if(void 0===V)return!1;const X=ma(t);return eo(V),eo(X),V===X})}(t,e),p=Dy(e);return{instance:i,dependencies:a.map(N=>{const V={value:N.value},X=N.flags;V.flags={optional:8==(8&X),host:1==(1&X),self:2==(2&X),skipSelf:4==(4&X)};for(let fe=0;fe{if(e.has(i)||e.set(i,[a]),!t.has(a))for(const p of e.keys()){const E=e.get(p);let N=it(a);if(N||(N=it(a.ngModule)),!N)return;const V=E[0];let X=!1;ba(N.imports,fe=>{X||(X=fe.ngModule===V||fe===V,X&&e.get(p)?.unshift(a))})}t.add(a)}}(t,new Set);return wc(e,a,[],new Set),t}(i),p=[];for(const E of t){const N=E.provider,V=N.provide;if(V===jo||V===sd)continue;let X=a.get(N)??[];!!ti(i)?.standalone&&(X=[i,...X]),p.push({...E,importPath:X})}return p}function iS(e){return e instanceof Er?function JI(e){const t=ma(e),{resolverToProviders:i}=Ou();return i.get(t)??[]}(e):e instanceof Hs?tS(e):void tn("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function rS(e){if(e instanceof Er){const t=fa(e),i=ma(e);return ho(i,t),{type:"element",source:ar(i,t)}}return e instanceof wa?{type:"environment",source:e.source??null}:e instanceof Cc?{type:"null",source:null}:null}function Dy(e){const t=[e];return um(e,t),t}function um(e,t){const i=function sS(e){if(e instanceof wa)return e.parent;let t,i;if(e instanceof Er)t=ma(e),i=fa(e);else{if(e instanceof Cc)return null;tn("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const a=mc(t,i);if(Ku(a)){const p=hl(a),E=fl(a,i);return new Er(E[yn].data[p+8],E)}{const E=i[Di].injector?.parent;if(E instanceof Er)return E}return null}(e);if(null===i){if(e instanceof Er){const a=t[0];if(a instanceof Er){const p=function oS(e){let t;e instanceof Er?t=fa(e):tn("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const a=t[Di].parentInjector;return a||tn("NodeInjector must have some connection to the module injector tree"),a}(a);null===p&&tn("NodeInjector must have some connection to the module injector tree"),t.push(p),um(p,t)}return t}}else t.push(i),um(i,t);return t}const Iy="ng";let Sy=!1;function aS(){Sy||(Sy=!0,function BI(){sc.reset(),Zn(e=>function $I(e){const{context:t,type:i}=e;0===i?function VI(e,t){const i=My(e.injector);null===i&&tn("An Inject event must be run within an injection context.");const a=sc.resolverToTokenToDependencies;if(a.has(i)||a.set(i,new WeakMap),!function GI(e){return null!==e&&("object"==typeof e||"function"==typeof e||"symbol"==typeof e)}(e.token))return;const p=a.get(i);p.has(e.token)||p.set(e.token,[]);const{token:E,value:N,flags:V}=t;Xt(e.token,"Injector profiler context token is undefined.");const X=p.get(e.token);Xt(X,"Could not resolve dependencies for token."),X.push(e.injector instanceof Er?{token:E,value:N,flags:V,injectedIn:jI(e.injector)}:{token:E,value:N,flags:V})}(t,e.service):1===i?function HI(e,t){const{value:i}=t;let a;if(null===My(e.injector)&&tn("An InjectorCreatedInstance event must be run within an injection context."),"object"==typeof i&&(a=i?.constructor),void 0===a||!function zI(e){return!!ti(e)?.standalone}(a))return;const p=e.injector.get(Hs,null,{optional:!0});if(null===p)return;const{standaloneInjectorToComponent:E}=sc;E.has(p)||E.set(p,a)}(t,e.instance):2===i&&function WI(e,t){const{resolverToProviders:i}=sc;let a;a=e?.injector instanceof Er?ma(e.injector):e.injector,null===a&&tn("A ProviderConfigured event must be run within an injection context."),i.has(a)||i.set(a,[]),i.get(a).push(t)}(t,e.providerRecord)}(e))}(),zr("\u0275getDependenciesFromInjectable",ZI),zr("\u0275getInjectorProviders",iS),zr("\u0275getInjectorResolutionPath",Dy),zr("\u0275getInjectorMetadata",rS),zr("\u0275setProfiler",ur),zr("getDirectiveMetadata",YD),zr("getComponent",Qf),zr("getContext",mb),zr("getListeners",bb),zr("getOwningComponent",pb),zr("getHostElement",Xf),zr("getInjector",_b),zr("getRootComponents",gb),zr("getDirectives",vb),zr("applyChanges",KI))}function zr(e,t){if((typeof COMPILED>"u"||!COMPILED)&&pe){let a=pe[Iy];a||(a=pe[Iy]={}),a[e]=t}}const Ty=new _t(""),Ay=new _t("");let dm,lS=(()=>{class e{constructor(i,a,p){this._ngZone=i,this.registry=a,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,dm||(Ry(p),p.addToWindow(a)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{br.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(i)||(clearTimeout(a.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,a,p){let E=-1;a&&a>0&&(E=setTimeout(()=>{this._callbacks=this._callbacks.filter(N=>N.timeoutId!==E),i(this._didWork,this.getPendingTasks())},a)),this._callbacks.push({doneCb:i,timeoutId:E,updateCb:p})}whenStable(i,a,p){if(p&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,a,p),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,a,p){return[]}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(br),Ln(ky),Ln(Ay))};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac})}return e})(),ky=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,a){this._applications.set(i,a)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,a=!0){return dm?.findTestabilityInTree(this,i,a)??null}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ry(e){dm=e}const Oy=new _t("Application Initializer");let Lu=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,a)=>{this.resolve=i,this.reject=a}),this.appInits=Vn(Oy,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const p of this.appInits){const E=p();if(gf(E))i.push(E);else if(Uv(E)){const N=new Promise((V,X)=>{E.subscribe({complete:V,error:X})});i.push(N)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(p=>{this.reject(p)}),0===i.length&&a(),this.initialized=!0}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const hm=new _t("appBootstrapListener");function Ly(e,t,i){const a=new Iu(i);return Promise.resolve(a)}function Py(){!function j(e){ne=e}(()=>{throw new jt(600,!1)})}function Ny(e){return e.isBoundToModule}class cS{constructor(t,i){this.name=t,this.token=i}}function Fy(e,t,i){try{const a=i();return gf(a)?a.catch(p=>{throw t.runOutsideAngular(()=>e.handleError(p)),p}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}function Uy(e,t){return Array.isArray(t)?t.reduce(Uy,e):{...e,...t}}let Nu,rl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Vn(P0),this.componentTypes=[],this.components=[],this.isStable=Vn(cm).hasPendingTasks.pipe((0,Ce.U)(i=>!i)),this._injector=Vn(Hs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,a){const p=i instanceof Yc;if(!this._injector.get(Lu).done)throw!p&&Br(i),new jt(405,!1);let N;N=p?i:this._injector.get(kl).resolveComponentFactory(i),this.componentTypes.push(N.componentType);const V=Ny(N)?void 0:this._injector.get(Jo),fe=N.create(Cs.NULL,[],a||N.selector,V),Le=fe.location.nativeElement,et=fe.injector.get(Ty,null);return et?.registerApplication(Le),fe.onDestroy(()=>{this.detachView(fe.hostView),Pu(this.components,fe),et?.unregisterApplication(Le)}),this._loadComponent(fe),fe}tick(){if(this._runningTick)throw new jt(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){const a=i;Pu(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const a=this._injector.get(hm,[]);[...this._bootstrapListeners,...a].forEach(p=>p(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),()=>Pu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new jt(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function $y(e){Nu??=new WeakMap;const t=Nu.get(e);if(t)return t;const i=e.isStable.pipe((0,ge.P)(a=>a)).toPromise().then(()=>{});return Nu.set(e,i),e.onDestroy(()=>Nu?.delete(e)),i}let uS=(()=>{class e{constructor(){this.zone=Vn(br),this.applicationRef=Vn(rl)}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(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vy(e){return[{provide:br,useFactory:e},{provide:jo,multi:!0,useFactory:()=>{const t=Vn(uS,{optional:!0});return()=>t.initialize()}},{provide:jo,multi:!0,useFactory:()=>{const t=Vn(hS);return()=>{t.initialize()}}},{provide:P0,useFactory:dS}]}function dS(){const e=Vn(br),t=Vn(Mo);return i=>e.runOutsideAngular(()=>t.handleError(i))}function jy(e){return od([[],Vy(()=>new br(Hy(e)))])}function Hy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let hS=(()=>{class e{constructor(){this.subscription=new Ee.w0,this.initialized=!1,this.zone=Vn(br),this.pendingTasks=Vn(cm)}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(()=>{br.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{br.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Fu=new _t("LocaleId",{providedIn:"root",factory:()=>Vn(Fu,vt.Optional|vt.SkipSelf)||function fS(){return typeof $localize<"u"&&$localize.locale||Xo}()}),mS=new _t("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),pS=new _t("Translations"),gS=new _t("TranslationsFormat");var zy=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(zy||{});const fm=new _t("PlatformDestroyListeners");let mm=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,a){const p=function Jx(e="zone.js",t){return"noop"===e?new mg:"zone.js"===e?new br(t):e}(a?.ngZone,Hy({eventCoalescing:a?.ngZoneEventCoalescing,runCoalescing:a?.ngZoneRunCoalescing}));return p.run(()=>{const E=function WD(e,t,i){return new Du(e,t,i)}(i.moduleType,this.injector,Vy(()=>p)),N=E.injector.get(Mo,null);return p.runOutsideAngular(()=>{const V=p.onError.subscribe({next:X=>{N.handleError(X)}});E.onDestroy(()=>{Pu(this._modules,E),V.unsubscribe()})}),Fy(N,p,()=>{const V=E.injector.get(Lu);return V.runInitializers(),V.donePromise.then(()=>(uf(E.injector.get(Fu,Xo)||Xo),this._moduleDoBootstrap(E),E))})})}bootstrapModule(i,a=[]){const p=Uy({},a);return Ly(0,0,i).then(E=>this.bootstrapModuleFactory(E,p))}_moduleDoBootstrap(i){const a=i.injector.get(rl);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(p=>a.bootstrap(p));else{if(!i.instance.ngDoBootstrap)throw new jt(-403,!1);i.instance.ngDoBootstrap(a)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new jt(404,!1);this._modules.slice().forEach(a=>a.destroy()),this._destroyListeners.forEach(a=>a());const i=this._injector.get(fm,null);i&&(i.forEach(a=>a()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(Cs))};static#t=this.\u0275prov=Yn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),To=null;const pm=new _t("AllowMultipleToken");function Wy(e){if(To&&!To.get(pm,!1))throw new jt(400,!1);Py(),To=e;const t=e.get(mm);return Zy(e),t}function Gy(e,t,i=[]){const a=`Platform: ${t}`,p=new _t(a);return(E=[])=>{let N=Uu();if(!N||N.injector.get(pm,!1)){const V=[...i,...E,{provide:p,useValue:!0}];e?e(V):Wy(Ky(V,a))}return Yy()}}function Ky(e=[],t){return Cs.create({name:t,providers:[{provide:cd,useValue:"platform"},{provide:fm,useValue:new Set([()=>To=null])},...e]})}function Yy(e){const t=Uu();if(!t)throw new jt(401,!1);return t}function Uu(){return To?.get(mm)??null}function _S(){Uu()?.destroy()}function Zy(e){e.get(up,null)?.forEach(i=>i())}function bS(){return!1}function yS(){}function CS(e){const t=_p(e);if(!t)throw Qy(e);return new Iu(t)}function wS(e){const t=_p(e);if(!t)throw Qy(e);return t}function Qy(e){return new Error(`No module with ID ${e} loaded`)}class Xy extends hh{}class xS extends Xy{}class ES{constructor(t,i){this.name=t,this.callback=i}}function MS(e){return e.map(t=>t.nativeElement)}class gm{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new oc(t):null}get injector(){return _b(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Qf(t)||pb(t))}get context(){return Qf(this.nativeNode)||mb(this.nativeNode)}get listeners(){return bb(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function ZD(e){const t=Qr(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function FC(e,t){const i=e[yn].data[t];if(i&&i.localNames){const a={};let p=i.index+1;for(let E=0;E1){let Le=X[1];for(let et=1;ett[E]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let a=0;a{if(E.name===t){const N=E.callback;N.call(a,i),p.push(N)}}),"function"==typeof a.eventListeners&&a.eventListeners(t).forEach(E=>{if(-1!==E.toString().indexOf("__ngUnwrap__")){const N=E("__ngUnwrap__");return-1===p.indexOf(N)&&N.call(a,i)}})}}function IS(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Jy(e,t,i,a){const p=Qr(e.nativeNode),E=p?p.lView:null;null!==E?ea(E[yn].data[p.nodeIndex],E,t,i,a,e.nativeNode):vm(e.nativeNode,t,i,a)}function ea(e,t,i,a,p,E){const N=function al(e,t){const i=null===e?-1:e.index;return-1!==i?xi(t[i]):null}(e,t);if(11&e.type){if(_m(N,i,a,p,E),Zr(e)){const X=xr(e.index,t);X&&X[yn].firstChild&&ea(X[yn].firstChild,X,i,a,p,E)}else e.child&&ea(e.child,t,i,a,p,E),N&&vm(N,i,a,p);const V=t[e.index];ir(V)&&qy(V,i,a,p,E)}else if(4&e.type){const V=t[e.index];_m(V[nr],i,a,p,E),qy(V,i,a,p,E)}else if(16&e.type){const V=t[Oi],fe=V[je].projection[e.projection];if(Array.isArray(fe))for(let Le of fe)_m(Le,i,a,p,E);else if(fe){const Le=V[we];ea(Le[yn].data[fe.index],Le,i,a,p,E)}}else e.child&&ea(e.child,t,i,a,p,E);if(E!==N){const V=2&e.flags?e.projectionNext:e.next;V&&ea(V,t,i,a,p,E)}}function qy(e,t,i,a,p){for(let E=fi;E{class e{constructor(i){}static#e=this.\u0275fac=function(a){return new(a||e)(Ln(rl))};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=pn({})}return e})();function VS(e){}function WS(e){try{const{rootComponent:t,appProviders:i,platformProviders:a}=e,p=function vS(e=[]){if(To)return To;const t=Ky(e);return To=t,Py(),Zy(t),t}(a),E=[jy(),...i||[]],V=new lb({providers:E,parent:p,debugName:"",runEnvironmentInitializers:!1}).injector,X=V.get(br);return X.run(()=>{V.resolveInjectorInitializers();const fe=V.get(Mo,null);let Le;X.runOutsideAngular(()=>{Le=X.onError.subscribe({next:Rt=>{fe.handleError(Rt)}})});const et=()=>V.destroy(),Mt=p.get(fm);return Mt.add(et),V.onDestroy(()=>{Le.unsubscribe(),Mt.delete(et)}),Fy(fe,X,()=>{const Rt=V.get(Lu);return Rt.runInitializers(),Rt.donePromise.then(()=>{uf(V.get(Fu,Xo)||Xo);const mn=V.get(rl);return void 0!==t&&mn.bootstrap(t),mn})})})}catch(t){return Promise.reject(t)}}function Mm(e,t){const i=e[yn];for(let a=Hn;a0&&fe===a){const Le=i[i.length-1];Le[zc]??=1,Le[zc]++}else a=fe,i.push(X)}return i}function ju(e,t,i){const a=t.index-Hn;e[Wd]??={},e[Wd][a]=tM(t,i)}function g1(e,t){const i=t.index-Hn;e[Wc]??=[],e[Wc].includes(i)||e[Wc].push(i)}function _1(e,t){const i={},a=e[yn];for(let p=Hn;p{let e=!0;return xo()&&(e=!!Vn(Sl,{optional:!0})?.get(Gd,null)),e&&Do("NgHydration"),e}},{provide:jo,useValue:()=>{xo()&&Vn(Ll)&&(function rT(){const e=wo();let t;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===g0){t=i;break}if(!t)throw new jt(-507,!1)}(),function tT(){v1||(v1=!0,function Iw(){_0=Dw}(),function FM(){lv=NM}(),function BD(){ib=UD}(),function $M(){cv=BM}(),function pM(){__=mM}(),function hM(){m_=dM,Gh=uM}(),function rM(){o_=iM}(),function ux(){G0=cx}())}())},multi:!0},{provide:F0,useFactory:()=>xo()&&Vn(Ll)},{provide:hm,useFactory:()=>{if(xo()&&Vn(Ll)){const e=Vn(rl);return Vn(Cs),()=>{(function nT(e,t){return $y(e)})(e).then(()=>{br.assertInAngularZone(),function KE(e){const t=e._views;for(const i of t){const a=v0(i);null!==a&&null!==a[Bi]&&(Xi(a)?ou(a):(ou(a[Bi]),r_(a)))}}(e)})}}return()=>{}},multi:!0}])}function sT(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function oT(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function aT(e){return Mr().compileDirectiveDeclaration(Xr,`ng:///${e.type.name}/\u0275fac.js`,e)}function lT(e){yb(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function cT(e){return Mr().compileComponentDeclaration(Xr,`ng:///${e.type.name}/\u0275cmp.js`,e)}function uT(e){return Mr(function dT(e){switch(e){case Vo.Directive:return"directive";case Vo.Component:return"component";case Vo.Injectable:return"injectable";case Vo.Pipe:return"pipe";case Vo.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Xr,`ng:///${e.type.name}/\u0275fac.js`,e)}function hT(e){return Mr().compileInjectableDeclaration(Xr,`ng:///${e.type.name}/\u0275prov.js`,e)}function fT(e){return Mr().compileInjectorDeclaration(Xr,`ng:///${e.type.name}/\u0275inj.js`,e)}function mT(e){return Mr().compileNgModuleDeclaration(Xr,`ng:///${e.type.name}/\u0275mod.js`,e)}function pT(e){return Mr().compilePipeDeclaration(Xr,`ng:///${e.type.name}/\u0275pipe.js`,e)}function gT(e,t){const i=ti(e),a=t.elementInjector||Ec();return new Pa(i).create(a,t.projectableNodes,t.hostElement,t.environmentInjector)}function _T(e){const t=ti(e);if(!t)return null;const i=new Pa(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function vT(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AbstractControl:()=>bt,AbstractControlDirective:()=>Te,AbstractFormGroupDirective:()=>On,COMPOSITION_BUFFER_MODE:()=>c,CheckboxControlValueAccessor:()=>o,CheckboxRequiredValidator:()=>ai,ControlContainer:()=>qe,DefaultValueAccessor:()=>d,EmailValidator:()=>Vi,FormArray:()=>Ri,FormArrayName:()=>Sr,FormBuilder:()=>$r,FormControl:()=>Qe,FormControlDirective:()=>Mi,FormControlName:()=>Cr,FormGroup:()=>_e,FormGroupDirective:()=>Ui,FormGroupName:()=>pr,FormRecord:()=>Se,FormsModule:()=>Bi,MaxLengthValidator:()=>ji,MaxValidator:()=>Gt,MinLengthValidator:()=>Kn,MinValidator:()=>vn,NG_ASYNC_VALIDATORS:()=>x,NG_VALIDATORS:()=>C,NG_VALUE_ACCESSOR:()=>m,NgControl:()=>Ee,NgControlStatus:()=>Ae,NgControlStatusGroup:()=>q,NgForm:()=>Y,NgModel:()=>fr,NgModelGroup:()=>ki,NgSelectOption:()=>Fr,NonNullableFormBuilder:()=>es,NumberValueAccessor:()=>qn,PatternValidator:()=>gr,RadioControlValueAccessor:()=>er,RangeValueAccessor:()=>wn,ReactiveFormsModule:()=>yn,RequiredValidator:()=>Gn,SelectControlValueAccessor:()=>wr,SelectMultipleControlValueAccessor:()=>Ur,UntypedFormArray:()=>Br,UntypedFormBuilder:()=>Zs,UntypedFormControl:()=>_t,UntypedFormGroup:()=>z,VERSION:()=>uo,Validators:()=>T,isFormArray:()=>Qi,isFormControl:()=>hn,isFormGroup:()=>oe,isFormRecord:()=>at,\u0275InternalFormsSharedModule:()=>wi,\u0275NgNoValidate:()=>Tn,\u0275NgSelectMultipleOption:()=>Dt});var n=_(9212),f=_(6814),D=_(2459),y=_(9315),u=_(7398);let v=(()=>{class he{constructor(ae,je){this._renderer=ae,this._elementRef=je,this.onChange=xt=>{},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||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he})}return he})(),s=(()=>{class he extends v{static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const m=new n.InjectionToken("NgValueAccessor"),h={provide:m,useExisting:(0,n.forwardRef)(()=>o),multi:!0};let o=(()=>{class he extends s{writeValue(ae){this.setProperty("checked",ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.checked)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const l={provide:m,useExisting:(0,n.forwardRef)(()=>d),multi:!0},c=new n.InjectionToken("CompositionEventMode");let d=(()=>{class he extends v{constructor(ae,je,xt){super(ae,je),this._compositionMode=xt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function r(){const he=(0,f.\u0275getDOM)()?(0,f.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(he.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||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,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,xt){1&je&&n.\u0275\u0275listener("input",function(Sn){return xt._handleInput(Sn.target.value)})("blur",function(){return xt.onTouched()})("compositionstart",function(){return xt._compositionStart()})("compositionend",function(Sn){return xt._compositionEnd(Sn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([l]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function g(he){return null==he||("string"==typeof he||Array.isArray(he))&&0===he.length}function b(he){return null!=he&&"number"==typeof he.length}const C=new n.InjectionToken("NgValidators"),x=new n.InjectionToken("NgAsyncValidators"),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 T{static min(we){return S(we)}static max(we){return M(we)}static required(we){return k(we)}static requiredTrue(we){return I(we)}static email(we){return P(we)}static minLength(we){return A(we)}static maxLength(we){return L(we)}static pattern(we){return F(we)}static nullValidator(we){return null}static compose(we){return $(we)}static composeAsync(we){return H(we)}}function S(he){return we=>{if(g(we.value)||g(he))return null;const ae=parseFloat(we.value);return!isNaN(ae)&&ae{if(g(we.value)||g(he))return null;const ae=parseFloat(we.value);return!isNaN(ae)&&ae>he?{max:{max:he,actual:we.value}}:null}}function k(he){return g(he.value)?{required:!0}:null}function I(he){return!0===he.value?null:{required:!0}}function P(he){return g(he.value)||w.test(he.value)?null:{email:!0}}function A(he){return we=>g(we.value)||!b(we.value)?null:we.value.lengthb(we.value)&&we.value.length>he?{maxlength:{requiredLength:he,actualLength:we.value.length}}:null}function F(he){if(!he)return R;let we,ae;return"string"==typeof he?(ae="","^"!==he.charAt(0)&&(ae+="^"),ae+=he,"$"!==he.charAt(he.length-1)&&(ae+="$"),we=new RegExp(ae)):(ae=he.toString(),we=he),je=>{if(g(je.value))return null;const xt=je.value;return we.test(xt)?null:{pattern:{requiredPattern:ae,actualValue:xt}}}}function R(he){return null}function U(he){return null!=he}function W(he){return(0,n.\u0275isPromise)(he)?(0,D.D)(he):he}function ne(he){let we={};return he.forEach(ae=>{we=null!=ae?{...we,...ae}:we}),0===Object.keys(we).length?null:we}function ee(he,we){return we.map(ae=>ae(he))}function B(he){return he.map(we=>function j(he){return!he.validate}(we)?we:ae=>we.validate(ae))}function $(he){if(!he)return null;const we=he.filter(U);return 0==we.length?null:function(ae){return ne(ee(ae,we))}}function Z(he){return null!=he?$(B(he)):null}function H(he){if(!he)return null;const we=he.filter(U);return 0==we.length?null:function(ae){const je=ee(ae,we).map(W);return(0,y.D)(je).pipe((0,u.U)(ne))}}function te(he){return null!=he?H(B(he)):null}function ue(he,we){return null===he?[we]:Array.isArray(he)?[...he,we]:[he,we]}function ye(he){return he._rawValidators}function Ge(he){return he._rawAsyncValidators}function $e(he){return he?Array.isArray(he)?he:[he]:[]}function Ye(he,we){return Array.isArray(he)?he.includes(we):he===we}function Ze(he,we){const ae=$e(we);return $e(he).forEach(xt=>{Ye(ae,xt)||ae.push(xt)}),ae}function Et(he,we){return $e(we).filter(ae=>!Ye(he,ae))}class Te{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(we){this._rawValidators=we||[],this._composedValidatorFn=Z(this._rawValidators)}_setAsyncValidators(we){this._rawAsyncValidators=we||[],this._composedAsyncValidatorFn=te(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(we){this._onDestroyCallbacks.push(we)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(we=>we()),this._onDestroyCallbacks=[]}reset(we=void 0){this.control&&this.control.reset(we)}hasError(we,ae){return!!this.control&&this.control.hasError(we,ae)}getError(we,ae){return this.control?this.control.getError(we,ae):null}}class qe extends Te{get formDirective(){return null}get path(){return null}}class Ee extends Te{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ie{constructor(we){this._cd=we}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 Ae=(()=>{class he extends Ie{constructor(ae){super(ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(Ee,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(je,xt){2&je&&n.\u0275\u0275classProp("ng-untouched",xt.isUntouched)("ng-touched",xt.isTouched)("ng-pristine",xt.isPristine)("ng-dirty",xt.isDirty)("ng-valid",xt.isValid)("ng-invalid",xt.isInvalid)("ng-pending",xt.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})(),q=(()=>{class he extends Ie{constructor(ae){super(ae)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(je,xt){2&je&&n.\u0275\u0275classProp("ng-untouched",xt.isUntouched)("ng-touched",xt.isTouched)("ng-pristine",xt.isPristine)("ng-dirty",xt.isDirty)("ng-valid",xt.isValid)("ng-invalid",xt.isInvalid)("ng-pending",xt.isPending)("ng-submitted",xt.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Ft="VALID",De="INVALID",Ve="PENDING",Xe="DISABLED";function St(he){return(Ct(he)?he.validators:he)||null}function ut(he,we){return(Ct(we)?we.asyncValidators:he)||null}function Ct(he){return null!=he&&!Array.isArray(he)&&"object"==typeof he}function Pt(he,we,ae){const je=he.controls;if(!(we?Object.keys(je):je).length)throw new n.\u0275RuntimeError(1e3,"");if(!je[ae])throw new n.\u0275RuntimeError(1001,"")}function Nt(he,we,ae){he._forEachChild((je,xt)=>{if(void 0===ae[xt])throw new n.\u0275RuntimeError(1002,"")})}class bt{constructor(we,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(we),this._assignAsyncValidators(ae)}get validator(){return this._composedValidatorFn}set validator(we){this._rawValidators=this._composedValidatorFn=we}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(we){this._rawAsyncValidators=this._composedAsyncValidatorFn=we}get parent(){return this._parent}get valid(){return this.status===Ft}get invalid(){return this.status===De}get pending(){return this.status==Ve}get disabled(){return this.status===Xe}get enabled(){return this.status!==Xe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(we){this._assignValidators(we)}setAsyncValidators(we){this._assignAsyncValidators(we)}addValidators(we){this.setValidators(Ze(we,this._rawValidators))}addAsyncValidators(we){this.setAsyncValidators(Ze(we,this._rawAsyncValidators))}removeValidators(we){this.setValidators(Et(we,this._rawValidators))}removeAsyncValidators(we){this.setAsyncValidators(Et(we,this._rawAsyncValidators))}hasValidator(we){return Ye(this._rawValidators,we)}hasAsyncValidator(we){return Ye(this._rawAsyncValidators,we)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(we={}){this.touched=!0,this._parent&&!we.onlySelf&&this._parent.markAsTouched(we)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(we=>we.markAllAsTouched())}markAsUntouched(we={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ae=>{ae.markAsUntouched({onlySelf:!0})}),this._parent&&!we.onlySelf&&this._parent._updateTouched(we)}markAsDirty(we={}){this.pristine=!1,this._parent&&!we.onlySelf&&this._parent.markAsDirty(we)}markAsPristine(we={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ae=>{ae.markAsPristine({onlySelf:!0})}),this._parent&&!we.onlySelf&&this._parent._updatePristine(we)}markAsPending(we={}){this.status=Ve,!1!==we.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!we.onlySelf&&this._parent.markAsPending(we)}disable(we={}){const ae=this._parentMarkedDirty(we.onlySelf);this.status=Xe,this.errors=null,this._forEachChild(je=>{je.disable({...we,onlySelf:!0})}),this._updateValue(),!1!==we.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...we,skipPristineCheck:ae}),this._onDisabledChange.forEach(je=>je(!0))}enable(we={}){const ae=this._parentMarkedDirty(we.onlySelf);this.status=Ft,this._forEachChild(je=>{je.enable({...we,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:we.emitEvent}),this._updateAncestors({...we,skipPristineCheck:ae}),this._onDisabledChange.forEach(je=>je(!1))}_updateAncestors(we){this._parent&&!we.onlySelf&&(this._parent.updateValueAndValidity(we),we.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(we){this._parent=we}getRawValue(){return this.value}updateValueAndValidity(we={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ft||this.status===Ve)&&this._runAsyncValidator(we.emitEvent)),!1!==we.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!we.onlySelf&&this._parent.updateValueAndValidity(we)}_updateTreeValidity(we={emitEvent:!0}){this._forEachChild(ae=>ae._updateTreeValidity(we)),this.updateValueAndValidity({onlySelf:!0,emitEvent:we.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xe:Ft}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(we){if(this.asyncValidator){this.status=Ve,this._hasOwnPendingAsyncValidator=!0;const ae=W(this.asyncValidator(this));this._asyncValidationSubscription=ae.subscribe(je=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(je,{emitEvent:we})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(we,ae={}){this.errors=we,this._updateControlsErrors(!1!==ae.emitEvent)}get(we){let ae=we;return null==ae||(Array.isArray(ae)||(ae=ae.split(".")),0===ae.length)?null:ae.reduce((je,xt)=>je&&je._find(xt),this)}getError(we,ae){const je=ae?this.get(ae):this;return je&&je.errors?je.errors[we]:null}hasError(we,ae){return!!this.getError(we,ae)}get root(){let we=this;for(;we._parent;)we=we._parent;return we}_updateControlsErrors(we){this.status=this._calculateStatus(),we&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(we)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Xe:this.errors?De:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ve)?Ve:this._anyControlsHaveStatus(De)?De:Ft}_anyControlsHaveStatus(we){return this._anyControls(ae=>ae.status===we)}_anyControlsDirty(){return this._anyControls(we=>we.dirty)}_anyControlsTouched(){return this._anyControls(we=>we.touched)}_updatePristine(we={}){this.pristine=!this._anyControlsDirty(),this._parent&&!we.onlySelf&&this._parent._updatePristine(we)}_updateTouched(we={}){this.touched=this._anyControlsTouched(),this._parent&&!we.onlySelf&&this._parent._updateTouched(we)}_registerOnCollectionChange(we){this._onCollectionChange=we}_setUpdateStrategy(we){Ct(we)&&null!=we.updateOn&&(this._updateOn=we.updateOn)}_parentMarkedDirty(we){return!we&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(we){return null}_assignValidators(we){this._rawValidators=Array.isArray(we)?we.slice():we,this._composedValidatorFn=function tt(he){return Array.isArray(he)?Z(he):he||null}(this._rawValidators)}_assignAsyncValidators(we){this._rawAsyncValidators=Array.isArray(we)?we.slice():we,this._composedAsyncValidatorFn=function Oe(he){return Array.isArray(he)?te(he):he||null}(this._rawAsyncValidators)}}class _e extends bt{constructor(we,ae,je){super(St(ae),ut(je,ae)),this.controls=we,this._initObservables(),this._setUpdateStrategy(ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(we,ae){return this.controls[we]?this.controls[we]:(this.controls[we]=ae,ae.setParent(this),ae._registerOnCollectionChange(this._onCollectionChange),ae)}addControl(we,ae,je={}){this.registerControl(we,ae),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}removeControl(we,ae={}){this.controls[we]&&this.controls[we]._registerOnCollectionChange(()=>{}),delete this.controls[we],this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}setControl(we,ae,je={}){this.controls[we]&&this.controls[we]._registerOnCollectionChange(()=>{}),delete this.controls[we],ae&&this.registerControl(we,ae),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}contains(we){return this.controls.hasOwnProperty(we)&&this.controls[we].enabled}setValue(we,ae={}){Nt(this,0,we),Object.keys(we).forEach(je=>{Pt(this,!0,je),this.controls[je].setValue(we[je],{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae)}patchValue(we,ae={}){null!=we&&(Object.keys(we).forEach(je=>{const xt=this.controls[je];xt&&xt.patchValue(we[je],{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae))}reset(we={},ae={}){this._forEachChild((je,xt)=>{je.reset(we?we[xt]:null,{onlySelf:!0,emitEvent:ae.emitEvent})}),this._updatePristine(ae),this._updateTouched(ae),this.updateValueAndValidity(ae)}getRawValue(){return this._reduceChildren({},(we,ae,je)=>(we[je]=ae.getRawValue(),we))}_syncPendingControls(){let we=this._reduceChildren(!1,(ae,je)=>!!je._syncPendingControls()||ae);return we&&this.updateValueAndValidity({onlySelf:!0}),we}_forEachChild(we){Object.keys(this.controls).forEach(ae=>{const je=this.controls[ae];je&&we(je,ae)})}_setUpControls(){this._forEachChild(we=>{we.setParent(this),we._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(we){for(const[ae,je]of Object.entries(this.controls))if(this.contains(ae)&&we(je))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ae,je,xt)=>((je.enabled||this.disabled)&&(ae[xt]=je.value),ae))}_reduceChildren(we,ae){let je=we;return this._forEachChild((xt,gn)=>{je=ae(je,xt,gn)}),je}_allControlsDisabled(){for(const we of Object.keys(this.controls))if(this.controls[we].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(we){return this.controls.hasOwnProperty(we)?this.controls[we]:null}}const z=_e,oe=he=>he instanceof _e;class Se extends _e{}const at=he=>he instanceof Se,nt=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>mt}),mt="always";function He(he,we){return[...we.path,he]}function rt(he,we,ae=mt){Nn(he,we),we.valueAccessor.writeValue(he.value),(he.disabled||"always"===ae)&&we.valueAccessor.setDisabledState?.(he.disabled),function _i(he,we){we.valueAccessor.registerOnChange(ae=>{he._pendingValue=ae,he._pendingChange=!0,he._pendingDirty=!0,"change"===he.updateOn&&Yn(he,we)})}(he,we),function st(he,we){const ae=(je,xt)=>{we.valueAccessor.writeValue(je),xt&&we.viewToModelUpdate(je)};he.registerOnChange(ae),we._registerOnDestroy(()=>{he._unregisterOnChange(ae)})}(he,we),function Hi(he,we){we.valueAccessor.registerOnTouched(()=>{he._pendingTouched=!0,"blur"===he.updateOn&&he._pendingChange&&Yn(he,we),"submit"!==he.updateOn&&he.markAsTouched()})}(he,we),function tn(he,we){if(we.valueAccessor.setDisabledState){const ae=je=>{we.valueAccessor.setDisabledState(je)};he.registerOnDisabledChange(ae),we._registerOnDestroy(()=>{he._unregisterOnDisabledChange(ae)})}}(he,we)}function Lt(he,we,ae=!0){const je=()=>{};we.valueAccessor&&(we.valueAccessor.registerOnChange(je),we.valueAccessor.registerOnTouched(je)),ui(he,we),he&&(we._invokeOnDestroyCallbacks(),he._registerOnCollectionChange(()=>{}))}function Xt(he,we){he.forEach(ae=>{ae.registerOnValidatorChange&&ae.registerOnValidatorChange(we)})}function Nn(he,we){const ae=ye(he);null!==we.validator?he.setValidators(ue(ae,we.validator)):"function"==typeof ae&&he.setValidators([ae]);const je=Ge(he);null!==we.asyncValidator?he.setAsyncValidators(ue(je,we.asyncValidator)):"function"==typeof je&&he.setAsyncValidators([je]);const xt=()=>he.updateValueAndValidity();Xt(we._rawValidators,xt),Xt(we._rawAsyncValidators,xt)}function ui(he,we){let ae=!1;if(null!==he){if(null!==we.validator){const xt=ye(he);if(Array.isArray(xt)&&xt.length>0){const gn=xt.filter(Sn=>Sn!==we.validator);gn.length!==xt.length&&(ae=!0,he.setValidators(gn))}}if(null!==we.asyncValidator){const xt=Ge(he);if(Array.isArray(xt)&&xt.length>0){const gn=xt.filter(Sn=>Sn!==we.asyncValidator);gn.length!==xt.length&&(ae=!0,he.setAsyncValidators(gn))}}}const je=()=>{};return Xt(we._rawValidators,je),Xt(we._rawAsyncValidators,je),ae}function Yn(he,we){he._pendingDirty&&he.markAsDirty(),he.setValue(he._pendingValue,{emitModelToViewChange:!1}),we.viewToModelUpdate(he._pendingValue),he._pendingChange=!1}function pn(he,we){Nn(he,we)}function ct(he,we){if(!he.hasOwnProperty("model"))return!1;const ae=he.model;return!!ae.isFirstChange()||!Object.is(we,ae.currentValue)}function wt(he,we){he._syncPendingControls(),we.forEach(ae=>{const je=ae.control;"submit"===je.updateOn&&je._pendingChange&&(ae.viewToModelUpdate(je._pendingValue),je._pendingChange=!1)})}function vt(he,we){if(!we)return null;let ae,je,xt;return Array.isArray(we),we.forEach(gn=>{gn.constructor===d?ae=gn:function Ut(he){return Object.getPrototypeOf(he.constructor)===s}(gn)?je=gn:xt=gn}),xt||je||ae||null}const ze={provide:qe,useExisting:(0,n.forwardRef)(()=>Y)},en=(()=>Promise.resolve())();let Y=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.callSetDisabledState=xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new _e({},Z(ae),te(je))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ae){en.then(()=>{const je=this._findContainer(ae.path);ae.control=je.registerControl(ae.name,ae.control),rt(ae.control,ae,this.callSetDisabledState),ae.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ae)})}getControl(ae){return this.form.get(ae.path)}removeControl(ae){en.then(()=>{const je=this._findContainer(ae.path);je&&je.removeControl(ae.name),this._directives.delete(ae)})}addFormGroup(ae){en.then(()=>{const je=this._findContainer(ae.path),xt=new _e({});pn(xt,ae),je.registerControl(ae.name,xt),xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ae){en.then(()=>{const je=this._findContainer(ae.path);je&&je.removeControl(ae.name)})}getFormGroup(ae){return this.form.get(ae.path)}updateModel(ae,je){en.then(()=>{this.form.get(ae.path).setValue(je)})}setValue(ae){this.control.setValue(ae)}onSubmit(ae){return this.submitted=!0,wt(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||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("submit",function(Sn){return xt.onSubmit(Sn)})("reset",function(){return xt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([ze]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function pe(he,we){const ae=he.indexOf(we);ae>-1&&he.splice(ae,1)}function de(he){return"object"==typeof he&&null!==he&&2===Object.keys(he).length&&"value"in he&&"disabled"in he}const Qe=class extends bt{constructor(we=null,ae,je){super(St(ae),ut(je,ae)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(we),this._setUpdateStrategy(ae),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ct(ae)&&(ae.nonNullable||ae.initialValueIsDefault)&&(this.defaultValue=de(we)?we.value:we)}setValue(we,ae={}){this.value=this._pendingValue=we,this._onChange.length&&!1!==ae.emitModelToViewChange&&this._onChange.forEach(je=>je(this.value,!1!==ae.emitViewToModelChange)),this.updateValueAndValidity(ae)}patchValue(we,ae={}){this.setValue(we,ae)}reset(we=this.defaultValue,ae={}){this._applyFormState(we),this.markAsPristine(ae),this.markAsUntouched(ae),this.setValue(this.value,ae),this._pendingChange=!1}_updateValue(){}_anyControls(we){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(we){this._onChange.push(we)}_unregisterOnChange(we){pe(this._onChange,we)}registerOnDisabledChange(we){this._onDisabledChange.push(we)}_unregisterOnDisabledChange(we){pe(this._onDisabledChange,we)}_forEachChild(we){}_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(we){de(we)?(this.value=this._pendingValue=we.value,we.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=we}},_t=Qe,hn=he=>he instanceof Qe;let On=(()=>{class he extends qe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return He(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(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275InheritDefinitionFeature]})}return he})();const qi={provide:qe,useExisting:(0,n.forwardRef)(()=>ki)};let ki=(()=>{class he extends On{constructor(ae,je,xt){super(),this.name="",this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}_checkParentType(){}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,5),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([qi]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const zi={provide:Ee,useExisting:(0,n.forwardRef)(()=>fr)},Gi=(()=>Promise.resolve())();let fr=(()=>{class he extends Ee{constructor(ae,je,xt,gn,Sn,Di){super(),this._changeDetectorRef=Sn,this.callSetDisabledState=Di,this.control=new Qe,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt),this.valueAccessor=vt(0,gn)}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),ct(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(){rt(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){Gi.then(()=>{this.control.setValue(ae,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ae){const je=ae.isDisabled.currentValue,xt=0!==je&&(0,n.booleanAttribute)(je);Gi.then(()=>{xt&&!this.control.disabled?this.control.disable():!xt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ae){return this._parent?He(ae,this._parent):[ae]}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,9),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([zi]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})(),Tn=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return he})();const Ki={provide:m,useExisting:(0,n.forwardRef)(()=>qn),multi:!0};let qn=(()=>{class he 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(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("input",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Ki]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Pn={provide:m,useExisting:(0,n.forwardRef)(()=>er),multi:!0};let Fi=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return he})(),mr=(()=>{class he{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||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:Fi})}return he})(),er=(()=>{class he extends s{constructor(ae,je,xt,gn){super(ae,je),this._registry=xt,this._injector=gn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(nt,{optional:!0})??mt}ngOnInit(){this._control=this._injector.get(Ee),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||he)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mr),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(){return xt.onChange()})("blur",function(){return xt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Pn]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const _n={provide:m,useExisting:(0,n.forwardRef)(()=>wn),multi:!0};let wn=(()=>{class he 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(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.value)})("input",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([_n]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Fn=new n.InjectionToken("NgModelWithFormControlWarning"),Ln={provide:Ee,useExisting:(0,n.forwardRef)(()=>Mi)};let Mi=(()=>{class he extends Ee{set isDisabled(ae){}static#e=this._ngModelWarningSentOnce=!1;constructor(ae,je,xt,gn,Sn){super(),this._ngModelWarningConfig=gn,this.callSetDisabledState=Sn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ae),this._setAsyncValidators(je),this.valueAccessor=vt(0,xt)}ngOnChanges(ae){if(this._isControlChanged(ae)){const je=ae.form.previousValue;je&&Lt(je,this,!1),rt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ct(ae,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ae){this.viewModel=ae,this.update.emit(ae)}_isControlChanged(ae){return ae.hasOwnProperty("form")}static#t=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(Fn,8),n.\u0275\u0275directiveInject(nt,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Ln]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const Vn={provide:qe,useExisting:(0,n.forwardRef)(()=>Ui)};let Ui=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.callSetDisabledState=xt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.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&&(ui(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 rt(je,ae,this.callSetDisabledState),je.updateValueAndValidity({emitEvent:!1}),this.directives.push(ae),je}getControl(ae){return this.form.get(ae.path)}removeControl(ae){Lt(ae.control||null,ae,!1),function Ht(he,we){const ae=he.indexOf(we);ae>-1&&he.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,wt(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,xt=this.form.get(ae.path);je!==xt&&(Lt(je||null,ae),hn(xt)&&(rt(xt,ae,this.callSetDisabledState),ae.control=xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ae){const je=this.form.get(ae.path);pn(je,ae),je.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ae){if(this.form){const je=this.form.get(ae.path);je&&function Ue(he,we){return ui(he,we)}(je,ae)&&je.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Nn(this.form,this),this._oldForm&&ui(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroup",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("submit",function(Sn){return xt.onSubmit(Sn)})("reset",function(){return xt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Vn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const sr={provide:qe,useExisting:(0,n.forwardRef)(()=>pr)};let pr=(()=>{class he extends On{constructor(ae,je,xt){super(),this.name=null,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}_checkParentType(){Lr(this._parent)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([sr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Gr={provide:qe,useExisting:(0,n.forwardRef)(()=>Sr)};let Sr=(()=>{class he extends qe{constructor(ae,je,xt){super(),this.name=null,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return He(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Lr(this._parent)}static#e=this.\u0275fac=function(je){return new(je||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Gr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();function Lr(he){return!(he instanceof pr||he instanceof Ui||he instanceof Sr)}const tr={provide:Ee,useExisting:(0,n.forwardRef)(()=>Cr)};let Cr=(()=>{class he extends Ee{set isDisabled(ae){}static#e=this._ngModelWarningSentOnce=!1;constructor(ae,je,xt,gn,Sn){super(),this._ngModelWarningConfig=Sn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ae,this._setValidators(je),this._setAsyncValidators(xt),this.valueAccessor=vt(0,gn)}ngOnChanges(ae){this._added||this._setUpControl(),ct(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 He(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||he)(n.\u0275\u0275directiveInject(qe,13),n.\u0275\u0275directiveInject(C,10),n.\u0275\u0275directiveInject(x,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(Fn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([tr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return he})();const Zi={provide:m,useExisting:(0,n.forwardRef)(()=>wr),multi:!0};function or(he,we){return null==he?`${we}`:(we&&"object"==typeof we&&(we="Object"),`${he}: ${we}`.slice(0,50))}let wr=(()=>{class he 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 xt=or(this._getOptionId(ae),ae);this.setProperty("value",xt)}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 oi(he){return he.split(":")[0]}(ae);return this._optionMap.has(je)?this._optionMap.get(je):ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target.value)})("blur",function(){return xt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Zi]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),Fr=(()=>{class he{constructor(ae,je,xt){this._element=ae,this._renderer=je,this._select=xt,this._select&&(this.id=this._select._registerOption())}set ngValue(ae){null!=this._select&&(this._select._optionMap.set(this.id,ae),this._setElementValue(or(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||he)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(wr,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return he})();const ps={provide:m,useExisting:(0,n.forwardRef)(()=>Ur),multi:!0};function Jr(he,we){return null==he?`${we}`:("string"==typeof we&&(we=`'${we}'`),we&&"object"==typeof we&&(we="Object"),`${he}: ${we}`.slice(0,50))}let Ur=(()=>{class he 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 xt=ae.map(gn=>this._getOptionId(gn));je=(gn,Sn)=>{gn._setSelected(xt.indexOf(Sn.toString())>-1)}}else je=(xt,gn)=>{xt._setSelected(!1)};this._optionMap.forEach(je)}registerOnChange(ae){this.onChange=je=>{const xt=[],gn=je.selectedOptions;if(void 0!==gn){const Sn=gn;for(let Di=0;Di{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(je,xt){1&je&&n.\u0275\u0275listener("change",function(Sn){return xt.onChange(Sn.target)})("blur",function(){return xt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ps]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),Dt=(()=>{class he{constructor(ae,je,xt){this._element=ae,this._renderer=je,this._select=xt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ae){null!=this._select&&(this._value=ae,this._setElementValue(Jr(this.id,ae)),this._select.writeValue(this._select.value))}set value(ae){this._select?(this._value=ae,this._setElementValue(Jr(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||he)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ur,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return he})();function gt(he){return"number"==typeof he?he:parseInt(he,10)}function Tt(he){return"number"==typeof he?he:parseFloat(he)}let It=(()=>{class he{constructor(){this._validator=R}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):R,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||he)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,features:[n.\u0275\u0275NgOnChangesFeature]})}return he})();const $t={provide:C,useExisting:(0,n.forwardRef)(()=>Gt),multi:!0};let Gt=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ae=>Tt(ae),this.createValidator=ae=>M(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("max",xt._enabled?xt.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([$t]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const on={provide:C,useExisting:(0,n.forwardRef)(()=>vn),multi:!0};let vn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ae=>Tt(ae),this.createValidator=ae=>S(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("min",xt._enabled?xt.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([on]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const bn={provide:C,useExisting:(0,n.forwardRef)(()=>Gn),multi:!0},An={provide:C,useExisting:(0,n.forwardRef)(()=>ai),multi:!0};let Gn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ae=>k}enabled(ae){return ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("required",xt._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([bn]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),ai=(()=>{class he extends Gn{constructor(){super(...arguments),this.createValidator=ae=>I}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("required",xt._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([An]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const Ti={provide:C,useExisting:(0,n.forwardRef)(()=>Vi),multi:!0};let Vi=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ae=>P}enabled(ae){return ae}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Ti]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const ri={provide:C,useExisting:(0,n.forwardRef)(()=>Kn),multi:!0};let Kn=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ae=>gt(ae),this.createValidator=ae=>A(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("minlength",xt._enabled?xt.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([ri]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const li={provide:C,useExisting:(0,n.forwardRef)(()=>ji),multi:!0};let ji=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ae=>gt(ae),this.createValidator=ae=>L(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("maxlength",xt._enabled?xt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([li]),n.\u0275\u0275InheritDefinitionFeature]})}return he})();const lr={provide:C,useExisting:(0,n.forwardRef)(()=>gr),multi:!0};let gr=(()=>{class he extends It{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ae=>ae,this.createValidator=ae=>F(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(je,xt){2&je&&n.\u0275\u0275attribute("pattern",xt._enabled?xt.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return he})(),wi=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Fi]})}return he})();class Ri extends bt{constructor(we,ae,je){super(St(ae),ut(je,ae)),this.controls=we,this._initObservables(),this._setUpdateStrategy(ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(we){return this.controls[this._adjustIndex(we)]}push(we,ae={}){this.controls.push(we),this._registerControl(we),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}insert(we,ae,je={}){this.controls.splice(we,0,ae),this._registerControl(ae),this.updateValueAndValidity({emitEvent:je.emitEvent})}removeAt(we,ae={}){let je=this._adjustIndex(we);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),this.updateValueAndValidity({emitEvent:ae.emitEvent})}setControl(we,ae,je={}){let xt=this._adjustIndex(we);xt<0&&(xt=0),this.controls[xt]&&this.controls[xt]._registerOnCollectionChange(()=>{}),this.controls.splice(xt,1),ae&&(this.controls.splice(xt,0,ae),this._registerControl(ae)),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(we,ae={}){Nt(this,0,we),we.forEach((je,xt)=>{Pt(this,!1,xt),this.at(xt).setValue(je,{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae)}patchValue(we,ae={}){null!=we&&(we.forEach((je,xt)=>{this.at(xt)&&this.at(xt).patchValue(je,{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae))}reset(we=[],ae={}){this._forEachChild((je,xt)=>{je.reset(we[xt],{onlySelf:!0,emitEvent:ae.emitEvent})}),this._updatePristine(ae),this._updateTouched(ae),this.updateValueAndValidity(ae)}getRawValue(){return this.controls.map(we=>we.getRawValue())}clear(we={}){this.controls.length<1||(this._forEachChild(ae=>ae._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:we.emitEvent}))}_adjustIndex(we){return we<0?we+this.length:we}_syncPendingControls(){let we=this.controls.reduce((ae,je)=>!!je._syncPendingControls()||ae,!1);return we&&this.updateValueAndValidity({onlySelf:!0}),we}_forEachChild(we){this.controls.forEach((ae,je)=>{we(ae,je)})}_updateValue(){this.value=this.controls.filter(we=>we.enabled||this.disabled).map(we=>we.value)}_anyControls(we){return this.controls.some(ae=>ae.enabled&&we(ae))}_setUpControls(){this._forEachChild(we=>this._registerControl(we))}_allControlsDisabled(){for(const we of this.controls)if(we.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(we){we.setParent(this),we._registerOnCollectionChange(this._onCollectionChange)}_find(we){return this.at(we)??null}}const Br=Ri,Qi=he=>he instanceof Ri;function Es(he){return!!he&&(void 0!==he.asyncValidators||void 0!==he.validators||void 0!==he.updateOn)}let $r=(()=>{class he{constructor(){this.useNonNullable=!1}get nonNullable(){const ae=new he;return ae.useNonNullable=!0,ae}group(ae,je=null){const xt=this._reduceControls(ae);let gn={};return Es(je)?gn=je:null!==je&&(gn.validators=je.validator,gn.asyncValidators=je.asyncValidator),new _e(xt,gn)}record(ae,je=null){const xt=this._reduceControls(ae);return new Se(xt,je)}control(ae,je,xt){let gn={};return this.useNonNullable?(Es(je)?gn=je:(gn.validators=je,gn.asyncValidators=xt),new Qe(ae,{...gn,nonNullable:!0})):new Qe(ae,je,xt)}array(ae,je,xt){const gn=ae.map(Sn=>this._createControl(Sn));return new Ri(gn,je,xt)}_reduceControls(ae){const je={};return Object.keys(ae).forEach(xt=>{je[xt]=this._createControl(ae[xt])}),je}_createControl(ae){return ae instanceof Qe||ae instanceof bt?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||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),es=(()=>{class he{static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:()=>(0,n.inject)($r).nonNullable,providedIn:"root"})}return he})(),Zs=(()=>{class he extends $r{group(ae,je=null){return super.group(ae,je)}control(ae,je,xt){return super.control(ae,je,xt)}array(ae,je,xt){return super.array(ae,je,xt)}static#e=this.\u0275fac=(()=>{let ae;return function(xt){return(ae||(ae=n.\u0275\u0275getInheritedFactory(he)))(xt||he)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})();const uo=new n.Version("17.0.8");let Bi=(()=>{class he{static withConfig(ae){return{ngModule:he,providers:[{provide:nt,useValue:ae.callSetDisabledState??mt}]}}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[wi]})}return he})(),yn=(()=>{class he{static withConfig(ae){return{ngModule:he,providers:[{provide:Fn,useValue:ae.warnOnNgModelWithFormControl??"always"},{provide:nt,useValue:ae.callSetDisabledState??mt}]}}static#e=this.\u0275fac=function(je){return new(je||he)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:he});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[wi]})}return he})()},4630:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>j,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>B,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>ue,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>ye,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ge,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>H,MatAutocomplete:()=>$,MatAutocompleteModule:()=>Ye,MatAutocompleteOrigin:()=>Z,MatAutocompleteSelectedEvent:()=>ee,MatAutocompleteTrigger:()=>$e,getMatAutocompleteMissingPanelError:()=>te});var n=_(9212),f=_(3680),D=_(6814),y=_(6672),u=_(9594),v=_(4191),s=_(2495),m=_(2831),h=_(6825),o=_(7394),l=_(8645),r=_(4911),c=_(3019),d=_(2096),g=_(2438),b=_(6028),C=_(8484),x=_(6223),w=_(4170),T=_(7921),S=_(4664),M=_(8180),k=_(2181),I=_(7398),P=_(9397),A=_(7547),L=_(9388);const F=["panel"];function R(Ze,Et){if(1&Ze){const Te=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275listener("@panelAnimation.done",function(Ee){n.\u0275\u0275restoreView(Te);const Ie=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ie._animationDone.next(Ee))}),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()}if(2&Ze){const Te=Et.id,qe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",qe.id)("ngClass",qe._classList)("@panelAnimation",qe.isOpen?"visible":"hidden"),n.\u0275\u0275attribute("aria-label",qe.ariaLabel||null)("aria-labelledby",qe._getPanelAriaLabelledby(Te))}}const U=["*"],W=(0,h.X$)("panelAnimation",[(0,h.SB)("void, hidden",(0,h.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,h.eR)(":enter, hidden => visible",[(0,h.ru)([(0,h.jt)("0.03s linear",(0,h.oB)({opacity:1})),(0,h.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,h.oB)({transform:"scaleY(1)"}))])]),(0,h.eR)(":leave, visible => hidden",[(0,h.jt)("0.075s linear",(0,h.oB)({opacity:0}))])]);let ne=0;class ee{constructor(Et,Te){this.source=Et,this.option=Te}}const j=new n.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:B});function B(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}let $=(()=>{class Ze{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Te){this._color=Te,this._setThemeClasses(this._classList)}set classList(Te){this._classList=Te&&Te.length?(0,s.du)(Te).reduce((qe,Ee)=>(qe[Ee]=!0,qe),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Te){this._hideSingleSelectionIndicator=Te,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Te of this.options)Te._changeDetectorRef.markForCheck()}constructor(Te,qe,Ee,Ie){this._changeDetectorRef=Te,this._elementRef=qe,this._defaults=Ee,this._activeOptionChanges=o.w0.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new n.EventEmitter,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new n.EventEmitter,this.opened=new n.EventEmitter,this.closed=new n.EventEmitter,this.optionActivated=new n.EventEmitter,this._classList={},this.id="mat-autocomplete-"+ne++,this.inertGroups=Ie?.SAFARI||!1,this.autoActiveFirstOption=!!Ee.autoActiveFirstOption,this.autoSelectActiveOption=!!Ee.autoSelectActiveOption,this.requireSelection=!!Ee.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new v.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Te=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Te]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(Te){this.panel&&(this.panel.nativeElement.scrollTop=Te)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Te){const qe=new ee(this,Te);this.optionSelected.emit(qe)}_getPanelAriaLabelledby(Te){return this.ariaLabel?null:this.ariaLabelledby?(Te?Te+" ":"")+this.ariaLabelledby:Te}_setVisibilityClasses(Te){Te[this._visibleClass]=this.showPanel,Te[this._hiddenClass]=!this.showPanel}_setThemeClasses(Te){Te["mat-primary"]="primary"===this._color,Te["mat-warn"]="warn"===this._color,Te["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(m.t4))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ze,selectors:[["mat-autocomplete"]],contentQueries:function(qe,Ee,Ie){if(1&qe&&(n.\u0275\u0275contentQuery(Ie,f.MatOption,5),n.\u0275\u0275contentQuery(Ie,f.MAT_OPTGROUP,5)),2&qe){let Ce;n.\u0275\u0275queryRefresh(Ce=n.\u0275\u0275loadQuery())&&(Ee.options=Ce),n.\u0275\u0275queryRefresh(Ce=n.\u0275\u0275loadQuery())&&(Ee.optionGroups=Ce)}},viewQuery:function(qe,Ee){if(1&qe&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(F,5)),2&qe){let Ie;n.\u0275\u0275queryRefresh(Ie=n.\u0275\u0275loadQuery())&&(Ee.template=Ie.first),n.\u0275\u0275queryRefresh(Ie=n.\u0275\u0275loadQuery())&&(Ee.panel=Ie.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:["autoActiveFirstOption","autoActiveFirstOption",n.booleanAttribute],autoSelectActiveOption:["autoSelectActiveOption","autoSelectActiveOption",n.booleanAttribute],requireSelection:["requireSelection","requireSelection",n.booleanAttribute],panelWidth:"panelWidth",disableRipple:["disableRipple","disableRipple",n.booleanAttribute],classList:["class","classList"],hideSingleSelectionIndicator:["hideSingleSelectionIndicator","hideSingleSelectionIndicator",n.booleanAttribute]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[n.\u0275\u0275ProvidersFeature([{provide:f.MAT_OPTION_PARENT_COMPONENT,useExisting:Ze}]),n.\u0275\u0275InputTransformsFeature],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(qe,Ee){1&qe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,R,3,5,"ng-template"))},dependencies:[D.NgClass],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;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:[W]},changeDetection:0})}return Ze})(),Z=(()=>{class Ze{constructor(Te){this.elementRef=Te}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ze,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"]})}return Ze})();const H={provide:x.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>$e),multi:!0};function te(){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 ue=new n.InjectionToken("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const Ze=(0,n.inject)(u.aV);return()=>Ze.scrollStrategies.reposition()}});function ye(Ze){return()=>Ze.scrollStrategies.reposition()}const Ge={provide:ue,deps:[u.aV],useFactory:ye};let $e=(()=>{class Ze{constructor(Te,qe,Ee,Ie,Ce,ge,Ae,q,Re,ke,Ke){this._element=Te,this._overlay=qe,this._viewContainerRef=Ee,this._zone=Ie,this._changeDetectorRef=Ce,this._dir=Ae,this._formField=q,this._document=Re,this._viewportRuler=ke,this._defaults=Ke,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=o.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new l.x,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.P)(()=>{const me=this.autocomplete?this.autocomplete.options:null;return me?me.changes.pipe((0,T.O)(me),(0,S.w)(()=>(0,c.T)(...me.map(Pe=>Pe.onSelectionChange)))):this._zone.onStable.pipe((0,M.q)(1),(0,S.w)(()=>this.optionSelections))}),this._handlePanelKeydown=me=>{(me.keyCode===b.hY&&!(0,b.Vb)(me)||me.keyCode===b.LH&&(0,b.Vb)(me,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),me.stopPropagation(),me.preventDefault())},this._trackedModal=null,this._scrollStrategy=ge}ngAfterViewInit(){const Te=this._getWindow();typeof Te<"u"&&this._zone.runOutsideAngular(()=>Te.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Te){Te.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Te=this._getWindow();typeof Te<"u"&&Te.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,v.Zf)(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,v.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,c.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,k.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,k.h)(()=>this._overlayAttached)):(0,d.of)()).pipe((0,I.U)(Te=>Te instanceof f.MatOptionSelectionChange?Te:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,c.T)((0,g.R)(this._document,"click"),(0,g.R)(this._document,"auxclick"),(0,g.R)(this._document,"touchend")).pipe((0,k.h)(Te=>{const qe=(0,m.sA)(Te),Ee=this._formField?this._formField._elementRef.nativeElement:null,Ie=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&qe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Ee||!Ee.contains(qe))&&(!Ie||!Ie.contains(qe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(qe)}))}writeValue(Te){Promise.resolve(null).then(()=>this._assignOptionValue(Te))}registerOnChange(Te){this._onChange=Te}registerOnTouched(Te){this._onTouched=Te}setDisabledState(Te){this._element.nativeElement.disabled=Te}_handleKeydown(Te){const qe=Te.keyCode,Ee=(0,b.Vb)(Te);if(qe===b.hY&&!Ee&&Te.preventDefault(),this.activeOption&&qe===b.K5&&this.panelOpen&&!Ee)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Te.preventDefault();else if(this.autocomplete){const Ie=this.autocomplete._keyManager.activeItem,Ce=qe===b.LH||qe===b.JH;qe===b.Mf||Ce&&!Ee&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Te):Ce&&this._canOpen()&&this.openPanel(),(Ce||this.autocomplete._keyManager.activeItem!==Ie)&&(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(Te){let qe=Te.target,Ee=qe.value;if("number"===qe.type&&(Ee=""==Ee?null:parseFloat(Ee)),this._previousValue!==Ee){if(this._previousValue=Ee,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(Ee),Ee){if(this.panelOpen&&!this.autocomplete.requireSelection){const Ie=this.autocomplete.options?.find(Ce=>Ce.selected);Ie&&Ee!==(this.autocomplete.displayWith?.(Ie)??Ie.value)&&Ie.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);this._canOpen()&&this._document.activeElement===Te.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(Te=!1){this._formField&&"auto"===this._formField.floatLabel&&(Te?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Te=this._zone.onStable.pipe((0,M.q)(1)),qe=this.autocomplete.options.changes.pipe((0,P.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,A.g)(0));return(0,c.T)(Te,qe).pipe((0,S.w)(()=>(this._zone.run(()=>{const Ee=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Ee!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,M.q)(1)).subscribe(Ee=>this._setValueAndClose(Ee))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Te){const qe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Te):Te;null==Te&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(qe??"")}_updateNativeInputValue(Te){this._formField?this._formField._control.value=Te:this._element.nativeElement.value=Te,this._previousValue=Te}_setValueAndClose(Te){const qe=this.autocomplete,Ee=Te?Te.source:this._pendingAutoselectedOption;Ee?(this._clearPreviousSelectedOption(Ee),this._assignOptionValue(Ee.value),this._onChange(Ee.value),qe._emitSelectEvent(Ee),this._element.nativeElement.focus()):qe.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),qe._animationDone?qe._animationDone.pipe((0,M.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(Te,qe){this.autocomplete?.options?.forEach(Ee=>{Ee!==Te&&Ee.selected&&Ee.deselect(qe)})}_attachOverlay(){let Te=this._overlayRef;Te?(this._positionStrategy.setOrigin(this._getConnectedElement()),Te.updateSize({width:this._getPanelWidth()})):(this._portal=new C.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Te=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Te,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Te&&Te.updateSize({width:this._getPanelWidth()})})),Te&&!Te.hasAttached()&&(Te.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const qe=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&qe!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Te=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Te.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Te.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new u.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Te=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Te),this._positionStrategy=Te,Te}_setStrategyPositions(Te){const qe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ee=this._aboveClass,Ie=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Ee},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Ee}];let Ce;Ce="above"===this.position?Ie:"below"===this.position?qe:[...qe,...Ie],Te.withPositions(Ce)}_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 Te=this.autocomplete;if(Te.autoActiveFirstOption){let qe=-1;for(let Ee=0;Ee .cdk-overlay-container [aria-modal="true"]');if(!Te)return;const qe=this.autocomplete.id;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",qe),(0,v.Zf)(Te,"aria-owns",qe),this._trackedModal=Te}_clearFromModal(){this._trackedModal&&((0,v.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(qe){return new(qe||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.aV),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(L.Is,8),n.\u0275\u0275directiveInject(w.MAT_FORM_FIELD,9),n.\u0275\u0275directiveInject(D.DOCUMENT,8),n.\u0275\u0275directiveInject(y.rL),n.\u0275\u0275directiveInject(j,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ze,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(qe,Ee){1&qe&&n.\u0275\u0275listener("focusin",function(){return Ee._handleFocus()})("blur",function(){return Ee._onTouched()})("input",function(Ce){return Ee._handleInput(Ce)})("keydown",function(Ce){return Ee._handleKeydown(Ce)})("click",function(){return Ee._handleClick()}),2&qe&&n.\u0275\u0275attribute("autocomplete",Ee.autocompleteAttribute)("role",Ee.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ee.autocompleteDisabled?null:"list")("aria-activedescendant",Ee.panelOpen&&Ee.activeOption?Ee.activeOption.id:null)("aria-expanded",Ee.autocompleteDisabled?null:Ee.panelOpen.toString())("aria-controls",Ee.autocompleteDisabled||!Ee.panelOpen||null==Ee.autocomplete?null:Ee.autocomplete.id)("aria-haspopup",Ee.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled",n.booleanAttribute]},exportAs:["matAutocompleteTrigger"],features:[n.\u0275\u0275ProvidersFeature([H]),n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ze})(),Ye=(()=>{class Ze{static#e=this.\u0275fac=function(qe){return new(qe||Ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ge],imports:[u.U8,f.MatOptionModule,f.MatCommonModule,D.CommonModule,y.ZD,f.MatOptionModule,f.MatCommonModule]})}return Ze})()},2296:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_FAB_DEFAULT_OPTIONS:()=>k,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>I,MatAnchor:()=>M,MatButton:()=>S,MatButtonModule:()=>ne,MatFabAnchor:()=>F,MatFabButton:()=>A,MatIconAnchor:()=>W,MatIconButton:()=>U,MatMiniFabAnchor:()=>R,MatMiniFabButton:()=>L});var n=_(2831),f=_(9212),D=_(4191),y=_(3680);const u=["mat-button",""],v=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],s=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],h=".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}",o=["mat-fab",""],l=["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);background-color:var(--mdc-elevation-overlay-color)}.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:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.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:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.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{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);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,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-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),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{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-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.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-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-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-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.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-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 .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}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',c=["mat-icon-button",""],d=["*"],C=[{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 x=(()=>{class ee{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(B){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,B)}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=B,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(B){this._disabled=B,this._updateRippleDisabled()}constructor(B,$,Z,H){this._elementRef=B,this._platform=$,this._ngZone=Z,this._animationMode=H,this._focusMonitor=(0,f.inject)(D.tE),this._rippleLoader=(0,f.inject)(y.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const te=this._elementRef.nativeElement,ue=te.classList;for(const{attribute:ye,mdcClasses:Ge}of C)te.hasAttribute(ye)&&ue.add(...Ge)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(B="program",$){B?this._focusMonitor.focusVia(this._elementRef.nativeElement,B,$):this._elementRef.nativeElement.focus($)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function($){f.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:ee,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",f.booleanAttribute],disabled:["disabled","disabled",f.booleanAttribute]},features:[f.\u0275\u0275InputTransformsFeature]})}return ee})(),T=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H),this._haltDisabledEvents=te=>{this.disabled&&(te.preventDefault(),te.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function($){f.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:ee,inputs:{tabIndex:["tabIndex","tabIndex",B=>null==B?void 0:(0,f.numberAttribute)(B)]},features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature]})}return ee})(),S=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],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($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._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);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.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 .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: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{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[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.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);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.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-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: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{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[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-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);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.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-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: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{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[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][disabled]{box-shadow:none}.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);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.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-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: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{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[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-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-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return ee})(),M=(()=>{class ee extends T{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],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($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._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);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.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 .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: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{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[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.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);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.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-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: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{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[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-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);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.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-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: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{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[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][disabled]{box-shadow:none}.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);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.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-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: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{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[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-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-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',h],encapsulation:2,changeDetection:0})}return ee})();const k=new f.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:I});function I(){return{color:"accent"}}const P=I();let A=(()=>{class ee extends x{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-fab",""]],hostVars:13,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Z.extended)("mat-mdc-extended-fab",Z.extended))},inputs:{extended:["extended","extended",f.booleanAttribute]},exportAs:["matButton"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature],attrs:o,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($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._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);background-color:var(--mdc-elevation-overlay-color)}.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:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.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:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.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{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);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,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-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),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{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-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.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-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-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-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.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-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 .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}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return ee})(),L=(()=>{class ee extends x{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-mini-fab",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],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($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),F=(()=>{class ee extends M{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-fab",""]],hostVars:15,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Z.extended)("mat-mdc-extended-fab",Z.extended))},inputs:{extended:["extended","extended",f.booleanAttribute]},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InputTransformsFeature,f.\u0275\u0275InheritDefinitionFeature],attrs:o,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($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),R=(()=>{class ee extends M{constructor(B,$,Z,H,te){super(B,$,Z,H),this._options=te,this._isFab=!0,this._options=this._options||P,this.color=this._options.color||P.color}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8),f.\u0275\u0275directiveInject(k,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-mini-fab",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],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($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return ee})(),U=(()=>{class ee extends x{constructor(B,$,Z,H){super(B,$,Z,H),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:c,ngContentSelectors:d,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($,Z){1&$&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.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{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;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]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.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: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{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%)}.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}',h],encapsulation:2,changeDetection:0})}return ee})(),W=(()=>{class ee extends T{constructor(B,$,Z,H){super(B,$,Z,H)}static#e=this.\u0275fac=function($){return new($||ee)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(n.t4),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:ee,selectors:[["a","mat-icon-button",""]],hostVars:11,hostBindings:function($,Z){2&$&&(f.\u0275\u0275attribute("disabled",Z.disabled||null)("tabindex",Z.disabled?-1:Z.tabIndex)("aria-disabled",Z.disabled.toString()),f.\u0275\u0275classMap(Z.color?"mat-"+Z.color:""),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-unthemed",!Z.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[f.\u0275\u0275InheritDefinitionFeature],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($,Z){1&$&&(f.\u0275\u0275projectionDef(v),f.\u0275\u0275element(0,"span",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementStart(2,"span",1),f.\u0275\u0275projection(3,1),f.\u0275\u0275elementEnd(),f.\u0275\u0275projection(4,2),f.\u0275\u0275element(5,"span",2)(6,"span",3)),2&$&&f.\u0275\u0275classProp("mdc-button__ripple",!Z._isFab)("mdc-fab__ripple",Z._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{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.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{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;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]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.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: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{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%)}.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}',h],encapsulation:2,changeDetection:0})}return ee})(),ne=(()=>{class ee{static#e=this.\u0275fac=function($){return new($||ee)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:ee});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[y.MatCommonModule,y.MatRippleModule,y.MatCommonModule]})}return ee})()},5195:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_CARD_CONFIG:()=>h,MatCard:()=>o,MatCardActions:()=>g,MatCardAvatar:()=>k,MatCardContent:()=>c,MatCardFooter:()=>C,MatCardHeader:()=>b,MatCardImage:()=>x,MatCardLgImage:()=>S,MatCardMdImage:()=>T,MatCardModule:()=>P,MatCardSmImage:()=>w,MatCardSubtitle:()=>d,MatCardTitle:()=>l,MatCardTitleGroup:()=>r,MatCardXlImage:()=>M});var n=_(9212),f=_(6814),D=_(3680);const y=["*"],u=[[["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",""]],"*"],v=["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",""]],"*"],m=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=new n.InjectionToken("MAT_CARD_CONFIG");let o=(()=>{class A{constructor(F){this.appearance=F?.appearance||"raised"}static#e=this.\u0275fac=function(R){return new(R||A)(n.\u0275\u0275directiveInject(h,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(R,U){2&R&&n.\u0275\u0275classProp("mat-mdc-card-outlined","outlined"===U.appearance)("mdc-card--outlined","outlined"===U.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:y,decls:1,vars:0,template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(),n.\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 A})(),l=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return A})(),r=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],ngContentSelectors:v,decls:4,vars:0,template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(u),n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(2,1),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return A})(),c=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return A})(),d=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return A})(),g=(()=>{class A{constructor(){this.align="start"}static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(R,U){2&R&&n.\u0275\u0275classProp("mat-mdc-card-actions-align-end","end"===U.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return A})(),b=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:m,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(R,U){1&R&&(n.\u0275\u0275projectionDef(s),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return A})(),C=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]})}return A})(),x=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]})}return A})(),w=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"]})}return A})(),T=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"]})}return A})(),S=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-mdc-card-lg-image","mdc-card__media"]})}return A})(),M=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-mdc-card-xl-image","mdc-card__media"]})}return A})(),k=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]})}return A})(),P=(()=>{class A{static#e=this.\u0275fac=function(R){return new(R||A)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:A});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,f.CommonModule,D.MatCommonModule]})}return A})()},5986:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>h,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>s,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>m,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>d,MatCheckbox:()=>c,MatCheckboxChange:()=>o,MatCheckboxModule:()=>C,MatCheckboxRequiredValidator:()=>g,_MatCheckboxRequiredValidatorModule:()=>b});var n=_(9212),f=_(6223),D=_(3680);const y=["input"],u=["label"],v=["*"],s=new n.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:m});function m(){return{color:"accent",clickAction:"check-indeterminate"}}const h={provide:f.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>c),multi:!0};class o{}let l=0;const r=m();let c=(()=>{class x{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(T){const S=new o;return S.source=this,S.checked=T,S}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(T,S,M,k,I,P){this._elementRef=T,this._changeDetectorRef=S,this._ngZone=M,this._animationMode=I,this._options=P,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 n.EventEmitter,this.indeterminateChange=new n.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||r,this.color=this._options.color||r.color,this.tabIndex=parseInt(k)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++l}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(T){T!=this.checked&&(this._checked=T,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(T){T!==this.disabled&&(this._disabled=T,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(T){const S=T!=this._indeterminate;this._indeterminate=T,S&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(T){this.checked=!!T}registerOnChange(T){this._controlValueAccessorChangeFn=T}registerOnTouched(T){this._onTouched=T}setDisabledState(T){this.disabled=T}_transitionCheckState(T){let S=this._currentCheckState,M=this._getAnimationTargetElement();if(S!==T&&M&&(this._currentAnimationClass&&M.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(S,T),this._currentCheckState=T,this._currentAnimationClass.length>0)){M.classList.add(this._currentAnimationClass);const k=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{M.classList.remove(k)},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 T=this._options?.clickAction;this.disabled||"noop"===T?!this.disabled&&"noop"===T&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==T&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(T){T.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(T,S){if("NoopAnimations"===this._animationMode)return"";switch(T){case 0:if(1===S)return this._animationClasses.uncheckedToChecked;if(3==S)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===S?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===S?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===S?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(T){const S=this._inputElement;S&&(S.nativeElement.indeterminate=T)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(T){T.target&&this._labelElement.nativeElement.contains(T.target)&&T.stopPropagation()}static#e=this.\u0275fac=function(S){return new(S||x)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(s,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:x,selectors:[["mat-checkbox"]],viewQuery:function(S,M){if(1&S&&(n.\u0275\u0275viewQuery(y,5),n.\u0275\u0275viewQuery(u,5),n.\u0275\u0275viewQuery(D.MatRipple,5)),2&S){let k;n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M._inputElement=k.first),n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M._labelElement=k.first),n.\u0275\u0275queryRefresh(k=n.\u0275\u0275loadQuery())&&(M.ripple=k.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(S,M){2&S&&(n.\u0275\u0275hostProperty("id",M.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),n.\u0275\u0275classMap(M.color?"mat-"+M.color:"mat-accent"),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===M._animationMode)("mdc-checkbox--disabled",M.disabled)("mat-mdc-checkbox-disabled",M.disabled)("mat-mdc-checkbox-checked",M.checked))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:["required","required",n.booleanAttribute],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:["disableRipple","disableRipple",n.booleanAttribute],tabIndex:["tabIndex","tabIndex",T=>null==T?void 0:(0,n.numberAttribute)(T)],color:"color",checked:["checked","checked",n.booleanAttribute],disabled:["disabled","disabled",n.booleanAttribute],indeterminate:["indeterminate","indeterminate",n.booleanAttribute]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:v,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"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(S,M){if(1&S&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("click",function(I){return M._preventBubblingFromLabel(I)}),n.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),n.\u0275\u0275listener("click",function(){return M._onTouchTargetClick()}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(4,"input",4,5),n.\u0275\u0275listener("blur",function(){return M._onBlur()})("click",function(){return M._onInputClick()})("change",function(I){return M._onInteractionEvent(I)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(6,"div",6),n.\u0275\u0275elementStart(7,"div",7),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(8,"svg",8),n.\u0275\u0275element(9,"path",9),n.\u0275\u0275elementEnd(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275element(10,"div",10),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(11,"div",11),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(12,"label",12,13),n.\u0275\u0275projection(14),n.\u0275\u0275elementEnd()()),2&S){const k=n.\u0275\u0275reference(2);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==M.labelPosition),n.\u0275\u0275advance(4),n.\u0275\u0275classProp("mdc-checkbox--selected",M.checked),n.\u0275\u0275property("checked",M.checked)("indeterminate",M.indeterminate)("disabled",M.disabled)("id",M.inputId)("required",M.required)("tabIndex",M.disabled?-1:M.tabIndex),n.\u0275\u0275attribute("aria-label",M.ariaLabel||null)("aria-labelledby",M.ariaLabelledby)("aria-describedby",M.ariaDescribedby)("aria-checked",M.indeterminate?"mixed":null)("name",M.name)("value",M.value),n.\u0275\u0275advance(7),n.\u0275\u0275property("matRippleTrigger",k)("matRippleDisabled",M.disableRipple||M.disabled)("matRippleCentered",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("for",M.inputId)}},dependencies:[D.MatRipple],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-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-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}.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%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return x})();const d={provide:f.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>g),multi:!0};let g=(()=>{class x extends f.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let T;return function(M){return(T||(T=n.\u0275\u0275getInheritedFactory(x)))(M||x)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[n.\u0275\u0275ProvidersFeature([d]),n.\u0275\u0275InheritDefinitionFeature]})}return x})(),b=(()=>{class x{static#e=this.\u0275fac=function(S){return new(S||x)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:x});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return x})(),C=(()=>{class x{static#e=this.\u0275fac=function(S){return new(S||x)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:x});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,D.MatRippleModule,b,D.MatCommonModule,b]})}return x})()},3680:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AnimationCurves:()=>S,AnimationDurations:()=>M,DateAdapter:()=>Z,ErrorStateMatcher:()=>Et,MATERIAL_SANITY_CHECKS:()=>I,MAT_DATE_FORMATS:()=>H,MAT_DATE_LOCALE:()=>B,MAT_DATE_LOCALE_FACTORY:()=>$,MAT_NATIVE_DATE_FORMATS:()=>Ge,MAT_OPTGROUP:()=>an,MAT_OPTION_PARENT_COMPONENT:()=>cn,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Be,MatCommonModule:()=>P,MatLine:()=>Te,MatLineModule:()=>Ie,MatNativeDateModule:()=>Ye,MatOptgroup:()=>En,MatOption:()=>Ft,MatOptionModule:()=>Xe,MatOptionSelectionChange:()=>Bt,MatPseudoCheckbox:()=>Yt,MatPseudoCheckboxModule:()=>jt,MatRipple:()=>yt,MatRippleLoader:()=>Nt,MatRippleModule:()=>Ot,NativeDateAdapter:()=>ye,NativeDateModule:()=>$e,RippleRef:()=>Ce,RippleRenderer:()=>Pe,ShowOnDirtyErrorStateMatcher:()=>Ze,VERSION:()=>T,_countGroupLabelsBeforeOption:()=>De,_getOptionScrollPosition:()=>Ve,defaultRippleAnimationConfig:()=>q,mixinColor:()=>U,mixinDisableRipple:()=>W,mixinDisabled:()=>R,mixinErrorState:()=>ee,mixinInitialized:()=>j,mixinTabIndex:()=>ne,setLines:()=>qe});var n=_(9212),f=_(4191),D=_(9388),u=_(6814),v=_(2831),s=_(2495),m=_(5592),h=_(8645),o=_(7921),l=_(6028);const r=["*",[["mat-option"],["ng-container"]]],c=["*","mat-option, ng-container"],d=["text"];function g(bt,_e){if(1&bt&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)("state",ce.selected?"checked":"unchecked")}}function b(bt,_e){if(1&bt&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",ce.disabled)}}function C(bt,_e){if(1&bt&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&bt){const ce=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",ce.group.label,")")}}const x=[[["mat-icon"]],"*"],w=["mat-icon","*"],T=new n.Version("17.0.4");let S=(()=>{class bt{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 bt})(),M=(()=>{class bt{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return bt})();const I=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function k(){return!0}});let P=(()=>{class bt{constructor(ce,z,oe){this._sanityChecks=z,this._document=oe,this._hasDoneGlobalChecks=!1,ce._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ce){return!(0,v.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ce])}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275inject(f.qm),n.\u0275\u0275inject(I,8),n.\u0275\u0275inject(u.DOCUMENT))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.vT,D.vT]})}return bt})();function R(bt){return class extends bt{get disabled(){return this._disabled}set disabled(_e){this._disabled=(0,s.Ig)(_e)}constructor(..._e){super(..._e),this._disabled=!1}}}function U(bt,_e){return class extends bt{get color(){return this._color}set color(ce){const z=ce||this.defaultColor;z!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),z&&this._elementRef.nativeElement.classList.add(`mat-${z}`),this._color=z)}constructor(...ce){super(...ce),this.defaultColor=_e,this.color=_e}}}function W(bt){return class extends bt{get disableRipple(){return this._disableRipple}set disableRipple(_e){this._disableRipple=(0,s.Ig)(_e)}constructor(..._e){super(..._e),this._disableRipple=!1}}}function ne(bt,_e=0){return class extends bt{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ce){this._tabIndex=null!=ce?(0,s.su)(ce):this.defaultTabIndex}constructor(...ce){super(...ce),this._tabIndex=_e,this.defaultTabIndex=_e}}}function ee(bt){return class extends bt{updateErrorState(){const _e=this.errorState,Se=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Se!==_e&&(this.errorState=Se,this.stateChanges.next())}constructor(..._e){super(..._e),this.errorState=!1}}}function j(bt){return class extends bt{constructor(..._e){super(..._e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new m.y(ce=>{this._isInitialized?this._notifySubscriber(ce):this._pendingSubscribers.push(ce)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(_e){_e.next(),_e.complete()}}}const B=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:$});function $(){return(0,n.inject)(n.LOCALE_ID)}class Z{constructor(){this._localeChanges=new h.x,this.localeChanges=this._localeChanges}getValidDateOrNull(_e){return this.isDateInstance(_e)&&this.isValid(_e)?_e:null}deserialize(_e){return null==_e||this.isDateInstance(_e)&&this.isValid(_e)?_e:this.invalid()}setLocale(_e){this.locale=_e,this._localeChanges.next()}compareDate(_e,ce){return this.getYear(_e)-this.getYear(ce)||this.getMonth(_e)-this.getMonth(ce)||this.getDate(_e)-this.getDate(ce)}sameDate(_e,ce){if(_e&&ce){let z=this.isValid(_e),oe=this.isValid(ce);return z&&oe?!this.compareDate(_e,ce):z==oe}return _e==ce}clampDate(_e,ce,z){return ce&&this.compareDate(_e,ce)<0?ce:z&&this.compareDate(_e,z)>0?z:_e}}const H=new n.InjectionToken("mat-date-formats"),te=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ue(bt,_e){const ce=Array(bt);for(let z=0;z{class bt extends Z{constructor(ce){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,n.inject)(B,{optional:!0}),void 0!==ce&&(this._matDateLocale=ce),super.setLocale(this._matDateLocale)}getYear(ce){return ce.getFullYear()}getMonth(ce){return ce.getMonth()}getDate(ce){return ce.getDate()}getDayOfWeek(ce){return ce.getDay()}getMonthNames(ce){const z=new Intl.DateTimeFormat(this.locale,{month:ce,timeZone:"utc"});return ue(12,oe=>this._format(z,new Date(2017,oe,1)))}getDateNames(){const ce=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ue(31,z=>this._format(ce,new Date(2017,0,z+1)))}getDayOfWeekNames(ce){const z=new Intl.DateTimeFormat(this.locale,{weekday:ce,timeZone:"utc"});return ue(7,oe=>this._format(z,new Date(2017,0,oe+1)))}getYearName(ce){const z=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(z,ce)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ce){return this.getDate(this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce)+1,0))}clone(ce){return new Date(ce.getTime())}createDate(ce,z,oe){let Se=this._createDateWithOverflow(ce,z,oe);return Se.getMonth(),Se}today(){return new Date}parse(ce,z){return"number"==typeof ce?new Date(ce):ce?new Date(Date.parse(ce)):null}format(ce,z){if(!this.isValid(ce))throw Error("NativeDateAdapter: Cannot format invalid date.");const oe=new Intl.DateTimeFormat(this.locale,{...z,timeZone:"utc"});return this._format(oe,ce)}addCalendarYears(ce,z){return this.addCalendarMonths(ce,12*z)}addCalendarMonths(ce,z){let oe=this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce)+z,this.getDate(ce));return this.getMonth(oe)!=((this.getMonth(ce)+z)%12+12)%12&&(oe=this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe),0)),oe}addCalendarDays(ce,z){return this._createDateWithOverflow(this.getYear(ce),this.getMonth(ce),this.getDate(ce)+z)}toIso8601(ce){return[ce.getUTCFullYear(),this._2digit(ce.getUTCMonth()+1),this._2digit(ce.getUTCDate())].join("-")}deserialize(ce){if("string"==typeof ce){if(!ce)return null;if(te.test(ce)){let z=new Date(ce);if(this.isValid(z))return z}}return super.deserialize(ce)}isDateInstance(ce){return ce instanceof Date}isValid(ce){return!isNaN(ce.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ce,z,oe){const Se=new Date;return Se.setFullYear(ce,z,oe),Se.setHours(0,0,0,0),Se}_2digit(ce){return("00"+ce).slice(-2)}_format(ce,z){const oe=new Date;return oe.setUTCFullYear(z.getFullYear(),z.getMonth(),z.getDate()),oe.setUTCHours(z.getHours(),z.getMinutes(),z.getSeconds(),z.getMilliseconds()),ce.format(oe)}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275inject(B,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac})}return bt})();const Ge={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 $e=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Z,useClass:ye}]})}return bt})(),Ye=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:H,useValue:Ge}],imports:[$e]})}return bt})(),Ze=(()=>{class bt{isErrorState(ce,z){return!!(ce&&ce.invalid&&(ce.dirty||z&&z.submitted))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac})}return bt})(),Et=(()=>{class bt{isErrorState(ce,z){return!!(ce&&ce.invalid&&(ce.touched||z&&z.submitted))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})(),Te=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})}return bt})();function qe(bt,_e,ce="mat"){bt.changes.pipe((0,o.O)(bt)).subscribe(({length:z})=>{Ee(_e,`${ce}-2-line`,!1),Ee(_e,`${ce}-3-line`,!1),Ee(_e,`${ce}-multi-line`,!1),2===z||3===z?Ee(_e,`${ce}-${z}-line`,!0):z>3&&Ee(_e,`${ce}-multi-line`,!0)})}function Ee(bt,_e,ce){bt.nativeElement.classList.toggle(_e,ce)}let Ie=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P,P]})}return bt})();class Ce{constructor(_e,ce,z,oe=!1){this._renderer=_e,this.element=ce,this.config=z,this._animationForciblyDisabledThroughCss=oe,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ge=(0,v.i$)({passive:!0,capture:!0});class Ae{constructor(){this._events=new Map,this._delegateEventHandler=_e=>{const ce=(0,v.sA)(_e);ce&&this._events.get(_e.type)?.forEach((z,oe)=>{(oe===ce||oe.contains(ce))&&z.forEach(Se=>Se.handleEvent(_e))})}}addHandler(_e,ce,z,oe){const Se=this._events.get(ce);if(Se){const at=Se.get(z);at?at.add(oe):Se.set(z,new Set([oe]))}else this._events.set(ce,new Map([[z,new Set([oe])]])),_e.runOutsideAngular(()=>{document.addEventListener(ce,this._delegateEventHandler,ge)})}removeHandler(_e,ce,z){const oe=this._events.get(_e);if(!oe)return;const Se=oe.get(ce);Se&&(Se.delete(z),0===Se.size&&oe.delete(ce),0===oe.size&&(this._events.delete(_e),document.removeEventListener(_e,this._delegateEventHandler,ge)))}}const q={enterDuration:225,exitDuration:150},ke=(0,v.i$)({passive:!0,capture:!0}),Ke=["mousedown","touchstart"],me=["mouseup","mouseleave","touchend","touchcancel"];class Pe{static#e=this._eventManager=new Ae;constructor(_e,ce,z,oe){this._target=_e,this._ngZone=ce,this._platform=oe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,oe.isBrowser&&(this._containerElement=(0,s.fI)(z))}fadeInRipple(_e,ce,z={}){const oe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Se={...q,...z.animation};z.centered&&(_e=oe.left+oe.width/2,ce=oe.top+oe.height/2);const at=z.radius||function Ne(bt,_e,ce){const z=Math.max(Math.abs(bt-ce.left),Math.abs(bt-ce.right)),oe=Math.max(Math.abs(_e-ce.top),Math.abs(_e-ce.bottom));return Math.sqrt(z*z+oe*oe)}(_e,ce,oe),nt=_e-oe.left,mt=ce-oe.top,He=Se.enterDuration,rt=document.createElement("div");rt.classList.add("mat-ripple-element"),rt.style.left=nt-at+"px",rt.style.top=mt-at+"px",rt.style.height=2*at+"px",rt.style.width=2*at+"px",null!=z.color&&(rt.style.backgroundColor=z.color),rt.style.transitionDuration=`${He}ms`,this._containerElement.appendChild(rt);const Lt=window.getComputedStyle(rt),tn=Lt.transitionDuration,Nn="none"===Lt.transitionProperty||"0s"===tn||"0s, 0s"===tn||0===oe.width&&0===oe.height,ui=new Ce(this,rt,z,Nn);rt.style.transform="scale3d(1, 1, 1)",ui.state=0,z.persistent||(this._mostRecentTransientRipple=ui);let _i=null;return!Nn&&(He||Se.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Hi=()=>this._finishRippleTransition(ui),Yn=()=>this._destroyRipple(ui);rt.addEventListener("transitionend",Hi),rt.addEventListener("transitioncancel",Yn),_i={onTransitionEnd:Hi,onTransitionCancel:Yn}}),this._activeRipples.set(ui,_i),(Nn||!He)&&this._finishRippleTransition(ui),ui}fadeOutRipple(_e){if(2===_e.state||3===_e.state)return;const ce=_e.element,z={...q,..._e.config.animation};ce.style.transitionDuration=`${z.exitDuration}ms`,ce.style.opacity="0",_e.state=2,(_e._animationForciblyDisabledThroughCss||!z.exitDuration)&&this._finishRippleTransition(_e)}fadeOutAll(){this._getActiveRipples().forEach(_e=>_e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(_e=>{_e.config.persistent||_e.fadeOut()})}setupTriggerEvents(_e){const ce=(0,s.fI)(_e);!this._platform.isBrowser||!ce||ce===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ce,Ke.forEach(z=>{Pe._eventManager.addHandler(this._ngZone,z,ce,this)}))}handleEvent(_e){"mousedown"===_e.type?this._onMousedown(_e):"touchstart"===_e.type?this._onTouchStart(_e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{me.forEach(ce=>{this._triggerElement.addEventListener(ce,this,ke)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(_e){0===_e.state?this._startFadeOutTransition(_e):2===_e.state&&this._destroyRipple(_e)}_startFadeOutTransition(_e){const ce=_e===this._mostRecentTransientRipple,{persistent:z}=_e.config;_e.state=1,!z&&(!ce||!this._isPointerDown)&&_e.fadeOut()}_destroyRipple(_e){const ce=this._activeRipples.get(_e)??null;this._activeRipples.delete(_e),this._activeRipples.size||(this._containerRect=null),_e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),_e.state=3,null!==ce&&(_e.element.removeEventListener("transitionend",ce.onTransitionEnd),_e.element.removeEventListener("transitioncancel",ce.onTransitionCancel)),_e.element.remove()}_onMousedown(_e){const ce=(0,f.X6)(_e),z=this._lastTouchStartEvent&&Date.now(){!_e.config.persistent&&(1===_e.state||_e.config.terminateOnPointerUp&&0===_e.state)&&_e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const _e=this._triggerElement;_e&&(Ke.forEach(ce=>Pe._eventManager.removeHandler(ce,_e,this)),this._pointerUpEventsRegistered&&me.forEach(ce=>_e.removeEventListener(ce,this,ke)))}}const Be=new n.InjectionToken("mat-ripple-global-options");let yt=(()=>{class bt{get disabled(){return this._disabled}set disabled(ce){ce&&this.fadeOutAllNonPersistent(),this._disabled=ce,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ce){this._trigger=ce,this._setupTriggerEventsIfEnabled()}constructor(ce,z,oe,Se,at){this._elementRef=ce,this._animationMode=at,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Se||{},this._rippleRenderer=new Pe(this,z,ce,oe)}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(ce,z=0,oe){return"number"==typeof ce?this._rippleRenderer.fadeInRipple(ce,z,{...this.rippleConfig,...oe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ce})}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(v.t4),n.\u0275\u0275directiveInject(Be,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(z,oe){2&z&&n.\u0275\u0275classProp("mat-ripple-unbounded",oe.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return bt})(),Ot=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P,P]})}return bt})(),Yt=(()=>{class bt{constructor(ce){this._animationMode=ce,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(z,oe){2&z&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===oe.state)("mat-pseudo-checkbox-checked","checked"===oe.state)("mat-pseudo-checkbox-disabled",oe.disabled)("mat-pseudo-checkbox-minimal","minimal"===oe.appearance)("mat-pseudo-checkbox-full","full"===oe.appearance)("_mat-animation-noopable","NoopAnimations"===oe._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(z,oe){},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 bt})(),jt=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[P]})}return bt})();const cn=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT");let fn=0;const an=new n.InjectionToken("MatOptgroup");let En=(()=>{class bt{constructor(ce){this.disabled=!1,this._labelId="mat-optgroup-label-"+fn++,this._inert=ce?.inertGroups??!1}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(cn,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(z,oe){2&z&&n.\u0275\u0275attribute("role",oe._inert?null:"group")("aria-disabled",oe._inert?null:oe.disabled.toString())("aria-labelledby",oe._inert?null:oe._labelId)},inputs:{label:"label",disabled:["disabled","disabled",n.booleanAttribute]},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:an,useExisting:bt}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:c,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(z,oe){1&z&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275elementStart(0,"span",0)(1,"span",1),n.\u0275\u0275text(2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(4,1)),2&z&&(n.\u0275\u0275classProp("mdc-list-item--disabled",oe.disabled),n.\u0275\u0275property("id",oe._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",oe.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 bt})(),un=0;class Bt{constructor(_e,ce=!1){this.source=_e,this.isUserInput=ce}}let Ft=(()=>{class bt{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(ce){this._disabled=ce}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(ce,z,oe,Se){this._element=ce,this._changeDetectorRef=z,this._parent=oe,this.group=Se,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+un++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new h.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(ce=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}deselect(ce=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}focus(ce,z){const oe=this._getHostElement();"function"==typeof oe.focus&&oe.focus(z)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ce){(ce.keyCode===l.K5||ce.keyCode===l.L_)&&!(0,l.Vb)(ce)&&(this._selectViaInteraction(),ce.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 ce=this.viewValue;ce!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ce)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ce=!1){this.onSelectionChange.emit(new Bt(this,ce))}static#e=this.\u0275fac=function(z){return new(z||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(cn,8),n.\u0275\u0275directiveInject(an,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-option"]],viewQuery:function(z,oe){if(1&z&&n.\u0275\u0275viewQuery(d,7),2&z){let Se;n.\u0275\u0275queryRefresh(Se=n.\u0275\u0275loadQuery())&&(oe._text=Se.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(z,oe){1&z&&n.\u0275\u0275listener("click",function(){return oe._selectViaInteraction()})("keydown",function(at){return oe._handleKeydown(at)}),2&z&&(n.\u0275\u0275hostProperty("id",oe.id),n.\u0275\u0275attribute("aria-selected",oe.selected)("aria-disabled",oe.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",oe.selected)("mat-mdc-option-multiple",oe.multiple)("mat-mdc-option-active",oe.active)("mdc-list-item--disabled",oe.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",n.booleanAttribute]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[n.\u0275\u0275InputTransformsFeature],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(z,oe){1&z&&(n.\u0275\u0275projectionDef(x),n.\u0275\u0275template(0,g,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementStart(2,"span",1,2),n.\u0275\u0275projection(4,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(5,b,1,1,"mat-pseudo-checkbox",3)(6,C,2,1,"span",4),n.\u0275\u0275element(7,"div",5)),2&z&&(n.\u0275\u0275conditional(0,oe.multiple?0:-1),n.\u0275\u0275advance(5),n.\u0275\u0275conditional(5,oe.multiple||!oe.selected||oe.hideSingleSelectionIndicator?-1:5),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(6,oe.group&&oe.group._inert?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",oe._getHostElement())("matRippleDisabled",oe.disabled||oe.disableRipple))},dependencies:[yt,Yt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return bt})();function De(bt,_e,ce){if(ce.length){let z=_e.toArray(),oe=ce.toArray(),Se=0;for(let at=0;atce+z?Math.max(0,bt-z+_e):ce}let Xe=(()=>{class bt{static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:bt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ot,P,jt]})}return bt})();const St={capture:!0},tt=["focus","click","mouseenter","touchstart"],ut="mat-ripple-loader-uninitialized",Oe="mat-ripple-loader-class-name",Ct="mat-ripple-loader-centered",Pt="mat-ripple-loader-disabled";let Nt=(()=>{class bt{constructor(){this._document=(0,n.inject)(u.DOCUMENT,{optional:!0}),this._animationMode=(0,n.inject)(n.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,n.inject)(Be,{optional:!0}),this._platform=(0,n.inject)(v.t4),this._ngZone=(0,n.inject)(n.NgZone),this._hosts=new Map,this._onInteraction=ce=>{if(!(ce.target instanceof HTMLElement))return;const oe=ce.target.closest(`[${ut}]`);oe&&this._createRipple(oe)},this._ngZone.runOutsideAngular(()=>{for(const ce of tt)this._document?.addEventListener(ce,this._onInteraction,St)})}ngOnDestroy(){const ce=this._hosts.keys();for(const z of ce)this.destroyRipple(z);for(const z of tt)this._document?.removeEventListener(z,this._onInteraction,St)}configureRipple(ce,z){ce.setAttribute(ut,""),(z.className||!ce.hasAttribute(Oe))&&ce.setAttribute(Oe,z.className||""),z.centered&&ce.setAttribute(Ct,""),z.disabled&&ce.setAttribute(Pt,"")}getRipple(ce){return this._hosts.get(ce)||this._createRipple(ce)}setDisabled(ce,z){const oe=this._hosts.get(ce);oe?oe.disabled=z:z?ce.setAttribute(Pt,""):ce.removeAttribute(Pt)}_createRipple(ce){if(!this._document)return;const z=this._hosts.get(ce);if(z)return z;ce.querySelector(".mat-ripple")?.remove();const oe=this._document.createElement("span");oe.classList.add("mat-ripple",ce.getAttribute(Oe)),ce.append(oe);const Se=new yt(new n.ElementRef(oe),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Se._isInitialized=!0,Se.trigger=ce,Se.centered=ce.hasAttribute(Ct),Se.disabled=ce.hasAttribute(Pt),this.attachRipple(ce,Se),Se}attachRipple(ce,z){ce.removeAttribute(ut),this._hosts.set(ce,z)}destroyRipple(ce){const z=this._hosts.get(ce);z&&(z.ngOnDestroy(),this._hosts.delete(ce))}static#e=this.\u0275fac=function(z){return new(z||bt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})()},8034:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{DateRange:()=>Ke,DefaultMatCalendarRangeStrategy:()=>cn,MAT_DATEPICKER_SCROLL_STRATEGY:()=>_e,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>ce,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>z,MAT_DATEPICKER_VALIDATORS:()=>Xt,MAT_DATEPICKER_VALUE_ACCESSOR:()=>Lt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>jt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Ot,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>Yt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Be,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>yt,MatCalendar:()=>Pt,MatCalendarBody:()=>Ie,MatCalendarCell:()=>Ze,MatCalendarHeader:()=>Ct,MatDateRangeInput:()=>ct,MatDateRangePicker:()=>Ut,MatDateSelectionModel:()=>me,MatDatepicker:()=>nt,MatDatepickerActions:()=>Ht,MatDatepickerApply:()=>wt,MatDatepickerCancel:()=>vt,MatDatepickerContent:()=>Se,MatDatepickerInput:()=>tn,MatDatepickerInputEvent:()=>mt,MatDatepickerIntl:()=>Ye,MatDatepickerModule:()=>dn,MatDatepickerToggle:()=>ui,MatDatepickerToggleIcon:()=>Nn,MatEndDate:()=>it,MatMonthView:()=>un,MatMultiYearView:()=>De,MatRangeDateSelectionModel:()=>Ne,MatSingleDateSelectionModel:()=>Pe,MatStartDate:()=>qt,MatYearView:()=>ut,matDatepickerAnimations:()=>Nt,yearsPerPage:()=>Bt,yearsPerRow:()=>Ft});var n=_(4191),f=_(9594),D=_(8484),y=_(6814),u=_(9212),v=_(2296),s=_(6672),m=_(3680),h=_(8645),o=_(7394),l=_(3019),r=_(2096),c=_(6028),d=_(9388),g=_(2831),b=_(8180),C=_(7921),x=_(2181),w=_(2495),T=_(6825),S=_(6223),M=_(4170),k=_(8582);const I=["mat-calendar-body",""];function P(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"tr",0)(1,"td",2),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()),2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275styleProp("padding-top",Y._cellPadding)("padding-bottom",Y._cellPadding),u.\u0275\u0275attribute("colspan",Y.numCols),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y.label," ")}}function A(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"td",2),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&ze){const Y=u.\u0275\u0275nextContext(2);u.\u0275\u0275styleProp("padding-top",Y._cellPadding)("padding-bottom",Y._cellPadding),u.\u0275\u0275attribute("colspan",Y._firstRowOffset),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y._firstRowOffset>=Y.labelMinRequiredCells?Y.label:""," ")}}function L(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"td",5)(1,"button",6),u.\u0275\u0275listener("click",function(de){const _t=u.\u0275\u0275restoreView(Y).$implicit,hn=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(hn._cellClicked(_t,de))})("focus",function(de){const _t=u.\u0275\u0275restoreView(Y).$implicit,hn=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(hn._emitActiveDateChange(_t,de))}),u.\u0275\u0275elementStart(2,"span",7),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(4,"span",8),u.\u0275\u0275elementEnd()()}if(2&ze){const Y=en.$implicit,pe=en.$index,de=u.\u0275\u0275nextContext().$index,Qe=u.\u0275\u0275nextContext();u.\u0275\u0275styleProp("width",Qe._cellWidth)("padding-top",Qe._cellPadding)("padding-bottom",Qe._cellPadding),u.\u0275\u0275attribute("data-mat-row",de)("data-mat-col",pe),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-body-disabled",!Y.enabled)("mat-calendar-body-active",Qe._isActiveCell(de,pe))("mat-calendar-body-range-start",Qe._isRangeStart(Y.compareValue))("mat-calendar-body-range-end",Qe._isRangeEnd(Y.compareValue))("mat-calendar-body-in-range",Qe._isInRange(Y.compareValue))("mat-calendar-body-comparison-bridge-start",Qe._isComparisonBridgeStart(Y.compareValue,de,pe))("mat-calendar-body-comparison-bridge-end",Qe._isComparisonBridgeEnd(Y.compareValue,de,pe))("mat-calendar-body-comparison-start",Qe._isComparisonStart(Y.compareValue))("mat-calendar-body-comparison-end",Qe._isComparisonEnd(Y.compareValue))("mat-calendar-body-in-comparison-range",Qe._isInComparisonRange(Y.compareValue))("mat-calendar-body-preview-start",Qe._isPreviewStart(Y.compareValue))("mat-calendar-body-preview-end",Qe._isPreviewEnd(Y.compareValue))("mat-calendar-body-in-preview",Qe._isInPreview(Y.compareValue)),u.\u0275\u0275property("ngClass",Y.cssClasses)("tabindex",Qe._isActiveCell(de,pe)?0:-1),u.\u0275\u0275attribute("aria-label",Y.ariaLabel)("aria-disabled",!Y.enabled||null)("aria-pressed",Qe._isSelected(Y.compareValue))("aria-current",Qe.todayValue===Y.compareValue?"date":null)("aria-describedby",Qe._getDescribedby(Y.compareValue)),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-body-selected",Qe._isSelected(Y.compareValue))("mat-calendar-body-comparison-identical",Qe._isComparisonIdentical(Y.compareValue))("mat-calendar-body-today",Qe.todayValue===Y.compareValue),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",Y.displayValue," ")}}function F(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"tr",3),u.\u0275\u0275template(1,A,2,6,"td",4),u.\u0275\u0275repeaterCreate(2,L,5,48,"td",9,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementEnd()),2&ze){const Y=en.$implicit,pe=en.$index,de=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275conditional(1,0===pe&&de._firstRowOffset?1:-1),u.\u0275\u0275advance(1),u.\u0275\u0275repeater(Y)}}function R(ze,en){if(1&ze&&(u.\u0275\u0275elementStart(0,"th",4)(1,"span",5),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"span",6),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()),2&ze){const Y=en.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Y.long),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Y.narrow)}}const U=["*"];function W(ze,en){}function ne(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-month-view",2),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("_userSelection",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dateSelected(de))})("dragStarted",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dragStarted(de))})("dragEnded",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._dragEnded(de))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)("comparisonStart",Y.comparisonStart)("comparisonEnd",Y.comparisonEnd)("startDateAccessibleName",Y.startDateAccessibleName)("endDateAccessibleName",Y.endDateAccessibleName)("activeDrag",Y._activeDrag)}}function ee(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-year-view",3),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("monthSelected",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._monthSelectedInYearView(de))})("selectedChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._goToDateInView(de,"month"))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)}}function j(ze,en){if(1&ze){const Y=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-multi-year-view",4),u.\u0275\u0275listener("activeDateChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe.activeDate=de)})("yearSelected",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._yearSelectedInMultiYearView(de))})("selectedChange",function(de){u.\u0275\u0275restoreView(Y);const Qe=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Qe._goToDateInView(de,"year"))}),u.\u0275\u0275elementEnd()}if(2&ze){const Y=u.\u0275\u0275nextContext();u.\u0275\u0275property("activeDate",Y.activeDate)("selected",Y.selected)("dateFilter",Y.dateFilter)("maxDate",Y.maxDate)("minDate",Y.minDate)("dateClass",Y.dateClass)}}function B(ze,en){}const $=["button"];function Z(ze,en){1&ze&&(u.\u0275\u0275namespaceSVG(),u.\u0275\u0275elementStart(0,"svg",3),u.\u0275\u0275element(1,"path",4),u.\u0275\u0275elementEnd())}const H=[[["","matDatepickerToggleIcon",""]]],te=["[matDatepickerToggleIcon]"],ue=[[["input","matStartDate",""]],[["input","matEndDate",""]]],ye=["input[matStartDate]","input[matEndDate]"];function Ge(ze,en){1&ze&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275projection(1),u.\u0275\u0275elementEnd())}let Ye=(()=>{class ze{constructor(){this.changes=new h.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(Y,pe){return`${Y} \u2013 ${pe}`}formatYearRangeLabel(Y,pe){return`${Y} to ${pe}`}static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();class Ze{constructor(en,Y,pe,de,Qe={},_t=en,hn){this.value=en,this.displayValue=Y,this.ariaLabel=pe,this.enabled=de,this.cssClasses=Qe,this.compareValue=_t,this.rawValue=hn}}let Et=1;const Te=(0,g.i$)({passive:!1,capture:!0}),qe=(0,g.i$)({passive:!0,capture:!0}),Ee=(0,g.i$)({passive:!0});let Ie=(()=>{class ze{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(Y,pe){this._elementRef=Y,this._ngZone=pe,this._platform=(0,u.inject)(g.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new u.EventEmitter,this.previewChange=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this.dragStarted=new u.EventEmitter,this.dragEnded=new u.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=de=>{if(this._skipNextFocus&&"focus"===de.type)this._skipNextFocus=!1;else if(de.target&&this.isRange){const Qe=this._getCellFromElement(de.target);Qe&&this._ngZone.run(()=>this.previewChange.emit({value:Qe.enabled?Qe:null,event:de}))}},this._touchmoveHandler=de=>{if(!this.isRange)return;const Qe=ke(de),_t=Qe?this._getCellFromElement(Qe):null;Qe!==de.target&&(this._didDragSinceMouseDown=!0),ge(de.target)&&de.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:_t?.enabled?_t: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 Qe=de.target&&this._getCellFromElement(de.target);!Qe||!this._isInRange(Qe.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Qe.rawValue,event:de})})},this._mouseupHandler=de=>{if(!this.isRange)return;const Qe=ge(de.target);Qe?Qe.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const _t=this._getCellFromElement(Qe);this.dragEnded.emit({value:_t?.rawValue??null,event:de})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:de})})},this._touchendHandler=de=>{const Qe=ke(de);Qe&&this._mouseupHandler({target:Qe})},this._id="mat-calendar-body-"+Et++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,pe.runOutsideAngular(()=>{const de=Y.nativeElement;de.addEventListener("touchmove",this._touchmoveHandler,Te),de.addEventListener("mouseenter",this._enterHandler,qe),de.addEventListener("focus",this._enterHandler,qe),de.addEventListener("mouseleave",this._leaveHandler,qe),de.addEventListener("blur",this._leaveHandler,qe),de.addEventListener("mousedown",this._mousedownHandler,Ee),de.addEventListener("touchstart",this._mousedownHandler,Ee),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(Y,pe){this._didDragSinceMouseDown||Y.enabled&&this.selectedValueChange.emit({value:Y.value,event:pe})}_emitActiveDateChange(Y,pe){Y.enabled&&this.activeDateChange.emit({value:Y.value,event:pe})}_isSelected(Y){return this.startValue===Y||this.endValue===Y}ngOnChanges(Y){const pe=Y.numCols,{rows:de,numCols:Qe}=this;(Y.rows||pe)&&(this._firstRowOffset=de&&de.length&&de[0].length?Qe-de[0].length:0),(Y.cellAspectRatio||pe||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Qe+"%"),(pe||!this._cellWidth)&&(this._cellWidth=100/Qe+"%")}ngOnDestroy(){const Y=this._elementRef.nativeElement;Y.removeEventListener("touchmove",this._touchmoveHandler,Te),Y.removeEventListener("mouseenter",this._enterHandler,qe),Y.removeEventListener("focus",this._enterHandler,qe),Y.removeEventListener("mouseleave",this._leaveHandler,qe),Y.removeEventListener("blur",this._leaveHandler,qe),Y.removeEventListener("mousedown",this._mousedownHandler,Ee),Y.removeEventListener("touchstart",this._mousedownHandler,Ee),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(Y,pe){let de=Y*this.numCols+pe;return Y&&(de-=this._firstRowOffset),de==this.activeCell}_focusActiveCell(Y=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>{setTimeout(()=>{const pe=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");pe&&(Y||(this._skipNextFocus=!0),pe.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Y){return Ae(Y,this.startValue,this.endValue)}_isRangeEnd(Y){return q(Y,this.startValue,this.endValue)}_isInRange(Y){return Re(Y,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Y){return Ae(Y,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Y,pe,de){if(!this._isComparisonStart(Y)||this._isRangeStart(Y)||!this._isInRange(Y))return!1;let Qe=this.rows[pe][de-1];if(!Qe){const _t=this.rows[pe-1];Qe=_t&&_t[_t.length-1]}return Qe&&!this._isRangeEnd(Qe.compareValue)}_isComparisonBridgeEnd(Y,pe,de){if(!this._isComparisonEnd(Y)||this._isRangeEnd(Y)||!this._isInRange(Y))return!1;let Qe=this.rows[pe][de+1];if(!Qe){const _t=this.rows[pe+1];Qe=_t&&_t[0]}return Qe&&!this._isRangeStart(Qe.compareValue)}_isComparisonEnd(Y){return q(Y,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Y){return Re(Y,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Y){return this.comparisonStart===this.comparisonEnd&&Y===this.comparisonStart}_isPreviewStart(Y){return Ae(Y,this.previewStart,this.previewEnd)}_isPreviewEnd(Y){return q(Y,this.previewStart,this.previewEnd)}_isInPreview(Y){return Re(Y,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(Y){return this.isRange?this.startValue===Y&&this.endValue===Y?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===Y?this._startDateLabelId:this.endValue===Y?this._endDateLabelId:null:null}_getCellFromElement(Y){const pe=ge(Y);if(pe){const de=pe.getAttribute("data-mat-row"),Qe=pe.getAttribute("data-mat-col");if(de&&Qe)return this.rows[parseInt(de)][parseInt(Qe)]}return null}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.NgZone))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[u.\u0275\u0275NgOnChangesFeature],attrs:I,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(pe,de){1&pe&&(u.\u0275\u0275template(0,P,3,6,"tr",0),u.\u0275\u0275repeaterCreate(1,F,4,1,"tr",3,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementStart(3,"label",1),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"label",1),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd()),2&pe&&(u.\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}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return ze})();function Ce(ze){return"TD"===ze?.nodeName}function ge(ze){let en;return Ce(ze)?en=ze:Ce(ze.parentNode)?en=ze.parentNode:Ce(ze.parentNode?.parentNode)&&(en=ze.parentNode.parentNode),null!=en?.getAttribute("data-mat-row")?en:null}function Ae(ze,en,Y){return null!==Y&&en!==Y&&ze=en&&ze===Y}function Re(ze,en,Y,pe){return pe&&null!==en&&null!==Y&&en!==Y&&ze>=en&&ze<=Y}function ke(ze){const en=ze.changedTouches[0];return document.elementFromPoint(en.clientX,en.clientY)}class Ke{constructor(en,Y){this.start=en,this.end=Y}}let me=(()=>{class ze{constructor(Y,pe){this.selection=Y,this._adapter=pe,this._selectionChanged=new h.x,this.selectionChanged=this._selectionChanged,this.selection=Y}updateSelection(Y,pe){const de=this.selection;this.selection=Y,this._selectionChanged.next({selection:Y,source:pe,oldValue:de})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Y){return this._adapter.isDateInstance(Y)&&this._adapter.isValid(Y)}static#e=this.\u0275fac=function(pe){u.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})(),Pe=(()=>{class ze extends me{constructor(Y){super(null,Y)}add(Y){super.updateSelection(Y,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Y=new ze(this._adapter);return Y.updateSelection(this.selection,this),Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})(),Ne=(()=>{class ze extends me{constructor(Y){super(new Ke(null,null),Y)}add(Y){let{start:pe,end:de}=this.selection;null==pe?pe=Y:null==de?de=Y:(pe=Y,de=null),super.updateSelection(new Ke(pe,de),this)}isValid(){const{start:Y,end:pe}=this.selection;return null==Y&&null==pe||(null!=Y&&null!=pe?this._isValidDateInstance(Y)&&this._isValidDateInstance(pe)&&this._adapter.compareDate(Y,pe)<=0:(null==Y||this._isValidDateInstance(Y))&&(null==pe||this._isValidDateInstance(pe)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const Y=new ze(this._adapter);return Y.updateSelection(this.selection,this),Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})();function Be(ze,en){return ze||new Pe(en)}const yt={provide:me,deps:[[new u.Optional,new u.SkipSelf,me],m.DateAdapter],useFactory:Be};function Ot(ze,en){return ze||new Ne(en)}const Yt={provide:me,deps:[[new u.Optional,new u.SkipSelf,me],m.DateAdapter],useFactory:Ot},jt=new u.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let cn=(()=>{class ze{constructor(Y){this._dateAdapter=Y}selectionFinished(Y,pe){let{start:de,end:Qe}=pe;return null==de?de=Y:null==Qe&&Y&&this._dateAdapter.compareDate(Y,de)>=0?Qe=Y:(de=Y,Qe=null),new Ke(de,Qe)}createPreview(Y,pe){let de=null,Qe=null;return pe.start&&!pe.end&&Y&&(de=pe.start,Qe=Y),new Ke(de,Qe)}createDrag(Y,pe,de){let Qe=pe.start,_t=pe.end;if(!Qe||!_t)return null;const hn=this._dateAdapter,On=0!==hn.compareDate(Qe,_t),Bn=hn.getYear(de)-hn.getYear(Y),Ci=hn.getMonth(de)-hn.getMonth(Y),Zn=hn.getDate(de)-hn.getDate(Y);return On&&hn.sameDate(Y,pe.start)?(Qe=de,hn.compareDate(de,_t)>0&&(_t=hn.addCalendarYears(_t,Bn),_t=hn.addCalendarMonths(_t,Ci),_t=hn.addCalendarDays(_t,Zn))):On&&hn.sameDate(Y,pe.end)?(_t=de,hn.compareDate(de,Qe)<0&&(Qe=hn.addCalendarYears(Qe,Bn),Qe=hn.addCalendarMonths(Qe,Ci),Qe=hn.addCalendarDays(Qe,Zn))):(Qe=hn.addCalendarYears(Qe,Bn),Qe=hn.addCalendarMonths(Qe,Ci),Qe=hn.addCalendarDays(Qe,Zn),_t=hn.addCalendarYears(_t,Bn),_t=hn.addCalendarMonths(_t,Ci),_t=hn.addCalendarDays(_t,Zn)),new Ke(Qe,_t)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275inject(m.DateAdapter))};static#t=this.\u0275prov=u.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac})}return ze})();const an={provide:jt,deps:[[new u.Optional,new u.SkipSelf,jt],m.DateAdapter],useFactory:function fn(ze,en){return ze||new cn(en)}};let un=(()=>{class ze{get activeDate(){return this._activeDate}set activeDate(Y){const pe=this._activeDate,de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._hasSameMonthAndYear(pe,this._activeDate)||this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de,Qe,_t){this._changeDetectorRef=Y,this._dateFormats=pe,this._dateAdapter=de,this._dir=Qe,this._rangeStrategy=_t,this._rerenderSubscription=o.w0.EMPTY,this.activeDrag=null,this.selectedChange=new u.EventEmitter,this._userSelection=new u.EventEmitter,this.dragStarted=new u.EventEmitter,this.dragEnded=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnChanges(Y){const pe=Y.comparisonStart||Y.comparisonEnd;pe&&!pe.firstChange&&this._setRanges(this.selected),Y.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Y){const pe=Y.value,de=this._getDateFromDayOfMonth(pe);let Qe,_t;this._selected instanceof Ke?(Qe=this._getDateInCurrentMonth(this._selected.start),_t=this._getDateInCurrentMonth(this._selected.end)):Qe=_t=this._getDateInCurrentMonth(this._selected),(Qe!==pe||_t!==pe)&&this.selectedChange.emit(de),this._userSelection.emit({value:de,event:Y.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case c.Ku:this.activeDate=Y.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case c.VM:this.activeDate=Y.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case c.K5:case c.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Y.preventDefault());case c.hY:return void(null!=this._previewEnd&&!(0,c.Vb)(Y)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:Y}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Y})),Y.preventDefault(),Y.stopPropagation()));default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Y}),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 Y=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(Y)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Y){this._matCalendarBody._focusActiveCell(Y)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Y,value:pe}){if(this._rangeStrategy){const de=pe?pe.rawValue:null,Qe=this._rangeStrategy.createPreview(de,this.selected,Y);if(this._previewStart=this._getCellCompareValue(Qe.start),this._previewEnd=this._getCellCompareValue(Qe.end),this.activeDrag&&de){const _t=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,de,Y);_t&&(this._previewStart=this._getCellCompareValue(_t.start),this._previewEnd=this._getCellCompareValue(_t.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(Y){if(this.activeDrag)if(Y.value){const pe=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,Y.value,Y.event);this.dragEnded.emit({value:pe??null,event:Y.event})}else this.dragEnded.emit({value:null,event:Y.event})}_getDateFromDayOfMonth(Y){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Y)}_initWeekdays(){const Y=this._dateAdapter.getFirstDayOfWeek(),pe=this._dateAdapter.getDayOfWeekNames("narrow");let Qe=this._dateAdapter.getDayOfWeekNames("long").map((_t,hn)=>({long:_t,narrow:pe[hn]}));this._weekdays=Qe.slice(Y).concat(Qe.slice(0,Y))}_createWeekCells(){const Y=this._dateAdapter.getNumDaysInMonth(this.activeDate),pe=this._dateAdapter.getDateNames();this._weeks=[[]];for(let de=0,Qe=this._firstWeekOffset;de=0)&&(!this.maxDate||this._dateAdapter.compareDate(Y,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Y))}_getDateInCurrentMonth(Y){return Y&&this._hasSameMonthAndYear(Y,this.activeDate)?this._dateAdapter.getDate(Y):null}_hasSameMonthAndYear(Y,pe){return!(!Y||!pe||this._dateAdapter.getMonth(Y)!=this._dateAdapter.getMonth(pe)||this._dateAdapter.getYear(Y)!=this._dateAdapter.getYear(pe))}_getCellCompareValue(Y){if(Y){const pe=this._dateAdapter.getYear(Y),de=this._dateAdapter.getMonth(Y),Qe=this._dateAdapter.getDate(Y);return new Date(pe,de,Qe).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Y){Y instanceof Ke?(this._rangeStart=this._getCellCompareValue(Y.start),this._rangeEnd=this._getCellCompareValue(Y.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(Y),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(Y){return!this.dateFilter||this.dateFilter(Y)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(d.Is,8),u.\u0275\u0275directiveInject(jt,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-month-view"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(Ie,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._matCalendarBody=Qe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[u.\u0275\u0275NgOnChangesFeature],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(pe,de){1&pe&&(u.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),u.\u0275\u0275repeaterCreate(3,R,5,2,"th",4,u.\u0275\u0275repeaterTrackByIdentity),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"tr"),u.\u0275\u0275element(6,"th",2),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(7,"tbody",3),u.\u0275\u0275listener("selectedValueChange",function(_t){return de._dateSelected(_t)})("activeDateChange",function(_t){return de._updateActiveDate(_t)})("previewChange",function(_t){return de._previewChanged(_t)})("dragStarted",function(_t){return de.dragStarted.emit(_t)})("dragEnded",function(_t){return de._dragEnded(_t)})("keyup",function(_t){return de._handleCalendarBodyKeyup(_t)})("keydown",function(_t){return de._handleCalendarBodyKeydown(_t)}),u.\u0275\u0275elementEnd()()),2&pe&&(u.\u0275\u0275advance(3),u.\u0275\u0275repeater(de._weekdays),u.\u0275\u0275advance(4),u.\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:[Ie],encapsulation:2,changeDetection:0})}return ze})();const Bt=24,Ft=4;let De=(()=>{class ze{get activeDate(){return this._activeDate}set activeDate(Y){let pe=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),Ve(this._dateAdapter,pe,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setSelectedYear(Y)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de){this._changeDetectorRef=Y,this._dateAdapter=pe,this._dir=de,this._rerenderSubscription=o.w0.EMPTY,this.selectedChange=new u.EventEmitter,this.yearSelected=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const pe=this._dateAdapter.getYear(this._activeDate)-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let de=0,Qe=[];dethis._createCellForYear(_t))),Qe=[]);this._changeDetectorRef.markForCheck()}_yearSelected(Y){const pe=Y.value,de=this._dateAdapter.createDate(pe,0,1),Qe=this._getDateFromYear(pe);this.yearSelected.emit(de),this.selectedChange.emit(Qe)}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromYear(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ft);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ft);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Bt-Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case c.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10*-Bt:-Bt);break;case c.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10*Bt:Bt);break;case c.K5:case c.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_getActiveCell(){return Xe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Y){const pe=this._dateAdapter.getMonth(this.activeDate),de=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Y,pe,1));return this._dateAdapter.createDate(Y,pe,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForYear(Y){const pe=this._dateAdapter.createDate(Y,0,1),de=this._dateAdapter.getYearName(pe),Qe=this.dateClass?this.dateClass(pe,"multi-year"):void 0;return new Ze(Y,de,de,this._shouldEnableYear(Y),Qe)}_shouldEnableYear(Y){if(null==Y||this.maxDate&&Y>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Y{class ze{get activeDate(){return this._activeDate}set activeDate(Y){let pe=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._dateAdapter.getYear(pe)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y)),this._setSelectedMonth(Y)}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}constructor(Y,pe,de,Qe){this._changeDetectorRef=Y,this._dateFormats=pe,this._dateAdapter=de,this._dir=Qe,this._rerenderSubscription=o.w0.EMPTY,this.selectedChange=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.activeDateChange=new u.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,C.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Y){const pe=Y.value,de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),pe,1);this.monthSelected.emit(de);const Qe=this._getDateFromMonth(pe);this.selectedChange.emit(Qe)}_updateActiveDate(Y){const de=this._activeDate;this.activeDate=this._getDateFromMonth(Y.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Y){const pe=this._activeDate,de=this._isRtl();switch(Y.keyCode){case c.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?1:-1);break;case c.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?-1:1);break;case c.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case c.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case c.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case c.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case c.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?-10:-1);break;case c.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Y.altKey?10:1);break;case c.K5:case c.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(pe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Y.preventDefault()}_handleCalendarBodyKeyup(Y){(Y.keyCode===c.L_||Y.keyCode===c.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Y}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let Y=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(pe=>pe.map(de=>this._createCellForMonth(de,Y[de]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Y){return Y&&this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Y):null}_getDateFromMonth(Y){const pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,1),de=this._dateAdapter.getNumDaysInMonth(pe);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForMonth(Y,pe){const de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Y,1),Qe=this._dateAdapter.format(de,this._dateFormats.display.monthYearA11yLabel),_t=this.dateClass?this.dateClass(de,"year"):void 0;return new Ze(Y,pe.toLocaleUpperCase(),Qe,this._shouldEnableMonth(Y),_t)}_shouldEnableMonth(Y){const pe=this._dateAdapter.getYear(this.activeDate);if(null==Y||this._isYearAndMonthAfterMaxDate(pe,Y)||this._isYearAndMonthBeforeMinDate(pe,Y))return!1;if(!this.dateFilter)return!0;for(let Qe=this._dateAdapter.createDate(pe,Y,1);this._dateAdapter.getMonth(Qe)==Y;Qe=this._dateAdapter.addCalendarDays(Qe,1))if(this.dateFilter(Qe))return!0;return!1}_isYearAndMonthAfterMaxDate(Y,pe){if(this.maxDate){const de=this._dateAdapter.getYear(this.maxDate),Qe=this._dateAdapter.getMonth(this.maxDate);return Y>de||Y===de&&pe>Qe}return!1}_isYearAndMonthBeforeMinDate(Y,pe){if(this.minDate){const de=this._dateAdapter.getYear(this.minDate),Qe=this._dateAdapter.getMonth(this.minDate);return Y{class ze{constructor(Y,pe,de,Qe,_t){this._intl=Y,this.calendar=pe,this._dateAdapter=de,this._dateFormats=Qe,this._id="mat-calendar-header-"+Oe++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>_t.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:-Bt)}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:Bt)}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(Y,pe){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(pe)&&this._dateAdapter.getMonth(Y)==this._dateAdapter.getMonth(pe):"year"==this.calendar.currentView?this._dateAdapter.getYear(Y)==this._dateAdapter.getYear(pe):Ve(this._dateAdapter,Y,pe,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const pe=this._dateAdapter.getYear(this.calendar.activeDate)-Xe(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),de=pe+Bt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(pe,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(de,0,1))]}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject((0,u.forwardRef)(()=>Pt)),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],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(pe,de){1&pe&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),u.\u0275\u0275listener("click",function(){return de.currentPeriodClicked()}),u.\u0275\u0275elementStart(3,"span",3),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275namespaceSVG(),u.\u0275\u0275elementStart(5,"svg",4),u.\u0275\u0275element(6,"polygon",5),u.\u0275\u0275elementEnd()(),u.\u0275\u0275namespaceHTML(),u.\u0275\u0275element(7,"div",6),u.\u0275\u0275projection(8),u.\u0275\u0275elementStart(9,"button",7),u.\u0275\u0275listener("click",function(){return de.previousClicked()}),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(10,"button",8),u.\u0275\u0275listener("click",function(){return de.nextClicked()}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(11,"label",9),u.\u0275\u0275text(12),u.\u0275\u0275elementEnd()),2&pe&&(u.\u0275\u0275advance(2),u.\u0275\u0275attribute("aria-label",de.periodButtonLabel)("aria-describedby",de._periodButtonLabelId),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(de.periodButtonText),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-calendar-invert","month"!==de.calendar.currentView),u.\u0275\u0275advance(4),u.\u0275\u0275property("disabled",!de.previousEnabled()),u.\u0275\u0275attribute("aria-label",de.prevButtonLabel),u.\u0275\u0275advance(1),u.\u0275\u0275property("disabled",!de.nextEnabled()),u.\u0275\u0275attribute("aria-label",de.nextButtonLabel),u.\u0275\u0275advance(1),u.\u0275\u0275property("id",de._periodButtonLabelId),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de.periodButtonDescription))},dependencies:[v.MatButton,v.MatIconButton],encapsulation:2,changeDetection:0})}return ze})(),Pt=(()=>{class ze{get startAt(){return this._startAt}set startAt(Y){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get selected(){return this._selected}set selected(Y){this._selected=Y instanceof Ke?Y:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get minDate(){return this._minDate}set minDate(Y){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get maxDate(){return this._maxDate}set maxDate(Y){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get activeDate(){return this._clampedActiveDate}set activeDate(Y){this._clampedActiveDate=this._dateAdapter.clampDate(Y,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(Y){const pe=this._currentView!==Y?Y:null;this._currentView=Y,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),pe&&this.viewChanged.emit(pe)}constructor(Y,pe,de,Qe){this._dateAdapter=pe,this._dateFormats=de,this._changeDetectorRef=Qe,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new u.EventEmitter,this.yearSelected=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.viewChanged=new u.EventEmitter(!0),this._userSelection=new u.EventEmitter,this._userDragDrop=new u.EventEmitter,this._activeDrag=null,this.stateChanges=new h.x,this._intlChanges=Y.changes.subscribe(()=>{Qe.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new D.C5(this.headerComponent||Ct),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(Y){const pe=Y.minDate&&!this._dateAdapter.sameDate(Y.minDate.previousValue,Y.minDate.currentValue)?Y.minDate:void 0,de=Y.maxDate&&!this._dateAdapter.sameDate(Y.maxDate.previousValue,Y.maxDate.currentValue)?Y.maxDate:void 0,Qe=pe||de||Y.dateFilter;if(Qe&&!Qe.firstChange){const _t=this._getCurrentViewComponent();_t&&(this._changeDetectorRef.detectChanges(),_t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Y){const pe=Y.value;(this.selected instanceof Ke||pe&&!this._dateAdapter.sameDate(pe,this.selected))&&this.selectedChange.emit(pe),this._userSelection.emit(Y)}_yearSelectedInMultiYearView(Y){this.yearSelected.emit(Y)}_monthSelectedInYearView(Y){this.monthSelected.emit(Y)}_goToDateInView(Y,pe){this.activeDate=Y,this.currentView=pe}_dragStarted(Y){this._activeDrag=Y}_dragEnded(Y){this._activeDrag&&(Y.value&&this._userDragDrop.emit(Y),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-calendar"]],viewQuery:function(pe,de){if(1&pe&&(u.\u0275\u0275viewQuery(un,5),u.\u0275\u0275viewQuery(ut,5),u.\u0275\u0275viewQuery(De,5)),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.monthView=Qe.first),u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.yearView=Qe.first),u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de.multiYearView=Qe.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[u.\u0275\u0275ProvidersFeature([yt]),u.\u0275\u0275NgOnChangesFeature],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(pe,de){if(1&pe&&(u.\u0275\u0275template(0,W,0,0,"ng-template",0),u.\u0275\u0275elementStart(1,"div",1),u.\u0275\u0275template(2,ne,1,11)(3,ee,1,6)(4,j,1,6),u.\u0275\u0275elementEnd()),2&pe){let Qe;u.\u0275\u0275property("cdkPortalOutlet",de._calendarHeaderPortal),u.\u0275\u0275advance(2),u.\u0275\u0275conditional(2,"month"===(Qe=de.currentView)?2:"year"===Qe?3:"multi-year"===Qe?4:-1)}},dependencies:[n.kH,D.Pl,un,ut,De],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)}.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,.mat-datepicker-content .mat-calendar-next-button{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 ze})();const Nt={transformPanel:(0,T.X$)("transformPanel",[(0,T.eR)("void => enter-dropdown",(0,T.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,T.F4)([(0,T.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,T.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,T.eR)("void => enter-dialog",(0,T.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,T.F4)([(0,T.oB)({opacity:0,transform:"scale(0.7)"}),(0,T.oB)({transform:"none",opacity:1})]))),(0,T.eR)("* => void",(0,T.jt)("100ms linear",(0,T.oB)({opacity:0})))]),fadeInCalendar:(0,T.X$)("fadeInCalendar",[(0,T.SB)("void",(0,T.oB)({opacity:0})),(0,T.SB)("enter",(0,T.oB)({opacity:1})),(0,T.eR)("void => *",(0,T.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let bt=0;const _e=new u.InjectionToken("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const ze=(0,u.inject)(f.aV);return()=>ze.scrollStrategies.reposition()}});function ce(ze){return()=>ze.scrollStrategies.reposition()}const z={provide:_e,deps:[f.aV],useFactory:ce},oe=(0,m.mixinColor)(class{constructor(ze){this._elementRef=ze}});let Se=(()=>{class ze extends oe{constructor(Y,pe,de,Qe,_t,hn){super(Y),this._changeDetectorRef=pe,this._globalModel=de,this._dateAdapter=Qe,this._rangeSelectionStrategy=_t,this._subscriptions=new o.w0,this._animationDone=new h.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=hn.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(Y){const pe=this._model.selection,de=Y.value,Qe=pe instanceof Ke;if(Qe&&this._rangeSelectionStrategy){const _t=this._rangeSelectionStrategy.selectionFinished(de,pe,Y.event);this._model.updateSelection(_t,this)}else de&&(Qe||!this._dateAdapter.sameDate(de,pe))&&this._model.add(de);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(Y){this._model.updateSelection(Y.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(Y){this._isAnimating="start"===Y.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Y,pe){this._model=Y?this._globalModel.clone():this._globalModel,this._actionsPortal=Y,pe&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(me),u.\u0275\u0275directiveInject(m.DateAdapter),u.\u0275\u0275directiveInject(jt,8),u.\u0275\u0275directiveInject(Ye))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-content"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(Pt,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._calendar=Qe.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275syntheticHostListener("@transformPanel.start",function(_t){return de._handleAnimationEvent(_t)})("@transformPanel.done",function(_t){return de._handleAnimationEvent(_t)}),2&pe&&(u.\u0275\u0275syntheticHostProperty("@transformPanel",de._animationState),u.\u0275\u0275classProp("mat-datepicker-content-touch",de.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[u.\u0275\u0275InheritDefinitionFeature],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(pe,de){if(1&pe&&(u.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),u.\u0275\u0275listener("yearSelected",function(_t){return de.datepicker._selectYear(_t)})("monthSelected",function(_t){return de.datepicker._selectMonth(_t)})("viewChanged",function(_t){return de.datepicker._viewChanged(_t)})("_userSelection",function(_t){return de._handleUserSelection(_t)})("_userDragDrop",function(_t){return de._handleUserDragDrop(_t)}),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(2,B,0,0,"ng-template",2),u.\u0275\u0275elementStart(3,"button",3),u.\u0275\u0275listener("focus",function(){return de._closeButtonFocused=!0})("blur",function(){return de._closeButtonFocused=!1})("click",function(){return de.datepicker.close()}),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()),2&pe){let Qe;u.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",de.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",de._actionsPortal),u.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(Qe=de._dialogLabelId)&&void 0!==Qe?Qe:void 0),u.\u0275\u0275advance(1),u.\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),u.\u0275\u0275advance(1),u.\u0275\u0275property("cdkPortalOutlet",de._actionsPortal),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("cdk-visually-hidden",!de._closeButtonFocused),u.\u0275\u0275property("color",de.color||"primary"),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de._closeButtonText)}},dependencies:[y.NgClass,v.MatButton,n.mK,D.Pl,Pt],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.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{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Nt.transformPanel,Nt.fadeInCalendar]},changeDetection:0})}return ze})(),at=(()=>{class ze{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Y){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Y){this._color=Y}get touchUi(){return this._touchUi}set touchUi(Y){this._touchUi=(0,w.Ig)(Y)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Y){const pe=(0,w.Ig)(Y);pe!==this._disabled&&(this._disabled=pe,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(Y){this._restoreFocus=(0,w.Ig)(Y)}get panelClass(){return this._panelClass}set panelClass(Y){this._panelClass=(0,w.du)(Y)}get opened(){return this._opened}set opened(Y){(0,w.Ig)(Y)?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(Y,pe,de,Qe,_t,hn,On){this._overlay=Y,this._ngZone=pe,this._viewContainerRef=de,this._dateAdapter=_t,this._dir=hn,this._model=On,this._inputStateChanges=o.w0.EMPTY,this._document=(0,u.inject)(y.DOCUMENT),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new u.EventEmitter,this.monthSelected=new u.EventEmitter,this.viewChanged=new u.EventEmitter(!0),this.openedStream=new u.EventEmitter,this.closedStream=new u.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+bt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.x,this._scrollStrategy=Qe}ngOnChanges(Y){const pe=Y.xPosition||Y.yPosition;if(pe&&!pe.firstChange&&this._overlayRef){const de=this._overlayRef.getConfig().positionStrategy;de instanceof f._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(Y){this._model.add(Y)}_selectYear(Y){this.yearSelected.emit(Y)}_selectMonth(Y){this.monthSelected.emit(Y)}_viewChanged(Y){this.viewChanged.emit(Y)}registerInput(Y){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Y,this._inputStateChanges=Y.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Y){this._actionsPortal=Y,this._componentRef?.instance._assignActions(Y,!0)}removeActions(Y){Y===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,g.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const Y=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,pe=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:de,location:Qe}=this._componentRef;de._startExitAnimation(),de._animationDone.pipe((0,b.q)(1)).subscribe(()=>{const _t=this._document.activeElement;Y&&(!_t||_t===this._document.activeElement||Qe.nativeElement.contains(_t))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}Y?setTimeout(pe):pe()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Y){Y.datepicker=this,Y.color=this.color,Y._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Y._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Y=this.touchUi,pe=new D.C5(Se,this._viewContainerRef),de=this._overlayRef=this._overlay.create(new f.X_({positionStrategy:Y?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Y?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:Y?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(Y?"dialog":"popup")}));this._getCloseStream(de).subscribe(Qe=>{Qe&&Qe.preventDefault(),this.close()}),de.keydownEvents().subscribe(Qe=>{const _t=Qe.keyCode;(_t===c.LH||_t===c.JH||_t===c.oh||_t===c.SV||_t===c.Ku||_t===c.VM)&&Qe.preventDefault()}),this._componentRef=de.attach(pe),this._forwardContentValues(this._componentRef.instance),Y||this._ngZone.onStable.pipe((0,b.q)(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 Y=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Y)}_setConnectedPositions(Y){const pe="end"===this.xPosition?"end":"start",de="start"===pe?"end":"start",Qe="above"===this.yPosition?"bottom":"top",_t="top"===Qe?"bottom":"top";return Y.withPositions([{originX:pe,originY:_t,overlayX:pe,overlayY:Qe},{originX:pe,originY:Qe,overlayX:pe,overlayY:_t},{originX:de,originY:_t,overlayX:de,overlayY:Qe},{originX:de,originY:Qe,overlayX:de,overlayY:_t}])}_getCloseStream(Y){const pe=["ctrlKey","shiftKey","metaKey"];return(0,l.T)(Y.backdropClick(),Y.detachments(),Y.keydownEvents().pipe((0,x.h)(de=>de.keyCode===c.hY&&!(0,c.Vb)(de)||this.datepickerInput&&(0,c.Vb)(de,"altKey")&&de.keyCode===c.LH&&pe.every(Qe=>!(0,c.Vb)(de,Qe)))))}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(f.aV),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(_e),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(d.Is,8),u.\u0275\u0275directiveInject(me))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[u.\u0275\u0275NgOnChangesFeature]})}return ze})(),nt=(()=>{class ze extends at{static#e=this.\u0275fac=(()=>{let Y;return function(de){return(Y||(Y=u.\u0275\u0275getInheritedFactory(ze)))(de||ze)}})();static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[u.\u0275\u0275ProvidersFeature([yt,{provide:at,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(pe,de){},encapsulation:2,changeDetection:0})}return ze})();class mt{constructor(en,Y){this.target=en,this.targetElement=Y,this.value=this.target.value}}let He=(()=>{class ze{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Y){this._assignValueProgrammatically(Y)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Y){const pe=(0,w.Ig)(Y),de=this._elementRef.nativeElement;this._disabled!==pe&&(this._disabled=pe,this.stateChanges.next(void 0)),pe&&this._isInitialized&&de.blur&&de.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Y){this._model=Y,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(pe=>{if(this._shouldHandleChangeEvent(pe)){const de=this._getValueFromModel(pe.selection);this._lastValueValid=this._isValidValue(de),this._cvaOnChange(de),this._onTouched(),this._formatValue(de),this.dateInput.emit(new mt(this,this._elementRef.nativeElement)),this.dateChange.emit(new mt(this,this._elementRef.nativeElement))}})}constructor(Y,pe,de){this._elementRef=Y,this._dateAdapter=pe,this._dateFormats=de,this.dateChange=new u.EventEmitter,this.dateInput=new u.EventEmitter,this.stateChanges=new h.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=o.w0.EMPTY,this._localeSubscription=o.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value));return!_t||this._matchesFilter(_t)?null:{matDatepickerFilter:!0}},this._minValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value)),hn=this._getMinDate();return!hn||!_t||this._dateAdapter.compareDate(hn,_t)<=0?null:{matDatepickerMin:{min:hn,actual:_t}}},this._maxValidator=Qe=>{const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Qe.value)),hn=this._getMaxDate();return!hn||!_t||this._dateAdapter.compareDate(hn,_t)>=0?null:{matDatepickerMax:{max:hn,actual:_t}}},this._lastValueValid=!1,this._localeSubscription=pe.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Y){rt(Y,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Y){this._validatorOnChange=Y}validate(Y){return this._validator?this._validator(Y):null}writeValue(Y){this._assignValueProgrammatically(Y)}registerOnChange(Y){this._cvaOnChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y}_onKeydown(Y){(0,c.Vb)(Y,"altKey")&&Y.keyCode===c.JH&&["ctrlKey","shiftKey","metaKey"].every(Qe=>!(0,c.Vb)(Y,Qe))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Y.preventDefault())}_onInput(Y){const pe=this._lastValueValid;let de=this._dateAdapter.parse(Y,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(de),de=this._dateAdapter.getValidDateOrNull(de);const Qe=!this._dateAdapter.sameDate(de,this.value);!de||Qe?this._cvaOnChange(de):(Y&&!this.value&&this._cvaOnChange(de),pe!==this._lastValueValid&&this._validatorOnChange()),Qe&&(this._assignValue(de),this.dateInput.emit(new mt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new mt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Y){this._elementRef.nativeElement.value=null!=Y?this._dateAdapter.format(Y,this._dateFormats.display.dateInput):""}_assignValue(Y){this._model?(this._assignValueToModel(Y),this._pendingValue=null):this._pendingValue=Y}_isValidValue(Y){return!Y||this._dateAdapter.isValid(Y)}_parentDisabled(){return!1}_assignValueProgrammatically(Y){Y=this._dateAdapter.deserialize(Y),this._lastValueValid=this._isValidValue(Y),Y=this._dateAdapter.getValidDateOrNull(Y),this._assignValue(Y),this._formatValue(Y)}_matchesFilter(Y){const pe=this._getDateFilter();return!pe||pe(Y)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275NgOnChangesFeature]})}return ze})();function rt(ze,en){const Y=Object.keys(ze);for(let pe of Y){const{previousValue:de,currentValue:Qe}=ze[pe];if(!en.isDateInstance(de)||!en.isDateInstance(Qe))return!0;if(!en.sameDate(de,Qe))return!0}return!1}const Lt={provide:S.NG_VALUE_ACCESSOR,useExisting:(0,u.forwardRef)(()=>tn),multi:!0},Xt={provide:S.NG_VALIDATORS,useExisting:(0,u.forwardRef)(()=>tn),multi:!0};let tn=(()=>{class ze extends He{set matDatepicker(Y){Y&&(this._datepicker=Y,this._closedSubscription=Y.closedStream.subscribe(()=>this._onTouched()),this._registerModel(Y.registerInput(this)))}get min(){return this._min}set min(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._min)||(this._min=pe,this._validatorOnChange())}get max(){return this._max}set max(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._max)||(this._max=pe,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(Y){const pe=this._matchesFilter(this.value);this._dateFilter=Y,this._matchesFilter(this.value)!==pe&&this._validatorOnChange()}constructor(Y,pe,de,Qe){super(Y,pe,de),this._formField=Qe,this._closedSubscription=o.w0.EMPTY,this._validator=S.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(Y){return Y}_assignValueToModel(Y){this._model&&this._model.updateSelection(Y,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Y){return Y.source!==this}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8),u.\u0275\u0275directiveInject(M.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("blur",function(){return de._onBlur()})("keydown",function(_t){return de._onKeydown(_t)}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\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:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[u.\u0275\u0275ProvidersFeature([Lt,Xt,{provide:k.MAT_INPUT_VALUE_ACCESSOR,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),Nn=(()=>{class ze{static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerToggleIcon",""]]})}return ze})(),ui=(()=>{class ze{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Y){this._disabled=(0,w.Ig)(Y)}constructor(Y,pe,de){this._intl=Y,this._changeDetectorRef=pe,this._stateChanges=o.w0.EMPTY;const Qe=Number(de);this.tabIndex=Qe||0===Qe?Qe:null}ngOnChanges(Y){Y.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Y){this.datepicker&&!this.disabled&&(this.datepicker.open(),Y.stopPropagation())}_watchStateChanges(){const Y=this.datepicker?this.datepicker.stateChanges:(0,r.of)(),pe=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,r.of)(),de=this.datepicker?(0,l.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,r.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,l.T)(this._intl.changes,Y,pe,de).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ye),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-toggle"]],contentQueries:function(pe,de,Qe){if(1&pe&&u.\u0275\u0275contentQuery(Qe,Nn,5),2&pe){let _t;u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._customIcon=_t.first)}},viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery($,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._button=Qe.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(_t){return de._open(_t)}),2&pe&&(u.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",de.datepicker?de.datepicker.id:null),u.\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:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[u.\u0275\u0275NgOnChangesFeature],ngContentSelectors:te,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(pe,de){1&pe&&(u.\u0275\u0275projectionDef(H),u.\u0275\u0275elementStart(0,"button",0,1),u.\u0275\u0275template(2,Z,2,0,":svg:svg",2),u.\u0275\u0275projection(3),u.\u0275\u0275elementEnd()),2&pe&&(u.\u0275\u0275property("disabled",de.disabled)("disableRipple",de.disableRipple),u.\u0275\u0275attribute("aria-haspopup",de.datepicker?"dialog":null)("aria-label",de.ariaLabel||de._intl.openCalendarLabel)("tabindex",de.disabled?-1:de.tabIndex),u.\u0275\u0275advance(2),u.\u0275\u0275conditional(2,de._customIcon?-1:2))},dependencies:[v.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 ze})();function _i(ze){return pn(ze,!0)}function Hi(ze){return ze.nodeType===Node.ELEMENT_NODE}function pn(ze,en){if(Hi(ze)&&en){const pe=(ze.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((de,Qe)=>{const _t=document.getElementById(Qe);return _t&&de.push(_t),de},[]);if(pe.length)return pe.map(de=>pn(de,!1)).join(" ")}if(Hi(ze)){const Y=ze.getAttribute("aria-label")?.trim();if(Y)return Y}if(function Yn(ze){return"INPUT"===ze.nodeName}(ze)||function st(ze){return"TEXTAREA"===ze.nodeName}(ze)){if(ze.labels?.length)return Array.from(ze.labels).map(de=>pn(de,!1)).join(" ");const Y=ze.getAttribute("placeholder")?.trim();if(Y)return Y;const pe=ze.getAttribute("title")?.trim();if(pe)return pe}return(ze.textContent||"").replace(/\s+/g," ").trim()}const Ue=new u.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),At=(0,m.mixinErrorState)((()=>{class ze extends He{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(pe,On,Bn),this._rangeInput=Y,this._elementRef=pe,this._defaultErrorStateMatcher=de,this._injector=Qe,this._parentForm=_t,this._parentFormGroup=hn,this._dir=(0,u.inject)(d.Is,{optional:!0})}ngOnInit(){const Y=this._injector.get(S.NgControl,null,{optional:!0,self:!0});Y&&(this.ngControl=Y)}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 Y=this._elementRef.nativeElement,pe=Y.value;return pe.length>0?pe:Y.placeholder}_onInput(Y){super._onInput(Y),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:Y}){return Y!==this._rangeInput._startInput&&Y!==this._rangeInput._endInput}_assignValueProgrammatically(Y){super._assignValueProgrammatically(Y),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return _i(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,features:[u.\u0275\u0275InheritDefinitionFeature]})}return ze})());let qt=(()=>{class ze extends At{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(Y,pe,de,Qe,_t,hn,On,Bn),this._startValidator=Ci=>{const Zn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ci.value)),Ei=this._model?this._model.selection.end:null;return!Zn||!Ei||this._dateAdapter.compareDate(Zn,Ei)<=0?null:{matStartDateInvalid:{end:Ei,actual:Zn}}},this._validator=S.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(Y){return Y.start}_shouldHandleChangeEvent(Y){return!(!super._shouldHandleChangeEvent(Y)||(Y.oldValue?.start?Y.selection.start&&!this._dateAdapter.compareDate(Y.oldValue.start,Y.selection.start):!Y.selection.start))}_assignValueToModel(Y){if(this._model){const pe=new Ke(Y,this._model.selection.end);this._model.updateSelection(pe,this)}}_formatValue(Y){super._formatValue(Y),this._rangeInput._handleChildValueChange()}_onKeydown(Y){const pe=this._rangeInput._endInput,de=this._elementRef.nativeElement,Qe="rtl"!==this._dir?.value;(Y.keyCode===c.SV&&Qe||Y.keyCode===c.oh&&!Qe)&&de.selectionStart===de.value.length&&de.selectionEnd===de.value.length?(Y.preventDefault(),pe._elementRef.nativeElement.setSelectionRange(0,0),pe.focus()):super._onKeydown(Y)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("keydown",function(_t){return de._onKeydown(_t)})("blur",function(){return de._onBlur()}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\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))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275ProvidersFeature([{provide:S.NG_VALUE_ACCESSOR,useExisting:ze,multi:!0},{provide:S.NG_VALIDATORS,useExisting:ze,multi:!0}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),it=(()=>{class ze extends At{constructor(Y,pe,de,Qe,_t,hn,On,Bn){super(Y,pe,de,Qe,_t,hn,On,Bn),this._endValidator=Ci=>{const Zn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ci.value)),Ei=this._model?this._model.selection.start:null;return!Zn||!Ei||this._dateAdapter.compareDate(Zn,Ei)>=0?null:{matEndDateInvalid:{start:Ei,actual:Zn}}},this._validator=S.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(Y){return Y.end}_shouldHandleChangeEvent(Y){return!(!super._shouldHandleChangeEvent(Y)||(Y.oldValue?.end?Y.selection.end&&!this._dateAdapter.compareDate(Y.oldValue.end,Y.selection.end):!Y.selection.end))}_assignValueToModel(Y){if(this._model){const pe=new Ke(this._model.selection.start,Y);this._model.updateSelection(pe,this)}}_onKeydown(Y){const pe=this._rangeInput._startInput,de=this._elementRef.nativeElement,Qe="rtl"!==this._dir?.value;if(Y.keyCode!==c.ZH||de.value)if((Y.keyCode===c.oh&&Qe||Y.keyCode===c.SV&&!Qe)&&0===de.selectionStart&&0===de.selectionEnd){Y.preventDefault();const _t=pe._elementRef.nativeElement.value.length;pe._elementRef.nativeElement.setSelectionRange(_t,_t),pe.focus()}else super._onKeydown(Y);else pe.focus()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(Ue),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(m.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(S.NgForm,8),u.\u0275\u0275directiveInject(S.FormGroupDirective,8),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(m.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("input",function(_t){return de._onInput(_t.target.value)})("change",function(){return de._onChange()})("keydown",function(_t){return de._onKeydown(_t)})("blur",function(){return de._onBlur()}),2&pe&&(u.\u0275\u0275hostProperty("disabled",de.disabled),u.\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))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.\u0275\u0275ProvidersFeature([{provide:S.NG_VALUE_ACCESSOR,useExisting:ze,multi:!0},{provide:S.NG_VALIDATORS,useExisting:ze,multi:!0}]),u.\u0275\u0275InheritDefinitionFeature]})}return ze})(),dt=0,ct=(()=>{class ze{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const Y=this._startInput?._getPlaceholder()||"",pe=this._endInput?._getPlaceholder()||"";return Y||pe?`${Y} ${this.separator} ${pe}`:""}get rangePicker(){return this._rangePicker}set rangePicker(Y){Y&&(this._model=Y.registerInput(this),this._rangePicker=Y,this._closedSubscription.unsubscribe(),this._closedSubscription=Y.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(Y){this._required=(0,w.Ig)(Y)}get dateFilter(){return this._dateFilter}set dateFilter(Y){const pe=this._startInput,de=this._endInput,Qe=pe&&pe._matchesFilter(pe.value),_t=de&&de._matchesFilter(pe.value);this._dateFilter=Y,pe&&pe._matchesFilter(pe.value)!==Qe&&pe._validatorOnChange(),de&&de._matchesFilter(de.value)!==_t&&de._validatorOnChange()}get min(){return this._min}set min(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._min)||(this._min=pe,this._revalidate())}get max(){return this._max}set max(Y){const pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Y));this._dateAdapter.sameDate(pe,this._max)||(this._max=pe,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(Y){const pe=(0,w.Ig)(Y);pe!==this._groupDisabled&&(this._groupDisabled=pe,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const Y=!!this._startInput&&this._startInput.isEmpty(),pe=!!this._endInput&&this._endInput.isEmpty();return Y&&pe}constructor(Y,pe,de,Qe,_t){this._changeDetectorRef=Y,this._elementRef=pe,this._dateAdapter=Qe,this._formField=_t,this._closedSubscription=o.w0.EMPTY,this.id="mat-date-range-input-"+dt++,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 h.x,_t?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&pe.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=de}setDescribedByIds(Y){this._ariaDescribedBy=Y.length?Y.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,l.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(Y){rt(Y,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(Y){const pe="start"===Y?this._startInput:this._endInput;return pe?pe.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 Y=this._formField;return Y&&Y._hasFloatingLabel()?Y._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(Y){this.focused=null!==Y,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(Y){this._startInput&&this._startInput._registerModel(Y),this._endInput&&this._endInput._registerModel(Y)}_isTargetRequired(Y){return Y?.ngControl?.control?.hasValidator(S.Validators.required)}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(S.ControlContainer,10),u.\u0275\u0275directiveInject(m.DateAdapter,8),u.\u0275\u0275directiveInject(M.MAT_FORM_FIELD,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-date-range-input"]],contentQueries:function(pe,de,Qe){if(1&pe&&(u.\u0275\u0275contentQuery(Qe,qt,5),u.\u0275\u0275contentQuery(Qe,it,5)),2&pe){let _t;u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._startInput=_t.first),u.\u0275\u0275queryRefresh(_t=u.\u0275\u0275loadQuery())&&(de._endInput=_t.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(pe,de){2&pe&&(u.\u0275\u0275attribute("id",de.id)("aria-labelledby",de._getAriaLabelledby())("aria-describedby",de._ariaDescribedBy)("data-mat-calendar",de.rangePicker?de.rangePicker.id:null),u.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",de._shouldHidePlaceholders())("mat-date-range-input-required",de.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[u.\u0275\u0275ProvidersFeature([{provide:M.MatFormFieldControl,useExisting:ze},{provide:Ue,useExisting:ze}]),u.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ye,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(ue),u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("cdkFocusChange",function(_t){return de._updateFocus(_t)}),u.\u0275\u0275elementStart(1,"div",1),u.\u0275\u0275projection(2),u.\u0275\u0275elementStart(3,"span",2),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(5,"span",3),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"div",4),u.\u0275\u0275projection(8,1),u.\u0275\u0275elementStart(9,"span",2),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd()()()),2&pe&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(de._getInputMirrorValue("start")),u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-date-range-input-separator-hidden",de._shouldHideSeparator()),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(de.separator),u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(de._getInputMirrorValue("end")))},dependencies:[n.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;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 ze})(),Ut=(()=>{class ze extends at{_forwardContentValues(Y){super._forwardContentValues(Y);const pe=this.datepickerInput;pe&&(Y.comparisonStart=pe.comparisonStart,Y.comparisonEnd=pe.comparisonEnd,Y.startDateAccessibleName=pe._getStartDateAccessibleName(),Y.endDateAccessibleName=pe._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let Y;return function(de){return(Y||(Y=u.\u0275\u0275getInheritedFactory(ze)))(de||ze)}})();static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[u.\u0275\u0275ProvidersFeature([Yt,an,{provide:at,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(pe,de){},encapsulation:2,changeDetection:0})}return ze})(),wt=(()=>{class ze{constructor(Y){this._datepicker=Y}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(){return de._applySelection()})}})}return ze})(),vt=(()=>{class ze{constructor(Y){this._datepicker=Y}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(pe,de){1&pe&&u.\u0275\u0275listener("click",function(){return de._datepicker.close()})}})}return ze})(),Ht=(()=>{class ze{constructor(Y,pe){this._datepicker=Y,this._viewContainerRef=pe}ngAfterViewInit(){this._portal=new D.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}static#e=this.\u0275fac=function(pe){return new(pe||ze)(u.\u0275\u0275directiveInject(at),u.\u0275\u0275directiveInject(u.ViewContainerRef))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(pe,de){if(1&pe&&u.\u0275\u0275viewQuery(u.TemplateRef,5),2&pe){let Qe;u.\u0275\u0275queryRefresh(Qe=u.\u0275\u0275loadQuery())&&(de._template=Qe.first)}},ngContentSelectors:U,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(pe,de){1&pe&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,Ge,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 ze})(),dn=(()=>{class ze{static#e=this.\u0275fac=function(pe){return new(pe||ze)};static#t=this.\u0275mod=u.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=u.\u0275\u0275defineInjector({providers:[Ye,z],imports:[y.CommonModule,v.MatButtonModule,f.U8,n.rt,D.eL,m.MatCommonModule,s.ZD]})}return ze})()},6385:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatDivider:()=>y,MatDividerModule:()=>u});var n=_(9212),f=_(2495),D=_(3680);let y=(()=>{class v{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(m){this._vertical=(0,f.Ig)(m)}get inset(){return this._inset}set inset(m){this._inset=(0,f.Ig)(m)}static#e=this.\u0275fac=function(h){return new(h||v)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:v,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(h,o){2&h&&(n.\u0275\u0275attribute("aria-orientation",o.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(h,o){},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 v})(),u=(()=>{class v{static#e=this.\u0275fac=function(h){return new(h||v)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:v});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[D.MatCommonModule,D.MatCommonModule]})}return v})()},4170:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_ERROR:()=>Et,MAT_FORM_FIELD:()=>cn,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>fn,MAT_PREFIX:()=>Ie,MAT_SUFFIX:()=>ge,MatError:()=>Te,MatFormField:()=>De,MatFormFieldControl:()=>yt,MatFormFieldModule:()=>Ve,MatHint:()=>Ee,MatLabel:()=>Ye,MatPrefix:()=>Ce,MatSuffix:()=>Ae,getMatFormFieldDuplicatedHintError:()=>Yt,getMatFormFieldMissingControlError:()=>jt,getMatFormFieldPlaceholderConflictError:()=>Ot,matFormFieldAnimations:()=>Be});var n=_(9212),f=_(9388),D=_(2831),y=_(7394),u=_(8645),v=_(3019),s=_(9773),m=_(5592),h=_(2181),o=_(7081);class r{constructor(St){this._box=St,this._destroyed=new u.x,this._resizeSubject=new u.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(tt=>this._resizeSubject.next(tt)))}observe(St){return this._elementObservables.has(St)||this._elementObservables.set(St,new m.y(tt=>{const ut=this._resizeSubject.subscribe(tt);return this._resizeObserver?.observe(St,{box:this._box}),()=>{this._resizeObserver?.unobserve(St),ut.unsubscribe(),this._elementObservables.delete(St)}}).pipe((0,h.h)(tt=>tt.some(ut=>ut.target===St)),(0,o.d)({bufferSize:1,refCount:!0}),(0,s.R)(this._destroyed))),this._elementObservables.get(St)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let c=(()=>{class Xe{constructor(){this._observers=new Map,this._ngZone=(0,n.inject)(n.NgZone)}ngOnDestroy(){for(const[,tt]of this._observers)tt.destroy();this._observers.clear()}observe(tt,ut){const Oe=ut?.box||"content-box";return this._observers.has(Oe)||this._observers.set(Oe,new r(Oe)),this._observers.get(Oe).observe(tt)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();var d=_(2495),g=_(6825),b=_(6814),C=_(7131),x=_(3680);const w=["notch"],T=["matFormFieldNotchedOutline",""],S=["*"],M=["textField"],k=["iconPrefixContainer"],I=["textPrefixContainer"];function P(Xe,St){1&Xe&&n.\u0275\u0275element(0,"span",16)}function A(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"label",14),n.\u0275\u0275projection(1,1),n.\u0275\u0275template(2,P,1,0,"span",15),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("floating",tt._shouldLabelFloat())("monitorResize",tt._hasOutline())("id",tt._labelId),n.\u0275\u0275attribute("for",tt._control.id),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(2,!tt.hideRequiredMarker&&tt._control.required?2:-1)}}function L(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,A,3,5,"label",14),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275conditional(0,tt._hasFloatingLabel()?0:-1)}}function F(Xe,St){1&Xe&&n.\u0275\u0275element(0,"div",17)}function R(Xe,St){}function U(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,R,0,0,"ng-template",9),2&Xe){n.\u0275\u0275nextContext(2);const tt=n.\u0275\u0275reference(1);n.\u0275\u0275property("ngTemplateOutlet",tt)}}function W(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",5),n.\u0275\u0275template(1,U,1,1,null,9),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("matFormFieldNotchedOutlineOpen",tt._shouldLabelFloat()),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(1,tt._forceDisplayInfixLabel()?-1:1)}}function ne(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",18,19),n.\u0275\u0275projection(2,2),n.\u0275\u0275elementEnd())}function ee(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",20,21),n.\u0275\u0275projection(2,3),n.\u0275\u0275elementEnd())}function j(Xe,St){}function B(Xe,St){if(1&Xe&&n.\u0275\u0275template(0,j,0,0,"ng-template",9),2&Xe){n.\u0275\u0275nextContext();const tt=n.\u0275\u0275reference(1);n.\u0275\u0275property("ngTemplateOutlet",tt)}}function $(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",22),n.\u0275\u0275projection(1,4),n.\u0275\u0275elementEnd())}function Z(Xe,St){1&Xe&&(n.\u0275\u0275elementStart(0,"div",23),n.\u0275\u0275projection(1,5),n.\u0275\u0275elementEnd())}function H(Xe,St){1&Xe&&n.\u0275\u0275element(0,"div",12)}function te(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",24),n.\u0275\u0275projection(1,6),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("@transitionMessages",tt._subscriptAnimationState)}}function ue(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"mat-hint",26),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("id",tt._hintLabelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(tt.hintLabel)}}function ye(Xe,St){if(1&Xe&&(n.\u0275\u0275elementStart(0,"div",25),n.\u0275\u0275template(1,ue,2,2,"mat-hint",26),n.\u0275\u0275projection(2,7),n.\u0275\u0275element(3,"div",27),n.\u0275\u0275projection(4,8),n.\u0275\u0275elementEnd()),2&Xe){const tt=n.\u0275\u0275nextContext();n.\u0275\u0275property("@transitionMessages",tt._subscriptAnimationState),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(1,tt.hintLabel?1:-1)}}const Ge=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$e=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ye=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-label"]]})}return Xe})(),Ze=0;const Et=new n.InjectionToken("MatError");let Te=(()=>{class Xe{constructor(tt,ut){this.id="mat-mdc-error-"+Ze++,tt||ut.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275injectAttribute("aria-live"),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275hostProperty("id",Oe.id)},inputs:{id:"id"},features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Xe}])]})}return Xe})(),qe=0,Ee=(()=>{class Xe{constructor(){this.align="start",this.id="mat-mdc-hint-"+qe++}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(ut,Oe){2&ut&&(n.\u0275\u0275hostProperty("id",Oe.id),n.\u0275\u0275attribute("align",null),n.\u0275\u0275classProp("mat-mdc-form-field-hint-end","end"===Oe.align))},inputs:{align:"align",id:"id"}})}return Xe})();const Ie=new n.InjectionToken("MatPrefix");let Ce=(()=>{class Xe{constructor(){this._isText=!1}set _isTextSelector(tt){this._isText=!0}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ie,useExisting:Xe}])]})}return Xe})();const ge=new n.InjectionToken("MatSuffix");let Ae=(()=>{class Xe{constructor(){this._isText=!1}set _isTextSelector(tt){this._isText=!0}static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:Xe}])]})}return Xe})();const q=new n.InjectionToken("FloatingLabelParent");let Re=(()=>{class Xe{get floating(){return this._floating}set floating(tt){this._floating=tt,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(tt){this._monitorResize=tt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(tt){this._elementRef=tt,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.inject)(c),this._ngZone=(0,n.inject)(n.NgZone),this._parent=(0,n.inject)(q),this._resizeSubscription=new y.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ke(Xe){if(null!==Xe.offsetParent)return Xe.scrollWidth;const tt=Xe.cloneNode(!0);tt.style.setProperty("position","absolute"),tt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(tt);const ut=tt.scrollWidth;return tt.remove(),ut}(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(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mdc-floating-label--float-above",Oe.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return Xe})();const Ke="mdc-line-ripple--active",me="mdc-line-ripple--deactivating";let Pe=(()=>{class Xe{constructor(tt,ut){this._elementRef=tt,this._handleTransitionEnd=Oe=>{const Ct=this._elementRef.nativeElement.classList,Pt=Ct.contains(me);"opacity"===Oe.propertyName&&Pt&&Ct.remove(Ke,me)},ut.runOutsideAngular(()=>{tt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const tt=this._elementRef.nativeElement.classList;tt.remove(me),tt.add(Ke)}deactivate(){this._elementRef.nativeElement.classList.add(me)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return Xe})(),Ne=(()=>{class Xe{constructor(tt,ut){this._elementRef=tt,this._ngZone=ut,this.open=!1}ngAfterViewInit(){const tt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");tt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(tt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>tt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(tt){this._notch.nativeElement.style.width=this.open&&tt?`calc(${tt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Xe,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(ut,Oe){if(1&ut&&n.\u0275\u0275viewQuery(w,5),2&ut){let Ct;n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._notch=Ct.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mdc-notched-outline--notched",Oe.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:T,ngContentSelectors:S,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(ut,Oe){1&ut&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275element(0,"div",0),n.\u0275\u0275elementStart(1,"div",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(4,"div",3))},encapsulation:2,changeDetection:0})}return Xe})();const Be={transitionMessages:(0,g.X$)("transitionMessages",[(0,g.SB)("enter",(0,g.oB)({opacity:1,transform:"translateY(0%)"})),(0,g.eR)("void => enter",[(0,g.oB)({opacity:0,transform:"translateY(-5px)"}),(0,g.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let yt=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Xe})}return Xe})();function Ot(){return Error("Placeholder attribute and child element were both specified.")}function Yt(Xe){return Error(`A hint was already declared for 'align="${Xe}"'.`)}function jt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const cn=new n.InjectionToken("MatFormField"),fn=new n.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let an=0,De=(()=>{class Xe{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(tt){this._hideRequiredMarker=(0,d.Ig)(tt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(tt){tt!==this._floatLabel&&(this._floatLabel=tt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(tt){const ut=this._appearance;this._appearance=tt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==ut&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(tt){this._subscriptSizing=tt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(tt){this._hintLabel=tt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(tt){this._explicitFormFieldControl=tt}constructor(tt,ut,Oe,Ct,Pt,Nt,bt,_e){this._elementRef=tt,this._changeDetectorRef=ut,this._ngZone=Oe,this._dir=Ct,this._platform=Pt,this._defaults=Nt,this._animationMode=bt,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-"+an++,this._hintLabelId="mat-mdc-hint-"+an++,this._subscriptAnimationState="",this._destroyed=new u.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Nt&&(Nt.appearance&&(this.appearance=Nt.appearance),this._hideRequiredMarker=!!Nt?.hideRequiredMarker,Nt.color&&(this.color=Nt.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 tt=this._control;tt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${tt.controlType}`),tt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),tt.ngControl&&tt.ngControl.valueChanges&&tt.ngControl.valueChanges.pipe((0,s.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(tt=>!tt._isText),this._hasTextPrefix=!!this._prefixChildren.find(tt=>tt._isText),this._hasIconSuffix=!!this._suffixChildren.find(tt=>!tt._isText),this._hasTextSuffix=!!this._suffixChildren.find(tt=>tt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,v.T)(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.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,s.R)(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(tt){const ut=this._control?this._control.ngControl:null;return ut&&ut[tt]}_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 tt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&tt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ut=this._hintChildren?this._hintChildren.find(Ct=>"start"===Ct.align):null,Oe=this._hintChildren?this._hintChildren.find(Ct=>"end"===Ct.align):null;ut?tt.push(ut.id):this._hintLabel&&tt.push(this._hintLabelId),Oe&&tt.push(Oe.id)}else this._errorChildren&&tt.push(...this._errorChildren.map(ut=>ut.id));this._control.setDescribedByIds(tt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const tt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(tt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const ut=this._iconPrefixContainer?.nativeElement,Oe=this._textPrefixContainer?.nativeElement,Ct=ut?.getBoundingClientRect().width??0,Pt=Oe?.getBoundingClientRect().width??0;tt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Ct+Pt}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const tt=this._elementRef.nativeElement;if(tt.getRootNode){const ut=tt.getRootNode();return ut&&ut!==tt}return document.documentElement.contains(tt)}static#e=this.\u0275fac=function(ut){return new(ut||Xe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.Is),n.\u0275\u0275directiveInject(D.t4),n.\u0275\u0275directiveInject(fn,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(b.DOCUMENT))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-form-field"]],contentQueries:function(ut,Oe,Ct){if(1&ut&&(n.\u0275\u0275contentQuery(Ct,Ye,5),n.\u0275\u0275contentQuery(Ct,Ye,7),n.\u0275\u0275contentQuery(Ct,yt,5),n.\u0275\u0275contentQuery(Ct,Ie,5),n.\u0275\u0275contentQuery(Ct,ge,5),n.\u0275\u0275contentQuery(Ct,Et,5),n.\u0275\u0275contentQuery(Ct,Ee,5)),2&ut){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._labelChildNonStatic=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._labelChildStatic=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._formFieldControl=Pt.first),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._prefixChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._suffixChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._errorChildren=Pt),n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Oe._hintChildren=Pt)}},viewQuery:function(ut,Oe){if(1&ut&&(n.\u0275\u0275viewQuery(M,5),n.\u0275\u0275viewQuery(k,5),n.\u0275\u0275viewQuery(I,5),n.\u0275\u0275viewQuery(Re,5),n.\u0275\u0275viewQuery(Ne,5),n.\u0275\u0275viewQuery(Pe,5)),2&ut){let Ct;n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._textField=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._iconPrefixContainer=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._textPrefixContainer=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._floatingLabel=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._notchedOutline=Ct.first),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(Oe._lineRipple=Ct.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(ut,Oe){2&ut&&n.\u0275\u0275classProp("mat-mdc-form-field-label-always-float",Oe._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Oe._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Oe._hasIconSuffix)("mat-form-field-invalid",Oe._control.errorState)("mat-form-field-disabled",Oe._control.disabled)("mat-form-field-autofilled",Oe._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Oe._animationMode)("mat-form-field-appearance-fill","fill"==Oe.appearance)("mat-form-field-appearance-outline","outline"==Oe.appearance)("mat-form-field-hide-placeholder",Oe._hasFloatingLabel()&&!Oe._shouldLabelFloat())("mat-focused",Oe._control.focused)("mat-primary","accent"!==Oe.color&&"warn"!==Oe.color)("mat-accent","accent"===Oe.color)("mat-warn","warn"===Oe.color)("ng-untouched",Oe._shouldForward("untouched"))("ng-touched",Oe._shouldForward("touched"))("ng-pristine",Oe._shouldForward("pristine"))("ng-dirty",Oe._shouldForward("dirty"))("ng-valid",Oe._shouldForward("valid"))("ng-invalid",Oe._shouldForward("invalid"))("ng-pending",Oe._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n.\u0275\u0275ProvidersFeature([{provide:cn,useExisting:Xe},{provide:q,useExisting:Xe}])],ngContentSelectors:$e,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(ut,Oe){if(1&ut&&(n.\u0275\u0275projectionDef(Ge),n.\u0275\u0275template(0,L,1,1,"ng-template",null,0,n.\u0275\u0275templateRefExtractor),n.\u0275\u0275elementStart(2,"div",1,2),n.\u0275\u0275listener("click",function(Pt){return Oe._control.onContainerClick(Pt)}),n.\u0275\u0275template(4,F,1,0,"div",3),n.\u0275\u0275elementStart(5,"div",4),n.\u0275\u0275template(6,W,2,2,"div",5)(7,ne,3,0,"div",6)(8,ee,3,0,"div",7),n.\u0275\u0275elementStart(9,"div",8),n.\u0275\u0275template(10,B,1,1,null,9),n.\u0275\u0275projection(11),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(12,$,2,0,"div",10)(13,Z,2,0,"div",11),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(14,H,1,0,"div",12),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(15,"div",13),n.\u0275\u0275template(16,te,2,1)(17,ye,5,2),n.\u0275\u0275elementEnd()),2&ut){let Ct;n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mdc-text-field--filled",!Oe._hasOutline())("mdc-text-field--outlined",Oe._hasOutline())("mdc-text-field--no-label",!Oe._hasFloatingLabel())("mdc-text-field--disabled",Oe._control.disabled)("mdc-text-field--invalid",Oe._control.errorState),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(4,Oe._hasOutline()||Oe._control.disabled?-1:4),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(6,Oe._hasOutline()?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(7,Oe._hasIconPrefix?7:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(8,Oe._hasTextPrefix?8:-1),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(10,!Oe._hasOutline()||Oe._forceDisplayInfixLabel()?10:-1),n.\u0275\u0275advance(2),n.\u0275\u0275conditional(12,Oe._hasTextSuffix?12:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(13,Oe._hasIconSuffix?13:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(14,Oe._hasOutline()?-1:14),n.\u0275\u0275advance(1),n.\u0275\u0275classProp("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Oe.subscriptSizing),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(16,"error"===(Ct=Oe._getDisplayedMessages())?16:"hint"===Ct?17:-1)}},dependencies:[b.NgTemplateOutlet,Ee,Re,Ne,Pe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-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{transform:translateY(-34.75px) scale(0.75)}.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-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{transform:translateY(-24.75px) scale(0.75)}.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-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{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-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.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-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.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-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-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-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,[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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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:[Be.transitionMessages]},changeDetection:0})}return Xe})(),Ve=(()=>{class Xe{static#e=this.\u0275fac=function(ut){return new(ut||Xe)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Xe});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[x.MatCommonModule,b.CommonModule,C.Q8,x.MatCommonModule]})}return Xe})()},617:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{ICON_REGISTRY_PROVIDER:()=>F,ICON_REGISTRY_PROVIDER_FACTORY:()=>L,MAT_ICON_DEFAULT_OPTIONS:()=>ee,MAT_ICON_LOCATION:()=>j,MAT_ICON_LOCATION_FACTORY:()=>B,MatIcon:()=>te,MatIconModule:()=>ue,MatIconRegistry:()=>A,getMatIconFailedToSanitizeLiteralError:()=>I,getMatIconFailedToSanitizeUrlError:()=>k,getMatIconNameNotFoundError:()=>S,getMatIconNoHttpProviderError:()=>M});var n=_(9212),f=_(3680),D=_(2495),y=_(6814),u=_(2096),v=_(8504),s=_(9315),m=_(7394),h=_(9397),o=_(7398),l=_(6306),r=_(4716),c=_(3020),d=_(8180),g=_(9862),b=_(6593);const C=["*"];let x;function T(ye){return function w(){if(void 0===x&&(x=null,typeof window<"u")){const ye=window;void 0!==ye.trustedTypes&&(x=ye.trustedTypes.createPolicy("angular#components",{createHTML:Ge=>Ge}))}return x}()?.createHTML(ye)||ye}function S(ye){return Error(`Unable to find icon with the name "${ye}"`)}function M(){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 k(ye){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ye}".`)}function I(ye){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ye}".`)}class P{constructor(Ge,$e,Ye){this.url=Ge,this.svgText=$e,this.options=Ye}}let A=(()=>{class ye{constructor($e,Ye,Ze,Et){this._httpClient=$e,this._sanitizer=Ye,this._errorHandler=Et,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=Ze}addSvgIcon($e,Ye,Ze){return this.addSvgIconInNamespace("",$e,Ye,Ze)}addSvgIconLiteral($e,Ye,Ze){return this.addSvgIconLiteralInNamespace("",$e,Ye,Ze)}addSvgIconInNamespace($e,Ye,Ze,Et){return this._addSvgIconConfig($e,Ye,new P(Ze,null,Et))}addSvgIconResolver($e){return this._resolvers.push($e),this}addSvgIconLiteralInNamespace($e,Ye,Ze,Et){const Te=this._sanitizer.sanitize(n.SecurityContext.HTML,Ze);if(!Te)throw I(Ze);const qe=T(Te);return this._addSvgIconConfig($e,Ye,new P("",qe,Et))}addSvgIconSet($e,Ye){return this.addSvgIconSetInNamespace("",$e,Ye)}addSvgIconSetLiteral($e,Ye){return this.addSvgIconSetLiteralInNamespace("",$e,Ye)}addSvgIconSetInNamespace($e,Ye,Ze){return this._addSvgIconSetConfig($e,new P(Ye,null,Ze))}addSvgIconSetLiteralInNamespace($e,Ye,Ze){const Et=this._sanitizer.sanitize(n.SecurityContext.HTML,Ye);if(!Et)throw I(Ye);const Te=T(Et);return this._addSvgIconSetConfig($e,new P("",Te,Ze))}registerFontClassAlias($e,Ye=$e){return this._fontCssClassesByAlias.set($e,Ye),this}classNameForFontAlias($e){return this._fontCssClassesByAlias.get($e)||$e}setDefaultFontSetClass(...$e){return this._defaultFontSetClass=$e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl($e){const Ye=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,$e);if(!Ye)throw k($e);const Ze=this._cachedIconsByUrl.get(Ye);return Ze?(0,u.of)(R(Ze)):this._loadSvgIconFromConfig(new P($e,null)).pipe((0,h.b)(Et=>this._cachedIconsByUrl.set(Ye,Et)),(0,o.U)(Et=>R(Et)))}getNamedSvgIcon($e,Ye=""){const Ze=U(Ye,$e);let Et=this._svgIconConfigs.get(Ze);if(Et)return this._getSvgFromConfig(Et);if(Et=this._getIconConfigFromResolvers(Ye,$e),Et)return this._svgIconConfigs.set(Ze,Et),this._getSvgFromConfig(Et);const Te=this._iconSetConfigs.get(Ye);return Te?this._getSvgFromIconSetConfigs($e,Te):(0,v._)(S(Ze))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig($e){return $e.svgText?(0,u.of)(R(this._svgElementFromConfig($e))):this._loadSvgIconFromConfig($e).pipe((0,o.U)(Ye=>R(Ye)))}_getSvgFromIconSetConfigs($e,Ye){const Ze=this._extractIconWithNameFromAnySet($e,Ye);if(Ze)return(0,u.of)(Ze);const Et=Ye.filter(Te=>!Te.svgText).map(Te=>this._loadSvgIconSetFromConfig(Te).pipe((0,l.K)(qe=>{const Ie=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Te.url)} failed: ${qe.message}`;return this._errorHandler.handleError(new Error(Ie)),(0,u.of)(null)})));return(0,s.D)(Et).pipe((0,o.U)(()=>{const Te=this._extractIconWithNameFromAnySet($e,Ye);if(!Te)throw S($e);return Te}))}_extractIconWithNameFromAnySet($e,Ye){for(let Ze=Ye.length-1;Ze>=0;Ze--){const Et=Ye[Ze];if(Et.svgText&&Et.svgText.toString().indexOf($e)>-1){const Te=this._svgElementFromConfig(Et),qe=this._extractSvgIconFromSet(Te,$e,Et.options);if(qe)return qe}}return null}_loadSvgIconFromConfig($e){return this._fetchIcon($e).pipe((0,h.b)(Ye=>$e.svgText=Ye),(0,o.U)(()=>this._svgElementFromConfig($e)))}_loadSvgIconSetFromConfig($e){return $e.svgText?(0,u.of)(null):this._fetchIcon($e).pipe((0,h.b)(Ye=>$e.svgText=Ye))}_extractSvgIconFromSet($e,Ye,Ze){const Et=$e.querySelector(`[id="${Ye}"]`);if(!Et)return null;const Te=Et.cloneNode(!0);if(Te.removeAttribute("id"),"svg"===Te.nodeName.toLowerCase())return this._setSvgAttributes(Te,Ze);if("symbol"===Te.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Te),Ze);const qe=this._svgElementFromString(T(""));return qe.appendChild(Te),this._setSvgAttributes(qe,Ze)}_svgElementFromString($e){const Ye=this._document.createElement("DIV");Ye.innerHTML=$e;const Ze=Ye.querySelector("svg");if(!Ze)throw Error(" tag not found");return Ze}_toSvgElement($e){const Ye=this._svgElementFromString(T("")),Ze=$e.attributes;for(let Et=0;EtT(Ie)),(0,r.x)(()=>this._inProgressUrlFetches.delete(Te)),(0,c.B)());return this._inProgressUrlFetches.set(Te,Ee),Ee}_addSvgIconConfig($e,Ye,Ze){return this._svgIconConfigs.set(U($e,Ye),Ze),this}_addSvgIconSetConfig($e,Ye){const Ze=this._iconSetConfigs.get($e);return Ze?Ze.push(Ye):this._iconSetConfigs.set($e,[Ye]),this}_svgElementFromConfig($e){if(!$e.svgElement){const Ye=this._svgElementFromString($e.svgText);this._setSvgAttributes(Ye,$e.options),$e.svgElement=Ye}return $e.svgElement}_getIconConfigFromResolvers($e,Ye){for(let Ze=0;ZeGe?Ge.pathname+Ge.search:""}}const $=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Z=$.map(ye=>`[${ye}]`).join(", "),H=/^url\(['"]?#(.*?)['"]?\)$/;let te=(()=>{class ye extends ne{get inline(){return this._inline}set inline($e){this._inline=(0,D.Ig)($e)}get svgIcon(){return this._svgIcon}set svgIcon($e){$e!==this._svgIcon&&($e?this._updateSvgIcon($e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=$e)}get fontSet(){return this._fontSet}set fontSet($e){const Ye=this._cleanupFontValue($e);Ye!==this._fontSet&&(this._fontSet=Ye,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon($e){const Ye=this._cleanupFontValue($e);Ye!==this._fontIcon&&(this._fontIcon=Ye,this._updateFontIconClasses())}constructor($e,Ye,Ze,Et,Te,qe){super($e),this._iconRegistry=Ye,this._location=Et,this._errorHandler=Te,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=m.w0.EMPTY,qe&&(qe.color&&(this.color=this.defaultColor=qe.color),qe.fontSet&&(this.fontSet=qe.fontSet)),Ze||$e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName($e){if(!$e)return["",""];const Ye=$e.split(":");switch(Ye.length){case 1:return["",Ye[0]];case 2:return Ye;default:throw Error(`Invalid icon name: "${$e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const $e=this._elementsWithExternalReferences;if($e&&$e.size){const Ye=this._location.getPathname();Ye!==this._previousPath&&(this._previousPath=Ye,this._prependPathToReferences(Ye))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement($e){this._clearSvgElement();const Ye=this._location.getPathname();this._previousPath=Ye,this._cacheChildrenWithExternalReferences($e),this._prependPathToReferences(Ye),this._elementRef.nativeElement.appendChild($e)}_clearSvgElement(){const $e=this._elementRef.nativeElement;let Ye=$e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Ye--;){const Ze=$e.childNodes[Ye];(1!==Ze.nodeType||"svg"===Ze.nodeName.toLowerCase())&&Ze.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const $e=this._elementRef.nativeElement,Ye=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ze=>Ze.length>0);this._previousFontSetClass.forEach(Ze=>$e.classList.remove(Ze)),Ye.forEach(Ze=>$e.classList.add(Ze)),this._previousFontSetClass=Ye,this.fontIcon!==this._previousFontIconClass&&!Ye.includes("mat-ligature-font")&&(this._previousFontIconClass&&$e.classList.remove(this._previousFontIconClass),this.fontIcon&&$e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue($e){return"string"==typeof $e?$e.trim().split(" ")[0]:$e}_prependPathToReferences($e){const Ye=this._elementsWithExternalReferences;Ye&&Ye.forEach((Ze,Et)=>{Ze.forEach(Te=>{Et.setAttribute(Te.name,`url('${$e}#${Te.value}')`)})})}_cacheChildrenWithExternalReferences($e){const Ye=$e.querySelectorAll(Z),Ze=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Et=0;Et{const qe=Ye[Et],Ee=qe.getAttribute(Te),Ie=Ee?Ee.match(H):null;if(Ie){let Ce=Ze.get(qe);Ce||(Ce=[],Ze.set(qe,Ce)),Ce.push({name:Te,value:Ie[1]})}})}_updateSvgIcon($e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),$e){const[Ye,Ze]=this._splitIconName($e);Ye&&(this._svgNamespace=Ye),Ze&&(this._svgName=Ze),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ze,Ye).pipe((0,d.q)(1)).subscribe(Et=>this._setSvgElement(Et),Et=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Ye}:${Ze}! ${Et.message}`))})}}static#e=this.\u0275fac=function(Ye){return new(Ye||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(j),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(ee,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Ye,Ze){2&Ye&&(n.\u0275\u0275attribute("data-mat-icon-type",Ze._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ze._svgName||Ze.fontIcon)("data-mat-icon-namespace",Ze._svgNamespace||Ze.fontSet)("fontIcon",Ze._usingFontIcon()?Ze.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",Ze.inline)("mat-icon-no-color","primary"!==Ze.color&&"accent"!==Ze.color&&"warn"!==Ze.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:C,decls:1,vars:0,template:function(Ye,Ze){1&Ye&&(n.\u0275\u0275projectionDef(),n.\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 ye})(),ue=(()=>{class ye{static#e=this.\u0275fac=function(Ye){return new(Ye||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,f.MatCommonModule]})}return ye})()},8582:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_INPUT_VALUE_ACCESSOR:()=>g,MatInput:()=>w,MatInputModule:()=>T,getMatInputUnsupportedTypeError:()=>d});var n=_(2495),f=_(2831),D=_(9212),y=_(6232),u=_(8645);const v=(0,f.i$)({passive:!0});let s=(()=>{class S{constructor(k,I){this._platform=k,this._ngZone=I,this._monitoredElements=new Map}monitor(k){if(!this._platform.isBrowser)return y.E;const I=(0,n.fI)(k),P=this._monitoredElements.get(I);if(P)return P.subject;const A=new u.x,L="cdk-text-field-autofilled",F=R=>{"cdk-text-field-autofill-start"!==R.animationName||I.classList.contains(L)?"cdk-text-field-autofill-end"===R.animationName&&I.classList.contains(L)&&(I.classList.remove(L),this._ngZone.run(()=>A.next({target:R.target,isAutofilled:!1}))):(I.classList.add(L),this._ngZone.run(()=>A.next({target:R.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{I.addEventListener("animationstart",F,v),I.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(I,{subject:A,unlisten:()=>{I.removeEventListener("animationstart",F,v)}}),A}stopMonitoring(k){const I=(0,n.fI)(k),P=this._monitoredElements.get(I);P&&(P.unlisten(),P.subject.complete(),I.classList.remove("cdk-text-field-autofill-monitored"),I.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(I))}ngOnDestroy(){this._monitoredElements.forEach((k,I)=>this.stopMonitoring(I))}static#e=this.\u0275fac=function(I){return new(I||S)(D.\u0275\u0275inject(f.t4),D.\u0275\u0275inject(D.NgZone))};static#t=this.\u0275prov=D.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),o=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({})}return S})();var l=_(6223),r=_(3680),c=_(4170);function d(S){return Error(`Input type "${S}" isn't supported by matInput.`)}const g=new D.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),b=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let C=0;const x=(0,r.mixinErrorState)(class{constructor(S,M,k,I){this._defaultErrorStateMatcher=S,this._parentForm=M,this._parentFormGroup=k,this.ngControl=I,this.stateChanges=new u.x}});let w=(()=>{class S extends x{get disabled(){return this._disabled}set disabled(k){this._disabled=(0,n.Ig)(k),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(k){this._id=k||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(l.Validators.required)??!1}set required(k){this._required=(0,n.Ig)(k)}get type(){return this._type}set type(k){this._type=k||"text",this._validateType(),!this._isTextarea&&(0,f.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(k){k!==this.value&&(this._inputValueAccessor.value=k,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(k){this._readonly=(0,n.Ig)(k)}constructor(k,I,P,A,L,F,R,U,W,ne){super(F,A,L,P),this._elementRef=k,this._platform=I,this._autofillMonitor=U,this._formField=ne,this._uid="mat-input-"+C++,this.focused=!1,this.stateChanges=new u.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(B=>(0,f.qK)().has(B)),this._iOSKeyupListener=B=>{const $=B.target;!$.value&&0===$.selectionStart&&0===$.selectionEnd&&($.setSelectionRange(1,1),$.setSelectionRange(0,0))};const ee=this._elementRef.nativeElement,j=ee.nodeName.toLowerCase();this._inputValueAccessor=R||ee,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&W.runOutsideAngular(()=>{k.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===j,this._isTextarea="textarea"===j,this._isInFormField=!!ne,this._isNativeSelect&&(this.controlType=ee.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(k=>{this.autofilled=k.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(k){this._elementRef.nativeElement.focus(k)}_focusChanged(k){k!==this.focused&&(this.focused=k,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const k=this._elementRef.nativeElement.value;this._previousNativeValue!==k&&(this._previousNativeValue=k,this.stateChanges.next())}_dirtyCheckPlaceholder(){const k=this._getPlaceholder();if(k!==this._previousPlaceholder){const I=this._elementRef.nativeElement;this._previousPlaceholder=k,k?I.setAttribute("placeholder",k):I.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){b.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let k=this._elementRef.nativeElement.validity;return k&&k.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const k=this._elementRef.nativeElement,I=k.options[0];return this.focused||k.multiple||!this.empty||!!(k.selectedIndex>-1&&I&&I.label)}return this.focused||!this.empty}setDescribedByIds(k){k.length?this._elementRef.nativeElement.setAttribute("aria-describedby",k.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const k=this._elementRef.nativeElement;return this._isNativeSelect&&(k.multiple||k.size>1)}static#e=this.\u0275fac=function(I){return new(I||S)(D.\u0275\u0275directiveInject(D.ElementRef),D.\u0275\u0275directiveInject(f.t4),D.\u0275\u0275directiveInject(l.NgControl,10),D.\u0275\u0275directiveInject(l.NgForm,8),D.\u0275\u0275directiveInject(l.FormGroupDirective,8),D.\u0275\u0275directiveInject(r.ErrorStateMatcher),D.\u0275\u0275directiveInject(g,10),D.\u0275\u0275directiveInject(s),D.\u0275\u0275directiveInject(D.NgZone),D.\u0275\u0275directiveInject(c.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:S,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(I,P){1&I&&D.\u0275\u0275listener("focus",function(){return P._focusChanged(!0)})("blur",function(){return P._focusChanged(!1)})("input",function(){return P._onInput()}),2&I&&(D.\u0275\u0275hostProperty("id",P.id)("disabled",P.disabled)("required",P.required),D.\u0275\u0275attribute("name",P.name||null)("readonly",P.readonly&&!P._isNativeSelect||null)("aria-invalid",P.empty&&P.required?null:P.errorState)("aria-required",P.required)("id",P.id),D.\u0275\u0275classProp("mat-input-server",P._isServer)("mat-mdc-form-field-textarea-control",P._isInFormField&&P._isTextarea)("mat-mdc-form-field-input-control",P._isInFormField)("mdc-text-field__input",P._isInFormField)("mat-mdc-native-select-inline",P._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[D.\u0275\u0275ProvidersFeature([{provide:c.MatFormFieldControl,useExisting:S}]),D.\u0275\u0275InheritDefinitionFeature,D.\u0275\u0275NgOnChangesFeature]})}return S})(),T=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({imports:[r.MatCommonModule,c.MatFormFieldModule,c.MatFormFieldModule,o,r.MatCommonModule]})}return S})()},7988:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_MENU_CONTENT:()=>j,MAT_MENU_DEFAULT_OPTIONS:()=>ue,MAT_MENU_PANEL:()=>R,MAT_MENU_SCROLL_STRATEGY:()=>$e,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ze,MENU_PANEL_TOP_PADDING:()=>Te,MatMenu:()=>Ge,MatMenuContent:()=>B,MatMenuItem:()=>U,MatMenuModule:()=>Ee,MatMenuTrigger:()=>qe,fadeInItems:()=>Z,matMenuAnimations:()=>$,transformMenu:()=>H});var n=_(9212),f=_(4191),D=_(6028),y=_(8645),u=_(3019),v=_(7394),s=_(2096),m=_(6410),h=_(7921),o=_(4664),l=_(8180),r=_(9773),c=_(2181),d=_(7547),g=_(6814),b=_(3680),C=_(8484),x=_(6825),w=_(9388),T=_(9594),S=_(2831),M=_(6672);const k=["mat-menu-item",""];function I(Ie,Ce){1&Ie&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const P=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],A=["mat-icon, [matMenuItemIcon]","*"];function L(Ie,Ce){if(1&Ie){const ge=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._handleKeydown(q))})("click",function(){n.\u0275\u0275restoreView(ge);const q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.closed.emit("click"))})("@transformMenu.start",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._onAnimationStart(q))})("@transformMenu.done",function(q){n.\u0275\u0275restoreView(ge);const Re=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Re._onAnimationDone(q))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&Ie){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ge.panelId)("ngClass",ge._classList)("@transformMenu",ge._panelAnimationState),n.\u0275\u0275attribute("aria-label",ge.ariaLabel||null)("aria-labelledby",ge.ariaLabelledby||null)("aria-describedby",ge.ariaDescribedby||null)}}const F=["*"],R=new n.InjectionToken("MAT_MENU_PANEL");let U=(()=>{class Ie{constructor(ge,Ae,q,Re,ke){this._elementRef=ge,this._document=Ae,this._focusMonitor=q,this._parentMenu=Re,this._changeDetectorRef=ke,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new y.x,this._focused=new y.x,this._highlighted=!1,this._triggersSubmenu=!1,Re?.addItem?.(this)}focus(ge,Ae){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._getHostElement(),ge,Ae):this._getHostElement().focus(Ae),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(ge){this.disabled&&(ge.preventDefault(),ge.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ge=this._elementRef.nativeElement.cloneNode(!0),Ae=ge.querySelectorAll("mat-icon, .material-icons");for(let q=0;q{class Ie{constructor(ge,Ae,q,Re,ke,Ke,me){this._template=ge,this._componentFactoryResolver=Ae,this._appRef=q,this._injector=Re,this._viewContainerRef=ke,this._document=Ke,this._changeDetectorRef=me,this._attached=new y.x}attach(ge={}){this._portal||(this._portal=new C.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new C.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const Ae=this._template.elementRef.nativeElement;Ae.parentNode.insertBefore(this._outlet.outletElement,Ae),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ge),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ApplicationRef),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(g.DOCUMENT),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ie,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:j,useExisting:Ie}])]})}return Ie})();const $={transformMenu:(0,x.X$)("transformMenu",[(0,x.SB)("void",(0,x.oB)({opacity:0,transform:"scale(0.8)"})),(0,x.eR)("void => enter",(0,x.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,x.oB)({opacity:1,transform:"scale(1)"}))),(0,x.eR)("* => void",(0,x.jt)("100ms 25ms linear",(0,x.oB)({opacity:0})))]),fadeInItems:(0,x.X$)("fadeInItems",[(0,x.SB)("showing",(0,x.oB)({opacity:1})),(0,x.eR)("void => *",[(0,x.oB)({opacity:0}),(0,x.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Z=$.fadeInItems,H=$.transformMenu;let te=0;const ue=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ye(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ge=(()=>{class Ie{get xPosition(){return this._xPosition}set xPosition(ge){this._xPosition=ge,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ge){this._yPosition=ge,this.setPositionClasses()}set panelClass(ge){const Ae=this._previousPanelClass;Ae&&Ae.length&&Ae.split(" ").forEach(q=>{this._classList[q]=!1}),this._previousPanelClass=ge,ge&&ge.length&&(ge.split(" ").forEach(q=>{this._classList[q]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ge){this.panelClass=ge}constructor(ge,Ae,q,Re){this._elementRef=ge,this._ngZone=Ae,this._changeDetectorRef=Re,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new n.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new y.x,this.closed=new n.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+te++,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 f.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,h.O)(this._directDescendantItems),(0,o.w)(ge=>(0,u.T)(...ge.map(Ae=>Ae._focused)))).subscribe(ge=>this._keyManager.updateActiveItem(ge)),this._directDescendantItems.changes.subscribe(ge=>{const Ae=this._keyManager;if("enter"===this._panelAnimationState&&Ae.activeItem?._hasFocus()){const q=ge.toArray(),Re=Math.max(0,Math.min(q.length-1,Ae.activeItemIndex||0));q[Re]&&!q[Re].disabled?Ae.setActiveItem(Re):Ae.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,h.O)(this._directDescendantItems),(0,o.w)(Ae=>(0,u.T)(...Ae.map(q=>q._hovered))))}addItem(ge){}removeItem(ge){}_handleKeydown(ge){const Ae=ge.keyCode,q=this._keyManager;switch(Ae){case D.hY:(0,D.Vb)(ge)||(ge.preventDefault(),this.closed.emit("keydown"));break;case D.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case D.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ae===D.LH||Ae===D.JH)&&q.setFocusOrigin("keyboard"),void q.onKeydown(ge)}ge.stopPropagation()}focusFirstItem(ge="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,l.q)(1)).subscribe(()=>{let Ae=null;if(this._directDescendantItems.length&&(Ae=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ae||!Ae.contains(document.activeElement)){const q=this._keyManager;q.setFocusOrigin(ge).setFirstItemActive(),!q.activeItem&&Ae&&Ae.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ge){const Ae=Math.min(this._baseElevation+ge,24),q=`${this._elevationPrefix}${Ae}`,Re=Object.keys(this._classList).find(ke=>ke.startsWith(this._elevationPrefix));(!Re||Re===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[q]=!0,this._previousElevation=q)}setPositionClasses(ge=this.xPosition,Ae=this.yPosition){const q=this._classList;q["mat-menu-before"]="before"===ge,q["mat-menu-after"]="after"===ge,q["mat-menu-above"]="above"===Ae,q["mat-menu-below"]="below"===Ae,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ge){this._animationDone.next(ge),this._isAnimating=!1}_onAnimationStart(ge){this._isAnimating=!0,"enter"===ge.toState&&0===this._keyManager.activeItemIndex&&(ge.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,h.O)(this._allItems)).subscribe(ge=>{this._directDescendantItems.reset(ge.filter(Ae=>Ae._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-menu"]],contentQueries:function(Ae,q,Re){if(1&Ae&&(n.\u0275\u0275contentQuery(Re,j,5),n.\u0275\u0275contentQuery(Re,U,5),n.\u0275\u0275contentQuery(Re,U,4)),2&Ae){let ke;n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q.lazyContent=ke.first),n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q._allItems=ke),n.\u0275\u0275queryRefresh(ke=n.\u0275\u0275loadQuery())&&(q.items=ke)}},viewQuery:function(Ae,q){if(1&Ae&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Ae){let Re;n.\u0275\u0275queryRefresh(Re=n.\u0275\u0275loadQuery())&&(q.templateRef=Re.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(Ae,q){2&Ae&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",n.booleanAttribute],hasBackdrop:["hasBackdrop","hasBackdrop",ge=>null==ge?null:(0,n.booleanAttribute)(ge)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:R,useExisting:Ie}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:F,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(Ae,q){1&Ae&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,L,3,6,"ng-template"))},dependencies:[g.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;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-mdc-menu-item{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;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:16px;padding-right:16px}.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{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.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{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.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:[$.transformMenu,$.fadeInItems]},changeDetection:0})}return Ie})();const $e=new n.InjectionToken("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Ie=(0,n.inject)(T.aV);return()=>Ie.scrollStrategies.reposition()}}),Ze={provide:$e,deps:[T.aV],useFactory:function Ye(Ie){return()=>Ie.scrollStrategies.reposition()}},Et=(0,S.i$)({passive:!0}),Te=8;let qe=(()=>{class Ie{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ge){this.menu=ge}get menu(){return this._menu}set menu(ge){ge!==this._menu&&(this._menu=ge,this._menuCloseSubscription.unsubscribe(),ge&&(this._menuCloseSubscription=ge.close.subscribe(Ae=>{this._destroyMenu(Ae),("click"===Ae||"tab"===Ae)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ae)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ge,Ae,q,Re,ke,Ke,me,Pe,Ne){this._overlay=ge,this._element=Ae,this._viewContainerRef=q,this._menuItemInstance=Ke,this._dir=me,this._focusMonitor=Pe,this._ngZone=Ne,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=v.w0.EMPTY,this._hoverSubscription=v.w0.EMPTY,this._menuCloseSubscription=v.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=Be=>{(0,f.yG)(Be)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new n.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Re,this._parentMaterialMenu=ke instanceof Ge?ke:void 0,Ae.nativeElement.addEventListener("touchstart",this._handleTouchStart,Et)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Et),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const ge=this.menu;if(this._menuOpen||!ge)return;const Ae=this._createOverlay(ge),q=Ae.getConfig(),Re=q.positionStrategy;this._setPosition(ge,Re),q.hasBackdrop=null==ge.hasBackdrop?!this.triggersSubmenu():ge.hasBackdrop,Ae.attach(this._getPortal(ge)),ge.lazyContent&&ge.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ge),ge instanceof Ge&&(ge._startAnimation(),ge._directDescendantItems.changes.pipe((0,r.R)(ge.close)).subscribe(()=>{Re.withLockedPosition(!1).reapplyLastPosition(),Re.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ge,Ae){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._element,ge,Ae):this._element.nativeElement.focus(Ae)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ge){if(!this._overlayRef||!this.menuOpen)return;const Ae=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ge||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ae instanceof Ge?(Ae._resetAnimation(),Ae.lazyContent?Ae._animationDone.pipe((0,c.h)(q=>"void"===q.toState),(0,l.q)(1),(0,r.R)(Ae.lazyContent._attached)).subscribe({next:()=>Ae.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ae?.lazyContent?.detach())}_initMenu(ge){ge.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ge.direction=this.dir,this._setMenuElevation(ge),ge.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ge){if(ge.setElevation){let Ae=0,q=ge.parentMenu;for(;q;)Ae++,q=q.parentMenu;ge.setElevation(Ae)}}_setIsMenuOpen(ge){ge!==this._menuOpen&&(this._menuOpen=ge,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ge),this._changeDetectorRef.markForCheck())}_createOverlay(ge){if(!this._overlayRef){const Ae=this._getOverlayConfig(ge);this._subscribeToPositions(ge,Ae.positionStrategy),this._overlayRef=this._overlay.create(Ae),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ge){return new T.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ge.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ge.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ge,Ae){ge.setPositionClasses&&Ae.positionChanges.subscribe(q=>{const Re="start"===q.connectionPair.overlayX?"after":"before",ke="top"===q.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ge.setPositionClasses(Re,ke)):ge.setPositionClasses(Re,ke)})}_setPosition(ge,Ae){let[q,Re]="before"===ge.xPosition?["end","start"]:["start","end"],[ke,Ke]="above"===ge.yPosition?["bottom","top"]:["top","bottom"],[me,Pe]=[ke,Ke],[Ne,Be]=[q,Re],yt=0;if(this.triggersSubmenu()){if(Be=q="before"===ge.xPosition?"start":"end",Re=Ne="end"===q?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ot=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ot?Ot._getHostElement().offsetTop:0}yt="bottom"===ke?this._parentInnerPadding:-this._parentInnerPadding}}else ge.overlapTrigger||(me="top"===ke?"bottom":"top",Pe="top"===Ke?"bottom":"top");Ae.withPositions([{originX:q,originY:me,overlayX:Ne,overlayY:ke,offsetY:yt},{originX:Re,originY:me,overlayX:Be,overlayY:ke,offsetY:yt},{originX:q,originY:Pe,overlayX:Ne,overlayY:Ke,offsetY:-yt},{originX:Re,originY:Pe,overlayX:Be,overlayY:Ke,offsetY:-yt}])}_menuClosingActions(){const ge=this._overlayRef.backdropClick(),Ae=this._overlayRef.detachments(),q=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,s.of)(),Re=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,c.h)(ke=>ke!==this._menuItemInstance),(0,c.h)(()=>this._menuOpen)):(0,s.of)();return(0,u.T)(ge,q,Re,Ae)}_handleMousedown(ge){(0,f.X6)(ge)||(this._openedBy=0===ge.button?"mouse":void 0,this.triggersSubmenu()&&ge.preventDefault())}_handleKeydown(ge){const Ae=ge.keyCode;(Ae===D.K5||Ae===D.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ae===D.SV&&"ltr"===this.dir||Ae===D.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ge){this.triggersSubmenu()?(ge.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,c.h)(ge=>ge===this._menuItemInstance&&!ge.disabled),(0,d.g)(0,m.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ge&&this.menu._isAnimating?this.menu._animationDone.pipe((0,l.q)(1),(0,d.g)(0,m.E),(0,r.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ge){return(!this._portal||this._portal.templateRef!==ge.templateRef)&&(this._portal=new C.UE(ge.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)(n.\u0275\u0275directiveInject(T.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject($e),n.\u0275\u0275directiveInject(R,8),n.\u0275\u0275directiveInject(U,10),n.\u0275\u0275directiveInject(w.Is,8),n.\u0275\u0275directiveInject(f.tE),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Ae,q){1&Ae&&n.\u0275\u0275listener("click",function(ke){return q._handleClick(ke)})("mousedown",function(ke){return q._handleMousedown(ke)})("keydown",function(ke){return q._handleKeydown(ke)}),2&Ae&&n.\u0275\u0275attribute("aria-haspopup",q.menu?"menu":null)("aria-expanded",q.menuOpen)("aria-controls",q.menuOpen?q.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return Ie})(),Ee=(()=>{class Ie{static#e=this.\u0275fac=function(Ae){return new(Ae||Ie)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ie});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ze],imports:[g.CommonModule,b.MatRippleModule,b.MatCommonModule,T.U8,M.ZD,b.MatCommonModule]})}return Ie})()},1476:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>T,MAT_PAGINATOR_INTL_PROVIDER:()=>C,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>b,MatPaginator:()=>k,MatPaginatorIntl:()=>g,MatPaginatorModule:()=>I,PageEvent:()=>w});var n=_(9212),f=_(8645),D=_(2296),y=_(8525),u=_(2596),v=_(3680),s=_(2495),m=_(4170);function h(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"mat-option",18),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&P){const L=A.$implicit;n.\u0275\u0275property("value",L),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",L," ")}}function o(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),n.\u0275\u0275listener("selectionChange",function(R){n.\u0275\u0275restoreView(L);const U=n.\u0275\u0275nextContext(2);return n.\u0275\u0275resetView(U._changePageSize(R.value))}),n.\u0275\u0275repeaterCreate(2,h,2,2,"mat-option",18,n.\u0275\u0275repeaterTrackByIdentity),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext(2);n.\u0275\u0275property("appearance",L._formFieldAppearance)("color",L.color),n.\u0275\u0275advance(1),n.\u0275\u0275property("value",L.pageSize)("disabled",L.disabled)("aria-labelledby",L._pageSizeLabelId)("panelClass",L.selectConfig.panelClass||"")("disableOptionCentering",L.selectConfig.disableOptionCentering),n.\u0275\u0275advance(1),n.\u0275\u0275repeater(L._displayedPageSizeOptions)}}function l(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"div",19),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&P){const L=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(L.pageSize)}}function r(P,A){if(1&P&&(n.\u0275\u0275elementStart(0,"div",12)(1,"div",13),n.\u0275\u0275text(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,o,4,7,"mat-form-field",14)(4,l,2,1,"div",15),n.\u0275\u0275elementEnd()),2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275attribute("id",L._pageSizeLabelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",L._intl.itemsPerPageLabel," "),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(3,L._displayedPageSizeOptions.length>1?3:-1),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(4,L._displayedPageSizeOptions.length<=1?4:-1)}}function c(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",20),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(L);const R=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(R.firstPage())}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",7),n.\u0275\u0275element(2,"path",21),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275property("matTooltip",L._intl.firstPageLabel)("matTooltipDisabled",L._previousButtonsDisabled())("matTooltipPosition","above")("disabled",L._previousButtonsDisabled()),n.\u0275\u0275attribute("aria-label",L._intl.firstPageLabel)}}function d(P,A){if(1&P){const L=n.\u0275\u0275getCurrentView();n.\u0275\u0275namespaceSVG(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(0,"button",22),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(L);const R=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(R.lastPage())}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",7),n.\u0275\u0275element(2,"path",23),n.\u0275\u0275elementEnd()()}if(2&P){const L=n.\u0275\u0275nextContext();n.\u0275\u0275property("matTooltip",L._intl.lastPageLabel)("matTooltipDisabled",L._nextButtonsDisabled())("matTooltipPosition","above")("disabled",L._nextButtonsDisabled()),n.\u0275\u0275attribute("aria-label",L._intl.lastPageLabel)}}let g=(()=>{class P{constructor(){this.changes=new f.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(L,F,R)=>{if(0==R||0==F)return`0 of ${R}`;const U=L*F;return`${U+1} \u2013 ${U<(R=Math.max(R,0))?Math.min(U+F,R):U+F} of ${R}`}}static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})();function b(P){return P||new g}const C={provide:g,deps:[[new n.Optional,new n.SkipSelf,g]],useFactory:b};class w{}const T=new n.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),S=(0,v.mixinDisabled)((0,v.mixinInitialized)(class{}));let M=0,k=(()=>{class P extends S{get pageIndex(){return this._pageIndex}set pageIndex(L){this._pageIndex=Math.max((0,s.su)(L),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(L){this._length=(0,s.su)(L),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(L){this._pageSize=Math.max((0,s.su)(L),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(L){this._pageSizeOptions=(L||[]).map(F=>(0,s.su)(F)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(L){this._hidePageSize=(0,s.Ig)(L)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(L){this._showFirstLastButtons=(0,s.Ig)(L)}constructor(L,F,R){if(super(),this._intl=L,this._changeDetectorRef=F,this._pageSizeLabelId="mat-paginator-page-size-label-"+M++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new n.EventEmitter,this._intlChanges=L.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),R){const{pageSize:U,pageSizeOptions:W,hidePageSize:ne,showFirstLastButtons:ee}=R;null!=U&&(this._pageSize=U),null!=W&&(this._pageSizeOptions=W),null!=ne&&(this._hidePageSize=ne),null!=ee&&(this._showFirstLastButtons=ee)}this._formFieldAppearance=R?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const L=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(L)}previousPage(){if(!this.hasPreviousPage())return;const L=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(L)}firstPage(){if(!this.hasPreviousPage())return;const L=this.pageIndex;this.pageIndex=0,this._emitPageEvent(L)}lastPage(){if(!this.hasNextPage())return;const L=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(L)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const L=this.getNumberOfPages()-1;return this.pageIndexL-F),this._changeDetectorRef.markForCheck())}_emitPageEvent(L){this.page.emit({previousPageIndex:L,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275directiveInject(g),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled",color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},exportAs:["matPaginator"],features:[n.\u0275\u0275InheritDefinitionFeature],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,R){1&F&&(n.\u0275\u0275elementStart(0,"div",0)(1,"div",1),n.\u0275\u0275template(2,r,5,4,"div",2),n.\u0275\u0275elementStart(3,"div",3)(4,"div",4),n.\u0275\u0275text(5),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(6,c,3,5,"button",5),n.\u0275\u0275elementStart(7,"button",6),n.\u0275\u0275listener("click",function(){return R.previousPage()}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(8,"svg",7),n.\u0275\u0275element(9,"path",8),n.\u0275\u0275elementEnd()(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(10,"button",9),n.\u0275\u0275listener("click",function(){return R.nextPage()}),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(11,"svg",7),n.\u0275\u0275element(12,"path",10),n.\u0275\u0275elementEnd()(),n.\u0275\u0275template(13,d,3,5,"button",11),n.\u0275\u0275elementEnd()()()),2&F&&(n.\u0275\u0275advance(2),n.\u0275\u0275conditional(2,R.hidePageSize?-1:2),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate1(" ",R._intl.getRangeLabel(R.pageIndex,R.pageSize,R.length)," "),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(6,R.showFirstLastButtons?6:-1),n.\u0275\u0275advance(1),n.\u0275\u0275property("matTooltip",R._intl.previousPageLabel)("matTooltipDisabled",R._previousButtonsDisabled())("matTooltipPosition","above")("disabled",R._previousButtonsDisabled()),n.\u0275\u0275attribute("aria-label",R._intl.previousPageLabel),n.\u0275\u0275advance(3),n.\u0275\u0275property("matTooltip",R._intl.nextPageLabel)("matTooltipDisabled",R._nextButtonsDisabled())("matTooltipPosition","above")("disabled",R._nextButtonsDisabled()),n.\u0275\u0275attribute("aria-label",R._intl.nextPageLabel),n.\u0275\u0275advance(3),n.\u0275\u0275conditional(13,R.showFirstLastButtons?13:-1))},dependencies:[D.MatIconButton,m.MatFormField,y.MatSelect,v.MatOption,u.gM],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-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-reverse;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 P})(),I=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:P});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[C],imports:[D.MatButtonModule,y.MatSelectModule,u.AV]})}return P})()},5940:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>m,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>h,MatProgressSpinner:()=>r,MatProgressSpinnerModule:()=>d,MatSpinner:()=>c});var n=_(9212),f=_(3680),D=_(2495),y=_(6814);const u=["determinateSpinner"];function v(g,b){if(1&g&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",11),n.\u0275\u0275element(1,"circle",12),n.\u0275\u0275elementEnd()),2&g){const C=n.\u0275\u0275nextContext();n.\u0275\u0275attribute("viewBox",C._viewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("stroke-dasharray",C._strokeCircumference(),"px")("stroke-dashoffset",C._strokeCircumference()/2,"px")("stroke-width",C._circleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",C._circleRadius())}}const s=(0,f.mixinColor)(class{constructor(g){this._elementRef=g}},"primary"),m=new n.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:h});function h(){return{diameter:o}}const o=100;let r=(()=>{class g extends s{constructor(C,x,w){super(C),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=o,this._noopAnimations="NoopAnimations"===x&&!!w&&!w._forceAnimations,w&&(w.color&&(this.color=this.defaultColor=w.color),w.diameter&&(this.diameter=w.diameter),w.strokeWidth&&(this.strokeWidth=w.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(C){this._value=Math.max(0,Math.min(100,(0,D.su)(C)))}get diameter(){return this._diameter}set diameter(C){this._diameter=(0,D.su)(C)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(C){this._strokeWidth=(0,D.su)(C)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const C=2*this._circleRadius()+this.strokeWidth;return`0 0 ${C} ${C}`}_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(x){return new(x||g)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(m))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:g,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(x,w){if(1&x&&n.\u0275\u0275viewQuery(u,5),2&x){let T;n.\u0275\u0275queryRefresh(T=n.\u0275\u0275loadQuery())&&(w._determinateCircle=T.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(x,w){2&x&&(n.\u0275\u0275attribute("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===w.mode?w.value:null)("mode",w.mode),n.\u0275\u0275styleProp("width",w.diameter,"px")("height",w.diameter,"px")("--mdc-circular-progress-size",w.diameter+"px")("--mdc-circular-progress-active-indicator-width",w.diameter+"px"),n.\u0275\u0275classProp("_mat-animation-noopable",w._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===w.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[n.\u0275\u0275InheritDefinitionFeature],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(x,w){if(1&x&&(n.\u0275\u0275template(0,v,2,8,"ng-template",null,0,n.\u0275\u0275templateRefExtractor),n.\u0275\u0275elementStart(2,"div",1,2),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(4,"svg",3),n.\u0275\u0275element(5,"circle",4),n.\u0275\u0275elementEnd()(),n.\u0275\u0275namespaceHTML(),n.\u0275\u0275elementStart(6,"div",5)(7,"div",6)(8,"div",7),n.\u0275\u0275elementContainer(9,8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(10,"div",9),n.\u0275\u0275elementContainer(11,8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(12,"div",10),n.\u0275\u0275elementContainer(13,8),n.\u0275\u0275elementEnd()()()),2&x){const T=n.\u0275\u0275reference(1);n.\u0275\u0275advance(4),n.\u0275\u0275attribute("viewBox",w._viewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("stroke-dasharray",w._strokeCircumference(),"px")("stroke-dashoffset",w._strokeDashOffset(),"px")("stroke-width",w._circleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",w._circleRadius()),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngTemplateOutlet",T),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngTemplateOutlet",T),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngTemplateOutlet",T)}},dependencies:[y.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 g})();const c=r;let d=(()=>{class g{static#e=this.\u0275fac=function(x){return new(x||g)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:g});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[y.CommonModule,f.MatCommonModule]})}return g})()},7466:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_RADIO_DEFAULT_OPTIONS:()=>d,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_RADIO_GROUP:()=>c,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>r,MatRadioButton:()=>w,MatRadioChange:()=>l,MatRadioGroup:()=>b,MatRadioModule:()=>T});var n=_(9212),f=_(3680),D=_(4191),y=_(2495),u=_(8337),v=_(6223),s=_(6814);const m=["input"],h=["*"];let o=0;class l{constructor(M,k){this.source=M,this.value=k}}const r={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>b),multi:!0},c=new n.InjectionToken("MatRadioGroup"),d=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent"}}let b=(()=>{class S{get name(){return this._name}set name(k){this._name=k,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(k){this._labelPosition="before"===k?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(k){this._value!==k&&(this._value=k,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(k){this._selected=k,this.value=k?k.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(k){this._disabled=(0,y.Ig)(k),this._markRadiosForCheck()}get required(){return this._required}set required(k){this._required=(0,y.Ig)(k),this._markRadiosForCheck()}constructor(k){this._changeDetector=k,this._value=null,this._name="mat-radio-group-"+o++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(k=>k===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(k=>{k.name=this.name,k._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 l(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(k=>k._markForCheck())}writeValue(k){this.value=k,this._changeDetector.markForCheck()}registerOnChange(k){this._controlValueAccessorChangeFn=k}registerOnTouched(k){this.onTouched=k}setDisabledState(k){this.disabled=k,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(I){return new(I||S)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:S,selectors:[["mat-radio-group"]],contentQueries:function(I,P,A){if(1&I&&n.\u0275\u0275contentQuery(A,w,5),2&I){let L;n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(P._radios=L)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([r,{provide:c,useExisting:S}])]})}return S})();class C{constructor(M){this._elementRef=M}}const x=(0,f.mixinDisableRipple)((0,f.mixinTabIndex)(C));let w=(()=>{class S extends x{get checked(){return this._checked}set checked(k){const I=(0,y.Ig)(k);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(k){this._value!==k&&(this._value=k,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===k),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(k){this._labelPosition=k}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(k){this._setDisabled((0,y.Ig)(k))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(k){this._required=(0,y.Ig)(k)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(k){this._color=k}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(k,I,P,A,L,F,R,U){super(I),this._changeDetector=P,this._focusMonitor=A,this._radioDispatcher=L,this._providerOverride=R,this._uniqueId="mat-radio-"+ ++o,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=k,this._noopAnimations="NoopAnimations"===F,U&&(this.tabIndex=(0,y.su)(U,0))}focus(k,I){I?this._focusMonitor.focusVia(this._inputElement,I,k):this._inputElement.nativeElement.focus(k)}_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((k,I)=>{k!==this.id&&I===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(k=>{!k&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new l(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(k){k.stopPropagation()}_onInputInteraction(k){if(k.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(k){this._onInputInteraction(k),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(k){this._disabled!==k&&(this._disabled=k,this._changeDetector.markForCheck())}_updateTabIndex(){const k=this.radioGroup;let I;if(I=k&&k.selected&&!this.disabled?k.selected===this?this.tabIndex:-1:this.tabIndex,I!==this._previousTabIndex){const P=this._inputElement?.nativeElement;P&&(P.setAttribute("tabindex",I+""),this._previousTabIndex=I)}}static#e=this.\u0275fac=function(I){return new(I||S)(n.\u0275\u0275directiveInject(c,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(D.tE),n.\u0275\u0275directiveInject(u.A8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(d,8),n.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:S,selectors:[["mat-radio-button"]],viewQuery:function(I,P){if(1&I&&n.\u0275\u0275viewQuery(m,5),2&I){let A;n.\u0275\u0275queryRefresh(A=n.\u0275\u0275loadQuery())&&(P._inputElement=A.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(I,P){1&I&&n.\u0275\u0275listener("focus",function(){return P._inputElement.nativeElement.focus()}),2&I&&(n.\u0275\u0275attribute("id",P.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-primary","primary"===P.color)("mat-accent","accent"===P.color)("mat-warn","warn"===P.color)("mat-mdc-radio-checked",P.checked)("_mat-animation-noopable",P._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:h,decls:13,vars:17,consts:[[1,"mdc-form-field"],["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,P){if(1&I&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2)(3,"div",3),n.\u0275\u0275listener("click",function(L){return P._onTouchTargetClick(L)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(4,"input",4,5),n.\u0275\u0275listener("change",function(L){return P._onInputInteraction(L)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(6,"div",6),n.\u0275\u0275element(7,"div",7)(8,"div",8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(9,"div",9),n.\u0275\u0275element(10,"div",10),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(11,"label",11),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&I){const A=n.\u0275\u0275reference(1);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==P.labelPosition),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mdc-radio--disabled",P.disabled),n.\u0275\u0275advance(2),n.\u0275\u0275property("id",P.inputId)("checked",P.checked)("disabled",P.disabled)("required",P.required),n.\u0275\u0275attribute("name",P.name)("value",P.value)("aria-label",P.ariaLabel)("aria-labelledby",P.ariaLabelledby)("aria-describedby",P.ariaDescribedby),n.\u0275\u0275advance(5),n.\u0275\u0275property("matRippleTrigger",A)("matRippleDisabled",P._isRippleDisabled())("matRippleCentered",!0),n.\u0275\u0275advance(2),n.\u0275\u0275property("for",P.inputId)}},dependencies:[f.MatRipple],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)}.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}.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%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return S})(),T=(()=>{class S{static#e=this.\u0275fac=function(I){return new(I||S)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,s.CommonModule,f.MatRippleModule,f.MatCommonModule]})}return S})()},8525:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SELECT_CONFIG:()=>ue,MAT_SELECT_SCROLL_STRATEGY:()=>H,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>ye,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>te,MAT_SELECT_TRIGGER:()=>Ge,MatSelect:()=>Ze,MatSelectChange:()=>$e,MatSelectModule:()=>Te,MatSelectTrigger:()=>Et,matSelectAnimations:()=>ee});var n=_(9594),f=_(6814),D=_(9212),y=_(3680),u=_(4170),v=_(6672),s=_(4191),m=_(9388),h=_(2495),o=_(8337),l=_(6028),r=_(6223),c=_(8645),d=_(4911),g=_(3019),b=_(7921),C=_(4664),x=_(8180),w=_(2181),T=_(7398),S=_(3997),M=_(9773),k=_(6825);const I=["trigger"],P=["panel"];function A(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",9),D.\u0275\u0275text(1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275advance(1),D.\u0275\u0275textInterpolate(Ie.placeholder)}}function L(qe,Ee){1&qe&&D.\u0275\u0275projection(0)}function F(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",11),D.\u0275\u0275text(1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext(2);D.\u0275\u0275advance(1),D.\u0275\u0275textInterpolate(Ie.triggerValue)}}function R(qe,Ee){if(1&qe&&(D.\u0275\u0275elementStart(0,"span",10),D.\u0275\u0275template(1,L,1,0)(2,F,2,1),D.\u0275\u0275elementEnd()),2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275advance(1),D.\u0275\u0275conditional(1,Ie.customTrigger?1:2)}}function U(qe,Ee){if(1&qe){const Ie=D.\u0275\u0275getCurrentView();D.\u0275\u0275namespaceSVG(),D.\u0275\u0275namespaceHTML(),D.\u0275\u0275elementStart(0,"div",12,13),D.\u0275\u0275listener("@transformPanel.done",function(ge){D.\u0275\u0275restoreView(Ie);const Ae=D.\u0275\u0275nextContext();return D.\u0275\u0275resetView(Ae._panelDoneAnimatingStream.next(ge.toState))})("keydown",function(ge){D.\u0275\u0275restoreView(Ie);const Ae=D.\u0275\u0275nextContext();return D.\u0275\u0275resetView(Ae._handleKeydown(ge))}),D.\u0275\u0275projection(2,1),D.\u0275\u0275elementEnd()}if(2&qe){const Ie=D.\u0275\u0275nextContext();D.\u0275\u0275classMapInterpolate1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ie._getPanelTheme(),""),D.\u0275\u0275property("ngClass",Ie.panelClass)("@transformPanel","showing"),D.\u0275\u0275attribute("id",Ie.id+"-panel")("aria-multiselectable",Ie.multiple)("aria-label",Ie.ariaLabel||null)("aria-labelledby",Ie._getPanelAriaLabelledby())}}const W=[[["mat-select-trigger"]],"*"],ne=["mat-select-trigger","*"],ee={transformPanelWrap:(0,k.X$)("transformPanelWrap",[(0,k.eR)("* => void",(0,k.IO)("@transformPanel",[(0,k.pV)()],{optional:!0}))]),transformPanel:(0,k.X$)("transformPanel",[(0,k.SB)("void",(0,k.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,k.eR)("void => showing",(0,k.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,k.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,k.eR)("* => void",(0,k.jt)("100ms linear",(0,k.oB)({opacity:0})))])};let Z=0;const H=new D.InjectionToken("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const qe=(0,D.inject)(n.aV);return()=>qe.scrollStrategies.reposition()}});function te(qe){return()=>qe.scrollStrategies.reposition()}const ue=new D.InjectionToken("MAT_SELECT_CONFIG"),ye={provide:H,deps:[n.aV],useFactory:te},Ge=new D.InjectionToken("MatSelectTrigger");class $e{constructor(Ee,Ie){this.source=Ee,this.value=Ie}}const Ye=(0,y.mixinDisableRipple)((0,y.mixinTabIndex)((0,y.mixinDisabled)((0,y.mixinErrorState)(class{constructor(qe,Ee,Ie,Ce,ge){this._elementRef=qe,this._defaultErrorStateMatcher=Ee,this._parentForm=Ie,this._parentFormGroup=Ce,this.ngControl=ge,this.stateChanges=new c.x}}))));let Ze=(()=>{class qe extends Ye{_scrollOptionIntoView(Ie){const Ce=this.options.toArray()[Ie];if(Ce){const ge=this.panel.nativeElement,Ae=(0,y._countGroupLabelsBeforeOption)(Ie,this.options,this.optionGroups),q=Ce._getHostElement();ge.scrollTop=0===Ie&&1===Ae?0:(0,y._getOptionScrollPosition)(q.offsetTop,q.offsetHeight,ge.scrollTop,ge.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ie){return new $e(this,Ie)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ie){this._hideSingleSelectionIndicator=(0,h.Ig)(Ie),this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Ie){this._placeholder=Ie,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(r.Validators.required)??!1}set required(Ie){this._required=(0,h.Ig)(Ie),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ie){this._multiple=(0,h.Ig)(Ie)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ie){this._disableOptionCentering=(0,h.Ig)(Ie)}get compareWith(){return this._compareWith}set compareWith(Ie){this._compareWith=Ie,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ie){this._assignValue(Ie)&&this._onChange(Ie)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ie){this._typeaheadDebounceInterval=(0,h.su)(Ie)}get id(){return this._id}set id(Ie){this._id=Ie||this._uid,this.stateChanges.next()}constructor(Ie,Ce,ge,Ae,q,Re,ke,Ke,me,Pe,Ne,Be,yt,Ot){super(q,Ae,ke,Ke,Pe),this._viewportRuler=Ie,this._changeDetectorRef=Ce,this._ngZone=ge,this._dir=Re,this._parentFormField=me,this._liveAnnouncer=yt,this._defaultOptions=Ot,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=(Yt,jt)=>Yt===jt,this._uid="mat-select-"+Z++,this._triggerAriaLabelledBy=null,this._destroy=new c.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Z++,this._panelDoneAnimatingStream=new c.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",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,d.P)(()=>{const Yt=this.options;return Yt?Yt.changes.pipe((0,b.O)(Yt),(0,C.w)(()=>(0,g.T)(...Yt.map(jt=>jt.onSelectionChange)))):this._ngZone.onStable.pipe((0,x.q)(1),(0,C.w)(()=>this.optionSelectionChanges))}),this.openedChange=new D.EventEmitter,this._openedStream=this.openedChange.pipe((0,w.h)(Yt=>Yt),(0,T.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,w.h)(Yt=>!Yt),(0,T.U)(()=>{})),this.selectionChange=new D.EventEmitter,this.valueChange=new D.EventEmitter,this._trackedModal=null,this._skipPredicate=Yt=>!this.panelOpen&&Yt.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Ot?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Ot.typeaheadDebounceInterval),this._scrollStrategyFactory=Be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ne)||0,this.id=this.id}ngOnInit(){this._selectionModel=new o.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,S.x)(),(0,M.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,M.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,M.R)(this._destroy)).subscribe(Ie=>{Ie.added.forEach(Ce=>Ce.select()),Ie.removed.forEach(Ce=>Ce.deselect())}),this.options.changes.pipe((0,b.O)(null),(0,M.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ie=this._getTriggerAriaLabelledby(),Ce=this.ngControl;if(Ie!==this._triggerAriaLabelledBy){const ge=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ie,Ie?ge.setAttribute("aria-labelledby",Ie):ge.removeAttribute("aria-labelledby")}Ce&&(this._previousControl!==Ce.control&&(void 0!==this._previousControl&&null!==Ce.disabled&&Ce.disabled!==this.disabled&&(this.disabled=Ce.disabled),this._previousControl=Ce.control),this.updateErrorState())}ngOnChanges(Ie){(Ie.disabled||Ie.userAriaDescribedBy)&&this.stateChanges.next(),Ie.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._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck()),this.stateChanges.next()}_applyModalPanelOwnership(){const Ie=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ie)return;const Ce=`${this.id}-panel`;this._trackedModal&&(0,s.iD)(this._trackedModal,"aria-owns",Ce),(0,s.Zf)(Ie,"aria-owns",Ce),this._trackedModal=Ie}_clearFromModal(){this._trackedModal&&((0,s.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched()),this.stateChanges.next()}writeValue(Ie){this._assignValue(Ie)}registerOnChange(Ie){this._onChange=Ie}registerOnTouched(Ie){this._onTouched=Ie}setDisabledState(Ie){this.disabled=Ie,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 Ie=this._selectionModel.selected.map(Ce=>Ce.viewValue);return this._isRtl()&&Ie.reverse(),Ie.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ie){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ie):this._handleClosedKeydown(Ie))}_handleClosedKeydown(Ie){const Ce=Ie.keyCode,ge=Ce===l.JH||Ce===l.LH||Ce===l.oh||Ce===l.SV,Ae=Ce===l.K5||Ce===l.L_,q=this._keyManager;if(!q.isTyping()&&Ae&&!(0,l.Vb)(Ie)||(this.multiple||Ie.altKey)&&ge)Ie.preventDefault(),this.open();else if(!this.multiple){const Re=this.selected;q.onKeydown(Ie);const ke=this.selected;ke&&Re!==ke&&this._liveAnnouncer.announce(ke.viewValue,1e4)}}_handleOpenKeydown(Ie){const Ce=this._keyManager,ge=Ie.keyCode,Ae=ge===l.JH||ge===l.LH,q=Ce.isTyping();if(Ae&&Ie.altKey)Ie.preventDefault(),this.close();else if(q||ge!==l.K5&&ge!==l.L_||!Ce.activeItem||(0,l.Vb)(Ie))if(!q&&this._multiple&&ge===l.A&&Ie.ctrlKey){Ie.preventDefault();const Re=this.options.some(ke=>!ke.disabled&&!ke.selected);this.options.forEach(ke=>{ke.disabled||(Re?ke.select():ke.deselect())})}else{const Re=Ce.activeItemIndex;Ce.onKeydown(Ie),this._multiple&&Ae&&Ie.shiftKey&&Ce.activeItem&&Ce.activeItemIndex!==Re&&Ce.activeItem._selectViaInteraction()}else Ie.preventDefault(),Ce.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,x.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ie){if(this.options.forEach(Ce=>Ce.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ie)Array.isArray(Ie),Ie.forEach(Ce=>this._selectOptionByValue(Ce)),this._sortValues();else{const Ce=this._selectOptionByValue(Ie);Ce?this._keyManager.updateActiveItem(Ce):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ie){const Ce=this.options.find(ge=>{if(this._selectionModel.isSelected(ge))return!1;try{return null!=ge.value&&this._compareWith(ge.value,Ie)}catch{return!1}});return Ce&&this._selectionModel.select(Ce),Ce}_assignValue(Ie){return!!(Ie!==this._value||this._multiple&&Array.isArray(Ie))&&(this.options&&this._setSelectionByValue(Ie),this._value=Ie,!0)}_getOverlayWidth(Ie){return"auto"===this.panelWidth?(Ie instanceof n.xu?Ie.elementRef:Ie||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Ie of this.options)Ie._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new s.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ie=(0,g.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,M.R)(Ie)).subscribe(Ce=>{this._onSelect(Ce.source,Ce.isUserInput),Ce.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,g.T)(...this.options.map(Ce=>Ce._stateChanges)).pipe((0,M.R)(Ie)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ie,Ce){const ge=this._selectionModel.isSelected(Ie);null!=Ie.value||this._multiple?(ge!==Ie.selected&&(Ie.selected?this._selectionModel.select(Ie):this._selectionModel.deselect(Ie)),Ce&&this._keyManager.setActiveItem(Ie),this.multiple&&(this._sortValues(),Ce&&this.focus())):(Ie.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ie.value)),ge!==this._selectionModel.isSelected(Ie)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ie=this.options.toArray();this._selectionModel.sort((Ce,ge)=>this.sortComparator?this.sortComparator(Ce,ge,Ie):Ie.indexOf(Ce)-Ie.indexOf(ge)),this.stateChanges.next()}}_propagateChanges(Ie){let Ce;Ce=this.multiple?this.selected.map(ge=>ge.value):this.selected?this.selected.value:Ie,this._value=Ce,this.valueChange.emit(Ce),this._onChange(Ce),this.selectionChange.emit(this._getChangeEvent(Ce)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ie=-1;for(let Ce=0;Ce0}focus(Ie){this._elementRef.nativeElement.focus(Ie)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ie=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ie?Ie+" ":"")+this.ariaLabelledby:Ie}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ie=this._parentFormField?.getLabelId();let Ce=(Ie?Ie+" ":"")+this._valueId;return this.ariaLabelledby&&(Ce+=" "+this.ariaLabelledby),Ce}_panelDoneAnimating(Ie){this.openedChange.emit(Ie)}setDescribedByIds(Ie){Ie.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ie.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(Ce){return new(Ce||qe)(D.\u0275\u0275directiveInject(v.rL),D.\u0275\u0275directiveInject(D.ChangeDetectorRef),D.\u0275\u0275directiveInject(D.NgZone),D.\u0275\u0275directiveInject(y.ErrorStateMatcher),D.\u0275\u0275directiveInject(D.ElementRef),D.\u0275\u0275directiveInject(m.Is,8),D.\u0275\u0275directiveInject(r.NgForm,8),D.\u0275\u0275directiveInject(r.FormGroupDirective,8),D.\u0275\u0275directiveInject(u.MAT_FORM_FIELD,8),D.\u0275\u0275directiveInject(r.NgControl,10),D.\u0275\u0275injectAttribute("tabindex"),D.\u0275\u0275directiveInject(H),D.\u0275\u0275directiveInject(s.Kd),D.\u0275\u0275directiveInject(ue,8))};static#t=this.\u0275cmp=D.\u0275\u0275defineComponent({type:qe,selectors:[["mat-select"]],contentQueries:function(Ce,ge,Ae){if(1&Ce&&(D.\u0275\u0275contentQuery(Ae,Ge,5),D.\u0275\u0275contentQuery(Ae,y.MatOption,5),D.\u0275\u0275contentQuery(Ae,y.MAT_OPTGROUP,5)),2&Ce){let q;D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.customTrigger=q.first),D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.options=q),D.\u0275\u0275queryRefresh(q=D.\u0275\u0275loadQuery())&&(ge.optionGroups=q)}},viewQuery:function(Ce,ge){if(1&Ce&&(D.\u0275\u0275viewQuery(I,5),D.\u0275\u0275viewQuery(P,5),D.\u0275\u0275viewQuery(n.pI,5)),2&Ce){let Ae;D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge.trigger=Ae.first),D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge.panel=Ae.first),D.\u0275\u0275queryRefresh(Ae=D.\u0275\u0275loadQuery())&&(ge._overlayDir=Ae.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Ce,ge){1&Ce&&D.\u0275\u0275listener("keydown",function(q){return ge._handleKeydown(q)})("focus",function(){return ge._onFocus()})("blur",function(){return ge._onBlur()}),2&Ce&&(D.\u0275\u0275attribute("id",ge.id)("tabindex",ge.tabIndex)("aria-controls",ge.panelOpen?ge.id+"-panel":null)("aria-expanded",ge.panelOpen)("aria-label",ge.ariaLabel||null)("aria-required",ge.required.toString())("aria-disabled",ge.disabled.toString())("aria-invalid",ge.errorState)("aria-activedescendant",ge._getAriaActiveDescendant()),D.\u0275\u0275classProp("mat-mdc-select-disabled",ge.disabled)("mat-mdc-select-invalid",ge.errorState)("mat-mdc-select-required",ge.required)("mat-mdc-select-empty",ge.empty)("mat-mdc-select-multiple",ge.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[D.\u0275\u0275ProvidersFeature([{provide:u.MatFormFieldControl,useExisting:qe},{provide:y.MAT_OPTION_PARENT_COMPONENT,useExisting:qe}]),D.\u0275\u0275InheritDefinitionFeature,D.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ne,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(Ce,ge){if(1&Ce&&(D.\u0275\u0275projectionDef(W),D.\u0275\u0275elementStart(0,"div",0,1),D.\u0275\u0275listener("click",function(){return ge.toggle()}),D.\u0275\u0275elementStart(3,"div",2),D.\u0275\u0275template(4,A,2,1,"span",3)(5,R,3,1),D.\u0275\u0275elementEnd(),D.\u0275\u0275elementStart(6,"div",4)(7,"div",5),D.\u0275\u0275namespaceSVG(),D.\u0275\u0275elementStart(8,"svg",6),D.\u0275\u0275element(9,"path",7),D.\u0275\u0275elementEnd()()()(),D.\u0275\u0275template(10,U,3,9,"ng-template",8),D.\u0275\u0275listener("backdropClick",function(){return ge.close()})("attach",function(){return ge._onAttached()})("detach",function(){return ge.close()})),2&Ce){const Ae=D.\u0275\u0275reference(1);D.\u0275\u0275advance(3),D.\u0275\u0275attribute("id",ge._valueId),D.\u0275\u0275advance(1),D.\u0275\u0275conditional(4,ge.empty?4:5),D.\u0275\u0275advance(6),D.\u0275\u0275property("cdkConnectedOverlayPanelClass",ge._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ge._scrollStrategy)("cdkConnectedOverlayOrigin",ge._preferredOverlayOrigin||Ae)("cdkConnectedOverlayOpen",ge.panelOpen)("cdkConnectedOverlayPositions",ge._positions)("cdkConnectedOverlayWidth",ge._overlayWidth)}},dependencies:[f.NgClass,n.pI,n.xu],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)}.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 .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.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-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-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{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);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}.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}'],encapsulation:2,data:{animation:[ee.transformPanel]},changeDetection:0})}return qe})(),Et=(()=>{class qe{static#e=this.\u0275fac=function(Ce){return new(Ce||qe)};static#t=this.\u0275dir=D.\u0275\u0275defineDirective({type:qe,selectors:[["mat-select-trigger"]],features:[D.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:qe}])]})}return qe})(),Te=(()=>{class qe{static#e=this.\u0275fac=function(Ce){return new(Ce||qe)};static#t=this.\u0275mod=D.\u0275\u0275defineNgModule({type:qe});static#n=this.\u0275inj=D.\u0275\u0275defineInjector({providers:[ye],imports:[f.CommonModule,n.U8,y.MatOptionModule,y.MatCommonModule,v.ZD,u.MatFormFieldModule,y.MatOptionModule,y.MatCommonModule]})}return qe})()},2599:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>m,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>c,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>h,MatSlideToggle:()=>r,MatSlideToggleChange:()=>o,MatSlideToggleModule:()=>b,MatSlideToggleRequiredValidator:()=>d,_MatSlideToggleRequiredValidatorModule:()=>g});var n=_(9212),f=_(6223),D=_(4191),y=_(3680);const u=["switch"];function v(C,x){1&C&&(n.\u0275\u0275elementStart(0,"div",12),n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(1,"svg",13),n.\u0275\u0275element(2,"path",14),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(3,"svg",15),n.\u0275\u0275element(4,"path",16),n.\u0275\u0275elementEnd()())}const s=["*"],m=new n.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),h={provide:f.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>r),multi:!0};class o{constructor(x,w){this.source=x,this.checked=w}}let l=0,r=(()=>{class C{_createChangeEvent(w){return new o(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,T,S,M,k,I){this._elementRef=w,this._focusMonitor=T,this._changeDetectorRef=S,this.defaults=k,this._onChange=P=>{},this._onTouched=()=>{},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 n.EventEmitter,this.toggleChange=new n.EventEmitter,this.tabIndex=parseInt(M)||0,this.color=k.color||"accent",this._noopAnimations="NoopAnimations"===I,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++l,this.hideIcon=k.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()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(w){this.checked=!!w}registerOnChange(w){this._onChange=w}registerOnTouched(w){this._onTouched=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 o(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(T){return new(T||C)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(D.tE),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(m),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:C,selectors:[["mat-slide-toggle"]],viewQuery:function(T,S){if(1&T&&n.\u0275\u0275viewQuery(u,5),2&T){let M;n.\u0275\u0275queryRefresh(M=n.\u0275\u0275loadQuery())&&(S._switchElement=M.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(T,S){2&T&&(n.\u0275\u0275hostProperty("id",S.id),n.\u0275\u0275attribute("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),n.\u0275\u0275classMap(S.color?"mat-"+S.color:""),n.\u0275\u0275classProp("mat-mdc-slide-toggle-focused",S._focused)("mat-mdc-slide-toggle-checked",S.checked)("_mat-animation-noopable",S._noopAnimations))},inputs:{disabled:["disabled","disabled",n.booleanAttribute],disableRipple:["disableRipple","disableRipple",n.booleanAttribute],color:"color",tabIndex:["tabIndex","tabIndex",w=>null==w?0:(0,n.numberAttribute)(w)],name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:["required","required",n.booleanAttribute],checked:["checked","checked",n.booleanAttribute],hideIcon:["hideIcon","hideIcon",n.booleanAttribute]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:s,decls:13,vars:25,consts:[[1,"mdc-form-field"],["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(T,S){if(1&T&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"div",0)(1,"button",1,2),n.\u0275\u0275listener("click",function(){return S._handleClick()}),n.\u0275\u0275element(3,"div",3),n.\u0275\u0275elementStart(4,"div",4)(5,"div",5)(6,"div",6),n.\u0275\u0275element(7,"div",7),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(8,"div",8),n.\u0275\u0275element(9,"div",9),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(10,v,5,0,"div",10),n.\u0275\u0275elementEnd()()(),n.\u0275\u0275elementStart(11,"label",11),n.\u0275\u0275listener("click",function(k){return k.stopPropagation()}),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&T){const M=n.\u0275\u0275reference(2);n.\u0275\u0275classProp("mdc-form-field--align-end","before"==S.labelPosition),n.\u0275\u0275advance(1),n.\u0275\u0275classProp("mdc-switch--selected",S.checked)("mdc-switch--unselected",!S.checked)("mdc-switch--checked",S.checked)("mdc-switch--disabled",S.disabled),n.\u0275\u0275property("tabIndex",S.disabled?-1:S.tabIndex)("disabled",S.disabled),n.\u0275\u0275attribute("id",S.buttonId)("name",S.name)("aria-label",S.ariaLabel)("aria-labelledby",S._getAriaLabelledBy())("aria-describedby",S.ariaDescribedby)("aria-required",S.required||null)("aria-checked",S.checked),n.\u0275\u0275advance(8),n.\u0275\u0275property("matRippleTrigger",M)("matRippleDisabled",S.disableRipple||S.disabled)("matRippleCentered",!0),n.\u0275\u0275advance(1),n.\u0275\u0275conditional(10,S.hideIcon?-1:10),n.\u0275\u0275advance(1),n.\u0275\u0275property("for",S.buttonId),n.\u0275\u0275attribute("id",S._labelId)}},dependencies:[y.MatRipple],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-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)}.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:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.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 .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.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}'],encapsulation:2,changeDetection:0})}return C})();const c={provide:f.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>d),multi:!0};let d=(()=>{class C extends f.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let w;return function(S){return(w||(w=n.\u0275\u0275getInheritedFactory(C)))(S||C)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:C,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[n.\u0275\u0275ProvidersFeature([c]),n.\u0275\u0275InheritDefinitionFeature]})}return C})(),g=(()=>{class C{static#e=this.\u0275fac=function(T){return new(T||C)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:C});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return C})(),b=(()=>{class C{static#e=this.\u0275fac=function(T){return new(T||C)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:C});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[g,y.MatCommonModule,y.MatRippleModule,g,y.MatCommonModule]})}return C})()},2202:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatSlider:()=>I,MatSliderChange:()=>S,MatSliderModule:()=>W,MatSliderRangeThumb:()=>U,MatSliderThumb:()=>R,MatSliderVisualThumb:()=>M});var n=_(9388),f=_(2495),D=_(2831),y=_(9212),u=_(3680),v=_(6223),s=_(8645);const m=["knob"],h=["valueIndicatorContainer"];function o(ne,ee){if(1&ne&&(y.\u0275\u0275elementStart(0,"div",4,5)(2,"div",6)(3,"span",7),y.\u0275\u0275text(4),y.\u0275\u0275elementEnd()()()),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275advance(4),y.\u0275\u0275textInterpolate(j.valueIndicatorText)}}const l=["trackActive"];function r(ne,ee){if(1&ne&&y.\u0275\u0275element(0,"div"),2&ne){const j=ee.$implicit,B=ee.$index,$=y.\u0275\u0275nextContext(3);y.\u0275\u0275classMap(0===j?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),y.\u0275\u0275styleProp("transform",$._calcTickMarkTransform(B))}}function c(ne,ee){if(1&ne&&y.\u0275\u0275repeaterCreate(0,r,1,4,"div",9,y.\u0275\u0275repeaterTrackByIdentity),2&ne){const j=y.\u0275\u0275nextContext(2);y.\u0275\u0275repeater(j._tickMarks)}}function d(ne,ee){if(1&ne&&(y.\u0275\u0275elementStart(0,"div",7,8),y.\u0275\u0275template(2,c,2,0),y.\u0275\u0275elementEnd()),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275advance(2),y.\u0275\u0275conditional(2,j._cachedWidth?2:-1)}}function g(ne,ee){if(1&ne&&y.\u0275\u0275element(0,"mat-slider-visual-thumb",6),2&ne){const j=y.\u0275\u0275nextContext();y.\u0275\u0275property("discrete",j.discrete)("thumbPosition",1)("valueIndicatorText",j.startValueIndicatorText)}}const b=["*"],C=new y.InjectionToken("_MatSlider"),x=new y.InjectionToken("_MatSliderThumb"),w=new y.InjectionToken("_MatSliderRangeThumb"),T=new y.InjectionToken("_MatSliderVisualThumb");class S{}let M=(()=>{class ne{constructor(j,B,$,Z){this._cdr=j,this._ngZone=B,this._slider=Z,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=H=>{if(this._sliderInput._isFocused)return;const te=this._hostElement.getBoundingClientRect(),ue=this._slider._isCursorOnSliderThumb(H,te);this._isHovered=ue,ue?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=H=>{0===H.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=$.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const j=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{j.addEventListener("pointermove",this._onPointerMove),j.addEventListener("pointerdown",this._onDragStart),j.addEventListener("pointerup",this._onDragEnd),j.addEventListener("pointerleave",this._onMouseLeave),j.addEventListener("focus",this._onFocus),j.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const j=this._sliderInputEl;j.removeEventListener("pointermove",this._onPointerMove),j.removeEventListener("pointerdown",this._onDragStart),j.removeEventListener("pointerup",this._onDragEnd),j.removeEventListener("pointerleave",this._onMouseLeave),j.removeEventListener("focus",this._onFocus),j.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(j){return 0===j?.state||1===j?.state}_showRipple(j,B){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||B))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:j,centered:!0,persistent:!0})}_hideRipple(j){if(j?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const B=this._getSibling();B._isShowingAnyRipple()||(this._hideValueIndicator(),B._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(1===this.thumbPosition?2:1)}_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(B){return new(B||ne)(y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(C))};static#t=this.\u0275cmp=y.\u0275\u0275defineComponent({type:ne,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(B,$){if(1&B&&(y.\u0275\u0275viewQuery(u.MatRipple,5),y.\u0275\u0275viewQuery(m,5),y.\u0275\u0275viewQuery(h,5)),2&B){let Z;y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._ripple=Z.first),y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._knob=Z.first),y.\u0275\u0275queryRefresh(Z=y.\u0275\u0275loadQuery())&&($._valueIndicatorContainer=Z.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[y.\u0275\u0275ProvidersFeature([{provide:T,useExisting:ne}])],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(B,$){1&B&&(y.\u0275\u0275template(0,o,5,1,"div",0),y.\u0275\u0275element(1,"div",1,2)(3,"div",3)),2&B&&(y.\u0275\u0275conditional(0,$.discrete?0:-1),y.\u0275\u0275advance(3),y.\u0275\u0275property("matRippleDisabled",!0))},dependencies:[u.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 ne})();const k=(0,u.mixinColor)((0,u.mixinDisableRipple)(class{constructor(ne){this._elementRef=ne}}),"primary");let I=(()=>{class ne extends k{get disabled(){return this._disabled}set disabled(j){this._disabled=(0,f.Ig)(j);const B=this._getInput(2),$=this._getInput(1);B&&(B.disabled=this._disabled),$&&($.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(j){this._discrete=(0,f.Ig)(j),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(j){this._showTickMarks=(0,f.Ig)(j)}get min(){return this._min}set min(j){const B=(0,f.su)(j,this._min);this._min!==B&&this._updateMin(B)}_updateMin(j){const B=this._min;this._min=j,this._isRange?this._updateMinRange({old:B,new:j}):this._updateMinNonRange(j),this._onMinMaxOrStepChange()}_updateMinRange(j){const B=this._getInput(2),$=this._getInput(1),Z=B.value,H=$.value;$.min=j.new,B.min=Math.max(j.new,$.value),$.max=Math.min(B.max,B.value),$._updateWidthInactive(),B._updateWidthInactive(),j.newj.old?this._onTranslateXChangeBySideEffect($,B):this._onTranslateXChangeBySideEffect(B,$),Z!==B.value&&this._onValueChange(B),H!==$.value&&this._onValueChange($)}_updateMaxNonRange(j){const B=this._getInput(2);if(B){const $=B.value;B.max=j,B._updateThumbUIByValue(),this._updateTrackUI(B),$!==B.value&&this._onValueChange(B)}}get step(){return this._step}set step(j){const B=(0,f.su)(j,this._step);this._step!==B&&this._updateStep(B)}_updateStep(j){this._step=j,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const j=this._getInput(2),B=this._getInput(1),$=j.value,Z=B.value,H=B.value;j.min=this._min,B.max=this._max,j.step=this._step,B.step=this._step,this._platform.SAFARI&&(j.value=j.value,B.value=B.value),j.min=Math.max(this._min,B.value),B.max=Math.min(this._max,j.value),B._updateWidthInactive(),j._updateWidthInactive(),j.value`${ue}`,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,y.inject)(D.t4),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===te,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const j=this._getInput(2),B=this._getInput(1);this._isRange=!!j&&!!B,this._cdr.detectChanges();const $=this._getThumb(2);this._rippleRadius=$._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(j,B):this._initUINonRange(j),this._updateTrackUI(j),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(j){j.initProps(),j.initUI(),this._updateValueIndicatorUI(j),this._hasViewInitialized=!0,j._updateThumbUIByValue()}_initUIRange(j,B){j.initProps(),j.initUI(),B.initProps(),B.initUI(),j._updateMinMax(),B._updateMinMax(),j._updateStaticStyles(),B._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,j._updateThumbUIByValue(),B._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 j=this._getInput(2),B=this._getInput(1);j._setIsLeftThumb(),B._setIsLeftThumb(),j.translateX=j._calcTranslateXByValue(),B.translateX=B._calcTranslateXByValue(),j._updateStaticStyles(),B._updateStaticStyles(),j._updateWidthInactive(),B._updateWidthInactive(),j._updateThumbUIByValue(),B._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._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(1)._isActive||this._getThumb(2)._isActive}_getValue(j=2){const B=this._getInput(j);return B?B.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(j){const B=this._trackActive.nativeElement.style;B.left=j.left,B.right=j.right,B.transformOrigin=j.transformOrigin,B.transform=j.transform}_calcTickMarkTransform(j){return`translateX(${j*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(j){this._hasViewInitialized&&(this._updateThumbUI(j),this._updateTrackUI(j),this._updateOverlappingThumbUI(j))}_onTranslateXChangeBySideEffect(j,B){this._hasViewInitialized&&(j._updateThumbUIByValue(),B._updateThumbUIByValue())}_onValueChange(j){this._hasViewInitialized&&(this._updateValueIndicatorUI(j),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 j=this._getInput(2),B=this._getInput(1);j._updateThumbUIByValue(),B._updateThumbUIByValue(),j._updateStaticStyles(),B._updateStaticStyles(),j._updateMinMax(),B._updateMinMax(),j._updateWidthInactive(),B._updateWidthInactive()}else{const j=this._getInput(2);j&&j._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const j=this._getInput(1),B=this._getInput(2);return!(!j||!B)&&B.translateX-j.translateX<20}_updateOverlappingThumbClassNames(j){const B=j.getSibling(),$=this._getThumb(j.thumbPosition);this._getThumb(B.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),$._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(j){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(j))}_updateThumbUI(j){this._skipUpdate()||(this._getThumb(2===j.thumbPosition?2:1)._hostElement.style.transform=`translateX(${j.translateX}px)`)}_updateValueIndicatorUI(j){if(this._skipUpdate())return;const B=this.displayWith(j.value);if(this._hasViewInitialized?j._valuetext=B:j._hostElement.setAttribute("aria-valuetext",B),this.discrete){1===j.thumbPosition?this.startValueIndicatorText=B:this.endValueIndicatorText=B;const $=this._getThumb(j.thumbPosition);B.length<3?$._hostElement.classList.add("mdc-slider__thumb--short-value"):$._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const j=this._getInput(2),B=this._getInput(1);j&&this._updateValueIndicatorUI(j),B&&this._updateValueIndicatorUI(B)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const j=this._step&&this._step>0?this._step:1,$=(Math.floor(this.max/j)*j-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*$-6}_updateTrackUI(j){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(j):this._updateTrackUINonRange(j))}_updateTrackUIRange(j){const B=j.getSibling();if(!B||!this._cachedWidth)return;const $=Math.abs(B.translateX-j.translateX)/this._cachedWidth;this._setTrackActiveStyles(j._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-B.translateX+"px",transformOrigin:"right",transform:`scaleX(${$})`}:{left:`${B.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${$})`})}_updateTrackUINonRange(j){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-j.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${j.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const j=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(j):this._updateTickMarkUINonRange(j),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(j){const B=this._getValue();let $=Math.max(Math.floor((B-this.min)/j),0),Z=Math.max(Math.floor((this.max-B)/j),0);this._isRtl?$++:Z++,this._tickMarks=Array($).fill(0).concat(Array(Z).fill(1))}_updateTickMarkUIRange(j){const B=this._getValue(),$=this._getValue(1),Z=Math.max(Math.floor(($-this.min)/j),0),H=Math.max(Math.floor((B-$)/j)+1,0),te=Math.max(Math.floor((this.max-B)/j),0);this._tickMarks=Array(Z).fill(1).concat(Array(H).fill(0),Array(te).fill(1))}_getInput(j){return 2===j&&this._input?this._input:this._inputs?.length?1===j?this._inputs.first:this._inputs.last:void 0}_getThumb(j){return 2===j?this._thumbs?.last:this._thumbs?.first}_setTransition(j){this._hasAnimation=!this._platform.IOS&&j&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(j,B){const $=B.width/2,ue=j.clientY-(B.y+$);return Math.pow(j.clientX-(B.x+$),2)+Math.pow(ue,2)R),multi:!0},F={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,y.forwardRef)(()=>U),multi:!0};let R=(()=>{class ne{get value(){return(0,f.su)(this._hostElement.value)}set value(j){const B=(0,f.su)(j).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=B,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()):this._initialValue=B}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(j){this._translateX=j}get min(){return(0,f.su)(this._hostElement.min)}set min(j){this._hostElement.min=(0,f.su)(j).toString(),this._cdr.detectChanges()}get max(){return(0,f.su)(this._hostElement.max)}set max(j){this._hostElement.max=(0,f.su)(j).toString(),this._cdr.detectChanges()}get step(){return(0,f.su)(this._hostElement.step)}set step(j){this._hostElement.step=(0,f.su)(j).toString(),this._cdr.detectChanges()}get disabled(){return(0,f.Ig)(this._hostElement.disabled)}set disabled(j){this._hostElement.disabled=(0,f.Ig)(j),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(j){this._isFocused=j}constructor(j,B,$,Z){this._ngZone=j,this._elementRef=B,this._cdr=$,this._slider=Z,this.valueChange=new y.EventEmitter,this.dragStart=new y.EventEmitter,this.dragEnd=new y.EventEmitter,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new s.x,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,y.inject)(D.t4),this._hostElement=B.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(j){if(!this.disabled&&0===j.button){if(this._platform.IOS){const B=this._slider._isCursorOnSliderThumb(j,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=B,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(j,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(j),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(j){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(j)},0)}_fixValue(j){const B=j.clientX-this._slider._cachedLeft,$=this._slider._cachedWidth,Z=0===this._slider.step?1:this._slider.step,H=Math.floor((this._slider.max-this._slider.min)/Z),ye=Math.round((this._slider._isRtl?1-B/$:B/$)*H)/H*(this._slider.max-this._slider.min)+this._slider.min,Ge=Math.round(ye/Z)*Z;if(Ge===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(j,{withAnimation:this._slider._hasAnimation}));this.value=Ge,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(j,{withAnimation:this._slider._hasAnimation})}_onPointerMove(j){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(j)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(j){return Math.max(Math.min(j,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*(this._slider._cachedWidth-6)+3}_calcTranslateXByPointerEvent(j){return j.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(j){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(j)}_updateThumbUIByPointerEvent(j,B){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(j)),this._updateThumbUI(B)}_updateThumbUI(j){this._slider._setTransition(!!j?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(j){(this._isControlInitialized||null!==j)&&(this.value=j)}registerOnChange(j){this._onChangeFn=j,this._isControlInitialized=!0}registerOnTouched(j){this._onTouchedFn=j}setDisabledState(j){this.disabled=j}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(B){return new(B||ne)(y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(C))};static#t=this.\u0275dir=y.\u0275\u0275defineDirective({type:ne,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(B,$){1&B&&y.\u0275\u0275listener("change",function(){return $._onChange()})("input",function(){return $._onInput()})("blur",function(){return $._onBlur()})("focus",function(){return $._onFocus()}),2&B&&y.\u0275\u0275attribute("aria-valuetext",$._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[y.\u0275\u0275ProvidersFeature([L,{provide:x,useExisting:ne}])]})}return ne})(),U=(()=>{class ne extends R{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const j=this.getSibling();return!this._isLeftThumb&&j?j.translateX:0}getMaxPos(){const j=this.getSibling();return this._isLeftThumb&&j?j.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(j,B,$,Z){super(j,$,Z,B),this._cdr=Z,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}_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(j){this.disabled||0!==j.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(j))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(j){super._onPointerMove(j),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(j){super._fixValue(j),this._sibling?._updateMinMax()}_clamp(j){return Math.max(Math.min(j,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const j=this.getSibling();j&&(this._isEndThumb?(this.min=Math.max(this._slider.min,j.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,j.value)))}_updateWidthActive(){const j=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-j)*(this._slider.min{class ne{static#e=this.\u0275fac=function(B){return new(B||ne)};static#t=this.\u0275mod=y.\u0275\u0275defineNgModule({type:ne});static#n=this.\u0275inj=y.\u0275\u0275defineInjector({imports:[u.MatCommonModule,u.MatRippleModule]})}return ne})()},5313:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatCell:()=>Se,MatCellDef:()=>Nt,MatColumnDef:()=>ce,MatFooterCell:()=>oe,MatFooterCellDef:()=>_e,MatFooterRow:()=>Lt,MatFooterRowDef:()=>mt,MatHeaderCell:()=>z,MatHeaderCellDef:()=>bt,MatHeaderRow:()=>rt,MatHeaderRowDef:()=>nt,MatNoDataRow:()=>tn,MatRecycleRows:()=>Ct,MatRow:()=>Xt,MatRowDef:()=>He,MatTable:()=>Pt,MatTableDataSource:()=>Yn,MatTableModule:()=>_i,MatTextColumn:()=>Nn});var n=_(9212),f=_(9388),D=_(8337),y=_(2831),u=_(6672),v=_(6814),s=_(8645),m=_(2459),h=_(5619),o=_(2664),l=_(2096),r=_(9773),c=_(8180),d=_(2495);const g=[[["caption"]],[["colgroup"],["col"]]],b=["caption","colgroup, col"];function C(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ue.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ue.headerText," ")}}function x(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=pn.$implicit,ot=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ot.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ot.dataAccessor(Ue,ot.name)," ")}}function w(st){return class extends st{get sticky(){return this._sticky}set sticky(pn){const Ue=this._sticky;this._sticky=(0,d.Ig)(pn),this._hasStickyChanged=Ue!==this._sticky}hasStickyChanged(){const pn=this._hasStickyChanged;return this._hasStickyChanged=!1,pn}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...pn){super(...pn),this._sticky=!1,this._hasStickyChanged=!1}}}const T=new n.InjectionToken("CDK_TABLE"),S=new n.InjectionToken("text-column-options");let M=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkCellDef",""]]})}return st})(),k=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkHeaderCellDef",""]]})}return st})(),I=(()=>{class st{constructor(Ue){this.template=Ue}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkFooterCellDef",""]]})}return st})();class P{}const A=w(P);let L=(()=>{class st extends A{get name(){return this._name}set name(Ue){this._setNameInput(Ue)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Ue){Ue!==this._stickyEnd&&(this._stickyEnd=Ue,this._hasStickyChanged=!0)}constructor(Ue){super(),this._table=Ue,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Ue){Ue&&(this._name=Ue,this.cssClassFriendlyName=Ue.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkColumnDef",""]],contentQueries:function(ot,At,qt){if(1&ot&&(n.\u0275\u0275contentQuery(qt,M,5),n.\u0275\u0275contentQuery(qt,k,5),n.\u0275\u0275contentQuery(qt,I,5)),2&ot){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.cell=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.headerCell=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At.footerCell=it.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",n.booleanAttribute]},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275InheritDefinitionFeature]})}return st})();class F{constructor(pn,Ue){Ue.nativeElement.classList.add(...pn._columnCssClassName)}}let R=(()=>{class st extends F{constructor(Ue,ot){super(Ue,ot)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),U=(()=>{class st extends F{constructor(Ue,ot){if(super(Ue,ot),1===Ue._table?._elementRef.nativeElement.nodeType){const At=Ue._table._elementRef.nativeElement.getAttribute("role");ot.nativeElement.setAttribute("role","grid"===At||"treegrid"===At?"gridcell":"cell")}}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),W=(()=>{class st extends F{constructor(Ue,ot){if(super(Ue,ot),1===Ue._table?._elementRef.nativeElement.nodeType){const At=Ue._table._elementRef.nativeElement.getAttribute("role");ot.nativeElement.setAttribute("role","grid"===At||"treegrid"===At?"gridcell":"cell")}}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(L),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})();class ne{constructor(){this.tasks=[],this.endTasks=[]}}const ee=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let j=(()=>{class st{constructor(Ue){this._ngZone=Ue,this._currentSchedule=null,this._destroyed=new s.x}schedule(Ue){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Ue)}scheduleEnd(Ue){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Ue)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ne,this._getScheduleObservable().pipe((0,r.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Ue=this._currentSchedule;this._currentSchedule=new ne;for(const ot of Ue.tasks)ot();for(const ot of Ue.endTasks)ot()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,m.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,c.q)(1))}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:st,factory:st.\u0275fac})}return st})(),$=(()=>{class st{constructor(Ue,ot){this.template=Ue,this._differs=ot}ngOnChanges(Ue){if(!this._columnsDiffer){const ot=Ue.columns&&Ue.columns.currentValue||[];this._columnsDiffer=this._differs.find(ot).create(),this._columnsDiffer.diff(ot)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Ue){return this instanceof te?Ue.headerCell.template:this instanceof Ge?Ue.footerCell.template:Ue.cell.template}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,features:[n.\u0275\u0275NgOnChangesFeature]})}return st})();class Z extends ${}const H=w(Z);let te=(()=>{class st extends H{constructor(Ue,ot,At){super(Ue,ot),this._table=At}ngOnChanges(Ue){super.ngOnChanges(Ue)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return st})();class ue extends ${}const ye=w(ue);let Ge=(()=>{class st extends ye{constructor(Ue,ot,At){super(Ue,ot),this._table=At}ngOnChanges(Ue){super.ngOnChanges(Ue)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return st})(),$e=(()=>{class st extends ${constructor(Ue,ot,At){super(Ue,ot),this._table=At}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Ye=(()=>{class st{static#e=this.mostRecentCellOutlet=null;constructor(Ue){this._viewContainer=Ue,st.mostRecentCellOutlet=this}ngOnDestroy(){st.mostRecentCellOutlet===this&&(st.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","cdkCellOutlet",""]]})}return st})(),Ze=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Et=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Te=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),qe=(()=>{class st{constructor(Ue){this.templateRef=Ue,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["ng-template","cdkNoDataRow",""]]})}return st})();const Ee=["top","bottom","left","right"];class Ie{constructor(pn,Ue,ot,At,qt=!0,it=!0,dt){this._isNativeHtmlTable=pn,this._stickCellCss=Ue,this.direction=ot,this._coalescedStyleScheduler=At,this._isBrowser=qt,this._needsPositionStickyOnElement=it,this._positionListener=dt,this._cachedCellWidths=[],this._borderCellCss={top:`${Ue}-border-elem-top`,bottom:`${Ue}-border-elem-bottom`,left:`${Ue}-border-elem-left`,right:`${Ue}-border-elem-right`}}clearStickyPositioning(pn,Ue){const ot=[];for(const At of pn)if(At.nodeType===At.ELEMENT_NODE){ot.push(At);for(let qt=0;qt{for(const At of ot)this._removeStickyStyle(At,Ue)})}updateStickyColumns(pn,Ue,ot,At=!0){if(!pn.length||!this._isBrowser||!Ue.some(Ht=>Ht)&&!ot.some(Ht=>Ht))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const qt=pn[0],it=qt.children.length,dt=this._getCellWidths(qt,At),ct=this._getStickyStartColumnPositions(dt,Ue),Ut=this._getStickyEndColumnPositions(dt,ot),wt=Ue.lastIndexOf(!0),vt=ot.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Ht="rtl"===this.direction,dn=Ht?"right":"left",ze=Ht?"left":"right";for(const en of pn)for(let Y=0;YUe[Y]?en:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===vt?[]:dt.slice(vt).map((en,Y)=>ot[Y+vt]?en:null).reverse()}))})}stickRows(pn,Ue,ot){if(!this._isBrowser)return;const At="bottom"===ot?pn.slice().reverse():pn,qt="bottom"===ot?Ue.slice().reverse():Ue,it=[],dt=[],ct=[];for(let wt=0,vt=0;wt{for(let wt=0;wt{Ue.some(At=>!At)?this._removeStickyStyle(ot,["bottom"]):this._addStickyStyle(ot,"bottom",0,!1)})}_removeStickyStyle(pn,Ue){for(const At of Ue)pn.style[At]="",pn.classList.remove(this._borderCellCss[At]);Ee.some(At=>-1===Ue.indexOf(At)&&pn.style[At])?pn.style.zIndex=this._getCalculatedZIndex(pn):(pn.style.zIndex="",this._needsPositionStickyOnElement&&(pn.style.position=""),pn.classList.remove(this._stickCellCss))}_addStickyStyle(pn,Ue,ot,At){pn.classList.add(this._stickCellCss),At&&pn.classList.add(this._borderCellCss[Ue]),pn.style[Ue]=`${ot}px`,pn.style.zIndex=this._getCalculatedZIndex(pn),this._needsPositionStickyOnElement&&(pn.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(pn){const Ue={top:100,bottom:10,left:1,right:1};let ot=0;for(const At of Ee)pn.style[At]&&(ot+=Ue[At]);return ot?`${ot}`:""}_getCellWidths(pn,Ue=!0){if(!Ue&&this._cachedCellWidths.length)return this._cachedCellWidths;const ot=[],At=pn.children;for(let qt=0;qt0;qt--)Ue[qt]&&(ot[qt]=At,At+=pn[qt]);return ot}}const Pe=new n.InjectionToken("CDK_SPL");let Be=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","rowOutlet",""]]})}return st})(),yt=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","headerRowOutlet",""]]})}return st})(),Ot=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","footerRowOutlet",""]]})}return st})(),Yt=(()=>{class st{constructor(Ue,ot){this.viewContainer=Ue,this.elementRef=ot}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","noDataRowOutlet",""]]})}return st})(),fn=(()=>{class st{get trackBy(){return this._trackByFn}set trackBy(Ue){this._trackByFn=Ue}get dataSource(){return this._dataSource}set dataSource(Ue){this._dataSource!==Ue&&this._switchDataSource(Ue)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Ue){this._multiTemplateDataRows=Ue,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Ue){this._fixedLayout=Ue,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Ue,ot,At,qt,it,dt,ct,Ut,wt,vt,Ht,dn){this._differs=Ue,this._changeDetectorRef=ot,this._elementRef=At,this._dir=it,this._platform=ct,this._viewRepeater=Ut,this._coalescedStyleScheduler=wt,this._viewportRuler=vt,this._stickyPositioningListener=Ht,this._ngZone=dn,this._onDestroy=new s.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new n.EventEmitter,this.viewChange=new h.X({start:0,end:Number.MAX_VALUE}),qt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=dt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Ue,ot)=>this.trackBy?this.trackBy(ot.dataIndex,ot.data):ot),this._viewportRuler.change().pipe((0,r.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const ot=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||ot,this._forceRecalculateCellWidths=ot,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Ue=>{Ue.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,D.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Ue=this._dataDiffer.diff(this._renderRows);if(!Ue)return this._updateNoDataRow(),void this.contentChanged.next();const ot=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Ue,ot,(At,qt,it)=>this._getEmbeddedViewArgs(At.item,it),At=>At.item.data,At=>{1===At.operation&&At.context&&this._renderCellTemplateForItem(At.record.item.rowDef,At.context)}),this._updateRowIndexContext(),Ue.forEachIdentityChange(At=>{ot.get(At.currentIndex).context.$implicit=At.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,c.q)(1),(0,r.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Ue){this._customColumnDefs.add(Ue)}removeColumnDef(Ue){this._customColumnDefs.delete(Ue)}addRowDef(Ue){this._customRowDefs.add(Ue)}removeRowDef(Ue){this._customRowDefs.delete(Ue)}addHeaderRowDef(Ue){this._customHeaderRowDefs.add(Ue),this._headerRowDefChanged=!0}removeHeaderRowDef(Ue){this._customHeaderRowDefs.delete(Ue),this._headerRowDefChanged=!0}addFooterRowDef(Ue){this._customFooterRowDefs.add(Ue),this._footerRowDefChanged=!0}removeFooterRowDef(Ue){this._customFooterRowDefs.delete(Ue),this._footerRowDefChanged=!0}setNoDataRow(Ue){this._customNoDataRow=Ue}updateStickyHeaderRowStyles(){const Ue=this._getRenderedRows(this._headerRowOutlet),At=this._elementRef.nativeElement.querySelector("thead");At&&(At.style.display=Ue.length?"":"none");const qt=this._headerRowDefs.map(it=>it.sticky);this._stickyStyler.clearStickyPositioning(Ue,["top"]),this._stickyStyler.stickRows(Ue,qt,"top"),this._headerRowDefs.forEach(it=>it.resetStickyChanged())}updateStickyFooterRowStyles(){const Ue=this._getRenderedRows(this._footerRowOutlet),At=this._elementRef.nativeElement.querySelector("tfoot");At&&(At.style.display=Ue.length?"":"none");const qt=this._footerRowDefs.map(it=>it.sticky);this._stickyStyler.clearStickyPositioning(Ue,["bottom"]),this._stickyStyler.stickRows(Ue,qt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,qt),this._footerRowDefs.forEach(it=>it.resetStickyChanged())}updateStickyColumnStyles(){const Ue=this._getRenderedRows(this._headerRowOutlet),ot=this._getRenderedRows(this._rowOutlet),At=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Ue,...ot,...At],["left","right"]),this._stickyColumnStylesNeedReset=!1),Ue.forEach((qt,it)=>{this._addStickyColumnStyles([qt],this._headerRowDefs[it])}),this._rowDefs.forEach(qt=>{const it=[];for(let dt=0;dt{this._addStickyColumnStyles([qt],this._footerRowDefs[it])}),Array.from(this._columnDefsByName.values()).forEach(qt=>qt.resetStickyChanged())}_getAllRenderRows(){const Ue=[],ot=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let At=0;At{const dt=At&&At.has(it)?At.get(it):[];if(dt.length){const ct=dt.shift();return ct.dataIndex=ot,ct}return{data:Ue,rowDef:it,dataIndex:ot}})}_cacheColumnDefs(){this._columnDefsByName.clear(),an(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(ot=>{this._columnDefsByName.has(ot.name),this._columnDefsByName.set(ot.name,ot)})}_cacheRowDefs(){this._headerRowDefs=an(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=an(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=an(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Ue=this._rowDefs.filter(ot=>!ot.when);this._defaultRowDef=Ue[0]}_renderUpdatedColumns(){const Ue=(it,dt)=>it||!!dt.getColumnsDiff(),ot=this._rowDefs.reduce(Ue,!1);ot&&this._forceRenderDataRows();const At=this._headerRowDefs.reduce(Ue,!1);At&&this._forceRenderHeaderRows();const qt=this._footerRowDefs.reduce(Ue,!1);return qt&&this._forceRenderFooterRows(),ot||At||qt}_switchDataSource(Ue){this._data=[],(0,D.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Ue||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Ue}_observeRenderChanges(){if(!this.dataSource)return;let Ue;(0,D.Z9)(this.dataSource)?Ue=this.dataSource.connect(this):(0,o.b)(this.dataSource)?Ue=this.dataSource:Array.isArray(this.dataSource)&&(Ue=(0,l.of)(this.dataSource)),this._renderChangeSubscription=Ue.pipe((0,r.R)(this._onDestroy)).subscribe(ot=>{this._data=ot||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Ue,ot)=>this._renderRow(this._headerRowOutlet,Ue,ot)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Ue,ot)=>this._renderRow(this._footerRowOutlet,Ue,ot)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Ue,ot){const At=Array.from(ot.columns||[]).map(dt=>this._columnDefsByName.get(dt)),qt=At.map(dt=>dt.sticky),it=At.map(dt=>dt.stickyEnd);this._stickyStyler.updateStickyColumns(Ue,qt,it,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Ue){const ot=[];for(let At=0;At!qt.when||qt.when(ot,Ue));else{let qt=this._rowDefs.find(it=>it.when&&it.when(ot,Ue))||this._defaultRowDef;qt&&At.push(qt)}return At}_getEmbeddedViewArgs(Ue,ot){return{templateRef:Ue.rowDef.template,context:{$implicit:Ue.data},index:ot}}_renderRow(Ue,ot,At,qt={}){const it=Ue.viewContainer.createEmbeddedView(ot.template,qt,At);return this._renderCellTemplateForItem(ot,qt),it}_renderCellTemplateForItem(Ue,ot){for(let At of this._getCellTemplates(Ue))Ye.mostRecentCellOutlet&&Ye.mostRecentCellOutlet._viewContainer.createEmbeddedView(At,ot);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Ue=this._rowOutlet.viewContainer;for(let ot=0,At=Ue.length;ot{const At=this._columnDefsByName.get(ot);return Ue.extractCellTemplate(At)}):[]}_applyNativeTableSections(){const Ue=this._document.createDocumentFragment(),ot=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const At of ot){const qt=this._document.createElement(At.tag);qt.setAttribute("role","rowgroup");for(const it of At.outlets)qt.appendChild(it.elementRef.nativeElement);Ue.appendChild(qt)}this._elementRef.nativeElement.appendChild(Ue)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Ue=(ot,At)=>ot||At.hasStickyChanged();this._headerRowDefs.reduce(Ue,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Ue,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Ue,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ie(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,l.of)()).pipe((0,r.R)(this._onDestroy)).subscribe(ot=>{this._stickyStyler.direction=ot,this.updateStickyColumnStyles()})}_getOwnDefs(Ue){return Ue.filter(ot=>!ot._table||ot._table===this)}_updateNoDataRow(){const Ue=this._customNoDataRow||this._noDataRow;if(!Ue)return;const ot=0===this._rowOutlet.viewContainer.length;if(ot===this._isShowingNoDataRow)return;const At=this._noDataRowOutlet.viewContainer;if(ot){const qt=At.createEmbeddedView(Ue.templateRef),it=qt.rootNodes[0];1===qt.rootNodes.length&&it?.nodeType===this._document.ELEMENT_NODE&&(it.setAttribute("role","row"),it.classList.add(Ue._contentClassName))}else At.clear();this._isShowingNoDataRow=ot,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(f.Is,8),n.\u0275\u0275directiveInject(v.DOCUMENT),n.\u0275\u0275directiveInject(y.t4),n.\u0275\u0275directiveInject(D.k),n.\u0275\u0275directiveInject(ee),n.\u0275\u0275directiveInject(u.rL),n.\u0275\u0275directiveInject(Pe,12),n.\u0275\u0275directiveInject(n.NgZone,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ot,At,qt){if(1&ot&&(n.\u0275\u0275contentQuery(qt,qe,5),n.\u0275\u0275contentQuery(qt,L,5),n.\u0275\u0275contentQuery(qt,$e,5),n.\u0275\u0275contentQuery(qt,te,5),n.\u0275\u0275contentQuery(qt,Ge,5)),2&ot){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._noDataRow=it.first),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentColumnDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentRowDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentHeaderRowDefs=it),n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(At._contentFooterRowDefs=it)}},viewQuery:function(ot,At){if(1&ot&&(n.\u0275\u0275viewQuery(Be,7),n.\u0275\u0275viewQuery(yt,7),n.\u0275\u0275viewQuery(Ot,7),n.\u0275\u0275viewQuery(Yt,7)),2&ot){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._rowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._headerRowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._footerRowOutlet=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At._noDataRowOutlet=qt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(ot,At){2&ot&&n.\u0275\u0275classProp("cdk-table-fixed-layout",At.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",n.booleanAttribute],fixedLayout:["fixedLayout","fixedLayout",n.booleanAttribute]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:T,useExisting:st},{provide:D.k,useClass:D.yy},{provide:ee,useClass:j},{provide:Pe,useValue:null}]),n.\u0275\u0275InputTransformsFeature],ngContentSelectors:b,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275projectionDef(g),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,yt,Ot,Yt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return st})();function an(st,pn){return st.concat(Array.from(pn))}let En=(()=>{class st{get name(){return this._name}set name(Ue){this._name=Ue,this._syncColumnDefName()}constructor(Ue,ot){this._table=Ue,this._options=ot,this.justify="start",this._options=ot||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((Ue,ot)=>Ue[ot])),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 Ue=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(Ue):Ue[0].toUpperCase()+Ue.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(ot){return new(ot||st)(n.\u0275\u0275directiveInject(fn,8),n.\u0275\u0275directiveInject(S,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["cdk-text-column"]],viewQuery:function(ot,At){if(1&ot&&(n.\u0275\u0275viewQuery(L,7),n.\u0275\u0275viewQuery(M,7),n.\u0275\u0275viewQuery(k,7)),2&ot){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.columnDef=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.cell=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(At.headerCell=qt.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,C,2,3,"th",1)(2,x,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[M,k,L,W,R],encapsulation:2})}return st})(),Bt=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:st});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[u.Cl]})}return st})();var Ft=_(3680),De=_(3019),Ve=_(2572),Xe=_(7398);const St=[[["caption"]],[["colgroup"],["col"]]],tt=["caption","colgroup, col"];function ut(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ue.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ue.headerText," ")}}function Oe(st,pn){if(1&st&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&st){const Ue=pn.$implicit,ot=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ot.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ot.dataAccessor(Ue,ot.name)," ")}}let Ct=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:D.k,useClass:D.eX}])]})}return st})(),Pt=(()=>{class st extends fn{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(ot,At){2&ot&&n.\u0275\u0275classProp("mdc-table-fixed-layout",At.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:fn,useExisting:st},{provide:T,useExisting:st},{provide:ee,useClass:j},{provide:D.k,useClass:D.yy},{provide:Pe,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:tt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275projectionDef(St),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,yt,Ot,Yt],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})(),Nt=(()=>{class st extends M{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:M,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),bt=(()=>{class st extends k{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:k,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),_e=(()=>{class st extends I{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:I,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),ce=(()=>{class st extends L{get name(){return this._name}set name(Ue){this._setNameInput(Ue)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:L,useExisting:st},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),z=(()=>{class st extends R{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\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"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),oe=(()=>{class st extends U{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Se=(()=>{class st extends W{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return st})(),nt=(()=>{class st extends te{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:te,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),mt=(()=>{class st extends Ge{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),He=(()=>{class st extends $e{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),rt=(()=>{class st extends Ze{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\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"],features:[n.\u0275\u0275ProvidersFeature([{provide:Ze,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Lt=(()=>{class st extends Et{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\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"],features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),Xt=(()=>{class st extends Te{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ot,At){1&ot&&n.\u0275\u0275elementContainer(0,0)},dependencies:[Ye],encapsulation:2})}return st})(),tn=(()=>{class st extends qe{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:st,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:qe,useExisting:st}]),n.\u0275\u0275InheritDefinitionFeature]})}return st})(),Nn=(()=>{class st extends En{static#e=this.\u0275fac=(()=>{let Ue;return function(At){return(Ue||(Ue=n.\u0275\u0275getInheritedFactory(st)))(At||st)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:st,selectors:[["mat-text-column"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(ot,At){1&ot&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,ut,2,3,"th",1)(2,Oe,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[bt,ce,Nt,z,Se],encapsulation:2})}return st})(),_i=(()=>{class st{static#e=this.\u0275fac=function(ot){return new(ot||st)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:st});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ft.MatCommonModule,Bt,Ft.MatCommonModule]})}return st})();class Yn extends D.o2{get data(){return this._data.value}set data(pn){pn=Array.isArray(pn)?pn:[],this._data.next(pn),this._renderChangesSubscription||this._filterData(pn)}get filter(){return this._filter.value}set filter(pn){this._filter.next(pn),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(pn){this._sort=pn,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(pn){this._paginator=pn,this._updateChangeSubscription()}constructor(pn=[]){super(),this._renderData=new h.X([]),this._filter=new h.X(""),this._internalPageChanges=new s.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(Ue,ot)=>{const At=Ue[ot];if((0,d.t6)(At)){const qt=Number(At);return qt<9007199254740991?qt:At}return At},this.sortData=(Ue,ot)=>{const At=ot.active,qt=ot.direction;return At&&""!=qt?Ue.sort((it,dt)=>{let ct=this.sortingDataAccessor(it,At),Ut=this.sortingDataAccessor(dt,At);const wt=typeof ct,vt=typeof Ut;wt!==vt&&("number"===wt&&(ct+=""),"number"===vt&&(Ut+=""));let Ht=0;return null!=ct&&null!=Ut?ct>Ut?Ht=1:ct{const At=Object.keys(Ue).reduce((it,dt)=>it+Ue[dt]+"\u25ec","").toLowerCase(),qt=ot.trim().toLowerCase();return-1!=At.indexOf(qt)},this._data=new h.X(pn),this._updateChangeSubscription()}_updateChangeSubscription(){const pn=this._sort?(0,De.T)(this._sort.sortChange,this._sort.initialized):(0,l.of)(null),Ue=this._paginator?(0,De.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,l.of)(null),At=(0,Ve.a)([this._data,this._filter]).pipe((0,Xe.U)(([dt])=>this._filterData(dt))),qt=(0,Ve.a)([At,pn]).pipe((0,Xe.U)(([dt])=>this._orderData(dt))),it=(0,Ve.a)([qt,Ue]).pipe((0,Xe.U)(([dt])=>this._pageData(dt)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=it.subscribe(dt=>this._renderData.next(dt))}_filterData(pn){return this.filteredData=null==this.filter||""===this.filter?pn:pn.filter(Ue=>this.filterPredicate(Ue,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(pn){return this.sort?this.sortData(pn.slice(),this.sort):pn}_pageData(pn){if(!this.paginator)return pn;const Ue=this.paginator.pageIndex*this.paginator.pageSize;return pn.slice(Ue,Ue+this.paginator.pageSize)}_updatePaginator(pn){Promise.resolve().then(()=>{const Ue=this.paginator;if(Ue&&(Ue.length=pn,Ue.pageIndex>0)){const ot=Math.ceil(Ue.length/Ue.pageSize)-1||0,At=Math.min(Ue.pageIndex,ot);At!==Ue.pageIndex&&(Ue.pageIndex=At,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},4104:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_TAB:()=>q,MAT_TABS_CONFIG:()=>Ft,MAT_TAB_CONTENT:()=>Ce,MAT_TAB_GROUP:()=>jt,MAT_TAB_LABEL:()=>Ae,MatInkBar:()=>me,MatPaginatedTabHeader:()=>un,MatTab:()=>cn,MatTabBody:()=>Ie,MatTabBodyPortal:()=>Ee,MatTabChangeEvent:()=>tt,MatTabContent:()=>ge,MatTabGroup:()=>St,MatTabHeader:()=>Bt,MatTabLabel:()=>Re,MatTabLabelWrapper:()=>Ot,MatTabLink:()=>Pt,MatTabNav:()=>Oe,MatTabNavPanel:()=>Nt,MatTabsModule:()=>bt,_MAT_INK_BAR_POSITIONER:()=>Be,_MAT_INK_BAR_POSITIONER_FACTORY:()=>Ne,matTabsAnimations:()=>qe});var n=_(6814),f=_(9212),D=_(3680),y=_(8484),u=_(7131),v=_(4191),s=_(9388),m=_(7394),h=_(8645),o=_(2438),l=_(2096),r=_(3019),c=_(6232),d=_(5592),g=_(9080),b=_(5619),C=_(7921),x=_(3997),w=_(9773),T=_(8180),S=_(4664),M=_(836),k=_(2181),I=_(6825),P=_(2495),A=_(6672),L=_(2831),F=_(6028);function R(_e,ce){}const U=_e=>({animationDuration:_e}),W=(_e,ce)=>({value:_e,params:ce});function ne(_e,ce){1&_e&&f.\u0275\u0275projection(0)}const ee=["*"],j=["tabListContainer"],B=["tabList"],$=["tabListInner"],Z=["nextPaginator"],H=["previousPaginator"],te=["tabBodyWrapper"],ue=["tabHeader"];function ye(_e,ce){}function Ge(_e,ce){if(1&_e&&f.\u0275\u0275template(0,ye,0,0,"ng-template",10),2&_e){const z=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275property("cdkPortalOutlet",z.templateLabel)}}function $e(_e,ce){if(1&_e&&f.\u0275\u0275text(0),2&_e){const z=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275textInterpolate(z.textLabel)}}function Ye(_e,ce){if(1&_e){const z=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"div",4,5),f.\u0275\u0275listener("click",function(){const Se=f.\u0275\u0275restoreView(z),at=Se.$implicit,nt=Se.$index,mt=f.\u0275\u0275nextContext(),He=f.\u0275\u0275reference(1);return f.\u0275\u0275resetView(mt._handleClick(at,He,nt))})("cdkFocusChange",function(Se){const nt=f.\u0275\u0275restoreView(z).$index,mt=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(mt._tabFocusChanged(Se,nt))}),f.\u0275\u0275element(2,"span",6)(3,"div",7),f.\u0275\u0275elementStart(4,"span",8)(5,"span",9),f.\u0275\u0275template(6,Ge,1,1,null,10)(7,$e,1,1),f.\u0275\u0275elementEnd()()()}if(2&_e){const z=ce.$implicit,oe=ce.$index,Se=f.\u0275\u0275reference(1),at=f.\u0275\u0275nextContext();f.\u0275\u0275classProp("mdc-tab--active",at.selectedIndex===oe),f.\u0275\u0275property("id",at._getTabLabelId(oe))("ngClass",z.labelClass)("disabled",z.disabled)("fitInkBarToContent",at.fitInkBarToContent),f.\u0275\u0275attribute("tabIndex",at._getTabIndex(oe))("aria-posinset",oe+1)("aria-setsize",at._tabs.length)("aria-controls",at._getTabContentId(oe))("aria-selected",at.selectedIndex===oe)("aria-label",z.ariaLabel||null)("aria-labelledby",!z.ariaLabel&&z.ariaLabelledby?z.ariaLabelledby:null),f.\u0275\u0275advance(3),f.\u0275\u0275property("matRippleTrigger",Se)("matRippleDisabled",z.disabled||at.disableRipple),f.\u0275\u0275advance(3),f.\u0275\u0275conditional(6,z.templateLabel?6:7)}}function Ze(_e,ce){if(1&_e){const z=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-tab-body",11),f.\u0275\u0275listener("_onCentered",function(){f.\u0275\u0275restoreView(z);const Se=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Se._removeTabBodyWrapperHeight())})("_onCentering",function(Se){f.\u0275\u0275restoreView(z);const at=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(at._setTabBodyWrapperHeight(Se))}),f.\u0275\u0275elementEnd()}if(2&_e){const z=ce.$implicit,oe=ce.$index,Se=f.\u0275\u0275nextContext();f.\u0275\u0275classProp("mat-mdc-tab-body-active",Se.selectedIndex===oe),f.\u0275\u0275property("id",Se._getTabContentId(oe))("ngClass",z.bodyClass)("content",z.content)("position",z.position)("origin",z.origin)("animationDuration",Se.animationDuration)("preserveContent",Se.preserveContent),f.\u0275\u0275attribute("tabindex",null!=Se.contentTabIndex&&Se.selectedIndex===oe?Se.contentTabIndex:null)("aria-labelledby",Se._getTabLabelId(oe))("aria-hidden",Se.selectedIndex!==oe)}}const Et=["mat-tab-nav-bar",""],Te=["mat-tab-link",""],qe={translateTab:(0,I.X$)("translateTab",[(0,I.SB)("center, void, left-origin-center, right-origin-center",(0,I.oB)({transform:"none"})),(0,I.SB)("left",(0,I.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,I.SB)("right",(0,I.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,I.eR)("* => left, * => right, left => center, right => center",(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,I.eR)("void => left-origin-center",[(0,I.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,I.eR)("void => right-origin-center",[(0,I.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,I.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Ee=(()=>{class _e extends y.Pl{constructor(z,oe,Se,at){super(z,oe,at),this._host=Se,this._centeringSub=m.w0.EMPTY,this._leavingSub=m.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,C.O)(this._host._isCenterPosition(this._host._position))).subscribe(z=>{z&&!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(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ComponentFactoryResolver),f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject((0,f.forwardRef)(()=>Ie)),f.\u0275\u0275directiveInject(n.DOCUMENT))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabBodyHost",""]],features:[f.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Ie=(()=>{class _e{set position(z){this._positionIndex=z,this._computePositionAnimationState()}constructor(z,oe,Se){this._elementRef=z,this._dir=oe,this._dirChangeSubscription=m.w0.EMPTY,this._translateTabComplete=new h.x,this._onCentering=new f.EventEmitter,this._beforeCentering=new f.EventEmitter,this._afterLeavingCenter=new f.EventEmitter,this._onCentered=new f.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,oe&&(this._dirChangeSubscription=oe.change.subscribe(at=>{this._computePositionAnimationState(at),Se.markForCheck()})),this._translateTabComplete.pipe((0,x.x)((at,nt)=>at.fromState===nt.fromState&&at.toState===nt.toState)).subscribe(at=>{this._isCenterPosition(at.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(at.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(z){const oe=this._isCenterPosition(z.toState);this._beforeCentering.emit(oe),oe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(z){return"center"==z||"left-origin-center"==z||"right-origin-center"==z}_computePositionAnimationState(z=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==z?"left":"right":this._positionIndex>0?"ltr"==z?"right":"left":"center"}_computePositionFromOrigin(z){const oe=this._getLayoutDirection();return"ltr"==oe&&z<=0||"rtl"==oe&&z>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.ChangeDetectorRef))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-body"]],viewQuery:function(oe,Se){if(1&oe&&f.\u0275\u0275viewQuery(y.Pl,5),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._portalHost=at.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(oe,Se){1&oe&&(f.\u0275\u0275elementStart(0,"div",0,1),f.\u0275\u0275listener("@translateTab.start",function(nt){return Se._onTranslateTabStarted(nt)})("@translateTab.done",function(nt){return Se._translateTabComplete.next(nt)}),f.\u0275\u0275template(2,R,0,0,"ng-template",2),f.\u0275\u0275elementEnd()),2&oe&&f.\u0275\u0275property("@translateTab",f.\u0275\u0275pureFunction2(3,W,Se._position,f.\u0275\u0275pureFunction1(1,U,Se.animationDuration)))},dependencies:[Ee],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:[qe.translateTab]}})}return _e})();const Ce=new f.InjectionToken("MatTabContent");let ge=(()=>{class _e{constructor(z){this.template=z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.TemplateRef))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabContent",""]],features:[f.\u0275\u0275ProvidersFeature([{provide:Ce,useExisting:_e}])]})}return _e})();const Ae=new f.InjectionToken("MatTabLabel"),q=new f.InjectionToken("MAT_TAB");let Re=(()=>{class _e extends y.ig{constructor(z,oe,Se){super(z,oe),this._closestTab=Se}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.TemplateRef),f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(q,8))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[f.\u0275\u0275ProvidersFeature([{provide:Ae,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature]})}return _e})();const ke="mdc-tab-indicator--active",Ke="mdc-tab-indicator--no-transition";class me{constructor(ce){this._items=ce}hide(){this._items.forEach(ce=>ce.deactivateInkBar())}alignToElement(ce){const z=this._items.find(Se=>Se.elementRef.nativeElement===ce),oe=this._currentItem;if(z!==oe&&(oe?.deactivateInkBar(),z)){const Se=oe?.elementRef.nativeElement.getBoundingClientRect?.();z.activateInkBar(Se),this._currentItem=z}}}function Pe(_e){return class extends _e{constructor(...ce){super(...ce),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(ce){const z=(0,P.Ig)(ce);this._fitToContent!==z&&(this._fitToContent=z,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(ce){const z=this.elementRef.nativeElement;if(!ce||!z.getBoundingClientRect||!this._inkBarContentElement)return void z.classList.add(ke);const oe=z.getBoundingClientRect(),Se=ce.width/oe.width,at=ce.left-oe.left;z.classList.add(Ke),this._inkBarContentElement.style.setProperty("transform",`translateX(${at}px) scaleX(${Se})`),z.getBoundingClientRect(),z.classList.remove(Ke),z.classList.add(ke),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(ke)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const ce=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=ce.createElement("span"),this._inkBarContentElement=ce.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 Ne(){return ce=>({left:ce?(ce.offsetLeft||0)+"px":"0",width:ce?(ce.offsetWidth||0)+"px":"0"})}const Be=new f.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:Ne}),yt=Pe((0,D.mixinDisabled)(class{}));let Ot=(()=>{class _e extends yt{constructor(z){super(),this.elementRef=z}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(oe,Se){2&oe&&(f.\u0275\u0275attribute("aria-disabled",!!Se.disabled),f.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[f.\u0275\u0275InheritDefinitionFeature]})}return _e})();const Yt=(0,D.mixinDisabled)(class{}),jt=new f.InjectionToken("MAT_TAB_GROUP");let cn=(()=>{class _e extends Yt{get templateLabel(){return this._templateLabel}set templateLabel(z){this._setTemplateLabelInput(z)}get content(){return this._contentPortal}constructor(z,oe){super(),this._viewContainerRef=z,this._closestTabGroup=oe,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new h.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(z){(z.hasOwnProperty("textLabel")||z.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new y.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(z){z&&z._closestTab===this&&(this._templateLabel=z)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ViewContainerRef),f.\u0275\u0275directiveInject(jt,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab"]],contentQueries:function(oe,Se,at){if(1&oe&&(f.\u0275\u0275contentQuery(at,Re,5),f.\u0275\u0275contentQuery(at,ge,7,f.TemplateRef)),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se.templateLabel=nt.first),f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._explicitContent=nt.first)}},viewQuery:function(oe,Se){if(1&oe&&f.\u0275\u0275viewQuery(f.TemplateRef,7),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._implicitContent=at.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[f.\u0275\u0275ProvidersFeature([{provide:q,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature,f.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ee,decls:1,vars:0,template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275template(0,ne,1,0,"ng-template"))},encapsulation:2})}return _e})();const fn=(0,L.i$)({passive:!0});let un=(()=>{class _e{get disablePagination(){return this._disablePagination}set disablePagination(z){this._disablePagination=(0,P.Ig)(z)}get selectedIndex(){return this._selectedIndex}set selectedIndex(z){z=(0,P.su)(z),this._selectedIndex!=z&&(this._selectedIndexChanged=!0,this._selectedIndex=z,this._keyManager&&this._keyManager.updateActiveItem(z))}constructor(z,oe,Se,at,nt,mt,He){this._elementRef=z,this._changeDetectorRef=oe,this._viewportRuler=Se,this._dir=at,this._ngZone=nt,this._platform=mt,this._animationMode=He,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new h.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new h.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new f.EventEmitter,this.indexFocused=new f.EventEmitter,nt.runOutsideAngular(()=>{(0,o.R)(z.nativeElement,"mouseleave").pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,o.R)(this._previousPaginator.nativeElement,"touchstart",fn).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,o.R)(this._nextPaginator.nativeElement,"touchstart",fn).pipe((0,w.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const z=this._dir?this._dir.change:(0,l.of)("ltr"),oe=this._viewportRuler.change(150),Se=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new v.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,T.q)(1)).subscribe(Se),(0,r.T)(z,oe,this._items.changes,this._itemsResized()).pipe((0,w.R)(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(at=>{this.indexFocused.emit(at),this._setTabFocus(at)})}_itemsResized(){return"function"!=typeof ResizeObserver?c.E:this._items.changes.pipe((0,C.O)(this._items),(0,S.w)(z=>new d.y(oe=>this._ngZone.runOutsideAngular(()=>{const Se=new ResizeObserver(at=>oe.next(at));return z.forEach(at=>Se.observe(at.elementRef.nativeElement)),()=>{Se.disconnect()}}))),(0,M.T)(1),(0,k.h)(z=>z.some(oe=>oe.contentRect.width>0&&oe.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(z){if(!(0,F.Vb)(z))switch(z.keyCode){case F.K5:case F.L_:if(this.focusIndex!==this.selectedIndex){const oe=this._items.get(this.focusIndex);oe&&!oe.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(z))}break;default:this._keyManager.onKeydown(z)}}_onContentChanges(){const z=this._elementRef.nativeElement.textContent;z!==this._currentTextContent&&(this._currentTextContent=z||"",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(z){!this._isValidIndex(z)||this.focusIndex===z||!this._keyManager||this._keyManager.setActiveItem(z)}_isValidIndex(z){return!this._items||!!this._items.toArray()[z]}_setTabFocus(z){if(this._showPaginationControls&&this._scrollToLabel(z),this._items&&this._items.length){this._items.toArray()[z].focus();const oe=this._tabListContainer.nativeElement;oe.scrollLeft="ltr"==this._getLayoutDirection()?0:oe.scrollWidth-oe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const z=this.scrollDistance,oe="ltr"===this._getLayoutDirection()?-z:z;this._tabList.nativeElement.style.transform=`translateX(${Math.round(oe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(z){this._scrollTo(z)}_scrollHeader(z){return this._scrollTo(this._scrollDistance+("before"==z?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(z){this._stopInterval(),this._scrollHeader(z)}_scrollToLabel(z){if(this.disablePagination)return;const oe=this._items?this._items.toArray()[z]:null;if(!oe)return;const Se=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:at,offsetWidth:nt}=oe.elementRef.nativeElement;let mt,He;"ltr"==this._getLayoutDirection()?(mt=at,He=mt+nt):(He=this._tabListInner.nativeElement.offsetWidth-at,mt=He-nt);const rt=this.scrollDistance,Lt=this.scrollDistance+Se;mtLt&&(this.scrollDistance+=Math.min(He-Lt,mt-rt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const z=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;z||(this.scrollDistance=0),z!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=z}}_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 z=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,oe=z?z.elementRef.nativeElement:null;oe?this._inkBar.alignToElement(oe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(z,oe){oe&&null!=oe.button&&0!==oe.button||(this._stopInterval(),(0,g.H)(650,100).pipe((0,w.R)((0,r.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Se,distance:at}=this._scrollHeader(z);(0===at||at>=Se)&&this._stopInterval()}))}_scrollTo(z){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const oe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(oe,z)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:oe,distance:this._scrollDistance}}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(A.rL),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(L.t4),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=f.\u0275\u0275defineDirective({type:_e,inputs:{disablePagination:"disablePagination"}})}return _e})(),Bt=(()=>{class _e extends un{get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=(0,P.Ig)(z)}constructor(z,oe,Se,at,nt,mt,He){super(z,oe,Se,at,nt,mt,He),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new me(this._items),super.ngAfterContentInit()}_itemSelected(z){z.preventDefault()}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(A.rL),f.\u0275\u0275directiveInject(s.Is,8),f.\u0275\u0275directiveInject(f.NgZone),f.\u0275\u0275directiveInject(L.t4),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-header"]],contentQueries:function(oe,Se,at){if(1&oe&&f.\u0275\u0275contentQuery(at,Ot,4),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._items=nt)}},viewQuery:function(oe,Se){if(1&oe&&(f.\u0275\u0275viewQuery(j,7),f.\u0275\u0275viewQuery(B,7),f.\u0275\u0275viewQuery($,7),f.\u0275\u0275viewQuery(Z,5),f.\u0275\u0275viewQuery(H,5)),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabListContainer=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabList=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabListInner=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._nextPaginator=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._previousPaginator=at.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(oe,Se){2&oe&&f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Se._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Se._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[f.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ee,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(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275elementStart(0,"button",0,1),f.\u0275\u0275listener("click",function(){return Se._handlePaginatorClick("before")})("mousedown",function(nt){return Se._handlePaginatorPress("before",nt)})("touchend",function(){return Se._stopInterval()}),f.\u0275\u0275element(2,"div",2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"div",3,4),f.\u0275\u0275listener("keydown",function(nt){return Se._handleKeydown(nt)}),f.\u0275\u0275elementStart(5,"div",5,6),f.\u0275\u0275listener("cdkObserveContent",function(){return Se._onContentChanges()}),f.\u0275\u0275elementStart(7,"div",7,8),f.\u0275\u0275projection(9),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275elementStart(10,"button",9,10),f.\u0275\u0275listener("mousedown",function(nt){return Se._handlePaginatorPress("after",nt)})("click",function(){return Se._handlePaginatorClick("after")})("touchend",function(){return Se._stopInterval()}),f.\u0275\u0275element(12,"div",2),f.\u0275\u0275elementEnd()),2&oe&&(f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollBefore),f.\u0275\u0275property("matRippleDisabled",Se._disableScrollBefore||Se.disableRipple)("disabled",Se._disableScrollBefore||null),f.\u0275\u0275advance(3),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),f.\u0275\u0275advance(7),f.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollAfter),f.\u0275\u0275property("matRippleDisabled",Se._disableScrollAfter||Se.disableRipple)("disabled",Se._disableScrollAfter||null))},dependencies:[D.MatRipple,u.wD],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 _e})();const Ft=new f.InjectionToken("MAT_TABS_CONFIG");let De=0;const Ve=(0,D.mixinColor)((0,D.mixinDisableRipple)(class{constructor(_e){this._elementRef=_e}}),"primary");let St=(()=>{class _e extends Ve{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(z){this._fitInkBarToContent=(0,P.Ig)(z),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(z){this._stretchTabs=(0,P.Ig)(z)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(z){this._dynamicHeight=(0,P.Ig)(z)}get selectedIndex(){return this._selectedIndex}set selectedIndex(z){this._indexToSelect=(0,P.su)(z,null)}get animationDuration(){return this._animationDuration}set animationDuration(z){this._animationDuration=/^\d+$/.test(z+"")?z+"ms":z}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(z){this._contentTabIndex=(0,P.su)(z,null)}get disablePagination(){return this._disablePagination}set disablePagination(z){this._disablePagination=(0,P.Ig)(z)}get preserveContent(){return this._preserveContent}set preserveContent(z){this._preserveContent=(0,P.Ig)(z)}get backgroundColor(){return this._backgroundColor}set backgroundColor(z){const oe=this._elementRef.nativeElement.classList;oe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),z&&oe.add("mat-tabs-with-background",`mat-background-${z}`),this._backgroundColor=z}constructor(z,oe,Se,at){super(z),this._changeDetectorRef=oe,this._animationMode=at,this._tabs=new f.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=m.w0.EMPTY,this._tabLabelSubscription=m.w0.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new f.EventEmitter,this.focusChange=new f.EventEmitter,this.animationDone=new f.EventEmitter,this.selectedTabChange=new f.EventEmitter(!0),this._groupId=De++,this.animationDuration=Se&&Se.animationDuration?Se.animationDuration:"500ms",this.disablePagination=!(!Se||null==Se.disablePagination)&&Se.disablePagination,this.dynamicHeight=!(!Se||null==Se.dynamicHeight)&&Se.dynamicHeight,this.contentTabIndex=Se?.contentTabIndex??null,this.preserveContent=!!Se?.preserveContent,this.fitInkBarToContent=!(!Se||null==Se.fitInkBarToContent)&&Se.fitInkBarToContent,this.stretchTabs=!Se||null==Se.stretchTabs||Se.stretchTabs}ngAfterContentChecked(){const z=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=z){const oe=null==this._selectedIndex;if(!oe){this.selectedTabChange.emit(this._createChangeEvent(z));const Se=this._tabBodyWrapper.nativeElement;Se.style.minHeight=Se.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Se,at)=>Se.isActive=at===z),oe||(this.selectedIndexChange.emit(z),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((oe,Se)=>{oe.position=Se-z,null!=this._selectedIndex&&0==oe.position&&!oe.origin&&(oe.origin=z-this._selectedIndex)}),this._selectedIndex!==z&&(this._selectedIndex=z,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const z=this._clampTabIndex(this._indexToSelect);if(z===this._selectedIndex){const oe=this._tabs.toArray();let Se;for(let at=0;at{oe[z].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(z))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,C.O)(this._allTabs)).subscribe(z=>{this._tabs.reset(z.filter(oe=>oe._closestTabGroup===this||!oe._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(z){const oe=this._tabHeader;oe&&(oe.focusIndex=z)}_focusChanged(z){this._lastFocusedTabIndex=z,this.focusChange.emit(this._createChangeEvent(z))}_createChangeEvent(z){const oe=new tt;return oe.index=z,this._tabs&&this._tabs.length&&(oe.tab=this._tabs.toArray()[z]),oe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,r.T)(...this._tabs.map(z=>z._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(z){return Math.min(this._tabs.length-1,Math.max(z||0,0))}_getTabLabelId(z){return`mat-tab-label-${this._groupId}-${z}`}_getTabContentId(z){return`mat-tab-content-${this._groupId}-${z}`}_setTabBodyWrapperHeight(z){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const oe=this._tabBodyWrapper.nativeElement;oe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(oe.style.height=z+"px")}_removeTabBodyWrapperHeight(){const z=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=z.clientHeight,z.style.height="",this.animationDone.emit()}_handleClick(z,oe,Se){oe.focusIndex=Se,z.disabled||(this.selectedIndex=Se)}_getTabIndex(z){return z===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(z,oe){z&&"mouse"!==z&&"touch"!==z&&(this._tabHeader.focusIndex=oe)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(Ft,8),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-group"]],contentQueries:function(oe,Se,at){if(1&oe&&f.\u0275\u0275contentQuery(at,cn,5),2&oe){let nt;f.\u0275\u0275queryRefresh(nt=f.\u0275\u0275loadQuery())&&(Se._allTabs=nt)}},viewQuery:function(oe,Se){if(1&oe&&(f.\u0275\u0275viewQuery(te,5),f.\u0275\u0275viewQuery(ue,5)),2&oe){let at;f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabBodyWrapper=at.first),f.\u0275\u0275queryRefresh(at=f.\u0275\u0275loadQuery())&&(Se._tabHeader=at.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(oe,Se){2&oe&&(f.\u0275\u0275styleProp("--mat-tab-animation-duration",Se.animationDuration),f.\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",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[f.\u0275\u0275ProvidersFeature([{provide:jt,useExisting:_e}]),f.\u0275\u0275InheritDefinitionFeature],decls:8,vars:5,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(oe,Se){1&oe&&(f.\u0275\u0275elementStart(0,"mat-tab-header",0,1),f.\u0275\u0275listener("indexFocused",function(nt){return Se._focusChanged(nt)})("selectFocusedIndex",function(nt){return Se.selectedIndex=nt}),f.\u0275\u0275repeaterCreate(2,Ye,8,16,"div",12,f.\u0275\u0275repeaterTrackByIdentity),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(4,"div",2,3),f.\u0275\u0275repeaterCreate(6,Ze,1,12,"mat-tab-body",13,f.\u0275\u0275repeaterTrackByIdentity),f.\u0275\u0275elementEnd()),2&oe&&(f.\u0275\u0275property("selectedIndex",Se.selectedIndex||0)("disableRipple",Se.disableRipple)("disablePagination",Se.disablePagination),f.\u0275\u0275advance(2),f.\u0275\u0275repeater(Se._tabs),f.\u0275\u0275advance(2),f.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),f.\u0275\u0275advance(2),f.\u0275\u0275repeater(Se._tabs))},dependencies:[n.NgClass,y.Pl,D.MatRipple,v.kH,Ie,Ot,Bt],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 _e})();class tt{}let ut=0,Oe=(()=>{class _e extends un{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(z){this._fitInkBarToContent.next((0,P.Ig)(z)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(z){this._stretchTabs=(0,P.Ig)(z)}get animationDuration(){return this._animationDuration}set animationDuration(z){this._animationDuration=/^\d+$/.test(z+"")?z+"ms":z}get backgroundColor(){return this._backgroundColor}set backgroundColor(z){const oe=this._elementRef.nativeElement.classList;oe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),z&&oe.add("mat-tabs-with-background",`mat-background-${z}`),this._backgroundColor=z}get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=(0,P.Ig)(z)}constructor(z,oe,Se,at,nt,mt,He,rt){super(z,at,nt,oe,Se,mt,He),this._fitInkBarToContent=new b.X(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=!(!rt||null==rt.disablePagination)&&rt.disablePagination,this.fitInkBarToContent=!(!rt||null==rt.fitInkBarToContent)&&rt.fitInkBarToContent,this.stretchTabs=!rt||null==rt.stretchTabs||rt.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new me(this._items),this._items.changes.pipe((0,C.O)(null),(0,w.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const z=this._items.toArray();for(let oe=0;oe.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 _e})();const Ct=Pe((0,D.mixinTabIndex)((0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}))));let Pt=(()=>{class _e extends Ct{get active(){return this._isActive}set active(z){const oe=(0,P.Ig)(z);oe!==this._isActive&&(this._isActive=oe,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(z,oe,Se,at,nt,mt){super(),this._tabNavBar=z,this.elementRef=oe,this._focusMonitor=nt,this._destroyed=new h.x,this._isActive=!1,this.id="mat-tab-link-"+ut++,this.rippleConfig=Se||{},this.tabIndex=parseInt(at)||0,"NoopAnimations"===mt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),z._fitInkBarToContent.pipe((0,w.R)(this._destroyed)).subscribe(He=>{this.fitInkBarToContent=He})}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(z){(z.keyCode===F.L_||z.keyCode===F.K5)&&(this.disabled?z.preventDefault():this._tabNavBar.tabPanel&&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.tabIndex}static#e=this.\u0275fac=function(oe){return new(oe||_e)(f.\u0275\u0275directiveInject(Oe),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(D.MAT_RIPPLE_GLOBAL_OPTIONS,8),f.\u0275\u0275injectAttribute("tabindex"),f.\u0275\u0275directiveInject(v.tE),f.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(oe,Se){1&oe&&f.\u0275\u0275listener("focus",function(){return Se._handleFocus()})("keydown",function(nt){return Se._handleKeydown(nt)}),2&oe&&(f.\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()),f.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled)("mdc-tab--active",Se.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[f.\u0275\u0275InheritDefinitionFeature],attrs:Te,ngContentSelectors:ee,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(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275element(0,"span",0)(1,"div",1),f.\u0275\u0275elementStart(2,"span",2)(3,"span",3),f.\u0275\u0275projection(4),f.\u0275\u0275elementEnd()()),2&oe&&(f.\u0275\u0275advance(1),f.\u0275\u0275property("matRippleTrigger",Se.elementRef.nativeElement)("matRippleDisabled",Se.rippleDisabled))},dependencies:[D.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 _e})(),Nt=(()=>{class _e{constructor(){this.id="mat-tab-nav-panel-"+ut++}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:_e,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(oe,Se){2&oe&&f.\u0275\u0275attribute("aria-labelledby",Se._activeTabId)("id",Se.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:ee,decls:1,vars:0,template:function(oe,Se){1&oe&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return _e})(),bt=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[n.CommonModule,D.MatCommonModule,y.eL,D.MatRippleModule,u.Q8,v.rt,D.MatCommonModule]})}return _e})()},1274:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MatToolbar:()=>h,MatToolbarModule:()=>l,MatToolbarRow:()=>m,throwToolbarMixedModesError:()=>o});var n=_(9212),f=_(3680),D=_(2831),y=_(6814);const u=["*",[["mat-toolbar-row"]]],v=["*","mat-toolbar-row"],s=(0,f.mixinColor)(class{constructor(r){this._elementRef=r}});let m=(()=>{class r{static#e=this.\u0275fac=function(g){return new(g||r)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:r,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return r})(),h=(()=>{class r extends s{constructor(d,g,b){super(d),this._platform=g,this._document=b}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(g){return new(g||r)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(D.t4),n.\u0275\u0275directiveInject(y.DOCUMENT))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["mat-toolbar"]],contentQueries:function(g,b,C){if(1&g&&n.\u0275\u0275contentQuery(C,m,5),2&g){let x;n.\u0275\u0275queryRefresh(x=n.\u0275\u0275loadQuery())&&(b._toolbarRows=x)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(g,b){2&g&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",b._toolbarRows.length>0)("mat-toolbar-single-row",0===b._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:v,decls:2,vars:0,template:function(g,b){1&g&&(n.\u0275\u0275projectionDef(u),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return r})();function o(){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 r{static#e=this.\u0275fac=function(g){return new(g||r)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:r});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.MatCommonModule,f.MatCommonModule]})}return r})()},2596:(Me,ie,_)=>{"use strict";_.d(ie,{AV:()=>B,gM:()=>ne});var n=_(9773),f=_(8180),D=_(2495),y=_(6028),u=_(9212),v=_(6814),s=_(2831),m=_(4191),h=_(9388),o=_(9594),l=_(6672),r=_(8484),c=_(8645),g=(_(6825),_(3680));const b=["tooltip"],w=new u.InjectionToken("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const $=(0,u.inject)(o.aV);return()=>$.scrollStrategies.reposition({scrollThrottle:20})}}),S={provide:w,deps:[o.aV],useFactory:function T($){return()=>$.scrollStrategies.reposition({scrollThrottle:20})}},k=new u.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function M(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),P="tooltip-panel",A=(0,s.i$)({passive:!0});let ne=(()=>{class ${get position(){return this._position}set position(H){H!==this._position&&(this._position=H,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(H){this._positionAtOrigin=(0,D.Ig)(H),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,D.Ig)(H),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(H){this._showDelay=(0,D.su)(H)}get hideDelay(){return this._hideDelay}set hideDelay(H){this._hideDelay=(0,D.su)(H),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(H){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=H?String(H).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(H){this._tooltipClass=H,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(H,te,ue,ye,Ge,$e,Ye,Ze,Et,Te,qe,Ee){this._overlay=H,this._elementRef=te,this._scrollDispatcher=ue,this._viewContainerRef=ye,this._ngZone=Ge,this._platform=$e,this._ariaDescriber=Ye,this._focusMonitor=Ze,this._dir=Te,this._defaultOptions=qe,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 c.x,this._scrollStrategy=Et,this._document=Ee,qe&&(this._showDelay=qe.showDelay,this._hideDelay=qe.hideDelay,qe.position&&(this.position=qe.position),qe.positionAtOrigin&&(this.positionAtOrigin=qe.positionAtOrigin),qe.touchGestures&&(this.touchGestures=qe.touchGestures)),Te.change.pipe((0,n.R)(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,n.R)(this._destroyed)).subscribe(H=>{H?"keyboard"===H&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const H=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([te,ue])=>{H.removeEventListener(te,ue,A)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(H,this.message,"tooltip"),this._focusMonitor.stopMonitoring(H)}show(H=this.showDelay,te){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ue=this._createOverlay(te);this._detach(),this._portal=this._portal||new r.C5(this._tooltipComponent,this._viewContainerRef);const ye=this._tooltipInstance=ue.attach(this._portal).instance;ye._triggerElement=this._elementRef.nativeElement,ye._mouseLeaveHideDelay=this._hideDelay,ye.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ye.show(H)}hide(H=this.hideDelay){const te=this._tooltipInstance;te&&(te.isVisible()?te.hide(H):(te._cancelPendingAnimations(),this._detach()))}toggle(H){this._isTooltipVisible()?this.hide():this.show(void 0,H)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(H){if(this._overlayRef){const ye=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!H)&&ye._origin instanceof u.ElementRef)return this._overlayRef;this._detach()}const te=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ue=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&H||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(te);return ue.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(ye=>{this._updateCurrentPositionClass(ye.connectionPair),this._tooltipInstance&&ye.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ue,panelClass:`${this._cssClassPrefix}-${P}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(ye=>{this._isTooltipVisible()&&ye.keyCode===y.hY&&!(0,y.Vb)(ye)&&(ye.preventDefault(),ye.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(H){const te=H.getConfig().positionStrategy,ue=this._getOrigin(),ye=this._getOverlayPosition();te.withPositions([this._addOffset({...ue.main,...ye.main}),this._addOffset({...ue.fallback,...ye.fallback})])}_addOffset(H){const ue=!this._dir||"ltr"==this._dir.value;return"top"===H.originY?H.offsetY=-8:"bottom"===H.originY?H.offsetY=8:"start"===H.originX?H.offsetX=ue?-8:8:"end"===H.originX&&(H.offsetX=ue?8:-8),H}_getOrigin(){const H=!this._dir||"ltr"==this._dir.value,te=this.position;let ue;"above"==te||"below"==te?ue={originX:"center",originY:"above"==te?"top":"bottom"}:"before"==te||"left"==te&&H||"right"==te&&!H?ue={originX:"start",originY:"center"}:("after"==te||"right"==te&&H||"left"==te&&!H)&&(ue={originX:"end",originY:"center"});const{x:ye,y:Ge}=this._invertPosition(ue.originX,ue.originY);return{main:ue,fallback:{originX:ye,originY:Ge}}}_getOverlayPosition(){const H=!this._dir||"ltr"==this._dir.value,te=this.position;let ue;"above"==te?ue={overlayX:"center",overlayY:"bottom"}:"below"==te?ue={overlayX:"center",overlayY:"top"}:"before"==te||"left"==te&&H||"right"==te&&!H?ue={overlayX:"end",overlayY:"center"}:("after"==te||"right"==te&&H||"left"==te&&!H)&&(ue={overlayX:"start",overlayY:"center"});const{x:ye,y:Ge}=this._invertPosition(ue.overlayX,ue.overlayY);return{main:ue,fallback:{overlayX:ye,overlayY:Ge}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,f.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(H){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=H,this._tooltipInstance._markForCheck())}_invertPosition(H,te){return"above"===this.position||"below"===this.position?"top"===te?te="bottom":"bottom"===te&&(te="top"):"end"===H?H="start":"start"===H&&(H="end"),{x:H,y:te}}_updateCurrentPositionClass(H){const{overlayY:te,originX:ue,originY:ye}=H;let Ge;if(Ge="center"===te?this._dir&&"rtl"===this._dir.value?"end"===ue?"left":"right":"start"===ue?"left":"right":"bottom"===te&&"top"===ye?"above":"below",Ge!==this._currentPosition){const $e=this._overlayRef;if($e){const Ye=`${this._cssClassPrefix}-${P}-`;$e.removePanelClass(Ye+this._currentPosition),$e.addPanelClass(Ye+Ge)}this._currentPosition=Ge}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",H=>{let te;this._setupPointerExitEventsIfNeeded(),void 0!==H.x&&void 0!==H.y&&(te=H),this.show(void 0,te)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",H=>{const te=H.targetTouches?.[0],ue=te?{x:te.clientX,y:te.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,ue),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const H=[];if(this._platformSupportsMouseEvents())H.push(["mouseleave",te=>{const ue=te.relatedTarget;(!ue||!this._overlayRef?.overlayElement.contains(ue))&&this.hide()}],["wheel",te=>this._wheelListener(te)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const te=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};H.push(["touchend",te],["touchcancel",te])}this._addListeners(H),this._passiveListeners.push(...H)}_addListeners(H){H.forEach(([te,ue])=>{this._elementRef.nativeElement.addEventListener(te,ue,A)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(H){if(this._isTooltipVisible()){const te=this._document.elementFromPoint(H.clientX,H.clientY),ue=this._elementRef.nativeElement;te!==ue&&!ue.contains(te)&&this.hide()}}_disableNativeGesturesIfNecessary(){const H=this.touchGestures;if("off"!==H){const te=this._elementRef.nativeElement,ue=te.style;("on"===H||"INPUT"!==te.nodeName&&"TEXTAREA"!==te.nodeName)&&(ue.userSelect=ue.msUserSelect=ue.webkitUserSelect=ue.MozUserSelect="none"),("on"===H||!te.draggable)&&(ue.webkitUserDrag="none"),ue.touchAction="none",ue.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(te){return new(te||$)(u.\u0275\u0275directiveInject(o.aV),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(l.mF),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(s.t4),u.\u0275\u0275directiveInject(m.$s),u.\u0275\u0275directiveInject(m.tE),u.\u0275\u0275directiveInject(w),u.\u0275\u0275directiveInject(h.Is),u.\u0275\u0275directiveInject(k,8),u.\u0275\u0275directiveInject(v.DOCUMENT))};static#t=this.\u0275dir=u.\u0275\u0275defineDirective({type:$,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(te,ue){2&te&&u.\u0275\u0275classProp("mat-mdc-tooltip-disabled",ue.disabled)},inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return $})(),ee=(()=>{class ${constructor(H,te,ue){this._changeDetectorRef=H,this._elementRef=te,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new c.x,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===ue}show(H){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},H)}hide(H){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},H)}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:H}){(!H||!this._triggerElement.contains(H))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const H=this._elementRef.nativeElement.getBoundingClientRect();return H.height>24&&H.width>=200}_handleAnimationEnd({animationName:H}){(H===this._showAnimation||H===this._hideAnimation)&&this._finalizeAnimation(H===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(H){H?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(H){const te=this._tooltip.nativeElement,ue=this._showAnimation,ye=this._hideAnimation;if(te.classList.remove(H?ye:ue),te.classList.add(H?ue:ye),this._isVisible=H,H&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ge=getComputedStyle(te);("0s"===Ge.getPropertyValue("animation-duration")||"none"===Ge.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}H&&this._onShow(),this._animationsDisabled&&(te.classList.add("_mat-animation-noopable"),this._finalizeAnimation(H))}static#e=this.\u0275fac=function(te){return new(te||$)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=u.\u0275\u0275defineComponent({type:$,selectors:[["mat-tooltip-component"]],viewQuery:function(te,ue){if(1&te&&u.\u0275\u0275viewQuery(b,7),2&te){let ye;u.\u0275\u0275queryRefresh(ye=u.\u0275\u0275loadQuery())&&(ue._tooltip=ye.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(te,ue){1&te&&u.\u0275\u0275listener("mouseleave",function(Ge){return ue._handleMouseLeave(Ge)}),2&te&&u.\u0275\u0275styleProp("zoom",ue.isVisible()?1:null)},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(te,ue){1&te&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("animationend",function(Ge){return ue._handleAnimationEnd(Ge)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()()),2&te&&(u.\u0275\u0275classProp("mdc-tooltip--multiline",ue._isMultiline),u.\u0275\u0275property("ngClass",ue.tooltipClass),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(ue.message))},dependencies:[v.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 $})(),B=(()=>{class ${static#e=this.\u0275fac=function(te){return new(te||$)};static#t=this.\u0275mod=u.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=u.\u0275\u0275defineInjector({providers:[S],imports:[m.rt,v.CommonModule,o.U8,g.MatCommonModule,g.MatCommonModule,l.ZD]})}return $})()},6593:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{BrowserModule:()=>Ce,By:()=>jt,DomSanitizer:()=>De,EVENT_MANAGER_PLUGINS:()=>l,EventManager:()=>r,EventManagerPlugin:()=>c,HAMMER_GESTURE_CONFIG:()=>an,HAMMER_LOADER:()=>En,HammerGestureConfig:()=>un,HammerModule:()=>Ft,Meta:()=>Ae,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>M,Title:()=>ke,TransferState:()=>bt,VERSION:()=>Pt,bootstrapApplication:()=>te,createApplication:()=>ue,disableDebugTools:()=>Yt,enableDebugTools:()=>Ot,makeStateKey:()=>Nt,platformBrowser:()=>Te,provideClientHydration:()=>Ct,provideProtractorTestingSupport:()=>Ge,withHttpTransferCacheOptions:()=>ut,withNoHttpTransferCache:()=>tt,\u0275BrowserDomAdapter:()=>u,\u0275BrowserGetTestability:()=>h,\u0275DomEventsPlugin:()=>j,\u0275DomRendererFactory2:()=>A,\u0275DomSanitizerImpl:()=>Xe,\u0275HammerGesturesPlugin:()=>Bt,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Et,\u0275KeyEventsPlugin:()=>H,\u0275SharedStylesHost:()=>g,\u0275getDOM:()=>f.\u0275getDOM,\u0275initDomAdapter:()=>$e});var n=_(9212),f=_(6814),D=_(9862);class y extends f.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends y{static makeCurrent(){(0,f.\u0275setRootDomAdapter)(new u)}onAndCancel(ce,z,oe){return ce.addEventListener(z,oe),()=>{ce.removeEventListener(z,oe)}}dispatchEvent(ce,z){ce.dispatchEvent(z)}remove(ce){ce.parentNode&&ce.parentNode.removeChild(ce)}createElement(ce,z){return(z=z||this.getDefaultDocument()).createElement(ce)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ce){return ce.nodeType===Node.ELEMENT_NODE}isShadowRoot(ce){return ce instanceof DocumentFragment}getGlobalEventTarget(ce,z){return"window"===z?window:"document"===z?ce:"body"===z?ce.body:null}getBaseHref(ce){const z=function s(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==z?null:function m(_e){return new URL(_e,document.baseURI).pathname}(z)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(ce){return(0,f.\u0275parseCookieValue)(document.cookie,ce)}}let v=null;class h{addToWindow(ce){n.\u0275global.getAngularTestability=(oe,Se=!0)=>{const at=ce.findTestabilityInTree(oe,Se);if(null==at)throw new n.\u0275RuntimeError(5103,!1);return at},n.\u0275global.getAllAngularTestabilities=()=>ce.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>ce.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(oe=>{const Se=n.\u0275global.getAllAngularTestabilities();let at=Se.length,nt=!1;const mt=function(He){nt=nt||He,at--,0==at&&oe(nt)};Se.forEach(He=>{He.whenStable(mt)})})}findTestabilityInTree(ce,z,oe){return null==z?null:ce.getTestability(z)??(oe?(0,f.\u0275getDOM)().isShadowRoot(z)?this.findTestabilityInTree(ce,z.host,!0):this.findTestabilityInTree(ce,z.parentElement,!0):null)}}let o=(()=>{class _e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const l=new n.InjectionToken("EventManagerPlugins");let r=(()=>{class _e{constructor(z,oe){this._zone=oe,this._eventNameToPlugin=new Map,z.forEach(Se=>{Se.manager=this}),this._plugins=z.slice().reverse()}addEventListener(z,oe,Se){return this._findPluginFor(oe).addEventListener(z,oe,Se)}getZone(){return this._zone}_findPluginFor(z){let oe=this._eventNameToPlugin.get(z);if(oe)return oe;if(oe=this._plugins.find(at=>at.supports(z)),!oe)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(z,oe),oe}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();class c{constructor(ce){this._doc=ce}}const d="ng-app-id";let g=(()=>{class _e{constructor(z,oe,Se,at={}){this.doc=z,this.appId=oe,this.nonce=Se,this.platformId=at,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,f.isPlatformServer)(at),this.resetHostNodes()}addStyles(z){for(const oe of z)1===this.changeUsageCount(oe,1)&&this.onStyleAdded(oe)}removeStyles(z){for(const oe of z)this.changeUsageCount(oe,-1)<=0&&this.onStyleRemoved(oe)}ngOnDestroy(){const z=this.styleNodesInDOM;z&&(z.forEach(oe=>oe.remove()),z.clear());for(const oe of this.getAllStyles())this.onStyleRemoved(oe);this.resetHostNodes()}addHost(z){this.hostNodes.add(z);for(const oe of this.getAllStyles())this.addStyleToHost(z,oe)}removeHost(z){this.hostNodes.delete(z)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(z){for(const oe of this.hostNodes)this.addStyleToHost(oe,z)}onStyleRemoved(z){const oe=this.styleRef;oe.get(z)?.elements?.forEach(Se=>Se.remove()),oe.delete(z)}collectServerRenderedStyles(){const z=this.doc.head?.querySelectorAll(`style[${d}="${this.appId}"]`);if(z?.length){const oe=new Map;return z.forEach(Se=>{null!=Se.textContent&&oe.set(Se.textContent,Se)}),oe}return null}changeUsageCount(z,oe){const Se=this.styleRef;if(Se.has(z)){const at=Se.get(z);return at.usage+=oe,at.usage}return Se.set(z,{usage:oe,elements:[]}),oe}getStyleElement(z,oe){const Se=this.styleNodesInDOM,at=Se?.get(oe);if(at?.parentNode===z)return Se.delete(oe),at.removeAttribute(d),at;{const nt=this.doc.createElement("style");return this.nonce&&nt.setAttribute("nonce",this.nonce),nt.textContent=oe,this.platformIsServer&&nt.setAttribute(d,this.appId),z.appendChild(nt),nt}}addStyleToHost(z,oe){const Se=this.getStyleElement(z,oe),at=this.styleRef,nt=at.get(oe)?.elements;nt?nt.push(Se):at.set(oe,{elements:[Se],usage:1})}resetHostNodes(){const z=this.hostNodes;z.clear(),z.add(this.doc.head)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const b={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/"},C=/%COMP%/g,x="%COMP%",w=`_nghost-${x}`,T=`_ngcontent-${x}`,M=new n.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function P(_e,ce){return ce.map(z=>z.replace(C,_e))}let A=(()=>{class _e{constructor(z,oe,Se,at,nt,mt,He,rt=null){this.eventManager=z,this.sharedStylesHost=oe,this.appId=Se,this.removeStylesOnCompDestroy=at,this.doc=nt,this.platformId=mt,this.ngZone=He,this.nonce=rt,this.rendererByCompId=new Map,this.platformIsServer=(0,f.isPlatformServer)(mt),this.defaultRenderer=new L(z,nt,He,this.platformIsServer)}createRenderer(z,oe){if(!z||!oe)return this.defaultRenderer;this.platformIsServer&&oe.encapsulation===n.ViewEncapsulation.ShadowDom&&(oe={...oe,encapsulation:n.ViewEncapsulation.Emulated});const Se=this.getOrCreateRenderer(z,oe);return Se instanceof ee?Se.applyToHost(z):Se instanceof ne&&Se.applyStyles(),Se}getOrCreateRenderer(z,oe){const Se=this.rendererByCompId;let at=Se.get(oe.id);if(!at){const nt=this.doc,mt=this.ngZone,He=this.eventManager,rt=this.sharedStylesHost,Lt=this.removeStylesOnCompDestroy,Xt=this.platformIsServer;switch(oe.encapsulation){case n.ViewEncapsulation.Emulated:at=new ee(He,rt,oe,this.appId,Lt,nt,mt,Xt);break;case n.ViewEncapsulation.ShadowDom:return new W(He,rt,z,oe,nt,mt,this.nonce,Xt);default:at=new ne(He,rt,oe,Lt,nt,mt,Xt)}Se.set(oe.id,at)}return at}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(r),n.\u0275\u0275inject(g),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(M),n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();class L{constructor(ce,z,oe,Se){this.eventManager=ce,this.doc=z,this.ngZone=oe,this.platformIsServer=Se,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ce,z){return z?this.doc.createElementNS(b[z]||z,ce):this.doc.createElement(ce)}createComment(ce){return this.doc.createComment(ce)}createText(ce){return this.doc.createTextNode(ce)}appendChild(ce,z){(U(ce)?ce.content:ce).appendChild(z)}insertBefore(ce,z,oe){ce&&(U(ce)?ce.content:ce).insertBefore(z,oe)}removeChild(ce,z){ce&&ce.removeChild(z)}selectRootElement(ce,z){let oe="string"==typeof ce?this.doc.querySelector(ce):ce;if(!oe)throw new n.\u0275RuntimeError(-5104,!1);return z||(oe.textContent=""),oe}parentNode(ce){return ce.parentNode}nextSibling(ce){return ce.nextSibling}setAttribute(ce,z,oe,Se){if(Se){z=Se+":"+z;const at=b[Se];at?ce.setAttributeNS(at,z,oe):ce.setAttribute(z,oe)}else ce.setAttribute(z,oe)}removeAttribute(ce,z,oe){if(oe){const Se=b[oe];Se?ce.removeAttributeNS(Se,z):ce.removeAttribute(`${oe}:${z}`)}else ce.removeAttribute(z)}addClass(ce,z){ce.classList.add(z)}removeClass(ce,z){ce.classList.remove(z)}setStyle(ce,z,oe,Se){Se&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?ce.style.setProperty(z,oe,Se&n.RendererStyleFlags2.Important?"important":""):ce.style[z]=oe}removeStyle(ce,z,oe){oe&n.RendererStyleFlags2.DashCase?ce.style.removeProperty(z):ce.style[z]=""}setProperty(ce,z,oe){null!=ce&&(ce[z]=oe)}setValue(ce,z){ce.nodeValue=z}listen(ce,z,oe){if("string"==typeof ce&&!(ce=(0,f.\u0275getDOM)().getGlobalEventTarget(this.doc,ce)))throw new Error(`Unsupported event target ${ce} for event ${z}`);return this.eventManager.addEventListener(ce,z,this.decoratePreventDefault(oe))}decoratePreventDefault(ce){return z=>{if("__ngUnwrap__"===z)return ce;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ce(z)):ce(z))&&z.preventDefault()}}}function U(_e){return"TEMPLATE"===_e.tagName&&void 0!==_e.content}class W extends L{constructor(ce,z,oe,Se,at,nt,mt,He){super(ce,at,nt,He),this.sharedStylesHost=z,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const rt=P(Se.id,Se.styles);for(const Lt of rt){const Xt=document.createElement("style");mt&&Xt.setAttribute("nonce",mt),Xt.textContent=Lt,this.shadowRoot.appendChild(Xt)}}nodeOrShadowRoot(ce){return ce===this.hostEl?this.shadowRoot:ce}appendChild(ce,z){return super.appendChild(this.nodeOrShadowRoot(ce),z)}insertBefore(ce,z,oe){return super.insertBefore(this.nodeOrShadowRoot(ce),z,oe)}removeChild(ce,z){return super.removeChild(this.nodeOrShadowRoot(ce),z)}parentNode(ce){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ce)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ne extends L{constructor(ce,z,oe,Se,at,nt,mt,He){super(ce,at,nt,mt),this.sharedStylesHost=z,this.removeStylesOnCompDestroy=Se,this.styles=He?P(He,oe.styles):oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ee extends ne{constructor(ce,z,oe,Se,at,nt,mt,He){const rt=Se+"-"+oe.id;super(ce,z,oe,at,nt,mt,He,rt),this.contentAttr=function k(_e){return T.replace(C,_e)}(rt),this.hostAttr=function I(_e){return w.replace(C,_e)}(rt)}applyToHost(ce){this.applyStyles(),this.setAttribute(ce,this.hostAttr,"")}createElement(ce,z){const oe=super.createElement(ce,z);return super.setAttribute(oe,this.contentAttr,""),oe}}let j=(()=>{class _e extends c{constructor(z){super(z)}supports(z){return!0}addEventListener(z,oe,Se){return z.addEventListener(oe,Se,!1),()=>this.removeEventListener(z,oe,Se)}removeEventListener(z,oe,Se){return z.removeEventListener(oe,Se)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const B=["alt","control","meta","shift"],$={"\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"},Z={alt:_e=>_e.altKey,control:_e=>_e.ctrlKey,meta:_e=>_e.metaKey,shift:_e=>_e.shiftKey};let H=(()=>{class _e extends c{constructor(z){super(z)}supports(z){return null!=_e.parseEventName(z)}addEventListener(z,oe,Se){const at=_e.parseEventName(oe),nt=_e.eventCallback(at.fullKey,Se,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,f.\u0275getDOM)().onAndCancel(z,at.domEventName,nt))}static parseEventName(z){const oe=z.toLowerCase().split("."),Se=oe.shift();if(0===oe.length||"keydown"!==Se&&"keyup"!==Se)return null;const at=_e._normalizeKey(oe.pop());let nt="",mt=oe.indexOf("code");if(mt>-1&&(oe.splice(mt,1),nt="code."),B.forEach(rt=>{const Lt=oe.indexOf(rt);Lt>-1&&(oe.splice(Lt,1),nt+=rt+".")}),nt+=at,0!=oe.length||0===at.length)return null;const He={};return He.domEventName=Se,He.fullKey=nt,He}static matchEventFullKeyCode(z,oe){let Se=$[z.key]||z.key,at="";return oe.indexOf("code.")>-1&&(Se=z.code,at="code."),!(null==Se||!Se)&&(Se=Se.toLowerCase()," "===Se?Se="space":"."===Se&&(Se="dot"),B.forEach(nt=>{nt!==Se&&(0,Z[nt])(z)&&(at+=nt+".")}),at+=Se,at===oe)}static eventCallback(z,oe,Se){return at=>{_e.matchEventFullKeyCode(at,z)&&Se.runGuarded(()=>oe(at))}}static _normalizeKey(z){return"esc"===z?"escape":z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();function te(_e,ce){return(0,n.\u0275internalCreateApplication)({rootComponent:_e,...ye(ce)})}function ue(_e){return(0,n.\u0275internalCreateApplication)(ye(_e))}function ye(_e){return{appProviders:[...Ie,..._e?.providers??[]],platformProviders:Et}}function Ge(){return[...Ee]}function $e(){u.makeCurrent()}const Et=[{provide:n.PLATFORM_ID,useValue:f.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:$e,multi:!0},{provide:f.DOCUMENT,useFactory:function Ze(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Te=(0,n.createPlatformFactory)(n.platformCore,"browser",Et),qe=new n.InjectionToken(""),Ee=[{provide:n.\u0275TESTABILITY_GETTER,useClass:h,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],Ie=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Ye(){return new n.ErrorHandler},deps:[]},{provide:l,useClass:j,multi:!0,deps:[f.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:l,useClass:H,multi:!0,deps:[f.DOCUMENT]},A,g,r,{provide:n.RendererFactory2,useExisting:A},{provide:f.XhrFactory,useClass:o,deps:[]},[]];let Ce=(()=>{class _e{constructor(z){}static withServerTransition(z){return{ngModule:_e,providers:[{provide:n.APP_ID,useValue:z.appId}]}}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(qe,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...Ie,...Ee],imports:[f.CommonModule,n.ApplicationModule]})}return _e})(),Ae=(()=>{class _e{constructor(z){this._doc=z,this._dom=(0,f.\u0275getDOM)()}addTag(z,oe=!1){return z?this._getOrCreateElement(z,oe):null}addTags(z,oe=!1){return z?z.reduce((Se,at)=>(at&&Se.push(this._getOrCreateElement(at,oe)),Se),[]):[]}getTag(z){return z&&this._doc.querySelector(`meta[${z}]`)||null}getTags(z){if(!z)return[];const oe=this._doc.querySelectorAll(`meta[${z}]`);return oe?[].slice.call(oe):[]}updateTag(z,oe){if(!z)return null;oe=oe||this._parseSelector(z);const Se=this.getTag(oe);return Se?this._setMetaElementAttributes(z,Se):this._getOrCreateElement(z,!0)}removeTag(z){this.removeTagElement(this.getTag(z))}removeTagElement(z){z&&this._dom.remove(z)}_getOrCreateElement(z,oe=!1){if(!oe){const nt=this._parseSelector(z),mt=this.getTags(nt).filter(He=>this._containsAttributes(z,He))[0];if(void 0!==mt)return mt}const Se=this._dom.createElement("meta");return this._setMetaElementAttributes(z,Se),this._doc.getElementsByTagName("head")[0].appendChild(Se),Se}_setMetaElementAttributes(z,oe){return Object.keys(z).forEach(Se=>oe.setAttribute(this._getMetaKeyMap(Se),z[Se])),oe}_parseSelector(z){const oe=z.name?"name":"property";return`${oe}="${z[oe]}"`}_containsAttributes(z,oe){return Object.keys(z).every(Se=>oe.getAttribute(this._getMetaKeyMap(Se))===z[Se])}_getMetaKeyMap(z){return q[z]||z}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function ge(){return new Ae((0,n.\u0275\u0275inject)(f.DOCUMENT))}(),Se},providedIn:"root"})}return _e})();const q={httpEquiv:"http-equiv"};let ke=(()=>{class _e{constructor(z){this._doc=z}getTitle(){return this._doc.title}setTitle(z){this._doc.title=z||""}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function Re(){return new ke((0,n.\u0275\u0275inject)(f.DOCUMENT))}(),Se},providedIn:"root"})}return _e})();function Ke(_e,ce){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[_e]=ce)}const me=typeof window<"u"&&window||{};class Pe{constructor(ce,z){this.msPerTick=ce,this.numTicks=z}}class Ne{constructor(ce){this.appRef=ce.injector.get(n.ApplicationRef)}timeChangeDetection(ce){const z=ce&&ce.record,oe="Change Detection",Se=null!=me.console.profile;z&&Se&&me.console.profile(oe);const at=Be();let nt=0;for(;nt<5||Be()-at<500;)this.appRef.tick(),nt++;const mt=Be();z&&Se&&me.console.profileEnd(oe);const He=(mt-at)/nt;return me.console.log(`ran ${nt} change detection cycles`),me.console.log(`${He.toFixed(2)} ms per check`),new Pe(He,nt)}}function Be(){return me.performance&&me.performance.now?me.performance.now():(new Date).getTime()}const yt="profiler";function Ot(_e){return Ke(yt,new Ne(_e)),_e}function Yt(){Ke(yt,null)}class jt{static all(){return()=>!0}static css(ce){return z=>null!=z.nativeElement&&function cn(_e,ce){return!!(0,f.\u0275getDOM)().isElementNode(_e)&&(_e.matches&&_e.matches(ce)||_e.msMatchesSelector&&_e.msMatchesSelector(ce)||_e.webkitMatchesSelector&&_e.webkitMatchesSelector(ce))}(z.nativeElement,ce)}static directive(ce){return z=>-1!==z.providerTokens.indexOf(ce)}}const fn={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},an=new n.InjectionToken("HammerGestureConfig"),En=new n.InjectionToken("HammerLoader");let un=(()=>{class _e{constructor(){this.events=[],this.overrides={}}buildHammer(z){const oe=new Hammer(z,this.options);oe.get("pinch").set({enable:!0}),oe.get("rotate").set({enable:!0});for(const Se in this.overrides)oe.get(Se).set(this.overrides[Se]);return oe}static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Bt=(()=>{class _e extends c{constructor(z,oe,Se,at){super(z),this._config=oe,this.console=Se,this.loader=at,this._loaderPromise=null}supports(z){return!(!fn.hasOwnProperty(z.toLowerCase())&&!this.isCustomEvent(z)||!window.Hammer&&!this.loader)}addEventListener(z,oe,Se){const at=this.manager.getZone();if(oe=oe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||at.runOutsideAngular(()=>this.loader());let nt=!1,mt=()=>{nt=!0};return at.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?nt||(mt=this.addEventListener(z,oe,Se)):mt=()=>{}}).catch(()=>{mt=()=>{}})),()=>{mt()}}return at.runOutsideAngular(()=>{const nt=this._config.buildHammer(z),mt=function(He){at.runGuarded(function(){Se(He)})};return nt.on(oe,mt),()=>{nt.off(oe,mt),"function"==typeof nt.destroy&&nt.destroy()}})}isCustomEvent(z){return this._config.events.indexOf(z)>-1}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(an),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(En,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Ft=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:l,useClass:Bt,multi:!0,deps:[f.DOCUMENT,an,n.\u0275Console,[new n.Optional,En]]},{provide:an,useClass:un,deps:[]}]})}return _e})(),De=(()=>{class _e{static#e=this.\u0275fac=function(oe){return new(oe||_e)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new(oe||_e):n.\u0275\u0275inject(Xe),Se},providedIn:"root"})}return _e})(),Xe=(()=>{class _e extends De{constructor(z){super(),this._doc=z}sanitize(z,oe){if(null==oe)return null;switch(z){case n.SecurityContext.NONE:return oe;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"HTML")?(0,n.\u0275unwrapSafeValue)(oe):(0,n.\u0275_sanitizeHtml)(this._doc,String(oe)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"Style")?(0,n.\u0275unwrapSafeValue)(oe):oe;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(oe,"Script"))return(0,n.\u0275unwrapSafeValue)(oe);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(oe,"URL")?(0,n.\u0275unwrapSafeValue)(oe):(0,n.\u0275_sanitizeUrl)(String(oe));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(oe,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(oe);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(z){return(0,n.\u0275bypassSanitizationTrustHtml)(z)}bypassSecurityTrustStyle(z){return(0,n.\u0275bypassSanitizationTrustStyle)(z)}bypassSecurityTrustScript(z){return(0,n.\u0275bypassSanitizationTrustScript)(z)}bypassSecurityTrustUrl(z){return(0,n.\u0275bypassSanitizationTrustUrl)(z)}bypassSecurityTrustResourceUrl(z){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(z)}static#e=this.\u0275fac=function(oe){return new(oe||_e)(n.\u0275\u0275inject(f.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:function(oe){let Se=null;return Se=oe?new oe:function Ve(_e){return new Xe(_e.get(f.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),Se},providedIn:"root"})}return _e})();function St(_e,ce=[],z={}){return{\u0275kind:_e,\u0275providers:ce}}function tt(){return St(0)}function ut(_e){return St(1,(0,D.\u0275withHttpTransferCache)(_e))}function Ct(..._e){const ce=[],z=new Set,oe=z.has(1);for(const{\u0275providers:Se,\u0275kind:at}of _e)z.add(at),Se.length&&ce.push(Se);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),z.has(0)||oe?[]:(0,D.\u0275withHttpTransferCache)({}),ce])}const Pt=new n.Version("17.0.8"),Nt=n.makeStateKey,bt=n.TransferState},5187:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{ActivatedRoute:()=>_n,ActivatedRouteSnapshot:()=>Fn,ActivationEnd:()=>Zn,ActivationStart:()=>Ci,BaseRouteReuseStrategy:()=>Yi,ChildActivationEnd:()=>Bn,ChildActivationStart:()=>On,ChildrenOutletContexts:()=>fr,DefaultTitleStrategy:()=>Ds,DefaultUrlSerializer:()=>Yt,GuardsCheckEnd:()=>pe,GuardsCheckStart:()=>Y,NavigationCancel:()=>Ht,NavigationEnd:()=>vt,NavigationError:()=>ze,NavigationSkipped:()=>dn,NavigationStart:()=>wt,NoPreloading:()=>no,OutletContext:()=>Gi,PRIMARY_OUTLET:()=>Z,PreloadAllModules:()=>al,PreloadingStrategy:()=>ar,ROUTER_CONFIGURATION:()=>us,ROUTER_INITIALIZER:()=>bo,ROUTES:()=>J,ResolveEnd:()=>Qe,ResolveStart:()=>de,RouteConfigLoadEnd:()=>hn,RouteConfigLoadStart:()=>_t,RouteReuseStrategy:()=>Ii,Router:()=>Rr,RouterEvent:()=>Ut,RouterLink:()=>xi,RouterLinkActive:()=>Fs,RouterLinkWithHref:()=>xi,RouterModule:()=>ul,RouterOutlet:()=>Gr,RouterPreloader:()=>Ss,RouterState:()=>Fi,RouterStateSnapshot:()=>Ln,RoutesRecognized:()=>en,Scroll:()=>Ei,TitleStrategy:()=>po,UrlHandlingStrategy:()=>zt,UrlSegment:()=>Pe,UrlSegmentGroup:()=>me,UrlSerializer:()=>Ot,UrlTree:()=>Ke,VERSION:()=>ha,convertToParamMap:()=>ue,createUrlTreeFromSnapshot:()=>nt,defaultUrlMatcher:()=>ye,mapToCanActivate:()=>Uo,mapToCanActivateChild:()=>Bo,mapToCanDeactivate:()=>dl,mapToCanMatch:()=>ss,mapToResolve:()=>uc,provideRouter:()=>Lo,provideRoutes:()=>aa,withComponentInputBinding:()=>Ts,withDebugTracing:()=>Po,withDisabledInitialNavigation:()=>zn,withEnabledBlockingInitialNavigation:()=>_o,withHashLocation:()=>No,withInMemoryScrolling:()=>la,withNavigationErrorHandler:()=>vo,withPreloading:()=>ca,withRouterConfig:()=>io,withViewTransitions:()=>Fo,\u0275EmptyOutletComponent:()=>qr,\u0275ROUTER_PROVIDERS:()=>ro,\u0275afterNextNavigation:()=>ur,\u0275loadChildren:()=>le});var n=_(9212),f=_(2664),D=_(2459),y=_(2096),u=_(5619),v=_(2572),s=_(6973),m=_(34),h=_(4911),o=_(8407),l=_(8504),r=_(6232),c=_(3168),d=_(8645),g=_(7394),b=_(6814),C=_(7398),x=_(4664),w=_(8180),T=_(7921),S=_(2181),M=_(9769),k=_(1374),I=_(6328),P=_(9397),A=_(6306),L=_(6424),F=_(3572),R=_(2032),U=_(4418),W=_(975),ne=_(4716),ee=_(6196),j=_(9773),B=_(7537),$=_(6593);const Z="primary",H=Symbol("RouteTitle");class te{constructor(se){this.params=se||{}}has(se){return Object.prototype.hasOwnProperty.call(this.params,se)}get(se){if(this.has(se)){const Q=this.params[se];return Array.isArray(Q)?Q[0]:Q}return null}getAll(se){if(this.has(se)){const Q=this.params[se];return Array.isArray(Q)?Q:[Q]}return[]}get keys(){return Object.keys(this.params)}}function ue(G){return new te(G)}function ye(G,se,Q){const re=Q.path.split("/");if(re.length>G.length||"full"===Q.pathMatch&&(se.hasChildren()||re.lengthre[We]===be)}return G===se}function Et(G){return G.length>0?G[G.length-1]:null}function Te(G){return(0,f.b)(G)?G:(0,n.\u0275isPromise)(G)?(0,D.D)(Promise.resolve(G)):(0,y.of)(G)}const qe={exact:function ge(G,se,Q){if(!Be(G.segments,se.segments)||!ke(G.segments,se.segments,Q)||G.numberOfChildren!==se.numberOfChildren)return!1;for(const re in se.children)if(!G.children[re]||!ge(G.children[re],se.children[re],Q))return!1;return!0},subset:q},Ee={exact:function Ce(G,se){return $e(G,se)},subset:function Ae(G,se){return Object.keys(se).length<=Object.keys(G).length&&Object.keys(se).every(Q=>Ze(G[Q],se[Q]))},ignored:()=>!0};function Ie(G,se,Q){return qe[Q.paths](G.root,se.root,Q.matrixParams)&&Ee[Q.queryParams](G.queryParams,se.queryParams)&&!("exact"===Q.fragment&&G.fragment!==se.fragment)}function q(G,se,Q){return Re(G,se,se.segments,Q)}function Re(G,se,Q,re){if(G.segments.length>Q.length){const be=G.segments.slice(0,Q.length);return!(!Be(be,Q)||se.hasChildren()||!ke(be,Q,re))}if(G.segments.length===Q.length){if(!Be(G.segments,Q)||!ke(G.segments,Q,re))return!1;for(const be in se.children)if(!G.children[be]||!q(G.children[be],se.children[be],re))return!1;return!0}{const be=Q.slice(0,G.segments.length),We=Q.slice(G.segments.length);return!!(Be(G.segments,be)&&ke(G.segments,be,re)&&G.children[Z])&&Re(G.children[Z],se,We,re)}}function ke(G,se,Q){return se.every((re,be)=>Ee[Q](G[be].parameters,re.parameters))}class Ke{constructor(se=new me([],{}),Q={},re=null){this.root=se,this.queryParams=Q,this.fragment=re}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return jt.serialize(this)}}class me{constructor(se,Q){this.segments=se,this.children=Q,this.parent=null,Object.values(Q).forEach(re=>re.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cn(this)}}class Pe{constructor(se,Q){this.path=se,this.parameters=Q}get parameterMap(){return this._parameterMap||(this._parameterMap=ue(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function Be(G,se){return G.length===se.length&&G.every((Q,re)=>Q.path===se[re].path)}let Ot=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>new Yt,providedIn:"root"})}return G})();class Yt{parse(se){const Q=new ce(se);return new Ke(Q.parseRootSegment(),Q.parseQueryParams(),Q.parseFragment())}serialize(se){const Q=`/${fn(se.root,!0)}`,re=function St(G){const se=Object.keys(G).map(Q=>{const re=G[Q];return Array.isArray(re)?re.map(be=>`${En(Q)}=${En(be)}`).join("&"):`${En(Q)}=${En(re)}`}).filter(Q=>!!Q);return se.length?`?${se.join("&")}`:""}(se.queryParams);return`${Q}${re}${"string"==typeof se.fragment?`#${function un(G){return encodeURI(G)}(se.fragment)}`:""}`}}const jt=new Yt;function cn(G){return G.segments.map(se=>Ve(se)).join("/")}function fn(G,se){if(!G.hasChildren())return cn(G);if(se){const Q=G.children[Z]?fn(G.children[Z],!1):"",re=[];return Object.entries(G.children).forEach(([be,We])=>{be!==Z&&re.push(`${be}:${fn(We,!1)}`)}),re.length>0?`${Q}(${re.join("//")})`:Q}{const Q=function yt(G,se){let Q=[];return Object.entries(G.children).forEach(([re,be])=>{re===Z&&(Q=Q.concat(se(be,re)))}),Object.entries(G.children).forEach(([re,be])=>{re!==Z&&(Q=Q.concat(se(be,re)))}),Q}(G,(re,be)=>be===Z?[fn(G.children[Z],!1)]:[`${be}:${fn(re,!1)}`]);return 1===Object.keys(G.children).length&&null!=G.children[Z]?`${cn(G)}/${Q[0]}`:`${cn(G)}/(${Q.join("//")})`}}function an(G){return encodeURIComponent(G).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function En(G){return an(G).replace(/%3B/gi,";")}function Bt(G){return an(G).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(G){return decodeURIComponent(G)}function De(G){return Ft(G.replace(/\+/g,"%20"))}function Ve(G){return`${Bt(G.path)}${function Xe(G){return Object.keys(G).map(se=>`;${Bt(se)}=${Bt(G[se])}`).join("")}(G.parameters)}`}const tt=/^[^\/()?;#]+/;function ut(G){const se=G.match(tt);return se?se[0]:""}const Oe=/^[^\/()?;=#]+/,Pt=/^[^=?&#]+/,bt=/^[^&#]+/;class ce{constructor(se){this.url=se,this.remaining=se}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],this.parseChildren())}parseQueryParams(){const se={};if(this.consumeOptional("?"))do{this.parseQueryParam(se)}while(this.consumeOptional("&"));return se}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const se=[];for(this.peekStartsWith("(")||se.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),se.push(this.parseSegment());let Q={};this.peekStartsWith("/(")&&(this.capture("/"),Q=this.parseParens(!0));let re={};return this.peekStartsWith("(")&&(re=this.parseParens(!1)),(se.length>0||Object.keys(Q).length>0)&&(re[Z]=new me(se,Q)),re}parseSegment(){const se=ut(this.remaining);if(""===se&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(se),new Pe(Ft(se),this.parseMatrixParams())}parseMatrixParams(){const se={};for(;this.consumeOptional(";");)this.parseParam(se);return se}parseParam(se){const Q=function Ct(G){const se=G.match(Oe);return se?se[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let re="";if(this.consumeOptional("=")){const be=ut(this.remaining);be&&(re=be,this.capture(re))}se[Ft(Q)]=Ft(re)}parseQueryParam(se){const Q=function Nt(G){const se=G.match(Pt);return se?se[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let re="";if(this.consumeOptional("=")){const pt=function _e(G){const se=G.match(bt);return se?se[0]:""}(this.remaining);pt&&(re=pt,this.capture(re))}const be=De(Q),We=De(re);if(se.hasOwnProperty(be)){let pt=se[be];Array.isArray(pt)||(pt=[pt],se[be]=pt),pt.push(We)}else se[be]=We}parseParens(se){const Q={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const re=ut(this.remaining),be=this.remaining[re.length];if("/"!==be&&")"!==be&&";"!==be)throw new n.\u0275RuntimeError(4010,!1);let We;re.indexOf(":")>-1?(We=re.slice(0,re.indexOf(":")),this.capture(We),this.capture(":")):se&&(We=Z);const pt=this.parseChildren();Q[We]=1===Object.keys(pt).length?pt[Z]:new me([],pt),this.consumeOptional("//")}return Q}peekStartsWith(se){return this.remaining.startsWith(se)}consumeOptional(se){return!!this.peekStartsWith(se)&&(this.remaining=this.remaining.substring(se.length),!0)}capture(se){if(!this.consumeOptional(se))throw new n.\u0275RuntimeError(4011,!1)}}function z(G){return G.segments.length>0?new me([],{[Z]:G}):G}function oe(G){const se={};for(const re of Object.keys(G.children)){const We=oe(G.children[re]);if(re===Z&&0===We.segments.length&&We.hasChildren())for(const[pt,Zt]of Object.entries(We.children))se[pt]=Zt;else(We.segments.length>0||We.hasChildren())&&(se[re]=We)}return function Se(G){if(1===G.numberOfChildren&&G.children[Z]){const se=G.children[Z];return new me(G.segments.concat(se.segments),se.children)}return G}(new me(G.segments,se))}function at(G){return G instanceof Ke}function nt(G,se,Q=null,re=null){return He(mt(G),se,Q,re)}function mt(G){let se;const be=z(function Q(We){const pt={};for(const Wt of We.children){const Mn=Q(Wt);pt[Wt.outlet]=Mn}const Zt=new me(We.url,pt);return We===G&&(se=Zt),Zt}(G.root));return se??be}function He(G,se,Q,re){let be=G;for(;be.parent;)be=be.parent;if(0===se.length)return Xt(be,be,be,Q,re);const We=function ui(G){if("string"==typeof G[0]&&1===G.length&&"/"===G[0])return new Nn(!0,0,G);let se=0,Q=!1;const re=G.reduce((be,We,pt)=>{if("object"==typeof We&&null!=We){if(We.outlets){const Zt={};return Object.entries(We.outlets).forEach(([Wt,Mn])=>{Zt[Wt]="string"==typeof Mn?Mn.split("/"):Mn}),[...be,{outlets:Zt}]}if(We.segmentPath)return[...be,We.segmentPath]}return"string"!=typeof We?[...be,We]:0===pt?(We.split("/").forEach((Zt,Wt)=>{0==Wt&&"."===Zt||(0==Wt&&""===Zt?Q=!0:".."===Zt?se++:""!=Zt&&be.push(Zt))}),be):[...be,We]},[]);return new Nn(Q,se,re)}(se);if(We.toRoot())return Xt(be,be,new me([],{}),Q,re);const pt=function Hi(G,se,Q){if(G.isAbsolute)return new _i(se,!0,0);if(!Q)return new _i(se,!1,NaN);if(null===Q.parent)return new _i(Q,!0,0);const re=rt(G.commands[0])?0:1;return function Yn(G,se,Q){let re=G,be=se,We=Q;for(;We>be;){if(We-=be,re=re.parent,!re)throw new n.\u0275RuntimeError(4005,!1);be=re.segments.length}return new _i(re,!1,be-We)}(Q,Q.segments.length-1+re,G.numberOfDoubleDots)}(We,be,G),Zt=pt.processChildren?Ue(pt.segmentGroup,pt.index,We.commands):pn(pt.segmentGroup,pt.index,We.commands);return Xt(be,pt.segmentGroup,Zt,Q,re)}function rt(G){return"object"==typeof G&&null!=G&&!G.outlets&&!G.segmentPath}function Lt(G){return"object"==typeof G&&null!=G&&G.outlets}function Xt(G,se,Q,re,be){let pt,We={};re&&Object.entries(re).forEach(([Wt,Mn])=>{We[Wt]=Array.isArray(Mn)?Mn.map(ni=>`${ni}`):`${Mn}`}),pt=G===se?Q:tn(G,se,Q);const Zt=z(oe(pt));return new Ke(Zt,We,be)}function tn(G,se,Q){const re={};return Object.entries(G.children).forEach(([be,We])=>{re[be]=We===se?Q:tn(We,se,Q)}),new me(G.segments,re)}class Nn{constructor(se,Q,re){if(this.isAbsolute=se,this.numberOfDoubleDots=Q,this.commands=re,se&&re.length>0&&rt(re[0]))throw new n.\u0275RuntimeError(4003,!1);const be=re.find(Lt);if(be&&be!==Et(re))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _i{constructor(se,Q,re){this.segmentGroup=se,this.processChildren=Q,this.index=re}}function pn(G,se,Q){if(G||(G=new me([],{})),0===G.segments.length&&G.hasChildren())return Ue(G,se,Q);const re=function ot(G,se,Q){let re=0,be=se;const We={match:!1,pathIndex:0,commandIndex:0};for(;be=Q.length)return We;const pt=G.segments[be],Zt=Q[re];if(Lt(Zt))break;const Wt=`${Zt}`,Mn=re0&&void 0===Wt)break;if(Wt&&Mn&&"object"==typeof Mn&&void 0===Mn.outlets){if(!dt(Wt,Mn,pt))return We;re+=2}else{if(!dt(Wt,{},pt))return We;re++}be++}return{match:!0,pathIndex:be,commandIndex:re}}(G,se,Q),be=Q.slice(re.commandIndex);if(re.match&&re.pathIndexWe!==Z)&&G.children[Z]&&1===G.numberOfChildren&&0===G.children[Z].segments.length){const We=Ue(G.children[Z],se,Q);return new me(G.segments,We.children)}return Object.entries(re).forEach(([We,pt])=>{"string"==typeof pt&&(pt=[pt]),null!==pt&&(be[We]=pn(G.children[We],se,pt))}),Object.entries(G.children).forEach(([We,pt])=>{void 0===re[We]&&(be[We]=pt)}),new me(G.segments,be)}}function At(G,se,Q){const re=G.segments.slice(0,se);let be=0;for(;be{"string"==typeof re&&(re=[re]),null!==re&&(se[Q]=At(new me([],{}),0,re))}),se}function it(G){const se={};return Object.entries(G).forEach(([Q,re])=>se[Q]=`${re}`),se}function dt(G,se,Q){return G==Q.path&&$e(se,Q.parameters)}const ct="imperative";class Ut{constructor(se,Q){this.id=se,this.url=Q}}class wt extends Ut{constructor(se,Q,re="imperative",be=null){super(se,Q),this.type=0,this.navigationTrigger=re,this.restoredState=be}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class vt extends Ut{constructor(se,Q,re){super(se,Q),this.urlAfterRedirects=re,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ht extends Ut{constructor(se,Q,re,be){super(se,Q),this.reason=re,this.code=be,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class dn extends Ut{constructor(se,Q,re,be){super(se,Q),this.reason=re,this.code=be,this.type=16}}class ze extends Ut{constructor(se,Q,re,be){super(se,Q),this.error=re,this.target=be,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class en extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pe extends Ut{constructor(se,Q,re,be,We){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.shouldActivate=We,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class de extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qe extends Ut{constructor(se,Q,re,be){super(se,Q),this.urlAfterRedirects=re,this.state=be,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _t{constructor(se){this.route=se,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class hn{constructor(se){this.route=se,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class On{constructor(se){this.snapshot=se,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{constructor(se){this.snapshot=se,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ci{constructor(se){this.snapshot=se,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zn{constructor(se){this.snapshot=se,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ei{constructor(se,Q,re){this.routerEvent=se,this.position=Q,this.anchor=re,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class qi{}class ki{constructor(se){this.url=se}}class Gi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new fr,this.attachRef=null}}let fr=(()=>{class G{constructor(){this.contexts=new Map}onChildOutletCreated(Q,re){const be=this.getOrCreateContext(Q);be.outlet=re,this.contexts.set(Q,be)}onChildOutletDestroyed(Q){const re=this.getContext(Q);re&&(re.outlet=null,re.attachRef=null)}onOutletDeactivated(){const Q=this.contexts;return this.contexts=new Map,Q}onOutletReAttached(Q){this.contexts=Q}getOrCreateContext(Q){let re=this.getContext(Q);return re||(re=new Gi,this.contexts.set(Q,re)),re}getContext(Q){return this.contexts.get(Q)||null}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();class Tn{constructor(se){this._root=se}get root(){return this._root.value}parent(se){const Q=this.pathFromRoot(se);return Q.length>1?Q[Q.length-2]:null}children(se){const Q=Ki(se,this._root);return Q?Q.children.map(re=>re.value):[]}firstChild(se){const Q=Ki(se,this._root);return Q&&Q.children.length>0?Q.children[0].value:null}siblings(se){const Q=qn(se,this._root);return Q.length<2?[]:Q[Q.length-2].children.map(be=>be.value).filter(be=>be!==se)}pathFromRoot(se){return qn(se,this._root).map(Q=>Q.value)}}function Ki(G,se){if(G===se.value)return se;for(const Q of se.children){const re=Ki(G,Q);if(re)return re}return null}function qn(G,se){if(G===se.value)return[se];for(const Q of se.children){const re=qn(G,Q);if(re.length)return re.unshift(se),re}return[]}class Pn{constructor(se,Q){this.value=se,this.children=Q}toString(){return`TreeNode(${this.value})`}}function Qn(G){const se={};return G&&G.children.forEach(Q=>se[Q.value.outlet]=Q),se}class Fi extends Tn{constructor(se,Q){super(se),this.snapshot=Q,Mi(this,se)}toString(){return this.snapshot.toString()}}function mr(G,se){const Q=function er(G,se){const pt=new Fn([],{},{},"",{},Z,se,null,{});return new Ln("",new Pn(pt,[]))}(0,se),re=new u.X([new Pe("",{})]),be=new u.X({}),We=new u.X({}),pt=new u.X({}),Zt=new u.X(""),Wt=new _n(re,be,pt,Zt,We,Z,se,Q.root);return Wt.snapshot=Q.root,new Fi(new Pn(Wt,[]),Q)}class _n{constructor(se,Q,re,be,We,pt,Zt,Wt){this.urlSubject=se,this.paramsSubject=Q,this.queryParamsSubject=re,this.fragmentSubject=be,this.dataSubject=We,this.outlet=pt,this.component=Zt,this._futureSnapshot=Wt,this.title=this.dataSubject?.pipe((0,C.U)(Mn=>Mn[H]))??(0,y.of)(void 0),this.url=se,this.params=Q,this.queryParams=re,this.fragment=be,this.data=We}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,C.U)(se=>ue(se)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)(se=>ue(se)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function wn(G,se,Q="emptyOnly"){let re;const{routeConfig:be}=G;return re=null===se||"always"!==Q&&""!==be?.path&&(se.component||se.routeConfig?.loadComponent)?{params:{...G.params},data:{...G.data},resolve:{...G.data,...G._resolvedData??{}}}:{params:{...se.params,...G.params},data:{...se.data,...G.data},resolve:{...G.data,...se.data,...be?.data,...G._resolvedData}},be&&pr(be)&&(re.resolve[H]=be.title),re}class Fn{get title(){return this.data?.[H]}constructor(se,Q,re,be,We,pt,Zt,Wt,Mn){this.url=se,this.params=Q,this.queryParams=re,this.fragment=be,this.data=We,this.outlet=pt,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||(this._paramMap=ue(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(re=>re.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ln extends Tn{constructor(se,Q){super(Q),this.url=se,Mi(this,Q)}toString(){return Vn(this._root)}}function Mi(G,se){se.value._routerState=G,se.children.forEach(Q=>Mi(G,Q))}function Vn(G){const se=G.children.length>0?` { ${G.children.map(Vn).join(", ")} } `:"";return`${G.value}${se}`}function Ui(G){if(G.snapshot){const se=G.snapshot,Q=G._futureSnapshot;G.snapshot=Q,$e(se.queryParams,Q.queryParams)||G.queryParamsSubject.next(Q.queryParams),se.fragment!==Q.fragment&&G.fragmentSubject.next(Q.fragment),$e(se.params,Q.params)||G.paramsSubject.next(Q.params),function Ge(G,se){if(G.length!==se.length)return!1;for(let Q=0;Q$e(Q.parameters,se[re].parameters))}(G.url,se.url);return Q&&!(!G.parent!=!se.parent)&&(!G.parent||sr(G.parent,se.parent))}function pr(G){return"string"==typeof G.title||null===G.title}let Gr=(()=>{class G{constructor(){this.activated=null,this._activatedRoute=null,this.name=Z,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(fr),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Lr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Q){if(Q.name){const{firstChange:re,previousValue:be}=Q.name;if(re)return;this.isTrackedInParentContexts(be)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(be)),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 n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const Q=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Q.instance),Q}attach(Q,re){this.activated=Q,this._activatedRoute=re,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,re){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=Q;const be=this.location,pt=Q.snapshot.component,Zt=this.parentContexts.getOrCreateContext(this.name).children,Wt=new Sr(Q,Zt,be.injector);this.activated=be.createComponent(pt,{index:be.length,injector:Wt,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||G)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return G})();class Sr{constructor(se,Q,re){this.route=se,this.childContexts=Q,this.parent=re}get(se,Q){return se===_n?this.route:se===fr?this.childContexts:this.parent.get(se,Q)}}const Lr=new n.InjectionToken("");let tr=(()=>{class G{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:re}=Q,be=(0,v.a)([re.queryParams,re.params,re.data]).pipe((0,x.w)(([We,pt,Zt],Wt)=>(Zt={...We,...pt,...Zt},0===Wt?(0,y.of)(Zt):Promise.resolve(Zt)))).subscribe(We=>{if(!Q.isActivated||!Q.activatedComponentRef||Q.activatedRoute!==re||null===re.component)return void this.unsubscribeFromRouteData(Q);const pt=(0,n.reflectComponentType)(re.component);if(pt)for(const{templateName:Zt}of pt.inputs)Q.activatedComponentRef.setInput(Zt,We[Zt]);else this.unsubscribeFromRouteData(Q)});this.outletDataSubscriptions.set(Q,be)}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac})}return G})();function Zi(G,se,Q){if(Q&&G.shouldReuseRoute(se.value,Q.value.snapshot)){const re=Q.value;re._futureSnapshot=se.value;const be=function or(G,se,Q){return se.children.map(re=>{for(const be of Q.children)if(G.shouldReuseRoute(re.value,be.value.snapshot))return Zi(G,re,be);return Zi(G,re)})}(G,se,Q);return new Pn(re,be)}{if(G.shouldAttach(se.value)){const We=G.retrieve(se.value);if(null!==We){const pt=We.route;return pt.value._futureSnapshot=se.value,pt.children=se.children.map(Zt=>Zi(G,Zt)),pt}}const re=function oi(G){return new _n(new u.X(G.url),new u.X(G.params),new u.X(G.queryParams),new u.X(G.fragment),new u.X(G.data),G.outlet,G.component,G)}(se.value),be=se.children.map(We=>Zi(G,We));return new Pn(re,be)}}const wr="ngNavigationCancelingError";function Fr(G,se){const{redirectTo:Q,navigationBehaviorOptions:re}=at(se)?{redirectTo:se,navigationBehaviorOptions:void 0}:se,be=ps(!1,0,se);return be.url=Q,be.navigationBehaviorOptions=re,be}function ps(G,se,Q){const re=new Error("NavigationCancelingError: "+(G||""));return re[wr]=!0,re.cancellationCode=se,Q&&(re.url=Q),re}function Tr(G){return G&&G[wr]}let qr=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:G,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(re,be){1&re&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[Gr],encapsulation:2})}return G})();function bn(G){const se=G.children&&G.children.map(bn),Q=se?{...G,children:se}:{...G};return!Q.component&&!Q.loadComponent&&(se||Q.loadChildren)&&Q.outlet&&Q.outlet!==Z&&(Q.component=qr),Q}function An(G){return G.outlet||Z}function ai(G){if(!G)return null;if(G.routeConfig?._injector)return G.routeConfig._injector;for(let se=G.parent;se;se=se.parent){const Q=se.routeConfig;if(Q?._loadedInjector)return Q._loadedInjector;if(Q?._injector)return Q._injector}return null}class ri{constructor(se,Q,re,be,We){this.routeReuseStrategy=se,this.futureState=Q,this.currState=re,this.forwardEvent=be,this.inputBindingEnabled=We}activate(se){const Q=this.futureState._root,re=this.currState?this.currState._root:null;this.deactivateChildRoutes(Q,re,se),Ui(this.futureState.root),this.activateChildRoutes(Q,re,se)}deactivateChildRoutes(se,Q,re){const be=Qn(Q);se.children.forEach(We=>{const pt=We.value.outlet;this.deactivateRoutes(We,be[pt],re),delete be[pt]}),Object.values(be).forEach(We=>{this.deactivateRouteAndItsChildren(We,re)})}deactivateRoutes(se,Q,re){const be=se.value,We=Q?Q.value:null;if(be===We)if(be.component){const pt=re.getContext(be.outlet);pt&&this.deactivateChildRoutes(se,Q,pt.children)}else this.deactivateChildRoutes(se,Q,re);else We&&this.deactivateRouteAndItsChildren(Q,re)}deactivateRouteAndItsChildren(se,Q){se.value.component&&this.routeReuseStrategy.shouldDetach(se.value.snapshot)?this.detachAndStoreRouteSubtree(se,Q):this.deactivateRouteAndOutlet(se,Q)}detachAndStoreRouteSubtree(se,Q){const re=Q.getContext(se.value.outlet),be=re&&se.value.component?re.children:Q,We=Qn(se);for(const pt of Object.keys(We))this.deactivateRouteAndItsChildren(We[pt],be);if(re&&re.outlet){const pt=re.outlet.detach(),Zt=re.children.onOutletDeactivated();this.routeReuseStrategy.store(se.value.snapshot,{componentRef:pt,route:se,contexts:Zt})}}deactivateRouteAndOutlet(se,Q){const re=Q.getContext(se.value.outlet),be=re&&se.value.component?re.children:Q,We=Qn(se);for(const pt of Object.keys(We))this.deactivateRouteAndItsChildren(We[pt],be);re&&(re.outlet&&(re.outlet.deactivate(),re.children.onOutletDeactivated()),re.attachRef=null,re.route=null)}activateChildRoutes(se,Q,re){const be=Qn(Q);se.children.forEach(We=>{this.activateRoutes(We,be[We.value.outlet],re),this.forwardEvent(new Zn(We.value.snapshot))}),se.children.length&&this.forwardEvent(new Bn(se.value.snapshot))}activateRoutes(se,Q,re){const be=se.value,We=Q?Q.value:null;if(Ui(be),be===We)if(be.component){const pt=re.getOrCreateContext(be.outlet);this.activateChildRoutes(se,Q,pt.children)}else this.activateChildRoutes(se,Q,re);else if(be.component){const pt=re.getOrCreateContext(be.outlet);if(this.routeReuseStrategy.shouldAttach(be.snapshot)){const Zt=this.routeReuseStrategy.retrieve(be.snapshot);this.routeReuseStrategy.store(be.snapshot,null),pt.children.onOutletReAttached(Zt.contexts),pt.attachRef=Zt.componentRef,pt.route=Zt.route.value,pt.outlet&&pt.outlet.attach(Zt.componentRef,Zt.route.value),Ui(Zt.route.value),this.activateChildRoutes(se,null,pt.children)}else{const Zt=ai(be.snapshot);pt.attachRef=null,pt.route=be,pt.injector=Zt,pt.outlet&&pt.outlet.activateWith(be,pt.injector),this.activateChildRoutes(se,null,pt.children)}}else this.activateChildRoutes(se,null,re)}}class Kn{constructor(se){this.path=se,this.route=this.path[this.path.length-1]}}class li{constructor(se,Q){this.component=se,this.route=Q}}function ji(G,se,Q){const re=G._root;return ls(re,se?se._root:null,Q,[re.value])}function gr(G,se){const Q=Symbol(),re=se.get(G,Q);return re===Q?"function"!=typeof G||(0,n.\u0275isInjectable)(G)?se.get(G):G:re}function ls(G,se,Q,re,be={canDeactivateChecks:[],canActivateChecks:[]}){const We=Qn(se);return G.children.forEach(pt=>{(function Ys(G,se,Q,re,be={canDeactivateChecks:[],canActivateChecks:[]}){const We=G.value,pt=se?se.value:null,Zt=Q?Q.getContext(G.value.outlet):null;if(pt&&We.routeConfig===pt.routeConfig){const Wt=function ti(G,se,Q){if("function"==typeof Q)return Q(G,se);switch(Q){case"pathParamsChange":return!Be(G.url,se.url);case"pathParamsOrQueryParamsChange":return!Be(G.url,se.url)||!$e(G.queryParams,se.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sr(G,se)||!$e(G.queryParams,se.queryParams);default:return!sr(G,se)}}(pt,We,We.routeConfig.runGuardsAndResolvers);Wt?be.canActivateChecks.push(new Kn(re)):(We.data=pt.data,We._resolvedData=pt._resolvedData),ls(G,se,We.component?Zt?Zt.children:null:Q,re,be),Wt&&Zt&&Zt.outlet&&Zt.outlet.isActivated&&be.canDeactivateChecks.push(new li(Zt.outlet.component,pt))}else pt&&wi(se,Zt,be),be.canActivateChecks.push(new Kn(re)),ls(G,null,We.component?Zt?Zt.children:null:Q,re,be)})(pt,We[pt.value.outlet],Q,re.concat([pt.value]),be),delete We[pt.value.outlet]}),Object.entries(We).forEach(([pt,Zt])=>wi(Zt,Q.getContext(pt),be)),be}function wi(G,se,Q){const re=Qn(G),be=G.value;Object.entries(re).forEach(([We,pt])=>{wi(pt,be.component?se?se.children.getContext(We):null:se,Q)}),Q.canDeactivateChecks.push(new li(be.component&&se&&se.outlet&&se.outlet.isActivated?se.outlet.component:null,be))}function Ri(G){return"function"==typeof G}function yn(G){return G instanceof s.K||"EmptyError"===G?.name}const he=Symbol("INITIAL_VALUE");function we(){return(0,x.w)(G=>(0,v.a)(G.map(se=>se.pipe((0,w.q)(1),(0,T.O)(he)))).pipe((0,C.U)(se=>{for(const Q of se)if(!0!==Q){if(Q===he)return he;if(!1===Q||Q instanceof Ke)return Q}return!0}),(0,S.h)(se=>se!==he),(0,w.q)(1)))}function _s(G){return(0,o.z)((0,P.b)(se=>{if(at(se))throw Fr(0,se)}),(0,C.U)(se=>!0===se))}class Oi{constructor(se){this.segmentGroup=se||null}}class bs extends Error{constructor(se){super(),this.urlTree=se}}function Pr(G){return(0,l._)(new Oi(G))}class ts{constructor(se,Q){this.urlSerializer=se,this.urlTree=Q}lineralizeSegments(se,Q){let re=[],be=Q.root;for(;;){if(re=re.concat(be.segments),0===be.numberOfChildren)return(0,y.of)(re);if(be.numberOfChildren>1||!be.children[Z])return(0,l._)(new n.\u0275RuntimeError(4e3,!1));be=be.children[Z]}}applyRedirectCommands(se,Q,re){const be=this.applyRedirectCreateUrlTree(Q,this.urlSerializer.parse(Q),se,re);if(Q.startsWith("/"))throw new bs(be);return be}applyRedirectCreateUrlTree(se,Q,re,be){const We=this.createSegmentGroup(se,Q.root,re,be);return new Ke(We,this.createQueryParams(Q.queryParams,this.urlTree.queryParams),Q.fragment)}createQueryParams(se,Q){const re={};return Object.entries(se).forEach(([be,We])=>{if("string"==typeof We&&We.startsWith(":")){const Zt=We.substring(1);re[be]=Q[Zt]}else re[be]=We}),re}createSegmentGroup(se,Q,re,be){const We=this.createSegments(se,Q.segments,re,be);let pt={};return Object.entries(Q.children).forEach(([Zt,Wt])=>{pt[Zt]=this.createSegmentGroup(se,Wt,re,be)}),new me(We,pt)}createSegments(se,Q,re,be){return Q.map(We=>We.path.startsWith(":")?this.findPosParam(se,We,be):this.findOrReturn(We,re))}findPosParam(se,Q,re){const be=re[Q.path.substring(1)];if(!be)throw new n.\u0275RuntimeError(4001,!1);return be}findOrReturn(se,Q){let re=0;for(const be of Q){if(be.path===se.path)return Q.splice(re),be;re++}return se}}const Yr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ar(G,se,Q,re,be){const We=Hn(G,se,Q);return We.matched?(re=function Ur(G,se){return G.providers&&!G._injector&&(G._injector=(0,n.createEnvironmentInjector)(G.providers,se,`Route: ${G.path}`)),G._injector??se}(se,re),function vs(G,se,Q,re){const be=se.canMatch;if(!be||0===be.length)return(0,y.of)(!0);const We=be.map(pt=>{const Zt=gr(pt,G);return Te(function Zs(G){return G&&Ri(G.canMatch)}(Zt)?Zt.canMatch(se,Q):(0,n.runInInjectionContext)(G,()=>Zt(se,Q)))});return(0,y.of)(We).pipe(we(),_s())}(re,se,Q).pipe((0,C.U)(pt=>!0===pt?We:{...Yr}))):(0,y.of)(We)}function Hn(G,se,Q){if("**"===se.path)return function Qs(G){return{matched:!0,parameters:G.length>0?Et(G).parameters:{},consumedSegments:G,remainingSegments:[],positionalParamSegments:{}}}(Q);if(""===se.path)return"full"===se.pathMatch&&(G.hasChildren()||Q.length>0)?{...Yr}:{matched:!0,consumedSegments:[],remainingSegments:Q,parameters:{},positionalParamSegments:{}};const be=(se.matcher||ye)(Q,G,se);if(!be)return{...Yr};const We={};Object.entries(be.posParams??{}).forEach(([Zt,Wt])=>{We[Zt]=Wt.path});const pt=be.consumed.length>0?{...We,...be.consumed[be.consumed.length-1].parameters}:We;return{matched:!0,consumedSegments:be.consumed,remainingSegments:Q.slice(be.consumed.length),parameters:pt,positionalParamSegments:be.posParams??{}}}function Vr(G,se,Q,re){return Q.length>0&&function ys(G,se,Q){return Q.some(re=>jr(G,se,re)&&An(re)!==Z)}(G,Q,re)?{segmentGroup:new me(se,Ls(re,new me(Q,G.children))),slicedSegments:[]}:0===Q.length&&function fi(G,se,Q){return Q.some(re=>jr(G,se,re))}(G,Q,re)?{segmentGroup:new me(G.segments,nr(G,0,Q,re,G.children)),slicedSegments:Q}:{segmentGroup:new me(G.segments,G.children),slicedSegments:Q}}function nr(G,se,Q,re,be){const We={};for(const pt of re)if(jr(G,Q,pt)&&!be[An(pt)]){const Zt=new me([],{});We[An(pt)]=Zt}return{...be,...We}}function Ls(G,se){const Q={};Q[Z]=se;for(const re of G)if(""===re.path&&An(re)!==Z){const be=new me([],{});Q[An(re)]=be}return Q}function jr(G,se,Q){return(!(G.hasChildren()||se.length>0)||"full"!==Q.pathMatch)&&""===Q.path}class Xs{}class Nr{constructor(se,Q,re,be,We,pt,Zt){this.injector=se,this.configLoader=Q,this.rootComponentType=re,this.config=be,this.urlTree=We,this.paramsInheritanceStrategy=pt,this.urlSerializer=Zt,this.applyRedirects=new ts(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(se){return new n.\u0275RuntimeError(4002,`'${se.segmentGroup}'`)}recognize(){const se=Vr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(se).pipe((0,C.U)(Q=>{const re=new Fn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Z,this.rootComponentType,null,{}),be=new Pn(re,Q),We=new Ln("",be),pt=nt(re,[],this.urlTree.queryParams,this.urlTree.fragment);return pt.queryParams=this.urlTree.queryParams,We.url=this.urlSerializer.serialize(pt),this.inheritParamsAndData(We._root,null),{state:We,tree:pt}}))}match(se){return this.processSegmentGroup(this.injector,this.config,se,Z).pipe((0,A.K)(re=>{if(re instanceof bs)return this.urlTree=re.urlTree,this.match(re.urlTree.root);throw re instanceof Oi?this.noMatchError(re):re}))}inheritParamsAndData(se,Q){const re=se.value,be=wn(re,Q,this.paramsInheritanceStrategy);re.params=Object.freeze(be.params),re.data=Object.freeze(be.data),se.children.forEach(We=>this.inheritParamsAndData(We,re))}processSegmentGroup(se,Q,re,be){return 0===re.segments.length&&re.hasChildren()?this.processChildren(se,Q,re):this.processSegment(se,Q,re,re.segments,be,!0).pipe((0,C.U)(We=>We instanceof Pn?[We]:[]))}processChildren(se,Q,re){const be=[];for(const We of Object.keys(re.children))"primary"===We?be.unshift(We):be.push(We);return(0,D.D)(be).pipe((0,I.b)(We=>{const pt=re.children[We],Zt=function Gn(G,se){const Q=G.filter(re=>An(re)===se);return Q.push(...G.filter(re=>An(re)!==se)),Q}(Q,We);return this.processSegmentGroup(se,Zt,pt,We)}),(0,L.R)((We,pt)=>(We.push(...pt),We)),(0,F.d)(null),(0,R.Z)(),(0,M.z)(We=>{if(null===We)return Pr(re);const pt=Js(We);return function Ns(G){G.sort((se,Q)=>se.value.outlet===Z?-1:Q.value.outlet===Z?1:se.value.outlet.localeCompare(Q.value.outlet))}(pt),(0,y.of)(pt)}))}processSegment(se,Q,re,be,We,pt){return(0,D.D)(Q).pipe((0,I.b)(Zt=>this.processSegmentAgainstRoute(Zt._injector??se,Q,Zt,re,be,We,pt).pipe((0,A.K)(Wt=>{if(Wt instanceof Oi)return(0,y.of)(null);throw Wt}))),(0,k.P)(Zt=>!!Zt),(0,A.K)(Zt=>{if(yn(Zt))return function ir(G,se,Q){return 0===se.length&&!G.children[Q]}(re,be,We)?(0,y.of)(new Xs):Pr(re);throw Zt}))}processSegmentAgainstRoute(se,Q,re,be,We,pt,Zt){return function Xi(G,se,Q,re){return!!(An(G)===re||re!==Z&&jr(se,Q,G))&&Hn(se,G,Q).matched}(re,be,We,pt)?void 0===re.redirectTo?this.matchSegmentAgainstRoute(se,be,re,We,pt):this.allowRedirects&&Zt?this.expandSegmentAgainstRouteUsingRedirect(se,be,Q,re,We,pt):Pr(be):Pr(be)}expandSegmentAgainstRouteUsingRedirect(se,Q,re,be,We,pt){const{matched:Zt,consumedSegments:Wt,positionalParamSegments:Mn,remainingSegments:ni}=Hn(Q,be,We);if(!Zt)return Pr(Q);be.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const O=this.applyRedirects.applyRedirectCommands(Wt,be.redirectTo,Mn);return this.applyRedirects.lineralizeSegments(be,O).pipe((0,M.z)(xe=>this.processSegment(se,re,Q,xe.concat(ni),pt,!1)))}matchSegmentAgainstRoute(se,Q,re,be,We){const pt=Ar(Q,re,be,se);return"**"===re.path&&(Q.children={}),pt.pipe((0,x.w)(Zt=>Zt.matched?this.getChildConfig(se=re._injector??se,re,be).pipe((0,x.w)(({routes:Wt})=>{const Mn=re._loadedInjector??se,{consumedSegments:ni,remainingSegments:O,parameters:xe}=Zt,K=new Fn(ni,xe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ho(G){return G.data||{}}(re),An(re),re.component??re._loadedComponent??null,re,function ko(G){return G.resolve||{}}(re)),{segmentGroup:Je,slicedSegments:ft}=Vr(Q,ni,O,Wt);if(0===ft.length&&Je.hasChildren())return this.processChildren(Mn,Wt,Je).pipe((0,C.U)(Kt=>null===Kt?null:new Pn(K,Kt)));if(0===Wt.length&&0===ft.length)return(0,y.of)(new Pn(K,[]));const ht=An(re)===We;return this.processSegment(Mn,Wt,Je,ft,ht?Z:We,!0).pipe((0,C.U)(Kt=>new Pn(K,Kt instanceof Pn?[Kt]:[])))})):Pr(Q)))}getChildConfig(se,Q,re){return Q.children?(0,y.of)({routes:Q.children,injector:se}):Q.loadChildren?void 0!==Q._loadedRoutes?(0,y.of)({routes:Q._loadedRoutes,injector:Q._loadedInjector}):function gs(G,se,Q,re){const be=se.canLoad;if(void 0===be||0===be.length)return(0,y.of)(!0);const We=be.map(pt=>{const Zt=gr(pt,G);return Te(function Qi(G){return G&&Ri(G.canLoad)}(Zt)?Zt.canLoad(se,Q):(0,n.runInInjectionContext)(G,()=>Zt(se,Q)))});return(0,y.of)(We).pipe(we(),_s())}(se,Q,re).pipe((0,M.z)(be=>be?this.configLoader.loadChildren(se,Q).pipe((0,P.b)(We=>{Q._loadedRoutes=We.routes,Q._loadedInjector=We.injector})):function cs(G){return(0,l._)(ps(!1,3))}())):(0,y.of)({routes:[],injector:se})}}function Ao(G){const se=G.value.routeConfig;return se&&""===se.path}function Js(G){const se=[],Q=new Set;for(const re of G){if(!Ao(re)){se.push(re);continue}const be=se.find(We=>re.value.routeConfig===We.value.routeConfig);void 0!==be?(be.children.push(...re.children),Q.add(be)):se.push(re)}for(const re of Q){const be=Js(re.children);se.push(new Pn(re.value,be))}return se.filter(re=>!Q.has(re))}function ns(G){const se=G.children.map(Q=>ns(Q)).flat();return[G,...se]}function mo(G){return(0,x.w)(se=>{const Q=G(se);return Q?(0,D.D)(Q).pipe((0,C.U)(()=>se)):(0,y.of)(se)})}let po=(()=>{class G{buildTitle(Q){let re,be=Q.root;for(;void 0!==be;)re=this.getResolvedTitleForRoute(be)??re,be=be.children.find(We=>We.outlet===Z);return re}getResolvedTitleForRoute(Q){return Q.data[H]}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(Ds),providedIn:"root"})}return G})(),Ds=(()=>{class G extends po{constructor(Q){super(),this.title=Q}updateTitle(Q){const re=this.buildTitle(Q);void 0!==re&&this.title.setTitle(re)}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject($.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const us=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),J=new n.InjectionToken("ROUTES");let Fe=(()=>{class G{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(Q){if(this.componentLoaders.get(Q))return this.componentLoaders.get(Q);if(Q._loadedComponent)return(0,y.of)(Q._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Q);const re=Te(Q.loadComponent()).pipe((0,C.U)(lt),(0,P.b)(We=>{this.onLoadEndListener&&this.onLoadEndListener(Q),Q._loadedComponent=We}),(0,ne.x)(()=>{this.componentLoaders.delete(Q)})),be=new c.c(re,()=>new d.x).pipe((0,ee.x)());return this.componentLoaders.set(Q,be),be}loadChildren(Q,re){if(this.childrenLoaders.get(re))return this.childrenLoaders.get(re);if(re._loadedRoutes)return(0,y.of)({routes:re._loadedRoutes,injector:re._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(re);const We=le(re,this.compiler,Q,this.onLoadEndListener).pipe((0,ne.x)(()=>{this.childrenLoaders.delete(re)})),pt=new c.c(We,()=>new d.x).pipe((0,ee.x)());return this.childrenLoaders.set(re,pt),pt}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function le(G,se,Q,re){return Te(G.loadChildren()).pipe((0,C.U)(lt),(0,M.z)(be=>be instanceof n.NgModuleFactory||Array.isArray(be)?(0,y.of)(be):(0,D.D)(se.compileModuleAsync(be))),(0,C.U)(be=>{re&&re(G);let We,pt;return Array.isArray(be)?pt=be:(We=be.create(Q).injector,pt=We.get(J,[],{optional:!0,self:!0}).flat()),{routes:pt.map(bn),injector:We}}))}function lt(G){return function ve(G){return G&&"object"==typeof G&&"default"in G}(G)?G.default:G}let zt=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(nn),providedIn:"root"})}return G})(),nn=(()=>{class G{shouldProcessUrl(Q){return!0}extract(Q){return Q}merge(Q,re){return Q}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const xn=new n.InjectionToken(""),Li=new n.InjectionToken("");function di(G,se,Q){const re=G.get(Li),be=G.get(b.DOCUMENT);return G.get(n.NgZone).runOutsideAngular(()=>{if(!be.startViewTransition||re.skipNextTransition)return re.skipNextTransition=!1,Promise.resolve();let We;const pt=new Promise(Mn=>{We=Mn}),Zt=be.startViewTransition(()=>(We(),function Un(G){return new Promise(se=>{(0,n.afterNextRender)(se,{injector:G})})}(G))),{onViewTransitionCreated:Wt}=re;return Wt&&(0,n.runInInjectionContext)(G,()=>Wt({transition:Zt,from:se,to:Q})),pt})}let Xn=(()=>{class G{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new d.x,this.transitionAbortSubject=new d.x,this.configLoader=(0,n.inject)(Fe),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(Ot),this.rootContexts=(0,n.inject)(fr),this.location=(0,n.inject)(b.Location),this.inputBindingEnabled=null!==(0,n.inject)(Lr,{optional:!0}),this.titleStrategy=(0,n.inject)(po),this.options=(0,n.inject)(us,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(zt),this.createViewTransition=(0,n.inject)(xn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=be=>this.events.next(new hn(be)),this.configLoader.onLoadStartListener=be=>this.events.next(new _t(be))}complete(){this.transitions?.complete()}handleNavigationRequest(Q){const re=++this.navigationId;this.transitions?.next({...this.transitions.value,...Q,id:re})}setupNavigations(Q,re,be){return this.transitions=new u.X({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:ct,restoredState:null,currentSnapshot:be.snapshot,targetSnapshot:null,currentRouterState:be,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,S.h)(We=>0!==We.id),(0,C.U)(We=>({...We,extractedUrl:this.urlHandlingStrategy.extract(We.rawUrl)})),(0,x.w)(We=>{this.currentTransition=We;let pt=!1,Zt=!1;return(0,y.of)(We).pipe((0,P.b)(Wt=>{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}}),(0,x.w)(Wt=>{const Mn=!Q.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Mn&&"reload"!==(Wt.extras.onSameUrlNavigation??Q.onSameUrlNavigation)){const O="";return this.events.next(new dn(Wt.id,this.urlSerializer.serialize(Wt.rawUrl),O,0)),Wt.resolve(null),r.E}if(this.urlHandlingStrategy.shouldProcessUrl(Wt.rawUrl))return(0,y.of)(Wt).pipe((0,x.w)(O=>{const xe=this.transitions?.getValue();return this.events.next(new wt(O.id,this.urlSerializer.serialize(O.extractedUrl),O.source,O.restoredState)),xe!==this.transitions?.getValue()?r.E:Promise.resolve(O)}),function eo(G,se,Q,re,be,We){return(0,M.z)(pt=>function Zr(G,se,Q,re,be,We,pt="emptyOnly"){return new Nr(G,se,Q,re,be,pt,We).recognize()}(G,se,Q,re,pt.extractedUrl,be,We).pipe((0,C.U)(({state:Zt,tree:Wt})=>({...pt,targetSnapshot:Zt,urlAfterRedirects:Wt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Q.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,P.b)(O=>{We.targetSnapshot=O.targetSnapshot,We.urlAfterRedirects=O.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:O.urlAfterRedirects};const xe=new en(O.id,this.urlSerializer.serialize(O.extractedUrl),this.urlSerializer.serialize(O.urlAfterRedirects),O.targetSnapshot);this.events.next(xe)}));if(Mn&&this.urlHandlingStrategy.shouldProcessUrl(Wt.currentRawUrl)){const{id:O,extractedUrl:xe,source:K,restoredState:Je,extras:ft}=Wt,ht=new wt(O,this.urlSerializer.serialize(xe),K,Je);this.events.next(ht);const Kt=mr(0,this.rootComponentType).snapshot;return this.currentTransition=We={...Wt,targetSnapshot:Kt,urlAfterRedirects:xe,extras:{...ft,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=xe,(0,y.of)(We)}{const O="";return this.events.next(new dn(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),O,1)),Wt.resolve(null),r.E}}),(0,P.b)(Wt=>{const Mn=new Y(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);this.events.next(Mn)}),(0,C.U)(Wt=>(this.currentTransition=We={...Wt,guards:ji(Wt.targetSnapshot,Wt.currentSnapshot,this.rootContexts)},We)),function ae(G,se){return(0,M.z)(Q=>{const{targetSnapshot:re,currentSnapshot:be,guards:{canActivateChecks:We,canDeactivateChecks:pt}}=Q;return 0===pt.length&&0===We.length?(0,y.of)({...Q,guardsResult:!0}):function je(G,se,Q,re){return(0,D.D)(G).pipe((0,M.z)(be=>function $n(G,se,Q,re,be){const We=se&&se.routeConfig?se.routeConfig.canDeactivate:null;if(!We||0===We.length)return(0,y.of)(!0);const pt=We.map(Zt=>{const Wt=ai(se)??be,Mn=gr(Zt,Wt);return Te(function es(G){return G&&Ri(G.canDeactivate)}(Mn)?Mn.canDeactivate(G,se,Q,re):(0,n.runInInjectionContext)(Wt,()=>Mn(G,se,Q,re))).pipe((0,k.P)())});return(0,y.of)(pt).pipe(we())}(be.component,be.route,Q,se,re)),(0,k.P)(be=>!0!==be,!0))}(pt,re,be,G).pipe((0,M.z)(Zt=>Zt&&function Br(G){return"boolean"==typeof G}(Zt)?function xt(G,se,Q,re){return(0,D.D)(se).pipe((0,I.b)(be=>(0,m.z)(function Sn(G,se){return null!==G&&se&&se(new On(G)),(0,y.of)(!0)}(be.route.parent,re),function gn(G,se){return null!==G&&se&&se(new Ci(G)),(0,y.of)(!0)}(be.route,re),function cr(G,se,Q){const re=se[se.length-1],We=se.slice(0,se.length-1).reverse().map(pt=>function lr(G){const se=G.routeConfig?G.routeConfig.canActivateChild:null;return se&&0!==se.length?{node:G,guards:se}:null}(pt)).filter(pt=>null!==pt).map(pt=>(0,h.P)(()=>{const Zt=pt.guards.map(Wt=>{const Mn=ai(pt.node)??Q,ni=gr(Wt,Mn);return Te(function $r(G){return G&&Ri(G.canActivateChild)}(ni)?ni.canActivateChild(re,G):(0,n.runInInjectionContext)(Mn,()=>ni(re,G))).pipe((0,k.P)())});return(0,y.of)(Zt).pipe(we())}));return(0,y.of)(We).pipe(we())}(G,be.path,Q),function Di(G,se,Q){const re=se.routeConfig?se.routeConfig.canActivate:null;if(!re||0===re.length)return(0,y.of)(!0);const be=re.map(We=>(0,h.P)(()=>{const pt=ai(se)??Q,Zt=gr(We,pt);return Te(function Es(G){return G&&Ri(G.canActivate)}(Zt)?Zt.canActivate(se,G):(0,n.runInInjectionContext)(pt,()=>Zt(se,G))).pipe((0,k.P)())}));return(0,y.of)(be).pipe(we())}(G,be.route,Q))),(0,k.P)(be=>!0!==be,!0))}(re,We,G,se):(0,y.of)(Zt)),(0,C.U)(Zt=>({...Q,guardsResult:Zt})))})}(this.environmentInjector,Wt=>this.events.next(Wt)),(0,P.b)(Wt=>{if(We.guardsResult=Wt.guardsResult,at(Wt.guardsResult))throw Fr(0,Wt.guardsResult);const Mn=new pe(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot,!!Wt.guardsResult);this.events.next(Mn)}),(0,S.h)(Wt=>!!Wt.guardsResult||(this.cancelNavigationTransition(Wt,"",3),!1)),mo(Wt=>{if(Wt.guards.canActivateChecks.length)return(0,y.of)(Wt).pipe((0,P.b)(Mn=>{const ni=new de(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(ni)}),(0,x.w)(Mn=>{let ni=!1;return(0,y.of)(Mn).pipe(function fo(G,se){return(0,M.z)(Q=>{const{targetSnapshot:re,guards:{canActivateChecks:be}}=Q;if(!be.length)return(0,y.of)(Q);const We=new Set(be.map(Wt=>Wt.route)),pt=new Set;for(const Wt of We)if(!pt.has(Wt))for(const Mn of ns(Wt))pt.add(Mn);let Zt=0;return(0,D.D)(pt).pipe((0,I.b)(Wt=>We.has(Wt)?function Ro(G,se,Q,re){const be=G.routeConfig,We=G._resolve;return void 0!==be?.title&&!pr(be)&&(We[H]=be.title),function ta(G,se,Q,re){const be=Ye(G);if(0===be.length)return(0,y.of)({});const We={};return(0,D.D)(be).pipe((0,M.z)(pt=>function Oo(G,se,Q,re){const be=ai(se)??re,We=gr(G,be);return Te(We.resolve?We.resolve(se,Q):(0,n.runInInjectionContext)(be,()=>We(se,Q)))}(G[pt],se,Q,re).pipe((0,k.P)(),(0,P.b)(Zt=>{We[pt]=Zt}))),(0,U.h)(1),(0,W.h)(We),(0,A.K)(pt=>yn(pt)?r.E:(0,l._)(pt)))}(We,G,se,re).pipe((0,C.U)(pt=>(G._resolvedData=pt,G.data=wn(G,G.parent,Q).resolve,null)))}(Wt,re,G,se):(Wt.data=wn(Wt,Wt.parent,G).resolve,(0,y.of)(void 0))),(0,P.b)(()=>Zt++),(0,U.h)(1),(0,M.z)(Wt=>Zt===pt.size?(0,y.of)(Q):r.E))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,P.b)({next:()=>ni=!0,complete:()=>{ni||this.cancelNavigationTransition(Mn,"",2)}}))}),(0,P.b)(Mn=>{const ni=new Qe(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(ni)}))}),mo(Wt=>{const Mn=ni=>{const O=[];ni.routeConfig?.loadComponent&&!ni.routeConfig._loadedComponent&&O.push(this.configLoader.loadComponent(ni.routeConfig).pipe((0,P.b)(xe=>{ni.component=xe}),(0,C.U)(()=>{})));for(const xe of ni.children)O.push(...Mn(xe));return O};return(0,v.a)(Mn(Wt.targetSnapshot.root)).pipe((0,F.d)(null),(0,w.q)(1))}),mo(()=>this.afterPreactivation()),(0,x.w)(()=>{const{currentSnapshot:Wt,targetSnapshot:Mn}=We,ni=this.createViewTransition?.(this.environmentInjector,Wt.root,Mn.root);return ni?(0,D.D)(ni).pipe((0,C.U)(()=>We)):(0,y.of)(We)}),(0,C.U)(Wt=>{const Mn=function Cr(G,se,Q){const re=Zi(G,se._root,Q?Q._root:void 0);return new Fi(re,se)}(Q.routeReuseStrategy,Wt.targetSnapshot,Wt.currentRouterState);return this.currentTransition=We={...Wt,targetRouterState:Mn},this.currentNavigation.targetRouterState=Mn,We}),(0,P.b)(()=>{this.events.next(new qi)}),((G,se,Q,re)=>(0,C.U)(be=>(new ri(se,be.targetRouterState,be.currentRouterState,Q,re).activate(G),be)))(this.rootContexts,Q.routeReuseStrategy,Wt=>this.events.next(Wt),this.inputBindingEnabled),(0,w.q)(1),(0,P.b)({next:Wt=>{pt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new vt(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Wt.targetRouterState.snapshot),Wt.resolve(!0)},complete:()=>{pt=!0}}),(0,j.R)(this.transitionAbortSubject.pipe((0,P.b)(Wt=>{throw Wt}))),(0,ne.x)(()=>{pt||Zt||this.cancelNavigationTransition(We,"",1),this.currentNavigation?.id===We.id&&(this.currentNavigation=null)}),(0,A.K)(Wt=>{if(Zt=!0,Tr(Wt))this.events.next(new Ht(We.id,this.urlSerializer.serialize(We.extractedUrl),Wt.message,Wt.cancellationCode)),function Jr(G){return Tr(G)&&at(G.url)}(Wt)?this.events.next(new ki(Wt.url)):We.resolve(!1);else{this.events.next(new ze(We.id,this.urlSerializer.serialize(We.extractedUrl),Wt,We.targetSnapshot??void 0));try{We.resolve(Q.errorHandler(Wt))}catch(Mn){We.reject(Mn)}}return r.E}))}))}cancelNavigationTransition(Q,re,be){const We=new Ht(Q.id,this.urlSerializer.serialize(Q.extractedUrl),re,be);this.events.next(We),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(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();function $i(G){return G!==ct}let Ii=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(is),providedIn:"root"})}return G})();class Yi{shouldDetach(se){return!1}store(se,Q){}shouldAttach(se){return!1}retrieve(se){return null}shouldReuseRoute(se,Q){return se.routeConfig===Q.routeConfig}}let is=(()=>{class G extends Yi{static#e=this.\u0275fac=(()=>{let Q;return function(be){return(Q||(Q=n.\u0275\u0275getInheritedFactory(G)))(be||G)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),kr=(()=>{class G{static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:()=>(0,n.inject)(ds),providedIn:"root"})}return G})(),ds=(()=>{class G extends kr{constructor(){super(...arguments),this.location=(0,n.inject)(b.Location),this.urlSerializer=(0,n.inject)(Ot),this.options=(0,n.inject)(us,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(zt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ke,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mr(0,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(re=>{"popstate"===re.type&&Q(re.url,re.state)})}handleRouterEvent(Q,re){if(Q instanceof wt)this.stateMemento=this.createStateMemento();else if(Q instanceof dn)this.rawUrlTree=re.initialUrl;else if(Q instanceof en){if("eager"===this.urlUpdateStrategy&&!re.extras.skipLocationChange){const be=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl);this.setBrowserUrl(be,re)}}else Q instanceof qi?(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))):Q instanceof Ht&&(3===Q.code||2===Q.code)?this.restoreHistory(re):Q instanceof ze?this.restoreHistory(re,!0):Q instanceof vt&&(this.lastSuccessfulId=Q.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Q,re){const be=this.urlSerializer.serialize(Q);if(this.location.isCurrentPathEqualTo(be)||re.extras.replaceUrl){const pt={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId)};this.location.replaceState(be,"",pt)}else{const We={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId+1)};this.location.go(be,"",We)}}restoreHistory(Q,re=!1){if("computed"===this.canceledNavigationResolution){const We=this.currentPageId-this.browserPageId;0!==We?this.location.historyGo(We):this.currentUrlTree===Q.finalUrl&&0===We&&(this.resetState(Q),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(re&&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,re){return"computed"===this.canceledNavigationResolution?{navigationId:Q,\u0275routerPageId:re}:{navigationId:Q}}static#e=this.\u0275fac=(()=>{let Q;return function(be){return(Q||(Q=n.\u0275\u0275getInheritedFactory(G)))(be||G)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();var _r=function(G){return G[G.COMPLETE=0]="COMPLETE",G[G.FAILED=1]="FAILED",G[G.REDIRECTING=2]="REDIRECTING",G}(_r||{});function ur(G,se){G.events.pipe((0,S.h)(Q=>Q instanceof vt||Q instanceof Ht||Q instanceof ze||Q instanceof dn),(0,C.U)(Q=>Q instanceof vt||Q instanceof dn?_r.COMPLETE:Q instanceof Ht&&(0===Q.code||1===Q.code)?_r.REDIRECTING:_r.FAILED),(0,S.h)(Q=>Q!==_r.REDIRECTING),(0,w.q)(1)).subscribe(()=>{se()})}function Ji(G){throw G}const rs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Is={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rr=(()=>{class G{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,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(kr),this.options=(0,n.inject)(us,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(Xn),this.urlSerializer=(0,n.inject)(Ot),this.location=(0,n.inject)(b.Location),this.urlHandlingStrategy=(0,n.inject)(zt),this._events=new d.x,this.errorHandler=this.options.errorHandler||Ji,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(Ii),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(J,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(Lr,{optional:!0}),this.eventsSubscription=new g.w0,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.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(re=>{try{const be=this.navigationTransitions.currentTransition,We=this.navigationTransitions.currentNavigation;if(null!==be&&null!==We)if(this.stateManager.handleRouterEvent(re,We),re instanceof Ht&&0!==re.code&&1!==re.code)this.navigated=!0;else if(re instanceof vt)this.navigated=!0;else if(re instanceof ki){const pt=this.urlHandlingStrategy.merge(re.url,be.currentRawUrl),Zt={skipLocationChange:be.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$i(be.source)};this.scheduleNavigation(pt,ct,null,Zt,{resolve:be.resolve,reject:be.reject,promise:be.promise})}(function ia(G){return!(G instanceof qi||G instanceof ki)})(re)&&this._events.next(re)}catch(be){this.navigationTransitions.transitionAbortSubject.next(be)}});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),ct,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((Q,re)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Q,"popstate",re)},0)}))}navigateToSyncWithBrowser(Q,re,be){const We={replaceUrl:!0},pt=be?.navigationId?be:null;if(be){const Wt={...be};delete Wt.navigationId,delete Wt.\u0275routerPageId,0!==Object.keys(Wt).length&&(We.state=Wt)}const Zt=this.parseUrl(Q);this.scheduleNavigation(Zt,re,pt,We)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Q){this.config=Q.map(bn),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,re={}){const{relativeTo:be,queryParams:We,fragment:pt,queryParamsHandling:Zt,preserveFragment:Wt}=re,Mn=Wt?this.currentUrlTree.fragment:pt;let O,ni=null;switch(Zt){case"merge":ni={...this.currentUrlTree.queryParams,...We};break;case"preserve":ni=this.currentUrlTree.queryParams;break;default:ni=We||null}null!==ni&&(ni=this.removeEmptyProps(ni));try{O=mt(be?be.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Q[0]||!Q[0].startsWith("/"))&&(Q=[]),O=this.currentUrlTree.root}return He(O,Q,ni,Mn??null)}navigateByUrl(Q,re={skipLocationChange:!1}){const be=at(Q)?Q:this.parseUrl(Q),We=this.urlHandlingStrategy.merge(be,this.rawUrlTree);return this.scheduleNavigation(We,ct,null,re)}navigate(Q,re={skipLocationChange:!1}){return function na(G){for(let se=0;se{const We=Q[be];return null!=We&&(re[be]=We),re},{})}scheduleNavigation(Q,re,be,We,pt){if(this.disposed)return Promise.resolve(!1);let Zt,Wt,Mn;pt?(Zt=pt.resolve,Wt=pt.reject,Mn=pt.promise):Mn=new Promise((O,xe)=>{Zt=O,Wt=xe});const ni=this.pendingTasks.add();return ur(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ni))}),this.navigationTransitions.handleNavigationRequest({source:re,restoredState:be,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Q,extras:We,resolve:Zt,reject:Wt,promise:Mn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Mn.catch(O=>Promise.reject(O))}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),xi=(()=>{class G{constructor(Q,re,be,We,pt,Zt){this.router=Q,this.route=re,this.tabIndexAttribute=be,this.renderer=We,this.el=pt,this.locationStrategy=Zt,this.href=null,this.commands=null,this.onChanges=new d.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Wt=pt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Wt||"area"===Wt,this.isAnchorElement?this.subscription=Q.events.subscribe(Mn=>{Mn instanceof vt&&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,re,be,We,pt){return!!(null===this.urlTree||this.isAnchorElement&&(0!==Q||re||be||We||pt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const Q=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Q)}applyAttributeValue(Q,re){const be=this.renderer,We=this.el.nativeElement;null!==re?be.setAttribute(We,Q,re):be.removeAttribute(We,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(re){return new(re||G)(n.\u0275\u0275directiveInject(Rr),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(b.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(re,be){1&re&&n.\u0275\u0275listener("click",function(pt){return be.onClick(pt.button,pt.ctrlKey,pt.shiftKey,pt.altKey,pt.metaKey)}),2&re&&n.\u0275\u0275attribute("target",be.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:["skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:["replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return G})(),Fs=(()=>{class G{get isActive(){return this._isActive}constructor(Q,re,be,We,pt){this.router=Q,this.element=re,this.renderer=be,this.cdr=We,this.link=pt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=Q.events.subscribe(Zt=>{Zt instanceof vt&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,B.J)()).subscribe(Q=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Q=[...this.links.toArray(),this.link].filter(re=>!!re).map(re=>re.onChanges);this.linkInputChangesSubscription=(0,D.D)(Q).pipe((0,B.J)()).subscribe(re=>{this._isActive!==this.isLinkActive(this.router)(re)&&this.update()})}set routerLinkActive(Q){const re=Array.isArray(Q)?Q:Q.split(" ");this.classes=re.filter(be=>!!be)}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(re=>{Q?this.renderer.addClass(this.element.nativeElement,re):this.renderer.removeClass(this.element.nativeElement,re)}),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 re=function to(G){return!!G.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return be=>!!be.urlTree&&Q.isActive(be.urlTree,re)}hasActiveLinks(){const Q=this.isLinkActive(this.router);return this.link&&Q(this.link)||this.links.some(Q)}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275directiveInject(Rr),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(xi,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:G,selectors:[["","routerLinkActive",""]],contentQueries:function(re,be,We){if(1&re&&n.\u0275\u0275contentQuery(We,xi,5),2&re){let pt;n.\u0275\u0275queryRefresh(pt=n.\u0275\u0275loadQuery())&&(be.links=pt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return G})();class ar{}let al=(()=>{class G{preload(Q,re){return re().pipe((0,A.K)(()=>(0,y.of)(null)))}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),no=(()=>{class G{preload(Q,re){return(0,y.of)(null)}static#e=this.\u0275fac=function(re){return new(re||G)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})(),Ss=(()=>{class G{constructor(Q,re,be,We,pt){this.router=Q,this.injector=be,this.preloadingStrategy=We,this.loader=pt}setUpPreloading(){this.subscription=this.router.events.pipe((0,S.h)(Q=>Q instanceof vt),(0,I.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Q,re){const be=[];for(const We of re){We.providers&&!We._injector&&(We._injector=(0,n.createEnvironmentInjector)(We.providers,Q,`Route: ${We.path}`));const pt=We._injector??Q,Zt=We._loadedInjector??pt;(We.loadChildren&&!We._loadedRoutes&&void 0===We.canLoad||We.loadComponent&&!We._loadedComponent)&&be.push(this.preloadConfig(pt,We)),(We.children||We._loadedRoutes)&&be.push(this.processRoutes(Zt,We.children??We._loadedRoutes))}return(0,D.D)(be).pipe((0,B.J)())}preloadConfig(Q,re){return this.preloadingStrategy.preload(re,()=>{let be;be=re.loadChildren&&void 0===re.canLoad?this.loader.loadChildren(Q,re):(0,y.of)(null);const We=be.pipe((0,M.z)(pt=>null===pt?(0,y.of)(void 0):(re._loadedRoutes=pt.routes,re._loadedInjector=pt.injector,this.processRoutes(pt.injector??Q,pt.routes))));if(re.loadComponent&&!re._loadedComponent){const pt=this.loader.loadComponent(re);return(0,D.D)([We,pt]).pipe((0,B.J)())}return We})}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject(Rr),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(ar),n.\u0275\u0275inject(Fe))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const xr=new n.InjectionToken("");let ra=(()=>{class G{constructor(Q,re,be,We,pt={}){this.urlSerializer=Q,this.transitions=re,this.viewportScroller=be,this.zone=We,this.options=pt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},pt.scrollPositionRestoration=pt.scrollPositionRestoration||"disabled",pt.anchorScrolling=pt.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 vt?(this.lastId=Q.id,this.scheduleScrollEvent(Q,this.urlSerializer.parse(Q.urlAfterRedirects).fragment)):Q instanceof dn&&0===Q.code&&(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 Ei&&(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,re){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ei(Q,"popstate"===this.lastSource?this.store[this.restoredId]:null,re))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(re){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac})}return G})();function Lo(G,...se){return(0,n.makeEnvironmentProviders)([{provide:J,multi:!0,useValue:G},[],{provide:_n,useFactory:sa,deps:[Rr]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:go},se.map(Q=>Q.\u0275providers)])}function sa(G){return G.routerState.root}function rr(G,se){return{\u0275kind:G,\u0275providers:se}}function aa(G){return[{provide:J,multi:!0,useValue:G},[]]}function la(G={}){return rr(4,[{provide:xr,useFactory:()=>{const Q=(0,n.inject)(b.ViewportScroller),re=(0,n.inject)(n.NgZone),be=(0,n.inject)(Xn),We=(0,n.inject)(Ot);return new ra(We,be,Q,re,G)}}])}function go(){const G=(0,n.inject)(n.Injector);return se=>{const Q=G.get(n.ApplicationRef);if(se!==Q.components[0])return;const re=G.get(Rr),be=G.get(Us);1===G.get(Or)&&re.initialNavigation(),G.get(ll,null,n.InjectFlags.Optional)?.setUpPreloading(),G.get(xr,null,n.InjectFlags.Optional)?.init(),re.resetRootComponentType(Q.componentTypes[0]),be.closed||(be.next(),be.complete(),be.unsubscribe())}}const Us=new n.InjectionToken("",{factory:()=>new d.x}),Or=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function _o(){return rr(2,[{provide:Or,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:se=>{const Q=se.get(b.LOCATION_INITIALIZED,Promise.resolve());return()=>Q.then(()=>new Promise(re=>{const be=se.get(Rr),We=se.get(Us);ur(be,()=>{re(!0)}),se.get(Xn).afterPreactivation=()=>(re(!0),We.closed?(0,y.of)(void 0):We),be.initialNavigation()}))}}])}function zn(){return rr(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const se=(0,n.inject)(Rr);return()=>{se.setUpLocationChangeListener()}}},{provide:Or,useValue:2}])}function Po(){let G=[];return G=[],rr(1,G)}const ll=new n.InjectionToken("");function ca(G){return rr(0,[{provide:ll,useExisting:Ss},{provide:ar,useExisting:G}])}function io(G){return rr(5,[{provide:us,useValue:G}])}function No(){return rr(6,[{provide:b.LocationStrategy,useClass:b.HashLocationStrategy}])}function vo(G){return rr(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const Q=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(Rr).events.subscribe(re=>{re instanceof ze&&(0,n.runInInjectionContext)(Q,()=>G(re))})}}])}function Ts(){return rr(8,[tr,{provide:Lr,useExisting:tr}])}function Fo(G){return rr(9,[{provide:xn,useValue:di},{provide:Li,useValue:{skipNextTransition:!!G?.skipInitialTransition,...G}}])}const Bs=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ro=[b.Location,{provide:Ot,useClass:Yt},Rr,fr,{provide:_n,useFactory:sa,deps:[Rr]},Fe,[]];let ul=(()=>{class G{constructor(Q){}static forRoot(Q,re){return{ngModule:G,providers:[ro,[],{provide:J,multi:!0,useValue:Q},{provide:Bs,useFactory:da,deps:[[Rr,new n.Optional,new n.SkipSelf]]},{provide:us,useValue:re||{}},re?.useHash?{provide:b.LocationStrategy,useClass:b.HashLocationStrategy}:{provide:b.LocationStrategy,useClass:b.PathLocationStrategy},{provide:xr,useFactory:()=>{const G=(0,n.inject)(b.ViewportScroller),se=(0,n.inject)(n.NgZone),Q=(0,n.inject)(us),re=(0,n.inject)(Xn),be=(0,n.inject)(Ot);return Q.scrollOffset&&G.setOffset(Q.scrollOffset),new ra(be,re,G,se,Q)}},re?.preloadingStrategy?ca(re.preloadingStrategy).\u0275providers:[],re?.initialNavigation?Pi(re):[],re?.bindToComponentInputs?Ts().\u0275providers:[],re?.enableViewTransitions?Fo().\u0275providers:[],[{provide:bo,useFactory:go},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:bo}]]}}static forChild(Q){return{ngModule:G,providers:[{provide:J,multi:!0,useValue:Q}]}}static#e=this.\u0275fac=function(re){return new(re||G)(n.\u0275\u0275inject(Bs,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:G});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return G})();function da(G){return"guarded"}function Pi(G){return["disabled"===G.initialNavigation?zn().\u0275providers:[],"enabledBlocking"===G.initialNavigation?_o().\u0275providers:[]]}const bo=new n.InjectionToken("");function ss(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canMatch(...Q))}function Uo(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canActivate(...Q))}function Bo(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canActivateChild(...Q))}function dl(G){return G.map(se=>(...Q)=>(0,n.inject)(se).canDeactivate(...Q))}function uc(G){return(...se)=>(0,n.inject)(G).resolve(...se)}const ha=new n.Version("17.0.8")},9515:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{DEFAULT_LANGUAGE:()=>L,FakeMissingTranslationHandler:()=>g,MissingTranslationHandler:()=>d,TranslateCompiler:()=>M,TranslateDefaultParser:()=>S,TranslateDirective:()=>U,TranslateFakeCompiler:()=>k,TranslateFakeLoader:()=>c,TranslateLoader:()=>r,TranslateModule:()=>ne,TranslateParser:()=>T,TranslatePipe:()=>W,TranslateService:()=>R,TranslateStore:()=>I,USE_DEFAULT_LANG:()=>A,USE_EXTEND:()=>F,USE_STORE:()=>P});var n=_(9212),f=_(2096),D=_(2664),y=_(9315),u=_(34),v=_(4911),s=_(8180),m=_(7081),h=_(7398),o=_(6328),l=_(4664);class r{}let c=(()=>{class ee extends r{getTranslation(B){return(0,f.of)({})}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class d{}let g=(()=>{class ee{handle(B){return B.key}static \u0275fac=function($){return new($||ee)};static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();function b(ee,j){if(ee===j)return!0;if(null===ee||null===j)return!1;if(ee!=ee&&j!=j)return!0;let Z,H,te,B=typeof ee;if(B==typeof j&&"object"==B){if(!Array.isArray(ee)){if(Array.isArray(j))return!1;for(H in te=Object.create(null),ee){if(!b(ee[H],j[H]))return!1;te[H]=!0}for(H in j)if(!(H in te)&&typeof j[H]<"u")return!1;return!0}if(!Array.isArray(j))return!1;if((Z=ee.length)==j.length){for(H=0;H{x(j[$])?$ in ee?B[$]=w(ee[$],j[$]):Object.assign(B,{[$]:j[$]}):Object.assign(B,{[$]:j[$]})}),B}class T{}let S=(()=>{class ee extends T{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(B,$){let Z;return Z="string"==typeof B?this.interpolateString(B,$):"function"==typeof B?this.interpolateFunction(B,$):B,Z}getValue(B,$){let Z="string"==typeof $?$.split("."):[$];$="";do{$+=Z.shift(),!C(B)||!C(B[$])||"object"!=typeof B[$]&&Z.length?Z.length?$+=".":B=void 0:(B=B[$],$="")}while(Z.length);return B}interpolateFunction(B,$){return B($)}interpolateString(B,$){return $?B.replace(this.templateMatcher,(Z,H)=>{let te=this.getValue($,H);return C(te)?te:Z}):B}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class M{}let k=(()=>{class ee extends M{compile(B,$){return B}compileTranslations(B,$){return B}static \u0275fac=(()=>{let B;return function(Z){return(B||(B=n.\u0275\u0275getInheritedFactory(ee)))(Z||ee)}})();static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})();class I{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new n.EventEmitter;onLangChange=new n.EventEmitter;onDefaultLangChange=new n.EventEmitter}const P=new n.InjectionToken("USE_STORE"),A=new n.InjectionToken("USE_DEFAULT_LANG"),L=new n.InjectionToken("DEFAULT_LANGUAGE"),F=new n.InjectionToken("USE_EXTEND");let R=(()=>{class ee{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new n.EventEmitter;_onLangChange=new n.EventEmitter;_onDefaultLangChange=new n.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(B){this.isolate?this._defaultLang=B:this.store.defaultLang=B}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(B){this.isolate?this._currentLang=B:this.store.currentLang=B}get langs(){return this.isolate?this._langs:this.store.langs}set langs(B){this.isolate?this._langs=B:this.store.langs=B}get translations(){return this.isolate?this._translations:this.store.translations}set translations(B){this.isolate?this._translations=B:this.store.translations=B}constructor(B,$,Z,H,te,ue=!0,ye=!1,Ge=!1,$e){this.store=B,this.currentLoader=$,this.compiler=Z,this.parser=H,this.missingTranslationHandler=te,this.useDefaultLang=ue,this.isolate=ye,this.extend=Ge,$e&&this.setDefaultLang($e)}setDefaultLang(B){if(B===this.defaultLang)return;let $=this.retrieveTranslations(B);typeof $<"u"?(null==this.defaultLang&&(this.defaultLang=B),$.pipe((0,s.q)(1)).subscribe(Z=>{this.changeDefaultLang(B)})):this.changeDefaultLang(B)}getDefaultLang(){return this.defaultLang}use(B){if(B===this.currentLang)return(0,f.of)(this.translations[B]);let $=this.retrieveTranslations(B);return typeof $<"u"?(this.currentLang||(this.currentLang=B),$.pipe((0,s.q)(1)).subscribe(Z=>{this.changeLang(B)}),$):(this.changeLang(B),(0,f.of)(this.translations[B]))}retrieveTranslations(B){let $;return(typeof this.translations[B]>"u"||this.extend)&&(this._translationRequests[B]=this._translationRequests[B]||this.getTranslation(B),$=this._translationRequests[B]),$}getTranslation(B){this.pending=!0;const $=this.currentLoader.getTranslation(B).pipe((0,m.d)(1),(0,s.q)(1));return this.loadingTranslations=$.pipe((0,h.U)(Z=>this.compiler.compileTranslations(Z,B)),(0,m.d)(1),(0,s.q)(1)),this.loadingTranslations.subscribe({next:Z=>{this.translations[B]=this.extend&&this.translations[B]?{...Z,...this.translations[B]}:Z,this.updateLangs(),this.pending=!1},error:Z=>{this.pending=!1}}),$}setTranslation(B,$,Z=!1){$=this.compiler.compileTranslations($,B),this.translations[B]=(Z||this.extend)&&this.translations[B]?w(this.translations[B],$):$,this.updateLangs(),this.onTranslationChange.emit({lang:B,translations:this.translations[B]})}getLangs(){return this.langs}addLangs(B){B.forEach($=>{-1===this.langs.indexOf($)&&this.langs.push($)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(B,$,Z){let H;if($ instanceof Array){let te={},ue=!1;for(let ye of $)te[ye]=this.getParsedResult(B,ye,Z),(0,D.b)(te[ye])&&(ue=!0);if(ue){const ye=$.map(Ge=>(0,D.b)(te[Ge])?te[Ge]:(0,f.of)(te[Ge]));return(0,y.D)(ye).pipe((0,h.U)(Ge=>{let $e={};return Ge.forEach((Ye,Ze)=>{$e[$[Ze]]=Ye}),$e}))}return te}if(B&&(H=this.parser.interpolate(this.parser.getValue(B,$),Z)),typeof H>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(H=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],$),Z)),typeof H>"u"){let te={key:$,translateService:this};typeof Z<"u"&&(te.interpolateParams=Z),H=this.missingTranslationHandler.handle(te)}return typeof H<"u"?H:$}get(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,o.b)(Z=>(Z=this.getParsedResult(Z,B,$),(0,D.b)(Z)?Z:(0,f.of)(Z))));{let Z=this.getParsedResult(this.translations[this.currentLang],B,$);return(0,D.b)(Z)?Z:(0,f.of)(Z)}}getStreamOnTranslationChange(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');return(0,u.z)((0,v.P)(()=>this.get(B,$)),this.onTranslationChange.pipe((0,l.w)(Z=>{const H=this.getParsedResult(Z.translations,B,$);return"function"==typeof H.subscribe?H:(0,f.of)(H)})))}stream(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');return(0,u.z)((0,v.P)(()=>this.get(B,$)),this.onLangChange.pipe((0,l.w)(Z=>{const H=this.getParsedResult(Z.translations,B,$);return(0,D.b)(H)?H:(0,f.of)(H)})))}instant(B,$){if(!C(B)||!B.length)throw new Error('Parameter "key" required');let Z=this.getParsedResult(this.translations[this.currentLang],B,$);if((0,D.b)(Z)){if(B instanceof Array){let H={};return B.forEach((te,ue)=>{H[B[ue]]=B[ue]}),H}return B}return Z}set(B,$,Z=this.currentLang){this.translations[Z][B]=this.compiler.compile($,Z),this.updateLangs(),this.onTranslationChange.emit({lang:Z,translations:this.translations[Z]})}changeLang(B){this.currentLang=B,this.onLangChange.emit({lang:B,translations:this.translations[B]}),null==this.defaultLang&&this.changeDefaultLang(B)}changeDefaultLang(B){this.defaultLang=B,this.onDefaultLangChange.emit({lang:B,translations:this.translations[B]})}reloadLang(B){return this.resetLang(B),this.getTranslation(B)}resetLang(B){this._translationRequests[B]=void 0,this.translations[B]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let B=window.navigator.languages?window.navigator.languages[0]:null;return B=B||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof B>"u"?void 0:(-1!==B.indexOf("-")&&(B=B.split("-")[0]),-1!==B.indexOf("_")&&(B=B.split("_")[0]),B)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let B=window.navigator.languages?window.navigator.languages[0]:null;return B=B||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,B}static \u0275fac=function($){return new($||ee)(n.\u0275\u0275inject(I),n.\u0275\u0275inject(r),n.\u0275\u0275inject(M),n.\u0275\u0275inject(T),n.\u0275\u0275inject(d),n.\u0275\u0275inject(A),n.\u0275\u0275inject(P),n.\u0275\u0275inject(F),n.\u0275\u0275inject(L))};static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})(),U=(()=>{class ee{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(B){B&&(this.key=B,this.checkNodes())}set translateParams(B){b(this.currentParams,B)||(this.currentParams=B,this.checkNodes(!0))}constructor(B,$,Z){this.translateService=B,this.element=$,this._ref=Z,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(H=>{H.lang===this.translateService.currentLang&&this.checkNodes(!0,H.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(H=>{this.checkNodes(!0,H.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(H=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(B=!1,$){let Z=this.element.nativeElement.childNodes;Z.length||(this.setContent(this.element.nativeElement,this.key),Z=this.element.nativeElement.childNodes);for(let H=0;H{te!==B&&($.lastKey=B),$.originalContent||($.originalContent=this.getContent($)),$.currentValue=C(te)?te:$.originalContent||B,this.setContent($,this.key?$.currentValue:$.originalContent.replace(B,$.currentValue)),this._ref.markForCheck()};if(C(Z)){let te=this.translateService.getParsedResult(Z,B,this.currentParams);(0,D.b)(te)?te.subscribe({next:H}):H(te)}else this.translateService.get(B,this.currentParams).subscribe(H)}}getContent(B){return C(B.textContent)?B.textContent:B.data}setContent(B,$){C(B.textContent)?B.textContent=$:B.data=$}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function($){return new($||ee)(n.\u0275\u0275directiveInject(R),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static \u0275dir=n.\u0275\u0275defineDirective({type:ee,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})}return ee})(),W=(()=>{class ee{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(B,$){this.translate=B,this._ref=$}updateValue(B,$,Z){let H=te=>{this.value=void 0!==te?te:B,this.lastKey=B,this._ref.markForCheck()};if(Z){let te=this.translate.getParsedResult(Z,B,$);(0,D.b)(te.subscribe)?te.subscribe(H):H(te)}this.translate.get(B,$).subscribe(H)}transform(B,...$){if(!B||!B.length)return B;if(b(B,this.lastKey)&&b($,this.lastParams))return this.value;let Z;if(C($[0])&&$.length)if("string"==typeof $[0]&&$[0].length){let H=$[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Z=JSON.parse(H)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${$[0]}`)}}else"object"==typeof $[0]&&!Array.isArray($[0])&&(Z=$[0]);return this.lastKey=B,this.lastParams=$,this.updateValue(B,Z),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(H=>{this.lastKey&&H.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(B,Z,H.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(H=>{this.lastKey&&(this.lastKey=null,this.updateValue(B,Z,H.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(B,Z))})),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($){return new($||ee)(n.\u0275\u0275directiveInject(R,16),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static \u0275pipe=n.\u0275\u0275definePipe({name:"translate",type:ee,pure:!1});static \u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac})}return ee})(),ne=(()=>{class ee{static forRoot(B={}){return{ngModule:ee,providers:[B.loader||{provide:r,useClass:c},B.compiler||{provide:M,useClass:k},B.parser||{provide:T,useClass:S},B.missingTranslationHandler||{provide:d,useClass:g},I,{provide:P,useValue:B.isolate},{provide:A,useValue:B.useDefaultLang},{provide:F,useValue:B.extend},{provide:L,useValue:B.defaultLanguage},R]}}static forChild(B={}){return{ngModule:ee,providers:[B.loader||{provide:r,useClass:c},B.compiler||{provide:M,useClass:k},B.parser||{provide:T,useClass:S},B.missingTranslationHandler||{provide:d,useClass:g},{provide:P,useValue:B.isolate},{provide:A,useValue:B.useDefaultLang},{provide:F,useValue:B.extend},{provide:L,useValue:B.defaultLanguage},R]}}static \u0275fac=function($){return new($||ee)};static \u0275mod=n.\u0275\u0275defineNgModule({type:ee});static \u0275inj=n.\u0275\u0275defineInjector({})}return ee})()},5061:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{TranslateHttpLoader:()=>n});class n{http;prefix;suffix;constructor(D,y="/assets/i18n/",u=".json"){this.http=D,this.prefix=y,this.suffix=u}getTranslation(D){return this.http.get(`${this.prefix}${D}${this.suffix}`)}}},4751:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{AUTH_CONFIG:()=>un,AbstractValidationHandler:()=>Ge,AuthConfig:()=>te,DateTimeProvider:()=>A,DefaultHashHandler:()=>Pe,DefaultOAuthInterceptor:()=>Ot,HashHandler:()=>ke,JwksValidationHandler:()=>En,LoginOptions:()=>F,MemoryStorage:()=>W,NullValidationHandler:()=>k,OAuthErrorEvent:()=>$,OAuthEvent:()=>ee,OAuthInfoEvent:()=>B,OAuthLogger:()=>R,OAuthModule:()=>fn,OAuthModuleConfig:()=>I,OAuthNoopResourceServerErrorHandler:()=>yt,OAuthResourceServerConfig:()=>P,OAuthResourceServerErrorHandler:()=>Be,OAuthService:()=>Ne,OAuthStorage:()=>U,OAuthSuccessEvent:()=>j,ReceivedTokens:()=>ne,SystemDateTimeProvider:()=>L,UrlHelperService:()=>$e,ValidationHandler:()=>ye,provideOAuthClient:()=>cn});var n=_(5861),f=_(9212),D=_(6814),y=_(9862),u=_(8645),v=_(2096),s=_(2459),m=_(3684),h=_(8504),o=_(2572),l=_(3019),r=_(2181),c=_(9397),d=_(3620),g=_(7547),b=_(4664),C=_(7398),x=_(1374),w=_(6306),T=_(5178),S=_(8180),M=_(9769);class k{validateSignature(Ft){return Promise.resolve(null)}validateAtHash(Ft){return Promise.resolve(!0)}}class I{}class P{}class A{}let L=(()=>{class Bt extends A{now(){return Date.now()}new(){return new Date}static#e=this.\u0275fac=(()=>{let De;return function(Xe){return(De||(De=f.\u0275\u0275getInheritedFactory(Bt)))(Xe||Bt)}})();static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class F{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class R{}class U{}let W=(()=>{class Bt{constructor(){this.data=new Map}getItem(De){return this.data.get(De)}removeItem(De){this.data.delete(De)}setItem(De,Ve){this.data.set(De,Ve)}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class ne{}class ee{constructor(Ft){this.type=Ft}}class j extends ee{constructor(Ft,De=null){super(Ft),this.info=De}}class B extends ee{constructor(Ft,De=null){super(Ft),this.info=De}}class $ extends ee{constructor(Ft,De,Ve=null){super(Ft),this.reason=De,this.params=Ve}}function Z(Bt){const Ft=Bt.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(Ft).split("").map(function(De){return"%"+("00"+De.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function H(Bt){return btoa(Bt).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class te{constructor(Ft){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=De=>{location.href=De},Ft&&Object.assign(this,Ft)}}class ue{encodeKey(Ft){return encodeURIComponent(Ft)}encodeValue(Ft){return encodeURIComponent(Ft)}decodeKey(Ft){return decodeURIComponent(Ft)}decodeValue(Ft){return decodeURIComponent(Ft)}}class ye{}class Ge{validateAtHash(Ft){var De=this;return(0,n.Z)(function*(){const Ve=De.inferHashAlgorithm(Ft.idTokenHeader),Xe=yield De.calcHash(Ft.accessToken,Ve),tt=H(Xe.substr(0,Xe.length/2)),ut=Ft.idTokenClaims.at_hash.replace(/=/g,"");return tt!==ut&&(console.error("exptected at_hash: "+tt),console.error("actual at_hash: "+ut)),tt===ut})()}inferHashAlgorithm(Ft){const De=Ft.alg;if(!De.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+De);return"sha-"+De.substr(2)}}let $e=(()=>{class Bt{getHashFragmentParams(De){let Ve=De||window.location.hash;if(Ve=decodeURIComponent(Ve),0!==Ve.indexOf("#"))return{};const Xe=Ve.indexOf("?");return Ve=Ve.substr(Xe>-1?Xe+1:1),this.parseQueryString(Ve)}parseQueryString(De){const Ve={};let Xe,St,tt,ut,Oe,Ct;if(null===De)return Ve;const Pt=De.split("&");for(let Nt=0;Nt=64;){for(St=Ft[0],tt=Ft[1],ut=Ft[2],Oe=Ft[3],Ct=Ft[4],Pt=Ft[5],Nt=Ft[6],bt=Ft[7],ce=0;ce<16;ce++)z=Ve+4*ce,Bt[ce]=(255&De[z])<<24|(255&De[z+1])<<16|(255&De[z+2])<<8|255&De[z+3];for(ce=16;ce<64;ce++)_e=Bt[ce-2],oe=(_e>>>17|_e<<15)^(_e>>>19|_e<<13)^_e>>>10,_e=Bt[ce-15],Se=(_e>>>7|_e<<25)^(_e>>>18|_e<<14)^_e>>>3,Bt[ce]=(oe+Bt[ce-7]|0)+(Se+Bt[ce-16]|0);for(ce=0;ce<64;ce++)oe=(((Ct>>>6|Ct<<26)^(Ct>>>11|Ct<<21)^(Ct>>>25|Ct<<7))+(Ct&Pt^~Ct&Nt)|0)+(bt+(Et[ce]+Bt[ce]|0)|0)|0,Se=((St>>>2|St<<30)^(St>>>13|St<<19)^(St>>>22|St<<10))+(St&tt^St&ut^tt&ut)|0,bt=Nt,Nt=Pt,Pt=Ct,Ct=Oe+oe|0,Oe=ut,ut=tt,tt=St,St=oe+Se|0;Ft[0]+=St,Ft[1]+=tt,Ft[2]+=ut,Ft[3]+=Oe,Ft[4]+=Ct,Ft[5]+=Pt,Ft[6]+=Nt,Ft[7]+=bt,Ve+=64,Xe-=64}return Ve}class qe{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 Ft=0;Ft0){for(;this.bufferLength<64&&De>0;)this.buffer[this.bufferLength++]=Ft[Ve++],De--;64===this.bufferLength&&(Te(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(De>=64&&(Ve=Te(this.temp,this.state,Ft,Ve,De),De%=64);De>0;)this.buffer[this.bufferLength++]=Ft[Ve++],De--;return this}finish(Ft){if(!this.finished){const De=this.bytesHashed,Ve=this.bufferLength,Xe=De/536870912|0,St=De<<3,tt=De%64<56?64:128;this.buffer[Ve]=128;for(let ut=Ve+1;ut>>24&255,this.buffer[tt-7]=Xe>>>16&255,this.buffer[tt-6]=Xe>>>8&255,this.buffer[tt-5]=Xe>>>0&255,this.buffer[tt-4]=St>>>24&255,this.buffer[tt-3]=St>>>16&255,this.buffer[tt-2]=St>>>8&255,this.buffer[tt-1]=St>>>0&255,Te(this.temp,this.state,this.buffer,0,tt),this.finished=!0}for(let De=0;De<8;De++)Ft[4*De+0]=this.state[De]>>>24&255,Ft[4*De+1]=this.state[De]>>>16&255,Ft[4*De+2]=this.state[De]>>>8&255,Ft[4*De+3]=this.state[De]>>>0&255;return this}digest(){const Ft=new Uint8Array(this.digestLength);return this.finish(Ft),Ft}_saveState(Ft){for(let De=0;De{class Bt{calcHash(De,Ve){return(0,n.Z)(function*(){return function me(Bt){const Ft=[];for(let De=0;De{class Bt extends te{constructor(De,Ve,Xe,St,tt,ut,Oe,Ct,Pt,Nt){super(),this.ngZone=De,this.http=Ve,this.config=tt,this.urlHelper=ut,this.logger=Oe,this.crypto=Ct,this.dateTimeService=Nt,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new u.x,this.discoveryDocumentLoadedSubject=new u.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Pt,tt||(tt={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),St&&(this.tokenValidationHandler=St),tt&&this.configure(tt);try{Xe?this.setStorage(Xe):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(bt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",bt)}if(this.checkLocalStorageAccessable()){const bt=window?.navigator?.userAgent;(bt?.includes("MSIE ")||bt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const De="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(De,De),localStorage.removeItem(De),0))}catch{return!1}}configure(De){Object.assign(this,new te,De),this.config=Object.assign({},new te,De),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,r.h)(De=>"token_received"===De.type)).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(De={},Ve,Xe=!0){let St=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,c.b)(tt=>{"token_received"===tt.type?St=!0:"logout"===tt.type&&(St=!1)}),(0,r.h)(tt=>"token_expires"===tt.type&&(null==Ve||"any"===Ve||tt.info===Ve)),(0,d.b)(1e3)).subscribe(()=>{St&&this.refreshInternal(De,Xe).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(De,Ve){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(De,Ve):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(De=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(De))}loadDiscoveryDocumentAndLogin(De=null){return this.loadDiscoveryDocumentAndTryLogin(De=De||{}).then(()=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof De.state?De.state:""),!1))}debug(...De){this.showDebugInformation&&this.logger.debug(...De)}validateUrlFromDiscoveryDocument(De){const Ve=[],Xe=this.validateUrlForHttps(De),St=this.validateUrlAgainstIssuer(De);return Xe||Ve.push("https for all urls required. Also for urls received by discovery."),St||Ve.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),Ve}validateUrlForHttps(De){if(!De)return!0;const Ve=De.toLowerCase();return!(!1!==this.requireHttps&&(!Ve.match(/^http:\/\/localhost($|[:/])/)&&!Ve.match(/^http:\/\/localhost($|[:/])/)||"remoteOnly"!==this.requireHttps))||Ve.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(De,Ve){if(!De)throw new Error(`'${Ve}' should not be null`);if(!this.validateUrlForHttps(De))throw new Error(`'${Ve}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(De){return!this.strictDiscoveryDocumentValidation||!De||De.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.h)(De=>"token_received"===De.type)).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const De=this.getAccessTokenExpiration(),Ve=this.getAccessTokenStoredAt(),Xe=this.calcTimeout(Ve,De);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,v.of)(new B("token_expires","access_token")).pipe((0,g.g)(Xe)).subscribe(St=>{this.ngZone.run(()=>{this.eventsSubject.next(St)})})})}setupIdTokenTimer(){const De=this.getIdTokenExpiration(),Ve=this.getIdTokenStoredAt(),Xe=this.calcTimeout(Ve,De);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,v.of)(new B("token_expires","id_token")).pipe((0,g.g)(Xe)).subscribe(St=>{this.ngZone.run(()=>{this.eventsSubject.next(St)})})})}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(De,Ve){const Xe=this.dateTimeService.now(),tt=Math.max(0,(Ve-De)*this.timeoutFactor-(Xe-De)),ut=2147483647;return tt>ut?ut:tt}setStorage(De){this._storage=De,this.configChanged()}loadDiscoveryDocument(De=null){return new Promise((Ve,Xe)=>{De||((De=this.issuer||"").endsWith("/")||(De+="/"),De+=".well-known/openid-configuration"),this.validateUrlForHttps(De)?this.http.get(De).subscribe(St=>{if(!this.validateDiscoveryDocument(St))return this.eventsSubject.next(new $("discovery_document_validation_error",null)),void Xe("discovery_document_validation_error");this.loginUrl=St.authorization_endpoint,this.logoutUrl=St.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=St.grant_types_supported,this.issuer=St.issuer,this.tokenEndpoint=St.token_endpoint,this.userinfoEndpoint=St.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=St.jwks_uri,this.sessionCheckIFrameUrl=St.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(St),this.revocationEndpoint=St.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(tt=>{const Oe=new j("discovery_document_loaded",{discoveryDocument:St,jwks:tt});this.eventsSubject.next(Oe),Ve(Oe)}).catch(tt=>{this.eventsSubject.next(new $("discovery_document_load_error",tt)),Xe(tt)})},St=>{this.logger.error("error loading discovery document",St),this.eventsSubject.next(new $("discovery_document_load_error",St)),Xe(St)}):Xe("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((De,Ve)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(Xe=>{this.jwks=Xe,De(Xe)},Xe=>{this.logger.error("error loading jwks",Xe),this.eventsSubject.next(new $("jwks_load_error",Xe)),Ve(Xe)}):De(null)})}validateDiscoveryDocument(De){let Ve;return this.skipIssuerCheck||De.issuer===this.issuer?(Ve=this.validateUrlFromDiscoveryDocument(De.authorization_endpoint),Ve.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.end_session_endpoint),Ve.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.token_endpoint),Ve.length>0&&this.logger.error("error validating token_endpoint in discovery document",Ve),Ve=this.validateUrlFromDiscoveryDocument(De.revocation_endpoint),Ve.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",Ve),Ve=this.validateUrlFromDiscoveryDocument(De.userinfo_endpoint),Ve.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",Ve),!1):(Ve=this.validateUrlFromDiscoveryDocument(De.jwks_uri),Ve.length>0?(this.logger.error("error validating jwks_uri in discovery document",Ve),!1):(this.sessionChecksEnabled&&!De.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: "+De.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(De,Ve,Xe=new y.HttpHeaders){return this.fetchTokenUsingPasswordFlow(De,Ve,Xe).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((De,Ve)=>{const Xe=(new y.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:Xe,observe:"response",responseType:"text"}).subscribe(St=>{if(this.debug("userinfo received",JSON.stringify(St)),St.headers.get("content-type").startsWith("application/json")){let tt=JSON.parse(St.body);const ut=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!ut.sub||tt.sub!==ut.sub))return void Ve("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");tt=Object.assign({},ut,tt),this._storage.setItem("id_token_claims_obj",JSON.stringify(tt)),this.eventsSubject.next(new j("user_profile_loaded")),De({info:tt})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new j("user_profile_loaded")),De(JSON.parse(St.body))},St=>{this.logger.error("error loading user info",St),this.eventsSubject.next(new $("user_profile_load_error",St)),Ve(St)})})}fetchTokenUsingPasswordFlow(De,Ve,Xe=new y.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:De,password:Ve},Xe)}fetchTokenUsingGrant(De,Ve,Xe=new y.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let St=new y.HttpParams({encoder:new ue}).set("grant_type",De).set("scope",this.scope);if(this.useHttpBasicAuth){const tt=btoa(`${this.clientId}:${this.dummyClientSecret}`);Xe=Xe.set("Authorization","Basic "+tt)}if(this.useHttpBasicAuth||(St=St.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(St=St.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const tt of Object.getOwnPropertyNames(this.customQueryParams))St=St.set(tt,this.customQueryParams[tt]);for(const tt of Object.keys(Ve))St=St.set(tt,Ve[tt]);return Xe=Xe.set("Content-Type","application/x-www-form-urlencoded"),new Promise((tt,ut)=>{this.http.post(this.tokenEndpoint,St,{headers:Xe}).subscribe(Oe=>{this.debug("tokenResponse",Oe),this.storeAccessTokenResponse(Oe.access_token,Oe.refresh_token,Oe.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Oe.scope,this.extractRecognizedCustomParameters(Oe)),this.oidc&&Oe.id_token&&this.processIdToken(Oe.id_token,Oe.access_token).then(Ct=>{this.storeIdToken(Ct),tt(Oe)}),this.eventsSubject.next(new j("token_received")),tt(Oe)},Oe=>{this.logger.error("Error performing ${grantType} flow",Oe),this.eventsSubject.next(new $("token_error",Oe)),ut(Oe)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((De,Ve)=>{let Xe=new y.HttpParams({encoder:new ue}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),St=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const tt=btoa(`${this.clientId}:${this.dummyClientSecret}`);St=St.set("Authorization","Basic "+tt)}if(this.useHttpBasicAuth||(Xe=Xe.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Xe=Xe.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const tt of Object.getOwnPropertyNames(this.customQueryParams))Xe=Xe.set(tt,this.customQueryParams[tt]);this.http.post(this.tokenEndpoint,Xe,{headers:St}).pipe((0,b.w)(tt=>this.oidc&&tt.id_token?(0,s.D)(this.processIdToken(tt.id_token,tt.access_token,!0)).pipe((0,c.b)(ut=>this.storeIdToken(ut)),(0,C.U)(()=>tt)):(0,v.of)(tt))).subscribe(tt=>{this.debug("refresh tokenResponse",tt),this.storeAccessTokenResponse(tt.access_token,tt.refresh_token,tt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,tt.scope,this.extractRecognizedCustomParameters(tt)),this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),De(tt)},tt=>{this.logger.error("Error refreshing token",tt),this.eventsSubject.next(new $("token_refresh_error",tt)),Ve(tt)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=De=>{const Ve=this.processMessageEventMessage(De);this.checkOrigin&&De.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:Ve,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(Xe=>this.debug("tryLogin during silent refresh failed",Xe))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(De={},Ve=!0){const Xe=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(De.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 St=this.document.getElementById(this.silentRefreshIFrameName);St&&this.document.body.removeChild(St),this.silentRefreshSubject=Xe.sub;const tt=this.document.createElement("iframe");tt.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,Ve,De).then(Nt=>{tt.setAttribute("src",Nt),this.silentRefreshShowIFrame||(tt.style.display="none"),this.document.body.appendChild(tt)});const Oe=this.events.pipe((0,r.h)(Nt=>Nt instanceof $),(0,x.P)()),Ct=this.events.pipe((0,r.h)(Nt=>"token_received"===Nt.type),(0,x.P)()),Pt=(0,v.of)(new $("silent_refresh_timeout",null)).pipe((0,g.g)(this.silentRefreshTimeout));return(0,m.S)([Oe,Ct,Pt]).pipe((0,C.U)(Nt=>{if(Nt instanceof $)throw"silent_refresh_timeout"===Nt.type||(Nt=new $("silent_refresh_error",Nt)),this.eventsSubject.next(Nt),Nt;return"token_received"===Nt.type&&(Nt=new j("silently_refreshed"),this.eventsSubject.next(Nt)),Nt})).toPromise()}initImplicitFlowInPopup(De){return this.initLoginFlowInPopup(De)}initLoginFlowInPopup(De){return De=De||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(Ve=>new Promise((Xe,St)=>{let Oe,ut=null;De.windowRef?De.windowRef&&!De.windowRef.closed&&(ut=De.windowRef,ut.location.href=Ve):ut=window.open(Ve,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(De));const Ct=ce=>{this.tryLogin({customHashFragment:ce,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{Nt(),Xe(!0)},z=>{Nt(),St(z)})};ut?Oe=window.setInterval(()=>{(!ut||ut.closed)&&(Nt(),St(new $("popup_closed",{})))},500):St(new $("popup_blocked",{}));const Nt=()=>{window.clearInterval(Oe),window.removeEventListener("storage",_e),window.removeEventListener("message",bt),null!==ut&&ut.close(),ut=null},bt=ce=>{const z=this.processMessageEventMessage(ce);z&&null!==z?(window.removeEventListener("storage",_e),Ct(z)):console.log("false event firing")},_e=ce=>{"auth_hash"===ce.key&&(window.removeEventListener("message",bt),Ct(ce.newValue))};window.addEventListener("message",bt),window.addEventListener("storage",_e)}))}calculatePopupFeatures(De){const Ve=De.height||470,Xe=De.width||500,St=window.screenLeft+(window.outerWidth-Xe)/2;return`location=no,toolbar=no,width=${Xe},height=${Ve},top=${window.screenTop+(window.outerHeight-Ve)/2},left=${St}`}processMessageEventMessage(De){let Ve="#";if(this.silentRefreshMessagePrefix&&(Ve+=this.silentRefreshMessagePrefix),!De||!De.data||"string"!=typeof De.data)return;const Xe=De.data;return Xe.startsWith(Ve)?"#"+Xe.substr(Ve.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=De=>{const Ve=De.origin.toLowerCase(),Xe=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),Xe.startsWith(Ve)){switch(De.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",De)}else this.debug("sessionCheckEventListener","wrong origin",Ve,"expected",Xe,"event",De)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new B("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new B("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 B("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 B("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,r.h)(De=>"silently_refreshed"===De.type||"silent_refresh_timeout"===De.type||"silent_refresh_error"===De.type),(0,x.P)()).subscribe(De=>{"silently_refreshed"!==De.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new B("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new B("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const De=this.document.getElementById(this.sessionCheckIFrameName);De&&this.document.body.removeChild(De);const Ve=this.document.createElement("iframe");Ve.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),Ve.setAttribute("src",this.sessionCheckIFrameUrl),Ve.style.display="none",this.document.body.appendChild(Ve),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 De=this.document.getElementById(this.sessionCheckIFrameName);De||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const Ve=this.getSessionState();Ve||this.stopSessionCheckTimer(),De.contentWindow.postMessage(this.clientId+" "+Ve,this.issuer)}createLoginUrl(De="",Ve="",Xe="",St=!1,tt={}){var ut=this;return(0,n.Z)(function*(){const Oe=ut;let Ct;Ct=Xe||ut.redirectUri;const Pt=yield ut.createAndSaveNonce();if(De=De?Pt+ut.config.nonceStateSeparator+encodeURIComponent(De):Pt,!ut.requestAccessToken&&!ut.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");ut.responseType=ut.config.responseType?ut.config.responseType:ut.oidc&&ut.requestAccessToken?"id_token token":ut.oidc&&!ut.requestAccessToken?"id_token":"token";const Nt=Oe.loginUrl.indexOf("?")>-1?"&":"?";let bt=Oe.scope;ut.oidc&&!bt.match(/(^|\s)openid($|\s)/)&&(bt="openid "+bt);let _e=Oe.loginUrl+Nt+"response_type="+encodeURIComponent(Oe.responseType)+"&client_id="+encodeURIComponent(Oe.clientId)+"&state="+encodeURIComponent(De)+"&redirect_uri="+encodeURIComponent(Ct)+"&scope="+encodeURIComponent(bt);if(ut.responseType.includes("code")&&!ut.disablePKCE){const[ce,z]=yield ut.createChallangeVerifierPairForPKCE();ut.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",z):ut._storage.setItem("PKCE_verifier",z),_e+="&code_challenge="+ce,_e+="&code_challenge_method=S256"}Ve&&(_e+="&login_hint="+encodeURIComponent(Ve)),Oe.resource&&(_e+="&resource="+encodeURIComponent(Oe.resource)),Oe.oidc&&(_e+="&nonce="+encodeURIComponent(Pt)),St&&(_e+="&prompt=none");for(const ce of Object.keys(tt))_e+="&"+encodeURIComponent(ce)+"="+encodeURIComponent(tt[ce]);if(ut.customQueryParams)for(const ce of Object.getOwnPropertyNames(ut.customQueryParams))_e+="&"+ce+"="+encodeURIComponent(ut.customQueryParams[ce]);return _e})()}initImplicitFlowInternal(De="",Ve=""){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 Xe={},St=null;"string"==typeof Ve?St=Ve:"object"==typeof Ve&&(Xe=Ve),this.createLoginUrl(De,St,null,!1,Xe).then(this.config.openUri).catch(tt=>{console.error("Error in initImplicitFlow",tt),this.inImplicitFlow=!1})}initImplicitFlow(De="",Ve=""){""!==this.loginUrl?this.initImplicitFlowInternal(De,Ve):this.events.pipe((0,r.h)(Xe=>"discovery_document_loaded"===Xe.type)).subscribe(()=>this.initImplicitFlowInternal(De,Ve))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(De){const Ve=this;if(De.onTokenReceived){const Xe={idClaims:Ve.getIdentityClaims(),idToken:Ve.getIdToken(),accessToken:Ve.getAccessToken(),state:Ve.state};De.onTokenReceived(Xe)}}storeAccessTokenResponse(De,Ve,Xe,St,tt){if(this._storage.setItem("access_token",De),St&&!Array.isArray(St)?this._storage.setItem("granted_scopes",JSON.stringify(St.split(" "))):St&&Array.isArray(St)&&this._storage.setItem("granted_scopes",JSON.stringify(St)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),Xe){const ut=1e3*Xe,Ct=this.dateTimeService.new().getTime()+ut;this._storage.setItem("expires_at",""+Ct)}Ve&&this._storage.setItem("refresh_token",Ve),tt&&tt.forEach((ut,Oe)=>{this._storage.setItem(Oe,ut)})}tryLogin(De=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(De).then(()=>!0):this.tryLoginImplicitFlow(De)}parseQueryString(De){return De&&0!==De.length?("?"===De.charAt(0)&&(De=De.substr(1)),this.urlHelper.parseQueryString(De)):{}}tryLoginCodeFlow(De=null){var Ve=this;return(0,n.Z)(function*(){const Xe=(De=De||{}).customHashFragment?De.customHashFragment.substring(1):window.location.search,St=Ve.getCodePartsFromUrl(Xe),tt=St.code,ut=St.state,Oe=St.session_state;if(!De.preventClearHashAfterLogin){const Nt=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,Nt)}const[Ct,Pt]=Ve.parseState(ut);if(Ve.state=Pt,St.error){Ve.debug("error trying to login"),Ve.handleLoginError(De,St);const Nt=new $("code_error",{},St);return Ve.eventsSubject.next(Nt),Promise.reject(Nt)}if(!De.disableNonceCheck){if(!Ct)return Ve.saveRequestedRoute(),Promise.resolve();if(!De.disableOAuth2StateCheck&&!Ve.validateNonce(Ct)){const bt=new $("invalid_nonce_in_state",null);return Ve.eventsSubject.next(bt),Promise.reject(bt)}}return Ve.storeSessionState(Oe),tt&&(yield Ve.getTokenFromCode(tt,De),Ve.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const De=this._storage.getItem("requested_route");De&&history.replaceState(null,"",window.location.origin+De)}getCodePartsFromUrl(De){return De&&0!==De.length?("?"===De.charAt(0)&&(De=De.substr(1)),this.urlHelper.parseQueryString(De)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(De,Ve){let Xe=new y.HttpParams({encoder:new ue}).set("grant_type","authorization_code").set("code",De).set("redirect_uri",Ve.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let St;St=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),St?Xe=Xe.set("code_verifier",St):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(Xe,Ve)}fetchAndProcessToken(De,Ve){Ve=Ve||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Xe=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const St=btoa(`${this.clientId}:${this.dummyClientSecret}`);Xe=Xe.set("Authorization","Basic "+St)}return this.useHttpBasicAuth||(De=De.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(De=De.set("client_secret",this.dummyClientSecret)),new Promise((St,tt)=>{if(this.customQueryParams)for(const ut of Object.getOwnPropertyNames(this.customQueryParams))De=De.set(ut,this.customQueryParams[ut]);this.http.post(this.tokenEndpoint,De,{headers:Xe}).subscribe(ut=>{this.debug("refresh tokenResponse",ut),this.storeAccessTokenResponse(ut.access_token,ut.refresh_token,ut.expires_in||this.fallbackAccessTokenExpirationTimeInSec,ut.scope,this.extractRecognizedCustomParameters(ut)),this.oidc&&ut.id_token?this.processIdToken(ut.id_token,ut.access_token,Ve.disableNonceCheck).then(Oe=>{this.storeIdToken(Oe),this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),St(ut)}).catch(Oe=>{this.eventsSubject.next(new $("token_validation_error",Oe)),console.error("Error validating tokens"),console.error(Oe),tt(Oe)}):(this.eventsSubject.next(new j("token_received")),this.eventsSubject.next(new j("token_refreshed")),St(ut))},ut=>{console.error("Error getting token",ut),this.eventsSubject.next(new $("token_refresh_error",ut)),tt(ut)})})}tryLoginImplicitFlow(De=null){let Ve;Ve=(De=De||{}).customHashFragment?this.urlHelper.getHashFragmentParams(De.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",Ve);const Xe=Ve.state,[St,tt]=this.parseState(Xe);if(this.state=tt,Ve.error){this.debug("error trying to login"),this.handleLoginError(De,Ve);const Nt=new $("token_error",{},Ve);return this.eventsSubject.next(Nt),Promise.reject(Nt)}const ut=Ve.access_token,Oe=Ve.id_token,Ct=Ve.session_state,Pt=Ve.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!ut||this.requestAccessToken&&!De.disableOAuth2StateCheck&&!Xe||this.oidc&&!Oe)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!Ct&&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&&!De.disableNonceCheck&&!this.validateNonce(St)){const bt=new $("invalid_nonce_in_state",null);return this.eventsSubject.next(bt),Promise.reject(bt)}return this.requestAccessToken&&this.storeAccessTokenResponse(ut,null,Ve.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Pt),this.oidc?this.processIdToken(Oe,ut,De.disableNonceCheck).then(Nt=>De.validationHandler?De.validationHandler({accessToken:ut,idClaims:Nt.idTokenClaims,idToken:Nt.idToken,state:Xe}).then(()=>Nt):Nt).then(Nt=>(this.storeIdToken(Nt),this.storeSessionState(Ct),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new j("token_received")),this.callOnTokenReceivedIfExists(De),this.inImplicitFlow=!1,!0)).catch(Nt=>(this.eventsSubject.next(new $("token_validation_error",Nt)),this.logger.error("Error validating tokens"),this.logger.error(Nt),Promise.reject(Nt))):(this.eventsSubject.next(new j("token_received")),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(De),Promise.resolve(!0))}parseState(De){let Ve=De,Xe="";if(De){const St=De.indexOf(this.config.nonceStateSeparator);St>-1&&(Ve=De.substr(0,St),Xe=De.substr(St+this.config.nonceStateSeparator.length))}return[Ve,Xe]}validateNonce(De){let Ve;return Ve=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Ve===De||(console.error("Validating access_token failed, wrong state/nonce.",Ve,De),!1)}storeIdToken(De){this._storage.setItem("id_token",De.idToken),this._storage.setItem("id_token_claims_obj",De.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+De.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(De){this._storage.setItem("session_state",De)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(De,Ve){De.onLoginError&&De.onLoginError(Ve),this.clearHashAfterLogin&&!De.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(De=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:De}processIdToken(De,Ve,Xe=!1){const St=De.split("."),ut=Z(this.padBase64(St[0])),Oe=JSON.parse(ut),Pt=Z(this.padBase64(St[1])),Nt=JSON.parse(Pt);let bt;if(bt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(Nt.aud)){if(Nt.aud.every(at=>at!==this.clientId)){const at="Wrong audience: "+Nt.aud.join(",");return this.logger.warn(at),Promise.reject(at)}}else if(Nt.aud!==this.clientId){const at="Wrong audience: "+Nt.aud;return this.logger.warn(at),Promise.reject(at)}if(!Nt.sub){const at="No sub claim in id_token";return this.logger.warn(at),Promise.reject(at)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==Nt.sub){const at=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${Nt.sub}`;return this.logger.warn(at),Promise.reject(at)}if(!Nt.iat){const at="No iat claim in id_token";return this.logger.warn(at),Promise.reject(at)}if(!this.skipIssuerCheck&&Nt.iss!==this.issuer){const at="Wrong issuer: "+Nt.iss;return this.logger.warn(at),Promise.reject(at)}if(!Xe&&Nt.nonce!==bt){const at="Wrong nonce: "+Nt.nonce;return this.logger.warn(at),Promise.reject(at)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!Nt.at_hash){const at="An at_hash is needed!";return this.logger.warn(at),Promise.reject(at)}const _e=this.dateTimeService.now(),ce=1e3*Nt.iat,z=1e3*Nt.exp,oe=this.getClockSkewInMsec();if(ce-oe>=_e||z+oe-this.decreaseExpirationBySec<=_e){const at="Token has expired";return console.error(at),console.error({now:_e,issuedAtMSec:ce,expiresAtMSec:z}),Promise.reject(at)}const Se={accessToken:Ve,idToken:De,jwks:this.jwks,idTokenClaims:Nt,idTokenHeader:Oe,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(Se).then(()=>({idToken:De,idTokenClaims:Nt,idTokenClaimsJson:Pt,idTokenHeader:Oe,idTokenHeaderJson:ut,idTokenExpiresAt:z})):this.checkAtHash(Se).then(at=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!at){const nt="Wrong at_hash";return this.logger.warn(nt),Promise.reject(nt)}return this.checkSignature(Se).then(()=>{const mt={idToken:De,idTokenClaims:Nt,idTokenClaimsJson:Pt,idTokenHeader:Oe,idTokenHeaderJson:ut,idTokenExpiresAt:z};return this.disableAtHashCheck?mt:this.checkAtHash(Se).then(He=>{if(this.requestAccessToken&&!He){const rt="Wrong at_hash";return this.logger.warn(rt),Promise.reject(rt)}return mt})})})}getIdentityClaims(){const De=this._storage.getItem("id_token_claims_obj");return De?JSON.parse(De):null}getGrantedScopes(){const De=this._storage.getItem("granted_scopes");return De?JSON.parse(De):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(De){for(;De.length%4!=0;)De+="=";return De}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 De=this._storage.getItem("expires_at"),Ve=this.dateTimeService.new();return!(De&&parseInt(De,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(De)?JSON.parse(this._storage.getItem(De)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(De={},Ve=""){let Xe=!1;"boolean"==typeof De&&(Xe=De,De={});const St=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(ut=>this._storage.removeItem(ut)),this.silentRefreshSubject=null,this.eventsSubject.next(new B("logout")),!this.logoutUrl||Xe)return;let tt;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)tt=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(St)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let ut=new y.HttpParams({encoder:new ue});St&&(ut=ut.set("id_token_hint",St));const Oe=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";Oe&&(ut=ut.set("post_logout_redirect_uri",Oe),Ve&&(ut=ut.set("state",Ve)));for(const Ct in De)ut=ut.set(Ct,De[Ct]);tt=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+ut.toString()}this.config.openUri(tt)}createAndSaveNonce(){const De=this;return this.createNonce().then(function(Ve){return De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",Ve):De._storage.setItem("nonce",Ve),Ve})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const De=this.document.getElementById(this.silentRefreshIFrameName);De&&De.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const Ve=this.document.getElementById(this.sessionCheckIFrameName);Ve&&Ve.remove()}createNonce(){return new Promise(De=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const Ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let Xe=45,St="";const tt=typeof self>"u"?null:self.crypto||self.msCrypto;if(tt){let ut=new Uint8Array(Xe);tt.getRandomValues(ut),ut.map||(ut.map=Array.prototype.map),ut=ut.map(Oe=>Ve.charCodeAt(Oe%66)),St=String.fromCharCode.apply(null,ut)}else for(;0"discovery_document_loaded"===Xe.type)).subscribe(()=>this.initCodeFlowInternal(De,Ve))}initCodeFlowInternal(De="",Ve={}){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 Xe={},St=null;"string"==typeof Ve?St=Ve:"object"==typeof Ve&&(Xe=Ve),this.createLoginUrl(De,St,null,!1,Xe).then(this.config.openUri).catch(tt=>{console.error("Error in initAuthorizationCodeFlow"),console.error(tt)})}createChallangeVerifierPairForPKCE(){var De=this;return(0,n.Z)(function*(){if(!De.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const Ve=yield De.createNonce();return[H(yield De.crypto.calcHash(Ve,"sha-256")),Ve]})()}extractRecognizedCustomParameters(De){const Ve=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(Xe=>{De[Xe]&&Ve.set(Xe,JSON.stringify(De[Xe]))}),Ve}revokeTokenAndLogout(De={},Ve=!1){const Xe=this.revocationEndpoint,St=this.getAccessToken(),tt=this.getRefreshToken();if(!St)return Promise.resolve();let ut=new y.HttpParams({encoder:new ue}),Oe=(new y.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ct=btoa(`${this.clientId}:${this.dummyClientSecret}`);Oe=Oe.set("Authorization","Basic "+Ct)}if(this.useHttpBasicAuth||(ut=ut.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ut=ut.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ct of Object.getOwnPropertyNames(this.customQueryParams))ut=ut.set(Ct,this.customQueryParams[Ct]);return new Promise((Ct,Pt)=>{let Nt,bt;if(St){const _e=ut.set("token",St).set("token_type_hint","access_token");Nt=this.http.post(Xe,_e,{headers:Oe})}else Nt=(0,v.of)(null);if(tt){const _e=ut.set("token",tt).set("token_type_hint","refresh_token");bt=this.http.post(Xe,_e,{headers:Oe})}else bt=(0,v.of)(null);Ve&&(Nt=Nt.pipe((0,w.K)(_e=>0===_e.status?(0,v.of)(null):(0,h._)(_e))),bt=bt.pipe((0,w.K)(_e=>0===_e.status?(0,v.of)(null):(0,h._)(_e)))),(0,o.a)([Nt,bt]).subscribe(_e=>{this.logOut(De),Ct(_e),this.logger.info("Token successfully revoked")},_e=>{this.logger.error("Error revoking token",_e),this.eventsSubject.next(new $("token_revoke_error",_e)),Pt(_e)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)(f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(y.HttpClient),f.\u0275\u0275inject(U,8),f.\u0275\u0275inject(ye,8),f.\u0275\u0275inject(te,8),f.\u0275\u0275inject($e),f.\u0275\u0275inject(R),f.\u0275\u0275inject(ke,8),f.\u0275\u0275inject(D.DOCUMENT),f.\u0275\u0275inject(A))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();class Be{}class yt{handleError(Ft){return(0,h._)(Ft)}}let Ot=(()=>{class Bt{constructor(De,Ve,Xe){this.oAuthService=De,this.errorHandler=Ve,this.moduleConfig=Xe}checkUrl(De){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(De):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(Ve=>De.toLowerCase().startsWith(Ve.toLowerCase()))}intercept(De,Ve){const Xe=De.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(Xe)?this.moduleConfig.resourceServer.sendAccessToken?(0,l.T)((0,v.of)(this.oAuthService.getAccessToken()).pipe((0,r.h)(tt=>!!tt)),this.oAuthService.events.pipe((0,r.h)(tt=>"token_received"===tt.type),(0,T.V)(this.oAuthService.waitForTokenInMsec||0),(0,w.K)(()=>(0,v.of)(null)),(0,C.U)(()=>this.oAuthService.getAccessToken()))).pipe((0,S.q)(1),(0,M.z)(tt=>{if(tt){const Oe=De.headers.set("Authorization","Bearer "+tt);De=De.clone({headers:Oe})}return Ve.handle(De).pipe((0,w.K)(ut=>this.errorHandler.handleError(ut)))})):Ve.handle(De).pipe((0,w.K)(tt=>this.errorHandler.handleError(tt))):Ve.handle(De)}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)(f.\u0275\u0275inject(Ne),f.\u0275\u0275inject(Be),f.\u0275\u0275inject(I,8))};static#t=this.\u0275prov=f.\u0275\u0275defineInjectable({token:Bt,factory:Bt.\u0275fac})}return Bt})();function Yt(){return console}function jt(){return typeof sessionStorage<"u"?sessionStorage:new W}function cn(Bt=null,Ft=k){return(0,f.makeEnvironmentProviders)([Ne,$e,{provide:R,useFactory:Yt},{provide:U,useFactory:jt},{provide:ye,useClass:Ft},{provide:ke,useClass:Pe},{provide:Be,useClass:yt},{provide:I,useValue:Bt},{provide:y.HTTP_INTERCEPTORS,useClass:Ot,multi:!0},{provide:A,useClass:L}])}let fn=(()=>{class Bt{static forRoot(De=null,Ve=k){return{ngModule:Bt,providers:[cn(De,Ve)]}}static#e=this.\u0275fac=function(Ve){return new(Ve||Bt)};static#t=this.\u0275mod=f.\u0275\u0275defineNgModule({type:Bt});static#n=this.\u0275inj=f.\u0275\u0275defineInjector({imports:[D.CommonModule]})}return Bt})();class En extends k{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 un=new f.InjectionToken("AUTH_CONFIG")},9949:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{HIGHLIGHT_OPTIONS:()=>b,Highlight:()=>k,HighlightJS:()=>M,HighlightLoader:()=>T,HighlightModule:()=>I});var n=_(9212),f=_(6814),D=_(5619),y=_(2181),u=_(8180),v=_(4664),s=_(9397),m=_(6232),h=_(6306),o=_(8504),l=_(9278),r=_(7398),c=_(2459),d=_(927),g=_(6593);const b=new n.InjectionToken("HIGHLIGHT_OPTIONS");let C;let T=(()=>{class P{constructor(L,F,R){this.doc=L,this.platformId=F,this._options=R,this._ready=new D.X(null),this.ready=this._ready.asObservable().pipe((0,y.h)(U=>!!U),(0,u.q)(1)),(0,f.isPlatformBrowser)(F)&&(L.defaultView.hljs?this._ready.next(L.defaultView.hljs):(this._loadLibrary().pipe((0,v.w)(U=>this._options&&this._options.lineNumbersLoader?(L.defaultView.hljs=U,this.loadLineNumbers().pipe((0,s.b)(W=>{W.activateLineNumbers(),this._ready.next(U)}))):(this._ready.next(U),m.E)),(0,h.K)(U=>(console.error("[HLJS] ",U),m.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,o._)(()=>"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,o._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,o._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,o._)(()=>"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,v.w)(L=>this._loadLanguages(L)))}return(0,o._)(()=>"Highlight.js library was not imported!")}_loadLanguages(L){const F=Object.entries(this._options.languages).map(([R,U])=>S(U()).pipe((0,s.b)(W=>L.registerLanguage(R,W))));return(0,l.$)(...F).pipe((0,r.U)(()=>L))}loadCoreLibrary(){return S(this._options.coreLibraryLoader())}loadFullLibrary(){return S(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,c.D)(this._options.lineNumbersLoader())}setTheme(L){(0,f.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=L:this.loadTheme(L))}loadTheme(L){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=L,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(F){return new(F||P)(n.\u0275\u0275inject(f.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(b,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})();const S=P=>(0,c.D)(P).pipe((0,y.h)(A=>!!A?.default),(0,r.U)(A=>A.default));let M=(()=>{class P{get hljs(){return this._hljs}constructor(L,F){this._loader=L,this._hljs=null,L.ready.subscribe(R=>{this._hljs=R,F&&F.config&&(R.configure(F.config),R.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(L,{language:F,ignoreIllegals:R}){return this._loader.ready.pipe((0,r.U)(U=>U.highlight(L,{language:F,ignoreIllegals:R})))}highlightAuto(L,F){return this._loader.ready.pipe((0,r.U)(R=>R.highlightAuto(L,F)))}highlightElement(L){return this._loader.ready.pipe((0,r.U)(F=>F.highlightElement(L)))}highlightAll(){return this._loader.ready.pipe((0,r.U)(L=>L.highlightAll()))}configure(L){return this._loader.ready.pipe((0,r.U)(F=>F.configure(L)))}registerLanguage(L,F){return this._loader.ready.pipe((0,s.b)(R=>R.registerLanguage(L,F)))}unregisterLanguage(L){return this._loader.ready.pipe((0,s.b)(F=>F.unregisterLanguage(L)))}registerAliases(L,{languageName:F}){return this._loader.ready.pipe((0,s.b)(R=>R.registerAliases(L,{languageName:F})))}listLanguages(){return this._loader.ready.pipe((0,r.U)(L=>L.listLanguages()))}getLanguage(L){return this._loader.ready.pipe((0,r.U)(F=>F.getLanguage(L)))}safeMode(){return this._loader.ready.pipe((0,r.U)(L=>L.safeMode()))}debugMode(){return this._loader.ready.pipe((0,r.U)(L=>L.debugMode()))}lineNumbersBlock(L){return this._loader.ready.pipe((0,y.h)(F=>!!F.lineNumbersBlock),(0,s.b)(F=>F.lineNumbersBlock(L)))}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275inject(T),n.\u0275\u0275inject(b,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),k=(()=>{class P{constructor(L,F,R,U,W){this._hljs=F,this._sanitizer=R,this.platformId=U,this._options=W,this.highlighted=new n.EventEmitter,this._nativeElement=L.nativeElement}ngOnChanges(L){(0,f.isPlatformBrowser)(this.platformId)&&null!==L?.code?.currentValue&&L.code.currentValue!==L.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(L,F){this.setTextContent(L),this._hljs.highlightAuto(L,F).subscribe(R=>{this.setInnerHTML(R?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(R)})}addLineNumbers(){this.destroyLineNumbersObserver(),d.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(L){d.Z.schedule(()=>this._nativeElement.textContent=L)}setInnerHTML(L){d.Z.schedule(()=>this._nativeElement.innerHTML=function w(P){return function x(){if(!C)try{C=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:P=>P})}catch{}return C}()?.createHTML(P)||P}(this._sanitizer.sanitize(n.SecurityContext.HTML,L)||""))}static#e=this.\u0275fac=function(F){return new(F||P)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(M),n.\u0275\u0275directiveInject(g.DomSanitizer),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(b,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(F,R){2&F&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return P})(),I=(()=>{class P{static#e=this.\u0275fac=function(F){return new(F||P)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:P});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return P})()},3427:(Me,ie,_)=>{"use strict";_.r(ie),_.d(ie,{MAT_SELECTSEARCH_DEFAULT_OPTIONS:()=>Ge,MatSelectNoEntriesFoundDirective:()=>$e,MatSelectSearchClearDirective:()=>ue,MatSelectSearchComponent:()=>Ye,MatSelectSearchVersion:()=>Ze,NgxMatSelectSearchModule:()=>Et,configurableDefaultOptions:()=>ye});var n=_(6028),f=_(9212),D=_(6223),y=_(3680),u=_(4170),v=_(8525),s=_(5619),m=_(2096),h=_(2572),o=_(8645),l=_(4664),r=_(7398),c=_(7921),d=_(7547),g=_(9773),b=_(8180),C=_(9397),x=_(2181),w=_(6672),T=_(6814),S=_(2296),M=_(5986),k=_(617),I=_(5940),P=_(2596),A=_(6385);const L=["searchSelectInput"],F=["innerSelectSearch"];function R(Te,qe){if(1&Te){const Ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-checkbox",10),f.\u0275\u0275listener("change",function(Ce){f.\u0275\u0275restoreView(Ee);const ge=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(ge._emitSelectAllBooleanToParent(Ce.checked))}),f.\u0275\u0275elementEnd()}if(2&Te){const Ee=f.\u0275\u0275nextContext();f.\u0275\u0275property("color",null==Ee.matFormField?null:Ee.matFormField.color)("checked",Ee.toggleAllCheckboxChecked)("indeterminate",Ee.toggleAllCheckboxIndeterminate)("matTooltip",Ee.toggleAllCheckboxTooltipMessage)("matTooltipPosition",Ee.toggleAllCheckboxTooltipPosition)}}function U(Te,qe){1&Te&&f.\u0275\u0275element(0,"mat-spinner",11)}function W(Te,qe){1&Te&&f.\u0275\u0275projection(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ne(Te,qe){if(1&Te&&(f.\u0275\u0275elementStart(0,"mat-icon",15),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&Te){const Ee=f.\u0275\u0275nextContext(2);f.\u0275\u0275property("svgIcon",Ee.closeSvgIcon),f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate1(" ",Ee.closeSvgIcon?null:Ee.closeIcon," ")}}function ee(Te,qe){if(1&Te){const Ee=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"button",12),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(Ee);const Ce=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Ce._reset(!0))}),f.\u0275\u0275template(1,W,1,0,"ng-content",13)(2,ne,2,2,"ng-template",null,14,f.\u0275\u0275templateRefExtractor),f.\u0275\u0275elementEnd()}if(2&Te){const Ee=f.\u0275\u0275reference(3),Ie=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",Ie.clearIcon)("ngIfElse",Ee)}}function j(Te,qe){1&Te&&f.\u0275\u0275projection(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function B(Te,qe){if(1&Te&&f.\u0275\u0275text(0),2&Te){const Ee=f.\u0275\u0275nextContext(2);f.\u0275\u0275textInterpolate(Ee.noEntriesFoundLabel)}}function $(Te,qe){if(1&Te&&(f.\u0275\u0275elementStart(0,"div",16),f.\u0275\u0275template(1,j,1,0,"ng-content",13)(2,B,1,1,"ng-template",null,17,f.\u0275\u0275templateRefExtractor),f.\u0275\u0275elementEnd()),2&Te){const Ee=f.\u0275\u0275reference(3),Ie=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",Ie.noEntriesFound)("ngIfElse",Ee)}}const Z=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],H=(Te,qe)=>({"mat-select-search-inner-multiple":Te,"mat-select-search-inner-toggle-all":qe}),te=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let ue=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275dir=f.\u0275\u0275defineDirective({type:Te,selectors:[["","ngxMatSelectSearchClear",""]]}),Te})();const ye=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],Ge=new f.InjectionToken("mat-selectsearch-default-options");let $e=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275dir=f.\u0275\u0275defineDirective({type:Te,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Te})(),Ye=(()=>{class Te{constructor(Ee,Ie,Ce,ge=null,Ae=null,q){this.matSelect=Ee,this.changeDetectorRef=Ie,this._viewportRuler=Ce,this.matOption=ge,this.matFormField=Ae,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 f.EventEmitter,this.onTouched=Re=>{},this._options$=new s.X(null),this.optionsList$=this._options$.pipe((0,l.w)(Re=>Re?Re.changes.pipe((0,r.U)(ke=>ke.toArray()),(0,c.O)(Re.toArray())):(0,m.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,r.U)(Re=>Re?Re.length:0)),this._formControl=new D.FormControl(""),this._showNoEntriesFound$=(0,h.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,r.U)(([Re,ke])=>this.noEntriesFoundLabel&&Re&&ke===this.getOptionsLengthOffset())),this._onDestroy=new o.x,this.applyDefaultOptions(q)}get value(){return this._formControl.value}set _options(Ee){this._options$.next(Ee)}get _options(){return this._options$.getValue()}applyDefaultOptions(Ee){if(Ee)for(const Ie of ye)Ee.hasOwnProperty(Ie)&&(this[Ie]=Ee[Ie])}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,d.g)(1),(0,g.R)(this._onDestroy)).subscribe(Ee=>{Ee?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,b.q)(1),(0,l.w)(Ee=>{this._options=this.matSelect.options;let Ie=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,C.b)(()=>{setTimeout(()=>{const Ce=this._options.toArray(),ge=Ce[this.getOptionsLengthOffset()],Ae=this.matSelect._keyManager;Ae&&this.matSelect.panelOpen&&ge&&((!Ie||!this.matSelect.compareWith(Ie.value,ge.value)||!Ae.activeItem||!Ce.find(Re=>this.matSelect.compareWith(Re.value,Ae.activeItem.value)))&&Ae.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),Ie=ge})}))})).pipe((0,g.R)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,g.R)(this._onDestroy)).subscribe(Ee=>{this.matOption&&(Ee?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,g.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,g.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(Ee){this.toggleAll.emit(Ee)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(Ee){(Ee.key&&1===Ee.key.length||Ee.keyCode>=n.A&&Ee.keyCode<=n.Z||Ee.keyCode>=n.xE&&Ee.keyCode<=n.aO||Ee.keyCode===n.L_||this.preventHomeEndKeyPropagation&&(Ee.keyCode===n.Sd||Ee.keyCode===n.uR))&&Ee.stopPropagation(),this.matSelect.multiple&&Ee.key&&Ee.keyCode===n.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&Ee.keyCode===n.hY&&this.value&&(this._reset(!0),Ee.stopPropagation())}_handleKeyup(Ee){if(Ee.keyCode===n.LH||Ee.keyCode===n.JH){const Ie=this.matSelect._getAriaActiveDescendant(),Ce=this._options.toArray().findIndex(ge=>ge.id===Ie);-1!==Ce&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[Ce]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",Ie))}}writeValue(Ee){this._lastExternalInputValue=Ee,this._formControl.setValue(Ee),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(Ee){this._formControl.valueChanges.pipe((0,x.h)(Ie=>Ie!==this._lastExternalInputValue),(0,C.b)(()=>this._lastExternalInputValue=void 0),(0,g.R)(this._onDestroy)).subscribe(Ee)}registerOnTouched(Ee){this.onTouched=Ee}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const Ee=this.matSelect.panel.nativeElement,Ie=Ee.scrollTop;this.searchSelectInput.nativeElement.focus(),Ee.scrollTop=Ie}_reset(Ee){this._formControl.setValue(""),Ee&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,g.R)(this._onDestroy)).subscribe(Ee=>{let Ie=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!Ee||!Array.isArray(Ee))&&(Ee=[]);const Ce=this.matSelect.options.map(ge=>ge.value);this.previousSelectedValues.forEach(ge=>{!Ee.some(Ae=>this.matSelect.compareWith(Ae,ge))&&!Ce.some(Ae=>this.matSelect.compareWith(Ae,ge))&&(Ee.push(ge),Ie=!0)})}this.previousSelectedValues=Ee,Ie&&this.matSelect._onChange(Ee)})):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 Ie,Ee=this.innerSelectSearch.nativeElement;for(;Ee=Ee.parentElement;)if(Ee.classList.contains("mat-select-panel")){Ie=Ee;break}Ie&&(this.innerSelectSearch.nativeElement.style.width=Ie.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return Te.\u0275fac=function(Ee){return new(Ee||Te)(f.\u0275\u0275directiveInject(v.MatSelect),f.\u0275\u0275directiveInject(f.ChangeDetectorRef),f.\u0275\u0275directiveInject(w.rL),f.\u0275\u0275directiveInject(y.MatOption,8),f.\u0275\u0275directiveInject(u.MatFormField,8),f.\u0275\u0275directiveInject(Ge,8))},Te.\u0275cmp=f.\u0275\u0275defineComponent({type:Te,selectors:[["ngx-mat-select-search"]],contentQueries:function(Ee,Ie,Ce){if(1&Ee&&(f.\u0275\u0275contentQuery(Ce,ue,5),f.\u0275\u0275contentQuery(Ce,$e,5)),2&Ee){let ge;f.\u0275\u0275queryRefresh(ge=f.\u0275\u0275loadQuery())&&(Ie.clearIcon=ge.first),f.\u0275\u0275queryRefresh(ge=f.\u0275\u0275loadQuery())&&(Ie.noEntriesFound=ge.first)}},viewQuery:function(Ee,Ie){if(1&Ee&&(f.\u0275\u0275viewQuery(L,7,f.ElementRef),f.\u0275\u0275viewQuery(F,7,f.ElementRef)),2&Ee){let Ce;f.\u0275\u0275queryRefresh(Ce=f.\u0275\u0275loadQuery())&&(Ie.searchSelectInput=Ce.first),f.\u0275\u0275queryRefresh(Ce=f.\u0275\u0275loadQuery())&&(Ie.innerSelectSearch=Ce.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:[f.\u0275\u0275ProvidersFeature([{provide:D.NG_VALUE_ACCESSOR,useExisting:(0,f.forwardRef)(()=>Te),multi:!0}])],ngContentSelectors:te,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(Ee,Ie){1&Ee&&(f.\u0275\u0275projectionDef(Z),f.\u0275\u0275element(0,"input",0),f.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),f.\u0275\u0275template(4,R,1,5,"mat-checkbox",4),f.\u0275\u0275elementStart(5,"input",5,6),f.\u0275\u0275listener("keydown",function(ge){return Ie._handleKeydown(ge)})("keyup",function(ge){return Ie._handleKeyup(ge)})("blur",function(){return Ie.onBlur()}),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(7,U,1,0,"mat-spinner",7)(8,ee,4,2,"button",8),f.\u0275\u0275projection(9),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"mat-divider"),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(11,$,4,2,"div",9),f.\u0275\u0275pipe(12,"async")),2&Ee&&(f.\u0275\u0275advance(1),f.\u0275\u0275property("ngClass",f.\u0275\u0275pureFunction2(11,H,Ie.matSelect.multiple,Ie._isToggleAllCheckboxVisible())),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngIf",Ie._isToggleAllCheckboxVisible()),f.\u0275\u0275advance(1),f.\u0275\u0275property("type",Ie.type)("formControl",Ie._formControl)("placeholder",Ie.placeholderLabel),f.\u0275\u0275attribute("aria-label",Ie.ariaLabel),f.\u0275\u0275advance(2),f.\u0275\u0275property("ngIf",Ie.searching),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",!Ie.hideClearSearchButton&&Ie.value&&!Ie.searching),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngIf",f.\u0275\u0275pipeBind1(12,9,Ie._showNoEntriesFound$)))},dependencies:[T.NgClass,T.NgIf,D.DefaultValueAccessor,D.NgControlStatus,D.FormControlDirective,S.MatIconButton,M.MatCheckbox,k.MatIcon,I.MatProgressSpinner,P.gM,A.MatDivider,T.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}),Te})();const Ze="7.0.5";let Et=(()=>{class Te{}return Te.\u0275fac=function(Ee){return new(Ee||Te)},Te.\u0275mod=f.\u0275\u0275defineNgModule({type:Te}),Te.\u0275inj=f.\u0275\u0275defineInjector({imports:[T.CommonModule,D.ReactiveFormsModule,S.MatButtonModule,M.MatCheckboxModule,k.MatIconModule,I.MatProgressSpinnerModule,P.AV,A.MatDividerModule]}),Te})()},827:(Me,ie,_)=>{"use strict";function u(O){let xe=O.length;for(;--xe>=0;)O[xe]=0}_.r(ie),_.d(ie,{Deflate:()=>se,Inflate:()=>We,constants:()=>Mn,default:()=>ni,deflate:()=>Q,deflateRaw:()=>re,gzip:()=>be,inflate:()=>pt,inflateRaw:()=>Zt,ungzip:()=>Wt});const I=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]),P=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]),A=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),L=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),R=new Array(576);u(R);const U=new Array(60);u(U);const W=new Array(512);u(W);const ne=new Array(256);u(ne);const ee=new Array(29);u(ee);const j=new Array(30);function B(O,xe,K,Je,ft){this.static_tree=O,this.extra_bits=xe,this.extra_base=K,this.elems=Je,this.max_length=ft,this.has_stree=O&&O.length}let $,Z,H;function te(O,xe){this.dyn_tree=O,this.max_code=0,this.stat_desc=xe}u(j);const ue=O=>O<256?W[O]:W[256+(O>>>7)],ye=(O,xe)=>{O.pending_buf[O.pending++]=255&xe,O.pending_buf[O.pending++]=xe>>>8&255},Ge=(O,xe,K)=>{O.bi_valid>16-K?(O.bi_buf|=xe<>16-O.bi_valid,O.bi_valid+=K-16):(O.bi_buf|=xe<{Ge(O,K[2*xe],K[2*xe+1])},Ye=(O,xe)=>{let K=0;do{K|=1&O,O>>>=1,K<<=1}while(--xe>0);return K>>>1},Te=(O,xe,K)=>{const Je=new Array(16);let ht,Kt,ft=0;for(ht=1;ht<=15;ht++)ft=ft+K[ht-1]<<1,Je[ht]=ft;for(Kt=0;Kt<=xe;Kt++){let Vt=O[2*Kt+1];0!==Vt&&(O[2*Kt]=Ye(Je[Vt]++,Vt))}},Ee=O=>{let xe;for(xe=0;xe<286;xe++)O.dyn_ltree[2*xe]=0;for(xe=0;xe<30;xe++)O.dyn_dtree[2*xe]=0;for(xe=0;xe<19;xe++)O.bl_tree[2*xe]=0;O.dyn_ltree[512]=1,O.opt_len=O.static_len=0,O.sym_next=O.matches=0},Ie=O=>{O.bi_valid>8?ye(O,O.bi_buf):O.bi_valid>0&&(O.pending_buf[O.pending++]=O.bi_buf),O.bi_buf=0,O.bi_valid=0},Ce=(O,xe,K,Je)=>{const ft=2*xe,ht=2*K;return O[ft]{const Je=O.heap[K];let ft=K<<1;for(;ft<=O.heap_len&&(ft{let Je,ft,Kt,Vt,ht=0;if(0!==O.sym_next)do{Je=255&O.pending_buf[O.sym_buf+ht++],Je+=(255&O.pending_buf[O.sym_buf+ht++])<<8,ft=O.pending_buf[O.sym_buf+ht++],0===Je?$e(O,ft,xe):(Kt=ne[ft],$e(O,Kt+256+1,xe),Vt=I[Kt],0!==Vt&&(ft-=ee[Kt],Ge(O,ft,Vt)),Je--,Kt=ue(Je),$e(O,Kt,K),Vt=P[Kt],0!==Vt&&(Je-=j[Kt],Ge(O,Je,Vt)))}while(ht{const K=xe.dyn_tree,Je=xe.stat_desc.static_tree,ft=xe.stat_desc.has_stree,ht=xe.stat_desc.elems;let Kt,Vt,kt,kn=-1;for(O.heap_len=0,O.heap_max=573,Kt=0;Kt>1;Kt>=1;Kt--)ge(O,K,Kt);kt=ht;do{Kt=O.heap[1],O.heap[1]=O.heap[O.heap_len--],ge(O,K,1),Vt=O.heap[1],O.heap[--O.heap_max]=Kt,O.heap[--O.heap_max]=Vt,K[2*kt]=K[2*Kt]+K[2*Vt],O.depth[kt]=(O.depth[Kt]>=O.depth[Vt]?O.depth[Kt]:O.depth[Vt])+1,K[2*Kt+1]=K[2*Vt+1]=kt,O.heap[1]=kt++,ge(O,K,1)}while(O.heap_len>=2);O.heap[--O.heap_max]=O.heap[1],((O,xe)=>{const K=xe.dyn_tree,Je=xe.max_code,ft=xe.stat_desc.static_tree,ht=xe.stat_desc.has_stree,Kt=xe.stat_desc.extra_bits,Vt=xe.stat_desc.extra_base,kn=xe.stat_desc.max_length;let kt,Qt,Jn,Dn,sn,Wn,Wi=0;for(Dn=0;Dn<=15;Dn++)O.bl_count[Dn]=0;for(K[2*O.heap[O.heap_max]+1]=0,kt=O.heap_max+1;kt<573;kt++)Qt=O.heap[kt],Dn=K[2*K[2*Qt+1]+1]+1,Dn>kn&&(Dn=kn,Wi++),K[2*Qt+1]=Dn,!(Qt>Je)&&(O.bl_count[Dn]++,sn=0,Qt>=Vt&&(sn=Kt[Qt-Vt]),Wn=K[2*Qt],O.opt_len+=Wn*(Dn+sn),ht&&(O.static_len+=Wn*(ft[2*Qt+1]+sn)));if(0!==Wi){do{for(Dn=kn-1;0===O.bl_count[Dn];)Dn--;O.bl_count[Dn]--,O.bl_count[Dn+1]+=2,O.bl_count[kn]--,Wi-=2}while(Wi>0);for(Dn=kn;0!==Dn;Dn--)for(Qt=O.bl_count[Dn];0!==Qt;)Jn=O.heap[--kt],!(Jn>Je)&&(K[2*Jn+1]!==Dn&&(O.opt_len+=(Dn-K[2*Jn+1])*K[2*Jn],K[2*Jn+1]=Dn),Qt--)}})(O,xe),Te(K,kn,O.bl_count)},Re=(O,xe,K)=>{let Je,ht,ft=-1,Kt=xe[1],Vt=0,kn=7,kt=4;for(0===Kt&&(kn=138,kt=3),xe[2*(K+1)+1]=65535,Je=0;Je<=K;Je++)ht=Kt,Kt=xe[2*(Je+1)+1],!(++Vt{let Je,ht,ft=-1,Kt=xe[1],Vt=0,kn=7,kt=4;for(0===Kt&&(kn=138,kt=3),Je=0;Je<=K;Je++)if(ht=Kt,Kt=xe[2*(Je+1)+1],!(++Vt{Ge(O,0+(Je?1:0),3),Ie(O),ye(O,K),ye(O,~K),K&&O.pending_buf.set(O.window.subarray(xe,xe+K),O.pending),O.pending+=K};var Bt={_tr_init:O=>{Ne||((()=>{let O,xe,K,Je,ft;const ht=new Array(16);for(K=0,Je=0;Je<28;Je++)for(ee[Je]=K,O=0;O<1<>=7;Je<30;Je++)for(j[Je]=ft<<7,O=0;O<1<{let ft,ht,Kt=0;O.level>0?(2===O.strm.data_type&&(O.strm.data_type=(O=>{let K,xe=4093624447;for(K=0;K<=31;K++,xe>>>=1)if(1&xe&&0!==O.dyn_ltree[2*K])return 0;if(0!==O.dyn_ltree[18]||0!==O.dyn_ltree[20]||0!==O.dyn_ltree[26])return 1;for(K=32;K<256;K++)if(0!==O.dyn_ltree[2*K])return 1;return 0})(O)),q(O,O.l_desc),q(O,O.d_desc),Kt=(O=>{let xe;for(Re(O,O.dyn_ltree,O.l_desc.max_code),Re(O,O.dyn_dtree,O.d_desc.max_code),q(O,O.bl_desc),xe=18;xe>=3&&0===O.bl_tree[2*L[xe]+1];xe--);return O.opt_len+=3*(xe+1)+5+5+4,xe})(O),ft=O.opt_len+3+7>>>3,ht=O.static_len+3+7>>>3,ht<=ft&&(ft=ht)):ft=ht=K+5,K+4<=ft&&-1!==xe?yt(O,xe,K,Je):4===O.strategy||ht===ft?(Ge(O,2+(Je?1:0),3),Ae(O,R,U)):(Ge(O,4+(Je?1:0),3),((O,xe,K,Je)=>{let ft;for(Ge(O,xe-257,5),Ge(O,K-1,5),Ge(O,Je-4,4),ft=0;ft(O.pending_buf[O.sym_buf+O.sym_next++]=xe,O.pending_buf[O.sym_buf+O.sym_next++]=xe>>8,O.pending_buf[O.sym_buf+O.sym_next++]=K,0===xe?O.dyn_ltree[2*K]++:(O.matches++,xe--,O.dyn_ltree[2*(ne[K]+256+1)]++,O.dyn_dtree[2*ue(xe)]++),O.sym_next===O.sym_end),_tr_align:O=>{Ge(O,2,3),$e(O,256,R),(O=>{16===O.bi_valid?(ye(O,O.bi_buf),O.bi_buf=0,O.bi_valid=0):O.bi_valid>=8&&(O.pending_buf[O.pending++]=255&O.bi_buf,O.bi_buf>>=8,O.bi_valid-=8)})(O)}},De=(O,xe,K,Je)=>{let ft=65535&O|0,ht=O>>>16&65535|0,Kt=0;for(;0!==K;){Kt=K>2e3?2e3:K,K-=Kt;do{ft=ft+xe[Je++]|0,ht=ht+ft|0}while(--Kt);ft%=65521,ht%=65521}return ft|ht<<16|0};const Xe=new Uint32Array((()=>{let O,xe=[];for(var K=0;K<256;K++){O=K;for(var Je=0;Je<8;Je++)O=1&O?3988292384^O>>>1:O>>>1;xe[K]=O}return xe})());var tt=(O,xe,K,Je)=>{const ft=Xe,ht=Je+K;O^=-1;for(let Kt=Je;Kt>>8^ft[255&(O^xe[Kt])];return-1^O},ut={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"},Oe={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:Ct,_tr_stored_block:Pt,_tr_flush_block:Nt,_tr_tally:bt,_tr_align:_e}=Bt,{Z_NO_FLUSH:ce,Z_PARTIAL_FLUSH:z,Z_FULL_FLUSH:oe,Z_FINISH:Se,Z_BLOCK:at,Z_OK:nt,Z_STREAM_END:mt,Z_STREAM_ERROR:He,Z_DATA_ERROR:rt,Z_BUF_ERROR:Lt,Z_DEFAULT_COMPRESSION:Xt,Z_FILTERED:tn,Z_HUFFMAN_ONLY:Nn,Z_RLE:ui,Z_FIXED:_i,Z_DEFAULT_STRATEGY:Hi,Z_UNKNOWN:Yn,Z_DEFLATED:st}=Oe,dn=262,ki=(O,xe)=>(O.msg=ut[xe],xe),zi=O=>2*O-(O>4?9:0),Gi=O=>{let xe=O.length;for(;--xe>=0;)O[xe]=0},fr=O=>{let xe,K,Je,ft=O.w_size;xe=O.hash_size,Je=xe;do{K=O.head[--Je],O.head[Je]=K>=ft?K-ft:0}while(--xe);xe=ft,Je=xe;do{K=O.prev[--Je],O.prev[Je]=K>=ft?K-ft:0}while(--xe)};let Ki=(O,xe,K)=>(xe<{const xe=O.state;let K=xe.pending;K>O.avail_out&&(K=O.avail_out),0!==K&&(O.output.set(xe.pending_buf.subarray(xe.pending_out,xe.pending_out+K),O.next_out),O.next_out+=K,xe.pending_out+=K,O.total_out+=K,O.avail_out-=K,xe.pending-=K,0===xe.pending&&(xe.pending_out=0))},Pn=(O,xe)=>{Nt(O,O.block_start>=0?O.block_start:-1,O.strstart-O.block_start,xe),O.block_start=O.strstart,qn(O.strm)},Qn=(O,xe)=>{O.pending_buf[O.pending++]=xe},Fi=(O,xe)=>{O.pending_buf[O.pending++]=xe>>>8&255,O.pending_buf[O.pending++]=255&xe},mr=(O,xe,K,Je)=>{let ft=O.avail_in;return ft>Je&&(ft=Je),0===ft?0:(O.avail_in-=ft,xe.set(O.input.subarray(O.next_in,O.next_in+ft),K),1===O.state.wrap?O.adler=De(O.adler,xe,ft,K):2===O.state.wrap&&(O.adler=tt(O.adler,xe,ft,K)),O.next_in+=ft,O.total_in+=ft,ft)},er=(O,xe)=>{let ft,ht,K=O.max_chain_length,Je=O.strstart,Kt=O.prev_length,Vt=O.nice_match;const kn=O.strstart>O.w_size-dn?O.strstart-(O.w_size-dn):0,kt=O.window,Qt=O.w_mask,Jn=O.prev,Dn=O.strstart+258;let sn=kt[Je+Kt-1],Wn=kt[Je+Kt];O.prev_length>=O.good_match&&(K>>=2),Vt>O.lookahead&&(Vt=O.lookahead);do{if(ft=xe,kt[ft+Kt]===Wn&&kt[ft+Kt-1]===sn&&kt[ft]===kt[Je]&&kt[++ft]===kt[Je+1]){Je+=2,ft++;do{}while(kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&kt[++Je]===kt[++ft]&&JeKt){if(O.match_start=xe,Kt=ht,ht>=Vt)break;sn=kt[Je+Kt-1],Wn=kt[Je+Kt]}}}while((xe=Jn[xe&Qt])>kn&&0!=--K);return Kt<=O.lookahead?Kt:O.lookahead},_n=O=>{const xe=O.w_size;let K,Je,ft;do{if(Je=O.window_size-O.lookahead-O.strstart,O.strstart>=xe+(xe-dn)&&(O.window.set(O.window.subarray(xe,xe+xe-Je),0),O.match_start-=xe,O.strstart-=xe,O.block_start-=xe,O.insert>O.strstart&&(O.insert=O.strstart),fr(O),Je+=xe),0===O.strm.avail_in)break;if(K=mr(O.strm,O.window,O.strstart+O.lookahead,Je),O.lookahead+=K,O.lookahead+O.insert>=3)for(ft=O.strstart-O.insert,O.ins_h=O.window[ft],O.ins_h=Ki(O,O.ins_h,O.window[ft+1]);O.insert&&(O.ins_h=Ki(O,O.ins_h,O.window[ft+3-1]),O.prev[ft&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=ft,ft++,O.insert--,!(O.lookahead+O.insert<3)););}while(O.lookahead{let Je,ft,ht,K=O.pending_buf_size-5>O.w_size?O.w_size:O.pending_buf_size-5,Kt=0,Vt=O.strm.avail_in;do{if(Je=65535,ht=O.bi_valid+42>>3,O.strm.avail_outft+O.strm.avail_in&&(Je=ft+O.strm.avail_in),Je>ht&&(Je=ht),Je>8,O.pending_buf[O.pending-2]=~Je,O.pending_buf[O.pending-1]=~Je>>8,qn(O.strm),ft&&(ft>Je&&(ft=Je),O.strm.output.set(O.window.subarray(O.block_start,O.block_start+ft),O.strm.next_out),O.strm.next_out+=ft,O.strm.avail_out-=ft,O.strm.total_out+=ft,O.block_start+=ft,Je-=ft),Je&&(mr(O.strm,O.strm.output,O.strm.next_out,Je),O.strm.next_out+=Je,O.strm.avail_out-=Je,O.strm.total_out+=Je)}while(0===Kt);return Vt-=O.strm.avail_in,Vt&&(Vt>=O.w_size?(O.matches=2,O.window.set(O.strm.input.subarray(O.strm.next_in-O.w_size,O.strm.next_in),0),O.strstart=O.w_size,O.insert=O.strstart):(O.window_size-O.strstart<=Vt&&(O.strstart-=O.w_size,O.window.set(O.window.subarray(O.w_size,O.w_size+O.strstart),0),O.matches<2&&O.matches++,O.insert>O.strstart&&(O.insert=O.strstart)),O.window.set(O.strm.input.subarray(O.strm.next_in-Vt,O.strm.next_in),O.strstart),O.strstart+=Vt,O.insert+=Vt>O.w_size-O.insert?O.w_size-O.insert:Vt),O.block_start=O.strstart),O.high_waterht&&O.block_start>=O.w_size&&(O.block_start-=O.w_size,O.strstart-=O.w_size,O.window.set(O.window.subarray(O.w_size,O.w_size+O.strstart),0),O.matches<2&&O.matches++,ht+=O.w_size,O.insert>O.strstart&&(O.insert=O.strstart)),ht>O.strm.avail_in&&(ht=O.strm.avail_in),ht&&(mr(O.strm,O.window,O.strstart,ht),O.strstart+=ht,O.insert+=ht>O.w_size-O.insert?O.w_size-O.insert:ht),O.high_water>3,ht=O.pending_buf_size-ht>65535?65535:O.pending_buf_size-ht,K=ht>O.w_size?O.w_size:ht,ft=O.strstart-O.block_start,(ft>=K||(ft||xe===Se)&&xe!==ce&&0===O.strm.avail_in&&ft<=ht)&&(Je=ft>ht?ht:ft,Kt=xe===Se&&0===O.strm.avail_in&&Je===ft?1:0,Pt(O,O.block_start,Je,Kt),O.block_start+=Je,qn(O.strm)),Kt?3:1)},Fn=(O,xe)=>{let K,Je;for(;;){if(O.lookahead=3&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),0!==K&&O.strstart-K<=O.w_size-dn&&(O.match_length=er(O,K)),O.match_length>=3)if(Je=bt(O,O.strstart-O.match_start,O.match_length-3),O.lookahead-=O.match_length,O.match_length<=O.max_lazy_match&&O.lookahead>=3){O.match_length--;do{O.strstart++,O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart}while(0!=--O.match_length);O.strstart++}else O.strstart+=O.match_length,O.match_length=0,O.ins_h=O.window[O.strstart],O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+1]);else Je=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++;if(Je&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=O.strstart<2?O.strstart:2,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2},Ln=(O,xe)=>{let K,Je,ft;for(;;){if(O.lookahead=3&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),O.prev_length=O.match_length,O.prev_match=O.match_start,O.match_length=2,0!==K&&O.prev_length4096)&&(O.match_length=2)),O.prev_length>=3&&O.match_length<=O.prev_length){ft=O.strstart+O.lookahead-3,Je=bt(O,O.strstart-1-O.prev_match,O.prev_length-3),O.lookahead-=O.prev_length-1,O.prev_length-=2;do{++O.strstart<=ft&&(O.ins_h=Ki(O,O.ins_h,O.window[O.strstart+3-1]),K=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart)}while(0!=--O.prev_length);if(O.match_available=0,O.match_length=2,O.strstart++,Je&&(Pn(O,!1),0===O.strm.avail_out))return 1}else if(O.match_available){if(Je=bt(O,0,O.window[O.strstart-1]),Je&&Pn(O,!1),O.strstart++,O.lookahead--,0===O.strm.avail_out)return 1}else O.match_available=1,O.strstart++,O.lookahead--}return O.match_available&&(Je=bt(O,0,O.window[O.strstart-1]),O.match_available=0),O.insert=O.strstart<2?O.strstart:2,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2};function Ui(O,xe,K,Je,ft){this.good_length=O,this.max_lazy=xe,this.nice_length=K,this.max_chain=Je,this.func=ft}const sr=[new Ui(0,0,0,0,wn),new Ui(4,4,8,4,Fn),new Ui(4,5,16,8,Fn),new Ui(4,6,32,32,Fn),new Ui(4,4,16,16,Ln),new Ui(8,16,32,32,Ln),new Ui(8,16,128,128,Ln),new Ui(8,32,128,256,Ln),new Ui(32,128,258,1024,Ln),new Ui(32,258,258,4096,Ln)];function Gr(){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=st,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 Sr=O=>{if(!O)return 1;const xe=O.state;return!xe||xe.strm!==O||42!==xe.status&&57!==xe.status&&69!==xe.status&&73!==xe.status&&91!==xe.status&&103!==xe.status&&113!==xe.status&&666!==xe.status?1:0},Lr=O=>{if(Sr(O))return ki(O,He);O.total_in=O.total_out=0,O.data_type=Yn;const xe=O.state;return xe.pending=0,xe.pending_out=0,xe.wrap<0&&(xe.wrap=-xe.wrap),xe.status=2===xe.wrap?57:xe.wrap?42:113,O.adler=2===xe.wrap?0:1,xe.last_flush=-2,Ct(xe),nt},tr=O=>{const xe=Lr(O);return xe===nt&&(O=>{O.window_size=2*O.w_size,Gi(O.head),O.max_lazy_match=sr[O.level].max_lazy,O.good_match=sr[O.level].good_length,O.nice_match=sr[O.level].nice_length,O.max_chain_length=sr[O.level].max_chain,O.strstart=0,O.block_start=0,O.lookahead=0,O.insert=0,O.match_length=O.prev_length=2,O.match_available=0,O.ins_h=0})(O.state),xe},Zi=(O,xe,K,Je,ft,ht)=>{if(!O)return He;let Kt=1;if(xe===Xt&&(xe=6),Je<0?(Kt=0,Je=-Je):Je>15&&(Kt=2,Je-=16),ft<1||ft>9||K!==st||Je<8||Je>15||xe<0||xe>9||ht<0||ht>_i||8===Je&&1!==Kt)return ki(O,He);8===Je&&(Je=9);const Vt=new Gr;return O.state=Vt,Vt.strm=O,Vt.status=42,Vt.wrap=Kt,Vt.gzhead=null,Vt.w_bits=Je,Vt.w_size=1<Zi(O,xe,st,15,8,Hi),deflateInit2:Zi,deflateReset:tr,deflateResetKeep:Lr,deflateSetHeader:(O,xe)=>Sr(O)||2!==O.state.wrap?He:(O.state.gzhead=xe,nt),deflate:(O,xe)=>{if(Sr(O)||xe>at||xe<0)return O?ki(O,He):He;const K=O.state;if(!O.output||0!==O.avail_in&&!O.input||666===K.status&&xe!==Se)return ki(O,0===O.avail_out?Lt:He);const Je=K.last_flush;if(K.last_flush=xe,0!==K.pending){if(qn(O),0===O.avail_out)return K.last_flush=-1,nt}else if(0===O.avail_in&&zi(xe)<=zi(Je)&&xe!==Se)return ki(O,Lt);if(666===K.status&&0!==O.avail_in)return ki(O,Lt);if(42===K.status&&0===K.wrap&&(K.status=113),42===K.status){let ft=st+(K.w_bits-8<<4)<<8,ht=-1;if(ht=K.strategy>=Nn||K.level<2?0:K.level<6?1:6===K.level?2:3,ft|=ht<<6,0!==K.strstart&&(ft|=32),ft+=31-ft%31,Fi(K,ft),0!==K.strstart&&(Fi(K,O.adler>>>16),Fi(K,65535&O.adler)),O.adler=1,K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt}if(57===K.status)if(O.adler=0,Qn(K,31),Qn(K,139),Qn(K,8),K.gzhead)Qn(K,(K.gzhead.text?1:0)+(K.gzhead.hcrc?2:0)+(K.gzhead.extra?4:0)+(K.gzhead.name?8:0)+(K.gzhead.comment?16:0)),Qn(K,255&K.gzhead.time),Qn(K,K.gzhead.time>>8&255),Qn(K,K.gzhead.time>>16&255),Qn(K,K.gzhead.time>>24&255),Qn(K,9===K.level?2:K.strategy>=Nn||K.level<2?4:0),Qn(K,255&K.gzhead.os),K.gzhead.extra&&K.gzhead.extra.length&&(Qn(K,255&K.gzhead.extra.length),Qn(K,K.gzhead.extra.length>>8&255)),K.gzhead.hcrc&&(O.adler=tt(O.adler,K.pending_buf,K.pending,0)),K.gzindex=0,K.status=69;else if(Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,0),Qn(K,9===K.level?2:K.strategy>=Nn||K.level<2?4:0),Qn(K,3),K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt;if(69===K.status){if(K.gzhead.extra){let ft=K.pending,ht=(65535&K.gzhead.extra.length)-K.gzindex;for(;K.pending+ht>K.pending_buf_size;){let Vt=K.pending_buf_size-K.pending;if(K.pending_buf.set(K.gzhead.extra.subarray(K.gzindex,K.gzindex+Vt),K.pending),K.pending=K.pending_buf_size,K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex+=Vt,qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0,ht-=Vt}let Kt=new Uint8Array(K.gzhead.extra);K.pending_buf.set(Kt.subarray(K.gzindex,K.gzindex+ht),K.pending),K.pending+=ht,K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex=0}K.status=73}if(73===K.status){if(K.gzhead.name){let ht,ft=K.pending;do{if(K.pending===K.pending_buf_size){if(K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0}ht=K.gzindexft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),K.gzindex=0}K.status=91}if(91===K.status){if(K.gzhead.comment){let ht,ft=K.pending;do{if(K.pending===K.pending_buf_size){if(K.gzhead.hcrc&&K.pending>ft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft)),qn(O),0!==K.pending)return K.last_flush=-1,nt;ft=0}ht=K.gzindexft&&(O.adler=tt(O.adler,K.pending_buf,K.pending-ft,ft))}K.status=103}if(103===K.status){if(K.gzhead.hcrc){if(K.pending+2>K.pending_buf_size&&(qn(O),0!==K.pending))return K.last_flush=-1,nt;Qn(K,255&O.adler),Qn(K,O.adler>>8&255),O.adler=0}if(K.status=113,qn(O),0!==K.pending)return K.last_flush=-1,nt}if(0!==O.avail_in||0!==K.lookahead||xe!==ce&&666!==K.status){let ft=0===K.level?wn(K,xe):K.strategy===Nn?((O,xe)=>{let K;for(;;){if(0===O.lookahead&&(_n(O),0===O.lookahead)){if(xe===ce)return 1;break}if(O.match_length=0,K=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++,K&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=0,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2})(K,xe):K.strategy===ui?((O,xe)=>{let K,Je,ft,ht;const Kt=O.window;for(;;){if(O.lookahead<=258){if(_n(O),O.lookahead<=258&&xe===ce)return 1;if(0===O.lookahead)break}if(O.match_length=0,O.lookahead>=3&&O.strstart>0&&(ft=O.strstart-1,Je=Kt[ft],Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft])){ht=O.strstart+258;do{}while(Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&Je===Kt[++ft]&&ftO.lookahead&&(O.match_length=O.lookahead)}if(O.match_length>=3?(K=bt(O,1,O.match_length-3),O.lookahead-=O.match_length,O.strstart+=O.match_length,O.match_length=0):(K=bt(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++),K&&(Pn(O,!1),0===O.strm.avail_out))return 1}return O.insert=0,xe===Se?(Pn(O,!0),0===O.strm.avail_out?3:4):O.sym_next&&(Pn(O,!1),0===O.strm.avail_out)?1:2})(K,xe):sr[K.level].func(K,xe);if((3===ft||4===ft)&&(K.status=666),1===ft||3===ft)return 0===O.avail_out&&(K.last_flush=-1),nt;if(2===ft&&(xe===z?_e(K):xe!==at&&(Pt(K,0,0,!1),xe===oe&&(Gi(K.head),0===K.lookahead&&(K.strstart=0,K.block_start=0,K.insert=0))),qn(O),0===O.avail_out))return K.last_flush=-1,nt}return xe!==Se?nt:K.wrap<=0?mt:(2===K.wrap?(Qn(K,255&O.adler),Qn(K,O.adler>>8&255),Qn(K,O.adler>>16&255),Qn(K,O.adler>>24&255),Qn(K,255&O.total_in),Qn(K,O.total_in>>8&255),Qn(K,O.total_in>>16&255),Qn(K,O.total_in>>24&255)):(Fi(K,O.adler>>>16),Fi(K,65535&O.adler)),qn(O),K.wrap>0&&(K.wrap=-K.wrap),0!==K.pending?nt:mt)},deflateEnd:O=>{if(Sr(O))return He;const xe=O.state.status;return O.state=null,113===xe?ki(O,rt):nt},deflateSetDictionary:(O,xe)=>{let K=xe.length;if(Sr(O))return He;const Je=O.state,ft=Je.wrap;if(2===ft||1===ft&&42!==Je.status||Je.lookahead)return He;if(1===ft&&(O.adler=De(O.adler,xe,K,0)),Je.wrap=0,K>=Je.w_size){0===ft&&(Gi(Je.head),Je.strstart=0,Je.block_start=0,Je.insert=0);let kn=new Uint8Array(Je.w_size);kn.set(xe.subarray(K-Je.w_size,K),0),xe=kn,K=Je.w_size}const ht=O.avail_in,Kt=O.next_in,Vt=O.input;for(O.avail_in=K,O.next_in=0,O.input=xe,_n(Je);Je.lookahead>=3;){let kn=Je.strstart,kt=Je.lookahead-2;do{Je.ins_h=Ki(Je,Je.ins_h,Je.window[kn+3-1]),Je.prev[kn&Je.w_mask]=Je.head[Je.ins_h],Je.head[Je.ins_h]=kn,kn++}while(--kt);Je.strstart=kn,Je.lookahead=2,_n(Je)}return Je.strstart+=Je.lookahead,Je.block_start=Je.strstart,Je.insert=Je.lookahead,Je.lookahead=0,Je.match_length=Je.prev_length=2,Je.match_available=0,O.next_in=Kt,O.input=Vt,O.avail_in=ht,Je.wrap=ft,nt},deflateInfo:"pako deflate (from Nodeca project)"};const Gt=(O,xe)=>Object.prototype.hasOwnProperty.call(O,xe);var bn={assign:function(O){const xe=Array.prototype.slice.call(arguments,1);for(;xe.length;){const K=xe.shift();if(K){if("object"!=typeof K)throw new TypeError(K+"must be non-object");for(const Je in K)Gt(K,Je)&&(O[Je]=K[Je])}}return O},flattenChunks:O=>{let xe=0;for(let Je=0,ft=O.length;Je=252?6:O>=248?5:O>=240?4:O>=224?3:O>=192?2:1;Gn[254]=Gn[254]=1;var Kn={string2buf:O=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(O);let xe,K,Je,ft,ht,Kt=O.length,Vt=0;for(ft=0;ft>>6,xe[ht++]=128|63&K):K<65536?(xe[ht++]=224|K>>>12,xe[ht++]=128|K>>>6&63,xe[ht++]=128|63&K):(xe[ht++]=240|K>>>18,xe[ht++]=128|K>>>12&63,xe[ht++]=128|K>>>6&63,xe[ht++]=128|63&K);return xe},buf2string:(O,xe)=>{const K=xe||O.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(O.subarray(0,xe));let Je,ft;const ht=new Array(2*K);for(ft=0,Je=0;Je4)ht[ft++]=65533,Je+=Vt-1;else{for(Kt&=2===Vt?31:3===Vt?15:7;Vt>1&&Je1?ht[ft++]=65533:Kt<65536?ht[ft++]=Kt:(Kt-=65536,ht[ft++]=55296|Kt>>10&1023,ht[ft++]=56320|1023&Kt)}}return((O,xe)=>{if(xe<65534&&O.subarray&&An)return String.fromCharCode.apply(null,O.length===xe?O:O.subarray(0,xe));let K="";for(let Je=0;Je{(xe=xe||O.length)>O.length&&(xe=O.length);let K=xe-1;for(;K>=0&&128==(192&O[K]);)K--;return K<0||0===K?xe:K+Gn[O[K]]>xe?K:xe}},ji=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 lr=Object.prototype.toString,{Z_NO_FLUSH:gr,Z_SYNC_FLUSH:ls,Z_FULL_FLUSH:Ys,Z_FINISH:ti,Z_OK:wi,Z_STREAM_END:Ri,Z_DEFAULT_COMPRESSION:Br,Z_DEFAULT_STRATEGY:Qi,Z_DEFLATED:Es}=Oe;function $r(O){this.options=bn.assign({level:Br,method:Es,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qi},O||{});let xe=this.options;xe.raw&&xe.windowBits>0?xe.windowBits=-xe.windowBits:xe.gzip&&xe.windowBits>0&&xe.windowBits<16&&(xe.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ji,this.strm.avail_out=0;let K=$t.deflateInit2(this.strm,xe.level,xe.method,xe.windowBits,xe.memLevel,xe.strategy);if(K!==wi)throw new Error(ut[K]);if(xe.header&&$t.deflateSetHeader(this.strm,xe.header),xe.dictionary){let Je;if(Je="string"==typeof xe.dictionary?Kn.string2buf(xe.dictionary):"[object ArrayBuffer]"===lr.call(xe.dictionary)?new Uint8Array(xe.dictionary):xe.dictionary,K=$t.deflateSetDictionary(this.strm,Je),K!==wi)throw new Error(ut[K]);this._dict_set=!0}}function es(O,xe){const K=new $r(xe);if(K.push(O,!0),K.err)throw K.msg||ut[K.err];return K.result}$r.prototype.push=function(O,xe){const K=this.strm,Je=this.options.chunkSize;let ft,ht;if(this.ended)return!1;for(ht=xe===~~xe?xe:!0===xe?ti:gr,K.input="string"==typeof O?Kn.string2buf(O):"[object ArrayBuffer]"===lr.call(O)?new Uint8Array(O):O,K.next_in=0,K.avail_in=K.input.length;;)if(0===K.avail_out&&(K.output=new Uint8Array(Je),K.next_out=0,K.avail_out=Je),(ht===ls||ht===Ys)&&K.avail_out<=6)this.onData(K.output.subarray(0,K.next_out)),K.avail_out=0;else{if(ft=$t.deflate(K,ht),ft===Ri)return K.next_out>0&&this.onData(K.output.subarray(0,K.next_out)),ft=$t.deflateEnd(this.strm),this.onEnd(ft),this.ended=!0,ft===wi;if(0!==K.avail_out){if(ht>0&&K.next_out>0)this.onData(K.output.subarray(0,K.next_out)),K.avail_out=0;else if(0===K.avail_in)break}else this.onData(K.output)}return!0},$r.prototype.onData=function(O){this.chunks.push(O)},$r.prototype.onEnd=function(O){O===wi&&(this.result=bn.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg};var je={Deflate:$r,deflate:es,deflateRaw:function Zs(O,xe){return(xe=xe||{}).raw=!0,es(O,xe)},gzip:function uo(O,xe){return(xe=xe||{}).gzip=!0,es(O,xe)},constants:Oe};const xt=16209;var Sn=function(xe,K){let Je,ft,ht,Kt,Vt,kn,kt,Qt,Jn,Dn,sn,Wn,Wi,bi,ci,Ai,pi,In,hi,vr,jn,Ni,gi,ei;const vi=xe.state;Je=xe.next_in,gi=xe.input,ft=Je+(xe.avail_in-5),ht=xe.next_out,ei=xe.output,Kt=ht-(K-xe.avail_out),Vt=ht+(xe.avail_out-257),kn=vi.dmax,kt=vi.wsize,Qt=vi.whave,Jn=vi.wnext,Dn=vi.window,sn=vi.hold,Wn=vi.bits,Wi=vi.lencode,bi=vi.distcode,ci=(1<>>24,sn>>>=In,Wn-=In,In=pi>>>16&255,0===In)ei[ht++]=65535πelse{if(!(16&In)){if(64&In){if(32&In){vi.mode=16191;break e}xe.msg="invalid literal/length code",vi.mode=xt;break e}pi=Wi[(65535&pi)+(sn&(1<>>=In,Wn-=In),Wn<15&&(sn+=gi[Je++]<>>24,sn>>>=In,Wn-=In,In=pi>>>16&255,16&In){if(vr=65535&pi,In&=15,Wnkn){xe.msg="invalid distance too far back",vi.mode=xt;break e}if(sn>>>=In,Wn-=In,In=ht-Kt,vr>In){if(In=vr-In,In>Qt&&vi.sane){xe.msg="invalid distance too far back",vi.mode=xt;break e}if(jn=0,Ni=Dn,0===Jn){if(jn+=kt-In,In2;)ei[ht++]=Ni[jn++],ei[ht++]=Ni[jn++],ei[ht++]=Ni[jn++],hi-=3;hi&&(ei[ht++]=Ni[jn++],hi>1&&(ei[ht++]=Ni[jn++]))}else{jn=ht-vr;do{ei[ht++]=ei[jn++],ei[ht++]=ei[jn++],ei[ht++]=ei[jn++],hi-=3}while(hi>2);hi&&(ei[ht++]=ei[jn++],hi>1&&(ei[ht++]=ei[jn++]))}break}if(64&In){xe.msg="invalid distance code",vi.mode=xt;break e}pi=bi[(65535&pi)+(sn&(1<>3,Je-=hi,Wn-=hi<<3,sn&=(1<{const kn=Vt.bits;let pi,In,hi,vr,jn,gi,kt=0,Qt=0,Jn=0,Dn=0,sn=0,Wn=0,Wi=0,bi=0,ci=0,Ai=0,Ni=null;const ei=new Uint16Array(16),vi=new Uint16Array(16);let dc,As,Vs,$s=null;for(kt=0;kt<=15;kt++)ei[kt]=0;for(Qt=0;Qt=1&&0===ei[Dn];Dn--);if(sn>Dn&&(sn=Dn),0===Dn)return ft[ht++]=20971520,ft[ht++]=20971520,Vt.bits=1,0;for(Jn=1;Jn0&&(0===O||1!==Dn))return-1;for(vi[1]=0,kt=1;kt<15;kt++)vi[kt+1]=vi[kt]+ei[kt];for(Qt=0;Qt852||2===O&&ci>592)return 1;for(;;){dc=kt-Wi,Kt[Qt]+1=gi?(As=$s[Kt[Qt]-gi],Vs=Ni[Kt[Qt]-gi]):(As=96,Vs=0),pi=1<>Wi)+In]=dc<<24|As<<16|Vs|0}while(0!==In);for(pi=1<>=1;if(0!==pi?(Ai&=pi-1,Ai+=pi):Ai=0,Qt++,0==--ei[kt]){if(kt===Dn)break;kt=xe[K+Kt[Qt]]}if(kt>sn&&(Ai&vr)!==hi){for(0===Wi&&(Wi=sn),jn+=Jn,Wn=kt-Wi,bi=1<852||2===O&&ci>592)return 1;hi=Ai&vr,ft[hi]=sn<<24|Wn<<16|jn-ht|0}}return 0!==Ai&&(ft[jn+Ai]=kt-Wi<<24|64<<16|0),Vt.bits=sn,0};const{Z_FINISH:Hn,Z_BLOCK:Qs,Z_TREES:Vr,Z_OK:nr,Z_STREAM_END:Ls,Z_NEED_DICT:ys,Z_STREAM_ERROR:fi,Z_DATA_ERROR:jr,Z_MEM_ERROR:Xi,Z_BUF_ERROR:ir,Z_DEFLATED:Xs}=Oe,Zr=16180,fo=16190,ns=16191,J=16199,Fe=16200,Un=16209,ds=O=>(O>>>24&255)+(O>>>8&65280)+((65280&O)<<8)+((255&O)<<24);function _r(){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 ur=O=>{if(!O)return 1;const xe=O.state;return!xe||xe.strm!==O||xe.mode16211?1:0},Ji=O=>{if(ur(O))return fi;const xe=O.state;return O.total_in=O.total_out=xe.total=0,O.msg="",xe.wrap&&(O.adler=1&xe.wrap),xe.mode=Zr,xe.last=0,xe.havedict=0,xe.flags=-1,xe.dmax=32768,xe.head=null,xe.hold=0,xe.bits=0,xe.lencode=xe.lendyn=new Int32Array(852),xe.distcode=xe.distdyn=new Int32Array(592),xe.sane=1,xe.back=-1,nr},rs=O=>{if(ur(O))return fi;const xe=O.state;return xe.wsize=0,xe.whave=0,xe.wnext=0,Ji(O)},Is=(O,xe)=>{let K;if(ur(O))return fi;const Je=O.state;return xe<0?(K=0,xe=-xe):(K=5+(xe>>4),xe<48&&(xe&=15)),xe&&(xe<8||xe>15)?fi:(null!==Je.window&&Je.wbits!==xe&&(Je.window=null),Je.wrap=K,Je.wbits=xe,rs(O))},Rr=(O,xe)=>{if(!O)return fi;const K=new _r;O.state=K,K.strm=O,K.window=null,K.mode=Zr;const Je=Is(O,xe);return Je!==nr&&(O.state=null),Je};let xi,Fs,ia=!0;const to=O=>{if(ia){xi=new Int32Array(512),Fs=new Int32Array(32);let xe=0;for(;xe<144;)O.lens[xe++]=8;for(;xe<256;)O.lens[xe++]=9;for(;xe<280;)O.lens[xe++]=7;for(;xe<288;)O.lens[xe++]=8;for(cs(1,O.lens,0,288,xi,0,O.work,{bits:9}),xe=0;xe<32;)O.lens[xe++]=5;cs(2,O.lens,0,32,Fs,0,O.work,{bits:5}),ia=!1}O.lencode=xi,O.lenbits=9,O.distcode=Fs,O.distbits=5},ar=(O,xe,K,Je)=>{let ft;const ht=O.state;return null===ht.window&&(ht.wsize=1<=ht.wsize?(ht.window.set(xe.subarray(K-ht.wsize,K),0),ht.wnext=0,ht.whave=ht.wsize):(ft=ht.wsize-ht.wnext,ft>Je&&(ft=Je),ht.window.set(xe.subarray(K-Je,K-Je+ft),ht.wnext),(Je-=ft)?(ht.window.set(xe.subarray(K-Je,K),0),ht.wnext=Je,ht.whave=ht.wsize):(ht.wnext+=ft,ht.wnext===ht.wsize&&(ht.wnext=0),ht.whaveRr(O,15),inflateInit2:Rr,inflate:(O,xe)=>{let K,Je,ft,ht,Kt,Vt,kn,kt,Qt,Jn,Dn,sn,Wn,Wi,ci,Ai,pi,In,hi,vr,jn,Ni,bi=0;const gi=new Uint8Array(4);let ei,vi;const $s=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ur(O)||!O.output||!O.input&&0!==O.avail_in)return fi;K=O.state,K.mode===ns&&(K.mode=16192),Kt=O.next_out,ft=O.output,kn=O.avail_out,ht=O.next_in,Je=O.input,Vt=O.avail_in,kt=K.hold,Qt=K.bits,Jn=Vt,Dn=kn,Ni=nr;e:for(;;)switch(K.mode){case Zr:if(0===K.wrap){K.mode=16192;break}for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,K.check=tt(K.check,gi,2,0),kt=0,Qt=0,K.mode=16181;break}if(K.head&&(K.head.done=!1),!(1&K.wrap)||(((255&kt)<<8)+(kt>>8))%31){O.msg="incorrect header check",K.mode=Un;break}if((15&kt)!==Xs){O.msg="unknown compression method",K.mode=Un;break}if(kt>>>=4,Qt-=4,jn=8+(15&kt),0===K.wbits&&(K.wbits=jn),jn>15||jn>K.wbits){O.msg="invalid window size",K.mode=Un;break}K.dmax=1<>8&1),512&K.flags&&4&K.wrap&&(gi[0]=255&kt,gi[1]=kt>>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0,K.mode=16182;case 16182:for(;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,gi[2]=kt>>>16&255,gi[3]=kt>>>24&255,K.check=tt(K.check,gi,4,0)),kt=0,Qt=0,K.mode=16183;case 16183:for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>8),512&K.flags&&4&K.wrap&&(gi[0]=255&kt,gi[1]=kt>>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0,K.mode=16184;case 16184:if(1024&K.flags){for(;Qt<16;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>8&255,K.check=tt(K.check,gi,2,0)),kt=0,Qt=0}else K.head&&(K.head.extra=null);K.mode=16185;case 16185:if(1024&K.flags&&(sn=K.length,sn>Vt&&(sn=Vt),sn&&(K.head&&(jn=K.head.extra_len-K.length,K.head.extra||(K.head.extra=new Uint8Array(K.head.extra_len)),K.head.extra.set(Je.subarray(ht,ht+sn),jn)),512&K.flags&&4&K.wrap&&(K.check=tt(K.check,Je,sn,ht)),Vt-=sn,ht+=sn,K.length-=sn),K.length))break e;K.length=0,K.mode=16186;case 16186:if(2048&K.flags){if(0===Vt)break e;sn=0;do{jn=Je[ht+sn++],K.head&&jn&&K.length<65536&&(K.head.name+=String.fromCharCode(jn))}while(jn&&sn>9&1,K.head.done=!0),O.adler=K.check=0,K.mode=ns;break;case 16189:for(;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=7&Qt,Qt-=7&Qt,K.mode=16206;break}for(;Qt<3;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=1,Qt-=1,3&kt){case 0:K.mode=16193;break;case 1:if(to(K),K.mode=J,xe===Vr){kt>>>=2,Qt-=2;break e}break;case 2:K.mode=16196;break;case 3:O.msg="invalid block type",K.mode=Un}kt>>>=2,Qt-=2;break;case 16193:for(kt>>>=7&Qt,Qt-=7&Qt;Qt<32;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>16^65535)){O.msg="invalid stored block lengths",K.mode=Un;break}if(K.length=65535&kt,kt=0,Qt=0,K.mode=16194,xe===Vr)break e;case 16194:K.mode=16195;case 16195:if(sn=K.length,sn){if(sn>Vt&&(sn=Vt),sn>kn&&(sn=kn),0===sn)break e;ft.set(Je.subarray(ht,ht+sn),Kt),Vt-=sn,ht+=sn,kn-=sn,Kt+=sn,K.length-=sn;break}K.mode=ns;break;case 16196:for(;Qt<14;){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=5,Qt-=5,K.ndist=1+(31&kt),kt>>>=5,Qt-=5,K.ncode=4+(15&kt),kt>>>=4,Qt-=4,K.nlen>286||K.ndist>30){O.msg="too many length or distance symbols",K.mode=Un;break}K.have=0,K.mode=16197;case 16197:for(;K.have>>=3,Qt-=3}for(;K.have<19;)K.lens[$s[K.have++]]=0;if(K.lencode=K.lendyn,K.lenbits=7,ei={bits:K.lenbits},Ni=cs(0,K.lens,0,19,K.lencode,0,K.work,ei),K.lenbits=ei.bits,Ni){O.msg="invalid code lengths set",K.mode=Un;break}K.have=0,K.mode=16198;case 16198:for(;K.have>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=ci,Qt-=ci,K.lens[K.have++]=pi;else{if(16===pi){for(vi=ci+2;Qt>>=ci,Qt-=ci,0===K.have){O.msg="invalid bit length repeat",K.mode=Un;break}jn=K.lens[K.have-1],sn=3+(3&kt),kt>>>=2,Qt-=2}else if(17===pi){for(vi=ci+3;Qt>>=ci,Qt-=ci,jn=0,sn=3+(7&kt),kt>>>=3,Qt-=3}else{for(vi=ci+7;Qt>>=ci,Qt-=ci,jn=0,sn=11+(127&kt),kt>>>=7,Qt-=7}if(K.have+sn>K.nlen+K.ndist){O.msg="invalid bit length repeat",K.mode=Un;break}for(;sn--;)K.lens[K.have++]=jn}}if(K.mode===Un)break;if(0===K.lens[256]){O.msg="invalid code -- missing end-of-block",K.mode=Un;break}if(K.lenbits=9,ei={bits:K.lenbits},Ni=cs(1,K.lens,0,K.nlen,K.lencode,0,K.work,ei),K.lenbits=ei.bits,Ni){O.msg="invalid literal/lengths set",K.mode=Un;break}if(K.distbits=6,K.distcode=K.distdyn,ei={bits:K.distbits},Ni=cs(2,K.lens,K.nlen,K.ndist,K.distcode,0,K.work,ei),K.distbits=ei.bits,Ni){O.msg="invalid distances set",K.mode=Un;break}if(K.mode=J,xe===Vr)break e;case J:K.mode=Fe;case Fe:if(Vt>=6&&kn>=258){O.next_out=Kt,O.avail_out=kn,O.next_in=ht,O.avail_in=Vt,K.hold=kt,K.bits=Qt,Sn(O,Dn),Kt=O.next_out,ft=O.output,kn=O.avail_out,ht=O.next_in,Je=O.input,Vt=O.avail_in,kt=K.hold,Qt=K.bits,K.mode===ns&&(K.back=-1);break}for(K.back=0;bi=K.lencode[kt&(1<>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>In)],ci=bi>>>24,Ai=bi>>>16&255,pi=65535&bi,!(In+ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=In,Qt-=In,K.back+=In}if(kt>>>=ci,Qt-=ci,K.back+=ci,K.length=pi,0===Ai){K.mode=16205;break}if(32&Ai){K.back=-1,K.mode=ns;break}if(64&Ai){O.msg="invalid literal/length code",K.mode=Un;break}K.extra=15&Ai,K.mode=16201;case 16201:if(K.extra){for(vi=K.extra;Qt>>=K.extra,Qt-=K.extra,K.back+=K.extra}K.was=K.length,K.mode=16202;case 16202:for(;bi=K.distcode[kt&(1<>>24,Ai=bi>>>16&255,pi=65535&bi,!(ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>In)],ci=bi>>>24,Ai=bi>>>16&255,pi=65535&bi,!(In+ci<=Qt);){if(0===Vt)break e;Vt--,kt+=Je[ht++]<>>=In,Qt-=In,K.back+=In}if(kt>>>=ci,Qt-=ci,K.back+=ci,64&Ai){O.msg="invalid distance code",K.mode=Un;break}K.offset=pi,K.extra=15&Ai,K.mode=16203;case 16203:if(K.extra){for(vi=K.extra;Qt>>=K.extra,Qt-=K.extra,K.back+=K.extra}if(K.offset>K.dmax){O.msg="invalid distance too far back",K.mode=Un;break}K.mode=16204;case 16204:if(0===kn)break e;if(sn=Dn-kn,K.offset>sn){if(sn=K.offset-sn,sn>K.whave&&K.sane){O.msg="invalid distance too far back",K.mode=Un;break}sn>K.wnext?(sn-=K.wnext,Wn=K.wsize-sn):Wn=K.wnext-sn,sn>K.length&&(sn=K.length),Wi=K.window}else Wi=ft,Wn=Kt-K.offset,sn=K.length;sn>kn&&(sn=kn),kn-=sn,K.length-=sn;do{ft[Kt++]=Wi[Wn++]}while(--sn);0===K.length&&(K.mode=Fe);break;case 16205:if(0===kn)break e;ft[Kt++]=K.length,kn--,K.mode=Fe;break;case 16206:if(K.wrap){for(;Qt<32;){if(0===Vt)break e;Vt--,kt|=Je[ht++]<{if(ur(O))return fi;let xe=O.state;return xe.window&&(xe.window=null),O.state=null,nr},inflateGetHeader:(O,xe)=>{if(ur(O))return fi;const K=O.state;return 2&K.wrap?(K.head=xe,xe.done=!1,nr):fi},inflateSetDictionary:(O,xe)=>{const K=xe.length;let Je,ft,ht;return ur(O)||(Je=O.state,0!==Je.wrap&&Je.mode!==fo)?fi:Je.mode===fo&&(ft=1,ft=De(ft,xe,K,0),ft!==Je.check)?jr:(ht=ar(O,xe,K,K),ht?(Je.mode=16210,Xi):(Je.havedict=1,nr))},inflateInfo:"pako inflate (from Nodeca project)"},zn=function _o(){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 Po=Object.prototype.toString,{Z_NO_FLUSH:ll,Z_FINISH:ca,Z_OK:io,Z_STREAM_END:No,Z_NEED_DICT:vo,Z_STREAM_ERROR:Ts,Z_DATA_ERROR:Fo,Z_MEM_ERROR:cl}=Oe;function Bs(O){this.options=bn.assign({chunkSize:65536,windowBits:15,to:""},O||{});const xe=this.options;xe.raw&&xe.windowBits>=0&&xe.windowBits<16&&(xe.windowBits=-xe.windowBits,0===xe.windowBits&&(xe.windowBits=-15)),xe.windowBits>=0&&xe.windowBits<16&&!(O&&O.windowBits)&&(xe.windowBits+=32),xe.windowBits>15&&xe.windowBits<48&&(15&xe.windowBits||(xe.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ji,this.strm.avail_out=0;let K=Or.inflateInit2(this.strm,xe.windowBits);if(K!==io)throw new Error(ut[K]);if(this.header=new zn,Or.inflateGetHeader(this.strm,this.header),xe.dictionary&&("string"==typeof xe.dictionary?xe.dictionary=Kn.string2buf(xe.dictionary):"[object ArrayBuffer]"===Po.call(xe.dictionary)&&(xe.dictionary=new Uint8Array(xe.dictionary)),xe.raw&&(K=Or.inflateSetDictionary(this.strm,xe.dictionary),K!==io)))throw new Error(ut[K])}function ro(O,xe){const K=new Bs(xe);if(K.push(O),K.err)throw K.msg||ut[K.err];return K.result}Bs.prototype.push=function(O,xe){const K=this.strm,Je=this.options.chunkSize,ft=this.options.dictionary;let ht,Kt,Vt;if(this.ended)return!1;for(Kt=xe===~~xe?xe:!0===xe?ca:ll,K.input="[object ArrayBuffer]"===Po.call(O)?new Uint8Array(O):O,K.next_in=0,K.avail_in=K.input.length;;){for(0===K.avail_out&&(K.output=new Uint8Array(Je),K.next_out=0,K.avail_out=Je),ht=Or.inflate(K,Kt),ht===vo&&ft&&(ht=Or.inflateSetDictionary(K,ft),ht===io?ht=Or.inflate(K,Kt):ht===Fo&&(ht=vo));K.avail_in>0&&ht===No&&K.state.wrap>0&&0!==O[K.next_in];)Or.inflateReset(K),ht=Or.inflate(K,Kt);switch(ht){case Ts:case Fo:case vo:case cl:return this.onEnd(ht),this.ended=!0,!1}if(Vt=K.avail_out,K.next_out&&(0===K.avail_out||ht===No))if("string"===this.options.to){let kn=Kn.utf8border(K.output,K.next_out),kt=K.next_out-kn,Qt=Kn.buf2string(K.output,kn);K.next_out=kt,K.avail_out=Je-kt,kt&&K.output.set(K.output.subarray(kn,kn+kt),0),this.onData(Qt)}else this.onData(K.output.length===K.next_out?K.output:K.output.subarray(0,K.next_out));if(ht!==io||0!==Vt){if(ht===No)return ht=Or.inflateEnd(this.strm),this.onEnd(ht),this.ended=!0,!0;if(0===K.avail_in)break}}return!0},Bs.prototype.onData=function(O){this.chunks.push(O)},Bs.prototype.onEnd=function(O){O===io&&(this.result="string"===this.options.to?this.chunks.join(""):bn.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg};var bo={Inflate:Bs,inflate:ro,inflateRaw:function ul(O,xe){return(xe=xe||{}).raw=!0,ro(O,xe)},ungzip:ro,constants:Oe};const{Deflate:so,deflate:ss,deflateRaw:Uo,gzip:Bo}=je,{Inflate:dl,inflate:uc,inflateRaw:ha,ungzip:G}=bo;var se=so,Q=ss,re=Uo,be=Bo,We=dl,pt=uc,Zt=ha,Wt=G,Mn=Oe,ni={Deflate:so,deflate:ss,deflateRaw:Uo,gzip:Bo,Inflate:dl,inflate:uc,inflateRaw:ha,ungzip:G,constants:Oe}},5861:(Me,ie,_)=>{"use strict";function n(D,y,u,v,s,m,h){try{var o=D[m](h),l=o.value}catch(r){return void u(r)}o.done?y(l):Promise.resolve(l).then(v,s)}function f(D){return function(){var y=this,u=arguments;return new Promise(function(v,s){var m=D.apply(y,u);function h(l){n(m,v,s,h,o,"next",l)}function o(l){n(m,v,s,h,o,"throw",l)}h(void 0)})}}_.d(ie,{Z:()=>f})},8210:Me=>{"use strict";Me.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1.0000000000000001e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 16.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1g","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"at","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mos","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"h","const",true,null,null,1,false,false,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 \xd7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"k","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xd710^\u221223 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"\u03b50","const",true,null,null,1,false,false,0,"\u03b50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xd7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"\u03bc0","const",true,null,null,1,false,false,0,"\u03bc0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03c0\xd710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xd710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"e","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xd710^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xd710^\u221219 C = 1.6\xd710\u221219 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"me","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xd7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"mp","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"G","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674\xd710\u221211 N\u22c5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",true,null,null,1,false,false,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03c0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03c0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"r\xf6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xb0C","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xb0C","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xb0F","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xb0F","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xb0F","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"BtuIT","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO2","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO2","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xb7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xae method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"st\xe8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,0,"\xc5; Angstroms; Ao; \xc5ngstr\xf6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; \u03a9^\u22121; \u03a9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ctm","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/103<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/106<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO2<.r>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","([IU]/KG)/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"((i.U.)/kg)/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(1012)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"103","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(103)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(103)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(103)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(104)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"105","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"106","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","((10*6).[CFU])/L","number",1000000000,[-3,0,0,0,0,0,0],"((106).CFU)/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(106)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(106)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(106)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(106)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"108","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(109)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(109)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(109)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[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,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xb7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; \xb0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[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/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/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/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/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/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/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/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/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/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)/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/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[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/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[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/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[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/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/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/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/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/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/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/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)/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/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO2)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[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/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m2)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m3)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[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/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/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)/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/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/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/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(1010)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(109)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[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/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/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/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)/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)/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/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/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[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]]}}')},82:Me=>{"use strict";Me.exports=JSON.parse('{"name":"fhirpath","version":"3.9.0","description":"A FHIRPath engine","main":"src/fhirpath.js","dependencies":{"@lhncbc/ucum-lhc":"^4.1.3","antlr4":"~4.9.3","commander":"^2.18.0","date-fns":"^1.30.1","js-yaml":"^3.13.1"},"devDependencies":{"@babel/core":"^7.21.4","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-loader":"^8.2.3","benny":"^3.7.1","bestzip":"^2.2.0","copy-webpack-plugin":"^6.0.3","cypress":"^10.3.0","eslint":"^8.10.0","fhir":"^4.10.3","grunt":"^1.5.2","grunt-cli":"^1.4.3","grunt-text-replace":"^0.4.0","jasmine-spec-reporter":"^4.2.1","jest":"^27.3.1","jit-grunt":"^0.10.0","lodash":"^4.17.21","open":"^8.4.0","rimraf":"^3.0.0","tmp":"0.0.33","webpack":"^5.11.1","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.9.1","xml2js":"^0.5.0","yargs":"^15.1.0"},"engines":{"node":">=8.9.0"},"scripts":{"generateParser":"cd src/parser; rimraf ./generated/*; java -Xmx500M -cp \\"../../antlr-4.9.3-complete.jar:$CLASSPATH\\" org.antlr.v4.Tool -o generated -Dlanguage=JavaScript FHIRPath.g4; grunt updateParserRequirements","build":"cd browser-build && webpack && rimraf fhirpath.zip && bestzip fhirpath.zip LICENSE.md fhirpath.min.js fhirpath.r5.min.js fhirpath.r4.min.js fhirpath.stu3.min.js fhirpath.dstu2.min.js && rimraf LICENSE.md","test:unit":"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":"MIT"}')},4147:Me=>{"use strict";Me.exports=JSON.parse('{"name":"matchbox","version":"3.5.3","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.0.9","@angular/animations":"^17.0.8","@angular/cdk":"^17.0.4","@angular/common":"^17.0.8","@angular/core":"^17.0.8","@angular/forms":"^17.0.8","@angular/material":"^17.0.4","@angular/platform-browser":"^17.0.8","@angular/platform-browser-dynamic":"^17.0.8","@angular/router":"^17.0.8","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","ace-builds":"^1.32.3","angular-oauth2-oidc":"^17.0.1","browserify-zlib":"^0.2.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.9.0","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.0"},"devDependencies":{"@angular-eslint/builder":"^17.1.1","@angular-eslint/eslint-plugin":"^17.1.1","@angular-eslint/eslint-plugin-template":"^17.1.1","@angular-eslint/schematics":"^17.1.1","@angular-eslint/template-parser":"^17.1.1","@angular/cli":"^17.0.9","@angular/compiler":"^17.0.8","@angular/compiler-cli":"^17.0.8","@angular/language-service":"^17.0.8","@types/debug":"^4.1.12","@types/jasmine":"^5.1.4","@types/node":"^20.10.6","@types/pako":"^2.0.3","@typescript-eslint/eslint-plugin":"^6.17.0","@typescript-eslint/parser":"^6.17.0","eslint":"^8.56.0","husky":"^8.0.3","jasmine":"^5.1.0","jasmine-core":"^5.1.1","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.1.1","pretty-quick":"^3.1.3","protractor":"~7.0.0","ts-node":"^10.9.2","tslint":"~6.1.0","typescript":"^5.2.2"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},Me=>{Me(Me.s=4913)}]); \ No newline at end of file diff --git a/matchbox-server/src/main/resources/static/polyfills.a3e4ce5d1ffe0ee6.js b/matchbox-server/src/main/resources/static/polyfills.a3e4ce5d1ffe0ee6.js new file mode 100644 index 00000000000..295fd4c8644 --- /dev/null +++ b/matchbox-server/src/main/resources/static/polyfills.a3e4ce5d1ffe0ee6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[429],{8332:()=>{!function(e){const n=e.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=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.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 t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||J).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;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,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${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||e[O]&&(K=e[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else e[M](L,0)}function R(L){0===ee&&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)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ue=Object.getOwnPropertyDescriptor,me=Object.defineProperty,ve=Object.getPrototypeOf,Se=Object.create,it=Array.prototype.slice,Ze="addEventListener",De="removeEventListener",Oe=Zone.__symbol__(Ze),Ne=Zone.__symbol__(De),ie="true",ce="false",pe=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,be=typeof window<"u",_e=be?window:void 0,Y=be&&_e||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Ve(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!Pe&&!Fe&&!(!be||!_e.HTMLElement),Be=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!be||!_e.HTMLElement),we={},Ue=function(e){if(!(e=e||Y.event))return;let n=we[e.type];n||(n=we[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function We(e,n,i){let o=ue(e,n);if(!o&&i&&ue(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=we[d];b||(b=we[d]=j("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,Ue),y&&y.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,Ue,!1))},o.get=function(){let v=this;if(!v&&e===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[ct]&&v.removeAttribute(n),M}return null},me(e,n,o),e[c]=!0}function qe(e,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]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function le(e,n){e[j("OriginalDelegate")]=n}let Xe=!1,je=!1;function ft(){if(Xe)return je;Xe=!0;try{const e=_e.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const O=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[O];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function K(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[J]),u===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];p&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{const S=l[R],Z=!!s&&_===s[_];Z&&(s[J]=S,s[x]=w);const D=u.run(p,void 0,Z&&p!==K&&p!==H?[]:[S]);z(s,!0,D)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let p of u)f++,s.push(t.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 t((p,S)=>{for(let Z=0;Z{g||(g=!0,p(D))},D=>{w.push(D),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((S,Z)=>{s=S,f=Z});function w(S){s(S)}function p(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(w,p);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((D,V)=>{f=D,g=V}),p=2,S=0;const Z=[];for(let D of u){B(D)||(D=this.resolve(D));const V=S;try{D.then(F=>{Z[V]=s?s.thenCallback(F):F,p--,0===p&&f(Z)},F=>{s?(Z[V]=s.errorCallback(F),p--,0===p&&f(Z)):g(F)})}catch(F){g(F)}p++,S++}return p-=2,0===p&&f(Z),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,w){return new t((S,Z)=>{f.call(this,S,Z)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),ae(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("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=e[o];if(m)return n.call(m)}if(this===Error){const m=e[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 e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}const ht={useG:!0},te={},ze={},Ye=new RegExp("^"+pe+"(\\w+)(true|false)$"),$e=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ce,o=(n?n(e):e)+ie,c=pe+i,a=pe+o;te[e]={},te[e][ce]=c,te[e][ie]=a}function dt(e,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||De,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(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 A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,J){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][J?ie:ce]];if(X){const A=[];if(1===X.length){const E=O(X[0],x,_);E&&A.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 A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=ve(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=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=te[s.eventName];let g;f&&(g=f[s.capture?ie:ce]);const w=g&&s.target[g];if(w)for(let p=0;pfunction(c,a){c[$e]=!0,o&&o.apply(c,a)})}function Et(e,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=e.ObjectGetOwnPropertyDescriptor(O,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,m,N)):O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],M))}else O[m]&&(O[m]=e.wrapWithCurrentZone(O[m],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function Qe(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function et(e,n,i,o){e&&qe(e,Qe(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=qe,i.patchMethod=ae,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=me,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Se,i.ArraySlice=it,i.patchClass=ge,i.wrapWithCurrentZone=Ie,i.filterProperties=Qe,i.attachOriginToPatched=le,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Be,isNode:Pe,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:De})});const Re=j("zoneTask");function Te(e,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(e,m.args),v}function b(v){return a.call(e,v.data.handleId)}c=ae(e,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[Re]=null))}};const B=Me(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Re]=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(e,M)}),a=ae(e,i,v=>function(m,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Re],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[Re]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";Te(e,n,i,"Timeout"),Te(e,n,i,"Interval"),Te(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,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",(e,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(Pe&&!Be||Zone[e.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 ut(){try{const e=_e.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];et(c,He(c),i&&i.concat(a),ve(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function mt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Oe],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Oe],B=I[Ne]}}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[Oe],B=P[Ne]),Q&&B.call(P,H,Q);const oe=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 re=h.invoke;h.invoke=function(){const ee=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=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=ae(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=ae(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)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return le(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Ke(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ue=>{ue(ue.s=8332)}]); \ No newline at end of file diff --git a/matchbox-server/src/main/resources/static/polyfills.faaea47b1b6ef438.js b/matchbox-server/src/main/resources/static/polyfills.faaea47b1b6ef438.js deleted file mode 100644 index ec030634ccd..00000000000 --- a/matchbox-server/src/main/resources/static/polyfills.faaea47b1b6ef438.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[429],{5321:(pe,Pe,Ce)=>{Ce(3095)},3095:function(pe,Pe,Ce){var de,He,De=this&&this.__assign||function(){return De=Object.assign||function(ue){for(var Ee,ye=1,Fe=arguments.length;ye",this._properties=n&&n.properties||{},this._zoneDelegate=new S(this,this._parent&&this._parent._zoneDelegate,n)}return f.assertZonePatched=function(){if(e.Promise!==ie.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(f,"root",{get:function(){for(var t=f.current;t.parent;)t=t.parent;return t},enumerable:!1,configurable:!0}),Object.defineProperty(f,"current",{get:function(){return X.zone},enumerable:!1,configurable:!0}),Object.defineProperty(f,"currentTask",{get:function(){return ce},enumerable:!1,configurable:!0}),f.__load_patch=function(t,n,o){if(void 0===o&&(o=!1),ie.hasOwnProperty(t)){if(!o&&w)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){var m="Zone:"+t;s(m),ie[t]=n(e,f,se),l(m,m)}},Object.defineProperty(f.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),f.prototype.get=function(t){var n=this.getZoneWith(t);if(n)return n._properties[t]},f.prototype.getZoneWith=function(t){for(var n=this;n;){if(n._properties.hasOwnProperty(t))return n;n=n._parent}return null},f.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},f.prototype.wrap=function(t,n){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var o=this._zoneDelegate.intercept(this,t,n),m=this;return function(){return m.runGuarded(o,this,arguments,n)}},f.prototype.run=function(t,n,o,m){X={parent:X,zone:this};try{return this._zoneDelegate.invoke(this,t,n,o,m)}finally{X=X.parent}},f.prototype.runGuarded=function(t,n,o,m){void 0===n&&(n=null),X={parent:X,zone:this};try{try{return this._zoneDelegate.invoke(this,t,n,o,m)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{X=X.parent}},f.prototype.runTask=function(t,n,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state!==F||t.type!==z&&t.type!==O){var m=t.state!=x;m&&t._transitionTo(x,p),t.runCount++;var u=ce;ce=t,X={parent:X,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,n,o)}catch(h){if(this._zoneDelegate.handleError(this,h))throw h}}finally{t.state!==F&&t.state!==R&&(t.type==z||t.data&&t.data.isPeriodic?m&&t._transitionTo(p,x):(t.runCount=0,this._updateTaskCount(t,-1),m&&t._transitionTo(F,x,F))),X=X.parent,ce=u}}},f.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var n=this;n;){if(n===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));n=n.parent}t._transitionTo(H,F);var o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(m){throw t._transitionTo(R,H,F),this._zoneDelegate.handleError(this,m),m}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==H&&t._transitionTo(p,H),t},f.prototype.scheduleMicroTask=function(t,n,o,m){return this.scheduleTask(new P(A,t,n,o,m,void 0))},f.prototype.scheduleMacroTask=function(t,n,o,m,u){return this.scheduleTask(new P(O,t,n,o,m,u))},f.prototype.scheduleEventTask=function(t,n,o,m,u){return this.scheduleTask(new P(z,t,n,o,m,u))},f.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===p||t.state===x){t._transitionTo(D,p,x);try{this._zoneDelegate.cancelTask(this,t)}catch(n){throw t._transitionTo(R,D),this._zoneDelegate.handleError(this,n),n}return this._updateTaskCount(t,-1),t._transitionTo(F,D),t.runCount=0,t}},f.prototype._updateTaskCount=function(t,n){var o=t._zoneDelegates;-1==n&&(t._zoneDelegates=null);for(var m=0;m0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t})},f}(),P=function(){function f(t,n,o,m,u,h){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=m,this.scheduleFn=u,this.cancelFn=h,!o)throw new Error("callback is not defined");this.callback=o;var v=this;this.invoke=t===z&&m&&m.useG?f.invokeTask:function(){return f.invokeTask.call(e,v,this,arguments)}}return f.invokeTask=function(t,n,o){t||(t=this),ne++;try{return t.runCount++,t.zone.runTask(t,n,o)}finally{1==ne&&ee(),ne--}},Object.defineProperty(f.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),f.prototype.cancelScheduleRequest=function(){this._transitionTo(F,H)},f.prototype._transitionTo=function(t,n,o){if(this._state!==n&&this._state!==o)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(n,"'").concat(o?" or '"+o+"'":"",", was '").concat(this._state,"'."));this._state=t,t==F&&(this._zoneDelegates=null)},f.prototype.toString=function(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)},f.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},f}(),M=d("setTimeout"),B=d("Promise"),G=d("then"),te=[],Y=!1;function L(f){if(V||e[B]&&(V=e[B].resolve(0)),V){var t=V[G];t||(t=V.then),t.call(V,f)}else e[M](f,0)}function T(f){0===ne&&0===te.length&&L(ee),f&&te.push(f)}function ee(){if(!Y){for(Y=!0;te.length;){var f=te;te=[];for(var t=0;t=0;a--)"function"==typeof e[a]&&(e[a]=Ue(e[a],r+"_"+a));return e}function Je(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}var Qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ne=!("nw"in Q)&&typeof Q.process<"u"&&"[object process]"==={}.toString.call(Q.process),Xe=!Ne&&!Qe&&!(!Ie||!ge.HTMLElement),$e=typeof Q.process<"u"&&"[object process]"==={}.toString.call(Q.process)&&!Qe&&!(!Ie||!ge.HTMLElement),Me={},er=function(e){if(e=e||Q.event){var r=Me[e.type];r||(r=Me[e.type]=j("ON_PROPERTY"+e.type));var s,a=this||e.target||Q,i=a[r];return Xe&&a===ge&&"error"===e.type?!0===(s=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null!=(s=i&&i.apply(this,arguments))&&!s&&e.preventDefault(),s}};function rr(e,r,a){var i=ue(e,r);if(!i&&a&&ue(a,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var l=j("on"+r+"patched");if(!e.hasOwnProperty(l)||!e[l]){delete i.writable,delete i.value;var _=i.get,d=i.set,w=r.slice(2),g=Me[w];g||(g=Me[w]=j("ON_PROPERTY"+w)),i.set=function(y){var S=this;!S&&e===Q&&(S=Q),S&&("function"==typeof S[g]&&S.removeEventListener(w,er),d&&d.call(S,null),S[g]=y,"function"==typeof y&&S.addEventListener(w,er,!1))},i.get=function(){var y=this;if(!y&&e===Q&&(y=Q),!y)return null;var S=y[g];if(S)return S;if(_){var P=_.call(this);if(P)return i.set.call(this,P),"function"==typeof y[dr]&&y.removeAttribute(r),P}return null},Ee(e,r,i),e[l]=!0}}}function tr(e,r,a){if(r)for(var i=0;i=0&&"function"==typeof d[w.cbIdx]?We(w.name,d[w.cbIdx],w,s):l.apply(_,d)}})}function ve(e,r){e[j("OriginalDelegate")]=r}var nr=!1,Ye=!1;function pr(){if(nr)return Ye;nr=!0;try{var e=ge.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ye=!0)}catch{}return Ye}Zone.__load_patch("ZoneAwarePromise",function(e,r,a){var i=Object.getOwnPropertyDescriptor,s=Object.defineProperty;var _=a.symbol,d=[],w=!0===e[_("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],g=_("Promise"),y=_("then"),S="__creationTrace__";a.onUnhandledError=function(u){if(a.showUncaughtError()){var h=u&&u.rejection;h?console.error("Unhandled Promise rejection:",h instanceof Error?h.message:h,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",h,h instanceof Error?h.stack:void 0):console.error(u)}},a.microtaskDrainDone=function(){for(var u=function(){var h=d.shift();try{h.zone.runGuarded(function(){throw h.throwOriginal?h.rejection:h})}catch(v){!function M(u){a.onUnhandledError(u);try{var h=r[P];"function"==typeof h&&h.call(this,u)}catch{}}(v)}};d.length;)u()};var P=_("unhandledPromiseRejectionHandler");function B(u){return u&&u.then}function G(u){return u}function te(u){return f.reject(u)}var Y=_("state"),V=_("value"),L=_("finally"),T=_("parentPromiseValue"),ee=_("parentPromiseState"),K="Promise.then",F=null,H=!0,p=!1,x=0;function D(u,h){return function(v){try{z(u,h,v)}catch(c){z(u,!1,c)}}}var R=function(){var u=!1;return function(v){return function(){u||(u=!0,v.apply(null,arguments))}}},A="Promise resolved with itself",O=_("currentTaskTrace");function z(u,h,v){var c=R();if(u===v)throw new TypeError(A);if(u[Y]===F){var E=null;try{("object"==typeof v||"function"==typeof v)&&(E=v&&v.then)}catch(I){return c(function(){z(u,!1,I)})(),u}if(h!==p&&v instanceof f&&v.hasOwnProperty(Y)&&v.hasOwnProperty(V)&&v[Y]!==F)se(v),z(u,v[Y],v[V]);else if(h!==p&&"function"==typeof E)try{E.call(v,c(D(u,h)),c(D(u,!1)))}catch(I){c(function(){z(u,!1,I)})()}else{u[Y]=h;var b=u[V];if(u[V]=v,u[L]===L&&h===H&&(u[Y]=u[ee],u[V]=u[T]),h===p&&v instanceof Error){var k=r.currentTask&&r.currentTask.data&&r.currentTask.data[S];k&&s(v,O,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(var Z=0;Z2}).map(function(r){return r.substring(2)})}function wr(e,r){if((!Ne||$e)&&!Zone[e.symbol("patchEvents")]){var a=r.__Zone_ignore_on_properties,i=[];if(Xe){var s=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);var l=function yr(){try{var e=ge.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:s,ignoreProperties:["error"]}]:[];fr(s,qe(s),a&&a.concat(l),ye(s))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(var _=0;_0){var ce=R.invoke;R.invoke=function(){for(var ne=O[r.__symbol__("loadfalse")],U=0;U{pe(pe.s=5321)}]); \ No newline at end of file diff --git a/matchbox-server/src/main/resources/static/styles.0c3da57f588e0323.css b/matchbox-server/src/main/resources/static/styles.0c3da57f588e0323.css new file mode 100644 index 00000000000..7cc7ba70afb --- /dev/null +++ b/matchbox-server/src/main/resources/static/styles.0c3da57f588e0323.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:#ffffff}.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:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}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}.mat-app-background{background-color:#fafafa;color:#000000de}.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 .mdc-linear-progress__buffer-dots{background-color:#97d6ba40;background-color:var(--mdc-linear-progress-track-color, rgba(151, 214, 186, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(151, 214, 186, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#97d6ba40;background-color:var(--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-accent .mdc-linear-progress__buffer-dots{background-color:#1e91ff40;background-color:var(--mdc-linear-progress-track-color, rgba(30, 145, 255, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(30, 145, 255, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#1e91ff40;background-color:var(--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)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--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-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-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-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-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-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: .12}.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)}.mat-mdc-form-field-infix{min-height:52px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:26px}.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( -32.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:14px;padding-bottom:14px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:22px;padding-bottom:6px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:14px;padding-bottom:14px}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-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}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}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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-disabled-container-color: #97d6ba;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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-disabled-container-color: #1e91ff;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 28px}.mdc-switch{--mdc-switch-disabled-handle-opacity: .38;--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-state-layer-size: 40px;--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-mdc-slide-toggle{--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}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.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}.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}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 44px}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{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #000;--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: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #000;--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: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}html{--mdc-radio-state-layer-size: 36px}html{--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-mdc-slider-ripple-color: #97d6ba;--mat-mdc-slider-hover-ripple-color: rgba(151, 214, 186, .05);--mat-mdc-slider-focus-ripple-color: rgba(151, 214, 186, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--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;--mat-mdc-slider-ripple-color: #1e91ff;--mat-mdc-slider-hover-ripple-color: rgba(30, 145, 255, .05);--mat-mdc-slider-focus-ripple-color: rgba(30, 145, 255, .2)}html .mat-warn{--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;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}html{--mat-menu-container-shape: 4px}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}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}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: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #000;--mdc-radio-disabled-unselected-icon-color: #000;--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: #000;--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: #fff;--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: #fff;--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}.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-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .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( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}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: #000;--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: #000;--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: #000;--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: #fff;--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-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: #000;--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: #fff;--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-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size: 36px}.mat-mdc-button{--mdc-text-button-label-text-color: #000;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: #000;--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}.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{--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: #000;--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: #000;--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}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #97d6ba;--mdc-filled-button-label-text-color: #000;--mat-filled-button-state-layer-color: #000;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #1e91ff;--mdc-filled-button-label-text-color: #fff;--mat-filled-button-state-layer-color: #fff;--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: #fff;--mat-filled-button-state-layer-color: #fff;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button{--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: #000;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-protected-button-state-layer-color: #000;--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;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #97d6ba;--mdc-protected-button-label-text-color: #000;--mat-protected-button-state-layer-color: #000;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #1e91ff;--mdc-protected-button-label-text-color: #fff;--mat-protected-button-state-layer-color: #fff;--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: #fff;--mat-protected-button-state-layer-color: #fff;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button:hover,.mat-mdc-raised-button:focus{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-mdc-outlined-button{--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: #000;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #000;--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-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)}.mat-mdc-button{--mdc-text-button-container-height: 32px}.mat-mdc-raised-button{--mdc-protected-button-container-height: 32px}.mat-mdc-unelevated-button{--mdc-filled-button-container-height: 32px}.mat-mdc-outlined-button{--mdc-outlined-button-container-height: 32px}.mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: #000;--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}.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)}.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)}.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)}.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}html{--mdc-fab-container-color: white;--mat-fab-foreground-color: black;--mat-fab-state-layer-color: #000;--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)}html .mat-mdc-fab.mat-primary,html .mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #97d6ba;--mat-fab-foreground-color: #000;--mat-fab-state-layer-color: #000;--mat-fab-ripple-color: rgba(0, 0, 0, .1)}html .mat-mdc-fab.mat-accent,html .mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #1e91ff;--mat-fab-foreground-color: #fff;--mat-fab-state-layer-color: #fff;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn,html .mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: #fff;--mat-fab-state-layer-color: #fff;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}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}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}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-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-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-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px}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}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-text-font: Roboto, sans-serif;--mat-standard-button-toggle-text-font: Roboto, sans-serif}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}.mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}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{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}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}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}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/matchbox-server/src/main/resources/static/styles.35948ceae2613e92.css b/matchbox-server/src/main/resources/static/styles.35948ceae2613e92.css deleted file mode 100644 index a5ab11b1aea..00000000000 --- a/matchbox-server/src/main/resources/static/styles.35948ceae2613e92.css +++ /dev/null @@ -1,10 +0,0 @@ -pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! - Theme: GitHub - Description: Light theme as seen on github.com - Author: github.com - Maintainer: @Hirse - Updated: 2021-05-15 - - Outdated base version: https://github.com/primer/github-syntax-light - Current colors taken from GitHub's CSS -*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.mat-h1,.mat-headline,.mat-typography .mat-h1,.mat-typography .mat-headline,.mat-typography h1{font-size:24px;font-weight:400;line-height:32px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography .mat-h2,.mat-typography .mat-title,.mat-typography h2{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography .mat-h3,.mat-typography .mat-subheading-2,.mat-typography h3{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography .mat-h4,.mat-typography .mat-subheading-1,.mat-typography h4{font-size:15px;font-weight:400;line-height:24px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2,.mat-typography .mat-body-strong,.mat-typography .mat-body-2{font-size:14px;font-weight:500;line-height:24px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography .mat-body,.mat-typography .mat-body-1,.mat-typography{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography .mat-body p,.mat-typography .mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font-size:12px;font-weight:400;line-height:20px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font-size:112px;font-weight:300;line-height:112px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font-size:56px;font-weight:400;line-height:56px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font-size:45px;font-weight:400;line-height:48px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font-size:34px;font-weight:400;line-height:40px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}html{--mat-bottom-sheet-container-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-standard-button-toggle-text-font: Roboto, "Helvetica Neue", sans-serif}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}html{--mat-expansion-header-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-expansion-header-text-size: 15px;--mat-expansion-header-text-weight: 400;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400}html{--mat-stepper-container-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-stepper-header-label-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 14px;--mat-stepper-header-selected-state-label-text-size: 14px;--mat-stepper-header-selected-state-label-text-weight: 500}html{--mat-toolbar-title-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font-size:14px;font-weight:500;line-height:24px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-datepicker-content .mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, "Helvetica Neue", sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 14px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-dialog-title{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-chip{font-size:14px;font-weight:500}.mat-slide-toggle-content,.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-radio-button{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#97d6ba}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#1e91ff}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#97d6ba}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#1e91ff}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:black}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#97d6ba}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#1e91ff}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-datepicker-content .mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #97d6ba}.mat-datepicker-content .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #1e91ff}.mat-datepicker-content .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-datepicker-content .mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-datepicker-content .mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #97d6ba;--mdc-filled-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #1e91ff;--mdc-filled-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-datepicker-content .mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #97d6ba;--mdc-protected-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #1e91ff;--mdc-protected-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-raised-button[disabled][disabled]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-datepicker-content .mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-datepicker-content .mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #97d6ba}.mat-datepicker-content .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #1e91ff}.mat-datepicker-content .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.mat-datepicker-content .mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-datepicker-content .mat-mdc-button,.mat-datepicker-content .mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-datepicker-content .mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-datepicker-content .mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-button.mat-primary,.mat-datepicker-content .mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #97d6ba;--mat-mdc-button-ripple-color: rgba(151, 214, 186, .1)}.mat-datepicker-content .mat-mdc-button.mat-accent,.mat-datepicker-content .mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #1e91ff;--mat-mdc-button-ripple-color: rgba(30, 145, 255, .1)}.mat-datepicker-content .mat-mdc-button.mat-warn,.mat-datepicker-content .mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-datepicker-content .mat-mdc-raised-button,.mat-datepicker-content .mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-datepicker-content .mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-datepicker-content .mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-raised-button.mat-primary,.mat-datepicker-content .mat-mdc-unelevated-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-datepicker-content .mat-mdc-raised-button.mat-accent,.mat-datepicker-content .mat-mdc-unelevated-button.mat-accent,.mat-datepicker-content .mat-mdc-raised-button.mat-warn,.mat-datepicker-content .mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-datepicker-content .mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-datepicker-content .mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-datepicker-content .mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #97d6ba;--mat-mdc-button-persistent-ripple-color: #97d6ba;--mat-mdc-button-ripple-color: rgba(151, 214, 186, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #1e91ff;--mat-mdc-button-persistent-ripple-color: #1e91ff;--mat-mdc-button-ripple-color: rgba(30, 145, 255, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-datepicker-content .mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-datepicker-content .mat-mdc-button.mat-mdc-button-base,.mat-datepicker-content .mat-mdc-raised-button.mat-mdc-button-base,.mat-datepicker-content .mat-mdc-unelevated-button.mat-mdc-button-base,.mat-datepicker-content .mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mat-datepicker-content .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,sans-serif;font-size:14px;font-weight:500}.mat-datepicker-content .mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#97d6ba}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#1e91ff}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-option{font-family:Roboto,sans-serif;font-size:16px}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-optgroup-label{font-size:16px;font-weight:400;line-height:24px;font-family:Roboto,sans-serif;letter-spacing:.03125em}.mat-ripple-element{background-color:#0000001a}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#97d6ba}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#97d6ba}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#1e91ff}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#1e91ff}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#1e91ff}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#1e91ff}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-card{background:white;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-card{font-family:Roboto,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-progress-bar-background{fill:#e1f1ea}.mat-progress-bar-buffer{background-color:#e1f1ea}.mat-progress-bar-fill:after{background-color:#97d6ba}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#c3e0fb}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#c3e0fb}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#1e91ff}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#97d6ba}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#1e91ff}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tooltip{font-family:Roboto,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#97d6ba}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#1e91ff}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-form-field-disabled .mat-form-field-prefix,.mat-form-field-disabled .mat-form-field-suffix{color:#00000061}input.mat-input-element{margin-top:-.0625em}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#97d6ba}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#1e91ff}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#1e91ff}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#97d6ba}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#1e91ff}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#97d6ba}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#1e91ff}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#97d6ba}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#1e91ff}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);width:133.3334133333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:white}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#97d6ba}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#1e91ff}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-select{font-family:Roboto,sans-serif}.mat-select-trigger{height:1.125em}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#97d6ba}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#1e91ff}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#97d6ba}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#1e91ff}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-checkbox{font-family:Roboto,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-autocomplete-panel{background:white;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.mat-dialog-title{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:.0125em}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:black}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#97d6ba;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#1e91ff;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-chip{font-size:16px;font-weight:400}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#1e91ff}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#1e91ff8a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#1e91ff}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#97d6ba}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#97d6ba8a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#97d6ba}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slide-toggle-content{font-family:Roboto,sans-serif}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#97d6ba}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#97d6ba}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#1e91ff}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#1e91ff}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-radio-button{font-family:Roboto,sans-serif}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#97d6ba}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#97d6ba33}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#1e91ff}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#1e91ff33}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-thumb-label-text{font-family:Roboto,sans-serif;font-size:12px;font-weight:400}.mat-menu-panel{background:white}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:transparent;color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-menu-item{font-family:Roboto,sans-serif;font-size:14px;font-weight:400}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-list-item,.mat-list-option{font-family:Roboto,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,sans-serif;font-size:16px;font-weight:400}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,sans-serif;font-size:12px;font-weight:400}.mat-paginator{background:white}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,sans-serif;font-size:12px}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused{background-color:#e8ebee4d}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#97d6ba}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused{background-color:#c5ced54d}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#1e91ff}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused{background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused{background-color:#e8ebee4d}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#97d6ba}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused{background-color:#c5ced54d}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#1e91ff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused{background-color:#ffcdd24d}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group{font-family:Roboto,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,sans-serif;font-size:14px;font-weight:500}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#1e91ff}.mat-simple-snackbar{font-family:Roboto,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-table{background:white}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-table{font-family:Roboto,sans-serif}.mat-header-cell{font-size:12px;font-weight:400}.mat-cell,.mat-footer-cell{font-size:14px}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#97d6ba}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#1e91ff;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-text-font: Roboto, sans-serif;--mat-standard-button-toggle-text-font: Roboto, sans-serif}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(151,214,186,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(151,214,186,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(151,214,186,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#97d6ba;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#97d6ba66}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#97d6ba4d}@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:#97d6ba4d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(30,145,255,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(30,145,255,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(30,145,255,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#1e91ff;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#1e91ff66}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#1e91ff4d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#1e91ff4d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#97d6ba}.mat-datepicker-toggle-active.mat-accent{color:#1e91ff}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}.mat-calendar{font-family:Roboto,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}.mat-icon.mat-primary{color:#97d6ba}.mat-icon.mat-accent{color:#1e91ff}.mat-icon.mat-warn{color:#f44336}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #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: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow{color:#757575}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #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: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}body{background:#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} diff --git a/pom.xml b/pom.xml index 29b6fd7e8df..f858675ba02 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ health.matchbox matchbox - 3.5.2 + 3.5.3 pom matchbox An open-source implementation to support testing and implementation of FHIR based solutions and map or