@sdkgen/playground 0.0.0-dev.20220324131530 → 0.0.0-dev.20220413135744
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{4602:function(G,r){"use strict";var p,a=this&&this.__extends||(p=function(m,u){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,v){_.__proto__=v}||function(_,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(_[b]=v[b])})(m,u)},function(m,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function _(){this.constructor=m}p(m,u),m.prototype=null===u?Object.create(u):(_.prototype=u.prototype,new _)}),n=this&&this.__spreadArray||function(p,m,u){if(u||2===arguments.length)for(var b,_=0,v=m.length;_<v;_++)(b||!(_ in m))&&(b||(b=Array.prototype.slice.call(m,0,_)),b[_]=m[_]);return p.concat(b||Array.prototype.slice.call(m))};Object.defineProperty(r,"__esModule",{value:!0}),r.decode=r.encode=void 0;var h=["string","email","phone","html","xml"],y=n(["json","bool","url","int","uint","float","money","hex","uuid","base64","void"],h,!0),d=function(p){function m(u,_,v){var b;try{b=JSON.stringify(v)}catch(T){b=String(v)}return p.call(this,"Invalid type at '".concat(u,"', expected ").concat(_,", got ").concat(b))||this}return a(m,p),m}(Error);function o(p,m,u){if("json"===m)return null==u?null:JSON.parse(JSON.stringify(u));if("bool"===m){if("boolean"!=typeof u)throw new d(p,m,u);return u}if(h.indexOf(m)>=0){if("string"!=typeof u)throw new d(p,m,u);return u}if("hex"===m){if("string"!=typeof u||!/^(?:[A-Fa-f0-9]{2})*$/u.test(u))throw new d(p,m,u);return u.toLowerCase()}if("uuid"===m){if("string"!=typeof u||!/^[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$/u.test(u))throw new d(p,m,u);return u.toLowerCase()}if("base64"===m){var _=!0;try{atob(u)}catch(b){_=!1}if("string"!=typeof u||!_)throw new d(p,m,u);return u}if("int"===m){if("number"!=typeof u||(0|u)!==u)throw new d(p,m,u);return u}if("uint"===m){if("number"!=typeof u||(0|u)!==u||u<0)throw new d(p,m,u);return u}if("float"===m){if("number"!=typeof u)throw new d(p,m,u);return u}if("money"===m){if("number"!=typeof u||!Number.isInteger(u))throw new d(p,m,u);return u}if("url"===m){var v=void 0;if("string"==typeof u)try{v=new URL(u)}catch(b){}if(!v)throw new d(p,m,u);return v.toString()}if("void"===m)return null;throw new Error("Unknown type '".concat(m,"' at '").concat(p,"'"))}r.encode=function c(p,m,u,_){if("string"==typeof u&&!u.endsWith("?")&&"void"!==u&&null==_)throw new Error("Invalid type at '".concat(m,"', cannot be null"));if(Array.isArray(u)){for(var v=0,b=u;v<b.length;v++){var T=b[v];if(T===_)return _;if(Array.isArray(_)&&2===_.length&&T===_[0])return _[0];if(Array.isArray(T)&&2===T.length){if(T[0]===_)return[_,c(p,"".concat(m,".").concat(T[0]),T[1],{})];if(Array.isArray(_)&&2===_.length&&T[0]===_[0])return[_[0],c(p,"".concat(m,".").concat(T[0]),T[1],_[1])]}}throw new d(m,u,_)}if("object"==typeof u){if("object"!=typeof _)throw new d(m,u,_);for(var S={},P=0,I=Object.keys(u);P<I.length;P++){var V=I[P];S[V]=c(p,"".concat(m,".").concat(V),u[V],_[V])}return S}if(u.endsWith("?"))return null==_?null:c(p,m,u.slice(0,u.length-1),_);if(u.endsWith("[]")){if(!Array.isArray(_))throw new d(m,u,_);return _.map(function(Y,X){return c(p,"".concat(m,"[").concat(X,"]"),u.slice(0,u.length-2),Y)})}if(y.indexOf(u)>=0)return o(m,u,_);if("bytes"===u){if(!(_ instanceof ArrayBuffer))throw new d(m,u,_);return btoa(String.fromCharCode.apply(String,new Uint8Array(_)))}if("bigint"===u){if("bigint"!=typeof _)throw new d(m,u,_);return _.toString()}if("cpf"===u){if("string"!=typeof _)throw new d(m,u,_);return _}if("cnpj"===u){if("string"!=typeof _)throw new d(m,u,_);return _}if("date"===u){if((!(_ instanceof Date)||isNaN(_.getTime()))&&("string"!=typeof _||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(_)))throw new d(m,u,_);return"string"==typeof _?new Date(_).toISOString().split("T")[0]:_.toISOString().split("T")[0]}if("datetime"===u){if((!(_ instanceof Date)||isNaN(_.getTime()))&&("string"!=typeof _||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?(?:Z|[+-][012][0-9]:[0123456][0-9])?$/u.test(_)))throw new d(m,u,_);return("string"==typeof _?new Date(_):_).toISOString().replace("Z","")}var J=p[u];if(J)return c(p,m,J,_);throw new Error("Unknown type '".concat(u,"' at '").concat(m,"'"))},r.decode=function f(p,m,u,_){if("string"==typeof u&&!u.endsWith("?")&&"void"!==u&&null==_)throw new Error("Invalid type at '".concat(m,"', cannot be null"));if(Array.isArray(u)){for(var v=0,b=u;v<b.length;v++){var T=b[v];if(T===_)return _;if(Array.isArray(_)&&2===_.length&&T===_[0])return _[0];if(Array.isArray(T)&&2===T.length){if(T[0]===_)return[_,f(p,"".concat(m,".").concat(T[0]),T[1],{})];if(Array.isArray(_)&&2===_.length&&T[0]===_[0])return[_[0],f(p,"".concat(m,".").concat(T[0]),T[1],_[1])]}}throw new d(m,u,_)}if("object"==typeof u){if("object"!=typeof _)throw new d(m,u,_);for(var S={},P=0,I=Object.keys(u);P<I.length;P++){var V=I[P];S[V]=f(p,"".concat(m,".").concat(V),u[V],_[V])}return S}if(u.endsWith("?"))return null==_?null:f(p,m,u.slice(0,u.length-1),_);if(u.endsWith("[]")){if(!Array.isArray(_))throw new d(m,u,_);return _.map(function(le,me){return f(p,"".concat(m,"[").concat(me,"]"),u.slice(0,u.length-2),le)})}if(y.indexOf(u)>=0)return o(m,u,_);if("bytes"!==u){if("bigint"===u){if("number"!=typeof _&&("string"!=typeof _||!/^-?[0-9]+$/u.test(_)))throw new d(m,u,_);return BigInt(_)}if("cpf"===u){if("string"!=typeof _)throw new d(m,u,_);return _}if("cnpj"===u){if("string"!=typeof _)throw new d(m,u,_);return _}if("date"===u){if("string"!=typeof _||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(_))throw new d(m,u,_);var J=parseInt(_.split("-")[2],10),Y=parseInt(_.split("-")[1],10)-1,X=parseInt(_.split("-")[0],10),H=new Date(X,Y,J);if(H.getFullYear()!==X||H.getMonth()!==Y||H.getDate()!==J)throw new d(m,u,_);return H}if("datetime"===u){if("string"!=typeof _||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?Z?$/u.test(_))throw new d(m,u,_);return new Date("".concat(_.endsWith("Z")?_:_.concat("Z")))}var oe=p[u];if(oe)return f(p,m,oe,_);throw new Error("Unknown type '".concat(u,"' at '").concat(m,"'"))}if("string"!=typeof _)throw new d(m,"".concat(u," (base 64)"),_);try{return Uint8Array.from(atob(_),function(le){return le.charCodeAt(0)})}catch(le){throw new d(m,"".concat(u," (base 64)"),_)}}},2837:function(G,r){"use strict";var y,a=this&&this.__extends||(y=function(d,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(c[p]=f[p])})(d,o)},function(d,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function c(){this.constructor=d}y(d,o),d.prototype=null===o?Object.create(o):(c.prototype=o.prototype,new c)});Object.defineProperty(r,"__esModule",{value:!0}),r.SdkgenErrorWithData=r.SdkgenError=void 0;var n=function(y){function d(){return null!==y&&y.apply(this,arguments)||this}return a(d,y),Object.defineProperty(d.prototype,"type",{get:function(){return this.constructor.name},enumerable:!1,configurable:!0}),d.prototype.toJSON=function(){return{message:this.message,type:this.type}},d}(Error);r.SdkgenError=n;var h=function(y){function d(o,c){var f=y.call(this,o)||this;return f.data=c,f}return a(d,y),d.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},d}(n);r.SdkgenErrorWithData=h},2062:function(G,r,a){"use strict";var n=this&&this.__awaiter||function(m,u,_,v){return new(_||(_=Promise))(function(T,S){function P(J){try{V(v.next(J))}catch(Y){S(Y)}}function I(J){try{V(v.throw(J))}catch(Y){S(Y)}}function V(J){J.done?T(J.value):function b(T){return T instanceof _?T:new _(function(S){S(T)})}(J.value).then(P,I)}V((v=v.apply(m,u||[])).next())})},h=this&&this.__generator||function(m,u){var v,b,T,S,_={label:0,sent:function(){if(1&T[0])throw T[1];return T[1]},trys:[],ops:[]};return S={next:P(0),throw:P(1),return:P(2)},"function"==typeof Symbol&&(S[Symbol.iterator]=function(){return this}),S;function P(V){return function(J){return function I(V){if(v)throw new TypeError("Generator is already executing.");for(;_;)try{if(v=1,b&&(T=2&V[0]?b.return:V[0]?b.throw||((T=b.return)&&T.call(b),0):b.next)&&!(T=T.call(b,V[1])).done)return T;switch(b=0,T&&(V=[2&V[0],T.value]),V[0]){case 0:case 1:T=V;break;case 4:return _.label++,{value:V[1],done:!1};case 5:_.label++,b=V[1],V=[0];continue;case 7:V=_.ops.pop(),_.trys.pop();continue;default:if(!(T=(T=_.trys).length>0&&T[T.length-1])&&(6===V[0]||2===V[0])){_=0;continue}if(3===V[0]&&(!T||V[1]>T[0]&&V[1]<T[3])){_.label=V[1];break}if(6===V[0]&&_.label<T[1]){_.label=T[1],T=V;break}if(T&&_.label<T[2]){_.label=T[2],_.ops.push(V);break}T[2]&&_.ops.pop(),_.trys.pop();continue}V=u.call(m,_)}catch(J){V=[6,J],b=0}finally{v=T=0}if(5&V[0])throw V[1];return{value:V[0]?V[1]:void 0,done:!0}}([V,J])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.SdkgenHttpClient=void 0;var y=a(4602);function d(m){for(var u="",_=0;_<2*m;++_)u+="0123456789abcdef"[Math.floor(16*Math.random())];return u}var o=d(20);function c(){try{var m=localStorage.getItem("deviceId");return m||(m=o,localStorage.setItem("deviceId",m)),m}catch(u){}return o}function f(m,u){return u in m}var p=function(){function m(u,_,v){this.astJson=_,this.errClasses=v,this.extra=new Map,this.successHook=function(){},this.errorHook=function(){},this.baseUrl=u}return m.prototype.makeRequest=function(u,_){var v,b;return n(this,void 0,void 0,function(){var T,S,P,I,V,J=this;return h(this,function(Y){switch(Y.label){case 0:if(!(T=this.astJson.functionTable[u]))throw new Error("Unknown function ".concat(u));return S={},this.extra.forEach(function(X,H){S[H]=X}),P={args:(0,y.encode)(this.astJson.typeTable,"".concat(u,".args"),T.args,_),deviceInfo:{id:c(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:null!==(b=null===(v=document.currentScript)||void 0===v?void 0:v.getAttribute("src"))&&void 0!==b?b:""},extra:S,name:u,requestId:d(16),version:3},[4,new Promise(function(X,H){var oe=new XMLHttpRequest;oe.open("POST","".concat(J.baseUrl,"/").concat(u)),oe.setRequestHeader("Content-Type","application/sdkgen"),oe.onreadystatechange=function(){if(4===oe.readyState)try{var le=JSON.parse(oe.responseText);try{f(le,"error")&&le.error?(H(le.error),J.errorHook(le.error,u,_)):X(f(le,"result")?le.result:null)}catch(De){var me={message:"".concat(De),type:"Fatal"};H(me),J.errorHook(me,u,_)}}catch(De){H(me={message:"Falha de conex\xe3o com o servidor",type:"Fatal"}),J.errorHook(me,u,_)}},oe.send(JSON.stringify(P))}).catch(function(X){if(J.errorHook(X,u,_),f(X,"type")&&f(X,"message")&&"string"==typeof X.type&&"string"==typeof X.message){var H=J.errClasses[X.type];if(H){var oe=J.astJson.errors.find(function(le){return Array.isArray(le)?le[0]===X.type:le===X.type});if(oe)throw Array.isArray(oe)&&f(X,"data")?new H(X.message,(0,y.decode)(J.astJson.typeTable,"".concat(H.name,".data"),oe[1],X.data)):new H(X.message,void 0)}throw new J.errClasses.Fatal("".concat(X.type,": ").concat(X.message))}throw X})];case 1:return I=Y.sent(),V=(0,y.decode)(this.astJson.typeTable,"".concat(u,".ret"),T.ret,I),this.successHook(V,u,_),[2,V]}})})},m}();r.SdkgenHttpClient=p},4539:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(2837),r),h(a(2062),r)},3905:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateCSharpServerSource=void 0;const n=a(6676),h=a(4510);r.generateCSharpServerSource=function y(d){let o="using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Numerics;\nusing System.Text.Json;\nusing System.Threading.Tasks;\nusing static Sdkgen.Runtime;\nusing static Sdkgen.Context;\nusing static Sdkgen.Helpers;\n\nnamespace SdkgenGenerated\n{\n public abstract class Api : BaseApi\n {";for(const c of d.operations){const f=c.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(c.returnType)}>`;o+=`\n public virtual Task${f} ${(0,h.capitalize)(c.name)}(${["Context ctx",...c.args.map(p=>`${(0,h.generateTypeName)(p.type)} ${(0,h.ident)(p.name)}`)].join(", ")})\n {\n return Task.FromException${f}(new FatalException("Function '${c.name}' not implemented."));\n }\n`}o+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const c of d.operations){o+=`\n case ${JSON.stringify(c.name)}:\n {`;for(const f of c.args)o+=`\n JsonElement ${f.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(f.name)}, out ${f.name}Json_))\n {\n ${f.type instanceof n.OptionalType?`${f.name}Json_ = new JsonElement();`:`throw new FatalException("'${c.name}().args.${f.name}' must be set to a value of type ${f.type.name}.");`}\n }\n ${(0,h.generateTypeName)(f.type)} ${(0,h.ident)(f.name)};\n ${(0,h.decodeType)(f.type,`${f.name}Json_`,`"${c.name}().args.${f.name}"`,(0,h.ident)(f.name)).replace(/\n/gu,"\n ")}`;o+=c.returnType instanceof n.VoidPrimitiveType?`\n await ${(0,h.capitalize)(c.name)}(${["context_",...c.args.map(f=>(0,h.ident)(f.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,h.capitalize)(c.name)}(${["context_",...c.args.map(f=>(0,h.ident)(f.name))].join(", ")});\n ${(0,h.encodeType)(c.returnType,"result_",`"${c.name}().ret"`).replace(/\n/gu,"\n ")}`,o+="\n return;\n }"}o+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const c of d.structTypes)o+=(0,h.generateStruct)(c);for(const c of d.enumTypes)o+=(0,h.generateEnum)(c);o+=`\n public string GetAstJson() => @"${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const c of d.errors)o+=`\n public class ${c.name}Exception : SdkgenException\n {\n public ${c.name}Exception(string message, Exception? inner = null) : base("${c.name}", message, inner) { }\n }\n`;return o+="\n}\n",o}},4510:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateEnum=r.generateStruct=r.encodeType=r.decodeType=r.generateTypeName=r.capitalize=r.ident=void 0;const n=a(6676),h=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while"],y=[n.StringPrimitiveType,n.HtmlPrimitiveType,n.CpfPrimitiveType,n.CnpjPrimitiveType,n.BytesPrimitiveType,n.EmailPrimitiveType,n.UrlPrimitiveType,n.UuidPrimitiveType,n.HexPrimitiveType,n.Base64PrimitiveType,n.XmlPrimitiveType,n.StructType,n.ArrayType],d=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.UIntPrimitiveType];function o(v){return h.includes(v)?`@${v}`:v}function c(v){return v[0].toUpperCase()+v.slice(1)}function f(v){switch(v.constructor){case n.StringPrimitiveType:return"string";case n.IntPrimitiveType:return"int";case n.UIntPrimitiveType:return"uint";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"BigInteger";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"byte[]";case n.MoneyPrimitiveType:return"decimal";case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"string";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"JsonElement";case n.OptionalType:return`${f(v.base)}?`;case n.ArrayType:return`List<${f(v.base)}>`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return f(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}function p(v,b,T,S,P=1,I=!0){switch(v.constructor){case n.IntPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.Number || !${b}.TryGetInt32(out ${S}))\n {\n throw new FatalException($"'{${T}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.Number || !${b}.TryGetUInt32(out ${S}))\n {\n throw new FatalException($"'{${T}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.MoneyPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.Number || !${b}.TryGetDecimal(out ${S}) || ${S} % 1 != 0)\n {\n throw new FatalException($"'{${T}}' must be an integer amount of cents.");\n }\n ${S} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.Number || !${b}.TryGetDouble(out ${S}))\n {\n throw new FatalException($"'{${T}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${b}.GetString(), out ${S}))\n {\n throw new FatalException($"'{${T}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid HTML string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid CPF string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid CNPJ string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid email.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid URL string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid UUID.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a valid hex string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a base64 string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a XML string.");\n }\n ${S} = ${b}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.True && ${b}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${T}}' must be either true or false.");\n }\n ${S} = ${b}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${T}}' must be a string.");\n }\n try\n {\n ${S} = Convert.FromBase64String(${b}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${T}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(v.type,b,T,S,P);case n.OptionalType:if(d.includes(v.base.constructor)){const V=`${S.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${b}.ValueKind == JsonValueKind.Null || ${b}.ValueKind == JsonValueKind.Undefined)\n {\n ${S} = null;\n }\n else\n {\n ${f(v.base)} ${V};\n ${p(v.base,b,T,V,P,!1).replace(/\n/gu,"\n ")}\n ${S} = ${V};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${b}.ValueKind == JsonValueKind.Null || ${b}.ValueKind == JsonValueKind.Undefined)\n {\n ${S} = null;\n }\n else\n {\n ${p(v.base,b,T,S,P,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case n.EnumType:case n.StructType:return`${S} = Decode${v.name}(${b}, ${T});`;case n.JsonPrimitiveType:return I?`\n if (${b}.ValueKind == JsonValueKind.Null || ${b}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${T}}' can't be null.");\n }\n ${S} = ${b};\n `.replace(/\n {16}/gu,"\n").trim():`${S} = ${b};`;case n.DateTimePrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${b}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${S}) || DateTime.TryParseExact(${b}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${S})))\n {\n throw new FatalException($"'{${T}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n if (${b}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${b}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${S})))\n {\n throw new FatalException($"'{${T}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n if (${b}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${T}}' must be a date.");\n }\n ${S} = new ${f(v)}();\n for (var i${P} = 0; i${P} < ${b}.GetArrayLength(); ++i${P})\n {\n ${f(v.base)} element${P};\n ${p(v.base,`${b}[i${P}]`,`$"{${T}}[{i${P}}]"`,`element${P}`,P+1).replace(/\n/gu,"\n ")}\n ${S}.Add(element${P});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${v.constructor.name}`)}}function m(v,b,T,S=1){switch(v.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${b});`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${b});`;case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(Math.Round(${b} * 100));`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString());`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${b});`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${b}));`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString("yyyy-MM-dd"));`;case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.Base64PrimitiveType:case n.HexPrimitiveType:case n.XmlPrimitiveType:return`resultWriter_.WriteStringValue(${b});`;case n.OptionalType:{let P=v.base;for(;P instanceof n.TypeReference;)P=P.type;return`\n if (${b} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${m(P,y.includes(P.constructor)?b:`${b}.Value`,T,S).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case n.TypeReference:return m(v.type,b,T,S);case n.EnumType:case n.StructType:return`Encode${v.name}(${b}, resultWriter_, ${T});`;case n.JsonPrimitiveType:return`${b}.WriteTo(resultWriter_);`;case n.ArrayType:return`\n resultWriter_.WriteStartArray();\n for (var i${S} = 0; i${S} < ${b}.Count; ++i${S})\n {\n ${m(v.base,`${b}[i${S}]`,`$"{${T}}[{i${S}}]"`,S+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${v.constructor.name}`)}}r.ident=o,r.capitalize=c,r.generateTypeName=f,r.decodeType=p,r.encodeType=m,r.generateStruct=function u(v){return`\n public class ${v.name}\n {${v.fields.map(b=>`\n public ${f(b.type)} ${c(b.name)};`).join("")}\n public ${v.name}(${v.fields.map(b=>`${f(b.type)} ${o(b.name)}`).join(", ")})\n {${v.fields.map(b=>`\n ${c(b.name)} = ${o(b.name)};`).join("")}\n }\n }\n\n ${v.name} Decode${v.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${v.fields.map(b=>` JsonElement ${b.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(b.name)}, out ${b.name}Json_))\n {\n ${b.type instanceof n.OptionalType?`${b.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${b.name}' must be set to a value of type ${b.type.name}.");`}\n }\n ${f(b.type)} ${o(b.name)};\n ${p(b.type,`${b.name}Json_`,`$"{path_}.${b.name}"`,o(b.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${v.name}(${v.fields.map(b=>o(b.name)).join(", ")});\n }\n\n void Encode${v.name}(${v.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${v.fields.map(b=>`resultWriter_.WritePropertyName(${JSON.stringify(b.name)});\n ${m(b.type,`obj_.${c(b.name)}`,`$"{path_}.${b.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},r.generateEnum=function _(v){return`\n public enum ${v.name}\n {${v.values.map(({value:b})=>`\n ${c(b)}`).join(",\n ")}\n }\n\n ${v.name} Decode${v.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{path_}' must be a string.");\n }\n var value = json_.GetString();${v.values.map(({value:b})=>`\n if (value == "${b}")\n {\n return ${v.name}.${c(b)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${v.values.map(({value:b})=>`'${b}'`).join(", ")}).");\n }\n\n void Encode${v.name}(${v.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${v.values.map(({value:b})=>`\n if (obj_ == ${v.name}.${c(b)})\n {\n resultWriter_.WriteStringValue("${b}");\n }`).join("")}\n }\n`}},7179:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(3905),r)},1911:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateDartClientSource=void 0;const n=a(6676),h=a(5235);r.generateDartClientSource=function y(d){let o="";o+="import 'dart:typed_data';\nimport 'dart:ui';\n\nimport 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n\n";for(const c of d.enumTypes)o+=(0,h.generateEnum)(c),o+="\n";for(const c of d.structTypes)o+=(0,h.generateClass)(c),o+="\n";for(const c of d.errors)o+=(0,h.generateErrorClass)(c),o+="\n";o+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl) : super(baseUrl, _typeTable, _fnTable, _errTable);\n${d.operations.filter(c=>c.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(c=>`\n ${c.returnType instanceof n.VoidPrimitiveType?"Future<void> ":`Future<${(0,h.generateTypeName)(c.returnType)}> `}${c.name}(${0===c.args.length?"":`{${c.args.map(f=>`${f.type instanceof n.OptionalType?"":"required "}${(0,h.generateTypeName)(f.type)} ${(0,h.mangle)(f.name)}`).join(", ")}}`}) async { ${c.returnType instanceof n.VoidPrimitiveType?"":"return "}${(0,h.cast)(`await makeRequest('${c.name}', {${c.args.map(f=>`'${f.name}': ${(0,h.mangle)(f.name)}`).join(", ")}})`,c.returnType)}; }`).join("")}\n}\n\n`,o+="var _typeTable = {\n";for(const c of d.structTypes){o+=` '${c.name}': StructTypeDescription(\n`,o+=` ${c.name},\n`,o+=" {\n";for(const f of c.fields)o+=` '${f.name}': '${f.type.name}',\n`;o+=" },\n",o+=` (Map fields) => ${c.name}(\n`;for(const f of c.fields)o+=` ${(0,h.mangle)(f.name)}: ${(0,h.cast)(`fields['${f.name}']`,f.type)},\n`;o+=" ),\n",o+=` (${c.name} obj) => ({\n`;for(const f of c.fields)o+=` '${f.name}': obj.${(0,h.mangle)(f.name)},\n`;o+=" }),\n",o+=" ),\n"}for(const c of d.enumTypes)o+=` '${c.name}': EnumTypeDescription(${c.name}, ${c.name}.values, [\n ${c.values.map(f=>`'${f.value}'`).join(",\n ")}\n ]),\n`;o+="};\n\n",o+="var _fnTable = {\n";for(const c of d.operations){o+=` '${c.name}': FunctionDescription('${c.returnType.name}', {\n`;for(const f of c.args)o+=` '${f.name}': '${f.type.name}',\n`;o+=" }),\n"}o+="};\n\n",o+="var _errTable = {\n";for(const c of d.errors)o+=` '${c.name}': SdkgenErrorDescription('${c.dataType.name}', (msg, data) => ${c.name}(msg${c.dataType instanceof n.VoidPrimitiveType?"":", data"})),\n`;return o+="};\n",o}},5235:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateClass=r.cast=r.generateErrorClass=r.generateTypeName=r.generateEnum=r.mangle=void 0;const n=a(6676);function h(v){return["abstract","as","assert","async","await","bool","break","case","catch","class","const","continue","covariant","default","deferred","do","double","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","int","interface","is","library","mixin","new","null","on","operator","part","rethrow","return","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","while","with","yield"].includes(v)?`$${v}`:v}function d(v){switch(v.constructor){case n.StringPrimitiveType:return"String";case n.IntPrimitiveType:case n.UIntPrimitiveType:return"int";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"BigInt";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"Uint8List";case n.MoneyPrimitiveType:return"int";case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"String";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"dynamic";case n.OptionalType:return`${d(v.base)}?`;case n.ArrayType:return`List<${d(v.base)}>`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return d(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}r.mangle=h,r.generateEnum=function y(v){return`enum ${v.name} {\n ${v.values.map(b=>b.value).join(",\n ")}\n}\n`},r.generateTypeName=d,r.generateErrorClass=function o(v){if(v.dataType instanceof n.VoidPrimitiveType)return`class ${v.name} extends SdkgenError {\n ${v.name}(String msg) : super(msg);\n}\n`;const b=d(v.dataType);return`class ${v.name} extends SdkgenErrorWithData<${b}> {\n ${v.name}(String msg, ${b} data) : super(msg, data);\n}\n`},r.cast=function c(v,b){return b instanceof n.OptionalType?`${v} == null ? null : ${c(v,b.base)}`:b instanceof n.ArrayType?`(${v} as List).map((e) => ${c("e",b.base)}).toList()`:b instanceof n.VoidPrimitiveType?v:b instanceof n.FloatPrimitiveType?`(${v} as num).toDouble()`:b instanceof n.MoneyPrimitiveType?`${v} as int`:`${v} as ${d(b)}`},r.generateClass=function _(v){return`class ${v.name} {\n ${v.fields.map(b=>`final ${d(b.type)} ${h(b.name)};`).join("\n ")}\n\n${function f(v){let b=` ${v.name}({\n`;for(const T of v.fields)b+=T.type instanceof n.OptionalType?" ":" required ",b+=`this.${h(T.name)},\n`;return b+=" });\n",b}(v)}\n${function p(v){let b=" bool operator ==(other){\n";return b+=" if (identical(this, other)) return true;\n",b+=` return ${[`other is ${v.name}`,...v.fields.map(T=>`${h(T.name)} == other.${h(T.name)}`)].join(" && ")};\n`,b+=" }\n",b}(v)}\n${function m(v){return` @override\n int get hashCode => hashList([${v.fields.map(b=>h(b.name)).join(", ")}]);\n`}(v)}\n${function u(v){return` String toString() {\n return '${v.name} { ${v.fields.map(b=>`${b.name}: $${h(b.name).startsWith("$")?`{${h(b.name)}}`:h(b.name)}`).join(", ")} }';\n }\n`}(v)}}\n`}},1823:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(1911),r)},196:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateFSharpServerSource=void 0;const n=a(6676),h=a(8735);r.generateFSharpServerSource=function y(d){let o="module rec SdkgenGenerated\nopen Sdkgen.Runtime\nopen Sdkgen.Helpers\nopen Sdkgen.Context\nopen System.Threading.Tasks\nopen System.Text.Json\nopen System\nopen System.Globalization\n#if NET5_0\n// To use tasks as computation expression in .NET 5 install https://www.nuget.org/packages/TaskBuilder.fs/\nopen FSharp.Control.Tasks.V2.ContextInsensitive\n#endif\n";for(const c of d.errors)o+=`\ntype ${c.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${c.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${c.name}", message, inner)\n }\n`;for(const c of d.enumTypes)o+=`\n${(0,h.generateEnum)(c)}\n`;for(const c of d.structTypes)o+=`\n${(0,h.generateStruct)(c)}\n`;o+="\ntype Api() =";for(const c of d.operations){const f=c.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(c.returnType)}>`,p=c.args.length>0?`{| ${c.args.map(m=>`${m.name}: ${(0,h.generateTypeName)(m.type)};`).join("")} |} ->`:"";o+=`\n member val ${(0,h.capitalize)(c.name)}: Context -> ${p} Task${f} =\n fun _ -> (raise (FatalException("Function '${c.name}' not implemented.")))\n with get, set\n `}o+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const c of d.operations){o+=`\n | ${JSON.stringify(c.name)} ->`;for(const f of c.args)o+=`\n let ${f.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(f.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${c.name}().args.${f.name}' must be set to a value of type ${f.type.name}."))\n\n let ${(0,h.ident)(f.name)} =\n ${(0,h.decodeType)(f.type,`${f.name}Json_`,`"${c.name}().args.${f.name}"`,(0,h.ident)(f.name)).replace(/\n/gu,"\n ")}`;o+=c.returnType instanceof n.VoidPrimitiveType?`\n\n do! (__.${(0,h.capitalize)(c.name)} context_ ${c.args.length>0?"{|":""} ${c.args.map(f=>`${f.name} = ${(0,h.ident)(f.name)}`).join("; ")} ${c.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,h.capitalize)(c.name)} context_ ${c.args.length>0?"{|":""} ${c.args.map(f=>`${f.name} = ${(0,h.ident)(f.name)}`).join("; ")} ${c.args.length>0?"|}":""})\n ${(0,h.encodeType)(c.returnType,"result_",`"${c.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return o+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",o+=`\n member __.GetAstJson() = """${JSON.stringify((0,n.astToJson)(d),null,4).replace(/\n/gu,"\n ")}""";`,o}},8735:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateEnum=r.generateStruct=r.encodeType=r.decodeType=r.generateTypeName=r.capitalize=r.ident=void 0;const n=a(6676),h=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while","type","end","id"],d=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.UIntPrimitiveType,n.ArrayType];function o(v){return h.includes(v)?`${v}'`:v}function c(v){return v[0].toUpperCase()+v.slice(1)}function f(v){switch(v.constructor){case n.StringPrimitiveType:return"string";case n.IntPrimitiveType:return"int";case n.UIntPrimitiveType:return"uint";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"bigint";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"byte[]";case n.MoneyPrimitiveType:return"decimal";case n.UuidPrimitiveType:return"Guid";case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"string";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"JsonElement";case n.OptionalType:return`${f(v.base)} option`;case n.ArrayType:return`${f(v.base)} list`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return f(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}function p(v,b,T,S,P=1,I=!0){switch(v.constructor){case n.IntPrimitiveType:return`\n decodeInt32 ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n decodeUInt32 ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.MoneyPrimitiveType:return`\n (decodeMoney ${b} ${T}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n decodeFloat ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n decodeBigInt ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n decodeString ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n decodeHtml ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n decodeCpf ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n decodeCnpj ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n decodeEmail ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n decodeUrl ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n decodeUuid ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n decodeHex ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n decodeBase64 ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n decodeXml ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n decodeBool ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n decodeBytes ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(v.type,b,T,S,P);case n.OptionalType:return d.includes(v.base.constructor)?`match ${b}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${p(v.base,b,T,S,P,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():v.base instanceof n.OptionalType||v.base instanceof n.ArrayType?`\n (>.>) decodeOptional ${p(v.base,b,T,S,P,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${p(v.base,b,T,S,P,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case n.EnumType:case n.StructType:return`Decode${v.name} ${b} ${T}`;case n.JsonPrimitiveType:return I?`\n ${b}\n `.replace(/\n {16}/gu,"\n").trim():`${S} <- ${b}`;case n.DateTimePrimitiveType:return`\n decodeDateTime ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n decodeDate ${b} ${T}\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n match ${b}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${b}.GetArrayLength() - 1) do\n let item = ${b}.[i1]\n let partialResult =\n ${p(v.base,`${b}.[i1]`,`${T.slice(0,-1)}.{i1}"`,S,P,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${T.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${v.constructor.name}`)}}function m(v,b,T,S=1,P=!0){switch(v.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${b})`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${b})`;case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(int (Math.Round(${b} * 100m)))`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString())`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${b})`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${b}))`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${b}.ToString("yyyy-MM-dd"))`;case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.Base64PrimitiveType:case n.HexPrimitiveType:case n.XmlPrimitiveType:return`resultWriter_.WriteStringValue(${b})`;case n.OptionalType:{let I=v.base;for(;I instanceof n.TypeReference;)I=I.type;return`\n if (${b}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${m(I,`${b}.Value`,T,S,P)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return m(v.type,b,T,S,P);case n.EnumType:case n.StructType:return`Encode${v.name} ${b} resultWriter_ ${T}`;case n.JsonPrimitiveType:return`${b}.WriteTo(resultWriter_)`;case n.ArrayType:return`\n resultWriter_.WriteStartArray()\n for i${S} in 0..${b}.Length - 1 do\n ${m(v.base,`${b}.[i${S}]`,`${T}`,S+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${v.constructor.name}`)}}r.ident=o,r.capitalize=c,r.generateTypeName=f,r.decodeType=p,r.encodeType=m,r.generateStruct=function u(v){return`\ntype ${v.name} = {\n ${v.fields.map(b=>`${c(b.name)}: ${f(b.type)}`).join(";\n ")}\n} with\n static member Create (${v.fields.map(b=>`${o(b.name)}: ${f(b.type)}`).join(", ")}): ${v.name} =\n { ${v.fields.map(b=>`${c(b.name)} = ${o(b.name)}`).join("; ")} }\n\nlet Decode${v.name} (json_: JsonElement) (path_: string): ${v.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${v.fields.map(b=>`\n let ${b.name}Json_ = decodeJsonElementStrict ${JSON.stringify(b.name)} json_ $"{path_}.${b.name}"\n let ${o(b.name)} =\n ${p(b.type,`${b.name}Json_`,`$"{path_}.${b.name}"`,o(b.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${v.fields.map(b=>`${c(b.name)} = ${o(b.name)}`).join("; ")} }\n\nlet Encode${v.name} (obj_: ${v.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${v.fields.map(b=>`\n resultWriter_.WritePropertyName(${JSON.stringify(b.name)})\n ${m(b.type,`obj_.${c(b.name)}`,`$"{path_}.${b.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},r.generateEnum=function _(v){return`\ntype ${v.name} =\n ${v.values.map(({value:b})=>`| ${c(b)}`).join("\n ")}\n\nlet Decode${v.name} (json_: JsonElement) (path_: string): ${v.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${v.values.map(({value:b})=>`| "${b}" -> ${v.name}.${c(b)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${v.values.map(({value:b})=>`'${b}'`).join(", ")})."))\n\nlet Encode${v.name} (obj_: ${v.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${v.values.map(({value:b})=>`| ${v.name}.${c(b)} -> resultWriter_.WriteStringValue("${b}")`).join("\n ")}\n\n`}},2863:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(196),r)},9409:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateAndroidClientSource=void 0;const n=a(6676),h=a(7250);r.generateAndroidClientSource=function y(d,o){let c='@file:Suppress("UNNECESSARY_SAFE_CALL")\n\nimport android.os.Parcelable\nimport kotlinx.android.parcel.Parcelize\nimport android.content.Context\nimport android.util.Base64\nimport com.google.gson.*\nimport com.google.gson.reflect.TypeToken\nimport com.google.gson.annotations.JsonAdapter\nimport com.google.gson.annotations.SerializedName\nimport io.sdkgen.runtime.SdkgenHttpClient\nimport kotlinx.coroutines.*\nimport kotlinx.coroutines.Dispatchers.IO\nimport java.util.*\n\ninline fun <reified T> Gson.fromJson(json: String) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\ninline fun <reified T> Gson.fromJson(json: JsonElement) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\n@Suppress("DeferredIsResult", "unused")\nclass ApiClient(\n baseUrl: String,\n val applicationContext: Context,\n defaultTimeoutMillis: Long = 10000L\n) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis) {\n\n private val gson = GsonBuilder()\n .registerTypeAdapter(object : TypeToken<ByteArray>() {}.type, ByteArrayDeserializer())\n .create()\n\n';for(const m of d.enumTypes)c+=` ${(0,h.generateEnum)(m)}`,c+="\n";c+=" open class Error(val message: String? = null)\n",c+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const m of d.structTypes)c+=` ${(0,h.generateClass)(m)}\n`;const f=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);f.push(p.name),c+=` ${(0,h.generateErrorClass)(p)}`;for(const m of d.errors)c+=` ${(0,h.generateErrorClass)(m)}`,f.push(m.name);return f.length>0&&(c+=`\n enum class ErrorType {\n ${f.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${f.map(m=>`${m} -> ApiClient.${m}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),c+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",c+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>{let u="";const _=[];_.push("timeoutMillis: Long? = null"),o&&_.push(`callback: ((response: Response<${(0,h.generateKotlinTypeName)(m.returnType)}>) -> Unit)? = null`);const v=m.args.map(b=>`${(0,h.mangle)(b.name)}: ${(0,h.generateKotlinTypeName)(b.type)}`).concat(_);return u+=` fun ${(0,h.mangle)(m.name)}(\n ${v.join(",\n ")}\n ): Deferred<Response<out ${(0,h.generateKotlinTypeName)(m.returnType)}>> = sdkgenIOScope.async {\n`,m.args.length>0?(u+=" val bodyArgs = JsonObject().apply {\n",u+=m.args.map(b=>` ${(0,h.generateJsonAddRepresentation)(b.type,b.name)}`).join("\n"),u+="\n }\n"):u+=" val bodyArgs: JsonObject? = null",u+="\n",u+=` val call = makeRequest("${m.name}", bodyArgs, timeoutMillis)\n`,u+=` val response: Response<${(0,h.generateKotlinTypeName)(m.returnType)}> = handleCallResponse(call)\n`,o&&(u+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),u+=" return@async response\n",u+=" }\n",u}).join("\n"),c+='\n private inline fun <reified T> handleCallResponse(callResponse: InternalResponse): Response<T> {\n try {\n val data = if (callResponse.result?.get("result") != null)\n gson.fromJson<T>(callResponse.result?.get("result")!!)\n else null\n\n val error = if (callResponse.error != null) {\n val errorType = try {\n ErrorType.valueOf(callResponse.error?.get("type")?.asString ?: "")\n } catch (e: Exception) {\n ErrorType.Fatal\n }\n\n gson.fromJson(callResponse.error, errorType.type())\n } else null\n\n return Response(error, data, callResponse.stats)\n } catch(e: Exception) {\n return Response(Fatal(applicationContext.getString(io.sdkgen.runtime.R.string.sdkgen_error_serialization)), null, callResponse.stats)\n }\n }\n',c+="}\n",c}},7250:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateErrorClass=r.generateClass=r.getAnnotation=r.generateEnum=r.generateJsonAddRepresentation=r.mangle=r.generateKotlinTypeName=void 0;const n=a(6676);function h(m){switch(m.constructor){case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:return"Int";case n.FloatPrimitiveType:return"Double";case n.BigIntPrimitiveType:return"BigInt";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"Calendar";case n.BoolPrimitiveType:return"Boolean";case n.BytesPrimitiveType:return"ByteArray";case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"String";case n.VoidPrimitiveType:return"Unit";case n.JsonPrimitiveType:return"JsonElement";case n.OptionalType:return`${h(m.base)}?`;case n.ArrayType:return`ArrayList<${h(m.base)}>`;case n.StructType:case n.EnumType:return m.name;case n.TypeReference:return h(m.type);default:throw new Error(`BUG: generateKotlinTypeName with ${m.constructor.name}`)}}function y(m){return["in","out","as","break","class","continue","do","else","false","for","fun","if","in","interface","is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","Double","Float","Long","Int","Short","Byte"].includes(m)?`_${m}`:m}function c(m,u){let _="";switch(u&&u!==y(u)&&(_+=` @SerializedName("${u}")\n`),m.constructor){case n.DatePrimitiveType:_+=" @JsonAdapter(DateAdapter::class)\n";break;case n.DateTimePrimitiveType:_+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case n.ArrayType:case n.OptionalType:_+=c(m.base)}return _}r.generateKotlinTypeName=h,r.mangle=y,r.generateJsonAddRepresentation=function d(m,u){switch(m.constructor){case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:case n.BoolPrimitiveType:return`addProperty("${u}", ${y(u)})`;case n.OptionalType:return d(m.base,u);case n.DatePrimitiveType:return`addProperty("${u}", ${y(u)}?.let { DateAdapter.sdf.format(it.time)}) `;case n.DateTimePrimitiveType:return`addProperty("${u}", ${y(u)}?.let { DateTimeAdapter.sdf.format(it.time)})`;case n.ArrayType:case n.StructType:case n.EnumType:case n.TypeReference:case n.JsonPrimitiveType:return`add("${u}", gson.toJsonTree(${y(u)}))`;case n.VoidPrimitiveType:return"";case n.BytesPrimitiveType:return`addProperty("${u}", Base64.encodeToString(${y(u)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${m.constructor.name}`)}},r.generateEnum=function o(m){let u="@Parcelize \n";return u+=` enum class ${m.name} : Parcelable { ${m.values.map(_=>y(_.value)).join(", ")} }\n`,u},r.getAnnotation=c,r.generateClass=function f(m){let u="@Parcelize\n";return u+=` data class ${m.name}(\n${m.fields.map(_=>{let v=c(_.type,_.name);return v+=` var ${y(_.name)}: ${h(_.type)}${_.type.constructor===n.OptionalType?" = null":""}`,v}).join(",\n")}\n ) : Parcelable\n`,u},r.generateErrorClass=function p(m){return`class ${m.name}(message: String) : Error(message)\n`}},7402:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(9409),r)},1942:function(G,r,a){"use strict";var n=this&&this.__rest||function(ye,Se){var j={};for(var ne in ye)Object.prototype.hasOwnProperty.call(ye,ne)&&Se.indexOf(ne)<0&&(j[ne]=ye[ne]);if(null!=ye&&"function"==typeof Object.getOwnPropertySymbols){var Me=0;for(ne=Object.getOwnPropertySymbols(ye);Me<ne.length;Me++)Se.indexOf(ne[Me])<0&&Object.prototype.propertyIsEnumerable.call(ye,ne[Me])&&(j[ne[Me]]=ye[ne[Me]])}return j};Object.defineProperty(r,"__esModule",{value:!0}),r.AstRoot=r.FunctionOperation=r.TypeDefinition=r.StructType=r.TypeReference=r.Spread=r.Field=r.EnumType=r.EnumValue=r.ArrayType=r.OptionalType=r.JsonPrimitiveType=r.XmlPrimitiveType=r.Base64PrimitiveType=r.HtmlPrimitiveType=r.HexPrimitiveType=r.UuidPrimitiveType=r.UrlPrimitiveType=r.EmailPrimitiveType=r.CnpjPrimitiveType=r.CpfPrimitiveType=r.MoneyPrimitiveType=r.VoidPrimitiveType=r.BytesPrimitiveType=r.BoolPrimitiveType=r.DateTimePrimitiveType=r.DatePrimitiveType=r.BigIntPrimitiveType=r.FloatPrimitiveType=r.UIntPrimitiveType=r.IntPrimitiveType=r.StringPrimitiveType=r.PrimitiveType=r.HiddenAnnotation=r.RestAnnotation=r.ArgDescriptionAnnotation=r.ThrowsAnnotation=r.DescriptionAnnotation=r.Annotation=r.ErrorNode=r.Type=r.AstNode=void 0;const h=a(9037);class y{constructor(){this.location=new h.TokenLocation,Object.defineProperty(this,"location",{enumerable:!1})}at(Se){return this.location=Se.location,this}atLocation(Se){return this.location=Se,this}}r.AstNode=y;class d extends y{toJSON(){const Se=Object.assign({},this);return n(Se,["name"])}}r.Type=d,r.ErrorNode=class o extends y{constructor(Se,j){super(),this.name=Se,this.dataType=j}};class c extends y{}r.Annotation=c,r.DescriptionAnnotation=class f extends c{constructor(Se){super(),this.text=Se}},r.ThrowsAnnotation=class p extends c{constructor(Se){super(),this.error=Se}},r.ArgDescriptionAnnotation=class m extends c{constructor(Se,j){super(),this.argName=Se,this.text=j}},r.RestAnnotation=class u extends c{constructor(Se,j,ne,Me,ze,Qe){super(),this.method=Se,this.path=j,this.pathVariables=ne,this.queryVariables=Me,this.headers=ze,this.bodyVariable=Qe}},r.HiddenAnnotation=class _ extends c{};class v extends d{toJSON(){return this.name}}r.PrimitiveType=v,r.StringPrimitiveType=class b extends v{constructor(){super(...arguments),this.name="string"}},r.IntPrimitiveType=class T extends v{constructor(){super(...arguments),this.name="int"}},r.UIntPrimitiveType=class S extends v{constructor(){super(...arguments),this.name="uint"}},r.FloatPrimitiveType=class P extends v{constructor(){super(...arguments),this.name="float"}},r.BigIntPrimitiveType=class I extends v{constructor(){super(...arguments),this.name="bigint"}},r.DatePrimitiveType=class V extends v{constructor(){super(...arguments),this.name="date"}},r.DateTimePrimitiveType=class J extends v{constructor(){super(...arguments),this.name="datetime"}},r.BoolPrimitiveType=class Y extends v{constructor(){super(...arguments),this.name="bool"}},r.BytesPrimitiveType=class X extends v{constructor(){super(...arguments),this.name="bytes"}},r.VoidPrimitiveType=class H extends v{constructor(){super(...arguments),this.name="void"}},r.MoneyPrimitiveType=class oe extends v{constructor(){super(...arguments),this.name="money"}},r.CpfPrimitiveType=class le extends v{constructor(){super(...arguments),this.name="cpf"}},r.CnpjPrimitiveType=class me extends v{constructor(){super(...arguments),this.name="cnpj"}},r.EmailPrimitiveType=class De extends v{constructor(){super(...arguments),this.name="email"}},r.UrlPrimitiveType=class be extends v{constructor(){super(...arguments),this.name="url"}},r.UuidPrimitiveType=class Z extends v{constructor(){super(...arguments),this.name="uuid"}},r.HexPrimitiveType=class de extends v{constructor(){super(...arguments),this.name="hex"}},r.HtmlPrimitiveType=class z extends v{constructor(){super(...arguments),this.name="html"}},r.Base64PrimitiveType=class pe extends v{constructor(){super(...arguments),this.name="base64"}},r.XmlPrimitiveType=class ce extends v{constructor(){super(...arguments),this.name="xml"}},r.JsonPrimitiveType=class Oe extends v{constructor(){super(...arguments),this.name="json"}},r.OptionalType=class it extends d{constructor(Se){super(),this.base=Se}get name(){return`${this.base.name}?`}},r.ArrayType=class vt extends d{constructor(Se){super(),this.base=Se}get name(){return`${this.base.name}[]`}},r.EnumValue=class Ge extends y{constructor(Se){super(),this.value=Se,this.annotations=[],this.struct=null}},r.EnumType=class pt extends d{constructor(Se){super(),this.values=Se}get hasStructValues(){return this.values.some(Se=>null!==Se.struct)}},r.Field=class qe extends y{constructor(Se,j,ne=!1){super(),this.name=Se,this.type=j,this.secret=ne,this.annotations=[]}},r.Spread=class at extends y{constructor(Se){super(),this.typeReference=Se}},r.TypeReference=class Ve extends d{constructor(Se){super(),this.name=Se}},r.StructType=class tt extends d{constructor(Se){super(),this.fieldsAndSpreads=Se,this.fields=[]}},r.TypeDefinition=class Le extends y{constructor(Se,j){super(),this.name=Se,this.type=j,this.annotations=[]}},r.FunctionOperation=class Ke extends y{constructor(Se,j,ne){super(),this.name=Se,this.fieldsAndSpreads=j,this.returnType=ne,this.annotations=[],this.args=[]}},r.AstRoot=class ft{constructor(Se=[],j=[],ne=[]){this.typeDefinitions=Se,this.operations=j,this.errors=ne,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},9747:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.compatibilityIssues=void 0;const n=a(1942);function h(o,c,f,p){var m,u;if(f instanceof n.TypeReference)h(o,c,f.type,p);else if(p instanceof n.TypeReference)h(o,c,f,p.type);else if(f instanceof n.OptionalType||!(p instanceof n.OptionalType))if(f instanceof n.OptionalType&&p instanceof n.OptionalType)h(o,c,f.base,p.base);else{if(f instanceof n.OptionalType&&!(p instanceof n.OptionalType))return c.push(`${o} was optional, but now it isn't. If the client sends a null, it will be invalid. Add the optional annotation back.`),void h(o,c,f.base,p);if(f instanceof n.ArrayType&&p instanceof n.ArrayType)h(o,c,f.base,p.base);else if(f instanceof n.StructType&&p instanceof n.StructType)for(const _ of p.fields){const v=f.fields.find(b=>b.name===_.name);if(v)h(`${o}.${v.name}`,c,v.type,_.type);else{if(_.type instanceof n.OptionalType)continue;c.push(`${o}.${_.name} didn't exist before and isn't optional. Make it optional.`)}}else if(!(f instanceof n.UIntPrimitiveType&&p instanceof n.IntPrimitiveType||f instanceof n.IntPrimitiveType&&p instanceof n.FloatPrimitiveType||f instanceof n.MoneyPrimitiveType&&p instanceof n.IntPrimitiveType||f instanceof n.MoneyPrimitiveType&&p instanceof n.UIntPrimitiveType||f instanceof n.UIntPrimitiveType&&p instanceof n.BigIntPrimitiveType||f instanceof n.IntPrimitiveType&&p instanceof n.BigIntPrimitiveType||f instanceof n.MoneyPrimitiveType&&p instanceof n.BigIntPrimitiveType||f instanceof n.BigIntPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.UuidPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.XmlPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.DatePrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.DateTimePrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.CpfPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.CnpjPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.HexPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.HtmlPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.Base64PrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.BytesPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.BytesPrimitiveType&&p instanceof n.Base64PrimitiveType||f instanceof n.UrlPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.EmailPrimitiveType&&p instanceof n.StringPrimitiveType||f instanceof n.EnumType&&p instanceof n.StringPrimitiveType)){if(f instanceof n.EnumType&&p instanceof n.EnumType){for(const _ of f.values){const v=p.values.find(b=>b.value===_.value);v?h(`${o}.${_.value}`,c,null!==(m=_.struct)&&void 0!==m?m:new n.StructType([]),null!==(u=v.struct)&&void 0!==u?u:new n.StructType([])):c.push(`The enum at ${o} used to accept the value "${_.value}" that doesn't exist now. Clients that send it will fail.`)}return}f.constructor.name!==p.constructor.name&&c.push(`${o} was ${f.name} and now it is ${p.name}. They are not compatible.`)}}else h(o,c,f,p.base)}function y(o,c,f,p){var m,u;if(f instanceof n.TypeReference)y(o,c,f.type,p);else if(p instanceof n.TypeReference)y(o,c,f,p.type);else if(!(f instanceof n.OptionalType)||p instanceof n.OptionalType)if(f instanceof n.OptionalType&&p instanceof n.OptionalType)y(o,c,f.base,p.base);else{if(!(f instanceof n.OptionalType)&&p instanceof n.OptionalType)return c.push(`${o} wasn't optional, but now it is. If the client receives a null, it will crash. Remove the optional annotation.`),void y(o,c,f,p.base);if(f instanceof n.ArrayType&&p instanceof n.ArrayType)y(o,c,f.base,p.base);else if(f instanceof n.StructType&&p instanceof n.StructType)for(const _ of f.fields){const v=p.fields.find(b=>b.name===_.name);if(v)y(`${o}.${_.name}`,c,_.type,v.type);else{if(_.type instanceof n.OptionalType)continue;c.push(`${o}.${_.name} used to exist with type ${_.type.name}, but it's now missing. Add it back.`)}}else if(!(f instanceof n.IntPrimitiveType&&p instanceof n.UIntPrimitiveType||f instanceof n.FloatPrimitiveType&&p instanceof n.IntPrimitiveType||f instanceof n.IntPrimitiveType&&p instanceof n.MoneyPrimitiveType||f instanceof n.UIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||f instanceof n.BigIntPrimitiveType&&p instanceof n.UIntPrimitiveType||f instanceof n.BigIntPrimitiveType&&p instanceof n.IntPrimitiveType||f instanceof n.BigIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.BigIntPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.UuidPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.XmlPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.DatePrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.DateTimePrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.CpfPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.CnpjPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.HexPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.HtmlPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.Base64PrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.BytesPrimitiveType||f instanceof n.Base64PrimitiveType&&p instanceof n.BytesPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.UrlPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.EmailPrimitiveType||f instanceof n.StringPrimitiveType&&p instanceof n.EnumType)){if(f instanceof n.EnumType&&p instanceof n.EnumType){for(const _ of p.values){const v=f.values.find(b=>b.value===_.value);v?y(`${o}.${_.value}`,c,null!==(m=v.struct)&&void 0!==m?m:new n.StructType([]),null!==(u=_.struct)&&void 0!==u?u:new n.StructType([])):c.push(`The enum at ${o} now has the value "${_.value}" that didn't exist before. Client will crash if it receives it`)}return}f.constructor.name!==p.constructor.name&&c.push(`${o} was ${f.name} and now it is ${p.name}. They are not compatible.`)}}else y(o,c,f.base,p)}r.compatibilityIssues=function d(o,c){const f=[];for(const p of o.operations){const m=c.operations.find(u=>u.name===p.name);if(m){y(`${p.name}.ret`,f,p.returnType,m.returnType);for(const u of m.args){const _=p.args.find(v=>v.name===u.name);if(_)h(`${p.name}.args.${_.name}`,f,_.type,u.type);else{if(u.type instanceof n.OptionalType)continue;f.push(`${p.name}.args.${u.name} didn't exist before and isn't optional. Make it optional.`)}}}else f.push(`function ${p.name} used to exist, but it's now missing. Add it back.`)}for(const p of o.errors){const m=c.errors.find(u=>u.name===p.name);!m||y(`${p.name}.data`,f,p.dataType,m.dataType)}return f}},6676:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(d,o,c,f){void 0===f&&(f=c);var p=Object.getOwnPropertyDescriptor(o,c);(!p||("get"in p?!o.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return o[c]}}),Object.defineProperty(d,f,p)}:function(d,o,c,f){void 0===f&&(f=c),d[f]=o[c]}),h=this&&this.__exportStar||function(d,o){for(var c in d)"default"!==c&&!Object.prototype.hasOwnProperty.call(o,c)&&n(o,d,c)};Object.defineProperty(r,"__esModule",{value:!0}),r.jsonToAst=r.astToJson=void 0,h(a(1942),r),h(a(9747),r);var y=a(1557);Object.defineProperty(r,"astToJson",{enumerable:!0,get:function(){return y.astToJson}}),Object.defineProperty(r,"jsonToAst",{enumerable:!0,get:function(){return y.jsonToAst}}),h(a(8053),r),h(a(2701),r),h(a(9037),r)},1557:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.jsonToAst=r.astToJson=void 0;const n=a(1942),h=a(6758),y=a(6569);function d(p){if(p instanceof n.DescriptionAnnotation)return{type:"description",value:p.text};if(p instanceof n.ThrowsAnnotation)return{type:"throws",value:p.error};if(p instanceof n.RestAnnotation)return{type:"rest",value:{bodyVariable:p.bodyVariable,headers:[...p.headers.entries()].sort(([m],[u])=>m.localeCompare(u)),method:p.method,path:p.path,pathVariables:[...p.pathVariables].sort((m,u)=>m.localeCompare(u)),queryVariables:[...p.queryVariables].sort((m,u)=>m.localeCompare(u))}};if(p instanceof n.HiddenAnnotation)return{type:"hidden",value:null};throw new Error(`BUG: annotationToJson with ${p.constructor.name}`)}function o(p){switch(p.type){case"description":return new n.DescriptionAnnotation(p.value);case"throws":return new n.ThrowsAnnotation(p.value);case"rest":{const{method:m,path:u,pathVariables:_,queryVariables:v,headers:b,bodyVariable:T}=p.value;return new n.RestAnnotation(m,u,_,v,new Map(b),T)}case"hidden":return new n.HiddenAnnotation;default:throw new Error(`BUG: annotationFromJson with ${p.type}`)}}r.astToJson=function c(p){var m,u,_;const v={},b={};function T(I){return I instanceof n.ArrayType?`${T(I.base)}[]`:I instanceof n.OptionalType?`${T(I.base)}?`:I.name}for(const{name:I,fields:V}of p.structTypes){b[I]={};const J=b[I];for(const Y of V){J[Y.name]=T(Y.type);for(const X of Y.annotations)if(X instanceof n.DescriptionAnnotation){const H=`type.${I}.${Y.name}`;null!==(m=v[H])&&void 0!==m||(v[H]=[]),v[H].push(d(X))}}}for(const{name:I,values:V}of p.enumTypes)b[I]=V.map(J=>J.struct?[J.value,J.struct.name]:J.value);for(const{name:I,type:V}of p.typeDefinitions)V instanceof n.StructType||V instanceof n.EnumType||(b[I]=T(V));const S={};for(const I of p.operations){const V={};for(const J of I.args){V[J.name]=T(J.type);for(const Y of J.annotations)if(Y instanceof n.DescriptionAnnotation){const X=`fn.${I.name}.${J.name}`;null!==(u=v[X])&&void 0!==u||(v[X]=[]),v[X].push(d(Y))}}S[I.name]={args:V,ret:T(I.returnType)};for(const J of I.annotations){const Y=`fn.${I.name}`;null!==(_=v[Y])&&void 0!==_||(v[Y]=[]),v[Y].push(d(J))}}return{annotations:v,errors:p.errors.map(I=>I.dataType instanceof n.VoidPrimitiveType?I.name:[I.name,I.dataType.name]),functionTable:S,typeTable:b}},r.jsonToAst=function f(p){var m,u;const _=[],v=[],b=[];function T(I,V){var J;if("string"==typeof I){const X=y.primitiveToAstClass.get(I);return X?new X:I.endsWith("?")?new n.OptionalType(T(I.slice(0,I.length-1))):I.endsWith("[]")?new n.ArrayType(T(I.slice(0,I.length-2))):new n.TypeReference(I)}if(Array.isArray(I))return new n.EnumType(I.map(X=>{if(Array.isArray(X)){const[H,oe]=X,le=new n.EnumValue(H);return b.push([le,oe]),le}return new n.EnumValue(X)}));const Y=[];for(const X of Object.keys(I)){const H=new n.Field(X,T(I[X]));if(V){const oe=`type.${V}.${X}`;for(const le of null!==(J=p.annotations[oe])&&void 0!==J?J:[])H.annotations.push(o(le))}Y.push(H)}return new n.StructType(Y)}for(const[I,V]of Object.entries(p.typeTable)){const J=T(V,I);v.push(new n.TypeDefinition(I,J))}for(const[I,V]of Object.entries(p.functionTable)){const J=Object.keys(V.args).map(H=>{var oe;const le=new n.Field(H,T(V.args[H])),me=`fn.${I}.${H}`;for(const De of null!==(oe=p.annotations[me])&&void 0!==oe?oe:[])le.annotations.push(o(De));return le}),Y=new n.FunctionOperation(I,J,T(V.ret)),X=`fn.${I}`;for(const H of null!==(m=p.annotations[X])&&void 0!==m?m:[])Y.annotations.push(o(H));_.push(Y)}for(const[I,V]of b){const J=null===(u=v.find(Y=>Y.name===V))||void 0===u?void 0:u.type;J instanceof n.StructType&&(I.struct=J)}const S=p.errors.map(I=>{if(Array.isArray(I)){const[V,J]=I;return new n.ErrorNode(V,T(J))}return new n.ErrorNode(I,new n.VoidPrimitiveType)}),P=new n.AstRoot(v,_,S);return(0,h.analyse)(P),P}},8053:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Lexer=r.LexerError=void 0;const n=a(9037);class h extends Error{}r.LexerError=h;class y{constructor(o,c="-"){this.source=o,this.filename=c,this.startPos=0,this.startLine=1,this.startColumn=1,this.pos=0,this.line=1,this.column=1}currentChar(){return this.source[this.pos]||"\0"}nextChar(){return this.column++,this.source[++this.pos]||"\0"}nextToken(){this.startPos=this.pos,this.startLine=this.line,this.startColumn=this.column;let o=null;switch(this.currentChar()){case"\0":return null;case" ":case"\r":case"\t":return this.nextChar(),this.nextToken();case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken();case"/":switch(this.nextChar()){case"/":for(;;)switch(this.nextChar()){case"\0":return null;case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken()}case"*":e:for(;;)switch(this.nextChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"*":for(;"*"===this.nextChar(););switch(this.currentChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"/":return this.nextChar(),this.nextToken()}}}break;case"{":this.nextChar(),o=new n.CurlyOpenSymbolToken;break;case"}":this.nextChar(),o=new n.CurlyCloseSymbolToken;break;case"(":this.nextChar(),o=new n.ParensOpenSymbolToken;break;case")":this.nextChar(),o=new n.ParensCloseSymbolToken;break;case"?":this.nextChar(),o=new n.OptionalSymbolToken;break;case":":this.nextChar(),o=new n.ColonSymbolToken;break;case"=":this.nextChar(),o=new n.EqualSymbolToken;break;case"!":this.nextChar(),o=new n.ExclamationMarkSymbolToken;break;case",":this.nextChar(),o=new n.CommaSymbolToken;break;case"[":"]"===this.nextChar()&&(this.nextChar(),o=new n.ArraySymbolToken);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),o=new n.SpreadSymbolToken);break;case"@":{let c="\\",f=this.startPos+1;for(;"\\"===c[c.length-1];){for(c=c.slice(0,c.length-1).trim();!["\0","\n"].includes(this.nextChar()););c=`${c} ${this.source.substring(f,this.pos).trim()}`.trim(),f=this.pos+1}o=new n.AnnotationToken(c.trim());break}case'"':{const c=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":c.push("\n");break;case"t":c.push("\t");break;default:c.push(this.currentChar())}break;case'"':this.nextChar(),o=new n.StringLiteralToken(c.join(""));break e;default:c.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const c=this.source.substring(this.startPos,this.pos);switch(c){case"error":o=new n.ErrorKeywordToken;break;case"enum":o=new n.EnumKeywordToken;break;case"type":o=new n.TypeKeywordToken;break;case"import":o=new n.ImportKeywordToken;break;case"fn":o=new n.FnKeywordToken;break;case"true":o=new n.TrueKeywordToken;break;case"false":o=new n.FalseKeywordToken;break;default:o=y.PRIMITIVES.has(c)?new n.PrimitiveTypeToken(c):new n.IdentifierToken(c)}}}if(null!==o)return o.location.filename=this.filename,o.location.line=this.startLine,o.location.column=this.startColumn,o;throw"\0"===this.currentChar()?new h(`Unexpected end of file at ${this.filename}`):new h(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}r.Lexer=y,y.PRIMITIVES=new Set(["bool","int","uint","float","bigint","string","date","datetime","bytes","money","cpf","cnpj","email","html","url","uuid","hex","base64","xml","void","json"]),y.KEYWORDS=new Set([...y.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"])},2701:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Parser=r.ParserError=void 0;const n=a(1942),h=a(8053),y=a(7145),d=a(6758),o=a(9037),c=a(6569);class f extends Error{}r.ParserError=f,r.Parser=class p{constructor(u){this.token=null,this.annotations=[],this.warnings=[],this.readFileSync=()=>{throw"Not implemented"};try{this.readFileSync=Object(function(){var v=new Error("Cannot find module 'fs'");throw v.code="MODULE_NOT_FOUND",v}())}catch(_){}this.lexers=u instanceof h.Lexer?[u]:[new h.Lexer(this.readFileSync(u).toString(),u)],this.nextToken()}nextToken(){for(;this.lexers.length>0;){if(this.token=this.lexers[this.lexers.length-1].nextToken(),this.token)return;this.lexers.pop()}}multiExpect(u){if(!this.token)throw new f(`Expected ${Object.keys(u).map(v=>v.replace("Token","")).join(" or ")}, but found end of file`);const _=this.token.constructor.name;if(_ in u)return u[_](this.token);if(u.IdentifierToken){const v=this.token.maybeAsIdentifier();if(v instanceof o.IdentifierToken)return u.IdentifierToken(v)}throw new f(`Expected ${Object.keys(u).map(v=>v.replace("Token","")).join(" or ")} at ${this.token.location}, but found ${this.token}`)}expect(u){if(null===this.token)throw new f(`Expected ${u.name.replace("Token","")}, but found end of file`);if(this.token instanceof u)return this.token;if(u===o.IdentifierToken){const _=this.token.maybeAsIdentifier();if(_ instanceof o.IdentifierToken)return _}throw new f(`Expected ${u.name.replace("Token","")} at ${this.token.location}, but found ${this.token}`)}parse(){const u=[],_=[],v=[];for(this.warnings=[];this.token;)this.acceptAnnotations(),this.multiExpect({ErrorKeywordToken:()=>{v.push(this.parseError())},FnKeywordToken:()=>{u.push(this.parseOperation())},ImportKeywordToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const T=this.expect(o.StringLiteralToken),S=T.location.filename.replace(/[^/\\]+$/u,`${T.value}.sdkgen`);this.lexers.push(new h.Lexer(this.readFileSync(S).toString(),S)),this.nextToken()},TypeKeywordToken:()=>{_.push(this.parseTypeDefinition())}});const b=new n.AstRoot(_,u,v);return b.warnings=this.warnings,(0,d.analyse)(b),b}acceptAnnotations(){for(;this.token instanceof o.AnnotationToken;){const u=this.token.value.split(" "),_=this.token.value.slice(u[0].length).trim();switch(u[0]){case"description":this.annotations.push(new n.DescriptionAnnotation(_).at(this.token));break;case"arg":this.annotations.push(new n.ArgDescriptionAnnotation(u[1],this.token.value.slice(u[0].length+1+u[1].length).trim()).at(this.token));break;case"throws":this.annotations.push(new n.ThrowsAnnotation(_).at(this.token));break;case"rest":try{this.annotations.push((0,y.parseRestAnnotation)(_).at(this.token))}catch(v){throw new f(`${v instanceof Error?v.message:v} at ${this.token.location}`)}break;case"hidden":if(""!==_)throw new f("@hidden annotation doesn't take any argument");this.annotations.push((new n.HiddenAnnotation).at(this.token));break;default:throw new f(`Unknown annotation '${u[0]}' at ${this.token.location}`)}this.nextToken()}}checkCannotHaveAnnotationsHere(){if(this.annotations.length>0)throw new f(`Cannot have annotations at ${this.annotations[0].location}`)}parseTypeDefinition(){const u=this.expect(o.TypeKeywordToken);this.nextToken();const _=this.expect(o.IdentifierToken),v=_.value;if(!/[A-Z]/u.test(v[0]))throw new f(`The custom type name must start with an uppercase letter, but found ${JSON.stringify(v)} at ${_.location}`);this.nextToken();const{annotations:b}=this;this.annotations=[];const T=this.parseType(),S=new n.TypeDefinition(v,T).at(u);return S.annotations=b,S}parseError(){this.checkCannotHaveAnnotationsHere();const u=this.expect(o.ErrorKeywordToken);this.nextToken();const _=this.expect(o.IdentifierToken),v=_.value;if(!/[A-Z]/u.test(v[0]))throw new f(`Error name must start with an uppercase letter, but found ${JSON.stringify(v)} at ${_.location}`);this.nextToken();let b=new n.VoidPrimitiveType;return(this.token instanceof o.CurlyOpenSymbolToken||this.token instanceof o.EnumKeywordToken||this.token instanceof o.IdentifierToken||this.token instanceof o.PrimitiveTypeToken)&&(b=this.parseType()),new n.ErrorNode(v,b).at(u)}parseOperation(){let{annotations:u}=this;this.annotations=[],this.expect(o.FnKeywordToken),this.nextToken();const _=this.expect(o.IdentifierToken).value;this.nextToken(),this.expect(o.ParensOpenSymbolToken),this.nextToken();const v=new Set,b=[];let S,T=!1;for(;!T;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:V=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=V},IdentifierToken:()=>{const V=this.parseField();if(v.has(V.name))throw new f(`Cannot redeclare argument '${V.name}'`);v.add(V.name),b.push(V),this.multiExpect({ParensCloseSymbolToken:J=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=J},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const V=this.expect(o.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(V.value[0]))throw new f(`Expected a type but found ${JSON.stringify(V.value)} at ${V.location}`);b.push(new n.Spread(new n.TypeReference(V.value).at(V)).at(V)),this.multiExpect({ParensCloseSymbolToken:J=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=J},CommaSymbolToken:()=>this.nextToken()})}});for(const V of u)if(V instanceof n.ArgDescriptionAnnotation){const J=b.find(Y=>Y instanceof n.Field&&Y.name===V.argName);if(!J)throw new f(`Argument '${V.argName}' not found, at ${V.location}`);J.annotations.push(new n.DescriptionAnnotation(V.text).atLocation(V.location))}u=u.filter(V=>!(V instanceof n.ArgDescriptionAnnotation));let P=(new n.VoidPrimitiveType).at(S);this.token instanceof o.ColonSymbolToken&&(this.nextToken(),P=this.parseType());const I=new n.FunctionOperation(_,b,P);return I.annotations=u,I}parseEnum(){this.checkCannotHaveAnnotationsHere();const u=this.expect(o.EnumKeywordToken);this.nextToken(),this.expect(o.CurlyOpenSymbolToken),this.nextToken();const _=new n.EnumType([]).at(u);let v=!1;for(;!v;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),v=!0},IdentifierToken:b=>{const T=new n.EnumValue(b.value).at(b);if(T.annotations=this.annotations,this.annotations=[],_.values.push(T),this.nextToken(),!(this.token instanceof o.ParensOpenSymbolToken))return;this.nextToken();const S=new Set,P=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof o.IdentifierToken;){const I=this.parseField();if("tag"===I.name&&(I.name="_tag"),S.has(I.name))throw new f(`Cannot redeclare argument '${I.name}'`);if(S.add(I.name),P.push(I),!(this.token instanceof o.CommaSymbolToken))break;this.nextToken()}T.struct=new n.StructType(P).atLocation(T.location),this.expect(o.ParensCloseSymbolToken),this.nextToken()}});return _}parseField(){const u=this.expect(o.IdentifierToken);this.nextToken(),this.expect(o.ColonSymbolToken),this.nextToken();const{annotations:_}=this;this.annotations=[];const v=this.parseType(),b=new n.Field(u.value,v).at(u);for(b.annotations=_;this.token instanceof o.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(o.IdentifierToken).value))throw new f(`Unknown field mark !${this.token.value} at ${this.token.location}`);b.secret=!0,this.nextToken()}return b}parseStruct(){const u=this.expect(o.CurlyOpenSymbolToken);this.nextToken();const _=[],v=new Set;let b=!1;for(;!b;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),b=!0},IdentifierToken:()=>{const T=this.parseField();if(v.has(T.name))throw new f(`Cannot redeclare field '${T.name}'`);v.add(T.name),_.push(T)},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const T=this.expect(o.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(T.value[0]))throw new f(`Expected a type but found ${JSON.stringify(T.value)} at ${T.location}`);_.push(new n.Spread(new n.TypeReference(T.value).at(T)).at(T))}});return new n.StructType(_).at(u)}parseType(){this.checkCannotHaveAnnotationsHere();let u=this.multiExpect({CurlyOpenSymbolToken:()=>this.parseStruct(),EnumKeywordToken:()=>this.parseEnum(),IdentifierToken:_=>{if(this.nextToken(),!/[A-Z]/u.test(_.value[0]))throw new f(`Expected a type but found ${JSON.stringify(_.value)} at ${_.location}`);return new n.TypeReference(_.value).at(_)},PrimitiveTypeToken:_=>{this.nextToken();const v=c.primitiveToAstClass.get(_.value);if(v)return(new v).at(_);throw new f(`BUG! Should handle primitive ${_.value}`)}});for(;this.token instanceof o.ArraySymbolToken||this.token instanceof o.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:_=>u=new n.ArrayType(u).at(_),OptionalSymbolToken:_=>u=new n.OptionalType(u).at(_)}),this.nextToken();return u}}},7145:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parseRestAnnotation=void 0;const n=a(1942);function d(c){var f;const p=/\{(?<name>\w+)\}/gu,m=[];let u;for(;null!==(u=p.exec(c));)(null===(f=u.groups)||void 0===f?void 0:f.name)&&m.push(u.groups.name);return m}r.parseRestAnnotation=function o(c){const f=c.split(" "),p=f[0].toUpperCase();if(!["GET","POST","PUT","DELETE","PATCH"].includes(p))throw new Error(`Unsupported method '${p}'`);let m=f[1];if(!m.startsWith("/"))throw new Error("Invalid path");let u=[];if(m.includes("?")){const[S,...P]=m.split("?");m=S;const I=P.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(I))throw new Error("Invalid querystring on path");u=d(I)}const _=d(m),v=f.slice(2).join(" "),b=function h(c){var f;const p=/\[header (?<header>[^()<>@,;:\\"/[\]?={}\s\t]+): \{(?<name>\w+)\}\]/gu,m=new Map;let u;for(;null!==(u=p.exec(c));)(null===(f=u.groups)||void 0===f?void 0:f.header)&&u.groups.name&&m.set(u.groups.header.toLowerCase(),u.groups.name);return m}(v),T=function y(c){var f;const p=/\[body \{(?<name>\w+)\}\]/u.exec(c);return(null===(f=null==p?void 0:p.groups)||void 0===f?void 0:f.name)?p.groups.name:null}(v);return new n.RestAnnotation(p,m,_,u,b,T)}},7629:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CheckMultipleDeclarationVisitor=void 0;const n=a(1942),h=a(3154);r.CheckMultipleDeclarationVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(o){if(o instanceof n.TypeDefinition){const c=this.nameToType.get(o.name);if(c&&JSON.stringify(c)!==JSON.stringify(o.type))throw new h.SemanticError(`Type '${o.name}' at ${o.location} is defined multiple times (also at ${c.location})`);this.nameToType.set(o.name,o.type)}super.visit(o)}}},6153:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GiveStructAndEnumNamesVisitor=void 0;const n=a(1942),h=a(3154);r.GiveStructAndEnumNamesVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.path=[],this.names=new Map}visit(o){if(o instanceof n.TypeDefinition)this.path=[o.name],super.visit(o);else if(o instanceof n.ErrorNode)this.path=[`${o.name}Data`],super.visit(o);else if(o instanceof n.FunctionOperation)this.path=[o.name],super.visit(o);else if(o instanceof n.Field)this.path.push(o.name),super.visit(o),this.path.pop();else if(o instanceof n.EnumValue)this.path.push(o.value),super.visit(o),this.path.pop();else if(o instanceof n.StructType||o instanceof n.EnumType){o.name=this.path.map(f=>f[0].toUpperCase()+f.slice(1)).join("");const c=this.names.get(o.name);if(c&&JSON.stringify(c.type)!==JSON.stringify(o))throw new h.SemanticError(`The name of the type '${this.path.join(".")}' at ${o.location} will conflict with '${c.path.join(".")}' at ${c.type.location}`);this.names.set(o.name,{path:[...this.path],type:o}),super.visit(o)}else super.visit(o)}}},9471:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.MatchTypeDefinitionsVisitor=void 0;const n=a(1942),h=a(3154);r.MatchTypeDefinitionsVisitor=class y extends h.Visitor{visit(o){if(o instanceof n.TypeReference){const c=this.root.typeDefinitions.find(f=>f.name===o.name);if(void 0===c)throw new h.SemanticError(`Could not find type '${o.name}' at ${o.location}`);o.type=c.type}super.visit(o)}}},4612:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CheckDontReturnSecretVisitor=void 0;const n=a(1942),h=a(3154);r.CheckDontReturnSecretVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(o){if(!this.visited.has(o))if(this.visited.add(o),o instanceof n.FunctionOperation)this.isInReturn=!0,this.visited.clear(),this.path.push(`${o.name}(...)`),this.visit(o.returnType),this.path.pop(),this.isInReturn=!1;else if(o instanceof n.TypeReference)this.visit(o.type);else if(o instanceof n.Field){if(this.path.push(o.name),this.isInReturn&&o.secret)throw new h.SemanticError(`Can't return a secret value at ${this.path.join(".")} at ${o.location}`);super.visit(o),this.path.pop()}else super.visit(o)}}},4978:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExpandSpreadsVisitor=void 0;const n=a(1942),h=a(3154);r.ExpandSpreadsVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(o,c){const f=new Map;for(const p of c){let m;if(p instanceof n.Field)m=[p];else{const u=p.typeReference.type;if(!(u instanceof n.StructType))throw new h.SemanticError(`A spread operator can't refer to something that is not a struct, in '${p.typeReference.name}' at ${p.location}.`);this.visit(u),m=u.fields}for(const u of m){const _=f.get(u.name);_?o[_]=u:(f.set(u.name,o.length),o.push(u))}}}visit(o){if(o instanceof n.StructType){if(this.processed.has(o))return;this.processed.add(o)}super.visit(o),o instanceof n.StructType?(this.expandSpread(o.fields,o.fieldsAndSpreads),o.fieldsAndSpreads=[]):o instanceof n.FunctionOperation&&(this.expandSpread(o.args,o.fieldsAndSpreads),o.fieldsAndSpreads=[])}}},9866:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CheckEmptyStructOrEnumVisitor=void 0;const n=a(1942),h=a(3154);r.CheckEmptyStructOrEnumVisitor=class y extends h.Visitor{visit(o){if(super.visit(o),o instanceof n.EnumType&&0===o.values.length)throw new h.SemanticError(`Enum '${o.name}' at ${o.location} is empty`);if(o instanceof n.StructType&&0===o.fields.length)throw new h.SemanticError(`Struct '${o.name}' at ${o.location} is empty`)}}},4647:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ValidateRecursiveTypes=void 0;const n=a(1942),h=a(3154);r.ValidateRecursiveTypes=class y extends h.Visitor{visit(o){if(super.visit(o),o instanceof n.TypeDefinition&&this.isRecursiveType(o,o.type)){if(!(o.type instanceof n.StructType||o.type instanceof n.EnumType))throw new h.SemanticError(`Type '${o.name}' at ${o.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(o,o.type))throw new h.SemanticError(`Type '${o.name}' at ${o.location} is infinitely recursive`)}}isRecursiveType(o,c){return c instanceof n.TypeReference?o.name===c.name:c instanceof n.ArrayType||c instanceof n.OptionalType?this.isRecursiveType(o,c.base):c instanceof n.StructType?c.fields.some(f=>this.isRecursiveType(o,f.type)):c instanceof n.EnumType&&c.values.some(f=>f.struct&&this.isRecursiveType(o,f.struct))}isInfinitelyRecursiveType(o,c){return c instanceof n.TypeReference?c.name===o.name:c instanceof n.StructType?c.fields.some(f=>this.isInfinitelyRecursiveType(o,f.type)):c instanceof n.EnumType&&c.values.every(f=>f.struct&&this.isInfinitelyRecursiveType(o,f.struct))}}},2060:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CollectStructAndEnumTypesVisitor=void 0;const n=a(1942),h=a(3154);r.CollectStructAndEnumTypesVisitor=class y extends h.Visitor{visit(o){super.visit(o),o instanceof n.StructType?this.root.structTypes.push(o):o instanceof n.EnumType&&this.root.enumTypes.push(o)}}},4212:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ValidateAnnotationsVisitor=void 0;const n=a(1942),h=a(3154);function d(c){return c instanceof n.TypeReference?d(c.type):c}r.ValidateAnnotationsVisitor=class o extends h.Visitor{visit(f){if(f instanceof n.EnumValue){for(const p of f.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(f instanceof n.TypeDefinition){for(const p of f.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(f instanceof n.Field){for(const p of f.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(f instanceof n.FunctionOperation)for(const p of f.annotations)if(!(p instanceof n.DescriptionAnnotation))if(p instanceof n.ThrowsAnnotation){if(!this.root.errors.some(m=>m.name===p.error))throw new h.SemanticError(`Unknown error type '${p.error}' at ${p.location}`)}else if(p instanceof n.RestAnnotation){const m=[...p.pathVariables,...p.queryVariables,...p.headers.values()];if(m.length!==new Set(m).size)throw new h.SemanticError(`Arguments must appear only once for rest annotation at ${p.location}`);for(const u of m){const _=f.args.find(b=>b.name===u);if(!_)throw new h.SemanticError(`Argument '${u}' not found at ${p.location}`);if(p.pathVariables.includes(u)&&_.type instanceof n.OptionalType)throw new h.SemanticError(`The path argument '${u}' can't be nullable at ${p.location}`);if(!((c=d(_.type instanceof n.OptionalType?_.type.base:_.type))instanceof n.BoolPrimitiveType||c instanceof n.IntPrimitiveType||c instanceof n.UIntPrimitiveType||c instanceof n.BigIntPrimitiveType||c instanceof n.FloatPrimitiveType||c instanceof n.StringPrimitiveType||c instanceof n.DatePrimitiveType||c instanceof n.DateTimePrimitiveType||c instanceof n.MoneyPrimitiveType||c instanceof n.CpfPrimitiveType||c instanceof n.CnpjPrimitiveType||c instanceof n.UuidPrimitiveType||c instanceof n.HexPrimitiveType||c instanceof n.Base64PrimitiveType||c instanceof n.EnumType))throw new h.SemanticError(`Argument '${u}' can't have type '${_.type.name}' for rest annotation at ${p.location}`)}for(const u of f.args){if(!m.includes(u.name)&&p.bodyVariable!==u.name)throw new h.SemanticError(`Argument '${u.name}' is missing from the rest annotation at ${p.location}`);const _=[...p.pathVariables,...p.queryVariables];if("GET"===p.method&&_.includes(u.name)&&u.secret)throw new h.SemanticError(`Argument marked as secret cannot be used in the path or query parts of a GET endpoint at ${p.location}`)}if("GET"===p.method&&f.returnType instanceof n.VoidPrimitiveType)throw new h.SemanticError(`A GET rest endpoint must return something at ${p.location}`)}else if(!(p instanceof n.HiddenAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`);var c}}},6758:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.analyse=void 0;const n=a(1942),h=a(7629),y=a(6153),d=a(9471),o=a(4612),c=a(4978),f=a(9866),p=a(4647),m=a(2060),u=a(4212);r.analyse=function _(v){v.errors.some(b=>"Fatal"===b.name)||v.errors.push(new n.ErrorNode("Fatal",new n.VoidPrimitiveType)),new h.CheckMultipleDeclarationVisitor(v).process(),new y.GiveStructAndEnumNamesVisitor(v).process(),new d.MatchTypeDefinitionsVisitor(v).process(),new o.CheckDontReturnSecretVisitor(v).process(),new c.ExpandSpreadsVisitor(v).process(),new f.CheckEmptyStructOrEnumVisitor(v).process(),new p.ValidateRecursiveTypes(v).process(),new m.CollectStructAndEnumTypesVisitor(v).process(),new u.ValidateAnnotationsVisitor(v).process()}},3154:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Visitor=r.SemanticError=void 0;const n=a(1942);class h extends Error{}r.SemanticError=h,r.Visitor=class y{constructor(o){this.root=o}process(){for(const o of this.root.errors)this.visit(o);for(const o of this.root.typeDefinitions)this.visit(o);for(const o of this.root.operations)this.visit(o)}visit(o){if(o instanceof n.FunctionOperation){for(const c of o.args)this.visit(c);for(const c of o.fieldsAndSpreads)this.visit(c);this.visit(o.returnType)}else if(o instanceof n.Field||o instanceof n.TypeDefinition)this.visit(o.type);else if(o instanceof n.StructType){for(const c of o.fields)this.visit(c);for(const c of o.fieldsAndSpreads)this.visit(c)}else if(o instanceof n.EnumType)for(const c of o.values)this.visit(c);else o instanceof n.EnumValue?o.struct&&this.visit(o.struct):o instanceof n.ArrayType||o instanceof n.OptionalType?this.visit(o.base):o instanceof n.ErrorNode?this.visit(o.dataType):o instanceof n.Spread&&this.visit(o.typeReference)}}},9037:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PrimitiveTypeToken=r.FalseKeywordToken=r.TrueKeywordToken=r.ErrorKeywordToken=r.FnKeywordToken=r.EnumKeywordToken=r.TypeKeywordToken=r.ImportKeywordToken=r.AnnotationToken=r.SpreadSymbolToken=r.CommaSymbolToken=r.ArraySymbolToken=r.OptionalSymbolToken=r.ColonSymbolToken=r.ParensCloseSymbolToken=r.ParensOpenSymbolToken=r.CurlyCloseSymbolToken=r.CurlyOpenSymbolToken=r.ExclamationMarkSymbolToken=r.EqualSymbolToken=r.StringLiteralToken=r.IdentifierToken=r.Token=r.TokenLocation=void 0;class a{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}r.TokenLocation=a;class n{constructor(me=""){this.value=me,this.location=new a,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const me=this.constructor.name.replace("Token","");return""===this.value?me:`${me}(${JSON.stringify(this.value)})`}}r.Token=n;class h extends n{}r.IdentifierToken=h,r.StringLiteralToken=class y extends n{},r.EqualSymbolToken=class d extends n{},r.ExclamationMarkSymbolToken=class o extends n{},r.CurlyOpenSymbolToken=class c extends n{},r.CurlyCloseSymbolToken=class f extends n{},r.ParensOpenSymbolToken=class p extends n{},r.ParensCloseSymbolToken=class m extends n{},r.ColonSymbolToken=class u extends n{},r.OptionalSymbolToken=class _ extends n{},r.ArraySymbolToken=class v extends n{},r.CommaSymbolToken=class b extends n{},r.SpreadSymbolToken=class T extends n{},r.AnnotationToken=class S extends n{},r.ImportKeywordToken=class P extends n{maybeAsIdentifier(){return new h("import")}},r.TypeKeywordToken=class I extends n{maybeAsIdentifier(){return new h("type")}},r.EnumKeywordToken=class V extends n{maybeAsIdentifier(){return new h("enum")}},r.FnKeywordToken=class J extends n{maybeAsIdentifier(){return new h("fn")}},r.ErrorKeywordToken=class Y extends n{maybeAsIdentifier(){return new h("error")}},r.TrueKeywordToken=class X extends n{maybeAsIdentifier(){return new h("true")}},r.FalseKeywordToken=class H extends n{maybeAsIdentifier(){return new h("false")}},r.PrimitiveTypeToken=class oe extends n{maybeAsIdentifier(){return new h(this.value)}}},6569:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.primitiveToAstClass=void 0;const n=a(1942);r.primitiveToAstClass=new Map,r.primitiveToAstClass.set("string",n.StringPrimitiveType),r.primitiveToAstClass.set("int",n.IntPrimitiveType),r.primitiveToAstClass.set("uint",n.UIntPrimitiveType),r.primitiveToAstClass.set("date",n.DatePrimitiveType),r.primitiveToAstClass.set("datetime",n.DateTimePrimitiveType),r.primitiveToAstClass.set("float",n.FloatPrimitiveType),r.primitiveToAstClass.set("bigint",n.BigIntPrimitiveType),r.primitiveToAstClass.set("bool",n.BoolPrimitiveType),r.primitiveToAstClass.set("bytes",n.BytesPrimitiveType),r.primitiveToAstClass.set("money",n.MoneyPrimitiveType),r.primitiveToAstClass.set("cpf",n.CpfPrimitiveType),r.primitiveToAstClass.set("cnpj",n.CnpjPrimitiveType),r.primitiveToAstClass.set("email",n.EmailPrimitiveType),r.primitiveToAstClass.set("html",n.HtmlPrimitiveType),r.primitiveToAstClass.set("url",n.UrlPrimitiveType),r.primitiveToAstClass.set("uuid",n.UuidPrimitiveType),r.primitiveToAstClass.set("hex",n.HexPrimitiveType),r.primitiveToAstClass.set("base64",n.Base64PrimitiveType),r.primitiveToAstClass.set("xml",n.XmlPrimitiveType),r.primitiveToAstClass.set("json",n.JsonPrimitiveType),r.primitiveToAstClass.set("void",n.VoidPrimitiveType)},5041:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AppComponent=void 0;const n=a(655),h=a(3075),y=a(7179),d=a(1823),o=a(2863),c=a(7402),f=a(7295),p=a(2911),m=a(4327),u=n.__importStar(a(5e3)),_=n.__importStar(a(6395)),v=n.__importStar(a(2313)),b=n.__importStar(a(3293)),T=n.__importStar(a(107)),S=n.__importStar(a(2253)),P=n.__importStar(a(9808)),I=n.__importStar(a(3251)),V=n.__importStar(a(5585)),J=n.__importStar(a(7423)),Y=n.__importStar(a(7238)),X=n.__importStar(a(4264)),H=n.__importStar(a(7822)),oe=n.__importStar(a(5010));function le(it,vt){1&it&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275text(1,"Editor Avan\xe7ado"),u.\u0275\u0275elementContainerEnd())}function me(it,vt){if(1&it&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"span",20),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&it){const Ge=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate1("\u25b6\xa0",Ge.function,"")}}function De(it,vt){if(1&it){const Ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"span",17),u.\u0275\u0275template(1,le,2,0,"ng-container",18),u.\u0275\u0275template(2,me,3,1,"ng-container",18),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"button",19),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(Ge);const qe=u.\u0275\u0275nextContext().$implicit;return u.\u0275\u0275nextContext(2).closeTab(qe)}),u.\u0275\u0275elementStart(4,"mat-icon"),u.\u0275\u0275text(5,"close"),u.\u0275\u0275elementEnd()()}if(2&it){const Ge=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275property("ngSwitch",Ge.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function be(it,vt){1&it&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-tab-editor"),u.\u0275\u0275elementContainerEnd())}function Z(it,vt){if(1&it&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-simple-call",21),u.\u0275\u0275elementContainerEnd()),2&it){const Ge=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275property("fn",Ge.function)}}function de(it,vt){if(1&it&&(u.\u0275\u0275elementStart(0,"mat-tab"),u.\u0275\u0275template(1,De,6,3,"ng-template",16),u.\u0275\u0275elementContainerStart(2,17),u.\u0275\u0275template(3,be,2,0,"ng-container",18),u.\u0275\u0275template(4,Z,2,1,"ng-container",18),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementEnd()),2&it){const Ge=vt.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitch",Ge.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function z(it,vt){if(1&it){const Ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"button",22),u.\u0275\u0275listener("click",function(){return u.\u0275\u0275restoreView(Ge),u.\u0275\u0275nextContext(2).addAdvancedTab()}),u.\u0275\u0275elementStart(1,"mat-icon"),u.\u0275\u0275text(2,"add_circle"),u.\u0275\u0275elementEnd()()}}function pe(it,vt){if(1&it&&(u.\u0275\u0275elementStart(0,"button",23)(1,"mat-icon"),u.\u0275\u0275text(2,"download"),u.\u0275\u0275elementEnd()()),2&it){u.\u0275\u0275nextContext(2);const Ge=u.\u0275\u0275reference(5);u.\u0275\u0275property("matMenuTriggerFor",Ge)}}function ce(it,vt){if(1&it){const Ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-tab-group",11),u.\u0275\u0275listener("selectedIndexChange",function(qe){return u.\u0275\u0275restoreView(Ge),u.\u0275\u0275nextContext().selected.setValue(qe)}),u.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),u.\u0275\u0275listener("runFunction",function(qe){return u.\u0275\u0275restoreView(Ge),u.\u0275\u0275nextContext().addSimpleTab(qe)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(3,de,5,3,"mat-tab",14),u.\u0275\u0275elementStart(4,"mat-tab",15),u.\u0275\u0275template(5,z,3,0,"ng-template",16),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"mat-tab",15),u.\u0275\u0275template(7,pe,3,1,"ng-template",16),u.\u0275\u0275elementEnd()()}if(2&it){const Ge=u.\u0275\u0275nextContext();u.\u0275\u0275property("selectedIndex",Ge.selected.value),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngForOf",Ge.tabs)}}class Oe{constructor(vt,Ge,pt){this.sdkgen=vt,this.domSanitizer=Ge,this.matIconRegistry=pt,this.selected=new h.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const qe of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(qe,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${qe}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(vt=>{this.state=null!=vt?vt:void 0})}ngOnDestroy(){var vt;null===(vt=this.state$)||void 0===vt||vt.unsubscribe()}addSimpleTab(vt){this.tabs.push({id:this.tabIndex++,function:vt,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(vt){this.tabs.splice(this.tabs.indexOf(vt),1),this.selected.setValue(0)}downloadTarget(vt){if(!this.state)return;let Ge,pt;switch(vt){case"typescript_nodeserver":Ge=(0,p.generateNodeServerSource)(this.state.astRoot),pt="node-server.ts";break;case"typescript_nodeclient":Ge=(0,p.generateNodeClientSource)(this.state.astRoot),pt="node-client.ts";break;case"typescript_web":Ge=(0,p.generateBrowserClientSource)(this.state.astRoot),pt="web-client.ts";break;case"typescript_interfaces":Ge=(0,p.generateTypescriptInterfaces)(this.state.astRoot),pt="interfaces.ts";break;case"flutter":Ge=(0,d.generateDartClientSource)(this.state.astRoot),pt="flutter-client.dart";break;case"csharp_server":Ge=(0,y.generateCSharpServerSource)(this.state.astRoot),pt="csharp-server.cs";break;case"fsharp_server":Ge=(0,o.generateFSharpServerSource)(this.state.astRoot),pt="fsharp-server.fs";break;case"kotlin_android":Ge=(0,c.generateAndroidClientSource)(this.state.astRoot,!0),pt="android-client.kt";break;case"kotlin_android_without_callbacks":Ge=(0,c.generateAndroidClientSource)(this.state.astRoot,!1),pt="android-client-no-callbacks.kt";break;case"swift_ios":Ge=(0,f.generateSwiftClientSource)(this.state.astRoot,!1),pt="ios-client.swift";break;case"rxswift_ios":Ge=(0,f.generateSwiftClientSource)(this.state.astRoot,!0),pt="ios-client-rx.swift"}(0,m.saveAs)(new Blob([Ge],{type:"application/octet-stream"}),pt)}}r.AppComponent=Oe,Oe.\u0275fac=function(vt){return new(vt||Oe)(u.\u0275\u0275directiveInject(_.SdkgenService),u.\u0275\u0275directiveInject(v.DomSanitizer),u.\u0275\u0275directiveInject(b.MatIconRegistry))},Oe.\u0275cmp=u.\u0275\u0275defineComponent({type:Oe,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms",3,"selectedIndex","selectedIndexChange",4,"ngIf"],["downloadMenu","matMenu"],["id","download-menu-size-flow"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click"],["svgIcon","typescript"],["svgIcon","dart"],["svgIcon","kotlin"],["svgIcon","swift"],["svgIcon","dot-net"],["id","main-tabs","animationDuration","150ms",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled",""],["mat-tab-label",""],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","matTooltip","Fechar aba",3,"click"],[1,"mono","tt-none"],[3,"fn"],["mat-icon-button","","matTooltip","Nova aba de editor avan\xe7ado",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(vt,Ge){1&vt&&(u.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),u.\u0275\u0275template(2,ce,8,2,"mat-tab-group",1),u.\u0275\u0275pipe(3,"async"),u.\u0275\u0275elementStart(4,"mat-menu",null,2),u.\u0275\u0275element(6,"div",3),u.\u0275\u0275elementStart(7,"button",4),u.\u0275\u0275text(8,"Cliente"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("typescript_nodeclient")}),u.\u0275\u0275element(10,"mat-icon",6),u.\u0275\u0275text(11,"Node.js"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(12,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("typescript_web")}),u.\u0275\u0275element(13,"mat-icon",6),u.\u0275\u0275text(14,"Web"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(15,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("flutter")}),u.\u0275\u0275element(16,"mat-icon",7),u.\u0275\u0275text(17,"Flutter"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(18,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("kotlin_android")}),u.\u0275\u0275element(19,"mat-icon",8),u.\u0275\u0275text(20,"Android"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(21,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("kotlin_android_without_callbacks")}),u.\u0275\u0275element(22,"mat-icon",8),u.\u0275\u0275text(23,"Android (sem callbacks)"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(24,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("swift_ios")}),u.\u0275\u0275element(25,"mat-icon",9),u.\u0275\u0275text(26,"iOS"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(27,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("rxswift_ios")}),u.\u0275\u0275element(28,"mat-icon",9),u.\u0275\u0275text(29,"iOS (Rx)"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(30,"button",4),u.\u0275\u0275text(31,"Servidor"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(32,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("typescript_nodeserver")}),u.\u0275\u0275element(33,"mat-icon",6),u.\u0275\u0275text(34,"Node.js"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(35,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("csharp_server")}),u.\u0275\u0275element(36,"mat-icon",10),u.\u0275\u0275text(37,"C#"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(38,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("fsharp_server")}),u.\u0275\u0275element(39,"mat-icon",10),u.\u0275\u0275text(40,"F#"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(41,"button",4),u.\u0275\u0275text(42,"Outros"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(43,"button",5),u.\u0275\u0275listener("click",function(){return Ge.downloadTarget("typescript_interfaces")}),u.\u0275\u0275element(44,"mat-icon",6),u.\u0275\u0275text(45,"Interfaces"),u.\u0275\u0275elementEnd()()),2&vt&&(u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",u.\u0275\u0275pipeBind1(3,1,Ge.sdkgen.state$)))},directives:[T.MonacoEditorComponent,S.TabNavComponent,P.NgIf,I.MatTabGroup,I.MatTab,V.TabHomeComponent,P.NgForOf,I.MatTabLabel,P.NgSwitch,P.NgSwitchCase,J.MatButton,Y.MatTooltip,b.MatIcon,X.TabEditorComponent,H.SimpleCallComponent,oe.MatMenuTrigger,oe.MatMenu,oe.MatMenuItem],pipes:[P.AsyncPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} #main-tabs>.mat-tab-header .mat-tab-label{text-transform:uppercase;-webkit-user-select:none;user-select:none} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0){padding-right:0} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0) button{border-radius:0;display:inline-block;margin-left:10px} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2){min-width:0;padding:0 12px;color:unset;opacity:unset} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2) button{margin-left:0!important} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child{margin-left:auto} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child button{padding:0 5px!important;display:block;box-sizing:content-box;margin-right:5px!important} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})},6747:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AppModule=void 0;const n=a(655),h=a(6529),y=a(3075),d=a(7423),o=a(9417),c=a(508),f=a(2339),p=a(3293),m=a(5010),u=a(4999),_=a(3251),v=a(7238),b=a(2313),T=a(6360),S=a(107),P=a(1430),I=a(5109),V=a(2290),J=a(5041),Y=n.__importStar(a(5e3));n.__importStar(a(2290));class H{}r.AppModule=H,H.\u0275fac=function(le){return new(le||H)},H.\u0275mod=Y.\u0275\u0275defineNgModule({type:H,bootstrap:[J.AppComponent]}),H.\u0275inj=Y.\u0275\u0275defineInjector({providers:[{provide:S.MONACO_PATH,useValue:"assets/vs"}],imports:[[b.BrowserModule,y.FormsModule,y.ReactiveFormsModule,S.MonacoEditorModule,T.BrowserAnimationsModule,I.NgxJsonViewerModule,V.ToastrModule.forRoot(),P.AngularSplitModule,h.HttpClientModule,d.MatButtonModule,o.MatChipsModule,f.MatDialogModule,p.MatIconModule,m.MatMenuModule,c.MatRippleModule,u.MatTableModule,_.MatTabsModule,v.MatTooltipModule]]})},8495:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ConsoleComponent=void 0;const n=a(655),h=a(9972),y=n.__importStar(a(5e3)),d=n.__importStar(a(7423)),o=n.__importStar(a(3293)),c=n.__importStar(a(9808)),f=n.__importStar(a(5109));function p(T,S){1&T&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"info_outline"),y.\u0275\u0275elementContainerEnd())}function m(T,S){1&T&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"error"),y.\u0275\u0275elementContainerEnd())}function u(T,S){1&T&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"public"),y.\u0275\u0275elementContainerEnd())}function _(T,S){if(1&T&&y.\u0275\u0275element(0,"ngx-json-viewer",6),2&T){const P=y.\u0275\u0275nextContext().$implicit;y.\u0275\u0275property("json",P.details)("expanded",!1)}}function v(T,S){if(1&T&&(y.\u0275\u0275elementStart(0,"li",2)(1,"mat-icon",3),y.\u0275\u0275template(2,p,2,0,"ng-container",4),y.\u0275\u0275template(3,m,2,0,"ng-container",4),y.\u0275\u0275template(4,u,2,0,"ng-container",4),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(5,"span"),y.\u0275\u0275text(6),y.\u0275\u0275elementEnd(),y.\u0275\u0275template(7,_,1,2,"ngx-json-viewer",5),y.\u0275\u0275elementEnd()),2&T){const P=S.$implicit,I=y.\u0275\u0275nextContext();y.\u0275\u0275property("ngClass",P.type),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitch",P.type)("ngClass",P.type),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",I.itemTypes.INFO),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",I.itemTypes.ERROR),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",I.itemTypes.NETWORK),y.\u0275\u0275advance(2),y.\u0275\u0275textInterpolate(P.message),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngIf",P.details)}}class b{constructor(){this.itemTypes=h.ConsoleItemType,this.items=[]}}r.ConsoleComponent=b,b.\u0275fac=function(S){return new(S||b)},b.\u0275cmp=y.\u0275\u0275defineComponent({type:b,selectors:[["app-console"]],inputs:{items:"items"},decls:9,vars:1,consts:[["mat-icon-button","",3,"click"],["class","console-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"console-item",3,"ngClass"],[3,"ngSwitch","ngClass"],[4,"ngSwitchCase"],[3,"json","expanded",4,"ngIf"],[3,"json","expanded"]],template:function(S,P){1&S&&(y.\u0275\u0275elementStart(0,"header")(1,"strong"),y.\u0275\u0275text(2,"CONSOLE"),y.\u0275\u0275elementEnd(),y.\u0275\u0275element(3,"s"),y.\u0275\u0275elementStart(4,"button",0),y.\u0275\u0275listener("click",function(){return P.items.splice(0,P.items.length)}),y.\u0275\u0275elementStart(5,"mat-icon"),y.\u0275\u0275text(6,"delete"),y.\u0275\u0275elementEnd()()(),y.\u0275\u0275elementStart(7,"ul"),y.\u0275\u0275template(8,v,8,8,"li",1),y.\u0275\u0275elementEnd()),2&S&&(y.\u0275\u0275advance(8),y.\u0275\u0275property("ngForOf",P.items))},directives:[d.MatButton,o.MatIcon,c.NgForOf,c.NgClass,c.NgSwitch,c.NgSwitchCase,c.NgIf,f.NgxJsonViewerComponent],styles:["[_nghost-%COMP%]{display:block;height:100%;text-align:left;overflow-y:scroll;box-sizing:border-box}header[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:sticky;top:0;background:#1E1E1E;border-bottom:1px solid #444444;padding:5px 0;z-index:2}header[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin:0 10px;text-transform:uppercase;font-weight:200;color:#e7e7e7;border-bottom:1px solid #e7e7e7;line-height:27px;font-size:11pt;align-self:center}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}ul[_ngcontent-%COMP%]{padding:0;margin:0;box-sizing:border-box}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none;display:block;width:100%;height:auto;padding:5px 10px;font-size:1rem;border-bottom:1px solid #444444;background-color:#111;word-break:break-all;box-sizing:border-box;word-wrap:break-word;font-family:monospace}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;vertical-align:text-bottom}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;vertical-align:sub;margin-right:7.5px;-webkit-user-select:none;user-select:none}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#b9b9bb}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#ff3b6b}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_recv[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_send[_ngcontent-%COMP%]{color:#939395}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#0000004d}ul[_ngcontent-%COMP%] > li.error[_ngcontent-%COMP%]{color:#e69fa3;background-color:#4b2f36}"]})},9972:(G,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.ConsoleItemType=void 0,(n=r.ConsoleItemType||(r.ConsoleItemType={})).INFO="info",n.ERROR="error",n.NETWORK="network"},4814:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DialogAboutComponent=void 0;const n=a(655),h=a(4147),y=n.__importStar(a(5e3)),d=n.__importStar(a(2339)),o=n.__importStar(a(9417)),c=n.__importStar(a(7423)),f=n.__importStar(a(3293)),p=n.__importStar(a(9808));function m(_,v){if(1&_&&(y.\u0275\u0275elementStart(0,"a",6)(1,"mat-chip",2)(2,"span",7),y.\u0275\u0275text(3),y.\u0275\u0275elementEnd(),y.\u0275\u0275element(4,"s"),y.\u0275\u0275elementStart(5,"span",8),y.\u0275\u0275text(6),y.\u0275\u0275elementEnd()()()),2&_){const b=v.$implicit;y.\u0275\u0275property("href","https://www.npmjs.com/package/"+b[0]+"/v/"+b[1],y.\u0275\u0275sanitizeUrl),y.\u0275\u0275advance(1),y.\u0275\u0275property("disableRipple",!0),y.\u0275\u0275advance(2),y.\u0275\u0275textInterpolate(b[0]),y.\u0275\u0275advance(3),y.\u0275\u0275textInterpolate(b[1])}}class u{constructor(){this.version=h.version,this.dependencies=Object.entries(h.devDependencies).filter(([v])=>v.startsWith("@sdkgen"))}}r.DialogAboutComponent=u,u.\u0275fac=function(v){return new(v||u)},u.\u0275cmp=y.\u0275\u0275defineComponent({type:u,selectors:[["app-dialog-about"]],decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"selectable"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],[1,"mat-chip-list-stacked",3,"selectable"],["target","_blank","rel","external noopener noreferrer",3,"href",4,"ngFor","ngForOf"],["target","_blank","rel","external noopener noreferrer",3,"href"],[1,"dependency-name"],[1,"dependency-version"]],template:function(v,b){1&v&&(y.\u0275\u0275elementStart(0,"header")(1,"h1",0),y.\u0275\u0275text(2,"sdkgen Playground"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(3,"mat-chip-list",1)(4,"mat-chip",2),y.\u0275\u0275text(5),y.\u0275\u0275elementEnd()(),y.\u0275\u0275element(6,"s"),y.\u0275\u0275elementStart(7,"button",3)(8,"mat-icon"),y.\u0275\u0275text(9,"close"),y.\u0275\u0275elementEnd()()(),y.\u0275\u0275elementStart(10,"p"),y.\u0275\u0275text(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(12,"section")(13,"h4"),y.\u0275\u0275text(14,"Depend\xeancias"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(15,"mat-chip-list",4),y.\u0275\u0275template(16,m,7,4,"a",5),y.\u0275\u0275elementEnd()()),2&v&&(y.\u0275\u0275advance(3),y.\u0275\u0275property("selectable",!1),y.\u0275\u0275advance(1),y.\u0275\u0275property("disableRipple",!0),y.\u0275\u0275advance(1),y.\u0275\u0275textInterpolate(b.version),y.\u0275\u0275advance(10),y.\u0275\u0275property("selectable",!1),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngForOf",b.dependencies))},directives:[d.MatDialogTitle,o.MatChipList,o.MatChip,c.MatButton,d.MatDialogClose,f.MatIcon,p.NgForOf],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:5px}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], header[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline;align-self:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 10px 0 0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:500}section[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%}section[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{padding:0;overflow:hidden;cursor:pointer}section[_ngcontent-%COMP%] .dependency-name[_ngcontent-%COMP%]{padding:7px 12px}section[_ngcontent-%COMP%] .dependency-version[_ngcontent-%COMP%]{float:right;background:rgba(0,0,0,.15);padding:7px 12px;height:100%}"]})},4211:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FilterPipe=void 0;const h=a(655).__importStar(a(5e3));class y{transform(o,c){if(!o)return[];if(!c)return o;const f=c.toLocaleLowerCase();return o.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(f))}}r.FilterPipe=y,y.\u0275fac=function(o){return new(o||y)},y.\u0275pipe=h.\u0275\u0275definePipe({name:"appFilter",type:y,pure:!0})},7120:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ResponsiveService=void 0;const n=a(655),h=n.__importStar(a(5e3)),y=n.__importStar(a(5113));class d{constructor(c){this.observer=c}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}}r.ResponsiveService=d,d.\u0275fac=function(c){return new(c||d)(h.\u0275\u0275inject(y.BreakpointObserver))},d.\u0275prov=h.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"})},9435:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getTypeDoc=r.getTypeLabels=r.getConstructorName=r.primitiveTypesExamples=r.primitiveTypes=void 0;const n=a(6676),h=a(6395);function y(c){switch(c.constructor){case n.StringPrimitiveType:return"StringPrimitiveType";case n.IntPrimitiveType:return"IntPrimitiveType";case n.UIntPrimitiveType:return"UIntPrimitiveType";case n.FloatPrimitiveType:return"FloatPrimitiveType";case n.BigIntPrimitiveType:return"BigIntPrimitiveType";case n.MoneyPrimitiveType:return"MoneyPrimitiveType";case n.DatePrimitiveType:return"DatePrimitiveType";case n.DateTimePrimitiveType:return"DateTimePrimitiveType";case n.BoolPrimitiveType:return"BoolPrimitiveType";case n.VoidPrimitiveType:return"VoidPrimitiveType";case n.CpfPrimitiveType:return"CpfPrimitiveType";case n.CnpjPrimitiveType:return"CnpjPrimitiveType";case n.EmailPrimitiveType:return"EmailPrimitiveType";case n.UrlPrimitiveType:return"UrlPrimitiveType";case n.UuidPrimitiveType:return"UuidPrimitiveType";case n.HexPrimitiveType:return"HexPrimitiveType";case n.HtmlPrimitiveType:return"HtmlPrimitiveType";case n.BytesPrimitiveType:return"BytesPrimitiveType";case n.Base64PrimitiveType:return"Base64PrimitiveType";case n.XmlPrimitiveType:return"XmlPrimitiveType";case n.JsonPrimitiveType:return"JsonPrimitiveType";case n.OptionalType:return"OptionalType";case n.EnumType:return"EnumType";case n.ArrayType:return"ArrayType";case n.StructType:return"StructType";default:return c.constructor.name}}r.primitiveTypes={StringPrimitiveType:"Um texto livre, potencialmente de m\xfaltiplas linhas, codificado como UTF-8.",IntPrimitiveType:"Um n\xfamero inteiro de 32 bits, no intervalo de -2147483648 at\xe9 2147483647.",UIntPrimitiveType:"Um n\xfamero inteiro n\xe3o negativo, no intervalo de 0 at\xe9 4294967295.",FloatPrimitiveType:"Um n\xfamero de ponto flutuante de 64 bits, similar ao double do C.",BigIntPrimitiveType:"Um n\xfamero inteiro sem limite de precis\xe3o. Na maioria das plataformas este tipo \xe9 mais custoso.",MoneyPrimitiveType:"Um n\xfamero inteiro com precis\xe3o estendida, mas perform\xe1tico. Est\xe1 no intervalo de -9007199254740991 a 9007199254740991. \xdatil para opera\xe7\xf5es financeiras",DatePrimitiveType:"Representa conceitualmente uma data do calend\xe1rio Gregoriano. Essa mesma data pode representar diferentes momento no tempo a depender da timezone. Para especificar um ponto no tempo utilize datetime.",DateTimePrimitiveType:"Representa um instante no tempo com precis\xe3o de milissegundos. Este instante ser\xe1 sempre traduzido para o fuso hor\xe1rio local do recebedor da mensagem.",BoolPrimitiveType:"Ou true ou false.",VoidPrimitiveType:"Tipo vazio, sem conte\xfado.",CpfPrimitiveType:"Similar a uma string, mas contendo um CPF v\xe1lido.",CnpjPrimitiveType:"Similar a uma string, mas contendo um CNPJ v\xe1lido.",EmailPrimitiveType:"Similar a uma string, mas contendo um e-mail v\xe1lido.",UrlPrimitiveType:"Similar a uma string, mas contendo uma URL v\xe1lida.",UuidPrimitiveType:"Similar a uma string, mas contendo um UUID v\xe1lido.",HexPrimitiveType:"Similar a uma string, mas contendo uma quantidade par de caracteres hexadecimais, \xfatil para representar bytes.",HtmlPrimitiveType:"Similar a uma string, mas contendo um HTML v\xe1lido.",BytesPrimitiveType:"Uma sequ\xeancia arbitr\xe1ria de bytes de qualquer comprimento. Pode ser utilizado para tr\xe1fego de dados bin\xe1rios.",Base64PrimitiveType:"Similar a uma string, mas necessariamente com uma codifica\xe7\xe3o Base 64 v\xe1lida.",XmlPrimitiveType:"Similar a uma string, mas contendo um XML v\xe1lido.",JsonPrimitiveType:"Um valor JSON qualquer, incluindo objetos, arrays, strings, n\xfameros e boleanos, em qualquer profundidade. Note que embora null possa aparecer dentro de um objeto ou array, o valor deste campo n\xe3o pode ser null diretamente. Para isso utilize json?."},r.primitiveTypesExamples={StringPrimitiveType:["","lorem ipsum","strings podem conter caracteres especiais \u{1f609}"],IntPrimitiveType:["0","6725082065","-3096576054"],UIntPrimitiveType:["0","1","340953460"],FloatPrimitiveType:["0.0","1.050654","-3454.6396854"],BigIntPrimitiveType:["87175082235506108544888893172310","0","1"],MoneyPrimitiveType:["100","-450954636342","121611633162977184630315"],DatePrimitiveType:["2020-01-01","1950-04-15","2194-12-31"],DateTimePrimitiveType:["2020-01-01T00:00:00.000","1950-04-15T02:11:58.892","2194-12-31T23:31:58.491"],BoolPrimitiveType:["true","false"],CpfPrimitiveType:["000.000.001-91","00000000191","000.000.002-72"],CnpjPrimitiveType:["00.000.000/0001-91","00000000000191","00.000.000/0002-72"],EmailPrimitiveType:["sample@example.com","root@localhost","test+label@10.0.0.5"],UrlPrimitiveType:["https://sdkgen.github.io/","https://goo.gl/maps/gUaKGTqR8BHXfX7b7","http://jobs.cubos.io"],UuidPrimitiveType:["c12c3329-c558-4c76-9a16-0efeb2b01605","00000000-0000-0000-0000-000000000000","1d5f2ef6-0def-11ec-82a8-0242ac130003"],HexPrimitiveType:["00","6375626f73","73646b67656e20706c617967726f756e64"],HtmlPrimitiveType:["<html><body><p>sdkgen</p></body></html>","<html><h1>Sdkgen","<script> alert('Hello world!'); <\/script>"],BytesPrimitiveType:[],Base64PrimitiveType:["Y3Vib3M=","c2RrZ2Vu","c2RrZ2VuIHBsYXlncm91bmQ="],XmlPrimitiveType:["<items><item>something</item></items>","<list />",'<?xml version="1.0" encoding="UTF-8"?><resposta><![CDATA[ol\xe1 <xml>]]></resposta>'],JsonPrimitiveType:["{}",'{"sdkgen":"playground"}','{"type":"json","items":[1,2,3],"some":null}']},r.getConstructorName=y,r.getTypeLabels=function d(c){const f=[];switch(c.constructor){case n.StringPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.FloatPrimitiveType:case n.BigIntPrimitiveType:case n.MoneyPrimitiveType:case n.DatePrimitiveType:case n.DateTimePrimitiveType:case n.BoolPrimitiveType:case n.VoidPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.HtmlPrimitiveType:case n.BytesPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.JsonPrimitiveType:f.push("Primitivo");break;case n.OptionalType:f.push("Opcional"),f.push(...d(c.base));break;case n.TypeReference:f.push(...d(c.type));break;case n.ArrayType:f.push("Array"),f.push(...d(c.base));break;case n.EnumType:f.push("Enum");break;default:console.error("No labels for",y(c))}return f},r.getTypeDoc=function o(c){var f,p,m;switch(c.constructor){case n.StringPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.FloatPrimitiveType:case n.BigIntPrimitiveType:case n.MoneyPrimitiveType:case n.DatePrimitiveType:case n.DateTimePrimitiveType:case n.BoolPrimitiveType:case n.VoidPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.HtmlPrimitiveType:case n.BytesPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.JsonPrimitiveType:return{longDescription:r.primitiveTypes[y(c)],shortDescription:r.primitiveTypes[y(c)],examples:r.primitiveTypesExamples[y(c)]};case n.OptionalType:{const b=o(c.base);return Object.assign(Object.assign({},b),{longDescription:b.longDescription,shortDescription:`(opcional) ${b.shortDescription}`,examples:["null",...null!==(f=b.examples)&&void 0!==f?f:[]]})}case n.TypeReference:return o(c.type);case n.ArrayType:{const b=o(c.base);return Object.assign(Object.assign({},b),{longDescription:b.longDescription,shortDescription:`(array) ${b.shortDescription}`,examples:["[]",...null!==(m=null===(p=b.examples)||void 0===p?void 0:p.map(T=>`[${T}]`))&&void 0!==m?m:[]]})}case n.EnumType:const u=c,_=u.values.slice(0,3),v=_.map(b=>b.struct?`${b.value}: ${JSON.stringify((new h.SdkgenService).buildJsonObject(b.struct.fields),null,2)}`:b.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${_.map(b=>`${b.value}${b.struct?"(\u2026)":""}`).join(", ")}${_.length>3?"\u2026":""}`,examples:v,isEnum:!0,isStruct:!0,structFields:u.values.map(b=>{var T;return{name:b.value,type:b.struct,description:null===(T=b.annotations.find(S=>S instanceof n.DescriptionAnnotation))||void 0===T?void 0:T.text,secret:!1}})};case n.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${c.fields.slice(0,3).map(b=>b.name).join(", ")}\u2026`,isStruct:!0,structFields:c.fields.map(b=>{var T;return{name:b.name,description:null===(T=b.annotations.find(S=>S instanceof n.DescriptionAnnotation))||void 0===T?void 0:T.text,type:b.type,secret:b.secret}}),examples:[JSON.stringify((new h.SdkgenService).buildJsonObject(c.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},6395:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SdkgenService=void 0;const tslib_1=__webpack_require__(655),browser_runtime_1=__webpack_require__(4539),parser_1=__webpack_require__(6676),rxjs_1=__webpack_require__(6477),i0=tslib_1.__importStar(__webpack_require__(5e3));class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(G,r=new Set){const a=n=>{switch(n.constructor){case parser_1.StringPrimitiveType:return"";case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DatePrimitiveType:return(new Date).toJSON().substring(0,10);case parser_1.DateTimePrimitiveType:return(new Date).toJSON().substring(0,23);case parser_1.BoolPrimitiveType:return Math.random()>.5;case parser_1.VoidPrimitiveType:return null;case parser_1.CpfPrimitiveType:return"000.000.001-91";case parser_1.CnpjPrimitiveType:return"00.000.001/0001-91";case parser_1.EmailPrimitiveType:return"joao@acme.com";case parser_1.UrlPrimitiveType:return"https://www.google.com/";case parser_1.UuidPrimitiveType:return"00000000-0000-0000-0000-000000000000";case parser_1.HexPrimitiveType:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case parser_1.HtmlPrimitiveType:return"<h1>Hello world!</h1>";case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return"0a=";case parser_1.XmlPrimitiveType:return"<xml></xml>";case parser_1.JsonPrimitiveType:return{};case parser_1.StructType:return r.has(n.name)?{}:this.buildJsonObject(n.fields,new Set([...r,n.name]));case parser_1.OptionalType:return null;case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:return[a(n.base),a(n.base),a(n.base)];case parser_1.EnumType:return n.values[0].value;default:return null}};return G.reduce((n,h)=>(n[h.name]=a(h.type),n),{})}getTypeScriptCode(G,r){return`await client.${G}(${JSON.stringify(r,null,2)});\n`}buildKotlinString(G,r=0){const a=n=>{switch(n.constructor){case parser_1.StringPrimitiveType:return'""';case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DatePrimitiveType:case parser_1.DateTimePrimitiveType:return"Calendar.getInstance()";case parser_1.BoolPrimitiveType:return Math.random()>.5?"true":"false";case parser_1.VoidPrimitiveType:return"null";case parser_1.CpfPrimitiveType:return'"000.000.001-91"';case parser_1.CnpjPrimitiveType:return'"00.000.001/0001-91"';case parser_1.EmailPrimitiveType:return'"joao@acme.com"';case parser_1.UrlPrimitiveType:return'"https://www.google.com/"';case parser_1.UuidPrimitiveType:return'"00000000-0000-0000-0000-000000000000"';case parser_1.HexPrimitiveType:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case parser_1.HtmlPrimitiveType:return'"<h1>Hello world!</h1>"';case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return'"0a="';case parser_1.XmlPrimitiveType:return'"<xml></xml>"';case parser_1.JsonPrimitiveType:return"json {}";case parser_1.StructType:return`${n.name}(\n${this.buildKotlinString(n.fields,r+1)}\n${" ".repeat(r+1)})`;case parser_1.OptionalType:return"null";case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:r++;const h=a(n.base);return r--,`arrayOf(\n${" ".repeat(r+2)}${h},\n${" ".repeat(r+2)}${h}\n${" ".repeat(r+1)})`;case parser_1.EnumType:return`"${n.values[0].value}"`;default:return"<>()"}};return G.map(n=>`${" ".repeat(r+1)}${a(n.type)}`).join(",\n")}getKotlinCode(G,r){return 0===r.length?`client.${G}().await();`:`client.${G}(\n${this.buildKotlinString(r)}\n).await();`}getDartCode(G,r){return'print("todo");'}getSwiftCode(G,r){return'print("todo");'}getSdkgenClient(url,ast){const errorFns=ast.errors.reduce((acc,cur)=>{function errorClass(type,base){return eval(`(\n (sup) => class ${type} extends sup {\n type = "${type}";\n message = "";\n ${base===browser_runtime_1.SdkgenErrorWithData?"data = null;":""}\n\n constructor(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""}) {\n super(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""});\n this.message = message;\n ${base===browser_runtime_1.SdkgenErrorWithData?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,browser_runtime_1.SdkgenError):acc[cur[0]]=errorClass(cur[0],browser_runtime_1.SdkgenErrorWithData),acc},{}),clientInstance=new browser_runtime_1.SdkgenHttpClient(url,ast,errorFns);return new Proxy(clientInstance,{get:(G,r)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(r.toString())?clientInstance[r.toString()]:function(){var a=_asyncToGenerator(function*(n){return clientInstance.makeRequest(r.toString(),n)});return function(n){return a.apply(this,arguments)}}()})}}exports.SdkgenService=SdkgenService,SdkgenService.\u0275fac=function G(r){return new(r||SdkgenService)},SdkgenService.\u0275prov=i0.\u0275\u0275defineInjectable({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})},7822:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SimpleCallComponent=void 0;const tslib_1=__webpack_require__(655),forms_1=__webpack_require__(3075),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=tslib_1.__importStar(__webpack_require__(5e3)),i1=tslib_1.__importStar(__webpack_require__(6395)),i2=tslib_1.__importStar(__webpack_require__(1430)),i3=tslib_1.__importStar(__webpack_require__(3251)),i4=tslib_1.__importStar(__webpack_require__(7423)),i5=tslib_1.__importStar(__webpack_require__(3293)),i6=tslib_1.__importStar(__webpack_require__(107)),i7=tslib_1.__importStar(__webpack_require__(3075)),i8=tslib_1.__importStar(__webpack_require__(5109)),i9=tslib_1.__importStar(__webpack_require__(8495));class SimpleCallComponent{constructor(G){this.sdkgen=G,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(G=>{!G||(this.generateFunctionCode(G.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(G.url,G.astJson))})}ngOnDestroy(){var G;null===(G=this.state$)||void 0===G||G.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){{const events=_this.consoleItems;eval(code_execution_1.wrapper)}const exec=_this.client[_this.fn](JSON.parse(_this.code));try{_this.response={result:yield exec}}catch(G){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:G.toString()}),delete G.toString,_this.response={error:{type:G.type,message:G.message,data:G.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(1)}})()}generateFunctionCode(G,r){var a;const n=null===(a=G.operations.find(h=>h.name===r))||void 0===a?void 0:a.args;n&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(n),null,2))}}exports.SimpleCallComponent=SimpleCallComponent,SimpleCallComponent.\u0275fac=function G(r){return new(r||SimpleCallComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},SimpleCallComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:12,vars:7,consts:[["direction","vertical"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"click"],[3,"options","ngModel","ngModelChange"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function G(r,a){1&r&&(i0.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),i0.\u0275\u0275listener("selectedIndexChange",function(h){return a.selected.setValue(h)}),i0.\u0275\u0275elementStart(3,"mat-tab",2)(4,"button",3),i0.\u0275\u0275listener("click",function(){return a.run()}),i0.\u0275\u0275elementStart(5,"mat-icon"),i0.\u0275\u0275text(6,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(7,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(h){return a.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(8,"mat-tab",5),i0.\u0275\u0275element(9,"ngx-json-viewer",6),i0.\u0275\u0275elementEnd()()(),i0.\u0275\u0275elementStart(10,"as-split-area",7),i0.\u0275\u0275element(11,"app-console",8),i0.\u0275\u0275elementEnd()()),2&r&&(i0.\u0275\u0275advance(2),i0.\u0275\u0275property("selectedIndex",a.selected.value),i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("disabled",!a.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("json",a.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",a.consoleItems))},directives:[i2.SplitComponent,i2.SplitAreaDirective,i3.MatTabGroup,i3.MatTab,i4.MatButton,i5.MatIcon,i6.MonacoEditorComponent,i7.NgControlStatus,i7.NgModel,i8.NgxJsonViewerComponent,i9.ConsoleComponent],styles:["[_nghost-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%]{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden!important}mat-tab-group[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%}"]})},4264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(8926).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabEditorComponent=void 0;const tslib_1=__webpack_require__(655),typescript_generator_1=__webpack_require__(2911),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=tslib_1.__importStar(__webpack_require__(5e3)),i1=tslib_1.__importStar(__webpack_require__(6395)),i2=tslib_1.__importStar(__webpack_require__(7423)),i3=tslib_1.__importStar(__webpack_require__(3293)),i4=tslib_1.__importStar(__webpack_require__(1430)),i5=tslib_1.__importStar(__webpack_require__(107)),i6=tslib_1.__importStar(__webpack_require__(3075)),i7=tslib_1.__importStar(__webpack_require__(8495));class TabEditorComponent{constructor(G){this.sdkgen=G,this.code="",this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:console_types_1.ConsoleItemType.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(G=>{if(!G)return;const r=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(G.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(G.url,G.astJson),monaco.languages.typescript.typescriptDefaults.getCompilerOptions().target=monaco.languages.typescript.ScriptTarget.ESNext,monaco.languages.typescript.typescriptDefaults.getCompilerOptions().module=monaco.languages.typescript.ModuleKind.ESNext,monaco.languages.typescript.typescriptDefaults.getDiagnosticsOptions().diagnosticCodesToIgnore=[1375];const a=monaco.editor.getModels().find(h=>h.uri.toString().endsWith("client.d.ts"));a?a.setValue(r):monaco.editor.createModel(r,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[n]=G.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){var G;null===(G=this.state$)||void 0===G||G.unsubscribe()}patchBrowserClientSource(G){return`declare namespace sdkgen {\n${G.substring(95,G.indexOf("const errClasses")).replace(/ extends SdkgenError/g," extends Error").replace(/ extends SdkgenHttpClient/g,"").replace(/{ return this.makeRequest\(.*$/gm,"").replace(/ {\n {8}super\(baseUrl, astJson, errClasses\);\n {4}}/g,"").replace("constructor(","\n baseUrl: string;\n extra = new Map<string, any>();\n successHook: (result: any, name: string, args: any) => void = () => undefined;\n errorHook: (result: any, name: string, args: any) => void = () => undefined;\n async makeRequest(functionName: string, args: unknown): Promise<any>;\n \nconstructor(")}\n}\n`}run(){var _this=this;return _asyncToGenerator(function*(){try{yield eval(`\n (async (client, events) => {\n ${code_execution_1.wrapper}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(code_execution_1.unwrap))}catch(G){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:G.toString()})}})()}}exports.TabEditorComponent=TabEditorComponent,TabEditorComponent.\u0275fac=function G(r){return new(r||TabEditorComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},TabEditorComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:4,consts:[["mat-fab","",1,"run-fab",3,"click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function G(r,a){1&r&&(i0.\u0275\u0275elementStart(0,"button",0),i0.\u0275\u0275listener("click",function(){return a.run()}),i0.\u0275\u0275elementStart(1,"mat-icon"),i0.\u0275\u0275text(2,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),i0.\u0275\u0275listener("ngModelChange",function(h){return a.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(6,"as-split-area",4),i0.\u0275\u0275element(7,"app-console",5),i0.\u0275\u0275elementEnd()()),2&r&&(i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",a.consoleItems))},directives:[i2.MatButton,i3.MatIcon,i4.SplitComponent,i4.SplitAreaDirective,i5.MonacoEditorComponent,i6.NgControlStatus,i6.NgModel,i7.ConsoleComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 4px);margin-top:4px} .scroll-decoration{display:none}.o-hidden[_ngcontent-%COMP%]{overflow:hidden!important}"]})},5585:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TabHomeComponent=void 0;const n=a(655),h=a(5e3),y=a(9435),d=a(5281),o=n.__importStar(a(5e3)),c=n.__importStar(a(6395)),f=n.__importStar(a(2339)),p=n.__importStar(a(7120)),m=n.__importStar(a(1430)),u=n.__importStar(a(3075)),_=n.__importStar(a(9808)),v=n.__importStar(a(7238)),b=n.__importStar(a(7423)),T=n.__importStar(a(3293)),S=n.__importStar(a(9417)),P=n.__importStar(a(4999)),I=n.__importStar(a(3251)),V=n.__importStar(a(107)),J=n.__importStar(a(4211));function Y(Qe,xe){if(1&Qe&&(o.\u0275\u0275elementStart(0,"span",8),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Qe){const L=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(L.description)}}const X=function(Qe){return{active:Qe}};function H(Qe,xe){if(1&Qe){const L=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"li",5),o.\u0275\u0275listener("click",function(){const Je=o.\u0275\u0275restoreView(L).$implicit;return o.\u0275\u0275nextContext().selectedFunction=Je}),o.\u0275\u0275elementStart(1,"span",6),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275template(3,Y,2,1,"span",7),o.\u0275\u0275elementEnd()}if(2&Qe){const L=xe.$implicit,ve=o.\u0275\u0275nextContext();o.\u0275\u0275property("ngClass",o.\u0275\u0275pureFunction1(3,X,(null==ve.selectedFunction?null:ve.selectedFunction.name)===L.name)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(L.name),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",L.description)}}function oe(Qe,xe){1&Qe&&o.\u0275\u0275element(0,"span")}function le(Qe,xe){if(1&Qe){const L=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"span"),o.\u0275\u0275element(1,"br"),o.\u0275\u0275text(2,"\xa0\xa0"),o.\u0275\u0275elementStart(3,"span",37),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"span",14),o.\u0275\u0275text(6,":"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(7,"\xa0"),o.\u0275\u0275elementStart(8,"u",15),o.\u0275\u0275listener("click",function(){const Je=o.\u0275\u0275restoreView(L).$implicit;return o.\u0275\u0275nextContext(2).showDocumentation(Je.rawType)}),o.\u0275\u0275text(9),o.\u0275\u0275elementEnd(),o.\u0275\u0275template(10,oe,1,0,"span",38),o.\u0275\u0275elementEnd()}if(2&Qe){const L=xe.$implicit,ve=xe.index;o.\u0275\u0275nextContext();const Fe=o.\u0275\u0275reference(18),Je=o.\u0275\u0275reference(20),ot=o.\u0275\u0275nextContext();o.\u0275\u0275advance(4),o.\u0275\u0275textInterpolate(L.name),o.\u0275\u0275advance(4),o.\u0275\u0275property("matTooltip",ot.getTooltip(L.rawType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(L.type),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",ve!=ot.selectedFunction.args.length-1)("ngIfThen",Fe)("ngIfElse",Je)}}function me(Qe,xe){1&Qe&&o.\u0275\u0275text(0,",")}function De(Qe,xe){1&Qe&&o.\u0275\u0275element(0,"br")}function be(Qe,xe){if(1&Qe){const L=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"u",29),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(L);const Fe=o.\u0275\u0275nextContext().$implicit;return o.\u0275\u0275nextContext(3).showDocumentation(Fe.dataType)}),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()}if(2&Qe){const L=o.\u0275\u0275nextContext().$implicit,ve=o.\u0275\u0275nextContext(3);o.\u0275\u0275property("matTooltip",ve.getTooltip(L.dataType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1("(",L.dataType.name,")")}}function Z(Qe,xe){if(1&Qe&&(o.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(3,"i"),o.\u0275\u0275elementStart(4,"span",28),o.\u0275\u0275text(5),o.\u0275\u0275template(6,be,2,2,"u",43),o.\u0275\u0275elementEnd()()),2&Qe){const L=xe.$implicit;o.\u0275\u0275property("disableRipple",!0),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(L.name),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate1("",L.type," "),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",L.dataType&&"void"!==L.dataType.name)}}function de(Qe,xe){if(1&Qe&&(o.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-list",40),o.\u0275\u0275template(2,Z,7,4,"mat-chip",41),o.\u0275\u0275elementEnd()()),2&Qe){const L=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(1),o.\u0275\u0275property("selectable",!1),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngForOf",L.selectedFunction.labels)}}function z(Qe,xe){if(1&Qe&&(o.\u0275\u0275elementStart(0,"p"),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Qe){const L=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(L.selectedFunction.description)}}function pe(Qe,xe){1&Qe&&(o.\u0275\u0275elementStart(0,"p",44),o.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),o.\u0275\u0275elementEnd())}function ce(Qe,xe){1&Qe&&(o.\u0275\u0275elementStart(0,"p",44),o.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),o.\u0275\u0275elementEnd())}function Oe(Qe,xe){1&Qe&&(o.\u0275\u0275elementStart(0,"th",54),o.\u0275\u0275text(1,"Nome"),o.\u0275\u0275elementEnd())}function it(Qe,xe){if(1&Qe&&(o.\u0275\u0275elementStart(0,"td",55),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Qe){const L=xe.$implicit;o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(L.name)}}function vt(Qe,xe){1&Qe&&(o.\u0275\u0275elementStart(0,"th",54),o.\u0275\u0275text(1,"Tipo"),o.\u0275\u0275elementEnd())}function Ge(Qe,xe){if(1&Qe){const L=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"td",55)(1,"u",29),o.\u0275\u0275listener("click",function(){const Je=o.\u0275\u0275restoreView(L).$implicit;return o.\u0275\u0275nextContext(3).showDocumentation(Je.rawType)}),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd()()}if(2&Qe){const L=xe.$implicit,ve=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(1),o.\u0275\u0275property("matTooltip",ve.getTooltip(L.rawType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(L.type)}}function pt(Qe,xe){1&Qe&&(o.\u0275\u0275elementStart(0,"th",54),o.\u0275\u0275text(1,"Descri\xe7\xe3o"),o.\u0275\u0275elementEnd())}function qe(Qe,xe){if(1&Qe&&(o.\u0275\u0275elementStart(0,"td",56),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Qe){const L=xe.$implicit;o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(L.description||"-")}}function at(Qe,xe){1&Qe&&o.\u0275\u0275element(0,"tr",57)}function Ve(Qe,xe){1&Qe&&o.\u0275\u0275element(0,"tr",58)}function tt(Qe,xe){if(1&Qe&&(o.\u0275\u0275elementStart(0,"table",45),o.\u0275\u0275elementContainerStart(1,46),o.\u0275\u0275template(2,Oe,2,0,"th",47),o.\u0275\u0275template(3,it,2,1,"td",48),o.\u0275\u0275elementContainerEnd(),o.\u0275\u0275elementContainerStart(4,49),o.\u0275\u0275template(5,vt,2,0,"th",47),o.\u0275\u0275template(6,Ge,3,2,"td",48),o.\u0275\u0275elementContainerEnd(),o.\u0275\u0275elementContainerStart(7,50),o.\u0275\u0275template(8,pt,2,0,"th",47),o.\u0275\u0275template(9,qe,2,1,"td",51),o.\u0275\u0275elementContainerEnd(),o.\u0275\u0275template(10,at,1,0,"tr",52),o.\u0275\u0275template(11,Ve,1,0,"tr",53),o.\u0275\u0275elementEnd()),2&Qe){const L=o.\u0275\u0275nextContext(2);o.\u0275\u0275property("dataSource",L.selectedFunction.args),o.\u0275\u0275advance(10),o.\u0275\u0275property("matHeaderRowDef",L.argumentsTableColumns),o.\u0275\u0275advance(1),o.\u0275\u0275property("matRowDefColumns",L.argumentsTableColumns)}}function Le(Qe,xe){1&Qe&&(o.\u0275\u0275elementStart(0,"span",59),o.\u0275\u0275text(1,"Dart"),o.\u0275\u0275elementEnd())}function Ke(Qe,xe){1&Qe&&(o.\u0275\u0275elementStart(0,"span",59),o.\u0275\u0275text(1,"Swift"),o.\u0275\u0275elementEnd())}const ft=function(){return{theme:"vs-dark",language:"javascript"}},ye=function(){return{theme:"vs-dark",language:"kotlin"}},Se=function(){return{theme:"vs-dark",language:"dart"}},j=function(){return{theme:"vs-dark",language:"swift"}};function ne(Qe,xe){if(1&Qe){const L=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),o.\u0275\u0275text(5,"fn"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(6,"\xa0"),o.\u0275\u0275elementStart(7,"span",12),o.\u0275\u0275text(8),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(9,"("),o.\u0275\u0275template(10,le,11,6,"span",13),o.\u0275\u0275text(11,")"),o.\u0275\u0275elementStart(12,"span",14),o.\u0275\u0275text(13,":"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(14,"\xa0"),o.\u0275\u0275elementStart(15,"u",15),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(L);const Fe=o.\u0275\u0275nextContext();return Fe.showDocumentation(Fe.selectedFunction.returns.rawType)}),o.\u0275\u0275text(16),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(17,me,1,0,"ng-template",null,16,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275template(19,De,1,0,"ng-template",null,17,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275element(21,"s"),o.\u0275\u0275elementStart(22,"button",18),o.\u0275\u0275listener("click",function(){return o.\u0275\u0275restoreView(L),o.\u0275\u0275nextContext().addSimpleCallTab()}),o.\u0275\u0275elementStart(23,"mat-icon"),o.\u0275\u0275text(24,"play_arrow"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(25,"\xa0EXECUTAR "),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275template(26,de,3,2,"section",19),o.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),o.\u0275\u0275text(29,"Descri\xe7\xe3o"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(30,"div",21),o.\u0275\u0275template(31,z,2,1,"p",22),o.\u0275\u0275template(32,pe,2,0,"p",23),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(33,"h2",24),o.\u0275\u0275text(34,"Par\xe2metros"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(35,"div",21),o.\u0275\u0275template(36,ce,2,0,"p",23),o.\u0275\u0275elementStart(37,"div",25),o.\u0275\u0275template(38,tt,12,3,"table",26),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(39,"h2",27),o.\u0275\u0275text(40,"Retorno"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(L);const Fe=o.\u0275\u0275nextContext();return Fe.showDocumentation(Fe.selectedFunction.returns.rawType)}),o.\u0275\u0275text(44),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(45,"h2",30),o.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),o.\u0275\u0275element(49,"ngx-monaco-editor",33),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(50,"mat-tab",34),o.\u0275\u0275element(51,"ngx-monaco-editor",33),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(52,"mat-tab",35),o.\u0275\u0275template(53,Le,2,0,"ng-template",36),o.\u0275\u0275element(54,"ngx-monaco-editor",33),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(55,"mat-tab",35),o.\u0275\u0275template(56,Ke,2,0,"ng-template",36),o.\u0275\u0275element(57,"ngx-monaco-editor",33),o.\u0275\u0275elementEnd()()()()}if(2&Qe){const L=o.\u0275\u0275nextContext();o.\u0275\u0275advance(8),o.\u0275\u0275textInterpolate(L.selectedFunction.name),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",L.selectedFunction.args),o.\u0275\u0275advance(5),o.\u0275\u0275property("matTooltip",L.getTooltip(L.selectedFunction.returns.rawType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(L.selectedFunction.returns.type),o.\u0275\u0275advance(10),o.\u0275\u0275property("ngIf",L.selectedFunction.labels.length>0),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngSwitch",!!L.selectedFunction.description),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase",!0),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase",!1),o.\u0275\u0275advance(3),o.\u0275\u0275property("ngSwitch",L.selectedFunction.args.length),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngSwitchCase",0),o.\u0275\u0275advance(7),o.\u0275\u0275property("matTooltip",L.getTooltip(L.selectedFunction.returns.rawType)),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(L.selectedFunction.returns.type),o.\u0275\u0275advance(5),o.\u0275\u0275property("options",o.\u0275\u0275pureFunction0(20,ft))("ngModel",L.selectedFunction.examples.typeScript),o.\u0275\u0275advance(2),o.\u0275\u0275property("options",o.\u0275\u0275pureFunction0(21,ye))("ngModel",L.selectedFunction.examples.kotlin),o.\u0275\u0275advance(3),o.\u0275\u0275property("options",o.\u0275\u0275pureFunction0(22,Se))("ngModel",L.selectedFunction.examples.dart),o.\u0275\u0275advance(3),o.\u0275\u0275property("options",o.\u0275\u0275pureFunction0(23,j))("ngModel",L.selectedFunction.examples.swift)}}const Me=function(){return{standalone:!0}};class ze{constructor(xe,L,ve){this.sdkgen=xe,this.dialog=L,this.responsive=ve,this.isBelowMd=!1,this.runFunction=new h.EventEmitter,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(xe=>{!xe||(this.selectedFunction=void 0,this.fnTable=xe.astRoot.operations.sort((L,ve)=>L.name.localeCompare(ve.name)).map(L=>{var ve,Fe,Je;const ot=xe.astJson.annotations[`fn.${L.name}`],Dt=this.sdkgen.buildJsonObject(L.args);return(null==ot?void 0:ot.find(Et=>"hidden"===Et.type))?null:{name:L.name,description:null===(ve=null==ot?void 0:ot.find(Et=>"description"===Et.type))||void 0===ve?void 0:ve.value,args:L.args.map(({name:Et,type:At})=>{var Ue,Te,Ee;return{name:Et,description:null===(Ee=[...null!==(Ue=xe.astJson.annotations[`type.${At}.${Et}`])&&void 0!==Ue?Ue:[],...null!==(Te=xe.astJson.annotations[`fn.${L.name}.${Et}`])&&void 0!==Te?Te:[]].find(Xe=>"description"===Xe.type))||void 0===Ee?void 0:Ee.value,type:At.name,rawType:At}}),argsStr:L.args.map(Et=>`${Et.name}: ${Et.type.name}`).join(", "),argsFields:L.args,returns:{type:L.returnType.name,rawType:L.returnType},labels:null!==(Fe=null==ot?void 0:ot.filter(Et=>["rest","throws"].includes(Et.type)).map(Et=>{var At;return"rest"===Et.type?{name:"REST",type:`${Et.value.method} ${Et.value.path}`}:"throws"===Et.type?{name:"THROWS",type:Et.value,dataType:null===(At=xe.astRoot.errors.find(Ue=>Ue.name===Et.value))||void 0===At?void 0:At.dataType}:{name:"?",type:"?"}}))&&void 0!==Fe?Fe:[],throws:null===(Je=null==ot?void 0:ot.find(Et=>"throws"===Et.type))||void 0===Je?void 0:Je.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(L.name,Dt),kotlin:this.sdkgen.getKotlinCode(L.name,L.args),dart:this.sdkgen.getDartCode(L.name,Dt),swift:this.sdkgen.getSwiftCode(L.name,Dt)}}}).filter(L=>Boolean(L)))})}ngOnDestroy(){var xe,L;null===(xe=this.state$)||void 0===xe||xe.unsubscribe(),null===(L=this.responsive$)||void 0===L||L.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(xe=>{this.isBelowMd=xe.matches})}addSimpleCallTab(){var xe;this.runFunction.emit(null===(xe=this.selectedFunction)||void 0===xe?void 0:xe.name)}getTooltip(xe){return(0,y.getTypeDoc)(xe).shortDescription}showDocumentation(xe){this.dialog.open(d.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:xe},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}r.TabHomeComponent=ze,ze.\u0275fac=function(xe){return new(xe||ze)(o.\u0275\u0275directiveInject(c.SdkgenService),o.\u0275\u0275directiveInject(f.MatDialog),o.\u0275\u0275directiveInject(p.ResponsiveService))},ze.\u0275cmp=o.\u0275\u0275defineComponent({type:ze,selectors:[["app-tab-home"]],outputs:{runFunction:"runFunction"},decls:11,vars:10,consts:[["unit","pixel",3,"direction"],[3,"size"],["type","search","placeholder","Buscar\u2026",3,"ngModel","ngModelOptions","ngModelChange"],[3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngClass","click"],[1,"fn-call"],["class","fn-description",4,"ngIf"],[1,"fn-description"],[1,"container"],[1,"mono","hide-overflow"],[1,"k-fn"],[1,"k-name"],[4,"ngFor","ngForOf"],[1,"k-sym"],[1,"k-type",3,"matTooltip","click"],["comma",""],["lineBreak",""],["mat-raised-button","","color","primary",3,"click"],["class","container","id","labels",4,"ngIf"],["id","description"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","no-content",4,"ngSwitchCase"],["id","parameters"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource",4,"ngSwitchDefault"],["id","returns"],[1,"mono"],[3,"matTooltip","click"],["id","sample-calls"],["animationDuration","0ms"],["label","TypeScript"],[3,"options","ngModel"],["label","Kotlin"],["disabled",""],["mat-tab-label",""],[1,"k-arg-name"],[4,"ngIf","ngIfThen","ngIfElse"],["id","labels",1,"container"],[3,"selectable"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["color","primary",3,"disableRipple"],[3,"matTooltip","click",4,"ngIf"],[1,"no-content"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell",""],["mat-header-row",""],["mat-row",""],["matTooltip","Em breve!"]],template:function(xe,L){1&xe&&(o.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),o.\u0275\u0275listener("ngModelChange",function(Fe){return L.searchText=Fe}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(6,"ul"),o.\u0275\u0275template(7,H,4,5,"li",3),o.\u0275\u0275pipe(8,"appFilter"),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementStart(9,"as-split-area"),o.\u0275\u0275template(10,ne,58,24,"article",4),o.\u0275\u0275elementEnd()()),2&xe&&(o.\u0275\u0275property("direction",L.isBelowMd?"vertical":"horizontal"),o.\u0275\u0275advance(1),o.\u0275\u0275property("size",L.isBelowMd?130:350),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngModel",L.searchText)("ngModelOptions",o.\u0275\u0275pureFunction0(9,Me)),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",o.\u0275\u0275pipeBind2(8,6,L.fnTable,L.searchText)),o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",L.selectedFunction))},directives:[m.SplitComponent,m.SplitAreaDirective,u.\u0275NgNoValidate,u.NgControlStatusGroup,u.NgForm,u.DefaultValueAccessor,u.NgControlStatus,u.NgModel,_.NgForOf,_.NgClass,_.NgIf,v.MatTooltip,b.MatButton,T.MatIcon,S.MatChipList,S.MatChip,_.NgSwitch,_.NgSwitchCase,_.NgSwitchDefault,P.MatTable,P.MatColumnDef,P.MatHeaderCellDef,P.MatHeaderCell,P.MatCellDef,P.MatCell,P.MatHeaderRowDef,P.MatHeaderRow,P.MatRowDef,P.MatRow,I.MatTabGroup,I.MatTab,V.MonacoEditorComponent,I.MatTabLabel],pipes:[J.FilterPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;overflow:hidden!important}aside[_ngcontent-%COMP%]{display:block;background:#2b2b2b;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}nav[_ngcontent-%COMP%]{display:block;width:100%}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:block;width:100%;padding:10px;background:#2b2b2b;border-bottom:1px solid #444444;position:sticky;top:0;left:0;right:0;z-index:2}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;background:#444444;border:0 none;color:#fff;width:100%;padding:5px}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;padding:15px 10px;border-bottom:1px solid #444444;cursor:pointer}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:#0003}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#0000004d}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-call[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-description[_ngcontent-%COMP%]{color:#777;font-size:.9rem;margin-top:5px}u[_ngcontent-%COMP%]{-webkit-text-decoration-style:dotted;text-decoration-style:dotted;cursor:pointer;font-family:Roboto Mono,monospace}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#2b2b2b;padding:25px 20px;width:100%;position:sticky;top:0;left:0;right:0;z-index:3}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 auto;font-weight:300;line-height:36px;white-space:pre}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span.hide-overflow[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-fn[_ngcontent-%COMP%]{color:#c586c0}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-name[_ngcontent-%COMP%]{color:#dcdcaa}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-arg-name[_ngcontent-%COMP%]{color:#9cdcfe}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-sym[_ngcontent-%COMP%]{color:#d4d4d4}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-type[_ngcontent-%COMP%]{color:#569cd6}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px;align-self:center}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{display:block;padding:0 20px 15px}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%]{padding:20px 20px 0}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;width:1.3px;background:#FFF;margin:0 7.5px;border-radius:5px;height:calc(100% + 14px)}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:300;margin-top:40px;text-transform:uppercase}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .no-content[_ngcontent-%COMP%]{background-color:#383838;color:#fafafa;display:inline-block;padding:15px;border-radius:5px;margin-top:0}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] table[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{width:100%;max-width:720px}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%;min-height:300px}"]})},2253:(G,r,a)=>{"use strict";var n=a(8926).default;Object.defineProperty(r,"__esModule",{value:!0}),r.TabNavComponent=void 0;const h=a(655),y=a(3075),d=a(6676),o=a(4814),c=h.__importStar(a(5e3)),f=h.__importStar(a(6395)),p=h.__importStar(a(2290)),m=h.__importStar(a(2339)),u=h.__importStar(a(3075)),_=h.__importStar(a(508)),v=h.__importStar(a(9808)),b=h.__importStar(a(3293)),T=h.__importStar(a(7423));function S(V,J){1&V&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon",6),c.\u0275\u0275text(2,"loop"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}function P(V,J){1&V&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon"),c.\u0275\u0275text(2,"arrow_forward"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}class I{constructor(J,Y,X){this.sdkgen=J,this.toastr=Y,this.dialog=X,this.loading=!1,this.url=new y.FormControl("")}ngOnInit(){fetch("/ast.json").then(J=>{J.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(J){var Y=this;return n(function*(){null==J||J.preventDefault();try{Y.loading=!0,/^https?:\/\//.test(Y.url.value)||Y.url.setValue(`https://${Y.url.value}`);const X=new URL(Y.url.value);X.pathname+=(/\/$/u.test(X.pathname)?"":"/")+"ast.json";const H=X.toString();console.debug("astUrl",H);const oe=yield fetch(H).then(le=>le.ok?le.json():le);if(oe instanceof Response)throw oe instanceof Error?oe:new Error(oe.statusText);if(!oe.errors||!oe.functionTable||!oe.typeTable)throw new Error("Invalid AST");for(;"undefined"==typeof monaco;)yield new Promise(le=>setTimeout(le,250));console.debug("astJson",oe),Y.sdkgen.state$.next({astJson:oe,astRoot:(0,d.jsonToAst)(oe),url:Y.url.value})}catch(X){Y.toastr.error(X instanceof Error?X.message:JSON.stringify(X),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{Y.loading=!1}})()}openAbout(){this.dialog.open(o.DialogAboutComponent)}}r.TabNavComponent=I,I.\u0275fac=function(J){return new(J||I)(c.\u0275\u0275directiveInject(f.SdkgenService),c.\u0275\u0275directiveInject(p.ToastrService),c.\u0275\u0275directiveInject(m.MatDialog))},I.\u0275cmp=c.\u0275\u0275defineComponent({type:I,selectors:[["app-tab-nav"]],decls:9,vars:6,consts:[["src","assets/polvinho.png"],[3,"submit"],["placeholder","Digite uma URL aqui para conectar",3,"formControl","readonly"],["mat-ripple","","type","submit",3,"disabled","ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","",3,"click"],[1,"loader"]],template:function(J,Y){1&J&&(c.\u0275\u0275element(0,"img",0),c.\u0275\u0275elementStart(1,"form",1),c.\u0275\u0275listener("submit",function(H){return Y.loadUrl(H)}),c.\u0275\u0275element(2,"input",2),c.\u0275\u0275elementStart(3,"button",3),c.\u0275\u0275template(4,S,3,0,"ng-container",4),c.\u0275\u0275template(5,P,3,0,"ng-container",4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"button",5),c.\u0275\u0275listener("click",function(){return Y.openAbout()}),c.\u0275\u0275elementStart(7,"mat-icon"),c.\u0275\u0275text(8,"info"),c.\u0275\u0275elementEnd()()),2&J&&(c.\u0275\u0275advance(2),c.\u0275\u0275property("formControl",Y.url)("readonly",Y.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("disabled",Y.loading)("ngSwitch",Y.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!0),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!1))},directives:[u.\u0275NgNoValidate,u.NgControlStatusGroup,u.NgForm,u.DefaultValueAccessor,u.NgControlStatus,u.FormControlDirective,_.MatRipple,v.NgSwitch,v.NgSwitchCase,b.MatIcon,T.MatButton],styles:["[_nghost-%COMP%]{display:flex;height:42px;background-color:#2b2b2b;box-shadow:0 0 3px #00000080}img[_ngcontent-%COMP%]{padding:5px}form[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-grow:1;box-shadow:0 0 1px #00000080;background:#383838;border:0 none;border-radius:5px;margin:5px 10vw 5px calc(10vw - 42px);overflow:hidden}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding:10px 5px;background:transparent;border:0 none;text-align:center;color:#ccc}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;color:#bfbfbf;border:0 none;cursor:pointer}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})},5281:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TypeDetailsComponent=void 0;const n=a(655),h=a(2339),y=a(9435),d=n.__importStar(a(5e3)),o=n.__importStar(a(2339)),c=n.__importStar(a(9808)),f=n.__importStar(a(7423)),p=n.__importStar(a(3293)),m=n.__importStar(a(9417)),u=n.__importStar(a(4999)),_=n.__importStar(a(7238));function v(z,pe){1&z&&(d.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),d.\u0275\u0275text(2,"arrow_back"),d.\u0275\u0275elementEnd()())}function b(z,pe){if(1&z&&(d.\u0275\u0275elementStart(0,"mat-chip",7),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&z){const ce=pe.$implicit;d.\u0275\u0275property("disableRipple",!0),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ce)}}function T(z,pe){1&z&&(d.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),d.\u0275\u0275text(2,"close"),d.\u0275\u0275elementEnd()())}function S(z,pe){1&z&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Nome"),d.\u0275\u0275elementEnd())}function P(z,pe){if(1&z&&(d.\u0275\u0275elementStart(0,"td",21),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&z){const ce=pe.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ce.name)}}function I(z,pe){1&z&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Tipo"),d.\u0275\u0275elementEnd())}function V(z,pe){1&z&&(d.\u0275\u0275elementStart(0,"span"),d.\u0275\u0275text(1,"-"),d.\u0275\u0275elementEnd())}function J(z,pe){if(1&z){const ce=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"u",25),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(ce);const it=d.\u0275\u0275nextContext().$implicit;return d.\u0275\u0275nextContext(2).showDocumentation(it.type)}),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()}if(2&z){const ce=d.\u0275\u0275nextContext().$implicit,Oe=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("matTooltip",Oe.getTooltip(ce.type)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ce.type.name)}}function Y(z,pe){1&z&&(d.\u0275\u0275elementStart(0,"td",22),d.\u0275\u0275template(1,V,2,0,"span",23),d.\u0275\u0275template(2,J,2,2,"u",24),d.\u0275\u0275elementEnd()),2&z&&(d.\u0275\u0275property("ngSwitch",pe.$implicit.type),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",null))}function X(z,pe){1&z&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Descri\xe7\xe3o"),d.\u0275\u0275elementEnd())}function H(z,pe){if(1&z&&(d.\u0275\u0275elementStart(0,"td",26),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&z){const ce=pe.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(ce.description||"-")}}function oe(z,pe){1&z&&d.\u0275\u0275element(0,"tr",27)}function le(z,pe){1&z&&d.\u0275\u0275element(0,"tr",28)}const me=function(){return[]};function De(z,pe){if(1&z&&(d.\u0275\u0275elementStart(0,"section")(1,"div",9)(2,"table",10),d.\u0275\u0275elementContainerStart(3,11),d.\u0275\u0275template(4,S,2,0,"th",12),d.\u0275\u0275template(5,P,2,1,"td",13),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(6,14),d.\u0275\u0275template(7,I,2,0,"th",12),d.\u0275\u0275template(8,Y,3,2,"td",15),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(9,16),d.\u0275\u0275template(10,X,2,0,"th",12),d.\u0275\u0275template(11,H,2,1,"td",17),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(12,oe,1,0,"tr",18),d.\u0275\u0275template(13,le,1,0,"tr",19),d.\u0275\u0275elementEnd()()()),2&z){const ce=d.\u0275\u0275nextContext();let Oe;d.\u0275\u0275advance(2),d.\u0275\u0275property("dataSource",null!==(Oe=null==ce.typeDoc?null:ce.typeDoc.structFields)&&void 0!==Oe?Oe:d.\u0275\u0275pureFunction0(3,me)),d.\u0275\u0275advance(10),d.\u0275\u0275property("matHeaderRowDef",ce.argumentsTableColumns),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",ce.argumentsTableColumns)}}function be(z,pe){if(1&z&&(d.\u0275\u0275elementStart(0,"li")(1,"code",1),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()),2&z){const ce=pe.$implicit;d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(ce)}}function Z(z,pe){if(1&z&&(d.\u0275\u0275elementStart(0,"section")(1,"h3"),d.\u0275\u0275text(2,"Exemplos"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"ul"),d.\u0275\u0275template(4,be,3,1,"li",29),d.\u0275\u0275elementEnd()()),2&z){const ce=d.\u0275\u0275nextContext();d.\u0275\u0275advance(4),d.\u0275\u0275property("ngForOf",null==ce.typeDoc?null:ce.typeDoc.examples)}}class de{constructor(pe,ce,Oe){this.dialogRef=pe,this.data=ce,this.dialog=Oe,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=(0,y.getTypeLabels)(this.data.type),this.typeDoc=(0,y.getTypeDoc)(this.data.type)}getTooltip(pe){return(0,y.getTypeDoc)(pe).shortDescription}showDocumentation(pe){this.dialog.open(de,{position:{right:"0"},data:{type:pe,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}r.TypeDetailsComponent=de,de.\u0275fac=function(pe){return new(pe||de)(d.\u0275\u0275directiveInject(o.MatDialogRef),d.\u0275\u0275directiveInject(h.MAT_DIALOG_DATA),d.\u0275\u0275directiveInject(o.MatDialog))},de.\u0275cmp=d.\u0275\u0275defineComponent({type:de,selectors:[["app-type-details"]],decls:11,vars:8,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],[3,"selectable"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["class","close-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"back-button"],["color","primary",3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"close-button"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["class","mono","mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell","",1,"mono",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"matTooltip","click",4,"ngSwitchDefault"],[3,"matTooltip","click"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[4,"ngFor","ngForOf"]],template:function(pe,ce){1&pe&&(d.\u0275\u0275elementStart(0,"h1"),d.\u0275\u0275template(1,v,3,0,"button",0),d.\u0275\u0275elementStart(2,"span",1),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"mat-chip-list",2),d.\u0275\u0275template(5,b,2,2,"mat-chip",3),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(6,T,3,0,"button",4),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"p"),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(9,De,14,4,"section",5),d.\u0275\u0275template(10,Z,5,1,"section",5)),2&pe&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",ce.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(ce.data.type.name),d.\u0275\u0275advance(1),d.\u0275\u0275property("selectable",!1),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngForOf",ce.labels),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!ce.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(null==ce.typeDoc?null:ce.typeDoc.longDescription),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",(null==ce.typeDoc?null:ce.typeDoc.isStruct)&&(null==ce.typeDoc?null:ce.typeDoc.structFields)),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",null==ce.typeDoc||null==ce.typeDoc.examples?null:ce.typeDoc.examples.length))},directives:[c.NgIf,f.MatButton,o.MatDialogClose,p.MatIcon,m.MatChipList,c.NgForOf,m.MatChip,u.MatTable,u.MatColumnDef,u.MatHeaderCellDef,u.MatHeaderCell,u.MatCellDef,u.MatCell,c.NgSwitch,c.NgSwitchCase,c.NgSwitchDefault,_.MatTooltip,u.MatHeaderRowDef,u.MatHeaderRow,u.MatRowDef,u.MatRow],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}h1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}h1[_ngcontent-%COMP%] button.back-button[_ngcontent-%COMP%]{margin-right:10px}h1[_ngcontent-%COMP%] button.close-button[_ngcontent-%COMP%]{float:right}p[_ngcontent-%COMP%]{line-height:1.5rem}section[_ngcontent-%COMP%]{margin-top:2rem}h3[_ngcontent-%COMP%]{font-weight:200;text-transform:uppercase}ul[_ngcontent-%COMP%]{padding-left:2rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2rem;list-style:square}code[_ngcontent-%COMP%]{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem;white-space:pre-wrap;word-break:break-all;word-wrap:break-word}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{-webkit-text-decoration-style:dotted;text-decoration-style:dotted;cursor:pointer}"]})},8227:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.unwrap=r.wrapper=void 0,r.wrapper='\n window.___originalXmlHttpRequestOpen = XMLHttpRequest.prototype.open;\n XMLHttpRequest.prototype.open = function() {\n const event = { type: "network", message: `XHR: ${Array.prototype.join.call(arguments, " ")}` };\n events.push(event);\n\n const send = this.send;\n this.send = function() {\n try {\n event.details = { req: JSON.parse(arguments[0]) };\n } catch (e) {\n event.details = { req: arguments[0] };\n }\n\n const onreadystatechange = this.onreadystatechange;\n this.onreadystatechange = function() {\n const result = onreadystatechange.apply(this, arguments);\n\n if (this.readyState === 4) {\n try {\n event.details = { ...event.details, res: JSON.parse(this.responseText) };\n } catch (e) {\n event.details = { ...event.details, res: this.responseText };\n }\n }\n\n return result;\n };\n\n return send.apply(this, arguments);\n };\n\n return ___originalXmlHttpRequestOpen.apply(this, arguments);\n };\n\n window.___originalConsoleLog = console.log;\n console.log = function() {\n const event = { type: "info", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return ___originalConsoleLog.apply(this, arguments);\n }\n\n window.___originalConsoleError = console.error;\n console.error = function() {\n //if (typeof arguments[0] === "string") {\n const event = { type: "error", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n //}\n return ___originalConsoleError.apply(this, arguments);\n }\n',r.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n console.log = window.___originalConsoleLog;\n console.error = window.___originalConsoleError;\n"},2340:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.environment=void 0,r.environment={production:!0}},4431:(G,r,a)=>{"use strict";const y=a(655).__importStar(a(2313)),d=a(5e3),o=a(6747);a(2340).environment.production&&(0,d.enableProdMode)(),y.platformBrowser().bootstrapModule(o.AppModule).catch(f=>console.error(f))},4327:function(G,r){var h;void 0!==(h=function(){"use strict";function d(u,_,v){var b=new XMLHttpRequest;b.open("GET",u),b.responseType="blob",b.onload=function(){m(b.response,_,v)},b.onerror=function(){console.error("could not download file")},b.send()}function o(u){var _=new XMLHttpRequest;_.open("HEAD",u,!1);try{_.send()}catch(v){}return 200<=_.status&&299>=_.status}function c(u){try{u.dispatchEvent(new MouseEvent("click"))}catch(v){var _=document.createEvent("MouseEvents");_.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(_)}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,p=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),m=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!p?function(u,_,v){var b=f.URL||f.webkitURL,T=document.createElement("a");T.download=_=_||u.name||"download",T.rel="noopener","string"==typeof u?(T.href=u,T.origin===location.origin?c(T):o(T.href)?d(u,_,v):c(T,T.target="_blank")):(T.href=b.createObjectURL(u),setTimeout(function(){b.revokeObjectURL(T.href)},4e4),setTimeout(function(){c(T)},0))}:"msSaveOrOpenBlob"in navigator?function(u,_,v){if(_=_||u.name||"download","string"!=typeof u)navigator.msSaveOrOpenBlob(function y(u,_){return void 0===_?_={autoBom:!1}:"object"!=typeof _&&(console.warn("Deprecated: Expected third argument to be a object"),_={autoBom:!_}),_.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\ufeff",u],{type:u.type}):u}(u,v),_);else if(o(u))d(u,_,v);else{var b=document.createElement("a");b.href=u,b.target="_blank",setTimeout(function(){c(b)})}}:function(u,_,v,b){if((b=b||open("","_blank"))&&(b.document.title=b.document.body.innerText="downloading..."),"string"==typeof u)return d(u,_,v);var T="application/octet-stream"===u.type,S=/constructor/i.test(f.HTMLElement)||f.safari,P=/CriOS\/[\d]+/.test(navigator.userAgent);if((P||T&&S||p)&&"undefined"!=typeof FileReader){var I=new FileReader;I.onloadend=function(){var Y=I.result;Y=P?Y:Y.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=Y:location=Y,b=null},I.readAsDataURL(u)}else{var V=f.URL||f.webkitURL,J=V.createObjectURL(u);b?b.location=J:location.href=J,b=null,setTimeout(function(){V.revokeObjectURL(J)},4e4)}});f.saveAs=m.saveAs=m,G.exports=m}.apply(r,[]))&&(G.exports=h)},5109:(G,r,a)=>{"use strict";a.r(r),a.d(r,{NgxJsonViewerComponent:()=>m,NgxJsonViewerModule:()=>u});var n=a(9808),h=a(5e3);function y(_,v){1&_&&h.\u0275\u0275element(0,"div",9)}function d(_,v){if(1&_&&(h.\u0275\u0275elementStart(0,"span",10),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&_){const b=h.\u0275\u0275nextContext().$implicit;h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(b.description)}}function o(_,v){if(1&_&&(h.\u0275\u0275elementStart(0,"section",11),h.\u0275\u0275element(1,"ngx-json-viewer",12),h.\u0275\u0275elementEnd()),2&_){const b=h.\u0275\u0275nextContext().$implicit,T=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275property("json",b.value)("expanded",T.expanded)("depth",T.depth)("_currentDepth",T._currentDepth)}}const c=function(_){return["segment",_]},f=function(_,v){return{"segment-main":!0,expandable:_,expanded:v}};function p(_,v){if(1&_){const b=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"section",2)(1,"section",3),h.\u0275\u0275listener("click",function(){const P=h.\u0275\u0275restoreView(b).$implicit;return h.\u0275\u0275nextContext().toggle(P)}),h.\u0275\u0275template(2,y,1,0,"div",4),h.\u0275\u0275elementStart(3,"span",5),h.\u0275\u0275text(4),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(5,"span",6),h.\u0275\u0275text(6,": "),h.\u0275\u0275elementEnd(),h.\u0275\u0275template(7,d,2,1,"span",7),h.\u0275\u0275elementEnd(),h.\u0275\u0275template(8,o,2,4,"section",8),h.\u0275\u0275elementEnd()}if(2&_){const b=v.$implicit,T=h.\u0275\u0275nextContext();h.\u0275\u0275property("ngClass",h.\u0275\u0275pureFunction1(6,c,"segment-type-"+b.type)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngClass",h.\u0275\u0275pureFunction2(8,f,T.isExpandable(b),b.expanded)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngIf",T.isExpandable(b)),h.\u0275\u0275advance(2),h.\u0275\u0275textInterpolate(b.key),h.\u0275\u0275advance(3),h.\u0275\u0275property("ngIf",!b.expanded||!T.isExpandable(b)),h.\u0275\u0275advance(1),h.\u0275\u0275property("ngIf",b.expanded&&T.isExpandable(b))}}let m=(()=>{class _{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=-1,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),this._currentDepth++,"object"==typeof this.json?Object.keys(this.json).forEach(b=>{this.segments.push(this.parseKeyValue(b,this.json[b]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(b){return"object"===b.type||"array"===b.type}toggle(b){this.isExpandable(b)&&(b.expanded=!b.expanded)}parseKeyValue(b,T){const S={key:b,value:T,type:void 0,description:""+T,expanded:this.isExpanded()};switch(typeof S.value){case"number":S.type="number";break;case"boolean":S.type="boolean";break;case"function":S.type="function";break;case"string":S.type="string",S.description='"'+S.value+'"';break;case"undefined":S.type="undefined",S.description="undefined";break;case"object":null===S.value?(S.type="null",S.description="null"):Array.isArray(S.value)?(S.type="array",S.description="Array["+S.value.length+"] "+JSON.stringify(S.value)):S.value instanceof Date?S.type="date":(S.type="object",S.description="Object "+JSON.stringify(S.value))}return S}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(b){const T=new WeakMap;return function S(P,I){let V,J;return"object"!=typeof P||null===P||P instanceof Boolean||P instanceof Date||P instanceof Number||P instanceof RegExp||P instanceof String?P:(V=T.get(P),void 0!==V?{$ref:V}:(T.set(P,I),Array.isArray(P)?(J=[],P.forEach(function(Y,X){J[X]=S(Y,I+"["+X+"]")})):(J={},Object.keys(P).forEach(function(Y){J[Y]=S(P[Y],I+"["+JSON.stringify(Y)+"]")})),J))}(b,"$")}}return _.\u0275fac=function(b){return new(b||_)},_.\u0275cmp=h.\u0275\u0275defineComponent({type:_,selectors:[["ngx-json-viewer"]],inputs:{expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth",json:"json"},features:[h.\u0275\u0275NgOnChangesFeature],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(b,T){1&b&&(h.\u0275\u0275elementStart(0,"section",0),h.\u0275\u0275template(1,p,9,11,"section",1),h.\u0275\u0275elementEnd()),2&b&&(h.\u0275\u0275advance(1),h.\u0275\u0275property("ngForOf",T.segments))},directives:[n.NgForOf,n.NgClass,n.NgIf,_],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:monospace;font-size:1em;height:100%;overflow:hidden;position:relative;width:100%}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{margin:1px 1px 1px 12px;padding:2px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{color:#787878;font-size:.8em;line-height:1.2em;margin-left:-14px;margin-top:3px;position:absolute;vertical-align:middle}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{content:"\u25ba";display:inline-block;transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:#4e187c}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:#000}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#ff6b6b}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#009688}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#b938a4}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#05668d}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#fff}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:red}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),_})(),u=(()=>{class _{}return _.\u0275fac=function(b){return new(b||_)},_.\u0275mod=h.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=h.\u0275\u0275defineInjector({imports:[[n.CommonModule]]}),_})()},6477:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(ti,ni,zn,Jn){void 0===Jn&&(Jn=zn),Object.defineProperty(ti,Jn,{enumerable:!0,get:function(){return ni[zn]}})}:function(ti,ni,zn,Jn){void 0===Jn&&(Jn=zn),ti[Jn]=ni[zn]}),h=this&&this.__exportStar||function(ti,ni){for(var zn in ti)"default"!==zn&&!Object.prototype.hasOwnProperty.call(ni,zn)&&n(ni,ti,zn)};Object.defineProperty(r,"__esModule",{value:!0}),r.interval=r.iif=r.generate=r.fromEventPattern=r.fromEvent=r.from=r.forkJoin=r.empty=r.defer=r.connectable=r.concat=r.combineLatest=r.bindNodeCallback=r.bindCallback=r.UnsubscriptionError=r.TimeoutError=r.SequenceError=r.ObjectUnsubscribedError=r.NotFoundError=r.EmptyError=r.ArgumentOutOfRangeError=r.firstValueFrom=r.lastValueFrom=r.isObservable=r.identity=r.noop=r.pipe=r.NotificationKind=r.Notification=r.Subscriber=r.Subscription=r.Scheduler=r.VirtualAction=r.VirtualTimeScheduler=r.animationFrameScheduler=r.animationFrame=r.queueScheduler=r.queue=r.asyncScheduler=r.async=r.asapScheduler=r.asap=r.AsyncSubject=r.ReplaySubject=r.BehaviorSubject=r.Subject=r.animationFrames=r.observable=r.ConnectableObservable=r.Observable=void 0,r.filter=r.expand=r.exhaustMap=r.exhaustAll=r.exhaust=r.every=r.endWith=r.elementAt=r.distinctUntilKeyChanged=r.distinctUntilChanged=r.distinct=r.dematerialize=r.delayWhen=r.delay=r.defaultIfEmpty=r.debounceTime=r.debounce=r.count=r.connect=r.concatWith=r.concatMapTo=r.concatMap=r.concatAll=r.combineLatestWith=r.combineLatestAll=r.combineAll=r.catchError=r.bufferWhen=r.bufferToggle=r.bufferTime=r.bufferCount=r.buffer=r.auditTime=r.audit=r.config=r.NEVER=r.EMPTY=r.scheduled=r.zip=r.using=r.timer=r.throwError=r.range=r.race=r.partition=r.pairs=r.onErrorResumeNext=r.of=r.never=r.merge=void 0,r.switchMapTo=r.switchMap=r.switchAll=r.subscribeOn=r.startWith=r.skipWhile=r.skipUntil=r.skipLast=r.skip=r.single=r.shareReplay=r.share=r.sequenceEqual=r.scan=r.sampleTime=r.sample=r.refCount=r.retryWhen=r.retry=r.repeatWhen=r.repeat=r.reduce=r.raceWith=r.publishReplay=r.publishLast=r.publishBehavior=r.publish=r.pluck=r.pairwise=r.observeOn=r.multicast=r.min=r.mergeWith=r.mergeScan=r.mergeMapTo=r.mergeMap=r.flatMap=r.mergeAll=r.max=r.materialize=r.mapTo=r.map=r.last=r.isEmpty=r.ignoreElements=r.groupBy=r.first=r.findIndex=r.find=r.finalize=void 0,r.zipWith=r.zipAll=r.withLatestFrom=r.windowWhen=r.windowToggle=r.windowTime=r.windowCount=r.window=r.toArray=r.timestamp=r.timeoutWith=r.timeout=r.timeInterval=r.throwIfEmpty=r.throttleTime=r.throttle=r.tap=r.takeWhile=r.takeUntil=r.takeLast=r.take=r.switchScan=void 0;var y=a(5821);Object.defineProperty(r,"Observable",{enumerable:!0,get:function(){return y.Observable}});var d=a(6686);Object.defineProperty(r,"ConnectableObservable",{enumerable:!0,get:function(){return d.ConnectableObservable}});var o=a(1689);Object.defineProperty(r,"observable",{enumerable:!0,get:function(){return o.observable}});var c=a(2946);Object.defineProperty(r,"animationFrames",{enumerable:!0,get:function(){return c.animationFrames}});var f=a(3768);Object.defineProperty(r,"Subject",{enumerable:!0,get:function(){return f.Subject}});var p=a(5482);Object.defineProperty(r,"BehaviorSubject",{enumerable:!0,get:function(){return p.BehaviorSubject}});var m=a(3406);Object.defineProperty(r,"ReplaySubject",{enumerable:!0,get:function(){return m.ReplaySubject}});var u=a(7606);Object.defineProperty(r,"AsyncSubject",{enumerable:!0,get:function(){return u.AsyncSubject}});var _=a(1212);Object.defineProperty(r,"asap",{enumerable:!0,get:function(){return _.asap}}),Object.defineProperty(r,"asapScheduler",{enumerable:!0,get:function(){return _.asapScheduler}});var v=a(4006);Object.defineProperty(r,"async",{enumerable:!0,get:function(){return v.async}}),Object.defineProperty(r,"asyncScheduler",{enumerable:!0,get:function(){return v.asyncScheduler}});var b=a(5668);Object.defineProperty(r,"queue",{enumerable:!0,get:function(){return b.queue}}),Object.defineProperty(r,"queueScheduler",{enumerable:!0,get:function(){return b.queueScheduler}});var T=a(1906);Object.defineProperty(r,"animationFrame",{enumerable:!0,get:function(){return T.animationFrame}}),Object.defineProperty(r,"animationFrameScheduler",{enumerable:!0,get:function(){return T.animationFrameScheduler}});var S=a(2018);Object.defineProperty(r,"VirtualTimeScheduler",{enumerable:!0,get:function(){return S.VirtualTimeScheduler}}),Object.defineProperty(r,"VirtualAction",{enumerable:!0,get:function(){return S.VirtualAction}});var P=a(2716);Object.defineProperty(r,"Scheduler",{enumerable:!0,get:function(){return P.Scheduler}});var I=a(6448);Object.defineProperty(r,"Subscription",{enumerable:!0,get:function(){return I.Subscription}});var V=a(7052);Object.defineProperty(r,"Subscriber",{enumerable:!0,get:function(){return V.Subscriber}});var J=a(7262);Object.defineProperty(r,"Notification",{enumerable:!0,get:function(){return J.Notification}}),Object.defineProperty(r,"NotificationKind",{enumerable:!0,get:function(){return J.NotificationKind}});var Y=a(1471);Object.defineProperty(r,"pipe",{enumerable:!0,get:function(){return Y.pipe}});var X=a(31);Object.defineProperty(r,"noop",{enumerable:!0,get:function(){return X.noop}});var H=a(7884);Object.defineProperty(r,"identity",{enumerable:!0,get:function(){return H.identity}});var oe=a(4341);Object.defineProperty(r,"isObservable",{enumerable:!0,get:function(){return oe.isObservable}});var le=a(5257);Object.defineProperty(r,"lastValueFrom",{enumerable:!0,get:function(){return le.lastValueFrom}});var me=a(5754);Object.defineProperty(r,"firstValueFrom",{enumerable:!0,get:function(){return me.firstValueFrom}});var De=a(4769);Object.defineProperty(r,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return De.ArgumentOutOfRangeError}});var be=a(8915);Object.defineProperty(r,"EmptyError",{enumerable:!0,get:function(){return be.EmptyError}});var Z=a(5477);Object.defineProperty(r,"NotFoundError",{enumerable:!0,get:function(){return Z.NotFoundError}});var de=a(3965);Object.defineProperty(r,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return de.ObjectUnsubscribedError}});var z=a(1551);Object.defineProperty(r,"SequenceError",{enumerable:!0,get:function(){return z.SequenceError}});var pe=a(5001);Object.defineProperty(r,"TimeoutError",{enumerable:!0,get:function(){return pe.TimeoutError}});var ce=a(4970);Object.defineProperty(r,"UnsubscriptionError",{enumerable:!0,get:function(){return ce.UnsubscriptionError}});var Oe=a(7532);Object.defineProperty(r,"bindCallback",{enumerable:!0,get:function(){return Oe.bindCallback}});var it=a(3488);Object.defineProperty(r,"bindNodeCallback",{enumerable:!0,get:function(){return it.bindNodeCallback}});var vt=a(6892);Object.defineProperty(r,"combineLatest",{enumerable:!0,get:function(){return vt.combineLatest}});var Ge=a(509);Object.defineProperty(r,"concat",{enumerable:!0,get:function(){return Ge.concat}});var pt=a(9190);Object.defineProperty(r,"connectable",{enumerable:!0,get:function(){return pt.connectable}});var qe=a(9954);Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return qe.defer}});var at=a(7406);Object.defineProperty(r,"empty",{enumerable:!0,get:function(){return at.empty}});var Ve=a(7928);Object.defineProperty(r,"forkJoin",{enumerable:!0,get:function(){return Ve.forkJoin}});var tt=a(4996);Object.defineProperty(r,"from",{enumerable:!0,get:function(){return tt.from}});var Le=a(2579);Object.defineProperty(r,"fromEvent",{enumerable:!0,get:function(){return Le.fromEvent}});var Ke=a(3975);Object.defineProperty(r,"fromEventPattern",{enumerable:!0,get:function(){return Ke.fromEventPattern}});var ft=a(4318);Object.defineProperty(r,"generate",{enumerable:!0,get:function(){return ft.generate}});var ye=a(3140);Object.defineProperty(r,"iif",{enumerable:!0,get:function(){return ye.iif}});var Se=a(1836);Object.defineProperty(r,"interval",{enumerable:!0,get:function(){return Se.interval}});var j=a(9248);Object.defineProperty(r,"merge",{enumerable:!0,get:function(){return j.merge}});var ne=a(2818);Object.defineProperty(r,"never",{enumerable:!0,get:function(){return ne.never}});var Me=a(9677);Object.defineProperty(r,"of",{enumerable:!0,get:function(){return Me.of}});var ze=a(9978);Object.defineProperty(r,"onErrorResumeNext",{enumerable:!0,get:function(){return ze.onErrorResumeNext}});var Qe=a(5519);Object.defineProperty(r,"pairs",{enumerable:!0,get:function(){return Qe.pairs}});var xe=a(8221);Object.defineProperty(r,"partition",{enumerable:!0,get:function(){return xe.partition}});var L=a(8181);Object.defineProperty(r,"race",{enumerable:!0,get:function(){return L.race}});var ve=a(4622);Object.defineProperty(r,"range",{enumerable:!0,get:function(){return ve.range}});var Fe=a(338);Object.defineProperty(r,"throwError",{enumerable:!0,get:function(){return Fe.throwError}});var Je=a(3271);Object.defineProperty(r,"timer",{enumerable:!0,get:function(){return Je.timer}});var ot=a(924);Object.defineProperty(r,"using",{enumerable:!0,get:function(){return ot.using}});var Dt=a(4842);Object.defineProperty(r,"zip",{enumerable:!0,get:function(){return Dt.zip}});var Et=a(9341);Object.defineProperty(r,"scheduled",{enumerable:!0,get:function(){return Et.scheduled}});var At=a(7406);Object.defineProperty(r,"EMPTY",{enumerable:!0,get:function(){return At.EMPTY}});var Ue=a(2818);Object.defineProperty(r,"NEVER",{enumerable:!0,get:function(){return Ue.NEVER}}),h(a(5256),r);var Te=a(3570);Object.defineProperty(r,"config",{enumerable:!0,get:function(){return Te.config}});var Ee=a(4815);Object.defineProperty(r,"audit",{enumerable:!0,get:function(){return Ee.audit}});var Ye=a(9034);Object.defineProperty(r,"auditTime",{enumerable:!0,get:function(){return Ye.auditTime}});var Xe=a(8544);Object.defineProperty(r,"buffer",{enumerable:!0,get:function(){return Xe.buffer}});var rt=a(3999);Object.defineProperty(r,"bufferCount",{enumerable:!0,get:function(){return rt.bufferCount}});var wt=a(1392);Object.defineProperty(r,"bufferTime",{enumerable:!0,get:function(){return wt.bufferTime}});var Ie=a(555);Object.defineProperty(r,"bufferToggle",{enumerable:!0,get:function(){return Ie.bufferToggle}});var We=a(7274);Object.defineProperty(r,"bufferWhen",{enumerable:!0,get:function(){return We.bufferWhen}});var lt=a(6e3);Object.defineProperty(r,"catchError",{enumerable:!0,get:function(){return lt.catchError}});var Tt=a(8996);Object.defineProperty(r,"combineAll",{enumerable:!0,get:function(){return Tt.combineAll}});var Ct=a(8931);Object.defineProperty(r,"combineLatestAll",{enumerable:!0,get:function(){return Ct.combineLatestAll}});var $t=a(8947);Object.defineProperty(r,"combineLatestWith",{enumerable:!0,get:function(){return $t.combineLatestWith}});var Mt=a(739);Object.defineProperty(r,"concatAll",{enumerable:!0,get:function(){return Mt.concatAll}});var Ht=a(4659);Object.defineProperty(r,"concatMap",{enumerable:!0,get:function(){return Ht.concatMap}});var ue=a(2993);Object.defineProperty(r,"concatMapTo",{enumerable:!0,get:function(){return ue.concatMapTo}});var q=a(5898);Object.defineProperty(r,"concatWith",{enumerable:!0,get:function(){return q.concatWith}});var k=a(9725);Object.defineProperty(r,"connect",{enumerable:!0,get:function(){return k.connect}});var W=a(1814);Object.defineProperty(r,"count",{enumerable:!0,get:function(){return W.count}});var Q=a(9784);Object.defineProperty(r,"debounce",{enumerable:!0,get:function(){return Q.debounce}});var U=a(7061);Object.defineProperty(r,"debounceTime",{enumerable:!0,get:function(){return U.debounceTime}});var N=a(926);Object.defineProperty(r,"defaultIfEmpty",{enumerable:!0,get:function(){return N.defaultIfEmpty}});var fe=a(2096);Object.defineProperty(r,"delay",{enumerable:!0,get:function(){return fe.delay}});var je=a(3264);Object.defineProperty(r,"delayWhen",{enumerable:!0,get:function(){return je.delayWhen}});var dt=a(533);Object.defineProperty(r,"dematerialize",{enumerable:!0,get:function(){return dt.dematerialize}});var Ft=a(5045);Object.defineProperty(r,"distinct",{enumerable:!0,get:function(){return Ft.distinct}});var Pe=a(5794);Object.defineProperty(r,"distinctUntilChanged",{enumerable:!0,get:function(){return Pe.distinctUntilChanged}});var Re=a(8589);Object.defineProperty(r,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Re.distinctUntilKeyChanged}});var ge=a(1069);Object.defineProperty(r,"elementAt",{enumerable:!0,get:function(){return ge.elementAt}});var ke=a(4312);Object.defineProperty(r,"endWith",{enumerable:!0,get:function(){return ke.endWith}});var ct=a(9098);Object.defineProperty(r,"every",{enumerable:!0,get:function(){return ct.every}});var xt=a(5429);Object.defineProperty(r,"exhaust",{enumerable:!0,get:function(){return xt.exhaust}});var jt=a(1399);Object.defineProperty(r,"exhaustAll",{enumerable:!0,get:function(){return jt.exhaustAll}});var qt=a(5183);Object.defineProperty(r,"exhaustMap",{enumerable:!0,get:function(){return qt.exhaustMap}});var gn=a(8678);Object.defineProperty(r,"expand",{enumerable:!0,get:function(){return gn.expand}});var Nn=a(4270);Object.defineProperty(r,"filter",{enumerable:!0,get:function(){return Nn.filter}});var hn=a(1587);Object.defineProperty(r,"finalize",{enumerable:!0,get:function(){return hn.finalize}});var An=a(2265);Object.defineProperty(r,"find",{enumerable:!0,get:function(){return An.find}});var wn=a(8195);Object.defineProperty(r,"findIndex",{enumerable:!0,get:function(){return wn.findIndex}});var Yn=a(8012);Object.defineProperty(r,"first",{enumerable:!0,get:function(){return Yn.first}});var Rn=a(4075);Object.defineProperty(r,"groupBy",{enumerable:!0,get:function(){return Rn.groupBy}});var Pt=a(4041);Object.defineProperty(r,"ignoreElements",{enumerable:!0,get:function(){return Pt.ignoreElements}});var Yt=a(6478);Object.defineProperty(r,"isEmpty",{enumerable:!0,get:function(){return Yt.isEmpty}});var ae=a(5126);Object.defineProperty(r,"last",{enumerable:!0,get:function(){return ae.last}});var Ae=a(752);Object.defineProperty(r,"map",{enumerable:!0,get:function(){return Ae.map}});var ie=a(2182);Object.defineProperty(r,"mapTo",{enumerable:!0,get:function(){return ie.mapTo}});var we=a(119);Object.defineProperty(r,"materialize",{enumerable:!0,get:function(){return we.materialize}});var Ze=a(9329);Object.defineProperty(r,"max",{enumerable:!0,get:function(){return Ze.max}});var st=a(3917);Object.defineProperty(r,"mergeAll",{enumerable:!0,get:function(){return st.mergeAll}});var St=a(1463);Object.defineProperty(r,"flatMap",{enumerable:!0,get:function(){return St.flatMap}});var Ut=a(3010);Object.defineProperty(r,"mergeMap",{enumerable:!0,get:function(){return Ut.mergeMap}});var Ot=a(929);Object.defineProperty(r,"mergeMapTo",{enumerable:!0,get:function(){return Ot.mergeMapTo}});var pn=a(2816);Object.defineProperty(r,"mergeScan",{enumerable:!0,get:function(){return pn.mergeScan}});var ln=a(9684);Object.defineProperty(r,"mergeWith",{enumerable:!0,get:function(){return ln.mergeWith}});var _n=a(6250);Object.defineProperty(r,"min",{enumerable:!0,get:function(){return _n.min}});var Xt=a(9872);Object.defineProperty(r,"multicast",{enumerable:!0,get:function(){return Xt.multicast}});var fn=a(4928);Object.defineProperty(r,"observeOn",{enumerable:!0,get:function(){return fn.observeOn}});var Un=a(9526);Object.defineProperty(r,"pairwise",{enumerable:!0,get:function(){return Un.pairwise}});var Ln=a(5199);Object.defineProperty(r,"pluck",{enumerable:!0,get:function(){return Ln.pluck}});var mn=a(955);Object.defineProperty(r,"publish",{enumerable:!0,get:function(){return mn.publish}});var nn=a(6750);Object.defineProperty(r,"publishBehavior",{enumerable:!0,get:function(){return nn.publishBehavior}});var hi=a(1003);Object.defineProperty(r,"publishLast",{enumerable:!0,get:function(){return hi.publishLast}});var Di=a(5530);Object.defineProperty(r,"publishReplay",{enumerable:!0,get:function(){return Di.publishReplay}});var Mn=a(2992);Object.defineProperty(r,"raceWith",{enumerable:!0,get:function(){return Mn.raceWith}});var jn=a(8587);Object.defineProperty(r,"reduce",{enumerable:!0,get:function(){return jn.reduce}});var pi=a(8408);Object.defineProperty(r,"repeat",{enumerable:!0,get:function(){return pi.repeat}});var ai=a(7032);Object.defineProperty(r,"repeatWhen",{enumerable:!0,get:function(){return ai.repeatWhen}});var mi=a(6069);Object.defineProperty(r,"retry",{enumerable:!0,get:function(){return mi.retry}});var Kn=a(5131);Object.defineProperty(r,"retryWhen",{enumerable:!0,get:function(){return Kn.retryWhen}});var ki=a(904);Object.defineProperty(r,"refCount",{enumerable:!0,get:function(){return ki.refCount}});var wr=a(2531);Object.defineProperty(r,"sample",{enumerable:!0,get:function(){return wr.sample}});var Wr=a(2098);Object.defineProperty(r,"sampleTime",{enumerable:!0,get:function(){return Wr.sampleTime}});var Bn=a(251);Object.defineProperty(r,"scan",{enumerable:!0,get:function(){return Bn.scan}});var Fr=a(9788);Object.defineProperty(r,"sequenceEqual",{enumerable:!0,get:function(){return Fr.sequenceEqual}});var wi=a(3222);Object.defineProperty(r,"share",{enumerable:!0,get:function(){return wi.share}});var ur=a(2186);Object.defineProperty(r,"shareReplay",{enumerable:!0,get:function(){return ur.shareReplay}});var Mi=a(695);Object.defineProperty(r,"single",{enumerable:!0,get:function(){return Mi.single}});var Zi=a(4975);Object.defineProperty(r,"skip",{enumerable:!0,get:function(){return Zi.skip}});var dr=a(728);Object.defineProperty(r,"skipLast",{enumerable:!0,get:function(){return dr.skipLast}});var fr=a(7409);Object.defineProperty(r,"skipUntil",{enumerable:!0,get:function(){return fr.skipUntil}});var kr=a(385);Object.defineProperty(r,"skipWhile",{enumerable:!0,get:function(){return kr.skipWhile}});var _i=a(4930);Object.defineProperty(r,"startWith",{enumerable:!0,get:function(){return _i.startWith}});var Nr=a(1698);Object.defineProperty(r,"subscribeOn",{enumerable:!0,get:function(){return Nr.subscribeOn}});var Ni=a(8044);Object.defineProperty(r,"switchAll",{enumerable:!0,get:function(){return Ni.switchAll}});var Lr=a(986);Object.defineProperty(r,"switchMap",{enumerable:!0,get:function(){return Lr.switchMap}});var Li=a(9309);Object.defineProperty(r,"switchMapTo",{enumerable:!0,get:function(){return Li.switchMapTo}});var Ji=a(9499);Object.defineProperty(r,"switchScan",{enumerable:!0,get:function(){return Ji.switchScan}});var Si=a(1333);Object.defineProperty(r,"take",{enumerable:!0,get:function(){return Si.take}});var bi=a(3534);Object.defineProperty(r,"takeLast",{enumerable:!0,get:function(){return bi.takeLast}});var Mr=a(5716);Object.defineProperty(r,"takeUntil",{enumerable:!0,get:function(){return Mr.takeUntil}});var hr=a(9928);Object.defineProperty(r,"takeWhile",{enumerable:!0,get:function(){return hr.takeWhile}});var Sr=a(6821);Object.defineProperty(r,"tap",{enumerable:!0,get:function(){return Sr.tap}});var Zn=a(4330);Object.defineProperty(r,"throttle",{enumerable:!0,get:function(){return Zn.throttle}});var ji=a(4029);Object.defineProperty(r,"throttleTime",{enumerable:!0,get:function(){return ji.throttleTime}});var Ci=a(9194);Object.defineProperty(r,"throwIfEmpty",{enumerable:!0,get:function(){return Ci.throwIfEmpty}});var Oi=a(5904);Object.defineProperty(r,"timeInterval",{enumerable:!0,get:function(){return Oi.timeInterval}});var pr=a(5001);Object.defineProperty(r,"timeout",{enumerable:!0,get:function(){return pr.timeout}});var jr=a(8308);Object.defineProperty(r,"timeoutWith",{enumerable:!0,get:function(){return jr.timeoutWith}});var Ii=a(250);Object.defineProperty(r,"timestamp",{enumerable:!0,get:function(){return Ii.timestamp}});var Ei=a(2976);Object.defineProperty(r,"toArray",{enumerable:!0,get:function(){return Ei.toArray}});var Xi=a(9374);Object.defineProperty(r,"window",{enumerable:!0,get:function(){return Xi.window}});var Bi=a(8427);Object.defineProperty(r,"windowCount",{enumerable:!0,get:function(){return Bi.windowCount}});var qi=a(2358);Object.defineProperty(r,"windowTime",{enumerable:!0,get:function(){return qi.windowTime}});var Pn=a(6464);Object.defineProperty(r,"windowToggle",{enumerable:!0,get:function(){return Pn.windowToggle}});var Vi=a(5424);Object.defineProperty(r,"windowWhen",{enumerable:!0,get:function(){return Vi.windowWhen}});var er=a(135);Object.defineProperty(r,"withLatestFrom",{enumerable:!0,get:function(){return er.withLatestFrom}});var Vn=a(8101);Object.defineProperty(r,"zipAll",{enumerable:!0,get:function(){return Vn.zipAll}});var Pi=a(9411);Object.defineProperty(r,"zipWith",{enumerable:!0,get:function(){return Pi.zipWith}})},7606:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncSubject=void 0;var y=function(d){function o(){var c=null!==d&&d.apply(this,arguments)||this;return c._value=null,c._hasValue=!1,c._isComplete=!1,c}return n(o,d),o.prototype._checkFinalizedStatuses=function(c){var f=this,m=f._hasValue,u=f._value,v=f.isStopped,b=f._isComplete;f.hasError?c.error(f.thrownError):(v||b)&&(m&&c.next(u),c.complete())},o.prototype.next=function(c){this.isStopped||(this._value=c,this._hasValue=!0)},o.prototype.complete=function(){var c=this,f=c._hasValue,p=c._value;c._isComplete||(this._isComplete=!0,f&&d.prototype.next.call(this,p),d.prototype.complete.call(this))},o}(a(3768).Subject);r.AsyncSubject=y},5482:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.BehaviorSubject=void 0;var y=function(d){function o(c){var f=d.call(this)||this;return f._value=c,f}return n(o,d),Object.defineProperty(o.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),o.prototype._subscribe=function(c){var f=d.prototype._subscribe.call(this,c);return!f.closed&&c.next(this._value),f},o.prototype.getValue=function(){var c=this,m=c._value;if(c.hasError)throw c.thrownError;return this._throwIfClosed(),m},o.prototype.next=function(c){d.prototype.next.call(this,this._value=c)},o}(a(3768).Subject);r.BehaviorSubject=y},7262:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.observeNotification=r.Notification=r.NotificationKind=void 0;var p,n=a(7406),h=a(9677),y=a(338),d=a(7104);(p=r.NotificationKind||(r.NotificationKind={})).NEXT="N",p.ERROR="E",p.COMPLETE="C";var c=function(){function p(m,u,_){this.kind=m,this.value=u,this.error=_,this.hasValue="N"===m}return p.prototype.observe=function(m){return f(this,m)},p.prototype.do=function(m,u,_){var v=this,b=v.kind,S=v.error;return"N"===b?null==m?void 0:m(v.value):"E"===b?null==u?void 0:u(S):null==_?void 0:_()},p.prototype.accept=function(m,u,_){var v;return d.isFunction(null===(v=m)||void 0===v?void 0:v.next)?this.observe(m):this.do(m,u,_)},p.prototype.toObservable=function(){var m=this,u=m.kind,v=m.error,b="N"===u?h.of(m.value):"E"===u?y.throwError(function(){return v}):"C"===u?n.EMPTY:0;if(!b)throw new TypeError("Unexpected notification kind "+u);return b},p.createNext=function(m){return new p("N",m)},p.createError=function(m){return new p("E",void 0,m)},p.createComplete=function(){return p.completeNotification},p.completeNotification=new p("C"),p}();function f(p,m){var u,_,v,T=p.kind,S=p.value,P=p.error;if("string"!=typeof T)throw new TypeError('Invalid notification, missing "kind"');"N"===T?null===(u=m.next)||void 0===u||u.call(m,S):"E"===T?null===(_=m.error)||void 0===_||_.call(m,P):null===(v=m.complete)||void 0===v||v.call(m)}r.Notification=c,r.observeNotification=f},6941:(G,r)=>{"use strict";function h(y,d,o){return{kind:y,value:d,error:o}}Object.defineProperty(r,"__esModule",{value:!0}),r.createNotification=r.nextNotification=r.errorNotification=r.COMPLETE_NOTIFICATION=void 0,r.COMPLETE_NOTIFICATION=h("C",void 0,void 0),r.errorNotification=function a(y){return h("E",void 0,y)},r.nextNotification=function n(y){return h("N",y,void 0)},r.createNotification=h},5821:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Observable=void 0;var n=a(7052),h=a(6448),y=a(1689),d=a(1471),o=a(3570),c=a(7104),f=a(5808),p=function(){function v(b){b&&(this._subscribe=b)}return v.prototype.lift=function(b){var T=new v;return T.source=this,T.operator=b,T},v.prototype.subscribe=function(b,T,S){var P=this,I=function _(v){return v&&v instanceof n.Subscriber||function u(v){return v&&c.isFunction(v.next)&&c.isFunction(v.error)&&c.isFunction(v.complete)}(v)&&h.isSubscription(v)}(b)?b:new n.SafeSubscriber(b,T,S);return f.errorContext(function(){var J=P.operator,Y=P.source;I.add(J?J.call(I,Y):Y?P._subscribe(I):P._trySubscribe(I))}),I},v.prototype._trySubscribe=function(b){try{return this._subscribe(b)}catch(T){b.error(T)}},v.prototype.forEach=function(b,T){var S=this;return new(T=m(T))(function(P,I){var V=new n.SafeSubscriber({next:function(J){try{b(J)}catch(Y){I(Y),V.unsubscribe()}},error:I,complete:P});S.subscribe(V)})},v.prototype._subscribe=function(b){var T;return null===(T=this.source)||void 0===T?void 0:T.subscribe(b)},v.prototype[y.observable]=function(){return this},v.prototype.pipe=function(){for(var b=[],T=0;T<arguments.length;T++)b[T]=arguments[T];return d.pipeFromArray(b)(this)},v.prototype.toPromise=function(b){var T=this;return new(b=m(b))(function(S,P){var I;T.subscribe(function(V){return I=V},function(V){return P(V)},function(){return S(I)})})},v.create=function(b){return new v(b)},v}();function m(v){var b;return null!==(b=null!=v?v:o.config.Promise)&&void 0!==b?b:Promise}r.Observable=p},3406:function(G,r,a){"use strict";var o,n=this&&this.__extends||(o=function(c,f){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(p[u]=m[u])})(c,f)},function(c,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function p(){this.constructor=c}o(c,f),c.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(r,"__esModule",{value:!0}),r.ReplaySubject=void 0;var h=a(3768),y=a(8354),d=function(o){function c(f,p,m){void 0===f&&(f=1/0),void 0===p&&(p=1/0),void 0===m&&(m=y.dateTimestampProvider);var u=o.call(this)||this;return u._bufferSize=f,u._windowTime=p,u._timestampProvider=m,u._buffer=[],u._infiniteTimeWindow=!0,u._infiniteTimeWindow=p===1/0,u._bufferSize=Math.max(1,f),u._windowTime=Math.max(1,p),u}return n(c,o),c.prototype.next=function(f){var p=this,u=p._buffer,_=p._infiniteTimeWindow,v=p._timestampProvider,b=p._windowTime;p.isStopped||(u.push(f),!_&&u.push(v.now()+b)),this._trimBuffer(),o.prototype.next.call(this,f)},c.prototype._subscribe=function(f){this._throwIfClosed(),this._trimBuffer();for(var p=this._innerSubscribe(f),u=this._infiniteTimeWindow,v=this._buffer.slice(),b=0;b<v.length&&!f.closed;b+=u?1:2)f.next(v[b]);return this._checkFinalizedStatuses(f),p},c.prototype._trimBuffer=function(){var f=this,p=f._bufferSize,m=f._timestampProvider,u=f._buffer,_=f._infiniteTimeWindow,v=(_?1:2)*p;if(p<1/0&&v<u.length&&u.splice(0,u.length-v),!_){for(var b=m.now(),T=0,S=1;S<u.length&&u[S]<=b;S+=2)T=S;T&&u.splice(0,T+1)}},c}(h.Subject);r.ReplaySubject=d},2716:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Scheduler=void 0;var n=a(8354),h=function(){function y(d,o){void 0===o&&(o=y.now),this.schedulerActionCtor=d,this.now=o}return y.prototype.schedule=function(d,o,c){return void 0===o&&(o=0),new this.schedulerActionCtor(this,d).schedule(c,o)},y.now=n.dateTimestampProvider.now,y}();r.Scheduler=h},3768:function(G,r,a){"use strict";var u,n=this&&this.__extends||(u=function(_,v){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,T){b.__proto__=T}||function(b,T){for(var S in T)Object.prototype.hasOwnProperty.call(T,S)&&(b[S]=T[S])})(_,v)},function(_,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function b(){this.constructor=_}u(_,v),_.prototype=null===v?Object.create(v):(b.prototype=v.prototype,new b)}),h=this&&this.__values||function(u){var _="function"==typeof Symbol&&Symbol.iterator,v=_&&u[_],b=0;if(v)return v.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&b>=u.length&&(u=void 0),{value:u&&u[b++],done:!u}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.AnonymousSubject=r.Subject=void 0;var y=a(5821),d=a(6448),o=a(3965),c=a(5137),f=a(5808),p=function(u){function _(){var v=u.call(this)||this;return v.closed=!1,v.currentObservers=null,v.observers=[],v.isStopped=!1,v.hasError=!1,v.thrownError=null,v}return n(_,u),_.prototype.lift=function(v){var b=new m(this,this);return b.operator=v,b},_.prototype._throwIfClosed=function(){if(this.closed)throw new o.ObjectUnsubscribedError},_.prototype.next=function(v){var b=this;f.errorContext(function(){var T,S;if(b._throwIfClosed(),!b.isStopped){b.currentObservers||(b.currentObservers=Array.from(b.observers));try{for(var P=h(b.currentObservers),I=P.next();!I.done;I=P.next())I.value.next(v)}catch(J){T={error:J}}finally{try{I&&!I.done&&(S=P.return)&&S.call(P)}finally{if(T)throw T.error}}}})},_.prototype.error=function(v){var b=this;f.errorContext(function(){if(b._throwIfClosed(),!b.isStopped){b.hasError=b.isStopped=!0,b.thrownError=v;for(var T=b.observers;T.length;)T.shift().error(v)}})},_.prototype.complete=function(){var v=this;f.errorContext(function(){if(v._throwIfClosed(),!v.isStopped){v.isStopped=!0;for(var b=v.observers;b.length;)b.shift().complete()}})},_.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(_.prototype,"observed",{get:function(){var v;return(null===(v=this.observers)||void 0===v?void 0:v.length)>0},enumerable:!1,configurable:!0}),_.prototype._trySubscribe=function(v){return this._throwIfClosed(),u.prototype._trySubscribe.call(this,v)},_.prototype._subscribe=function(v){return this._throwIfClosed(),this._checkFinalizedStatuses(v),this._innerSubscribe(v)},_.prototype._innerSubscribe=function(v){var b=this,T=this,I=T.observers;return T.hasError||T.isStopped?d.EMPTY_SUBSCRIPTION:(this.currentObservers=null,I.push(v),new d.Subscription(function(){b.currentObservers=null,c.arrRemove(I,v)}))},_.prototype._checkFinalizedStatuses=function(v){var b=this,P=b.isStopped;b.hasError?v.error(b.thrownError):P&&v.complete()},_.prototype.asObservable=function(){var v=new y.Observable;return v.source=this,v},_.create=function(v,b){return new m(v,b)},_}(y.Observable);r.Subject=p;var m=function(u){function _(v,b){var T=u.call(this)||this;return T.destination=v,T.source=b,T}return n(_,u),_.prototype.next=function(v){var b,T;null===(T=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===T||T.call(b,v)},_.prototype.error=function(v){var b,T;null===(T=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===T||T.call(b,v)},_.prototype.complete=function(){var v,b;null===(b=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===b||b.call(v)},_.prototype._subscribe=function(v){var b,T;return null!==(T=null===(b=this.source)||void 0===b?void 0:b.subscribe(v))&&void 0!==T?T:d.EMPTY_SUBSCRIPTION},_}(p);r.AnonymousSubject=m},7052:function(G,r,a){"use strict";var V,n=this&&this.__extends||(V=function(J,Y){return(V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,H){X.__proto__=H}||function(X,H){for(var oe in H)Object.prototype.hasOwnProperty.call(H,oe)&&(X[oe]=H[oe])})(J,Y)},function(J,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Class extends value "+String(Y)+" is not a constructor or null");function X(){this.constructor=J}V(J,Y),J.prototype=null===Y?Object.create(Y):(X.prototype=Y.prototype,new X)});Object.defineProperty(r,"__esModule",{value:!0}),r.EMPTY_OBSERVER=r.SafeSubscriber=r.Subscriber=void 0;var h=a(7104),y=a(6448),d=a(3570),o=a(4709),c=a(31),f=a(6941),p=a(3914),m=a(5808),u=function(V){function J(Y){var X=V.call(this)||this;return X.isStopped=!1,Y?(X.destination=Y,y.isSubscription(Y)&&Y.add(X)):X.destination=r.EMPTY_OBSERVER,X}return n(J,V),J.create=function(Y,X,H){return new T(Y,X,H)},J.prototype.next=function(Y){this.isStopped?I(f.nextNotification(Y),this):this._next(Y)},J.prototype.error=function(Y){this.isStopped?I(f.errorNotification(Y),this):(this.isStopped=!0,this._error(Y))},J.prototype.complete=function(){this.isStopped?I(f.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},J.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,V.prototype.unsubscribe.call(this),this.destination=null)},J.prototype._next=function(Y){this.destination.next(Y)},J.prototype._error=function(Y){try{this.destination.error(Y)}finally{this.unsubscribe()}},J.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},J}(y.Subscription);r.Subscriber=u;var _=Function.prototype.bind;function v(V,J){return _.call(V,J)}var b=function(){function V(J){this.partialObserver=J}return V.prototype.next=function(J){var Y=this.partialObserver;if(Y.next)try{Y.next(J)}catch(X){S(X)}},V.prototype.error=function(J){var Y=this.partialObserver;if(Y.error)try{Y.error(J)}catch(X){S(X)}else S(J)},V.prototype.complete=function(){var J=this.partialObserver;if(J.complete)try{J.complete()}catch(Y){S(Y)}},V}(),T=function(V){function J(Y,X,H){var le,me,oe=V.call(this)||this;return h.isFunction(Y)||!Y?le={next:null!=Y?Y:void 0,error:null!=X?X:void 0,complete:null!=H?H:void 0}:oe&&d.config.useDeprecatedNextContext?((me=Object.create(Y)).unsubscribe=function(){return oe.unsubscribe()},le={next:Y.next&&v(Y.next,me),error:Y.error&&v(Y.error,me),complete:Y.complete&&v(Y.complete,me)}):le=Y,oe.destination=new b(le),oe}return n(J,V),J}(u);function S(V){d.config.useDeprecatedSynchronousErrorHandling?m.captureError(V):o.reportUnhandledError(V)}function I(V,J){var Y=d.config.onStoppedNotification;Y&&p.timeoutProvider.setTimeout(function(){return Y(V,J)})}r.SafeSubscriber=T,r.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function P(V){throw V},complete:c.noop}},6448:function(G,r,a){"use strict";var n=this&&this.__values||function(u){var _="function"==typeof Symbol&&Symbol.iterator,v=_&&u[_],b=0;if(v)return v.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&b>=u.length&&(u=void 0),{value:u&&u[b++],done:!u}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},h=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.error}}return S},y=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.isSubscription=r.EMPTY_SUBSCRIPTION=r.Subscription=void 0;var d=a(7104),o=a(4970),c=a(5137),f=function(){function u(_){this.initialTeardown=_,this.closed=!1,this._parentage=null,this._finalizers=null}return u.prototype.unsubscribe=function(){var _,v,b,T,S;if(!this.closed){this.closed=!0;var P=this._parentage;if(P)if(this._parentage=null,Array.isArray(P))try{for(var I=n(P),V=I.next();!V.done;V=I.next())V.value.remove(this)}catch(me){_={error:me}}finally{try{V&&!V.done&&(v=I.return)&&v.call(I)}finally{if(_)throw _.error}}else P.remove(this);var Y=this.initialTeardown;if(d.isFunction(Y))try{Y()}catch(me){S=me instanceof o.UnsubscriptionError?me.errors:[me]}var X=this._finalizers;if(X){this._finalizers=null;try{for(var H=n(X),oe=H.next();!oe.done;oe=H.next()){var le=oe.value;try{m(le)}catch(me){S=null!=S?S:[],me instanceof o.UnsubscriptionError?S=y(y([],h(S)),h(me.errors)):S.push(me)}}}catch(me){b={error:me}}finally{try{oe&&!oe.done&&(T=H.return)&&T.call(H)}finally{if(b)throw b.error}}}if(S)throw new o.UnsubscriptionError(S)}},u.prototype.add=function(_){var v;if(_&&_!==this)if(this.closed)m(_);else{if(_ instanceof u){if(_.closed||_._hasParent(this))return;_._addParent(this)}(this._finalizers=null!==(v=this._finalizers)&&void 0!==v?v:[]).push(_)}},u.prototype._hasParent=function(_){var v=this._parentage;return v===_||Array.isArray(v)&&v.includes(_)},u.prototype._addParent=function(_){var v=this._parentage;this._parentage=Array.isArray(v)?(v.push(_),v):v?[v,_]:_},u.prototype._removeParent=function(_){var v=this._parentage;v===_?this._parentage=null:Array.isArray(v)&&c.arrRemove(v,_)},u.prototype.remove=function(_){var v=this._finalizers;v&&c.arrRemove(v,_),_ instanceof u&&_._removeParent(this)},u.EMPTY=((_=new u).closed=!0,_),u;var _}();function m(u){d.isFunction(u)?u():u.unsubscribe()}r.Subscription=f,r.EMPTY_SUBSCRIPTION=f.EMPTY,r.isSubscription=function p(u){return u instanceof f||u&&"closed"in u&&d.isFunction(u.remove)&&d.isFunction(u.add)&&d.isFunction(u.unsubscribe)}},3570:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.config=void 0,r.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5754:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.firstValueFrom=void 0;var n=a(8915),h=a(7052);r.firstValueFrom=function y(d,o){var c="object"==typeof o;return new Promise(function(f,p){var m=new h.SafeSubscriber({next:function(u){f(u),m.unsubscribe()},error:p,complete:function(){c?f(o.defaultValue):p(new n.EmptyError)}});d.subscribe(m)})}},5257:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.lastValueFrom=void 0;var n=a(8915);r.lastValueFrom=function h(y,d){var o="object"==typeof d;return new Promise(function(c,f){var m,p=!1;y.subscribe({next:function(u){m=u,p=!0},error:f,complete:function(){p?c(m):o?c(d.defaultValue):f(new n.EmptyError)}})})}},6686:function(G,r,a){"use strict";var p,n=this&&this.__extends||(p=function(m,u){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,v){_.__proto__=v}||function(_,v){for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&(_[b]=v[b])})(m,u)},function(m,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function _(){this.constructor=m}p(m,u),m.prototype=null===u?Object.create(u):(_.prototype=u.prototype,new _)});Object.defineProperty(r,"__esModule",{value:!0}),r.ConnectableObservable=void 0;var h=a(5821),y=a(6448),d=a(904),o=a(3173),c=a(9216),f=function(p){function m(u,_){var v=p.call(this)||this;return v.source=u,v.subjectFactory=_,v._subject=null,v._refCount=0,v._connection=null,c.hasLift(u)&&(v.lift=u.lift),v}return n(m,p),m.prototype._subscribe=function(u){return this.getSubject().subscribe(u)},m.prototype.getSubject=function(){var u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject},m.prototype._teardown=function(){this._refCount=0;var u=this._connection;this._subject=this._connection=null,null==u||u.unsubscribe()},m.prototype.connect=function(){var u=this,_=this._connection;if(!_){_=this._connection=new y.Subscription;var v=this.getSubject();_.add(this.source.subscribe(o.createOperatorSubscriber(v,void 0,function(){u._teardown(),v.complete()},function(b){u._teardown(),v.error(b)},function(){return u._teardown()}))),_.closed&&(this._connection=null,_=y.Subscription.EMPTY)}return _},m.prototype.refCount=function(){return d.refCount()(this)},m}(h.Observable);r.ConnectableObservable=f},7532:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallback=void 0;var n=a(4832);r.bindCallback=function h(y,d,o){return n.bindCallbackInternals(!1,y,d,o)}},4832:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallbackInternals=void 0;var y=a(1875),d=a(5821),o=a(1698),c=a(5280),f=a(4928),p=a(7606);r.bindCallbackInternals=function m(u,_,v,b){if(v){if(!y.isScheduler(v))return function(){for(var T=[],S=0;S<arguments.length;S++)T[S]=arguments[S];return m(u,_,b).apply(this,T).pipe(c.mapOneOrManyArgs(v))};b=v}return b?function(){for(var T=[],S=0;S<arguments.length;S++)T[S]=arguments[S];return m(u,_).apply(this,T).pipe(o.subscribeOn(b),f.observeOn(b))}:function(){for(var T=this,S=[],P=0;P<arguments.length;P++)S[P]=arguments[P];var I=new p.AsyncSubject,V=!0;return new d.Observable(function(J){var Y=I.subscribe(J);if(V){V=!1;var X=!1,H=!1;_.apply(T,h(h([],n(S)),[function(){for(var oe=[],le=0;le<arguments.length;le++)oe[le]=arguments[le];if(u){var me=oe.shift();if(null!=me)return void I.error(me)}I.next(1<oe.length?oe:oe[0]),H=!0,X&&I.complete()}])),H&&I.complete(),X=!0}return Y})}}},3488:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.bindNodeCallback=void 0;var n=a(4832);r.bindNodeCallback=function h(y,d,o){return n.bindCallbackInternals(!0,y,d,o)}},6892:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestInit=r.combineLatest=void 0;var n=a(5821),h=a(9923),y=a(4996),d=a(7884),o=a(5280),c=a(1642),f=a(7598),p=a(3173),m=a(2590);function _(b,T,S){return void 0===S&&(S=d.identity),function(P){v(T,function(){for(var I=b.length,V=new Array(I),J=I,Y=I,X=function(oe){v(T,function(){var le=y.from(b[oe],T),me=!1;le.subscribe(p.createOperatorSubscriber(P,function(De){V[oe]=De,me||(me=!0,Y--),Y||P.next(S(V.slice()))},function(){--J||P.complete()}))},P)},H=0;H<I;H++)X(H)},P)}}function v(b,T,S){b?m.executeSchedule(S,b,T):T()}r.combineLatest=function u(){for(var b=[],T=0;T<arguments.length;T++)b[T]=arguments[T];var S=c.popScheduler(b),P=c.popResultSelector(b),I=h.argsArgArrayOrObject(b),V=I.args,J=I.keys;if(0===V.length)return y.from([],S);var Y=new n.Observable(_(V,S,J?function(X){return f.createObject(J,X)}:d.identity));return P?Y.pipe(o.mapOneOrManyArgs(P)):Y},r.combineLatestInit=_},509:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.concat=void 0;var n=a(739),h=a(1642),y=a(4996);r.concat=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return n.concatAll()(y.from(o,h.popScheduler(o)))}},9190:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.connectable=void 0;var n=a(3768),h=a(5821),y=a(9954),d={connector:function(){return new n.Subject},resetOnDisconnect:!0};r.connectable=function o(c,f){void 0===f&&(f=d);var p=null,m=f.connector,u=f.resetOnDisconnect,_=void 0===u||u,v=m(),b=new h.Observable(function(T){return v.subscribe(T)});return b.connect=function(){return(!p||p.closed)&&(p=y.defer(function(){return c}).subscribe(v),_&&p.add(function(){return v=m()})),p},b}},9954:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.defer=void 0;var n=a(5821),h=a(8767);r.defer=function y(d){return new n.Observable(function(o){h.innerFrom(d()).subscribe(o)})}},2946:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrames=void 0;var n=a(5821),h=a(6448),y=a(1038),d=a(6343);function c(p){var m=d.animationFrameProvider.schedule;return new n.Observable(function(u){var _=new h.Subscription,v=p||y.performanceTimestampProvider,b=v.now(),T=function(S){var P=v.now();u.next({timestamp:p?P:S,elapsed:P-b}),u.closed||_.add(m(T))};return _.add(m(T)),_})}r.animationFrames=function o(p){return p?c(p):f};var f=c()},7406:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.empty=r.EMPTY=void 0;var n=a(5821);r.EMPTY=new n.Observable(function(d){return d.complete()}),r.empty=function h(d){return d?function y(d){return new n.Observable(function(o){return d.schedule(function(){return o.complete()})})}(d):r.EMPTY}},7928:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.forkJoin=void 0;var n=a(5821),h=a(9923),y=a(8767),d=a(1642),o=a(3173),c=a(5280),f=a(7598);r.forkJoin=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=d.popResultSelector(m),v=h.argsArgArrayOrObject(m),b=v.args,T=v.keys,S=new n.Observable(function(P){var I=b.length;if(I)for(var V=new Array(I),J=I,Y=I,X=function(oe){var le=!1;y.innerFrom(b[oe]).subscribe(o.createOperatorSubscriber(P,function(me){le||(le=!0,Y--),V[oe]=me},function(){return J--},void 0,function(){(!J||!le)&&(Y||P.next(T?f.createObject(T,V):V),P.complete())}))},H=0;H<I;H++)X(H);else P.complete()});return _?S.pipe(c.mapOneOrManyArgs(_)):S}},4996:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.from=void 0;var n=a(9341),h=a(8767);r.from=function y(d,o){return o?n.scheduled(d,o):h.innerFrom(d)}},2579:function(G,r,a){"use strict";var n=this&&this.__read||function(P,I){var V="function"==typeof Symbol&&P[Symbol.iterator];if(!V)return P;var Y,H,J=V.call(P),X=[];try{for(;(void 0===I||I-- >0)&&!(Y=J.next()).done;)X.push(Y.value)}catch(oe){H={error:oe}}finally{try{Y&&!Y.done&&(V=J.return)&&V.call(J)}finally{if(H)throw H.error}}return X};Object.defineProperty(r,"__esModule",{value:!0}),r.fromEvent=void 0;var h=a(8767),y=a(5821),d=a(3010),o=a(697),c=a(7104),f=a(5280),p=["addListener","removeListener"],m=["addEventListener","removeEventListener"],u=["on","off"];function v(P,I){return function(V){return function(J){return P[V](I,J)}}}r.fromEvent=function _(P,I,V,J){if(c.isFunction(V)&&(J=V,V=void 0),J)return _(P,I,V).pipe(f.mapOneOrManyArgs(J));var Y=n(function S(P){return c.isFunction(P.addEventListener)&&c.isFunction(P.removeEventListener)}(P)?m.map(function(oe){return function(le){return P[oe](I,le,V)}}):function b(P){return c.isFunction(P.addListener)&&c.isFunction(P.removeListener)}(P)?p.map(v(P,I)):function T(P){return c.isFunction(P.on)&&c.isFunction(P.off)}(P)?u.map(v(P,I)):[],2),X=Y[0],H=Y[1];if(!X&&o.isArrayLike(P))return d.mergeMap(function(oe){return _(oe,I,V)})(h.innerFrom(P));if(!X)throw new TypeError("Invalid event target");return new y.Observable(function(oe){var le=function(){for(var me=[],De=0;De<arguments.length;De++)me[De]=arguments[De];return oe.next(1<me.length?me:me[0])};return X(le),function(){return H(le)}})}},3975:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fromEventPattern=void 0;var n=a(5821),h=a(7104),y=a(5280);r.fromEventPattern=function d(o,c,f){return f?d(o,c).pipe(y.mapOneOrManyArgs(f)):new n.Observable(function(p){var m=function(){for(var _=[],v=0;v<arguments.length;v++)_[v]=arguments[v];return p.next(1===_.length?_[0]:_)},u=o(m);return h.isFunction(c)?function(){return c(m,u)}:void 0})}},5107:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fromSubscribable=void 0;var n=a(5821);r.fromSubscribable=function h(y){return new n.Observable(function(d){return y.subscribe(d)})}},4318:function(G,r,a){"use strict";var n=this&&this.__generator||function(f,p){var u,_,v,b,m={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return b={next:T(0),throw:T(1),return:T(2)},"function"==typeof Symbol&&(b[Symbol.iterator]=function(){return this}),b;function T(P){return function(I){return function S(P){if(u)throw new TypeError("Generator is already executing.");for(;m;)try{if(u=1,_&&(v=2&P[0]?_.return:P[0]?_.throw||((v=_.return)&&v.call(_),0):_.next)&&!(v=v.call(_,P[1])).done)return v;switch(_=0,v&&(P=[2&P[0],v.value]),P[0]){case 0:case 1:v=P;break;case 4:return m.label++,{value:P[1],done:!1};case 5:m.label++,_=P[1],P=[0];continue;case 7:P=m.ops.pop(),m.trys.pop();continue;default:if(!(v=(v=m.trys).length>0&&v[v.length-1])&&(6===P[0]||2===P[0])){m=0;continue}if(3===P[0]&&(!v||P[1]>v[0]&&P[1]<v[3])){m.label=P[1];break}if(6===P[0]&&m.label<v[1]){m.label=v[1],v=P;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(P);break}v[2]&&m.ops.pop(),m.trys.pop();continue}P=p.call(f,m)}catch(I){P=[6,I],_=0}finally{u=v=0}if(5&P[0])throw P[1];return{value:P[0]?P[1]:void 0,done:!0}}([P,I])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.generate=void 0;var h=a(7884),y=a(1875),d=a(9954),o=a(9049);r.generate=function c(f,p,m,u,_){var v,b,T,S;function P(){var I;return n(this,function(V){switch(V.label){case 0:I=S,V.label=1;case 1:return!p||p(I)?[4,T(I)]:[3,4];case 2:V.sent(),V.label=3;case 3:return I=m(I),[3,1];case 4:return[2]}})}return 1===arguments.length?(S=(v=f).initialState,p=v.condition,m=v.iterate,T=void 0===(b=v.resultSelector)?h.identity:b,_=v.scheduler):(S=f,!u||y.isScheduler(u)?(T=h.identity,_=u):T=u),d.defer(_?function(){return o.scheduleIterable(P(),_)}:P)}},3140:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.iif=void 0;var n=a(9954);r.iif=function h(y,d,o){return n.defer(function(){return y()?d:o})}},8767:function(G,r,a){"use strict";var n=this&&this.__awaiter||function(le,me,De,be){return new(De||(De=Promise))(function(de,z){function pe(it){try{Oe(be.next(it))}catch(vt){z(vt)}}function ce(it){try{Oe(be.throw(it))}catch(vt){z(vt)}}function Oe(it){it.done?de(it.value):function Z(de){return de instanceof De?de:new De(function(z){z(de)})}(it.value).then(pe,ce)}Oe((be=be.apply(le,me||[])).next())})},h=this&&this.__generator||function(le,me){var be,Z,de,z,De={label:0,sent:function(){if(1&de[0])throw de[1];return de[1]},trys:[],ops:[]};return z={next:pe(0),throw:pe(1),return:pe(2)},"function"==typeof Symbol&&(z[Symbol.iterator]=function(){return this}),z;function pe(Oe){return function(it){return function ce(Oe){if(be)throw new TypeError("Generator is already executing.");for(;De;)try{if(be=1,Z&&(de=2&Oe[0]?Z.return:Oe[0]?Z.throw||((de=Z.return)&&de.call(Z),0):Z.next)&&!(de=de.call(Z,Oe[1])).done)return de;switch(Z=0,de&&(Oe=[2&Oe[0],de.value]),Oe[0]){case 0:case 1:de=Oe;break;case 4:return De.label++,{value:Oe[1],done:!1};case 5:De.label++,Z=Oe[1],Oe=[0];continue;case 7:Oe=De.ops.pop(),De.trys.pop();continue;default:if(!(de=(de=De.trys).length>0&&de[de.length-1])&&(6===Oe[0]||2===Oe[0])){De=0;continue}if(3===Oe[0]&&(!de||Oe[1]>de[0]&&Oe[1]<de[3])){De.label=Oe[1];break}if(6===Oe[0]&&De.label<de[1]){De.label=de[1],de=Oe;break}if(de&&De.label<de[2]){De.label=de[2],De.ops.push(Oe);break}de[2]&&De.ops.pop(),De.trys.pop();continue}Oe=me.call(le,De)}catch(it){Oe=[6,it],Z=0}finally{be=de=0}if(5&Oe[0])throw Oe[1];return{value:Oe[0]?Oe[1]:void 0,done:!0}}([Oe,it])}}},y=this&&this.__asyncValues||function(le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var De,me=le[Symbol.asyncIterator];return me?me.call(le):(le="function"==typeof d?d(le):le[Symbol.iterator](),De={},be("next"),be("throw"),be("return"),De[Symbol.asyncIterator]=function(){return this},De);function be(de){De[de]=le[de]&&function(z){return new Promise(function(pe,ce){!function Z(de,z,pe,ce){Promise.resolve(ce).then(function(Oe){de({value:Oe,done:pe})},z)}(pe,ce,(z=le[de](z)).done,z.value)})}}},d=this&&this.__values||function(le){var me="function"==typeof Symbol&&Symbol.iterator,De=me&&le[me],be=0;if(De)return De.call(le);if(le&&"number"==typeof le.length)return{next:function(){return le&&be>=le.length&&(le=void 0),{value:le&&le[be++],done:!le}}};throw new TypeError(me?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.fromReadableStreamLike=r.fromAsyncIterable=r.fromIterable=r.fromPromise=r.fromArrayLike=r.fromInteropObservable=r.innerFrom=void 0;var o=a(697),c=a(5050),f=a(5821),p=a(7454),m=a(6175),u=a(6870),_=a(5431),v=a(7128),b=a(7104),T=a(4709),S=a(1689);function I(le){return new f.Observable(function(me){var De=le[S.observable]();if(b.isFunction(De.subscribe))return De.subscribe(me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function V(le){return new f.Observable(function(me){for(var De=0;De<le.length&&!me.closed;De++)me.next(le[De]);me.complete()})}function J(le){return new f.Observable(function(me){le.then(function(De){me.closed||(me.next(De),me.complete())},function(De){return me.error(De)}).then(null,T.reportUnhandledError)})}function Y(le){return new f.Observable(function(me){var De,be;try{for(var Z=d(le),de=Z.next();!de.done;de=Z.next())if(me.next(de.value),me.closed)return}catch(pe){De={error:pe}}finally{try{de&&!de.done&&(be=Z.return)&&be.call(Z)}finally{if(De)throw De.error}}me.complete()})}function X(le){return new f.Observable(function(me){(function oe(le,me){var De,be,Z,de;return n(this,void 0,void 0,function(){var pe;return h(this,function(ce){switch(ce.label){case 0:ce.trys.push([0,5,6,11]),De=y(le),ce.label=1;case 1:return[4,De.next()];case 2:if((be=ce.sent()).done)return[3,4];if(me.next(be.value),me.closed)return[2];ce.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return pe=ce.sent(),Z={error:pe},[3,11];case 6:return ce.trys.push([6,,9,10]),be&&!be.done&&(de=De.return)?[4,de.call(De)]:[3,8];case 7:ce.sent(),ce.label=8;case 8:return[3,10];case 9:if(Z)throw Z.error;return[7];case 10:return[7];case 11:return me.complete(),[2]}})})})(le,me).catch(function(De){return me.error(De)})})}function H(le){return X(v.readableStreamLikeToAsyncGenerator(le))}r.innerFrom=function P(le){if(le instanceof f.Observable)return le;if(null!=le){if(p.isInteropObservable(le))return I(le);if(o.isArrayLike(le))return V(le);if(c.isPromise(le))return J(le);if(m.isAsyncIterable(le))return X(le);if(_.isIterable(le))return Y(le);if(v.isReadableStreamLike(le))return H(le)}throw u.createInvalidObservableTypeError(le)},r.fromInteropObservable=I,r.fromArrayLike=V,r.fromPromise=J,r.fromIterable=Y,r.fromAsyncIterable=X,r.fromReadableStreamLike=H},1836:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.interval=void 0;var n=a(4006),h=a(3271);r.interval=function y(d,o){return void 0===d&&(d=0),void 0===o&&(o=n.asyncScheduler),d<0&&(d=0),h.timer(d,d,o)}},9248:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.merge=void 0;var n=a(3917),h=a(8767),y=a(7406),d=a(1642),o=a(4996);r.merge=function c(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];var m=d.popScheduler(f),u=d.popNumber(f,1/0),_=f;return _.length?1===_.length?h.innerFrom(_[0]):n.mergeAll(u)(o.from(_,m)):y.EMPTY}},2818:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.never=r.NEVER=void 0;var n=a(5821),h=a(31);r.NEVER=new n.Observable(h.noop),r.never=function y(){return r.NEVER}},9677:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.of=void 0;var n=a(1642),h=a(4996);r.of=function y(){for(var d=[],o=0;o<arguments.length;o++)d[o]=arguments[o];var c=n.popScheduler(d);return h.from(d,c)}},9978:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNext=void 0;var n=a(7406),h=a(2158),y=a(3531);r.onErrorResumeNext=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return h.onErrorResumeNext(y.argsOrArgArray(o))(n.EMPTY)}},5519:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pairs=void 0;var n=a(4996);r.pairs=function h(y,d){return n.from(Object.entries(y),d)}},8221:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.partition=void 0;var n=a(963),h=a(4270),y=a(8767);r.partition=function d(o,c,f){return[h.filter(c,f)(y.innerFrom(o)),h.filter(n.not(c,f))(y.innerFrom(o))]}},8181:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.raceInit=r.race=void 0;var n=a(5821),h=a(8767),y=a(3531),d=a(3173);function c(f){return function(p){for(var m=[],u=function(v){m.push(h.innerFrom(f[v]).subscribe(d.createOperatorSubscriber(p,function(b){if(m){for(var T=0;T<m.length;T++)T!==v&&m[T].unsubscribe();m=null}p.next(b)})))},_=0;m&&!p.closed&&_<f.length;_++)u(_)}}r.race=function o(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];return 1===(f=y.argsOrArgArray(f)).length?h.innerFrom(f[0]):new n.Observable(c(f))},r.raceInit=c},4622:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.range=void 0;var n=a(5821),h=a(7406);r.range=function y(d,o,c){if(null==o&&(o=d,d=0),o<=0)return h.EMPTY;var f=o+d;return new n.Observable(c?function(p){var m=d;return c.schedule(function(){m<f?(p.next(m++),this.schedule()):p.complete()})}:function(p){for(var m=d;m<f&&!p.closed;)p.next(m++);p.complete()})}},338:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.throwError=void 0;var n=a(5821),h=a(7104);r.throwError=function y(d,o){var c=h.isFunction(d)?d:function(){return d},f=function(p){return p.error(c())};return new n.Observable(o?function(p){return o.schedule(f,0,p)}:f)}},3271:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.timer=void 0;var n=a(5821),h=a(4006),y=a(1875),d=a(7323);r.timer=function o(c,f,p){void 0===c&&(c=0),void 0===p&&(p=h.async);var m=-1;return null!=f&&(y.isScheduler(f)?p=f:m=f),new n.Observable(function(u){var _=d.isValidDate(c)?+c-p.now():c;_<0&&(_=0);var v=0;return p.schedule(function(){u.closed||(u.next(v++),0<=m?this.schedule(void 0,m):u.complete())},_)})}},924:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.using=void 0;var n=a(5821),h=a(8767),y=a(7406);r.using=function d(o,c){return new n.Observable(function(f){var p=o(),m=c(p);return(m?h.innerFrom(m):y.EMPTY).subscribe(f),function(){p&&p.unsubscribe()}})}},4842:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.zip=void 0;var y=a(5821),d=a(8767),o=a(3531),c=a(7406),f=a(3173),p=a(1642);r.zip=function m(){for(var u=[],_=0;_<arguments.length;_++)u[_]=arguments[_];var v=p.popResultSelector(u),b=o.argsOrArgArray(u);return b.length?new y.Observable(function(T){var S=b.map(function(){return[]}),P=b.map(function(){return!1});T.add(function(){S=P=null});for(var I=function(J){d.innerFrom(b[J]).subscribe(f.createOperatorSubscriber(T,function(Y){if(S[J].push(Y),S.every(function(H){return H.length})){var X=S.map(function(H){return H.shift()});T.next(v?v.apply(void 0,h([],n(X))):X),S.some(function(H,oe){return!H.length&&P[oe]})&&T.complete()}},function(){P[J]=!0,!S[J].length&&T.complete()}))},V=0;!T.closed&&V<b.length;V++)I(V);return function(){S=P=null}}):c.EMPTY}},3173:function(G,r,a){"use strict";var o,n=this&&this.__extends||(o=function(c,f){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(p[u]=m[u])})(c,f)},function(c,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function p(){this.constructor=c}o(c,f),c.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(r,"__esModule",{value:!0}),r.OperatorSubscriber=r.createOperatorSubscriber=void 0;var h=a(7052);r.createOperatorSubscriber=function y(o,c,f,p,m){return new d(o,c,f,p,m)};var d=function(o){function c(f,p,m,u,_,v){var b=o.call(this,f)||this;return b.onFinalize=_,b.shouldUnsubscribe=v,b._next=p?function(T){try{p(T)}catch(S){f.error(S)}}:o.prototype._next,b._error=u?function(T){try{u(T)}catch(S){f.error(S)}finally{this.unsubscribe()}}:o.prototype._error,b._complete=m?function(){try{m()}catch(T){f.error(T)}finally{this.unsubscribe()}}:o.prototype._complete,b}return n(c,o),c.prototype.unsubscribe=function(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;o.prototype.unsubscribe.call(this),!p&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}},c}(h.Subscriber);r.OperatorSubscriber=d},4815:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.audit=void 0;var n=a(9216),h=a(8767),y=a(3173);r.audit=function d(o){return n.operate(function(c,f){var p=!1,m=null,u=null,_=!1,v=function(){if(null==u||u.unsubscribe(),u=null,p){p=!1;var T=m;m=null,f.next(T)}_&&f.complete()},b=function(){u=null,_&&f.complete()};c.subscribe(y.createOperatorSubscriber(f,function(T){p=!0,m=T,u||h.innerFrom(o(T)).subscribe(u=y.createOperatorSubscriber(f,v,b))},function(){_=!0,(!p||!u||u.closed)&&f.complete()}))})}},9034:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.auditTime=void 0;var n=a(4006),h=a(4815),y=a(3271);r.auditTime=function d(o,c){return void 0===c&&(c=n.asyncScheduler),h.audit(function(){return y.timer(o,c)})}},8544:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buffer=void 0;var n=a(9216),h=a(31),y=a(3173);r.buffer=function d(o){return n.operate(function(c,f){var p=[];return c.subscribe(y.createOperatorSubscriber(f,function(m){return p.push(m)},function(){f.next(p),f.complete()})),o.subscribe(y.createOperatorSubscriber(f,function(){var m=p;p=[],f.next(m)},h.noop)),function(){p=null}})}},3999:function(G,r,a){"use strict";var n=this&&this.__values||function(c){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&c[f],m=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&m>=c.length&&(c=void 0),{value:c&&c[m++],done:!c}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferCount=void 0;var h=a(9216),y=a(3173),d=a(5137);r.bufferCount=function o(c,f){return void 0===f&&(f=null),f=null!=f?f:c,h.operate(function(p,m){var u=[],_=0;p.subscribe(y.createOperatorSubscriber(m,function(v){var b,T,S,P,I=null;_++%f==0&&u.push([]);try{for(var V=n(u),J=V.next();!J.done;J=V.next())(Y=J.value).push(v),c<=Y.length&&(I=null!=I?I:[]).push(Y)}catch(oe){b={error:oe}}finally{try{J&&!J.done&&(T=V.return)&&T.call(V)}finally{if(b)throw b.error}}if(I)try{for(var X=n(I),H=X.next();!H.done;H=X.next()){var Y;d.arrRemove(u,Y=H.value),m.next(Y)}}catch(oe){S={error:oe}}finally{try{H&&!H.done&&(P=X.return)&&P.call(X)}finally{if(S)throw S.error}}},function(){var v,b;try{for(var T=n(u),S=T.next();!S.done;S=T.next())m.next(S.value)}catch(I){v={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(v)throw v.error}}m.complete()},void 0,function(){u=null}))})}},1392:function(G,r,a){"use strict";var n=this&&this.__values||function(u){var _="function"==typeof Symbol&&Symbol.iterator,v=_&&u[_],b=0;if(v)return v.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&b>=u.length&&(u=void 0),{value:u&&u[b++],done:!u}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferTime=void 0;var h=a(6448),y=a(9216),d=a(3173),o=a(5137),c=a(4006),f=a(1642),p=a(2590);r.bufferTime=function m(u){for(var _,v,b=[],T=1;T<arguments.length;T++)b[T-1]=arguments[T];var S=null!==(_=f.popScheduler(b))&&void 0!==_?_:c.asyncScheduler,P=null!==(v=b[0])&&void 0!==v?v:null,I=b[1]||1/0;return y.operate(function(V,J){var Y=[],X=!1,H=function(me){var De=me.buffer;me.subs.unsubscribe(),o.arrRemove(Y,me),J.next(De),X&&oe()},oe=function(){if(Y){var me=new h.Subscription;J.add(me);var be={buffer:[],subs:me};Y.push(be),p.executeSchedule(me,S,function(){return H(be)},u)}};null!==P&&P>=0?p.executeSchedule(J,S,oe,P,!0):X=!0,oe();var le=d.createOperatorSubscriber(J,function(me){var De,be,Z=Y.slice();try{for(var de=n(Z),z=de.next();!z.done;z=de.next()){var pe=z.value,ce=pe.buffer;ce.push(me),I<=ce.length&&H(pe)}}catch(Oe){De={error:Oe}}finally{try{z&&!z.done&&(be=de.return)&&be.call(de)}finally{if(De)throw De.error}}},function(){for(;null==Y?void 0:Y.length;)J.next(Y.shift().buffer);null==le||le.unsubscribe(),J.complete(),J.unsubscribe()},void 0,function(){return Y=null});V.subscribe(le)})}},555:function(G,r,a){"use strict";var n=this&&this.__values||function(m){var u="function"==typeof Symbol&&Symbol.iterator,_=u&&m[u],v=0;if(_)return _.call(m);if(m&&"number"==typeof m.length)return{next:function(){return m&&v>=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.bufferToggle=void 0;var h=a(6448),y=a(9216),d=a(8767),o=a(3173),c=a(31),f=a(5137);r.bufferToggle=function p(m,u){return y.operate(function(_,v){var b=[];d.innerFrom(m).subscribe(o.createOperatorSubscriber(v,function(T){var S=[];b.push(S);var P=new h.Subscription;P.add(d.innerFrom(u(T)).subscribe(o.createOperatorSubscriber(v,function(){f.arrRemove(b,S),v.next(S),P.unsubscribe()},c.noop)))},c.noop)),_.subscribe(o.createOperatorSubscriber(v,function(T){var S,P;try{for(var I=n(b),V=I.next();!V.done;V=I.next())V.value.push(T)}catch(Y){S={error:Y}}finally{try{V&&!V.done&&(P=I.return)&&P.call(I)}finally{if(S)throw S.error}}},function(){for(;b.length>0;)v.next(b.shift());v.complete()}))})}},7274:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.bufferWhen=void 0;var n=a(9216),h=a(31),y=a(3173),d=a(8767);r.bufferWhen=function o(c){return n.operate(function(f,p){var m=null,u=null,_=function(){null==u||u.unsubscribe();var v=m;m=[],v&&p.next(v),d.innerFrom(c()).subscribe(u=y.createOperatorSubscriber(p,_,h.noop))};_(),f.subscribe(y.createOperatorSubscriber(p,function(v){return null==m?void 0:m.push(v)},function(){m&&p.next(m),p.complete()},void 0,function(){return m=u=null}))})}},6e3:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.catchError=void 0;var n=a(8767),h=a(3173),y=a(9216);r.catchError=function d(o){return y.operate(function(c,f){var u,p=null,m=!1;p=c.subscribe(h.createOperatorSubscriber(f,void 0,void 0,function(_){u=n.innerFrom(o(_,d(o)(c))),p?(p.unsubscribe(),p=null,u.subscribe(f)):m=!0})),m&&(p.unsubscribe(),p=null,u.subscribe(f))})}},8996:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.combineAll=void 0;var n=a(8931);r.combineAll=n.combineLatestAll},5538:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatest=void 0;var y=a(6892),d=a(9216),o=a(3531),c=a(5280),f=a(1471),p=a(1642);r.combineLatest=function m(){for(var u=[],_=0;_<arguments.length;_++)u[_]=arguments[_];var v=p.popResultSelector(u);return v?f.pipe(m.apply(void 0,h([],n(u))),c.mapOneOrManyArgs(v)):d.operate(function(b,T){y.combineLatestInit(h([b],n(o.argsOrArgArray(u))))(T)})}},8931:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestAll=void 0;var n=a(6892),h=a(1277);r.combineLatestAll=function y(d){return h.joinAllInternals(n.combineLatest,d)}},8947:function(G,r,a){"use strict";var n=this&&this.__read||function(o,c){var f="function"==typeof Symbol&&o[Symbol.iterator];if(!f)return o;var m,_,p=f.call(o),u=[];try{for(;(void 0===c||c-- >0)&&!(m=p.next()).done;)u.push(m.value)}catch(v){_={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(_)throw _.error}}return u},h=this&&this.__spreadArray||function(o,c){for(var f=0,p=c.length,m=o.length;f<p;f++,m++)o[m]=c[f];return o};Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestWith=void 0;var y=a(5538);r.combineLatestWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return y.combineLatest.apply(void 0,h([],n(o)))}},4656:function(G,r,a){"use strict";var n=this&&this.__read||function(p,m){var u="function"==typeof Symbol&&p[Symbol.iterator];if(!u)return p;var v,T,_=u.call(p),b=[];try{for(;(void 0===m||m-- >0)&&!(v=_.next()).done;)b.push(v.value)}catch(S){T={error:S}}finally{try{v&&!v.done&&(u=_.return)&&u.call(_)}finally{if(T)throw T.error}}return b},h=this&&this.__spreadArray||function(p,m){for(var u=0,_=m.length,v=p.length;u<_;u++,v++)p[v]=m[u];return p};Object.defineProperty(r,"__esModule",{value:!0}),r.concat=void 0;var y=a(9216),d=a(739),o=a(1642),c=a(4996);r.concat=function f(){for(var p=[],m=0;m<arguments.length;m++)p[m]=arguments[m];var u=o.popScheduler(p);return y.operate(function(_,v){d.concatAll()(c.from(h([_],n(p)),u)).subscribe(v)})}},739:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.concatAll=void 0;var n=a(3917);r.concatAll=function h(){return n.mergeAll(1)}},4659:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.concatMap=void 0;var n=a(3010),h=a(7104);r.concatMap=function y(d,o){return h.isFunction(o)?n.mergeMap(d,o,1):n.mergeMap(d,1)}},2993:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.concatMapTo=void 0;var n=a(4659),h=a(7104);r.concatMapTo=function y(d,o){return h.isFunction(o)?n.concatMap(function(){return d},o):n.concatMap(function(){return d})}},5898:function(G,r,a){"use strict";var n=this&&this.__read||function(o,c){var f="function"==typeof Symbol&&o[Symbol.iterator];if(!f)return o;var m,_,p=f.call(o),u=[];try{for(;(void 0===c||c-- >0)&&!(m=p.next()).done;)u.push(m.value)}catch(v){_={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(_)throw _.error}}return u},h=this&&this.__spreadArray||function(o,c){for(var f=0,p=c.length,m=o.length;f<p;f++,m++)o[m]=c[f];return o};Object.defineProperty(r,"__esModule",{value:!0}),r.concatWith=void 0;var y=a(4656);r.concatWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return y.concat.apply(void 0,h([],n(o)))}},9725:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.connect=void 0;var n=a(3768),h=a(4996),y=a(9216),d=a(5107),o={connector:function(){return new n.Subject}};r.connect=function c(f,p){void 0===p&&(p=o);var m=p.connector;return y.operate(function(u,_){var v=m();h.from(f(d.fromSubscribable(v))).subscribe(_),_.add(u.subscribe(v))})}},1814:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.count=void 0;var n=a(8587);r.count=function h(y){return n.reduce(function(d,o,c){return!y||y(o,c)?d+1:d},0)}},9784:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.debounce=void 0;var n=a(9216),h=a(31),y=a(3173),d=a(8767);r.debounce=function o(c){return n.operate(function(f,p){var m=!1,u=null,_=null,v=function(){if(null==_||_.unsubscribe(),_=null,m){m=!1;var b=u;u=null,p.next(b)}};f.subscribe(y.createOperatorSubscriber(p,function(b){null==_||_.unsubscribe(),m=!0,u=b,_=y.createOperatorSubscriber(p,v,h.noop),d.innerFrom(c(b)).subscribe(_)},function(){v(),p.complete()},void 0,function(){u=_=null}))})}},7061:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.debounceTime=void 0;var n=a(4006),h=a(9216),y=a(3173);r.debounceTime=function d(o,c){return void 0===c&&(c=n.asyncScheduler),h.operate(function(f,p){var m=null,u=null,_=null,v=function(){if(m){m.unsubscribe(),m=null;var T=u;u=null,p.next(T)}};function b(){var T=_+o,S=c.now();if(S<T)return m=this.schedule(void 0,T-S),void p.add(m);v()}f.subscribe(y.createOperatorSubscriber(p,function(T){u=T,_=c.now(),m||(m=c.schedule(b,o),p.add(m))},function(){v(),p.complete()},void 0,function(){u=m=null}))})}},926:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.defaultIfEmpty=void 0;var n=a(9216),h=a(3173);r.defaultIfEmpty=function y(d){return n.operate(function(o,c){var f=!1;o.subscribe(h.createOperatorSubscriber(c,function(p){f=!0,c.next(p)},function(){f||c.next(d),c.complete()}))})}},2096:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.delay=void 0;var n=a(4006),h=a(3264),y=a(3271);r.delay=function d(o,c){void 0===c&&(c=n.asyncScheduler);var f=y.timer(o,c);return h.delayWhen(function(){return f})}},3264:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.delayWhen=void 0;var n=a(509),h=a(1333),y=a(4041),d=a(2182),o=a(3010);r.delayWhen=function c(f,p){return p?function(m){return n.concat(p.pipe(h.take(1),y.ignoreElements()),m.pipe(c(f)))}:o.mergeMap(function(m,u){return f(m,u).pipe(h.take(1),d.mapTo(m))})}},533:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.dematerialize=void 0;var n=a(7262),h=a(9216),y=a(3173);r.dematerialize=function d(){return h.operate(function(o,c){o.subscribe(y.createOperatorSubscriber(c,function(f){return n.observeNotification(f,c)}))})}},5045:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.distinct=void 0;var n=a(9216),h=a(3173),y=a(31);r.distinct=function d(o,c){return n.operate(function(f,p){var m=new Set;f.subscribe(h.createOperatorSubscriber(p,function(u){var _=o?o(u):u;m.has(_)||(m.add(_),p.next(u))})),null==c||c.subscribe(h.createOperatorSubscriber(p,function(){return m.clear()},y.noop))})}},5794:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilChanged=void 0;var n=a(7884),h=a(9216),y=a(3173);function o(c,f){return c===f}r.distinctUntilChanged=function d(c,f){return void 0===f&&(f=n.identity),c=null!=c?c:o,h.operate(function(p,m){var u,_=!0;p.subscribe(y.createOperatorSubscriber(m,function(v){var b=f(v);(_||!c(u,b))&&(_=!1,u=b,m.next(v))}))})}},8589:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilKeyChanged=void 0;var n=a(5794);r.distinctUntilKeyChanged=function h(y,d){return n.distinctUntilChanged(function(o,c){return d?d(o[y],c[y]):o[y]===c[y]})}},1069:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.elementAt=void 0;var n=a(4769),h=a(4270),y=a(9194),d=a(926),o=a(1333);r.elementAt=function c(f,p){if(f<0)throw new n.ArgumentOutOfRangeError;var m=arguments.length>=2;return function(u){return u.pipe(h.filter(function(_,v){return v===f}),o.take(1),m?d.defaultIfEmpty(p):y.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4312:function(G,r,a){"use strict";var n=this&&this.__read||function(c,f){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var u,v,m=p.call(c),_=[];try{for(;(void 0===f||f-- >0)&&!(u=m.next()).done;)_.push(u.value)}catch(b){v={error:b}}finally{try{u&&!u.done&&(p=m.return)&&p.call(m)}finally{if(v)throw v.error}}return _},h=this&&this.__spreadArray||function(c,f){for(var p=0,m=f.length,u=c.length;p<m;p++,u++)c[u]=f[p];return c};Object.defineProperty(r,"__esModule",{value:!0}),r.endWith=void 0;var y=a(509),d=a(9677);r.endWith=function o(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];return function(p){return y.concat(p,d.of.apply(void 0,h([],n(c))))}}},9098:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.every=void 0;var n=a(9216),h=a(3173);r.every=function y(d,o){return n.operate(function(c,f){var p=0;c.subscribe(h.createOperatorSubscriber(f,function(m){d.call(o,m,p++,c)||(f.next(!1),f.complete())},function(){f.next(!0),f.complete()}))})}},5429:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.exhaust=void 0;var n=a(1399);r.exhaust=n.exhaustAll},1399:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustAll=void 0;var n=a(9216),h=a(8767),y=a(3173);r.exhaustAll=function d(){return n.operate(function(o,c){var f=!1,p=null;o.subscribe(y.createOperatorSubscriber(c,function(m){p||(p=h.innerFrom(m).subscribe(y.createOperatorSubscriber(c,void 0,function(){p=null,f&&c.complete()})))},function(){f=!0,!p&&c.complete()}))})}},5183:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustMap=void 0;var n=a(752),h=a(8767),y=a(9216),d=a(3173);r.exhaustMap=function o(c,f){return f?function(p){return p.pipe(o(function(m,u){return h.innerFrom(c(m,u)).pipe(n.map(function(_,v){return f(m,_,u,v)}))}))}:y.operate(function(p,m){var u=0,_=null,v=!1;p.subscribe(d.createOperatorSubscriber(m,function(b){_||(_=d.createOperatorSubscriber(m,void 0,function(){_=null,v&&m.complete()}),h.innerFrom(c(b,u++)).subscribe(_))},function(){v=!0,!_&&m.complete()}))})}},8678:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.expand=void 0;var n=a(9216),h=a(8457);r.expand=function y(d,o,c){return void 0===o&&(o=1/0),o=(o||0)<1?1/0:o,n.operate(function(f,p){return h.mergeInternals(f,p,d,o,void 0,!0,c)})}},4270:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.filter=void 0;var n=a(9216),h=a(3173);r.filter=function y(d,o){return n.operate(function(c,f){var p=0;c.subscribe(h.createOperatorSubscriber(f,function(m){return d.call(o,m,p++)&&f.next(m)}))})}},1587:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.finalize=void 0;var n=a(9216);r.finalize=function h(y){return n.operate(function(d,o){try{d.subscribe(o)}finally{o.add(y)}})}},2265:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createFind=r.find=void 0;var n=a(9216),h=a(3173);function d(o,c,f){var p="index"===f;return function(m,u){var _=0;m.subscribe(h.createOperatorSubscriber(u,function(v){var b=_++;o.call(c,v,b,m)&&(u.next(p?b:v),u.complete())},function(){u.next(p?-1:void 0),u.complete()}))}}r.find=function y(o,c){return n.operate(d(o,c,"value"))},r.createFind=d},8195:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findIndex=void 0;var n=a(9216),h=a(2265);r.findIndex=function y(d,o){return n.operate(h.createFind(d,o,"index"))}},8012:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.first=void 0;var n=a(8915),h=a(4270),y=a(1333),d=a(926),o=a(9194),c=a(7884);r.first=function f(p,m){var u=arguments.length>=2;return function(_){return _.pipe(p?h.filter(function(v,b){return p(v,b,_)}):c.identity,y.take(1),u?d.defaultIfEmpty(m):o.throwIfEmpty(function(){return new n.EmptyError}))}}},1463:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.flatMap=void 0;var n=a(3010);r.flatMap=n.mergeMap},4075:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.groupBy=void 0;var n=a(5821),h=a(8767),y=a(3768),d=a(9216),o=a(3173);r.groupBy=function c(f,p,m,u){return d.operate(function(_,v){var b;p&&"function"!=typeof p?(m=p.duration,b=p.element,u=p.connector):b=p;var T=new Map,S=function(X){T.forEach(X),X(v)},P=function(X){return S(function(H){return H.error(X)})},I=0,V=!1,J=new o.OperatorSubscriber(v,function(X){try{var H=f(X),oe=T.get(H);if(!oe){T.set(H,oe=u?u():new y.Subject);var le=function Y(X,H){var oe=new n.Observable(function(le){I++;var me=H.subscribe(le);return function(){me.unsubscribe(),0==--I&&V&&J.unsubscribe()}});return oe.key=X,oe}(H,oe);if(v.next(le),m){var me=o.createOperatorSubscriber(oe,function(){oe.complete(),null==me||me.unsubscribe()},void 0,void 0,function(){return T.delete(H)});J.add(h.innerFrom(m(le)).subscribe(me))}}oe.next(b?b(X):X)}catch(De){P(De)}},function(){return S(function(X){return X.complete()})},P,function(){return T.clear()},function(){return V=!0,0===I});_.subscribe(J)})}},4041:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ignoreElements=void 0;var n=a(9216),h=a(3173),y=a(31);r.ignoreElements=function d(){return n.operate(function(o,c){o.subscribe(h.createOperatorSubscriber(c,y.noop))})}},6478:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isEmpty=void 0;var n=a(9216),h=a(3173);r.isEmpty=function y(){return n.operate(function(d,o){d.subscribe(h.createOperatorSubscriber(o,function(){o.next(!1),o.complete()},function(){o.next(!0),o.complete()}))})}},1277:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.joinAllInternals=void 0;var n=a(7884),h=a(5280),y=a(1471),d=a(3010),o=a(2976);r.joinAllInternals=function c(f,p){return y.pipe(o.toArray(),d.mergeMap(function(m){return f(m)}),p?h.mapOneOrManyArgs(p):n.identity)}},5126:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.last=void 0;var n=a(8915),h=a(4270),y=a(3534),d=a(9194),o=a(926),c=a(7884);r.last=function f(p,m){var u=arguments.length>=2;return function(_){return _.pipe(p?h.filter(function(v,b){return p(v,b,_)}):c.identity,y.takeLast(1),u?o.defaultIfEmpty(m):d.throwIfEmpty(function(){return new n.EmptyError}))}}},752:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.map=void 0;var n=a(9216),h=a(3173);r.map=function y(d,o){return n.operate(function(c,f){var p=0;c.subscribe(h.createOperatorSubscriber(f,function(m){f.next(d.call(o,m,p++))}))})}},2182:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mapTo=void 0;var n=a(752);r.mapTo=function h(y){return n.map(function(){return y})}},119:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.materialize=void 0;var n=a(7262),h=a(9216),y=a(3173);r.materialize=function d(){return h.operate(function(o,c){o.subscribe(y.createOperatorSubscriber(c,function(f){c.next(n.Notification.createNext(f))},function(){c.next(n.Notification.createComplete()),c.complete()},function(f){c.next(n.Notification.createError(f)),c.complete()}))})}},9329:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.max=void 0;var n=a(8587),h=a(7104);r.max=function y(d){return n.reduce(h.isFunction(d)?function(o,c){return d(o,c)>0?o:c}:function(o,c){return o>c?o:c})}},8789:function(G,r,a){"use strict";var n=this&&this.__read||function(m,u){var _="function"==typeof Symbol&&m[Symbol.iterator];if(!_)return m;var b,S,v=_.call(m),T=[];try{for(;(void 0===u||u-- >0)&&!(b=v.next()).done;)T.push(b.value)}catch(P){S={error:P}}finally{try{b&&!b.done&&(_=v.return)&&_.call(v)}finally{if(S)throw S.error}}return T},h=this&&this.__spreadArray||function(m,u){for(var _=0,v=u.length,b=m.length;_<v;_++,b++)m[b]=u[_];return m};Object.defineProperty(r,"__esModule",{value:!0}),r.merge=void 0;var y=a(9216),d=a(3531),o=a(3917),c=a(1642),f=a(4996);r.merge=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=c.popScheduler(m),v=c.popNumber(m,1/0);return m=d.argsOrArgArray(m),y.operate(function(b,T){o.mergeAll(v)(f.from(h([b],n(m)),_)).subscribe(T)})}},3917:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeAll=void 0;var n=a(3010),h=a(7884);r.mergeAll=function y(d){return void 0===d&&(d=1/0),n.mergeMap(h.identity,d)}},8457:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeInternals=void 0;var n=a(8767),h=a(2590),y=a(3173);r.mergeInternals=function d(o,c,f,p,m,u,_,v){var b=[],T=0,S=0,P=!1,I=function(){P&&!b.length&&!T&&c.complete()},V=function(Y){return T<p?J(Y):b.push(Y)},J=function(Y){u&&c.next(Y),T++;var X=!1;n.innerFrom(f(Y,S++)).subscribe(y.createOperatorSubscriber(c,function(H){null==m||m(H),u?V(H):c.next(H)},function(){X=!0},void 0,function(){if(X)try{T--;for(var H=function(){var oe=b.shift();_?h.executeSchedule(c,_,function(){return J(oe)}):J(oe)};b.length&&T<p;)H();I()}catch(oe){c.error(oe)}}))};return o.subscribe(y.createOperatorSubscriber(c,V,function(){P=!0,I()})),function(){null==v||v()}}},3010:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMap=void 0;var n=a(752),h=a(8767),y=a(9216),d=a(8457),o=a(7104);r.mergeMap=function c(f,p,m){return void 0===m&&(m=1/0),o.isFunction(p)?c(function(u,_){return n.map(function(v,b){return p(u,v,_,b)})(h.innerFrom(f(u,_)))},m):("number"==typeof p&&(m=p),y.operate(function(u,_){return d.mergeInternals(u,_,f,m)}))}},929:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMapTo=void 0;var n=a(3010),h=a(7104);r.mergeMapTo=function y(d,o,c){return void 0===c&&(c=1/0),h.isFunction(o)?n.mergeMap(function(){return d},o,c):("number"==typeof o&&(c=o),n.mergeMap(function(){return d},c))}},2816:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mergeScan=void 0;var n=a(9216),h=a(8457);r.mergeScan=function y(d,o,c){return void 0===c&&(c=1/0),n.operate(function(f,p){var m=o;return h.mergeInternals(f,p,function(u,_){return d(m,u,_)},c,function(u){m=u},!1,void 0,function(){return m=null})})}},9684:function(G,r,a){"use strict";var n=this&&this.__read||function(o,c){var f="function"==typeof Symbol&&o[Symbol.iterator];if(!f)return o;var m,_,p=f.call(o),u=[];try{for(;(void 0===c||c-- >0)&&!(m=p.next()).done;)u.push(m.value)}catch(v){_={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(_)throw _.error}}return u},h=this&&this.__spreadArray||function(o,c){for(var f=0,p=c.length,m=o.length;f<p;f++,m++)o[m]=c[f];return o};Object.defineProperty(r,"__esModule",{value:!0}),r.mergeWith=void 0;var y=a(8789);r.mergeWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return y.merge.apply(void 0,h([],n(o)))}},6250:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.min=void 0;var n=a(8587),h=a(7104);r.min=function y(d){return n.reduce(h.isFunction(d)?function(o,c){return d(o,c)<0?o:c}:function(o,c){return o<c?o:c})}},9872:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.multicast=void 0;var n=a(6686),h=a(7104),y=a(9725);r.multicast=function d(o,c){var f=h.isFunction(o)?o:function(){return o};return h.isFunction(c)?y.connect(c,{connector:f}):function(p){return new n.ConnectableObservable(p,f)}}},4928:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.observeOn=void 0;var n=a(2590),h=a(9216),y=a(3173);r.observeOn=function d(o,c){return void 0===c&&(c=0),h.operate(function(f,p){f.subscribe(y.createOperatorSubscriber(p,function(m){return n.executeSchedule(p,o,function(){return p.next(m)},c)},function(){return n.executeSchedule(p,o,function(){return p.complete()},c)},function(m){return n.executeSchedule(p,o,function(){return p.error(m)},c)}))})}},2158:function(G,r,a){"use strict";var n=this&&this.__read||function(m,u){var _="function"==typeof Symbol&&m[Symbol.iterator];if(!_)return m;var b,S,v=_.call(m),T=[];try{for(;(void 0===u||u-- >0)&&!(b=v.next()).done;)T.push(b.value)}catch(P){S={error:P}}finally{try{b&&!b.done&&(_=v.return)&&_.call(v)}finally{if(S)throw S.error}}return T},h=this&&this.__spreadArray||function(m,u){for(var _=0,v=u.length,b=m.length;_<v;_++,b++)m[b]=u[_];return m};Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNext=void 0;var y=a(9216),d=a(8767),o=a(3531),c=a(3173),f=a(31);r.onErrorResumeNext=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=o.argsOrArgArray(m);return y.operate(function(v,b){var T=h([v],n(_)),S=function(){if(!b.closed)if(T.length>0){var P=void 0;try{P=d.innerFrom(T.shift())}catch(V){return void S()}var I=c.createOperatorSubscriber(b,void 0,f.noop,f.noop);P.subscribe(I),I.add(S)}else b.complete()};S()})}},9526:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pairwise=void 0;var n=a(9216),h=a(3173);r.pairwise=function y(){return n.operate(function(d,o){var c,f=!1;d.subscribe(h.createOperatorSubscriber(o,function(p){var m=c;c=p,f&&o.next([m,p]),f=!0}))})}},5199:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pluck=void 0;var n=a(752);r.pluck=function h(){for(var y=[],d=0;d<arguments.length;d++)y[d]=arguments[d];var o=y.length;if(0===o)throw new Error("list of properties cannot be empty.");return n.map(function(c){for(var f=c,p=0;p<o;p++){var m=null==f?void 0:f[y[p]];if(void 0===m)return;f=m}return f})}},955:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.publish=void 0;var n=a(3768),h=a(9872),y=a(9725);r.publish=function d(o){return o?function(c){return y.connect(o)(c)}:function(c){return h.multicast(new n.Subject)(c)}}},6750:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.publishBehavior=void 0;var n=a(5482),h=a(6686);r.publishBehavior=function y(d){return function(o){var c=new n.BehaviorSubject(d);return new h.ConnectableObservable(o,function(){return c})}}},1003:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.publishLast=void 0;var n=a(7606),h=a(6686);r.publishLast=function y(){return function(d){var o=new n.AsyncSubject;return new h.ConnectableObservable(d,function(){return o})}}},5530:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.publishReplay=void 0;var n=a(3406),h=a(9872),y=a(7104);r.publishReplay=function d(o,c,f,p){f&&!y.isFunction(f)&&(p=f);var m=y.isFunction(f)?f:void 0;return function(u){return h.multicast(new n.ReplaySubject(o,c,p),m)(u)}}},2992:function(G,r,a){"use strict";var n=this&&this.__read||function(f,p){var m="function"==typeof Symbol&&f[Symbol.iterator];if(!m)return f;var _,b,u=m.call(f),v=[];try{for(;(void 0===p||p-- >0)&&!(_=u.next()).done;)v.push(_.value)}catch(T){b={error:T}}finally{try{_&&!_.done&&(m=u.return)&&m.call(u)}finally{if(b)throw b.error}}return v},h=this&&this.__spreadArray||function(f,p){for(var m=0,u=p.length,_=f.length;m<u;m++,_++)f[_]=p[m];return f};Object.defineProperty(r,"__esModule",{value:!0}),r.raceWith=void 0;var y=a(8181),d=a(9216),o=a(7884);r.raceWith=function c(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];return f.length?d.operate(function(m,u){y.raceInit(h([m],n(f)))(u)}):o.identity}},8587:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.reduce=void 0;var n=a(3049),h=a(9216);r.reduce=function y(d,o){return h.operate(n.scanInternals(d,o,arguments.length>=2,!1,!0))}},904:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.refCount=void 0;var n=a(9216),h=a(3173);r.refCount=function y(){return n.operate(function(d,o){var c=null;d._refCount++;var f=h.createOperatorSubscriber(o,void 0,void 0,void 0,function(){if(!d||d._refCount<=0||0<--d._refCount)c=null;else{var p=d._connection,m=c;c=null,p&&(!m||p===m)&&p.unsubscribe(),o.unsubscribe()}});d.subscribe(f),f.closed||(c=d.connect())})}},8408:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.repeat=void 0;var n=a(7406),h=a(9216),y=a(3173),d=a(8767),o=a(3271);r.repeat=function c(f){var p,u,m=1/0;return null!=f&&("object"==typeof f?(m=void 0===(p=f.count)?1/0:p,u=f.delay):m=f),m<=0?function(){return n.EMPTY}:h.operate(function(_,v){var T,b=0,S=function(){if(null==T||T.unsubscribe(),T=null,null!=u){var I="number"==typeof u?o.timer(u):d.innerFrom(u(b)),V=y.createOperatorSubscriber(v,function(){V.unsubscribe(),P()});I.subscribe(V)}else P()},P=function(){var I=!1;T=_.subscribe(y.createOperatorSubscriber(v,void 0,function(){++b<m?T?S():I=!0:v.complete()})),I&&S()};P()})}},7032:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.repeatWhen=void 0;var n=a(3768),h=a(9216),y=a(3173);r.repeatWhen=function d(o){return h.operate(function(c,f){var p,u,m=!1,_=!1,v=!1,b=function(){return v&&_&&(f.complete(),!0)},S=function(){v=!1,p=c.subscribe(y.createOperatorSubscriber(f,void 0,function(){v=!0,!b()&&(u||(u=new n.Subject,o(u).subscribe(y.createOperatorSubscriber(f,function(){p?S():m=!0},function(){_=!0,b()}))),u).next()})),m&&(p.unsubscribe(),p=null,m=!1,S())};S()})}},6069:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.retry=void 0;var n=a(9216),h=a(3173),y=a(7884),d=a(3271),o=a(8767);r.retry=function c(f){var p;void 0===f&&(f=1/0);var m=(p=f&&"object"==typeof f?f:{count:f}).count,u=void 0===m?1/0:m,_=p.delay,v=p.resetOnSuccess,b=void 0!==v&&v;return u<=0?y.identity:n.operate(function(T,S){var I,P=0,V=function(){var J=!1;I=T.subscribe(h.createOperatorSubscriber(S,function(Y){b&&(P=0),S.next(Y)},void 0,function(Y){if(P++<u){var X=function(){I?(I.unsubscribe(),I=null,V()):J=!0};if(null!=_){var H="number"==typeof _?d.timer(_):o.innerFrom(_(Y,P)),oe=h.createOperatorSubscriber(S,function(){oe.unsubscribe(),X()},function(){S.complete()});H.subscribe(oe)}else X()}else S.error(Y)})),J&&(I.unsubscribe(),I=null,V())};V()})}},5131:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.retryWhen=void 0;var n=a(3768),h=a(9216),y=a(3173);r.retryWhen=function d(o){return h.operate(function(c,f){var p,u,m=!1,_=function(){p=c.subscribe(y.createOperatorSubscriber(f,void 0,void 0,function(v){u||(u=new n.Subject,o(u).subscribe(y.createOperatorSubscriber(f,function(){return p?_():m=!0}))),u&&u.next(v)})),m&&(p.unsubscribe(),p=null,m=!1,_())};_()})}},2531:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sample=void 0;var n=a(9216),h=a(31),y=a(3173);r.sample=function d(o){return n.operate(function(c,f){var p=!1,m=null;c.subscribe(y.createOperatorSubscriber(f,function(u){p=!0,m=u})),o.subscribe(y.createOperatorSubscriber(f,function(){if(p){p=!1;var u=m;m=null,f.next(u)}},h.noop))})}},2098:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sampleTime=void 0;var n=a(4006),h=a(2531),y=a(1836);r.sampleTime=function d(o,c){return void 0===c&&(c=n.asyncScheduler),h.sample(y.interval(o,c))}},251:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scan=void 0;var n=a(9216),h=a(3049);r.scan=function y(d,o){return n.operate(h.scanInternals(d,o,arguments.length>=2,!0))}},3049:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scanInternals=void 0;var n=a(3173);r.scanInternals=function h(y,d,o,c,f){return function(p,m){var u=o,_=d,v=0;p.subscribe(n.createOperatorSubscriber(m,function(b){var T=v++;_=u?y(_,b,T):(u=!0,b),c&&m.next(_)},f&&function(){u&&m.next(_),m.complete()}))}}},9788:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sequenceEqual=void 0;var n=a(9216),h=a(3173);r.sequenceEqual=function y(o,c){return void 0===c&&(c=function(f,p){return f===p}),n.operate(function(f,p){var m={buffer:[],complete:!1},u={buffer:[],complete:!1},_=function(b){p.next(b),p.complete()},v=function(b,T){var S=h.createOperatorSubscriber(p,function(P){var I=T.buffer;0===I.length?T.complete?_(!1):b.buffer.push(P):!c(P,I.shift())&&_(!1)},function(){b.complete=!0,T.complete&&_(0===T.buffer.length),null==S||S.unsubscribe()});return S};f.subscribe(v(m,u)),o.subscribe(v(u,m))})}},3222:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.share=void 0;var y=a(4996),d=a(1333),o=a(3768),c=a(7052),f=a(9216);function m(u,_){for(var v=[],b=2;b<arguments.length;b++)v[b-2]=arguments[b];return!0===_?(u(),null):!1===_?null:_.apply(void 0,h([],n(v))).pipe(d.take(1)).subscribe(function(){return u()})}r.share=function p(u){void 0===u&&(u={});var _=u.connector,v=void 0===_?function(){return new o.Subject}:_,b=u.resetOnError,T=void 0===b||b,S=u.resetOnComplete,P=void 0===S||S,I=u.resetOnRefCountZero,V=void 0===I||I;return function(J){var Y=null,X=null,H=null,oe=0,le=!1,me=!1,De=function(){null==X||X.unsubscribe(),X=null},be=function(){De(),Y=H=null,le=me=!1},Z=function(){var de=Y;be(),null==de||de.unsubscribe()};return f.operate(function(de,z){oe++,!me&&!le&&De();var pe=H=null!=H?H:v();z.add(function(){0==--oe&&!me&&!le&&(X=m(Z,V))}),pe.subscribe(z),Y||(Y=new c.SafeSubscriber({next:function(ce){return pe.next(ce)},error:function(ce){me=!0,De(),X=m(be,T,ce),pe.error(ce)},complete:function(){le=!0,De(),X=m(be,P),pe.complete()}}),y.from(de).subscribe(Y))})(J)}}},2186:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.shareReplay=void 0;var n=a(3406),h=a(3222);r.shareReplay=function y(d,o,c){var f,p,m,u,_=!1;return d&&"object"==typeof d?(u=void 0===(f=d.bufferSize)?1/0:f,o=void 0===(p=d.windowTime)?1/0:p,_=void 0!==(m=d.refCount)&&m,c=d.scheduler):u=null!=d?d:1/0,h.share({connector:function(){return new n.ReplaySubject(u,o,c)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},695:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.single=void 0;var n=a(8915),h=a(1551),y=a(5477),d=a(9216),o=a(3173);r.single=function c(f){return d.operate(function(p,m){var _,u=!1,v=!1,b=0;p.subscribe(o.createOperatorSubscriber(m,function(T){v=!0,(!f||f(T,b++,p))&&(u&&m.error(new h.SequenceError("Too many matching values")),u=!0,_=T)},function(){u?(m.next(_),m.complete()):m.error(v?new y.NotFoundError("No matching values"):new n.EmptyError)}))})}},4975:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.skip=void 0;var n=a(4270);r.skip=function h(y){return n.filter(function(d,o){return y<=o})}},728:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.skipLast=void 0;var n=a(7884),h=a(9216),y=a(3173);r.skipLast=function d(o){return o<=0?n.identity:h.operate(function(c,f){var p=new Array(o),m=0;return c.subscribe(y.createOperatorSubscriber(f,function(u){var _=m++;if(_<o)p[_]=u;else{var v=_%o,b=p[v];p[v]=u,f.next(b)}})),function(){p=null}})}},7409:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.skipUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),d=a(31);r.skipUntil=function o(c){return n.operate(function(f,p){var m=!1,u=h.createOperatorSubscriber(p,function(){null==u||u.unsubscribe(),m=!0},d.noop);y.innerFrom(c).subscribe(u),f.subscribe(h.createOperatorSubscriber(p,function(_){return m&&p.next(_)}))})}},385:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.skipWhile=void 0;var n=a(9216),h=a(3173);r.skipWhile=function y(d){return n.operate(function(o,c){var f=!1,p=0;o.subscribe(h.createOperatorSubscriber(c,function(m){return(f||(f=!d(m,p++)))&&c.next(m)}))})}},4930:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.startWith=void 0;var n=a(509),h=a(1642),y=a(9216);r.startWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];var f=h.popScheduler(o);return y.operate(function(p,m){(f?n.concat(o,p,f):n.concat(o,p)).subscribe(m)})}},1698:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.subscribeOn=void 0;var n=a(9216);r.subscribeOn=function h(y,d){return void 0===d&&(d=0),n.operate(function(o,c){c.add(y.schedule(function(){return o.subscribe(c)},d))})}},8044:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.switchAll=void 0;var n=a(986),h=a(7884);r.switchAll=function y(){return n.switchMap(h.identity)}},986:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.switchMap=void 0;var n=a(8767),h=a(9216),y=a(3173);r.switchMap=function d(o,c){return h.operate(function(f,p){var m=null,u=0,_=!1,v=function(){return _&&!m&&p.complete()};f.subscribe(y.createOperatorSubscriber(p,function(b){null==m||m.unsubscribe();var T=0,S=u++;n.innerFrom(o(b,S)).subscribe(m=y.createOperatorSubscriber(p,function(P){return p.next(c?c(b,P,S,T++):P)},function(){m=null,v()}))},function(){_=!0,v()}))})}},9309:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.switchMapTo=void 0;var n=a(986),h=a(7104);r.switchMapTo=function y(d,o){return h.isFunction(o)?n.switchMap(function(){return d},o):n.switchMap(function(){return d})}},9499:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.switchScan=void 0;var n=a(986),h=a(9216);r.switchScan=function y(d,o){return h.operate(function(c,f){var p=o;return n.switchMap(function(m,u){return d(p,m,u)},function(m,u){return p=u,u})(c).subscribe(f),function(){p=null}})}},1333:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.take=void 0;var n=a(7406),h=a(9216),y=a(3173);r.take=function d(o){return o<=0?function(){return n.EMPTY}:h.operate(function(c,f){var p=0;c.subscribe(y.createOperatorSubscriber(f,function(m){++p<=o&&(f.next(m),o<=p&&f.complete())}))})}},3534:function(G,r,a){"use strict";var n=this&&this.__values||function(c){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&c[f],m=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&m>=c.length&&(c=void 0),{value:c&&c[m++],done:!c}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.takeLast=void 0;var h=a(7406),y=a(9216),d=a(3173);r.takeLast=function o(c){return c<=0?function(){return h.EMPTY}:y.operate(function(f,p){var m=[];f.subscribe(d.createOperatorSubscriber(p,function(u){m.push(u),c<m.length&&m.shift()},function(){var u,_;try{for(var v=n(m),b=v.next();!b.done;b=v.next())p.next(b.value)}catch(S){u={error:S}}finally{try{b&&!b.done&&(_=v.return)&&_.call(v)}finally{if(u)throw u.error}}p.complete()},void 0,function(){m=null}))})}},5716:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.takeUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),d=a(31);r.takeUntil=function o(c){return n.operate(function(f,p){y.innerFrom(c).subscribe(h.createOperatorSubscriber(p,function(){return p.complete()},d.noop)),!p.closed&&f.subscribe(p)})}},9928:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.takeWhile=void 0;var n=a(9216),h=a(3173);r.takeWhile=function y(d,o){return void 0===o&&(o=!1),n.operate(function(c,f){var p=0;c.subscribe(h.createOperatorSubscriber(f,function(m){var u=d(m,p++);(u||o)&&f.next(m),!u&&f.complete()}))})}},6821:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.tap=void 0;var n=a(7104),h=a(9216),y=a(3173),d=a(7884);r.tap=function o(c,f,p){var m=n.isFunction(c)||f||p?{next:c,error:f,complete:p}:c;return m?h.operate(function(u,_){var v;null===(v=m.subscribe)||void 0===v||v.call(m);var b=!0;u.subscribe(y.createOperatorSubscriber(_,function(T){var S;null===(S=m.next)||void 0===S||S.call(m,T),_.next(T)},function(){var T;b=!1,null===(T=m.complete)||void 0===T||T.call(m),_.complete()},function(T){var S;b=!1,null===(S=m.error)||void 0===S||S.call(m,T),_.error(T)},function(){var T,S;b&&(null===(T=m.unsubscribe)||void 0===T||T.call(m)),null===(S=m.finalize)||void 0===S||S.call(m)}))}):d.identity}},4330:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.throttle=r.defaultThrottleConfig=void 0;var n=a(9216),h=a(3173),y=a(8767);r.defaultThrottleConfig={leading:!0,trailing:!1},r.throttle=function d(o,c){return void 0===c&&(c=r.defaultThrottleConfig),n.operate(function(f,p){var m=c.leading,u=c.trailing,_=!1,v=null,b=null,T=!1,S=function(){null==b||b.unsubscribe(),b=null,u&&(V(),T&&p.complete())},P=function(){b=null,T&&p.complete()},I=function(J){return b=y.innerFrom(o(J)).subscribe(h.createOperatorSubscriber(p,S,P))},V=function(){if(_){_=!1;var J=v;v=null,p.next(J),!T&&I(J)}};f.subscribe(h.createOperatorSubscriber(p,function(J){_=!0,v=J,(!b||b.closed)&&(m?V():I(J))},function(){T=!0,(!(u&&_&&b)||b.closed)&&p.complete()}))})}},4029:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.throttleTime=void 0;var n=a(4006),h=a(4330),y=a(3271);r.throttleTime=function d(o,c,f){void 0===c&&(c=n.asyncScheduler),void 0===f&&(f=h.defaultThrottleConfig);var p=y.timer(o,c);return h.throttle(function(){return p},f)}},9194:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.throwIfEmpty=void 0;var n=a(8915),h=a(9216),y=a(3173);function o(){return new n.EmptyError}r.throwIfEmpty=function d(c){return void 0===c&&(c=o),h.operate(function(f,p){var m=!1;f.subscribe(y.createOperatorSubscriber(p,function(u){m=!0,p.next(u)},function(){return m?p.complete():p.error(c())}))})}},5904:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TimeInterval=r.timeInterval=void 0;var n=a(4006),h=a(9216),y=a(3173);r.timeInterval=function d(c){return void 0===c&&(c=n.asyncScheduler),h.operate(function(f,p){var m=c.now();f.subscribe(y.createOperatorSubscriber(p,function(u){var _=c.now(),v=_-m;m=_,p.next(new o(u,v))}))})};var o=function c(f,p){this.value=f,this.interval=p};r.TimeInterval=o},5001:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.timeout=r.TimeoutError=void 0;var n=a(4006),h=a(7323),y=a(9216),d=a(8767),o=a(9703),c=a(3173),f=a(2590);function m(u){throw new r.TimeoutError(u)}r.TimeoutError=o.createErrorClass(function(u){return function(v){void 0===v&&(v=null),u(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=v}}),r.timeout=function p(u,_){var v=h.isValidDate(u)?{first:u}:"number"==typeof u?{each:u}:u,b=v.first,T=v.each,S=v.with,P=void 0===S?m:S,I=v.scheduler,V=void 0===I?null!=_?_:n.asyncScheduler:I,J=v.meta,Y=void 0===J?null:J;if(null==b&&null==T)throw new TypeError("No timeout provided.");return y.operate(function(X,H){var oe,le,me=null,De=0,be=function(Z){le=f.executeSchedule(H,V,function(){try{oe.unsubscribe(),d.innerFrom(P({meta:Y,lastValue:me,seen:De})).subscribe(H)}catch(de){H.error(de)}},Z)};oe=X.subscribe(c.createOperatorSubscriber(H,function(Z){null==le||le.unsubscribe(),De++,H.next(me=Z),T>0&&be(T)},void 0,void 0,function(){(null==le?void 0:le.closed)||null==le||le.unsubscribe(),me=null})),!De&&be(null!=b?"number"==typeof b?b:+b-V.now():T)})}},8308:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.timeoutWith=void 0;var n=a(4006),h=a(7323),y=a(5001);r.timeoutWith=function d(o,c,f){var p,m,u;if(f=null!=f?f:n.async,h.isValidDate(o)?p=o:"number"==typeof o&&(m=o),!c)throw new TypeError("No observable provided to switch to");if(u=function(){return c},null==p&&null==m)throw new TypeError("No timeout provided.");return y.timeout({first:p,each:m,scheduler:f,with:u})}},250:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.timestamp=void 0;var n=a(8354),h=a(752);r.timestamp=function y(d){return void 0===d&&(d=n.dateTimestampProvider),h.map(function(o){return{value:o,timestamp:d.now()}})}},2976:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.toArray=void 0;var n=a(8587),h=a(9216),y=function(o,c){return o.push(c),o};r.toArray=function d(){return h.operate(function(o,c){n.reduce(y,[])(o).subscribe(c)})}},9374:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.window=void 0;var n=a(3768),h=a(9216),y=a(3173),d=a(31);r.window=function o(c){return h.operate(function(f,p){var m=new n.Subject;p.next(m.asObservable());var u=function(_){m.error(_),p.error(_)};return f.subscribe(y.createOperatorSubscriber(p,function(_){return null==m?void 0:m.next(_)},function(){m.complete(),p.complete()},u)),c.subscribe(y.createOperatorSubscriber(p,function(){m.complete(),p.next(m=new n.Subject)},d.noop,u)),function(){null==m||m.unsubscribe(),m=null}})}},8427:function(G,r,a){"use strict";var n=this&&this.__values||function(c){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&c[f],m=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&m>=c.length&&(c=void 0),{value:c&&c[m++],done:!c}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.windowCount=void 0;var h=a(3768),y=a(9216),d=a(3173);r.windowCount=function o(c,f){void 0===f&&(f=0);var p=f>0?f:c;return y.operate(function(m,u){var _=[new h.Subject],b=0;u.next(_[0].asObservable()),m.subscribe(d.createOperatorSubscriber(u,function(T){var S,P;try{for(var I=n(_),V=I.next();!V.done;V=I.next())V.value.next(T)}catch(H){S={error:H}}finally{try{V&&!V.done&&(P=I.return)&&P.call(I)}finally{if(S)throw S.error}}var Y=b-c+1;if(Y>=0&&Y%p==0&&_.shift().complete(),++b%p==0){var X=new h.Subject;_.push(X),u.next(X.asObservable())}},function(){for(;_.length>0;)_.shift().complete();u.complete()},function(T){for(;_.length>0;)_.shift().error(T);u.error(T)},function(){_=null}))})}},2358:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.windowTime=void 0;var n=a(3768),h=a(4006),y=a(6448),d=a(9216),o=a(3173),c=a(5137),f=a(1642),p=a(2590);r.windowTime=function m(u){for(var _,v,b=[],T=1;T<arguments.length;T++)b[T-1]=arguments[T];var S=null!==(_=f.popScheduler(b))&&void 0!==_?_:h.asyncScheduler,P=null!==(v=b[0])&&void 0!==v?v:null,I=b[1]||1/0;return d.operate(function(V,J){var Y=[],X=!1,H=function(De){var Z=De.subs;De.window.complete(),Z.unsubscribe(),c.arrRemove(Y,De),X&&oe()},oe=function(){if(Y){var De=new y.Subscription;J.add(De);var be=new n.Subject,Z={window:be,subs:De,seen:0};Y.push(Z),J.next(be.asObservable()),p.executeSchedule(De,S,function(){return H(Z)},u)}};null!==P&&P>=0?p.executeSchedule(J,S,oe,P,!0):X=!0,oe();var le=function(De){return Y.slice().forEach(De)},me=function(De){le(function(be){return De(be.window)}),De(J),J.unsubscribe()};return V.subscribe(o.createOperatorSubscriber(J,function(De){le(function(be){be.window.next(De),I<=++be.seen&&H(be)})},function(){return me(function(De){return De.complete()})},function(De){return me(function(be){return be.error(De)})})),function(){Y=null}})}},6464:function(G,r,a){"use strict";var n=this&&this.__values||function(u){var _="function"==typeof Symbol&&Symbol.iterator,v=_&&u[_],b=0;if(v)return v.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&b>=u.length&&(u=void 0),{value:u&&u[b++],done:!u}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.windowToggle=void 0;var h=a(3768),y=a(6448),d=a(9216),o=a(8767),c=a(3173),f=a(31),p=a(5137);r.windowToggle=function m(u,_){return d.operate(function(v,b){var T=[],S=function(P){for(;0<T.length;)T.shift().error(P);b.error(P)};o.innerFrom(u).subscribe(c.createOperatorSubscriber(b,function(P){var I=new h.Subject;T.push(I);var Y,V=new y.Subscription;try{Y=o.innerFrom(_(P))}catch(X){return void S(X)}b.next(I.asObservable()),V.add(Y.subscribe(c.createOperatorSubscriber(b,function(){p.arrRemove(T,I),I.complete(),V.unsubscribe()},f.noop,S)))},f.noop)),v.subscribe(c.createOperatorSubscriber(b,function(P){var I,V,J=T.slice();try{for(var Y=n(J),X=Y.next();!X.done;X=Y.next())X.value.next(P)}catch(oe){I={error:oe}}finally{try{X&&!X.done&&(V=Y.return)&&V.call(Y)}finally{if(I)throw I.error}}},function(){for(;0<T.length;)T.shift().complete();b.complete()},S,function(){for(;0<T.length;)T.shift().unsubscribe()}))})}},5424:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.windowWhen=void 0;var n=a(3768),h=a(9216),y=a(3173),d=a(8767);r.windowWhen=function o(c){return h.operate(function(f,p){var m,u,_=function(b){m.error(b),p.error(b)},v=function(){var b;null==u||u.unsubscribe(),null==m||m.complete(),m=new n.Subject,p.next(m.asObservable());try{b=d.innerFrom(c())}catch(T){return void _(T)}b.subscribe(u=y.createOperatorSubscriber(p,v,v,_))};v(),f.subscribe(y.createOperatorSubscriber(p,function(b){return m.next(b)},function(){m.complete(),p.complete()},_,function(){null==u||u.unsubscribe(),m=null}))})}},135:function(G,r,a){"use strict";var n=this&&this.__read||function(u,_){var v="function"==typeof Symbol&&u[Symbol.iterator];if(!v)return u;var T,P,b=v.call(u),S=[];try{for(;(void 0===_||_-- >0)&&!(T=b.next()).done;)S.push(T.value)}catch(I){P={error:I}}finally{try{T&&!T.done&&(v=b.return)&&v.call(b)}finally{if(P)throw P.error}}return S},h=this&&this.__spreadArray||function(u,_){for(var v=0,b=_.length,T=u.length;v<b;v++,T++)u[T]=_[v];return u};Object.defineProperty(r,"__esModule",{value:!0}),r.withLatestFrom=void 0;var y=a(9216),d=a(3173),o=a(8767),c=a(7884),f=a(31),p=a(1642);r.withLatestFrom=function m(){for(var u=[],_=0;_<arguments.length;_++)u[_]=arguments[_];var v=p.popResultSelector(u);return y.operate(function(b,T){for(var S=u.length,P=new Array(S),I=u.map(function(){return!1}),V=!1,J=function(X){o.innerFrom(u[X]).subscribe(d.createOperatorSubscriber(T,function(H){P[X]=H,!V&&!I[X]&&(I[X]=!0,(V=I.every(c.identity))&&(I=null))},f.noop))},Y=0;Y<S;Y++)J(Y);b.subscribe(d.createOperatorSubscriber(T,function(X){if(V){var H=h([X],n(P));T.next(v?v.apply(void 0,h([],n(H))):H)}}))})}},5573:function(G,r,a){"use strict";var n=this&&this.__read||function(c,f){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var u,v,m=p.call(c),_=[];try{for(;(void 0===f||f-- >0)&&!(u=m.next()).done;)_.push(u.value)}catch(b){v={error:b}}finally{try{u&&!u.done&&(p=m.return)&&p.call(m)}finally{if(v)throw v.error}}return _},h=this&&this.__spreadArray||function(c,f){for(var p=0,m=f.length,u=c.length;p<m;p++,u++)c[u]=f[p];return c};Object.defineProperty(r,"__esModule",{value:!0}),r.zip=void 0;var y=a(4842),d=a(9216);r.zip=function o(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];return d.operate(function(p,m){y.zip.apply(void 0,h([p],n(c))).subscribe(m)})}},8101:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.zipAll=void 0;var n=a(4842),h=a(1277);r.zipAll=function y(d){return h.joinAllInternals(n.zip,d)}},9411:function(G,r,a){"use strict";var n=this&&this.__read||function(o,c){var f="function"==typeof Symbol&&o[Symbol.iterator];if(!f)return o;var m,_,p=f.call(o),u=[];try{for(;(void 0===c||c-- >0)&&!(m=p.next()).done;)u.push(m.value)}catch(v){_={error:v}}finally{try{m&&!m.done&&(f=p.return)&&f.call(p)}finally{if(_)throw _.error}}return u},h=this&&this.__spreadArray||function(o,c){for(var f=0,p=c.length,m=o.length;f<p;f++,m++)o[m]=c[f];return o};Object.defineProperty(r,"__esModule",{value:!0}),r.zipWith=void 0;var y=a(5573);r.zipWith=function d(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];return y.zip.apply(void 0,h([],n(o)))}},9611:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleArray=void 0;var n=a(5821);r.scheduleArray=function h(y,d){return new n.Observable(function(o){var c=0;return d.schedule(function(){c===y.length?o.complete():(o.next(y[c++]),o.closed||this.schedule())})})}},3009:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleAsyncIterable=void 0;var n=a(5821),h=a(2590);r.scheduleAsyncIterable=function y(d,o){if(!d)throw new Error("Iterable cannot be null");return new n.Observable(function(c){h.executeSchedule(c,o,function(){var f=d[Symbol.asyncIterator]();h.executeSchedule(c,o,function(){f.next().then(function(p){p.done?c.complete():c.next(p.value)})},0,!0)})})}},9049:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleIterable=void 0;var n=a(5821),h=a(4260),y=a(7104),d=a(2590);r.scheduleIterable=function o(c,f){return new n.Observable(function(p){var m;return d.executeSchedule(p,f,function(){m=c[h.iterator](),d.executeSchedule(p,f,function(){var u,_,v;try{_=(u=m.next()).value,v=u.done}catch(b){return void p.error(b)}v?p.complete():p.next(_)},0,!0)}),function(){return y.isFunction(null==m?void 0:m.return)&&m.return()}})}},7767:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleObservable=void 0;var n=a(8767),h=a(4928),y=a(1698);r.scheduleObservable=function d(o,c){return n.innerFrom(o).pipe(y.subscribeOn(c),h.observeOn(c))}},2247:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.schedulePromise=void 0;var n=a(8767),h=a(4928),y=a(1698);r.schedulePromise=function d(o,c){return n.innerFrom(o).pipe(y.subscribeOn(c),h.observeOn(c))}},3958:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleReadableStreamLike=void 0;var n=a(3009),h=a(7128);r.scheduleReadableStreamLike=function y(d,o){return n.scheduleAsyncIterable(h.readableStreamLikeToAsyncGenerator(d),o)}},9341:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.scheduled=void 0;var n=a(7767),h=a(2247),y=a(9611),d=a(9049),o=a(3009),c=a(7454),f=a(5050),p=a(697),m=a(5431),u=a(6175),_=a(6870),v=a(7128),b=a(3958);r.scheduled=function T(S,P){if(null!=S){if(c.isInteropObservable(S))return n.scheduleObservable(S,P);if(p.isArrayLike(S))return y.scheduleArray(S,P);if(f.isPromise(S))return h.schedulePromise(S,P);if(u.isAsyncIterable(S))return o.scheduleAsyncIterable(S,P);if(m.isIterable(S))return d.scheduleIterable(S,P);if(v.isReadableStreamLike(S))return b.scheduleReadableStreamLike(S,P)}throw _.createInvalidObservableTypeError(S)}},1394:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.Action=void 0;var y=function(d){function o(c,f){return d.call(this)||this}return n(o,d),o.prototype.schedule=function(c,f){return void 0===f&&(f=0),this},o}(a(6448).Subscription);r.Action=y},275:function(G,r,a){"use strict";var o,n=this&&this.__extends||(o=function(c,f){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(p[u]=m[u])})(c,f)},function(c,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function p(){this.constructor=c}o(c,f),c.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameAction=void 0;var h=a(4723),y=a(6343),d=function(o){function c(f,p){var m=o.call(this,f,p)||this;return m.scheduler=f,m.work=p,m}return n(c,o),c.prototype.requestAsyncId=function(f,p,m){return void 0===m&&(m=0),null!==m&&m>0?o.prototype.requestAsyncId.call(this,f,p,m):(f.actions.push(this),f._scheduled||(f._scheduled=y.animationFrameProvider.requestAnimationFrame(function(){return f.flush(void 0)})))},c.prototype.recycleAsyncId=function(f,p,m){if(void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0)return o.prototype.recycleAsyncId.call(this,f,p,m);f.actions.some(function(u){return u.id===p})||(y.animationFrameProvider.cancelAnimationFrame(p),f._scheduled=void 0)},c}(h.AsyncAction);r.AnimationFrameAction=d},3625:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameScheduler=void 0;var y=function(d){function o(){return null!==d&&d.apply(this,arguments)||this}return n(o,d),o.prototype.flush=function(c){this._active=!0;var f=this._scheduled;this._scheduled=void 0;var m,p=this.actions;c=c||p.shift();do{if(m=c.execute(c.state,c.delay))break}while((c=p[0])&&c.id===f&&p.shift());if(this._active=!1,m){for(;(c=p[0])&&c.id===f&&p.shift();)c.unsubscribe();throw m}},o}(a(6216).AsyncScheduler);r.AnimationFrameScheduler=y},7046:function(G,r,a){"use strict";var o,n=this&&this.__extends||(o=function(c,f){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,m){p.__proto__=m}||function(p,m){for(var u in m)Object.prototype.hasOwnProperty.call(m,u)&&(p[u]=m[u])})(c,f)},function(c,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function p(){this.constructor=c}o(c,f),c.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsapAction=void 0;var h=a(4723),y=a(7766),d=function(o){function c(f,p){var m=o.call(this,f,p)||this;return m.scheduler=f,m.work=p,m}return n(c,o),c.prototype.requestAsyncId=function(f,p,m){return void 0===m&&(m=0),null!==m&&m>0?o.prototype.requestAsyncId.call(this,f,p,m):(f.actions.push(this),f._scheduled||(f._scheduled=y.immediateProvider.setImmediate(f.flush.bind(f,void 0))))},c.prototype.recycleAsyncId=function(f,p,m){if(void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0)return o.prototype.recycleAsyncId.call(this,f,p,m);f.actions.some(function(u){return u.id===p})||(y.immediateProvider.clearImmediate(p),f._scheduled=void 0)},c}(h.AsyncAction);r.AsapAction=d},3706:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsapScheduler=void 0;var y=function(d){function o(){return null!==d&&d.apply(this,arguments)||this}return n(o,d),o.prototype.flush=function(c){this._active=!0;var f=this._scheduled;this._scheduled=void 0;var m,p=this.actions;c=c||p.shift();do{if(m=c.execute(c.state,c.delay))break}while((c=p[0])&&c.id===f&&p.shift());if(this._active=!1,m){for(;(c=p[0])&&c.id===f&&p.shift();)c.unsubscribe();throw m}},o}(a(6216).AsyncScheduler);r.AsapScheduler=y},4723:function(G,r,a){"use strict";var c,n=this&&this.__extends||(c=function(f,p){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,u){m.__proto__=u}||function(m,u){for(var _ in u)Object.prototype.hasOwnProperty.call(u,_)&&(m[_]=u[_])})(f,p)},function(f,p){if("function"!=typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function m(){this.constructor=f}c(f,p),f.prototype=null===p?Object.create(p):(m.prototype=p.prototype,new m)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncAction=void 0;var h=a(1394),y=a(2444),d=a(5137),o=function(c){function f(p,m){var u=c.call(this,p,m)||this;return u.scheduler=p,u.work=m,u.pending=!1,u}return n(f,c),f.prototype.schedule=function(p,m){if(void 0===m&&(m=0),this.closed)return this;this.state=p;var u=this.id,_=this.scheduler;return null!=u&&(this.id=this.recycleAsyncId(_,u,m)),this.pending=!0,this.delay=m,this.id=this.id||this.requestAsyncId(_,this.id,m),this},f.prototype.requestAsyncId=function(p,m,u){return void 0===u&&(u=0),y.intervalProvider.setInterval(p.flush.bind(p,this),u)},f.prototype.recycleAsyncId=function(p,m,u){if(void 0===u&&(u=0),null!=u&&this.delay===u&&!1===this.pending)return m;y.intervalProvider.clearInterval(m)},f.prototype.execute=function(p,m){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var u=this._execute(p,m);if(u)return u;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},f.prototype._execute=function(p,m){var _,u=!1;try{this.work(p)}catch(v){u=!0,_=v||new Error("Scheduled action threw falsy error")}if(u)return this.unsubscribe(),_},f.prototype.unsubscribe=function(){if(!this.closed){var m=this.id,u=this.scheduler,_=u.actions;this.work=this.state=this.scheduler=null,this.pending=!1,d.arrRemove(_,this),null!=m&&(this.id=this.recycleAsyncId(u,m,null)),this.delay=null,c.prototype.unsubscribe.call(this)}},f}(h.Action);r.AsyncAction=o},6216:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncScheduler=void 0;var h=a(2716),y=function(d){function o(c,f){void 0===f&&(f=h.Scheduler.now);var p=d.call(this,c,f)||this;return p.actions=[],p._active=!1,p._scheduled=void 0,p}return n(o,d),o.prototype.flush=function(c){var f=this.actions;if(this._active)f.push(c);else{var p;this._active=!0;do{if(p=c.execute(c.state,c.delay))break}while(c=f.shift());if(this._active=!1,p){for(;c=f.shift();)c.unsubscribe();throw p}}},o}(h.Scheduler);r.AsyncScheduler=y},4954:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.QueueAction=void 0;var y=function(d){function o(c,f){var p=d.call(this,c,f)||this;return p.scheduler=c,p.work=f,p}return n(o,d),o.prototype.schedule=function(c,f){return void 0===f&&(f=0),f>0?d.prototype.schedule.call(this,c,f):(this.delay=f,this.state=c,this.scheduler.flush(this),this)},o.prototype.execute=function(c,f){return f>0||this.closed?d.prototype.execute.call(this,c,f):this._execute(c,f)},o.prototype.requestAsyncId=function(c,f,p){return void 0===p&&(p=0),null!=p&&p>0||null==p&&this.delay>0?d.prototype.requestAsyncId.call(this,c,f,p):c.flush(this)},o}(a(4723).AsyncAction);r.QueueAction=y},345:function(G,r,a){"use strict";var d,n=this&&this.__extends||(d=function(o,c){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&(f[m]=p[m])})(o,c)},function(o,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function f(){this.constructor=o}d(o,c),o.prototype=null===c?Object.create(c):(f.prototype=c.prototype,new f)});Object.defineProperty(r,"__esModule",{value:!0}),r.QueueScheduler=void 0;var y=function(d){function o(){return null!==d&&d.apply(this,arguments)||this}return n(o,d),o}(a(6216).AsyncScheduler);r.QueueScheduler=y},2018:function(G,r,a){"use strict";var f,n=this&&this.__extends||(f=function(p,m){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,_){u.__proto__=_}||function(u,_){for(var v in _)Object.prototype.hasOwnProperty.call(_,v)&&(u[v]=_[v])})(p,m)},function(p,m){if("function"!=typeof m&&null!==m)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function u(){this.constructor=p}f(p,m),p.prototype=null===m?Object.create(m):(u.prototype=m.prototype,new u)});Object.defineProperty(r,"__esModule",{value:!0}),r.VirtualAction=r.VirtualTimeScheduler=void 0;var h=a(4723),y=a(6448),o=function(f){function p(m,u){void 0===m&&(m=c),void 0===u&&(u=1/0);var _=f.call(this,m,function(){return _.frame})||this;return _.maxFrames=u,_.frame=0,_.index=-1,_}return n(p,f),p.prototype.flush=function(){for(var v,b,u=this.actions,_=this.maxFrames;(b=u[0])&&b.delay<=_&&(u.shift(),this.frame=b.delay,!(v=b.execute(b.state,b.delay))););if(v){for(;b=u.shift();)b.unsubscribe();throw v}},p.frameTimeFactor=10,p}(a(6216).AsyncScheduler);r.VirtualTimeScheduler=o;var c=function(f){function p(m,u,_){void 0===_&&(_=m.index+=1);var v=f.call(this,m,u)||this;return v.scheduler=m,v.work=u,v.index=_,v.active=!0,v.index=m.index=_,v}return n(p,f),p.prototype.schedule=function(m,u){if(void 0===u&&(u=0),Number.isFinite(u)){if(!this.id)return f.prototype.schedule.call(this,m,u);this.active=!1;var _=new p(this.scheduler,this.work);return this.add(_),_.schedule(m,u)}return y.Subscription.EMPTY},p.prototype.requestAsyncId=function(m,u,_){void 0===_&&(_=0),this.delay=m.frame+_;var v=m.actions;return v.push(this),v.sort(p.sortActions),!0},p.prototype.recycleAsyncId=function(m,u,_){void 0===_&&(_=0)},p.prototype._execute=function(m,u){if(!0===this.active)return f.prototype._execute.call(this,m,u)},p.sortActions=function(m,u){return m.delay===u.delay?m.index===u.index?0:m.index>u.index?1:-1:m.delay>u.delay?1:-1},p}(h.AsyncAction);r.VirtualAction=c},1906:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrame=r.animationFrameScheduler=void 0;var n=a(275),h=a(3625);r.animationFrameScheduler=new h.AnimationFrameScheduler(n.AnimationFrameAction),r.animationFrame=r.animationFrameScheduler},6343:function(G,r,a){"use strict";var n=this&&this.__read||function(d,o){var c="function"==typeof Symbol&&d[Symbol.iterator];if(!c)return d;var p,u,f=c.call(d),m=[];try{for(;(void 0===o||o-- >0)&&!(p=f.next()).done;)m.push(p.value)}catch(_){u={error:_}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(u)throw u.error}}return m},h=this&&this.__spreadArray||function(d,o){for(var c=0,f=o.length,p=d.length;c<f;c++,p++)d[p]=o[c];return d};Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrameProvider=void 0;var y=a(6448);r.animationFrameProvider={schedule:function(d){var o=requestAnimationFrame,c=cancelAnimationFrame,f=r.animationFrameProvider.delegate;f&&(o=f.requestAnimationFrame,c=f.cancelAnimationFrame);var p=o(function(m){c=void 0,d(m)});return new y.Subscription(function(){return null==c?void 0:c(p)})},requestAnimationFrame:function(){for(var d=[],o=0;o<arguments.length;o++)d[o]=arguments[o];var c=r.animationFrameProvider.delegate;return((null==c?void 0:c.requestAnimationFrame)||requestAnimationFrame).apply(void 0,h([],n(d)))},cancelAnimationFrame:function(){for(var d=[],o=0;o<arguments.length;o++)d[o]=arguments[o];var c=r.animationFrameProvider.delegate;return((null==c?void 0:c.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,h([],n(d)))},delegate:void 0}},1212:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.asap=r.asapScheduler=void 0;var n=a(7046),h=a(3706);r.asapScheduler=new h.AsapScheduler(n.AsapAction),r.asap=r.asapScheduler},4006:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.async=r.asyncScheduler=void 0;var n=a(4723),h=a(6216);r.asyncScheduler=new h.AsyncScheduler(n.AsyncAction),r.async=r.asyncScheduler},8354:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.dateTimestampProvider=void 0,r.dateTimestampProvider={now:function(){return(r.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7766:function(G,r,a){"use strict";var n=this&&this.__read||function(c,f){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var u,v,m=p.call(c),_=[];try{for(;(void 0===f||f-- >0)&&!(u=m.next()).done;)_.push(u.value)}catch(b){v={error:b}}finally{try{u&&!u.done&&(p=m.return)&&p.call(m)}finally{if(v)throw v.error}}return _},h=this&&this.__spreadArray||function(c,f){for(var p=0,m=f.length,u=c.length;p<m;p++,u++)c[u]=f[p];return c};Object.defineProperty(r,"__esModule",{value:!0}),r.immediateProvider=void 0;var y=a(349),d=y.Immediate.setImmediate,o=y.Immediate.clearImmediate;r.immediateProvider={setImmediate:function(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];var p=r.immediateProvider.delegate;return((null==p?void 0:p.setImmediate)||d).apply(void 0,h([],n(c)))},clearImmediate:function(c){var f=r.immediateProvider.delegate;return((null==f?void 0:f.clearImmediate)||o)(c)},delegate:void 0}},2444:function(G,r){"use strict";var a=this&&this.__read||function(h,y){var d="function"==typeof Symbol&&h[Symbol.iterator];if(!d)return h;var c,p,o=d.call(h),f=[];try{for(;(void 0===y||y-- >0)&&!(c=o.next()).done;)f.push(c.value)}catch(m){p={error:m}}finally{try{c&&!c.done&&(d=o.return)&&d.call(o)}finally{if(p)throw p.error}}return f},n=this&&this.__spreadArray||function(h,y){for(var d=0,o=y.length,c=h.length;d<o;d++,c++)h[c]=y[d];return h};Object.defineProperty(r,"__esModule",{value:!0}),r.intervalProvider=void 0,r.intervalProvider={setInterval:function(h,y){for(var d=[],o=2;o<arguments.length;o++)d[o-2]=arguments[o];var c=r.intervalProvider.delegate;return(null==c?void 0:c.setInterval)?c.setInterval.apply(c,n([h,y],a(d))):setInterval.apply(void 0,n([h,y],a(d)))},clearInterval:function(h){var y=r.intervalProvider.delegate;return((null==y?void 0:y.clearInterval)||clearInterval)(h)},delegate:void 0}},1038:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.performanceTimestampProvider=void 0,r.performanceTimestampProvider={now:function(){return(r.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},5668:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.queue=r.queueScheduler=void 0;var n=a(4954),h=a(345);r.queueScheduler=new h.QueueScheduler(n.QueueAction),r.queue=r.queueScheduler},3914:function(G,r){"use strict";var a=this&&this.__read||function(h,y){var d="function"==typeof Symbol&&h[Symbol.iterator];if(!d)return h;var c,p,o=d.call(h),f=[];try{for(;(void 0===y||y-- >0)&&!(c=o.next()).done;)f.push(c.value)}catch(m){p={error:m}}finally{try{c&&!c.done&&(d=o.return)&&d.call(o)}finally{if(p)throw p.error}}return f},n=this&&this.__spreadArray||function(h,y){for(var d=0,o=y.length,c=h.length;d<o;d++,c++)h[c]=y[d];return h};Object.defineProperty(r,"__esModule",{value:!0}),r.timeoutProvider=void 0,r.timeoutProvider={setTimeout:function(h,y){for(var d=[],o=2;o<arguments.length;o++)d[o-2]=arguments[o];var c=r.timeoutProvider.delegate;return(null==c?void 0:c.setTimeout)?c.setTimeout.apply(c,n([h,y],a(d))):setTimeout.apply(void 0,n([h,y],a(d)))},clearTimeout:function(h){var y=r.timeoutProvider.delegate;return((null==y?void 0:y.clearTimeout)||clearTimeout)(h)},delegate:void 0}},4260:(G,r)=>{"use strict";function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(r,"__esModule",{value:!0}),r.iterator=r.getSymbolIterator=void 0,r.getSymbolIterator=a,r.iterator=a()},1689:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.observable=void 0,r.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},5256:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},4769:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArgumentOutOfRangeError=void 0;var n=a(9703);r.ArgumentOutOfRangeError=n.createErrorClass(function(h){return function(){h(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},8915:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.EmptyError=void 0;var n=a(9703);r.EmptyError=n.createErrorClass(function(h){return function(){h(this),this.name="EmptyError",this.message="no elements in sequence"}})},349:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TestTools=r.Immediate=void 0;var n,a=1,h={};function y(d){return d in h&&(delete h[d],!0)}r.Immediate={setImmediate:function(d){var o=a++;return h[o]=!0,n||(n=Promise.resolve()),n.then(function(){return y(o)&&d()}),o},clearImmediate:function(d){y(d)}},r.TestTools={pending:function(){return Object.keys(h).length}}},5477:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.NotFoundError=void 0;var n=a(9703);r.NotFoundError=n.createErrorClass(function(h){return function(d){h(this),this.name="NotFoundError",this.message=d}})},3965:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ObjectUnsubscribedError=void 0;var n=a(9703);r.ObjectUnsubscribedError=n.createErrorClass(function(h){return function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},1551:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SequenceError=void 0;var n=a(9703);r.SequenceError=n.createErrorClass(function(h){return function(d){h(this),this.name="SequenceError",this.message=d}})},4970:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UnsubscriptionError=void 0;var n=a(9703);r.UnsubscriptionError=n.createErrorClass(function(h){return function(d){h(this),this.message=d?d.length+" errors occurred during unsubscription:\n"+d.map(function(o,c){return c+1+") "+o.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=d}})},1642:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.popNumber=r.popScheduler=r.popResultSelector=void 0;var n=a(7104),h=a(1875);function y(f){return f[f.length-1]}r.popResultSelector=function d(f){return n.isFunction(y(f))?f.pop():void 0},r.popScheduler=function o(f){return h.isScheduler(y(f))?f.pop():void 0},r.popNumber=function c(f,p){return"number"==typeof y(f)?f.pop():p}},9923:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.argsArgArrayOrObject=void 0;var a=Array.isArray,n=Object.getPrototypeOf,h=Object.prototype,y=Object.keys;r.argsArgArrayOrObject=function d(c){if(1===c.length){var f=c[0];if(a(f))return{args:f,keys:null};if(function o(c){return c&&"object"==typeof c&&n(c)===h}(f)){var p=y(f);return{args:p.map(function(m){return f[m]}),keys:p}}}return{args:c,keys:null}}},3531:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.argsOrArgArray=void 0;var a=Array.isArray;r.argsOrArgArray=function n(h){return 1===h.length&&a(h[0])?h[0]:h}},5137:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.arrRemove=void 0,r.arrRemove=function a(n,h){if(n){var y=n.indexOf(h);0<=y&&n.splice(y,1)}}},9703:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createErrorClass=void 0,r.createErrorClass=function a(n){var y=n(function(d){Error.call(d),d.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}},7598:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createObject=void 0,r.createObject=function a(n,h){return n.reduce(function(y,d,o){return y[d]=h[o],y},{})}},5808:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.captureError=r.errorContext=void 0;var n=a(3570),h=null;r.errorContext=function y(o){if(n.config.useDeprecatedSynchronousErrorHandling){var c=!h;if(c&&(h={errorThrown:!1,error:null}),o(),c){var f=h;if(h=null,f.errorThrown)throw f.error}}else o()},r.captureError=function d(o){n.config.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=o)}},2590:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.executeSchedule=void 0,r.executeSchedule=function a(n,h,y,d,o){void 0===d&&(d=0),void 0===o&&(o=!1);var c=h.schedule(function(){y(),o?n.add(this.schedule(null,d)):this.unsubscribe()},d);if(n.add(c),!o)return c}},7884:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.identity=void 0,r.identity=function a(n){return n}},697:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isArrayLike=void 0,r.isArrayLike=function(a){return a&&"number"==typeof a.length&&"function"!=typeof a}},6175:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isAsyncIterable=void 0;var n=a(7104);r.isAsyncIterable=function h(y){return Symbol.asyncIterator&&n.isFunction(null==y?void 0:y[Symbol.asyncIterator])}},7323:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isValidDate=void 0,r.isValidDate=function a(n){return n instanceof Date&&!isNaN(n)}},7104:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isFunction=void 0,r.isFunction=function a(n){return"function"==typeof n}},7454:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isInteropObservable=void 0;var n=a(1689),h=a(7104);r.isInteropObservable=function y(d){return h.isFunction(d[n.observable])}},5431:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isIterable=void 0;var n=a(4260),h=a(7104);r.isIterable=function y(d){return h.isFunction(null==d?void 0:d[n.iterator])}},4341:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isObservable=void 0;var n=a(5821),h=a(7104);r.isObservable=function y(d){return!!d&&(d instanceof n.Observable||h.isFunction(d.lift)&&h.isFunction(d.subscribe))}},5050:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isPromise=void 0;var n=a(7104);r.isPromise=function h(y){return n.isFunction(null==y?void 0:y.then)}},7128:function(G,r,a){"use strict";var n=this&&this.__generator||function(f,p){var u,_,v,b,m={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return b={next:T(0),throw:T(1),return:T(2)},"function"==typeof Symbol&&(b[Symbol.iterator]=function(){return this}),b;function T(P){return function(I){return function S(P){if(u)throw new TypeError("Generator is already executing.");for(;m;)try{if(u=1,_&&(v=2&P[0]?_.return:P[0]?_.throw||((v=_.return)&&v.call(_),0):_.next)&&!(v=v.call(_,P[1])).done)return v;switch(_=0,v&&(P=[2&P[0],v.value]),P[0]){case 0:case 1:v=P;break;case 4:return m.label++,{value:P[1],done:!1};case 5:m.label++,_=P[1],P=[0];continue;case 7:P=m.ops.pop(),m.trys.pop();continue;default:if(!(v=(v=m.trys).length>0&&v[v.length-1])&&(6===P[0]||2===P[0])){m=0;continue}if(3===P[0]&&(!v||P[1]>v[0]&&P[1]<v[3])){m.label=P[1];break}if(6===P[0]&&m.label<v[1]){m.label=v[1],v=P;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(P);break}v[2]&&m.ops.pop(),m.trys.pop();continue}P=p.call(f,m)}catch(I){P=[6,I],_=0}finally{u=v=0}if(5&P[0])throw P[1];return{value:P[0]?P[1]:void 0,done:!0}}([P,I])}}},h=this&&this.__await||function(f){return this instanceof h?(this.v=f,this):new h(f)},y=this&&this.__asyncGenerator||function(f,p,m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _,u=m.apply(f,p||[]),v=[];return _={},b("next"),b("throw"),b("return"),_[Symbol.asyncIterator]=function(){return this},_;function b(J){u[J]&&(_[J]=function(Y){return new Promise(function(X,H){v.push([J,Y,X,H])>1||T(J,Y)})})}function T(J,Y){try{!function S(J){J.value instanceof h?Promise.resolve(J.value.v).then(P,I):V(v[0][2],J)}(u[J](Y))}catch(X){V(v[0][3],X)}}function P(J){T("next",J)}function I(J){T("throw",J)}function V(J,Y){J(Y),v.shift(),v.length&&T(v[0][0],v[0][1])}};Object.defineProperty(r,"__esModule",{value:!0}),r.isReadableStreamLike=r.readableStreamLikeToAsyncGenerator=void 0;var d=a(7104);r.readableStreamLikeToAsyncGenerator=function o(f){return y(this,arguments,function(){var m,u,_;return n(this,function(b){switch(b.label){case 0:m=f.getReader(),b.label=1;case 1:b.trys.push([1,,9,10]),b.label=2;case 2:return[4,h(m.read())];case 3:return u=b.sent(),_=u.value,u.done?[4,h(void 0)]:[3,5];case 4:return[2,b.sent()];case 5:return[4,h(_)];case 6:return[4,b.sent()];case 7:return b.sent(),[3,2];case 8:return[3,10];case 9:return m.releaseLock(),[7];case 10:return[2]}})})},r.isReadableStreamLike=function c(f){return d.isFunction(null==f?void 0:f.getReader)}},1875:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isScheduler=void 0;var n=a(7104);r.isScheduler=function h(y){return y&&n.isFunction(y.schedule)}},9216:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.operate=r.hasLift=void 0;var n=a(7104);function h(d){return n.isFunction(null==d?void 0:d.lift)}r.hasLift=h,r.operate=function y(d){return function(o){if(h(o))return o.lift(function(c){try{return d(c,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},5280:function(G,r,a){"use strict";var n=this&&this.__read||function(f,p){var m="function"==typeof Symbol&&f[Symbol.iterator];if(!m)return f;var _,b,u=m.call(f),v=[];try{for(;(void 0===p||p-- >0)&&!(_=u.next()).done;)v.push(_.value)}catch(T){b={error:T}}finally{try{_&&!_.done&&(m=u.return)&&m.call(u)}finally{if(b)throw b.error}}return v},h=this&&this.__spreadArray||function(f,p){for(var m=0,u=p.length,_=f.length;m<u;m++,_++)f[_]=p[m];return f};Object.defineProperty(r,"__esModule",{value:!0}),r.mapOneOrManyArgs=void 0;var y=a(752),d=Array.isArray;r.mapOneOrManyArgs=function c(f){return y.map(function(p){return function o(f,p){return d(p)?f.apply(void 0,h([],n(p))):f(p)}(f,p)})}},31:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.noop=void 0,r.noop=function a(){}},963:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.not=void 0,r.not=function a(n,h){return function(y,d){return!n.call(h,y,d)}}},1471:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pipeFromArray=r.pipe=void 0;var n=a(7884);function y(d){return 0===d.length?n.identity:1===d.length?d[0]:function(c){return d.reduce(function(f,p){return p(f)},c)}}r.pipe=function h(){for(var d=[],o=0;o<arguments.length;o++)d[o]=arguments[o];return y(d)},r.pipeFromArray=y},4709:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.reportUnhandledError=void 0;var n=a(3570),h=a(3914);r.reportUnhandledError=function y(d){h.timeoutProvider.setTimeout(function(){var o=n.config.onUnhandledError;if(!o)throw d;o(d)})}},6870:(G,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createInvalidObservableTypeError=void 0,r.createInvalidObservableTypeError=function a(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},1135:(G,r,a)=>{"use strict";a.d(r,{X:()=>h});var n=a(7579);class h extends n.x{constructor(d){super(),this._value=d}get value(){return this.getValue()}_subscribe(d){const o=super._subscribe(d);return!o.closed&&d.next(this._value),o}getValue(){const{hasError:d,thrownError:o,_value:c}=this;if(d)throw o;return this._throwIfClosed(),c}next(d){super.next(this._value=d)}}},8306:(G,r,a)=>{"use strict";a.d(r,{y:()=>u});var n=a(930),h=a(727),y=a(8822),d=a(4671);var f=a(2416),p=a(576),m=a(2806);let u=(()=>{class T{constructor(P){P&&(this._subscribe=P)}lift(P){const I=new T;return I.source=this,I.operator=P,I}subscribe(P,I,V){const J=function b(T){return T&&T instanceof n.Lv||function v(T){return T&&(0,p.m)(T.next)&&(0,p.m)(T.error)&&(0,p.m)(T.complete)}(T)&&(0,h.Nn)(T)}(P)?P:new n.Hp(P,I,V);return(0,m.x)(()=>{const{operator:Y,source:X}=this;J.add(Y?Y.call(J,X):X?this._subscribe(J):this._trySubscribe(J))}),J}_trySubscribe(P){try{return this._subscribe(P)}catch(I){P.error(I)}}forEach(P,I){return new(I=_(I))((V,J)=>{const Y=new n.Hp({next:X=>{try{P(X)}catch(H){J(H),Y.unsubscribe()}},error:J,complete:V});this.subscribe(Y)})}_subscribe(P){var I;return null===(I=this.source)||void 0===I?void 0:I.subscribe(P)}[y.L](){return this}pipe(...P){return function c(T){return 0===T.length?d.y:1===T.length?T[0]:function(P){return T.reduce((I,V)=>V(I),P)}}(P)(this)}toPromise(P){return new(P=_(P))((I,V)=>{let J;this.subscribe(Y=>J=Y,Y=>V(Y),()=>I(J))})}}return T.create=S=>new T(S),T})();function _(T){var S;return null!==(S=null!=T?T:f.v.Promise)&&void 0!==S?S:Promise}},7579:(G,r,a)=>{"use strict";a.d(r,{x:()=>f});var n=a(8306),h=a(727);const d=(0,a(3888).d)(m=>function(){m(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var o=a(8737),c=a(2806);let f=(()=>{class m extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(_){const v=new p(this,this);return v.operator=_,v}_throwIfClosed(){if(this.closed)throw new d}next(_){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const v of this.currentObservers)v.next(_)}})}error(_){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=_;const{observers:v}=this;for(;v.length;)v.shift().error(_)}})}complete(){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:_}=this;for(;_.length;)_.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var _;return(null===(_=this.observers)||void 0===_?void 0:_.length)>0}_trySubscribe(_){return this._throwIfClosed(),super._trySubscribe(_)}_subscribe(_){return this._throwIfClosed(),this._checkFinalizedStatuses(_),this._innerSubscribe(_)}_innerSubscribe(_){const{hasError:v,isStopped:b,observers:T}=this;return v||b?h.Lc:(this.currentObservers=null,T.push(_),new h.w0(()=>{this.currentObservers=null,(0,o.P)(T,_)}))}_checkFinalizedStatuses(_){const{hasError:v,thrownError:b,isStopped:T}=this;v?_.error(b):T&&_.complete()}asObservable(){const _=new n.y;return _.source=this,_}}return m.create=(u,_)=>new p(u,_),m})();class p extends f{constructor(u,_){super(),this.destination=u,this.source=_}next(u){var _,v;null===(v=null===(_=this.destination)||void 0===_?void 0:_.next)||void 0===v||v.call(_,u)}error(u){var _,v;null===(v=null===(_=this.destination)||void 0===_?void 0:_.error)||void 0===v||v.call(_,u)}complete(){var u,_;null===(_=null===(u=this.destination)||void 0===u?void 0:u.complete)||void 0===_||_.call(u)}_subscribe(u){var _,v;return null!==(v=null===(_=this.source)||void 0===_?void 0:_.subscribe(u))&&void 0!==v?v:h.Lc}}},930:(G,r,a)=>{"use strict";a.d(r,{Hp:()=>P,Lv:()=>v});var n=a(576),h=a(727),y=a(2416),d=a(7849),o=a(5032);const c=m("C",void 0,void 0);function m(X,H,oe){return{kind:X,value:H,error:oe}}var u=a(3410),_=a(2806);class v extends h.w0{constructor(H){super(),this.isStopped=!1,H?(this.destination=H,(0,h.Nn)(H)&&H.add(this)):this.destination=Y}static create(H,oe,le){return new P(H,oe,le)}next(H){this.isStopped?J(function p(X){return m("N",X,void 0)}(H),this):this._next(H)}error(H){this.isStopped?J(function f(X){return m("E",void 0,X)}(H),this):(this.isStopped=!0,this._error(H))}complete(){this.isStopped?J(c,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(H){this.destination.next(H)}_error(H){try{this.destination.error(H)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function T(X,H){return b.call(X,H)}class S{constructor(H){this.partialObserver=H}next(H){const{partialObserver:oe}=this;if(oe.next)try{oe.next(H)}catch(le){I(le)}}error(H){const{partialObserver:oe}=this;if(oe.error)try{oe.error(H)}catch(le){I(le)}else I(H)}complete(){const{partialObserver:H}=this;if(H.complete)try{H.complete()}catch(oe){I(oe)}}}class P extends v{constructor(H,oe,le){let me;if(super(),(0,n.m)(H)||!H)me={next:null!=H?H:void 0,error:null!=oe?oe:void 0,complete:null!=le?le:void 0};else{let De;this&&y.v.useDeprecatedNextContext?(De=Object.create(H),De.unsubscribe=()=>this.unsubscribe(),me={next:H.next&&T(H.next,De),error:H.error&&T(H.error,De),complete:H.complete&&T(H.complete,De)}):me=H}this.destination=new S(me)}}function I(X){y.v.useDeprecatedSynchronousErrorHandling?(0,_.O)(X):(0,d.h)(X)}function J(X,H){const{onStoppedNotification:oe}=y.v;oe&&u.z.setTimeout(()=>oe(X,H))}const Y={closed:!0,next:o.Z,error:function V(X){throw X},complete:o.Z}},727:(G,r,a)=>{"use strict";a.d(r,{Lc:()=>c,w0:()=>o,Nn:()=>f});var n=a(576);const y=(0,a(3888).d)(m=>function(_){m(this),this.message=_?`${_.length} errors occurred during unsubscription:\n${_.map((v,b)=>`${b+1}) ${v.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=_});var d=a(8737);class o{constructor(u){this.initialTeardown=u,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let u;if(!this.closed){this.closed=!0;const{_parentage:_}=this;if(_)if(this._parentage=null,Array.isArray(_))for(const T of _)T.remove(this);else _.remove(this);const{initialTeardown:v}=this;if((0,n.m)(v))try{v()}catch(T){u=T instanceof y?T.errors:[T]}const{_finalizers:b}=this;if(b){this._finalizers=null;for(const T of b)try{p(T)}catch(S){u=null!=u?u:[],S instanceof y?u=[...u,...S.errors]:u.push(S)}}if(u)throw new y(u)}}add(u){var _;if(u&&u!==this)if(this.closed)p(u);else{if(u instanceof o){if(u.closed||u._hasParent(this))return;u._addParent(this)}(this._finalizers=null!==(_=this._finalizers)&&void 0!==_?_:[]).push(u)}}_hasParent(u){const{_parentage:_}=this;return _===u||Array.isArray(_)&&_.includes(u)}_addParent(u){const{_parentage:_}=this;this._parentage=Array.isArray(_)?(_.push(u),_):_?[_,u]:u}_removeParent(u){const{_parentage:_}=this;_===u?this._parentage=null:Array.isArray(_)&&(0,d.P)(_,u)}remove(u){const{_finalizers:_}=this;_&&(0,d.P)(_,u),u instanceof o&&u._removeParent(this)}}o.EMPTY=(()=>{const m=new o;return m.closed=!0,m})();const c=o.EMPTY;function f(m){return m instanceof o||m&&"closed"in m&&(0,n.m)(m.remove)&&(0,n.m)(m.add)&&(0,n.m)(m.unsubscribe)}function p(m){(0,n.m)(m)?m():m.unsubscribe()}},2416:(G,r,a)=>{"use strict";a.d(r,{v:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(G,r,a)=>{"use strict";a.d(r,{a:()=>u});var n=a(8306),h=a(4742),y=a(2076),d=a(4671),o=a(3268),c=a(3269),f=a(1810),p=a(5403),m=a(9672);function u(...b){const T=(0,c.yG)(b),S=(0,c.jO)(b),{args:P,keys:I}=(0,h.D)(b);if(0===P.length)return(0,y.D)([],T);const V=new n.y(function _(b,T,S=d.y){return P=>{v(T,()=>{const{length:I}=b,V=new Array(I);let J=I,Y=I;for(let X=0;X<I;X++)v(T,()=>{const H=(0,y.D)(b[X],T);let oe=!1;H.subscribe((0,p.x)(P,le=>{V[X]=le,oe||(oe=!0,Y--),Y||P.next(S(V.slice()))},()=>{--J||P.complete()}))},P)},P)}}(P,T,I?J=>(0,f.n)(I,J):d.y));return S?V.pipe((0,o.Z)(S)):V}function v(b,T,S){b?(0,m.f)(S,b,T):T()}},7272:(G,r,a)=>{"use strict";a.d(r,{z:()=>o});var n=a(8189),y=a(3269),d=a(2076);function o(...c){return function h(){return(0,n.J)(1)}()((0,d.D)(c,(0,y.yG)(c)))}},515:(G,r,a)=>{"use strict";a.d(r,{E:()=>h});const h=new(a(8306).y)(o=>o.complete())},4128:(G,r,a)=>{"use strict";a.d(r,{D:()=>p});var n=a(8306),h=a(4742),y=a(8421),d=a(3269),o=a(5403),c=a(3268),f=a(1810);function p(...m){const u=(0,d.jO)(m),{args:_,keys:v}=(0,h.D)(m),b=new n.y(T=>{const{length:S}=_;if(!S)return void T.complete();const P=new Array(S);let I=S,V=S;for(let J=0;J<S;J++){let Y=!1;(0,y.Xf)(_[J]).subscribe((0,o.x)(T,X=>{Y||(Y=!0,V--),P[J]=X},()=>I--,void 0,()=>{(!I||!Y)&&(V||T.next(v?(0,f.n)(v,P):P),T.complete())}))}});return u?b.pipe((0,c.Z)(u)):b}},2076:(G,r,a)=>{"use strict";a.d(r,{D:()=>le});var n=a(8421),h=a(9672),y=a(4482),d=a(5403);function o(me,De=0){return(0,y.e)((be,Z)=>{be.subscribe((0,d.x)(Z,de=>(0,h.f)(Z,me,()=>Z.next(de),De),()=>(0,h.f)(Z,me,()=>Z.complete(),De),de=>(0,h.f)(Z,me,()=>Z.error(de),De)))})}function c(me,De=0){return(0,y.e)((be,Z)=>{Z.add(me.schedule(()=>be.subscribe(Z),De))})}var m=a(8306),_=a(2202),v=a(576);function T(me,De){if(!me)throw new Error("Iterable cannot be null");return new m.y(be=>{(0,h.f)(be,De,()=>{const Z=me[Symbol.asyncIterator]();(0,h.f)(be,De,()=>{Z.next().then(de=>{de.done?be.complete():be.next(de.value)})},0,!0)})})}var S=a(3670),P=a(8239),I=a(1144),V=a(6495),J=a(2206),Y=a(4532),X=a(3260);function le(me,De){return De?function oe(me,De){if(null!=me){if((0,S.c)(me))return function f(me,De){return(0,n.Xf)(me).pipe(c(De),o(De))}(me,De);if((0,I.z)(me))return function u(me,De){return new m.y(be=>{let Z=0;return De.schedule(function(){Z===me.length?be.complete():(be.next(me[Z++]),be.closed||this.schedule())})})}(me,De);if((0,P.t)(me))return function p(me,De){return(0,n.Xf)(me).pipe(c(De),o(De))}(me,De);if((0,J.D)(me))return T(me,De);if((0,V.T)(me))return function b(me,De){return new m.y(be=>{let Z;return(0,h.f)(be,De,()=>{Z=me[_.h](),(0,h.f)(be,De,()=>{let de,z;try{({value:de,done:z}=Z.next())}catch(pe){return void be.error(pe)}z?be.complete():be.next(de)},0,!0)}),()=>(0,v.m)(null==Z?void 0:Z.return)&&Z.return()})}(me,De);if((0,X.L)(me))return function H(me,De){return T((0,X.Q)(me),De)}(me,De)}throw(0,Y.z)(me)}(me,De):(0,n.Xf)(me)}},4968:(G,r,a)=>{"use strict";a.d(r,{R:()=>u});var n=a(8421),h=a(8306),y=a(5577),d=a(1144),o=a(576),c=a(3268);const f=["addListener","removeListener"],p=["addEventListener","removeEventListener"],m=["on","off"];function u(S,P,I,V){if((0,o.m)(I)&&(V=I,I=void 0),V)return u(S,P,I).pipe((0,c.Z)(V));const[J,Y]=function T(S){return(0,o.m)(S.addEventListener)&&(0,o.m)(S.removeEventListener)}(S)?p.map(X=>H=>S[X](P,H,I)):function v(S){return(0,o.m)(S.addListener)&&(0,o.m)(S.removeListener)}(S)?f.map(_(S,P)):function b(S){return(0,o.m)(S.on)&&(0,o.m)(S.off)}(S)?m.map(_(S,P)):[];if(!J&&(0,d.z)(S))return(0,y.z)(X=>u(X,P,I))((0,n.Xf)(S));if(!J)throw new TypeError("Invalid event target");return new h.y(X=>{const H=(...oe)=>X.next(1<oe.length?oe:oe[0]);return J(H),()=>Y(H)})}function _(S,P){return I=>V=>S[I](P,V)}},8421:(G,r,a)=>{"use strict";a.d(r,{Xf:()=>b});var n=a(655),h=a(1144),y=a(8239),d=a(8306),o=a(3670),c=a(2206),f=a(4532),p=a(6495),m=a(3260),u=a(576),_=a(7849),v=a(8822);function b(X){if(X instanceof d.y)return X;if(null!=X){if((0,o.c)(X))return function T(X){return new d.y(H=>{const oe=X[v.L]();if((0,u.m)(oe.subscribe))return oe.subscribe(H);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(X);if((0,h.z)(X))return function S(X){return new d.y(H=>{for(let oe=0;oe<X.length&&!H.closed;oe++)H.next(X[oe]);H.complete()})}(X);if((0,y.t)(X))return function P(X){return new d.y(H=>{X.then(oe=>{H.closed||(H.next(oe),H.complete())},oe=>H.error(oe)).then(null,_.h)})}(X);if((0,c.D)(X))return V(X);if((0,p.T)(X))return function I(X){return new d.y(H=>{for(const oe of X)if(H.next(oe),H.closed)return;H.complete()})}(X);if((0,m.L)(X))return function J(X){return V((0,m.Q)(X))}(X)}throw(0,f.z)(X)}function V(X){return new d.y(H=>{(function Y(X,H){var oe,le,me,De;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(oe=(0,n.__asyncValues)(X);!(le=yield oe.next()).done;)if(H.next(le.value),H.closed)return}catch(be){me={error:be}}finally{try{le&&!le.done&&(De=oe.return)&&(yield De.call(oe))}finally{if(me)throw me.error}}H.complete()})})(X,H).catch(oe=>H.error(oe))})}},6451:(G,r,a)=>{"use strict";a.d(r,{T:()=>c});var n=a(8189),h=a(8421),y=a(515),d=a(3269),o=a(2076);function c(...f){const p=(0,d.yG)(f),m=(0,d._6)(f,1/0),u=f;return u.length?1===u.length?(0,h.Xf)(u[0]):(0,n.J)(m)((0,o.D)(u,p)):y.E}},9646:(G,r,a)=>{"use strict";a.d(r,{of:()=>y});var n=a(3269),h=a(2076);function y(...d){const o=(0,n.yG)(d);return(0,h.D)(d,o)}},5963:(G,r,a)=>{"use strict";a.d(r,{H:()=>o});var n=a(8306),h=a(4986),y=a(3532);function o(c=0,f,p=h.P){let m=-1;return null!=f&&((0,y.K)(f)?p=f:m=f),new n.y(u=>{let _=function d(c){return c instanceof Date&&!isNaN(c)}(c)?+c-p.now():c;_<0&&(_=0);let v=0;return p.schedule(function(){u.closed||(u.next(v++),0<=m?this.schedule(void 0,m):u.complete())},_)})}},5403:(G,r,a)=>{"use strict";a.d(r,{x:()=>h});var n=a(930);function h(d,o,c,f,p){return new y(d,o,c,f,p)}class y extends n.Lv{constructor(o,c,f,p,m,u){super(o),this.onFinalize=m,this.shouldUnsubscribe=u,this._next=c?function(_){try{c(_)}catch(v){o.error(v)}}:super._next,this._error=p?function(_){try{p(_)}catch(v){o.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(_){o.error(_)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var o;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:c}=this;super.unsubscribe(),!c&&(null===(o=this.onFinalize)||void 0===o||o.call(this))}}}},8372:(G,r,a)=>{"use strict";a.d(r,{b:()=>d});var n=a(4986),h=a(4482),y=a(5403);function d(o,c=n.z){return(0,h.e)((f,p)=>{let m=null,u=null,_=null;const v=()=>{if(m){m.unsubscribe(),m=null;const T=u;u=null,p.next(T)}};function b(){const T=_+o,S=c.now();if(S<T)return m=this.schedule(void 0,T-S),void p.add(m);v()}f.subscribe((0,y.x)(p,T=>{u=T,_=c.now(),m||(m=c.schedule(b,o),p.add(m))},()=>{v(),p.complete()},void 0,()=>{u=m=null}))})}},1884:(G,r,a)=>{"use strict";a.d(r,{x:()=>d});var n=a(4671),h=a(4482),y=a(5403);function d(c,f=n.y){return c=null!=c?c:o,(0,h.e)((p,m)=>{let u,_=!0;p.subscribe((0,y.x)(m,v=>{const b=f(v);(_||!c(u,b))&&(_=!1,u=b,m.next(v))}))})}function o(c,f){return c===f}},9300:(G,r,a)=>{"use strict";a.d(r,{h:()=>y});var n=a(4482),h=a(5403);function y(d,o){return(0,n.e)((c,f)=>{let p=0;c.subscribe((0,h.x)(f,m=>d.call(o,m,p++)&&f.next(m)))})}},4004:(G,r,a)=>{"use strict";a.d(r,{U:()=>y});var n=a(4482),h=a(5403);function y(d,o){return(0,n.e)((c,f)=>{let p=0;c.subscribe((0,h.x)(f,m=>{f.next(d.call(o,m,p++))}))})}},8189:(G,r,a)=>{"use strict";a.d(r,{J:()=>y});var n=a(5577),h=a(4671);function y(d=1/0){return(0,n.z)(h.y,d)}},5577:(G,r,a)=>{"use strict";a.d(r,{z:()=>p});var n=a(4004),h=a(8421),y=a(4482),d=a(9672),o=a(5403),f=a(576);function p(m,u,_=1/0){return(0,f.m)(u)?p((v,b)=>(0,n.U)((T,S)=>u(v,T,b,S))((0,h.Xf)(m(v,b))),_):("number"==typeof u&&(_=u),(0,y.e)((v,b)=>function c(m,u,_,v,b,T,S,P){const I=[];let V=0,J=0,Y=!1;const X=()=>{Y&&!I.length&&!V&&u.complete()},H=le=>V<v?oe(le):I.push(le),oe=le=>{T&&u.next(le),V++;let me=!1;(0,h.Xf)(_(le,J++)).subscribe((0,o.x)(u,De=>{null==b||b(De),T?H(De):u.next(De)},()=>{me=!0},void 0,()=>{if(me)try{for(V--;I.length&&V<v;){const De=I.shift();S?(0,d.f)(u,S,()=>oe(De)):oe(De)}X()}catch(De){u.error(De)}}))};return m.subscribe((0,o.x)(u,H,()=>{Y=!0,X()})),()=>{null==P||P()}}(v,b,m,_)))}},3099:(G,r,a)=>{"use strict";a.d(r,{B:()=>c});var n=a(2076),h=a(5698),y=a(7579),d=a(930),o=a(4482);function c(p={}){const{connector:m=(()=>new y.x),resetOnError:u=!0,resetOnComplete:_=!0,resetOnRefCountZero:v=!0}=p;return b=>{let T=null,S=null,P=null,I=0,V=!1,J=!1;const Y=()=>{null==S||S.unsubscribe(),S=null},X=()=>{Y(),T=P=null,V=J=!1},H=()=>{const oe=T;X(),null==oe||oe.unsubscribe()};return(0,o.e)((oe,le)=>{I++,!J&&!V&&Y();const me=P=null!=P?P:m();le.add(()=>{I--,0===I&&!J&&!V&&(S=f(H,v))}),me.subscribe(le),T||(T=new d.Hp({next:De=>me.next(De),error:De=>{J=!0,Y(),S=f(X,u,De),me.error(De)},complete:()=>{V=!0,Y(),S=f(X,_),me.complete()}}),(0,n.D)(oe).subscribe(T))})(b)}}function f(p,m,...u){return!0===m?(p(),null):!1===m?null:m(...u).pipe((0,h.q)(1)).subscribe(()=>p())}},5684:(G,r,a)=>{"use strict";a.d(r,{T:()=>h});var n=a(9300);function h(y){return(0,n.h)((d,o)=>y<=o)}},8675:(G,r,a)=>{"use strict";a.d(r,{O:()=>d});var n=a(7272),h=a(3269),y=a(4482);function d(...o){const c=(0,h.yG)(o);return(0,y.e)((f,p)=>{(c?(0,n.z)(o,f,c):(0,n.z)(o,f)).subscribe(p)})}},5698:(G,r,a)=>{"use strict";a.d(r,{q:()=>d});var n=a(515),h=a(4482),y=a(5403);function d(o){return o<=0?()=>n.E:(0,h.e)((c,f)=>{let p=0;c.subscribe((0,y.x)(f,m=>{++p<=o&&(f.next(m),o<=p&&f.complete())}))})}},2722:(G,r,a)=>{"use strict";a.d(r,{R:()=>o});var n=a(4482),h=a(5403),y=a(8421),d=a(5032);function o(c){return(0,n.e)((f,p)=>{(0,y.Xf)(c).subscribe((0,h.x)(p,()=>p.complete(),d.Z)),!p.closed&&f.subscribe(p)})}},8505:(G,r,a)=>{"use strict";a.d(r,{b:()=>o});var n=a(576),h=a(4482),y=a(5403),d=a(4671);function o(c,f,p){const m=(0,n.m)(c)||f||p?{next:c,error:f,complete:p}:c;return m?(0,h.e)((u,_)=>{var v;null===(v=m.subscribe)||void 0===v||v.call(m);let b=!0;u.subscribe((0,y.x)(_,T=>{var S;null===(S=m.next)||void 0===S||S.call(m,T),_.next(T)},()=>{var T;b=!1,null===(T=m.complete)||void 0===T||T.call(m),_.complete()},T=>{var S;b=!1,null===(S=m.error)||void 0===S||S.call(m,T),_.error(T)},()=>{var T,S;b&&(null===(T=m.unsubscribe)||void 0===T||T.call(m)),null===(S=m.finalize)||void 0===S||S.call(m)}))}):d.y}},4408:(G,r,a)=>{"use strict";a.d(r,{o:()=>o});var n=a(727);class h extends n.w0{constructor(f,p){super()}schedule(f,p=0){return this}}const y={setInterval(c,f,...p){const{delegate:m}=y;return(null==m?void 0:m.setInterval)?m.setInterval(c,f,...p):setInterval(c,f,...p)},clearInterval(c){const{delegate:f}=y;return((null==f?void 0:f.clearInterval)||clearInterval)(c)},delegate:void 0};var d=a(8737);class o extends h{constructor(f,p){super(f,p),this.scheduler=f,this.work=p,this.pending=!1}schedule(f,p=0){if(this.closed)return this;this.state=f;const m=this.id,u=this.scheduler;return null!=m&&(this.id=this.recycleAsyncId(u,m,p)),this.pending=!0,this.delay=p,this.id=this.id||this.requestAsyncId(u,this.id,p),this}requestAsyncId(f,p,m=0){return y.setInterval(f.flush.bind(f,this),m)}recycleAsyncId(f,p,m=0){if(null!=m&&this.delay===m&&!1===this.pending)return p;y.clearInterval(p)}execute(f,p){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(f,p);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(f,p){let u,m=!1;try{this.work(f)}catch(_){m=!0,u=_||new Error("Scheduled action threw falsy error")}if(m)return this.unsubscribe(),u}unsubscribe(){if(!this.closed){const{id:f,scheduler:p}=this,{actions:m}=p;this.work=this.state=this.scheduler=null,this.pending=!1,(0,d.P)(m,this),null!=f&&(this.id=this.recycleAsyncId(p,f,null)),this.delay=null,super.unsubscribe()}}}},640:(G,r,a)=>{"use strict";a.d(r,{v:()=>y});const n={now:()=>(n.delegate||Date).now(),delegate:void 0};class h{constructor(o,c=h.now){this.schedulerActionCtor=o,this.now=c}schedule(o,c=0,f){return new this.schedulerActionCtor(this,o).schedule(f,c)}}h.now=n.now;class y extends h{constructor(o,c=h.now){super(o,c),this.actions=[],this._active=!1,this._scheduled=void 0}flush(o){const{actions:c}=this;if(this._active)return void c.push(o);let f;this._active=!0;do{if(f=o.execute(o.state,o.delay))break}while(o=c.shift());if(this._active=!1,f){for(;o=c.shift();)o.unsubscribe();throw f}}}},3101:(G,r,a)=>{"use strict";a.d(r,{E:()=>T});var n=a(4408);let y,h=1;const d={};function o(P){return P in d&&(delete d[P],!0)}const c={setImmediate(P){const I=h++;return d[I]=!0,y||(y=Promise.resolve()),y.then(()=>o(I)&&P()),I},clearImmediate(P){o(P)}},{setImmediate:p,clearImmediate:m}=c,u={setImmediate(...P){const{delegate:I}=u;return((null==I?void 0:I.setImmediate)||p)(...P)},clearImmediate(P){const{delegate:I}=u;return((null==I?void 0:I.clearImmediate)||m)(P)},delegate:void 0};var v=a(640);const T=new class b extends v.v{flush(I){this._active=!0;const V=this._scheduled;this._scheduled=void 0;const{actions:J}=this;let Y;I=I||J.shift();do{if(Y=I.execute(I.state,I.delay))break}while((I=J[0])&&I.id===V&&J.shift());if(this._active=!1,Y){for(;(I=J[0])&&I.id===V&&J.shift();)I.unsubscribe();throw Y}}}(class _ extends n.o{constructor(I,V){super(I,V),this.scheduler=I,this.work=V}requestAsyncId(I,V,J=0){return null!==J&&J>0?super.requestAsyncId(I,V,J):(I.actions.push(this),I._scheduled||(I._scheduled=u.setImmediate(I.flush.bind(I,void 0))))}recycleAsyncId(I,V,J=0){if(null!=J&&J>0||null==J&&this.delay>0)return super.recycleAsyncId(I,V,J);I.actions.some(Y=>Y.id===V)||(u.clearImmediate(V),I._scheduled=void 0)}})},4986:(G,r,a)=>{"use strict";a.d(r,{P:()=>d,z:()=>y});var n=a(4408);const y=new(a(640).v)(n.o),d=y},3410:(G,r,a)=>{"use strict";a.d(r,{z:()=>n});const n={setTimeout(h,y,...d){const{delegate:o}=n;return(null==o?void 0:o.setTimeout)?o.setTimeout(h,y,...d):setTimeout(h,y,...d)},clearTimeout(h){const{delegate:y}=n;return((null==y?void 0:y.clearTimeout)||clearTimeout)(h)},delegate:void 0}},2202:(G,r,a)=>{"use strict";a.d(r,{h:()=>h});const h=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(G,r,a)=>{"use strict";a.d(r,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(G,r,a)=>{"use strict";a.d(r,{_6:()=>c,jO:()=>d,yG:()=>o});var n=a(576),h=a(3532);function y(f){return f[f.length-1]}function d(f){return(0,n.m)(y(f))?f.pop():void 0}function o(f){return(0,h.K)(y(f))?f.pop():void 0}function c(f,p){return"number"==typeof y(f)?f.pop():p}},4742:(G,r,a)=>{"use strict";a.d(r,{D:()=>o});const{isArray:n}=Array,{getPrototypeOf:h,prototype:y,keys:d}=Object;function o(f){if(1===f.length){const p=f[0];if(n(p))return{args:p,keys:null};if(function c(f){return f&&"object"==typeof f&&h(f)===y}(p)){const m=d(p);return{args:m.map(u=>p[u]),keys:m}}}return{args:f,keys:null}}},8737:(G,r,a)=>{"use strict";function n(h,y){if(h){const d=h.indexOf(y);0<=d&&h.splice(d,1)}}a.d(r,{P:()=>n})},3888:(G,r,a)=>{"use strict";function n(h){const d=h(o=>{Error.call(o),o.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}a.d(r,{d:()=>n})},1810:(G,r,a)=>{"use strict";function n(h,y){return h.reduce((d,o,c)=>(d[o]=y[c],d),{})}a.d(r,{n:()=>n})},2806:(G,r,a)=>{"use strict";a.d(r,{O:()=>d,x:()=>y});var n=a(2416);let h=null;function y(o){if(n.v.useDeprecatedSynchronousErrorHandling){const c=!h;if(c&&(h={errorThrown:!1,error:null}),o(),c){const{errorThrown:f,error:p}=h;if(h=null,f)throw p}}else o()}function d(o){n.v.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=o)}},9672:(G,r,a)=>{"use strict";function n(h,y,d,o=0,c=!1){const f=y.schedule(function(){d(),c?h.add(this.schedule(null,o)):this.unsubscribe()},o);if(h.add(f),!c)return f}a.d(r,{f:()=>n})},4671:(G,r,a)=>{"use strict";function n(h){return h}a.d(r,{y:()=>n})},1144:(G,r,a)=>{"use strict";a.d(r,{z:()=>n});const n=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(G,r,a)=>{"use strict";a.d(r,{D:()=>h});var n=a(576);function h(y){return Symbol.asyncIterator&&(0,n.m)(null==y?void 0:y[Symbol.asyncIterator])}},576:(G,r,a)=>{"use strict";function n(h){return"function"==typeof h}a.d(r,{m:()=>n})},3670:(G,r,a)=>{"use strict";a.d(r,{c:()=>y});var n=a(8822),h=a(576);function y(d){return(0,h.m)(d[n.L])}},6495:(G,r,a)=>{"use strict";a.d(r,{T:()=>y});var n=a(2202),h=a(576);function y(d){return(0,h.m)(null==d?void 0:d[n.h])}},8239:(G,r,a)=>{"use strict";a.d(r,{t:()=>h});var n=a(576);function h(y){return(0,n.m)(null==y?void 0:y.then)}},3260:(G,r,a)=>{"use strict";a.d(r,{L:()=>d,Q:()=>y});var n=a(655),h=a(576);function y(o){return(0,n.__asyncGenerator)(this,arguments,function*(){const f=o.getReader();try{for(;;){const{value:p,done:m}=yield(0,n.__await)(f.read());if(m)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(p)}}finally{f.releaseLock()}})}function d(o){return(0,h.m)(null==o?void 0:o.getReader)}},3532:(G,r,a)=>{"use strict";a.d(r,{K:()=>h});var n=a(576);function h(y){return y&&(0,n.m)(y.schedule)}},4482:(G,r,a)=>{"use strict";a.d(r,{e:()=>y});var n=a(576);function y(d){return o=>{if(function h(d){return(0,n.m)(null==d?void 0:d.lift)}(o))return o.lift(function(c){try{return d(c,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(G,r,a)=>{"use strict";a.d(r,{Z:()=>d});var n=a(4004);const{isArray:h}=Array;function d(o){return(0,n.U)(c=>function y(o,c){return h(c)?o(...c):o(c)}(o,c))}},5032:(G,r,a)=>{"use strict";function n(){}a.d(r,{Z:()=>n})},7849:(G,r,a)=>{"use strict";a.d(r,{h:()=>y});var n=a(2416),h=a(3410);function y(d){h.z.setTimeout(()=>{const{onUnhandledError:o}=n.v;if(!o)throw d;o(d)})}},4532:(G,r,a)=>{"use strict";function n(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(r,{z:()=>n})},3642:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateRxMethod=r.generateMethodSignature=r.generateErrorClass=r.generateClass=r.generateErrorType=r.generateEnum=r.generateJsonRepresentation=r.mangle=r.generateSwiftTypeName=void 0;const n=a(6676);function h(b){switch(b.constructor){case n.IntPrimitiveType:return"Int";case n.UIntPrimitiveType:return"UInt";case n.MoneyPrimitiveType:return"Int64";case n.FloatPrimitiveType:return"Double";case n.BigIntPrimitiveType:return"Decimal";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"Date";case n.BoolPrimitiveType:return"Bool";case n.BytesPrimitiveType:return"Data";case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.UrlPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"String";case n.VoidPrimitiveType:return"Void";case n.JsonPrimitiveType:return"AnyCodable";case n.OptionalType:return`${h(b.base)}?`;case n.ArrayType:return`[${h(b.base)}]`;case n.StructType:case n.EnumType:return`API.${b.name}`;case n.TypeReference:return h(b.type);default:throw new Error(`BUG: generateSwiftTypeName with ${b.constructor.name}`)}}function y(b){return["associatedtype","deinit","extension","inout","let","in","as","break","class","continue","protocol","Protocol","rethrows","throws","static","do","else","false","for","guard","func","if","internal","struct","subscript","repeat","is","nil","Any","associativity","convenience","import","return","super","self","Self","throw","true","try","typealias","switch","case","default","defer","fallthrough","optional","var","while","catch","dynamic","didSet","Set","fileprivate","lazy","get","init","required","right","param","property","receiver","set","left","where","final","infix","indirect","open","operator","override","private","postfix","public","mutating","none","nonmutating","precedence","prefix","Type","unowned","weak","willSet"].includes(b)?`_${b}`:b}function d(b,T){switch(b.constructor){case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:case n.BoolPrimitiveType:return`${T}`;case n.OptionalType:return`${T} == nil ? nil : ${d(b.base,`${T}!`)}`;case n.DatePrimitiveType:return`SdkgenHelper.encodeDate(date: ${T})`;case n.DateTimePrimitiveType:return`SdkgenHelper.encodeDateTime(date: ${T})`;case n.EnumType:return`${T}.rawValue`;case n.TypeReference:return`${d(b.type,`${T}`)}`;case n.StructType:return`${T}.toJSON()`;case n.ArrayType:return`${T}.map({ return ${d(b.base,"$0")} })`;case n.JsonPrimitiveType:return`try? ${T}.toJson()`;case n.VoidPrimitiveType:return"nil";case n.BytesPrimitiveType:return`${T}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${b.constructor.name}`)}}r.generateSwiftTypeName=h,r.mangle=y,r.generateJsonRepresentation=d,r.generateEnum=function o(b){let T=` public enum ${b.name}: String, Codable {\n`;return T+=b.values.map(S=>` case ${y(S.value)} = "${S.value}"`).join("\n"),T+="\n }\n",T},r.generateErrorType=function c(b){let T=" public enum ErrorType: String, Codable {\n";return T+=b.map(S=>` case ${y(S)} = "${S}"`).join("\n"),T+="\n }\n",T},r.generateClass=function m(b){return` public struct ${b.name}: Codable {\n${b.fields.map(T=>` var ${y(T.name)}: ${h(T.type)}`).join("\n")}\n\n${function f(b){let T=" init(";return T+=b.fields.map(S=>`${y(S.name)}: ${h(S.type)}`).join(", "),T+=") {\n",T+=b.fields.map(S=>` self.${y(S.name)} = ${y(S.name)}`).join("\n"),T+="\n }\n",T}(b)}\n${function p(b){let T=" func toJSON() -> [String: Any] {\n";return T+=" var json = [String: Any]()\n",T+=b.fields.map(S=>` json["${y(S.name)}"] = ${d(S.type,S.name)}`).join("\n"),T+="\n return json",T+="\n }\n",T}(b)}\n }\n`},r.generateErrorClass=function u(){return" public class Failure: Error {\n var message: String?\n var code: Int?\n var type: ErrorType?\n \n init(message: String?, code: Int?, type: String?) {\n self.message = message\n self.code = code\n if let typeString = type {\n self.type = ErrorType(rawValue: typeString) ?? nil\n }\n }\n }\n"},r.generateMethodSignature=function _(b){const T=b.args.map(S=>`${y(S.name)}: ${h(S.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${b.returnType instanceof n.VoidPrimitiveType?"API.Result<API.NoReply>":`API.Result<${h(b.returnType)}>`}) -> Void)?`]);return` func ${y(b.name)}(${T.join(", ")})`},r.generateRxMethod=function v(b){const T=b.args.map(P=>`${y(P.name)}: ${h(P.type)}`).concat(["timeoutSeconds: Double? = nil"]);let S=` static func ${y(b.name)}(${T.join(", ")}) -> ${b.returnType instanceof n.VoidPrimitiveType?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${h(b.returnType)}>>`} {\n`;return S+=" return Observable.create { observer -> Disposable in\n",S+=` API.calls.${y(b.name)}(${b.args.map(P=>`${y(P.name)}: ${y(P.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,S+=" observer.on(.next(result))\n",S+=" observer.on(.completed)\n",S+=" }\n",S+=" return Disposables.create()\n",S+=" }\n",S+=" }\n",S}},7295:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(7636),r)},7636:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateSwiftClientSource=void 0;const n=a(6676),h=a(3642);r.generateSwiftClientSource=function y(d,o){let c="import Foundation\nimport SdkgenRuntime\n";c+=o?"import RxSwift\nimport RxCocoa\n\n":"\n",c+="protocol APICallsProtocol {\n",c+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>`${(0,h.generateMethodSignature)(m)}`).join("\n"),c+="\n}\n\n",c+='class API: SdkgenResponse {\n\n static var calls: APICallsProtocol = Calls(baseUrl: "")\n static var baseUrl: String? {\n didSet {\n self.calls = Calls(baseUrl: baseUrl ?? "")\n }\n }\n \n override init() {\n super.init()\n }\n\n';for(const m of d.enumTypes)c+=(0,h.generateEnum)(m),c+="\n";for(const m of d.structTypes)c+=(0,h.generateClass)(m),c+="\n";const f=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);f.push(p.name);for(const m of d.errors)f.push(m.name);return f.length>0&&(c+=(0,h.generateErrorType)(f),c+="\n"),c+=(0,h.generateErrorClass)(),c+="\n",c+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",c+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",c+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>{let u="";return u+=` ${(0,h.generateMethodSignature)(m)} {\n`,m.args.length>0?(u+=" var jsonArgs = [String: Any]()\n",u+=m.args.map(_=>` jsonArgs["${(0,h.mangle)(_.name)}"] = ${(0,h.generateJsonRepresentation)(_.type,(0,h.mangle)(_.name))}`).join("\n")):u+=" let jsonArgs = [String: Any]()",u+="\n\n",u+=` request("${m.name}", jsonArgs, timeoutSeconds, completion: { (value: ${m.returnType instanceof n.VoidPrimitiveType?"API.NoReply":(0,h.generateSwiftTypeName)(m.returnType)}) in\n`,u+=" callback?(API.Result.success(value))\n",u+=" }, onError: { error in\n",u+=" callback?(API.Result.failure(API.Failure(message: error.message, code: error.code, type: error.type)))\n",u+=" })",u+="\n }\n",u}).join("\n"),c+=" }\n",c+="}\n",o&&(c+="\n",c+="extension API: ReactiveCompatible {}\n\n",c+="extension Reactive where Base: API {\n",c+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>`${(0,h.generateRxMethod)(m)}`).join("\n"),c+="}\n"),c}},8173:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateBrowserClientSource=void 0;const n=a(6676),h=a(5596);r.generateBrowserClientSource=function y(d){let o="";o+=`/* eslint-disable */\nimport { SdkgenError${d.errors.some(f=>!(f.dataType instanceof n.VoidPrimitiveType))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n\n`;for(const f of d.enumTypes)o+=(0,h.generateTypescriptEnum)(f),o+="\n";for(const f of d.structTypes)o+=(0,h.generateTypescriptInterface)(f,!0),o+="\n";for(const f of d.errors)o+=(0,h.generateTypescriptErrorClass)(f,!0),o+="\n";return o+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${d.operations.filter(f=>f.annotations.every(p=>!(p instanceof n.HiddenAnnotation))).map(f=>`\n ${f.name}(args${0===f.args.length?"?":""}: {${f.args.map(p=>`${p.name}${p.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(p.type,!0)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(f.returnType,!0)}> { return this.makeRequest("${f.name}", args || {}); }`).join("")}\n}\n\n`,o+=`const errClasses = {\n${d.errors.map(f=>` ${f.name}`).join(",\n")}\n};\n\n`,o+=`const astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,o}},5596:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.clearForLogging=r.generateTypescriptErrorClass=r.generateTypescriptEnum=r.generateTypescriptInterface=r.generateTypescriptTypeName=void 0;const n=a(6676);function h(f,p){switch(f.constructor){case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:return"number";case n.BigIntPrimitiveType:return"bigint";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"Date";case n.BoolPrimitiveType:return"boolean";case n.BytesPrimitiveType:return p?"ArrayBuffer":"Buffer";case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"string";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"any";case n.OptionalType:return`${h(f.base,p)} | null`;case n.ArrayType:{const{base:m}=f,u=h(m,p);return m instanceof n.OptionalType?`(${u})[]`:`${u}[]`}case n.StructType:case n.EnumType:return f.name;case n.TypeReference:return h(f.type,p);default:throw new Error(`BUG: generateTypescriptTypeName with ${f.constructor.name}`)}}r.generateTypescriptTypeName=h,r.generateTypescriptInterface=function y(f,p){return`export interface ${f.name} {\n${f.fields.map(m=>` ${m.name}: ${h(m.type,p)}`).join("\n")}\n}\n`},r.generateTypescriptEnum=function d(f){return f.hasStructValues?`export type ${f.name} = ${f.values.map(p=>p.struct?`({tag: "${p.value}"} & ${p.struct.name})`:`{tag: "${p.value}"}`).join(" | ")};\n`:`export type ${f.name} = ${f.values.map(p=>`"${p.value}"`).join(" | ")};\n`},r.generateTypescriptErrorClass=function o(f,p){return`export class ${f.name} extends ${f.dataType instanceof n.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${h(f.dataType,p)}>`} {}\n`},r.clearForLogging=function c(f,p){switch(p.constructor){case n.TypeReference:return c(f,p.type);case n.OptionalType:{const m=c(f,p.base);return m?`if (${f} !== null && ${f} !== undefined) { ${m} }`:""}case n.ArrayType:{const m=c("el",p.base);return m?`for (const el of ${f}) { ${m} }`:""}case n.StructType:{const m=[];for(const u of p.fields)if(u.secret)m.push(`${f}.${u.name} = "<secret>";`);else{const _=c(`${f}.${u.name}`,u.type);_&&m.push(_)}return m.join(" ")}default:return""}}},2911:function(G,r,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,o,c){void 0===c&&(c=o);var f=Object.getOwnPropertyDescriptor(d,o);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[o]}}),Object.defineProperty(y,c,f)}:function(y,d,o,c){void 0===c&&(c=o),y[c]=d[o]}),h=this&&this.__exportStar||function(y,d){for(var o in y)"default"!==o&&!Object.prototype.hasOwnProperty.call(d,o)&&n(d,y,o)};Object.defineProperty(r,"__esModule",{value:!0}),h(a(8173),r),h(a(7538),r),h(a(1727),r),h(a(615),r)},7538:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateTypescriptInterfaces=void 0;const n=a(5596);r.generateTypescriptInterfaces=function h(y){let d="";for(const o of y.enumTypes)d+=(0,n.generateTypescriptEnum)(o);d+="\n";for(const o of y.structTypes)d+=(0,n.generateTypescriptInterface)(o,!1),d+="\n";return d}},1727:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateNodeClientSource=void 0;const n=a(6676),h=a(5596);r.generateNodeClientSource=function y(d){let o="";const c=d.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));o+=`/* eslint-disable */\nimport { Context, Fatal${d.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${c?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n\n`;for(const p of d.enumTypes)o+=(0,h.generateTypescriptEnum)(p),o+="\n";for(const p of d.structTypes)o+=(0,h.generateTypescriptInterface)(p,!1),o+="\n";for(const p of d.errors)"Fatal"!==p.name&&(o+=(0,h.generateTypescriptErrorClass)(p,!1),o+="\n");return o+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${d.operations.filter(p=>p.annotations.every(m=>!(m instanceof n.HiddenAnnotation))).map(p=>`\n ${p.name}(ctx: PartialDeep<Context> | null, args: {${p.args.map(m=>`${m.name}${m.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(m.type,!1)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(p.returnType,!1)}> { return this.makeRequest(ctx, "${p.name}", args); }`).join("")}\n}\n\n`,o+=`const errClasses = {\n${d.errors.map(p=>` ${p.name}`).join(",\n")}\n};\n\n`,o+=`const astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,o}},615:(G,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateNodeServerSource=void 0;const n=a(6676),h=a(5596);r.generateNodeServerSource=function y(d){let o="";const c=d.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));o+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${d.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${c?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n\n`;for(const p of d.enumTypes)o+=(0,h.generateTypescriptEnum)(p),o+="\n";for(const p of d.structTypes)o+=(0,h.generateTypescriptInterface)(p,!1),o+="\n";for(const p of d.errors)"Fatal"!==p.name&&(o+=(0,h.generateTypescriptErrorClass)(p,!1),o+="\n");return o+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n fn!: {${d.operations.map(p=>`\n ${p.name}: (ctx: Context & ExtraContextT, args: {${p.args.map(m=>`${m.name}: ${(0,h.generateTypescriptTypeName)(m.type,!1)}`).join(", ")}}) => Promise<${(0,h.generateTypescriptTypeName)(p.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,o}},8926:G=>{function r(n,h,y,d,o,c,f){try{var p=n[c](f),m=p.value}catch(u){return void y(u)}p.done?h(m):Promise.resolve(m).then(d,o)}G.exports=function a(n){return function(){var h=this,y=arguments;return new Promise(function(d,o){var c=n.apply(h,y);function f(m){r(c,d,o,f,p,"next",m)}function p(m){r(c,d,o,f,p,"throw",m)}f(void 0)})}},G.exports.__esModule=!0,G.exports.default=G.exports},655:(G,r,a)=>{"use strict";a.r(r),a.d(r,{__assign:()=>y,__asyncDelegator:()=>J,__asyncGenerator:()=>V,__asyncValues:()=>Y,__await:()=>I,__awaiter:()=>p,__classPrivateFieldGet:()=>me,__classPrivateFieldSet:()=>De,__createBinding:()=>u,__decorate:()=>o,__exportStar:()=>_,__extends:()=>h,__generator:()=>m,__importDefault:()=>le,__importStar:()=>oe,__makeTemplateObject:()=>X,__metadata:()=>f,__param:()=>c,__read:()=>b,__rest:()=>d,__spread:()=>T,__spreadArray:()=>P,__spreadArrays:()=>S,__values:()=>v});var n=function(be,Z){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,z){de.__proto__=z}||function(de,z){for(var pe in z)Object.prototype.hasOwnProperty.call(z,pe)&&(de[pe]=z[pe])})(be,Z)};function h(be,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Class extends value "+String(Z)+" is not a constructor or null");function de(){this.constructor=be}n(be,Z),be.prototype=null===Z?Object.create(Z):(de.prototype=Z.prototype,new de)}var y=function(){return y=Object.assign||function(Z){for(var de,z=1,pe=arguments.length;z<pe;z++)for(var ce in de=arguments[z])Object.prototype.hasOwnProperty.call(de,ce)&&(Z[ce]=de[ce]);return Z},y.apply(this,arguments)};function d(be,Z){var de={};for(var z in be)Object.prototype.hasOwnProperty.call(be,z)&&Z.indexOf(z)<0&&(de[z]=be[z]);if(null!=be&&"function"==typeof Object.getOwnPropertySymbols){var pe=0;for(z=Object.getOwnPropertySymbols(be);pe<z.length;pe++)Z.indexOf(z[pe])<0&&Object.prototype.propertyIsEnumerable.call(be,z[pe])&&(de[z[pe]]=be[z[pe]])}return de}function o(be,Z,de,z){var Oe,pe=arguments.length,ce=pe<3?Z:null===z?z=Object.getOwnPropertyDescriptor(Z,de):z;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ce=Reflect.decorate(be,Z,de,z);else for(var it=be.length-1;it>=0;it--)(Oe=be[it])&&(ce=(pe<3?Oe(ce):pe>3?Oe(Z,de,ce):Oe(Z,de))||ce);return pe>3&&ce&&Object.defineProperty(Z,de,ce),ce}function c(be,Z){return function(de,z){Z(de,z,be)}}function f(be,Z){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(be,Z)}function p(be,Z,de,z){return new(de||(de=Promise))(function(ce,Oe){function it(pt){try{Ge(z.next(pt))}catch(qe){Oe(qe)}}function vt(pt){try{Ge(z.throw(pt))}catch(qe){Oe(qe)}}function Ge(pt){pt.done?ce(pt.value):function pe(ce){return ce instanceof de?ce:new de(function(Oe){Oe(ce)})}(pt.value).then(it,vt)}Ge((z=z.apply(be,Z||[])).next())})}function m(be,Z){var z,pe,ce,Oe,de={label:0,sent:function(){if(1&ce[0])throw ce[1];return ce[1]},trys:[],ops:[]};return Oe={next:it(0),throw:it(1),return:it(2)},"function"==typeof Symbol&&(Oe[Symbol.iterator]=function(){return this}),Oe;function it(Ge){return function(pt){return function vt(Ge){if(z)throw new TypeError("Generator is already executing.");for(;de;)try{if(z=1,pe&&(ce=2&Ge[0]?pe.return:Ge[0]?pe.throw||((ce=pe.return)&&ce.call(pe),0):pe.next)&&!(ce=ce.call(pe,Ge[1])).done)return ce;switch(pe=0,ce&&(Ge=[2&Ge[0],ce.value]),Ge[0]){case 0:case 1:ce=Ge;break;case 4:return de.label++,{value:Ge[1],done:!1};case 5:de.label++,pe=Ge[1],Ge=[0];continue;case 7:Ge=de.ops.pop(),de.trys.pop();continue;default:if(!(ce=(ce=de.trys).length>0&&ce[ce.length-1])&&(6===Ge[0]||2===Ge[0])){de=0;continue}if(3===Ge[0]&&(!ce||Ge[1]>ce[0]&&Ge[1]<ce[3])){de.label=Ge[1];break}if(6===Ge[0]&&de.label<ce[1]){de.label=ce[1],ce=Ge;break}if(ce&&de.label<ce[2]){de.label=ce[2],de.ops.push(Ge);break}ce[2]&&de.ops.pop(),de.trys.pop();continue}Ge=Z.call(be,de)}catch(pt){Ge=[6,pt],pe=0}finally{z=ce=0}if(5&Ge[0])throw Ge[1];return{value:Ge[0]?Ge[1]:void 0,done:!0}}([Ge,pt])}}}var u=Object.create?function(be,Z,de,z){void 0===z&&(z=de),Object.defineProperty(be,z,{enumerable:!0,get:function(){return Z[de]}})}:function(be,Z,de,z){void 0===z&&(z=de),be[z]=Z[de]};function _(be,Z){for(var de in be)"default"!==de&&!Object.prototype.hasOwnProperty.call(Z,de)&&u(Z,be,de)}function v(be){var Z="function"==typeof Symbol&&Symbol.iterator,de=Z&&be[Z],z=0;if(de)return de.call(be);if(be&&"number"==typeof be.length)return{next:function(){return be&&z>=be.length&&(be=void 0),{value:be&&be[z++],done:!be}}};throw new TypeError(Z?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(be,Z){var de="function"==typeof Symbol&&be[Symbol.iterator];if(!de)return be;var pe,Oe,z=de.call(be),ce=[];try{for(;(void 0===Z||Z-- >0)&&!(pe=z.next()).done;)ce.push(pe.value)}catch(it){Oe={error:it}}finally{try{pe&&!pe.done&&(de=z.return)&&de.call(z)}finally{if(Oe)throw Oe.error}}return ce}function T(){for(var be=[],Z=0;Z<arguments.length;Z++)be=be.concat(b(arguments[Z]));return be}function S(){for(var be=0,Z=0,de=arguments.length;Z<de;Z++)be+=arguments[Z].length;var z=Array(be),pe=0;for(Z=0;Z<de;Z++)for(var ce=arguments[Z],Oe=0,it=ce.length;Oe<it;Oe++,pe++)z[pe]=ce[Oe];return z}function P(be,Z,de){if(de||2===arguments.length)for(var ce,z=0,pe=Z.length;z<pe;z++)(ce||!(z in Z))&&(ce||(ce=Array.prototype.slice.call(Z,0,z)),ce[z]=Z[z]);return be.concat(ce||Array.prototype.slice.call(Z))}function I(be){return this instanceof I?(this.v=be,this):new I(be)}function V(be,Z,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,z=de.apply(be,Z||[]),ce=[];return pe={},Oe("next"),Oe("throw"),Oe("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function Oe(at){z[at]&&(pe[at]=function(Ve){return new Promise(function(tt,Le){ce.push([at,Ve,tt,Le])>1||it(at,Ve)})})}function it(at,Ve){try{!function vt(at){at.value instanceof I?Promise.resolve(at.value.v).then(Ge,pt):qe(ce[0][2],at)}(z[at](Ve))}catch(tt){qe(ce[0][3],tt)}}function Ge(at){it("next",at)}function pt(at){it("throw",at)}function qe(at,Ve){at(Ve),ce.shift(),ce.length&&it(ce[0][0],ce[0][1])}}function J(be){var Z,de;return Z={},z("next"),z("throw",function(pe){throw pe}),z("return"),Z[Symbol.iterator]=function(){return this},Z;function z(pe,ce){Z[pe]=be[pe]?function(Oe){return(de=!de)?{value:I(be[pe](Oe)),done:"return"===pe}:ce?ce(Oe):Oe}:ce}}function Y(be){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,Z=be[Symbol.asyncIterator];return Z?Z.call(be):(be=v(be),de={},z("next"),z("throw"),z("return"),de[Symbol.asyncIterator]=function(){return this},de);function z(ce){de[ce]=be[ce]&&function(Oe){return new Promise(function(it,vt){!function pe(ce,Oe,it,vt){Promise.resolve(vt).then(function(Ge){ce({value:Ge,done:it})},Oe)}(it,vt,(Oe=be[ce](Oe)).done,Oe.value)})}}}function X(be,Z){return Object.defineProperty?Object.defineProperty(be,"raw",{value:Z}):be.raw=Z,be}var H=Object.create?function(be,Z){Object.defineProperty(be,"default",{enumerable:!0,value:Z})}:function(be,Z){be.default=Z};function oe(be){if(be&&be.__esModule)return be;var Z={};if(null!=be)for(var de in be)"default"!==de&&Object.prototype.hasOwnProperty.call(be,de)&&u(Z,be,de);return H(Z,be),Z}function le(be){return be&&be.__esModule?be:{default:be}}function me(be,Z,de,z){if("a"===de&&!z)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof Z?be!==Z||!z:!Z.has(be))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===de?z:"a"===de?z.call(be):z?z.value:Z.get(be)}function De(be,Z,de,z,pe){if("m"===z)throw new TypeError("Private method is not writable");if("a"===z&&!pe)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof Z?be!==Z||!pe:!Z.has(be))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===z?pe.call(be,de):pe?pe.value=de:Z.set(be,de),de}},1777:(G,r,a)=>{"use strict";a.d(r,{F4:()=>u,IO:()=>S,LC:()=>h,SB:()=>m,X$:()=>d,ZE:()=>J,ZN:()=>V,_j:()=>n,eR:()=>_,jt:()=>o,k1:()=>Y,l3:()=>y,oB:()=>p,pV:()=>b,ru:()=>c,vP:()=>f});class n{}class h{}const y="*";function d(X,H){return{type:7,name:X,definitions:H,options:{}}}function o(X,H=null){return{type:4,styles:H,timings:X}}function c(X,H=null){return{type:3,steps:X,options:H}}function f(X,H=null){return{type:2,steps:X,options:H}}function p(X){return{type:6,styles:X,offset:null}}function m(X,H,oe){return{type:0,name:X,styles:H,options:oe}}function u(X){return{type:5,steps:X}}function _(X,H,oe=null){return{type:1,expr:X,animation:H,options:oe}}function b(X=null){return{type:9,options:X}}function S(X,H,oe=null){return{type:11,selector:X,animation:H,options:oe}}function I(X){Promise.resolve(null).then(X)}class V{constructor(H=0,oe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=H+oe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._onStartFns.push(H)}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){I(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const oe="start"==H?this._onStartFns:this._onDoneFns;oe.forEach(le=>le()),oe.length=0}}class J{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let oe=0,le=0,me=0;const De=this.players.length;0==De?I(()=>this._onFinish()):this.players.forEach(be=>{be.onDone(()=>{++oe==De&&this._onFinish()}),be.onDestroy(()=>{++le==De&&this._onDestroy()}),be.onStart(()=>{++me==De&&this._onStart()})}),this.totalTime=this.players.reduce((be,Z)=>Math.max(be,Z.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const oe=H*this.totalTime;this.players.forEach(le=>{const me=le.totalTime?Math.min(1,oe/le.totalTime):1;le.setPosition(me)})}getPosition(){const H=this.players.reduce((oe,le)=>null===oe||le.totalTime>oe.totalTime?le:oe,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const oe="start"==H?this._onStartFns:this._onDoneFns;oe.forEach(le=>le()),oe.length=0}}const Y="!"},5664:(G,r,a)=>{"use strict";a.d(r,{$s:()=>be,Em:()=>ce,X6:()=>Fe,ic:()=>it,kH:()=>lt,qV:()=>ne,qm:()=>Mt,rt:()=>Ht,tE:()=>We,yG:()=>Je});var n=a(9808),h=a(5e3),y=a(925),d=a(7579),o=a(727),c=a(1135),f=a(9646),p=a(1159),m=a(8505),u=a(8372),_=a(9300),v=a(4004),b=a(5698),T=a(5684),S=a(1884),P=a(2722),I=a(3191),V=a(7144);function H(ue,q){return(ue.getAttribute(q)||"").match(/\S+/g)||[]}const le="cdk-describedby-message",me="cdk-describedby-host";let De=0,be=(()=>{class ue{constructor(k,W){this._platform=W,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+De++,this._document=k}describe(k,W,Q){if(!this._canBeDescribed(k,W))return;const U=Z(W,Q);"string"!=typeof W?(de(W),this._messageRegistry.set(U,{messageElement:W,referenceCount:0})):this._messageRegistry.has(U)||this._createMessageElement(W,Q),this._isElementDescribedByMessage(k,U)||this._addMessageReference(k,U)}removeDescription(k,W,Q){var U;if(!W||!this._isElementNode(k))return;const N=Z(W,Q);if(this._isElementDescribedByMessage(k,N)&&this._removeMessageReference(k,N),"string"==typeof W){const fe=this._messageRegistry.get(N);fe&&0===fe.referenceCount&&this._deleteMessageElement(N)}0===(null===(U=this._messagesContainer)||void 0===U?void 0:U.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var k;const W=this._document.querySelectorAll(`[${me}="${this._id}"]`);for(let Q=0;Q<W.length;Q++)this._removeCdkDescribedByReferenceIds(W[Q]),W[Q].removeAttribute(me);null===(k=this._messagesContainer)||void 0===k||k.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(k,W){const Q=this._document.createElement("div");de(Q),Q.textContent=k,W&&Q.setAttribute("role",W),this._createMessagesContainer(),this._messagesContainer.appendChild(Q),this._messageRegistry.set(Z(k,W),{messageElement:Q,referenceCount:0})}_deleteMessageElement(k){var W,Q;null===(Q=null===(W=this._messageRegistry.get(k))||void 0===W?void 0:W.messageElement)||void 0===Q||Q.remove(),this._messageRegistry.delete(k)}_createMessagesContainer(){if(this._messagesContainer)return;const k="cdk-describedby-message-container",W=this._document.querySelectorAll(`.${k}[platform="server"]`);for(let U=0;U<W.length;U++)W[U].remove();const Q=this._document.createElement("div");Q.style.visibility="hidden",Q.classList.add(k),Q.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Q.setAttribute("platform","server"),this._document.body.appendChild(Q),this._messagesContainer=Q}_removeCdkDescribedByReferenceIds(k){const W=H(k,"aria-describedby").filter(Q=>0!=Q.indexOf(le));k.setAttribute("aria-describedby",W.join(" "))}_addMessageReference(k,W){const Q=this._messageRegistry.get(W);(function Y(ue,q,k){const W=H(ue,q);W.some(Q=>Q.trim()==k.trim())||(W.push(k.trim()),ue.setAttribute(q,W.join(" ")))})(k,"aria-describedby",Q.messageElement.id),k.setAttribute(me,this._id),Q.referenceCount++}_removeMessageReference(k,W){const Q=this._messageRegistry.get(W);Q.referenceCount--,function X(ue,q,k){const Q=H(ue,q).filter(U=>U!=k.trim());Q.length?ue.setAttribute(q,Q.join(" ")):ue.removeAttribute(q)}(k,"aria-describedby",Q.messageElement.id),k.removeAttribute(me)}_isElementDescribedByMessage(k,W){const Q=H(k,"aria-describedby"),U=this._messageRegistry.get(W),N=U&&U.messageElement.id;return!!N&&-1!=Q.indexOf(N)}_canBeDescribed(k,W){if(!this._isElementNode(k))return!1;if(W&&"object"==typeof W)return!0;const Q=null==W?"":`${W}`.trim(),U=k.getAttribute("aria-label");return!(!Q||U&&U.trim()===Q)}_isElementNode(k){return k.nodeType===this._document.ELEMENT_NODE}}return ue.\u0275fac=function(k){return new(k||ue)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(y.t4))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();function Z(ue,q){return"string"==typeof ue?`${q||""}/${ue}`:ue}function de(ue){ue.id||(ue.id=`${le}-${De++}`)}class ce extends class z{constructor(q){this._items=q,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new d.x,this._typeaheadSubscription=o.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=k=>k.disabled,this._pressedLetters=[],this.tabOut=new d.x,this.change=new d.x,q instanceof h.QueryList&&q.changes.subscribe(k=>{if(this._activeItem){const Q=k.toArray().indexOf(this._activeItem);Q>-1&&Q!==this._activeItemIndex&&(this._activeItemIndex=Q)}})}skipPredicate(q){return this._skipPredicateFn=q,this}withWrap(q=!0){return this._wrap=q,this}withVerticalOrientation(q=!0){return this._vertical=q,this}withHorizontalOrientation(q){return this._horizontal=q,this}withAllowedModifierKeys(q){return this._allowedModifierKeys=q,this}withTypeAhead(q=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,m.b)(k=>this._pressedLetters.push(k)),(0,u.b)(q),(0,_.h)(()=>this._pressedLetters.length>0),(0,v.U)(()=>this._pressedLetters.join(""))).subscribe(k=>{const W=this._getItemsArray();for(let Q=1;Q<W.length+1;Q++){const U=(this._activeItemIndex+Q)%W.length,N=W[U];if(!this._skipPredicateFn(N)&&0===N.getLabel().toUpperCase().trim().indexOf(k)){this.setActiveItem(U);break}}this._pressedLetters=[]}),this}withHomeAndEnd(q=!0){return this._homeAndEnd=q,this}setActiveItem(q){const k=this._activeItem;this.updateActiveItem(q),this._activeItem!==k&&this.change.next(this._activeItemIndex)}onKeydown(q){const k=q.keyCode,Q=["altKey","ctrlKey","metaKey","shiftKey"].every(U=>!q[U]||this._allowedModifierKeys.indexOf(U)>-1);switch(k){case p.Mf:return void this.tabOut.next();case p.JH:if(this._vertical&&Q){this.setNextItemActive();break}return;case p.LH:if(this._vertical&&Q){this.setPreviousItemActive();break}return;case p.SV:if(this._horizontal&&Q){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case p.oh:if(this._horizontal&&Q){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case p.Sd:if(this._homeAndEnd&&Q){this.setFirstItemActive();break}return;case p.uR:if(this._homeAndEnd&&Q){this.setLastItemActive();break}return;default:return void((Q||(0,p.Vb)(q,"shiftKey"))&&(q.key&&1===q.key.length?this._letterKeyStream.next(q.key.toLocaleUpperCase()):(k>=p.A&&k<=p.Z||k>=p.xE&&k<=p.aO)&&this._letterKeyStream.next(String.fromCharCode(k))))}this._pressedLetters=[],q.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(q){const k=this._getItemsArray(),W="number"==typeof q?q:k.indexOf(q),Q=k[W];this._activeItem=null==Q?null:Q,this._activeItemIndex=W}_setActiveItemByDelta(q){this._wrap?this._setActiveInWrapMode(q):this._setActiveInDefaultMode(q)}_setActiveInWrapMode(q){const k=this._getItemsArray();for(let W=1;W<=k.length;W++){const Q=(this._activeItemIndex+q*W+k.length)%k.length;if(!this._skipPredicateFn(k[Q]))return void this.setActiveItem(Q)}}_setActiveInDefaultMode(q){this._setActiveItemByIndex(this._activeItemIndex+q,q)}_setActiveItemByIndex(q,k){const W=this._getItemsArray();if(W[q]){for(;this._skipPredicateFn(W[q]);)if(!W[q+=k])return;this.setActiveItem(q)}}_getItemsArray(){return this._items instanceof h.QueryList?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(q){return this._origin=q,this}setActiveItem(q){super.setActiveItem(q),this.activeItem&&this.activeItem.focus(this._origin)}}let it=(()=>{class ue{constructor(k){this._platform=k}isDisabled(k){return k.hasAttribute("disabled")}isVisible(k){return function Ge(ue){return!!(ue.offsetWidth||ue.offsetHeight||"function"==typeof ue.getClientRects&&ue.getClientRects().length)}(k)&&"visible"===getComputedStyle(k).visibility}isTabbable(k){if(!this._platform.isBrowser)return!1;const W=function vt(ue){try{return ue.frameElement}catch(q){return null}}(function Se(ue){return ue.ownerDocument&&ue.ownerDocument.defaultView||window}(k));if(W&&(-1===Ke(W)||!this.isVisible(W)))return!1;let Q=k.nodeName.toLowerCase(),U=Ke(k);return k.hasAttribute("contenteditable")?-1!==U:!("iframe"===Q||"object"===Q||this._platform.WEBKIT&&this._platform.IOS&&!function ft(ue){let q=ue.nodeName.toLowerCase(),k="input"===q&&ue.type;return"text"===k||"password"===k||"select"===q||"textarea"===q}(k))&&("audio"===Q?!!k.hasAttribute("controls")&&-1!==U:"video"===Q?-1!==U&&(null!==U||this._platform.FIREFOX||k.hasAttribute("controls")):k.tabIndex>=0)}isFocusable(k,W){return function ye(ue){return!function qe(ue){return function Ve(ue){return"input"==ue.nodeName.toLowerCase()}(ue)&&"hidden"==ue.type}(ue)&&(function pt(ue){let q=ue.nodeName.toLowerCase();return"input"===q||"select"===q||"button"===q||"textarea"===q}(ue)||function at(ue){return function tt(ue){return"a"==ue.nodeName.toLowerCase()}(ue)&&ue.hasAttribute("href")}(ue)||ue.hasAttribute("contenteditable")||Le(ue))}(k)&&!this.isDisabled(k)&&((null==W?void 0:W.ignoreVisibility)||this.isVisible(k))}}return ue.\u0275fac=function(k){return new(k||ue)(h.\u0275\u0275inject(y.t4))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();function Le(ue){if(!ue.hasAttribute("tabindex")||void 0===ue.tabIndex)return!1;let q=ue.getAttribute("tabindex");return!(!q||isNaN(parseInt(q,10)))}function Ke(ue){if(!Le(ue))return null;const q=parseInt(ue.getAttribute("tabindex")||"",10);return isNaN(q)?-1:q}class j{constructor(q,k,W,Q,U=!1){this._element=q,this._checker=k,this._ngZone=W,this._document=Q,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,U||this.attachAnchors()}get enabled(){return this._enabled}set enabled(q){this._enabled=q,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}destroy(){const q=this._startAnchor,k=this._endAnchor;q&&(q.removeEventListener("focus",this.startAnchorListener),q.remove()),k&&(k.removeEventListener("focus",this.endAnchorListener),k.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(q){return new Promise(k=>{this._executeOnStable(()=>k(this.focusInitialElement(q)))})}focusFirstTabbableElementWhenReady(q){return new Promise(k=>{this._executeOnStable(()=>k(this.focusFirstTabbableElement(q)))})}focusLastTabbableElementWhenReady(q){return new Promise(k=>{this._executeOnStable(()=>k(this.focusLastTabbableElement(q)))})}_getRegionBoundary(q){const k=this._element.querySelectorAll(`[cdk-focus-region-${q}], [cdkFocusRegion${q}], [cdk-focus-${q}]`);return"start"==q?k.length?k[0]:this._getFirstTabbableElement(this._element):k.length?k[k.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(q){const k=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(k){if(!this._checker.isFocusable(k)){const W=this._getFirstTabbableElement(k);return null==W||W.focus(q),!!W}return k.focus(q),!0}return this.focusFirstTabbableElement(q)}focusFirstTabbableElement(q){const k=this._getRegionBoundary("start");return k&&k.focus(q),!!k}focusLastTabbableElement(q){const k=this._getRegionBoundary("end");return k&&k.focus(q),!!k}hasAttached(){return this._hasAttached}_getFirstTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const k=q.children;for(let W=0;W<k.length;W++){const Q=k[W].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(k[W]):null;if(Q)return Q}return null}_getLastTabbableElement(q){if(this._checker.isFocusable(q)&&this._checker.isTabbable(q))return q;const k=q.children;for(let W=k.length-1;W>=0;W--){const Q=k[W].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(k[W]):null;if(Q)return Q}return null}_createAnchor(){const q=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,q),q.classList.add("cdk-visually-hidden"),q.classList.add("cdk-focus-trap-anchor"),q.setAttribute("aria-hidden","true"),q}_toggleAnchorTabIndex(q,k){q?k.setAttribute("tabindex","0"):k.removeAttribute("tabindex")}toggleAnchors(q){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(q,this._startAnchor),this._toggleAnchorTabIndex(q,this._endAnchor))}_executeOnStable(q){this._ngZone.isStable?q():this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(q)}}let ne=(()=>{class ue{constructor(k,W,Q){this._checker=k,this._ngZone=W,this._document=Q}create(k,W=!1){return new j(k,this._checker,this._ngZone,this._document,W)}}return ue.\u0275fac=function(k){return new(k||ue)(h.\u0275\u0275inject(it),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();function Fe(ue){return 0===ue.buttons||0===ue.offsetX&&0===ue.offsetY}function Je(ue){const q=ue.touches&&ue.touches[0]||ue.changedTouches&&ue.changedTouches[0];return!(!q||-1!==q.identifier||null!=q.radiusX&&1!==q.radiusX||null!=q.radiusY&&1!==q.radiusY)}const ot=new h.InjectionToken("cdk-input-modality-detector-options"),Dt={ignoreKeys:[p.zL,p.jx,p.b2,p.MW,p.JU]},At=(0,y.i$)({passive:!0,capture:!0});let Ue=(()=>{class ue{constructor(k,W,Q,U){this._platform=k,this._mostRecentTarget=null,this._modality=new c.X(null),this._lastTouchMs=0,this._onKeydown=N=>{var fe,je;(null===(je=null===(fe=this._options)||void 0===fe?void 0:fe.ignoreKeys)||void 0===je?void 0:je.some(dt=>dt===N.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(N))},this._onMousedown=N=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Fe(N)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(N))},this._onTouchstart=N=>{Je(N)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(N))},this._options=Object.assign(Object.assign({},Dt),U),this.modalityDetected=this._modality.pipe((0,T.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,S.x)()),k.isBrowser&&W.runOutsideAngular(()=>{Q.addEventListener("keydown",this._onKeydown,At),Q.addEventListener("mousedown",this._onMousedown,At),Q.addEventListener("touchstart",this._onTouchstart,At)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,At),document.removeEventListener("mousedown",this._onMousedown,At),document.removeEventListener("touchstart",this._onTouchstart,At))}}return ue.\u0275fac=function(k){return new(k||ue)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(ot,8))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();const wt=new h.InjectionToken("cdk-focus-monitor-default-options"),Ie=(0,y.i$)({passive:!0,capture:!0});let We=(()=>{class ue{constructor(k,W,Q,U,N){this._ngZone=k,this._platform=W,this._inputModalityDetector=Q,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 d.x,this._rootNodeFocusAndBlurListener=fe=>{const je=(0,y.sA)(fe),dt="focus"===fe.type?this._onFocus:this._onBlur;for(let Ft=je;Ft;Ft=Ft.parentElement)dt.call(this,fe,Ft)},this._document=U,this._detectionMode=(null==N?void 0:N.detectionMode)||0}monitor(k,W=!1){const Q=(0,I.fI)(k);if(!this._platform.isBrowser||1!==Q.nodeType)return(0,f.of)(null);const U=(0,y.kV)(Q)||this._getDocument(),N=this._elementInfo.get(Q);if(N)return W&&(N.checkChildren=!0),N.subject;const fe={checkChildren:W,subject:new d.x,rootNode:U};return this._elementInfo.set(Q,fe),this._registerGlobalListeners(fe),fe.subject}stopMonitoring(k){const W=(0,I.fI)(k),Q=this._elementInfo.get(W);Q&&(Q.subject.complete(),this._setClasses(W),this._elementInfo.delete(W),this._removeGlobalListeners(Q))}focusVia(k,W,Q){const U=(0,I.fI)(k);U===this._getDocument().activeElement?this._getClosestElementsInfo(U).forEach(([fe,je])=>this._originChanged(fe,W,je)):(this._setOrigin(W),"function"==typeof U.focus&&U.focus(Q))}ngOnDestroy(){this._elementInfo.forEach((k,W)=>this.stopMonitoring(W))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(k){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(k)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(k){return 1===this._detectionMode||!!(null==k?void 0:k.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(k,W){k.classList.toggle("cdk-focused",!!W),k.classList.toggle("cdk-touch-focused","touch"===W),k.classList.toggle("cdk-keyboard-focused","keyboard"===W),k.classList.toggle("cdk-mouse-focused","mouse"===W),k.classList.toggle("cdk-program-focused","program"===W)}_setOrigin(k,W=!1){this._ngZone.runOutsideAngular(()=>{this._origin=k,this._originFromTouchInteraction="touch"===k&&W,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(k,W){const Q=this._elementInfo.get(W),U=(0,y.sA)(k);!Q||!Q.checkChildren&&W!==U||this._originChanged(W,this._getFocusOrigin(U),Q)}_onBlur(k,W){const Q=this._elementInfo.get(W);!Q||Q.checkChildren&&k.relatedTarget instanceof Node&&W.contains(k.relatedTarget)||(this._setClasses(W),this._emitOrigin(Q.subject,null))}_emitOrigin(k,W){this._ngZone.run(()=>k.next(W))}_registerGlobalListeners(k){if(!this._platform.isBrowser)return;const W=k.rootNode,Q=this._rootNodeFocusListenerCount.get(W)||0;Q||this._ngZone.runOutsideAngular(()=>{W.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ie),W.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ie)}),this._rootNodeFocusListenerCount.set(W,Q+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,P.R)(this._stopInputModalityDetector)).subscribe(U=>{this._setOrigin(U,!0)}))}_removeGlobalListeners(k){const W=k.rootNode;if(this._rootNodeFocusListenerCount.has(W)){const Q=this._rootNodeFocusListenerCount.get(W);Q>1?this._rootNodeFocusListenerCount.set(W,Q-1):(W.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ie),W.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ie),this._rootNodeFocusListenerCount.delete(W))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(k,W,Q){this._setClasses(k,W),this._emitOrigin(Q.subject,W),this._lastFocusOrigin=W}_getClosestElementsInfo(k){const W=[];return this._elementInfo.forEach((Q,U)=>{(U===k||Q.checkChildren&&U.contains(k))&&W.push([U,Q])}),W}}return ue.\u0275fac=function(k){return new(k||ue)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(Ue),h.\u0275\u0275inject(n.DOCUMENT,8),h.\u0275\u0275inject(wt,8))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),lt=(()=>{class ue{constructor(k,W){this._elementRef=k,this._focusMonitor=W,this.cdkFocusChange=new h.EventEmitter}ngAfterViewInit(){const k=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(k,1===k.nodeType&&k.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(W=>this.cdkFocusChange.emit(W))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ue.\u0275fac=function(k){return new(k||ue)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(We))},ue.\u0275dir=h.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),ue})();const Tt="cdk-high-contrast-black-on-white",Ct="cdk-high-contrast-white-on-black",$t="cdk-high-contrast-active";let Mt=(()=>{class ue{constructor(k,W){this._platform=k,this._document=W}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const k=this._document.createElement("div");k.style.backgroundColor="rgb(1,2,3)",k.style.position="absolute",this._document.body.appendChild(k);const W=this._document.defaultView||window,Q=W&&W.getComputedStyle?W.getComputedStyle(k):null,U=(Q&&Q.backgroundColor||"").replace(/ /g,"");switch(k.remove(),U){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const k=this._document.body.classList;k.remove($t),k.remove(Tt),k.remove(Ct),this._hasCheckedHighContrastMode=!0;const W=this.getHighContrastMode();1===W?(k.add($t),k.add(Tt)):2===W&&(k.add($t),k.add(Ct))}}}return ue.\u0275fac=function(k){return new(k||ue)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(n.DOCUMENT))},ue.\u0275prov=h.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),Ht=(()=>{class ue{constructor(k){k._applyBodyHighContrastModeCssClasses()}}return ue.\u0275fac=function(k){return new(k||ue)(h.\u0275\u0275inject(Mt))},ue.\u0275mod=h.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=h.\u0275\u0275defineInjector({imports:[[V.Q8]]}),ue})()},226:(G,r,a)=>{"use strict";a.d(r,{Is:()=>f,vT:()=>m});var n=a(5e3),h=a(9808);const y=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function d(){return(0,n.inject)(h.DOCUMENT)}}),o=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let f=(()=>{class u{constructor(v){if(this.value="ltr",this.change=new n.EventEmitter,v){const T=v.documentElement?v.documentElement.dir:null;this.value=function c(u){const _=(null==u?void 0:u.toLowerCase())||"";return"auto"===_&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?o.test(navigator.language)?"rtl":"ltr":"rtl"===_?"rtl":"ltr"}((v.body?v.body.dir:null)||T||"ltr")}}ngOnDestroy(){this.change.complete()}}return u.\u0275fac=function(v){return new(v||u)(n.\u0275\u0275inject(y,8))},u.\u0275prov=n.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),m=(()=>{class u{}return u.\u0275fac=function(v){return new(v||u)},u.\u0275mod=n.\u0275\u0275defineNgModule({type:u}),u.\u0275inj=n.\u0275\u0275defineInjector({}),u})()},3191:(G,r,a)=>{"use strict";a.d(r,{Eq:()=>o,HM:()=>c,Ig:()=>h,fI:()=>f,su:()=>y,t6:()=>d});var n=a(5e3);function h(m){return null!=m&&"false"!=`${m}`}function y(m,u=0){return d(m)?Number(m):u}function d(m){return!isNaN(parseFloat(m))&&!isNaN(Number(m))}function o(m){return Array.isArray(m)?m:[m]}function c(m){return null==m?"":"string"==typeof m?m:`${m}px`}function f(m){return m instanceof n.ElementRef?m.nativeElement:m}},449:(G,r,a)=>{"use strict";a.d(r,{Ov:()=>p,Z9:()=>d,eX:()=>f,k:()=>_,o2:()=>y,yy:()=>c});var n=a(7579),h=a(5e3);class y{}function d(v){return v&&"function"==typeof v.connect}class c{applyChanges(b,T,S,P,I){b.forEachOperation((V,J,Y)=>{let X,H;if(null==V.previousIndex){const oe=S(V,J,Y);X=T.createEmbeddedView(oe.templateRef,oe.context,oe.index),H=1}else null==Y?(T.remove(J),H=3):(X=T.get(J),T.move(X,Y),H=2);I&&I({context:null==X?void 0:X.context,operation:H,record:V})})}detach(){}}class f{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(b,T,S,P,I){b.forEachOperation((V,J,Y)=>{let X,H;null==V.previousIndex?(X=this._insertView(()=>S(V,J,Y),Y,T,P(V)),H=X?1:0):null==Y?(this._detachAndCacheView(J,T),H=3):(X=this._moveView(J,Y,T,P(V)),H=2),I&&I({context:null==X?void 0:X.context,operation:H,record:V})})}detach(){for(const b of this._viewCache)b.destroy();this._viewCache=[]}_insertView(b,T,S,P){const I=this._insertViewFromCache(T,S);if(I)return void(I.context.$implicit=P);const V=b();return S.createEmbeddedView(V.templateRef,V.context,V.index)}_detachAndCacheView(b,T){const S=T.detach(b);this._maybeCacheView(S,T)}_moveView(b,T,S,P){const I=S.get(b);return S.move(I,T),I.context.$implicit=P,I}_maybeCacheView(b,T){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(b);else{const S=T.indexOf(b);-1===S?b.destroy():T.remove(S)}}_insertViewFromCache(b,T){const S=this._viewCache.pop();return S&&T.insert(S,b),S||null}}class p{constructor(b=!1,T,S=!0){this._multiple=b,this._emitChanges=S,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,T&&T.length&&(b?T.forEach(P=>this._markSelected(P)):this._markSelected(T[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...b){this._verifyValueAssignment(b),b.forEach(T=>this._markSelected(T)),this._emitChangeEvent()}deselect(...b){this._verifyValueAssignment(b),b.forEach(T=>this._unmarkSelected(T)),this._emitChangeEvent()}toggle(b){this.isSelected(b)?this.deselect(b):this.select(b)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(b){return this._selection.has(b)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(b){this._multiple&&this.selected&&this._selected.sort(b)}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(b){this.isSelected(b)||(this._multiple||this._unmarkAll(),this._selection.add(b),this._emitChanges&&this._selectedToEmit.push(b))}_unmarkSelected(b){this.isSelected(b)&&(this._selection.delete(b),this._emitChanges&&this._deselectedToEmit.push(b))}_unmarkAll(){this.isEmpty()||this._selection.forEach(b=>this._unmarkSelected(b))}_verifyValueAssignment(b){}}const _=new h.InjectionToken("_ViewRepeater")},1159:(G,r,a)=>{"use strict";a.d(r,{A:()=>at,JH:()=>Y,JU:()=>c,K5:()=>o,LH:()=>V,L_:()=>v,MW:()=>Xe,Mf:()=>y,SV:()=>J,Sd:()=>P,Vb:()=>mn,Z:()=>Ye,ZH:()=>h,aO:()=>it,b2:()=>Ln,hY:()=>_,jx:()=>f,oh:()=>I,uR:()=>S,xE:()=>me,yY:()=>le,zL:()=>p});const h=8,y=9,o=13,c=16,f=17,p=18,_=27,v=32,S=35,P=36,I=37,V=38,J=39,Y=40,le=46,me=48,it=57,at=65,Ye=90,Xe=91,Ln=224;function mn(nn,...hi){return hi.length?hi.some(Di=>nn[Di]):nn.altKey||nn.shiftKey||nn.ctrlKey||nn.metaKey}},5113:(G,r,a)=>{"use strict";a.r(r),a.d(r,{BreakpointObserver:()=>Y,Breakpoints:()=>H,LayoutModule:()=>T,MediaMatcher:()=>I});var n=a(5e3),h=a(3191),y=a(7579),d=a(9841),o=a(7272),c=a(8306),f=a(5698),p=a(5684),m=a(8372),u=a(4004),_=a(8675),v=a(2722),b=a(925);let T=(()=>{class oe{}return oe.\u0275fac=function(me){return new(me||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})();const S=new Set;let P,I=(()=>{class oe{constructor(me){this._platform=me,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):J}matchMedia(me){return(this._platform.WEBKIT||this._platform.BLINK)&&function V(oe){if(!S.has(oe))try{P||(P=document.createElement("style"),P.setAttribute("type","text/css"),document.head.appendChild(P)),P.sheet&&(P.sheet.insertRule(`@media ${oe} {body{ }}`,0),S.add(oe))}catch(le){console.error(le)}}(me),this._matchMedia(me)}}return oe.\u0275fac=function(me){return new(me||oe)(n.\u0275\u0275inject(b.t4))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();function J(oe){return{matches:"all"===oe||""===oe,media:oe,addListener:()=>{},removeListener:()=>{}}}let Y=(()=>{class oe{constructor(me,De){this._mediaMatcher=me,this._zone=De,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(me){return X((0,h.Eq)(me)).some(be=>this._registerQuery(be).mql.matches)}observe(me){const be=X((0,h.Eq)(me)).map(de=>this._registerQuery(de).observable);let Z=(0,d.a)(be);return Z=(0,o.z)(Z.pipe((0,f.q)(1)),Z.pipe((0,p.T)(1),(0,m.b)(0))),Z.pipe((0,u.U)(de=>{const z={matches:!1,breakpoints:{}};return de.forEach(({matches:pe,query:ce})=>{z.matches=z.matches||pe,z.breakpoints[ce]=pe}),z}))}_registerQuery(me){if(this._queries.has(me))return this._queries.get(me);const De=this._mediaMatcher.matchMedia(me),Z={observable:new c.y(de=>{const z=pe=>this._zone.run(()=>de.next(pe));return De.addListener(z),()=>{De.removeListener(z)}}).pipe((0,_.O)(De),(0,u.U)(({matches:de})=>({query:me,matches:de})),(0,v.R)(this._destroySubject)),mql:De};return this._queries.set(me,Z),Z}}return oe.\u0275fac=function(me){return new(me||oe)(n.\u0275\u0275inject(I),n.\u0275\u0275inject(n.NgZone))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();function X(oe){return oe.map(le=>le.split(",")).reduce((le,me)=>le.concat(me)).map(le=>le.trim())}const H={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)"}},7144:(G,r,a)=>{"use strict";a.d(r,{Q8:()=>m,wD:()=>p});var n=a(3191),h=a(5e3),y=a(8306),d=a(7579),o=a(8372);let c=(()=>{class u{create(v){return"undefined"==typeof MutationObserver?null:new MutationObserver(v)}}return u.\u0275fac=function(v){return new(v||u)},u.\u0275prov=h.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),f=(()=>{class u{constructor(v){this._mutationObserverFactory=v,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((v,b)=>this._cleanupObserver(b))}observe(v){const b=(0,n.fI)(v);return new y.y(T=>{const P=this._observeElement(b).subscribe(T);return()=>{P.unsubscribe(),this._unobserveElement(b)}})}_observeElement(v){if(this._observedElements.has(v))this._observedElements.get(v).count++;else{const b=new d.x,T=this._mutationObserverFactory.create(S=>b.next(S));T&&T.observe(v,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(v,{observer:T,stream:b,count:1})}return this._observedElements.get(v).stream}_unobserveElement(v){this._observedElements.has(v)&&(this._observedElements.get(v).count--,this._observedElements.get(v).count||this._cleanupObserver(v))}_cleanupObserver(v){if(this._observedElements.has(v)){const{observer:b,stream:T}=this._observedElements.get(v);b&&b.disconnect(),T.complete(),this._observedElements.delete(v)}}}return u.\u0275fac=function(v){return new(v||u)(h.\u0275\u0275inject(c))},u.\u0275prov=h.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),p=(()=>{class u{constructor(v,b,T){this._contentObserver=v,this._elementRef=b,this._ngZone=T,this.event=new h.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(v){this._disabled=(0,n.Ig)(v),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(v){this._debounce=(0,n.su)(v),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const v=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?v.pipe((0,o.b)(this.debounce)):v).subscribe(this.event)})}_unsubscribe(){var v;null===(v=this._currentSubscription)||void 0===v||v.unsubscribe()}}return u.\u0275fac=function(v){return new(v||u)(h.\u0275\u0275directiveInject(f),h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone))},u.\u0275dir=h.\u0275\u0275defineDirective({type:u,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),u})(),m=(()=>{class u{}return u.\u0275fac=function(v){return new(v||u)},u.\u0275mod=h.\u0275\u0275defineNgModule({type:u}),u.\u0275inj=h.\u0275\u0275defineInjector({providers:[c]}),u})()},1314:(G,r,a)=>{"use strict";a.d(r,{U8:()=>ze,X_:()=>H,Xj:()=>de,aV:()=>Ke});var n=a(495),h=a(9808),y=a(5e3),d=a(3191),o=a(925),c=a(226),f=a(7429),p=a(7579),m=a(727),u=a(6451),_=a(5698),v=a(2722);const b=(0,o.Mq)();class T{constructor(L,ve){this._viewportRuler=L,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ve}attach(){}enable(){if(this._canBeEnabled()){const L=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=L.style.left||"",this._previousHTMLStyles.top=L.style.top||"",L.style.left=(0,d.HM)(-this._previousScrollPosition.left),L.style.top=(0,d.HM)(-this._previousScrollPosition.top),L.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const L=this._document.documentElement,Fe=L.style,Je=this._document.body.style,ot=Fe.scrollBehavior||"",Dt=Je.scrollBehavior||"";this._isEnabled=!1,Fe.left=this._previousHTMLStyles.left,Fe.top=this._previousHTMLStyles.top,L.classList.remove("cdk-global-scrollblock"),b&&(Fe.scrollBehavior=Je.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(Fe.scrollBehavior=ot,Je.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ve=this._document.body,Fe=this._viewportRuler.getViewportSize();return ve.scrollHeight>Fe.height||ve.scrollWidth>Fe.width}}class P{constructor(L,ve,Fe,Je){this._scrollDispatcher=L,this._ngZone=ve,this._viewportRuler=Fe,this._config=Je,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(L){this._overlayRef=L}enable(){if(this._scrollSubscription)return;const L=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=L.subscribe(()=>{const ve=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ve-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=L.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class I{enable(){}disable(){}attach(){}}function V(xe,L){return L.some(ve=>xe.bottom<ve.top||xe.top>ve.bottom||xe.right<ve.left||xe.left>ve.right)}function J(xe,L){return L.some(ve=>xe.top<ve.top||xe.bottom>ve.bottom||xe.left<ve.left||xe.right>ve.right)}class Y{constructor(L,ve,Fe,Je){this._scrollDispatcher=L,this._viewportRuler=ve,this._ngZone=Fe,this._config=Je,this._scrollSubscription=null}attach(L){this._overlayRef=L}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ve=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Fe,height:Je}=this._viewportRuler.getViewportSize();V(ve,[{width:Fe,height:Je,bottom:Je,right:Fe,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let X=(()=>{class xe{constructor(ve,Fe,Je,ot){this._scrollDispatcher=ve,this._viewportRuler=Fe,this._ngZone=Je,this.noop=()=>new I,this.close=Dt=>new P(this._scrollDispatcher,this._ngZone,this._viewportRuler,Dt),this.block=()=>new T(this._viewportRuler,this._document),this.reposition=Dt=>new Y(this._scrollDispatcher,this._viewportRuler,this._ngZone,Dt),this._document=ot}}return xe.\u0275fac=function(ve){return new(ve||xe)(y.\u0275\u0275inject(n.mF),y.\u0275\u0275inject(n.rL),y.\u0275\u0275inject(y.NgZone),y.\u0275\u0275inject(h.DOCUMENT))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();class H{constructor(L){if(this.scrollStrategy=new I,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,L){const ve=Object.keys(L);for(const Fe of ve)void 0!==L[Fe]&&(this[Fe]=L[Fe])}}}class me{constructor(L,ve){this.connectionPair=L,this.scrollableViewProperties=ve}}class Z{constructor(L,ve,Fe,Je,ot,Dt,Et,At,Ue){this._portalOutlet=L,this._host=ve,this._pane=Fe,this._config=Je,this._ngZone=ot,this._keyboardDispatcher=Dt,this._document=Et,this._location=At,this._outsideClickDispatcher=Ue,this._backdropElement=null,this._backdropClick=new p.x,this._attachments=new p.x,this._detachments=new p.x,this._locationChanges=m.w0.EMPTY,this._backdropClickHandler=Te=>this._backdropClick.next(Te),this._backdropTransitionendHandler=Te=>{this._disposeBackdrop(Te.target)},this._keydownEvents=new p.x,this._outsidePointerEvents=new p.x,Je.scrollStrategy&&(this._scrollStrategy=Je.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Je.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(L){let ve=this._portalOutlet.attach(L);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,_.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),ve}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const L=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),L}dispose(){var L;const ve=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(L=this._host)||void 0===L||L.remove(),this._previousHostParent=this._pane=this._host=null,ve&&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(L){L!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=L,this.hasAttached()&&(L.attach(this),this.updatePosition()))}updateSize(L){this._config=Object.assign(Object.assign({},this._config),L),this._updateElementSize()}setDirection(L){this._config=Object.assign(Object.assign({},this._config),{direction:L}),this._updateElementDirection()}addPanelClass(L){this._pane&&this._toggleClasses(this._pane,L,!0)}removePanelClass(L){this._pane&&this._toggleClasses(this._pane,L,!1)}getDirection(){const L=this._config.direction;return L?"string"==typeof L?L:L.value:"ltr"}updateScrollStrategy(L){L!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=L,this.hasAttached()&&(L.attach(this),L.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const L=this._pane.style;L.width=(0,d.HM)(this._config.width),L.height=(0,d.HM)(this._config.height),L.minWidth=(0,d.HM)(this._config.minWidth),L.minHeight=(0,d.HM)(this._config.minHeight),L.maxWidth=(0,d.HM)(this._config.maxWidth),L.maxHeight=(0,d.HM)(this._config.maxHeight)}_togglePointerEvents(L){this._pane.style.pointerEvents=L?"":"none"}_attachBackdrop(){const L="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(L)})}):this._backdropElement.classList.add(L)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const L=this._backdropElement;!L||(L.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{L.addEventListener("transitionend",this._backdropTransitionendHandler)}),L.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(L)},500)))}_toggleClasses(L,ve,Fe){const Je=(0,d.Eq)(ve||[]).filter(ot=>!!ot);Je.length&&(Fe?L.classList.add(...Je):L.classList.remove(...Je))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const L=this._ngZone.onStable.pipe((0,v.R)((0,u.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()),L.unsubscribe())})})}_disposeScrollStrategy(){const L=this._scrollStrategy;L&&(L.disable(),L.detach&&L.detach())}_disposeBackdrop(L){L&&(L.removeEventListener("click",this._backdropClickHandler),L.removeEventListener("transitionend",this._backdropTransitionendHandler),L.remove(),this._backdropElement===L&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let de=(()=>{class xe{constructor(ve,Fe){this._platform=Fe,this._document=ve}ngOnDestroy(){var ve;null===(ve=this._containerElement)||void 0===ve||ve.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ve="cdk-overlay-container";if(this._platform.isBrowser||(0,o.Oy)()){const Je=this._document.querySelectorAll(`.${ve}[platform="server"], .${ve}[platform="test"]`);for(let ot=0;ot<Je.length;ot++)Je[ot].remove()}const Fe=this._document.createElement("div");Fe.classList.add(ve),(0,o.Oy)()?Fe.setAttribute("platform","test"):this._platform.isBrowser||Fe.setAttribute("platform","server"),this._document.body.appendChild(Fe),this._containerElement=Fe}}return xe.\u0275fac=function(ve){return new(ve||xe)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(o.t4))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();const z="cdk-overlay-connected-position-bounding-box",pe=/([A-Za-z%]+)$/;class ce{constructor(L,ve,Fe,Je,ot){this._viewportRuler=ve,this._document=Fe,this._platform=Je,this._overlayContainer=ot,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 p.x,this._resizeSubscription=m.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(L)}get positions(){return this._preferredPositions}attach(L){this._validatePositions(),L.hostElement.classList.add(z),this._overlayRef=L,this._boundingBox=L.hostElement,this._pane=L.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 L=this._originRect,ve=this._overlayRect,Fe=this._viewportRect,Je=this._containerRect,ot=[];let Dt;for(let Et of this._preferredPositions){let At=this._getOriginPoint(L,Je,Et),Ue=this._getOverlayPoint(At,ve,Et),Te=this._getOverlayFit(Ue,ve,Fe,Et);if(Te.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Et,At);this._canFitWithFlexibleDimensions(Te,Ue,Fe)?ot.push({position:Et,origin:At,overlayRect:ve,boundingBoxRect:this._calculateBoundingBoxRect(At,Et)}):(!Dt||Dt.overlayFit.visibleArea<Te.visibleArea)&&(Dt={overlayFit:Te,overlayPoint:Ue,originPoint:At,position:Et,overlayRect:ve})}if(ot.length){let Et=null,At=-1;for(const Ue of ot){const Te=Ue.boundingBoxRect.width*Ue.boundingBoxRect.height*(Ue.position.weight||1);Te>At&&(At=Te,Et=Ue)}return this._isPushed=!1,void this._applyPosition(Et.position,Et.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Dt.position,Dt.originPoint);this._applyPosition(Dt.position,Dt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Oe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(z),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const L=this._lastPosition;if(L){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ve=this._getOriginPoint(this._originRect,this._containerRect,L);this._applyPosition(L,ve)}else this.apply()}withScrollableContainers(L){return this._scrollables=L,this}withPositions(L){return this._preferredPositions=L,-1===L.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(L){return this._viewportMargin=L,this}withFlexibleDimensions(L=!0){return this._hasFlexibleDimensions=L,this}withGrowAfterOpen(L=!0){return this._growAfterOpen=L,this}withPush(L=!0){return this._canPush=L,this}withLockedPosition(L=!0){return this._positionLocked=L,this}setOrigin(L){return this._origin=L,this}withDefaultOffsetX(L){return this._offsetX=L,this}withDefaultOffsetY(L){return this._offsetY=L,this}withTransformOriginOn(L){return this._transformOriginSelector=L,this}_getOriginPoint(L,ve,Fe){let Je,ot;if("center"==Fe.originX)Je=L.left+L.width/2;else{const Dt=this._isRtl()?L.right:L.left,Et=this._isRtl()?L.left:L.right;Je="start"==Fe.originX?Dt:Et}return ve.left<0&&(Je-=ve.left),ot="center"==Fe.originY?L.top+L.height/2:"top"==Fe.originY?L.top:L.bottom,ve.top<0&&(ot-=ve.top),{x:Je,y:ot}}_getOverlayPoint(L,ve,Fe){let Je,ot;return Je="center"==Fe.overlayX?-ve.width/2:"start"===Fe.overlayX?this._isRtl()?-ve.width:0:this._isRtl()?0:-ve.width,ot="center"==Fe.overlayY?-ve.height/2:"top"==Fe.overlayY?0:-ve.height,{x:L.x+Je,y:L.y+ot}}_getOverlayFit(L,ve,Fe,Je){const ot=vt(ve);let{x:Dt,y:Et}=L,At=this._getOffset(Je,"x"),Ue=this._getOffset(Je,"y");At&&(Dt+=At),Ue&&(Et+=Ue);let Ye=0-Et,Xe=Et+ot.height-Fe.height,rt=this._subtractOverflows(ot.width,0-Dt,Dt+ot.width-Fe.width),wt=this._subtractOverflows(ot.height,Ye,Xe),Ie=rt*wt;return{visibleArea:Ie,isCompletelyWithinViewport:ot.width*ot.height===Ie,fitsInViewportVertically:wt===ot.height,fitsInViewportHorizontally:rt==ot.width}}_canFitWithFlexibleDimensions(L,ve,Fe){if(this._hasFlexibleDimensions){const Je=Fe.bottom-ve.y,ot=Fe.right-ve.x,Dt=it(this._overlayRef.getConfig().minHeight),Et=it(this._overlayRef.getConfig().minWidth),Ue=L.fitsInViewportHorizontally||null!=Et&&Et<=ot;return(L.fitsInViewportVertically||null!=Dt&&Dt<=Je)&&Ue}return!1}_pushOverlayOnScreen(L,ve,Fe){if(this._previousPushAmount&&this._positionLocked)return{x:L.x+this._previousPushAmount.x,y:L.y+this._previousPushAmount.y};const Je=vt(ve),ot=this._viewportRect,Dt=Math.max(L.x+Je.width-ot.width,0),Et=Math.max(L.y+Je.height-ot.height,0),At=Math.max(ot.top-Fe.top-L.y,0),Ue=Math.max(ot.left-Fe.left-L.x,0);let Te=0,Ee=0;return Te=Je.width<=ot.width?Ue||-Dt:L.x<this._viewportMargin?ot.left-Fe.left-L.x:0,Ee=Je.height<=ot.height?At||-Et:L.y<this._viewportMargin?ot.top-Fe.top-L.y:0,this._previousPushAmount={x:Te,y:Ee},{x:L.x+Te,y:L.y+Ee}}_applyPosition(L,ve){if(this._setTransformOrigin(L),this._setOverlayElementStyles(ve,L),this._setBoundingBoxStyles(ve,L),L.panelClass&&this._addPanelClasses(L.panelClass),this._lastPosition=L,this._positionChanges.observers.length){const Fe=this._getScrollVisibility(),Je=new me(L,Fe);this._positionChanges.next(Je)}this._isInitialRender=!1}_setTransformOrigin(L){if(!this._transformOriginSelector)return;const ve=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Fe,Je=L.overlayY;Fe="center"===L.overlayX?"center":this._isRtl()?"start"===L.overlayX?"right":"left":"start"===L.overlayX?"left":"right";for(let ot=0;ot<ve.length;ot++)ve[ot].style.transformOrigin=`${Fe} ${Je}`}_calculateBoundingBoxRect(L,ve){const Fe=this._viewportRect,Je=this._isRtl();let ot,Dt,Et,Te,Ee,Ye;if("top"===ve.overlayY)Dt=L.y,ot=Fe.height-Dt+this._viewportMargin;else if("bottom"===ve.overlayY)Et=Fe.height-L.y+2*this._viewportMargin,ot=Fe.height-Et+this._viewportMargin;else{const Xe=Math.min(Fe.bottom-L.y+Fe.top,L.y),rt=this._lastBoundingBoxSize.height;ot=2*Xe,Dt=L.y-Xe,ot>rt&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=L.y-rt/2)}if("end"===ve.overlayX&&!Je||"start"===ve.overlayX&&Je)Ye=Fe.width-L.x+this._viewportMargin,Te=L.x-this._viewportMargin;else if("start"===ve.overlayX&&!Je||"end"===ve.overlayX&&Je)Ee=L.x,Te=Fe.right-L.x;else{const Xe=Math.min(Fe.right-L.x+Fe.left,L.x),rt=this._lastBoundingBoxSize.width;Te=2*Xe,Ee=L.x-Xe,Te>rt&&!this._isInitialRender&&!this._growAfterOpen&&(Ee=L.x-rt/2)}return{top:Dt,left:Ee,bottom:Et,right:Ye,width:Te,height:ot}}_setBoundingBoxStyles(L,ve){const Fe=this._calculateBoundingBoxRect(L,ve);!this._isInitialRender&&!this._growAfterOpen&&(Fe.height=Math.min(Fe.height,this._lastBoundingBoxSize.height),Fe.width=Math.min(Fe.width,this._lastBoundingBoxSize.width));const Je={};if(this._hasExactPosition())Je.top=Je.left="0",Je.bottom=Je.right=Je.maxHeight=Je.maxWidth="",Je.width=Je.height="100%";else{const ot=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Je.height=(0,d.HM)(Fe.height),Je.top=(0,d.HM)(Fe.top),Je.bottom=(0,d.HM)(Fe.bottom),Je.width=(0,d.HM)(Fe.width),Je.left=(0,d.HM)(Fe.left),Je.right=(0,d.HM)(Fe.right),Je.alignItems="center"===ve.overlayX?"center":"end"===ve.overlayX?"flex-end":"flex-start",Je.justifyContent="center"===ve.overlayY?"center":"bottom"===ve.overlayY?"flex-end":"flex-start",ot&&(Je.maxHeight=(0,d.HM)(ot)),Dt&&(Je.maxWidth=(0,d.HM)(Dt))}this._lastBoundingBoxSize=Fe,Oe(this._boundingBox.style,Je)}_resetBoundingBoxStyles(){Oe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Oe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(L,ve){const Fe={},Je=this._hasExactPosition(),ot=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Je){const Te=this._viewportRuler.getViewportScrollPosition();Oe(Fe,this._getExactOverlayY(ve,L,Te)),Oe(Fe,this._getExactOverlayX(ve,L,Te))}else Fe.position="static";let Et="",At=this._getOffset(ve,"x"),Ue=this._getOffset(ve,"y");At&&(Et+=`translateX(${At}px) `),Ue&&(Et+=`translateY(${Ue}px)`),Fe.transform=Et.trim(),Dt.maxHeight&&(Je?Fe.maxHeight=(0,d.HM)(Dt.maxHeight):ot&&(Fe.maxHeight="")),Dt.maxWidth&&(Je?Fe.maxWidth=(0,d.HM)(Dt.maxWidth):ot&&(Fe.maxWidth="")),Oe(this._pane.style,Fe)}_getExactOverlayY(L,ve,Fe){let Je={top:"",bottom:""},ot=this._getOverlayPoint(ve,this._overlayRect,L);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,Fe)),"bottom"===L.overlayY?Je.bottom=this._document.documentElement.clientHeight-(ot.y+this._overlayRect.height)+"px":Je.top=(0,d.HM)(ot.y),Je}_getExactOverlayX(L,ve,Fe){let Dt,Je={left:"",right:""},ot=this._getOverlayPoint(ve,this._overlayRect,L);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,Fe)),Dt=this._isRtl()?"end"===L.overlayX?"left":"right":"end"===L.overlayX?"right":"left","right"===Dt?Je.right=this._document.documentElement.clientWidth-(ot.x+this._overlayRect.width)+"px":Je.left=(0,d.HM)(ot.x),Je}_getScrollVisibility(){const L=this._getOriginRect(),ve=this._pane.getBoundingClientRect(),Fe=this._scrollables.map(Je=>Je.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:J(L,Fe),isOriginOutsideView:V(L,Fe),isOverlayClipped:J(ve,Fe),isOverlayOutsideView:V(ve,Fe)}}_subtractOverflows(L,...ve){return ve.reduce((Fe,Je)=>Fe-Math.max(Je,0),L)}_getNarrowedViewportRect(){const L=this._document.documentElement.clientWidth,ve=this._document.documentElement.clientHeight,Fe=this._viewportRuler.getViewportScrollPosition();return{top:Fe.top+this._viewportMargin,left:Fe.left+this._viewportMargin,right:Fe.left+L-this._viewportMargin,bottom:Fe.top+ve-this._viewportMargin,width:L-2*this._viewportMargin,height:ve-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(L,ve){return"x"===ve?null==L.offsetX?this._offsetX:L.offsetX:null==L.offsetY?this._offsetY:L.offsetY}_validatePositions(){}_addPanelClasses(L){this._pane&&(0,d.Eq)(L).forEach(ve=>{""!==ve&&-1===this._appliedPanelClasses.indexOf(ve)&&(this._appliedPanelClasses.push(ve),this._pane.classList.add(ve))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(L=>{this._pane.classList.remove(L)}),this._appliedPanelClasses=[])}_getOriginRect(){const L=this._origin;if(L instanceof y.ElementRef)return L.nativeElement.getBoundingClientRect();if(L instanceof Element)return L.getBoundingClientRect();const ve=L.width||0,Fe=L.height||0;return{top:L.y,bottom:L.y+Fe,left:L.x,right:L.x+ve,height:Fe,width:ve}}}function Oe(xe,L){for(let ve in L)L.hasOwnProperty(ve)&&(xe[ve]=L[ve]);return xe}function it(xe){if("number"!=typeof xe&&null!=xe){const[L,ve]=xe.split(pe);return ve&&"px"!==ve?null:parseFloat(L)}return xe||null}function vt(xe){return{top:Math.floor(xe.top),right:Math.floor(xe.right),bottom:Math.floor(xe.bottom),left:Math.floor(xe.left),width:Math.floor(xe.width),height:Math.floor(xe.height)}}const Ge="cdk-global-overlay-wrapper";class pt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(L){const ve=L.getConfig();this._overlayRef=L,this._width&&!ve.width&&L.updateSize({width:this._width}),this._height&&!ve.height&&L.updateSize({height:this._height}),L.hostElement.classList.add(Ge),this._isDisposed=!1}top(L=""){return this._bottomOffset="",this._topOffset=L,this._alignItems="flex-start",this}left(L=""){return this._rightOffset="",this._leftOffset=L,this._justifyContent="flex-start",this}bottom(L=""){return this._topOffset="",this._bottomOffset=L,this._alignItems="flex-end",this}right(L=""){return this._leftOffset="",this._rightOffset=L,this._justifyContent="flex-end",this}width(L=""){return this._overlayRef?this._overlayRef.updateSize({width:L}):this._width=L,this}height(L=""){return this._overlayRef?this._overlayRef.updateSize({height:L}):this._height=L,this}centerHorizontally(L=""){return this.left(L),this._justifyContent="center",this}centerVertically(L=""){return this.top(L),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const L=this._overlayRef.overlayElement.style,ve=this._overlayRef.hostElement.style,Fe=this._overlayRef.getConfig(),{width:Je,height:ot,maxWidth:Dt,maxHeight:Et}=Fe,At=!("100%"!==Je&&"100vw"!==Je||Dt&&"100%"!==Dt&&"100vw"!==Dt),Ue=!("100%"!==ot&&"100vh"!==ot||Et&&"100%"!==Et&&"100vh"!==Et);L.position=this._cssPosition,L.marginLeft=At?"0":this._leftOffset,L.marginTop=Ue?"0":this._topOffset,L.marginBottom=this._bottomOffset,L.marginRight=this._rightOffset,At?ve.justifyContent="flex-start":"center"===this._justifyContent?ve.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?ve.justifyContent="flex-end":"flex-end"===this._justifyContent&&(ve.justifyContent="flex-start"):ve.justifyContent=this._justifyContent,ve.alignItems=Ue?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const L=this._overlayRef.overlayElement.style,ve=this._overlayRef.hostElement,Fe=ve.style;ve.classList.remove(Ge),Fe.justifyContent=Fe.alignItems=L.marginTop=L.marginBottom=L.marginLeft=L.marginRight=L.position="",this._overlayRef=null,this._isDisposed=!0}}let qe=(()=>{class xe{constructor(ve,Fe,Je,ot){this._viewportRuler=ve,this._document=Fe,this._platform=Je,this._overlayContainer=ot}global(){return new pt}flexibleConnectedTo(ve){return new ce(ve,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return xe.\u0275fac=function(ve){return new(ve||xe)(y.\u0275\u0275inject(n.rL),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(o.t4),y.\u0275\u0275inject(de))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),at=(()=>{class xe{constructor(ve){this._attachedOverlays=[],this._document=ve}ngOnDestroy(){this.detach()}add(ve){this.remove(ve),this._attachedOverlays.push(ve)}remove(ve){const Fe=this._attachedOverlays.indexOf(ve);Fe>-1&&this._attachedOverlays.splice(Fe,1),0===this._attachedOverlays.length&&this.detach()}}return xe.\u0275fac=function(ve){return new(ve||xe)(y.\u0275\u0275inject(h.DOCUMENT))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),Ve=(()=>{class xe extends at{constructor(ve,Fe){super(ve),this._ngZone=Fe,this._keydownListener=Je=>{const ot=this._attachedOverlays;for(let Dt=ot.length-1;Dt>-1;Dt--)if(ot[Dt]._keydownEvents.observers.length>0){const Et=ot[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Et.next(Je)):Et.next(Je);break}}}add(ve){super.add(ve),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return xe.\u0275fac=function(ve){return new(ve||xe)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(y.NgZone,8))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),tt=(()=>{class xe extends at{constructor(ve,Fe,Je){super(ve),this._platform=Fe,this._ngZone=Je,this._cursorStyleIsSet=!1,this._pointerDownListener=ot=>{this._pointerDownEventTarget=(0,o.sA)(ot)},this._clickListener=ot=>{const Dt=(0,o.sA)(ot),Et="click"===ot.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const At=this._attachedOverlays.slice();for(let Ue=At.length-1;Ue>-1;Ue--){const Te=At[Ue];if(Te._outsidePointerEvents.observers.length<1||!Te.hasAttached())continue;if(Te.overlayElement.contains(Dt)||Te.overlayElement.contains(Et))break;const Ee=Te._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Ee.next(ot)):Ee.next(ot)}}}add(ve){if(super.add(ve),!this._isAttached){const Fe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Fe)):this._addEventListeners(Fe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Fe.style.cursor,Fe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ve=this._document.body;ve.removeEventListener("pointerdown",this._pointerDownListener,!0),ve.removeEventListener("click",this._clickListener,!0),ve.removeEventListener("auxclick",this._clickListener,!0),ve.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ve.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ve){ve.addEventListener("pointerdown",this._pointerDownListener,!0),ve.addEventListener("click",this._clickListener,!0),ve.addEventListener("auxclick",this._clickListener,!0),ve.addEventListener("contextmenu",this._clickListener,!0)}}return xe.\u0275fac=function(ve){return new(ve||xe)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(o.t4),y.\u0275\u0275inject(y.NgZone,8))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),Le=0,Ke=(()=>{class xe{constructor(ve,Fe,Je,ot,Dt,Et,At,Ue,Te,Ee,Ye){this.scrollStrategies=ve,this._overlayContainer=Fe,this._componentFactoryResolver=Je,this._positionBuilder=ot,this._keyboardDispatcher=Dt,this._injector=Et,this._ngZone=At,this._document=Ue,this._directionality=Te,this._location=Ee,this._outsideClickDispatcher=Ye}create(ve){const Fe=this._createHostElement(),Je=this._createPaneElement(Fe),ot=this._createPortalOutlet(Je),Dt=new H(ve);return Dt.direction=Dt.direction||this._directionality.value,new Z(ot,Fe,Je,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(ve){const Fe=this._document.createElement("div");return Fe.id="cdk-overlay-"+Le++,Fe.classList.add("cdk-overlay-pane"),ve.appendChild(Fe),Fe}_createHostElement(){const ve=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ve),ve}_createPortalOutlet(ve){return this._appRef||(this._appRef=this._injector.get(y.ApplicationRef)),new f.u0(ve,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return xe.\u0275fac=function(ve){return new(ve||xe)(y.\u0275\u0275inject(X),y.\u0275\u0275inject(de),y.\u0275\u0275inject(y.ComponentFactoryResolver),y.\u0275\u0275inject(qe),y.\u0275\u0275inject(Ve),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(y.NgZone),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(c.Is),y.\u0275\u0275inject(h.Location),y.\u0275\u0275inject(tt))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})();const Me={provide:new y.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Ke],useFactory:function ne(xe){return()=>xe.scrollStrategies.reposition()}};let ze=(()=>{class xe{}return xe.\u0275fac=function(ve){return new(ve||xe)},xe.\u0275mod=y.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=y.\u0275\u0275defineInjector({providers:[Ke,Me],imports:[[c.vT,f.eL,n.Cl],n.Cl]}),xe})()},925:(G,r,a)=>{"use strict";a.d(r,{Mq:()=>T,Oy:()=>X,ht:()=>J,i$:()=>_,kV:()=>V,sA:()=>Y,t4:()=>d});var n=a(5e3),h=a(9808);let y;try{y="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(H){y=!1}let m,b,P,d=(()=>{class H{constructor(le){this._platformId=le,this.isBrowser=this._platformId?(0,h.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&&!y)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return H.\u0275fac=function(le){return new(le||H)(n.\u0275\u0275inject(n.PLATFORM_ID))},H.\u0275prov=n.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();function _(H){return function u(){if(null==m&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>m=!0}))}finally{m=m||!1}return m}()?H:!!H.capture}function T(){if(null==b){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return b=!1,b;if("scrollBehavior"in document.documentElement.style)b=!0;else{const H=Element.prototype.scrollTo;b=!!H&&!/\{\s*\[native code\]\s*\}/.test(H.toString())}}return b}function V(H){if(function I(){if(null==P){const H="undefined"!=typeof document?document.head:null;P=!(!H||!H.createShadowRoot&&!H.attachShadow)}return P}()){const oe=H.getRootNode?H.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&oe instanceof ShadowRoot)return oe}return null}function J(){let H="undefined"!=typeof document&&document?document.activeElement:null;for(;H&&H.shadowRoot;){const oe=H.shadowRoot.activeElement;if(oe===H)break;H=oe}return H}function Y(H){return H.composedPath?H.composedPath()[0]:H.target}function X(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(G,r,a)=>{"use strict";a.d(r,{C5:()=>u,Pl:()=>J,UE:()=>_,eL:()=>X,en:()=>b,ig:()=>I,u0:()=>S});var n=a(5e3),h=a(9808);class m{attach(le){return this._attachedHost=le,le.attach(this)}detach(){let le=this._attachedHost;null!=le&&(this._attachedHost=null,le.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(le){this._attachedHost=le}}class u extends m{constructor(le,me,De,be){super(),this.component=le,this.viewContainerRef=me,this.injector=De,this.componentFactoryResolver=be}}class _ extends m{constructor(le,me,De){super(),this.templateRef=le,this.viewContainerRef=me,this.context=De}get origin(){return this.templateRef.elementRef}attach(le,me=this.context){return this.context=me,super.attach(le)}detach(){return this.context=void 0,super.detach()}}class v extends m{constructor(le){super(),this.element=le instanceof n.ElementRef?le.nativeElement:le}}class b{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(le){return le instanceof u?(this._attachedPortal=le,this.attachComponentPortal(le)):le instanceof _?(this._attachedPortal=le,this.attachTemplatePortal(le)):this.attachDomPortal&&le instanceof v?(this._attachedPortal=le,this.attachDomPortal(le)):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(le){this._disposeFn=le}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class S extends b{constructor(le,me,De,be,Z){super(),this.outletElement=le,this._componentFactoryResolver=me,this._appRef=De,this._defaultInjector=be,this.attachDomPortal=de=>{const z=de.element,pe=this._document.createComment("dom-portal");z.parentNode.insertBefore(pe,z),this.outletElement.appendChild(z),this._attachedPortal=de,super.setDisposeFn(()=>{pe.parentNode&&pe.parentNode.replaceChild(z,pe)})},this._document=Z}attachComponentPortal(le){const De=(le.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(le.component);let be;return le.viewContainerRef?(be=le.viewContainerRef.createComponent(De,le.viewContainerRef.length,le.injector||le.viewContainerRef.injector),this.setDisposeFn(()=>be.destroy())):(be=De.create(le.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(be.hostView),this.setDisposeFn(()=>{this._appRef.detachView(be.hostView),be.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(be)),this._attachedPortal=le,be}attachTemplatePortal(le){let me=le.viewContainerRef,De=me.createEmbeddedView(le.templateRef,le.context);return De.rootNodes.forEach(be=>this.outletElement.appendChild(be)),De.detectChanges(),this.setDisposeFn(()=>{let be=me.indexOf(De);-1!==be&&me.remove(be)}),this._attachedPortal=le,De}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(le){return le.hostView.rootNodes[0]}}let I=(()=>{class oe extends _{constructor(me,De){super(me,De)}}return oe.\u0275fac=function(me){return new(me||oe)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),oe})(),J=(()=>{class oe extends b{constructor(me,De,be){super(),this._componentFactoryResolver=me,this._viewContainerRef=De,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Z=>{const de=Z.element,z=this._document.createComment("dom-portal");Z.setAttachedHost(this),de.parentNode.insertBefore(z,de),this._getRootNode().appendChild(de),this._attachedPortal=Z,super.setDisposeFn(()=>{z.parentNode&&z.parentNode.replaceChild(de,z)})},this._document=be}get portal(){return this._attachedPortal}set portal(me){this.hasAttached()&&!me&&!this._isInitialized||(this.hasAttached()&&super.detach(),me&&super.attach(me),this._attachedPortal=me||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(me){me.setAttachedHost(this);const De=null!=me.viewContainerRef?me.viewContainerRef:this._viewContainerRef,Z=(me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(me.component),de=De.createComponent(Z,De.length,me.injector||De.injector);return De!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=me,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(me){me.setAttachedHost(this);const De=this._viewContainerRef.createEmbeddedView(me.templateRef,me.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=me,this._attachedRef=De,this.attached.emit(De),De}_getRootNode(){const me=this._viewContainerRef.element.nativeElement;return me.nodeType===me.ELEMENT_NODE?me:me.parentNode}}return oe.\u0275fac=function(me){return new(me||oe)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(h.DOCUMENT))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),oe})(),X=(()=>{class oe{}return oe.\u0275fac=function(me){return new(me||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})()},495:(G,r,a)=>{"use strict";a.d(r,{ZD:()=>Ke,mF:()=>it,Cl:()=>ft,rL:()=>pt});var n=a(3191),h=a(5e3),y=a(4408),d=a(727);const o={schedule(ye){let Se=requestAnimationFrame,j=cancelAnimationFrame;const{delegate:ne}=o;ne&&(Se=ne.requestAnimationFrame,j=ne.cancelAnimationFrame);const Me=Se(ze=>{j=void 0,ye(ze)});return new d.w0(()=>null==j?void 0:j(Me))},requestAnimationFrame(...ye){const{delegate:Se}=o;return((null==Se?void 0:Se.requestAnimationFrame)||requestAnimationFrame)(...ye)},cancelAnimationFrame(...ye){const{delegate:Se}=o;return((null==Se?void 0:Se.cancelAnimationFrame)||cancelAnimationFrame)(...ye)},delegate:void 0};var f=a(640);new class p extends f.v{flush(Se){this._active=!0;const j=this._scheduled;this._scheduled=void 0;const{actions:ne}=this;let Me;Se=Se||ne.shift();do{if(Me=Se.execute(Se.state,Se.delay))break}while((Se=ne[0])&&Se.id===j&&ne.shift());if(this._active=!1,Me){for(;(Se=ne[0])&&Se.id===j&&ne.shift();)Se.unsubscribe();throw Me}}}(class c extends y.o{constructor(Se,j){super(Se,j),this.scheduler=Se,this.work=j}requestAsyncId(Se,j,ne=0){return null!==ne&&ne>0?super.requestAsyncId(Se,j,ne):(Se.actions.push(this),Se._scheduled||(Se._scheduled=o.requestAnimationFrame(()=>Se.flush(void 0))))}recycleAsyncId(Se,j,ne=0){if(null!=ne&&ne>0||null==ne&&this.delay>0)return super.recycleAsyncId(Se,j,ne);Se.actions.some(Me=>Me.id===j)||(o.cancelAnimationFrame(j),Se._scheduled=void 0)}});var _=a(7579),v=a(9646),b=a(8306),T=a(4968),P=(a(3101),a(4986)),I=a(4482),V=a(8421),J=a(5403),X=a(5963);function H(ye,Se=P.z){return function Y(ye){return(0,I.e)((Se,j)=>{let ne=!1,Me=null,ze=null,Qe=!1;const xe=()=>{if(null==ze||ze.unsubscribe(),ze=null,ne){ne=!1;const ve=Me;Me=null,j.next(ve)}Qe&&j.complete()},L=()=>{ze=null,Qe&&j.complete()};Se.subscribe((0,J.x)(j,ve=>{ne=!0,Me=ve,ze||(0,V.Xf)(ye(ve)).subscribe(ze=(0,J.x)(j,xe,L))},()=>{Qe=!0,(!ne||!ze||ze.closed)&&j.complete()}))})}(()=>(0,X.H)(ye,Se))}var oe=a(9300),le=a(9808),me=a(925),De=a(226);let it=(()=>{class ye{constructor(j,ne,Me){this._ngZone=j,this._platform=ne,this._scrolled=new _.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Me}register(j){this.scrollContainers.has(j)||this.scrollContainers.set(j,j.elementScrolled().subscribe(()=>this._scrolled.next(j)))}deregister(j){const ne=this.scrollContainers.get(j);ne&&(ne.unsubscribe(),this.scrollContainers.delete(j))}scrolled(j=20){return this._platform.isBrowser?new b.y(ne=>{this._globalSubscription||this._addGlobalListener();const Me=j>0?this._scrolled.pipe(H(j)).subscribe(ne):this._scrolled.subscribe(ne);return this._scrolledCount++,()=>{Me.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,v.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((j,ne)=>this.deregister(ne)),this._scrolled.complete()}ancestorScrolled(j,ne){const Me=this.getAncestorScrollContainers(j);return this.scrolled(ne).pipe((0,oe.h)(ze=>!ze||Me.indexOf(ze)>-1))}getAncestorScrollContainers(j){const ne=[];return this.scrollContainers.forEach((Me,ze)=>{this._scrollableContainsElement(ze,j)&&ne.push(ze)}),ne}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(j,ne){let Me=(0,n.fI)(ne),ze=j.getElementRef().nativeElement;do{if(Me==ze)return!0}while(Me=Me.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const j=this._getWindow();return(0,T.R)(j.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ye.\u0275fac=function(j){return new(j||ye)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(me.t4),h.\u0275\u0275inject(le.DOCUMENT,8))},ye.\u0275prov=h.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),pt=(()=>{class ye{constructor(j,ne,Me){this._platform=j,this._change=new _.x,this._changeListener=ze=>{this._change.next(ze)},this._document=Me,ne.runOutsideAngular(()=>{if(j.isBrowser){const ze=this._getWindow();ze.addEventListener("resize",this._changeListener),ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const j=this._getWindow();j.removeEventListener("resize",this._changeListener),j.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const j={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),j}getViewportRect(){const j=this.getViewportScrollPosition(),{width:ne,height:Me}=this.getViewportSize();return{top:j.top,left:j.left,bottom:j.top+Me,right:j.left+ne,height:Me,width:ne}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const j=this._document,ne=this._getWindow(),Me=j.documentElement,ze=Me.getBoundingClientRect();return{top:-ze.top||j.body.scrollTop||ne.scrollY||Me.scrollTop||0,left:-ze.left||j.body.scrollLeft||ne.scrollX||Me.scrollLeft||0}}change(j=20){return j>0?this._change.pipe(H(j)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const j=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:j.innerWidth,height:j.innerHeight}:{width:0,height:0}}}return ye.\u0275fac=function(j){return new(j||ye)(h.\u0275\u0275inject(me.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(le.DOCUMENT,8))},ye.\u0275prov=h.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Ke=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275mod=h.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=h.\u0275\u0275defineInjector({}),ye})(),ft=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275mod=h.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=h.\u0275\u0275defineInjector({imports:[[De.vT,Ke],De.vT,Ke]}),ye})()},9808:(G,r,a)=>{"use strict";a.r(r),a.d(r,{APP_BASE_HREF:()=>J,AsyncPipe:()=>Zi,CommonModule:()=>Ii,CurrencyPipe:()=>ji,DATE_PIPE_DEFAULT_TIMEZONE:()=>Nr,DOCUMENT:()=>f,DatePipe:()=>Ni,DecimalPipe:()=>Sr,FormStyle:()=>de,FormatWidth:()=>pe,HashLocationStrategy:()=>X,I18nPluralPipe:()=>Li,I18nSelectPipe:()=>Ji,JsonPipe:()=>Si,KeyValuePipe:()=>Mr,LOCATION_INITIALIZED:()=>u,Location:()=>H,LocationStrategy:()=>I,LowerCasePipe:()=>dr,NgClass:()=>ln,NgComponentOutlet:()=>_n,NgForOf:()=>fn,NgForOfContext:()=>Xt,NgIf:()=>mn,NgIfContext:()=>nn,NgLocaleLocalization:()=>Ut,NgLocalization:()=>st,NgPlural:()=>mi,NgPluralCase:()=>Kn,NgStyle:()=>ki,NgSwitch:()=>Mn,NgSwitchCase:()=>jn,NgSwitchDefault:()=>pi,NgTemplateOutlet:()=>wr,NumberFormatStyle:()=>be,NumberSymbol:()=>ce,PathLocationStrategy:()=>Y,PercentPipe:()=>Zn,PlatformLocation:()=>p,Plural:()=>Z,SlicePipe:()=>pr,TitleCasePipe:()=>kr,TranslationWidth:()=>z,UpperCasePipe:()=>_i,VERSION:()=>Pi,ViewportScroller:()=>ti,WeekDay:()=>Oe,XhrFactory:()=>Tn,formatCurrency:()=>Rn,formatDate:()=>rt,formatNumber:()=>Yt,formatPercent:()=>Pt,getCurrencySymbol:()=>ot,getLocaleCurrencyCode:()=>ne,getLocaleCurrencyName:()=>j,getLocaleCurrencySymbol:()=>Se,getLocaleDateFormat:()=>tt,getLocaleDateTimeFormat:()=>Ke,getLocaleDayNames:()=>Ge,getLocaleDayPeriods:()=>vt,getLocaleDirection:()=>ve,getLocaleEraNames:()=>qe,getLocaleExtraDayPeriodRules:()=>xe,getLocaleExtraDayPeriods:()=>L,getLocaleFirstDayOfWeek:()=>at,getLocaleId:()=>it,getLocaleMonthNames:()=>pt,getLocaleNumberFormat:()=>ye,getLocaleNumberSymbol:()=>ft,getLocalePluralCase:()=>ze,getLocaleTimeFormat:()=>Le,getLocaleWeekEndRange:()=>Ve,getNumberOfCurrencyDigits:()=>Et,isPlatformBrowser:()=>Pn,isPlatformServer:()=>Vi,isPlatformWorkerApp:()=>er,isPlatformWorkerUi:()=>Vn,registerLocaleData:()=>Ot,\u0275BrowserPlatformLocation:()=>_,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>Br,\u0275PLATFORM_BROWSER_ID:()=>Ei,\u0275PLATFORM_SERVER_ID:()=>Xi,\u0275PLATFORM_WORKER_APP_ID:()=>Bi,\u0275PLATFORM_WORKER_UI_ID:()=>qi,\u0275getDOM:()=>y,\u0275parseCookieValue:()=>pn,\u0275setRootDomAdapter:()=>o});var n=a(5e3);let h=null;function y(){return h}function o(F){h||(h=F)}class c{}const f=new n.InjectionToken("DocumentToken");let p=(()=>{class F{historyGo(x){throw new Error("Not implemented")}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function m(){return(0,n.\u0275\u0275inject)(_)}()},providedIn:"platform"}),F})();const u=new n.InjectionToken("Location Initialized");let _=(()=>{class F extends p{constructor(x){super(),this._doc=x,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(x){const he=y().getGlobalEventTarget(this._doc,"window");return he.addEventListener("popstate",x,!1),()=>he.removeEventListener("popstate",x)}onHashChange(x){const he=y().getGlobalEventTarget(this._doc,"window");return he.addEventListener("hashchange",x,!1),()=>he.removeEventListener("hashchange",x)}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(x){this.location.pathname=x}pushState(x,he,He){v()?this._history.pushState(x,he,He):this.location.hash=He}replaceState(x,he,He){v()?this._history.replaceState(x,he,He):this.location.hash=He}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(f))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function b(){return new _((0,n.\u0275\u0275inject)(f))}()},providedIn:"platform"}),F})();function v(){return!!window.history.pushState}function T(F,re){if(0==F.length)return re;if(0==re.length)return F;let x=0;return F.endsWith("/")&&x++,re.startsWith("/")&&x++,2==x?F+re.substring(1):1==x?F+re:F+"/"+re}function S(F){const re=F.match(/#|\?|$/),x=re&&re.index||F.length;return F.slice(0,x-("/"===F[x-1]?1:0))+F.slice(x)}function P(F){return F&&"?"!==F[0]?"?"+F:F}let I=(()=>{class F{historyGo(x){throw new Error("Not implemented")}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function V(F){const re=(0,n.\u0275\u0275inject)(f).location;return new Y((0,n.\u0275\u0275inject)(p),re&&re.origin||"")}()},providedIn:"root"}),F})();const J=new n.InjectionToken("appBaseHref");let Y=(()=>{class F extends I{constructor(x,he){if(super(),this._platformLocation=x,this._removeListenerFns=[],null==he&&(he=this._platformLocation.getBaseHrefFromDOM()),null==he)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=he}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return T(this._baseHref,x)}path(x=!1){const he=this._platformLocation.pathname+P(this._platformLocation.search),He=this._platformLocation.hash;return He&&x?`${he}${He}`:he}pushState(x,he,He,ut){const yt=this.prepareExternalUrl(He+P(ut));this._platformLocation.pushState(x,he,yt)}replaceState(x,he,He,ut){const yt=this.prepareExternalUrl(He+P(ut));this._platformLocation.replaceState(x,he,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(x=0){var he,He;null===(He=(he=this._platformLocation).historyGo)||void 0===He||He.call(he,x)}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(J,8))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),X=(()=>{class F extends I{constructor(x,he){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=he&&(this._baseHref=he)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}path(x=!1){let he=this._platformLocation.hash;return null==he&&(he="#"),he.length>0?he.substring(1):he}prepareExternalUrl(x){const he=T(this._baseHref,x);return he.length>0?"#"+he:he}pushState(x,he,He,ut){let yt=this.prepareExternalUrl(He+P(ut));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.pushState(x,he,yt)}replaceState(x,he,He,ut){let yt=this.prepareExternalUrl(He+P(ut));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.replaceState(x,he,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(x=0){var he,He;null===(He=(he=this._platformLocation).historyGo)||void 0===He||He.call(he,x)}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(J,8))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),H=(()=>{class F{constructor(x,he){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=x;const He=this._platformStrategy.getBaseHref();this._platformLocation=he,this._baseHref=S(me(He)),this._platformStrategy.onPopState(ut=>{this._subject.emit({url:this.path(!0),pop:!0,state:ut.state,type:ut.type})})}path(x=!1){return this.normalize(this._platformStrategy.path(x))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(x,he=""){return this.path()==this.normalize(x+P(he))}normalize(x){return F.stripTrailingSlash(function le(F,re){return F&&re.startsWith(F)?re.substring(F.length):re}(this._baseHref,me(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._platformStrategy.prepareExternalUrl(x)}go(x,he="",He=null){this._platformStrategy.pushState(He,"",x,he),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+P(he)),He)}replaceState(x,he="",He=null){this._platformStrategy.replaceState(He,"",x,he),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+P(he)),He)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(x=0){var he,He;null===(He=(he=this._platformStrategy).historyGo)||void 0===He||He.call(he,x)}onUrlChange(x){this._urlChangeListeners.push(x),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(he=>{this._notifyUrlChangeListeners(he.url,he.state)}))}_notifyUrlChangeListeners(x="",he){this._urlChangeListeners.forEach(He=>He(x,he))}subscribe(x,he,He){return this._subject.subscribe({next:x,error:he,complete:He})}}return F.normalizeQueryParams=P,F.joinWithSlash=T,F.stripTrailingSlash=S,F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(I),n.\u0275\u0275inject(p))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function oe(){return new H((0,n.\u0275\u0275inject)(I),(0,n.\u0275\u0275inject)(p))}()},providedIn:"root"}),F})();function me(F){return F.replace(/\/index.html$/,"")}const De={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var be=(()=>((be=be||{})[be.Decimal=0]="Decimal",be[be.Percent=1]="Percent",be[be.Currency=2]="Currency",be[be.Scientific=3]="Scientific",be))(),Z=(()=>((Z=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))(),de=(()=>((de=de||{})[de.Format=0]="Format",de[de.Standalone=1]="Standalone",de))(),z=(()=>((z=z||{})[z.Narrow=0]="Narrow",z[z.Abbreviated=1]="Abbreviated",z[z.Wide=2]="Wide",z[z.Short=3]="Short",z))(),pe=(()=>((pe=pe||{})[pe.Short=0]="Short",pe[pe.Medium=1]="Medium",pe[pe.Long=2]="Long",pe[pe.Full=3]="Full",pe))(),ce=(()=>((ce=ce||{})[ce.Decimal=0]="Decimal",ce[ce.Group=1]="Group",ce[ce.List=2]="List",ce[ce.PercentSign=3]="PercentSign",ce[ce.PlusSign=4]="PlusSign",ce[ce.MinusSign=5]="MinusSign",ce[ce.Exponential=6]="Exponential",ce[ce.SuperscriptingExponent=7]="SuperscriptingExponent",ce[ce.PerMille=8]="PerMille",ce[ce.Infinity=9]="Infinity",ce[ce.NaN=10]="NaN",ce[ce.TimeSeparator=11]="TimeSeparator",ce[ce.CurrencyDecimal=12]="CurrencyDecimal",ce[ce.CurrencyGroup=13]="CurrencyGroup",ce))(),Oe=(()=>((Oe=Oe||{})[Oe.Sunday=0]="Sunday",Oe[Oe.Monday=1]="Monday",Oe[Oe.Tuesday=2]="Tuesday",Oe[Oe.Wednesday=3]="Wednesday",Oe[Oe.Thursday=4]="Thursday",Oe[Oe.Friday=5]="Friday",Oe[Oe.Saturday=6]="Saturday",Oe))();function it(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.LocaleId]}function vt(F,re,x){const he=(0,n.\u0275findLocaleData)(F),ut=Fe([he[n.\u0275LocaleDataIndex.DayPeriodsFormat],he[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],re);return Fe(ut,x)}function Ge(F,re,x){const he=(0,n.\u0275findLocaleData)(F),ut=Fe([he[n.\u0275LocaleDataIndex.DaysFormat],he[n.\u0275LocaleDataIndex.DaysStandalone]],re);return Fe(ut,x)}function pt(F,re,x){const he=(0,n.\u0275findLocaleData)(F),ut=Fe([he[n.\u0275LocaleDataIndex.MonthsFormat],he[n.\u0275LocaleDataIndex.MonthsStandalone]],re);return Fe(ut,x)}function qe(F,re){return Fe((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Eras],re)}function at(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function Ve(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.WeekendRange]}function tt(F,re){return Fe((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.DateFormat],re)}function Le(F,re){return Fe((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.TimeFormat],re)}function Ke(F,re){return Fe((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.DateTimeFormat],re)}function ft(F,re){const x=(0,n.\u0275findLocaleData)(F),he=x[n.\u0275LocaleDataIndex.NumberSymbols][re];if(void 0===he){if(re===ce.CurrencyDecimal)return x[n.\u0275LocaleDataIndex.NumberSymbols][ce.Decimal];if(re===ce.CurrencyGroup)return x[n.\u0275LocaleDataIndex.NumberSymbols][ce.Group]}return he}function ye(F,re){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.NumberFormats][re]}function Se(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function j(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.CurrencyName]||null}function ne(F){return(0,n.\u0275getLocaleCurrencyCode)(F)}const ze=n.\u0275getLocalePluralCase;function Qe(F){if(!F[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${F[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function xe(F){const re=(0,n.\u0275findLocaleData)(F);return Qe(re),(re[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(he=>"string"==typeof he?Je(he):[Je(he[0]),Je(he[1])])}function L(F,re,x){const he=(0,n.\u0275findLocaleData)(F);Qe(he);const ut=Fe([he[n.\u0275LocaleDataIndex.ExtraData][0],he[n.\u0275LocaleDataIndex.ExtraData][1]],re)||[];return Fe(ut,x)||[]}function ve(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Directionality]}function Fe(F,re){for(let x=re;x>-1;x--)if(void 0!==F[x])return F[x];throw new Error("Locale data API: locale data undefined")}function Je(F){const[re,x]=F.split(":");return{hours:+re,minutes:+x}}function ot(F,re,x="en"){const he=function Me(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Currencies]}(x)[F]||De[F]||[],He=he[1];return"narrow"===re&&"string"==typeof He?He:he[0]||F}function Et(F){let re;const x=De[F];return x&&(re=x[2]),"number"==typeof re?re:2}const At=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ue={},Te=/((?:[^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 Ee=(()=>((Ee=Ee||{})[Ee.Short=0]="Short",Ee[Ee.ShortGMT=1]="ShortGMT",Ee[Ee.Long=2]="Long",Ee[Ee.Extended=3]="Extended",Ee))(),Ye=(()=>((Ye=Ye||{})[Ye.FullYear=0]="FullYear",Ye[Ye.Month=1]="Month",Ye[Ye.Date=2]="Date",Ye[Ye.Hours=3]="Hours",Ye[Ye.Minutes=4]="Minutes",Ye[Ye.Seconds=5]="Seconds",Ye[Ye.FractionalSeconds=6]="FractionalSeconds",Ye[Ye.Day=7]="Day",Ye))(),Xe=(()=>((Xe=Xe||{})[Xe.DayPeriods=0]="DayPeriods",Xe[Xe.Days=1]="Days",Xe[Xe.Months=2]="Months",Xe[Xe.Eras=3]="Eras",Xe))();function rt(F,re,x,he){let He=function Re(F){if(ke(F))return F;if("number"==typeof F&&!isNaN(F))return new Date(F);if("string"==typeof F){if(F=F.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(F)){const[He,ut=1,yt=1]=F.split("-").map(Lt=>+Lt);return wt(He,ut-1,yt)}const x=parseFloat(F);if(!isNaN(F-x))return new Date(x);let he;if(he=F.match(At))return function ge(F){const re=new Date(0);let x=0,he=0;const He=F[8]?re.setUTCFullYear:re.setFullYear,ut=F[8]?re.setUTCHours:re.setHours;F[9]&&(x=Number(F[9]+F[10]),he=Number(F[9]+F[11])),He.call(re,Number(F[1]),Number(F[2])-1,Number(F[3]));const yt=Number(F[4]||0)-x,Lt=Number(F[5]||0)-he,Cn=Number(F[6]||0),cn=Math.floor(1e3*parseFloat("0."+(F[7]||0)));return ut.call(re,yt,Lt,Cn,cn),re}(he)}const re=new Date(F);if(!ke(re))throw new Error(`Unable to convert "${F}" into a date`);return re}(F);re=Ie(x,re)||re;let Lt,yt=[];for(;re;){if(Lt=Te.exec(re),!Lt){yt.push(re);break}{yt=yt.concat(Lt.slice(1));const rn=yt.pop();if(!rn)break;re=rn}}let Cn=He.getTimezoneOffset();he&&(Cn=dt(he,Cn),He=function Pe(F,re,x){const he=x?-1:1,He=F.getTimezoneOffset();return function Ft(F,re){return(F=new Date(F.getTime())).setMinutes(F.getMinutes()+re),F}(F,he*(dt(re,He)-He))}(He,he,!0));let cn="";return yt.forEach(rn=>{const sn=function je(F){if(fe[F])return fe[F];let re;switch(F){case"G":case"GG":case"GGG":re=Mt(Xe.Eras,z.Abbreviated);break;case"GGGG":re=Mt(Xe.Eras,z.Wide);break;case"GGGGG":re=Mt(Xe.Eras,z.Narrow);break;case"y":re=Ct(Ye.FullYear,1,0,!1,!0);break;case"yy":re=Ct(Ye.FullYear,2,0,!0,!0);break;case"yyy":re=Ct(Ye.FullYear,3,0,!1,!0);break;case"yyyy":re=Ct(Ye.FullYear,4,0,!1,!0);break;case"Y":re=N(1);break;case"YY":re=N(2,!0);break;case"YYY":re=N(3);break;case"YYYY":re=N(4);break;case"M":case"L":re=Ct(Ye.Month,1,1);break;case"MM":case"LL":re=Ct(Ye.Month,2,1);break;case"MMM":re=Mt(Xe.Months,z.Abbreviated);break;case"MMMM":re=Mt(Xe.Months,z.Wide);break;case"MMMMM":re=Mt(Xe.Months,z.Narrow);break;case"LLL":re=Mt(Xe.Months,z.Abbreviated,de.Standalone);break;case"LLLL":re=Mt(Xe.Months,z.Wide,de.Standalone);break;case"LLLLL":re=Mt(Xe.Months,z.Narrow,de.Standalone);break;case"w":re=U(1);break;case"ww":re=U(2);break;case"W":re=U(1,!0);break;case"d":re=Ct(Ye.Date,1);break;case"dd":re=Ct(Ye.Date,2);break;case"c":case"cc":re=Ct(Ye.Day,1);break;case"ccc":re=Mt(Xe.Days,z.Abbreviated,de.Standalone);break;case"cccc":re=Mt(Xe.Days,z.Wide,de.Standalone);break;case"ccccc":re=Mt(Xe.Days,z.Narrow,de.Standalone);break;case"cccccc":re=Mt(Xe.Days,z.Short,de.Standalone);break;case"E":case"EE":case"EEE":re=Mt(Xe.Days,z.Abbreviated);break;case"EEEE":re=Mt(Xe.Days,z.Wide);break;case"EEEEE":re=Mt(Xe.Days,z.Narrow);break;case"EEEEEE":re=Mt(Xe.Days,z.Short);break;case"a":case"aa":case"aaa":re=Mt(Xe.DayPeriods,z.Abbreviated);break;case"aaaa":re=Mt(Xe.DayPeriods,z.Wide);break;case"aaaaa":re=Mt(Xe.DayPeriods,z.Narrow);break;case"b":case"bb":case"bbb":re=Mt(Xe.DayPeriods,z.Abbreviated,de.Standalone,!0);break;case"bbbb":re=Mt(Xe.DayPeriods,z.Wide,de.Standalone,!0);break;case"bbbbb":re=Mt(Xe.DayPeriods,z.Narrow,de.Standalone,!0);break;case"B":case"BB":case"BBB":re=Mt(Xe.DayPeriods,z.Abbreviated,de.Format,!0);break;case"BBBB":re=Mt(Xe.DayPeriods,z.Wide,de.Format,!0);break;case"BBBBB":re=Mt(Xe.DayPeriods,z.Narrow,de.Format,!0);break;case"h":re=Ct(Ye.Hours,1,-12);break;case"hh":re=Ct(Ye.Hours,2,-12);break;case"H":re=Ct(Ye.Hours,1);break;case"HH":re=Ct(Ye.Hours,2);break;case"m":re=Ct(Ye.Minutes,1);break;case"mm":re=Ct(Ye.Minutes,2);break;case"s":re=Ct(Ye.Seconds,1);break;case"ss":re=Ct(Ye.Seconds,2);break;case"S":re=Ct(Ye.FractionalSeconds,1);break;case"SS":re=Ct(Ye.FractionalSeconds,2);break;case"SSS":re=Ct(Ye.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":re=ue(Ee.Short);break;case"ZZZZZ":re=ue(Ee.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":re=ue(Ee.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":re=ue(Ee.Long);break;default:return null}return fe[F]=re,re}(rn);cn+=sn?sn(He,x,Cn):"''"===rn?"'":rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),cn}function wt(F,re,x){const he=new Date(0);return he.setFullYear(F,re,x),he.setHours(0,0,0),he}function Ie(F,re){const x=it(F);if(Ue[x]=Ue[x]||{},Ue[x][re])return Ue[x][re];let he="";switch(re){case"shortDate":he=tt(F,pe.Short);break;case"mediumDate":he=tt(F,pe.Medium);break;case"longDate":he=tt(F,pe.Long);break;case"fullDate":he=tt(F,pe.Full);break;case"shortTime":he=Le(F,pe.Short);break;case"mediumTime":he=Le(F,pe.Medium);break;case"longTime":he=Le(F,pe.Long);break;case"fullTime":he=Le(F,pe.Full);break;case"short":const He=Ie(F,"shortTime"),ut=Ie(F,"shortDate");he=We(Ke(F,pe.Short),[He,ut]);break;case"medium":const yt=Ie(F,"mediumTime"),Lt=Ie(F,"mediumDate");he=We(Ke(F,pe.Medium),[yt,Lt]);break;case"long":const Cn=Ie(F,"longTime"),cn=Ie(F,"longDate");he=We(Ke(F,pe.Long),[Cn,cn]);break;case"full":const rn=Ie(F,"fullTime"),sn=Ie(F,"fullDate");he=We(Ke(F,pe.Full),[rn,sn])}return he&&(Ue[x][re]=he),he}function We(F,re){return re&&(F=F.replace(/\{([^}]+)}/g,function(x,he){return null!=re&&he in re?re[he]:x})),F}function lt(F,re,x="-",he,He){let ut="";(F<0||He&&F<=0)&&(He?F=1-F:(F=-F,ut=x));let yt=String(F);for(;yt.length<re;)yt="0"+yt;return he&&(yt=yt.substr(yt.length-re)),ut+yt}function Ct(F,re,x=0,he=!1,He=!1){return function(ut,yt){let Lt=function $t(F,re){switch(F){case Ye.FullYear:return re.getFullYear();case Ye.Month:return re.getMonth();case Ye.Date:return re.getDate();case Ye.Hours:return re.getHours();case Ye.Minutes:return re.getMinutes();case Ye.Seconds:return re.getSeconds();case Ye.FractionalSeconds:return re.getMilliseconds();case Ye.Day:return re.getDay();default:throw new Error(`Unknown DateType value "${F}".`)}}(F,ut);if((x>0||Lt>-x)&&(Lt+=x),F===Ye.Hours)0===Lt&&-12===x&&(Lt=12);else if(F===Ye.FractionalSeconds)return function Tt(F,re){return lt(F,3).substr(0,re)}(Lt,re);const Cn=ft(yt,ce.MinusSign);return lt(Lt,re,Cn,he,He)}}function Mt(F,re,x=de.Format,he=!1){return function(He,ut){return function Ht(F,re,x,he,He,ut){switch(x){case Xe.Months:return pt(re,He,he)[F.getMonth()];case Xe.Days:return Ge(re,He,he)[F.getDay()];case Xe.DayPeriods:const yt=F.getHours(),Lt=F.getMinutes();if(ut){const cn=xe(re),rn=L(re,He,he),sn=cn.findIndex(xn=>{if(Array.isArray(xn)){const[bn,On]=xn,B=yt>=bn.hours&&Lt>=bn.minutes,R=yt<On.hours||yt===On.hours&&Lt<On.minutes;if(bn.hours<On.hours){if(B&&R)return!0}else if(B||R)return!0}else if(xn.hours===yt&&xn.minutes===Lt)return!0;return!1});if(-1!==sn)return rn[sn]}return vt(re,He,he)[yt<12?0:1];case Xe.Eras:return qe(re,he)[F.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${x}`)}}(He,ut,F,re,x,he)}}function ue(F){return function(re,x,he){const He=-1*he,ut=ft(x,ce.MinusSign),yt=He>0?Math.floor(He/60):Math.ceil(He/60);switch(F){case Ee.Short:return(He>=0?"+":"")+lt(yt,2,ut)+lt(Math.abs(He%60),2,ut);case Ee.ShortGMT:return"GMT"+(He>=0?"+":"")+lt(yt,1,ut);case Ee.Long:return"GMT"+(He>=0?"+":"")+lt(yt,2,ut)+":"+lt(Math.abs(He%60),2,ut);case Ee.Extended:return 0===he?"Z":(He>=0?"+":"")+lt(yt,2,ut)+":"+lt(Math.abs(He%60),2,ut);default:throw new Error(`Unknown zone width "${F}"`)}}}function Q(F){return wt(F.getFullYear(),F.getMonth(),F.getDate()+(4-F.getDay()))}function U(F,re=!1){return function(x,he){let He;if(re){const ut=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,yt=x.getDate();He=1+Math.floor((yt+ut)/7)}else{const ut=Q(x),yt=function W(F){const re=wt(F,0,1).getDay();return wt(F,0,1+(re<=4?4:11)-re)}(ut.getFullYear()),Lt=ut.getTime()-yt.getTime();He=1+Math.round(Lt/6048e5)}return lt(He,F,ft(he,ce.MinusSign))}}function N(F,re=!1){return function(x,he){return lt(Q(x).getFullYear(),F,ft(he,ce.MinusSign),re)}}const fe={};function dt(F,re){F=F.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+F)/6e4;return isNaN(x)?re:x}function ke(F){return F instanceof Date&&!isNaN(F.valueOf())}const ct=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Yn(F,re,x,he,He,ut,yt=!1){let Lt="",Cn=!1;if(isFinite(F)){let cn=function ie(F){let he,He,ut,yt,Lt,re=Math.abs(F)+"",x=0;for((He=re.indexOf("."))>-1&&(re=re.replace(".","")),(ut=re.search(/e/i))>0?(He<0&&(He=ut),He+=+re.slice(ut+1),re=re.substring(0,ut)):He<0&&(He=re.length),ut=0;"0"===re.charAt(ut);ut++);if(ut===(Lt=re.length))he=[0],He=1;else{for(Lt--;"0"===re.charAt(Lt);)Lt--;for(He-=ut,he=[],yt=0;ut<=Lt;ut++,yt++)he[yt]=Number(re.charAt(ut))}return He>22&&(he=he.splice(0,21),x=He-1,He=1),{digits:he,exponent:x,integerLen:He}}(F);yt&&(cn=function Ae(F){if(0===F.digits[0])return F;const re=F.digits.length-F.integerLen;return F.exponent?F.exponent+=2:(0===re?F.digits.push(0,0):1===re&&F.digits.push(0),F.integerLen+=2),F}(cn));let rn=re.minInt,sn=re.minFrac,xn=re.maxFrac;if(ut){const se=ut.match(ct);if(null===se)throw new Error(`${ut} is not a valid digit info`);const ht=se[1],Nt=se[3],Sn=se[5];null!=ht&&(rn=Ze(ht)),null!=Nt&&(sn=Ze(Nt)),null!=Sn?xn=Ze(Sn):null!=Nt&&sn>xn&&(xn=sn)}!function we(F,re,x){if(re>x)throw new Error(`The minimum number of digits after fraction (${re}) is higher than the maximum (${x}).`);let he=F.digits,He=he.length-F.integerLen;const ut=Math.min(Math.max(re,He),x);let yt=ut+F.integerLen,Lt=he[yt];if(yt>0){he.splice(Math.max(F.integerLen,yt));for(let sn=yt;sn<he.length;sn++)he[sn]=0}else{He=Math.max(0,He),F.integerLen=1,he.length=Math.max(1,yt=ut+1),he[0]=0;for(let sn=1;sn<yt;sn++)he[sn]=0}if(Lt>=5)if(yt-1<0){for(let sn=0;sn>yt;sn--)he.unshift(0),F.integerLen++;he.unshift(1),F.integerLen++}else he[yt-1]++;for(;He<Math.max(0,ut);He++)he.push(0);let Cn=0!==ut;const cn=re+F.integerLen,rn=he.reduceRight(function(sn,xn,bn,On){return On[bn]=(xn+=sn)<10?xn:xn-10,Cn&&(0===On[bn]&&bn>=cn?On.pop():Cn=!1),xn>=10?1:0},0);rn&&(he.unshift(rn),F.integerLen++)}(cn,sn,xn);let bn=cn.digits,On=cn.integerLen;const B=cn.exponent;let R=[];for(Cn=bn.every(se=>!se);On<rn;On++)bn.unshift(0);for(;On<0;On++)bn.unshift(0);On>0?R=bn.splice(On,bn.length):(R=bn,bn=[0]);const M=[];for(bn.length>=re.lgSize&&M.unshift(bn.splice(-re.lgSize,bn.length).join(""));bn.length>re.gSize;)M.unshift(bn.splice(-re.gSize,bn.length).join(""));bn.length&&M.unshift(bn.join("")),Lt=M.join(ft(x,he)),R.length&&(Lt+=ft(x,He)+R.join("")),B&&(Lt+=ft(x,ce.Exponential)+"+"+B)}else Lt=ft(x,ce.Infinity);return Lt=F<0&&!Cn?re.negPre+Lt+re.negSuf:re.posPre+Lt+re.posSuf,Lt}function Rn(F,re,x,he,He){const yt=ae(ye(re,be.Currency),ft(re,ce.MinusSign));return yt.minFrac=Et(he),yt.maxFrac=yt.minFrac,Yn(F,yt,re,ce.CurrencyGroup,ce.CurrencyDecimal,He).replace("\xa4",x).replace("\xa4","").trim()}function Pt(F,re,x){return Yn(F,ae(ye(re,be.Percent),ft(re,ce.MinusSign)),re,ce.Group,ce.Decimal,x,!0).replace(new RegExp("%","g"),ft(re,ce.PercentSign))}function Yt(F,re,x){return Yn(F,ae(ye(re,be.Decimal),ft(re,ce.MinusSign)),re,ce.Group,ce.Decimal,x)}function ae(F,re="-"){const x={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},he=F.split(";"),He=he[0],ut=he[1],yt=-1!==He.indexOf(".")?He.split("."):[He.substring(0,He.lastIndexOf("0")+1),He.substring(He.lastIndexOf("0")+1)],Lt=yt[0],Cn=yt[1]||"";x.posPre=Lt.substr(0,Lt.indexOf("#"));for(let rn=0;rn<Cn.length;rn++){const sn=Cn.charAt(rn);"0"===sn?x.minFrac=x.maxFrac=rn+1:"#"===sn?x.maxFrac=rn+1:x.posSuf+=sn}const cn=Lt.split(",");if(x.gSize=cn[1]?cn[1].length:0,x.lgSize=cn[2]||cn[1]?(cn[2]||cn[1]).length:0,ut){const rn=He.length-x.posPre.length-x.posSuf.length,sn=ut.indexOf("#");x.negPre=ut.substr(0,sn).replace(/'/g,""),x.negSuf=ut.substr(sn+rn).replace(/'/g,"")}else x.negPre=re+x.posPre,x.negSuf=x.posSuf;return x}function Ze(F){const re=parseInt(F);if(isNaN(re))throw new Error("Invalid integer literal when parsing "+F);return re}let st=(()=>{class F{}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(x){let he=null;return x?he=new x:(He=n.\u0275\u0275inject(n.LOCALE_ID),he=new Ut(He)),he;var He},providedIn:"root"}),F})();function St(F,re,x,he){let He=`=${F}`;if(re.indexOf(He)>-1||(He=x.getPluralCategory(F,he),re.indexOf(He)>-1))return He;if(re.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${F}"`)}let Ut=(()=>{class F extends st{constructor(x){super(),this.locale=x}getPluralCategory(x,he){switch(ze(he||this.locale)(x)){case Z.Zero:return"zero";case Z.One:return"one";case Z.Two:return"two";case Z.Few:return"few";case Z.Many:return"many";default:return"other"}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275inject(n.LOCALE_ID))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})();function Ot(F,re,x){return(0,n.\u0275registerLocaleData)(F,re,x)}function pn(F,re){re=encodeURIComponent(re);for(const x of F.split(";")){const he=x.indexOf("="),[He,ut]=-1==he?[x,""]:[x.slice(0,he),x.slice(he+1)];if(He.trim()===re)return decodeURIComponent(ut)}return null}let ln=(()=>{class F{constructor(x,he,He,ut){this._iterableDiffers=x,this._keyValueDiffers=he,this._ngEl=He,this._renderer=ut,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(x){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof x?x.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(x){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof x?x.split(/\s+/):x,this._rawClass&&((0,n.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const x=this._iterableDiffer.diff(this._rawClass);x&&this._applyIterableChanges(x)}else if(this._keyValueDiffer){const x=this._keyValueDiffer.diff(this._rawClass);x&&this._applyKeyValueChanges(x)}}_applyKeyValueChanges(x){x.forEachAddedItem(he=>this._toggleClass(he.key,he.currentValue)),x.forEachChangedItem(he=>this._toggleClass(he.key,he.currentValue)),x.forEachRemovedItem(he=>{he.previousValue&&this._toggleClass(he.key,!1)})}_applyIterableChanges(x){x.forEachAddedItem(he=>{if("string"!=typeof he.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(he.item)}`);this._toggleClass(he.item,!0)}),x.forEachRemovedItem(he=>this._toggleClass(he.item,!1))}_applyClasses(x){x&&(Array.isArray(x)||x instanceof Set?x.forEach(he=>this._toggleClass(he,!0)):Object.keys(x).forEach(he=>this._toggleClass(he,!!x[he])))}_removeClasses(x){x&&(Array.isArray(x)||x instanceof Set?x.forEach(he=>this._toggleClass(he,!1)):Object.keys(x).forEach(he=>this._toggleClass(he,!1)))}_toggleClass(x,he){(x=x.trim())&&x.split(/\s+/g).forEach(He=>{he?this._renderer.addClass(this._ngEl.nativeElement,He):this._renderer.removeClass(this._ngEl.nativeElement,He)})}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),F})(),_n=(()=>{class F{constructor(x){this._viewContainerRef=x,this._componentRef=null,this._moduleRef=null}ngOnChanges(x){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const he=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(x.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const yt=he.get(n.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(yt.injector)}else this._moduleRef=null;const ut=(this._moduleRef?this._moduleRef.componentFactoryResolver:he.get(n.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(ut,this._viewContainerRef.length,he,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.\u0275\u0275NgOnChangesFeature]}),F})();class Xt{constructor(re,x,he,He){this.$implicit=re,this.ngForOf=x,this.index=he,this.count=He}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 fn=(()=>{class F{constructor(x,he,He){this._viewContainer=x,this._template=he,this._differs=He,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const he=this._viewContainer;x.forEachOperation((He,ut,yt)=>{if(null==He.previousIndex)he.createEmbeddedView(this._template,new Xt(He.item,this._ngForOf,-1,-1),null===yt?void 0:yt);else if(null==yt)he.remove(null===ut?void 0:ut);else if(null!==ut){const Lt=he.get(ut);he.move(Lt,yt),Un(Lt,He)}});for(let He=0,ut=he.length;He<ut;He++){const Lt=he.get(He).context;Lt.index=He,Lt.count=ut,Lt.ngForOf=this._ngForOf}x.forEachIdentityChange(He=>{Un(he.get(He.currentIndex),He)})}static ngTemplateContextGuard(x,he){return!0}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),F})();function Un(F,re){F.context.$implicit=re.item}let mn=(()=>{class F{constructor(x,he){this._viewContainer=x,this._context=new nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=he}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){hi("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){hi("ngIfElse",x),this._elseTemplateRef=x,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(x,he){return!0}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),F})();class nn{constructor(){this.$implicit=null,this.ngIf=null}}function hi(F,re){if(re&&!re.createEmbeddedView)throw new Error(`${F} must be a TemplateRef, but received '${(0,n.\u0275stringify)(re)}'.`)}class Di{constructor(re,x){this._viewContainerRef=re,this._templateRef=x,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(re){re&&!this._created?this.create():!re&&this._created&&this.destroy()}}let Mn=(()=>{class F{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(x){this._ngSwitch=x,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(x){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(x)}_matchCase(x){const he=x==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||he,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),he}_updateDefaultCases(x){if(this._defaultViews&&x!==this._defaultUsed){this._defaultUsed=x;for(let he=0;he<this._defaultViews.length;he++)this._defaultViews[he].enforceState(x)}}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),F})(),jn=(()=>{class F{constructor(x,he,He){this.ngSwitch=He,He._addCase(),this._view=new Di(x,he)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Mn,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),F})(),pi=(()=>{class F{constructor(x,he,He){He._addDefault(new Di(x,he))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Mn,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchDefault",""]]}),F})(),mi=(()=>{class F{constructor(x){this._localization=x,this._caseViews={}}set ngPlural(x){this._switchValue=x,this._updateView()}addCase(x,he){this._caseViews[x]=he}_updateView(){this._clearViews();const x=Object.keys(this._caseViews),he=St(this._switchValue,x,this._localization);this._activateView(this._caseViews[he])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(x){x&&(this._activeView=x,this._activeView.create())}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(st))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),F})(),Kn=(()=>{class F{constructor(x,he,He,ut){this.value=x;const yt=!isNaN(Number(x));ut.addCase(yt?`=${x}`:x,new Di(He,he))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(mi,1))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngPluralCase",""]]}),F})(),ki=(()=>{class F{constructor(x,he,He){this._ngEl=x,this._differs=he,this._renderer=He,this._ngStyle=null,this._differ=null}set ngStyle(x){this._ngStyle=x,!this._differ&&x&&(this._differ=this._differs.find(x).create())}ngDoCheck(){if(this._differ){const x=this._differ.diff(this._ngStyle);x&&this._applyChanges(x)}}_setStyle(x,he){const[He,ut]=x.split(".");null!=(he=null!=he&&ut?`${he}${ut}`:he)?this._renderer.setStyle(this._ngEl.nativeElement,He,he):this._renderer.removeStyle(this._ngEl.nativeElement,He)}_applyChanges(x){x.forEachRemovedItem(he=>this._setStyle(he.key,null)),x.forEachAddedItem(he=>this._setStyle(he.key,he.currentValue)),x.forEachChangedItem(he=>this._setStyle(he.key,he.currentValue))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),F})(),wr=(()=>{class F{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(x){if(x.ngTemplateOutlet){const he=this._viewContainerRef;this._viewRef&&he.remove(he.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?he.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&x.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.\u0275\u0275NgOnChangesFeature]}),F})();function Bn(F,re){return new n.\u0275RuntimeError(2100,"")}class Fr{createSubscription(re,x){return re.subscribe({next:x,error:he=>{throw he}})}dispose(re){re.unsubscribe()}onDestroy(re){re.unsubscribe()}}class wi{createSubscription(re,x){return re.then(x,he=>{throw he})}dispose(re){}onDestroy(re){}}const ur=new wi,Mi=new Fr;let Zi=(()=>{class F{constructor(x){this._ref=x,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(x){return this._obj?x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue:(x&&this._subscribe(x),this._latestValue)}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,he=>this._updateLatestValue(x,he))}_selectStrategy(x){if((0,n.\u0275isPromise)(x))return ur;if((0,n.\u0275isSubscribable)(x))return Mi;throw Bn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,he){x===this._obj&&(this._latestValue=he,this._ref.markForCheck())}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:F,pure:!1}),F})(),dr=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw Bn();return x.toLowerCase()}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:F,pure:!0}),F})();const fr=/(?:[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 kr=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw Bn();return x.replace(fr,he=>he[0].toUpperCase()+he.substr(1).toLowerCase())}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:F,pure:!0}),F})(),_i=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw Bn();return x.toUpperCase()}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:F,pure:!0}),F})();const Nr=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let Ni=(()=>{class F{constructor(x,he){this.locale=x,this.defaultTimezone=he}transform(x,he="mediumDate",He,ut){var yt;if(null==x||""===x||x!=x)return null;try{return rt(x,he,ut||this.locale,null!==(yt=null!=He?He:this.defaultTimezone)&&void 0!==yt?yt:void 0)}catch(Lt){throw Bn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Nr,24))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:F,pure:!0}),F})();const Lr=/#/g;let Li=(()=>{class F{constructor(x){this._localization=x}transform(x,he,He){if(null==x)return"";if("object"!=typeof he||null===he)throw Bn();return he[St(x,Object.keys(he),this._localization,He)].replace(Lr,x.toString())}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(st,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:F,pure:!0}),F})(),Ji=(()=>{class F{transform(x,he){if(null==x)return"";if("object"!=typeof he||"string"!=typeof x)throw Bn();return he.hasOwnProperty(x)?he[x]:he.hasOwnProperty("other")?he.other:""}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:F,pure:!0}),F})(),Si=(()=>{class F{transform(x){return JSON.stringify(x,null,2)}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:F,pure:!1}),F})(),Mr=(()=>{class F{constructor(x){this.differs=x,this.keyValues=[],this.compareFn=hr}transform(x,he=hr){if(!x||!(x instanceof Map)&&"object"!=typeof x)return null;this.differ||(this.differ=this.differs.find(x).create());const He=this.differ.diff(x),ut=he!==this.compareFn;return He&&(this.keyValues=[],He.forEachItem(yt=>{this.keyValues.push(function bi(F,re){return{key:F,value:re}}(yt.key,yt.currentValue))})),(He||ut)&&(this.keyValues.sort(he),this.compareFn=he),this.keyValues}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:F,pure:!1}),F})();function hr(F,re){const x=F.key,he=re.key;if(x===he)return 0;if(void 0===x)return 1;if(void 0===he)return-1;if(null===x)return 1;if(null===he)return-1;if("string"==typeof x&&"string"==typeof he)return x<he?-1:1;if("number"==typeof x&&"number"==typeof he)return x-he;if("boolean"==typeof x&&"boolean"==typeof he)return x<he?-1:1;const He=String(x),ut=String(he);return He==ut?0:He<ut?-1:1}let Sr=(()=>{class F{constructor(x){this._locale=x}transform(x,he,He){if(!Ci(x))return null;He=He||this._locale;try{return Yt(Oi(x),He,he)}catch(ut){throw Bn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:F,pure:!0}),F})(),Zn=(()=>{class F{constructor(x){this._locale=x}transform(x,he,He){if(!Ci(x))return null;He=He||this._locale;try{return Pt(Oi(x),He,he)}catch(ut){throw Bn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:F,pure:!0}),F})(),ji=(()=>{class F{constructor(x,he="USD"){this._locale=x,this._defaultCurrencyCode=he}transform(x,he=this._defaultCurrencyCode,He="symbol",ut,yt){if(!Ci(x))return null;yt=yt||this._locale,"boolean"==typeof He&&(He=He?"symbol":"code");let Lt=he||this._defaultCurrencyCode;"code"!==He&&(Lt="symbol"===He||"symbol-narrow"===He?ot(Lt,"symbol"===He?"wide":"narrow",yt):He);try{return Rn(Oi(x),yt,Lt,he,ut)}catch(Cn){throw Bn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:F,pure:!0}),F})();function Ci(F){return!(null==F||""===F||F!=F)}function Oi(F){if("string"==typeof F&&!isNaN(Number(F)-parseFloat(F)))return Number(F);if("number"!=typeof F)throw new Error(`${F} is not a number`);return F}let pr=(()=>{class F{transform(x,he,He){if(null==x)return null;if(!this.supports(x))throw Bn();return x.slice(he,He)}supports(x){return"string"==typeof x||Array.isArray(x)}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:F,pure:!1}),F})(),Ii=(()=>{class F{}return F.\u0275fac=function(x){return new(x||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({}),F})();const Ei="browser",Xi="server",Bi="browserWorkerApp",qi="browserWorkerUi";function Pn(F){return F===Ei}function Vi(F){return F===Xi}function er(F){return F===Bi}function Vn(F){return F===qi}const Pi=new n.Version("13.3.2");let ti=(()=>{class F{}return F.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:F,providedIn:"root",factory:()=>new ni((0,n.\u0275\u0275inject)(f),window)}),F})();class ni{constructor(re,x){this.document=re,this.window=x,this.offset=()=>[0,0]}setOffset(re){this.offset=Array.isArray(re)?()=>re:re}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(re){this.supportsScrolling()&&this.window.scrollTo(re[0],re[1])}scrollToAnchor(re){if(!this.supportsScrolling())return;const x=function Jn(F,re){const x=F.getElementById(re)||F.getElementsByName(re)[0];if(x)return x;if("function"==typeof F.createTreeWalker&&F.body&&(F.body.createShadowRoot||F.body.attachShadow)){const he=F.createTreeWalker(F.body,NodeFilter.SHOW_ELEMENT);let He=he.currentNode;for(;He;){const ut=He.shadowRoot;if(ut){const yt=ut.getElementById(re)||ut.querySelector(`[name="${re}"]`);if(yt)return yt}He=he.nextNode()}}return null}(this.document,re);x&&(this.scrollToElement(x),x.focus())}setHistoryScrollRestoration(re){if(this.supportScrollRestoration()){const x=this.window.history;x&&x.scrollRestoration&&(x.scrollRestoration=re)}}scrollToElement(re){const x=re.getBoundingClientRect(),he=x.left+this.window.pageXOffset,He=x.top+this.window.pageYOffset,ut=this.offset();this.window.scrollTo(he-ut[0],He-ut[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const re=zn(this.window.history)||zn(Object.getPrototypeOf(this.window.history));return!(!re||!re.writable&&!re.set)}catch(re){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(re){return!1}}}function zn(F){return Object.getOwnPropertyDescriptor(F,"scrollRestoration")}class Br{setOffset(re){}getScrollPosition(){return[0,0]}scrollToPosition(re){}scrollToAnchor(re){}setHistoryScrollRestoration(re){}}class Tn{}},6529:(G,r,a)=>{"use strict";a.r(r),a.d(r,{HTTP_INTERCEPTORS:()=>Ge,HttpBackend:()=>_,HttpClient:()=>it,HttpClientJsonpModule:()=>Et,HttpClientModule:()=>Dt,HttpClientXsrfModule:()=>ot,HttpContext:()=>X,HttpContextToken:()=>Y,HttpErrorResponse:()=>ce,HttpEventType:()=>Z,HttpHandler:()=>u,HttpHeaderResponse:()=>z,HttpHeaders:()=>v,HttpParams:()=>J,HttpRequest:()=>be,HttpResponse:()=>pe,HttpResponseBase:()=>de,HttpUrlEncodingCodec:()=>b,HttpXhrBackend:()=>ne,HttpXsrfTokenExtractor:()=>Qe,JsonpClientBackend:()=>ft,JsonpInterceptor:()=>ye,XhrFactory:()=>At,\u0275HttpInterceptingHandler:()=>ve});var n=a(9808),h=a(5e3),y=a(9646),d=a(8306),o=a(5577),c=a(576),p=a(9300),m=a(4004);class u{}class _{}class v{constructor(Te){this.normalizedNames=new Map,this.lazyUpdate=null,Te?this.lazyInit="string"==typeof Te?()=>{this.headers=new Map,Te.split("\n").forEach(Ee=>{const Ye=Ee.indexOf(":");if(Ye>0){const Xe=Ee.slice(0,Ye),rt=Xe.toLowerCase(),wt=Ee.slice(Ye+1).trim();this.maybeSetNormalizedName(Xe,rt),this.headers.has(rt)?this.headers.get(rt).push(wt):this.headers.set(rt,[wt])}})}:()=>{this.headers=new Map,Object.keys(Te).forEach(Ee=>{let Ye=Te[Ee];const Xe=Ee.toLowerCase();"string"==typeof Ye&&(Ye=[Ye]),Ye.length>0&&(this.headers.set(Xe,Ye),this.maybeSetNormalizedName(Ee,Xe))})}:this.headers=new Map}has(Te){return this.init(),this.headers.has(Te.toLowerCase())}get(Te){this.init();const Ee=this.headers.get(Te.toLowerCase());return Ee&&Ee.length>0?Ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Te){return this.init(),this.headers.get(Te.toLowerCase())||null}append(Te,Ee){return this.clone({name:Te,value:Ee,op:"a"})}set(Te,Ee){return this.clone({name:Te,value:Ee,op:"s"})}delete(Te,Ee){return this.clone({name:Te,value:Ee,op:"d"})}maybeSetNormalizedName(Te,Ee){this.normalizedNames.has(Ee)||this.normalizedNames.set(Ee,Te)}init(){this.lazyInit&&(this.lazyInit instanceof v?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Te=>this.applyUpdate(Te)),this.lazyUpdate=null))}copyFrom(Te){Te.init(),Array.from(Te.headers.keys()).forEach(Ee=>{this.headers.set(Ee,Te.headers.get(Ee)),this.normalizedNames.set(Ee,Te.normalizedNames.get(Ee))})}clone(Te){const Ee=new v;return Ee.lazyInit=this.lazyInit&&this.lazyInit instanceof v?this.lazyInit:this,Ee.lazyUpdate=(this.lazyUpdate||[]).concat([Te]),Ee}applyUpdate(Te){const Ee=Te.name.toLowerCase();switch(Te.op){case"a":case"s":let Ye=Te.value;if("string"==typeof Ye&&(Ye=[Ye]),0===Ye.length)return;this.maybeSetNormalizedName(Te.name,Ee);const Xe=("a"===Te.op?this.headers.get(Ee):void 0)||[];Xe.push(...Ye),this.headers.set(Ee,Xe);break;case"d":const rt=Te.value;if(rt){let wt=this.headers.get(Ee);if(!wt)return;wt=wt.filter(Ie=>-1===rt.indexOf(Ie)),0===wt.length?(this.headers.delete(Ee),this.normalizedNames.delete(Ee)):this.headers.set(Ee,wt)}else this.headers.delete(Ee),this.normalizedNames.delete(Ee)}}forEach(Te){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ee=>Te(this.normalizedNames.get(Ee),this.headers.get(Ee)))}}class b{encodeKey(Te){return I(Te)}encodeValue(Te){return I(Te)}decodeKey(Te){return decodeURIComponent(Te)}decodeValue(Te){return decodeURIComponent(Te)}}const S=/%(\d[a-f0-9])/gi,P={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function I(Ue){return encodeURIComponent(Ue).replace(S,(Te,Ee)=>{var Ye;return null!==(Ye=P[Ee])&&void 0!==Ye?Ye:Te})}function V(Ue){return`${Ue}`}class J{constructor(Te={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Te.encoder||new b,Te.fromString){if(Te.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function T(Ue,Te){const Ee=new Map;return Ue.length>0&&Ue.replace(/^\?/,"").split("&").forEach(Xe=>{const rt=Xe.indexOf("="),[wt,Ie]=-1==rt?[Te.decodeKey(Xe),""]:[Te.decodeKey(Xe.slice(0,rt)),Te.decodeValue(Xe.slice(rt+1))],We=Ee.get(wt)||[];We.push(Ie),Ee.set(wt,We)}),Ee}(Te.fromString,this.encoder)}else Te.fromObject?(this.map=new Map,Object.keys(Te.fromObject).forEach(Ee=>{const Ye=Te.fromObject[Ee];this.map.set(Ee,Array.isArray(Ye)?Ye:[Ye])})):this.map=null}has(Te){return this.init(),this.map.has(Te)}get(Te){this.init();const Ee=this.map.get(Te);return Ee?Ee[0]:null}getAll(Te){return this.init(),this.map.get(Te)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Te,Ee){return this.clone({param:Te,value:Ee,op:"a"})}appendAll(Te){const Ee=[];return Object.keys(Te).forEach(Ye=>{const Xe=Te[Ye];Array.isArray(Xe)?Xe.forEach(rt=>{Ee.push({param:Ye,value:rt,op:"a"})}):Ee.push({param:Ye,value:Xe,op:"a"})}),this.clone(Ee)}set(Te,Ee){return this.clone({param:Te,value:Ee,op:"s"})}delete(Te,Ee){return this.clone({param:Te,value:Ee,op:"d"})}toString(){return this.init(),this.keys().map(Te=>{const Ee=this.encoder.encodeKey(Te);return this.map.get(Te).map(Ye=>Ee+"="+this.encoder.encodeValue(Ye)).join("&")}).filter(Te=>""!==Te).join("&")}clone(Te){const Ee=new J({encoder:this.encoder});return Ee.cloneFrom=this.cloneFrom||this,Ee.updates=(this.updates||[]).concat(Te),Ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Te=>this.map.set(Te,this.cloneFrom.map.get(Te))),this.updates.forEach(Te=>{switch(Te.op){case"a":case"s":const Ee=("a"===Te.op?this.map.get(Te.param):void 0)||[];Ee.push(V(Te.value)),this.map.set(Te.param,Ee);break;case"d":if(void 0===Te.value){this.map.delete(Te.param);break}{let Ye=this.map.get(Te.param)||[];const Xe=Ye.indexOf(V(Te.value));-1!==Xe&&Ye.splice(Xe,1),Ye.length>0?this.map.set(Te.param,Ye):this.map.delete(Te.param)}}}),this.cloneFrom=this.updates=null)}}class Y{constructor(Te){this.defaultValue=Te}}class X{constructor(){this.map=new Map}set(Te,Ee){return this.map.set(Te,Ee),this}get(Te){return this.map.has(Te)||this.map.set(Te,Te.defaultValue()),this.map.get(Te)}delete(Te){return this.map.delete(Te),this}has(Te){return this.map.has(Te)}keys(){return this.map.keys()}}function oe(Ue){return"undefined"!=typeof ArrayBuffer&&Ue instanceof ArrayBuffer}function le(Ue){return"undefined"!=typeof Blob&&Ue instanceof Blob}function me(Ue){return"undefined"!=typeof FormData&&Ue instanceof FormData}class be{constructor(Te,Ee,Ye,Xe){let rt;if(this.url=Ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Te.toUpperCase(),function H(Ue){switch(Ue){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Xe?(this.body=void 0!==Ye?Ye:null,rt=Xe):rt=Ye,rt&&(this.reportProgress=!!rt.reportProgress,this.withCredentials=!!rt.withCredentials,rt.responseType&&(this.responseType=rt.responseType),rt.headers&&(this.headers=rt.headers),rt.context&&(this.context=rt.context),rt.params&&(this.params=rt.params)),this.headers||(this.headers=new v),this.context||(this.context=new X),this.params){const wt=this.params.toString();if(0===wt.length)this.urlWithParams=Ee;else{const Ie=Ee.indexOf("?");this.urlWithParams=Ee+(-1===Ie?"?":Ie<Ee.length-1?"&":"")+wt}}else this.params=new J,this.urlWithParams=Ee}serializeBody(){return null===this.body?null:oe(this.body)||le(this.body)||me(this.body)||function De(Ue){return"undefined"!=typeof URLSearchParams&&Ue instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof J?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||me(this.body)?null:le(this.body)?this.body.type||null:oe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof J?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Te={}){var Ee;const Ye=Te.method||this.method,Xe=Te.url||this.url,rt=Te.responseType||this.responseType,wt=void 0!==Te.body?Te.body:this.body,Ie=void 0!==Te.withCredentials?Te.withCredentials:this.withCredentials,We=void 0!==Te.reportProgress?Te.reportProgress:this.reportProgress;let lt=Te.headers||this.headers,Tt=Te.params||this.params;const Ct=null!==(Ee=Te.context)&&void 0!==Ee?Ee:this.context;return void 0!==Te.setHeaders&&(lt=Object.keys(Te.setHeaders).reduce(($t,Mt)=>$t.set(Mt,Te.setHeaders[Mt]),lt)),Te.setParams&&(Tt=Object.keys(Te.setParams).reduce(($t,Mt)=>$t.set(Mt,Te.setParams[Mt]),Tt)),new be(Ye,Xe,wt,{params:Tt,headers:lt,context:Ct,reportProgress:We,responseType:rt,withCredentials:Ie})}}var Z=(()=>((Z=Z||{})[Z.Sent=0]="Sent",Z[Z.UploadProgress=1]="UploadProgress",Z[Z.ResponseHeader=2]="ResponseHeader",Z[Z.DownloadProgress=3]="DownloadProgress",Z[Z.Response=4]="Response",Z[Z.User=5]="User",Z))();class de{constructor(Te,Ee=200,Ye="OK"){this.headers=Te.headers||new v,this.status=void 0!==Te.status?Te.status:Ee,this.statusText=Te.statusText||Ye,this.url=Te.url||null,this.ok=this.status>=200&&this.status<300}}class z extends de{constructor(Te={}){super(Te),this.type=Z.ResponseHeader}clone(Te={}){return new z({headers:Te.headers||this.headers,status:void 0!==Te.status?Te.status:this.status,statusText:Te.statusText||this.statusText,url:Te.url||this.url||void 0})}}class pe extends de{constructor(Te={}){super(Te),this.type=Z.Response,this.body=void 0!==Te.body?Te.body:null}clone(Te={}){return new pe({body:void 0!==Te.body?Te.body:this.body,headers:Te.headers||this.headers,status:void 0!==Te.status?Te.status:this.status,statusText:Te.statusText||this.statusText,url:Te.url||this.url||void 0})}}class ce extends de{constructor(Te){super(Te,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Te.url||"(unknown url)"}`:`Http failure response for ${Te.url||"(unknown url)"}: ${Te.status} ${Te.statusText}`,this.error=Te.error||null}}function Oe(Ue,Te){return{body:Te,headers:Ue.headers,context:Ue.context,observe:Ue.observe,params:Ue.params,reportProgress:Ue.reportProgress,responseType:Ue.responseType,withCredentials:Ue.withCredentials}}let it=(()=>{class Ue{constructor(Ee){this.handler=Ee}request(Ee,Ye,Xe={}){let rt;if(Ee instanceof be)rt=Ee;else{let We,lt;We=Xe.headers instanceof v?Xe.headers:new v(Xe.headers),Xe.params&&(lt=Xe.params instanceof J?Xe.params:new J({fromObject:Xe.params})),rt=new be(Ee,Ye,void 0!==Xe.body?Xe.body:null,{headers:We,context:Xe.context,params:lt,reportProgress:Xe.reportProgress,responseType:Xe.responseType||"json",withCredentials:Xe.withCredentials})}const wt=(0,y.of)(rt).pipe(function f(Ue,Te){return(0,c.m)(Te)?(0,o.z)(Ue,Te,1):(0,o.z)(Ue,1)}(We=>this.handler.handle(We)));if(Ee instanceof be||"events"===Xe.observe)return wt;const Ie=wt.pipe((0,p.h)(We=>We instanceof pe));switch(Xe.observe||"body"){case"body":switch(rt.responseType){case"arraybuffer":return Ie.pipe((0,m.U)(We=>{if(null!==We.body&&!(We.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return We.body}));case"blob":return Ie.pipe((0,m.U)(We=>{if(null!==We.body&&!(We.body instanceof Blob))throw new Error("Response is not a Blob.");return We.body}));case"text":return Ie.pipe((0,m.U)(We=>{if(null!==We.body&&"string"!=typeof We.body)throw new Error("Response is not a string.");return We.body}));default:return Ie.pipe((0,m.U)(We=>We.body))}case"response":return Ie;default:throw new Error(`Unreachable: unhandled observe type ${Xe.observe}}`)}}delete(Ee,Ye={}){return this.request("DELETE",Ee,Ye)}get(Ee,Ye={}){return this.request("GET",Ee,Ye)}head(Ee,Ye={}){return this.request("HEAD",Ee,Ye)}jsonp(Ee,Ye){return this.request("JSONP",Ee,{params:(new J).append(Ye,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ee,Ye={}){return this.request("OPTIONS",Ee,Ye)}patch(Ee,Ye,Xe={}){return this.request("PATCH",Ee,Oe(Xe,Ye))}post(Ee,Ye,Xe={}){return this.request("POST",Ee,Oe(Xe,Ye))}put(Ee,Ye,Xe={}){return this.request("PUT",Ee,Oe(Xe,Ye))}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)(h.\u0275\u0275inject(u))},Ue.\u0275prov=h.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})();class vt{constructor(Te,Ee){this.next=Te,this.interceptor=Ee}handle(Te){return this.interceptor.intercept(Te,this.next)}}const Ge=new h.InjectionToken("HTTP_INTERCEPTORS");let at,pt=(()=>{class Ue{intercept(Ee,Ye){return Ye.handle(Ee)}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)},Ue.\u0275prov=h.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})(),qe=0;class Ke{}let ft=(()=>{class Ue{constructor(Ee,Ye){this.callbackMap=Ee,this.document=Ye,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+qe++}handle(Ee){if("JSONP"!==Ee.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Ee.responseType)throw new Error("JSONP requests must use Json response type.");return new d.y(Ye=>{const Xe=this.nextCallback(),rt=Ee.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Xe}$1`),wt=this.document.createElement("script");wt.src=rt;let Ie=null,We=!1;this.callbackMap[Xe]=$t=>{delete this.callbackMap[Xe],Ie=$t,We=!0};const lt=()=>{wt.parentNode&&wt.parentNode.removeChild(wt),delete this.callbackMap[Xe]};return wt.addEventListener("load",$t=>{this.resolvedPromise.then(()=>{lt(),We?(Ye.next(new pe({body:Ie,status:200,statusText:"OK",url:rt})),Ye.complete()):Ye.error(new ce({url:rt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),wt.addEventListener("error",$t=>{lt(),Ye.error(new ce({error:$t,status:0,statusText:"JSONP Error",url:rt}))}),this.document.body.appendChild(wt),Ye.next({type:Z.Sent}),()=>{We||this.removeListeners(wt),lt()}})}removeListeners(Ee){at||(at=this.document.implementation.createHTMLDocument()),at.adoptNode(Ee)}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)(h.\u0275\u0275inject(Ke),h.\u0275\u0275inject(n.DOCUMENT))},Ue.\u0275prov=h.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})(),ye=(()=>{class Ue{constructor(Ee){this.jsonp=Ee}intercept(Ee,Ye){return"JSONP"===Ee.method?this.jsonp.handle(Ee):Ye.handle(Ee)}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)(h.\u0275\u0275inject(ft))},Ue.\u0275prov=h.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})();const Se=/^\)\]\}',?\n/;let ne=(()=>{class Ue{constructor(Ee){this.xhrFactory=Ee}handle(Ee){if("JSONP"===Ee.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new d.y(Ye=>{const Xe=this.xhrFactory.build();if(Xe.open(Ee.method,Ee.urlWithParams),Ee.withCredentials&&(Xe.withCredentials=!0),Ee.headers.forEach((Mt,Ht)=>Xe.setRequestHeader(Mt,Ht.join(","))),Ee.headers.has("Accept")||Xe.setRequestHeader("Accept","application/json, text/plain, */*"),!Ee.headers.has("Content-Type")){const Mt=Ee.detectContentTypeHeader();null!==Mt&&Xe.setRequestHeader("Content-Type",Mt)}if(Ee.responseType){const Mt=Ee.responseType.toLowerCase();Xe.responseType="json"!==Mt?Mt:"text"}const rt=Ee.serializeBody();let wt=null;const Ie=()=>{if(null!==wt)return wt;const Mt=Xe.statusText||"OK",Ht=new v(Xe.getAllResponseHeaders()),ue=function j(Ue){return"responseURL"in Ue&&Ue.responseURL?Ue.responseURL:/^X-Request-URL:/m.test(Ue.getAllResponseHeaders())?Ue.getResponseHeader("X-Request-URL"):null}(Xe)||Ee.url;return wt=new z({headers:Ht,status:Xe.status,statusText:Mt,url:ue}),wt},We=()=>{let{headers:Mt,status:Ht,statusText:ue,url:q}=Ie(),k=null;204!==Ht&&(k=void 0===Xe.response?Xe.responseText:Xe.response),0===Ht&&(Ht=k?200:0);let W=Ht>=200&&Ht<300;if("json"===Ee.responseType&&"string"==typeof k){const Q=k;k=k.replace(Se,"");try{k=""!==k?JSON.parse(k):null}catch(U){k=Q,W&&(W=!1,k={error:U,text:k})}}W?(Ye.next(new pe({body:k,headers:Mt,status:Ht,statusText:ue,url:q||void 0})),Ye.complete()):Ye.error(new ce({error:k,headers:Mt,status:Ht,statusText:ue,url:q||void 0}))},lt=Mt=>{const{url:Ht}=Ie(),ue=new ce({error:Mt,status:Xe.status||0,statusText:Xe.statusText||"Unknown Error",url:Ht||void 0});Ye.error(ue)};let Tt=!1;const Ct=Mt=>{Tt||(Ye.next(Ie()),Tt=!0);let Ht={type:Z.DownloadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(Ht.total=Mt.total),"text"===Ee.responseType&&!!Xe.responseText&&(Ht.partialText=Xe.responseText),Ye.next(Ht)},$t=Mt=>{let Ht={type:Z.UploadProgress,loaded:Mt.loaded};Mt.lengthComputable&&(Ht.total=Mt.total),Ye.next(Ht)};return Xe.addEventListener("load",We),Xe.addEventListener("error",lt),Xe.addEventListener("timeout",lt),Xe.addEventListener("abort",lt),Ee.reportProgress&&(Xe.addEventListener("progress",Ct),null!==rt&&Xe.upload&&Xe.upload.addEventListener("progress",$t)),Xe.send(rt),Ye.next({type:Z.Sent}),()=>{Xe.removeEventListener("error",lt),Xe.removeEventListener("abort",lt),Xe.removeEventListener("load",We),Xe.removeEventListener("timeout",lt),Ee.reportProgress&&(Xe.removeEventListener("progress",Ct),null!==rt&&Xe.upload&&Xe.upload.removeEventListener("progress",$t)),Xe.readyState!==Xe.DONE&&Xe.abort()}})}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)(h.\u0275\u0275inject(n.XhrFactory))},Ue.\u0275prov=h.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})();const Me=new h.InjectionToken("XSRF_COOKIE_NAME"),ze=new h.InjectionToken("XSRF_HEADER_NAME");class Qe{}let xe=(()=>{class Ue{constructor(Ee,Ye,Xe){this.doc=Ee,this.platform=Ye,this.cookieName=Xe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ee=this.doc.cookie||"";return Ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(Ee,this.cookieName),this.lastCookieString=Ee),this.lastToken}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(h.PLATFORM_ID),h.\u0275\u0275inject(Me))},Ue.\u0275prov=h.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})(),L=(()=>{class Ue{constructor(Ee,Ye){this.tokenService=Ee,this.headerName=Ye}intercept(Ee,Ye){const Xe=Ee.url.toLowerCase();if("GET"===Ee.method||"HEAD"===Ee.method||Xe.startsWith("http://")||Xe.startsWith("https://"))return Ye.handle(Ee);const rt=this.tokenService.getToken();return null!==rt&&!Ee.headers.has(this.headerName)&&(Ee=Ee.clone({headers:Ee.headers.set(this.headerName,rt)})),Ye.handle(Ee)}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)(h.\u0275\u0275inject(Qe),h.\u0275\u0275inject(ze))},Ue.\u0275prov=h.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})(),ve=(()=>{class Ue{constructor(Ee,Ye){this.backend=Ee,this.injector=Ye,this.chain=null}handle(Ee){if(null===this.chain){const Ye=this.injector.get(Ge,[]);this.chain=Ye.reduceRight((Xe,rt)=>new vt(Xe,rt),this.backend)}return this.chain.handle(Ee)}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)(h.\u0275\u0275inject(_),h.\u0275\u0275inject(h.Injector))},Ue.\u0275prov=h.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})();function Je(){return"object"==typeof window?window:{}}let ot=(()=>{class Ue{static disable(){return{ngModule:Ue,providers:[{provide:L,useClass:pt}]}}static withOptions(Ee={}){return{ngModule:Ue,providers:[Ee.cookieName?{provide:Me,useValue:Ee.cookieName}:[],Ee.headerName?{provide:ze,useValue:Ee.headerName}:[]]}}}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)},Ue.\u0275mod=h.\u0275\u0275defineNgModule({type:Ue}),Ue.\u0275inj=h.\u0275\u0275defineInjector({providers:[L,{provide:Ge,useExisting:L,multi:!0},{provide:Qe,useClass:xe},{provide:Me,useValue:"XSRF-TOKEN"},{provide:ze,useValue:"X-XSRF-TOKEN"}]}),Ue})(),Dt=(()=>{class Ue{}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)},Ue.\u0275mod=h.\u0275\u0275defineNgModule({type:Ue}),Ue.\u0275inj=h.\u0275\u0275defineInjector({providers:[it,{provide:u,useClass:ve},ne,{provide:_,useExisting:ne}],imports:[[ot.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ue})(),Et=(()=>{class Ue{}return Ue.\u0275fac=function(Ee){return new(Ee||Ue)},Ue.\u0275mod=h.\u0275\u0275defineNgModule({type:Ue}),Ue.\u0275inj=h.\u0275\u0275defineInjector({providers:[ft,{provide:Ke,useFactory:Je},{provide:Ge,useClass:ye,multi:!0}]}),Ue})();const At=n.XhrFactory},5e3:(G,r,a)=>{"use strict";a.r(r),a.d(r,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>iv,APP_BOOTSTRAP_LISTENER:()=>bg,APP_ID:()=>gg,APP_INITIALIZER:()=>mg,ApplicationInitStatus:()=>yu,ApplicationModule:()=>IE,ApplicationRef:()=>Iu,Attribute:()=>od,COMPILER_OPTIONS:()=>Tg,CUSTOM_ELEMENTS_SCHEMA:()=>Hd,ChangeDetectionStrategy:()=>At,ChangeDetectorRef:()=>jg,Compiler:()=>KC,CompilerFactory:()=>QC,Component:()=>FC,ComponentFactory:()=>Ca,ComponentFactoryResolver:()=>Ea,ComponentRef:()=>em,ContentChild:()=>ov,ContentChildren:()=>rv,DEFAULT_CURRENCY_CODE:()=>zC,DebugElement:()=>As,DebugEventListener:()=>hE,DebugNode:()=>Au,DefaultIterableDiffer:()=>zg,Directive:()=>pg,ElementRef:()=>ws,EmbeddedViewRef:()=>fE,ErrorHandler:()=>Zs,EventEmitter:()=>Tr,Host:()=>hd,HostBinding:()=>jC,HostListener:()=>BC,INJECTOR:()=>sa,Inject:()=>zs,InjectFlags:()=>L,Injectable:()=>sb,InjectionToken:()=>Wn,Injector:()=>Ki,Input:()=>NC,IterableDiffers:()=>Nu,KeyValueDiffers:()=>Lu,LOCALE_ID:()=>bu,MissingTranslationStrategy:()=>Dr,ModuleWithComponentFactories:()=>Eg,NO_ERRORS_SCHEMA:()=>Ud,NgModule:()=>VC,NgModuleFactory:()=>um,NgModuleRef:()=>Uo,NgProbeToken:()=>nE,NgZone:()=>lr,Optional:()=>rs,Output:()=>LC,PACKAGE_ROOT_URL:()=>HC,PLATFORM_ID:()=>_g,PLATFORM_INITIALIZER:()=>yg,Pipe:()=>kC,PlatformRef:()=>Ou,Query:()=>qo,QueryList:()=>Sa,ReflectiveInjector:()=>Lo,ReflectiveKey:()=>xr,Renderer2:()=>Z0,RendererFactory2:()=>nm,RendererStyleFlags2:()=>_r,ResolvedReflectiveFactory:()=>Rh,Sanitizer:()=>im,SecurityContext:()=>Gn,Self:()=>Ws,SimpleChange:()=>ji,SkipSelf:()=>go,TRANSLATIONS:()=>WC,TRANSLATIONS_FORMAT:()=>GC,TemplateRef:()=>Os,Testability:()=>Sg,TestabilityRegistry:()=>Du,Type:()=>Vs,VERSION:()=>om,Version:()=>rm,ViewChild:()=>av,ViewChildren:()=>sv,ViewContainerRef:()=>Ia,ViewEncapsulation:()=>Ee,ViewRef:()=>Vg,asNativeElements:()=>pE,assertPlatform:()=>Rg,createNgModuleRef:()=>iC,createPlatform:()=>Pg,createPlatformFactory:()=>Ag,defineInjectable:()=>Le,destroyPlatform:()=>iE,enableProdMode:()=>lE,forwardRef:()=>_,getDebugNode:()=>Go,getModuleFactory:()=>cE,getNgModuleById:()=>uE,getPlatform:()=>Su,inject:()=>fd,isDevMode:()=>aE,platformCore:()=>OE,resolveForwardRef:()=>v,setTestabilityGetter:()=>tE,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Mu,\u0275APP_ID_RANDOM_PROVIDER:()=>$C,\u0275ChangeDetectorStatus:()=>Ue,\u0275ComponentFactory:()=>Ca,\u0275Console:()=>Cg,\u0275DEFAULT_LOCALE_ID:()=>bs,\u0275INJECTOR_SCOPE:()=>jl,\u0275LifecycleHooksFeature:()=>yh,\u0275LocaleDataIndex:()=>Qt,\u0275NG_COMP_DEF:()=>$t,\u0275NG_DIR_DEF:()=>Mt,\u0275NG_ELEMENT_ID:()=>k,\u0275NG_INJ_DEF:()=>ze,\u0275NG_MOD_DEF:()=>ue,\u0275NG_PIPE_DEF:()=>Ht,\u0275NG_PROV_DEF:()=>Me,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Ta,\u0275NO_CHANGE:()=>en,\u0275NgModuleFactory:()=>Ma,\u0275NoopNgZone:()=>Mg,\u0275ReflectionCapabilities:()=>Va,\u0275Render3ComponentFactory:()=>wa,\u0275Render3ComponentRef:()=>lm,\u0275Render3NgModuleRef:()=>iu,\u0275RuntimeError:()=>S,\u0275ViewRef:()=>Ho,\u0275_sanitizeHtml:()=>Pd,\u0275_sanitizeUrl:()=>ss,\u0275allowSanitizationBypassAndThrow:()=>_o,\u0275bypassSanitizationTrustHtml:()=>Nv,\u0275bypassSanitizationTrustResourceUrl:()=>Vv,\u0275bypassSanitizationTrustScript:()=>jv,\u0275bypassSanitizationTrustStyle:()=>Lv,\u0275bypassSanitizationTrustUrl:()=>Bv,\u0275clearResolutionOfComponentResourcesQueue:()=>yd,\u0275compileComponent:()=>ng,\u0275compileDirective:()=>vu,\u0275compileNgModule:()=>Zm,\u0275compileNgModuleDefs:()=>Jm,\u0275compileNgModuleFactory:()=>Og,\u0275compilePipe:()=>fg,\u0275createInjector:()=>Vl,\u0275defaultIterableDiffers:()=>ME,\u0275defaultKeyValueDiffers:()=>SE,\u0275detectChanges:()=>eh,\u0275devModeEqual:()=>Ch,\u0275findLocaleData:()=>Kc,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Qm,\u0275getDebugNode:()=>Go,\u0275getDebugNodeR2:()=>yE,\u0275getDirectives:()=>dh,\u0275getHostElement:()=>Ul,\u0275getInjectableDef:()=>ft,\u0275getLContext:()=>ui,\u0275getLocaleCurrencyCode:()=>Yb,\u0275getLocalePluralCase:()=>Dp,\u0275getSanitizationBypassType:()=>Ed,\u0275global:()=>Ie,\u0275injectChangeDetectorRef:()=>Bg,\u0275isBoundToModule:()=>Ig,\u0275isDefaultChangeDetectionStrategy:()=>Te,\u0275isListLikeIterable:()=>ms,\u0275isObservable:()=>Bh,\u0275isPromise:()=>dc,\u0275isSubscribable:()=>jh,\u0275ivyEnabled:()=>PE,\u0275makeDecorator:()=>ho,\u0275markDirty:()=>th,\u0275noSideEffects:()=>Et,\u0275patchComponentDefWithScope:()=>pu,\u0275publishDefaultGlobalUtils:()=>U_,\u0275publishGlobalUtil:()=>Qi,\u0275registerLocaleData:()=>Qb,\u0275registerNgModuleType:()=>fm,\u0275renderComponent:()=>z_,\u0275resetCompiledComponents:()=>DC,\u0275resetJitOptions:()=>EC,\u0275resolveComponentResources:()=>gd,\u0275setClassMetadata:()=>cm,\u0275setCurrentInjector:()=>Ua,\u0275setDocument:()=>zn,\u0275setLocaleId:()=>Sp,\u0275store:()=>Th,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>Ps,\u0275unregisterLocaleData:()=>Zb,\u0275unwrapSafeValue:()=>Pr,\u0275whenRendered:()=>W_,\u0275\u0275CopyDefinitionFeature:()=>bh,\u0275\u0275FactoryTarget:()=>Xn,\u0275\u0275InheritDefinitionFeature:()=>Wl,\u0275\u0275NgOnChangesFeature:()=>Ci,\u0275\u0275ProvidersFeature:()=>qp,\u0275\u0275advance:()=>Cf,\u0275\u0275attribute:()=>Ql,\u0275\u0275attributeInterpolate1:()=>Yl,\u0275\u0275attributeInterpolate2:()=>Zl,\u0275\u0275attributeInterpolate3:()=>Jl,\u0275\u0275attributeInterpolate4:()=>Xl,\u0275\u0275attributeInterpolate5:()=>ql,\u0275\u0275attributeInterpolate6:()=>ec,\u0275\u0275attributeInterpolate7:()=>tc,\u0275\u0275attributeInterpolate8:()=>nc,\u0275\u0275attributeInterpolateV:()=>ic,\u0275\u0275classMap:()=>Xh,\u0275\u0275classMapInterpolate1:()=>sp,\u0275\u0275classMapInterpolate2:()=>ap,\u0275\u0275classMapInterpolate3:()=>lp,\u0275\u0275classMapInterpolate4:()=>cp,\u0275\u0275classMapInterpolate5:()=>up,\u0275\u0275classMapInterpolate6:()=>dp,\u0275\u0275classMapInterpolate7:()=>fp,\u0275\u0275classMapInterpolate8:()=>hp,\u0275\u0275classMapInterpolateV:()=>pp,\u0275\u0275classProp:()=>wc,\u0275\u0275contentQuery:()=>Hm,\u0275\u0275defineComponent:()=>Q,\u0275\u0275defineDirective:()=>Re,\u0275\u0275defineInjectable:()=>tt,\u0275\u0275defineInjector:()=>Ke,\u0275\u0275defineNgModule:()=>dt,\u0275\u0275definePipe:()=>ge,\u0275\u0275directiveInject:()=>ys,\u0275\u0275disableBindings:()=>Ir,\u0275\u0275element:()=>cc,\u0275\u0275elementContainer:()=>uc,\u0275\u0275elementContainerEnd:()=>ha,\u0275\u0275elementContainerStart:()=>fa,\u0275\u0275elementEnd:()=>da,\u0275\u0275elementStart:()=>ua,\u0275\u0275enableBindings:()=>Or,\u0275\u0275getCurrentView:()=>Lh,\u0275\u0275getInheritedFactory:()=>rd,\u0275\u0275hostProperty:()=>Wc,\u0275\u0275i18n:()=>Qp,\u0275\u0275i18nApply:()=>Zp,\u0275\u0275i18nAttributes:()=>Yp,\u0275\u0275i18nEnd:()=>Jc,\u0275\u0275i18nExp:()=>Xc,\u0275\u0275i18nPostprocess:()=>Jp,\u0275\u0275i18nStart:()=>Zc,\u0275\u0275inject:()=>oi,\u0275\u0275injectAttribute:()=>La,\u0275\u0275invalidFactory:()=>Nh,\u0275\u0275invalidFactoryDep:()=>za,\u0275\u0275listener:()=>fc,\u0275\u0275loadQuery:()=>Um,\u0275\u0275namespaceHTML:()=>Ui,\u0275\u0275namespaceMathML:()=>Hi,\u0275\u0275namespaceSVG:()=>ri,\u0275\u0275nextContext:()=>Hh,\u0275\u0275ngDeclareClassMetadata:()=>RE,\u0275\u0275ngDeclareComponent:()=>xE,\u0275\u0275ngDeclareDirective:()=>AE,\u0275\u0275ngDeclareFactory:()=>FE,\u0275\u0275ngDeclareInjectable:()=>NE,\u0275\u0275ngDeclareInjector:()=>LE,\u0275\u0275ngDeclareNgModule:()=>jE,\u0275\u0275ngDeclarePipe:()=>BE,\u0275\u0275pipe:()=>Im,\u0275\u0275pipeBind1:()=>Pm,\u0275\u0275pipeBind2:()=>Am,\u0275\u0275pipeBind3:()=>Rm,\u0275\u0275pipeBind4:()=>xm,\u0275\u0275pipeBindV:()=>Fm,\u0275\u0275projection:()=>zh,\u0275\u0275projectionDef:()=>Uh,\u0275\u0275property:()=>ac,\u0275\u0275propertyInterpolate:()=>mc,\u0275\u0275propertyInterpolate1:()=>pa,\u0275\u0275propertyInterpolate2:()=>gc,\u0275\u0275propertyInterpolate3:()=>vc,\u0275\u0275propertyInterpolate4:()=>yc,\u0275\u0275propertyInterpolate5:()=>_c,\u0275\u0275propertyInterpolate6:()=>bc,\u0275\u0275propertyInterpolate7:()=>Cc,\u0275\u0275propertyInterpolate8:()=>Ec,\u0275\u0275propertyInterpolateV:()=>Tc,\u0275\u0275pureFunction0:()=>pm,\u0275\u0275pureFunction1:()=>mm,\u0275\u0275pureFunction2:()=>gm,\u0275\u0275pureFunction3:()=>vm,\u0275\u0275pureFunction4:()=>ym,\u0275\u0275pureFunction5:()=>_m,\u0275\u0275pureFunction6:()=>bm,\u0275\u0275pureFunction7:()=>Cm,\u0275\u0275pureFunction8:()=>Em,\u0275\u0275pureFunctionV:()=>Tm,\u0275\u0275queryRefresh:()=>Vm,\u0275\u0275reference:()=>Dh,\u0275\u0275resolveBody:()=>Kd,\u0275\u0275resolveDocument:()=>Gd,\u0275\u0275resolveWindow:()=>Wd,\u0275\u0275restoreView:()=>Ko,\u0275\u0275sanitizeHtml:()=>Ad,\u0275\u0275sanitizeResourceUrl:()=>el,\u0275\u0275sanitizeScript:()=>xd,\u0275\u0275sanitizeStyle:()=>Rd,\u0275\u0275sanitizeUrl:()=>qa,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Nd,\u0275\u0275setComponentScope:()=>U,\u0275\u0275setNgModuleScope:()=>Ft,\u0275\u0275styleMap:()=>or,\u0275\u0275styleMapInterpolate1:()=>mp,\u0275\u0275styleMapInterpolate2:()=>gp,\u0275\u0275styleMapInterpolate3:()=>vp,\u0275\u0275styleMapInterpolate4:()=>yp,\u0275\u0275styleMapInterpolate5:()=>_p,\u0275\u0275styleMapInterpolate6:()=>bp,\u0275\u0275styleMapInterpolate7:()=>Cp,\u0275\u0275styleMapInterpolate8:()=>Ep,\u0275\u0275styleMapInterpolateV:()=>Tp,\u0275\u0275styleProp:()=>Dc,\u0275\u0275stylePropInterpolate1:()=>Nc,\u0275\u0275stylePropInterpolate2:()=>Lc,\u0275\u0275stylePropInterpolate3:()=>jc,\u0275\u0275stylePropInterpolate4:()=>Bc,\u0275\u0275stylePropInterpolate5:()=>Vc,\u0275\u0275stylePropInterpolate6:()=>$c,\u0275\u0275stylePropInterpolate7:()=>Hc,\u0275\u0275stylePropInterpolate8:()=>Uc,\u0275\u0275stylePropInterpolateV:()=>zc,\u0275\u0275syntheticHostListener:()=>hc,\u0275\u0275syntheticHostProperty:()=>Gc,\u0275\u0275template:()=>Eh,\u0275\u0275templateRefExtractor:()=>Km,\u0275\u0275text:()=>op,\u0275\u0275textInterpolate:()=>Sc,\u0275\u0275textInterpolate1:()=>ga,\u0275\u0275textInterpolate2:()=>Oc,\u0275\u0275textInterpolate3:()=>Ic,\u0275\u0275textInterpolate4:()=>Pc,\u0275\u0275textInterpolate5:()=>Ac,\u0275\u0275textInterpolate6:()=>Rc,\u0275\u0275textInterpolate7:()=>xc,\u0275\u0275textInterpolate8:()=>Fc,\u0275\u0275textInterpolateV:()=>kc,\u0275\u0275trustConstantHtml:()=>Fd,\u0275\u0275trustConstantResourceUrl:()=>kd,\u0275\u0275viewQuery:()=>$m});var n=a(7579),h=a(727),y=a(8306),d=a(6451),o=a(3099);function c(e){for(let t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function f(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function p(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(p).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function m(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const u=c({__forward_ref__:c});function _(e){return e.__forward_ref__=_,e.toString=function(){return p(this())},e}function v(e){return b(e)?e():e}function b(e){return"function"==typeof e&&e.hasOwnProperty(u)&&e.__forward_ref__===_}class S extends Error{constructor(t,i){super(function P(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,i)),this.code=t}}function I(e){return"string"==typeof e?e:null==e?"":String(e)}function V(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():I(e)}function H(e,t){const i=t?` in ${t}`:"";throw new S(-201,`No provider for ${V(e)} found${i}`)}function pt(e,t,i,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${i} ${s} ${t} <=Actual]`))}function tt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Le=tt;function Ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function ft(e){return ye(e,Me)||ye(e,Qe)}function ye(e,t){return e.hasOwnProperty(t)?e[t]:null}function ne(e){return e&&(e.hasOwnProperty(ze)||e.hasOwnProperty(xe))?e[ze]:null}const Me=c({\u0275prov:c}),ze=c({\u0275inj:c}),Qe=c({ngInjectableDef:c}),xe=c({ngInjectorDef:c});var L=(()=>((L=L||{})[L.Default=0]="Default",L[L.Host=1]="Host",L[L.Self=2]="Self",L[L.SkipSelf=4]="SkipSelf",L[L.Optional=8]="Optional",L))();let ve;function Je(e){const t=ve;return ve=e,t}function ot(e,t,i){const s=ft(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:i&L.Optional?null:void 0!==t?t:void H(p(e),"Injector")}function Et(e){return{toString:e}.toString()}var At=(()=>((At=At||{})[At.OnPush=0]="OnPush",At[At.Default=1]="Default",At))(),Ue=(()=>((Ue=Ue||{})[Ue.CheckOnce=0]="CheckOnce",Ue[Ue.Checked=1]="Checked",Ue[Ue.CheckAlways=2]="CheckAlways",Ue[Ue.Detached=3]="Detached",Ue[Ue.Errored=4]="Errored",Ue[Ue.Destroyed=5]="Destroyed",Ue))();function Te(e){return null==e||e===At.Default}var Ee=(()=>{return(e=Ee||(Ee={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ee;var e})();const Ye="undefined"!=typeof globalThis&&globalThis,Xe="undefined"!=typeof window&&window,rt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ie=Ye||"undefined"!=typeof global&&global||Xe||rt,Tt={},Ct=[],$t=c({\u0275cmp:c}),Mt=c({\u0275dir:c}),Ht=c({\u0275pipe:c}),ue=c({\u0275mod:c}),q=c({\u0275fac:c}),k=c({__NG_ELEMENT_ID__:c});let W=0;function Q(e){return Et(()=>{const i={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===At.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ct,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ee.Emulated,id:"c",styles:e.styles||Ct,_:null,setInput:null,schemas:e.schemas||null,tView:null},l=e.directives,g=e.features,C=e.pipes;return s.id+=W++,s.inputs=Pe(e.inputs,i),s.outputs=Pe(e.outputs),g&&g.forEach(w=>w(s)),s.directiveDefs=l?()=>("function"==typeof l?l():l).map(N):null,s.pipeDefs=C?()=>("function"==typeof C?C():C).map(fe):null,s})}function U(e,t,i){const s=e.\u0275cmp;s.directiveDefs=()=>t.map(N),s.pipeDefs=()=>i.map(fe)}function N(e){return ke(e)||ct(e)}function fe(e){return xt(e)}const je={};function dt(e){return Et(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ct,declarations:e.declarations||Ct,imports:e.imports||Ct,exports:e.exports||Ct,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(je[e.id]=e.type),t})}function Ft(e,t){return Et(()=>{const i=jt(e,!0);i.declarations=t.declarations||Ct,i.imports=t.imports||Ct,i.exports=t.exports||Ct})}function Pe(e,t){if(null==e)return Tt;const i={};for(const s in e)if(e.hasOwnProperty(s)){let l=e[s],g=l;Array.isArray(l)&&(g=l[1],l=l[0]),i[l]=s,t&&(t[l]=g)}return i}const Re=Q;function ge(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ke(e){return e[$t]||null}function ct(e){return e[Mt]||null}function xt(e){return e[Ht]||null}function jt(e,t){const i=e[ue]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function Mn(e){return Array.isArray(e)&&"object"==typeof e[1]}function jn(e){return Array.isArray(e)&&!0===e[1]}function pi(e){return 0!=(8&e.flags)}function ai(e){return 2==(2&e.flags)}function mi(e){return 1==(1&e.flags)}function Kn(e){return null!==e.template}function ki(e){return 0!=(512&e[2])}function Zn(e,t){return e.hasOwnProperty(q)?e[q]:null}class ji{constructor(t,i,s){this.previousValue=t,this.currentValue=i,this.firstChange=s}isFirstChange(){return this.firstChange}}function Ci(){return Oi}function Oi(e){return e.type.prototype.ngOnChanges&&(e.setInput=jr),pr}function pr(){const e=Ei(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Tt)e.previous=t;else for(let s in t)i[s]=t[s];e.current=null,this.ngOnChanges(t)}}function jr(e,t,i,s){const l=Ei(e)||function Xi(e,t){return e[Ii]=t}(e,{previous:Tt,current:null}),g=l.current||(l.current={}),C=l.previous,w=this.declaredInputs[i],O=C[w];g[w]=new ji(O&&O.currentValue,t,C===Tt),e[s]=t}Ci.ngInherit=!0;const Ii="__ngSimpleChanges__";function Ei(e){return e[Ii]||null}let Bi=null;const qi=e=>{Bi=e},Pn=function(e,t,i){null!=Bi&&Bi(e,t,i)},Vn="math";let ni;function zn(e){ni=e}function Jn(){return void 0!==ni?ni:"undefined"!=typeof document?document:void 0}function Tn(e){return!!e.listen}const F={createRenderer:(e,t)=>Jn()};function x(e){for(;Array.isArray(e);)e=e[0];return e}function ut(e,t){return x(t[e])}function yt(e,t){return x(t[e.index])}function Cn(e,t){return e.data[t]}function cn(e,t){return e[t]}function rn(e,t){const i=t[e];return Mn(i)?i:i[0]}function sn(e){return 4==(4&e[2])}function xn(e){return 128==(128&e[2])}function On(e,t){return null==t?null:e[t]}function B(e){e[18]=0}function R(e,t){e[5]+=t;let i=e,s=e[3];for(;null!==s&&(1===t&&1===i[5]||-1===t&&0===i[5]);)s[5]+=t,i=s,s=s[3]}const M={lFrame:Kt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function li(){return M.bindingsEnabled}function Or(){M.bindingsEnabled=!0}function Ir(){M.bindingsEnabled=!1}function bt(){return M.lFrame.lView}function un(){return M.lFrame.tView}function Ko(e){return M.lFrame.contextLView=e,e[8]}function $n(){let e=Qo();for(;null!==e&&64===e.type;)e=e.parent;return e}function Qo(){return M.lFrame.currentTNode}function Gr(){const e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $i(e,t){const i=M.lFrame;i.currentTNode=e,i.isParent=t}function oo(){return M.lFrame.isParent}function Yo(){M.lFrame.isParent=!1}function Kr(){return M.isInCheckNoChangesMode}function Qr(e){M.isInCheckNoChangesMode=e}function ii(){const e=M.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function tr(){return M.lFrame.bindingIndex}function Rs(e){return M.lFrame.bindingIndex=e}function K(){return M.lFrame.bindingIndex++}function E(e){const t=M.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function A(e){M.lFrame.inI18n=e}function ee(e,t){const i=M.lFrame;i.bindingIndex=i.bindingRootIndex=e,Ne(t)}function Ne(e){M.lFrame.currentDirectiveIndex=e}function Be(e){const t=M.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function nt(){return M.lFrame.currentQueryIndex}function gt(e){M.lFrame.currentQueryIndex=e}function kt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function zt(e,t,i){if(i&L.SkipSelf){let l=t,g=e;for(;!(l=l.parent,null!==l||i&L.Host||(l=kt(g),null===l||(g=g[15],10&l.type))););if(null===l)return!1;t=l,e=g}const s=M.lFrame=an();return s.currentTNode=t,s.lView=e,!0}function Jt(e){const t=an(),i=e[1];M.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function an(){const e=M.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 tn(){const e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const En=tn;function Fn(){const e=tn();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 vn(){return M.lFrame.selectedIndex}function gi(e){M.lFrame.selectedIndex=e}function yn(){const e=M.lFrame;return Cn(e.tView,e.selectedIndex)}function ri(){M.lFrame.currentNamespace="svg"}function Hi(){M.lFrame.currentNamespace=Vn}function Ui(){!function nr(){M.lFrame.currentNamespace=null}()}function zi(e,t){for(let i=t.directiveStart,s=t.directiveEnd;i<s;i++){const g=e.data[i].type.prototype,{ngAfterContentInit:C,ngAfterContentChecked:w,ngAfterViewInit:O,ngAfterViewChecked:$,ngOnDestroy:te}=g;C&&(e.contentHooks||(e.contentHooks=[])).push(-i,C),w&&((e.contentHooks||(e.contentHooks=[])).push(i,w),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(i,w)),O&&(e.viewHooks||(e.viewHooks=[])).push(-i,O),$&&((e.viewHooks||(e.viewHooks=[])).push(i,$),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,$)),null!=te&&(e.destroyHooks||(e.destroyHooks=[])).push(i,te)}}function Zr(e,t,i){Wt(e,t,3,i)}function Jr(e,t,i,s){(3&e[2])===i&&Wt(e,t,i,s)}function Bt(e,t){let i=e[2];(3&i)===t&&(i&=2047,i+=1,e[2]=i)}function Wt(e,t,i,s){const g=null!=s?s:-1,C=t.length-1;let w=0;for(let O=void 0!==s?65535&e[18]:0;O<C;O++)if("number"==typeof t[O+1]){if(w=t[O],null!=s&&w>=s)break}else t[O]<0&&(e[18]+=65536),(w<g||-1==g)&&(Zt(e,i,t,O),e[18]=(4294901760&e[18])+O+2),O++}function Zt(e,t,i,s){const l=i[s]<0,g=i[s+1],w=e[l?-i[s]:i[s]];if(l){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Pn(4,w,g);try{g.call(w)}finally{Pn(5,w,g)}}}else{Pn(4,w,g);try{g.call(w)}finally{Pn(5,w,g)}}}class kn{constructor(t,i,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=s}}function Ai(e,t,i){const s=Tn(e);let l=0;for(;l<i.length;){const g=i[l];if("number"==typeof g){if(0!==g)break;l++;const C=i[l++],w=i[l++],O=i[l++];s?e.setAttribute(t,w,O,C):t.setAttributeNS(C,w,O)}else{const C=g,w=i[++l];Xr(C)?s&&e.setProperty(t,C,w):s?e.setAttribute(t,C,w):t.setAttribute(C,w),l++}}return l}function mr(e){return 3===e||4===e||6===e}function Xr(e){return 64===e.charCodeAt(0)}function ks(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let s=0;s<t.length;s++){const l=t[s];"number"==typeof l?i=l:0===i||Qu(e,i,l,null,-1===i||2===i?t[++s]:null)}}return e}function Qu(e,t,i,s,l){let g=0,C=e.length;if(-1===t)C=-1;else for(;g<e.length;){const w=e[g++];if("number"==typeof w){if(w===t){C=-1;break}if(w>t){C=g-1;break}}}for(;g<e.length;){const w=e[g];if("number"==typeof w)break;if(w===i){if(null===s)return void(null!==l&&(e[g+1]=l));if(s===e[g+1])return void(e[g+2]=l)}g++,null!==s&&g++,null!==l&&g++}-1!==C&&(e.splice(C,0,t),g=C+1),e.splice(g++,0,i),null!==s&&e.splice(g++,0,s),null!==l&&e.splice(g++,0,l)}function Yu(e){return-1!==e}function so(e){return 32767&e}function ao(e,t){let i=function Zg(e){return e>>16}(e),s=t;for(;i>0;)s=s[15],i--;return s}let xa=!0;function Ns(e){const t=xa;return xa=e,t}let Jg=0;function Jo(e,t){const i=ka(e,t);if(-1!==i)return i;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,Fa(s.data,e),Fa(t,null),Fa(s.blueprint,null));const l=Ls(e,t),g=e.injectorIndex;if(Yu(l)){const C=so(l),w=ao(l,t),O=w[1].data;for(let $=0;$<8;$++)t[g+$]=w[C+$]|O[C+$]}return t[g+8]=l,g}function Fa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ka(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ls(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,s=null,l=t;for(;null!==l;){const g=l[1],C=g.type;if(s=2===C?g.declTNode:1===C?l[6]:null,null===s)return-1;if(i++,l=l[15],-1!==s.injectorIndex)return s.injectorIndex|i<<16}return-1}function js(e,t,i){!function Xg(e,t,i){let s;"string"==typeof i?s=i.charCodeAt(0)||0:i.hasOwnProperty(k)&&(s=i[k]),null==s&&(s=i[k]=Jg++);const l=255&s;t.data[e+(l>>5)]|=1<<l}(e,t,i)}function Xu(e,t,i){if(i&L.Optional)return e;H(t,"NodeInjector")}function qu(e,t,i,s){if(i&L.Optional&&void 0===s&&(s=null),0==(i&(L.Self|L.Host))){const l=e[9],g=Je(void 0);try{return l?l.get(t,s,i&L.Optional):ot(t,s,i&L.Optional)}finally{Je(g)}}return Xu(s,t,i)}function ed(e,t,i,s=L.Default,l){if(null!==e){const g=function nv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(k)?e[k]:void 0;return"number"==typeof t?t>=0?255&t:ev:t}(i);if("function"==typeof g){if(!zt(t,e,s))return s&L.Host?Xu(l,i,s):qu(t,i,s,l);try{const C=g(s);if(null!=C||s&L.Optional)return C;H(i)}finally{En()}}else if("number"==typeof g){let C=null,w=ka(e,t),O=-1,$=s&L.Host?t[16][6]:null;for((-1===w||s&L.SkipSelf)&&(O=-1===w?Ls(e,t):t[w+8],-1!==O&&id(s,!1)?(C=t[1],w=so(O),t=ao(O,t)):w=-1);-1!==w;){const te=t[1];if(nd(g,w,te.data)){const Ce=tv(w,t,i,C,s,$);if(Ce!==td)return Ce}O=t[w+8],-1!==O&&id(s,t[1].data[w+8]===$)&&nd(g,w,t)?(C=te,w=so(O),t=ao(O,t)):w=-1}}}return qu(t,i,s,l)}const td={};function ev(){return new lo($n(),bt())}function tv(e,t,i,s,l,g){const C=t[1],w=C.data[e+8],te=Bs(w,C,i,null==s?ai(w)&&xa:s!=C&&0!=(3&w.type),l&L.Host&&g===w);return null!==te?Xo(t,C,te,w):td}function Bs(e,t,i,s,l){const g=e.providerIndexes,C=t.data,w=1048575&g,O=e.directiveStart,te=g>>20,$e=l?w+te:e.directiveEnd;for(let et=s?w:w+te;et<$e;et++){const mt=C[et];if(et<O&&i===mt||et>=O&&mt.type===i)return et}if(l){const et=C[O];if(et&&Kn(et)&&et.type===i)return O}return null}function Xo(e,t,i,s){let l=e[i];const g=t.data;if(function Wi(e){return e instanceof kn}(l)){const C=l;C.resolving&&function J(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${i}`)}(V(g[i]));const w=Ns(C.canSeeViewProviders);C.resolving=!0;const O=C.injectImpl?Je(C.injectImpl):null;zt(e,s,L.Default);try{l=e[i]=C.factory(void 0,g,e,s),t.firstCreatePass&&i>=s.directiveStart&&function Yr(e,t,i){const{ngOnChanges:s,ngOnInit:l,ngDoCheck:g}=t.type.prototype;if(s){const C=Oi(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,C),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,C)}l&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,l),g&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,g),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,g))}(i,g[i],t)}finally{null!==O&&Je(O),Ns(w),C.resolving=!1,En()}}return l}function nd(e,t,i){return!!(i[t+(e>>5)]&1<<e)}function id(e,t){return!(e&L.Self||e&L.Host&&t)}class lo{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,s){return ed(this._tNode,this._lView,t,s,i)}}function rd(e){return Et(()=>{const t=e.prototype.constructor,i=t[q]||Na(t),s=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==s;){const g=l[q]||Na(l);if(g&&g!==i)return g;l=Object.getPrototypeOf(l)}return g=>new g})}function Na(e){return b(e)?()=>{const t=Na(v(e));return t&&t()}:Zn(e)}function La(e){return function qg(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const s=i.length;let l=0;for(;l<s;){const g=i[l];if(mr(g))break;if(0===g)l+=2;else if("number"==typeof g)for(l++;l<s&&"string"==typeof i[l];)l++;else{if(g===t)return i[l+1];l+=2}}}return null}($n(),e)}const co="__annotations__",uo="__parameters__",fo="__prop__metadata__";function ho(e,t,i,s,l){return Et(()=>{const g=ja(t);function C(...w){if(this instanceof C)return g.call(this,...w),this;const O=new C(...w);return function(te){return l&&l(te,...w),(te.hasOwnProperty(co)?te[co]:Object.defineProperty(te,co,{value:[]})[co]).push(O),s&&s(te),te}}return i&&(C.prototype=Object.create(i.prototype)),C.prototype.ngMetadataName=e,C.annotationCls=C,C})}function ja(e){return function(...i){if(e){const s=e(...i);for(const l in s)this[l]=s[l]}}}function po(e,t,i){return Et(()=>{const s=ja(t);function l(...g){if(this instanceof l)return s.apply(this,g),this;const C=new l(...g);return w.annotation=C,w;function w(O,$,te){const Ce=O.hasOwnProperty(uo)?O[uo]:Object.defineProperty(O,uo,{value:[]})[uo];for(;Ce.length<=te;)Ce.push(null);return(Ce[te]=Ce[te]||[]).push(C),O}}return i&&(l.prototype=Object.create(i.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function $r(e,t,i,s){return Et(()=>{const l=ja(t);function g(...C){if(this instanceof g)return l.apply(this,C),this;const w=new g(...C);return function O($,te){const Ce=$.constructor,$e=Ce.hasOwnProperty(fo)?Ce[fo]:Object.defineProperty(Ce,fo,{value:{}})[fo];$e[te]=$e.hasOwnProperty(te)&&$e[te]||[],$e[te].unshift(w),s&&s($,te,...C)}}return i&&(g.prototype=Object.create(i.prototype)),g.prototype.ngMetadataName=e,g.annotationCls=g,g})}const od=po("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>La(e)}));class Wn{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=tt({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}toString(){return`InjectionToken ${this._desc}`}}const iv=new Wn("AnalyzeForEntryComponents");class qo{}const rv=$r("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),qo),ov=$r("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),qo),sv=$r("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),qo),av=$r("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),qo);var Xn=(()=>((Xn=Xn||{})[Xn.Directive=0]="Directive",Xn[Xn.Component=1]="Component",Xn[Xn.Injectable=2]="Injectable",Xn[Xn.Pipe=3]="Pipe",Xn[Xn.NgModule=4]="NgModule",Xn))();function qn(e){const t=Ie.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Vs=Function;function es(e){return"function"==typeof e}function Gi(e,t){void 0===t&&(t=e);for(let i=0;i<e.length;i++){let s=e[i];Array.isArray(s)?(t===e&&(t=e.slice(0,i)),Gi(s,t)):t!==e&&t.push(s)}return t}function gr(e,t){e.forEach(i=>Array.isArray(i)?gr(i,t):t(i))}function ad(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function $s(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ts(e,t){const i=[];for(let s=0;s<e;s++)i.push(t);return i}function Ri(e,t,i){let s=mo(e,t);return s>=0?e[1|s]=i:(s=~s,function uv(e,t,i,s){let l=e.length;if(l==t)e.push(i,s);else if(1===l)e.push(s,e[0]),e[0]=i;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=i,e[t+1]=s}}(e,s,t,i)),s}function Ba(e,t){const i=mo(e,t);if(i>=0)return e[1|i]}function mo(e,t){return function ud(e,t,i){let s=0,l=e.length>>i;for(;l!==s;){const g=s+(l-s>>1),C=e[g<<i];if(t===C)return g<<i;C>t?l=g:s=g+1}return~(l<<i)}(e,t,1)}const dv=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,fv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,hv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,pv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Va{constructor(t){this._reflect=t||Ie.Reflect}isReflectionEnabled(){return!0}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let s;s=ts(void 0===t?i.length:t.length);for(let l=0;l<s.length;l++)s[l]=void 0===t?[]:t[l]&&t[l]!=Object?[t[l]]:[],i&&null!=i[l]&&(s[l]=s[l].concat(i[l]));return s}_ownParameters(t,i){if(function mv(e){return dv.test(e)||pv.test(e)||fv.test(e)&&!hv.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const l=t.ctorParameters;if(l&&l!==i.ctorParameters){const w="function"==typeof l?l():l,O=w.map(te=>te&&te.type),$=w.map(te=>te&&$a(te.decorators));return this._zipTypesAndAnnotations(O,$)}const g=t.hasOwnProperty(uo)&&t[uo],C=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return C||g?this._zipTypesAndAnnotations(C,g):ts(t.length)}parameters(t){if(!es(t))return[];const i=Hs(t);let s=this._ownParameters(t,i);return!s&&i!==Object&&(s=this.parameters(i)),s||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let s=t.annotations;return"function"==typeof s&&s.annotations&&(s=s.annotations),s}return t.decorators&&t.decorators!==i.decorators?$a(t.decorators):t.hasOwnProperty(co)?t[co]:null}annotations(t){if(!es(t))return[];const i=Hs(t),s=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(s)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let s=t.propMetadata;return"function"==typeof s&&s.propMetadata&&(s=s.propMetadata),s}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const s=t.propDecorators,l={};return Object.keys(s).forEach(g=>{l[g]=$a(s[g])}),l}return t.hasOwnProperty(fo)?t[fo]:null}propMetadata(t){if(!es(t))return{};const i=Hs(t),s={};if(i!==Object){const g=this.propMetadata(i);Object.keys(g).forEach(C=>{s[C]=g[C]})}const l=this._ownPropMetadata(t,i);return l&&Object.keys(l).forEach(g=>{const C=[];s.hasOwnProperty(g)&&C.push(...s[g]),C.push(...l[g]),s[g]=C}),s}ownPropMetadata(t){return es(t)&&this._ownPropMetadata(t,Hs(t))||{}}hasLifecycleHook(t,i){return t instanceof Vs&&i in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${p(t)}`}resourceUri(t){return`./${p(t)}`}resolveIdentifier(t,i,s,l){return l}resolveEnum(t,i){return t[i]}}function $a(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Hs(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Hr={},Ha="__NG_DI_FLAG__",Us="ngTempTokenPath",vv=/\n/gm,dd="__source",_v=c({provide:String,useValue:c});let ns;function Ua(e){const t=ns;return ns=e,t}function bv(e,t=L.Default){if(void 0===ns)throw new S(203,"");return null===ns?ot(e,void 0,t):ns.get(e,t&L.Optional?null:void 0,t)}function oi(e,t=L.Default){return(function Fe(){return ve}()||bv)(v(e),t)}function za(e){throw new Error("invalid")}const fd=oi;function Wa(e){const t=[];for(let i=0;i<e.length;i++){const s=v(e[i]);if(Array.isArray(s)){if(0===s.length)throw new S(900,"");let l,g=L.Default;for(let C=0;C<s.length;C++){const w=s[C],O=Cv(w);"number"==typeof O?-1===O?l=w.token:g|=O:l=w}t.push(oi(l,g))}else t.push(oi(s))}return t}function is(e,t){return e[Ha]=t,e.prototype[Ha]=t,e}function Cv(e){return e[Ha]}const zs=is(po("Inject",e=>({token:e})),-1),rs=is(po("Optional"),8),Ws=is(po("Self"),2),go=is(po("SkipSelf"),4),hd=is(po("Host"),1);let pd=null;function Ga(){return pd=pd||new Va}function Gs(e){return md(Ga().parameters(e))}function md(e){return e.map(t=>function Dv(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<e.length;i++){const s=e[i];if(void 0===s)continue;const l=Object.getPrototypeOf(s);if(s instanceof rs||"Optional"===l.ngMetadataName)t.optional=!0;else if(s instanceof go||"SkipSelf"===l.ngMetadataName)t.skipSelf=!0;else if(s instanceof Ws||"Self"===l.ngMetadataName)t.self=!0;else if(s instanceof hd||"Host"===l.ngMetadataName)t.host=!0;else if(s instanceof zs)t.token=s.token;else if(s instanceof od){if(void 0===s.attributeName)throw new Error("Attribute name must be defined.");t.attribute=s.attributeName}else t.token=s}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function gd(e){const t=[],i=new Map;function s(l){let g=i.get(l);if(!g){const C=e(l);i.set(l,g=C.then(Sv))}return g}return vo.forEach((l,g)=>{const C=[];l.templateUrl&&C.push(s(l.templateUrl).then(Ce=>{l.template=Ce}));const w=l.styleUrls,O=l.styles||(l.styles=[]),$=l.styles.length;w&&w.forEach((Ce,$e)=>{O.push(""),C.push(s(Ce).then(et=>{O[$+$e]=et,w.splice(w.indexOf(Ce),1),0==w.length&&(l.styleUrls=void 0)}))});const te=Promise.all(C).then(()=>function Ov(e){os.delete(e)}(g));t.push(te)}),yd(),Promise.all(t).then(()=>{})}let vo=new Map;const os=new Set;function vd(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function yd(){const e=vo;return vo=new Map,e}function Sv(e){return"string"==typeof e?e:e.text()}let Ks,Qs;function Ka(){if(void 0===Ks&&(Ks=null,Ie.trustedTypes))try{Ks=Ie.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ks}function yo(e){var t;return(null===(t=Ka())||void 0===t?void 0:t.createHTML(e))||e}function Qa(){if(void 0===Qs&&(Qs=null,Ie.trustedTypes))try{Qs=Ie.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Qs}function _d(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createHTML(e))||e}function bd(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createScript(e))||e}function Cd(e){var t;return(null===(t=Qa())||void 0===t?void 0:t.createScriptURL(e))||e}class qr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Av extends qr{getTypeName(){return"HTML"}}class Rv extends qr{getTypeName(){return"Style"}}class xv extends qr{getTypeName(){return"Script"}}class Fv extends qr{getTypeName(){return"URL"}}class kv extends qr{getTypeName(){return"ResourceURL"}}function Pr(e){return e instanceof qr?e.changingThisBreaksApplicationSecurity:e}function _o(e,t){const i=Ed(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===t}function Ed(e){return e instanceof qr&&e.getTypeName()||null}function Nv(e){return new Av(e)}function Lv(e){return new Rv(e)}function jv(e){return new xv(e)}function Bv(e){return new Fv(e)}function Vv(e){return new kv(e)}function Td(e){const t=new Hv(e);return function Uv(){try{return!!(new window.DOMParser).parseFromString(yo(""),"text/html")}catch(e){return!1}}()?new $v(t):t}class $v{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(yo(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class Hv{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i);const s=this.inertDocument.createElement("body");i.appendChild(s)}}getInertBodyElement(t){const i=this.inertDocument.createElement("template");if("content"in i)return i.innerHTML=yo(t),i;const s=this.inertDocument.createElement("body");return s.innerHTML=yo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(t){const i=t.attributes;for(let l=i.length-1;0<l;l--){const C=i.item(l).name;("xmlns:ns1"===C||0===C.indexOf("ns1:"))&&t.removeAttribute(C)}let s=t.firstChild;for(;s;)s.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(s),s=s.nextSibling}}const zv=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Wv=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ss(e){return(e=String(e)).match(zv)||e.match(Wv)?e:"unsafe:"+e}function Dd(e){return(e=String(e)).split(",").map(t=>ss(t.trim())).join(", ")}function vr(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function as(...e){const t={};for(const i of e)for(const s in i)i.hasOwnProperty(s)&&(t[s]=!0);return t}const wd=vr("area,br,col,hr,img,wbr"),Md=vr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sd=vr("rp,rt"),Ya=as(wd,as(Md,vr("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")),as(Sd,vr("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")),as(Sd,Md)),Za=vr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ja=vr("srcset"),Od=as(Za,Ja,vr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vr("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")),Gv=vr("script,style,template");class Kv{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,s=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?s=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,s&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let l=this.checkClobberedElement(i,i.nextSibling);if(l){i=l;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Ya.hasOwnProperty(i))return this.sanitizedSomething=!0,!Gv.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const s=t.attributes;for(let l=0;l<s.length;l++){const g=s.item(l),C=g.name,w=C.toLowerCase();if(!Od.hasOwnProperty(w)){this.sanitizedSomething=!0;continue}let O=g.value;Za[w]&&(O=ss(O)),Ja[w]&&(O=Dd(O)),this.buf.push(" ",C,'="',Id(O),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();Ya.hasOwnProperty(i)&&!wd.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(Id(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 Qv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Yv=/([^\#-~ |!])/g;function Id(e){return e.replace(/&/g,"&").replace(Qv,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Yv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ys;function Pd(e,t){let i=null;try{Ys=Ys||Td(e);let s=t?String(t):"";i=Ys.getInertBodyElement(s);let l=5,g=s;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,s=g,g=i.innerHTML,i=Ys.getInertBodyElement(s)}while(s!==g);return yo((new Kv).sanitizeChildren(Xa(i)||i))}finally{if(i){const s=Xa(i)||i;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function Xa(e){return"content"in e&&function Zv(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Gn=(()=>((Gn=Gn||{})[Gn.NONE=0]="NONE",Gn[Gn.HTML=1]="HTML",Gn[Gn.STYLE=2]="STYLE",Gn[Gn.SCRIPT=3]="SCRIPT",Gn[Gn.URL=4]="URL",Gn[Gn.RESOURCE_URL=5]="RESOURCE_URL",Gn))();function Ad(e){const t=ls();return t?_d(t.sanitize(Gn.HTML,e)||""):_o(e,"HTML")?_d(Pr(e)):Pd(Jn(),I(e))}function Rd(e){const t=ls();return t?t.sanitize(Gn.STYLE,e)||"":_o(e,"Style")?Pr(e):I(e)}function qa(e){const t=ls();return t?t.sanitize(Gn.URL,e)||"":_o(e,"URL")?Pr(e):ss(I(e))}function el(e){const t=ls();if(t)return Cd(t.sanitize(Gn.RESOURCE_URL,e)||"");if(_o(e,"ResourceURL"))return Cd(Pr(e));throw new S(904,"")}function xd(e){const t=ls();if(t)return bd(t.sanitize(Gn.SCRIPT,e)||"");if(_o(e,"Script"))return bd(Pr(e));throw new S(905,"")}function Fd(e){return yo(e[0])}function kd(e){return function Pv(e){var t;return(null===(t=Ka())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Nd(e,t,i){return function Jv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?el:qa}(t,i)(e)}function ls(){const e=bt();return e&&e[12]}function ui(e){let t=cs(e);if(t){if(Array.isArray(t)){const i=t;let s,l,g;if(function Xv(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(s=Vd(i,e),-1==s)throw new Error("The provided component was not found in the application");l=e}else if(function qv(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(s=function ty(e,t){let i=e[1].firstChild;for(;i;){const l=i.directiveEnd;for(let g=i.directiveStart;g<l;g++)if(e[g]===t)return i.index;i=ey(i)}return-1}(i,e),-1==s)throw new Error("The provided directive was not found in the application");g=$d(s,i,!1)}else if(s=Bd(i,e),-1==s)return null;const C=x(i[s]),w=cs(C),O=w&&!Array.isArray(w)?w:tl(i,s,C);if(l&&void 0===O.component&&(O.component=l,di(O.component,O)),g&&void 0===O.directives){O.directives=g;for(let $=0;$<g.length;$++)di(g[$],O)}di(O.native,O),t=O}}else{const i=e;let s=i;for(;s=s.parentNode;){const l=cs(s);if(l){let g;if(g=Array.isArray(l)?l:l.lView,!g)return null;const C=Bd(g,i);if(C>=0){const w=x(g[C]),O=tl(g,C,w);di(w,O),t=O;break}}}}return t||null}function tl(e,t,i){return{lView:e,nodeIndex:t,native:i,component:void 0,directives:void 0,localRefs:void 0}}function Ld(e){let i,t=cs(e);if(Array.isArray(t)){const s=Vd(t,e);i=rn(s,t);const l=tl(t,s,i[0]);l.component=e,di(e,l),di(l.native,l)}else i=rn(t.nodeIndex,t.lView);return i}const jd="__ngContext__";function di(e,t){e[jd]=t}function cs(e){return e[jd]||null}function nl(e){const t=cs(e);return t?Array.isArray(t)?t:t.lView:null}function Bd(e,t){const i=e[1];for(let s=20;s<i.bindingStartIndex;s++)if(x(e[s])===t)return s;return-1}function ey(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Vd(e,t){const i=e[1].components;if(i)for(let s=0;s<i.length;s++){const l=i[s];if(rn(l,e)[8]===t)return l}else if(rn(20,e)[8]===t)return 20;return-1}function $d(e,t,i){const s=t[1].data[e];let l=s.directiveStart;return 0==l?Ct:(!i&&2&s.flags&&l++,t.slice(l,s.directiveEnd))}const il="ngOriginalError";function rl(e){return e[il]}function ay(e,...t){e.error(...t)}class Zs{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t),s=function sy(e){return e&&e.ngErrorLogger||ay}(t);s(this._console,"ERROR",t),i&&s(this._console,"ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&rl(t);for(;i&&rl(i);)i=rl(i);return i||null}}const Hd={name:"custom-elements"},Ud={name:"no-errors-schema"},ly=/^>|^->|<!--|-->|--!>|<!-$/g,cy=/(<|>)/;const my=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ie))();function Wd(e){return e.ownerDocument.defaultView}function Gd(e){return e.ownerDocument}function Kd(e){return e.ownerDocument.body}function yr(e){return e instanceof Function?e():e}var _r=(()=>((_r=_r||{})[_r.Important=1]="Important",_r[_r.DashCase=2]="DashCase",_r))();let ol;function sl(e,t){return ol(e,t)}function us(e){const t=e[3];return jn(t)?t[3]:t}function Jd(e){return function Zd(e){let t=Mn(e)?e:nl(e);for(;t&&!(512&t[2]);)t=us(t);return t}(e)[8]}function al(e){return Xd(e[13])}function ll(e){return Xd(e[4])}function Xd(e){for(;null!==e&&!jn(e);)e=e[4];return e}function Co(e,t,i,s,l){if(null!=s){let g,C=!1;jn(s)?g=s:Mn(s)&&(C=!0,s=s[0]);const w=x(s);0===e&&null!==i?null==l?sf(t,i,w):eo(t,i,w,l||null,!0):1===e&&null!==i?eo(t,i,w,l||null,!0):2===e?hf(t,w,C):3===e&&t.destroyNode(w),null!=g&&function Iy(e,t,i,s,l){const g=i[7];g!==x(i)&&Co(t,e,s,g,l);for(let w=10;w<i.length;w++){const O=i[w];ds(O[1],O,e,t,s,g)}}(t,e,g,i,l)}}function cl(e,t){return Tn(e)?e.createText(t):e.createTextNode(t)}function qd(e,t,i){Tn(e)?e.setValue(t,i):t.textContent=i}function vy(e,t){return e.createComment(function zd(e){return e.replace(ly,t=>t.replace(cy,"\u200b$1\u200b"))}(t))}function ul(e,t,i){if(Tn(e))return e.createElement(t,i);{const s=null!==i?function ti(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===Vn?"http://www.w3.org/1998/MathML/":null}(i):null;return null===s?e.createElement(t):e.createElementNS(s,t)}}function ef(e,t){const i=e[9],s=i.indexOf(t),l=t[3];1024&t[2]&&(t[2]&=-1025,R(l,-1)),i.splice(s,1)}function dl(e,t){if(e.length<=10)return;const i=10+t,s=e[i];if(s){const l=s[17];null!==l&&l!==e&&ef(l,s),t>0&&(e[i-1][4]=s[4]);const g=$s(e,10+t);!function yy(e,t){ds(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(s[1],s);const C=g[19];null!==C&&C.detachView(g[1]),s[3]=null,s[4]=null,s[2]&=-129}return s}function tf(e,t){if(!(256&t[2])){const i=t[11];Tn(i)&&i.destroyNode&&ds(e,t,i,3,null,null),function Cy(e){let t=e[13];if(!t)return fl(e[1],e);for(;t;){let i=null;if(Mn(t))i=t[13];else{const s=t[10];s&&(i=s)}if(!i){for(;t&&!t[4]&&t!==e;)Mn(t)&&fl(t[1],t),t=t[3];null===t&&(t=e),Mn(t)&&fl(t[1],t),i=t&&t[4]}t=i}}(t)}}function fl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function wy(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let s=0;s<i.length;s+=2){const l=t[i[s]];if(!(l instanceof kn)){const g=i[s+1];if(Array.isArray(g))for(let C=0;C<g.length;C+=2){const w=l[g[C]],O=g[C+1];Pn(4,w,O);try{O.call(w)}finally{Pn(5,w,O)}}else{Pn(4,l,g);try{g.call(l)}finally{Pn(5,l,g)}}}}}(e,t),function Dy(e,t){const i=e.cleanup,s=t[7];let l=-1;if(null!==i)for(let g=0;g<i.length-1;g+=2)if("string"==typeof i[g]){const C=i[g+1],w="function"==typeof C?C(t):x(t[C]),O=s[l=i[g+2]],$=i[g+3];"boolean"==typeof $?w.removeEventListener(i[g],O,$):$>=0?s[l=$]():s[l=-$].unsubscribe(),g+=2}else{const C=s[l=i[g+1]];i[g].call(C)}if(null!==s){for(let g=l+1;g<s.length;g++)s[g]();t[7]=null}}(e,t),1===t[1].type&&Tn(t[11])&&t[11].destroy();const i=t[17];if(null!==i&&jn(t[3])){i!==t[3]&&ef(i,t);const s=t[19];null!==s&&s.detachView(e)}}}function nf(e,t,i){return rf(e,t.parent,i)}function rf(e,t,i){let s=t;for(;null!==s&&40&s.type;)s=(t=s).parent;if(null===s)return i[0];if(2&s.flags){const l=e.data[s.directiveStart].encapsulation;if(l===Ee.None||l===Ee.Emulated)return null}return yt(s,i)}function eo(e,t,i,s,l){Tn(e)?e.insertBefore(t,i,s,l):t.insertBefore(i,s,l)}function sf(e,t,i){Tn(e)?e.appendChild(t,i):t.appendChild(i)}function af(e,t,i,s,l){null!==s?eo(e,t,i,s,l):sf(e,t,i)}function Js(e,t){return Tn(e)?e.parentNode(t):t.parentNode}function lf(e,t,i){return uf(e,t,i)}function cf(e,t,i){return 40&e.type?yt(e,i):null}let hl,uf=cf;function df(e,t){uf=e,hl=t}function Xs(e,t,i,s){const l=nf(e,s,t),g=t[11],w=lf(s.parent||t[6],s,t);if(null!=l)if(Array.isArray(i))for(let O=0;O<i.length;O++)af(g,l,i[O],w,!1);else af(g,l,i,w,!1);void 0!==hl&&hl(g,s,t,i,l)}function qs(e,t){if(null!==t){const i=t.type;if(3&i)return yt(t,e);if(4&i)return pl(-1,e[t.index]);if(8&i){const s=t.child;if(null!==s)return qs(e,s);{const l=e[t.index];return jn(l)?pl(-1,l):x(l)}}if(32&i)return sl(t,e)()||x(e[t.index]);{const s=ff(e,t);return null!==s?Array.isArray(s)?s[0]:qs(us(e[16]),s):qs(e,t.next)}}return null}function ff(e,t){return null!==t?e[16][6].projection[t.projection]:null}function pl(e,t){const i=10+e+1;if(i<t.length){const s=t[i],l=s[1].firstChild;if(null!==l)return qs(s,l)}return t[7]}function hf(e,t,i){const s=Js(e,t);s&&function My(e,t,i,s){Tn(e)?e.removeChild(t,i,s):t.removeChild(i)}(e,s,t,i)}function ml(e,t,i,s,l,g,C){for(;null!=i;){const w=s[i.index],O=i.type;if(C&&0===t&&(w&&di(x(w),s),i.flags|=4),64!=(64&i.flags))if(8&O)ml(e,t,i.child,s,l,g,!1),Co(t,e,l,w,g);else if(32&O){const $=sl(i,s);let te;for(;te=$();)Co(t,e,l,te,g);Co(t,e,l,w,g)}else 16&O?pf(e,t,s,i,l,g):Co(t,e,l,w,g);i=C?i.projectionNext:i.next}}function ds(e,t,i,s,l,g){ml(i,s,e.firstChild,t,l,g,!1)}function pf(e,t,i,s,l,g){const C=i[16],O=C[6].projection[s.projection];if(Array.isArray(O))for(let $=0;$<O.length;$++)Co(t,e,l,O[$],g);else ml(e,t,O,C[3],l,g,!0)}function mf(e,t,i){Tn(e)?e.setAttribute(t,"style",i):t.style.cssText=i}function gl(e,t,i){Tn(e)?""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i):t.className=i}function gf(e,t,i){let s=e.length;for(;;){const l=e.indexOf(t,i);if(-1===l)return l;if(0===l||e.charCodeAt(l-1)<=32){const g=t.length;if(l+g===s||e.charCodeAt(l+g)<=32)return l}i=l+1}}const vf="ng-template";function Ay(e,t,i){let s=0;for(;s<e.length;){let l=e[s++];if(i&&"class"===l){if(l=e[s],-1!==gf(l.toLowerCase(),t,0))return!0}else if(1===l){for(;s<e.length&&"string"==typeof(l=e[s++]);)if(l.toLowerCase()===t)return!0;return!1}}return!1}function yf(e){return 4===e.type&&e.value!==vf}function Ry(e,t,i){return t===(4!==e.type||i?e.value:vf)}function xy(e,t,i){let s=4;const l=e.attrs||[],g=function Ny(e){for(let t=0;t<e.length;t++)if(mr(e[t]))return t;return e.length}(l);let C=!1;for(let w=0;w<t.length;w++){const O=t[w];if("number"!=typeof O){if(!C)if(4&s){if(s=2|1&s,""!==O&&!Ry(e,O,i)||""===O&&1===t.length){if(ir(s))return!1;C=!0}}else{const $=8&s?O:t[++w];if(8&s&&null!==e.attrs){if(!Ay(e.attrs,$,i)){if(ir(s))return!1;C=!0}continue}const Ce=Fy(8&s?"class":O,l,yf(e),i);if(-1===Ce){if(ir(s))return!1;C=!0;continue}if(""!==$){let $e;$e=Ce>g?"":l[Ce+1].toLowerCase();const et=8&s?$e:null;if(et&&-1!==gf(et,$,0)||2&s&&$!==$e){if(ir(s))return!1;C=!0}}}}else{if(!C&&!ir(s)&&!ir(O))return!1;if(C&&ir(O))continue;C=!1,s=O|1&s}}return ir(s)||C}function ir(e){return 0==(1&e)}function Fy(e,t,i,s){if(null===t)return-1;let l=0;if(s||!i){let g=!1;for(;l<t.length;){const C=t[l];if(C===e)return l;if(3===C||6===C)g=!0;else{if(1===C||2===C){let w=t[++l];for(;"string"==typeof w;)w=t[++l];continue}if(4===C)break;if(0===C){l+=4;continue}}l+=g?1:2}return-1}return function Ly(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const s=e[i];if("number"==typeof s)return-1;if(s===t)return i;i++}return-1}(t,e)}function _f(e,t,i=!1){for(let s=0;s<t.length;s++)if(xy(e,t[s],i))return!0;return!1}function jy(e,t){e:for(let i=0;i<t.length;i++){const s=t[i];if(e.length===s.length){for(let l=0;l<e.length;l++)if(e[l]!==s[l])continue e;return!0}}return!1}function bf(e,t){return e?":not("+t.trim()+")":t}function By(e){let t=e[0],i=1,s=2,l="",g=!1;for(;i<e.length;){let C=e[i];if("string"==typeof C)if(2&s){const w=e[++i];l+="["+C+(w.length>0?'="'+w+'"':"")+"]"}else 8&s?l+="."+C:4&s&&(l+=" "+C);else""!==l&&!ir(C)&&(t+=bf(g,l),l=""),s=C,g=g||!ir(s);i++}return""!==l&&(t+=bf(g,l)),t}const en={};function Cf(e){Ef(un(),bt(),vn()+e,Kr())}function Ef(e,t,i,s){if(!s)if(3==(3&t[2])){const g=e.preOrderCheckHooks;null!==g&&Zr(t,g,i)}else{const g=e.preOrderHooks;null!==g&&Jr(t,g,0,i)}gi(i)}function ea(e,t){return e<<17|t<<2}function rr(e){return e>>17&32767}function vl(e){return 2|e}function Ar(e){return(131068&e)>>2}function yl(e,t){return-131069&e|t<<2}function _l(e){return 1|e}const Sl=(()=>Promise.resolve(null))();function xf(e,t){const i=e.contentQueries;if(null!==i)for(let s=0;s<i.length;s+=2){const l=i[s],g=i[s+1];if(-1!==g){const C=e.data[g];gt(l),C.contentQueries(2,t[g],g)}}}function fs(e,t,i,s,l,g,C,w,O,$){const te=t.blueprint.slice();return te[0]=l,te[2]=140|s,B(te),te[3]=te[15]=e,te[8]=i,te[10]=C||e&&e[10],te[11]=w||e&&e[11],te[12]=O||e&&e[12]||null,te[9]=$||e&&e[9]||null,te[6]=g,te[16]=2==t.type?e[16]:te,te}function Eo(e,t,i,s,l){let g=e.data[t];if(null===g)g=Ol(e,t,i,s,l),function D(){return M.lFrame.inI18n}()&&(g.flags|=64);else if(64&g.type){g.type=i,g.value=s,g.attrs=l;const C=Gr();g.injectorIndex=null===C?-1:C.injectorIndex}return $i(g,!0),g}function Ol(e,t,i,s,l){const g=Qo(),C=oo(),O=e.data[t]=function i_(e,t,i,s,l,g){return{type:i,index:s,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:l,attrs:g,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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,C?g:g&&g.parent,i,t,s,l);return null===e.firstChild&&(e.firstChild=O),null!==g&&(C?null==g.child&&null!==O.parent&&(g.child=O):null===g.next&&(g.next=O)),O}function To(e,t,i,s){if(0===i)return-1;const l=t.length;for(let g=0;g<i;g++)t.push(s),e.blueprint.push(s),e.data.push(null);return l}function hs(e,t,i){Jt(t);try{const s=e.viewQuery;null!==s&&Ll(1,s,i);const l=e.template;null!==l&&Ff(e,t,l,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&xf(e,t),e.staticViewQueries&&Ll(2,e.viewQuery,i);const g=e.components;null!==g&&function e_(e,t){for(let i=0;i<t.length;i++)C_(e,t[i])}(t,g)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),s}finally{t[2]&=-5,Fn()}}function Do(e,t,i,s){const l=t[2];if(256==(256&l))return;Jt(t);const g=Kr();try{B(t),Rs(e.bindingStartIndex),null!==i&&Ff(e,t,i,2,s);const C=3==(3&l);if(!g)if(C){const $=e.preOrderCheckHooks;null!==$&&Zr(t,$,null)}else{const $=e.preOrderHooks;null!==$&&Jr(t,$,0,null),Bt(t,0)}if(function __(e){for(let t=al(e);null!==t;t=ll(t)){if(!t[2])continue;const i=t[9];for(let s=0;s<i.length;s++){const l=i[s],g=l[3];0==(1024&l[2])&&R(g,1),l[2]|=1024}}}(t),function y_(e){for(let t=al(e);null!==t;t=ll(t))for(let i=10;i<t.length;i++){const s=t[i],l=s[1];xn(s)&&Do(l,s,l.template,s[8])}}(t),null!==e.contentQueries&&xf(e,t),!g)if(C){const $=e.contentCheckHooks;null!==$&&Zr(t,$)}else{const $=e.contentHooks;null!==$&&Jr(t,$,1),Bt(t,1)}!function Xy(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let s=0;s<i.length;s++){const l=i[s];if(l<0)gi(~l);else{const g=l,C=i[++s],w=i[++s];ee(C,g),w(2,t[g])}}}finally{gi(-1)}}(e,t);const w=e.components;null!==w&&function qy(e,t){for(let i=0;i<t.length;i++)b_(e,t[i])}(t,w);const O=e.viewQuery;if(null!==O&&Ll(2,O,s),!g)if(C){const $=e.viewCheckHooks;null!==$&&Zr(t,$)}else{const $=e.viewHooks;null!==$&&Jr(t,$,2),Bt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),g||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,R(t[3],-1))}finally{Fn()}}function t_(e,t,i,s){const l=t[10],g=!Kr(),C=sn(t);try{g&&!C&&l.begin&&l.begin(),C&&hs(e,t,s),Do(e,t,i,s)}finally{g&&!C&&l.end&&l.end()}}function Ff(e,t,i,s,l){const g=vn(),C=2&s;try{gi(-1),C&&t.length>20&&Ef(e,t,20,Kr()),Pn(C?2:0,l),i(s,l)}finally{gi(g),Pn(C?3:1,l)}}function kf(e,t,i){if(pi(t)){const l=t.directiveEnd;for(let g=t.directiveStart;g<l;g++){const C=e.data[g];C.contentQueries&&C.contentQueries(1,i[g],g)}}}function Il(e,t,i){!li()||(function u_(e,t,i,s){const l=i.directiveStart,g=i.directiveEnd;e.firstCreatePass||Jo(i,t),di(s,t);const C=i.initialInputs;for(let w=l;w<g;w++){const O=e.data[w],$=Kn(O);$&&m_(t,i,O);const te=Xo(t,e,w,i);di(te,t),null!==C&&g_(0,w-l,te,O,0,C),$&&(rn(i.index,t)[8]=te)}}(e,t,i,yt(i,t)),128==(128&i.flags)&&function d_(e,t,i){const s=i.directiveStart,l=i.directiveEnd,C=i.index,w=function _e(){return M.lFrame.currentDirectiveIndex}();try{gi(C);for(let O=s;O<l;O++){const $=e.data[O],te=t[O];Ne(O),(null!==$.hostBindings||0!==$.hostVars||null!==$.hostAttrs)&&Uf($,te)}}finally{gi(-1),Ne(w)}}(e,t,i))}function Pl(e,t,i=yt){const s=t.localNames;if(null!==s){let l=t.index+1;for(let g=0;g<s.length;g+=2){const C=s[g+1],w=-1===C?i(t,e):e[C];e[l++]=w}}}function Nf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ia(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ia(e,t,i,s,l,g,C,w,O,$){const te=20+s,Ce=te+l,$e=function n_(e,t){const i=[];for(let s=0;s<t;s++)i.push(s<e?null:en);return i}(te,Ce),et="function"==typeof $?$():$;return $e[1]={type:e,blueprint:$e,template:i,queries:null,viewQuery:w,declTNode:t,data:$e.slice().fill(null,te),bindingStartIndex:te,expandoStartIndex:Ce,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof g?g():g,pipeRegistry:"function"==typeof C?C():C,firstChild:null,schemas:O,consts:et,incompleteFirstPass:!1}}function jf(e,t,i){if(Tn(e))return e.selectRootElement(t,i===Ee.ShadowDom);let s="string"==typeof t?e.querySelector(t):t;return s.textContent="",s}function Bf(e,t,i,s){const l=Yf(t);null===i?l.push(s):(l.push(i),e.firstCreatePass&&Zf(e).push(s,l.length-1))}function Vf(e,t,i){for(let s in e)if(e.hasOwnProperty(s)){const l=e[s];(i=null===i?{}:i).hasOwnProperty(s)?i[s].push(t,l):i[s]=[t,l]}return i}function xi(e,t,i,s,l,g,C,w){const O=yt(t,i);let te,$=t.inputs;!w&&null!=$&&(te=$[s])?(qf(e,i,te,s,l),ai(t)&&function s_(e,t){const i=rn(t,e);16&i[2]||(i[2]|=64)}(i,t.index)):3&t.type&&(s=function o_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(s),l=null!=C?C(l,t.value||"",s):l,Tn(g)?g.setProperty(O,s,l):Xr(s)||(O.setProperty?O.setProperty(s,l):O[s]=l))}function Al(e,t,i,s){let l=!1;if(li()){const g=function f_(e,t,i){const s=e.directiveRegistry;let l=null;if(s)for(let g=0;g<s.length;g++){const C=s[g];_f(i,C.selectors,!1)&&(l||(l=[]),js(Jo(i,t),e,C.type),Kn(C)?(zf(e,i),l.unshift(C)):l.push(C))}return l}(e,t,i),C=null===s?null:{"":-1};if(null!==g){l=!0,Wf(i,e.data.length,g.length);for(let te=0;te<g.length;te++){const Ce=g[te];Ce.providersResolver&&Ce.providersResolver(Ce)}let w=!1,O=!1,$=To(e,t,g.length,null);for(let te=0;te<g.length;te++){const Ce=g[te];i.mergedAttrs=ks(i.mergedAttrs,Ce.hostAttrs),Gf(e,i,t,$,Ce),p_($,Ce,C),null!==Ce.contentQueries&&(i.flags|=8),(null!==Ce.hostBindings||null!==Ce.hostAttrs||0!==Ce.hostVars)&&(i.flags|=128);const $e=Ce.type.prototype;!w&&($e.ngOnChanges||$e.ngOnInit||$e.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i.index),w=!0),!O&&($e.ngOnChanges||$e.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i.index),O=!0),$++}!function r_(e,t){const s=t.directiveEnd,l=e.data,g=t.attrs,C=[];let w=null,O=null;for(let $=t.directiveStart;$<s;$++){const te=l[$],Ce=te.inputs,$e=null===g||yf(t)?null:v_(Ce,g);C.push($e),w=Vf(Ce,$,w),O=Vf(te.outputs,$,O)}null!==w&&(w.hasOwnProperty("class")&&(t.flags|=16),w.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=C,t.inputs=w,t.outputs=O}(e,i)}C&&function h_(e,t,i){if(t){const s=e.localNames=[];for(let l=0;l<t.length;l+=2){const g=i[t[l+1]];if(null==g)throw new S(-301,!1);s.push(t[l],g)}}}(i,s,C)}return i.mergedAttrs=ks(i.mergedAttrs,i.attrs),l}function Hf(e,t,i,s,l,g){const C=g.hostBindings;if(C){let w=e.hostBindingOpCodes;null===w&&(w=e.hostBindingOpCodes=[]);const O=~t.index;(function c_(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(w)!=O&&w.push(O),w.push(s,l,C)}}function Uf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function zf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function p_(e,t,i){if(i){if(t.exportAs)for(let s=0;s<t.exportAs.length;s++)i[t.exportAs[s]]=e;Kn(t)&&(i[""]=e)}}function Wf(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function Gf(e,t,i,s,l){e.data[s]=l;const g=l.factory||(l.factory=Zn(l.type)),C=new kn(g,Kn(l),null);e.blueprint[s]=C,i[s]=C,Hf(e,t,0,s,To(e,i,l.hostVars,en),l)}function m_(e,t,i){const s=yt(t,e),l=Nf(i),g=e[10],C=ra(e,fs(e,l,null,i.onPush?64:16,s,t,g,g.createRenderer(s,i),null,null));e[t.index]=C}function br(e,t,i,s,l,g){const C=yt(e,t);Rl(t[11],C,g,e.value,i,s,l)}function Rl(e,t,i,s,l,g,C){if(null==g)Tn(e)?e.removeAttribute(t,l,i):t.removeAttribute(l);else{const w=null==C?I(g):C(g,s||"",l);Tn(e)?e.setAttribute(t,l,w,i):i?t.setAttributeNS(i,l,w):t.setAttribute(l,w)}}function g_(e,t,i,s,l,g){const C=g[t];if(null!==C){const w=s.setInput;for(let O=0;O<C.length;){const $=C[O++],te=C[O++],Ce=C[O++];null!==w?s.setInput(i,Ce,$,te):i[te]=Ce}}}function v_(e,t){let i=null,s=0;for(;s<t.length;){const l=t[s];if(0!==l)if(5!==l){if("number"==typeof l)break;e.hasOwnProperty(l)&&(null===i&&(i=[]),i.push(l,e[l],t[s+1])),s+=2}else s+=2;else s+=4}return i}function Kf(e,t,i,s){return new Array(e,!0,!1,t,null,0,s,i,null,null)}function b_(e,t){const i=rn(t,e);if(xn(i)){const s=i[1];80&i[2]?Do(s,i,s.template,i[8]):i[5]>0&&xl(i)}}function xl(e){for(let s=al(e);null!==s;s=ll(s))for(let l=10;l<s.length;l++){const g=s[l];if(1024&g[2]){const C=g[1];Do(C,g,C.template,g[8])}else g[5]>0&&xl(g)}const i=e[1].components;if(null!==i)for(let s=0;s<i.length;s++){const l=rn(i[s],e);xn(l)&&l[5]>0&&xl(l)}}function C_(e,t){const i=rn(t,e),s=i[1];(function E_(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])})(s,i),hs(s,i,i[8])}function ra(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Fl(e){for(;e;){e[2]|=64;const t=us(e);if(ki(e)&&!t)return e;e=t}return null}function kl(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],s=nl(i),l=s[1];t_(l,s,l.template,i)}}function Nl(e,t,i){const s=t[10];s.begin&&s.begin();try{Do(e,t,e.template,i)}catch(l){throw Xf(t,l),l}finally{s.end&&s.end()}}function Qf(e){kl(e[8])}function Ll(e,t,i){gt(0),t(e,i)}const M_=Sl;function Yf(e){return e[7]||(e[7]=[])}function Zf(e){return e.cleanup||(e.cleanup=[])}function Jf(e,t,i){return(null===e||Kn(e))&&(i=function he(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(i[t.index])),i[11]}function Xf(e,t){const i=e[9],s=i?i.get(Zs,null):null;s&&s.handleError(t)}function qf(e,t,i,s,l){for(let g=0;g<i.length;){const C=i[g++],w=i[g++],O=t[C],$=e.data[C];null!==$.setInput?$.setInput(O,l,s,w):O[w]=l}}function Rr(e,t,i){const s=ut(t,e);qd(e[11],s,i)}function oa(e,t,i){let s=i?e.styles:null,l=i?e.classes:null,g=0;if(null!==t)for(let C=0;C<t.length;C++){const w=t[C];"number"==typeof w?g=w:1==g?l=m(l,w):2==g&&(s=m(s,w+": "+t[++C]+";"))}i?e.styles=s:e.stylesWithoutHost=s,i?e.classes=l:e.classesWithoutHost=l}function eh(e){const t=Ld(e);Nl(t[1],t,e)}function th(e){!function T_(e,t){if(0===e.flags&&e.clean==Sl){let s;e.flags|=t,e.clean=new Promise(l=>s=l),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,kl(e)),2&e.flags){e.flags&=-3;const l=e.playerHandler;l&&l.flushPlayers()}e.clean=Sl,s(null)})}}(Fl(Ld(e))[8],1)}const sa=new Wn("INJECTOR",-1);class nh{get(t,i=Hr){if(i===Hr){const s=new Error(`NullInjectorError: No provider for ${p(t)}!`);throw s.name="NullInjectorError",s}return i}}const jl=new Wn("Set Injector scope."),ps={},S_={};let Bl;function ih(){return void 0===Bl&&(Bl=new nh),Bl}function Vl(e,t=null,i=null,s){const l=rh(e,t,i,s);return l._resolveInjectorDefTypes(),l}function rh(e,t=null,i=null,s){return new O_(e,i,t||ih(),s)}class O_{constructor(t,i,s,l=null){this.parent=s,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const g=[];i&&gr(i,w=>this.processProvider(w,t,i)),gr([t],w=>this.processInjectorType(w,[],g)),this.records.set(sa,wo(void 0,this));const C=this.records.get(jl);this.scope=null!=C?C.value:null,this.source=l||("object"==typeof t?null:p(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,i=Hr,s=L.Default){this.assertNotDestroyed();const l=Ua(this),g=Je(void 0);try{if(!(s&L.SkipSelf)){let w=this.records.get(t);if(void 0===w){const O=function N_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Wn}(t)&&ft(t);w=O&&this.injectableDefInScope(O)?wo($l(t),ps):null,this.records.set(t,w)}if(null!=w)return this.hydrate(t,w)}return(s&L.Self?ih():this.parent).get(t,i=s&L.Optional&&i===Hr?null:i)}catch(C){if("NullInjectorError"===C.name){if((C[Us]=C[Us]||[]).unshift(p(t)),l)throw C;return function Ev(e,t,i,s){const l=e[Us];throw t[dd]&&l.unshift(t[dd]),e.message=function Tv(e,t,i,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let l=p(t);if(Array.isArray(t))l=t.map(p).join(" -> ");else if("object"==typeof t){let g=[];for(let C in t)if(t.hasOwnProperty(C)){let w=t[C];g.push(C+":"+("string"==typeof w?JSON.stringify(w):p(w)))}l=`{${g.join(", ")}}`}return`${i}${s?"("+s+")":""}[${l}]: ${e.replace(vv,"\n ")}`}("\n"+e.message,l,i,s),e.ngTokenPath=l,e[Us]=null,e}(C,t,"R3InjectorError",this.source)}throw C}finally{Je(g),Ua(l)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((s,l)=>t.push(p(l))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processInjectorType(t,i,s){if(!(t=v(t)))return!1;let l=ne(t);const g=null==l&&t.ngModule||void 0,C=void 0===g?t:g,w=-1!==s.indexOf(C);if(void 0!==g&&(l=ne(g)),null==l)return!1;if(null!=l.imports&&!w){let te;s.push(C);try{gr(l.imports,Ce=>{this.processInjectorType(Ce,i,s)&&(void 0===te&&(te=[]),te.push(Ce))})}finally{}if(void 0!==te)for(let Ce=0;Ce<te.length;Ce++){const{ngModule:$e,providers:et}=te[Ce];gr(et,mt=>this.processProvider(mt,$e,et||Ct))}}this.injectorDefTypes.add(C);const O=Zn(C)||(()=>new C);this.records.set(C,wo(O,ps));const $=l.providers;if(null!=$&&!w){const te=t;gr($,Ce=>this.processProvider(Ce,te,$))}return void 0!==g&&void 0!==t.providers}processProvider(t,i,s){let l=Mo(t=v(t))?t:v(t&&t.provide);const g=function P_(e,t,i){return sh(e)?wo(void 0,e.useValue):wo(oh(e),ps)}(t);if(Mo(t)||!0!==t.multi)this.records.get(l);else{let C=this.records.get(l);C||(C=wo(void 0,ps,!0),C.factory=()=>Wa(C.multi),this.records.set(l,C)),l=t,C.multi.push(t)}this.records.set(l,g)}hydrate(t,i){return i.value===ps&&(i.value=S_,i.value=i.factory()),"object"==typeof i.value&&i.value&&function k_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this.onDestroy.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=v(t.providedIn);return"string"==typeof i?"any"===i||i===this.scope:this.injectorDefTypes.has(i)}}function $l(e){const t=ft(e),i=null!==t?t.factory:Zn(e);if(null!==i)return i;if(e instanceof Wn)throw new S(204,!1);if(e instanceof Function)return function I_(e){const t=e.length;if(t>0)throw ts(t,"?"),new S(204,!1);const i=function Se(e){const t=e&&(e[Me]||e[Qe]);if(t){const i=function j(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new S(204,!1)}function oh(e,t,i){let s;if(Mo(e)){const l=v(e);return Zn(l)||$l(l)}if(sh(e))s=()=>v(e.useValue);else if(function R_(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...Wa(e.deps||[]));else if(function A_(e){return!(!e||!e.useExisting)}(e))s=()=>oi(v(e.useExisting));else{const l=v(e&&(e.useClass||e.provide));if(!function F_(e){return!!e.deps}(e))return Zn(l)||$l(l);s=()=>new l(...Wa(e.deps))}return s}function wo(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function sh(e){return null!==e&&"object"==typeof e&&_v in e}function Mo(e){return"function"==typeof e}let Ki=(()=>{class e{static create(i,s){var l;if(Array.isArray(i))return Vl({name:""},s,i,"");{const g=null!==(l=i.name)&&void 0!==l?l:"";return Vl({name:g},i.parent,i.providers,g)}}}return e.THROW_IF_NOT_FOUND=Hr,e.NULL=new nh,e.\u0275prov=tt({token:e,providedIn:"any",factory:()=>oi(sa)}),e.__NG_ELEMENT_ID__=-1,e})();function Hl(e){zl(e);const t=ui(e);return null===t?null:(void 0===t.component&&(t.component=function ny(e,t){const i=t[1].data[e];return 2&i.flags?t[i.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function ah(e){zl(e);const t=ui(e);return null===t?null:t.lView[8]}function lh(e){const t=ui(e);if(null===t)return null;let s,i=t.lView;for(;2===i[1].type&&(s=us(i));)i=s;return 512&i[2]?null:i[8]}function ch(e){return[...Jd(e).components]}function uh(e){const t=ui(e);return null===t?Ki.NULL:new lo(t.lView[1].data[t.nodeIndex],t.lView)}function dh(e){if(e instanceof Text)return[];const t=ui(e);if(null===t)return[];const i=t.lView,s=i[1],l=t.nodeIndex;return(null==s?void 0:s.data[l])?(void 0===t.directives&&(t.directives=$d(l,i,!1)),null===t.directives?[]:[...t.directives]):[]}function j_(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=ke(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?At.OnPush:At.Default};const s=ct(t);return s?{inputs:s.inputs,outputs:s.outputs}:null}function Ul(e){return ui(e).native}function fh(e){zl(e);const t=ui(e);if(null===t)return[];const i=t.lView,l=i[7],g=i[1].cleanup,C=[];if(g&&l)for(let w=0;w<g.length;){const O=g[w++],$=g[w++];if("string"==typeof O){const te=O,Ce=x(i[$]),$e=l[g[w++]],et=g[w++],mt="boolean"==typeof et||et>=0?"dom":"output",It="boolean"==typeof et&&et;e==Ce&&C.push({element:e,name:te,callback:$e,useCapture:It,type:mt})}}return C.sort(V_),C}function V_(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function $_(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function zl(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function H_(e){th(e),ch(e).forEach(t=>eh(t))}let ph=!1;function U_(){ph||(ph=!0,Qi("\u0275setProfiler",qi),Qi("getDirectiveMetadata",j_),Qi("getComponent",Hl),Qi("getContext",ah),Qi("getListeners",fh),Qi("getOwningComponent",lh),Qi("getHostElement",Ul),Qi("getInjector",uh),Qi("getRootComponents",ch),Qi("getDirectives",dh),Qi("applyChanges",H_))}function Qi(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=Ie;if(i){let s=i.ng;s||(s=i.ng={}),s[e]=t}}}function z_(e,t={}){const i=t.rendererFactory||F,s=t.sanitizer||null,l=ke(e);l.type!=e&&(l.type=e);const g=l.selectors[0][0],w=jf(i.createRenderer(null,null),t.host||g,l.encapsulation),O=l.onPush?576:528,$=vh(t.scheduler,t.playerHandler),te=i.createRenderer(w,l),Ce=ia(0,null,null,1,0,null,null,null,null,null),$e=fs(null,Ce,$,O,null,null,i,te,null,t.injector||null);let et;Jt($e);try{i.begin&&i.begin(),et=gh(mh(w,l,$e,i,te,s),l,$e,$,t.hostFeatures||null),hs(Ce,$e,null),Do(Ce,$e,null,null)}finally{Fn(),i.end&&i.end()}return et}function mh(e,t,i,s,l,g){const C=i[1];i[20]=e;const O=Eo(C,20,2,"#host",null),$=O.mergedAttrs=t.hostAttrs;null!==$&&(oa(O,$,!0),null!==e&&(Ai(l,e,$),null!==O.classes&&gl(l,e,O.classes),null!==O.styles&&mf(l,e,O.styles)));const te=s.createRenderer(e,t),Ce=fs(i,Nf(t),null,t.onPush?64:16,i[20],O,s,te,g||null,null);return C.firstCreatePass&&(js(Jo(O,i),C,t.type),zf(C,O),Wf(O,i.length,1)),ra(i,Ce),i[20]=Ce}function gh(e,t,i,s,l){const g=i[1],C=function l_(e,t,i){const s=$n();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Gf(e,s,t,To(e,t,1,null),i));const l=Xo(t,e,s.directiveStart,s);di(l,t);const g=yt(s,t);return g&&di(g,t),l}(g,i,t);if(s.components.push(C),e[8]=C,l&&l.forEach(O=>O(C,t)),t.contentQueries){const O=$n();t.contentQueries(1,C,O.directiveStart)}const w=$n();return!g.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(gi(w.index),Hf(i[1],w,0,w.directiveStart,w.directiveEnd,t),Uf(t,C)),C}function vh(e,t){return{components:[],scheduler:e||my,clean:M_,playerHandler:t||null,flags:0}}function yh(e,t){zi(nl(e)[1],$n())}function W_(e){return Jd(e).clean}function _h(e){return Object.getPrototypeOf(e.prototype).constructor}function Wl(e){let t=_h(e.type),i=!0;const s=[e];for(;t;){let l;if(Kn(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,"");l=t.\u0275dir}if(l){if(i){s.push(l);const C=e;C.inputs=Gl(e.inputs),C.declaredInputs=Gl(e.declaredInputs),C.outputs=Gl(e.outputs);const w=l.hostBindings;w&&Y_(e,w);const O=l.viewQuery,$=l.contentQueries;if(O&&K_(e,O),$&&Q_(e,$),f(e.inputs,l.inputs),f(e.declaredInputs,l.declaredInputs),f(e.outputs,l.outputs),Kn(l)&&l.data.animation){const te=e.data;te.animation=(te.animation||[]).concat(l.data.animation)}}const g=l.features;if(g)for(let C=0;C<g.length;C++){const w=g[C];w&&w.ngInherit&&w(e),w===Wl&&(i=!1)}}t=Object.getPrototypeOf(t)}!function G_(e){let t=0,i=null;for(let s=e.length-1;s>=0;s--){const l=e[s];l.hostVars=t+=l.hostVars,l.hostAttrs=ks(l.hostAttrs,i=ks(i,l.hostAttrs))}}(s)}function Gl(e){return e===Tt?{}:e===Ct?[]:e}function K_(e,t){const i=e.viewQuery;e.viewQuery=i?(s,l)=>{t(s,l),i(s,l)}:t}function Q_(e,t){const i=e.contentQueries;e.contentQueries=i?(s,l,g)=>{t(s,l,g),i(s,l,g)}:t}function Y_(e,t){const i=e.hostBindings;e.hostBindings=i?(s,l)=>{t(s,l),i(s,l)}:t}const Z_=["providersResolver"],J_=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function bh(e){let i,t=_h(e.type);i=Kn(e)?t.\u0275cmp:t.\u0275dir;const s=e;for(const l of Z_)s[l]=i[l];if(Kn(i))for(const l of J_)s[l]=i[l]}let aa=null;function So(){if(!aa){const e=Ie.Symbol;if(e&&e.iterator)aa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let i=0;i<t.length;++i){const s=t[i];"entries"!==s&&"size"!==s&&Map.prototype[s]===Map.prototype.entries&&(aa=s)}}}return aa}function Ch(e,t){const i=ms(e),s=ms(t);return i&&s?function X_(e,t,i){const s=e[So()](),l=t[So()]();for(;;){const g=s.next(),C=l.next();if(g.done&&C.done)return!0;if(g.done||C.done||!i(g.value,C.value))return!1}}(e,t,Ch):!(i||!e||"object"!=typeof e&&"function"!=typeof e||s||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function ms(e){return!!Kl(e)&&(Array.isArray(e)||!(e instanceof Map)&&So()in e)}function Kl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Cr(e,t,i){return e[t]=i}function gs(e,t){return e[t]}function fi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function to(e,t,i,s){const l=fi(e,t,i);return fi(e,t+1,s)||l}function la(e,t,i,s,l){const g=to(e,t,i,s);return fi(e,t+2,l)||g}function Yi(e,t,i,s,l,g){const C=to(e,t,i,s);return to(e,t+2,l,g)||C}function Ql(e,t,i,s){const l=bt();return fi(l,K(),t)&&(un(),br(yn(),l,e,t,i,s)),Ql}function Oo(e,t){let i=!1,s=tr();for(let g=1;g<t.length;g+=2)i=fi(e,s++,t[g])||i;if(Rs(s),!i)return en;let l=t[0];for(let g=1;g<t.length;g+=2)l+=I(t[g])+t[g+1];return l}function Io(e,t,i,s){return fi(e,K(),i)?t+I(i)+s:en}function Po(e,t,i,s,l,g){const w=to(e,tr(),i,l);return E(2),w?t+I(i)+s+I(l)+g:en}function Ao(e,t,i,s,l,g,C,w){const $=la(e,tr(),i,l,C);return E(3),$?t+I(i)+s+I(l)+g+I(C)+w:en}function Ro(e,t,i,s,l,g,C,w,O,$){const Ce=Yi(e,tr(),i,l,C,O);return E(4),Ce?t+I(i)+s+I(l)+g+I(C)+w+I(O)+$:en}function xo(e,t,i,s,l,g,C,w,O,$,te,Ce){const $e=tr();let et=Yi(e,$e,i,l,C,O);return et=fi(e,$e+4,te)||et,E(5),et?t+I(i)+s+I(l)+g+I(C)+w+I(O)+$+I(te)+Ce:en}function Fo(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et){const mt=tr();let It=Yi(e,mt,i,l,C,O);return It=to(e,mt+4,te,$e)||It,E(6),It?t+I(i)+s+I(l)+g+I(C)+w+I(O)+$+I(te)+Ce+I($e)+et:en}function ko(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It){const Rt=tr();let Vt=Yi(e,Rt,i,l,C,O);return Vt=la(e,Rt+4,te,$e,mt)||Vt,E(7),Vt?t+I(i)+s+I(l)+g+I(C)+w+I(O)+$+I(te)+Ce+I($e)+et+I(mt)+It:en}function No(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt,Vt){const _t=tr();let Gt=Yi(e,_t,i,l,C,O);return Gt=Yi(e,_t+4,te,$e,mt,Rt)||Gt,E(8),Gt?t+I(i)+s+I(l)+g+I(C)+w+I(O)+$+I(te)+Ce+I($e)+et+I(mt)+It+I(Rt)+Vt:en}function Yl(e,t,i,s,l,g){const C=bt(),w=Io(C,t,i,s);return w!==en&&br(yn(),C,e,w,l,g),Yl}function Zl(e,t,i,s,l,g,C,w){const O=bt(),$=Po(O,t,i,s,l,g);return $!==en&&br(yn(),O,e,$,C,w),Zl}function Jl(e,t,i,s,l,g,C,w,O,$){const te=bt(),Ce=Ao(te,t,i,s,l,g,C,w);return Ce!==en&&br(yn(),te,e,Ce,O,$),Jl}function Xl(e,t,i,s,l,g,C,w,O,$,te,Ce){const $e=bt(),et=Ro($e,t,i,s,l,g,C,w,O,$);return et!==en&&br(yn(),$e,e,et,te,Ce),Xl}function ql(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et){const mt=bt(),It=xo(mt,t,i,s,l,g,C,w,O,$,te,Ce);return It!==en&&br(yn(),mt,e,It,$e,et),ql}function ec(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It){const Rt=bt(),Vt=Fo(Rt,t,i,s,l,g,C,w,O,$,te,Ce,$e,et);return Vt!==en&&br(yn(),Rt,e,Vt,mt,It),ec}function tc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt,Vt){const _t=bt(),Gt=ko(_t,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It);return Gt!==en&&br(yn(),_t,e,Gt,Rt,Vt),tc}function nc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt,Vt,_t,Gt){const dn=bt(),Dn=No(dn,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt,Vt);return Dn!==en&&br(yn(),dn,e,Dn,_t,Gt),nc}function ic(e,t,i,s){const l=bt(),g=Oo(l,t);return g!==en&&br(yn(),l,e,g,i,s),ic}function Eh(e,t,i,s,l,g,C,w){const O=bt(),$=un(),te=e+20,Ce=$.firstCreatePass?function eb(e,t,i,s,l,g,C,w,O){const $=t.consts,te=Eo(t,e,4,C||null,On($,w));Al(t,i,te,On($,O)),zi(t,te);const Ce=te.tViews=ia(2,te,s,l,g,t.directiveRegistry,t.pipeRegistry,null,t.schemas,$);return null!==t.queries&&(t.queries.template(t,te),Ce.queries=t.queries.embeddedTView(te)),te}(te,$,O,t,i,s,l,g,C):$.data[te];$i(Ce,!1);const $e=O[11].createComment("");Xs($,O,$e,Ce),di($e,O),ra(O,O[te]=Kf($e,O,$e,Ce)),mi(Ce)&&Il($,O,Ce),null!=C&&Pl(O,Ce,w)}function Th(e,t,i,s){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=s}function Dh(e){return cn(function Zo(){return M.lFrame.contextLView}(),20+e)}const wh={\u0275\u0275defineInjectable:tt,\u0275\u0275defineInjector:Ke,\u0275\u0275inject:oi,\u0275\u0275invalidFactoryDep:za,resolveForwardRef:v};const nb=c({provide:String,useValue:c});function Mh(e){return void 0!==e.useClass}function Sh(e){return void 0!==e.useFactory}const sb=ho("Injectable",void 0,void 0,void 0,(e,t)=>function tb(e,t){let i=null,s=null;e.hasOwnProperty(Me)||Object.defineProperty(e,Me,{get:()=>(null===i&&(i=qn().compileInjectable(wh,`ng:///${e.name}/\u0275prov.js`,function ob(e,t){const i=t||{providedIn:null},s={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Mh(i)||Sh(i))&&void 0!==i.deps&&(s.deps=md(i.deps)),Mh(i)?s.useClass=i.useClass:function ib(e){return nb in e}(i)?s.useValue=i.useValue:Sh(i)?s.useFactory=i.useFactory:function rb(e){return void 0!==e.useExisting}(i)&&(s.useExisting=i.useExisting),s}(e,t))),i)}),e.hasOwnProperty(q)||Object.defineProperty(e,q,{get:()=>{if(null===s){const l=qn();s=l.compileFactory(wh,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Gs(e),target:l.FactoryTarget.Injectable})}return s},configurable:!0})}(e,t));function rc(e){return e.length>1?" ("+function ab(e){const t=[];for(let i=0;i<e.length;++i){if(t.indexOf(e[i])>-1)return t.push(e[i]),t;t.push(e[i])}return t}(e.slice().reverse()).map(s=>p(s.token)).join(" -> ")+")":""}function oc(e,t,i,s){const l=[t],g=i(l),C=s?function oy(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,s=Error(i);return s[il]=t,s}(g,s):Error(g);return C.addKey=lb,C.keys=l,C.injectors=[e],C.constructResolvingMessage=i,C[il]=s,C}function lb(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Oh(e,t){const i=[];for(let s=0,l=t.length;s<l;s++){const g=t[s];i.push(g&&0!=g.length?g.map(p).join(" "):"?")}return Error("Cannot resolve all parameters for '"+p(e)+"'("+i.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+p(e)+"' is decorated with Injectable.")}function pb(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class xr{constructor(t,i){if(this.token=t,this.id=i,!t)throw new Error("Token must be defined!");this.displayName=p(this.token)}static get(t){return Ih.get(v(t))}static get numberOfKeys(){return Ih.numberOfKeys}}class mb{constructor(){this._allKeys=new Map}get(t){if(t instanceof xr)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const i=new xr(t,xr.numberOfKeys);return this._allKeys.set(t,i),i}get numberOfKeys(){return this._allKeys.size}}const Ih=new mb;class gb{constructor(t){this.reflectionCapabilities=t}updateCapabilities(t){this.reflectionCapabilities=t}factory(t){return this.reflectionCapabilities.factory(t)}parameters(t){return this.reflectionCapabilities.parameters(t)}annotations(t){return this.reflectionCapabilities.annotations(t)}propMetadata(t){return this.reflectionCapabilities.propMetadata(t)}hasLifecycleHook(t,i){return this.reflectionCapabilities.hasLifecycleHook(t,i)}getter(t){return this.reflectionCapabilities.getter(t)}setter(t){return this.reflectionCapabilities.setter(t)}method(t){return this.reflectionCapabilities.method(t)}importUri(t){return this.reflectionCapabilities.importUri(t)}resourceUri(t){return this.reflectionCapabilities.resourceUri(t)}resolveIdentifier(t,i,s,l){return this.reflectionCapabilities.resolveIdentifier(t,i,s,l)}resolveEnum(t,i){return this.reflectionCapabilities.resolveEnum(t,i)}}const Ph=new gb(new Va);class ca{constructor(t,i,s){this.key=t,this.optional=i,this.visibility=s}static fromKey(t){return new ca(t,!1,null)}}const vb=[];class Ah{constructor(t,i,s){this.key=t,this.resolvedFactories=i,this.multiProvider=s,this.resolvedFactory=this.resolvedFactories[0]}}class Rh{constructor(t,i){this.factory=t,this.dependencies=i}}function yb(e){let t,i;if(e.useClass){const s=v(e.useClass);t=Ph.factory(s),i=Fh(s)}else e.useExisting?(t=s=>s,i=[ca.fromKey(xr.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function Eb(e,t){if(t){const i=t.map(s=>[s]);return t.map(s=>kh(e,s,i))}return Fh(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,i=vb);return new Rh(t,i)}function _b(e){return new Ah(xr.get(e.provide),[yb(e)],e.multi||!1)}function bb(e){const s=function Cb(e,t){for(let i=0;i<e.length;i++){const s=e[i],l=t.get(s.key.id);if(l){if(s.multiProvider!==l.multiProvider)throw pb(l,s);if(s.multiProvider)for(let g=0;g<s.resolvedFactories.length;g++)l.resolvedFactories.push(s.resolvedFactories[g]);else t.set(s.key.id,s)}else{let g;g=s.multiProvider?new Ah(s.key,s.resolvedFactories.slice(),s.multiProvider):s,t.set(s.key.id,g)}}return t}(xh(e,[]).map(_b),new Map);return Array.from(s.values())}function xh(e,t){return e.forEach(i=>{if(i instanceof Vs)t.push({provide:i,useClass:i});else if(i&&"object"==typeof i&&void 0!==i.provide)t.push(i);else{if(!Array.isArray(i))throw function fb(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(i);xh(i,t)}}),t}function Fh(e){const t=Ph.parameters(e);if(!t)return[];if(t.some(i=>null==i))throw Oh(e,t);return t.map(i=>kh(e,i,t))}function kh(e,t,i){let s=null,l=!1;if(!Array.isArray(t))return sc(t instanceof zs?t.token:t,l,null);let g=null;for(let C=0;C<t.length;++C){const w=t[C];w instanceof Vs?s=w:w instanceof zs?s=w.token:w instanceof rs?l=!0:w instanceof Ws||w instanceof go?g=w:w instanceof Wn&&(s=w)}if(s=v(s),null!=s)return sc(s,l,g);throw Oh(e,i)}function sc(e,t,i){return new ca(xr.get(e),t,i)}const vs={};class Lo{static resolve(t){return bb(t)}static resolveAndCreate(t,i){const s=Lo.resolve(t);return Lo.fromResolvedProviders(s,i)}static fromResolvedProviders(t,i){return new Tb(t,i)}}let Tb=(()=>{class e{constructor(i,s){this._constructionCounter=0,this._providers=i,this.parent=s||null;const l=i.length;this.keyIds=[],this.objs=[];for(let g=0;g<l;g++)this.keyIds[g]=i[g].key.id,this.objs[g]=vs}get(i,s=Hr){return this._getByKey(xr.get(i),null,s)}resolveAndCreateChild(i){const s=Lo.resolve(i);return this.createChildFromResolved(s)}createChildFromResolved(i){const s=new e(i);return s.parent=this,s}resolveAndInstantiate(i){return this.instantiateResolved(Lo.resolve([i])[0])}instantiateResolved(i){return this._instantiateProvider(i)}getProviderAtIndex(i){if(i<0||i>=this._providers.length)throw function hb(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function ub(e,t){return oc(e,t,function(i){return`Cannot instantiate cyclic dependency!${rc(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const s=[];for(let l=0;l<i.resolvedFactories.length;++l)s[l]=this._instantiate(i,i.resolvedFactories[l]);return s}return this._instantiate(i,i.resolvedFactories[0])}_instantiate(i,s){const l=s.factory;let g,C;try{g=s.dependencies.map(w=>this._getByReflectiveDependency(w))}catch(w){throw w.addKey&&w.addKey(this,i.key),w}try{C=l(...g)}catch(w){throw function db(e,t,i,s){return oc(e,s,function(l){const g=p(l[0].token);return`${t.message}: Error during instantiation of ${g}!${rc(l)}.`},t)}(this,w,0,i.key)}return C}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:Hr)}_getByKey(i,s,l){return i===e.INJECTOR_KEY?this:s instanceof Ws?this._getByKeySelf(i,l):this._getByKeyDefault(i,l,s)}_getObjByKeyId(i){for(let s=0;s<this.keyIds.length;s++)if(this.keyIds[s]===i)return this.objs[s]===vs&&(this.objs[s]=this._new(this._providers[s])),this.objs[s];return vs}_throwOrNull(i,s){if(s!==Hr)return s;throw function cb(e,t){return oc(e,t,function(i){return`No provider for ${p(i[0].token)}!${rc(i)}`})}(this,i)}_getByKeySelf(i,s){const l=this._getObjByKeyId(i.id);return l!==vs?l:this._throwOrNull(i,s)}_getByKeyDefault(i,s,l){let g;for(g=l instanceof go?this.parent:this;g instanceof e;){const C=g,w=C._getObjByKeyId(i.id);if(w!==vs)return w;g=C.parent}return null!==g?g.get(i.token,s):this._throwOrNull(i,s)}get displayName(){return`ReflectiveInjector(providers: [${function Db(e,t){const i=[];for(let s=0;s<e._providers.length;++s)i[s]=t(e.getProviderAtIndex(s));return i}(this,s=>' "'+s.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=xr.get(Ki),e})();function ys(e,t=L.Default){const i=bt();return null===i?oi(e,t):ed($n(),i,v(e),t)}function Nh(){throw new Error("invalid")}function ac(e,t,i){const s=bt();return fi(s,K(),t)&&xi(un(),yn(),s,e,t,s[11],i,!1),ac}function lc(e,t,i,s,l){const C=l?"class":"style";qf(e,i,t.inputs[C],C,s)}function ua(e,t,i,s){const l=bt(),g=un(),C=20+e,w=l[11],O=l[C]=ul(w,t,function xs(){return M.lFrame.currentNamespace}()),$=g.firstCreatePass?function wb(e,t,i,s,l,g,C){const w=t.consts,$=Eo(t,e,2,l,On(w,g));return Al(t,i,$,On(w,C)),null!==$.attrs&&oa($,$.attrs,!1),null!==$.mergedAttrs&&oa($,$.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,$),$}(C,g,l,0,t,i,s):g.data[C];$i($,!0);const te=$.mergedAttrs;null!==te&&Ai(w,O,te);const Ce=$.classes;null!==Ce&&gl(w,O,Ce);const $e=$.styles;return null!==$e&&mf(w,O,$e),64!=(64&$.flags)&&Xs(g,l,O,$),0===function ht(){return M.lFrame.elementDepthCount}()&&di(O,l),function Nt(){M.lFrame.elementDepthCount++}(),mi($)&&(Il(g,l,$),kf(g,$,l)),null!==s&&Pl(l,$),ua}function da(){let e=$n();oo()?Yo():(e=e.parent,$i(e,!1));const t=e;!function Sn(){M.lFrame.elementDepthCount--}();const i=un();return i.firstCreatePass&&(zi(i,e),pi(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Fs(e){return 0!=(16&e.flags)}(t)&&lc(i,t,bt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ra(e){return 0!=(32&e.flags)}(t)&&lc(i,t,bt(),t.stylesWithoutHost,!1),da}function cc(e,t,i,s){return ua(e,t,i,s),da(),cc}function fa(e,t,i){const s=bt(),l=un(),g=e+20,C=l.firstCreatePass?function Mb(e,t,i,s,l){const g=t.consts,C=On(g,s),w=Eo(t,e,8,"ng-container",C);return null!==C&&oa(w,C,!0),Al(t,i,w,On(g,l)),null!==t.queries&&t.queries.elementStart(t,w),w}(g,l,s,t,i):l.data[g];$i(C,!0);const w=s[g]=s[11].createComment("");return Xs(l,s,w,C),di(w,s),mi(C)&&(Il(l,s,C),kf(l,C,s)),null!=i&&Pl(s,C),fa}function ha(){let e=$n();const t=un();return oo()?Yo():(e=e.parent,$i(e,!1)),t.firstCreatePass&&(zi(t,e),pi(e)&&t.queries.elementEnd(e)),ha}function uc(e,t,i){return fa(e,t,i),ha(),uc}function Lh(){return bt()}function dc(e){return!!e&&"function"==typeof e.then}function jh(e){return!!e&&"function"==typeof e.subscribe}const Bh=jh;function fc(e,t,i,s){const l=bt(),g=un(),C=$n();return Vh(g,l,l[11],C,e,t,!!i,s),fc}function hc(e,t){const i=$n(),s=bt(),l=un();return Vh(l,s,Jf(Be(l.data),i,s),i,e,t,!1),hc}function Vh(e,t,i,s,l,g,C,w){const O=mi(s),te=e.firstCreatePass&&Zf(e),Ce=t[8],$e=Yf(t);let et=!0;if(3&s.type||w){const Rt=yt(s,t),Vt=w?w(Rt):Rt,_t=$e.length,Gt=w?dn=>w(x(dn[s.index])):s.index;if(Tn(i)){let dn=null;if(!w&&O&&(dn=function Sb(e,t,i,s){const l=e.cleanup;if(null!=l)for(let g=0;g<l.length-1;g+=2){const C=l[g];if(C===i&&l[g+1]===s){const w=t[7],O=l[g+2];return w.length>O?w[O]:null}"string"==typeof C&&(g+=2)}return null}(e,t,l,s.index)),null!==dn)(dn.__ngLastListenerFn__||dn).__ngNextListenerFn__=g,dn.__ngLastListenerFn__=g,et=!1;else{g=pc(s,t,Ce,g,!1);const Dn=i.listen(Vt,l,g);$e.push(g,Dn),te&&te.push(l,Gt,_t,_t+1)}}else g=pc(s,t,Ce,g,!0),Vt.addEventListener(l,g,C),$e.push(g),te&&te.push(l,Gt,_t,C)}else g=pc(s,t,Ce,g,!1);const mt=s.outputs;let It;if(et&&null!==mt&&(It=mt[l])){const Rt=It.length;if(Rt)for(let Vt=0;Vt<Rt;Vt+=2){const Fi=t[It[Vt]][It[Vt+1]].subscribe(g),ro=$e.length;$e.push(g,Fi),te&&te.push(l,s.index,ro,-(ro+1))}}}function $h(e,t,i,s){try{return Pn(6,t,i),!1!==i(s)}catch(l){return Xf(e,l),!1}finally{Pn(7,t,i)}}function pc(e,t,i,s,l){return function g(C){if(C===Function)return s;const w=2&e.flags?rn(e.index,t):t;0==(32&t[2])&&Fl(w);let O=$h(t,i,s,C),$=g.__ngNextListenerFn__;for(;$;)O=$h(t,i,$,C)&&O,$=$.__ngNextListenerFn__;return l&&!1===O&&(C.preventDefault(),C.returnValue=!1),O}}function Hh(e=1){return function Qn(e){return(M.lFrame.contextLView=function si(e,t){for(;e>0;)t=t[15],e--;return t}(e,M.lFrame.contextLView))[8]}(e)}function Ob(e,t){let i=null;const s=function ky(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e);for(let l=0;l<t.length;l++){const g=t[l];if("*"!==g){if(null===s?_f(e,g,!0):jy(s,g))return l}else i=l}return i}function Uh(e){const t=bt()[16][6];if(!t.projection){const s=t.projection=ts(e?e.length:1,null),l=s.slice();let g=t.child;for(;null!==g;){const C=e?Ob(g,e):0;null!==C&&(l[C]?l[C].projectionNext=g:s[C]=g,l[C]=g),g=g.next}}}function zh(e,t=0,i){const s=bt(),l=un(),g=Eo(l,20+e,16,null,i||null);null===g.projection&&(g.projection=t),Yo(),64!=(64&g.flags)&&function Oy(e,t,i){pf(t[11],0,t,i,nf(e,i,t),lf(i.parent||t[6],i,t))}(l,s,g)}function mc(e,t,i){return pa(e,"",t,"",i),mc}function pa(e,t,i,s,l){const g=bt(),C=Io(g,t,i,s);return C!==en&&xi(un(),yn(),g,e,C,g[11],l,!1),pa}function gc(e,t,i,s,l,g,C){const w=bt(),O=Po(w,t,i,s,l,g);return O!==en&&xi(un(),yn(),w,e,O,w[11],C,!1),gc}function vc(e,t,i,s,l,g,C,w,O){const $=bt(),te=Ao($,t,i,s,l,g,C,w);return te!==en&&xi(un(),yn(),$,e,te,$[11],O,!1),vc}function yc(e,t,i,s,l,g,C,w,O,$,te){const Ce=bt(),$e=Ro(Ce,t,i,s,l,g,C,w,O,$);return $e!==en&&xi(un(),yn(),Ce,e,$e,Ce[11],te,!1),yc}function _c(e,t,i,s,l,g,C,w,O,$,te,Ce,$e){const et=bt(),mt=xo(et,t,i,s,l,g,C,w,O,$,te,Ce);return mt!==en&&xi(un(),yn(),et,e,mt,et[11],$e,!1),_c}function bc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt){const It=bt(),Rt=Fo(It,t,i,s,l,g,C,w,O,$,te,Ce,$e,et);return Rt!==en&&xi(un(),yn(),It,e,Rt,It[11],mt,!1),bc}function Cc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt){const Vt=bt(),_t=ko(Vt,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It);return _t!==en&&xi(un(),yn(),Vt,e,_t,Vt[11],Rt,!1),Cc}function Ec(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt,Vt,_t){const Gt=bt(),dn=No(Gt,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt,Vt);return dn!==en&&xi(un(),yn(),Gt,e,dn,Gt[11],_t,!1),Ec}function Tc(e,t,i){const s=bt(),l=Oo(s,t);return l!==en&&xi(un(),yn(),s,e,l,s[11],i,!1),Tc}function Wh(e,t,i,s,l){const g=e[i+1],C=null===t;let w=s?rr(g):Ar(g),O=!1;for(;0!==w&&(!1===O||C);){const te=e[w+1];Ab(e[w],t)&&(O=!0,e[w+1]=s?_l(te):vl(te)),w=s?rr(te):Ar(te)}O&&(e[i+1]=s?vl(g):_l(g))}function Ab(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&mo(e,t)>=0}const ei={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gh(e){return e.substring(ei.key,ei.keyEnd)}function Rb(e){return e.substring(ei.value,ei.valueEnd)}function Kh(e,t){const i=ei.textEnd;return i===t?-1:(t=ei.keyEnd=function kb(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,ei.key=t,i),jo(e,t,i))}function Qh(e,t){const i=ei.textEnd;let s=ei.key=jo(e,t,i);return i===s?-1:(s=ei.keyEnd=function Nb(e,t,i){let s;for(;t<i&&(45===(s=e.charCodeAt(t))||95===s||(-33&s)>=65&&(-33&s)<=90||s>=48&&s<=57);)t++;return t}(e,s,i),s=Zh(e,s,i),s=ei.value=jo(e,s,i),s=ei.valueEnd=function Lb(e,t,i){let s=-1,l=-1,g=-1,C=t,w=C;for(;C<i;){const O=e.charCodeAt(C++);if(59===O)return w;34===O||39===O?w=C=Jh(e,O,C,i):t===C-4&&85===g&&82===l&&76===s&&40===O?w=C=Jh(e,41,C,i):O>32&&(w=C),g=l,l=s,s=-33&O}return w}(e,s,i),Zh(e,s,i))}function Yh(e){ei.key=0,ei.keyEnd=0,ei.value=0,ei.valueEnd=0,ei.textEnd=e.length}function jo(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function Zh(e,t,i,s){return(t=jo(e,t,i))<i&&t++,t}function Jh(e,t,i,s){let l=-1,g=i;for(;g<s;){const C=e.charCodeAt(g++);if(C==t&&92!==l)return g;l=92==C&&92===l?0:C}throw new Error}function Dc(e,t,i){return sr(e,t,i,!1),Dc}function wc(e,t){return sr(e,t,null,!0),wc}function or(e){ar(tp,jb,e,!1)}function jb(e,t){for(let i=function Fb(e){return Yh(e),Qh(e,jo(e,0,ei.textEnd))}(t);i>=0;i=Qh(t,i))tp(e,Gh(t),Rb(t))}function Xh(e){ar(Ri,Er,e,!0)}function Er(e,t){for(let i=function xb(e){return Yh(e),Kh(e,jo(e,0,ei.textEnd))}(t);i>=0;i=Kh(t,i))Ri(e,Gh(t),!0)}function sr(e,t,i,s){const l=bt(),g=un(),C=E(2);g.firstUpdatePass&&ep(g,e,C,s),t!==en&&fi(l,C,t)&&np(g,g.data[vn()],l,l[11],e,l[C+1]=function Wb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(Pr(e)))),e}(t,i),s,C)}function ar(e,t,i,s){const l=un(),g=E(2);l.firstUpdatePass&&ep(l,null,g,s);const C=bt();if(i!==en&&fi(C,g,i)){const w=l.data[vn()];if(rp(w,s)&&!qh(l,g)){let O=s?w.classesWithoutHost:w.stylesWithoutHost;null!==O&&(i=m(O,i||"")),lc(l,w,C,i,s)}else!function zb(e,t,i,s,l,g,C,w){l===en&&(l=Ct);let O=0,$=0,te=0<l.length?l[0]:null,Ce=0<g.length?g[0]:null;for(;null!==te||null!==Ce;){const $e=O<l.length?l[O+1]:void 0,et=$<g.length?g[$+1]:void 0;let It,mt=null;te===Ce?(O+=2,$+=2,$e!==et&&(mt=Ce,It=et)):null===Ce||null!==te&&te<Ce?(O+=2,mt=te):($+=2,mt=Ce,It=et),null!==mt&&np(e,t,i,s,mt,It,C,w),te=O<l.length?l[O]:null,Ce=$<g.length?g[$]:null}}(l,w,C,C[11],C[g+1],C[g+1]=function Ub(e,t,i){if(null==i||""===i)return Ct;const s=[],l=Pr(i);if(Array.isArray(l))for(let g=0;g<l.length;g++)e(s,l[g],!0);else if("object"==typeof l)for(const g in l)l.hasOwnProperty(g)&&e(s,g,l[g]);else"string"==typeof l&&t(s,l);return s}(e,t,i),s,g)}}function qh(e,t){return t>=e.expandoStartIndex}function ep(e,t,i,s){const l=e.data;if(null===l[i+1]){const g=l[vn()],C=qh(e,i);rp(g,s)&&null===t&&!C&&(t=!1),t=function Bb(e,t,i,s){const l=Be(e);let g=s?t.residualClasses:t.residualStyles;if(null===l)0===(s?t.classBindings:t.styleBindings)&&(i=_s(i=Mc(null,e,t,i,s),t.attrs,s),g=null);else{const C=t.directiveStylingLast;if(-1===C||e[C]!==l)if(i=Mc(l,e,t,i,s),null===g){let O=function Vb(e,t,i){const s=i?t.classBindings:t.styleBindings;if(0!==Ar(s))return e[rr(s)]}(e,t,s);void 0!==O&&Array.isArray(O)&&(O=Mc(null,e,t,O[1],s),O=_s(O,t.attrs,s),function $b(e,t,i,s){e[rr(i?t.classBindings:t.styleBindings)]=s}(e,t,s,O))}else g=function Hb(e,t,i){let s;const l=t.directiveEnd;for(let g=1+t.directiveStylingLast;g<l;g++)s=_s(s,e[g].hostAttrs,i);return _s(s,t.attrs,i)}(e,t,s)}return void 0!==g&&(s?t.residualClasses=g:t.residualStyles=g),i}(l,g,t,s),function Ib(e,t,i,s,l,g){let C=g?t.classBindings:t.styleBindings,w=rr(C),O=Ar(C);e[s]=i;let te,$=!1;if(Array.isArray(i)){const Ce=i;te=Ce[1],(null===te||mo(Ce,te)>0)&&($=!0)}else te=i;if(l)if(0!==O){const $e=rr(e[w+1]);e[s+1]=ea($e,w),0!==$e&&(e[$e+1]=yl(e[$e+1],s)),e[w+1]=function Hy(e,t){return 131071&e|t<<17}(e[w+1],s)}else e[s+1]=ea(w,0),0!==w&&(e[w+1]=yl(e[w+1],s)),w=s;else e[s+1]=ea(O,0),0===w?w=s:e[O+1]=yl(e[O+1],s),O=s;$&&(e[s+1]=vl(e[s+1])),Wh(e,te,s,!0),Wh(e,te,s,!1),function Pb(e,t,i,s,l){const g=l?e.residualClasses:e.residualStyles;null!=g&&"string"==typeof t&&mo(g,t)>=0&&(i[s+1]=_l(i[s+1]))}(t,te,e,s,g),C=ea(w,O),g?t.classBindings=C:t.styleBindings=C}(l,g,t,i,C,s)}}function Mc(e,t,i,s,l){let g=null;const C=i.directiveEnd;let w=i.directiveStylingLast;for(-1===w?w=i.directiveStart:w++;w<C&&(g=t[w],s=_s(s,g.hostAttrs,l),g!==e);)w++;return null!==e&&(i.directiveStylingLast=w),s}function _s(e,t,i){const s=i?1:2;let l=-1;if(null!==t)for(let g=0;g<t.length;g++){const C=t[g];"number"==typeof C?l=C:l===s&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ri(e,C,!!i||t[++g]))}return void 0===e?null:e}function tp(e,t,i){Ri(e,t,Pr(i))}function np(e,t,i,s,l,g,C,w){if(!(3&t.type))return;const O=e.data,$=O[w+1];ma(function wf(e){return 1==(1&e)}($)?ip(O,t,i,l,Ar($),C):void 0)||(ma(g)||function Df(e){return 2==(2&e)}($)&&(g=ip(O,null,i,l,w,C)),function Py(e,t,i,s,l){const g=Tn(e);if(t)l?g?e.addClass(i,s):i.classList.add(s):g?e.removeClass(i,s):i.classList.remove(s);else{let C=-1===s.indexOf("-")?void 0:_r.DashCase;if(null==l)g?e.removeStyle(i,s,C):i.style.removeProperty(s);else{const w="string"==typeof l&&l.endsWith("!important");w&&(l=l.slice(0,-10),C|=_r.Important),g?e.setStyle(i,s,l,C):i.style.setProperty(s,l,w?"important":"")}}}(s,C,ut(vn(),i),l,g))}function ip(e,t,i,s,l,g){const C=null===t;let w;for(;l>0;){const O=e[l],$=Array.isArray(O),te=$?O[1]:O,Ce=null===te;let $e=i[l+1];$e===en&&($e=Ce?Ct:void 0);let et=Ce?Ba($e,s):te===s?$e:void 0;if($&&!ma(et)&&(et=Ba(O,s)),ma(et)&&(w=et,C))return w;const mt=e[l+1];l=C?rr(mt):Ar(mt)}if(null!==t){let O=g?t.residualClasses:t.residualStyles;null!=O&&(w=Ba(O,s))}return w}function ma(e){return void 0!==e}function rp(e,t){return 0!=(e.flags&(t?16:32))}function op(e,t=""){const i=bt(),s=un(),l=e+20,g=s.firstCreatePass?Eo(s,l,1,t,null):s.data[l],C=i[l]=cl(i[11],t);Xs(s,i,C,g),$i(g,!1)}function Sc(e){return ga("",e,""),Sc}function ga(e,t,i){const s=bt(),l=Io(s,e,t,i);return l!==en&&Rr(s,vn(),l),ga}function Oc(e,t,i,s,l){const g=bt(),C=Po(g,e,t,i,s,l);return C!==en&&Rr(g,vn(),C),Oc}function Ic(e,t,i,s,l,g,C){const w=bt(),O=Ao(w,e,t,i,s,l,g,C);return O!==en&&Rr(w,vn(),O),Ic}function Pc(e,t,i,s,l,g,C,w,O){const $=bt(),te=Ro($,e,t,i,s,l,g,C,w,O);return te!==en&&Rr($,vn(),te),Pc}function Ac(e,t,i,s,l,g,C,w,O,$,te){const Ce=bt(),$e=xo(Ce,e,t,i,s,l,g,C,w,O,$,te);return $e!==en&&Rr(Ce,vn(),$e),Ac}function Rc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e){const et=bt(),mt=Fo(et,e,t,i,s,l,g,C,w,O,$,te,Ce,$e);return mt!==en&&Rr(et,vn(),mt),Rc}function xc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt){const It=bt(),Rt=ko(It,e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt);return Rt!==en&&Rr(It,vn(),Rt),xc}function Fc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt){const Vt=bt(),_t=No(Vt,e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt);return _t!==en&&Rr(Vt,vn(),_t),Fc}function kc(e){const t=bt(),i=Oo(t,e);return i!==en&&Rr(t,vn(),i),kc}function sp(e,t,i){ar(Ri,Er,Io(bt(),e,t,i),!0)}function ap(e,t,i,s,l){ar(Ri,Er,Po(bt(),e,t,i,s,l),!0)}function lp(e,t,i,s,l,g,C){ar(Ri,Er,Ao(bt(),e,t,i,s,l,g,C),!0)}function cp(e,t,i,s,l,g,C,w,O){ar(Ri,Er,Ro(bt(),e,t,i,s,l,g,C,w,O),!0)}function up(e,t,i,s,l,g,C,w,O,$,te){ar(Ri,Er,xo(bt(),e,t,i,s,l,g,C,w,O,$,te),!0)}function dp(e,t,i,s,l,g,C,w,O,$,te,Ce,$e){ar(Ri,Er,Fo(bt(),e,t,i,s,l,g,C,w,O,$,te,Ce,$e),!0)}function fp(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt){ar(Ri,Er,ko(bt(),e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt),!0)}function hp(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt){ar(Ri,Er,No(bt(),e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt),!0)}function pp(e){ar(Ri,Er,Oo(bt(),e),!0)}function mp(e,t,i){or(Io(bt(),e,t,i))}function gp(e,t,i,s,l){or(Po(bt(),e,t,i,s,l))}function vp(e,t,i,s,l,g,C){or(Ao(bt(),e,t,i,s,l,g,C))}function yp(e,t,i,s,l,g,C,w,O){or(Ro(bt(),e,t,i,s,l,g,C,w,O))}function _p(e,t,i,s,l,g,C,w,O,$,te){or(xo(bt(),e,t,i,s,l,g,C,w,O,$,te))}function bp(e,t,i,s,l,g,C,w,O,$,te,Ce,$e){or(Fo(bt(),e,t,i,s,l,g,C,w,O,$,te,Ce,$e))}function Cp(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt){or(ko(bt(),e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt))}function Ep(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt){or(No(bt(),e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt))}function Tp(e){or(Oo(bt(),e))}function Nc(e,t,i,s,l){return sr(e,Io(bt(),t,i,s),l,!1),Nc}function Lc(e,t,i,s,l,g,C){return sr(e,Po(bt(),t,i,s,l,g),C,!1),Lc}function jc(e,t,i,s,l,g,C,w,O){return sr(e,Ao(bt(),t,i,s,l,g,C,w),O,!1),jc}function Bc(e,t,i,s,l,g,C,w,O,$,te){return sr(e,Ro(bt(),t,i,s,l,g,C,w,O,$),te,!1),Bc}function Vc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e){return sr(e,xo(bt(),t,i,s,l,g,C,w,O,$,te,Ce),$e,!1),Vc}function $c(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt){return sr(e,Fo(bt(),t,i,s,l,g,C,w,O,$,te,Ce,$e,et),mt,!1),$c}function Hc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt){return sr(e,ko(bt(),t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It),Rt,!1),Hc}function Uc(e,t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt,Vt,_t){return sr(e,No(bt(),t,i,s,l,g,C,w,O,$,te,Ce,$e,et,mt,It,Rt,Vt),_t,!1),Uc}function zc(e,t,i){return sr(e,Oo(bt(),t),i,!1),zc}function Wc(e,t,i){const s=bt();return fi(s,K(),t)&&xi(un(),yn(),s,e,t,s[11],i,!0),Wc}function Gc(e,t,i){const s=bt();if(fi(s,K(),t)){const g=un(),C=yn();xi(g,C,s,e,t,Jf(Be(g.data),C,s),i,!0)}return Gc}const no=void 0;var Kb=["en",[["a","p"],["AM","PM"],no],[["AM","PM"],no,no],[["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"]],no,[["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"]],no,[["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}",no,"{1} 'at' {0}",no],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Gb(e){const i=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===s?1:5}];let Bo={};function Qb(e,t,i){"string"!=typeof t&&(i=t,t=e[Qt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Bo[t]=e,i&&(Bo[t][Qt.ExtraData]=i)}function Kc(e){const t=function Jb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=wp(t);if(i)return i;const s=t.split("-")[0];if(i=wp(s),i)return i;if("en"===s)return Kb;throw new Error(`Missing locale data for the locale "${e}".`)}function Yb(e){return Kc(e)[Qt.CurrencyCode]||null}function Dp(e){return Kc(e)[Qt.PluralCase]}function wp(e){return e in Bo||(Bo[e]=Ie.ng&&Ie.ng.common&&Ie.ng.common.locales&&Ie.ng.common.locales[e]),Bo[e]}function Zb(){Bo={}}var Qt=(()=>((Qt=Qt||{})[Qt.LocaleId=0]="LocaleId",Qt[Qt.DayPeriodsFormat=1]="DayPeriodsFormat",Qt[Qt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qt[Qt.DaysFormat=3]="DaysFormat",Qt[Qt.DaysStandalone=4]="DaysStandalone",Qt[Qt.MonthsFormat=5]="MonthsFormat",Qt[Qt.MonthsStandalone=6]="MonthsStandalone",Qt[Qt.Eras=7]="Eras",Qt[Qt.FirstDayOfWeek=8]="FirstDayOfWeek",Qt[Qt.WeekendRange=9]="WeekendRange",Qt[Qt.DateFormat=10]="DateFormat",Qt[Qt.TimeFormat=11]="TimeFormat",Qt[Qt.DateTimeFormat=12]="DateTimeFormat",Qt[Qt.NumberSymbols=13]="NumberSymbols",Qt[Qt.NumberFormats=14]="NumberFormats",Qt[Qt.CurrencyCode=15]="CurrencyCode",Qt[Qt.CurrencySymbol=16]="CurrencySymbol",Qt[Qt.CurrencyName=17]="CurrencyName",Qt[Qt.Currencies=18]="Currencies",Qt[Qt.Directionality=19]="Directionality",Qt[Qt.PluralCase=20]="PluralCase",Qt[Qt.ExtraData=21]="ExtraData",Qt))();const Xb=["zero","one","two","few","many"],bs="en-US",va={marker:"element"},ya={marker:"ICU"};var Hn=(()=>((Hn=Hn||{})[Hn.SHIFT=2]="SHIFT",Hn[Hn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Hn[Hn.COMMENT=2]="COMMENT",Hn))();let Mp=bs;function Sp(e){(function Ge(e,t){null==e&&pt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Mp=e.toLowerCase().replace(/_/g,"-"))}function Op(e,t,i){const s=t.insertBeforeIndex,l=Array.isArray(s)?s[0]:s;return null===l?cf(e,0,i):x(i[l])}function Ip(e,t,i,s,l){const g=t.insertBeforeIndex;if(Array.isArray(g)){let C=s,w=null;if(3&t.type||(w=C,C=l),null!==C&&0==(2&t.flags))for(let O=1;O<g.length;O++)eo(e,C,i[g[O]],w,!1)}}function Pp(e,t){if(e.push(t),e.length>1)for(let i=e.length-2;i>=0;i--){const s=e[i];Ap(s)||n0(s,t)&&null===r0(s)&&o0(s,t.index)}}function Ap(e){return!(64&e.type)}function n0(e,t){return Ap(t)||e.index>t.index}function r0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function o0(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(df(Op,Ip),e.insertBeforeIndex=t)}function Cs(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function l0(e,t,i){const s=Ol(e,i,64,null,null);return Pp(t,s),s}function _a(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function Rp(e){return e>>>17}function xp(e){return(131070&e)>>>1}let Es=0,Ts=0;function kp(e,t,i,s){const l=i[11];let C,g=null;for(let w=0;w<t.length;w++){const O=t[w];if("string"==typeof O){const $=t[++w];null===i[$]&&(i[$]=cl(l,O))}else if("number"==typeof O)switch(1&O){case 0:const $=Rp(O);let te,Ce;if(null===g&&(g=$,C=Js(l,s)),$===g?(te=s,Ce=C):(te=null,Ce=x(i[$])),null!==Ce){const It=xp(O);eo(l,Ce,i[It],te,!1);const Vt=Cs(e,It);if(null!==Vt&&"object"==typeof Vt){const _t=_a(Vt,i);null!==_t&&kp(e,Vt.create[_t],i,i[Vt.anchorIdx])}}break;case 1:const et=t[++w],mt=t[++w];Rl(l,ut(O>>>1,i),null,null,et,mt,null)}else switch(O){case ya:const $=t[++w],te=t[++w];null===i[te]&&di(i[te]=vy(l,$),i);break;case va:const Ce=t[++w],$e=t[++w];null===i[$e]&&di(i[$e]=ul(l,Ce,null),i)}}}function Np(e,t,i,s,l){for(let g=0;g<i.length;g++){const C=i[g],w=i[++g];if(C&l){let O="";for(let $=g+1;$<=g+w;$++){const te=i[$];if("string"==typeof te)O+=te;else if("number"==typeof te)if(te<0)O+=I(t[s-te]);else{const Ce=te>>>2;switch(3&te){case 1:const $e=i[++$],et=i[++$],mt=e.data[Ce];"string"==typeof mt?Rl(t[11],t[Ce],null,mt,$e,O,et):xi(e,mt,t,$e,O,t[11],et,!1);break;case 0:const It=t[Ce];null!==It&&qd(t[11],It,O);break;case 2:h0(e,Cs(e,Ce),t,O);break;case 3:Lp(e,Cs(e,Ce),s,t)}}}}else{const O=i[g+1];if(O>0&&3==(3&O)){const te=Cs(e,O>>>2);t[te.currentCaseLViewIndex]<0&&Lp(e,te,s,t)}}g+=w}}function Lp(e,t,i,s){let l=s[t.currentCaseLViewIndex];if(null!==l){let g=Es;l<0&&(l=s[t.currentCaseLViewIndex]=~l,g=-1),Np(e,s,t.update[l],i,g)}}function h0(e,t,i,s){const l=function p0(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const s=function qb(e,t){const i=Dp(t)(parseInt(e,10)),s=Xb[i];return void 0!==s?s:"other"}(t,function t0(){return Mp}());i=e.cases.indexOf(s),-1===i&&"other"!==s&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,s);if(_a(t,i)!==l&&(jp(e,t,i),i[t.currentCaseLViewIndex]=null===l?null:~l,null!==l)){const C=i[t.anchorIdx];C&&kp(e,t.create[l],i,C)}}function jp(e,t,i){let s=_a(t,i);if(null!==s){const l=t.remove[s];for(let g=0;g<l.length;g++){const C=l[g];if(C>0){const w=ut(C,i);null!==w&&hf(i[11],w)}else jp(e,Cs(e,~C),i)}}}function m0(){const e=[];let i,s,t=-1;function g(w,O){t=0;const $=_a(w,O);s=null!==$?w.remove[$]:Ct}function C(){if(t<s.length){const w=s[t++];return w>0?i[w]:(e.push(t,s),g(i[1].data[~w],i),C())}return 0===e.length?null:(s=e.pop(),t=e.pop(),C())}return function l(w,O){for(i=O;e.length;)e.pop();return g(w.value,O),C}}const ba=/\ufffd(\d+):?\d*\ufffd/gi,g0=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,v0=/\ufffd(\d+)\ufffd/,Vp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,y0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,_0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,b0=/\uE500/g;function $p(e,t,i,s,l,g,C){const w=To(e,s,1,null);let O=w<<Hn.SHIFT,$=Gr();t===$&&($=null),null===$&&(O|=Hn.APPEND_EAGERLY),C&&(O|=Hn.COMMENT,function gy(e){void 0===ol&&(ol=e())}(m0)),l.push(O,null===g?"":g);const te=Ol(e,w,C?32:1,null===g?"":g,null);Pp(i,te);const Ce=te.index;return $i(te,!1),null!==$&&t!==$&&function a0(e,t){let i=e.insertBeforeIndex;null===i?(df(Op,Ip),i=e.insertBeforeIndex=[null,t]):(function be(e,t,i){e!=t&&pt(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}($,Ce),te}function T0(e,t,i,s,l,g,C){const w=C.match(ba),O=$p(e,t,i,g,s,w?null:C,!1);w&&Vo(l,C,O.index,null,0,null)}function Vo(e,t,i,s,l,g){const C=e.length,w=C+1;e.push(null,null);const O=C+2,$=t.split(ba);let te=0;for(let Ce=0;Ce<$.length;Ce++){const $e=$[Ce];if(1&Ce){const et=l+parseInt($e,10);e.push(-1-et),te|=Hp(et)}else""!==$e&&e.push($e)}return e.push(i<<2|(s?1:0)),s&&e.push(s,g),e[C]=te,e[w]=e.length-O,te}function w0(e){let t=0;for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s&&s<0&&t++}return t}function Hp(e){return 1<<Math.min(e,31)}function Up(e){let t,g,i="",s=0,l=!1;for(;null!==(t=y0.exec(e));)l?t[0]===`\ufffd/*${g}\ufffd`&&(s=t.index,l=!1):(i+=e.substring(s,t.index+t[0].length),g=t[1],l=!0);return i+=e.substr(s),i}function zp(e,t,i,s,l,g){let C=0;const w={type:l.type,currentCaseLViewIndex:To(e,t,1,null),anchorIdx:g,cases:[],create:[],remove:[],update:[]};(function A0(e,t,i){e.push(Hp(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,l,g),function s0(e,t,i){const s=e.data[t];null===s?e.data[t]=i:s.value=i}(e,g,w);const O=l.values;for(let $=0;$<O.length;$++){const te=O[$],Ce=[];for(let $e=0;$e<te.length;$e++){const et=te[$e];if("string"!=typeof et){const mt=Ce.push(et)-1;te[$e]=`\x3c!--\ufffd${mt}\ufffd--\x3e`}}C=I0(e,w,t,i,s,l.cases[$],te.join(""),Ce)|C}C&&function R0(e,t,i){e.push(t,1,i<<2|3)}(i,C,g)}function O0(e){const t=[],i=[];let s=1,l=0;const g=Qc(e=e.replace(Vp,function(C,w,O){return s="select"===O?0:1,l=parseInt(w.substr(1),10),""}));for(let C=0;C<g.length;){let w=g[C++].trim();1===s&&(w=w.replace(/\s*(?:=)?(\w+)\s*/,"$1")),w.length&&t.push(w);const O=Qc(g[C++]);t.length>i.length&&i.push(O)}return{type:s,mainBinding:l,cases:t,values:i}}function Qc(e){if(!e)return[];let t=0;const i=[],s=[],l=/[{}]/g;let g;for(l.lastIndex=0;g=l.exec(e);){const w=g.index;if("}"==g[0]){if(i.pop(),0==i.length){const O=e.substring(t,w);Vp.test(O)?s.push(O0(O)):s.push(O),t=w+1}}else{if(0==i.length){const O=e.substring(t,w);s.push(O),t=w+1}i.push("{")}}const C=e.substring(t);return s.push(C),s}function I0(e,t,i,s,l,g,C,w){const O=[],$=[],te=[];t.cases.push(g),t.create.push(O),t.remove.push($),t.update.push(te);const $e=Td(Jn()).getInertBodyElement(C),et=Xa($e)||$e;return et?Wp(e,t,i,s,O,$,te,et,l,w,0):0}function Wp(e,t,i,s,l,g,C,w,O,$,te){let Ce=0,$e=w.firstChild;for(;$e;){const et=To(e,i,1,null);switch($e.nodeType){case Node.ELEMENT_NODE:const mt=$e,It=mt.tagName.toLowerCase();if(Ya.hasOwnProperty(It)){Yc(l,va,It,O,et),e.data[et]=It;const Gt=mt.attributes;for(let dn=0;dn<Gt.length;dn++){const Dn=Gt.item(dn),Fi=Dn.name.toLowerCase();Dn.value.match(ba)?Od.hasOwnProperty(Fi)&&Vo(C,Dn.value,et,Dn.name,0,Za[Fi]?ss:Ja[Fi]?Dd:null):x0(l,et,Dn)}Ce=Wp(e,t,i,s,l,g,C,$e,et,$,te+1)|Ce,Gp(g,et,te)}break;case Node.TEXT_NODE:const Rt=$e.textContent||"",Vt=Rt.match(ba);Yc(l,null,Vt?"":Rt,O,et),Gp(g,et,te),Vt&&(Ce=Vo(C,Rt,et,null,0,null)|Ce);break;case Node.COMMENT_NODE:const _t=v0.exec($e.textContent||"");if(_t){const dn=$[parseInt(_t[1],10)];Yc(l,ya,"",O,et),zp(e,i,s,O,dn,et),P0(g,et,te)}}$e=$e.nextSibling}return Ce}function Gp(e,t,i){0===i&&e.push(t)}function P0(e,t,i){0===i&&(e.push(~t),e.push(t))}function Yc(e,t,i,s,l){null!==t&&e.push(t),e.push(i,l,function c0(e,t,i){return e|t<<17|i<<1}(0,s,l))}function x0(e,t,i){e.push(t<<1|1,i.name,i.value)}const F0=/\[(\ufffd.+?\ufffd?)\]/,k0=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,N0=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,L0=/{([A-Z0-9_]+)}/g,j0=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,B0=/\/\*/,V0=/\d+\:(\d+)/;function Zc(e,t,i=-1){const s=un(),l=bt(),g=20+e,C=On(s.consts,t),w=Gr();s.firstCreatePass&&function E0(e,t,i,s,l,g){const C=Gr(),w=[],O=[],$=[[]];l=function S0(e,t){if(function M0(e){return-1===e}(t))return Up(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,s=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Up(e.substring(i,s))}}(l,g);const te=function C0(e){return e.replace(b0," ")}(l).split(_0);for(let Ce=0;Ce<te.length;Ce++){let $e=te[Ce];if(0==(1&Ce)){const et=Qc($e);for(let mt=0;mt<et.length;mt++){let It=et[mt];if(0==(1&mt)){const Rt=It;""!==Rt&&T0(e,C,$[0],w,O,i,Rt)}else{const Rt=It;if("object"!=typeof Rt)throw new Error(`Unable to parse ICU expression in "${l}" message.`);zp(e,i,O,t,Rt,$p(e,C,$[0],i,w,"",!0).index)}}}else{const et=47===$e.charCodeAt(0),It=($e.charCodeAt(et?1:0),20+Number.parseInt($e.substring(et?2:1)));if(et)$.shift(),$i(Gr(),!1);else{const Rt=l0(e,$[0],It);$.unshift([]),$i(Rt,!0)}}}e.data[s]={create:w,update:O}}(s,null===w?0:w.index,l,g,C,i);const O=s.data[g],te=rf(s,w===l[6]?null:w,l);(function f0(e,t,i,s){const l=e[11];for(let g=0;g<t.length;g++){const C=t[g++],w=t[g],O=(C&Hn.COMMENT)===Hn.COMMENT,$=(C&Hn.APPEND_EAGERLY)===Hn.APPEND_EAGERLY,te=C>>>Hn.SHIFT;let Ce=e[te];null===Ce&&(Ce=e[te]=O?l.createComment(w):cl(l,w)),$&&null!==i&&eo(l,i,Ce,s,!1)}})(l,O.create,te,w&&8&w.type?l[w.index]:null),A(!0)}function Jc(){A(!1)}function Qp(e,t,i){Zc(e,t,i),Jc()}function Yp(e,t){const i=un();!function D0(e,t,i){const l=$n().index,g=[];if(e.firstCreatePass&&null===e.data[t]){for(let C=0;C<i.length;C+=2){const w=i[C],O=i[C+1];if(""!==O){if(g0.test(O))throw new Error(`ICU expressions are not supported in attributes. Message: "${O}".`);Vo(g,O,l,w,w0(g),null)}}e.data[t]=g}}(i,e+20,On(i.consts,t))}function Xc(e){return function u0(e){e&&(Es|=1<<Math.min(Ts,31)),Ts++}(fi(bt(),K(),e)),Xc}function Zp(e){!function d0(e,t,i){if(Ts>0){const s=e.data[i];Np(e,t,Array.isArray(s)?s:s.update,tr()-Ts-1,Es)}Es=0,Ts=0}(un(),bt(),e+20)}function Jp(e,t={}){return function $0(e,t={}){let i=e;if(F0.test(e)){const s={},l=[0];i=i.replace(k0,(g,C,w)=>{const O=C||w,$=s[O]||[];if($.length||(O.split("|").forEach(It=>{const Rt=It.match(V0),Vt=Rt?parseInt(Rt[1],10):0,_t=B0.test(It);$.push([Vt,_t,It])}),s[O]=$),!$.length)throw new Error(`i18n postprocess: unmatched placeholder - ${O}`);const te=l[l.length-1];let Ce=0;for(let It=0;It<$.length;It++)if($[It][0]===te){Ce=It;break}const[$e,et,mt]=$[Ce];return et?l.pop():te!==$e&&l.push($e),$.splice(Ce,1),mt})}return Object.keys(t).length&&(i=i.replace(N0,(s,l,g,C,w,O)=>t.hasOwnProperty(g)?`${l}${t[g]}${O}`:s),i=i.replace(L0,(s,l)=>t.hasOwnProperty(l)?t[l]:s),i=i.replace(j0,(s,l)=>{if(t.hasOwnProperty(l)){const g=t[l];if(!g.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${l}`);return g.shift()}return s})),i}(e,t)}function qc(e,t,i,s,l){if(e=v(e),Array.isArray(e))for(let g=0;g<e.length;g++)qc(e[g],t,i,s,l);else{const g=un(),C=bt();let w=Mo(e)?e:v(e.provide),O=oh(e);const $=$n(),te=1048575&$.providerIndexes,Ce=$.directiveStart,$e=$.providerIndexes>>20;if(Mo(e)||!e.multi){const et=new kn(O,l,ys),mt=tu(w,t,l?te:te+$e,Ce);-1===mt?(js(Jo($,C),g,w),eu(g,e,t.length),t.push(w),$.directiveStart++,$.directiveEnd++,l&&($.providerIndexes+=1048576),i.push(et),C.push(et)):(i[mt]=et,C[mt]=et)}else{const et=tu(w,t,te+$e,Ce),mt=tu(w,t,te,te+$e),It=et>=0&&i[et],Rt=mt>=0&&i[mt];if(l&&!Rt||!l&&!It){js(Jo($,C),g,w);const Vt=function W0(e,t,i,s,l){const g=new kn(e,i,ys);return g.multi=[],g.index=t,g.componentProviders=0,Xp(g,l,s&&!i),g}(l?z0:U0,i.length,l,s,O);!l&&Rt&&(i[mt].providerFactory=Vt),eu(g,e,t.length,0),t.push(w),$.directiveStart++,$.directiveEnd++,l&&($.providerIndexes+=1048576),i.push(Vt),C.push(Vt)}else eu(g,e,et>-1?et:mt,Xp(i[l?mt:et],O,!l&&s));!l&&s&&Rt&&i[mt].componentProviders++}}}function eu(e,t,i,s){const l=Mo(t),g=function x_(e){return!!e.useClass}(t);if(l||g){const O=(g?v(t.useClass):t).prototype.ngOnDestroy;if(O){const $=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const te=$.indexOf(i);-1===te?$.push(i,[s,O]):$[te+1].push(s,O)}else $.push(i,O)}}}function Xp(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function tu(e,t,i,s){for(let l=i;l<s;l++)if(t[l]===e)return l;return-1}function U0(e,t,i,s){return nu(this.multi,[])}function z0(e,t,i,s){const l=this.multi;let g;if(this.providerFactory){const C=this.providerFactory.componentProviders,w=Xo(i,i[1],this.providerFactory.index,s);g=w.slice(0,C),nu(l,g);for(let O=C;O<w.length;O++)g.push(w[O])}else g=[],nu(l,g);return g}function nu(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function qp(e,t=[]){return i=>{i.providersResolver=(s,l)=>function H0(e,t,i){const s=un();if(s.firstCreatePass){const l=Kn(e);qc(i,s.data,s.blueprint,l,!0),qc(t,s.data,s.blueprint,l,!1)}}(s,l?l(e):e,t)}}class em{}class Ca{}class K0{resolveComponentFactory(t){throw function G0(e){const t=Error(`No component factory found for ${p(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ea=(()=>{class e{}return e.NULL=new K0,e})();function Q0(){return $o($n(),bt())}function $o(e,t){return new ws(yt(e,t))}let ws=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=Q0,e})();function Y0(e){return e instanceof ws?e.nativeElement:e}class nm{}let Z0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function X0(){const e=bt(),i=rn($n().index,e);return function J0(e){return e[11]}(Mn(i)?i:e)}(),e})(),im=(()=>{class e{}return e.\u0275prov=tt({token:e,providedIn:"root",factory:()=>null}),e})();class rm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const om=new rm("13.3.2"),Ta={};function Da(e,t,i,s,l=!1){for(;null!==i;){const g=t[i.index];if(null!==g&&s.push(x(g)),jn(g))for(let w=10;w<g.length;w++){const O=g[w],$=O[1].firstChild;null!==$&&Da(O[1],O,$,s)}const C=i.type;if(8&C)Da(e,t,i.child,s);else if(32&C){const w=sl(i,t);let O;for(;O=w();)s.push(O)}else if(16&C){const w=ff(t,i);if(Array.isArray(w))s.push(...w);else{const O=us(t[16]);Da(O[1],O,w,s,!0)}}i=l?i.projectionNext:i.next}return s}class Ho{constructor(t,i){this._lView=t,this._cdRefInjectingView=i,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,i=t[1];return Da(i,t,i.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(jn(t)){const i=t[8],s=i?i.indexOf(this):-1;s>-1&&(dl(t,s),$s(i,s))}this._attachedToViewContainer=!1}tf(this._lView[1],this._lView)}onDestroy(t){Bf(this._lView[1],this._lView,null,t)}markForCheck(){Fl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Nl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function D_(e,t,i){Qr(!0);try{Nl(e,t,i)}finally{Qr(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new S(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function by(e,t){ds(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,"");this._appRef=t}}class q0 extends Ho{constructor(t){super(t),this._view=t}detectChanges(){Qf(this._view)}checkNoChanges(){!function w_(e){Qr(!0);try{Qf(e)}finally{Qr(!1)}}(this._view)}get context(){return null}}class sm extends Ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=ke(t);return new wa(i,this.ngModule)}}function am(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class wa extends Ca{constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Vy(e){return e.map(By).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return am(this.componentDef.inputs)}get outputs(){return am(this.componentDef.outputs)}create(t,i,s,l){const g=(l=l||this.ngModule)?function tC(e,t){return{get:(i,s,l)=>{const g=e.get(i,Ta,l);return g!==Ta||s===Ta?g:t.get(i,s,l)}}}(t,l.injector):t,C=g.get(nm,F),w=g.get(im,null),O=C.createRenderer(null,this.componentDef),$=this.componentDef.selectors[0][0]||"div",te=s?jf(O,s,this.componentDef.encapsulation):ul(C.createRenderer(null,this.componentDef),$,function eC(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?Vn:null}($)),Ce=this.componentDef.onPush?576:528,$e=vh(),et=ia(0,null,null,1,0,null,null,null,null,null),mt=fs(null,et,$e,Ce,null,null,C,O,w,g);let It,Rt;Jt(mt);try{const Vt=mh(te,this.componentDef,mt,C,O);if(te)if(s)Ai(O,te,["ng-version",om.full]);else{const{attrs:_t,classes:Gt}=function $y(e){const t=[],i=[];let s=1,l=2;for(;s<e.length;){let g=e[s];if("string"==typeof g)2===l?""!==g&&t.push(g,e[++s]):8===l&&i.push(g);else{if(!ir(l))break;l=g}s++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);_t&&Ai(O,te,_t),Gt&&Gt.length>0&&gl(O,te,Gt.join(" "))}if(Rt=Cn(et,20),void 0!==i){const _t=Rt.projection=[];for(let Gt=0;Gt<this.ngContentSelectors.length;Gt++){const dn=i[Gt];_t.push(null!=dn?Array.from(dn):null)}}It=gh(Vt,this.componentDef,mt,$e,[yh]),hs(et,mt,null)}finally{Fn()}return new lm(this.componentType,It,$o(Rt,mt),mt,Rt)}}class lm extends em{constructor(t,i,s,l,g){super(),this.location=s,this._rootLView=l,this._tNode=g,this.instance=i,this.hostView=this.changeDetectorRef=new q0(l),this.componentType=t}get injector(){return new lo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function cm(e,t,i,s){return Et(()=>{const l=e;null!==t&&(l.hasOwnProperty("decorators")&&void 0!==l.decorators?l.decorators.push(...t):l.decorators=t),null!==i&&(l.ctorParameters=i),null!==s&&(l.propDecorators=l.hasOwnProperty("propDecorators")&&void 0!==l.propDecorators?Object.assign(Object.assign({},l.propDecorators),s):s)})}class Uo{}class um{}const zo=new Map;function fm(e){const t=new Set;!function i(s){const l=jt(s,!0),g=l.id;if(null!==g){(function dm(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${p(t)} vs ${p(t.name)}`)})(g,zo.get(g),s),zo.set(g,s)}const C=yr(l.imports);for(const w of C)t.has(w)||(t.add(w),i(w))}(e)}function hm(e){return zo.get(e)||je[e]}function iC(e,t){return new iu(e,null!=t?t:null)}class iu extends Uo{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sm(this);const s=jt(t);this._bootstrapComponents=yr(s.bootstrap),this._r3Injector=rh(t,i,[{provide:Uo,useValue:this},{provide:Ea,useValue:this.componentFactoryResolver}],p(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,i=Ki.THROW_IF_NOT_FOUND,s=L.Default){return t===Ki||t===Uo||t===sa?this:this._r3Injector.get(t,i,s)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ma extends um{constructor(t){super(),this.moduleType=t,null!==jt(t)&&fm(t)}create(t){return new iu(this.moduleType,t)}}function pm(e,t,i){const s=ii()+e,l=bt();return l[s]===en?Cr(l,s,i?t.call(i):t()):gs(l,s)}function mm(e,t,i,s){return Dm(bt(),ii(),e,t,i,s)}function gm(e,t,i,s,l){return wm(bt(),ii(),e,t,i,s,l)}function vm(e,t,i,s,l,g){return Mm(bt(),ii(),e,t,i,s,l,g)}function ym(e,t,i,s,l,g,C){return Sm(bt(),ii(),e,t,i,s,l,g,C)}function _m(e,t,i,s,l,g,C,w){const O=ii()+e,$=bt(),te=Yi($,O,i,s,l,g);return fi($,O+4,C)||te?Cr($,O+5,w?t.call(w,i,s,l,g,C):t(i,s,l,g,C)):gs($,O+5)}function bm(e,t,i,s,l,g,C,w,O){const $=ii()+e,te=bt(),Ce=Yi(te,$,i,s,l,g);return to(te,$+4,C,w)||Ce?Cr(te,$+6,O?t.call(O,i,s,l,g,C,w):t(i,s,l,g,C,w)):gs(te,$+6)}function Cm(e,t,i,s,l,g,C,w,O,$){const te=ii()+e,Ce=bt();let $e=Yi(Ce,te,i,s,l,g);return la(Ce,te+4,C,w,O)||$e?Cr(Ce,te+7,$?t.call($,i,s,l,g,C,w,O):t(i,s,l,g,C,w,O)):gs(Ce,te+7)}function Em(e,t,i,s,l,g,C,w,O,$,te){const Ce=ii()+e,$e=bt(),et=Yi($e,Ce,i,s,l,g);return Yi($e,Ce+4,C,w,O,$)||et?Cr($e,Ce+8,te?t.call(te,i,s,l,g,C,w,O,$):t(i,s,l,g,C,w,O,$)):gs($e,Ce+8)}function Tm(e,t,i,s){return Om(bt(),ii(),e,t,i,s)}function Ms(e,t){const i=e[t];return i===en?void 0:i}function Dm(e,t,i,s,l,g){const C=t+i;return fi(e,C,l)?Cr(e,C+1,g?s.call(g,l):s(l)):Ms(e,C+1)}function wm(e,t,i,s,l,g,C){const w=t+i;return to(e,w,l,g)?Cr(e,w+2,C?s.call(C,l,g):s(l,g)):Ms(e,w+2)}function Mm(e,t,i,s,l,g,C,w){const O=t+i;return la(e,O,l,g,C)?Cr(e,O+3,w?s.call(w,l,g,C):s(l,g,C)):Ms(e,O+3)}function Sm(e,t,i,s,l,g,C,w,O){const $=t+i;return Yi(e,$,l,g,C,w)?Cr(e,$+4,O?s.call(O,l,g,C,w):s(l,g,C,w)):Ms(e,$+4)}function Om(e,t,i,s,l,g){let C=t+i,w=!1;for(let O=0;O<l.length;O++)fi(e,C++,l[O])&&(w=!0);return w?Cr(e,C,s.apply(g,l)):Ms(e,C)}function Im(e,t){const i=un();let s;const l=e+20;i.firstCreatePass?(s=function rC(e,t){if(t)for(let i=t.length-1;i>=0;i--){const s=t[i];if(e===s.name)return s}}(t,i.pipeRegistry),i.data[l]=s,s.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(l,s.onDestroy)):s=i.data[l];const g=s.factory||(s.factory=Zn(s.type)),C=Je(ys);try{const w=Ns(!1),O=g();return Ns(w),Th(i,bt(),l,O),O}finally{Je(C)}}function Pm(e,t,i){const s=e+20,l=bt(),g=cn(l,s);return Ss(l,s)?Dm(l,ii(),t,g.transform,i,g):g.transform(i)}function Am(e,t,i,s){const l=e+20,g=bt(),C=cn(g,l);return Ss(g,l)?wm(g,ii(),t,C.transform,i,s,C):C.transform(i,s)}function Rm(e,t,i,s,l){const g=e+20,C=bt(),w=cn(C,g);return Ss(C,g)?Mm(C,ii(),t,w.transform,i,s,l,w):w.transform(i,s,l)}function xm(e,t,i,s,l,g){const C=e+20,w=bt(),O=cn(w,C);return Ss(w,C)?Sm(w,ii(),t,O.transform,i,s,l,g,O):O.transform(i,s,l,g)}function Fm(e,t,i){const s=e+20,l=bt(),g=cn(l,s);return Ss(l,s)?Om(l,ii(),t,g.transform,i,g):g.transform.apply(g,i)}function Ss(e,t){return e[1].data[t].pure}function ru(e){return t=>{setTimeout(e,void 0,t)}}const Tr=class oC extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,s){var l,g,C;let w=t,O=i||(()=>null),$=s;if(t&&"object"==typeof t){const Ce=t;w=null===(l=Ce.next)||void 0===l?void 0:l.bind(Ce),O=null===(g=Ce.error)||void 0===g?void 0:g.bind(Ce),$=null===(C=Ce.complete)||void 0===C?void 0:C.bind(Ce)}this.__isAsync&&(O=ru(O),w&&(w=ru(w)),$&&($=ru($)));const te=super.subscribe({next:w,error:O,complete:$});return t instanceof h.w0&&t.add(te),te}};function sC(){return this._results[So()]()}class Sa{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=So(),s=Sa.prototype;s[i]||(s[i]=sC)}get changes(){return this._changes||(this._changes=new Tr)}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 s=this;s.dirty=!1;const l=Gi(t);(this._changesDetected=!function lv(e,t,i){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++){let l=e[s],g=t[s];if(i&&(l=i(l),g=i(g)),g!==l)return!1}return!0}(s._results,l,i))&&(s._results=l,s.length=l.length,s.last=l[this.length-1],s.first=l[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Os=(()=>{class e{}return e.__NG_ELEMENT_ID__=cC,e})();const aC=Os,lC=class extends aC{constructor(t,i,s){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=s}createEmbeddedView(t){const i=this._declarationTContainer.tViews,s=fs(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null);s[17]=this._declarationLView[this._declarationTContainer.index];const g=this._declarationLView[19];return null!==g&&(s[19]=g.createEmbeddedView(i)),hs(i,s,t),new Ho(s)}};function cC(){return Oa($n(),bt())}function Oa(e,t){return 4&e.type?new lC(t,e,$o(e,t)):null}let Ia=(()=>{class e{}return e.__NG_ELEMENT_ID__=uC,e})();function uC(){return Lm($n(),bt())}const dC=Ia,km=class extends dC{constructor(t,i,s){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=s}get element(){return $o(this._hostTNode,this._hostLView)}get injector(){return new lo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ls(this._hostTNode,this._hostLView);if(Yu(t)){const i=ao(t,this._hostLView),s=so(t);return new lo(i[1].data[s+8],i)}return new lo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Nm(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,s){const l=t.createEmbeddedView(i||{});return this.insert(l,s),l}createComponent(t,i,s,l,g){const C=t&&!es(t);let w;if(C)w=i;else{const Ce=i||{};w=Ce.index,s=Ce.injector,l=Ce.projectableNodes,g=Ce.ngModuleRef}const O=C?t:new wa(ke(t)),$=s||this.parentInjector;if(!g&&null==O.ngModule){const $e=(C?$:this.parentInjector).get(Uo,null);$e&&(g=$e)}const te=O.create($,l,void 0,g);return this.insert(te.hostView,w),te}insert(t,i){const s=t._lView,l=s[1];if(function bn(e){return jn(e[3])}(s)){const te=this.indexOf(t);if(-1!==te)this.detach(te);else{const Ce=s[3],$e=new km(Ce,Ce[6],Ce[3]);$e.detach($e.indexOf(t))}}const g=this._adjustIndex(i),C=this._lContainer;!function Ey(e,t,i,s){const l=10+s,g=i.length;s>0&&(i[l-1][4]=t),s<g-10?(t[4]=i[l],ad(i,10+s,t)):(i.push(t),t[4]=null),t[3]=i;const C=t[17];null!==C&&i!==C&&function Ty(e,t){const i=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===i?e[9]=[t]:i.push(t)}(C,t);const w=t[19];null!==w&&w.insertView(e),t[2]|=128}(l,s,C,g);const w=pl(g,C),O=s[11],$=Js(O,C[7]);return null!==$&&function _y(e,t,i,s,l,g){s[0]=l,s[6]=t,ds(e,s,i,1,l,g)}(l,C[6],O,s,$,w),t.attachToViewContainerRef(),ad(ou(C),g,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Nm(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),s=dl(this._lContainer,i);s&&($s(ou(this._lContainer),i),tf(s[1],s))}detach(t){const i=this._adjustIndex(t,-1),s=dl(this._lContainer,i);return s&&null!=$s(ou(this._lContainer),i)?new Ho(s):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function Nm(e){return e[8]}function ou(e){return e[8]||(e[8]=[])}function Lm(e,t){let i;const s=t[e.index];if(jn(s))i=s;else{let l;if(8&e.type)l=x(s);else{const g=t[11];l=g.createComment("");const C=yt(e,t);eo(g,Js(g,C),l,function Sy(e,t){return Tn(e)?e.nextSibling(t):t.nextSibling}(g,C),!1)}t[e.index]=i=Kf(s,t,l,e),ra(t,i)}return new km(i,e,t)}class su{constructor(t){this.queryList=t,this.matches=null}clone(){return new su(this.queryList)}setDirty(){this.queryList.setDirty()}}class au{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const s=null!==t.contentQueries?t.contentQueries[0]:i.length,l=[];for(let g=0;g<s;g++){const C=i.getByIndex(g);l.push(this.queries[C.indexInDeclarationView].clone())}return new au(l)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)null!==Gm(t,i).matches&&this.queries[i].setDirty()}}class jm{constructor(t,i,s=null){this.predicate=t,this.flags=i,this.read=s}}class lu{constructor(t=[]){this.queries=t}elementStart(t,i){for(let s=0;s<this.queries.length;s++)this.queries[s].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let s=0;s<this.length;s++){const l=null!==i?i.length:0,g=this.getByIndex(s).embeddedTView(t,l);g&&(g.indexInDeclarationView=s,null!==i?i.push(g):i=[g])}return null!==i?new lu(i):null}template(t,i){for(let s=0;s<this.queries.length;s++)this.queries[s].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class cu{constructor(t,i=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new cu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let s=t.parent;for(;null!==s&&8&s.type&&s.index!==i;)s=s.parent;return i===(null!==s?s.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const s=this.metadata.predicate;if(Array.isArray(s))for(let l=0;l<s.length;l++){const g=s[l];this.matchTNodeWithReadOption(t,i,pC(i,g)),this.matchTNodeWithReadOption(t,i,Bs(i,t,g,!1,!1))}else s===Os?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,Bs(i,t,s,!1,!1))}matchTNodeWithReadOption(t,i,s){if(null!==s){const l=this.metadata.read;if(null!==l)if(l===ws||l===Ia||l===Os&&4&i.type)this.addMatch(i.index,-2);else{const g=Bs(i,t,l,!1,!1);null!==g&&this.addMatch(i.index,g)}else this.addMatch(i.index,s)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function pC(e,t){const i=e.localNames;if(null!==i)for(let s=0;s<i.length;s+=2)if(i[s]===t)return i[s+1];return null}function gC(e,t,i,s){return-1===i?function mC(e,t){return 11&e.type?$o(e,t):4&e.type?Oa(e,t):null}(t,e):-2===i?function vC(e,t,i){return i===ws?$o(t,e):i===Os?Oa(t,e):i===Ia?Lm(t,e):void 0}(e,t,s):Xo(e,e[1],i,t)}function Bm(e,t,i,s){const l=t[19].queries[s];if(null===l.matches){const g=e.data,C=i.matches,w=[];for(let O=0;O<C.length;O+=2){const $=C[O];w.push($<0?null:gC(t,g[$],C[O+1],i.metadata.read))}l.matches=w}return l.matches}function uu(e,t,i,s){const l=e.queries.getByIndex(i),g=l.matches;if(null!==g){const C=Bm(e,t,l,i);for(let w=0;w<g.length;w+=2){const O=g[w];if(O>0)s.push(C[w/2]);else{const $=g[w+1],te=t[-O];for(let Ce=10;Ce<te.length;Ce++){const $e=te[Ce];$e[17]===$e[3]&&uu($e[1],$e,$,s)}if(null!==te[9]){const Ce=te[9];for(let $e=0;$e<Ce.length;$e++){const et=Ce[$e];uu(et[1],et,$,s)}}}}}return s}function Vm(e){const t=bt(),i=un(),s=nt();gt(s+1);const l=Gm(i,s);if(e.dirty&&sn(t)===(2==(2&l.metadata.flags))){if(null===l.matches)e.reset([]);else{const g=l.crossesNgTemplate?uu(i,t,s,[]):Bm(i,t,l,s);e.reset(g,Y0),e.notifyOnChanges()}return!0}return!1}function $m(e,t,i){const s=un();s.firstCreatePass&&(Wm(s,new jm(e,t,i),-1),2==(2&t)&&(s.staticViewQueries=!0)),zm(s,bt(),t)}function Hm(e,t,i,s){const l=un();if(l.firstCreatePass){const g=$n();Wm(l,new jm(t,i,s),g.index),function _C(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(l,e),2==(2&i)&&(l.staticContentQueries=!0)}zm(l,bt(),i)}function Um(){return function yC(e,t){return e[19].queries[t].queryList}(bt(),nt())}function zm(e,t,i){const s=new Sa(4==(4&i));Bf(e,t,s,s.destroy),null===t[19]&&(t[19]=new au),t[19].queries.push(new su(s))}function Wm(e,t,i){null===e.queries&&(e.queries=new lu),e.queries.track(new cu(t,i))}function Gm(e,t){return e.queries.getByIndex(t)}function Km(e,t){return Oa(e,t)}const yi=(()=>({\u0275\u0275attribute:Ql,\u0275\u0275attributeInterpolate1:Yl,\u0275\u0275attributeInterpolate2:Zl,\u0275\u0275attributeInterpolate3:Jl,\u0275\u0275attributeInterpolate4:Xl,\u0275\u0275attributeInterpolate5:ql,\u0275\u0275attributeInterpolate6:ec,\u0275\u0275attributeInterpolate7:tc,\u0275\u0275attributeInterpolate8:nc,\u0275\u0275attributeInterpolateV:ic,\u0275\u0275defineComponent:Q,\u0275\u0275defineDirective:Re,\u0275\u0275defineInjectable:tt,\u0275\u0275defineInjector:Ke,\u0275\u0275defineNgModule:dt,\u0275\u0275definePipe:ge,\u0275\u0275directiveInject:ys,\u0275\u0275getInheritedFactory:rd,\u0275\u0275inject:oi,\u0275\u0275injectAttribute:La,\u0275\u0275invalidFactory:Nh,\u0275\u0275invalidFactoryDep:za,\u0275\u0275templateRefExtractor:Km,\u0275\u0275NgOnChangesFeature:Ci,\u0275\u0275ProvidersFeature:qp,\u0275\u0275CopyDefinitionFeature:bh,\u0275\u0275InheritDefinitionFeature:Wl,\u0275\u0275nextContext:Hh,\u0275\u0275namespaceHTML:Ui,\u0275\u0275namespaceMathML:Hi,\u0275\u0275namespaceSVG:ri,\u0275\u0275enableBindings:Or,\u0275\u0275disableBindings:Ir,\u0275\u0275elementStart:ua,\u0275\u0275elementEnd:da,\u0275\u0275element:cc,\u0275\u0275elementContainerStart:fa,\u0275\u0275elementContainerEnd:ha,\u0275\u0275elementContainer:uc,\u0275\u0275pureFunction0:pm,\u0275\u0275pureFunction1:mm,\u0275\u0275pureFunction2:gm,\u0275\u0275pureFunction3:vm,\u0275\u0275pureFunction4:ym,\u0275\u0275pureFunction5:_m,\u0275\u0275pureFunction6:bm,\u0275\u0275pureFunction7:Cm,\u0275\u0275pureFunction8:Em,\u0275\u0275pureFunctionV:Tm,\u0275\u0275getCurrentView:Lh,\u0275\u0275restoreView:Ko,\u0275\u0275listener:fc,\u0275\u0275projection:zh,\u0275\u0275syntheticHostProperty:Gc,\u0275\u0275syntheticHostListener:hc,\u0275\u0275pipeBind1:Pm,\u0275\u0275pipeBind2:Am,\u0275\u0275pipeBind3:Rm,\u0275\u0275pipeBind4:xm,\u0275\u0275pipeBindV:Fm,\u0275\u0275projectionDef:Uh,\u0275\u0275hostProperty:Wc,\u0275\u0275property:ac,\u0275\u0275propertyInterpolate:mc,\u0275\u0275propertyInterpolate1:pa,\u0275\u0275propertyInterpolate2:gc,\u0275\u0275propertyInterpolate3:vc,\u0275\u0275propertyInterpolate4:yc,\u0275\u0275propertyInterpolate5:_c,\u0275\u0275propertyInterpolate6:bc,\u0275\u0275propertyInterpolate7:Cc,\u0275\u0275propertyInterpolate8:Ec,\u0275\u0275propertyInterpolateV:Tc,\u0275\u0275pipe:Im,\u0275\u0275queryRefresh:Vm,\u0275\u0275viewQuery:$m,\u0275\u0275loadQuery:Um,\u0275\u0275contentQuery:Hm,\u0275\u0275reference:Dh,\u0275\u0275classMap:Xh,\u0275\u0275classMapInterpolate1:sp,\u0275\u0275classMapInterpolate2:ap,\u0275\u0275classMapInterpolate3:lp,\u0275\u0275classMapInterpolate4:cp,\u0275\u0275classMapInterpolate5:up,\u0275\u0275classMapInterpolate6:dp,\u0275\u0275classMapInterpolate7:fp,\u0275\u0275classMapInterpolate8:hp,\u0275\u0275classMapInterpolateV:pp,\u0275\u0275styleMap:or,\u0275\u0275styleMapInterpolate1:mp,\u0275\u0275styleMapInterpolate2:gp,\u0275\u0275styleMapInterpolate3:vp,\u0275\u0275styleMapInterpolate4:yp,\u0275\u0275styleMapInterpolate5:_p,\u0275\u0275styleMapInterpolate6:bp,\u0275\u0275styleMapInterpolate7:Cp,\u0275\u0275styleMapInterpolate8:Ep,\u0275\u0275styleMapInterpolateV:Tp,\u0275\u0275styleProp:Dc,\u0275\u0275stylePropInterpolate1:Nc,\u0275\u0275stylePropInterpolate2:Lc,\u0275\u0275stylePropInterpolate3:jc,\u0275\u0275stylePropInterpolate4:Bc,\u0275\u0275stylePropInterpolate5:Vc,\u0275\u0275stylePropInterpolate6:$c,\u0275\u0275stylePropInterpolate7:Hc,\u0275\u0275stylePropInterpolate8:Uc,\u0275\u0275stylePropInterpolateV:zc,\u0275\u0275classProp:wc,\u0275\u0275advance:Cf,\u0275\u0275template:Eh,\u0275\u0275text:op,\u0275\u0275textInterpolate:Sc,\u0275\u0275textInterpolate1:ga,\u0275\u0275textInterpolate2:Oc,\u0275\u0275textInterpolate3:Ic,\u0275\u0275textInterpolate4:Pc,\u0275\u0275textInterpolate5:Ac,\u0275\u0275textInterpolate6:Rc,\u0275\u0275textInterpolate7:xc,\u0275\u0275textInterpolate8:Fc,\u0275\u0275textInterpolateV:kc,\u0275\u0275i18n:Qp,\u0275\u0275i18nAttributes:Yp,\u0275\u0275i18nExp:Xc,\u0275\u0275i18nStart:Zc,\u0275\u0275i18nEnd:Jc,\u0275\u0275i18nApply:Zp,\u0275\u0275i18nPostprocess:Jp,\u0275\u0275resolveWindow:Wd,\u0275\u0275resolveDocument:Gd,\u0275\u0275resolveBody:Kd,\u0275\u0275setComponentScope:U,\u0275\u0275setNgModuleScope:Ft,\u0275\u0275sanitizeHtml:Ad,\u0275\u0275sanitizeStyle:Rd,\u0275\u0275sanitizeResourceUrl:el,\u0275\u0275sanitizeScript:xd,\u0275\u0275sanitizeUrl:qa,\u0275\u0275sanitizeUrlOrResourceUrl:Nd,\u0275\u0275trustConstantHtml:Fd,\u0275\u0275trustConstantResourceUrl:kd,forwardRef:_,resolveForwardRef:v}))();let Wo=null;function EC(){Wo=null}const Is=[];let du=!1;function Qm(){if(!du){du=!0;try{for(let e=Is.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=Is[e];i.declarations&&i.declarations.every(Ym)&&(Is.splice(e,1),wC(t,i))}}finally{du=!1}}}function Ym(e){return Array.isArray(e)?e.every(Ym):!!v(e)}function Zm(e,t={}){Jm(e,t),function TC(e,t){Is.push({moduleType:e,ngModule:t})}(e,t)}function Jm(e,t,i=!1){const s=Gi(t.declarations||Ct);let l=null;Object.defineProperty(e,ue,{configurable:!0,get:()=>(null===l&&(l=qn().compileNgModule(yi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Gi(t.bootstrap||Ct).map(v),declarations:s.map(v),imports:Gi(t.imports||Ct).map(v).map(tg),exports:Gi(t.exports||Ct).map(v).map(tg),schemas:t.schemas?Gi(t.schemas):null,id:t.id||null}),l.schemas||(l.schemas=[])),l)});let g=null;Object.defineProperty(e,q,{get:()=>{if(null===g){const w=qn();g=w.compileFactory(yi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Gs(e),target:w.FactoryTarget.NgModule,typeArgumentCount:0})}return g},configurable:!1});let C=null;Object.defineProperty(e,ze,{get:()=>{if(null===C){const w={name:e.name,type:e,providers:t.providers||Ct,imports:[(t.imports||Ct).map(v),(t.exports||Ct).map(v)]};C=qn().compileInjector(yi,`ng:///${e.name}/\u0275inj.js`,w)}return C},configurable:!1})}let Pa=new WeakMap,hu=new WeakMap;function DC(){Pa=new WeakMap,hu=new WeakMap,Is.length=0}function wC(e,t){const i=Gi(t.declarations||Ct),s=Ps(e);i.forEach(l=>{l.hasOwnProperty($t)?pu(ke(l),s):!l.hasOwnProperty(Mt)&&!l.hasOwnProperty(Ht)&&(l.ngSelectorScope=e)})}function pu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty($t)?ke(i):ct(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>xt(i)),e.schemas=t.schemas,e.tView=null}function Ps(e){if(!mu(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=jt(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return yr(t.imports).forEach(s=>{const l=s;if(!mu(l))throw new Error(`Importing ${l.name} which does not have a \u0275mod property`);const g=Ps(l);g.exported.directives.forEach(C=>i.compilation.directives.add(C)),g.exported.pipes.forEach(C=>i.compilation.pipes.add(C))}),yr(t.declarations).forEach(s=>{xt(s)?i.compilation.pipes.add(s):i.compilation.directives.add(s)}),yr(t.exports).forEach(s=>{const l=s;if(mu(l)){const g=Ps(l);g.exported.directives.forEach(C=>{i.compilation.directives.add(C),i.exported.directives.add(C)}),g.exported.pipes.forEach(C=>{i.compilation.pipes.add(C),i.exported.pipes.add(C)})}else xt(l)?i.exported.pipes.add(l):i.exported.directives.add(l)}),t.transitiveCompileScopes=i,i}function tg(e){return function MC(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function mu(e){return!!jt(e)}let gu=0;function ng(e,t){let i=null;(function wv(e,t){vd(t)&&(vo.set(e,t),os.add(e))})(e,t),rg(e,t),Object.defineProperty(e,$t,{get:()=>{if(null===i){const s=qn();if(vd(t)){const $=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&$.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&$.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),$.push("Did you run and wait for 'resolveComponentResources()'?"),new Error($.join("\n"))}const l=function CC(){return Wo}();let g=t.preserveWhitespaces;void 0===g&&(g=null!==l&&void 0!==l.preserveWhitespaces&&l.preserveWhitespaces);let C=t.encapsulation;void 0===C&&(C=null!==l&&void 0!==l.defaultEncapsulation?l.defaultEncapsulation:Ee.Emulated);const w=t.templateUrl||`ng:///${e.name}/template.html`,O=Object.assign(Object.assign({},og(e,t)),{typeSourceSpan:s.createParseSourceSpan("Component",e.name,w),template:t.template||"",preserveWhitespaces:g,styles:t.styles||Ct,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:C,interpolation:t.interpolation,viewProviders:t.viewProviders||null});gu++;try{O.usesInheritance&&sg(e),i=s.compileComponent(yi,w,O)}finally{gu--}if(0===gu&&Qm(),function SC(e){return void 0!==e.ngSelectorScope}(e)){const $=Ps(e.ngSelectorScope);pu(i,$)}}return i},configurable:!1})}function vu(e,t){let i=null;rg(e,t||{}),Object.defineProperty(e,Mt,{get:()=>{if(null===i){const s=ig(e,t||{});i=qn().compileDirective(yi,s.sourceMapUrl,s.metadata)}return i},configurable:!1})}function ig(e,t){const i=e&&e.name,s=`ng:///${i}/\u0275dir.js`,l=qn(),g=og(e,t);return g.typeSourceSpan=l.createParseSourceSpan("Directive",i,s),g.usesInheritance&&sg(e),{metadata:g,sourceMapUrl:s}}function rg(e,t){let i=null;Object.defineProperty(e,q,{get:()=>{if(null===i){const s=ig(e,t),l=qn();i=l.compileFactory(yi,`ng:///${e.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:Gs(e),target:l.FactoryTarget.Directive})}return i},configurable:!1})}function OC(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function og(e,t){const i=Ga(),s=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Tt,propMetadata:s,inputs:t.inputs||Ct,outputs:t.outputs||Ct,queries:ag(e,s,lg),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!OC(e),exportAs:AC(t.exportAs),providers:t.providers||null,viewQueries:ag(e,s,cg)}}function sg(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!ct(i)&&!ke(i)&&xC(i)&&vu(i,null),i=Object.getPrototypeOf(i)}function IC(e){return"string"==typeof e?dg(e):v(e)}function PC(e,t){return{propertyName:e,predicate:IC(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function ag(e,t,i){const s=[];for(const l in t)if(t.hasOwnProperty(l)){const g=t[l];g.forEach(C=>{if(i(C)){if(!C.selector)throw new Error(`Can't construct a query for the property "${l}" of "${V(e)}" since the query selector wasn't defined.`);if(g.some(ug))throw new Error("Cannot combine @Input decorators with query decorators");s.push(PC(l,C))}})}return s}function AC(e){return void 0===e?null:dg(e)}function lg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function cg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function ug(e){return"Input"===e.ngMetadataName}function dg(e){return e.split(",").map(t=>t.trim())}const RC=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function xC(e){const t=Ga();if(RC.some(s=>t.hasLifecycleHook(e,s)))return!0;const i=t.propMetadata(e);for(const s in i){const l=i[s];for(let g=0;g<l.length;g++){const C=l[g],w=C.ngMetadataName;if(ug(C)||lg(C)||cg(C)||"Output"===w||"HostBinding"===w||"HostListener"===w)return!0}}return!1}function fg(e,t){let i=null,s=null;Object.defineProperty(e,q,{get:()=>{if(null===s){const l=hg(e,t),g=qn();s=g.compileFactory(yi,`ng:///${l.name}/\u0275fac.js`,{name:l.name,type:l.type,typeArgumentCount:0,deps:Gs(e),target:g.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(e,Ht,{get:()=>{if(null===i){const l=hg(e,t);i=qn().compilePipe(yi,`ng:///${l.name}/\u0275pipe.js`,l)}return i},configurable:!1})}function hg(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const pg=ho("Directive",(e={})=>e,void 0,void 0,(e,t)=>vu(e,t)),FC=ho("Component",(e={})=>Object.assign({changeDetection:At.Default},e),pg,void 0,(e,t)=>ng(e,t)),kC=ho("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>fg(e,t)),NC=$r("Input",e=>({bindingPropertyName:e})),LC=$r("Output",e=>({bindingPropertyName:e})),jC=$r("HostBinding",e=>({hostPropertyName:e})),BC=$r("HostListener",(e,t)=>({eventName:e,args:t})),VC=ho("NgModule",e=>e,void 0,void 0,(e,t)=>Zm(e,t));function Aa(...e){}const mg=new Wn("Application Initializer");let yu=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Aa,this.reject=Aa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,l)=>{this.resolve=s,this.reject=l})}runInitializers(){if(this.initialized)return;const i=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let l=0;l<this.appInits.length;l++){const g=this.appInits[l]();if(dc(g))i.push(g);else if(Bh(g)){const C=new Promise((w,O)=>{g.subscribe({complete:w,error:O})});i.push(C)}}Promise.all(i).then(()=>{s()}).catch(l=>{this.reject(l)}),0===i.length&&s(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(oi(mg,8))},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const gg=new Wn("AppId",{providedIn:"root",factory:vg});function vg(){return`${_u()}${_u()}${_u()}`}const $C={provide:gg,useFactory:vg,deps:[]};function _u(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yg=new Wn("Platform Initializer"),_g=new Wn("Platform ID"),bg=new Wn("appBootstrapListener"),HC=new Wn("Application Packages Root URL");let Cg=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac}),e})();const bu=new Wn("LocaleId",{providedIn:"root",factory:()=>fd(bu,L.Optional|L.SkipSelf)||function UC(){return"undefined"!=typeof $localize&&$localize.locale||bs}()}),zC=new Wn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),WC=new Wn("Translations"),GC=new Wn("TranslationsFormat");var Dr=(()=>((Dr=Dr||{})[Dr.Error=0]="Error",Dr[Dr.Warning=1]="Warning",Dr[Dr.Ignore=2]="Ignore",Dr))();class Eg{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let KC=(()=>{class e{compileModuleSync(i){return new Ma(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const s=this.compileModuleSync(i),g=yr(jt(i).declarations).reduce((C,w)=>{const O=ke(w);return O&&C.push(new wa(O)),C},[]);return new Eg(s,g)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Tg=new Wn("compilerOptions");class QC{}const YC=(()=>Promise.resolve(0))();function Cu(e){"undefined"==typeof Zone?YC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class lr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tr(!1),this.onMicrotaskEmpty=new Tr(!1),this.onStable=new Tr(!1),this.onError=new Tr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!s&&i,l.shouldCoalesceRunChangeDetection=s,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function ZC(){let e=Ie.requestAnimationFrame,t=Ie.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function qC(e){const t=()=>{!function XC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ie,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tu(e),e.isCheckStableRunning=!0,Eu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,s,l,g,C,w)=>{try{return Dg(e),i.invokeTask(l,g,C,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===g.type||e.shouldCoalesceRunChangeDetection)&&t(),wg(e)}},onInvoke:(i,s,l,g,C,w,O)=>{try{return Dg(e),i.invoke(l,g,C,w,O)}finally{e.shouldCoalesceRunChangeDetection&&t(),wg(e)}},onHasTask:(i,s,l,g)=>{i.hasTask(l,g),s===l&&("microTask"==g.change?(e._hasPendingMicrotasks=g.microTask,Tu(e),Eu(e)):"macroTask"==g.change&&(e.hasPendingMacrotasks=g.macroTask))},onHandleError:(i,s,l,g)=>(i.handleError(l,g),e.runOutsideAngular(()=>e.onError.emit(g)),!1)})}(l)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!lr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(lr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,i,s){return this._inner.run(t,i,s)}runTask(t,i,s,l){const g=this._inner,C=g.scheduleEventTask("NgZoneEvent: "+l,t,JC,Aa,Aa);try{return g.runTask(C,i,s)}finally{g.cancelTask(C)}}runGuarded(t,i,s){return this._inner.runGuarded(t,i,s)}runOutsideAngular(t){return this._outer.run(t)}}const JC={};function Eu(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 Tu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wg(e){e._nesting--,Eu(e)}class Mg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tr,this.onMicrotaskEmpty=new Tr,this.onStable=new Tr,this.onError=new Tr}run(t,i,s){return t.apply(i,s)}runGuarded(t,i,s){return t.apply(i,s)}runOutsideAngular(t){return t()}runTask(t,i,s,l){return t.apply(i,s)}}let Sg=(()=>{class e{constructor(i){this._ngZone=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{lr.assertNotInAngularZone(),Cu(()=>{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())Cu(()=>{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(s=>!s.updateCb||!s.updateCb(i)||(clearTimeout(s.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,s,l){let g=-1;s&&s>0&&(g=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==g),i(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:i,timeoutId:g,updateCb:l})}whenStable(i,s,l){if(l&&!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,s,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(i,s,l){return[]}}return e.\u0275fac=function(i){return new(i||e)(oi(lr))},e.\u0275prov=tt({token:e,factory:e.\u0275fac}),e})(),Du=(()=>{class e{constructor(){this._applications=new Map,wu.addToWindow(this)}registerApplication(i,s){this._applications.set(i,s)}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,s=!0){return wu.findTestabilityInTree(this,i,s)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=tt({token:e,factory:e.\u0275fac}),e})();class eE{addToWindow(t){}findTestabilityInTree(t,i,s){return null}}function tE(e){wu=e}let cr,wu=new eE;function Og(e,t,i){const s=new Ma(i);return Promise.resolve(s)}function Ig(e){return e.isBoundToModule}const Mu=new Wn("AllowMultipleToken");class nE{constructor(t,i){this.name=t,this.token=i}}function Pg(e){if(cr&&!cr.destroyed&&!cr.injector.get(Mu,!1))throw new S(400,"");cr=e.get(Ou);const t=e.get(yg,null);return t&&t.forEach(i=>i()),cr}function Ag(e,t,i=[]){const s=`Platform: ${t}`,l=new Wn(s);return(g=[])=>{let C=Su();if(!C||C.injector.get(Mu,!1))if(e)e(i.concat(g).concat({provide:l,useValue:!0}));else{const w=i.concat(g).concat({provide:l,useValue:!0},{provide:jl,useValue:"platform"});Pg(Ki.create({providers:w,name:s}))}return Rg()}}function Rg(e){const t=Su();if(!t)throw new S(401,"");return t}function iE(){cr&&!cr.destroyed&&cr.destroy()}function Su(){return cr&&!cr.destroyed?cr:null}let Ou=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,s){const w=function rE(e,t){let i;return i="noop"===e?new Mg:("zone.js"===e?void 0:e)||new lr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),i}(s?s.ngZone:void 0,{ngZoneEventCoalescing:s&&s.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:s&&s.ngZoneRunCoalescing||!1}),O=[{provide:lr,useValue:w}];return w.run(()=>{const $=Ki.create({providers:O,parent:this.injector,name:i.moduleType.name}),te=i.create($),Ce=te.injector.get(Zs,null);if(!Ce)throw new S(402,"");return w.runOutsideAngular(()=>{const $e=w.onError.subscribe({next:et=>{Ce.handleError(et)}});te.onDestroy(()=>{Pu(this._modules,te),$e.unsubscribe()})}),function oE(e,t,i){try{const s=i();return dc(s)?s.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(Ce,w,()=>{const $e=te.injector.get(yu);return $e.runInitializers(),$e.donePromise.then(()=>(Sp(te.injector.get(bu,bs)||bs),this._moduleDoBootstrap(te),te))})})}bootstrapModule(i,s=[]){const l=xg({},s);return Og(0,0,i).then(g=>this.bootstrapModuleFactory(g,l))}_moduleDoBootstrap(i){const s=i.injector.get(Iu);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(l=>s.bootstrap(l));else{if(!i.instance.ngDoBootstrap)throw new S(403,"");i.instance.ngDoBootstrap(s)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(oi(Ki))},e.\u0275prov=tt({token:e,factory:e.\u0275fac}),e})();function xg(e,t){return Array.isArray(t)?t.reduce(xg,e):Object.assign(Object.assign({},e),t)}let Iu=(()=>{class e{constructor(i,s,l,g,C){this._zone=i,this._injector=s,this._exceptionHandler=l,this._componentFactoryResolver=g,this._initStatus=C,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const w=new y.y($=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{$.next(this._stable),$.complete()})}),O=new y.y($=>{let te;this._zone.runOutsideAngular(()=>{te=this._zone.onStable.subscribe(()=>{lr.assertNotInAngularZone(),Cu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,$.next(!0))})})});const Ce=this._zone.onUnstable.subscribe(()=>{lr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{$.next(!1)}))});return()=>{te.unsubscribe(),Ce.unsubscribe()}});this.isStable=(0,d.T)(w,O.pipe((0,o.B)()))}bootstrap(i,s){if(!this._initStatus.done)throw new S(405,"");let l;l=i instanceof Ca?i:this._componentFactoryResolver.resolveComponentFactory(i),this.componentTypes.push(l.componentType);const g=Ig(l)?void 0:this._injector.get(Uo),w=l.create(Ki.NULL,[],s||l.selector,g),O=w.location.nativeElement,$=w.injector.get(Sg,null),te=$&&w.injector.get(Du);return $&&te&&te.registerApplication(O,$),w.onDestroy(()=>{this.detachView(w.hostView),Pu(this.components,w),te&&te.unregisterApplication(O)}),this._loadComponent(w),w}tick(){if(this._runningTick)throw new S(101,"");try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const s=i;this._views.push(s),s.attachToAppRef(this)}detachView(i){const s=i;Pu(this._views,s),s.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(bg,[]).concat(this._bootstrapListeners).forEach(l=>l(i))}ngOnDestroy(){this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(i){return new(i||e)(oi(lr),oi(Ki),oi(Zs),oi(Ea),oi(yu))},e.\u0275prov=tt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Pu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let kg=!0,Ng=!1;function aE(){return Ng=!0,kg}function lE(){if(Ng)throw new Error("Cannot enable prod mode after platform setup.");kg=!1}function cE(e){const t=hm(e);if(!t)throw Lg(e);return new Ma(t)}function uE(e){const t=hm(e);if(!t)throw Lg(e);return t}function Lg(e){return new Error(`No module with ID ${e} loaded`)}let jg=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bg,e})();function Bg(e){return function dE(e,t,i){if(ai(e)&&!i){const s=rn(e.index,t);return new Ho(s,s)}return 47&e.type?new Ho(t[16],t):null}($n(),bt(),16==(16&e))}class Vg extends jg{}class fE extends Vg{}class hE{constructor(t,i){this.name=t,this.callback=i}}function pE(e){return e.map(t=>t.nativeElement)}class Au{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new As(t):null}get injector(){return uh(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Hl(t)||lh(t))}get context(){return Hl(this.nativeNode)||ah(this.nativeNode)}get listeners(){return fh(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function B_(e){const t=ui(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function iy(e,t){const i=e[1].data[t];if(i&&i.localNames){const s={};let l=i.index+1;for(let g=0;g<i.localNames.length;g+=2)s[i.localNames[g]]=e[l],l++;return s}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function L_(e){const t=ui(e);if(null===t)return[];const s=t.lView[1],l=s.data[t.nodeIndex],g=[],w=l.directiveEnd;for(let O=1048575&l.providerIndexes;O<w;O++){let $=s.data[O];$_($)&&($=$.type),g.push($)}return g}(this.nativeNode)}}class As extends Au{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=ui(this.nativeNode);return null!==t?t.lView[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=ui(this.nativeNode);if(null===t)return{};const i=t.lView,s=i[1].data,l=s[t.nodeIndex],g={};return function mE(e,t){if(e){let i=Object.getPrototypeOf(e);const s=Node.prototype;for(;null!==i&&i!==s;){const l=Object.getOwnPropertyDescriptors(i);for(let g in l)if(!g.startsWith("__")&&!g.startsWith("on")){const C=e[g];gE(C)&&(t[g]=C)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,g),function vE(e,t,i,s){let l=t.propertyBindings;if(null!==l)for(let g=0;g<l.length;g++){const C=l[g],O=s[C].split("\ufffd"),$=O[0];if(O.length>1){let te=O[1];for(let Ce=1;Ce<O.length-1;Ce++)te+=I(i[C+Ce-1])+O[Ce+1];e[$]=te}else e[$]=i[C]}}(g,l,i,s),g}get attributes(){const t={},i=this.nativeElement;if(!i)return t;const s=ui(i);if(null===s)return{};const g=s.lView[1].data[s.nodeIndex].attrs,C=[];if(g){let O=0;for(;O<g.length;){const $=g[O];if("string"!=typeof $)break;t[$]=g[O+1],C.push($.toLowerCase()),O+=2}}const w=i.attributes;for(let O=0;O<w.length;O++){const $=w[O],te=$.name.toLowerCase();-1===C.indexOf(te)&&(t[te]=$.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},s=this.nativeElement.className;return("string"!=typeof s?s.baseVal.split(" "):s.split(" ")).forEach(g=>t[g]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let s=0;s<t.length;s++)i.push(Go(t[s]));return i}get children(){const t=this.nativeElement;if(!t)return[];const i=t.children,s=[];for(let l=0;l<i.length;l++)s.push(Go(i[l]));return s}query(t){return this.queryAll(t)[0]||null}queryAll(t){const i=[];return $g(this,t,i,!0),i}queryAllNodes(t){const i=[];return $g(this,t,i,!1),i}triggerEventHandler(t,i){const s=this.nativeNode,l=[];this.listeners.forEach(g=>{if(g.name===t){const C=g.callback;C.call(s,i),l.push(C)}}),"function"==typeof s.eventListeners&&s.eventListeners(t).forEach(g=>{if(-1!==g.toString().indexOf("__ngUnwrap__")){const C=g("__ngUnwrap__");return-1===l.indexOf(C)&&C.call(s,i)}})}}function gE(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function $g(e,t,i,s){const l=ui(e.nativeNode);null!==l?io(l.lView[1].data[l.nodeIndex],l.lView,t,i,s,e.nativeNode):xu(e.nativeNode,t,i,s)}function io(e,t,i,s,l,g){const C=function Lt(e,t){const i=null===e?-1:e.index;return-1!==i?x(t[i]):null}(e,t);if(11&e.type){if(Ru(C,i,s,l,g),ai(e)){const O=rn(e.index,t);O&&O[1].firstChild&&io(O[1].firstChild,O,i,s,l,g)}else e.child&&io(e.child,t,i,s,l,g),C&&xu(C,i,s,l);const w=t[e.index];jn(w)&&Hg(w,i,s,l,g)}else if(4&e.type){const w=t[e.index];Ru(w[7],i,s,l,g),Hg(w,i,s,l,g)}else if(16&e.type){const w=t[16],$=w[6].projection[e.projection];if(Array.isArray($))for(let te of $)Ru(te,i,s,l,g);else if($){const te=w[3];io(te[1].data[$.index],te,i,s,l,g)}}else e.child&&io(e.child,t,i,s,l,g);if(g!==C){const w=4&e.flags?e.projectionNext:e.next;w&&io(w,t,i,s,l,g)}}function Hg(e,t,i,s,l){for(let g=10;g<e.length;g++){const C=e[g],w=C[1].firstChild;w&&io(w,C,t,i,s,l)}}function Ru(e,t,i,s,l){if(l!==e){const g=Go(e);if(!g)return;(s&&g instanceof As&&t(g)&&-1===i.indexOf(g)||!s&&t(g)&&-1===i.indexOf(g))&&i.push(g)}}function xu(e,t,i,s){const l=e.childNodes,g=l.length;for(let C=0;C<g;C++){const w=l[C],O=Go(w);O&&((s&&O instanceof As&&t(O)&&-1===i.indexOf(O)||!s&&t(O)&&-1===i.indexOf(O))&&i.push(O),xu(w,t,i,s))}}const ku="__ng_debug__";function Go(e){return e instanceof Node?(e.hasOwnProperty(ku)||(e[ku]=e.nodeType==Node.ELEMENT_NODE?new As(e):new Au(e)),e[ku]):null}function yE(e){return null}class Ug{constructor(){}supports(t){return ms(t)}create(t){return new zg(t)}}const _E=(e,t)=>t;class zg{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||_E}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,s=this._removalsHead,l=0,g=null;for(;i||s;){const C=!s||i&&i.currentIndex<Gg(s,l,g)?i:s,w=Gg(C,l,g),O=C.currentIndex;if(C===s)l--,s=s._nextRemoved;else if(i=i._next,null==C.previousIndex)l++;else{g||(g=[]);const $=w-l,te=O-l;if($!=te){for(let $e=0;$e<$;$e++){const et=$e<g.length?g[$e]:g[$e]=0,mt=et+$e;te<=mt&&mt<$&&(g[$e]=et+1)}g[C.previousIndex]=te-$}}w!==O&&t(C,w,O)}}forEachPreviousItem(t){let i;for(i=this._previousItHead;null!==i;i=i._nextPrevious)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachMovedItem(t){let i;for(i=this._movesHead;null!==i;i=i._nextMoved)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}forEachIdentityChange(t){let i;for(i=this._identityChangesHead;null!==i;i=i._nextIdentityChange)t(i)}diff(t){if(null==t&&(t=[]),!ms(t))throw new S(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let l,g,C,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let w=0;w<this.length;w++)g=t[w],C=this._trackByFn(w,g),null!==i&&Object.is(i.trackById,C)?(s&&(i=this._verifyReinsertion(i,g,C,w)),Object.is(i.item,g)||this._addIdentityChange(i,g)):(i=this._mismatch(i,g,C,w),s=!0),i=i._next}else l=0,function q_(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[So()]();let s;for(;!(s=i.next()).done;)t(s.value)}}(t,w=>{C=this._trackByFn(l,w),null!==i&&Object.is(i.trackById,C)?(s&&(i=this._verifyReinsertion(i,w,C,l)),Object.is(i.item,w)||this._addIdentityChange(i,w)):(i=this._mismatch(i,w,C,l),s=!0),i=i._next,l++}),this.length=l;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,s,l){let g;return null===t?g=this._itTail:(g=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,g,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,l))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,g,l)):t=this._addAfter(new bE(i,s),g,l),t}_verifyReinsertion(t,i,s,l){let g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==g?t=this._reinsertAfter(g,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),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,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,g=t._nextRemoved;return null===l?this._removalsHead=g:l._nextRemoved=g,null===g?this._removalsTail=l:g._prevRemoved=l,this._insertAfter(t,i,s),this._addToMoves(t,s),t}_moveAfter(t,i,s){return this._unlink(t),this._insertAfter(t,i,s),this._addToMoves(t,s),t}_addAfter(t,i,s){return this._insertAfter(t,i,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,s){const l=null===i?this._itHead:i._next;return t._next=l,t._prev=i,null===l?this._itTail=t:l._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new Wg),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,s=t._next;return null===i?this._itHead=s:i._next=s,null===s?this._itTail=i:s._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 Wg),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 bE{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 CE{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 s;for(s=this._head;null!==s;s=s._nextDup)if((null===i||i<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const i=t._prevDup,s=t._nextDup;return null===i?this._head=s:i._nextDup=s,null===s?this._tail=i:s._prevDup=i,null===this._head}}class Wg{constructor(){this.map=new Map}put(t){const i=t.trackById;let s=this.map.get(i);s||(s=new CE,this.map.set(i,s)),s.add(t)}get(t,i){const l=this.map.get(t);return l?l.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 Gg(e,t,i){const s=e.previousIndex;if(null===s)return s;let l=0;return i&&s<i.length&&(l=i[s]),s+t+l}class Kg{constructor(){}supports(t){return t instanceof Map||Kl(t)}create(){return new EE}}class EE{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let i;for(i=this._mapHead;null!==i;i=i._next)t(i)}forEachPreviousItem(t){let i;for(i=this._previousMapHead;null!==i;i=i._nextPrevious)t(i)}forEachChangedItem(t){let i;for(i=this._changesHead;null!==i;i=i._nextChanged)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}diff(t){if(t){if(!(t instanceof Map||Kl(t)))throw new S(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(t,(s,l)=>{if(i&&i.key===l)this._maybeAddToChanges(i,s),this._appendAfter=i,i=i._next;else{const g=this._getOrCreateRecordForKey(l,s);i=this._insertBeforeOrAppend(i,g)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let s=i;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const s=t._prev;return i._next=t,i._prev=s,t._prev=i,s&&(s._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 l=this._records.get(t);this._maybeAddToChanges(l,i);const g=l._prev,C=l._next;return g&&(g._next=C),C&&(C._prev=g),l._next=null,l._prev=null,l}const s=new TE(t);return this._records.set(t,s),s.currentValue=i,this._addToAdditions(s),s}_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(s=>i(t[s],s))}}class TE{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 Qg(){return new Nu([new Ug])}let Nu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(null!=s){const l=s.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||Qg()),deps:[[e,new go,new rs]]}}find(i){const s=this.factories.find(l=>l.supports(i));if(null!=s)return s;throw new S(901,"")}}return e.\u0275prov=tt({token:e,providedIn:"root",factory:Qg}),e})();function Yg(){return new Lu([new Kg])}let Lu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(s){const l=s.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||Yg()),deps:[[e,new go,new rs]]}}find(i){const s=this.factories.find(g=>g.supports(i));if(s)return s;throw new S(901,"")}}return e.\u0275prov=tt({token:e,providedIn:"root",factory:Yg}),e})();const DE=[new Kg],ME=new Nu([new Ug]),SE=new Lu(DE),OE=Ag(null,"core",[{provide:_g,useValue:"unknown"},{provide:Ou,deps:[Ki]},{provide:Du,deps:[]},{provide:Cg,deps:[]}]);let IE=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(oi(Iu))},e.\u0275mod=dt({type:e}),e.\u0275inj=Ke({}),e})();const PE=!0;function AE(e){return qn().compileDirectiveDeclaration(yi,`ng:///${e.type.name}/\u0275fac.js`,e)}function RE(e){var t,i;cm(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(i=e.propDecorators)&&void 0!==i?i:null)}function xE(e){return qn().compileComponentDeclaration(yi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function FE(e){return qn(function kE(e){switch(e){case Xn.Directive:return"directive";case Xn.Component:return"component";case Xn.Injectable:return"injectable";case Xn.Pipe:return"pipe";case Xn.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(yi,`ng:///${e.type.name}/\u0275fac.js`,e)}function NE(e){return qn().compileInjectableDeclaration(yi,`ng:///${e.type.name}/\u0275prov.js`,e)}function LE(e){return qn().compileInjectorDeclaration(yi,`ng:///${e.type.name}/\u0275inj.js`,e)}function jE(e){return qn().compileNgModuleDeclaration(yi,`ng:///${e.type.name}/\u0275mod.js`,e)}function BE(e){return qn().compilePipeDeclaration(yi,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(G,r,a)=>{"use strict";a.r(r),a.d(r,{AbstractControl:()=>Ut,AbstractControlDirective:()=>j,AbstractFormGroupDirective:()=>Un,COMPOSITION_BUFFER_MODE:()=>b,CheckboxControlValueAccessor:()=>u,CheckboxRequiredValidator:()=>Jn,ControlContainer:()=>Me,DefaultValueAccessor:()=>T,EmailValidator:()=>Tn,FormArray:()=>ln,FormArrayName:()=>Li,FormBuilder:()=>bn,FormControl:()=>Ot,FormControlDirective:()=>fr,FormControlName:()=>bi,FormGroup:()=>pn,FormGroupDirective:()=>_i,FormGroupName:()=>Ni,FormsModule:()=>rn,MaxLengthValidator:()=>he,MaxValidator:()=>er,MinLengthValidator:()=>re,MinValidator:()=>Pi,NG_ASYNC_VALIDATORS:()=>V,NG_VALIDATORS:()=>I,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>ne,NgControlStatus:()=>L,NgControlStatusGroup:()=>ve,NgForm:()=>fn,NgModel:()=>ai,NgModelGroup:()=>Mn,NgSelectOption:()=>ji,NumberValueAccessor:()=>ki,PatternValidator:()=>ut,RadioControlValueAccessor:()=>wi,RangeValueAccessor:()=>Mi,ReactiveFormsModule:()=>sn,RequiredValidator:()=>zn,SelectControlValueAccessor:()=>Zn,SelectMultipleControlValueAccessor:()=>Ii,VERSION:()=>On,Validators:()=>Y,\u0275InternalFormsSharedModule:()=>cn,\u0275NgNoValidate:()=>mi,\u0275NgSelectMultipleOption:()=>Ei});var n=a(5e3),h=a(9808),y=a(2076),d=a(4128),o=a(4004);let c=(()=>{class B{constructor(M,se){this._renderer=M,this._elementRef=se,this.onChange=ht=>{},this.onTouched=()=>{}}setProperty(M,se){this._renderer.setProperty(this._elementRef.nativeElement,M,se)}registerOnTouched(M){this.onTouched=M}registerOnChange(M){this.onChange=M}setDisabledState(M){this.setProperty("disabled",M)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B}),B})(),f=(()=>{class B extends c{}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,features:[n.\u0275\u0275InheritDefinitionFeature]}),B})();const p=new n.InjectionToken("NgValueAccessor"),m={provide:p,useExisting:(0,n.forwardRef)(()=>u),multi:!0};let u=(()=>{class B extends f{writeValue(M){this.setProperty("checked",M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(Nt){return se.onChange(Nt.target.checked)})("blur",function(){return se.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([m]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const _={provide:p,useExisting:(0,n.forwardRef)(()=>T),multi:!0},b=new n.InjectionToken("CompositionEventMode");let T=(()=>{class B extends c{constructor(M,se,ht){super(M,se),this._compositionMode=ht,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function v(){const B=(0,h.\u0275getDOM)()?(0,h.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(B.toLowerCase())}())}writeValue(M){this.setProperty("value",null==M?"":M)}_handleInput(M){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(M)}_compositionStart(){this._composing=!0}_compositionEnd(M){this._composing=!1,this._compositionMode&&this.onChange(M)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(b,8))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,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(M,se){1&M&&n.\u0275\u0275listener("input",function(Nt){return se._handleInput(Nt.target.value)})("blur",function(){return se.onTouched()})("compositionstart",function(){return se._compositionStart()})("compositionend",function(Nt){return se._compositionEnd(Nt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([_]),n.\u0275\u0275InheritDefinitionFeature]}),B})();function S(B){return null==B||0===B.length}function P(B){return null!=B&&"number"==typeof B.length}const I=new n.InjectionToken("NgValidators"),V=new n.InjectionToken("NgAsyncValidators"),J=/^(?=.{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 Y{static min(R){return X(R)}static max(R){return H(R)}static required(R){return oe(R)}static requiredTrue(R){return le(R)}static email(R){return me(R)}static minLength(R){return De(R)}static maxLength(R){return be(R)}static pattern(R){return Z(R)}static nullValidator(R){return null}static compose(R){return Ge(R)}static composeAsync(R){return qe(R)}}function X(B){return R=>{if(S(R.value)||S(B))return null;const M=parseFloat(R.value);return!isNaN(M)&&M<B?{min:{min:B,actual:R.value}}:null}}function H(B){return R=>{if(S(R.value)||S(B))return null;const M=parseFloat(R.value);return!isNaN(M)&&M>B?{max:{max:B,actual:R.value}}:null}}function oe(B){return S(B.value)?{required:!0}:null}function le(B){return!0===B.value?null:{required:!0}}function me(B){return S(B.value)||J.test(B.value)?null:{email:!0}}function De(B){return R=>S(R.value)||!P(R.value)?null:R.value.length<B?{minlength:{requiredLength:B,actualLength:R.value.length}}:null}function be(B){return R=>P(R.value)&&R.value.length>B?{maxlength:{requiredLength:B,actualLength:R.value.length}}:null}function Z(B){if(!B)return de;let R,M;return"string"==typeof B?(M="","^"!==B.charAt(0)&&(M+="^"),M+=B,"$"!==B.charAt(B.length-1)&&(M+="$"),R=new RegExp(M)):(M=B.toString(),R=B),se=>{if(S(se.value))return null;const ht=se.value;return R.test(ht)?null:{pattern:{requiredPattern:M,actualValue:ht}}}}function de(B){return null}function z(B){return null!=B}function pe(B){const R=(0,n.\u0275isPromise)(B)?(0,y.D)(B):B;return(0,n.\u0275isObservable)(R),R}function ce(B){let R={};return B.forEach(M=>{R=null!=M?Object.assign(Object.assign({},R),M):R}),0===Object.keys(R).length?null:R}function Oe(B,R){return R.map(M=>M(B))}function vt(B){return B.map(R=>function it(B){return!B.validate}(R)?R:M=>R.validate(M))}function Ge(B){if(!B)return null;const R=B.filter(z);return 0==R.length?null:function(M){return ce(Oe(M,R))}}function pt(B){return null!=B?Ge(vt(B)):null}function qe(B){if(!B)return null;const R=B.filter(z);return 0==R.length?null:function(M){const se=Oe(M,R).map(pe);return(0,d.D)(se).pipe((0,o.U)(ce))}}function at(B){return null!=B?qe(vt(B)):null}function Ve(B,R){return null===B?[R]:Array.isArray(B)?[...B,R]:[B,R]}function tt(B){return B._rawValidators}function Le(B){return B._rawAsyncValidators}function Ke(B){return B?Array.isArray(B)?B:[B]:[]}function ft(B,R){return Array.isArray(B)?B.includes(R):B===R}function ye(B,R){const M=Ke(R);return Ke(B).forEach(ht=>{ft(M,ht)||M.push(ht)}),M}function Se(B,R){return Ke(R).filter(M=>!ft(B,M))}class j{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(R){this._rawValidators=R||[],this._composedValidatorFn=pt(this._rawValidators)}_setAsyncValidators(R){this._rawAsyncValidators=R||[],this._composedAsyncValidatorFn=at(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(R){this._onDestroyCallbacks.push(R)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(R=>R()),this._onDestroyCallbacks=[]}reset(R){this.control&&this.control.reset(R)}hasError(R,M){return!!this.control&&this.control.hasError(R,M)}getError(R,M){return this.control?this.control.getError(R,M):null}}class ne extends j{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Me extends j{get formDirective(){return null}get path(){return null}}class ze{constructor(R){this._cd=R}is(R){var M,se,ht;return"submitted"===R?!!(null===(M=this._cd)||void 0===M?void 0:M.submitted):!!(null===(ht=null===(se=this._cd)||void 0===se?void 0:se.control)||void 0===ht?void 0:ht[R])}}let L=(()=>{class B extends ze{constructor(M){super(M)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(ne,2))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(M,se){2&M&&n.\u0275\u0275classProp("ng-untouched",se.is("untouched"))("ng-touched",se.is("touched"))("ng-pristine",se.is("pristine"))("ng-dirty",se.is("dirty"))("ng-valid",se.is("valid"))("ng-invalid",se.is("invalid"))("ng-pending",se.is("pending"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),B})(),ve=(()=>{class B extends ze{constructor(M){super(M)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(M,se){2&M&&n.\u0275\u0275classProp("ng-untouched",se.is("untouched"))("ng-touched",se.is("touched"))("ng-pristine",se.is("pristine"))("ng-dirty",se.is("dirty"))("ng-valid",se.is("valid"))("ng-invalid",se.is("invalid"))("ng-pending",se.is("pending"))("ng-submitted",se.is("submitted"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),B})();function Tt(B,R){return[...R.path,B]}function Ct(B,R){ue(B,R),R.valueAccessor.writeValue(B.value),function k(B,R){R.valueAccessor.registerOnChange(M=>{B._pendingValue=M,B._pendingChange=!0,B._pendingDirty=!0,"change"===B.updateOn&&Q(B,R)})}(B,R),function U(B,R){const M=(se,ht)=>{R.valueAccessor.writeValue(se),ht&&R.viewToModelUpdate(se)};B.registerOnChange(M),R._registerOnDestroy(()=>{B._unregisterOnChange(M)})}(B,R),function W(B,R){R.valueAccessor.registerOnTouched(()=>{B._pendingTouched=!0,"blur"===B.updateOn&&B._pendingChange&&Q(B,R),"submit"!==B.updateOn&&B.markAsTouched()})}(B,R),function Ht(B,R){if(R.valueAccessor.setDisabledState){const M=se=>{R.valueAccessor.setDisabledState(se)};B.registerOnDisabledChange(M),R._registerOnDestroy(()=>{B._unregisterOnDisabledChange(M)})}}(B,R)}function $t(B,R,M=!0){const se=()=>{};R.valueAccessor&&(R.valueAccessor.registerOnChange(se),R.valueAccessor.registerOnTouched(se)),q(B,R),B&&(R._invokeOnDestroyCallbacks(),B._registerOnCollectionChange(()=>{}))}function Mt(B,R){B.forEach(M=>{M.registerOnValidatorChange&&M.registerOnValidatorChange(R)})}function ue(B,R){const M=tt(B);null!==R.validator?B.setValidators(Ve(M,R.validator)):"function"==typeof M&&B.setValidators([M]);const se=Le(B);null!==R.asyncValidator?B.setAsyncValidators(Ve(se,R.asyncValidator)):"function"==typeof se&&B.setAsyncValidators([se]);const ht=()=>B.updateValueAndValidity();Mt(R._rawValidators,ht),Mt(R._rawAsyncValidators,ht)}function q(B,R){let M=!1;if(null!==B){if(null!==R.validator){const ht=tt(B);if(Array.isArray(ht)&&ht.length>0){const Nt=ht.filter(Sn=>Sn!==R.validator);Nt.length!==ht.length&&(M=!0,B.setValidators(Nt))}}if(null!==R.asyncValidator){const ht=Le(B);if(Array.isArray(ht)&&ht.length>0){const Nt=ht.filter(Sn=>Sn!==R.asyncValidator);Nt.length!==ht.length&&(M=!0,B.setAsyncValidators(Nt))}}}const se=()=>{};return Mt(R._rawValidators,se),Mt(R._rawAsyncValidators,se),M}function Q(B,R){B._pendingDirty&&B.markAsDirty(),B.setValue(B._pendingValue,{emitModelToViewChange:!1}),R.viewToModelUpdate(B._pendingValue),B._pendingChange=!1}function N(B,R){ue(B,R)}function Re(B,R){if(!B.hasOwnProperty("model"))return!1;const M=B.model;return!!M.isFirstChange()||!Object.is(R,M.currentValue)}function ke(B,R){B._syncPendingControls(),R.forEach(M=>{const se=M.control;"submit"===se.updateOn&&se._pendingChange&&(M.viewToModelUpdate(se._pendingValue),se._pendingChange=!1)})}function ct(B,R){if(!R)return null;let M,se,ht;return Array.isArray(R),R.forEach(Nt=>{Nt.constructor===T?M=Nt:function ge(B){return Object.getPrototypeOf(B.constructor)===f}(Nt)?se=Nt:ht=Nt}),ht||se||M||null}function xt(B,R){const M=B.indexOf(R);M>-1&&B.splice(M,1)}const gn="VALID",Nn="INVALID",hn="PENDING",An="DISABLED";function Yn(B){return(ae(B)?B.validators:B)||null}function Rn(B){return Array.isArray(B)?pt(B):B||null}function Pt(B,R){return(ae(R)?R.asyncValidators:B)||null}function Yt(B){return Array.isArray(B)?at(B):B||null}function ae(B){return null!=B&&!Array.isArray(B)&&"object"==typeof B}const Ae=B=>B instanceof Ot,ie=B=>B instanceof pn,we=B=>B instanceof ln;function Ze(B){return Ae(B)?B.value:B.getRawValue()}function st(B,R){const M=ie(B),se=B.controls;if(!(M?Object.keys(se):se).length)throw new n.\u0275RuntimeError(1e3,"");if(!se[R])throw new n.\u0275RuntimeError(1001,"")}function St(B,R){ie(B),B._forEachChild((se,ht)=>{if(void 0===R[ht])throw new n.\u0275RuntimeError(1002,"")})}class Ut{constructor(R,M){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=R,this._rawAsyncValidators=M,this._composedValidatorFn=Rn(this._rawValidators),this._composedAsyncValidatorFn=Yt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(R){this._rawValidators=this._composedValidatorFn=R}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(R){this._rawAsyncValidators=this._composedAsyncValidatorFn=R}get parent(){return this._parent}get valid(){return this.status===gn}get invalid(){return this.status===Nn}get pending(){return this.status==hn}get disabled(){return this.status===An}get enabled(){return this.status!==An}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(R){this._rawValidators=R,this._composedValidatorFn=Rn(R)}setAsyncValidators(R){this._rawAsyncValidators=R,this._composedAsyncValidatorFn=Yt(R)}addValidators(R){this.setValidators(ye(R,this._rawValidators))}addAsyncValidators(R){this.setAsyncValidators(ye(R,this._rawAsyncValidators))}removeValidators(R){this.setValidators(Se(R,this._rawValidators))}removeAsyncValidators(R){this.setAsyncValidators(Se(R,this._rawAsyncValidators))}hasValidator(R){return ft(this._rawValidators,R)}hasAsyncValidator(R){return ft(this._rawAsyncValidators,R)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(R={}){this.touched=!0,this._parent&&!R.onlySelf&&this._parent.markAsTouched(R)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(R=>R.markAllAsTouched())}markAsUntouched(R={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(M=>{M.markAsUntouched({onlySelf:!0})}),this._parent&&!R.onlySelf&&this._parent._updateTouched(R)}markAsDirty(R={}){this.pristine=!1,this._parent&&!R.onlySelf&&this._parent.markAsDirty(R)}markAsPristine(R={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(M=>{M.markAsPristine({onlySelf:!0})}),this._parent&&!R.onlySelf&&this._parent._updatePristine(R)}markAsPending(R={}){this.status=hn,!1!==R.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!R.onlySelf&&this._parent.markAsPending(R)}disable(R={}){const M=this._parentMarkedDirty(R.onlySelf);this.status=An,this.errors=null,this._forEachChild(se=>{se.disable(Object.assign(Object.assign({},R),{onlySelf:!0}))}),this._updateValue(),!1!==R.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},R),{skipPristineCheck:M})),this._onDisabledChange.forEach(se=>se(!0))}enable(R={}){const M=this._parentMarkedDirty(R.onlySelf);this.status=gn,this._forEachChild(se=>{se.enable(Object.assign(Object.assign({},R),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:R.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},R),{skipPristineCheck:M})),this._onDisabledChange.forEach(se=>se(!1))}_updateAncestors(R){this._parent&&!R.onlySelf&&(this._parent.updateValueAndValidity(R),R.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(R){this._parent=R}updateValueAndValidity(R={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===gn||this.status===hn)&&this._runAsyncValidator(R.emitEvent)),!1!==R.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!R.onlySelf&&this._parent.updateValueAndValidity(R)}_updateTreeValidity(R={emitEvent:!0}){this._forEachChild(M=>M._updateTreeValidity(R)),this.updateValueAndValidity({onlySelf:!0,emitEvent:R.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?An:gn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(R){if(this.asyncValidator){this.status=hn,this._hasOwnPendingAsyncValidator=!0;const M=pe(this.asyncValidator(this));this._asyncValidationSubscription=M.subscribe(se=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(se,{emitEvent:R})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(R,M={}){this.errors=R,this._updateControlsErrors(!1!==M.emitEvent)}get(R){return function wn(B,R,M){if(null==R||(Array.isArray(R)||(R=R.split(M)),Array.isArray(R)&&0===R.length))return null;let se=B;return R.forEach(ht=>{se=ie(se)?se.controls.hasOwnProperty(ht)?se.controls[ht]:null:we(se)&&se.at(ht)||null}),se}(this,R,".")}getError(R,M){const se=M?this.get(M):this;return se&&se.errors?se.errors[R]:null}hasError(R,M){return!!this.getError(R,M)}get root(){let R=this;for(;R._parent;)R=R._parent;return R}_updateControlsErrors(R){this.status=this._calculateStatus(),R&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(R)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?An:this.errors?Nn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(hn)?hn:this._anyControlsHaveStatus(Nn)?Nn:gn}_anyControlsHaveStatus(R){return this._anyControls(M=>M.status===R)}_anyControlsDirty(){return this._anyControls(R=>R.dirty)}_anyControlsTouched(){return this._anyControls(R=>R.touched)}_updatePristine(R={}){this.pristine=!this._anyControlsDirty(),this._parent&&!R.onlySelf&&this._parent._updatePristine(R)}_updateTouched(R={}){this.touched=this._anyControlsTouched(),this._parent&&!R.onlySelf&&this._parent._updateTouched(R)}_isBoxedValue(R){return"object"==typeof R&&null!==R&&2===Object.keys(R).length&&"value"in R&&"disabled"in R}_registerOnCollectionChange(R){this._onCollectionChange=R}_setUpdateStrategy(R){ae(R)&&null!=R.updateOn&&(this._updateOn=R.updateOn)}_parentMarkedDirty(R){return!R&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ot extends Ut{constructor(R=null,M,se){super(Yn(M),Pt(se,M)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(R),this._setUpdateStrategy(M),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ae(M)&&M.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(R)?R.value:R)}setValue(R,M={}){this.value=this._pendingValue=R,this._onChange.length&&!1!==M.emitModelToViewChange&&this._onChange.forEach(se=>se(this.value,!1!==M.emitViewToModelChange)),this.updateValueAndValidity(M)}patchValue(R,M={}){this.setValue(R,M)}reset(R=this.defaultValue,M={}){this._applyFormState(R),this.markAsPristine(M),this.markAsUntouched(M),this.setValue(this.value,M),this._pendingChange=!1}_updateValue(){}_anyControls(R){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(R){this._onChange.push(R)}_unregisterOnChange(R){xt(this._onChange,R)}registerOnDisabledChange(R){this._onDisabledChange.push(R)}_unregisterOnDisabledChange(R){xt(this._onDisabledChange,R)}_forEachChild(R){}_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(R){this._isBoxedValue(R)?(this.value=this._pendingValue=R.value,R.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=R}}class pn extends Ut{constructor(R,M,se){super(Yn(M),Pt(se,M)),this.controls=R,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(R,M){return this.controls[R]?this.controls[R]:(this.controls[R]=M,M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange),M)}addControl(R,M,se={}){this.registerControl(R,M),this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}removeControl(R,M={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),delete this.controls[R],this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}setControl(R,M,se={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),delete this.controls[R],M&&this.registerControl(R,M),this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}contains(R){return this.controls.hasOwnProperty(R)&&this.controls[R].enabled}setValue(R,M={}){St(this,R),Object.keys(R).forEach(se=>{st(this,se),this.controls[se].setValue(R[se],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(R,M={}){null!=R&&(Object.keys(R).forEach(se=>{this.controls[se]&&this.controls[se].patchValue(R[se],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(R={},M={}){this._forEachChild((se,ht)=>{se.reset(R[ht],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this._reduceChildren({},(R,M,se)=>(R[se]=Ze(M),R))}_syncPendingControls(){let R=this._reduceChildren(!1,(M,se)=>!!se._syncPendingControls()||M);return R&&this.updateValueAndValidity({onlySelf:!0}),R}_forEachChild(R){Object.keys(this.controls).forEach(M=>{const se=this.controls[M];se&&R(se,M)})}_setUpControls(){this._forEachChild(R=>{R.setParent(this),R._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(R){for(const M of Object.keys(this.controls)){const se=this.controls[M];if(this.contains(M)&&R(se))return!0}return!1}_reduceValue(){return this._reduceChildren({},(R,M,se)=>((M.enabled||this.disabled)&&(R[se]=M.value),R))}_reduceChildren(R,M){let se=R;return this._forEachChild((ht,Nt)=>{se=M(se,ht,Nt)}),se}_allControlsDisabled(){for(const R of Object.keys(this.controls))if(this.controls[R].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class ln extends Ut{constructor(R,M,se){super(Yn(M),Pt(se,M)),this.controls=R,this._initObservables(),this._setUpdateStrategy(M),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(R){return this.controls[R]}push(R,M={}){this.controls.push(R),this._registerControl(R),this.updateValueAndValidity({emitEvent:M.emitEvent}),this._onCollectionChange()}insert(R,M,se={}){this.controls.splice(R,0,M),this._registerControl(M),this.updateValueAndValidity({emitEvent:se.emitEvent})}removeAt(R,M={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),this.controls.splice(R,1),this.updateValueAndValidity({emitEvent:M.emitEvent})}setControl(R,M,se={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),this.controls.splice(R,1),M&&(this.controls.splice(R,0,M),this._registerControl(M)),this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(R,M={}){St(this,R),R.forEach((se,ht)=>{st(this,ht),this.at(ht).setValue(se,{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(R,M={}){null!=R&&(R.forEach((se,ht)=>{this.at(ht)&&this.at(ht).patchValue(se,{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(R=[],M={}){this._forEachChild((se,ht)=>{se.reset(R[ht],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this.controls.map(R=>Ze(R))}clear(R={}){this.controls.length<1||(this._forEachChild(M=>M._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:R.emitEvent}))}_syncPendingControls(){let R=this.controls.reduce((M,se)=>!!se._syncPendingControls()||M,!1);return R&&this.updateValueAndValidity({onlySelf:!0}),R}_forEachChild(R){this.controls.forEach((M,se)=>{R(M,se)})}_updateValue(){this.value=this.controls.filter(R=>R.enabled||this.disabled).map(R=>R.value)}_anyControls(R){return this.controls.some(M=>M.enabled&&R(M))}_setUpControls(){this._forEachChild(R=>this._registerControl(R))}_allControlsDisabled(){for(const R of this.controls)if(R.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(R){R.setParent(this),R._registerOnCollectionChange(this._onCollectionChange)}}const _n={provide:Me,useExisting:(0,n.forwardRef)(()=>fn)},Xt=(()=>Promise.resolve(null))();let fn=(()=>{class B extends Me{constructor(M,se){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new pn({},pt(M),at(se))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(M){Xt.then(()=>{const se=this._findContainer(M.path);M.control=se.registerControl(M.name,M.control),Ct(M.control,M),M.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(M)})}getControl(M){return this.form.get(M.path)}removeControl(M){Xt.then(()=>{const se=this._findContainer(M.path);se&&se.removeControl(M.name),this._directives.delete(M)})}addFormGroup(M){Xt.then(()=>{const se=this._findContainer(M.path),ht=new pn({});N(ht,M),se.registerControl(M.name,ht),ht.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(M){Xt.then(()=>{const se=this._findContainer(M.path);se&&se.removeControl(M.name)})}getFormGroup(M){return this.form.get(M.path)}updateModel(M,se){Xt.then(()=>{this.form.get(M.path).setValue(se)})}setValue(M){this.control.setValue(M)}onSubmit(M){return this.submitted=!0,ke(this.form,this._directives),this.ngSubmit.emit(M),!1}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(M){return M.pop(),M.length?this.form.get(M):this.form}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("submit",function(Nt){return se.onSubmit(Nt)})("reset",function(){return se.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([_n]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),Un=(()=>{class B extends Me{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Tt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,features:[n.\u0275\u0275InheritDefinitionFeature]}),B})();const Di={provide:Me,useExisting:(0,n.forwardRef)(()=>Mn)};let Mn=(()=>{class B extends Un{constructor(M,se,ht){super(),this._parent=M,this._setValidators(se),this._setAsyncValidators(ht)}_checkParentType(){}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,5),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Di]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const jn={provide:ne,useExisting:(0,n.forwardRef)(()=>ai)},pi=(()=>Promise.resolve(null))();let ai=(()=>{class B extends ne{constructor(M,se,ht,Nt,Sn){super(),this._changeDetectorRef=Sn,this.control=new Ot,this._registered=!1,this.update=new n.EventEmitter,this._parent=M,this._setValidators(se),this._setAsyncValidators(ht),this.valueAccessor=ct(0,Nt)}ngOnChanges(M){if(this._checkForErrors(),!this._registered||"name"in M){if(this._registered&&(this._checkName(),this.formDirective)){const se=M.name.previousValue;this.formDirective.removeControl({name:se,path:this._getPath(se)})}this._setUpControl()}"isDisabled"in M&&this._updateDisabled(M),Re(M,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(M){this.viewModel=M,this.update.emit(M)}_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(){Ct(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(M){pi.then(()=>{var se;this.control.setValue(M,{emitViewToModelChange:!1}),null===(se=this._changeDetectorRef)||void 0===se||se.markForCheck()})}_updateDisabled(M){const se=M.isDisabled.currentValue,ht=""===se||se&&"false"!==se;pi.then(()=>{var Nt;ht&&!this.control.disabled?this.control.disable():!ht&&this.control.disabled&&this.control.enable(),null===(Nt=this._changeDetectorRef)||void 0===Nt||Nt.markForCheck()})}_getPath(M){return this._parent?Tt(M,this._parent):[M]}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,9),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,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([jn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),B})(),mi=(()=>{class B{}return B.\u0275fac=function(M){return new(M||B)},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),B})();const Kn={provide:p,useExisting:(0,n.forwardRef)(()=>ki),multi:!0};let ki=(()=>{class B extends f{writeValue(M){this.setProperty("value",null==M?"":M)}registerOnChange(M){this.onChange=se=>{M(""==se?null:parseFloat(se))}}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("input",function(Nt){return se.onChange(Nt.target.value)})("blur",function(){return se.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Kn]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const wr={provide:p,useExisting:(0,n.forwardRef)(()=>wi),multi:!0};let Bn=(()=>{class B{}return B.\u0275fac=function(M){return new(M||B)},B.\u0275mod=n.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=n.\u0275\u0275defineInjector({}),B})(),Fr=(()=>{class B{constructor(){this._accessors=[]}add(M,se){this._accessors.push([M,se])}remove(M){for(let se=this._accessors.length-1;se>=0;--se)if(this._accessors[se][1]===M)return void this._accessors.splice(se,1)}select(M){this._accessors.forEach(se=>{this._isSameGroup(se,M)&&se[1]!==M&&se[1].fireUncheck(M.value)})}_isSameGroup(M,se){return!!M[0].control&&M[0]._parent===se._control._parent&&M[1].name===se.name}}return B.\u0275fac=function(M){return new(M||B)},B.\u0275prov=n.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac,providedIn:Bn}),B})(),wi=(()=>{class B extends f{constructor(M,se,ht,Nt){super(M,se),this._registry=ht,this._injector=Nt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(ne),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(M){this._state=M===this.value,this.setProperty("checked",this._state)}registerOnChange(M){this._fn=M,this.onChange=()=>{M(this.value),this._registry.select(this)}}fireUncheck(M){this.writeValue(M)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Fr),n.\u0275\u0275directiveInject(n.Injector))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(){return se.onChange()})("blur",function(){return se.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([wr]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const ur={provide:p,useExisting:(0,n.forwardRef)(()=>Mi),multi:!0};let Mi=(()=>{class B extends f{writeValue(M){this.setProperty("value",parseFloat(M))}registerOnChange(M){this.onChange=se=>{M(""==se?null:parseFloat(se))}}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(Nt){return se.onChange(Nt.target.value)})("input",function(Nt){return se.onChange(Nt.target.value)})("blur",function(){return se.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([ur]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const Zi=new n.InjectionToken("NgModelWithFormControlWarning"),dr={provide:ne,useExisting:(0,n.forwardRef)(()=>fr)};let fr=(()=>{class B extends ne{constructor(M,se,ht,Nt){super(),this._ngModelWarningConfig=Nt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(M),this._setAsyncValidators(se),this.valueAccessor=ct(0,ht)}set isDisabled(M){}ngOnChanges(M){if(this._isControlChanged(M)){const se=M.form.previousValue;se&&$t(se,this,!1),Ct(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Re(M,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&$t(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}_isControlChanged(M){return M.hasOwnProperty("form")}}return B._ngModelWarningSentOnce=!1,B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Zi,8))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([dr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),B})();const kr={provide:Me,useExisting:(0,n.forwardRef)(()=>_i)};let _i=(()=>{class B extends Me{constructor(M,se){super(),this.validators=M,this.asyncValidators=se,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(M),this._setAsyncValidators(se)}ngOnChanges(M){this._checkFormPresent(),M.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(M){const se=this.form.get(M.path);return Ct(se,M),se.updateValueAndValidity({emitEvent:!1}),this.directives.push(M),se}getControl(M){return this.form.get(M.path)}removeControl(M){$t(M.control||null,M,!1),xt(this.directives,M)}addFormGroup(M){this._setUpFormContainer(M)}removeFormGroup(M){this._cleanUpFormContainer(M)}getFormGroup(M){return this.form.get(M.path)}addFormArray(M){this._setUpFormContainer(M)}removeFormArray(M){this._cleanUpFormContainer(M)}getFormArray(M){return this.form.get(M.path)}updateModel(M,se){this.form.get(M.path).setValue(se)}onSubmit(M){return this.submitted=!0,ke(this.form,this.directives),this.ngSubmit.emit(M),!1}onReset(){this.resetForm()}resetForm(M){this.form.reset(M),this.submitted=!1}_updateDomValue(){this.directives.forEach(M=>{const se=M.control,ht=this.form.get(M.path);se!==ht&&($t(se||null,M),Ae(ht)&&(Ct(ht,M),M.control=ht))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(M){const se=this.form.get(M.path);N(se,M),se.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(M){if(this.form){const se=this.form.get(M.path);se&&function fe(B,R){return q(B,R)}(se,M)&&se.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ue(this.form,this),this._oldForm&&q(this._oldForm,this)}_checkFormPresent(){}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formGroup",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("submit",function(Nt){return se.onSubmit(Nt)})("reset",function(){return se.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([kr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),B})();const Nr={provide:Me,useExisting:(0,n.forwardRef)(()=>Ni)};let Ni=(()=>{class B extends Un{constructor(M,se,ht){super(),this._parent=M,this._setValidators(se),this._setAsyncValidators(ht)}_checkParentType(){Ji(this._parent)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const Lr={provide:Me,useExisting:(0,n.forwardRef)(()=>Li)};let Li=(()=>{class B extends Me{constructor(M,se,ht){super(),this._parent=M,this._setValidators(se),this._setAsyncValidators(ht)}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 Tt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ji(this._parent)}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Lr]),n.\u0275\u0275InheritDefinitionFeature]}),B})();function Ji(B){return!(B instanceof Ni||B instanceof _i||B instanceof Li)}const Si={provide:ne,useExisting:(0,n.forwardRef)(()=>bi)};let bi=(()=>{class B extends ne{constructor(M,se,ht,Nt,Sn){super(),this._ngModelWarningConfig=Sn,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=M,this._setValidators(se),this._setAsyncValidators(ht),this.valueAccessor=ct(0,Nt)}set isDisabled(M){}ngOnChanges(M){this._added||this._setUpControl(),Re(M,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(M){this.viewModel=M,this.update.emit(M)}get path(){return Tt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return B._ngModelWarningSentOnce=!1,B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(V,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Zi,8))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Si]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),B})();const Mr={provide:p,useExisting:(0,n.forwardRef)(()=>Zn),multi:!0};function hr(B,R){return null==B?`${R}`:(R&&"object"==typeof R&&(R="Object"),`${B}: ${R}`.slice(0,50))}let Zn=(()=>{class B extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(M){this._compareWith=M}writeValue(M){this.value=M;const ht=hr(this._getOptionId(M),M);this.setProperty("value",ht)}registerOnChange(M){this.onChange=se=>{this.value=this._getOptionValue(se),M(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(M){for(const se of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(se),M))return se;return null}_getOptionValue(M){const se=function Sr(B){return B.split(":")[0]}(M);return this._optionMap.has(se)?this._optionMap.get(se):M}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(Nt){return se.onChange(Nt.target.value)})("blur",function(){return se.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Mr]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),ji=(()=>{class B{constructor(M,se,ht){this._element=M,this._renderer=se,this._select=ht,this._select&&(this.id=this._select._registerOption())}set ngValue(M){null!=this._select&&(this._select._optionMap.set(this.id,M),this._setElementValue(hr(this.id,M)),this._select.writeValue(this._select.value))}set value(M){this._setElementValue(M),this._select&&this._select.writeValue(this._select.value)}_setElementValue(M){this._renderer.setProperty(this._element.nativeElement,"value",M)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Zn,9))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),B})();const Ci={provide:p,useExisting:(0,n.forwardRef)(()=>Ii),multi:!0};function Oi(B,R){return null==B?`${R}`:("string"==typeof R&&(R=`'${R}'`),R&&"object"==typeof R&&(R="Object"),`${B}: ${R}`.slice(0,50))}let Ii=(()=>{class B extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(M){this._compareWith=M}writeValue(M){let se;if(this.value=M,Array.isArray(M)){const ht=M.map(Nt=>this._getOptionId(Nt));se=(Nt,Sn)=>{Nt._setSelected(ht.indexOf(Sn.toString())>-1)}}else se=(ht,Nt)=>{ht._setSelected(!1)};this._optionMap.forEach(se)}registerOnChange(M){this.onChange=se=>{const ht=[],Nt=se.selectedOptions;if(void 0!==Nt){const Sn=Nt;for(let li=0;li<Sn.length;li++){const Ir=this._getOptionValue(Sn[li].value);ht.push(Ir)}}else{const Sn=se.options;for(let li=0;li<Sn.length;li++){const Or=Sn[li];if(Or.selected){const Ir=this._getOptionValue(Or.value);ht.push(Ir)}}}this.value=ht,M(ht)}}_registerOption(M){const se=(this._idCounter++).toString();return this._optionMap.set(se,M),se}_getOptionId(M){for(const se of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(se)._value,M))return se;return null}_getOptionValue(M){const se=function pr(B){return B.split(":")[0]}(M);return this._optionMap.has(se)?this._optionMap.get(se)._value:M}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(M,se){1&M&&n.\u0275\u0275listener("change",function(Nt){return se.onChange(Nt.target)})("blur",function(){return se.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Ci]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),Ei=(()=>{class B{constructor(M,se,ht){this._element=M,this._renderer=se,this._select=ht,this._select&&(this.id=this._select._registerOption(this))}set ngValue(M){null!=this._select&&(this._value=M,this._setElementValue(Oi(this.id,M)),this._select.writeValue(this._select.value))}set value(M){this._select?(this._value=M,this._setElementValue(Oi(this.id,M)),this._select.writeValue(this._select.value)):this._setElementValue(M)}_setElementValue(M){this._renderer.setProperty(this._element.nativeElement,"value",M)}_setSelected(M){this._renderer.setProperty(this._element.nativeElement,"selected",M)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return B.\u0275fac=function(M){return new(M||B)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ii,9))},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),B})();function Xi(B){return"number"==typeof B?B:parseInt(B,10)}function qi(B){return"number"==typeof B?B:parseFloat(B)}let Pn=(()=>{class B{constructor(){this._validator=de}ngOnChanges(M){if(this.inputName in M){const se=this.normalizeInput(M[this.inputName].currentValue);this._enabled=this.enabled(se),this._validator=this._enabled?this.createValidator(se):de,this._onChange&&this._onChange()}}validate(M){return this._validator(M)}registerOnValidatorChange(M){this._onChange=M}enabled(M){return null!=M}}return B.\u0275fac=function(M){return new(M||B)},B.\u0275dir=n.\u0275\u0275defineDirective({type:B,features:[n.\u0275\u0275NgOnChangesFeature]}),B})();const Vi={provide:I,useExisting:(0,n.forwardRef)(()=>er),multi:!0};let er=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=M=>qi(M),this.createValidator=M=>H(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("max",se._enabled?se.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Vi]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const Vn={provide:I,useExisting:(0,n.forwardRef)(()=>Pi),multi:!0};let Pi=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=M=>qi(M),this.createValidator=M=>X(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("min",se._enabled?se.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Vn]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const ti={provide:I,useExisting:(0,n.forwardRef)(()=>zn),multi:!0},ni={provide:I,useExisting:(0,n.forwardRef)(()=>Jn),multi:!0};let zn=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=M=>function Bi(B){return null!=B&&!1!==B&&"false"!=`${B}`}(M),this.createValidator=M=>oe}enabled(M){return M}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("required",se._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([ti]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),Jn=(()=>{class B extends zn{constructor(){super(...arguments),this.createValidator=M=>le}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("required",se._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([ni]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const Br={provide:I,useExisting:(0,n.forwardRef)(()=>Tn),multi:!0};let Tn=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=M=>""===M||!0===M||"true"===M,this.createValidator=M=>me}enabled(M){return M}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Br]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const F={provide:I,useExisting:(0,n.forwardRef)(()=>re),multi:!0};let re=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=M=>Xi(M),this.createValidator=M=>De(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("minlength",se._enabled?se.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([F]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const x={provide:I,useExisting:(0,n.forwardRef)(()=>he),multi:!0};let he=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=M=>Xi(M),this.createValidator=M=>be(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("maxlength",se._enabled?se.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([x]),n.\u0275\u0275InheritDefinitionFeature]}),B})();const He={provide:I,useExisting:(0,n.forwardRef)(()=>ut),multi:!0};let ut=(()=>{class B extends Pn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=M=>M,this.createValidator=M=>Z(M)}}return B.\u0275fac=function(){let R;return function(se){return(R||(R=n.\u0275\u0275getInheritedFactory(B)))(se||B)}}(),B.\u0275dir=n.\u0275\u0275defineDirective({type:B,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(M,se){2&M&&n.\u0275\u0275attribute("pattern",se._enabled?se.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([He]),n.\u0275\u0275InheritDefinitionFeature]}),B})(),cn=(()=>{class B{}return B.\u0275fac=function(M){return new(M||B)},B.\u0275mod=n.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Bn]]}),B})(),rn=(()=>{class B{}return B.\u0275fac=function(M){return new(M||B)},B.\u0275mod=n.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=n.\u0275\u0275defineInjector({imports:[cn]}),B})(),sn=(()=>{class B{static withConfig(M){return{ngModule:B,providers:[{provide:Zi,useValue:M.warnOnNgModelWithFormControl}]}}}return B.\u0275fac=function(M){return new(M||B)},B.\u0275mod=n.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=n.\u0275\u0275defineInjector({imports:[cn]}),B})(),bn=(()=>{class B{group(M,se=null){const ht=this._reduceControls(M);let li,Nt=null,Sn=null;return null!=se&&(function xn(B){return void 0!==B.asyncValidators||void 0!==B.validators||void 0!==B.updateOn}(se)?(Nt=null!=se.validators?se.validators:null,Sn=null!=se.asyncValidators?se.asyncValidators:null,li=null!=se.updateOn?se.updateOn:void 0):(Nt=null!=se.validator?se.validator:null,Sn=null!=se.asyncValidator?se.asyncValidator:null)),new pn(ht,{asyncValidators:Sn,updateOn:li,validators:Nt})}control(M,se,ht){return new Ot(M,se,ht)}array(M,se,ht){const Nt=M.map(Sn=>this._createControl(Sn));return new ln(Nt,se,ht)}_reduceControls(M){const se={};return Object.keys(M).forEach(ht=>{se[ht]=this._createControl(M[ht])}),se}_createControl(M){return Ae(M)||ie(M)||we(M)?M:Array.isArray(M)?this.control(M[0],M.length>1?M[1]:null,M.length>2?M[2]:null):this.control(M)}}return B.\u0275fac=function(M){return new(M||B)},B.\u0275prov=n.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac,providedIn:sn}),B})();const On=new n.Version("13.3.2")},7423:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MatAnchor:()=>v,MatButton:()=>_,MatButtonModule:()=>b});var n=a(5e3),h=a(508),y=a(6360),d=a(5664);const o=["mat-button",""],c=["*"],m=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],u=(0,h.mixinColor)((0,h.mixinDisabled)((0,h.mixinDisableRipple)(class{constructor(T){this._elementRef=T}})));let _=(()=>{class T extends u{constructor(P,I,V){super(P),this._focusMonitor=I,this._animationMode=V,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const J of m)this._hasHostAttributes(J)&&this._getHostElement().classList.add(J);P.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(P,I){P?this._focusMonitor.focusVia(this._getHostElement(),P,I):this._getHostElement().focus(I)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...P){return P.some(I=>this._getHostElement().hasAttribute(I))}}return T.\u0275fac=function(P){return new(P||T)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(y.ANIMATION_MODULE_TYPE,8))},T.\u0275cmp=n.\u0275\u0275defineComponent({type:T,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(P,I){if(1&P&&n.\u0275\u0275viewQuery(h.MatRipple,5),2&P){let V;n.\u0275\u0275queryRefresh(V=n.\u0275\u0275loadQuery())&&(I.ripple=V.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(P,I){2&P&&(n.\u0275\u0275attribute("disabled",I.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-button-disabled",I.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:o,ngContentSelectors:c,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(P,I){1&P&&(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&P&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",I.isRoundButton||I.isIconButton),n.\u0275\u0275property("matRippleDisabled",I._isRippleDisabled())("matRippleCentered",I.isIconButton)("matRippleTrigger",I._getHostElement()))},directives:[h.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:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),T})(),v=(()=>{class T extends _{constructor(P,I,V,J){super(I,P,V),this._ngZone=J,this._haltDisabledEvents=Y=>{this.disabled&&(Y.preventDefault(),Y.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 T.\u0275fac=function(P){return new(P||T)(n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(y.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(n.NgZone,8))},T.\u0275cmp=n.\u0275\u0275defineComponent({type:T,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(P,I){2&P&&(n.\u0275\u0275attribute("tabindex",I.disabled?-1:I.tabIndex)("disabled",I.disabled||null)("aria-disabled",I.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===I._animationMode)("mat-button-disabled",I.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:o,ngContentSelectors:c,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(P,I){1&P&&(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&P&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",I.isRoundButton||I.isIconButton),n.\u0275\u0275property("matRippleDisabled",I._isRippleDisabled())("matRippleCentered",I.isIconButton)("matRippleTrigger",I._getHostElement()))},directives:[h.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:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),T})(),b=(()=>{class T{}return T.\u0275fac=function(P){return new(P||T)},T.\u0275mod=n.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.MatRippleModule,h.MatCommonModule],h.MatCommonModule]}),T})()},9417:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_CHIPS_DEFAULT_OPTIONS:()=>lt,MAT_CHIP_AVATAR:()=>Te,MAT_CHIP_REMOVE:()=>Ue,MAT_CHIP_TRAILING_ICON:()=>Ee,MatChip:()=>Ie,MatChipAvatar:()=>rt,MatChipInput:()=>Ct,MatChipList:()=>ue,MatChipListChange:()=>Ht,MatChipRemove:()=>We,MatChipSelectionChange:()=>At,MatChipTrailingIcon:()=>wt,MatChipsModule:()=>k});var n=a(1159),h=a(5e3),y=a(508),d=a(3191),o=a(9808),c=a(6360),f=a(7579),p=a(6451),m=a(5698),u=a(2722),_=a(8675),v=a(925),b=a(5664),T=a(449),S=a(3075);a(1777);let pt=(()=>{class W{}return W.\u0275fac=function(U){return new(U||W)},W.\u0275dir=h.\u0275\u0275defineDirective({type:W}),W})();var Dt=a(226);const Et=["*"];class At{constructor(Q,U,N=!1){this.source=Q,this.selected=U,this.isUserInput=N}}const Ue=new h.InjectionToken("MatChipRemove"),Te=new h.InjectionToken("MatChipAvatar"),Ee=new h.InjectionToken("MatChipTrailingIcon");class Ye{constructor(Q){this._elementRef=Q}}const Xe=(0,y.mixinTabIndex)((0,y.mixinColor)((0,y.mixinDisableRipple)(Ye),"primary"),-1);let rt=(()=>{class W{}return W.\u0275fac=function(U){return new(U||W)},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[h.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:W}])]}),W})(),wt=(()=>{class W{}return W.\u0275fac=function(U){return new(U||W)},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[h.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:W}])]}),W})(),Ie=(()=>{class W extends Xe{constructor(U,N,fe,je,dt,Ft,Pe,Re){super(U),this._ngZone=N,this._changeDetectorRef=dt,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new f.x,this._onBlur=new f.x,this.selectionChange=new h.EventEmitter,this.destroyed=new h.EventEmitter,this.removed=new h.EventEmitter,this._addHostClassName(),this._chipRippleTarget=Ft.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new y.RippleRenderer(this,N,this._chipRippleTarget,fe),this._chipRipple.setupTriggerEvents(U),this.rippleConfig=je||{},this._animationsDisabled="NoopAnimations"===Pe,this.tabIndex=null!=Re&&parseInt(Re)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(U){const N=(0,d.Ig)(U);N!==this._selected&&(this._selected=N,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(U){this._value=U}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(U){this._selectable=(0,d.Ig)(U)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(U){this._disabled=(0,d.Ig)(U)}get removable(){return this._removable}set removable(U){this._removable=(0,d.Ig)(U)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const U="mat-basic-chip",N=this._elementRef.nativeElement;N.hasAttribute(U)||N.tagName.toLowerCase()===U?N.classList.add(U):N.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(U=!1){return this._selected=!this.selected,this._dispatchSelectionChange(U),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(U){this.disabled&&U.preventDefault()}_handleKeydown(U){if(!this.disabled)switch(U.keyCode){case n.yY:case n.ZH:this.remove(),U.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),U.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(U=!1){this.selectionChange.emit({source:this,isUserInput:U,selected:this._selected})}}return W.\u0275fac=function(U){return new(U||W)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone),h.\u0275\u0275directiveInject(v.t4),h.\u0275\u0275directiveInject(y.MAT_RIPPLE_GLOBAL_OPTIONS,8),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(o.DOCUMENT),h.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8),h.\u0275\u0275injectAttribute("tabindex"))},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(U,N,fe){if(1&U&&(h.\u0275\u0275contentQuery(fe,Te,5),h.\u0275\u0275contentQuery(fe,Ee,5),h.\u0275\u0275contentQuery(fe,Ue,5)),2&U){let je;h.\u0275\u0275queryRefresh(je=h.\u0275\u0275loadQuery())&&(N.avatar=je.first),h.\u0275\u0275queryRefresh(je=h.\u0275\u0275loadQuery())&&(N.trailingIcon=je.first),h.\u0275\u0275queryRefresh(je=h.\u0275\u0275loadQuery())&&(N.removeIcon=je.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(U,N){1&U&&h.\u0275\u0275listener("click",function(je){return N._handleClick(je)})("keydown",function(je){return N._handleKeydown(je)})("focus",function(){return N.focus()})("blur",function(){return N._blur()}),2&U&&(h.\u0275\u0275attribute("tabindex",N.disabled?null:N.tabIndex)("disabled",N.disabled||null)("aria-disabled",N.disabled.toString())("aria-selected",N.ariaSelected),h.\u0275\u0275classProp("mat-chip-selected",N.selected)("mat-chip-with-avatar",N.avatar)("mat-chip-with-trailing-icon",N.trailingIcon||N.removeIcon)("mat-chip-disabled",N.disabled)("_mat-animation-noopable",N._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[h.\u0275\u0275InheritDefinitionFeature]}),W})(),We=(()=>{class W{constructor(U,N){this._parentChip=U,"BUTTON"===N.nativeElement.nodeName&&N.nativeElement.setAttribute("type","button")}_handleClick(U){const N=this._parentChip;N.removable&&!N.disabled&&N.remove(),U.stopPropagation()}}return W.\u0275fac=function(U){return new(U||W)(h.\u0275\u0275directiveInject(Ie),h.\u0275\u0275directiveInject(h.ElementRef))},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(U,N){1&U&&h.\u0275\u0275listener("click",function(je){return N._handleClick(je)})},features:[h.\u0275\u0275ProvidersFeature([{provide:Ue,useExisting:W}])]}),W})();const lt=new h.InjectionToken("mat-chips-default-options");let Tt=0,Ct=(()=>{class W{constructor(U,N){this._elementRef=U,this._defaultOptions=N,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new h.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+Tt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(U){U&&(this._chipList=U,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(U){this._addOnBlur=(0,d.Ig)(U)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(U){this._disabled=(0,d.Ig)(U)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(U){if(U){if(U.keyCode===n.Mf&&!(0,n.Vb)(U,"shiftKey")&&this._chipList._allowFocusEscape(),U.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void U.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(U)}_keyup(U){!this._focusLastChipOnBackspace&&U.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,U.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(U){!this.inputElement.value&&!!U&&this._chipList._keydown(U),(!U||this._isSeparatorKey(U))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==U||U.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(U){this.inputElement.focus(U)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(U){return!(0,n.Vb)(U)&&new Set(this.separatorKeyCodes).has(U.keyCode)}}return W.\u0275fac=function(U){return new(U||W)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(lt))},W.\u0275dir=h.\u0275\u0275defineDirective({type:W,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(U,N){1&U&&h.\u0275\u0275listener("keydown",function(je){return N._keydown(je)})("keyup",function(je){return N._keyup(je)})("blur",function(){return N._blur()})("focus",function(){return N._focus()})("input",function(){return N._onInput()}),2&U&&(h.\u0275\u0275hostProperty("id",N.id),h.\u0275\u0275attribute("disabled",N.disabled||null)("placeholder",N.placeholder||null)("aria-invalid",N._chipList&&N._chipList.ngControl?N._chipList.ngControl.invalid:null)("aria-required",N._chipList&&N._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[h.\u0275\u0275NgOnChangesFeature]}),W})();const $t=(0,y.mixinErrorState)(class{constructor(W,Q,U,N){this._defaultErrorStateMatcher=W,this._parentForm=Q,this._parentFormGroup=U,this.ngControl=N}});let Mt=0;class Ht{constructor(Q,U){this.source=Q,this.value=U}}let ue=(()=>{class W extends $t{constructor(U,N,fe,je,dt,Ft,Pe){super(Ft,je,dt,Pe),this._elementRef=U,this._changeDetectorRef=N,this._dir=fe,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new f.x,this._uid="mat-chip-list-"+Mt++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(Re,ge)=>Re===ge,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new h.EventEmitter,this.valueChange=new h.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var U,N;return this.multiple?(null===(U=this._selectionModel)||void 0===U?void 0:U.selected)||[]:null===(N=this._selectionModel)||void 0===N?void 0:N.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(U){this._multiple=(0,d.Ig)(U),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(U){this._compareWith=U,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(U){this.writeValue(U),this._value=U}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var U,N,fe,je;return null!==(je=null!==(U=this._required)&&void 0!==U?U:null===(fe=null===(N=this.ngControl)||void 0===N?void 0:N.control)||void 0===fe?void 0:fe.hasValidator(S.Validators.required))&&void 0!==je&&je}set required(U){this._required=(0,d.Ig)(U),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(U){this._placeholder=U,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(U){this._disabled=(0,d.Ig)(U),this._syncChipsState()}get selectable(){return this._selectable}set selectable(U){this._selectable=(0,d.Ig)(U),this.chips&&this.chips.forEach(N=>N.chipListSelectable=this._selectable)}set tabIndex(U){this._userTabIndex=U,this._tabIndex=U}get chipSelectionChanges(){return(0,p.T)(...this.chips.map(U=>U.selectionChange))}get chipFocusChanges(){return(0,p.T)(...this.chips.map(U=>U._onFocus))}get chipBlurChanges(){return(0,p.T)(...this.chips.map(U=>U._onBlur))}get chipRemoveChanges(){return(0,p.T)(...this.chips.map(U=>U.destroyed))}ngAfterContentInit(){this._keyManager=new b.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,u.R)(this._destroyed)).subscribe(U=>this._keyManager.withHorizontalOrientation(U)),this._keyManager.tabOut.pipe((0,u.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,_.O)(null),(0,u.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new T.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(U){this._chipInput=U,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",U.id)}setDescribedByIds(U){this._ariaDescribedby=U.join(" ")}writeValue(U){this.chips&&this._setSelectionByValue(U,!1)}registerOnChange(U){this._onChange=U}registerOnTouched(U){this._onTouched=U}setDisabledState(U){this.disabled=U,this.stateChanges.next()}onContainerClick(U){this._originatesFromChip(U)||this.focus()}focus(U){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(U),this.stateChanges.next()))}_focusInput(U){this._chipInput&&this._chipInput.focus(U)}_keydown(U){const N=U.target;N&&N.classList.contains("mat-chip")&&(this._keyManager.onKeydown(U),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const U=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(U)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(U){return U>=0&&U<this.chips.length}_setSelectionByValue(U,N=!0){if(this._clearSelection(),this.chips.forEach(fe=>fe.deselect()),Array.isArray(U))U.forEach(fe=>this._selectValue(fe,N)),this._sortValues();else{const fe=this._selectValue(U,N);fe&&N&&this._keyManager.setActiveItem(fe)}}_selectValue(U,N=!0){const fe=this.chips.find(je=>null!=je.value&&this._compareWith(je.value,U));return fe&&(N?fe.selectViaInteraction():fe.select(),this._selectionModel.select(fe)),fe}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(U){this._selectionModel.clear(),this.chips.forEach(N=>{N!==U&&N.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(U=>{U.selected&&this._selectionModel.select(U)}),this.stateChanges.next())}_propagateChanges(U){let N=null;N=Array.isArray(this.selected)?this.selected.map(fe=>fe.value):this.selected?this.selected.value:U,this._value=N,this.change.emit(new Ht(this,N)),this.valueChange.emit(N),this._onChange(N),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(U=>{U.source.selected?this._selectionModel.select(U.source):this._selectionModel.deselect(U.source),this.multiple||this.chips.forEach(N=>{!this._selectionModel.isSelected(N)&&N.selected&&N.deselect()}),U.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(U=>{let N=this.chips.toArray().indexOf(U.chip);this._isValidIndex(N)&&this._keyManager.updateActiveItem(N),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(U=>{const N=U.chip,fe=this.chips.toArray().indexOf(U.chip);this._isValidIndex(fe)&&N._hasFocus&&(this._lastDestroyedChipIndex=fe)})}_originatesFromChip(U){let N=U.target;for(;N&&N!==this._elementRef.nativeElement;){if(N.classList.contains("mat-chip"))return!0;N=N.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(U=>U._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(U=>{U._chipListDisabled=this._disabled,U._chipListMultiple=this.multiple})}}return W.\u0275fac=function(U){return new(U||W)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(Dt.Is,8),h.\u0275\u0275directiveInject(S.NgForm,8),h.\u0275\u0275directiveInject(S.FormGroupDirective,8),h.\u0275\u0275directiveInject(y.ErrorStateMatcher),h.\u0275\u0275directiveInject(S.NgControl,10))},W.\u0275cmp=h.\u0275\u0275defineComponent({type:W,selectors:[["mat-chip-list"]],contentQueries:function(U,N,fe){if(1&U&&h.\u0275\u0275contentQuery(fe,Ie,5),2&U){let je;h.\u0275\u0275queryRefresh(je=h.\u0275\u0275loadQuery())&&(N.chips=je)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(U,N){1&U&&h.\u0275\u0275listener("focus",function(){return N.focus()})("blur",function(){return N._blur()})("keydown",function(je){return N._keydown(je)}),2&U&&(h.\u0275\u0275hostProperty("id",N._uid),h.\u0275\u0275attribute("tabindex",N.disabled?null:N._tabIndex)("aria-describedby",N._ariaDescribedby||null)("aria-required",N.role?N.required:null)("aria-disabled",N.disabled.toString())("aria-invalid",N.errorState)("aria-multiselectable",N.multiple)("role",N.role)("aria-orientation",N.ariaOrientation),h.\u0275\u0275classProp("mat-chip-list-disabled",N.disabled)("mat-chip-list-invalid",N.errorState)("mat-chip-list-required",N.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[h.\u0275\u0275ProvidersFeature([{provide:pt,useExisting:W}]),h.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Et,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(U,N){1&U&&(h.\u0275\u0275projectionDef(),h.\u0275\u0275elementStart(0,"div",0),h.\u0275\u0275projection(1),h.\u0275\u0275elementEnd())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),W})(),k=(()=>{class W{}return W.\u0275fac=function(U){return new(U||W)},W.\u0275mod=h.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=h.\u0275\u0275defineInjector({providers:[y.ErrorStateMatcher,{provide:lt,useValue:{separatorKeyCodes:[n.K5]}}],imports:[[y.MatCommonModule]]}),W})()},508:(G,r,a)=>{"use strict";a.r(r),a.d(r,{AnimationCurves:()=>J,AnimationDurations:()=>Y,DateAdapter:()=>vt,ErrorStateMatcher:()=>ft,MATERIAL_SANITY_CHECKS:()=>H,MAT_DATE_FORMATS:()=>Ge,MAT_DATE_LOCALE:()=>Oe,MAT_DATE_LOCALE_FACTORY:()=>it,MAT_NATIVE_DATE_FORMATS:()=>Ve,MAT_OPTGROUP:()=>wt,MAT_OPTION_PARENT_COMPONENT:()=>Ee,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Dt,MatCommonModule:()=>oe,MatLine:()=>ye,MatLineModule:()=>ne,MatNativeDateModule:()=>Le,MatOptgroup:()=>Ie,MatOption:()=>Ct,MatOptionModule:()=>Ht,MatOptionSelectionChange:()=>lt,MatPseudoCheckbox:()=>Ue,MatPseudoCheckboxModule:()=>Te,MatRipple:()=>Et,MatRippleModule:()=>At,NativeDateAdapter:()=>at,NativeDateModule:()=>tt,RippleRef:()=>Me,RippleRenderer:()=>Fe,ShowOnDirtyErrorStateMatcher:()=>Ke,VERSION:()=>V,_MatOptgroupBase:()=>rt,_MatOptionBase:()=>Tt,_countGroupLabelsBeforeOption:()=>$t,_getOptionScrollPosition:()=>Mt,defaultRippleAnimationConfig:()=>ze,mixinColor:()=>Z,mixinDisableRipple:()=>de,mixinDisabled:()=>be,mixinErrorState:()=>pe,mixinInitialized:()=>ce,mixinTabIndex:()=>z,setLines:()=>Se});var n=a(5e3),h=a(226),d=a(9808),o=a(925),c=a(5664),f=a(3191),p=a(7579),m=a(8306),u=a(8675),_=a(6360),v=a(1159);const b=["*",[["mat-option"],["ng-container"]]],T=["*","mat-option, ng-container"];function S(ue,q){if(1&ue&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&ue){const k=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",k.selected?"checked":"unchecked")("disabled",k.disabled)}}function P(ue,q){if(1&ue&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const k=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",k.group.label,")")}}const I=["*"],V=new n.Version("13.3.2");let J=(()=>{class ue{}return ue.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ue.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ue.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ue.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",ue})(),Y=(()=>{class ue{}return ue.COMPLEX="375ms",ue.ENTERING="225ms",ue.EXITING="195ms",ue})();const H=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function X(){return!0}});let oe=(()=>{class ue{constructor(k,W,Q){this._sanityChecks=W,this._document=Q,this._hasDoneGlobalChecks=!1,k._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(k){return!(0,o.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[k])}}return ue.\u0275fac=function(k){return new(k||ue)(n.\u0275\u0275inject(c.qm),n.\u0275\u0275inject(H,8),n.\u0275\u0275inject(d.DOCUMENT))},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.vT],h.vT]}),ue})();function be(ue){return class extends ue{constructor(...q){super(...q),this._disabled=!1}get disabled(){return this._disabled}set disabled(q){this._disabled=(0,f.Ig)(q)}}}function Z(ue,q){return class extends ue{constructor(...k){super(...k),this.defaultColor=q,this.color=q}get color(){return this._color}set color(k){const W=k||this.defaultColor;W!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),W&&this._elementRef.nativeElement.classList.add(`mat-${W}`),this._color=W)}}}function de(ue){return class extends ue{constructor(...q){super(...q),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(q){this._disableRipple=(0,f.Ig)(q)}}}function z(ue,q=0){return class extends ue{constructor(...k){super(...k),this._tabIndex=q,this.defaultTabIndex=q}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(k){this._tabIndex=null!=k?(0,f.su)(k):this.defaultTabIndex}}}function pe(ue){return class extends ue{constructor(...q){super(...q),this.stateChanges=new p.x,this.errorState=!1}updateErrorState(){const q=this.errorState,U=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);U!==q&&(this.errorState=U,this.stateChanges.next())}}}function ce(ue){return class extends ue{constructor(...q){super(...q),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new m.y(k=>{this._isInitialized?this._notifySubscriber(k):this._pendingSubscribers.push(k)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(q){q.next(),q.complete()}}}const Oe=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:it});function it(){return(0,n.inject)(n.LOCALE_ID)}class vt{constructor(){this._localeChanges=new p.x,this.localeChanges=this._localeChanges}getValidDateOrNull(q){return this.isDateInstance(q)&&this.isValid(q)?q:null}deserialize(q){return null==q||this.isDateInstance(q)&&this.isValid(q)?q:this.invalid()}setLocale(q){this.locale=q,this._localeChanges.next()}compareDate(q,k){return this.getYear(q)-this.getYear(k)||this.getMonth(q)-this.getMonth(k)||this.getDate(q)-this.getDate(k)}sameDate(q,k){if(q&&k){let W=this.isValid(q),Q=this.isValid(k);return W&&Q?!this.compareDate(q,k):W==Q}return q==k}clampDate(q,k,W){return k&&this.compareDate(q,k)<0?k:W&&this.compareDate(q,W)>0?W:q}}const Ge=new n.InjectionToken("mat-date-formats"),pt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function qe(ue,q){const k=Array(ue);for(let W=0;W<ue;W++)k[W]=q(W);return k}let at=(()=>{class ue extends vt{constructor(k,W){super(),this.useUtcForDisplay=!1,super.setLocale(k)}getYear(k){return k.getFullYear()}getMonth(k){return k.getMonth()}getDate(k){return k.getDate()}getDayOfWeek(k){return k.getDay()}getMonthNames(k){const W=new Intl.DateTimeFormat(this.locale,{month:k,timeZone:"utc"});return qe(12,Q=>this._format(W,new Date(2017,Q,1)))}getDateNames(){const k=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return qe(31,W=>this._format(k,new Date(2017,0,W+1)))}getDayOfWeekNames(k){const W=new Intl.DateTimeFormat(this.locale,{weekday:k,timeZone:"utc"});return qe(7,Q=>this._format(W,new Date(2017,0,Q+1)))}getYearName(k){const W=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(W,k)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(k){return this.getDate(this._createDateWithOverflow(this.getYear(k),this.getMonth(k)+1,0))}clone(k){return new Date(k.getTime())}createDate(k,W,Q){let U=this._createDateWithOverflow(k,W,Q);return U.getMonth(),U}today(){return new Date}parse(k){return"number"==typeof k?new Date(k):k?new Date(Date.parse(k)):null}format(k,W){if(!this.isValid(k))throw Error("NativeDateAdapter: Cannot format invalid date.");const Q=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},W),{timeZone:"utc"}));return this._format(Q,k)}addCalendarYears(k,W){return this.addCalendarMonths(k,12*W)}addCalendarMonths(k,W){let Q=this._createDateWithOverflow(this.getYear(k),this.getMonth(k)+W,this.getDate(k));return this.getMonth(Q)!=((this.getMonth(k)+W)%12+12)%12&&(Q=this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q),0)),Q}addCalendarDays(k,W){return this._createDateWithOverflow(this.getYear(k),this.getMonth(k),this.getDate(k)+W)}toIso8601(k){return[k.getUTCFullYear(),this._2digit(k.getUTCMonth()+1),this._2digit(k.getUTCDate())].join("-")}deserialize(k){if("string"==typeof k){if(!k)return null;if(pt.test(k)){let W=new Date(k);if(this.isValid(W))return W}}return super.deserialize(k)}isDateInstance(k){return k instanceof Date}isValid(k){return!isNaN(k.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(k,W,Q){const U=new Date;return U.setFullYear(k,W,Q),U.setHours(0,0,0,0),U}_2digit(k){return("00"+k).slice(-2)}_format(k,W){const Q=new Date;return Q.setUTCFullYear(W.getFullYear(),W.getMonth(),W.getDate()),Q.setUTCHours(W.getHours(),W.getMinutes(),W.getSeconds(),W.getMilliseconds()),k.format(Q)}}return ue.\u0275fac=function(k){return new(k||ue)(n.\u0275\u0275inject(Oe,8),n.\u0275\u0275inject(o.t4))},ue.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac}),ue})();const Ve={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 tt=(()=>{class ue{}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:vt,useClass:at}]}),ue})(),Le=(()=>{class ue{}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Ge,useValue:Ve}],imports:[[tt]]}),ue})(),Ke=(()=>{class ue{isErrorState(k,W){return!!(k&&k.invalid&&(k.dirty||W&&W.submitted))}}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac}),ue})(),ft=(()=>{class ue{isErrorState(k,W){return!!(k&&k.invalid&&(k.touched||W&&W.submitted))}}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),ye=(()=>{class ue{}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),ue})();function Se(ue,q,k="mat"){ue.changes.pipe((0,u.O)(ue)).subscribe(({length:W})=>{j(q,`${k}-2-line`,!1),j(q,`${k}-3-line`,!1),j(q,`${k}-multi-line`,!1),2===W||3===W?j(q,`${k}-${W}-line`,!0):W>3&&j(q,`${k}-multi-line`,!0)})}function j(ue,q,k){ue.nativeElement.classList.toggle(q,k)}let ne=(()=>{class ue{}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe],oe]}),ue})();class Me{constructor(q,k,W){this._renderer=q,this.element=k,this.config=W,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ze={enterDuration:225,exitDuration:150},xe=(0,o.i$)({passive:!0}),L=["mousedown","touchstart"],ve=["mouseup","mouseleave","touchend","touchcancel"];class Fe{constructor(q,k,W,Q){this._target=q,this._ngZone=k,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Q.isBrowser&&(this._containerElement=(0,f.fI)(W))}fadeInRipple(q,k,W={}){const Q=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),U=Object.assign(Object.assign({},ze),W.animation);W.centered&&(q=Q.left+Q.width/2,k=Q.top+Q.height/2);const N=W.radius||function ot(ue,q,k){const W=Math.max(Math.abs(ue-k.left),Math.abs(ue-k.right)),Q=Math.max(Math.abs(q-k.top),Math.abs(q-k.bottom));return Math.sqrt(W*W+Q*Q)}(q,k,Q),fe=q-Q.left,je=k-Q.top,dt=U.enterDuration,Ft=document.createElement("div");Ft.classList.add("mat-ripple-element"),Ft.style.left=fe-N+"px",Ft.style.top=je-N+"px",Ft.style.height=2*N+"px",Ft.style.width=2*N+"px",null!=W.color&&(Ft.style.backgroundColor=W.color),Ft.style.transitionDuration=`${dt}ms`,this._containerElement.appendChild(Ft),function Je(ue){window.getComputedStyle(ue).getPropertyValue("opacity")}(Ft),Ft.style.transform="scale(1)";const Pe=new Me(this,Ft,W);return Pe.state=0,this._activeRipples.add(Pe),W.persistent||(this._mostRecentTransientRipple=Pe),this._runTimeoutOutsideZone(()=>{const Re=Pe===this._mostRecentTransientRipple;Pe.state=1,!W.persistent&&(!Re||!this._isPointerDown)&&Pe.fadeOut()},dt),Pe}fadeOutRipple(q){const k=this._activeRipples.delete(q);if(q===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!k)return;const W=q.element,Q=Object.assign(Object.assign({},ze),q.config.animation);W.style.transitionDuration=`${Q.exitDuration}ms`,W.style.opacity="0",q.state=2,this._runTimeoutOutsideZone(()=>{q.state=3,W.remove()},Q.exitDuration)}fadeOutAll(){this._activeRipples.forEach(q=>q.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(q=>{q.config.persistent||q.fadeOut()})}setupTriggerEvents(q){const k=(0,f.fI)(q);!k||k===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=k,this._registerEvents(L))}handleEvent(q){"mousedown"===q.type?this._onMousedown(q):"touchstart"===q.type?this._onTouchStart(q):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ve),this._pointerUpEventsRegistered=!0)}_onMousedown(q){const k=(0,c.X6)(q),W=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!k&&!W&&(this._isPointerDown=!0,this.fadeInRipple(q.clientX,q.clientY,this._target.rippleConfig))}_onTouchStart(q){if(!this._target.rippleDisabled&&!(0,c.yG)(q)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const k=q.changedTouches;for(let W=0;W<k.length;W++)this.fadeInRipple(k[W].clientX,k[W].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(q=>{!q.config.persistent&&(1===q.state||q.config.terminateOnPointerUp&&0===q.state)&&q.fadeOut()}))}_runTimeoutOutsideZone(q,k=0){this._ngZone.runOutsideAngular(()=>setTimeout(q,k))}_registerEvents(q){this._ngZone.runOutsideAngular(()=>{q.forEach(k=>{this._triggerElement.addEventListener(k,this,xe)})})}_removeTriggerEvents(){this._triggerElement&&(L.forEach(q=>{this._triggerElement.removeEventListener(q,this,xe)}),this._pointerUpEventsRegistered&&ve.forEach(q=>{this._triggerElement.removeEventListener(q,this,xe)}))}}const Dt=new n.InjectionToken("mat-ripple-global-options");let Et=(()=>{class ue{constructor(k,W,Q,U,N){this._elementRef=k,this._animationMode=N,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=U||{},this._rippleRenderer=new Fe(this,W,k,Q)}get disabled(){return this._disabled}set disabled(k){k&&this.fadeOutAllNonPersistent(),this._disabled=k,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(k){this._trigger=k,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(k,W=0,Q){return"number"==typeof k?this._rippleRenderer.fadeInRipple(k,W,Object.assign(Object.assign({},this.rippleConfig),Q)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),k))}}return ue.\u0275fac=function(k){return new(k||ue)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(o.t4),n.\u0275\u0275directiveInject(Dt,8),n.\u0275\u0275directiveInject(_.ANIMATION_MODULE_TYPE,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(k,W){2&k&&n.\u0275\u0275classProp("mat-ripple-unbounded",W.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"]}),ue})(),At=(()=>{class ue{}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe],oe]}),ue})(),Ue=(()=>{class ue{constructor(k){this._animationMode=k,this.state="unchecked",this.disabled=!1}}return ue.\u0275fac=function(k){return new(k||ue)(n.\u0275\u0275directiveInject(_.ANIMATION_MODULE_TYPE,8))},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(k,W){2&k&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===W.state)("mat-pseudo-checkbox-checked","checked"===W.state)("mat-pseudo-checkbox-disabled",W.disabled)("_mat-animation-noopable","NoopAnimations"===W._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(k,W){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),ue})(),Te=(()=>{class ue{}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe]]}),ue})();const Ee=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Ye=be(class{});let Xe=0,rt=(()=>{class ue extends Ye{constructor(k){var W;super(),this._labelId="mat-optgroup-label-"+Xe++,this._inert=null!==(W=null==k?void 0:k.inertGroups)&&void 0!==W&&W}}return ue.\u0275fac=function(k){return new(k||ue)(n.\u0275\u0275directiveInject(Ee,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})();const wt=new n.InjectionToken("MatOptgroup");let Ie=(()=>{class ue extends rt{}return ue.\u0275fac=function(){let q;return function(W){return(q||(q=n.\u0275\u0275getInheritedFactory(ue)))(W||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(k,W){2&k&&(n.\u0275\u0275attribute("role",W._inert?null:"group")("aria-disabled",W._inert?null:W.disabled.toString())("aria-labelledby",W._inert?null:W._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",W.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:wt,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:T,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(k,W){1&k&&(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&k&&(n.\u0275\u0275property("id",W._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",W.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}\n"],encapsulation:2,changeDetection:0}),ue})(),We=0;class lt{constructor(q,k=!1){this.source=q,this.isUserInput=k}}let Tt=(()=>{class ue{constructor(k,W,Q,U){this._element=k,this._changeDetectorRef=W,this._parent=Q,this.group=U,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+We++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new p.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(k){this._disabled=(0,f.Ig)(k)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(k,W){const Q=this._getHostElement();"function"==typeof Q.focus&&Q.focus(W)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(k){(k.keyCode===v.K5||k.keyCode===v.L_)&&!(0,v.Vb)(k)&&(this._selectViaInteraction(),k.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const k=this.viewValue;k!==this._mostRecentViewValue&&(this._mostRecentViewValue=k,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(k=!1){this.onSelectionChange.emit(new lt(this,k))}}return ue.\u0275fac=function(k){n.\u0275\u0275invalidFactory()},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),ue})(),Ct=(()=>{class ue extends Tt{constructor(k,W,Q,U){super(k,W,Q,U)}}return ue.\u0275fac=function(k){return new(k||ue)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Ee,8),n.\u0275\u0275directiveInject(wt,8))},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(k,W){1&k&&n.\u0275\u0275listener("click",function(){return W._selectViaInteraction()})("keydown",function(U){return W._handleKeydown(U)}),2&k&&(n.\u0275\u0275hostProperty("id",W.id),n.\u0275\u0275attribute("tabindex",W._getTabIndex())("aria-selected",W._getAriaSelected())("aria-disabled",W.disabled.toString()),n.\u0275\u0275classProp("mat-selected",W.selected)("mat-option-multiple",W.multiple)("mat-active",W.active)("mat-option-disabled",W.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:I,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(k,W){1&k&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,S,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,P,2,1,"span",2),n.\u0275\u0275element(4,"div",3)),2&k&&(n.\u0275\u0275property("ngIf",W.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",W.group&&W.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",W._getHostElement())("matRippleDisabled",W.disabled||W.disableRipple))},directives:[Ue,d.NgIf,Et],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),ue})();function $t(ue,q,k){if(k.length){let W=q.toArray(),Q=k.toArray(),U=0;for(let N=0;N<ue+1;N++)W[N].group&&W[N].group===Q[U]&&U++;return U}return 0}function Mt(ue,q,k,W){return ue<k?ue:ue+q>k+W?Math.max(0,ue-W+q):k}let Ht=(()=>{class ue{}return ue.\u0275fac=function(k){return new(k||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[[At,d.CommonModule,oe,Te]]}),ue})()},2339:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_DIALOG_DATA:()=>de,MAT_DIALOG_DEFAULT_OPTIONS:()=>z,MAT_DIALOG_SCROLL_STRATEGY:()=>pe,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>ce,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>it,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Oe,MatDialog:()=>Ge,MatDialogActions:()=>Le,MatDialogClose:()=>at,MatDialogConfig:()=>X,MatDialogContainer:()=>me,MatDialogContent:()=>tt,MatDialogModule:()=>ft,MatDialogRef:()=>be,MatDialogTitle:()=>Ve,_MatDialogBase:()=>vt,_MatDialogContainerBase:()=>le,_closeDialogVia:()=>Z,matDialogAnimations:()=>H,throwMatDialogContentAlreadyAttachedError:()=>oe});var n=a(1314),h=a(7429),y=a(5e3),d=a(508),o=a(226),c=a(8306),f=a(8421),m=a(7579),u=a(9646),_=a(9300),v=a(5698),b=a(8675),T=a(925),S=a(9808),P=a(1777),I=a(5664),V=a(1159),J=a(6360);function Y(ye,Se){}class X{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const H={dialogContainer:(0,P.X$)("dialogContainer",[(0,P.SB)("void, exit",(0,P.oB)({opacity:0,transform:"scale(0.7)"})),(0,P.SB)("enter",(0,P.oB)({transform:"none"})),(0,P.eR)("* => enter",(0,P.ru)([(0,P.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,P.oB)({transform:"none",opacity:1})),(0,P.IO)("@*",(0,P.pV)(),{optional:!0})])),(0,P.eR)("* => void, * => exit",(0,P.ru)([(0,P.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,P.oB)({opacity:0})),(0,P.IO)("@*",(0,P.pV)(),{optional:!0})]))])};function oe(){throw Error("Attempting to attach dialog content after content is already attached")}let le=(()=>{class ye extends h.en{constructor(j,ne,Me,ze,Qe,xe,L,ve){super(),this._elementRef=j,this._focusTrapFactory=ne,this._changeDetectorRef=Me,this._config=Qe,this._interactivityChecker=xe,this._ngZone=L,this._focusMonitor=ve,this._animationStateChanged=new y.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Fe=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Fe)),this._ariaLabelledBy=Qe.ariaLabelledBy||null,this._document=ze}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,T.ht)())}attachComponentPortal(j){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(j)}attachTemplatePortal(j){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(j)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(j,ne){this._interactivityChecker.isFocusable(j)||(j.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Me=()=>{j.removeEventListener("blur",Me),j.removeEventListener("mousedown",Me),j.removeAttribute("tabindex")};j.addEventListener("blur",Me),j.addEventListener("mousedown",Me)})),j.focus(ne)}_focusByCssSelector(j,ne){let Me=this._elementRef.nativeElement.querySelector(j);Me&&this._forceFocus(Me,ne)}_trapFocus(){const j=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||j.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ne=>{ne||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const j=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&j&&"function"==typeof j.focus){const ne=(0,T.ht)(),Me=this._elementRef.nativeElement;(!ne||ne===this._document.body||ne===Me||Me.contains(ne))&&(this._focusMonitor?(this._focusMonitor.focusVia(j,this._closeInteractionType),this._closeInteractionType=null):j.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const j=this._elementRef.nativeElement,ne=(0,T.ht)();return j===ne||j.contains(ne)}}return ye.\u0275fac=function(j){return new(j||ye)(y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(I.qV),y.\u0275\u0275directiveInject(y.ChangeDetectorRef),y.\u0275\u0275directiveInject(S.DOCUMENT,8),y.\u0275\u0275directiveInject(X),y.\u0275\u0275directiveInject(I.ic),y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(I.tE))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,viewQuery:function(j,ne){if(1&j&&y.\u0275\u0275viewQuery(h.Pl,7),2&j){let Me;y.\u0275\u0275queryRefresh(Me=y.\u0275\u0275loadQuery())&&(ne._portalOutlet=Me.first)}},features:[y.\u0275\u0275InheritDefinitionFeature]}),ye})(),me=(()=>{class ye extends le{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:j,totalTime:ne}){"enter"===j?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ne})):"exit"===j&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:ne}))}_onAnimationStart({toState:j,totalTime:ne}){"enter"===j?this._animationStateChanged.next({state:"opening",totalTime:ne}):("exit"===j||"void"===j)&&this._animationStateChanged.next({state:"closing",totalTime:ne})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return ye.\u0275fac=function(){let Se;return function(ne){return(Se||(Se=y.\u0275\u0275getInheritedFactory(ye)))(ne||ye)}}(),ye.\u0275cmp=y.\u0275\u0275defineComponent({type:ye,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(j,ne){1&j&&y.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(ze){return ne._onAnimationStart(ze)})("@dialogContainer.done",function(ze){return ne._onAnimationDone(ze)}),2&j&&(y.\u0275\u0275hostProperty("id",ne._id),y.\u0275\u0275attribute("role",ne._config.role)("aria-labelledby",ne._config.ariaLabel?null:ne._ariaLabelledBy)("aria-label",ne._config.ariaLabel)("aria-describedby",ne._config.ariaDescribedBy||null),y.\u0275\u0275syntheticHostProperty("@dialogContainer",ne._state))},features:[y.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(j,ne){1&j&&y.\u0275\u0275template(0,Y,0,0,"ng-template",0)},directives:[h.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[H.dialogContainer]}}),ye})(),De=0;class be{constructor(Se,j,ne="mat-dialog-"+De++){this._overlayRef=Se,this._containerInstance=j,this.id=ne,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new m.x,this._afterClosed=new m.x,this._beforeClosed=new m.x,this._state=0,j._id=ne,j._animationStateChanged.pipe((0,_.h)(Me=>"opened"===Me.state),(0,v.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),j._animationStateChanged.pipe((0,_.h)(Me=>"closed"===Me.state),(0,v.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Se.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),Se.keydownEvents().pipe((0,_.h)(Me=>Me.keyCode===V.hY&&!this.disableClose&&!(0,V.Vb)(Me))).subscribe(Me=>{Me.preventDefault(),Z(this,"keyboard")}),Se.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Z(this,"mouse")})}close(Se){this._result=Se,this._containerInstance._animationStateChanged.pipe((0,_.h)(j=>"closing"===j.state),(0,v.q)(1)).subscribe(j=>{this._beforeClosed.next(Se),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),j.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(Se){let j=this._getPositionStrategy();return Se&&(Se.left||Se.right)?Se.left?j.left(Se.left):j.right(Se.right):j.centerHorizontally(),Se&&(Se.top||Se.bottom)?Se.top?j.top(Se.top):j.bottom(Se.bottom):j.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(Se="",j=""){return this._overlayRef.updateSize({width:Se,height:j}),this._overlayRef.updatePosition(),this}addPanelClass(Se){return this._overlayRef.addPanelClass(Se),this}removePanelClass(Se){return this._overlayRef.removePanelClass(Se),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Z(ye,Se,j){return void 0!==ye._containerInstance&&(ye._containerInstance._closeInteractionType=Se),ye.close(j)}const de=new y.InjectionToken("MatDialogData"),z=new y.InjectionToken("mat-dialog-default-options"),pe=new y.InjectionToken("mat-dialog-scroll-strategy");function ce(ye){return()=>ye.scrollStrategies.block()}function Oe(ye){return()=>ye.scrollStrategies.block()}const it={provide:pe,deps:[n.aV],useFactory:Oe};let vt=(()=>{class ye{constructor(j,ne,Me,ze,Qe,xe,L,ve,Fe,Je){this._overlay=j,this._injector=ne,this._defaultOptions=Me,this._parentDialog=ze,this._overlayContainer=Qe,this._dialogRefConstructor=L,this._dialogContainerType=ve,this._dialogDataToken=Fe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new m.x,this._afterOpenedAtThisLevel=new m.x,this._ariaHiddenElements=new Map,this.afterAllClosed=function p(ye){return new c.y(Se=>{(0,f.Xf)(ye()).subscribe(Se)})}(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,b.O)(void 0))),this._scrollStrategy=xe}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const j=this._parentDialog;return j?j._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(j,ne){ne=function pt(ye,Se){return Object.assign(Object.assign({},Se),ye)}(ne,this._defaultOptions||new X),ne.id&&this.getDialogById(ne.id);const Me=this._createOverlay(ne),ze=this._attachDialogContainer(Me,ne),Qe=this._attachDialogContent(j,ze,Me,ne);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Qe),Qe.afterClosed().subscribe(()=>this._removeOpenDialog(Qe)),this.afterOpened.next(Qe),ze._initializeWithAttachedContent(),Qe}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(j){return this.openDialogs.find(ne=>ne.id===j)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(j){const ne=this._getOverlayConfig(j);return this._overlay.create(ne)}_getOverlayConfig(j){const ne=new n.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:j.scrollStrategy||this._scrollStrategy(),panelClass:j.panelClass,hasBackdrop:j.hasBackdrop,direction:j.direction,minWidth:j.minWidth,minHeight:j.minHeight,maxWidth:j.maxWidth,maxHeight:j.maxHeight,disposeOnNavigation:j.closeOnNavigation});return j.backdropClass&&(ne.backdropClass=j.backdropClass),ne}_attachDialogContainer(j,ne){const ze=y.Injector.create({parent:ne&&ne.viewContainerRef&&ne.viewContainerRef.injector||this._injector,providers:[{provide:X,useValue:ne}]}),Qe=new h.C5(this._dialogContainerType,ne.viewContainerRef,ze,ne.componentFactoryResolver);return j.attach(Qe).instance}_attachDialogContent(j,ne,Me,ze){const Qe=new this._dialogRefConstructor(Me,ne,ze.id);if(j instanceof y.TemplateRef)ne.attachTemplatePortal(new h.UE(j,null,{$implicit:ze.data,dialogRef:Qe}));else{const xe=this._createInjector(ze,Qe,ne),L=ne.attachComponentPortal(new h.C5(j,ze.viewContainerRef,xe,ze.componentFactoryResolver));Qe.componentInstance=L.instance}return Qe.updateSize(ze.width,ze.height).updatePosition(ze.position),Qe}_createInjector(j,ne,Me){const ze=j&&j.viewContainerRef&&j.viewContainerRef.injector,Qe=[{provide:this._dialogContainerType,useValue:Me},{provide:this._dialogDataToken,useValue:j.data},{provide:this._dialogRefConstructor,useValue:ne}];return j.direction&&(!ze||!ze.get(o.Is,null,y.InjectFlags.Optional))&&Qe.push({provide:o.Is,useValue:{value:j.direction,change:(0,u.of)()}}),y.Injector.create({parent:ze||this._injector,providers:Qe})}_removeOpenDialog(j){const ne=this.openDialogs.indexOf(j);ne>-1&&(this.openDialogs.splice(ne,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Me,ze)=>{Me?ze.setAttribute("aria-hidden",Me):ze.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const j=this._overlayContainer.getContainerElement();if(j.parentElement){const ne=j.parentElement.children;for(let Me=ne.length-1;Me>-1;Me--){let ze=ne[Me];ze!==j&&"SCRIPT"!==ze.nodeName&&"STYLE"!==ze.nodeName&&!ze.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ze,ze.getAttribute("aria-hidden")),ze.setAttribute("aria-hidden","true"))}}}_closeDialogs(j){let ne=j.length;for(;ne--;)j[ne].close()}}return ye.\u0275fac=function(j){y.\u0275\u0275invalidFactory()},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye}),ye})(),Ge=(()=>{class ye extends vt{constructor(j,ne,Me,ze,Qe,xe,L,ve){super(j,ne,ze,xe,L,Qe,be,me,de,ve)}}return ye.\u0275fac=function(j){return new(j||ye)(y.\u0275\u0275inject(n.aV),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(S.Location,8),y.\u0275\u0275inject(z,8),y.\u0275\u0275inject(pe),y.\u0275\u0275inject(ye,12),y.\u0275\u0275inject(n.Xj),y.\u0275\u0275inject(J.ANIMATION_MODULE_TYPE,8))},ye.\u0275prov=y.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})(),qe=0,at=(()=>{class ye{constructor(j,ne,Me){this.dialogRef=j,this._elementRef=ne,this._dialog=Me,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Ke(this._elementRef,this._dialog.openDialogs))}ngOnChanges(j){const ne=j._matDialogClose||j._matDialogCloseResult;ne&&(this.dialogResult=ne.currentValue)}_onButtonClick(j){Z(this.dialogRef,0===j.screenX&&0===j.screenY?"keyboard":"mouse",this.dialogResult)}}return ye.\u0275fac=function(j){return new(j||ye)(y.\u0275\u0275directiveInject(be,8),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(Ge))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(j,ne){1&j&&y.\u0275\u0275listener("click",function(ze){return ne._onButtonClick(ze)}),2&j&&y.\u0275\u0275attribute("aria-label",ne.ariaLabel||null)("type",ne.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[y.\u0275\u0275NgOnChangesFeature]}),ye})(),Ve=(()=>{class ye{constructor(j,ne,Me){this._dialogRef=j,this._elementRef=ne,this._dialog=Me,this.id="mat-dialog-title-"+qe++}ngOnInit(){this._dialogRef||(this._dialogRef=Ke(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const j=this._dialogRef._containerInstance;j&&!j._ariaLabelledBy&&(j._ariaLabelledBy=this.id)})}}return ye.\u0275fac=function(j){return new(j||ye)(y.\u0275\u0275directiveInject(be,8),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(Ge))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(j,ne){2&j&&y.\u0275\u0275hostProperty("id",ne.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ye})(),tt=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),ye})(),Le=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),ye})();function Ke(ye,Se){let j=ye.nativeElement.parentElement;for(;j&&!j.classList.contains("mat-dialog-container");)j=j.parentElement;return j?Se.find(ne=>ne.id===j.id):null}let ft=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275mod=y.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=y.\u0275\u0275defineInjector({providers:[Ge,it],imports:[[n.U8,h.eL,d.MatCommonModule],d.MatCommonModule]}),ye})()},3293:(G,r,a)=>{"use strict";a.r(r),a.d(r,{ICON_REGISTRY_PROVIDER:()=>Oe,ICON_REGISTRY_PROVIDER_FACTORY:()=>ce,MAT_ICON_LOCATION:()=>qe,MAT_ICON_LOCATION_FACTORY:()=>at,MatIcon:()=>Ke,MatIconModule:()=>ft,MatIconRegistry:()=>pe,getMatIconFailedToSanitizeLiteralError:()=>de,getMatIconFailedToSanitizeUrlError:()=>Z,getMatIconNameNotFoundError:()=>De,getMatIconNoHttpProviderError:()=>be});var n=a(5e3),h=a(508),y=a(3191),d=a(9808),o=a(8306),c=a(576),p=a(9646),m=a(4128),u=a(727),_=a(8421),v=a(5403),b=a(4482);function T(ye){return(0,b.e)((Se,j)=>{let ze,ne=null,Me=!1;ne=Se.subscribe((0,v.x)(j,void 0,void 0,Qe=>{ze=(0,_.Xf)(ye(Qe,T(ye)(Se))),ne?(ne.unsubscribe(),ne=null,ze.subscribe(j)):Me=!0})),Me&&(ne.unsubscribe(),ne=null,ze.subscribe(j))})}var P=a(8505),I=a(4004),V=a(3099),J=a(5698),Y=a(6529),X=a(2313);const H=["*"];let oe;function me(ye){var Se;return(null===(Se=function le(){if(void 0===oe&&(oe=null,"undefined"!=typeof window)){const ye=window;void 0!==ye.trustedTypes&&(oe=ye.trustedTypes.createPolicy("angular#components",{createHTML:Se=>Se}))}return oe}())||void 0===Se?void 0:Se.createHTML(ye))||ye}function De(ye){return Error(`Unable to find icon with the name "${ye}"`)}function be(){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 Z(ye){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ye}".`)}function de(ye){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ye}".`)}class z{constructor(Se,j,ne){this.url=Se,this.svgText=j,this.options=ne}}let pe=(()=>{class ye{constructor(j,ne,Me,ze){this._httpClient=j,this._sanitizer=ne,this._errorHandler=ze,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=Me}addSvgIcon(j,ne,Me){return this.addSvgIconInNamespace("",j,ne,Me)}addSvgIconLiteral(j,ne,Me){return this.addSvgIconLiteralInNamespace("",j,ne,Me)}addSvgIconInNamespace(j,ne,Me,ze){return this._addSvgIconConfig(j,ne,new z(Me,null,ze))}addSvgIconResolver(j){return this._resolvers.push(j),this}addSvgIconLiteralInNamespace(j,ne,Me,ze){const Qe=this._sanitizer.sanitize(n.SecurityContext.HTML,Me);if(!Qe)throw de(Me);const xe=me(Qe);return this._addSvgIconConfig(j,ne,new z("",xe,ze))}addSvgIconSet(j,ne){return this.addSvgIconSetInNamespace("",j,ne)}addSvgIconSetLiteral(j,ne){return this.addSvgIconSetLiteralInNamespace("",j,ne)}addSvgIconSetInNamespace(j,ne,Me){return this._addSvgIconSetConfig(j,new z(ne,null,Me))}addSvgIconSetLiteralInNamespace(j,ne,Me){const ze=this._sanitizer.sanitize(n.SecurityContext.HTML,ne);if(!ze)throw de(ne);const Qe=me(ze);return this._addSvgIconSetConfig(j,new z("",Qe,Me))}registerFontClassAlias(j,ne=j){return this._fontCssClassesByAlias.set(j,ne),this}classNameForFontAlias(j){return this._fontCssClassesByAlias.get(j)||j}setDefaultFontSetClass(j){return this._defaultFontSetClass=j,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(j){const ne=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,j);if(!ne)throw Z(j);const Me=this._cachedIconsByUrl.get(ne);return Me?(0,p.of)(it(Me)):this._loadSvgIconFromConfig(new z(j,null)).pipe((0,P.b)(ze=>this._cachedIconsByUrl.set(ne,ze)),(0,I.U)(ze=>it(ze)))}getNamedSvgIcon(j,ne=""){const Me=vt(ne,j);let ze=this._svgIconConfigs.get(Me);if(ze)return this._getSvgFromConfig(ze);if(ze=this._getIconConfigFromResolvers(ne,j),ze)return this._svgIconConfigs.set(Me,ze),this._getSvgFromConfig(ze);const Qe=this._iconSetConfigs.get(ne);return Qe?this._getSvgFromIconSetConfigs(j,Qe):function f(ye,Se){const j=(0,c.m)(ye)?ye:()=>ye,ne=Me=>Me.error(j());return new o.y(Se?Me=>Se.schedule(ne,0,Me):ne)}(De(Me))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(j){return j.svgText?(0,p.of)(it(this._svgElementFromConfig(j))):this._loadSvgIconFromConfig(j).pipe((0,I.U)(ne=>it(ne)))}_getSvgFromIconSetConfigs(j,ne){const Me=this._extractIconWithNameFromAnySet(j,ne);if(Me)return(0,p.of)(Me);const ze=ne.filter(Qe=>!Qe.svgText).map(Qe=>this._loadSvgIconSetFromConfig(Qe).pipe(T(xe=>{const ve=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Qe.url)} failed: ${xe.message}`;return this._errorHandler.handleError(new Error(ve)),(0,p.of)(null)})));return(0,m.D)(ze).pipe((0,I.U)(()=>{const Qe=this._extractIconWithNameFromAnySet(j,ne);if(!Qe)throw De(j);return Qe}))}_extractIconWithNameFromAnySet(j,ne){for(let Me=ne.length-1;Me>=0;Me--){const ze=ne[Me];if(ze.svgText&&ze.svgText.toString().indexOf(j)>-1){const Qe=this._svgElementFromConfig(ze),xe=this._extractSvgIconFromSet(Qe,j,ze.options);if(xe)return xe}}return null}_loadSvgIconFromConfig(j){return this._fetchIcon(j).pipe((0,P.b)(ne=>j.svgText=ne),(0,I.U)(()=>this._svgElementFromConfig(j)))}_loadSvgIconSetFromConfig(j){return j.svgText?(0,p.of)(null):this._fetchIcon(j).pipe((0,P.b)(ne=>j.svgText=ne))}_extractSvgIconFromSet(j,ne,Me){const ze=j.querySelector(`[id="${ne}"]`);if(!ze)return null;const Qe=ze.cloneNode(!0);if(Qe.removeAttribute("id"),"svg"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(Qe,Me);if("symbol"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Qe),Me);const xe=this._svgElementFromString(me("<svg></svg>"));return xe.appendChild(Qe),this._setSvgAttributes(xe,Me)}_svgElementFromString(j){const ne=this._document.createElement("DIV");ne.innerHTML=j;const Me=ne.querySelector("svg");if(!Me)throw Error("<svg> tag not found");return Me}_toSvgElement(j){const ne=this._svgElementFromString(me("<svg></svg>")),Me=j.attributes;for(let ze=0;ze<Me.length;ze++){const{name:Qe,value:xe}=Me[ze];"id"!==Qe&&ne.setAttribute(Qe,xe)}for(let ze=0;ze<j.childNodes.length;ze++)j.childNodes[ze].nodeType===this._document.ELEMENT_NODE&&ne.appendChild(j.childNodes[ze].cloneNode(!0));return ne}_setSvgAttributes(j,ne){return j.setAttribute("fit",""),j.setAttribute("height","100%"),j.setAttribute("width","100%"),j.setAttribute("preserveAspectRatio","xMidYMid meet"),j.setAttribute("focusable","false"),ne&&ne.viewBox&&j.setAttribute("viewBox",ne.viewBox),j}_fetchIcon(j){var ne;const{url:Me,options:ze}=j,Qe=null!==(ne=null==ze?void 0:ze.withCredentials)&&void 0!==ne&≠if(!this._httpClient)throw be();if(null==Me)throw Error(`Cannot fetch icon from URL "${Me}".`);const xe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Me);if(!xe)throw Z(Me);const L=this._inProgressUrlFetches.get(xe);if(L)return L;const ve=this._httpClient.get(xe,{responseType:"text",withCredentials:Qe}).pipe((0,I.U)(Fe=>me(Fe)),function S(ye){return(0,b.e)((Se,j)=>{try{Se.subscribe(j)}finally{j.add(ye)}})}(()=>this._inProgressUrlFetches.delete(xe)),(0,V.B)());return this._inProgressUrlFetches.set(xe,ve),ve}_addSvgIconConfig(j,ne,Me){return this._svgIconConfigs.set(vt(j,ne),Me),this}_addSvgIconSetConfig(j,ne){const Me=this._iconSetConfigs.get(j);return Me?Me.push(ne):this._iconSetConfigs.set(j,[ne]),this}_svgElementFromConfig(j){if(!j.svgElement){const ne=this._svgElementFromString(j.svgText);this._setSvgAttributes(ne,j.options),j.svgElement=ne}return j.svgElement}_getIconConfigFromResolvers(j,ne){for(let Me=0;Me<this._resolvers.length;Me++){const ze=this._resolvers[Me](ne,j);if(ze)return Ge(ze)?new z(ze.url,null,ze.options):new z(ze,null)}}}return ye.\u0275fac=function(j){return new(j||ye)(n.\u0275\u0275inject(Y.HttpClient,8),n.\u0275\u0275inject(X.DomSanitizer),n.\u0275\u0275inject(d.DOCUMENT,8),n.\u0275\u0275inject(n.ErrorHandler))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})();function ce(ye,Se,j,ne,Me){return ye||new pe(Se,j,Me,ne)}const Oe={provide:pe,deps:[[new n.Optional,new n.SkipSelf,pe],[new n.Optional,Y.HttpClient],X.DomSanitizer,n.ErrorHandler,[new n.Optional,d.DOCUMENT]],useFactory:ce};function it(ye){return ye.cloneNode(!0)}function vt(ye,Se){return ye+":"+Se}function Ge(ye){return!(!ye.url||!ye.options)}const pt=(0,h.mixinColor)(class{constructor(ye){this._elementRef=ye}}),qe=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:at});function at(){const ye=(0,n.inject)(d.DOCUMENT),Se=ye?ye.location:null;return{getPathname:()=>Se?Se.pathname+Se.search:""}}const Ve=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tt=Ve.map(ye=>`[${ye}]`).join(", "),Le=/^url\(['"]?#(.*?)['"]?\)$/;let Ke=(()=>{class ye extends pt{constructor(j,ne,Me,ze,Qe){super(j),this._iconRegistry=ne,this._location=ze,this._errorHandler=Qe,this._inline=!1,this._currentIconFetch=u.w0.EMPTY,Me||j.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(j){this._inline=(0,y.Ig)(j)}get svgIcon(){return this._svgIcon}set svgIcon(j){j!==this._svgIcon&&(j?this._updateSvgIcon(j):this._svgIcon&&this._clearSvgElement(),this._svgIcon=j)}get fontSet(){return this._fontSet}set fontSet(j){const ne=this._cleanupFontValue(j);ne!==this._fontSet&&(this._fontSet=ne,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(j){const ne=this._cleanupFontValue(j);ne!==this._fontIcon&&(this._fontIcon=ne,this._updateFontIconClasses())}_splitIconName(j){if(!j)return["",""];const ne=j.split(":");switch(ne.length){case 1:return["",ne[0]];case 2:return ne;default:throw Error(`Invalid icon name: "${j}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const j=this._elementsWithExternalReferences;if(j&&j.size){const ne=this._location.getPathname();ne!==this._previousPath&&(this._previousPath=ne,this._prependPathToReferences(ne))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(j){this._clearSvgElement();const ne=this._location.getPathname();this._previousPath=ne,this._cacheChildrenWithExternalReferences(j),this._prependPathToReferences(ne),this._elementRef.nativeElement.appendChild(j)}_clearSvgElement(){const j=this._elementRef.nativeElement;let ne=j.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ne--;){const Me=j.childNodes[ne];(1!==Me.nodeType||"svg"===Me.nodeName.toLowerCase())&&Me.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const j=this._elementRef.nativeElement,ne=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();ne!=this._previousFontSetClass&&(this._previousFontSetClass&&j.classList.remove(this._previousFontSetClass),ne&&j.classList.add(ne),this._previousFontSetClass=ne),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&j.classList.remove(this._previousFontIconClass),this.fontIcon&&j.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(j){return"string"==typeof j?j.trim().split(" ")[0]:j}_prependPathToReferences(j){const ne=this._elementsWithExternalReferences;ne&&ne.forEach((Me,ze)=>{Me.forEach(Qe=>{ze.setAttribute(Qe.name,`url('${j}#${Qe.value}')`)})})}_cacheChildrenWithExternalReferences(j){const ne=j.querySelectorAll(tt),Me=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ze=0;ze<ne.length;ze++)Ve.forEach(Qe=>{const xe=ne[ze],L=xe.getAttribute(Qe),ve=L?L.match(Le):null;if(ve){let Fe=Me.get(xe);Fe||(Fe=[],Me.set(xe,Fe)),Fe.push({name:Qe,value:ve[1]})}})}_updateSvgIcon(j){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),j){const[ne,Me]=this._splitIconName(j);ne&&(this._svgNamespace=ne),Me&&(this._svgName=Me),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Me,ne).pipe((0,J.q)(1)).subscribe(ze=>this._setSvgElement(ze),ze=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ne}:${Me}! ${ze.message}`))})}}}return ye.\u0275fac=function(j){return new(j||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(pe),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(qe),n.\u0275\u0275directiveInject(n.ErrorHandler))},ye.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(j,ne){2&j&&(n.\u0275\u0275attribute("data-mat-icon-type",ne._usingFontIcon()?"font":"svg")("data-mat-icon-name",ne._svgName||ne.fontIcon)("data-mat-icon-namespace",ne._svgNamespace||ne.fontSet),n.\u0275\u0275classProp("mat-icon-inline",ne.inline)("mat-icon-no-color","primary"!==ne.color&&"accent"!==ne.color&&"warn"!==ne.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:H,decls:1,vars:0,template:function(j,ne){1&j&&(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}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),ye})(),ft=(()=>{class ye{}return ye.\u0275fac=function(j){return new(j||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.MatCommonModule],h.MatCommonModule]}),ye})()},5010:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_MENU_CONTENT:()=>Ke,MAT_MENU_DEFAULT_OPTIONS:()=>L,MAT_MENU_PANEL:()=>ze,MAT_MENU_SCROLL_STRATEGY:()=>Dt,MatMenu:()=>ot,MatMenuContent:()=>ye,MatMenuItem:()=>xe,MatMenuModule:()=>Xe,MatMenuTrigger:()=>Ye,_MatMenuBase:()=>Je,_MatMenuContentBase:()=>ft,_MatMenuTriggerBase:()=>Ee,fadeInItems:()=>tt,matMenuAnimations:()=>Ve,transformMenu:()=>Le});var n=a(5664),h=a(3191),y=a(1159),d=a(5e3),o=a(7579),c=a(727),f=a(6451),p=a(9646),m=a(3101),u=a(8421),_=a(4482),v=a(5403);function b(rt,wt){return(0,_.e)((Ie,We)=>{let lt=null,Tt=0,Ct=!1;const $t=()=>Ct&&!lt&&We.complete();Ie.subscribe((0,v.x)(We,Mt=>{null==lt||lt.unsubscribe();let Ht=0;const ue=Tt++;(0,u.Xf)(rt(Mt,ue)).subscribe(lt=(0,v.x)(We,q=>We.next(wt?wt(Mt,q,ue,Ht++):q),()=>{lt=null,$t()}))},()=>{Ct=!0,$t()}))})}var T=a(4986),S=a(7272),P=a(5698),I=a(5032),J=a(4004),X=a(5577);function H(rt,wt){return wt?Ie=>(0,S.z)(wt.pipe((0,P.q)(1),function V(){return(0,_.e)((rt,wt)=>{rt.subscribe((0,v.x)(wt,I.Z))})}()),Ie.pipe(H(rt))):(0,X.z)((Ie,We)=>rt(Ie,We).pipe((0,P.q)(1),function Y(rt){return(0,J.U)(()=>rt)}(Ie)))}var oe=a(5963);function le(rt,wt=T.z){const Ie=(0,oe.H)(rt,wt);return H(()=>Ie)}var me=a(8675),De=a(2722),be=a(9300),Z=a(1777),de=a(7429),z=a(9808),pe=a(508),ce=a(1314),Oe=a(925),it=a(226),vt=a(495);const Ge=["mat-menu-item",""];function pt(rt,wt){1&rt&&(d.\u0275\u0275namespaceSVG(),d.\u0275\u0275elementStart(0,"svg",2),d.\u0275\u0275element(1,"polygon",3),d.\u0275\u0275elementEnd())}const qe=["*"];function at(rt,wt){if(1&rt){const Ie=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("keydown",function(lt){return d.\u0275\u0275restoreView(Ie),d.\u0275\u0275nextContext()._handleKeydown(lt)})("click",function(){return d.\u0275\u0275restoreView(Ie),d.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(lt){return d.\u0275\u0275restoreView(Ie),d.\u0275\u0275nextContext()._onAnimationStart(lt)})("@transformMenu.done",function(lt){return d.\u0275\u0275restoreView(Ie),d.\u0275\u0275nextContext()._onAnimationDone(lt)}),d.\u0275\u0275elementStart(1,"div",1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd()()}if(2&rt){const Ie=d.\u0275\u0275nextContext();d.\u0275\u0275property("id",Ie.panelId)("ngClass",Ie._classList)("@transformMenu",Ie._panelAnimationState),d.\u0275\u0275attribute("aria-label",Ie.ariaLabel||null)("aria-labelledby",Ie.ariaLabelledby||null)("aria-describedby",Ie.ariaDescribedby||null)}}const Ve={transformMenu:(0,Z.X$)("transformMenu",[(0,Z.SB)("void",(0,Z.oB)({opacity:0,transform:"scale(0.8)"})),(0,Z.eR)("void => enter",(0,Z.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Z.oB)({opacity:1,transform:"scale(1)"}))),(0,Z.eR)("* => void",(0,Z.jt)("100ms 25ms linear",(0,Z.oB)({opacity:0})))]),fadeInItems:(0,Z.X$)("fadeInItems",[(0,Z.SB)("showing",(0,Z.oB)({opacity:1})),(0,Z.eR)("void => *",[(0,Z.oB)({opacity:0}),(0,Z.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},tt=Ve.fadeInItems,Le=Ve.transformMenu,Ke=new d.InjectionToken("MatMenuContent");let ft=(()=>{class rt{constructor(Ie,We,lt,Tt,Ct,$t,Mt){this._template=Ie,this._componentFactoryResolver=We,this._appRef=lt,this._injector=Tt,this._viewContainerRef=Ct,this._document=$t,this._changeDetectorRef=Mt,this._attached=new o.x}attach(Ie={}){var We;this._portal||(this._portal=new de.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new de.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const lt=this._template.elementRef.nativeElement;lt.parentNode.insertBefore(this._outlet.outletElement,lt),null===(We=this._changeDetectorRef)||void 0===We||We.markForCheck(),this._portal.attach(this._outlet,Ie),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return rt.\u0275fac=function(Ie){return new(Ie||rt)(d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ComponentFactoryResolver),d.\u0275\u0275directiveInject(d.ApplicationRef),d.\u0275\u0275directiveInject(d.Injector),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(z.DOCUMENT),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt}),rt})(),ye=(()=>{class rt extends ft{}return rt.\u0275fac=function(){let wt;return function(We){return(wt||(wt=d.\u0275\u0275getInheritedFactory(rt)))(We||rt)}}(),rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt,selectors:[["ng-template","matMenuContent",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:Ke,useExisting:rt}]),d.\u0275\u0275InheritDefinitionFeature]}),rt})();const ze=new d.InjectionToken("MAT_MENU_PANEL"),Qe=(0,pe.mixinDisableRipple)((0,pe.mixinDisabled)(class{}));let xe=(()=>{class rt extends Qe{constructor(Ie,We,lt,Tt,Ct){var $t;super(),this._elementRef=Ie,this._document=We,this._focusMonitor=lt,this._parentMenu=Tt,this._changeDetectorRef=Ct,this.role="menuitem",this._hovered=new o.x,this._focused=new o.x,this._highlighted=!1,this._triggersSubmenu=!1,null===($t=null==Tt?void 0:Tt.addItem)||void 0===$t||$t.call(Tt,this)}focus(Ie,We){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._getHostElement(),Ie,We):this._getHostElement().focus(We),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ie){this.disabled&&(Ie.preventDefault(),Ie.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var Ie;const We=this._elementRef.nativeElement.cloneNode(!0),lt=We.querySelectorAll("mat-icon, .material-icons");for(let Tt=0;Tt<lt.length;Tt++)lt[Tt].remove();return(null===(Ie=We.textContent)||void 0===Ie?void 0:Ie.trim())||""}_setHighlighted(Ie){var We;this._highlighted=Ie,null===(We=this._changeDetectorRef)||void 0===We||We.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return rt.\u0275fac=function(Ie){return new(Ie||rt)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(z.DOCUMENT),d.\u0275\u0275directiveInject(n.tE),d.\u0275\u0275directiveInject(ze,8),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},rt.\u0275cmp=d.\u0275\u0275defineComponent({type:rt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(Ie,We){1&Ie&&d.\u0275\u0275listener("click",function(Tt){return We._checkDisabled(Tt)})("mouseenter",function(){return We._handleMouseEnter()}),2&Ie&&(d.\u0275\u0275attribute("role",We.role)("tabindex",We._getTabIndex())("aria-disabled",We.disabled.toString())("disabled",We.disabled||null),d.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",We._highlighted)("mat-menu-item-submenu-trigger",We._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[d.\u0275\u0275InheritDefinitionFeature],attrs:Ge,ngContentSelectors:qe,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",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(Ie,We){1&Ie&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275projection(0),d.\u0275\u0275element(1,"div",0),d.\u0275\u0275template(2,pt,2,0,"svg",1)),2&Ie&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("matRippleDisabled",We.disableRipple||We.disabled)("matRippleTrigger",We._getHostElement()),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",We._triggersSubmenu))},directives:[pe.MatRipple,z.NgIf],encapsulation:2,changeDetection:0}),rt})();const L=new d.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ve(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Fe=0,Je=(()=>{class rt{constructor(Ie,We,lt,Tt){this._elementRef=Ie,this._ngZone=We,this._defaultOptions=lt,this._changeDetectorRef=Tt,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new d.QueryList,this._tabSubscription=c.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new o.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new d.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Fe++}get xPosition(){return this._xPosition}set xPosition(Ie){this._xPosition=Ie,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ie){this._yPosition=Ie,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Ie){this._overlapTrigger=(0,h.Ig)(Ie)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ie){this._hasBackdrop=(0,h.Ig)(Ie)}set panelClass(Ie){const We=this._previousPanelClass;We&&We.length&&We.split(" ").forEach(lt=>{this._classList[lt]=!1}),this._previousPanelClass=Ie,Ie&&Ie.length&&(Ie.split(" ").forEach(lt=>{this._classList[lt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ie){this.panelClass=Ie}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new n.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,me.O)(this._directDescendantItems),b(Ie=>(0,f.T)(...Ie.map(We=>We._focused)))).subscribe(Ie=>this._keyManager.updateActiveItem(Ie)),this._directDescendantItems.changes.subscribe(Ie=>{var We;const lt=this._keyManager;if("enter"===this._panelAnimationState&&(null===(We=lt.activeItem)||void 0===We?void 0:We._hasFocus())){const Tt=Ie.toArray(),Ct=Math.max(0,Math.min(Tt.length-1,lt.activeItemIndex||0));Tt[Ct]&&!Tt[Ct].disabled?lt.setActiveItem(Ct):lt.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,me.O)(this._directDescendantItems),b(We=>(0,f.T)(...We.map(lt=>lt._hovered))))}addItem(Ie){}removeItem(Ie){}_handleKeydown(Ie){const We=Ie.keyCode,lt=this._keyManager;switch(We){case y.hY:(0,y.Vb)(Ie)||(Ie.preventDefault(),this.closed.emit("keydown"));break;case y.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case y.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(We===y.LH||We===y.JH)&<.setFocusOrigin("keyboard"),void lt.onKeydown(Ie)}Ie.stopPropagation()}focusFirstItem(Ie="program"){this.lazyContent?this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._focusFirstItem(Ie)):this._focusFirstItem(Ie)}_focusFirstItem(Ie){const We=this._keyManager;if(We.setFocusOrigin(Ie).setFirstItemActive(),!We.activeItem&&this._directDescendantItems.length){let lt=this._directDescendantItems.first._getHostElement().parentElement;for(;lt;){if("menu"===lt.getAttribute("role")){lt.focus();break}lt=lt.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ie){const We=Math.min(this._baseElevation+Ie,24),lt=`${this._elevationPrefix}${We}`,Tt=Object.keys(this._classList).find(Ct=>Ct.startsWith(this._elevationPrefix));(!Tt||Tt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[lt]=!0,this._previousElevation=lt)}setPositionClasses(Ie=this.xPosition,We=this.yPosition){var lt;const Tt=this._classList;Tt["mat-menu-before"]="before"===Ie,Tt["mat-menu-after"]="after"===Ie,Tt["mat-menu-above"]="above"===We,Tt["mat-menu-below"]="below"===We,null===(lt=this._changeDetectorRef)||void 0===lt||lt.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ie){this._animationDone.next(Ie),this._isAnimating=!1}_onAnimationStart(Ie){this._isAnimating=!0,"enter"===Ie.toState&&0===this._keyManager.activeItemIndex&&(Ie.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,me.O)(this._allItems)).subscribe(Ie=>{this._directDescendantItems.reset(Ie.filter(We=>We._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return rt.\u0275fac=function(Ie){return new(Ie||rt)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(L),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt,contentQueries:function(Ie,We,lt){if(1&Ie&&(d.\u0275\u0275contentQuery(lt,Ke,5),d.\u0275\u0275contentQuery(lt,xe,5),d.\u0275\u0275contentQuery(lt,xe,4)),2&Ie){let Tt;d.\u0275\u0275queryRefresh(Tt=d.\u0275\u0275loadQuery())&&(We.lazyContent=Tt.first),d.\u0275\u0275queryRefresh(Tt=d.\u0275\u0275loadQuery())&&(We._allItems=Tt),d.\u0275\u0275queryRefresh(Tt=d.\u0275\u0275loadQuery())&&(We.items=Tt)}},viewQuery:function(Ie,We){if(1&Ie&&d.\u0275\u0275viewQuery(d.TemplateRef,5),2&Ie){let lt;d.\u0275\u0275queryRefresh(lt=d.\u0275\u0275loadQuery())&&(We.templateRef=lt.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"}}),rt})(),ot=(()=>{class rt extends Je{constructor(Ie,We,lt,Tt){super(Ie,We,lt,Tt),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return rt.\u0275fac=function(Ie){return new(Ie||rt)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(L),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},rt.\u0275cmp=d.\u0275\u0275defineComponent({type:rt,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(Ie,We){2&Ie&&d.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[d.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:rt}]),d.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:qe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(Ie,We){1&Ie&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275template(0,at,3,6,"ng-template"))},directives:[z.NgClass],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[Ve.transformMenu,Ve.fadeInItems]},changeDetection:0}),rt})();const Dt=new d.InjectionToken("mat-menu-scroll-strategy"),At={provide:Dt,deps:[ce.aV],useFactory:function Et(rt){return()=>rt.scrollStrategies.reposition()}},Te=(0,Oe.i$)({passive:!0});let Ee=(()=>{class rt{constructor(Ie,We,lt,Tt,Ct,$t,Mt,Ht,ue){this._overlay=Ie,this._element=We,this._viewContainerRef=lt,this._menuItemInstance=$t,this._dir=Mt,this._focusMonitor=Ht,this._ngZone=ue,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.w0.EMPTY,this._hoverSubscription=c.w0.EMPTY,this._menuCloseSubscription=c.w0.EMPTY,this._handleTouchStart=q=>{(0,n.yG)(q)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new d.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new d.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Tt,this._parentMaterialMenu=Ct instanceof Je?Ct:void 0,We.nativeElement.addEventListener("touchstart",this._handleTouchStart,Te),$t&&($t._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ie){this.menu=Ie}get menu(){return this._menu}set menu(Ie){Ie!==this._menu&&(this._menu=Ie,this._menuCloseSubscription.unsubscribe(),Ie&&(this._menuCloseSubscription=Ie.close.subscribe(We=>{this._destroyMenu(We),("click"===We||"tab"===We)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(We)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Te),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const Ie=this._createOverlay(),We=Ie.getConfig(),lt=We.positionStrategy;this._setPosition(lt),We.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,Ie.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Je&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,De.R)(this.menu.close)).subscribe(()=>{lt.withLockedPosition(!1).reapplyLastPosition(),lt.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(Ie,We){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._element,Ie,We):this._element.nativeElement.focus(We)}updatePosition(){var Ie;null===(Ie=this._overlayRef)||void 0===Ie||Ie.updatePosition()}_destroyMenu(Ie){if(!this._overlayRef||!this.menuOpen)return;const We=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ie||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,We instanceof Je?(We._resetAnimation(),We.lazyContent?We._animationDone.pipe((0,be.h)(lt=>"void"===lt.toState),(0,P.q)(1),(0,De.R)(We.lazyContent._attached)).subscribe({next:()=>We.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),We.lazyContent&&We.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let Ie=0,We=this.menu.parentMenu;for(;We;)Ie++,We=We.parentMenu;this.menu.setElevation(Ie)}}_setIsMenuOpen(Ie){this._menuOpen=Ie,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ie)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const Ie=this._getOverlayConfig();this._subscribeToPositions(Ie.positionStrategy),this._overlayRef=this._overlay.create(Ie),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ce.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ie){this.menu.setPositionClasses&&Ie.positionChanges.subscribe(We=>{const lt="start"===We.connectionPair.overlayX?"after":"before",Tt="top"===We.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(lt,Tt)):this.menu.setPositionClasses(lt,Tt)})}_setPosition(Ie){let[We,lt]="before"===this.menu.xPosition?["end","start"]:["start","end"],[Tt,Ct]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[$t,Mt]=[Tt,Ct],[Ht,ue]=[We,lt],q=0;this.triggersSubmenu()?(ue=We="before"===this.menu.xPosition?"start":"end",lt=Ht="end"===We?"start":"end",q="bottom"===Tt?8:-8):this.menu.overlapTrigger||($t="top"===Tt?"bottom":"top",Mt="top"===Ct?"bottom":"top"),Ie.withPositions([{originX:We,originY:$t,overlayX:Ht,overlayY:Tt,offsetY:q},{originX:lt,originY:$t,overlayX:ue,overlayY:Tt,offsetY:q},{originX:We,originY:Mt,overlayX:Ht,overlayY:Ct,offsetY:-q},{originX:lt,originY:Mt,overlayX:ue,overlayY:Ct,offsetY:-q}])}_menuClosingActions(){const Ie=this._overlayRef.backdropClick(),We=this._overlayRef.detachments(),lt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),Tt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,be.h)(Ct=>Ct!==this._menuItemInstance),(0,be.h)(()=>this._menuOpen)):(0,p.of)();return(0,f.T)(Ie,lt,Tt,We)}_handleMousedown(Ie){(0,n.X6)(Ie)||(this._openedBy=0===Ie.button?"mouse":void 0,this.triggersSubmenu()&&Ie.preventDefault())}_handleKeydown(Ie){const We=Ie.keyCode;(We===y.K5||We===y.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(We===y.SV&&"ltr"===this.dir||We===y.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ie){this.triggersSubmenu()?(Ie.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,be.h)(Ie=>Ie===this._menuItemInstance&&!Ie.disabled),le(0,m.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Je&&this.menu._isAnimating?this.menu._animationDone.pipe((0,P.q)(1),le(0,m.E),(0,De.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new de.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return rt.\u0275fac=function(Ie){return new(Ie||rt)(d.\u0275\u0275directiveInject(ce.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Dt),d.\u0275\u0275directiveInject(ze,8),d.\u0275\u0275directiveInject(xe,10),d.\u0275\u0275directiveInject(it.Is,8),d.\u0275\u0275directiveInject(n.tE),d.\u0275\u0275directiveInject(d.NgZone))},rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(Ie,We){1&Ie&&d.\u0275\u0275listener("click",function(Tt){return We._handleClick(Tt)})("mousedown",function(Tt){return We._handleMousedown(Tt)})("keydown",function(Tt){return We._handleKeydown(Tt)}),2&Ie&&d.\u0275\u0275attribute("aria-expanded",We.menuOpen||null)("aria-controls",We.menuOpen?We.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"}}),rt})(),Ye=(()=>{class rt extends Ee{}return rt.\u0275fac=function(){let wt;return function(We){return(wt||(wt=d.\u0275\u0275getInheritedFactory(rt)))(We||rt)}}(),rt.\u0275dir=d.\u0275\u0275defineDirective({type:rt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[d.\u0275\u0275InheritDefinitionFeature]}),rt})(),Xe=(()=>{class rt{}return rt.\u0275fac=function(Ie){return new(Ie||rt)},rt.\u0275mod=d.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=d.\u0275\u0275defineInjector({providers:[At],imports:[[z.CommonModule,pe.MatCommonModule,pe.MatRippleModule,ce.U8],vt.ZD,pe.MatCommonModule]}),rt})()},4999:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MatCell:()=>ke,MatCellDef:()=>je,MatColumnDef:()=>Pe,MatFooterCell:()=>ge,MatFooterCellDef:()=>Ft,MatFooterRow:()=>gn,MatFooterRowDef:()=>xt,MatHeaderCell:()=>Re,MatHeaderCellDef:()=>dt,MatHeaderRow:()=>qt,MatHeaderRowDef:()=>ct,MatNoDataRow:()=>hn,MatRecycleRows:()=>N,MatRow:()=>Nn,MatRowDef:()=>jt,MatTable:()=>fe,MatTableDataSource:()=>Yt,MatTableModule:()=>Yn,MatTextColumn:()=>An,_MatTableDataSource:()=>Pt});var n=a(5e3),h=a(3191),y=a(449),d=a(9808),o=a(7579),c=a(2076),f=a(1135),p=a(8306),m=a(576),_=a(9646),v=a(2722),b=a(5698),T=a(226),S=a(925),P=a(495);const I=[[["caption"]],[["colgroup"],["col"]]],V=["caption","colgroup, col"];function J(ae,Ae){if(1&ae&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ae){const ie=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ie.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ie.headerText," ")}}function Y(ae,Ae){if(1&ae&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ae){const ie=Ae.$implicit,we=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",we.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",we.dataAccessor(ie,we.name)," ")}}function X(ae){return class extends ae{constructor(...Ae){super(...Ae),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Ae){const ie=this._sticky;this._sticky=(0,h.Ig)(Ae),this._hasStickyChanged=ie!==this._sticky}hasStickyChanged(){const Ae=this._hasStickyChanged;return this._hasStickyChanged=!1,Ae}resetStickyChanged(){this._hasStickyChanged=!1}}}const H=new n.InjectionToken("CDK_TABLE"),oe=new n.InjectionToken("text-column-options");let le=(()=>{class ae{constructor(ie){this.template=ie}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkCellDef",""]]}),ae})(),me=(()=>{class ae{constructor(ie){this.template=ie}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkHeaderCellDef",""]]}),ae})(),De=(()=>{class ae{constructor(ie){this.template=ie}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkFooterCellDef",""]]}),ae})();class be{}const Z=X(be);let de=(()=>{class ae extends Z{constructor(ie){super(),this._table=ie,this._stickyEnd=!1}get name(){return this._name}set name(ie){this._setNameInput(ie)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ie){const we=this._stickyEnd;this._stickyEnd=(0,h.Ig)(ie),this._hasStickyChanged=we!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ie){ie&&(this._name=ie,this.cssClassFriendlyName=ie.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(H,8))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkColumnDef",""]],contentQueries:function(ie,we,Ze){if(1&ie&&(n.\u0275\u0275contentQuery(Ze,le,5),n.\u0275\u0275contentQuery(Ze,me,5),n.\u0275\u0275contentQuery(Ze,De,5)),2&ie){let st;n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(we.cell=st.first),n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(we.headerCell=st.first),n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(we.footerCell=st.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})();class z{constructor(Ae,ie){ie.nativeElement.classList.add(...Ae._columnCssClassName)}}let pe=(()=>{class ae extends z{constructor(ie,we){super(ie,we)}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(de),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),ce=(()=>{class ae extends z{constructor(ie,we){var Ze;if(super(ie,we),1===(null===(Ze=ie._table)||void 0===Ze?void 0:Ze._elementRef.nativeElement.nodeType)){const st=ie._table._elementRef.nativeElement.getAttribute("role");we.nativeElement.setAttribute("role","grid"===st||"treegrid"===st?"gridcell":"cell")}}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(de),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Oe=(()=>{class ae extends z{constructor(ie,we){var Ze;if(super(ie,we),1===(null===(Ze=ie._table)||void 0===Ze?void 0:Ze._elementRef.nativeElement.nodeType)){const st=ie._table._elementRef.nativeElement.getAttribute("role");we.nativeElement.setAttribute("role","grid"===st||"treegrid"===st?"gridcell":"cell")}}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(de),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})();class it{constructor(){this.tasks=[],this.endTasks=[]}}const vt=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let Ge=(()=>{class ae{constructor(ie){this._ngZone=ie,this._currentSchedule=null,this._destroyed=new o.x}schedule(ie){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ie)}scheduleEnd(ie){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ie)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new it,this._getScheduleObservable().pipe((0,v.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ie=this._currentSchedule;this._currentSchedule=new it;for(const we of ie.tasks)we();for(const we of ie.endTasks)we()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,c.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,b.q)(1))}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275inject(n.NgZone))},ae.\u0275prov=n.\u0275\u0275defineInjectable({token:ae,factory:ae.\u0275fac}),ae})(),qe=(()=>{class ae{constructor(ie,we){this.template=ie,this._differs=we}ngOnChanges(ie){if(!this._columnsDiffer){const we=ie.columns&&ie.columns.currentValue||[];this._columnsDiffer=this._differs.find(we).create(),this._columnsDiffer.diff(we)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ie){return this instanceof tt?ie.headerCell.template:this instanceof ft?ie.footerCell.template:ie.cell.template}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,features:[n.\u0275\u0275NgOnChangesFeature]}),ae})();class at extends qe{}const Ve=X(at);let tt=(()=>{class ae extends Ve{constructor(ie,we,Ze){super(ie,we),this._table=Ze}ngOnChanges(ie){super.ngOnChanges(ie)}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(H,8))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ae})();class Le extends qe{}const Ke=X(Le);let ft=(()=>{class ae extends Ke{constructor(ie,we,Ze){super(ie,we),this._table=Ze}ngOnChanges(ie){super.ngOnChanges(ie)}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(H,8))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ae})(),ye=(()=>{class ae extends qe{constructor(ie,we,Ze){super(ie,we),this._table=Ze}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(H,8))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Se=(()=>{class ae{constructor(ie){this._viewContainer=ie,ae.mostRecentCellOutlet=this}ngOnDestroy(){ae.mostRecentCellOutlet===this&&(ae.mostRecentCellOutlet=null)}}return ae.mostRecentCellOutlet=null,ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","cdkCellOutlet",""]]}),ae})(),j=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),ne=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),Me=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),ze=(()=>{class ae{constructor(ie){this.templateRef=ie,this._contentClassName="cdk-no-data-row"}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.TemplateRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["ng-template","cdkNoDataRow",""]]}),ae})();const Qe=["top","bottom","left","right"];class xe{constructor(Ae,ie,we,Ze,st=!0,St=!0,Ut){this._isNativeHtmlTable=Ae,this._stickCellCss=ie,this.direction=we,this._coalescedStyleScheduler=Ze,this._isBrowser=st,this._needsPositionStickyOnElement=St,this._positionListener=Ut,this._cachedCellWidths=[],this._borderCellCss={top:`${ie}-border-elem-top`,bottom:`${ie}-border-elem-bottom`,left:`${ie}-border-elem-left`,right:`${ie}-border-elem-right`}}clearStickyPositioning(Ae,ie){const we=[];for(const Ze of Ae)if(Ze.nodeType===Ze.ELEMENT_NODE){we.push(Ze);for(let st=0;st<Ze.children.length;st++)we.push(Ze.children[st])}this._coalescedStyleScheduler.schedule(()=>{for(const Ze of we)this._removeStickyStyle(Ze,ie)})}updateStickyColumns(Ae,ie,we,Ze=!0){if(!Ae.length||!this._isBrowser||!ie.some(Xt=>Xt)&&!we.some(Xt=>Xt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const st=Ae[0],St=st.children.length,Ut=this._getCellWidths(st,Ze),Ot=this._getStickyStartColumnPositions(Ut,ie),pn=this._getStickyEndColumnPositions(Ut,we),ln=ie.lastIndexOf(!0),_n=we.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Xt="rtl"===this.direction,fn=Xt?"right":"left",Un=Xt?"left":"right";for(const Ln of Ae)for(let mn=0;mn<St;mn++){const nn=Ln.children[mn];ie[mn]&&this._addStickyStyle(nn,fn,Ot[mn],mn===ln),we[mn]&&this._addStickyStyle(nn,Un,pn[mn],mn===_n)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===ln?[]:Ut.slice(0,ln+1).map((Ln,mn)=>ie[mn]?Ln:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===_n?[]:Ut.slice(_n).map((Ln,mn)=>we[mn+_n]?Ln:null).reverse()}))})}stickRows(Ae,ie,we){if(!this._isBrowser)return;const Ze="bottom"===we?Ae.slice().reverse():Ae,st="bottom"===we?ie.slice().reverse():ie,St=[],Ut=[],Ot=[];for(let ln=0,_n=0;ln<Ze.length;ln++){if(!st[ln])continue;St[ln]=_n;const Xt=Ze[ln];Ot[ln]=this._isNativeHtmlTable?Array.from(Xt.children):[Xt];const fn=Xt.getBoundingClientRect().height;_n+=fn,Ut[ln]=fn}const pn=st.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var ln,_n;for(let Xt=0;Xt<Ze.length;Xt++){if(!st[Xt])continue;const fn=St[Xt],Un=Xt===pn;for(const Ln of Ot[Xt])this._addStickyStyle(Ln,we,fn,Un)}"top"===we?null===(ln=this._positionListener)||void 0===ln||ln.stickyHeaderRowsUpdated({sizes:Ut,offsets:St,elements:Ot}):null===(_n=this._positionListener)||void 0===_n||_n.stickyFooterRowsUpdated({sizes:Ut,offsets:St,elements:Ot})})}updateStickyFooterContainer(Ae,ie){if(!this._isNativeHtmlTable)return;const we=Ae.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ie.some(Ze=>!Ze)?this._removeStickyStyle(we,["bottom"]):this._addStickyStyle(we,"bottom",0,!1)})}_removeStickyStyle(Ae,ie){for(const Ze of ie)Ae.style[Ze]="",Ae.classList.remove(this._borderCellCss[Ze]);Qe.some(Ze=>-1===ie.indexOf(Ze)&&Ae.style[Ze])?Ae.style.zIndex=this._getCalculatedZIndex(Ae):(Ae.style.zIndex="",this._needsPositionStickyOnElement&&(Ae.style.position=""),Ae.classList.remove(this._stickCellCss))}_addStickyStyle(Ae,ie,we,Ze){Ae.classList.add(this._stickCellCss),Ze&&Ae.classList.add(this._borderCellCss[ie]),Ae.style[ie]=`${we}px`,Ae.style.zIndex=this._getCalculatedZIndex(Ae),this._needsPositionStickyOnElement&&(Ae.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Ae){const ie={top:100,bottom:10,left:1,right:1};let we=0;for(const Ze of Qe)Ae.style[Ze]&&(we+=ie[Ze]);return we?`${we}`:""}_getCellWidths(Ae,ie=!0){if(!ie&&this._cachedCellWidths.length)return this._cachedCellWidths;const we=[],Ze=Ae.children;for(let st=0;st<Ze.length;st++)we.push(Ze[st].getBoundingClientRect().width);return this._cachedCellWidths=we,we}_getStickyStartColumnPositions(Ae,ie){const we=[];let Ze=0;for(let st=0;st<Ae.length;st++)ie[st]&&(we[st]=Ze,Ze+=Ae[st]);return we}_getStickyEndColumnPositions(Ae,ie){const we=[];let Ze=0;for(let st=Ae.length;st>0;st--)ie[st]&&(we[st]=Ze,Ze+=Ae[st]);return we}}const Ue=new n.InjectionToken("CDK_SPL");let Ee=(()=>{class ae{constructor(ie,we){this.viewContainer=ie,this.elementRef=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","rowOutlet",""]]}),ae})(),Ye=(()=>{class ae{constructor(ie,we){this.viewContainer=ie,this.elementRef=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","headerRowOutlet",""]]}),ae})(),Xe=(()=>{class ae{constructor(ie,we){this.viewContainer=ie,this.elementRef=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","footerRowOutlet",""]]}),ae})(),rt=(()=>{class ae{constructor(ie,we){this.viewContainer=ie,this.elementRef=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","noDataRowOutlet",""]]}),ae})(),We=(()=>{class ae{constructor(ie,we,Ze,st,St,Ut,Ot,pn,ln,_n,Xt,fn){this._differs=ie,this._changeDetectorRef=we,this._elementRef=Ze,this._dir=St,this._platform=Ot,this._viewRepeater=pn,this._coalescedStyleScheduler=ln,this._viewportRuler=_n,this._stickyPositioningListener=Xt,this._ngZone=fn,this._onDestroy=new o.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 f.X({start:0,end:Number.MAX_VALUE}),st||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ut,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(ie){this._trackByFn=ie}get dataSource(){return this._dataSource}set dataSource(ie){this._dataSource!==ie&&this._switchDataSource(ie)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ie){this._multiTemplateDataRows=(0,h.Ig)(ie),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ie){this._fixedLayout=(0,h.Ig)(ie),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ie,we)=>this.trackBy?this.trackBy(we.dataIndex,we.data):we),this._viewportRuler.change().pipe((0,v.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const we=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||we,this._forceRecalculateCellWidths=we,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(ie=>{ie.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ie=this._dataDiffer.diff(this._renderRows);if(!ie)return this._updateNoDataRow(),void this.contentChanged.next();const we=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ie,we,(Ze,st,St)=>this._getEmbeddedViewArgs(Ze.item,St),Ze=>Ze.item.data,Ze=>{1===Ze.operation&&Ze.context&&this._renderCellTemplateForItem(Ze.record.item.rowDef,Ze.context)}),this._updateRowIndexContext(),ie.forEachIdentityChange(Ze=>{we.get(Ze.currentIndex).context.$implicit=Ze.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,b.q)(1),(0,v.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ie){this._customColumnDefs.add(ie)}removeColumnDef(ie){this._customColumnDefs.delete(ie)}addRowDef(ie){this._customRowDefs.add(ie)}removeRowDef(ie){this._customRowDefs.delete(ie)}addHeaderRowDef(ie){this._customHeaderRowDefs.add(ie),this._headerRowDefChanged=!0}removeHeaderRowDef(ie){this._customHeaderRowDefs.delete(ie),this._headerRowDefChanged=!0}addFooterRowDef(ie){this._customFooterRowDefs.add(ie),this._footerRowDefChanged=!0}removeFooterRowDef(ie){this._customFooterRowDefs.delete(ie),this._footerRowDefChanged=!0}setNoDataRow(ie){this._customNoDataRow=ie}updateStickyHeaderRowStyles(){const ie=this._getRenderedRows(this._headerRowOutlet),Ze=this._elementRef.nativeElement.querySelector("thead");Ze&&(Ze.style.display=ie.length?"":"none");const st=this._headerRowDefs.map(St=>St.sticky);this._stickyStyler.clearStickyPositioning(ie,["top"]),this._stickyStyler.stickRows(ie,st,"top"),this._headerRowDefs.forEach(St=>St.resetStickyChanged())}updateStickyFooterRowStyles(){const ie=this._getRenderedRows(this._footerRowOutlet),Ze=this._elementRef.nativeElement.querySelector("tfoot");Ze&&(Ze.style.display=ie.length?"":"none");const st=this._footerRowDefs.map(St=>St.sticky);this._stickyStyler.clearStickyPositioning(ie,["bottom"]),this._stickyStyler.stickRows(ie,st,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,st),this._footerRowDefs.forEach(St=>St.resetStickyChanged())}updateStickyColumnStyles(){const ie=this._getRenderedRows(this._headerRowOutlet),we=this._getRenderedRows(this._rowOutlet),Ze=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ie,...we,...Ze],["left","right"]),this._stickyColumnStylesNeedReset=!1),ie.forEach((st,St)=>{this._addStickyColumnStyles([st],this._headerRowDefs[St])}),this._rowDefs.forEach(st=>{const St=[];for(let Ut=0;Ut<we.length;Ut++)this._renderRows[Ut].rowDef===st&&St.push(we[Ut]);this._addStickyColumnStyles(St,st)}),Ze.forEach((st,St)=>{this._addStickyColumnStyles([st],this._footerRowDefs[St])}),Array.from(this._columnDefsByName.values()).forEach(st=>st.resetStickyChanged())}_getAllRenderRows(){const ie=[],we=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ze=0;Ze<this._data.length;Ze++){let st=this._data[Ze];const St=this._getRenderRowsForData(st,Ze,we.get(st));this._cachedRenderRowsMap.has(st)||this._cachedRenderRowsMap.set(st,new WeakMap);for(let Ut=0;Ut<St.length;Ut++){let Ot=St[Ut];const pn=this._cachedRenderRowsMap.get(Ot.data);pn.has(Ot.rowDef)?pn.get(Ot.rowDef).push(Ot):pn.set(Ot.rowDef,[Ot]),ie.push(Ot)}}return ie}_getRenderRowsForData(ie,we,Ze){return this._getRowDefs(ie,we).map(St=>{const Ut=Ze&&Ze.has(St)?Ze.get(St):[];if(Ut.length){const Ot=Ut.shift();return Ot.dataIndex=we,Ot}return{data:ie,rowDef:St,dataIndex:we}})}_cacheColumnDefs(){this._columnDefsByName.clear(),lt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(we=>{this._columnDefsByName.has(we.name),this._columnDefsByName.set(we.name,we)})}_cacheRowDefs(){this._headerRowDefs=lt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=lt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=lt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ie=this._rowDefs.filter(we=>!we.when);this._defaultRowDef=ie[0]}_renderUpdatedColumns(){const ie=(St,Ut)=>St||!!Ut.getColumnsDiff(),we=this._rowDefs.reduce(ie,!1);we&&this._forceRenderDataRows();const Ze=this._headerRowDefs.reduce(ie,!1);Ze&&this._forceRenderHeaderRows();const st=this._footerRowDefs.reduce(ie,!1);return st&&this._forceRenderFooterRows(),we||Ze||st}_switchDataSource(ie){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ie||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ie}_observeRenderChanges(){if(!this.dataSource)return;let ie;(0,y.Z9)(this.dataSource)?ie=this.dataSource.connect(this):function u(ae){return!!ae&&(ae instanceof p.y||(0,m.m)(ae.lift)&&(0,m.m)(ae.subscribe))}(this.dataSource)?ie=this.dataSource:Array.isArray(this.dataSource)&&(ie=(0,_.of)(this.dataSource)),this._renderChangeSubscription=ie.pipe((0,v.R)(this._onDestroy)).subscribe(we=>{this._data=we||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ie,we)=>this._renderRow(this._headerRowOutlet,ie,we)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ie,we)=>this._renderRow(this._footerRowOutlet,ie,we)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ie,we){const Ze=Array.from(we.columns||[]).map(Ut=>this._columnDefsByName.get(Ut)),st=Ze.map(Ut=>Ut.sticky),St=Ze.map(Ut=>Ut.stickyEnd);this._stickyStyler.updateStickyColumns(ie,st,St,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ie){const we=[];for(let Ze=0;Ze<ie.viewContainer.length;Ze++){const st=ie.viewContainer.get(Ze);we.push(st.rootNodes[0])}return we}_getRowDefs(ie,we){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Ze=[];if(this.multiTemplateDataRows)Ze=this._rowDefs.filter(st=>!st.when||st.when(we,ie));else{let st=this._rowDefs.find(St=>St.when&&St.when(we,ie))||this._defaultRowDef;st&&Ze.push(st)}return Ze}_getEmbeddedViewArgs(ie,we){return{templateRef:ie.rowDef.template,context:{$implicit:ie.data},index:we}}_renderRow(ie,we,Ze,st={}){const St=ie.viewContainer.createEmbeddedView(we.template,st,Ze);return this._renderCellTemplateForItem(we,st),St}_renderCellTemplateForItem(ie,we){for(let Ze of this._getCellTemplates(ie))Se.mostRecentCellOutlet&&Se.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ze,we);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ie=this._rowOutlet.viewContainer;for(let we=0,Ze=ie.length;we<Ze;we++){const St=ie.get(we).context;St.count=Ze,St.first=0===we,St.last=we===Ze-1,St.even=we%2==0,St.odd=!St.even,this.multiTemplateDataRows?(St.dataIndex=this._renderRows[we].dataIndex,St.renderIndex=we):St.index=this._renderRows[we].dataIndex}}_getCellTemplates(ie){return ie&&ie.columns?Array.from(ie.columns,we=>{const Ze=this._columnDefsByName.get(we);return ie.extractCellTemplate(Ze)}):[]}_applyNativeTableSections(){const ie=this._document.createDocumentFragment(),we=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ze of we){const st=this._document.createElement(Ze.tag);st.setAttribute("role","rowgroup");for(const St of Ze.outlets)st.appendChild(St.elementRef.nativeElement);ie.appendChild(st)}this._elementRef.nativeElement.appendChild(ie)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ie=(we,Ze)=>we||Ze.hasStickyChanged();this._headerRowDefs.reduce(ie,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ie,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ie,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new xe(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,_.of)()).pipe((0,v.R)(this._onDestroy)).subscribe(we=>{this._stickyStyler.direction=we,this.updateStickyColumnStyles()})}_getOwnDefs(ie){return ie.filter(we=>!we._table||we._table===this)}_updateNoDataRow(){const ie=this._customNoDataRow||this._noDataRow;if(!ie)return;const we=0===this._rowOutlet.viewContainer.length;if(we===this._isShowingNoDataRow)return;const Ze=this._noDataRowOutlet.viewContainer;if(we){const st=Ze.createEmbeddedView(ie.templateRef),St=st.rootNodes[0];1===st.rootNodes.length&&(null==St?void 0:St.nodeType)===this._document.ELEMENT_NODE&&(St.setAttribute("role","row"),St.classList.add(ie._contentClassName))}else Ze.clear();this._isShowingNoDataRow=we}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(T.Is,8),n.\u0275\u0275directiveInject(d.DOCUMENT),n.\u0275\u0275directiveInject(S.t4),n.\u0275\u0275directiveInject(y.k),n.\u0275\u0275directiveInject(vt),n.\u0275\u0275directiveInject(P.rL),n.\u0275\u0275directiveInject(Ue,12),n.\u0275\u0275directiveInject(n.NgZone,8))},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ie,we,Ze){if(1&ie&&(n.\u0275\u0275contentQuery(Ze,ze,5),n.\u0275\u0275contentQuery(Ze,de,5),n.\u0275\u0275contentQuery(Ze,ye,5),n.\u0275\u0275contentQuery(Ze,tt,5),n.\u0275\u0275contentQuery(Ze,ft,5)),2&ie){let st;n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(we._noDataRow=st.first),n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(we._contentColumnDefs=st),n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(we._contentRowDefs=st),n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(we._contentHeaderRowDefs=st),n.\u0275\u0275queryRefresh(st=n.\u0275\u0275loadQuery())&&(we._contentFooterRowDefs=st)}},viewQuery:function(ie,we){if(1&ie&&(n.\u0275\u0275viewQuery(Ee,7),n.\u0275\u0275viewQuery(Ye,7),n.\u0275\u0275viewQuery(Xe,7),n.\u0275\u0275viewQuery(rt,7)),2&ie){let Ze;n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we._rowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we._headerRowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we._footerRowOutlet=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we._noDataRowOutlet=Ze.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(ie,we){2&ie&&n.\u0275\u0275classProp("cdk-table-fixed-layout",we.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:H,useExisting:ae},{provide:y.k,useClass:y.yy},{provide:vt,useClass:Ge},{provide:Ue,useValue:null}])],ngContentSelectors:V,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ie,we){1&ie&&(n.\u0275\u0275projectionDef(I),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},directives:[Ye,Ee,rt,Xe],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),ae})();function lt(ae,Ae){return ae.concat(Array.from(Ae))}let Tt=(()=>{class ae{constructor(ie,we){this._table=ie,this._options=we,this.justify="start",this._options=we||{}}get name(){return this._name}set name(ie){this._name=ie,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((ie,we)=>ie[we])),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 ie=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(ie):ie[0].toUpperCase()+ie.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return ae.\u0275fac=function(ie){return new(ie||ae)(n.\u0275\u0275directiveInject(We,8),n.\u0275\u0275directiveInject(oe,8))},ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["cdk-text-column"]],viewQuery:function(ie,we){if(1&ie&&(n.\u0275\u0275viewQuery(de,7),n.\u0275\u0275viewQuery(le,7),n.\u0275\u0275viewQuery(me,7)),2&ie){let Ze;n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we.columnDef=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we.cell=Ze.first),n.\u0275\u0275queryRefresh(Ze=n.\u0275\u0275loadQuery())&&(we.headerCell=Ze.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(ie,we){1&ie&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,J,2,3,"th",1),n.\u0275\u0275template(2,Y,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[de,me,pe,le,Oe],encapsulation:2}),ae})(),$t=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275mod=n.\u0275\u0275defineNgModule({type:ae}),ae.\u0275inj=n.\u0275\u0275defineInjector({imports:[[P.Cl]]}),ae})();var Mt=a(508),Ht=a(6451),ue=a(9841),q=a(4004);const k=[[["caption"]],[["colgroup"],["col"]]],W=["caption","colgroup, col"];function Q(ae,Ae){if(1&ae&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ae){const ie=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ie.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ie.headerText," ")}}function U(ae,Ae){if(1&ae&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ae){const ie=Ae.$implicit,we=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",we.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",we.dataAccessor(ie,we.name)," ")}}let N=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.eX}])]}),ae})(),fe=(()=>{class ae extends We{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(ie,we){2&ie&&n.\u0275\u0275classProp("mat-table-fixed-layout",we.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.yy},{provide:We,useExisting:ae},{provide:H,useExisting:ae},{provide:vt,useClass:Ge},{provide:Ue,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:W,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ie,we){1&ie&&(n.\u0275\u0275projectionDef(k),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},directives:[Ye,Ee,rt,Xe],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}\n"],encapsulation:2}),ae})(),je=(()=>{class ae extends le{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:le,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),dt=(()=>{class ae extends me{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:me,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Ft=(()=>{class ae extends De{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:De,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Pe=(()=>{class ae extends de{get name(){return this._name}set name(ie){this._setNameInput(ie)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:ae},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),Re=(()=>{class ae extends pe{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),ge=(()=>{class ae extends ce{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),ke=(()=>{class ae extends Oe{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ae})(),ct=(()=>{class ae extends tt{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),xt=(()=>{class ae extends ft{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ft,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),jt=(()=>{class ae extends ye{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),qt=(()=>{class ae extends j{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:j,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),gn=(()=>{class ae extends ne{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:ne,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),Nn=(()=>{class ae extends Me{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Me,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ie,we){1&ie&&n.\u0275\u0275elementContainer(0,0)},directives:[Se],encapsulation:2}),ae})(),hn=(()=>{class ae extends ze{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275dir=n.\u0275\u0275defineDirective({type:ae,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:ae}]),n.\u0275\u0275InheritDefinitionFeature]}),ae})(),An=(()=>{class ae extends Tt{}return ae.\u0275fac=function(){let Ae;return function(we){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(ae)))(we||ae)}}(),ae.\u0275cmp=n.\u0275\u0275defineComponent({type:ae,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(ie,we){1&ie&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Q,2,3,"th",1),n.\u0275\u0275template(2,U,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[Pe,dt,Re,je,ke],encapsulation:2}),ae})(),Yn=(()=>{class ae{}return ae.\u0275fac=function(ie){return new(ie||ae)},ae.\u0275mod=n.\u0275\u0275defineNgModule({type:ae}),ae.\u0275inj=n.\u0275\u0275defineInjector({imports:[[$t,Mt.MatCommonModule],Mt.MatCommonModule]}),ae})();class Pt extends y.o2{constructor(Ae=[]){super(),this._renderData=new f.X([]),this._filter=new f.X(""),this._internalPageChanges=new o.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ie,we)=>{const Ze=ie[we];if((0,h.t6)(Ze)){const st=Number(Ze);return st<9007199254740991?st:Ze}return Ze},this.sortData=(ie,we)=>{const Ze=we.active,st=we.direction;return Ze&&""!=st?ie.sort((St,Ut)=>{let Ot=this.sortingDataAccessor(St,Ze),pn=this.sortingDataAccessor(Ut,Ze);const ln=typeof Ot,_n=typeof pn;ln!==_n&&("number"===ln&&(Ot+=""),"number"===_n&&(pn+=""));let Xt=0;return null!=Ot&&null!=pn?Ot>pn?Xt=1:Ot<pn&&(Xt=-1):null!=Ot?Xt=1:null!=pn&&(Xt=-1),Xt*("asc"==st?1:-1)}):ie},this.filterPredicate=(ie,we)=>{const Ze=Object.keys(ie).reduce((St,Ut)=>St+ie[Ut]+"\u25ec","").toLowerCase(),st=we.trim().toLowerCase();return-1!=Ze.indexOf(st)},this._data=new f.X(Ae),this._updateChangeSubscription()}get data(){return this._data.value}set data(Ae){Ae=Array.isArray(Ae)?Ae:[],this._data.next(Ae),this._renderChangesSubscription||this._filterData(Ae)}get filter(){return this._filter.value}set filter(Ae){this._filter.next(Ae),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Ae){this._sort=Ae,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Ae){this._paginator=Ae,this._updateChangeSubscription()}_updateChangeSubscription(){var Ae;const ie=this._sort?(0,Ht.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),we=this._paginator?(0,Ht.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),st=(0,ue.a)([this._data,this._filter]).pipe((0,q.U)(([Ot])=>this._filterData(Ot))),St=(0,ue.a)([st,ie]).pipe((0,q.U)(([Ot])=>this._orderData(Ot))),Ut=(0,ue.a)([St,we]).pipe((0,q.U)(([Ot])=>this._pageData(Ot)));null===(Ae=this._renderChangesSubscription)||void 0===Ae||Ae.unsubscribe(),this._renderChangesSubscription=Ut.subscribe(Ot=>this._renderData.next(Ot))}_filterData(Ae){return this.filteredData=null==this.filter||""===this.filter?Ae:Ae.filter(ie=>this.filterPredicate(ie,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Ae){return this.sort?this.sortData(Ae.slice(),this.sort):Ae}_pageData(Ae){if(!this.paginator)return Ae;const ie=this.paginator.pageIndex*this.paginator.pageSize;return Ae.slice(ie,ie+this.paginator.pageSize)}_updatePaginator(Ae){Promise.resolve().then(()=>{const ie=this.paginator;if(ie&&(ie.length=Ae,ie.pageIndex>0)){const we=Math.ceil(ie.length/ie.pageSize)-1||0,Ze=Math.min(ie.pageIndex,we);Ze!==ie.pageIndex&&(ie.pageIndex=Ze,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Ae;null===(Ae=this._renderChangesSubscription)||void 0===Ae||Ae.unsubscribe(),this._renderChangesSubscription=null}}class Yt extends Pt{}},3251:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_TAB:()=>ne,MAT_TABS_CONFIG:()=>ot,MAT_TAB_GROUP:()=>Qe,MatInkBar:()=>ft,MatTab:()=>xe,MatTabBody:()=>Je,MatTabBodyPortal:()=>ve,MatTabChangeEvent:()=>Ie,MatTabContent:()=>Se,MatTabGroup:()=>Tt,MatTabHeader:()=>rt,MatTabLabel:()=>Me,MatTabLabelWrapper:()=>Et,MatTabLink:()=>q,MatTabNav:()=>Mt,MatTabNavPanel:()=>k,MatTabsModule:()=>W,_MAT_INK_BAR_POSITIONER:()=>Le,_MatTabBodyBase:()=>Fe,_MatTabGroupBase:()=>lt,_MatTabHeaderBase:()=>Xe,_MatTabLinkBase:()=>ue,_MatTabNavBase:()=>$t,matTabsAnimations:()=>L});var n=a(5664),h=a(7144),y=a(7429),d=a(9808),o=a(5e3),c=a(508),f=a(6360),p=a(5698),m=a(8675),u=a(1884),_=a(2722),v=a(7579),b=a(727),T=a(4968),S=a(9646),P=a(6451),I=a(5963),V=a(1777),J=a(226),Y=a(3191),X=a(1159),H=a(925),oe=a(495);function le(Q,U){1&Q&&o.\u0275\u0275projection(0)}const me=["*"];function De(Q,U){}const be=function(Q){return{animationDuration:Q}},Z=function(Q,U){return{value:Q,params:U}},de=["tabListContainer"],z=["tabList"],pe=["tabListInner"],ce=["nextPaginator"],Oe=["previousPaginator"],it=["tabBodyWrapper"],vt=["tabHeader"];function Ge(Q,U){}function pt(Q,U){if(1&Q&&o.\u0275\u0275template(0,Ge,0,0,"ng-template",10),2&Q){const N=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275property("cdkPortalOutlet",N.templateLabel)}}function qe(Q,U){if(1&Q&&o.\u0275\u0275text(0),2&Q){const N=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275textInterpolate(N.textLabel)}}function at(Q,U){if(1&Q){const N=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",6),o.\u0275\u0275listener("click",function(){const je=o.\u0275\u0275restoreView(N),dt=je.$implicit,Ft=je.index,Pe=o.\u0275\u0275nextContext(),Re=o.\u0275\u0275reference(1);return Pe._handleClick(dt,Re,Ft)})("cdkFocusChange",function(je){const Ft=o.\u0275\u0275restoreView(N).index;return o.\u0275\u0275nextContext()._tabFocusChanged(je,Ft)}),o.\u0275\u0275elementStart(1,"div",7),o.\u0275\u0275template(2,pt,1,1,"ng-template",8),o.\u0275\u0275template(3,qe,1,1,"ng-template",null,9,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275elementEnd()()}if(2&Q){const N=U.$implicit,fe=U.index,je=o.\u0275\u0275reference(4),dt=o.\u0275\u0275nextContext();o.\u0275\u0275classProp("mat-tab-label-active",dt.selectedIndex===fe),o.\u0275\u0275property("id",dt._getTabLabelId(fe))("ngClass",N.labelClass)("disabled",N.disabled)("matRippleDisabled",N.disabled||dt.disableRipple),o.\u0275\u0275attribute("tabIndex",dt._getTabIndex(N,fe))("aria-posinset",fe+1)("aria-setsize",dt._tabs.length)("aria-controls",dt._getTabContentId(fe))("aria-selected",dt.selectedIndex===fe)("aria-label",N.ariaLabel||null)("aria-labelledby",!N.ariaLabel&&N.ariaLabelledby?N.ariaLabelledby:null),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",N.templateLabel)("ngIfElse",je)}}function Ve(Q,U){if(1&Q){const N=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"mat-tab-body",11),o.\u0275\u0275listener("_onCentered",function(){return o.\u0275\u0275restoreView(N),o.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(je){return o.\u0275\u0275restoreView(N),o.\u0275\u0275nextContext()._setTabBodyWrapperHeight(je)}),o.\u0275\u0275elementEnd()}if(2&Q){const N=U.$implicit,fe=U.index,je=o.\u0275\u0275nextContext();o.\u0275\u0275classProp("mat-tab-body-active",je.selectedIndex===fe),o.\u0275\u0275property("id",je._getTabContentId(fe))("ngClass",N.bodyClass)("content",N.content)("position",N.position)("origin",N.origin)("animationDuration",je.animationDuration),o.\u0275\u0275attribute("tabindex",null!=je.contentTabIndex&&je.selectedIndex===fe?je.contentTabIndex:null)("aria-labelledby",je._getTabLabelId(fe))}}const tt=["mat-tab-nav-bar",""],Le=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function Ke(){return U=>({left:U?(U.offsetLeft||0)+"px":"0",width:U?(U.offsetWidth||0)+"px":"0"})}});let ft=(()=>{class Q{constructor(N,fe,je,dt){this._elementRef=N,this._ngZone=fe,this._inkBarPositioner=je,this._animationMode=dt}alignToElement(N){this.show(),this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>{const fe=this._inkBarPositioner(N),je=this._elementRef.nativeElement;je.style.left=fe.left,je.style.width=fe.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(Le),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(N,fe){2&N&&o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===fe._animationMode)}}),Q})();const ye=new o.InjectionToken("MatTabContent");let Se=(()=>{class Q{constructor(N){this.template=N}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.TemplateRef))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,selectors:[["","matTabContent",""]],features:[o.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:Q}])]}),Q})();const j=new o.InjectionToken("MatTabLabel"),ne=new o.InjectionToken("MAT_TAB");let Me=(()=>{class Q extends y.ig{constructor(N,fe,je){super(N,fe),this._closestTab=je}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.TemplateRef),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject(ne,8))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[o.\u0275\u0275ProvidersFeature([{provide:j,useExisting:Q}]),o.\u0275\u0275InheritDefinitionFeature]}),Q})();const ze=(0,c.mixinDisabled)(class{}),Qe=new o.InjectionToken("MAT_TAB_GROUP");let xe=(()=>{class Q extends ze{constructor(N,fe){super(),this._viewContainerRef=N,this._closestTabGroup=fe,this.textLabel="",this._contentPortal=null,this._stateChanges=new v.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(N){this._setTemplateLabelInput(N)}get content(){return this._contentPortal}ngOnChanges(N){(N.hasOwnProperty("textLabel")||N.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new y.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(N){N&&N._closestTab===this&&(this._templateLabel=N)}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject(Qe,8))},Q.\u0275cmp=o.\u0275\u0275defineComponent({type:Q,selectors:[["mat-tab"]],contentQueries:function(N,fe,je){if(1&N&&(o.\u0275\u0275contentQuery(je,j,5),o.\u0275\u0275contentQuery(je,ye,7,o.TemplateRef)),2&N){let dt;o.\u0275\u0275queryRefresh(dt=o.\u0275\u0275loadQuery())&&(fe.templateLabel=dt.first),o.\u0275\u0275queryRefresh(dt=o.\u0275\u0275loadQuery())&&(fe._explicitContent=dt.first)}},viewQuery:function(N,fe){if(1&N&&o.\u0275\u0275viewQuery(o.TemplateRef,7),2&N){let je;o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._implicitContent=je.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[o.\u0275\u0275ProvidersFeature([{provide:ne,useExisting:Q}]),o.\u0275\u0275InheritDefinitionFeature,o.\u0275\u0275NgOnChangesFeature],ngContentSelectors:me,decls:1,vars:0,template:function(N,fe){1&N&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275template(0,le,1,0,"ng-template"))},encapsulation:2}),Q})();const L={translateTab:(0,V.X$)("translateTab",[(0,V.SB)("center, void, left-origin-center, right-origin-center",(0,V.oB)({transform:"none"})),(0,V.SB)("left",(0,V.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,V.SB)("right",(0,V.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,V.eR)("* => left, * => right, left => center, right => center",(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,V.eR)("void => left-origin-center",[(0,V.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,V.eR)("void => right-origin-center",[(0,V.oB)({transform:"translate3d(100%, 0, 0)"}),(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ve=(()=>{class Q extends y.Pl{constructor(N,fe,je,dt){super(N,fe,dt),this._host=je,this._centeringSub=b.w0.EMPTY,this._leavingSub=b.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,m.O)(this._host._isCenterPosition(this._host._position))).subscribe(N=>{N&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ComponentFactoryResolver),o.\u0275\u0275directiveInject(o.ViewContainerRef),o.\u0275\u0275directiveInject((0,o.forwardRef)(()=>Je)),o.\u0275\u0275directiveInject(d.DOCUMENT))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,selectors:[["","matTabBodyHost",""]],features:[o.\u0275\u0275InheritDefinitionFeature]}),Q})(),Fe=(()=>{class Q{constructor(N,fe,je){this._elementRef=N,this._dir=fe,this._dirChangeSubscription=b.w0.EMPTY,this._translateTabComplete=new v.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",fe&&(this._dirChangeSubscription=fe.change.subscribe(dt=>{this._computePositionAnimationState(dt),je.markForCheck()})),this._translateTabComplete.pipe((0,u.x)((dt,Ft)=>dt.fromState===Ft.fromState&&dt.toState===Ft.toState)).subscribe(dt=>{this._isCenterPosition(dt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(dt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(N){this._positionIndex=N,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(N){const fe=this._isCenterPosition(N.toState);this._beforeCentering.emit(fe),fe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(N){return"center"==N||"left-origin-center"==N||"right-origin-center"==N}_computePositionAnimationState(N=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==N?"left":"right":this._positionIndex>0?"ltr"==N?"right":"left":"center"}_computePositionFromOrigin(N){const fe=this._getLayoutDirection();return"ltr"==fe&&N<=0||"rtl"==fe&&N>0?"left-origin-center":"right-origin-center"}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(J.Is,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Q})(),Je=(()=>{class Q extends Fe{constructor(N,fe,je){super(N,fe,je)}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(J.Is,8),o.\u0275\u0275directiveInject(o.ChangeDetectorRef))},Q.\u0275cmp=o.\u0275\u0275defineComponent({type:Q,selectors:[["mat-tab-body"]],viewQuery:function(N,fe){if(1&N&&o.\u0275\u0275viewQuery(y.Pl,5),2&N){let je;o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._portalHost=je.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(N,fe){1&N&&(o.\u0275\u0275elementStart(0,"div",0,1),o.\u0275\u0275listener("@translateTab.start",function(dt){return fe._onTranslateTabStarted(dt)})("@translateTab.done",function(dt){return fe._translateTabComplete.next(dt)}),o.\u0275\u0275template(2,De,0,0,"ng-template",2),o.\u0275\u0275elementEnd()),2&N&&o.\u0275\u0275property("@translateTab",o.\u0275\u0275pureFunction2(3,Z,fe._position,o.\u0275\u0275pureFunction1(1,be,fe.animationDuration)))},directives:[ve],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}\n'],encapsulation:2,data:{animation:[L.translateTab]}}),Q})();const ot=new o.InjectionToken("MAT_TABS_CONFIG"),Dt=(0,c.mixinDisabled)(class{});let Et=(()=>{class Q extends Dt{constructor(N){super(),this.elementRef=N}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(N,fe){2&N&&(o.\u0275\u0275attribute("aria-disabled",!!fe.disabled),o.\u0275\u0275classProp("mat-tab-disabled",fe.disabled))},inputs:{disabled:"disabled"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Q})();const At=(0,H.i$)({passive:!0});let Ye=(()=>{class Q{constructor(N,fe,je,dt,Ft,Pe,Re){this._elementRef=N,this._changeDetectorRef=fe,this._viewportRuler=je,this._dir=dt,this._ngZone=Ft,this._platform=Pe,this._animationMode=Re,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new v.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new v.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,Ft.runOutsideAngular(()=>{(0,T.R)(N.nativeElement,"mouseleave").pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(N){N=(0,Y.su)(N),this._selectedIndex!=N&&(this._selectedIndexChanged=!0,this._selectedIndex=N,this._keyManager&&this._keyManager.updateActiveItem(N))}ngAfterViewInit(){(0,T.R)(this._previousPaginator.nativeElement,"touchstart",At).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,T.R)(this._nextPaginator.nativeElement,"touchstart",At).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const N=this._dir?this._dir.change:(0,S.of)("ltr"),fe=this._viewportRuler.change(150),je=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(je),(0,P.T)(N,fe,this._items.changes).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(je)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,_.R)(this._destroyed)).subscribe(dt=>{this.indexFocused.emit(dt),this._setTabFocus(dt)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(N){if(!(0,X.Vb)(N))switch(N.keyCode){case X.K5:case X.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(N));break;default:this._keyManager.onKeydown(N)}}_onContentChanges(){const N=this._elementRef.nativeElement.textContent;N!==this._currentTextContent&&(this._currentTextContent=N||"",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(N){!this._isValidIndex(N)||this.focusIndex===N||!this._keyManager||this._keyManager.setActiveItem(N)}_isValidIndex(N){if(!this._items)return!0;const fe=this._items?this._items.toArray()[N]:null;return!!fe&&!fe.disabled}_setTabFocus(N){if(this._showPaginationControls&&this._scrollToLabel(N),this._items&&this._items.length){this._items.toArray()[N].focus();const fe=this._tabListContainer.nativeElement;fe.scrollLeft="ltr"==this._getLayoutDirection()?0:fe.scrollWidth-fe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const N=this.scrollDistance,fe="ltr"===this._getLayoutDirection()?-N:N;this._tabList.nativeElement.style.transform=`translateX(${Math.round(fe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(N){this._scrollTo(N)}_scrollHeader(N){return this._scrollTo(this._scrollDistance+("before"==N?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(N){this._stopInterval(),this._scrollHeader(N)}_scrollToLabel(N){if(this.disablePagination)return;const fe=this._items?this._items.toArray()[N]:null;if(!fe)return;const je=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:dt,offsetWidth:Ft}=fe.elementRef.nativeElement;let Pe,Re;"ltr"==this._getLayoutDirection()?(Pe=dt,Re=Pe+Ft):(Re=this._tabListInner.nativeElement.offsetWidth-dt,Pe=Re-Ft);const ge=this.scrollDistance,ke=this.scrollDistance+je;Pe<ge?this.scrollDistance-=ge-Pe+60:Re>ke&&(this.scrollDistance+=Re-ke+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const N=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;N||(this.scrollDistance=0),N!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=N}}_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 N=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,fe=N?N.elementRef.nativeElement:null;fe?this._inkBar.alignToElement(fe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(N,fe){fe&&null!=fe.button&&0!==fe.button||(this._stopInterval(),(0,I.H)(650,100).pipe((0,_.R)((0,P.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:je,distance:dt}=this._scrollHeader(N);(0===dt||dt>=je)&&this._stopInterval()}))}_scrollTo(N){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const fe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(fe,N)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:fe,distance:this._scrollDistance}}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(oe.rL),o.\u0275\u0275directiveInject(J.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(H.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,inputs:{disablePagination:"disablePagination"}}),Q})(),Xe=(()=>{class Q extends Ye{constructor(N,fe,je,dt,Ft,Pe,Re){super(N,fe,je,dt,Ft,Pe,Re),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(N){this._disableRipple=(0,Y.Ig)(N)}_itemSelected(N){N.preventDefault()}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(oe.rL),o.\u0275\u0275directiveInject(J.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(H.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,inputs:{disableRipple:"disableRipple"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Q})(),rt=(()=>{class Q extends Xe{constructor(N,fe,je,dt,Ft,Pe,Re){super(N,fe,je,dt,Ft,Pe,Re)}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(oe.rL),o.\u0275\u0275directiveInject(J.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(H.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275cmp=o.\u0275\u0275defineComponent({type:Q,selectors:[["mat-tab-header"]],contentQueries:function(N,fe,je){if(1&N&&o.\u0275\u0275contentQuery(je,Et,4),2&N){let dt;o.\u0275\u0275queryRefresh(dt=o.\u0275\u0275loadQuery())&&(fe._items=dt)}},viewQuery:function(N,fe){if(1&N&&(o.\u0275\u0275viewQuery(ft,7),o.\u0275\u0275viewQuery(de,7),o.\u0275\u0275viewQuery(z,7),o.\u0275\u0275viewQuery(pe,7),o.\u0275\u0275viewQuery(ce,5),o.\u0275\u0275viewQuery(Oe,5)),2&N){let je;o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._inkBar=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._tabListContainer=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._tabList=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._tabListInner=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._nextPaginator=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._previousPaginator=je.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(N,fe){2&N&&o.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",fe._showPaginationControls)("mat-tab-header-rtl","rtl"==fe._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[o.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:me,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(N,fe){1&N&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"button",0,1),o.\u0275\u0275listener("click",function(){return fe._handlePaginatorClick("before")})("mousedown",function(dt){return fe._handlePaginatorPress("before",dt)})("touchend",function(){return fe._stopInterval()}),o.\u0275\u0275element(2,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275listener("keydown",function(dt){return fe._handleKeydown(dt)}),o.\u0275\u0275elementStart(5,"div",5,6),o.\u0275\u0275listener("cdkObserveContent",function(){return fe._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(dt){return fe._handlePaginatorPress("after",dt)})("click",function(){return fe._handlePaginatorClick("after")})("touchend",function(){return fe._stopInterval()}),o.\u0275\u0275element(13,"div",2),o.\u0275\u0275elementEnd()),2&N&&(o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",fe._disableScrollBefore),o.\u0275\u0275property("matRippleDisabled",fe._disableScrollBefore||fe.disableRipple)("disabled",fe._disableScrollBefore||null),o.\u0275\u0275advance(5),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===fe._animationMode),o.\u0275\u0275advance(6),o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",fe._disableScrollAfter),o.\u0275\u0275property("matRippleDisabled",fe._disableScrollAfter||fe.disableRipple)("disabled",fe._disableScrollAfter||null))},directives:[c.MatRipple,h.wD,ft],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:transparent;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-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),Q})(),wt=0;class Ie{}const We=(0,c.mixinColor)((0,c.mixinDisableRipple)(class{constructor(Q){this._elementRef=Q}}),"primary");let lt=(()=>{class Q extends We{constructor(N,fe,je,dt){var Ft;super(N),this._changeDetectorRef=fe,this._animationMode=dt,this._tabs=new o.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=b.w0.EMPTY,this._tabLabelSubscription=b.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new o.EventEmitter,this.focusChange=new o.EventEmitter,this.animationDone=new o.EventEmitter,this.selectedTabChange=new o.EventEmitter(!0),this._groupId=wt++,this.animationDuration=je&&je.animationDuration?je.animationDuration:"500ms",this.disablePagination=!(!je||null==je.disablePagination)&&je.disablePagination,this.dynamicHeight=!(!je||null==je.dynamicHeight)&&je.dynamicHeight,this.contentTabIndex=null!==(Ft=null==je?void 0:je.contentTabIndex)&&void 0!==Ft?Ft:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(N){this._dynamicHeight=(0,Y.Ig)(N)}get selectedIndex(){return this._selectedIndex}set selectedIndex(N){this._indexToSelect=(0,Y.su)(N,null)}get animationDuration(){return this._animationDuration}set animationDuration(N){this._animationDuration=/^\d+$/.test(N+"")?N+"ms":N}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(N){this._contentTabIndex=(0,Y.su)(N,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(N){const fe=this._elementRef.nativeElement;fe.classList.remove(`mat-background-${this.backgroundColor}`),N&&fe.classList.add(`mat-background-${N}`),this._backgroundColor=N}ngAfterContentChecked(){const N=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=N){const fe=null==this._selectedIndex;if(!fe){this.selectedTabChange.emit(this._createChangeEvent(N));const je=this._tabBodyWrapper.nativeElement;je.style.minHeight=je.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((je,dt)=>je.isActive=dt===N),fe||(this.selectedIndexChange.emit(N),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((fe,je)=>{fe.position=je-N,null!=this._selectedIndex&&0==fe.position&&!fe.origin&&(fe.origin=N-this._selectedIndex)}),this._selectedIndex!==N&&(this._selectedIndex=N,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const N=this._clampTabIndex(this._indexToSelect);if(N===this._selectedIndex){const fe=this._tabs.toArray();let je;for(let dt=0;dt<fe.length;dt++)if(fe[dt].isActive){this._indexToSelect=this._selectedIndex=dt,this._lastFocusedTabIndex=null,je=fe[dt];break}!je&&fe[N]&&Promise.resolve().then(()=>{fe[N].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(N))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,m.O)(this._allTabs)).subscribe(N=>{this._tabs.reset(N.filter(fe=>fe._closestTabGroup===this||!fe._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(N){const fe=this._tabHeader;fe&&(fe.focusIndex=N)}_focusChanged(N){this._lastFocusedTabIndex=N,this.focusChange.emit(this._createChangeEvent(N))}_createChangeEvent(N){const fe=new Ie;return fe.index=N,this._tabs&&this._tabs.length&&(fe.tab=this._tabs.toArray()[N]),fe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,P.T)(...this._tabs.map(N=>N._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(N){return Math.min(this._tabs.length-1,Math.max(N||0,0))}_getTabLabelId(N){return`mat-tab-label-${this._groupId}-${N}`}_getTabContentId(N){return`mat-tab-content-${this._groupId}-${N}`}_setTabBodyWrapperHeight(N){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const fe=this._tabBodyWrapper.nativeElement;fe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(fe.style.height=N+"px")}_removeTabBodyWrapperHeight(){const N=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=N.clientHeight,N.style.height="",this.animationDone.emit()}_handleClick(N,fe,je){N.disabled||(this.selectedIndex=fe.focusIndex=je)}_getTabIndex(N,fe){var je;return N.disabled?null:fe===(null!==(je=this._lastFocusedTabIndex)&&void 0!==je?je:this.selectedIndex)?0:-1}_tabFocusChanged(N,fe){N&&"mouse"!==N&&"touch"!==N&&(this._tabHeader.focusIndex=fe)}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(ot,8),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Q})(),Tt=(()=>{class Q extends lt{constructor(N,fe,je,dt){super(N,fe,je,dt)}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(ot,8),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275cmp=o.\u0275\u0275defineComponent({type:Q,selectors:[["mat-tab-group"]],contentQueries:function(N,fe,je){if(1&N&&o.\u0275\u0275contentQuery(je,xe,5),2&N){let dt;o.\u0275\u0275queryRefresh(dt=o.\u0275\u0275loadQuery())&&(fe._allTabs=dt)}},viewQuery:function(N,fe){if(1&N&&(o.\u0275\u0275viewQuery(it,5),o.\u0275\u0275viewQuery(vt,5)),2&N){let je;o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._tabBodyWrapper=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._tabHeader=je.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(N,fe){2&N&&o.\u0275\u0275classProp("mat-tab-group-dynamic-height",fe.dynamicHeight)("mat-tab-group-inverted-header","below"===fe.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[o.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:Q}]),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","_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","_onCentered","_onCentering"]],template:function(N,fe){1&N&&(o.\u0275\u0275elementStart(0,"mat-tab-header",0,1),o.\u0275\u0275listener("indexFocused",function(dt){return fe._focusChanged(dt)})("selectFocusedIndex",function(dt){return fe.selectedIndex=dt}),o.\u0275\u0275template(2,at,5,15,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275template(5,Ve,1,10,"mat-tab-body",5),o.\u0275\u0275elementEnd()),2&N&&(o.\u0275\u0275property("selectedIndex",fe.selectedIndex||0)("disableRipple",fe.disableRipple)("disablePagination",fe.disablePagination),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",fe._tabs),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===fe._animationMode),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",fe._tabs))},directives:[rt,Je,d.NgForOf,Et,c.MatRipple,n.kH,d.NgClass,d.NgIf,y.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),Q})(),Ct=0,$t=(()=>{class Q extends Ye{constructor(N,fe,je,dt,Ft,Pe,Re){super(N,dt,Ft,fe,je,Pe,Re),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(N){const fe=this._elementRef.nativeElement.classList;fe.remove(`mat-background-${this.backgroundColor}`),N&&fe.add(`mat-background-${N}`),this._backgroundColor=N}get disableRipple(){return this._disableRipple}set disableRipple(N){this._disableRipple=(0,Y.Ig)(N)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,m.O)(null),(0,_.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const N=this._items.toArray();for(let fe=0;fe<N.length;fe++)if(N[fe].active)return this.selectedIndex=fe,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=N[fe].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(J.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(oe.rL),o.\u0275\u0275directiveInject(H.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Q})(),Mt=(()=>{class Q extends $t{constructor(N,fe,je,dt,Ft,Pe,Re){super(N,fe,je,dt,Ft,Pe,Re)}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(J.Is,8),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(o.ChangeDetectorRef),o.\u0275\u0275directiveInject(oe.rL),o.\u0275\u0275directiveInject(H.t4),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275cmp=o.\u0275\u0275defineComponent({type:Q,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(N,fe,je){if(1&N&&o.\u0275\u0275contentQuery(je,q,5),2&N){let dt;o.\u0275\u0275queryRefresh(dt=o.\u0275\u0275loadQuery())&&(fe._items=dt)}},viewQuery:function(N,fe){if(1&N&&(o.\u0275\u0275viewQuery(ft,7),o.\u0275\u0275viewQuery(de,7),o.\u0275\u0275viewQuery(z,7),o.\u0275\u0275viewQuery(pe,7),o.\u0275\u0275viewQuery(ce,5),o.\u0275\u0275viewQuery(Oe,5)),2&N){let je;o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._inkBar=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._tabListContainer=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._tabList=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._tabListInner=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._nextPaginator=je.first),o.\u0275\u0275queryRefresh(je=o.\u0275\u0275loadQuery())&&(fe._previousPaginator=je.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(N,fe){2&N&&(o.\u0275\u0275attribute("role",fe._getRole()),o.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",fe._showPaginationControls)("mat-tab-header-rtl","rtl"==fe._getLayoutDirection())("mat-primary","warn"!==fe.color&&"accent"!==fe.color)("mat-accent","accent"===fe.color)("mat-warn","warn"===fe.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[o.\u0275\u0275InheritDefinitionFeature],attrs:tt,ngContentSelectors:me,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(N,fe){1&N&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"button",0,1),o.\u0275\u0275listener("click",function(){return fe._handlePaginatorClick("before")})("mousedown",function(dt){return fe._handlePaginatorPress("before",dt)})("touchend",function(){return fe._stopInterval()}),o.\u0275\u0275element(2,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3,4),o.\u0275\u0275listener("keydown",function(dt){return fe._handleKeydown(dt)}),o.\u0275\u0275elementStart(5,"div",5,6),o.\u0275\u0275listener("cdkObserveContent",function(){return fe._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(dt){return fe._handlePaginatorPress("after",dt)})("click",function(){return fe._handlePaginatorClick("after")})("touchend",function(){return fe._stopInterval()}),o.\u0275\u0275element(13,"div",2),o.\u0275\u0275elementEnd()),2&N&&(o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",fe._disableScrollBefore),o.\u0275\u0275property("matRippleDisabled",fe._disableScrollBefore||fe.disableRipple)("disabled",fe._disableScrollBefore||null),o.\u0275\u0275advance(5),o.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===fe._animationMode),o.\u0275\u0275advance(6),o.\u0275\u0275classProp("mat-tab-header-pagination-disabled",fe._disableScrollAfter),o.\u0275\u0275property("matRippleDisabled",fe._disableScrollAfter||fe.disableRipple)("disabled",fe._disableScrollAfter||null))},directives:[c.MatRipple,h.wD,ft],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:transparent;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-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],encapsulation:2}),Q})();const Ht=(0,c.mixinTabIndex)((0,c.mixinDisableRipple)((0,c.mixinDisabled)(class{})));let ue=(()=>{class Q extends Ht{constructor(N,fe,je,dt,Ft,Pe){super(),this._tabNavBar=N,this.elementRef=fe,this._focusMonitor=Ft,this._isActive=!1,this.id="mat-tab-link-"+Ct++,this.rippleConfig=je||{},this.tabIndex=parseInt(dt)||0,"NoopAnimations"===Pe&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(N){const fe=(0,Y.Ig)(N);fe!==this._isActive&&(this._isActive=fe,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(N){this._tabNavBar.tabPanel&&N.keyCode===X.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){var N;return this._tabNavBar.tabPanel?null===(N=this._tabNavBar.tabPanel)||void 0===N?void 0:N.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?0:-1:this.tabIndex}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject($t),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(c.MAT_RIPPLE_GLOBAL_OPTIONS,8),o.\u0275\u0275injectAttribute("tabindex"),o.\u0275\u0275directiveInject(n.tE),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,inputs:{active:"active",id:"id"},features:[o.\u0275\u0275InheritDefinitionFeature]}),Q})(),q=(()=>{class Q extends ue{constructor(N,fe,je,dt,Ft,Pe,Re,ge){super(N,fe,Ft,Pe,Re,ge),this._tabLinkRipple=new c.RippleRenderer(this,je,fe,dt),this._tabLinkRipple.setupTriggerEvents(fe.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Q.\u0275fac=function(N){return new(N||Q)(o.\u0275\u0275directiveInject(Mt),o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(o.NgZone),o.\u0275\u0275directiveInject(H.t4),o.\u0275\u0275directiveInject(c.MAT_RIPPLE_GLOBAL_OPTIONS,8),o.\u0275\u0275injectAttribute("tabindex"),o.\u0275\u0275directiveInject(n.tE),o.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},Q.\u0275dir=o.\u0275\u0275defineDirective({type:Q,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(N,fe){1&N&&o.\u0275\u0275listener("focus",function(){return fe._handleFocus()})("keydown",function(dt){return fe._handleKeydown(dt)}),2&N&&(o.\u0275\u0275attribute("aria-controls",fe._getAriaControls())("aria-current",fe._getAriaCurrent())("aria-disabled",fe.disabled)("aria-selected",fe._getAriaSelected())("id",fe.id)("tabIndex",fe._getTabIndex())("role",fe._getRole()),o.\u0275\u0275classProp("mat-tab-disabled",fe.disabled)("mat-tab-label-active",fe.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[o.\u0275\u0275InheritDefinitionFeature]}),Q})(),k=(()=>{class Q{constructor(){this.id="mat-tab-nav-panel-"+Ct++}}return Q.\u0275fac=function(N){return new(N||Q)},Q.\u0275cmp=o.\u0275\u0275defineComponent({type:Q,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(N,fe){2&N&&o.\u0275\u0275attribute("aria-labelledby",fe._activeTabId)("id",fe.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:me,decls:1,vars:0,template:function(N,fe){1&N&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),Q})(),W=(()=>{class Q{}return Q.\u0275fac=function(N){return new(N||Q)},Q.\u0275mod=o.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=o.\u0275\u0275defineInjector({imports:[[d.CommonModule,c.MatCommonModule,y.eL,c.MatRippleModule,h.Q8,n.rt],c.MatCommonModule]}),Q})()},7238:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>Z,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>de,MAT_TOOLTIP_SCROLL_STRATEGY:()=>me,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>De,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>be,MatTooltip:()=>pe,MatTooltipModule:()=>it,SCROLL_THROTTLE_MS:()=>J,TOOLTIP_PANEL_CLASS:()=>Y,TooltipComponent:()=>Oe,_MatTooltipBase:()=>z,_TooltipComponentBase:()=>ce,getMatTooltipInvalidPositionError:()=>le,matTooltipAnimations:()=>vt});var n=a(1314),h=a(5664),y=a(9808),d=a(5e3),o=a(508),c=a(495),f=a(3191),p=a(1159),m=a(5113),u=a(925),_=a(7429),v=a(6360),b=a(7579),T=a(2722),S=a(5698),P=a(226),I=a(1777);const V=["tooltip"],J=20,Y="mat-tooltip-panel",X="tooltip-panel",H=(0,u.i$)({passive:!0});function le(Ge){return Error(`Tooltip position "${Ge}" is invalid.`)}const me=new d.InjectionToken("mat-tooltip-scroll-strategy");function De(Ge){return()=>Ge.scrollStrategies.reposition({scrollThrottle:J})}const be={provide:me,deps:[n.aV],useFactory:De},Z=new d.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:de});function de(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}let z=(()=>{class Ge{constructor(qe,at,Ve,tt,Le,Ke,ft,ye,Se,j,ne,Me){this._overlay=qe,this._elementRef=at,this._scrollDispatcher=Ve,this._viewContainerRef=tt,this._ngZone=Le,this._platform=Ke,this._ariaDescriber=ft,this._focusMonitor=ye,this._dir=j,this._defaultOptions=ne,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new b.x,this._scrollStrategy=Se,this._document=Me,ne&&(ne.position&&(this.position=ne.position),ne.touchGestures&&(this.touchGestures=ne.touchGestures)),j.change.pipe((0,T.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(qe){var at;qe!==this._position&&(this._position=qe,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(at=this._tooltipInstance)||void 0===at||at.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(qe){this._disabled=(0,f.Ig)(qe),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(qe){this._showDelay=(0,f.su)(qe)}get hideDelay(){return this._hideDelay}set hideDelay(qe){this._hideDelay=(0,f.su)(qe),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(qe){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=qe?String(qe).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(qe){this._tooltipClass=qe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,T.R)(this._destroyed)).subscribe(qe=>{qe?"keyboard"===qe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const qe=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([at,Ve])=>{qe.removeEventListener(at,Ve,H)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(qe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(qe)}show(qe=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const at=this._createOverlay();this._detach(),this._portal=this._portal||new _.C5(this._tooltipComponent,this._viewContainerRef);const Ve=this._tooltipInstance=at.attach(this._portal).instance;Ve._triggerElement=this._elementRef.nativeElement,Ve._mouseLeaveHideDelay=this._hideDelay,Ve.afterHidden().pipe((0,T.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ve.show(qe)}hide(qe=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(qe)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var qe;if(this._overlayRef)return this._overlayRef;const at=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ve=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(at);return Ve.positionChanges.pipe((0,T.R)(this._destroyed)).subscribe(tt=>{this._updateCurrentPositionClass(tt.connectionPair),this._tooltipInstance&&tt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ve,panelClass:`${this._cssClassPrefix}-${X}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,T.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,T.R)(this._destroyed)).subscribe(()=>{var tt;return null===(tt=this._tooltipInstance)||void 0===tt?void 0:tt._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,T.R)(this._destroyed)).subscribe(tt=>{this._isTooltipVisible()&&tt.keyCode===p.hY&&!(0,p.Vb)(tt)&&(tt.preventDefault(),tt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(qe=this._defaultOptions)||void 0===qe?void 0:qe.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(qe){const at=qe.getConfig().positionStrategy,Ve=this._getOrigin(),tt=this._getOverlayPosition();at.withPositions([this._addOffset(Object.assign(Object.assign({},Ve.main),tt.main)),this._addOffset(Object.assign(Object.assign({},Ve.fallback),tt.fallback))])}_addOffset(qe){return qe}_getOrigin(){const qe=!this._dir||"ltr"==this._dir.value,at=this.position;let Ve;"above"==at||"below"==at?Ve={originX:"center",originY:"above"==at?"top":"bottom"}:"before"==at||"left"==at&&qe||"right"==at&&!qe?Ve={originX:"start",originY:"center"}:("after"==at||"right"==at&&qe||"left"==at&&!qe)&&(Ve={originX:"end",originY:"center"});const{x:tt,y:Le}=this._invertPosition(Ve.originX,Ve.originY);return{main:Ve,fallback:{originX:tt,originY:Le}}}_getOverlayPosition(){const qe=!this._dir||"ltr"==this._dir.value,at=this.position;let Ve;"above"==at?Ve={overlayX:"center",overlayY:"bottom"}:"below"==at?Ve={overlayX:"center",overlayY:"top"}:"before"==at||"left"==at&&qe||"right"==at&&!qe?Ve={overlayX:"end",overlayY:"center"}:("after"==at||"right"==at&&qe||"left"==at&&!qe)&&(Ve={overlayX:"start",overlayY:"center"});const{x:tt,y:Le}=this._invertPosition(Ve.overlayX,Ve.overlayY);return{main:Ve,fallback:{overlayX:tt,overlayY:Le}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,S.q)(1),(0,T.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(qe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=qe,this._tooltipInstance._markForCheck())}_invertPosition(qe,at){return"above"===this.position||"below"===this.position?"top"===at?at="bottom":"bottom"===at&&(at="top"):"end"===qe?qe="start":"start"===qe&&(qe="end"),{x:qe,y:at}}_updateCurrentPositionClass(qe){const{overlayY:at,originX:Ve,originY:tt}=qe;let Le;if(Le="center"===at?this._dir&&"rtl"===this._dir.value?"end"===Ve?"left":"right":"start"===Ve?"left":"right":"bottom"===at&&"top"===tt?"above":"below",Le!==this._currentPosition){const Ke=this._overlayRef;if(Ke){const ft=`${this._cssClassPrefix}-${X}-`;Ke.removePanelClass(ft+this._currentPosition),Ke.addPanelClass(ft+Le)}this._currentPosition=Le}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const qe=[];if(this._platformSupportsMouseEvents())qe.push(["mouseleave",at=>{var Ve;const tt=at.relatedTarget;(!tt||!(null===(Ve=this._overlayRef)||void 0===Ve?void 0:Ve.overlayElement.contains(tt)))&&this.hide()}],["wheel",at=>this._wheelListener(at)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const at=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};qe.push(["touchend",at],["touchcancel",at])}this._addListeners(qe),this._passiveListeners.push(...qe)}_addListeners(qe){qe.forEach(([at,Ve])=>{this._elementRef.nativeElement.addEventListener(at,Ve,H)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(qe){if(this._isTooltipVisible()){const at=this._document.elementFromPoint(qe.clientX,qe.clientY),Ve=this._elementRef.nativeElement;at!==Ve&&!Ve.contains(at)&&this.hide()}}_disableNativeGesturesIfNecessary(){const qe=this.touchGestures;if("off"!==qe){const at=this._elementRef.nativeElement,Ve=at.style;("on"===qe||"INPUT"!==at.nodeName&&"TEXTAREA"!==at.nodeName)&&(Ve.userSelect=Ve.msUserSelect=Ve.webkitUserSelect=Ve.MozUserSelect="none"),("on"===qe||!at.draggable)&&(Ve.webkitUserDrag="none"),Ve.touchAction="none",Ve.webkitTapHighlightColor="transparent"}}}return Ge.\u0275fac=function(qe){d.\u0275\u0275invalidFactory()},Ge.\u0275dir=d.\u0275\u0275defineDirective({type:Ge,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),Ge})(),pe=(()=>{class Ge extends z{constructor(qe,at,Ve,tt,Le,Ke,ft,ye,Se,j,ne,Me){super(qe,at,Ve,tt,Le,Ke,ft,ye,Se,j,ne,Me),this._tooltipComponent=Oe}}return Ge.\u0275fac=function(qe){return new(qe||Ge)(d.\u0275\u0275directiveInject(n.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(c.mF),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(u.t4),d.\u0275\u0275directiveInject(h.$s),d.\u0275\u0275directiveInject(h.tE),d.\u0275\u0275directiveInject(me),d.\u0275\u0275directiveInject(P.Is,8),d.\u0275\u0275directiveInject(Z,8),d.\u0275\u0275directiveInject(y.DOCUMENT))},Ge.\u0275dir=d.\u0275\u0275defineDirective({type:Ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[d.\u0275\u0275InheritDefinitionFeature]}),Ge})(),ce=(()=>{class Ge{constructor(qe,at){this._changeDetectorRef=qe,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new b.x,this._animationsDisabled="NoopAnimations"===at}show(qe){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},qe)}hide(qe){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},qe)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:qe}){(!qe||!this._triggerElement.contains(qe))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:qe}){(qe===this._showAnimation||qe===this._hideAnimation)&&this._finalizeAnimation(qe===this._showAnimation)}_finalizeAnimation(qe){qe?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(qe){const at=this._tooltip.nativeElement,Ve=this._showAnimation,tt=this._hideAnimation;if(at.classList.remove(qe?tt:Ve),at.classList.add(qe?Ve:tt),this._isVisible=qe,qe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Le=getComputedStyle(at);("0s"===Le.getPropertyValue("animation-duration")||"none"===Le.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}qe&&this._onShow(),this._animationsDisabled&&(at.classList.add("_mat-animation-noopable"),this._finalizeAnimation(qe))}}return Ge.\u0275fac=function(qe){return new(qe||Ge)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=d.\u0275\u0275defineDirective({type:Ge}),Ge})(),Oe=(()=>{class Ge extends ce{constructor(qe,at,Ve){super(qe,Ve),this._breakpointObserver=at,this._isHandset=this._breakpointObserver.observe(m.Breakpoints.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return Ge.\u0275fac=function(qe){return new(qe||Ge)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(m.BreakpointObserver),d.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))},Ge.\u0275cmp=d.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tooltip-component"]],viewQuery:function(qe,at){if(1&qe&&d.\u0275\u0275viewQuery(V,7),2&qe){let Ve;d.\u0275\u0275queryRefresh(Ve=d.\u0275\u0275loadQuery())&&(at._tooltip=Ve.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(qe,at){1&qe&&d.\u0275\u0275listener("mouseleave",function(tt){return at._handleMouseLeave(tt)}),2&qe&&d.\u0275\u0275styleProp("zoom",at.isVisible()?1:null)},features:[d.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(qe,at){if(1&qe&&(d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("animationend",function(tt){return at._handleAnimationEnd(tt)}),d.\u0275\u0275pipe(2,"async"),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd()),2&qe){let Ve;d.\u0275\u0275classProp("mat-tooltip-handset",null==(Ve=d.\u0275\u0275pipeBind1(2,4,at._isHandset))?null:Ve.matches),d.\u0275\u0275property("ngClass",at.tooltipClass),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(at.message)}},directives:[y.NgClass],pipes:[y.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}\n"],encapsulation:2,changeDetection:0}),Ge})(),it=(()=>{class Ge{}return Ge.\u0275fac=function(qe){return new(qe||Ge)},Ge.\u0275mod=d.\u0275\u0275defineNgModule({type:Ge}),Ge.\u0275inj=d.\u0275\u0275defineInjector({providers:[be],imports:[[h.rt,y.CommonModule,n.U8,o.MatCommonModule],o.MatCommonModule,c.ZD]}),Ge})();const vt={tooltipState:(0,I.X$)("state",[(0,I.SB)("initial, void, hidden",(0,I.oB)({opacity:0,transform:"scale(0)"})),(0,I.SB)("visible",(0,I.oB)({transform:"scale(1)"})),(0,I.eR)("* => visible",(0,I.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,I.F4)([(0,I.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,I.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,I.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,I.eR)("* => hidden",(0,I.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,I.oB)({opacity:0})))])}},6360:(G,r,a)=>{"use strict";a.r(r),a.d(r,{ANIMATION_MODULE_TYPE:()=>Zo,BrowserAnimationsModule:()=>tr,NoopAnimationsModule:()=>Rs,\u0275AnimationRenderer:()=>Qo,\u0275AnimationRendererFactory:()=>Ko,\u0275BrowserAnimationBuilder:()=>Sn,\u0275BrowserAnimationFactory:()=>li,\u0275InjectableAnimationEngine:()=>oo});var n=a(5e3),h=a(2313),y=a(1777);const d=!1;function c(K){return new n.\u0275RuntimeError(3e3,d)}function Le(){return"undefined"!=typeof window&&void 0!==window.document}function Ke(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ft(K){switch(K.length){case 0:return new y.ZN;case 1:return K[0];default:return new y.ZE(K)}}function ye(K,E,D,A,ee={},_e={}){const Ne=[],Be=[];let nt=-1,gt=null;if(A.forEach(kt=>{const zt=kt.offset,Jt=zt==nt,an=Jt&>||{};Object.keys(kt).forEach(Kt=>{let tn=Kt,En=kt[Kt];if("offset"!==Kt)switch(tn=E.normalizePropertyName(tn,Ne),En){case y.k1:En=ee[Kt];break;case y.l3:En=_e[Kt];break;default:En=E.normalizeStyleValue(Kt,tn,En,Ne)}an[tn]=En}),Jt||Be.push(an),gt=an,nt=zt}),Ne.length)throw function z(K){return new n.\u0275RuntimeError(3502,d)}();return Be}function Se(K,E,D,A){switch(E){case"start":K.onStart(()=>A(D&&j(D,"start",K)));break;case"done":K.onDone(()=>A(D&&j(D,"done",K)));break;case"destroy":K.onDestroy(()=>A(D&&j(D,"destroy",K)))}}function j(K,E,D){const A=D.totalTime,_e=ne(K.element,K.triggerName,K.fromState,K.toState,E||K.phaseName,null==A?K.totalTime:A,!!D.disabled),Ne=K._data;return null!=Ne&&(_e._data=Ne),_e}function ne(K,E,D,A,ee="",_e=0,Ne){return{element:K,triggerName:E,fromState:D,toState:A,phaseName:ee,totalTime:_e,disabled:!!Ne}}function Me(K,E,D){let A;return K instanceof Map?(A=K.get(E),A||K.set(E,A=D)):(A=K[E],A||(A=K[E]=D)),A}function ze(K){const E=K.indexOf(":");return[K.substring(1,E),K.substr(E+1)]}let Qe=(K,E)=>!1,xe=(K,E,D)=>[],L=null;function ve(K){const E=K.parentNode||K.host;return E===L?null:E}(Ke()||"undefined"!=typeof Element)&&(Le()?(L=(()=>document.documentElement)(),Qe=(K,E)=>{for(;E;){if(E===K)return!0;E=ve(E)}return!1}):Qe=(K,E)=>K.contains(E),xe=(K,E,D)=>{if(D)return Array.from(K.querySelectorAll(E));const A=K.querySelector(E);return A?[A]:[]});let ot=null,Dt=!1;function Et(K){ot||(ot=function At(){return"undefined"!=typeof document?document.body:null}()||{},Dt=!!ot.style&&"WebkitAppearance"in ot.style);let E=!0;return ot.style&&!function Je(K){return"ebkit"==K.substring(1,6)}(K)&&(E=K in ot.style,!E&&Dt&&(E="Webkit"+K.charAt(0).toUpperCase()+K.substr(1)in ot.style)),E}const Ue=Qe,Te=xe;let Ye=(()=>{class K{validateStyleProperty(D){return Et(D)}matchesElement(D,A){return!1}containsElement(D,A){return Ue(D,A)}getParentElement(D){return ve(D)}query(D,A,ee){return Te(D,A,ee)}computeStyle(D,A,ee){return ee||""}animate(D,A,ee,_e,Ne,Be=[],nt){return new y.ZN(ee,_e)}}return K.\u0275fac=function(D){return new(D||K)},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})(),Xe=(()=>{class K{}return K.NOOP=new Ye,K})();const We="ng-enter",lt="ng-leave",Tt="ng-trigger",Ct=".ng-trigger",$t="ng-animating",Mt=".ng-animating";function Ht(K){if("number"==typeof K)return K;const E=K.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:ue(parseFloat(E[1]),E[2])}function ue(K,E){return"s"===E?1e3*K:K}function q(K,E,D){return K.hasOwnProperty("duration")?K:function k(K,E,D){let ee,_e=0,Ne="";if("string"==typeof K){const Be=K.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Be)return E.push(c()),{duration:0,delay:0,easing:""};ee=ue(parseFloat(Be[1]),Be[2]);const nt=Be[3];null!=nt&&(_e=ue(parseFloat(nt),Be[4]));const gt=Be[5];gt&&(Ne=gt)}else ee=K;if(!D){let Be=!1,nt=E.length;ee<0&&(E.push(function f(){return new n.\u0275RuntimeError(3100,d)}()),Be=!0),_e<0&&(E.push(function p(){return new n.\u0275RuntimeError(3101,d)}()),Be=!0),Be&&E.splice(nt,0,c())}return{duration:ee,delay:_e,easing:Ne}}(K,E,D)}function W(K,E={}){return Object.keys(K).forEach(D=>{E[D]=K[D]}),E}function U(K,E,D={}){if(E)for(let A in K)D[A]=K[A];else W(K,D);return D}function N(K,E,D){return D?E+":"+D+";":""}function fe(K){let E="";for(let D=0;D<K.style.length;D++){const A=K.style.item(D);E+=N(0,A,K.style.getPropertyValue(A))}for(const D in K.style)K.style.hasOwnProperty(D)&&!D.startsWith("_")&&(E+=N(0,qt(D),K.style[D]));K.setAttribute("style",E)}function je(K,E,D){K.style&&(Object.keys(E).forEach(A=>{const ee=jt(A);D&&!D.hasOwnProperty(A)&&(D[A]=K.style[ee]),K.style[ee]=E[A]}),Ke()&&fe(K))}function dt(K,E){K.style&&(Object.keys(E).forEach(D=>{const A=jt(D);K.style[A]=""}),Ke()&&fe(K))}function Ft(K){return Array.isArray(K)?1==K.length?K[0]:(0,y.vP)(K):K}const Re=new RegExp("{{\\s*(.+?)\\s*}}","g");function ge(K){let E=[];if("string"==typeof K){let D;for(;D=Re.exec(K);)E.push(D[1]);Re.lastIndex=0}return E}function ke(K,E,D){const A=K.toString(),ee=A.replace(Re,(_e,Ne)=>{let Be=E[Ne];return E.hasOwnProperty(Ne)||(D.push(function u(K){return new n.\u0275RuntimeError(3003,d)}()),Be=""),Be.toString()});return ee==A?K:ee}function ct(K){const E=[];let D=K.next();for(;!D.done;)E.push(D.value),D=K.next();return E}const xt=/-+([a-z0-9])/g;function jt(K){return K.replace(xt,(...E)=>E[1].toUpperCase())}function qt(K){return K.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function hn(K,E,D){switch(E.type){case 7:return K.visitTrigger(E,D);case 0:return K.visitState(E,D);case 1:return K.visitTransition(E,D);case 2:return K.visitSequence(E,D);case 3:return K.visitGroup(E,D);case 4:return K.visitAnimate(E,D);case 5:return K.visitKeyframes(E,D);case 6:return K.visitStyle(E,D);case 8:return K.visitReference(E,D);case 9:return K.visitAnimateChild(E,D);case 10:return K.visitAnimateRef(E,D);case 11:return K.visitQuery(E,D);case 12:return K.visitStagger(E,D);default:throw function _(K){return new n.\u0275RuntimeError(3004,d)}()}}function An(K,E){return window.getComputedStyle(K)[E]}function we(K,E){const D=[];return"string"==typeof K?K.split(/\s*,\s*/).forEach(A=>function Ze(K,E,D){if(":"==K[0]){const nt=function st(K,E){switch(K){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(D,A)=>parseFloat(A)>parseFloat(D);case":decrement":return(D,A)=>parseFloat(A)<parseFloat(D);default:return E.push(function De(K){return new n.\u0275RuntimeError(3016,d)}()),"* => *"}}(K,D);if("function"==typeof nt)return void E.push(nt);K=nt}const A=K.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==A||A.length<4)return D.push(function me(K){return new n.\u0275RuntimeError(3015,d)}()),E;const ee=A[1],_e=A[2],Ne=A[3];E.push(Ot(ee,Ne));"<"==_e[0]&&!("*"==ee&&"*"==Ne)&&E.push(Ot(Ne,ee))}(A,D,E)):D.push(K),D}const St=new Set(["true","1"]),Ut=new Set(["false","0"]);function Ot(K,E){const D=St.has(K)||Ut.has(K),A=St.has(E)||Ut.has(E);return(ee,_e)=>{let Ne="*"==K||K==ee,Be="*"==E||E==_e;return!Ne&&D&&"boolean"==typeof ee&&(Ne=ee?St.has(K):Ut.has(K)),!Be&&A&&"boolean"==typeof _e&&(Be=_e?St.has(E):Ut.has(E)),Ne&&Be}}const ln=new RegExp("s*:selfs*,?","g");function _n(K,E,D,A){return new fn(K).build(E,D,A)}class fn{constructor(E){this._driver=E}build(E,D,A){const ee=new mn(D);this._resetContextStyleTimingState(ee);const _e=hn(this,Ft(E),ee);return ee.unsupportedCSSPropertiesFound.size&&ee.unsupportedCSSPropertiesFound.keys(),_e}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles={},E.collectedStyles[""]={},E.currentTime=0}visitTrigger(E,D){let A=D.queryCount=0,ee=D.depCount=0;const _e=[],Ne=[];return"@"==E.name.charAt(0)&&D.errors.push(function b(){return new n.\u0275RuntimeError(3006,d)}()),E.definitions.forEach(Be=>{if(this._resetContextStyleTimingState(D),0==Be.type){const nt=Be,gt=nt.name;gt.toString().split(/\s*,\s*/).forEach(kt=>{nt.name=kt,_e.push(this.visitState(nt,D))}),nt.name=gt}else if(1==Be.type){const nt=this.visitTransition(Be,D);A+=nt.queryCount,ee+=nt.depCount,Ne.push(nt)}else D.errors.push(function T(){return new n.\u0275RuntimeError(3007,d)}())}),{type:7,name:E.name,states:_e,transitions:Ne,queryCount:A,depCount:ee,options:null}}visitState(E,D){const A=this.visitStyle(E.styles,D),ee=E.options&&E.options.params||null;if(A.containsDynamicStyles){const _e=new Set,Ne=ee||{};A.styles.forEach(Be=>{if(hi(Be)){const nt=Be;Object.keys(nt).forEach(gt=>{ge(nt[gt]).forEach(kt=>{Ne.hasOwnProperty(kt)||_e.add(kt)})})}}),_e.size&&(ct(_e.values()),D.errors.push(function S(K,E){return new n.\u0275RuntimeError(3008,d)}()))}return{type:0,name:E.name,style:A,options:ee?{params:ee}:null}}visitTransition(E,D){D.queryCount=0,D.depCount=0;const A=hn(this,Ft(E.animation),D);return{type:1,matchers:we(E.expr,D.errors),animation:A,queryCount:D.queryCount,depCount:D.depCount,options:Mn(E.options)}}visitSequence(E,D){return{type:2,steps:E.steps.map(A=>hn(this,A,D)),options:Mn(E.options)}}visitGroup(E,D){const A=D.currentTime;let ee=0;const _e=E.steps.map(Ne=>{D.currentTime=A;const Be=hn(this,Ne,D);return ee=Math.max(ee,D.currentTime),Be});return D.currentTime=ee,{type:3,steps:_e,options:Mn(E.options)}}visitAnimate(E,D){const A=function Di(K,E){if(K.hasOwnProperty("duration"))return K;if("number"==typeof K)return jn(q(K,E).duration,0,"");const D=K;if(D.split(/\s+/).some(_e=>"{"==_e.charAt(0)&&"{"==_e.charAt(1))){const _e=jn(0,0,"");return _e.dynamic=!0,_e.strValue=D,_e}const ee=q(D,E);return jn(ee.duration,ee.delay,ee.easing)}(E.timings,D.errors);D.currentAnimateTimings=A;let ee,_e=E.styles?E.styles:(0,y.oB)({});if(5==_e.type)ee=this.visitKeyframes(_e,D);else{let Ne=E.styles,Be=!1;if(!Ne){Be=!0;const gt={};A.easing&&(gt.easing=A.easing),Ne=(0,y.oB)(gt)}D.currentTime+=A.duration+A.delay;const nt=this.visitStyle(Ne,D);nt.isEmptyStep=Be,ee=nt}return D.currentAnimateTimings=null,{type:4,timings:A,style:ee,options:null}}visitStyle(E,D){const A=this._makeStyleAst(E,D);return this._validateStyleAst(A,D),A}_makeStyleAst(E,D){const A=[];Array.isArray(E.styles)?E.styles.forEach(Ne=>{"string"==typeof Ne?Ne==y.l3?A.push(Ne):D.errors.push(function P(K){return new n.\u0275RuntimeError(3002,d)}()):A.push(Ne)}):A.push(E.styles);let ee=!1,_e=null;return A.forEach(Ne=>{if(hi(Ne)){const Be=Ne,nt=Be.easing;if(nt&&(_e=nt,delete Be.easing),!ee)for(let gt in Be)if(Be[gt].toString().indexOf("{{")>=0){ee=!0;break}}}),{type:6,styles:A,easing:_e,offset:E.offset,containsDynamicStyles:ee,options:null}}_validateStyleAst(E,D){const A=D.currentAnimateTimings;let ee=D.currentTime,_e=D.currentTime;A&&_e>0&&(_e-=A.duration+A.delay),E.styles.forEach(Ne=>{"string"!=typeof Ne&&Object.keys(Ne).forEach(Be=>{if(!this._driver.validateStyleProperty(Be))return delete Ne[Be],void D.unsupportedCSSPropertiesFound.add(Be);const nt=D.collectedStyles[D.currentQuerySelector],gt=nt[Be];let kt=!0;gt&&(_e!=ee&&_e>=gt.startTime&&ee<=gt.endTime&&(D.errors.push(function V(K,E,D,A,ee){return new n.\u0275RuntimeError(3010,d)}()),kt=!1),_e=gt.startTime),kt&&(nt[Be]={startTime:_e,endTime:ee}),D.options&&function Pe(K,E,D){const A=E.params||{},ee=ge(K);ee.length&&ee.forEach(_e=>{A.hasOwnProperty(_e)||D.push(function m(K){return new n.\u0275RuntimeError(3001,d)}())})}(Ne[Be],D.options,D.errors)})})}visitKeyframes(E,D){const A={type:5,styles:[],options:null};if(!D.currentAnimateTimings)return D.errors.push(function J(){return new n.\u0275RuntimeError(3011,d)}()),A;let _e=0;const Ne=[];let Be=!1,nt=!1,gt=0;const kt=E.steps.map(Fn=>{const Qn=this._makeStyleAst(Fn,D);let si=null!=Qn.offset?Qn.offset:function nn(K){if("string"==typeof K)return null;let E=null;if(Array.isArray(K))K.forEach(D=>{if(hi(D)&&D.hasOwnProperty("offset")){const A=D;E=parseFloat(A.offset),delete A.offset}});else if(hi(K)&&K.hasOwnProperty("offset")){const D=K;E=parseFloat(D.offset),delete D.offset}return E}(Qn.styles),vn=0;return null!=si&&(_e++,vn=Qn.offset=si),nt=nt||vn<0||vn>1,Be=Be||vn<gt,gt=vn,Ne.push(vn),Qn});nt&&D.errors.push(function Y(){return new n.\u0275RuntimeError(3012,d)}()),Be&&D.errors.push(function X(){return new n.\u0275RuntimeError(3200,d)}());const zt=E.steps.length;let Jt=0;_e>0&&_e<zt?D.errors.push(function H(){return new n.\u0275RuntimeError(3202,d)}()):0==_e&&(Jt=1/(zt-1));const an=zt-1,Kt=D.currentTime,tn=D.currentAnimateTimings,En=tn.duration;return kt.forEach((Fn,Qn)=>{const si=Jt>0?Qn==an?1:Jt*Qn:Ne[Qn],vn=si*En;D.currentTime=Kt+tn.delay+vn,tn.duration=vn,this._validateStyleAst(Fn,D),Fn.offset=si,A.styles.push(Fn)}),A}visitReference(E,D){return{type:8,animation:hn(this,Ft(E.animation),D),options:Mn(E.options)}}visitAnimateChild(E,D){return D.depCount++,{type:9,options:Mn(E.options)}}visitAnimateRef(E,D){return{type:10,animation:this.visitReference(E.animation,D),options:Mn(E.options)}}visitQuery(E,D){const A=D.currentQuerySelector,ee=E.options||{};D.queryCount++,D.currentQuery=E;const[_e,Ne]=function Un(K){const E=!!K.split(/\s*,\s*/).find(D=>":self"==D);return E&&(K=K.replace(ln,"")),K=K.replace(/@\*/g,Ct).replace(/@\w+/g,D=>Ct+"-"+D.substr(1)).replace(/:animating/g,Mt),[K,E]}(E.selector);D.currentQuerySelector=A.length?A+" "+_e:_e,Me(D.collectedStyles,D.currentQuerySelector,{});const Be=hn(this,Ft(E.animation),D);return D.currentQuery=null,D.currentQuerySelector=A,{type:11,selector:_e,limit:ee.limit||0,optional:!!ee.optional,includeSelf:Ne,animation:Be,originalSelector:E.selector,options:Mn(E.options)}}visitStagger(E,D){D.currentQuery||D.errors.push(function oe(){return new n.\u0275RuntimeError(3013,d)}());const A="full"===E.timings?{duration:0,delay:0,easing:"full"}:q(E.timings,D.errors,!0);return{type:12,animation:hn(this,Ft(E.animation),D),timings:A,options:null}}}class mn{constructor(E){this.errors=E,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function hi(K){return!Array.isArray(K)&&"object"==typeof K}function Mn(K){return K?(K=W(K)).params&&(K.params=function Ln(K){return K?W(K):null}(K.params)):K={},K}function jn(K,E,D){return{duration:K,delay:E,easing:D}}function pi(K,E,D,A,ee,_e,Ne=null,Be=!1){return{type:1,element:K,keyframes:E,preStyleProps:D,postStyleProps:A,duration:ee,delay:_e,totalTime:ee+_e,easing:Ne,subTimeline:Be}}class ai{constructor(){this._map=new Map}get(E){return this._map.get(E)||[]}append(E,D){let A=this._map.get(E);A||this._map.set(E,A=[]),A.push(...D)}has(E){return this._map.has(E)}clear(){this._map.clear()}}const ki=new RegExp(":enter","g"),Wr=new RegExp(":leave","g");function Bn(K,E,D,A,ee,_e={},Ne={},Be,nt,gt=[]){return(new Fr).buildKeyframes(K,E,D,A,ee,_e,Ne,Be,nt,gt)}class Fr{buildKeyframes(E,D,A,ee,_e,Ne,Be,nt,gt,kt=[]){gt=gt||new ai;const zt=new ur(E,D,gt,ee,_e,kt,[]);zt.options=nt,zt.currentTimeline.setStyles([Ne],null,zt.errors,nt),hn(this,A,zt);const Jt=zt.timelines.filter(an=>an.containsAnimation());if(Object.keys(Be).length){let an;for(let Kt=Jt.length-1;Kt>=0;Kt--){const tn=Jt[Kt];if(tn.element===D){an=tn;break}}an&&!an.allowOnlyTimelineStyles()&&an.setStyles([Be],null,zt.errors,nt)}return Jt.length?Jt.map(an=>an.buildKeyframes()):[pi(D,[],[],[],0,0,"",!1)]}visitTrigger(E,D){}visitState(E,D){}visitTransition(E,D){}visitAnimateChild(E,D){const A=D.subInstructions.get(D.element);if(A){const ee=D.createSubContext(E.options),_e=D.currentTimeline.currentTime,Ne=this._visitSubInstructions(A,ee,ee.options);_e!=Ne&&D.transformIntoNewTimeline(Ne)}D.previousNode=E}visitAnimateRef(E,D){const A=D.createSubContext(E.options);A.transformIntoNewTimeline(),this.visitReference(E.animation,A),D.transformIntoNewTimeline(A.currentTimeline.currentTime),D.previousNode=E}_visitSubInstructions(E,D,A){let _e=D.currentTimeline.currentTime;const Ne=null!=A.duration?Ht(A.duration):null,Be=null!=A.delay?Ht(A.delay):null;return 0!==Ne&&E.forEach(nt=>{const gt=D.appendInstructionToTimeline(nt,Ne,Be);_e=Math.max(_e,gt.duration+gt.delay)}),_e}visitReference(E,D){D.updateOptions(E.options,!0),hn(this,E.animation,D),D.previousNode=E}visitSequence(E,D){const A=D.subContextCount;let ee=D;const _e=E.options;if(_e&&(_e.params||_e.delay)&&(ee=D.createSubContext(_e),ee.transformIntoNewTimeline(),null!=_e.delay)){6==ee.previousNode.type&&(ee.currentTimeline.snapshotCurrentStyles(),ee.previousNode=wi);const Ne=Ht(_e.delay);ee.delayNextStep(Ne)}E.steps.length&&(E.steps.forEach(Ne=>hn(this,Ne,ee)),ee.currentTimeline.applyStylesToKeyframe(),ee.subContextCount>A&&ee.transformIntoNewTimeline()),D.previousNode=E}visitGroup(E,D){const A=[];let ee=D.currentTimeline.currentTime;const _e=E.options&&E.options.delay?Ht(E.options.delay):0;E.steps.forEach(Ne=>{const Be=D.createSubContext(E.options);_e&&Be.delayNextStep(_e),hn(this,Ne,Be),ee=Math.max(ee,Be.currentTimeline.currentTime),A.push(Be.currentTimeline)}),A.forEach(Ne=>D.currentTimeline.mergeTimelineCollectedStyles(Ne)),D.transformIntoNewTimeline(ee),D.previousNode=E}_visitTiming(E,D){if(E.dynamic){const A=E.strValue;return q(D.params?ke(A,D.params,D.errors):A,D.errors)}return{duration:E.duration,delay:E.delay,easing:E.easing}}visitAnimate(E,D){const A=D.currentAnimateTimings=this._visitTiming(E.timings,D),ee=D.currentTimeline;A.delay&&(D.incrementTime(A.delay),ee.snapshotCurrentStyles());const _e=E.style;5==_e.type?this.visitKeyframes(_e,D):(D.incrementTime(A.duration),this.visitStyle(_e,D),ee.applyStylesToKeyframe()),D.currentAnimateTimings=null,D.previousNode=E}visitStyle(E,D){const A=D.currentTimeline,ee=D.currentAnimateTimings;!ee&&A.getCurrentStyleProperties().length&&A.forwardFrame();const _e=ee&&ee.easing||E.easing;E.isEmptyStep?A.applyEmptyStep(_e):A.setStyles(E.styles,_e,D.errors,D.options),D.previousNode=E}visitKeyframes(E,D){const A=D.currentAnimateTimings,ee=D.currentTimeline.duration,_e=A.duration,Be=D.createSubContext().currentTimeline;Be.easing=A.easing,E.styles.forEach(nt=>{Be.forwardTime((nt.offset||0)*_e),Be.setStyles(nt.styles,nt.easing,D.errors,D.options),Be.applyStylesToKeyframe()}),D.currentTimeline.mergeTimelineCollectedStyles(Be),D.transformIntoNewTimeline(ee+_e),D.previousNode=E}visitQuery(E,D){const A=D.currentTimeline.currentTime,ee=E.options||{},_e=ee.delay?Ht(ee.delay):0;_e&&(6===D.previousNode.type||0==A&&D.currentTimeline.getCurrentStyleProperties().length)&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=wi);let Ne=A;const Be=D.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!ee.optional,D.errors);D.currentQueryTotal=Be.length;let nt=null;Be.forEach((gt,kt)=>{D.currentQueryIndex=kt;const zt=D.createSubContext(E.options,gt);_e&&zt.delayNextStep(_e),gt===D.element&&(nt=zt.currentTimeline),hn(this,E.animation,zt),zt.currentTimeline.applyStylesToKeyframe(),Ne=Math.max(Ne,zt.currentTimeline.currentTime)}),D.currentQueryIndex=0,D.currentQueryTotal=0,D.transformIntoNewTimeline(Ne),nt&&(D.currentTimeline.mergeTimelineCollectedStyles(nt),D.currentTimeline.snapshotCurrentStyles()),D.previousNode=E}visitStagger(E,D){const A=D.parentContext,ee=D.currentTimeline,_e=E.timings,Ne=Math.abs(_e.duration),Be=Ne*(D.currentQueryTotal-1);let nt=Ne*D.currentQueryIndex;switch(_e.duration<0?"reverse":_e.easing){case"reverse":nt=Be-nt;break;case"full":nt=A.currentStaggerTime}const kt=D.currentTimeline;nt&&kt.delayNextStep(nt);const zt=kt.currentTime;hn(this,E.animation,D),D.previousNode=E,A.currentStaggerTime=ee.currentTime-zt+(ee.startTime-A.currentTimeline.startTime)}}const wi={};class ur{constructor(E,D,A,ee,_e,Ne,Be,nt){this._driver=E,this.element=D,this.subInstructions=A,this._enterClassName=ee,this._leaveClassName=_e,this.errors=Ne,this.timelines=Be,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=nt||new Mi(this._driver,D,0),Be.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,D){if(!E)return;const A=E;let ee=this.options;null!=A.duration&&(ee.duration=Ht(A.duration)),null!=A.delay&&(ee.delay=Ht(A.delay));const _e=A.params;if(_e){let Ne=ee.params;Ne||(Ne=this.options.params={}),Object.keys(_e).forEach(Be=>{(!D||!Ne.hasOwnProperty(Be))&&(Ne[Be]=ke(_e[Be],Ne,this.errors))})}}_copyOptions(){const E={};if(this.options){const D=this.options.params;if(D){const A=E.params={};Object.keys(D).forEach(ee=>{A[ee]=D[ee]})}}return E}createSubContext(E=null,D,A){const ee=D||this.element,_e=new ur(this._driver,ee,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ee,A||0));return _e.previousNode=this.previousNode,_e.currentAnimateTimings=this.currentAnimateTimings,_e.options=this._copyOptions(),_e.updateOptions(E),_e.currentQueryIndex=this.currentQueryIndex,_e.currentQueryTotal=this.currentQueryTotal,_e.parentContext=this,this.subContextCount++,_e}transformIntoNewTimeline(E){return this.previousNode=wi,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,D,A){const ee={duration:null!=D?D:E.duration,delay:this.currentTimeline.currentTime+(null!=A?A:0)+E.delay,easing:""},_e=new Zi(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,ee,E.stretchStartingKeyframe);return this.timelines.push(_e),ee}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,D,A,ee,_e,Ne){let Be=[];if(ee&&Be.push(this.element),E.length>0){E=(E=E.replace(ki,"."+this._enterClassName)).replace(Wr,"."+this._leaveClassName);let gt=this._driver.query(this.element,E,1!=A);0!==A&&(gt=A<0?gt.slice(gt.length+A,gt.length):gt.slice(0,A)),Be.push(...gt)}return!_e&&0==Be.length&&Ne.push(function le(K){return new n.\u0275RuntimeError(3014,d)}()),Be}}class Mi{constructor(E,D,A,ee){this._driver=E,this.element=D,this.startTime=A,this._elementTimelineStylesLookup=ee,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(D),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(D,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(E){const D=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||D?(this.forwardTime(this.currentTime+E),D&&this.snapshotCurrentStyles()):this.startTime+=E}fork(E,D){return this.applyStylesToKeyframe(),new Mi(this._driver,E,D||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(E){this.applyStylesToKeyframe(),this.duration=E,this._loadKeyframe()}_updateStyle(E,D){this._localTimelineStyles[E]=D,this._globalTimelineStyles[E]=D,this._styleSummary[E]={time:this.currentTime,value:D}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(E){E&&(this._previousKeyframe.easing=E),Object.keys(this._globalTimelineStyles).forEach(D=>{this._backFill[D]=this._globalTimelineStyles[D]||y.l3,this._currentKeyframe[D]=y.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(E,D,A,ee){D&&(this._previousKeyframe.easing=D);const _e=ee&&ee.params||{},Ne=function fr(K,E){const D={};let A;return K.forEach(ee=>{"*"===ee?(A=A||Object.keys(E),A.forEach(_e=>{D[_e]=y.l3})):U(ee,!1,D)}),D}(E,this._globalTimelineStyles);Object.keys(Ne).forEach(Be=>{const nt=ke(Ne[Be],_e,A);this._pendingStyles[Be]=nt,this._localTimelineStyles.hasOwnProperty(Be)||(this._backFill[Be]=this._globalTimelineStyles.hasOwnProperty(Be)?this._globalTimelineStyles[Be]:y.l3),this._updateStyle(Be,nt)})}applyStylesToKeyframe(){const E=this._pendingStyles,D=Object.keys(E);0!=D.length&&(this._pendingStyles={},D.forEach(A=>{this._currentKeyframe[A]=E[A]}),Object.keys(this._localTimelineStyles).forEach(A=>{this._currentKeyframe.hasOwnProperty(A)||(this._currentKeyframe[A]=this._localTimelineStyles[A])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(E=>{const D=this._localTimelineStyles[E];this._pendingStyles[E]=D,this._updateStyle(E,D)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const E=[];for(let D in this._currentKeyframe)E.push(D);return E}mergeTimelineCollectedStyles(E){Object.keys(E._styleSummary).forEach(D=>{const A=this._styleSummary[D],ee=E._styleSummary[D];(!A||ee.time>A.time)&&this._updateStyle(D,ee.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,D=new Set,A=1===this._keyframes.size&&0===this.duration;let ee=[];this._keyframes.forEach((Be,nt)=>{const gt=U(Be,!0);Object.keys(gt).forEach(kt=>{const zt=gt[kt];zt==y.k1?E.add(kt):zt==y.l3&&D.add(kt)}),A||(gt.offset=nt/this.duration),ee.push(gt)});const _e=E.size?ct(E.values()):[],Ne=D.size?ct(D.values()):[];if(A){const Be=ee[0],nt=W(Be);Be.offset=0,nt.offset=1,ee=[Be,nt]}return pi(this.element,ee,_e,Ne,this.duration,this.startTime,this.easing,!1)}}class Zi extends Mi{constructor(E,D,A,ee,_e,Ne,Be=!1){super(E,D,Ne.delay),this.keyframes=A,this.preStyleProps=ee,this.postStyleProps=_e,this._stretchStartingKeyframe=Be,this.timings={duration:Ne.duration,delay:Ne.delay,easing:Ne.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:D,duration:A,easing:ee}=this.timings;if(this._stretchStartingKeyframe&&D){const _e=[],Ne=A+D,Be=D/Ne,nt=U(E[0],!1);nt.offset=0,_e.push(nt);const gt=U(E[0],!1);gt.offset=dr(Be),_e.push(gt);const kt=E.length-1;for(let zt=1;zt<=kt;zt++){let Jt=U(E[zt],!1);Jt.offset=dr((D+Jt.offset*A)/Ne),_e.push(Jt)}A=Ne,D=0,ee="",E=_e}return pi(this.element,E,this.preStyleProps,this.postStyleProps,A,D,ee,!0)}}function dr(K,E=3){const D=Math.pow(10,E-1);return Math.round(K*D)/D}class _i{}class Ni extends _i{normalizePropertyName(E,D){return jt(E)}normalizeStyleValue(E,D,A,ee){let _e="";const Ne=A.toString().trim();if(Lr[D]&&0!==A&&"0"!==A)if("number"==typeof A)_e="px";else{const Be=A.match(/^[+-]?[\d\.]+([a-z]*)$/);Be&&0==Be[1].length&&ee.push(function v(K,E){return new n.\u0275RuntimeError(3005,d)}())}return Ne+_e}}const Lr=(()=>function Li(K){const E={};return K.forEach(D=>E[D]=!0),E}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Ji(K,E,D,A,ee,_e,Ne,Be,nt,gt,kt,zt,Jt){return{type:0,element:K,triggerName:E,isRemovalTransition:ee,fromState:D,fromStyles:_e,toState:A,toStyles:Ne,timelines:Be,queriedElements:nt,preStyleProps:gt,postStyleProps:kt,totalTime:zt,errors:Jt}}const Si={};class bi{constructor(E,D,A){this._triggerName=E,this.ast=D,this._stateStyles=A}match(E,D,A,ee){return function Mr(K,E,D,A,ee){return K.some(_e=>_e(E,D,A,ee))}(this.ast.matchers,E,D,A,ee)}buildStyles(E,D,A){const ee=this._stateStyles["*"],_e=this._stateStyles[E],Ne=ee?ee.buildStyles(D,A):{};return _e?_e.buildStyles(D,A):Ne}build(E,D,A,ee,_e,Ne,Be,nt,gt,kt){const zt=[],Jt=this.ast.options&&this.ast.options.params||Si,Kt=this.buildStyles(A,Be&&Be.params||Si,zt),tn=nt&&nt.params||Si,En=this.buildStyles(ee,tn,zt),Fn=new Set,Qn=new Map,si=new Map,vn="void"===ee,gi={params:Object.assign(Object.assign({},Jt),tn)},yn=kt?[]:Bn(E,D,this.ast.animation,_e,Ne,Kt,En,gi,gt,zt);let ri=0;if(yn.forEach(Ui=>{ri=Math.max(Ui.duration+Ui.delay,ri)}),zt.length)return Ji(D,this._triggerName,A,ee,vn,Kt,En,[],[],Qn,si,ri,zt);yn.forEach(Ui=>{const nr=Ui.element,xs=Me(Qn,nr,{});Ui.preStyleProps.forEach(zi=>xs[zi]=!0);const Yr=Me(si,nr,{});Ui.postStyleProps.forEach(zi=>Yr[zi]=!0),nr!==D&&Fn.add(nr)});const Hi=ct(Fn.values());return Ji(D,this._triggerName,A,ee,vn,Kt,En,yn,Hi,Qn,si,ri)}}class hr{constructor(E,D,A){this.styles=E,this.defaultParams=D,this.normalizer=A}buildStyles(E,D){const A={},ee=W(this.defaultParams);return Object.keys(E).forEach(_e=>{const Ne=E[_e];null!=Ne&&(ee[_e]=Ne)}),this.styles.styles.forEach(_e=>{if("string"!=typeof _e){const Ne=_e;Object.keys(Ne).forEach(Be=>{let nt=Ne[Be];nt.length>1&&(nt=ke(nt,ee,D));const gt=this.normalizer.normalizePropertyName(Be,D);nt=this.normalizer.normalizeStyleValue(Be,gt,nt,D),A[gt]=nt})}}),A}}class Zn{constructor(E,D,A){this.name=E,this.ast=D,this._normalizer=A,this.transitionFactories=[],this.states={},D.states.forEach(ee=>{this.states[ee.name]=new hr(ee.style,ee.options&&ee.options.params||{},A)}),Ci(this.states,"true","1"),Ci(this.states,"false","0"),D.transitions.forEach(ee=>{this.transitionFactories.push(new bi(E,ee,this.states))}),this.fallbackTransition=function ji(K,E,D){return new bi(K,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ne,Be)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,D,A,ee){return this.transitionFactories.find(Ne=>Ne.match(E,D,A,ee))||null}matchStyles(E,D,A){return this.fallbackTransition.buildStyles(E,D,A)}}function Ci(K,E,D){K.hasOwnProperty(E)?K.hasOwnProperty(D)||(K[D]=K[E]):K.hasOwnProperty(D)&&(K[E]=K[D])}const Oi=new ai;class pr{constructor(E,D,A){this.bodyNode=E,this._driver=D,this._normalizer=A,this._animations={},this._playersById={},this.players=[]}register(E,D){const A=[],_e=_n(this._driver,D,A,[]);if(A.length)throw function pe(K){return new n.\u0275RuntimeError(3503,d)}();this._animations[E]=_e}_buildPlayer(E,D,A){const ee=E.element,_e=ye(0,this._normalizer,0,E.keyframes,D,A);return this._driver.animate(ee,_e,E.duration,E.delay,E.easing,[],!0)}create(E,D,A={}){const ee=[],_e=this._animations[E];let Ne;const Be=new Map;if(_e?(Ne=Bn(this._driver,D,_e,We,lt,{},{},A,Oi,ee),Ne.forEach(kt=>{const zt=Me(Be,kt.element,{});kt.postStyleProps.forEach(Jt=>zt[Jt]=null)})):(ee.push(function ce(){return new n.\u0275RuntimeError(3300,d)}()),Ne=[]),ee.length)throw function Oe(K){return new n.\u0275RuntimeError(3504,d)}();Be.forEach((kt,zt)=>{Object.keys(kt).forEach(Jt=>{kt[Jt]=this._driver.computeStyle(zt,Jt,y.l3)})});const gt=ft(Ne.map(kt=>{const zt=Be.get(kt.element);return this._buildPlayer(kt,{},zt)}));return this._playersById[E]=gt,gt.onDestroy(()=>this.destroy(E)),this.players.push(gt),gt}destroy(E){const D=this._getPlayer(E);D.destroy(),delete this._playersById[E];const A=this.players.indexOf(D);A>=0&&this.players.splice(A,1)}_getPlayer(E){const D=this._playersById[E];if(!D)throw function it(K){return new n.\u0275RuntimeError(3301,d)}();return D}listen(E,D,A,ee){const _e=ne(D,"","","");return Se(this._getPlayer(E),A,_e,ee),()=>{}}command(E,D,A,ee){if("register"==A)return void this.register(E,ee[0]);if("create"==A)return void this.create(E,D,ee[0]||{});const _e=this._getPlayer(E);switch(A){case"play":_e.play();break;case"pause":_e.pause();break;case"reset":_e.reset();break;case"restart":_e.restart();break;case"finish":_e.finish();break;case"init":_e.init();break;case"setPosition":_e.setPosition(parseFloat(ee[0]));break;case"destroy":this.destroy(E)}}}const jr="ng-animate-queued",Ei="ng-animate-disabled",Pn=[],Vi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},er={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vn="__ng_removed";class Pi{constructor(E,D=""){this.namespaceId=D;const A=E&&E.hasOwnProperty("value");if(this.value=function F(K){return null!=K?K:null}(A?E.value:E),A){const _e=W(E);delete _e.value,this.options=_e}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(E){const D=E.params;if(D){const A=this.options.params;Object.keys(D).forEach(ee=>{null==A[ee]&&(A[ee]=D[ee])})}}}const ti="void",ni=new Pi(ti);class zn{constructor(E,D,A){this.id=E,this.hostElement=D,this._engine=A,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+E,yt(D,this._hostClassName)}listen(E,D,A,ee){if(!this._triggers.hasOwnProperty(D))throw function vt(K,E){return new n.\u0275RuntimeError(3302,d)}();if(null==A||0==A.length)throw function Ge(K){return new n.\u0275RuntimeError(3303,d)}();if(!function x(K){return"start"==K||"done"==K}(A))throw function pt(K,E){return new n.\u0275RuntimeError(3400,d)}();const _e=Me(this._elementListeners,E,[]),Ne={name:D,phase:A,callback:ee};_e.push(Ne);const Be=Me(this._engine.statesByElement,E,{});return Be.hasOwnProperty(D)||(yt(E,Tt),yt(E,Tt+"-"+D),Be[D]=ni),()=>{this._engine.afterFlush(()=>{const nt=_e.indexOf(Ne);nt>=0&&_e.splice(nt,1),this._triggers[D]||delete Be[D]})}}register(E,D){return!this._triggers[E]&&(this._triggers[E]=D,!0)}_getTrigger(E){const D=this._triggers[E];if(!D)throw function qe(K){return new n.\u0275RuntimeError(3401,d)}();return D}trigger(E,D,A,ee=!0){const _e=this._getTrigger(D),Ne=new Br(this.id,D,E);let Be=this._engine.statesByElement.get(E);Be||(yt(E,Tt),yt(E,Tt+"-"+D),this._engine.statesByElement.set(E,Be={}));let nt=Be[D];const gt=new Pi(A,this.id);if(!(A&&A.hasOwnProperty("value"))&&nt&>.absorbOptions(nt.options),Be[D]=gt,nt||(nt=ni),gt.value!==ti&&nt.value===gt.value){if(!function sn(K,E){const D=Object.keys(K),A=Object.keys(E);if(D.length!=A.length)return!1;for(let ee=0;ee<D.length;ee++){const _e=D[ee];if(!E.hasOwnProperty(_e)||K[_e]!==E[_e])return!1}return!0}(nt.params,gt.params)){const tn=[],En=_e.matchStyles(nt.value,nt.params,tn),Fn=_e.matchStyles(gt.value,gt.params,tn);tn.length?this._engine.reportError(tn):this._engine.afterFlush(()=>{dt(E,En),je(E,Fn)})}return}const Jt=Me(this._engine.playersByElement,E,[]);Jt.forEach(tn=>{tn.namespaceId==this.id&&tn.triggerName==D&&tn.queued&&tn.destroy()});let an=_e.matchTransition(nt.value,gt.value,E,gt.params),Kt=!1;if(!an){if(!ee)return;an=_e.fallbackTransition,Kt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:D,transition:an,fromState:nt,toState:gt,player:Ne,isFallbackTransition:Kt}),Kt||(yt(E,jr),Ne.onStart(()=>{Lt(E,jr)})),Ne.onDone(()=>{let tn=this.players.indexOf(Ne);tn>=0&&this.players.splice(tn,1);const En=this._engine.playersByElement.get(E);if(En){let Fn=En.indexOf(Ne);Fn>=0&&En.splice(Fn,1)}}),this.players.push(Ne),Jt.push(Ne),Ne}deregister(E){delete this._triggers[E],this._engine.statesByElement.forEach((D,A)=>{delete D[E]}),this._elementListeners.forEach((D,A)=>{this._elementListeners.set(A,D.filter(ee=>ee.name!=E))})}clearElementCache(E){this._engine.statesByElement.delete(E),this._elementListeners.delete(E);const D=this._engine.playersByElement.get(E);D&&(D.forEach(A=>A.destroy()),this._engine.playersByElement.delete(E))}_signalRemovalForInnerTriggers(E,D){const A=this._engine.driver.query(E,Ct,!0);A.forEach(ee=>{if(ee[Vn])return;const _e=this._engine.fetchNamespacesByElement(ee);_e.size?_e.forEach(Ne=>Ne.triggerLeaveAnimation(ee,D,!1,!0)):this.clearElementCache(ee)}),this._engine.afterFlushAnimationsDone(()=>A.forEach(ee=>this.clearElementCache(ee)))}triggerLeaveAnimation(E,D,A,ee){const _e=this._engine.statesByElement.get(E),Ne=new Map;if(_e){const Be=[];if(Object.keys(_e).forEach(nt=>{if(Ne.set(nt,_e[nt].value),this._triggers[nt]){const gt=this.trigger(E,nt,ti,ee);gt&&Be.push(gt)}}),Be.length)return this._engine.markElementAsRemoved(this.id,E,!0,D,Ne),A&&ft(Be).onDone(()=>this._engine.processLeaveNode(E)),!0}return!1}prepareLeaveAnimationListeners(E){const D=this._elementListeners.get(E),A=this._engine.statesByElement.get(E);if(D&&A){const ee=new Set;D.forEach(_e=>{const Ne=_e.name;if(ee.has(Ne))return;ee.add(Ne);const nt=this._triggers[Ne].fallbackTransition,gt=A[Ne]||ni,kt=new Pi(ti),zt=new Br(this.id,Ne,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:Ne,transition:nt,fromState:gt,toState:kt,player:zt,isFallbackTransition:!0})})}}removeNode(E,D){const A=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,D),this.triggerLeaveAnimation(E,D,!0))return;let ee=!1;if(A.totalAnimations){const _e=A.players.length?A.playersByQueriedElement.get(E):[];if(_e&&_e.length)ee=!0;else{let Ne=E;for(;Ne=Ne.parentNode;)if(A.statesByElement.get(Ne)){ee=!0;break}}}if(this.prepareLeaveAnimationListeners(E),ee)A.markElementAsRemoved(this.id,E,!1,D);else{const _e=E[Vn];(!_e||_e===Vi)&&(A.afterFlush(()=>this.clearElementCache(E)),A.destroyInnerAnimations(E),A._onRemovalComplete(E,D))}}insertNode(E,D){yt(E,this._hostClassName)}drainQueuedTransitions(E){const D=[];return this._queue.forEach(A=>{const ee=A.player;if(ee.destroyed)return;const _e=A.element,Ne=this._elementListeners.get(_e);Ne&&Ne.forEach(Be=>{if(Be.name==A.triggerName){const nt=ne(_e,A.triggerName,A.fromState.value,A.toState.value);nt._data=E,Se(A.player,Be.phase,nt,Be.callback)}}),ee.markedForDestroy?this._engine.afterFlush(()=>{ee.destroy()}):D.push(A)}),this._queue=[],D.sort((A,ee)=>{const _e=A.transition.ast.depCount,Ne=ee.transition.ast.depCount;return 0==_e||0==Ne?_e-Ne:this._engine.driver.containsElement(A.element,ee.element)?1:-1})}destroy(E){this.players.forEach(D=>D.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,E)}elementContainsData(E){let D=!1;return this._elementListeners.has(E)&&(D=!0),D=!!this._queue.find(A=>A.element===E)||D,D}}class Jn{constructor(E,D,A){this.bodyNode=E,this.driver=D,this._normalizer=A,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(ee,_e)=>{}}_onRemovalComplete(E,D){this.onRemovalComplete(E,D)}get queuedPlayers(){const E=[];return this._namespaceList.forEach(D=>{D.players.forEach(A=>{A.queued&&E.push(A)})}),E}createNamespace(E,D){const A=new zn(E,D,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,D)?this._balanceNamespaceList(A,D):(this.newHostElements.set(D,A),this.collectEnterElement(D)),this._namespaceLookup[E]=A}_balanceNamespaceList(E,D){const A=this._namespaceList,ee=this.namespacesByHostElement,_e=A.length-1;if(_e>=0){let Ne=!1;if(void 0!==this.driver.getParentElement){let Be=this.driver.getParentElement(D);for(;Be;){const nt=ee.get(Be);if(nt){const gt=A.indexOf(nt);A.splice(gt+1,0,E),Ne=!0;break}Be=this.driver.getParentElement(Be)}}else for(let Be=_e;Be>=0;Be--)if(this.driver.containsElement(A[Be].hostElement,D)){A.splice(Be+1,0,E),Ne=!0;break}Ne||A.unshift(E)}else A.push(E);return ee.set(D,E),E}register(E,D){let A=this._namespaceLookup[E];return A||(A=this.createNamespace(E,D)),A}registerTrigger(E,D,A){let ee=this._namespaceLookup[E];ee&&ee.register(D,A)&&this.totalAnimations++}destroy(E,D){if(!E)return;const A=this._fetchNamespace(E);this.afterFlush(()=>{this.namespacesByHostElement.delete(A.hostElement),delete this._namespaceLookup[E];const ee=this._namespaceList.indexOf(A);ee>=0&&this._namespaceList.splice(ee,1)}),this.afterFlushAnimationsDone(()=>A.destroy(D))}_fetchNamespace(E){return this._namespaceLookup[E]}fetchNamespacesByElement(E){const D=new Set,A=this.statesByElement.get(E);if(A){const ee=Object.keys(A);for(let _e=0;_e<ee.length;_e++){const Ne=A[ee[_e]].namespaceId;if(Ne){const Be=this._fetchNamespace(Ne);Be&&D.add(Be)}}}return D}trigger(E,D,A,ee){if(re(D)){const _e=this._fetchNamespace(E);if(_e)return _e.trigger(D,A,ee),!0}return!1}insertNode(E,D,A,ee){if(!re(D))return;const _e=D[Vn];if(_e&&_e.setForRemoval){_e.setForRemoval=!1,_e.setForMove=!0;const Ne=this.collectedLeaveElements.indexOf(D);Ne>=0&&this.collectedLeaveElements.splice(Ne,1)}if(E){const Ne=this._fetchNamespace(E);Ne&&Ne.insertNode(D,A)}ee&&this.collectEnterElement(D)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,D){D?this.disabledNodes.has(E)||(this.disabledNodes.add(E),yt(E,Ei)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),Lt(E,Ei))}removeNode(E,D,A,ee){if(re(D)){const _e=E?this._fetchNamespace(E):null;if(_e?_e.removeNode(D,ee):this.markElementAsRemoved(E,D,!1,ee),A){const Ne=this.namespacesByHostElement.get(D);Ne&&Ne.id!==E&&Ne.removeNode(D,ee)}}else this._onRemovalComplete(D,ee)}markElementAsRemoved(E,D,A,ee,_e){this.collectedLeaveElements.push(D),D[Vn]={namespaceId:E,setForRemoval:ee,hasAnimation:A,removedBeforeQueried:!1,previousTriggersValues:_e}}listen(E,D,A,ee,_e){return re(D)?this._fetchNamespace(E).listen(D,A,ee,_e):()=>{}}_buildInstruction(E,D,A,ee,_e){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,A,ee,E.fromState.options,E.toState.options,D,_e)}destroyInnerAnimations(E){let D=this.driver.query(E,Ct,!0);D.forEach(A=>this.destroyActiveAnimationsForElement(A)),0!=this.playersByQueriedElement.size&&(D=this.driver.query(E,Mt,!0),D.forEach(A=>this.finishActiveQueriedAnimationOnElement(A)))}destroyActiveAnimationsForElement(E){const D=this.playersByElement.get(E);D&&D.forEach(A=>{A.queued?A.markedForDestroy=!0:A.destroy()})}finishActiveQueriedAnimationOnElement(E){const D=this.playersByQueriedElement.get(E);D&&D.forEach(A=>A.finish())}whenRenderingDone(){return new Promise(E=>{if(this.players.length)return ft(this.players).onDone(()=>E());E()})}processLeaveNode(E){var D;const A=E[Vn];if(A&&A.setForRemoval){if(E[Vn]=Vi,A.namespaceId){this.destroyInnerAnimations(E);const ee=this._fetchNamespace(A.namespaceId);ee&&ee.clearElementCache(E)}this._onRemovalComplete(E,A.setForRemoval)}(null===(D=E.classList)||void 0===D?void 0:D.contains(Ei))&&this.markElementAsDisabled(E,!1),this.driver.query(E,".ng-animate-disabled",!0).forEach(ee=>{this.markElementAsDisabled(ee,!1)})}flush(E=-1){let D=[];if(this.newHostElements.size&&(this.newHostElements.forEach((A,ee)=>this._balanceNamespaceList(A,ee)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let A=0;A<this.collectedEnterElements.length;A++)yt(this.collectedEnterElements[A],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const A=[];try{D=this._flushAnimations(A,E)}finally{for(let ee=0;ee<A.length;ee++)A[ee]()}}else for(let A=0;A<this.collectedLeaveElements.length;A++)this.processLeaveNode(this.collectedLeaveElements[A]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(A=>A()),this._flushFns=[],this._whenQuietFns.length){const A=this._whenQuietFns;this._whenQuietFns=[],D.length?ft(D).onDone(()=>{A.forEach(ee=>ee())}):A.forEach(ee=>ee())}}reportError(E){throw function at(K){return new n.\u0275RuntimeError(3402,d)}()}_flushAnimations(E,D){const A=new ai,ee=[],_e=new Map,Ne=[],Be=new Map,nt=new Map,gt=new Map,kt=new Set;this.disabledNodes.forEach(Bt=>{kt.add(Bt);const Wt=this.driver.query(Bt,".ng-animate-queued",!0);for(let Zt=0;Zt<Wt.length;Zt++)kt.add(Wt[Zt])});const zt=this.bodyNode,Jt=Array.from(this.statesByElement.keys()),an=ut(Jt,this.collectedEnterElements),Kt=new Map;let tn=0;an.forEach((Bt,Wt)=>{const Zt=We+tn++;Kt.set(Wt,Zt),Bt.forEach(on=>yt(on,Zt))});const En=[],Fn=new Set,Qn=new Set;for(let Bt=0;Bt<this.collectedLeaveElements.length;Bt++){const Wt=this.collectedLeaveElements[Bt],Zt=Wt[Vn];Zt&&Zt.setForRemoval&&(En.push(Wt),Fn.add(Wt),Zt.hasAnimation?this.driver.query(Wt,".ng-star-inserted",!0).forEach(on=>Fn.add(on)):Qn.add(Wt))}const si=new Map,vn=ut(Jt,Array.from(Fn));vn.forEach((Bt,Wt)=>{const Zt=lt+tn++;si.set(Wt,Zt),Bt.forEach(on=>yt(on,Zt))}),E.push(()=>{an.forEach((Bt,Wt)=>{const Zt=Kt.get(Wt);Bt.forEach(on=>Lt(on,Zt))}),vn.forEach((Bt,Wt)=>{const Zt=si.get(Wt);Bt.forEach(on=>Lt(on,Zt))}),En.forEach(Bt=>{this.processLeaveNode(Bt)})});const gi=[],yn=[];for(let Bt=this._namespaceList.length-1;Bt>=0;Bt--)this._namespaceList[Bt].drainQueuedTransitions(D).forEach(Zt=>{const on=Zt.player,kn=Zt.element;if(gi.push(on),this.collectedEnterElements.length){const ci=kn[Vn];if(ci&&ci.setForMove){if(ci.previousTriggersValues&&ci.previousTriggersValues.has(Zt.triggerName)){const Vr=ci.previousTriggersValues.get(Zt.triggerName),Ai=this.statesByElement.get(Zt.element);Ai&&Ai[Zt.triggerName]&&(Ai[Zt.triggerName].value=Vr)}return void on.destroy()}}const Wi=!zt||!this.driver.containsElement(zt,kn),vi=si.get(kn),Ti=Kt.get(kn),In=this._buildInstruction(Zt,A,Ti,vi,Wi);if(In.errors&&In.errors.length)return void yn.push(In);if(Wi)return on.onStart(()=>dt(kn,In.fromStyles)),on.onDestroy(()=>je(kn,In.toStyles)),void ee.push(on);if(Zt.isFallbackTransition)return on.onStart(()=>dt(kn,In.fromStyles)),on.onDestroy(()=>je(kn,In.toStyles)),void ee.push(on);const Fs=[];In.timelines.forEach(ci=>{ci.stretchStartingKeyframe=!0,this.disabledNodes.has(ci.element)||Fs.push(ci)}),In.timelines=Fs,A.append(kn,In.timelines),Ne.push({instruction:In,player:on,element:kn}),In.queriedElements.forEach(ci=>Me(Be,ci,[]).push(on)),In.preStyleProps.forEach((ci,Vr)=>{const Ai=Object.keys(ci);if(Ai.length){let mr=nt.get(Vr);mr||nt.set(Vr,mr=new Set),Ai.forEach(Xr=>mr.add(Xr))}}),In.postStyleProps.forEach((ci,Vr)=>{const Ai=Object.keys(ci);let mr=gt.get(Vr);mr||gt.set(Vr,mr=new Set),Ai.forEach(Xr=>mr.add(Xr))})});if(yn.length){const Bt=[];yn.forEach(Wt=>{Bt.push(function tt(K,E){return new n.\u0275RuntimeError(3505,d)}())}),gi.forEach(Wt=>Wt.destroy()),this.reportError(Bt)}const ri=new Map,Hi=new Map;Ne.forEach(Bt=>{const Wt=Bt.element;A.has(Wt)&&(Hi.set(Wt,Wt),this._beforeAnimationBuild(Bt.player.namespaceId,Bt.instruction,ri))}),ee.forEach(Bt=>{const Wt=Bt.element;this._getPreviousPlayers(Wt,!1,Bt.namespaceId,Bt.triggerName,null).forEach(on=>{Me(ri,Wt,[]).push(on),on.destroy()})});const Ui=En.filter(Bt=>xn(Bt,nt,gt)),nr=new Map;He(nr,this.driver,Qn,gt,y.l3).forEach(Bt=>{xn(Bt,nt,gt)&&Ui.push(Bt)});const Yr=new Map;an.forEach((Bt,Wt)=>{He(Yr,this.driver,new Set(Bt),nt,y.k1)}),Ui.forEach(Bt=>{const Wt=nr.get(Bt),Zt=Yr.get(Bt);nr.set(Bt,Object.assign(Object.assign({},Wt),Zt))});const zi=[],Zr=[],Jr={};Ne.forEach(Bt=>{const{element:Wt,player:Zt,instruction:on}=Bt;if(A.has(Wt)){if(kt.has(Wt))return Zt.onDestroy(()=>je(Wt,on.toStyles)),Zt.disabled=!0,Zt.overrideTotalTime(on.totalTime),void ee.push(Zt);let kn=Jr;if(Hi.size>1){let vi=Wt;const Ti=[];for(;vi=vi.parentNode;){const In=Hi.get(vi);if(In){kn=In;break}Ti.push(vi)}Ti.forEach(In=>Hi.set(In,kn))}const Wi=this._buildAnimation(Zt.namespaceId,on,ri,_e,Yr,nr);if(Zt.setRealPlayer(Wi),kn===Jr)zi.push(Zt);else{const vi=this.playersByElement.get(kn);vi&&vi.length&&(Zt.parentPlayer=ft(vi)),ee.push(Zt)}}else dt(Wt,on.fromStyles),Zt.onDestroy(()=>je(Wt,on.toStyles)),Zr.push(Zt),kt.has(Wt)&&ee.push(Zt)}),Zr.forEach(Bt=>{const Wt=_e.get(Bt.element);if(Wt&&Wt.length){const Zt=ft(Wt);Bt.setRealPlayer(Zt)}}),ee.forEach(Bt=>{Bt.parentPlayer?Bt.syncPlayerEvents(Bt.parentPlayer):Bt.destroy()});for(let Bt=0;Bt<En.length;Bt++){const Wt=En[Bt],Zt=Wt[Vn];if(Lt(Wt,lt),Zt&&Zt.hasAnimation)continue;let on=[];if(Be.size){let Wi=Be.get(Wt);Wi&&Wi.length&&on.push(...Wi);let vi=this.driver.query(Wt,Mt,!0);for(let Ti=0;Ti<vi.length;Ti++){let In=Be.get(vi[Ti]);In&&In.length&&on.push(...In)}}const kn=on.filter(Wi=>!Wi.destroyed);kn.length?Cn(this,Wt,kn):this.processLeaveNode(Wt)}return En.length=0,zi.forEach(Bt=>{this.players.push(Bt),Bt.onDone(()=>{Bt.destroy();const Wt=this.players.indexOf(Bt);this.players.splice(Wt,1)}),Bt.play()}),zi}elementContainsData(E,D){let A=!1;const ee=D[Vn];return ee&&ee.setForRemoval&&(A=!0),this.playersByElement.has(D)&&(A=!0),this.playersByQueriedElement.has(D)&&(A=!0),this.statesByElement.has(D)&&(A=!0),this._fetchNamespace(E).elementContainsData(D)||A}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,D,A,ee,_e){let Ne=[];if(D){const Be=this.playersByQueriedElement.get(E);Be&&(Ne=Be)}else{const Be=this.playersByElement.get(E);if(Be){const nt=!_e||_e==ti;Be.forEach(gt=>{gt.queued||!nt&>.triggerName!=ee||Ne.push(gt)})}}return(A||ee)&&(Ne=Ne.filter(Be=>!(A&&A!=Be.namespaceId||ee&&ee!=Be.triggerName))),Ne}_beforeAnimationBuild(E,D,A){const _e=D.element,Ne=D.isRemovalTransition?void 0:E,Be=D.isRemovalTransition?void 0:D.triggerName;for(const nt of D.timelines){const gt=nt.element,kt=gt!==_e,zt=Me(A,gt,[]);this._getPreviousPlayers(gt,kt,Ne,Be,D.toState).forEach(an=>{const Kt=an.getRealPlayer();Kt.beforeDestroy&&Kt.beforeDestroy(),an.destroy(),zt.push(an)})}dt(_e,D.fromStyles)}_buildAnimation(E,D,A,ee,_e,Ne){const Be=D.triggerName,nt=D.element,gt=[],kt=new Set,zt=new Set,Jt=D.timelines.map(Kt=>{const tn=Kt.element;kt.add(tn);const En=tn[Vn];if(En&&En.removedBeforeQueried)return new y.ZN(Kt.duration,Kt.delay);const Fn=tn!==nt,Qn=function cn(K){const E=[];return rn(K,E),E}((A.get(tn)||Pn).map(ri=>ri.getRealPlayer())).filter(ri=>!!ri.element&&ri.element===tn),si=_e.get(tn),vn=Ne.get(tn),gi=ye(0,this._normalizer,0,Kt.keyframes,si,vn),yn=this._buildPlayer(Kt,gi,Qn);if(Kt.subTimeline&&ee&&zt.add(tn),Fn){const ri=new Br(E,Be,tn);ri.setRealPlayer(yn),gt.push(ri)}return yn});gt.forEach(Kt=>{Me(this.playersByQueriedElement,Kt.element,[]).push(Kt),Kt.onDone(()=>function Tn(K,E,D){let A;if(K instanceof Map){if(A=K.get(E),A){if(A.length){const ee=A.indexOf(D);A.splice(ee,1)}0==A.length&&K.delete(E)}}else if(A=K[E],A){if(A.length){const ee=A.indexOf(D);A.splice(ee,1)}0==A.length&&delete K[E]}return A}(this.playersByQueriedElement,Kt.element,Kt))}),kt.forEach(Kt=>yt(Kt,$t));const an=ft(Jt);return an.onDestroy(()=>{kt.forEach(Kt=>Lt(Kt,$t)),je(nt,D.toStyles)}),zt.forEach(Kt=>{Me(ee,Kt,[]).push(an)}),an}_buildPlayer(E,D,A){return D.length>0?this.driver.animate(E.element,D,E.duration,E.delay,E.easing,A):new y.ZN(E.duration,E.delay)}}class Br{constructor(E,D,A){this.namespaceId=E,this.triggerName=D,this.element=A,this._player=new y.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(E){this._containsRealPlayer||(this._player=E,Object.keys(this._queuedCallbacks).forEach(D=>{this._queuedCallbacks[D].forEach(A=>Se(E,D,void 0,A))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(E.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(E){this.totalTime=E}syncPlayerEvents(E){const D=this._player;D.triggerCallback&&E.onStart(()=>D.triggerCallback("start")),E.onDone(()=>this.finish()),E.onDestroy(()=>this.destroy())}_queueEvent(E,D){Me(this._queuedCallbacks,E,[]).push(D)}onDone(E){this.queued&&this._queueEvent("done",E),this._player.onDone(E)}onStart(E){this.queued&&this._queueEvent("start",E),this._player.onStart(E)}onDestroy(E){this.queued&&this._queueEvent("destroy",E),this._player.onDestroy(E)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(E){this.queued||this._player.setPosition(E)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(E){const D=this._player;D.triggerCallback&&D.triggerCallback(E)}}function re(K){return K&&1===K.nodeType}function he(K,E){const D=K.style.display;return K.style.display=null!=E?E:"none",D}function He(K,E,D,A,ee){const _e=[];D.forEach(nt=>_e.push(he(nt)));const Ne=[];A.forEach((nt,gt)=>{const kt={};nt.forEach(zt=>{const Jt=kt[zt]=E.computeStyle(gt,zt,ee);(!Jt||0==Jt.length)&&(gt[Vn]=er,Ne.push(gt))}),K.set(gt,kt)});let Be=0;return D.forEach(nt=>he(nt,_e[Be++])),Ne}function ut(K,E){const D=new Map;if(K.forEach(Be=>D.set(Be,[])),0==E.length)return D;const ee=new Set(E),_e=new Map;function Ne(Be){if(!Be)return 1;let nt=_e.get(Be);if(nt)return nt;const gt=Be.parentNode;return nt=D.has(gt)?gt:ee.has(gt)?1:Ne(gt),_e.set(Be,nt),nt}return E.forEach(Be=>{const nt=Ne(Be);1!==nt&&D.get(nt).push(Be)}),D}function yt(K,E){var D;null===(D=K.classList)||void 0===D||D.add(E)}function Lt(K,E){var D;null===(D=K.classList)||void 0===D||D.remove(E)}function Cn(K,E,D){ft(D).onDone(()=>K.processLeaveNode(E))}function rn(K,E){for(let D=0;D<K.length;D++){const A=K[D];A instanceof y.ZE?rn(A.players,E):E.push(A)}}function xn(K,E,D){const A=D.get(K);if(!A)return!1;let ee=E.get(K);return ee?A.forEach(_e=>ee.add(_e)):E.set(K,A),D.delete(K),!0}class bn{constructor(E,D,A){this.bodyNode=E,this._driver=D,this._normalizer=A,this._triggerCache={},this.onRemovalComplete=(ee,_e)=>{},this._transitionEngine=new Jn(E,D,A),this._timelineEngine=new pr(E,D,A),this._transitionEngine.onRemovalComplete=(ee,_e)=>this.onRemovalComplete(ee,_e)}registerTrigger(E,D,A,ee,_e){const Ne=E+"-"+ee;let Be=this._triggerCache[Ne];if(!Be){const nt=[],kt=_n(this._driver,_e,nt,[]);if(nt.length)throw function de(K,E){return new n.\u0275RuntimeError(3404,d)}();Be=function Sr(K,E,D){return new Zn(K,E,D)}(ee,kt,this._normalizer),this._triggerCache[Ne]=Be}this._transitionEngine.registerTrigger(D,ee,Be)}register(E,D){this._transitionEngine.register(E,D)}destroy(E,D){this._transitionEngine.destroy(E,D)}onInsert(E,D,A,ee){this._transitionEngine.insertNode(E,D,A,ee)}onRemove(E,D,A,ee){this._transitionEngine.removeNode(E,D,ee||!1,A)}disableAnimations(E,D){this._transitionEngine.markElementAsDisabled(E,D)}process(E,D,A,ee){if("@"==A.charAt(0)){const[_e,Ne]=ze(A);this._timelineEngine.command(_e,D,Ne,ee)}else this._transitionEngine.trigger(E,D,A,ee)}listen(E,D,A,ee,_e){if("@"==A.charAt(0)){const[Ne,Be]=ze(A);return this._timelineEngine.listen(Ne,D,Be,_e)}return this._transitionEngine.listen(E,D,A,ee,_e)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let B=(()=>{class K{constructor(D,A,ee){this._element=D,this._startStyles=A,this._endStyles=ee,this._state=0;let _e=K.initialStylesByElement.get(D);_e||K.initialStylesByElement.set(D,_e={}),this._initialStyles=_e}start(){this._state<1&&(this._startStyles&&je(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(je(this._element,this._initialStyles),this._endStyles&&(je(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(K.initialStylesByElement.delete(this._element),this._startStyles&&(dt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(dt(this._element,this._endStyles),this._endStyles=null),je(this._element,this._initialStyles),this._state=3)}}return K.initialStylesByElement=new WeakMap,K})();function R(K){let E=null;const D=Object.keys(K);for(let A=0;A<D.length;A++){const ee=D[A];M(ee)&&(E=E||{},E[ee]=K[ee])}return E}function M(K){return"display"===K||"position"===K}class se{constructor(E,D,A,ee){this.element=E,this.keyframes=D,this.options=A,this._specialStyles=ee,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=A.duration,this._delay=A.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(E=>E()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const E=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,E,this.options),this._finalKeyframe=E.length?E[E.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(E,D,A){return E.animate(D,A)}onStart(E){this._onStartFns.push(E)}onDone(E){this._onDoneFns.push(E)}onDestroy(E){this._onDestroyFns.push(E)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(E=>E()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(E=>E()),this._onDestroyFns=[])}setPosition(E){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=E*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const E={};if(this.hasStarted()){const D=this._finalKeyframe;Object.keys(D).forEach(A=>{"offset"!=A&&(E[A]=this._finished?D[A]:An(this.element,A))})}this.currentSnapshot=E}triggerCallback(E){const D="start"==E?this._onStartFns:this._onDoneFns;D.forEach(A=>A()),D.length=0}}class ht{validateStyleProperty(E){return Et(E)}matchesElement(E,D){return!1}containsElement(E,D){return Ue(E,D)}getParentElement(E){return ve(E)}query(E,D,A){return Te(E,D,A)}computeStyle(E,D,A){return window.getComputedStyle(E)[D]}animate(E,D,A,ee,_e,Ne=[]){const nt={duration:A,delay:ee,fill:0==ee?"both":"forwards"};_e&&(nt.easing=_e);const gt={},kt=Ne.filter(Jt=>Jt instanceof se);(function gn(K,E){return 0===K||0===E})(A,ee)&&kt.forEach(Jt=>{let an=Jt.currentSnapshot;Object.keys(an).forEach(Kt=>gt[Kt]=an[Kt])}),D=function Nn(K,E,D){const A=Object.keys(D);if(A.length&&E.length){let _e=E[0],Ne=[];if(A.forEach(Be=>{_e.hasOwnProperty(Be)||Ne.push(Be),_e[Be]=D[Be]}),Ne.length)for(var ee=1;ee<E.length;ee++){let Be=E[ee];Ne.forEach(function(nt){Be[nt]=An(K,nt)})}}return E}(E,D=D.map(Jt=>U(Jt,!1)),gt);const zt=function On(K,E){let D=null,A=null;return Array.isArray(E)&&E.length?(D=R(E[0]),E.length>1&&(A=R(E[E.length-1]))):E&&(D=R(E)),D||A?new B(K,D,A):null}(E,D);return new se(E,D,nt,zt)}}var Nt=a(9808);let Sn=(()=>{class K extends y._j{constructor(D,A){super(),this._nextAnimationId=0,this._renderer=D.createRenderer(A.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(D){const A=this._nextAnimationId.toString();this._nextAnimationId++;const ee=Array.isArray(D)?(0,y.vP)(D):D;return Ir(this._renderer,null,A,"register",[ee]),new li(A,this._renderer)}}return K.\u0275fac=function(D){return new(D||K)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Nt.DOCUMENT))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();class li extends y.LC{constructor(E,D){super(),this._id=E,this._renderer=D}create(E,D){return new Or(this._id,E,D||{},this._renderer)}}class Or{constructor(E,D,A,ee){this.id=E,this.element=D,this._renderer=ee,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",A)}_listen(E,D){return this._renderer.listen(this.element,`@@${this.id}:${E}`,D)}_command(E,...D){return Ir(this._renderer,this.element,this.id,E,D)}onDone(E){this._listen("done",E)}onStart(E){this._listen("start",E)}onDestroy(E){this._listen("destroy",E)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(E){this._command("setPosition",E)}getPosition(){var E,D;return null!==(D=null===(E=this._renderer.engine.players[+this.id])||void 0===E?void 0:E.getPosition())&&void 0!==D?D:0}}function Ir(K,E,D,A,ee){return K.setProperty(E,`@@${D}:${A}`,ee)}const un="@.disabled";let Ko=(()=>{class K{constructor(D,A,ee){this.delegate=D,this.engine=A,this._zone=ee,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),A.onRemovalComplete=(_e,Ne)=>{const Be=null==Ne?void 0:Ne.parentNode(_e);Be&&Ne.removeChild(Be,_e)}}createRenderer(D,A){const _e=this.delegate.createRenderer(D,A);if(!(D&&A&&A.data&&A.data.animation)){let kt=this._rendererCache.get(_e);return kt||(kt=new $n("",_e,this.engine),this._rendererCache.set(_e,kt)),kt}const Ne=A.id,Be=A.id+"-"+this._currentId;this._currentId++,this.engine.register(Be,D);const nt=kt=>{Array.isArray(kt)?kt.forEach(nt):this.engine.registerTrigger(Ne,Be,D,kt.name,kt)};return A.data.animation.forEach(nt),new Qo(this,Be,_e,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(D,A,ee){D>=0&&D<this._microtaskId?this._zone.run(()=>A(ee)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(_e=>{const[Ne,Be]=_e;Ne(Be)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([A,ee]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return K.\u0275fac=function(D){return new(D||K)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(bn),n.\u0275\u0275inject(n.NgZone))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();class $n{constructor(E,D,A){this.namespaceId=E,this.delegate=D,this.engine=A,this.destroyNode=this.delegate.destroyNode?ee=>D.destroyNode(ee):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(E,D){return this.delegate.createElement(E,D)}createComment(E){return this.delegate.createComment(E)}createText(E){return this.delegate.createText(E)}appendChild(E,D){this.delegate.appendChild(E,D),this.engine.onInsert(this.namespaceId,D,E,!1)}insertBefore(E,D,A,ee=!0){this.delegate.insertBefore(E,D,A),this.engine.onInsert(this.namespaceId,D,E,ee)}removeChild(E,D,A){this.engine.onRemove(this.namespaceId,D,this.delegate,A)}selectRootElement(E,D){return this.delegate.selectRootElement(E,D)}parentNode(E){return this.delegate.parentNode(E)}nextSibling(E){return this.delegate.nextSibling(E)}setAttribute(E,D,A,ee){this.delegate.setAttribute(E,D,A,ee)}removeAttribute(E,D,A){this.delegate.removeAttribute(E,D,A)}addClass(E,D){this.delegate.addClass(E,D)}removeClass(E,D){this.delegate.removeClass(E,D)}setStyle(E,D,A,ee){this.delegate.setStyle(E,D,A,ee)}removeStyle(E,D,A){this.delegate.removeStyle(E,D,A)}setProperty(E,D,A){"@"==D.charAt(0)&&D==un?this.disableAnimations(E,!!A):this.delegate.setProperty(E,D,A)}setValue(E,D){this.delegate.setValue(E,D)}listen(E,D,A){return this.delegate.listen(E,D,A)}disableAnimations(E,D){this.engine.disableAnimations(E,D)}}class Qo extends $n{constructor(E,D,A,ee){super(D,A,ee),this.factory=E,this.namespaceId=D}setProperty(E,D,A){"@"==D.charAt(0)?"."==D.charAt(1)&&D==un?this.disableAnimations(E,A=void 0===A||!!A):this.engine.process(this.namespaceId,E,D.substr(1),A):this.delegate.setProperty(E,D,A)}listen(E,D,A){if("@"==D.charAt(0)){const ee=function Gr(K){switch(K){case"body":return document.body;case"document":return document;case"window":return window;default:return K}}(E);let _e=D.substr(1),Ne="";return"@"!=_e.charAt(0)&&([_e,Ne]=function $i(K){const E=K.indexOf(".");return[K.substring(0,E),K.substr(E+1)]}(_e)),this.engine.listen(this.namespaceId,ee,_e,Ne,Be=>{this.factory.scheduleListenerCallback(Be._data||-1,A,Be)})}return this.delegate.listen(E,D,A)}}let oo=(()=>{class K extends bn{constructor(D,A,ee){super(D.body,A,ee)}ngOnDestroy(){this.flush()}}return K.\u0275fac=function(D){return new(D||K)(n.\u0275\u0275inject(Nt.DOCUMENT),n.\u0275\u0275inject(Xe),n.\u0275\u0275inject(_i))},K.\u0275prov=n.\u0275\u0275defineInjectable({token:K,factory:K.\u0275fac}),K})();const Zo=new n.InjectionToken("AnimationModuleType"),Kr=[{provide:y._j,useClass:Sn},{provide:_i,useFactory:function Yo(){return new Ni}},{provide:bn,useClass:oo},{provide:n.RendererFactory2,useFactory:function Ku(K,E,D){return new Ko(K,E,D)},deps:[h.\u0275DomRendererFactory2,bn,n.NgZone]}],Qr=[{provide:Xe,useFactory:()=>new ht},{provide:Zo,useValue:"BrowserAnimations"},...Kr],ii=[{provide:Xe,useClass:Ye},{provide:Zo,useValue:"NoopAnimations"},...Kr];let tr=(()=>{class K{static withConfig(D){return{ngModule:K,providers:D.disableAnimations?ii:Qr}}}return K.\u0275fac=function(D){return new(D||K)},K.\u0275mod=n.\u0275\u0275defineNgModule({type:K}),K.\u0275inj=n.\u0275\u0275defineInjector({providers:Qr,imports:[h.BrowserModule]}),K})(),Rs=(()=>{class K{}return K.\u0275fac=function(D){return new(D||K)},K.\u0275mod=n.\u0275\u0275defineNgModule({type:K}),K.\u0275inj=n.\u0275\u0275defineInjector({providers:ii,imports:[h.BrowserModule]}),K})()},2313:(G,r,a)=>{"use strict";a.r(r),a.d(r,{BrowserModule:()=>Qe,BrowserTransferStateModule:()=>Mt,By:()=>Ht,DomSanitizer:()=>fe,EVENT_MANAGER_PLUGINS:()=>T,EventManager:()=>S,HAMMER_GESTURE_CONFIG:()=>k,HAMMER_LOADER:()=>W,HammerGestureConfig:()=>Q,HammerModule:()=>N,Meta:()=>L,Title:()=>Je,TransferState:()=>Ct,VERSION:()=>Ft,disableDebugTools:()=>Ie,enableDebugTools:()=>wt,makeStateKey:()=>Tt,platformBrowser:()=>Me,\u0275BrowserDomAdapter:()=>d,\u0275BrowserGetTestability:()=>v,\u0275DomEventsPlugin:()=>pt,\u0275DomRendererFactory2:()=>pe,\u0275DomSanitizerImpl:()=>dt,\u0275DomSharedStylesHost:()=>V,\u0275HammerGesturesPlugin:()=>U,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>ne,\u0275KeyEventsPlugin:()=>Ke,\u0275NAMESPACE_URIS:()=>Y,\u0275SharedStylesHost:()=>I,\u0275TRANSITION_ID:()=>m,\u0275escapeHtml:()=>We,\u0275flattenStyles:()=>Z,\u0275getDOM:()=>n.\u0275getDOM,\u0275initDomAdapter:()=>ye,\u0275shimContentAttribute:()=>De,\u0275shimHostAttribute:()=>be});var n=a(9808),h=a(5e3);class y extends n.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class d extends y{static makeCurrent(){(0,n.\u0275setRootDomAdapter)(new d)}onAndCancel(Re,ge,ke){return Re.addEventListener(ge,ke,!1),()=>{Re.removeEventListener(ge,ke,!1)}}dispatchEvent(Re,ge){Re.dispatchEvent(ge)}remove(Re){Re.parentNode&&Re.parentNode.removeChild(Re)}createElement(Re,ge){return(ge=ge||this.getDefaultDocument()).createElement(Re)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Re){return Re.nodeType===Node.ELEMENT_NODE}isShadowRoot(Re){return Re instanceof DocumentFragment}getGlobalEventTarget(Re,ge){return"window"===ge?window:"document"===ge?Re:"body"===ge?Re.body:null}getBaseHref(Re){const ge=function c(){return o=o||document.querySelector("base"),o?o.getAttribute("href"):null}();return null==ge?null:function p(Pe){f=f||document.createElement("a"),f.setAttribute("href",Pe);const Re=f.pathname;return"/"===Re.charAt(0)?Re:`/${Re}`}(ge)}resetBaseElement(){o=null}getUserAgent(){return window.navigator.userAgent}getCookie(Re){return(0,n.\u0275parseCookieValue)(document.cookie,Re)}}let f,o=null;const m=new h.InjectionToken("TRANSITION_ID"),_=[{provide:h.APP_INITIALIZER,useFactory:function u(Pe,Re,ge){return()=>{ge.get(h.ApplicationInitStatus).donePromise.then(()=>{const ke=(0,n.\u0275getDOM)(),ct=Re.querySelectorAll(`style[ng-transition="${Pe}"]`);for(let xt=0;xt<ct.length;xt++)ke.remove(ct[xt])})}},deps:[m,n.DOCUMENT,h.Injector],multi:!0}];class v{static init(){(0,h.setTestabilityGetter)(new v)}addToWindow(Re){h.\u0275global.getAngularTestability=(ke,ct=!0)=>{const xt=Re.findTestabilityInTree(ke,ct);if(null==xt)throw new Error("Could not find testability for element.");return xt},h.\u0275global.getAllAngularTestabilities=()=>Re.getAllTestabilities(),h.\u0275global.getAllAngularRootElements=()=>Re.getAllRootElements(),h.\u0275global.frameworkStabilizers||(h.\u0275global.frameworkStabilizers=[]),h.\u0275global.frameworkStabilizers.push(ke=>{const ct=h.\u0275global.getAllAngularTestabilities();let xt=ct.length,jt=!1;const qt=function(gn){jt=jt||gn,xt--,0==xt&&ke(jt)};ct.forEach(function(gn){gn.whenStable(qt)})})}findTestabilityInTree(Re,ge,ke){if(null==ge)return null;const ct=Re.getTestability(ge);return null!=ct?ct:ke?(0,n.\u0275getDOM)().isShadowRoot(ge)?this.findTestabilityInTree(Re,ge.host,!0):this.findTestabilityInTree(Re,ge.parentElement,!0):null}}let b=(()=>{class Pe{build(){return new XMLHttpRequest}}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const T=new h.InjectionToken("EventManagerPlugins");let S=(()=>{class Pe{constructor(ge,ke){this._zone=ke,this._eventNameToPlugin=new Map,ge.forEach(ct=>ct.manager=this),this._plugins=ge.slice().reverse()}addEventListener(ge,ke,ct){return this._findPluginFor(ke).addEventListener(ge,ke,ct)}addGlobalEventListener(ge,ke,ct){return this._findPluginFor(ke).addGlobalEventListener(ge,ke,ct)}getZone(){return this._zone}_findPluginFor(ge){const ke=this._eventNameToPlugin.get(ge);if(ke)return ke;const ct=this._plugins;for(let xt=0;xt<ct.length;xt++){const jt=ct[xt];if(jt.supports(ge))return this._eventNameToPlugin.set(ge,jt),jt}throw new Error(`No event manager plugin found for event ${ge}`)}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(T),h.\u0275\u0275inject(h.NgZone))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();class P{constructor(Re){this._doc=Re}addGlobalEventListener(Re,ge,ke){const ct=(0,n.\u0275getDOM)().getGlobalEventTarget(this._doc,Re);if(!ct)throw new Error(`Unsupported event target ${ct} for event ${ge}`);return this.addEventListener(ct,ge,ke)}}let I=(()=>{class Pe{constructor(){this._stylesSet=new Set}addStyles(ge){const ke=new Set;ge.forEach(ct=>{this._stylesSet.has(ct)||(this._stylesSet.add(ct),ke.add(ct))}),this.onStylesAdded(ke)}onStylesAdded(ge){}getAllStyles(){return Array.from(this._stylesSet)}}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),V=(()=>{class Pe extends I{constructor(ge){super(),this._doc=ge,this._hostNodes=new Map,this._hostNodes.set(ge.head,[])}_addStylesToHost(ge,ke,ct){ge.forEach(xt=>{const jt=this._doc.createElement("style");jt.textContent=xt,ct.push(ke.appendChild(jt))})}addHost(ge){const ke=[];this._addStylesToHost(this._stylesSet,ge,ke),this._hostNodes.set(ge,ke)}removeHost(ge){const ke=this._hostNodes.get(ge);ke&&ke.forEach(J),this._hostNodes.delete(ge)}onStylesAdded(ge){this._hostNodes.forEach((ke,ct)=>{this._addStylesToHost(ge,ct,ke)})}ngOnDestroy(){this._hostNodes.forEach(ge=>ge.forEach(J))}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();function J(Pe){(0,n.\u0275getDOM)().remove(Pe)}const Y={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;function De(Pe){return"_ngcontent-%COMP%".replace(X,Pe)}function be(Pe){return"_nghost-%COMP%".replace(X,Pe)}function Z(Pe,Re,ge){for(let ke=0;ke<Re.length;ke++){let ct=Re[ke];Array.isArray(ct)?Z(Pe,ct,ge):(ct=ct.replace(X,Pe),ge.push(ct))}return ge}function de(Pe){return Re=>{if("__ngUnwrap__"===Re)return Pe;!1===Pe(Re)&&(Re.preventDefault(),Re.returnValue=!1)}}let pe=(()=>{class Pe{constructor(ge,ke,ct){this.eventManager=ge,this.sharedStylesHost=ke,this.appId=ct,this.rendererByCompId=new Map,this.defaultRenderer=new ce(ge)}createRenderer(ge,ke){if(!ge||!ke)return this.defaultRenderer;switch(ke.encapsulation){case h.ViewEncapsulation.Emulated:{let ct=this.rendererByCompId.get(ke.id);return ct||(ct=new vt(this.eventManager,this.sharedStylesHost,ke,this.appId),this.rendererByCompId.set(ke.id,ct)),ct.applyToHost(ge),ct}case 1:case h.ViewEncapsulation.ShadowDom:return new Ge(this.eventManager,this.sharedStylesHost,ge,ke);default:if(!this.rendererByCompId.has(ke.id)){const ct=Z(ke.id,ke.styles,[]);this.sharedStylesHost.addStyles(ct),this.rendererByCompId.set(ke.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(S),h.\u0275\u0275inject(V),h.\u0275\u0275inject(h.APP_ID))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();class ce{constructor(Re){this.eventManager=Re,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Re,ge){return ge?document.createElementNS(Y[ge]||ge,Re):document.createElement(Re)}createComment(Re){return document.createComment(Re)}createText(Re){return document.createTextNode(Re)}appendChild(Re,ge){Re.appendChild(ge)}insertBefore(Re,ge,ke){Re&&Re.insertBefore(ge,ke)}removeChild(Re,ge){Re&&Re.removeChild(ge)}selectRootElement(Re,ge){let ke="string"==typeof Re?document.querySelector(Re):Re;if(!ke)throw new Error(`The selector "${Re}" did not match any elements`);return ge||(ke.textContent=""),ke}parentNode(Re){return Re.parentNode}nextSibling(Re){return Re.nextSibling}setAttribute(Re,ge,ke,ct){if(ct){ge=ct+":"+ge;const xt=Y[ct];xt?Re.setAttributeNS(xt,ge,ke):Re.setAttribute(ge,ke)}else Re.setAttribute(ge,ke)}removeAttribute(Re,ge,ke){if(ke){const ct=Y[ke];ct?Re.removeAttributeNS(ct,ge):Re.removeAttribute(`${ke}:${ge}`)}else Re.removeAttribute(ge)}addClass(Re,ge){Re.classList.add(ge)}removeClass(Re,ge){Re.classList.remove(ge)}setStyle(Re,ge,ke,ct){ct&(h.RendererStyleFlags2.DashCase|h.RendererStyleFlags2.Important)?Re.style.setProperty(ge,ke,ct&h.RendererStyleFlags2.Important?"important":""):Re.style[ge]=ke}removeStyle(Re,ge,ke){ke&h.RendererStyleFlags2.DashCase?Re.style.removeProperty(ge):Re.style[ge]=""}setProperty(Re,ge,ke){Re[ge]=ke}setValue(Re,ge){Re.nodeValue=ge}listen(Re,ge,ke){return"string"==typeof Re?this.eventManager.addGlobalEventListener(Re,ge,de(ke)):this.eventManager.addEventListener(Re,ge,de(ke))}}class vt extends ce{constructor(Re,ge,ke,ct){super(Re),this.component=ke;const xt=Z(ct+"-"+ke.id,ke.styles,[]);ge.addStyles(xt),this.contentAttr=De(ct+"-"+ke.id),this.hostAttr=be(ct+"-"+ke.id)}applyToHost(Re){super.setAttribute(Re,this.hostAttr,"")}createElement(Re,ge){const ke=super.createElement(Re,ge);return super.setAttribute(ke,this.contentAttr,""),ke}}class Ge extends ce{constructor(Re,ge,ke,ct){super(Re),this.sharedStylesHost=ge,this.hostEl=ke,this.shadowRoot=ke.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xt=Z(ct.id,ct.styles,[]);for(let jt=0;jt<xt.length;jt++){const qt=document.createElement("style");qt.textContent=xt[jt],this.shadowRoot.appendChild(qt)}}nodeOrShadowRoot(Re){return Re===this.hostEl?this.shadowRoot:Re}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Re,ge){return super.appendChild(this.nodeOrShadowRoot(Re),ge)}insertBefore(Re,ge,ke){return super.insertBefore(this.nodeOrShadowRoot(Re),ge,ke)}removeChild(Re,ge){return super.removeChild(this.nodeOrShadowRoot(Re),ge)}parentNode(Re){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Re)))}}let pt=(()=>{class Pe extends P{constructor(ge){super(ge)}supports(ge){return!0}addEventListener(ge,ke,ct){return ge.addEventListener(ke,ct,!1),()=>this.removeEventListener(ge,ke,ct)}removeEventListener(ge,ke,ct){return ge.removeEventListener(ke,ct)}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const qe=["alt","control","meta","shift"],Ve={"\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"},tt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Le={alt:Pe=>Pe.altKey,control:Pe=>Pe.ctrlKey,meta:Pe=>Pe.metaKey,shift:Pe=>Pe.shiftKey};let Ke=(()=>{class Pe extends P{constructor(ge){super(ge)}supports(ge){return null!=Pe.parseEventName(ge)}addEventListener(ge,ke,ct){const xt=Pe.parseEventName(ke),jt=Pe.eventCallback(xt.fullKey,ct,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(ge,xt.domEventName,jt))}static parseEventName(ge){const ke=ge.toLowerCase().split("."),ct=ke.shift();if(0===ke.length||"keydown"!==ct&&"keyup"!==ct)return null;const xt=Pe._normalizeKey(ke.pop());let jt="";if(qe.forEach(gn=>{const Nn=ke.indexOf(gn);Nn>-1&&(ke.splice(Nn,1),jt+=gn+".")}),jt+=xt,0!=ke.length||0===xt.length)return null;const qt={};return qt.domEventName=ct,qt.fullKey=jt,qt}static getEventFullKey(ge){let ke="",ct=function ft(Pe){let Re=Pe.key;if(null==Re){if(Re=Pe.keyIdentifier,null==Re)return"Unidentified";Re.startsWith("U+")&&(Re=String.fromCharCode(parseInt(Re.substring(2),16)),3===Pe.location&&tt.hasOwnProperty(Re)&&(Re=tt[Re]))}return Ve[Re]||Re}(ge);return ct=ct.toLowerCase()," "===ct?ct="space":"."===ct&&(ct="dot"),qe.forEach(xt=>{xt!=ct&&Le[xt](ge)&&(ke+=xt+".")}),ke+=ct,ke}static eventCallback(ge,ke,ct){return xt=>{Pe.getEventFullKey(xt)===ge&&ct.runGuarded(()=>ke(xt))}}static _normalizeKey(ge){return"esc"===ge?"escape":ge}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();function ye(){d.makeCurrent(),v.init()}const ne=[{provide:h.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:ye,multi:!0},{provide:n.DOCUMENT,useFactory:function j(){return(0,h.\u0275setDocument)(document),document},deps:[]}],Me=(0,h.createPlatformFactory)(h.platformCore,"browser",ne),ze=[{provide:h.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:h.ErrorHandler,useFactory:function Se(){return new h.ErrorHandler},deps:[]},{provide:T,useClass:pt,multi:!0,deps:[n.DOCUMENT,h.NgZone,h.PLATFORM_ID]},{provide:T,useClass:Ke,multi:!0,deps:[n.DOCUMENT]},{provide:pe,useClass:pe,deps:[S,V,h.APP_ID]},{provide:h.RendererFactory2,useExisting:pe},{provide:I,useExisting:V},{provide:V,useClass:V,deps:[n.DOCUMENT]},{provide:h.Testability,useClass:h.Testability,deps:[h.NgZone]},{provide:S,useClass:S,deps:[T,h.NgZone]},{provide:n.XhrFactory,useClass:b,deps:[]}];let Qe=(()=>{class Pe{constructor(ge){if(ge)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(ge){return{ngModule:Pe,providers:[{provide:h.APP_ID,useValue:ge.appId},{provide:m,useExisting:h.APP_ID},_]}}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(Pe,12))},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:ze,imports:[n.CommonModule,h.ApplicationModule]}),Pe})(),L=(()=>{class Pe{constructor(ge){this._doc=ge,this._dom=(0,n.\u0275getDOM)()}addTag(ge,ke=!1){return ge?this._getOrCreateElement(ge,ke):null}addTags(ge,ke=!1){return ge?ge.reduce((ct,xt)=>(xt&&ct.push(this._getOrCreateElement(xt,ke)),ct),[]):[]}getTag(ge){return ge&&this._doc.querySelector(`meta[${ge}]`)||null}getTags(ge){if(!ge)return[];const ke=this._doc.querySelectorAll(`meta[${ge}]`);return ke?[].slice.call(ke):[]}updateTag(ge,ke){if(!ge)return null;ke=ke||this._parseSelector(ge);const ct=this.getTag(ke);return ct?this._setMetaElementAttributes(ge,ct):this._getOrCreateElement(ge,!0)}removeTag(ge){this.removeTagElement(this.getTag(ge))}removeTagElement(ge){ge&&this._dom.remove(ge)}_getOrCreateElement(ge,ke=!1){if(!ke){const jt=this._parseSelector(ge),qt=this.getTags(jt).filter(gn=>this._containsAttributes(ge,gn))[0];if(void 0!==qt)return qt}const ct=this._dom.createElement("meta");return this._setMetaElementAttributes(ge,ct),this._doc.getElementsByTagName("head")[0].appendChild(ct),ct}_setMetaElementAttributes(ge,ke){return Object.keys(ge).forEach(ct=>ke.setAttribute(this._getMetaKeyMap(ct),ge[ct])),ke}_parseSelector(ge){const ke=ge.name?"name":"property";return`${ke}="${ge[ke]}"`}_containsAttributes(ge,ke){return Object.keys(ge).every(ct=>ke.getAttribute(this._getMetaKeyMap(ct))===ge[ct])}_getMetaKeyMap(ge){return ve[ge]||ge}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:function(ge){let ke=null;return ke=ge?new ge:function xe(){return new L((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),ke},providedIn:"root"}),Pe})();const ve={httpEquiv:"http-equiv"};let Je=(()=>{class Pe{constructor(ge){this._doc=ge}getTitle(){return this._doc.title}setTitle(ge){this._doc.title=ge||""}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:function(ge){let ke=null;return ke=ge?new ge:function Fe(){return new Je((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),ke},providedIn:"root"}),Pe})();function Ue(Pe,Re){"undefined"!=typeof COMPILED&&COMPILED||((h.\u0275global.ng=h.\u0275global.ng||{})[Pe]=Re)}const Te="undefined"!=typeof window&&window||{};class Ee{constructor(Re,ge){this.msPerTick=Re,this.numTicks=ge}}class Ye{constructor(Re){this.appRef=Re.injector.get(h.ApplicationRef)}timeChangeDetection(Re){const ge=Re&&Re.record,ke="Change Detection",ct=null!=Te.console.profile;ge&&ct&&Te.console.profile(ke);const xt=Xe();let jt=0;for(;jt<5||Xe()-xt<500;)this.appRef.tick(),jt++;const qt=Xe();ge&&ct&&Te.console.profileEnd(ke);const gn=(qt-xt)/jt;return Te.console.log(`ran ${jt} change detection cycles`),Te.console.log(`${gn.toFixed(2)} ms per check`),new Ee(gn,jt)}}function Xe(){return Te.performance&&Te.performance.now?Te.performance.now():(new Date).getTime()}const rt="profiler";function wt(Pe){return Ue(rt,new Ye(Pe)),Pe}function Ie(){Ue(rt,null)}function We(Pe){const Re={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return Pe.replace(/[&"'<>]/g,ge=>Re[ge])}function Tt(Pe){return Pe}let Ct=(()=>{class Pe{constructor(){this.store={},this.onSerializeCallbacks={}}static init(ge){const ke=new Pe;return ke.store=ge,ke}get(ge,ke){return void 0!==this.store[ge]?this.store[ge]:ke}set(ge,ke){this.store[ge]=ke}remove(ge){delete this.store[ge]}hasKey(ge){return this.store.hasOwnProperty(ge)}onSerialize(ge,ke){this.onSerializeCallbacks[ge]=ke}toJson(){for(const ge in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(ge))try{this.store[ge]=this.onSerializeCallbacks[ge]()}catch(ke){console.warn("Exception in onSerialize callback: ",ke)}return JSON.stringify(this.store)}}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();function $t(Pe,Re){const ge=Pe.getElementById(Re+"-state");let ke={};if(ge&&ge.textContent)try{ke=JSON.parse(function lt(Pe){const Re={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Pe.replace(/&[^;]+;/g,ge=>Re[ge])}(ge.textContent))}catch(ct){console.warn("Exception while restoring TransferState for app "+Re,ct)}return Ct.init(ke)}let Mt=(()=>{class Pe{}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:Ct,useFactory:$t,deps:[n.DOCUMENT,h.APP_ID]}]}),Pe})();class Ht{static all(){return()=>!0}static css(Re){return ge=>null!=ge.nativeElement&&function ue(Pe,Re){return!!(0,n.\u0275getDOM)().isElementNode(Pe)&&(Pe.matches&&Pe.matches(Re)||Pe.msMatchesSelector&&Pe.msMatchesSelector(Re)||Pe.webkitMatchesSelector&&Pe.webkitMatchesSelector(Re))}(ge.nativeElement,Re)}static directive(Re){return ge=>-1!==ge.providerTokens.indexOf(Re)}}const q={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},k=new h.InjectionToken("HammerGestureConfig"),W=new h.InjectionToken("HammerLoader");let Q=(()=>{class Pe{constructor(){this.events=[],this.overrides={}}buildHammer(ge){const ke=new Hammer(ge,this.options);ke.get("pinch").set({enable:!0}),ke.get("rotate").set({enable:!0});for(const ct in this.overrides)ke.get(ct).set(this.overrides[ct]);return ke}}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),U=(()=>{class Pe extends P{constructor(ge,ke,ct,xt){super(ge),this._config=ke,this.console=ct,this.loader=xt,this._loaderPromise=null}supports(ge){return!(!q.hasOwnProperty(ge.toLowerCase())&&!this.isCustomEvent(ge)||!window.Hammer&&!this.loader)}addEventListener(ge,ke,ct){const xt=this.manager.getZone();if(ke=ke.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let jt=!1,qt=()=>{jt=!0};return this._loaderPromise.then(()=>{window.Hammer?jt||(qt=this.addEventListener(ge,ke,ct)):qt=()=>{}}).catch(()=>{qt=()=>{}}),()=>{qt()}}return xt.runOutsideAngular(()=>{const jt=this._config.buildHammer(ge),qt=function(gn){xt.runGuarded(function(){ct(gn)})};return jt.on(ke,qt),()=>{jt.off(ke,qt),"function"==typeof jt.destroy&&jt.destroy()}})}isCustomEvent(ge){return this._config.events.indexOf(ge)>-1}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(k),h.\u0275\u0275inject(h.\u0275Console),h.\u0275\u0275inject(W,8))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),N=(()=>{class Pe{}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:T,useClass:U,multi:!0,deps:[n.DOCUMENT,k,h.\u0275Console,[new h.Optional,W]]},{provide:k,useClass:Q,deps:[]}]}),Pe})(),fe=(()=>{class Pe{}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:function(ge){let ke=null;return ke=ge?new(ge||Pe):h.\u0275\u0275inject(dt),ke},providedIn:"root"}),Pe})(),dt=(()=>{class Pe extends fe{constructor(ge){super(),this._doc=ge}sanitize(ge,ke){if(null==ke)return null;switch(ge){case h.SecurityContext.NONE:return ke;case h.SecurityContext.HTML:return(0,h.\u0275allowSanitizationBypassAndThrow)(ke,"HTML")?(0,h.\u0275unwrapSafeValue)(ke):(0,h.\u0275_sanitizeHtml)(this._doc,String(ke)).toString();case h.SecurityContext.STYLE:return(0,h.\u0275allowSanitizationBypassAndThrow)(ke,"Style")?(0,h.\u0275unwrapSafeValue)(ke):ke;case h.SecurityContext.SCRIPT:if((0,h.\u0275allowSanitizationBypassAndThrow)(ke,"Script"))return(0,h.\u0275unwrapSafeValue)(ke);throw new Error("unsafe value used in a script context");case h.SecurityContext.URL:return(0,h.\u0275getSanitizationBypassType)(ke),(0,h.\u0275allowSanitizationBypassAndThrow)(ke,"URL")?(0,h.\u0275unwrapSafeValue)(ke):(0,h.\u0275_sanitizeUrl)(String(ke));case h.SecurityContext.RESOURCE_URL:if((0,h.\u0275allowSanitizationBypassAndThrow)(ke,"ResourceURL"))return(0,h.\u0275unwrapSafeValue)(ke);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ge} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ge){return(0,h.\u0275bypassSanitizationTrustHtml)(ge)}bypassSecurityTrustStyle(ge){return(0,h.\u0275bypassSanitizationTrustStyle)(ge)}bypassSecurityTrustScript(ge){return(0,h.\u0275bypassSanitizationTrustScript)(ge)}bypassSecurityTrustUrl(ge){return(0,h.\u0275bypassSanitizationTrustUrl)(ge)}bypassSecurityTrustResourceUrl(ge){return(0,h.\u0275bypassSanitizationTrustResourceUrl)(ge)}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:function(ge){let ke=null;return ke=ge?new ge:function je(Pe){return new dt(Pe.get(n.DOCUMENT))}(h.\u0275\u0275inject(h.Injector)),ke},providedIn:"root"}),Pe})();const Ft=new h.Version("13.3.2")},107:(G,r,a)=>{"use strict";a.r(r),a.d(r,{MONACO_PATH:()=>v,MonacoDiffEditorComponent:()=>P,MonacoEditorComponent:()=>S,MonacoEditorLoaderDirective:()=>T,MonacoEditorLoaderService:()=>b,MonacoEditorModule:()=>I});var n=a(5e3),h=a(2722),y=a(9300),d=a(5698),o=a(1135),c=a(7579),f=a(655),p=a(3075);const m=["editor"],u=["diffEditor"],v="MONACO_PATH";let b=(()=>{class V{constructor(Y,X){this.ngZone=Y,this.monacoPathConfig=X,this.isMonacoLoaded$=new o.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?Y.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(Y){Y&&(this._monacoPath=Y)}loadMonaco(){const Y=()=>{let le=this._monacoPath;window.amdRequire=window.require;const me=!!this.nodeRequire,De=le.includes("http");me&&(window.require=this.nodeRequire,De||(le=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:le}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},be=>console.error("Error loading monaco-editor: ",be))};if(window.amdRequire)return Y();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const oe=document.createElement("script");oe.type="text/javascript",oe.src=`${this._monacoPath}/loader.js`,oe.addEventListener("load",Y),document.body.appendChild(oe)}addElectronFixScripts(){const Y=document.createElement("script"),X=document.createTextNode("self.module = undefined;"),H=document.createTextNode("self.process.browser = true;");Y.appendChild(X),Y.appendChild(H),document.body.appendChild(Y)}}return V.\u0275fac=function(Y){return new(Y||V)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(v,8))},V.\u0275prov=n.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac,providedIn:"root"}),V})(),T=(()=>{class V{constructor(Y,X,H){this.templateRef=Y,this.viewContainer=X,this.monacoEditorLoaderService=H,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new c.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,h.R)(this.destroyed$)).subscribe(Y=>{if(!Y)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return V.\u0275fac=function(Y){return new(Y||V)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(b))},V.\u0275dir=n.\u0275\u0275defineDirective({type:V,selectors:[["","ngxLoadMonacoEditor",""]]}),V})(),S=(()=>{class V{constructor(Y){this.monacoLoader=Y,this.init=new n.EventEmitter,this.onTouched=()=>{},this.onErrorStatusChange=()=>{},this.propagateChange=()=>{}}get model(){return this.editor&&this.editor.getModel()}get modelMarkers(){return this.model&&monaco.editor.getModelMarkers({resource:this.model.uri})}ngOnInit(){this.monacoLoader.isMonacoLoaded$.pipe((0,y.h)(Y=>Y),(0,d.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(Y){if(this.editor&&Y.options&&!Y.options.firstChange){const X=Y.options.currentValue,{language:H,theme:oe}=X,le=(0,f.__rest)(X,["language","theme"]),{language:me,theme:De}=Y.options.previousValue;me!==H&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),De!==oe&&monaco.editor.setTheme(oe),this.editor.updateOptions(le)}if(this.editor&&Y.uri){const X=Y.uri.currentValue,H=Y.uri.previousValue;if(H&&!X||!H&&X||X&&H&&X.path!==H.path){const oe=this.editor.getValue();let le;this.modelUriInstance&&this.modelUriInstance.dispose(),X&&(le=monaco.editor.getModels().find(me=>me.uri.path===X.path)),this.modelUriInstance=le||monaco.editor.createModel(oe,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(Y){this.value=Y,this.editor&&Y?this.editor.setValue(Y):this.editor&&this.editor.setValue("")}registerOnChange(Y){this.propagateChange=Y}registerOnTouched(Y){this.onTouched=Y}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(Y){this.onErrorStatusChange=Y}initEditor(){const Y={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?Object.assign(Object.assign({},Y),this.options):Y),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const Y=this.modelMarkers.map(({message:H})=>H).join("|");this.parsedError!==Y&&(this.parsedError=Y,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return V.\u0275fac=function(Y){return new(Y||V)(n.\u0275\u0275directiveInject(b))},V.\u0275cmp=n.\u0275\u0275defineComponent({type:V,selectors:[["ngx-monaco-editor"]],viewQuery:function(Y,X){if(1&Y&&n.\u0275\u0275viewQuery(m,7),2&Y){let H;n.\u0275\u0275queryRefresh(H=n.\u0275\u0275loadQuery())&&(X.editorContent=H.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[n.\u0275\u0275ProvidersFeature([{provide:p.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>V),multi:!0},{provide:p.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>V),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(Y,X){1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2,3),n.\u0275\u0275elementEnd())},styles:[".monaco-editor[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.editor-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:table;width:100%;height:100%;min-width:0}"],changeDetection:0}),V})(),P=(()=>{class V{constructor(Y){this.monacoLoader=Y,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,y.h)(Y=>Y),(0,d.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(Y){if(this.editor&&(Y.code&&!Y.code.firstChange||Y.modified&&!Y.modified.firstChange)){const X=monaco.editor.createModel(this.modified),H=monaco.editor.createModel(this.original);this.editor.setModel({original:H,modified:X})}this.editor&&Y.options&&!Y.options.firstChange&&(Y.options.previousValue.theme!==Y.options.currentValue.theme&&monaco.editor.setTheme(Y.options.currentValue.theme),this.editor.updateOptions(Y.options.currentValue))}initMonaco(){let Y={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(Y=Object.assign({},Y,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,Y);const X=monaco.editor.createModel(this.original),H=monaco.editor.createModel(this.modified);this.editor.setModel({original:X,modified:H}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return V.\u0275fac=function(Y){return new(Y||V)(n.\u0275\u0275directiveInject(b))},V.\u0275cmp=n.\u0275\u0275defineComponent({type:V,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(Y,X){if(1&Y&&n.\u0275\u0275viewQuery(u,7),2&Y){let H;n.\u0275\u0275queryRefresh(H=n.\u0275\u0275loadQuery())&&(X.editorContent=H.first)}},inputs:{original:"original",modified:"modified",options:"options"},outputs:{init:"init"},features:[n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["diffEditor",""]],template:function(Y,X){1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2,3),n.\u0275\u0275elementEnd())},styles:[".monaco-editor[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.editor-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:table;width:100%;height:100%;min-width:0}"],changeDetection:0}),V})(),I=(()=>{class V{}return V.\u0275fac=function(Y){return new(Y||V)},V.\u0275mod=n.\u0275\u0275defineNgModule({type:V}),V.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),V})()},1430:(G,r,a)=>{"use strict";a.r(r),a.d(r,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>le,AngularSplitModule:()=>be,SplitAreaDirective:()=>De,SplitComponent:()=>me});var n=a(5e3),h=a(9808),y=a(7579),d=a(8306),o=a(8372);const c=["gutterEls"];function f(Z,de){if(1&Z){const z=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(ce){n.\u0275\u0275restoreView(z);const Oe=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startKeyboardDrag(ce,2*Oe+1,Oe+1)})("mousedown",function(ce){n.\u0275\u0275restoreView(z);const Oe=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startMouseDrag(ce,2*Oe+1,Oe+1)})("touchstart",function(ce){n.\u0275\u0275restoreView(z);const Oe=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startMouseDrag(ce,2*Oe+1,Oe+1)})("mouseup",function(ce){n.\u0275\u0275restoreView(z);const Oe=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().clickGutter(ce,Oe+1)})("touchend",function(ce){n.\u0275\u0275restoreView(z);const Oe=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().clickGutter(ce,Oe+1)}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&Z){const z=n.\u0275\u0275nextContext(),pe=z.index,ce=z.$implicit,Oe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",Oe.gutterSize,"px")("order",2*pe+1),n.\u0275\u0275attribute("aria-label",Oe.gutterAriaLabel)("aria-orientation",Oe.direction)("aria-valuemin",ce.minSize)("aria-valuemax",ce.maxSize)("aria-valuenow",ce.size)("aria-valuetext",Oe.getAriaAreaSizeText(ce.size))}}function p(Z,de){1&Z&&n.\u0275\u0275template(0,f,3,10,"div",1),2&Z&&n.\u0275\u0275property("ngIf",!1===de.last)}const m=["*"];function u(Z){if(void 0!==Z.changedTouches&&Z.changedTouches.length>0)return{x:Z.changedTouches[0].clientX,y:Z.changedTouches[0].clientY};if(void 0!==Z.clientX&&void 0!==Z.clientY)return{x:Z.clientX,y:Z.clientY};if(void 0!==Z.currentTarget){const de=Z.currentTarget;return{x:de.offsetLeft,y:de.offsetTop}}return null}function _(Z,de,z){return Math.abs(Z.x-de.x)<=z&&Math.abs(Z.y-de.y)<=z}function b(Z,de){const z=Z.nativeElement.getBoundingClientRect();return"horizontal"===de?z.width:z.height}function T(Z){return"boolean"==typeof Z?Z:"false"!==Z}function S(Z,de){return null==Z?de:(Z=Number(Z),!isNaN(Z)&&Z>=0?Z:de)}function P(Z,de){if("percent"===Z){const z=de.reduce((pe,ce)=>null!==ce?pe+ce:pe,0);return de.every(pe=>null!==pe)&&z>99.9&&z<100.1}if("pixel"===Z)return 1===de.filter(z=>null===z).length}function I(Z){return null===Z.size?null:!0===Z.component.lockSize?Z.size:null===Z.component.minSize?null:Z.component.minSize>Z.size?Z.size:Z.component.minSize}function V(Z){return null===Z.size?null:!0===Z.component.lockSize?Z.size:null===Z.component.maxSize?null:Z.component.maxSize<Z.size?Z.size:Z.component.maxSize}function J(Z,de,z,pe){return de.reduce((ce,Oe)=>{const it=function Y(Z,de,z,pe){return 0===z?{areaSnapshot:de,pixelAbsorb:0,percentAfterAbsorption:de.sizePercentAtStart,pixelRemain:0}:0===de.sizePixelAtStart&&z<0?{areaSnapshot:de,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:z}:"percent"===Z?function X(Z,de,z){const ce=(Z.sizePixelAtStart+de)/z*100;if(de>0){if(null!==Z.area.maxSize&&ce>Z.area.maxSize){const Oe=Z.area.maxSize/100*z;return{areaSnapshot:Z,pixelAbsorb:Oe,percentAfterAbsorption:Z.area.maxSize,pixelRemain:Z.sizePixelAtStart+de-Oe}}return{areaSnapshot:Z,pixelAbsorb:de,percentAfterAbsorption:ce>100?100:ce,pixelRemain:0}}if(de<0){if(null!==Z.area.minSize&&ce<Z.area.minSize){const Oe=Z.area.minSize/100*z;return{areaSnapshot:Z,pixelAbsorb:Oe,percentAfterAbsorption:Z.area.minSize,pixelRemain:Z.sizePixelAtStart+de-Oe}}return ce<0?{areaSnapshot:Z,pixelAbsorb:-Z.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:de+Z.sizePixelAtStart}:{areaSnapshot:Z,pixelAbsorb:de,percentAfterAbsorption:ce,pixelRemain:0}}}(de,z,pe):"pixel"===Z?function H(Z,de,z){const pe=Z.sizePixelAtStart+de;return de>0?null!==Z.area.maxSize&&pe>Z.area.maxSize?{areaSnapshot:Z,pixelAbsorb:Z.area.maxSize-Z.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:pe-Z.area.maxSize}:{areaSnapshot:Z,pixelAbsorb:de,percentAfterAbsorption:-1,pixelRemain:0}:de<0?null!==Z.area.minSize&&pe<Z.area.minSize?{areaSnapshot:Z,pixelAbsorb:Z.area.minSize+de-pe,percentAfterAbsorption:-1,pixelRemain:pe-Z.area.minSize}:pe<0?{areaSnapshot:Z,pixelAbsorb:-Z.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:de+Z.sizePixelAtStart}:{areaSnapshot:Z,pixelAbsorb:de,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(de,z):void 0}(Z,Oe,ce.remain,pe);return ce.list.push(it),ce.remain=it.pixelRemain,ce},{remain:z,list:[]})}function oe(Z,de){"percent"===Z?de.areaSnapshot.area.size=de.percentAfterAbsorption:"pixel"===Z&&null!==de.areaSnapshot.area.size&&(de.areaSnapshot.area.size=de.areaSnapshot.sizePixelAtStart+de.pixelAbsorb)}const le=new n.InjectionToken("angular-split-global-config");let me=(()=>{class Z{constructor(z,pe,ce,Oe,it){this.ngZone=z,this.elRef=pe,this.cdRef=ce,this.renderer=Oe,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new n.EventEmitter(!1),this.dragEnd=new n.EventEmitter(!1),this.gutterClick=new n.EventEmitter(!1),this.gutterDblClick=new n.EventEmitter(!1),this.dragProgressSubject=new y.x,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction,this._config=it?Object.assign(this._config,it):this._config,Object.keys(this._config).forEach(vt=>{this[vt]=this._config[vt]})}set direction(z){this._direction="vertical"===z?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(z){this._unit="pixel"===z?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(z){this._gutterSize=S(z,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(z){this._gutterStep=S(z,1)}get gutterStep(){return this._gutterStep}set restrictMove(z){this._restrictMove=T(z)}get restrictMove(){return this._restrictMove}set useTransition(z){this._useTransition=T(z),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(z){this._disabled=T(z),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(z){this._dir="rtl"===z?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(z){this._gutterDblClickDuration=S(z,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new d.y(z=>this.transitionEndSubscriber=z).pipe((0,o.b)(20))}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(z){const pe={component:z,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===z.visible?(this.displayedAreas.push(pe),this.build(!0,!0)):this.hiddenAreas.push(pe)}removeArea(z){if(this.displayedAreas.some(pe=>pe.component===z)){const pe=this.displayedAreas.find(ce=>ce.component===z);this.displayedAreas.splice(this.displayedAreas.indexOf(pe),1),this.build(!0,!0)}else if(this.hiddenAreas.some(pe=>pe.component===z)){const pe=this.hiddenAreas.find(ce=>ce.component===z);this.hiddenAreas.splice(this.hiddenAreas.indexOf(pe),1)}}updateArea(z,pe,ce){!0===z.visible&&this.build(pe,ce)}showArea(z){const pe=this.hiddenAreas.find(Oe=>Oe.component===z);if(void 0===pe)return;const ce=this.hiddenAreas.splice(this.hiddenAreas.indexOf(pe),1);this.displayedAreas.push(...ce),this.build(!0,!0)}hideArea(z){const pe=this.displayedAreas.find(Oe=>Oe.component===z);if(void 0===pe)return;const ce=this.displayedAreas.splice(this.displayedAreas.indexOf(pe),1);ce.forEach(Oe=>{Oe.order=0,Oe.size=0}),this.hiddenAreas.push(...ce),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(z=>null===z.size?"*":z.size)}setVisibleAreaSizes(z){if(z.length!==this.displayedAreas.length)return!1;const pe=z.map(Oe=>S(Oe,null));return!1!==P(this.unit,pe)&&(this.displayedAreas.forEach((Oe,it)=>Oe.component._size=pe[it]),this.build(!1,!0),!0)}build(z,pe){if(this.stopDragging(),!0===z&&(this.displayedAreas.every(ce=>null!==ce.component.order)&&this.displayedAreas.sort((ce,Oe)=>ce.component.order-Oe.component.order),this.displayedAreas.forEach((ce,Oe)=>{ce.order=2*Oe,ce.component.setStyleOrder(ce.order)})),!0===pe){const ce=P(this.unit,this.displayedAreas.map(Oe=>Oe.component.size));switch(this.unit){case"percent":{const Oe=100/this.displayedAreas.length;this.displayedAreas.forEach(it=>{it.size=ce?it.component.size:Oe,it.minSize=I(it),it.maxSize=V(it)});break}case"pixel":if(ce)this.displayedAreas.forEach(Oe=>{Oe.size=Oe.component.size,Oe.minSize=I(Oe),Oe.maxSize=V(Oe)});else{const Oe=this.displayedAreas.filter(it=>null===it.component.size);if(0===Oe.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((it,vt)=>{it.size=0===vt?null:it.component.size,it.minSize=0===vt?null:I(it),it.maxSize=0===vt?null:V(it)});else if(Oe.length>1){let it=!1;this.displayedAreas.forEach(vt=>{null===vt.component.size?!1===it?(vt.size=null,vt.minSize=null,vt.maxSize=null,it=!0):(vt.size=100,vt.minSize=null,vt.maxSize=null):(vt.size=vt.component.size,vt.minSize=I(vt),vt.maxSize=V(vt))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const z=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(pe=>{pe.component.setStyleFlex(0,0,`calc( ${pe.size}% - ${pe.size/100*z}px )`,null!==pe.minSize&&pe.minSize===pe.size,null!==pe.maxSize&&pe.maxSize===pe.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(z=>{null===z.size?z.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?z.component.setStyleFlex(0,0,"100%",!1,!1):z.component.setStyleFlex(0,0,`${z.size}px`,null!==z.minSize&&z.minSize===z.size,null!==z.maxSize&&z.maxSize===z.size)})}clickGutter(z,pe){const ce=u(z);this.startPoint&&_(this.startPoint,ce,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",pe),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",pe),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(z,pe,ce){if(!0===this.disabled||!0===this.isWaitingClear)return;const Oe=function v(Z,de){if("horizontal"===de)switch(Z.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===de)switch(Z.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const z=Z.currentTarget,pe="PageUp"===Z.key||"PageDown"===Z.key?500:50;let ce=z.offsetLeft,Oe=z.offsetTop;switch(Z.key){case"ArrowLeft":ce-=pe;break;case"ArrowRight":ce+=pe;break;case"ArrowUp":Oe-=pe;break;case"ArrowDown":Oe+=pe;break;case"PageUp":"vertical"===de?Oe-=pe:ce+=pe;break;case"PageDown":"vertical"===de?Oe+=pe:ce-=pe;break;default:return null}return{x:ce,y:Oe}}(z,this.direction);null!==Oe&&(this.endPoint=Oe,this.startPoint=u(z),z.preventDefault(),z.stopPropagation(),this.setupForDragEvent(pe,ce),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(z,pe,ce){z.preventDefault(),z.stopPropagation(),this.startPoint=u(z),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(pe,ce),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.mouseDragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.mouseDragEvent.bind(this)))}),this.startDragging())}setupForDragEvent(z,pe){this.snapshot={gutterNum:pe,lastSteppedOffset:0,allAreasSizePixel:b(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(ce=>{const Oe={area:ce,sizePixelAtStart:b(ce.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?ce.size:-1};ce.order<z?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[Oe]:this.snapshot.areasBeforeGutter.unshift(Oe):ce.order>z&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[Oe]):this.snapshot.areasAfterGutter.push(Oe))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((ce,Oe)=>ce+Oe.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach(z=>z.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(z){z.preventDefault(),z.stopPropagation();const pe=u(z);null!==this._clickTimeout&&!_(this.startPoint,pe,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=u(z),null!==this.endPoint&&this.drag())}drag(){if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)})}let z="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(z=-z);const pe=Math.round(z/this.gutterStep)*this.gutterStep;if(pe===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=pe;let ce=J(this.unit,this.snapshot.areasBeforeGutter,-pe,this.snapshot.allAreasSizePixel),Oe=J(this.unit,this.snapshot.areasAfterGutter,pe,this.snapshot.allAreasSizePixel);if(0!==ce.remain&&0!==Oe.remain?Math.abs(ce.remain)===Math.abs(Oe.remain)||(Math.abs(ce.remain)>Math.abs(Oe.remain)?Oe=J(this.unit,this.snapshot.areasAfterGutter,pe+ce.remain,this.snapshot.allAreasSizePixel):ce=J(this.unit,this.snapshot.areasBeforeGutter,-(pe-Oe.remain),this.snapshot.allAreasSizePixel)):0!==ce.remain?Oe=J(this.unit,this.snapshot.areasAfterGutter,pe+ce.remain,this.snapshot.allAreasSizePixel):0!==Oe.remain&&(ce=J(this.unit,this.snapshot.areasBeforeGutter,-(pe-Oe.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const it=[...ce.list,...Oe.list],vt=it.find(Ge=>0!==Ge.percentAfterAbsorption&&Ge.percentAfterAbsorption!==Ge.areaSnapshot.area.minSize&&Ge.percentAfterAbsorption!==Ge.areaSnapshot.area.maxSize);vt&&(vt.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-it.filter(Ge=>Ge!==vt).reduce((Ge,pt)=>Ge+pt.percentAfterAbsorption,0))}ce.list.forEach(it=>oe(this.unit,it)),Oe.list.forEach(it=>oe(this.unit,it)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(z){if(z&&(z.preventDefault(),z.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(pe=>pe.component.unlockEvents());this.dragListeners.length>0;){const pe=this.dragListeners.pop();pe&&pe()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(z,pe){const ce=this.getVisibleAreaSizes();"start"===z?this.dragStart.emit({gutterNum:pe,sizes:ce}):"end"===z?this.dragEnd.emit({gutterNum:pe,sizes:ce}):"click"===z?this.gutterClick.emit({gutterNum:pe,sizes:ce}):"dblclick"===z?this.gutterDblClick.emit({gutterNum:pe,sizes:ce}):"transitionEnd"===z?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(ce)):"progress"===z&&this.dragProgressSubject.next({gutterNum:pe,sizes:ce})}ngOnDestroy(){this.stopDragging()}collapseArea(z,pe,ce){const Oe=this.displayedAreas.find(Ge=>Ge.component===z);if(void 0===Oe)return;const it="right"===ce?1:-1;Oe.sizeBeforeCollapse||(Oe.sizeBeforeCollapse=Oe.size,Oe.gutterBeforeCollapse=it),Oe.size=pe;const vt=this.gutterEls.find(Ge=>Ge.nativeElement.style.order===`${Oe.order+it}`);vt&&this.renderer.addClass(vt.nativeElement,"as-split-gutter-collapsed"),this.updateArea(z,!1,!1)}expandArea(z){const pe=this.displayedAreas.find(Oe=>Oe.component===z);if(void 0===pe||!pe.sizeBeforeCollapse)return;pe.size=pe.sizeBeforeCollapse,pe.sizeBeforeCollapse=null;const ce=this.gutterEls.find(Oe=>Oe.nativeElement.style.order===`${pe.order+pe.gutterBeforeCollapse}`);ce&&this.renderer.removeClass(ce.nativeElement,"as-split-gutter-collapsed"),this.updateArea(z,!1,!1)}getAriaAreaSizeText(z){return null===z?null:z.toFixed(0)+" "+this.unit}}return Z.\u0275fac=function(z){return new(z||Z)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(le,8))},Z.\u0275cmp=n.\u0275\u0275defineComponent({type:Z,selectors:[["as-split"]],viewQuery:function(z,pe){if(1&z&&n.\u0275\u0275viewQuery(c,5),2&z){let ce;n.\u0275\u0275queryRefresh(ce=n.\u0275\u0275loadQuery())&&(pe.gutterEls=ce)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:m,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","slider","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","slider","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(z,pe){1&z&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,p,1,1,"ng-template",0)),2&z&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",pe.displayedAreas))},directives:[h.NgForOf,h.NgIf],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url()}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0}),Z})(),De=(()=>{class Z{constructor(z,pe,ce,Oe){this.ngZone=z,this.elRef=pe,this.renderer=ce,this.split=Oe,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}set order(z){this._order=S(z,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(z){this._size=S(z,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(z){this._minSize=S(z,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(z){this._maxSize=S(z,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(z){this._lockSize=T(z),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(z){this._visible=T(z),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",z=>{"flex-basis"===z.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(z){this.renderer.setStyle(this.elRef.nativeElement,"order",z)}setStyleFlex(z,pe,ce,Oe,it){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",z),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",pe),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",ce),!0===Oe?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===it?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const z=this.lockListeners.pop();z&&z()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse(z=0,pe="right"){this.split.collapseArea(this,z,pe)}expand(){this.split.expandArea(this)}}return Z.\u0275fac=function(z){return new(z||Z)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(me))},Z.\u0275dir=n.\u0275\u0275defineDirective({type:Z,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),Z})(),be=(()=>{class Z{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:Z,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:Z,providers:[]}}}return Z.\u0275fac=function(z){return new(z||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.CommonModule]]}),Z})()},2290:(G,r,a)=>{"use strict";a.r(r),a.d(r,{BasePortalHost:()=>H,ComponentPortal:()=>X,DefaultGlobalConfig:()=>it,DefaultNoAnimationsGlobalConfig:()=>qe,DefaultNoComponentGlobalConfig:()=>le,Overlay:()=>pe,OverlayContainer:()=>z,OverlayRef:()=>de,TOAST_CONFIG:()=>me,Toast:()=>Oe,ToastContainerDirective:()=>J,ToastContainerModule:()=>Y,ToastInjector:()=>be,ToastNoAnimation:()=>pt,ToastNoAnimationModule:()=>at,ToastPackage:()=>oe,ToastRef:()=>De,ToastrComponentlessModule:()=>Ge,ToastrModule:()=>vt,ToastrService:()=>ce});var n=a(5e3),h=a(1777),y=a(7579),d=a(9808),o=a(2313);const c=["toast-component",""];function f(Ve,tt){if(1&Ve){const Le=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(Le),n.\u0275\u0275nextContext().remove()}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function p(Ve,tt){if(1&Ve&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&Ve){const Le=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",Le.duplicatesCount+1,"]")}}function m(Ve,tt){if(1&Ve&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,p,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&Ve){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.titleClass),n.\u0275\u0275attribute("aria-label",Le.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.duplicatesCount)}}function u(Ve,tt){if(1&Ve&&n.\u0275\u0275element(0,"div",7),2&Ve){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.messageClass),n.\u0275\u0275property("innerHTML",Le.message,n.\u0275\u0275sanitizeHtml)}}function _(Ve,tt){if(1&Ve&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Ve){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.messageClass),n.\u0275\u0275attribute("aria-label",Le.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.message," ")}}function v(Ve,tt){if(1&Ve&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&Ve){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",Le.width+"%")}}function b(Ve,tt){if(1&Ve){const Le=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(Le),n.\u0275\u0275nextContext().remove()}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function T(Ve,tt){if(1&Ve&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&Ve){const Le=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",Le.duplicatesCount+1,"]")}}function S(Ve,tt){if(1&Ve&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,T,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&Ve){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.titleClass),n.\u0275\u0275attribute("aria-label",Le.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.duplicatesCount)}}function P(Ve,tt){if(1&Ve&&n.\u0275\u0275element(0,"div",7),2&Ve){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.messageClass),n.\u0275\u0275property("innerHTML",Le.message,n.\u0275\u0275sanitizeHtml)}}function I(Ve,tt){if(1&Ve&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Ve){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Le.options.messageClass),n.\u0275\u0275attribute("aria-label",Le.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Le.message," ")}}function V(Ve,tt){if(1&Ve&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&Ve){const Le=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",Le.width+"%")}}let J=(()=>{class Ve{constructor(Le){this.el=Le}getContainerElement(){return this.el.nativeElement}}return Ve.\u0275fac=function(Le){return new(Le||Ve)(n.\u0275\u0275directiveInject(n.ElementRef))},Ve.\u0275dir=n.\u0275\u0275defineDirective({type:Ve,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),Ve})(),Y=(()=>{class Ve{}return Ve.\u0275fac=function(Le){return new(Le||Ve)},Ve.\u0275mod=n.\u0275\u0275defineNgModule({type:Ve}),Ve.\u0275inj=n.\u0275\u0275defineInjector({}),Ve})();class X{constructor(tt,Le){this.component=tt,this.injector=Le}attach(tt,Le){return this._attachedHost=tt,tt.attach(this,Le)}detach(){const tt=this._attachedHost;if(tt)return this._attachedHost=void 0,tt.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(tt){this._attachedHost=tt}}class H{attach(tt,Le){return this._attachedPortal=tt,this.attachComponentPortal(tt,Le)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(tt){this._disposeFn=tt}}class oe{constructor(tt,Le,Ke,ft,ye,Se){this.toastId=tt,this.config=Le,this.message=Ke,this.title=ft,this.toastType=ye,this.toastRef=Se,this._onTap=new y.x,this._onAction=new y.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(tt){this._onAction.next(tt)}onAction(){return this._onAction.asObservable()}}const le={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},me=new n.InjectionToken("ToastConfig");class De{constructor(tt){this._overlayRef=tt,this.duplicatesCount=0,this._afterClosed=new y.x,this._activate=new y.x,this._manualClose=new y.x,this._resetTimeout=new y.x,this._countDuplicate=new y.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(tt,Le){tt&&this._resetTimeout.next(),Le&&this._countDuplicate.next(++this.duplicatesCount)}}class be{constructor(tt,Le){this._toastPackage=tt,this._parentInjector=Le}get(tt,Le,Ke){return tt===oe?this._toastPackage:this._parentInjector.get(tt,Le,Ke)}}class Z extends H{constructor(tt,Le,Ke){super(),this._hostDomElement=tt,this._componentFactoryResolver=Le,this._appRef=Ke}attachComponentPortal(tt,Le){const Ke=this._componentFactoryResolver.resolveComponentFactory(tt.component);let ft;return ft=Ke.create(tt.injector),this._appRef.attachView(ft.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ft.hostView),ft.destroy()}),Le?this._hostDomElement.insertBefore(this._getComponentRootNode(ft),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ft)),ft}_getComponentRootNode(tt){return tt.hostView.rootNodes[0]}}class de{constructor(tt){this._portalHost=tt}attach(tt,Le=!0){return this._portalHost.attach(tt,Le)}detach(){return this._portalHost.detach()}}let z=(()=>{class Ve{constructor(Le){this._document=Le}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Le=this._document.createElement("div");Le.classList.add("overlay-container"),this._document.body.appendChild(Le),this._containerElement=Le}}return Ve.\u0275fac=function(Le){return new(Le||Ve)(n.\u0275\u0275inject(d.DOCUMENT))},Ve.\u0275prov=n.\u0275\u0275defineInjectable({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})(),pe=(()=>{class Ve{constructor(Le,Ke,ft,ye){this._overlayContainer=Le,this._componentFactoryResolver=Ke,this._appRef=ft,this._document=ye,this._paneElements=new Map}create(Le,Ke){return this._createOverlayRef(this.getPaneElement(Le,Ke))}getPaneElement(Le="",Ke){return this._paneElements.get(Ke)||this._paneElements.set(Ke,{}),this._paneElements.get(Ke)[Le]||(this._paneElements.get(Ke)[Le]=this._createPaneElement(Le,Ke)),this._paneElements.get(Ke)[Le]}_createPaneElement(Le,Ke){const ft=this._document.createElement("div");return ft.id="toast-container",ft.classList.add(Le),ft.classList.add("toast-container"),Ke?Ke.getContainerElement().appendChild(ft):this._overlayContainer.getContainerElement().appendChild(ft),ft}_createPortalHost(Le){return new Z(Le,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Le){return new de(this._createPortalHost(Le))}}return Ve.\u0275fac=function(Le){return new(Le||Ve)(n.\u0275\u0275inject(z),n.\u0275\u0275inject(n.ComponentFactoryResolver),n.\u0275\u0275inject(n.ApplicationRef),n.\u0275\u0275inject(d.DOCUMENT))},Ve.\u0275prov=n.\u0275\u0275defineInjectable({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})(),ce=(()=>{class Ve{constructor(Le,Ke,ft,ye,Se){this.overlay=Ke,this._injector=ft,this.sanitizer=ye,this.ngZone=Se,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},Le.default),Le.config),Le.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},Le.default.iconClasses),Le.config.iconClasses))}show(Le,Ke,ft={},ye=""){return this._preBuildNotification(ye,Le,Ke,this.applyConfig(ft))}success(Le,Ke,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Le,Ke,this.applyConfig(ft))}error(Le,Ke,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Le,Ke,this.applyConfig(ft))}info(Le,Ke,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Le,Ke,this.applyConfig(ft))}warning(Le,Ke,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Le,Ke,this.applyConfig(ft))}clear(Le){for(const Ke of this.toasts)if(void 0!==Le){if(Ke.toastId===Le)return void Ke.toastRef.manualClose()}else Ke.toastRef.manualClose()}remove(Le){const Ke=this._findToast(Le);if(!Ke||(Ke.activeToast.toastRef.close(),this.toasts.splice(Ke.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const ft=this.toasts[this.currentlyActive].toastRef;ft.isInactive()||(this.currentlyActive=this.currentlyActive+1,ft.activate())}return!0}findDuplicate(Le="",Ke="",ft,ye){const{includeTitleDuplicates:Se}=this.toastrConfig;for(const j of this.toasts){const ne=Se&&j.title===Le;if((!Se||ne)&&j.message===Ke)return j.toastRef.onDuplicate(ft,ye),j}return null}applyConfig(Le={}){return Object.assign(Object.assign({},this.toastrConfig),Le)}_findToast(Le){for(let Ke=0;Ke<this.toasts.length;Ke++)if(this.toasts[Ke].toastId===Le)return{index:Ke,activeToast:this.toasts[Ke]};return null}_preBuildNotification(Le,Ke,ft,ye){return ye.onActivateTick?this.ngZone.run(()=>this._buildNotification(Le,Ke,ft,ye)):this._buildNotification(Le,Ke,ft,ye)}_buildNotification(Le,Ke,ft,ye){if(!ye.toastComponent)throw new Error("toastComponent required");const Se=this.findDuplicate(ft,Ke,this.toastrConfig.resetTimeoutOnDuplicate&&ye.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ft||Ke)&&this.toastrConfig.preventDuplicates&&null!==Se)return Se;this.previousToastMessage=Ke;let j=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(j=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ne=this.overlay.create(ye.positionClass,this.overlayContainer);this.index=this.index+1;let Me=Ke;Ke&&ye.enableHtml&&(Me=this.sanitizer.sanitize(n.SecurityContext.HTML,Ke));const ze=new De(ne),Qe=new oe(this.index,ye,Me,ft,Le,ze),xe=new be(Qe,this._injector),L=new X(ye.toastComponent,xe),ve=ne.attach(L,this.toastrConfig.newestOnTop);ze.componentInstance=ve.instance;const Fe={toastId:this.index,title:ft||"",message:Ke||"",toastRef:ze,onShown:ze.afterActivate(),onHidden:ze.afterClosed(),onTap:Qe.onTap(),onAction:Qe.onAction(),portal:ve};return j||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Fe.toastRef.activate()})),this.toasts.push(Fe),Fe}}return Ve.\u0275fac=function(Le){return new(Le||Ve)(n.\u0275\u0275inject(me),n.\u0275\u0275inject(pe),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(o.DomSanitizer),n.\u0275\u0275inject(n.NgZone))},Ve.\u0275prov=n.\u0275\u0275defineInjectable({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve})(),Oe=(()=>{class Ve{constructor(Le,Ke,ft){this.toastrService=Le,this.toastPackage=Ke,this.ngZone=ft,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Ke.message,this.title=Ke.title,this.options=Ke.config,this.originalTimeout=Ke.config.timeOut,this.toastClasses=`${Ke.toastType} ${Ke.config.toastClass}`,this.sub=Ke.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ke.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ke.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ke.toastRef.countDuplicate().subscribe(ye=>{this.duplicatesCount=ye})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Le=(new Date).getTime();this.width=(this.hideTime-Le)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(Le,Ke){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Le),Ke)):this.timeout=setTimeout(()=>Le(),Ke)}outsideInterval(Le,Ke){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Le),Ke)):this.intervalId=setInterval(()=>Le(),Ke)}runInsideAngular(Le){this.ngZone?this.ngZone.run(()=>Le()):Le()}}return Ve.\u0275fac=function(Le){return new(Le||Ve)(n.\u0275\u0275directiveInject(ce),n.\u0275\u0275directiveInject(oe),n.\u0275\u0275directiveInject(n.NgZone))},Ve.\u0275cmp=n.\u0275\u0275defineComponent({type:Ve,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Le,Ke){1&Le&&n.\u0275\u0275listener("click",function(){return Ke.tapToast()})("mouseenter",function(){return Ke.stickAround()})("mouseleave",function(){return Ke.delayedHideToast()}),2&Le&&(n.\u0275\u0275syntheticHostProperty("@flyInOut",Ke.state),n.\u0275\u0275classMap(Ke.toastClasses),n.\u0275\u0275styleProp("display",Ke.displayStyle))},attrs:c,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(Le,Ke){1&Le&&(n.\u0275\u0275template(0,f,3,0,"button",0),n.\u0275\u0275template(1,m,3,5,"div",1),n.\u0275\u0275template(2,u,1,3,"div",2),n.\u0275\u0275template(3,_,2,4,"div",3),n.\u0275\u0275template(4,v,2,2,"div",4)),2&Le&&(n.\u0275\u0275property("ngIf",Ke.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ke.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ke.message&&Ke.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ke.message&&!Ke.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ke.options.progressBar))},directives:[d.NgIf],encapsulation:2,data:{animation:[(0,h.X$)("flyInOut",[(0,h.SB)("inactive",(0,h.oB)({opacity:0})),(0,h.SB)("active",(0,h.oB)({opacity:1})),(0,h.SB)("removed",(0,h.oB)({opacity:0})),(0,h.eR)("inactive => active",(0,h.jt)("{{ easeTime }}ms {{ easing }}")),(0,h.eR)("active => removed",(0,h.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Ve})();const it=Object.assign(Object.assign({},le),{toastComponent:Oe});let vt=(()=>{class Ve{static forRoot(Le={}){return{ngModule:Ve,providers:[{provide:me,useValue:{default:it,config:Le}}]}}}return Ve.\u0275fac=function(Le){return new(Le||Ve)},Ve.\u0275mod=n.\u0275\u0275defineNgModule({type:Ve}),Ve.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Ve})(),Ge=(()=>{class Ve{static forRoot(Le={}){return{ngModule:vt,providers:[{provide:me,useValue:{default:le,config:Le}}]}}}return Ve.\u0275fac=function(Le){return new(Le||Ve)},Ve.\u0275mod=n.\u0275\u0275defineNgModule({type:Ve}),Ve.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Ve})(),pt=(()=>{class Ve{constructor(Le,Ke,ft){this.toastrService=Le,this.toastPackage=Ke,this.appRef=ft,this.width=-1,this.toastClasses="",this.state="inactive",this.message=Ke.message,this.title=Ke.title,this.options=Ke.config,this.originalTimeout=Ke.config.timeOut,this.toastClasses=`${Ke.toastType} ${Ke.config.toastClass}`,this.sub=Ke.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ke.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ke.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ke.toastRef.countDuplicate().subscribe(ye=>{this.duplicatesCount=ye})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Le=(new Date).getTime();this.width=(this.hideTime-Le)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return Ve.\u0275fac=function(Le){return new(Le||Ve)(n.\u0275\u0275directiveInject(ce),n.\u0275\u0275directiveInject(oe),n.\u0275\u0275directiveInject(n.ApplicationRef))},Ve.\u0275cmp=n.\u0275\u0275defineComponent({type:Ve,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(Le,Ke){1&Le&&n.\u0275\u0275listener("click",function(){return Ke.tapToast()})("mouseenter",function(){return Ke.stickAround()})("mouseleave",function(){return Ke.delayedHideToast()}),2&Le&&(n.\u0275\u0275classMap(Ke.toastClasses),n.\u0275\u0275styleProp("display",Ke.displayStyle))},attrs:c,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(Le,Ke){1&Le&&(n.\u0275\u0275template(0,b,3,0,"button",0),n.\u0275\u0275template(1,S,3,5,"div",1),n.\u0275\u0275template(2,P,1,3,"div",2),n.\u0275\u0275template(3,I,2,4,"div",3),n.\u0275\u0275template(4,V,2,2,"div",4)),2&Le&&(n.\u0275\u0275property("ngIf",Ke.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ke.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ke.message&&Ke.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ke.message&&!Ke.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ke.options.progressBar))},directives:[d.NgIf],encapsulation:2}),Ve})();const qe=Object.assign(Object.assign({},le),{toastComponent:pt});let at=(()=>{class Ve{static forRoot(Le={}){return{ngModule:Ve,providers:[{provide:me,useValue:{default:qe,config:Le}}]}}}return Ve.\u0275fac=function(Le){return new(Le||Ve)},Ve.\u0275mod=n.\u0275\u0275defineNgModule({type:Ve}),Ve.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Ve})()},4147:G=>{"use strict";G.exports=JSON.parse('{"name":"@sdkgen/playground","version":"0.0.0-dev.20220413135744","description":"","main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/sdkgen/sdkgen.git"},"publishConfig":{"access":"public"},"scripts":{"eslint:fix":"eslint --fix \'src/**/*.{t,j}s\'","eslint:check":"eslint \'src/**/*.{t,j}s\'","ng":"ng","start":"ng serve","build":"ng build","build:stats":"ng build --stats-json","analyze":"webpack-bundle-analyzer dist/stats.json","watch":"ng build --watch --configuration development"},"dependencies":{},"devDependencies":{"@angular-devkit/build-angular":"~13.3.0","@angular/animations":"~13.3.0","@angular/cdk":"~13.3.0","@angular/cli":"~13.3.0","@angular/common":"~13.3.0","@angular/compiler":"~13.3.0","@angular/compiler-cli":"~13.3.0","@angular/core":"~13.3.0","@angular/forms":"~13.3.0","@angular/material":"~13.3.0","@angular/platform-browser":"~13.3.0","@angular/platform-browser-dynamic":"~13.3.0","@angular/router":"~13.3.0","@cubos/eslint-config":"^1.0.553260","@materia-ui/ngx-monaco-editor":"^6.0.0","@sdkgen/browser-runtime":"file:../browser-runtime","@sdkgen/csharp-generator":"file:../csharp-generator","@sdkgen/dart-generator":"file:../dart-generator","@sdkgen/fsharp-generator":"file:../fsharp-generator","@sdkgen/kotlin-generator":"file:../kotlin-generator","@sdkgen/parser":"file:../parser","@sdkgen/swift-generator":"file:../swift-generator","@sdkgen/typescript-generator":"file:../typescript-generator","@types/file-saver":"^2.0.3","@types/node":"^16.0.0","angular-split":"^13.0.0","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.33.0","ngx-json-viewer":"^3.0.2","ngx-toastr":"^14.2.1","rxjs":"~7.5.2","tslib":"^2.2.0","typescript":"~4.6.0","webpack-bundle-analyzer":"^4.5.0","zone.js":"~0.11.4"}}')}},G=>{G(G.s=4431)}]);
|