@sdkgen/playground 0.0.0-dev.20220610190458 → 0.0.0-dev.20220614154834

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(W,o){"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(o,"__esModule",{value:!0}),o.decode=o.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 r(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,"'"))}o.encode=function l(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[_,l(p,"".concat(m,".").concat(T[0]),T[1],{})];if(Array.isArray(_)&&2===_.length&&T[0]===_[0])return[_[0],l(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 U=I[P];S[U]=l(p,"".concat(m,".").concat(U),u[U],_[U])}return S}if(u.endsWith("?"))return null==_?null:l(p,m,u.slice(0,u.length-1),_);if(u.endsWith("[]")){if(!Array.isArray(_))throw new d(m,u,_);return _.map(function(Q,q){return l(p,"".concat(m,"[").concat(q,"]"),u.slice(0,u.length-2),Q)})}if(y.indexOf(u)>=0)return r(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 l(p,m,J,_);throw new Error("Unknown type '".concat(u,"' at '").concat(m,"'"))},o.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 U=I[P];S[U]=f(p,"".concat(m,".").concat(U),u[U],_[U])}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(ce,ge){return f(p,"".concat(m,"[").concat(ge,"]"),u.slice(0,u.length-2),ce)})}if(y.indexOf(u)>=0)return r(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),Q=parseInt(_.split("-")[1],10)-1,q=parseInt(_.split("-")[0],10),V=new Date(q,Q,J);if(V.getFullYear()!==q||V.getMonth()!==Q||V.getDate()!==J)throw new d(m,u,_);return V}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(ce){return ce.charCodeAt(0)})}catch(ce){throw new d(m,"".concat(u," (base 64)"),_)}}},2837:function(W,o){"use strict";var y,a=this&&this.__extends||(y=function(d,r){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,f){l.__proto__=f}||function(l,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(l[p]=f[p])})(d,r)},function(d,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function l(){this.constructor=d}y(d,r),d.prototype=null===r?Object.create(r):(l.prototype=r.prototype,new l)});Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenErrorWithData=o.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);o.SdkgenError=n;var h=function(y){function d(r,l){var f=y.call(this,r)||this;return f.data=l,f}return a(d,y),d.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},d}(n);o.SdkgenErrorWithData=h},2062:function(W,o,a){"use strict";var n=this&&this.__awaiter||function(m,u,_,v){return new(_||(_=Promise))(function(T,S){function P(J){try{U(v.next(J))}catch(Q){S(Q)}}function I(J){try{U(v.throw(J))}catch(Q){S(Q)}}function U(J){J.done?T(J.value):function b(T){return T instanceof _?T:new _(function(S){S(T)})}(J.value).then(P,I)}U((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(U){return function(J){return function I(U){if(v)throw new TypeError("Generator is already executing.");for(;_;)try{if(v=1,b&&(T=2&U[0]?b.return:U[0]?b.throw||((T=b.return)&&T.call(b),0):b.next)&&!(T=T.call(b,U[1])).done)return T;switch(b=0,T&&(U=[2&U[0],T.value]),U[0]){case 0:case 1:T=U;break;case 4:return _.label++,{value:U[1],done:!1};case 5:_.label++,b=U[1],U=[0];continue;case 7:U=_.ops.pop(),_.trys.pop();continue;default:if(!(T=(T=_.trys).length>0&&T[T.length-1])&&(6===U[0]||2===U[0])){_=0;continue}if(3===U[0]&&(!T||U[1]>T[0]&&U[1]<T[3])){_.label=U[1];break}if(6===U[0]&&_.label<T[1]){_.label=T[1],T=U;break}if(T&&_.label<T[2]){_.label=T[2],_.ops.push(U);break}T[2]&&_.ops.pop(),_.trys.pop();continue}U=u.call(m,_)}catch(J){U=[6,J],b=0}finally{v=T=0}if(5&U[0])throw U[1];return{value:U[0]?U[1]:void 0,done:!0}}([U,J])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.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 r=d(20);function l(){try{var m=localStorage.getItem("deviceId");return m||(m=r,localStorage.setItem("deviceId",m)),m}catch(u){}return r}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,U,J=this;return h(this,function(Q){switch(Q.label){case 0:if(!(T=this.astJson.functionTable[u]))throw new Error("Unknown function ".concat(u));return S={},this.extra.forEach(function(q,V){S[V]=q}),P={args:(0,y.encode)(this.astJson.typeTable,"".concat(u,".args"),T.args,_),deviceInfo:{id:l(),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(q,V){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 ce=JSON.parse(oe.responseText);try{f(ce,"error")&&ce.error?(V(ce.error),J.errorHook(ce.error,u,_)):q(f(ce,"result")?ce.result:null)}catch(De){var ge={message:"".concat(De),type:"Fatal"};V(ge),J.errorHook(ge,u,_)}}catch(De){V(ge={message:"Falha de conex\xe3o com o servidor",type:"Fatal"}),J.errorHook(ge,u,_)}},oe.send(JSON.stringify(P))}).catch(function(q){if(J.errorHook(q,u,_),f(q,"type")&&f(q,"message")&&"string"==typeof q.type&&"string"==typeof q.message){var V=J.errClasses[q.type];if(V){var oe=J.astJson.errors.find(function(ce){return Array.isArray(ce)?ce[0]===q.type:ce===q.type});if(oe)throw Array.isArray(oe)&&f(q,"data")?new V(q.message,(0,y.decode)(J.astJson.typeTable,"".concat(V.name,".data"),oe[1],q.data)):new V(q.message,void 0)}throw new J.errClasses.Fatal("".concat(q.type,": ").concat(q.message))}throw q})];case 1:return I=Q.sent(),U=(0,y.decode)(this.astJson.typeTable,"".concat(u,".ret"),T.ret,I),this.successHook(U,u,_),[2,U]}})})},m}();o.SdkgenHttpClient=p},4539:function(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(2837),o),h(a(2062),o)},3905:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateCSharpServerSource=void 0;const n=a(6676),h=a(4510);o.generateCSharpServerSource=function y(d){let r="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 l of d.operations){const f=l.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(l.returnType)}>`;r+=`\n public virtual Task${f} ${(0,h.capitalize)(l.name)}(${["Context ctx",...l.args.map(p=>`${(0,h.generateTypeName)(p.type)} ${(0,h.ident)(p.name)}`)].join(", ")})\n {\n return Task.FromException${f}(new FatalException("Function '${l.name}' not implemented."));\n }\n`}r+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const l of d.operations){r+=`\n case ${JSON.stringify(l.name)}:\n {`;for(const f of l.args)r+=`\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("'${l.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_`,`"${l.name}().args.${f.name}"`,(0,h.ident)(f.name)).replace(/\n/gu,"\n ")}`;r+=l.returnType instanceof n.VoidPrimitiveType?`\n await ${(0,h.capitalize)(l.name)}(${["context_",...l.args.map(f=>(0,h.ident)(f.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,h.capitalize)(l.name)}(${["context_",...l.args.map(f=>(0,h.ident)(f.name))].join(", ")});\n ${(0,h.encodeType)(l.returnType,"result_",`"${l.name}().ret"`).replace(/\n/gu,"\n ")}`,r+="\n return;\n }"}r+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const l of d.structTypes)r+=(0,h.generateStruct)(l);for(const l of d.enumTypes)r+=(0,h.generateEnum)(l);r+=`\n public string GetAstJson() => @"${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const l of d.errors)r+=`\n public class ${l.name}Exception : SdkgenException\n {\n public ${l.name}Exception(string message, Exception? inner = null) : base("${l.name}", message, inner) { }\n }\n`;return r+="\n}\n",r}},4510:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateEnum=o.generateStruct=o.encodeType=o.decodeType=o.generateTypeName=o.capitalize=o.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 r(v){return h.includes(v)?`@${v}`:v}function l(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 U=`${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)} ${U};\n ${p(v.base,b,T,U,P,!1).replace(/\n/gu,"\n ")}\n ${S} = ${U};\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}`)}}o.ident=r,o.capitalize=l,o.generateTypeName=f,o.decodeType=p,o.encodeType=m,o.generateStruct=function u(v){return`\n public class ${v.name}\n {${v.fields.map(b=>`\n public ${f(b.type)} ${l(b.name)};`).join("")}\n public ${v.name}(${v.fields.map(b=>`${f(b.type)} ${r(b.name)}`).join(", ")})\n {${v.fields.map(b=>`\n ${l(b.name)} = ${r(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)} ${r(b.name)};\n ${p(b.type,`${b.name}Json_`,`$"{path_}.${b.name}"`,r(b.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${v.name}(${v.fields.map(b=>r(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_.${l(b.name)}`,`$"{path_}.${b.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},o.generateEnum=function _(v){return`\n public enum ${v.name}\n {${v.values.map(({value:b})=>`\n ${l(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}.${l(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}.${l(b)})\n {\n resultWriter_.WriteStringValue("${b}");\n }`).join("")}\n }\n`}},7179:function(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(3905),o)},1911:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateDartClientSource=void 0;const n=a(6676),h=a(5235);o.generateDartClientSource=function y(d){let r="";r+="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 l of d.enumTypes)r+=(0,h.generateEnum)(l),r+="\n";for(const l of d.structTypes)r+=(0,h.generateClass)(l),r+="\n";for(const l of d.errors)r+=(0,h.generateErrorClass)(l),r+="\n";r+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl) : super(baseUrl, _typeTable, _fnTable, _errTable);\n${d.operations.filter(l=>l.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(l=>`\n ${l.returnType instanceof n.VoidPrimitiveType?"Future<void> ":`Future<${(0,h.generateTypeName)(l.returnType)}> `}${l.name}(${0===l.args.length?"":`{${l.args.map(f=>`${f.type instanceof n.OptionalType?"":"required "}${(0,h.generateTypeName)(f.type)} ${(0,h.mangle)(f.name)}`).join(", ")}}`}) async { ${l.returnType instanceof n.VoidPrimitiveType?"":"return "}${(0,h.cast)(`await makeRequest('${l.name}', {${l.args.map(f=>`'${f.name}': ${(0,h.mangle)(f.name)}`).join(", ")}})`,l.returnType)}; }`).join("")}\n}\n\n`,r+="var _typeTable = {\n";for(const l of d.structTypes){r+=` '${l.name}': StructTypeDescription(\n`,r+=` ${l.name},\n`,r+=" {\n";for(const f of l.fields)r+=` '${f.name}': '${f.type.name}',\n`;r+=" },\n",r+=` (Map fields) => ${l.name}(\n`;for(const f of l.fields)r+=` ${(0,h.mangle)(f.name)}: ${(0,h.cast)(`fields['${f.name}']`,f.type)},\n`;r+=" ),\n",r+=` (${l.name} obj) => ({\n`;for(const f of l.fields)r+=` '${f.name}': obj.${(0,h.mangle)(f.name)},\n`;r+=" }),\n",r+=" ),\n"}for(const l of d.enumTypes)r+=` '${l.name}': EnumTypeDescription(${l.name}, ${l.name}.values, [\n ${l.values.map(f=>`'${f.value}'`).join(",\n ")}\n ]),\n`;r+="};\n\n",r+="var _fnTable = {\n";for(const l of d.operations){r+=` '${l.name}': FunctionDescription('${l.returnType.name}', {\n`;for(const f of l.args)r+=` '${f.name}': '${f.type.name}',\n`;r+=" }),\n"}r+="};\n\n",r+="var _errTable = {\n";for(const l of d.errors)r+=` '${l.name}': SdkgenErrorDescription('${l.dataType.name}', (msg, data) => ${l.name}(msg${l.dataType instanceof n.VoidPrimitiveType?"":", data"})),\n`;return r+="};\n",r}},5235:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateClass=o.cast=o.generateErrorClass=o.generateTypeName=o.generateEnum=o.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}`)}}o.mangle=h,o.generateEnum=function y(v){return`enum ${v.name} {\n ${v.values.map(b=>b.value).join(",\n ")}\n}\n`},o.generateTypeName=d,o.generateErrorClass=function r(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`},o.cast=function l(v,b){return b instanceof n.OptionalType?`${v} == null ? null : ${l(v,b.base)}`:b instanceof n.ArrayType?`(${v} as List).map((e) => ${l("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)}`},o.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(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(1911),o)},196:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateFSharpServerSource=void 0;const n=a(6676),h=a(8735);o.generateFSharpServerSource=function y(d){let r="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 l of d.errors)r+=`\ntype ${l.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${l.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${l.name}", message, inner)\n }\n`;for(const l of d.enumTypes)r+=`\n${(0,h.generateEnum)(l)}\n`;for(const l of d.structTypes)r+=`\n${(0,h.generateStruct)(l)}\n`;r+="\ntype Api() =";for(const l of d.operations){const f=l.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(l.returnType)}>`,p=l.args.length>0?`{| ${l.args.map(m=>`${m.name}: ${(0,h.generateTypeName)(m.type)};`).join("")} |} ->`:"";r+=`\n member val ${(0,h.capitalize)(l.name)}: Context -> ${p} Task${f} =\n fun _ -> (raise (FatalException("Function '${l.name}' not implemented.")))\n with get, set\n `}r+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const l of d.operations){r+=`\n | ${JSON.stringify(l.name)} ->`;for(const f of l.args)r+=`\n let ${f.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(f.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${l.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_`,`"${l.name}().args.${f.name}"`,(0,h.ident)(f.name)).replace(/\n/gu,"\n ")}`;r+=l.returnType instanceof n.VoidPrimitiveType?`\n\n do! (__.${(0,h.capitalize)(l.name)} context_ ${l.args.length>0?"{|":""} ${l.args.map(f=>`${f.name} = ${(0,h.ident)(f.name)}`).join("; ")} ${l.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,h.capitalize)(l.name)} context_ ${l.args.length>0?"{|":""} ${l.args.map(f=>`${f.name} = ${(0,h.ident)(f.name)}`).join("; ")} ${l.args.length>0?"|}":""})\n ${(0,h.encodeType)(l.returnType,"result_",`"${l.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return r+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",r+=`\n member __.GetAstJson() = """${JSON.stringify((0,n.astToJson)(d),null,4).replace(/\n/gu,"\n ")}""";`,r}},8735:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateEnum=o.generateStruct=o.encodeType=o.decodeType=o.generateTypeName=o.capitalize=o.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 r(v){return h.includes(v)?`${v}'`:v}function l(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}`)}}o.ident=r,o.capitalize=l,o.generateTypeName=f,o.decodeType=p,o.encodeType=m,o.generateStruct=function u(v){return`\ntype ${v.name} = {\n ${v.fields.map(b=>`${l(b.name)}: ${f(b.type)}`).join(";\n ")}\n} with\n static member Create (${v.fields.map(b=>`${r(b.name)}: ${f(b.type)}`).join(", ")}): ${v.name} =\n { ${v.fields.map(b=>`${l(b.name)} = ${r(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 ${r(b.name)} =\n ${p(b.type,`${b.name}Json_`,`$"{path_}.${b.name}"`,r(b.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${v.fields.map(b=>`${l(b.name)} = ${r(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_.${l(b.name)}`,`$"{path_}.${b.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},o.generateEnum=function _(v){return`\ntype ${v.name} =\n ${v.values.map(({value:b})=>`| ${l(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}.${l(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}.${l(b)} -> resultWriter_.WriteStringValue("${b}")`).join("\n ")}\n\n`}},2863:function(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(196),o)},9409:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateAndroidClientSource=void 0;const n=a(6676),h=a(7250);o.generateAndroidClientSource=function y(d,r){let l='@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)l+=` ${(0,h.generateEnum)(m)}`,l+="\n";l+=" open class Error(val message: String? = null)\n",l+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const m of d.structTypes)l+=` ${(0,h.generateClass)(m)}\n`;const f=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);f.push(p.name),l+=` ${(0,h.generateErrorClass)(p)}`;for(const m of d.errors)l+=` ${(0,h.generateErrorClass)(m)}`,f.push(m.name);return f.length>0&&(l+=`\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`),l+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",l+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>{let u="";const _=[];_.push("timeoutMillis: Long? = null"),r&&_.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`,r&&(u+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),u+=" return@async response\n",u+=" }\n",u}).join("\n"),l+='\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',l+="}\n",l}},7250:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateErrorClass=o.generateClass=o.getAnnotation=o.generateEnum=o.generateJsonAddRepresentation=o.mangle=o.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 l(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:_+=l(m.base)}return _}o.generateKotlinTypeName=h,o.mangle=y,o.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}`)}},o.generateEnum=function r(m){let u="@Parcelize \n";return u+=` enum class ${m.name} : Parcelable { ${m.values.map(_=>y(_.value)).join(", ")} }\n`,u},o.getAnnotation=l,o.generateClass=function f(m){let u="@Parcelize\n";return u+=` data class ${m.name}(\n${m.fields.map(_=>{let v=l(_.type,_.name);return v+=` var ${y(_.name)}: ${h(_.type)}${_.type.constructor===n.OptionalType?" = null":""}`,v}).join(",\n")}\n ) : Parcelable\n`,u},o.generateErrorClass=function p(m){return`class ${m.name}(message: String) : Error(message)\n`}},7402:function(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(9409),o)},1942:function(W,o,a){"use strict";var n=this&&this.__rest||function(ye,Oe){var L={};for(var ee in ye)Object.prototype.hasOwnProperty.call(ye,ee)&&Oe.indexOf(ee)<0&&(L[ee]=ye[ee]);if(null!=ye&&"function"==typeof Object.getOwnPropertySymbols){var Me=0;for(ee=Object.getOwnPropertySymbols(ye);Me<ee.length;Me++)Oe.indexOf(ee[Me])<0&&Object.prototype.propertyIsEnumerable.call(ye,ee[Me])&&(L[ee[Me]]=ye[ee[Me]])}return L};Object.defineProperty(o,"__esModule",{value:!0}),o.AstRoot=o.FunctionOperation=o.TypeDefinition=o.StructType=o.TypeReference=o.Spread=o.Field=o.EnumType=o.EnumValue=o.ArrayType=o.OptionalType=o.JsonPrimitiveType=o.XmlPrimitiveType=o.Base64PrimitiveType=o.HtmlPrimitiveType=o.HexPrimitiveType=o.UuidPrimitiveType=o.UrlPrimitiveType=o.EmailPrimitiveType=o.CnpjPrimitiveType=o.CpfPrimitiveType=o.MoneyPrimitiveType=o.VoidPrimitiveType=o.BytesPrimitiveType=o.BoolPrimitiveType=o.DateTimePrimitiveType=o.DatePrimitiveType=o.BigIntPrimitiveType=o.FloatPrimitiveType=o.UIntPrimitiveType=o.IntPrimitiveType=o.StringPrimitiveType=o.PrimitiveType=o.HiddenAnnotation=o.RestAnnotation=o.ArgDescriptionAnnotation=o.ThrowsAnnotation=o.DescriptionAnnotation=o.Annotation=o.ErrorNode=o.Type=o.AstNode=void 0;const h=a(9037);class y{constructor(){this.location=new h.TokenLocation,Object.defineProperty(this,"location",{enumerable:!1})}at(Oe){return this.location=Oe.location,this}atLocation(Oe){return this.location=Oe,this}}o.AstNode=y;class d extends y{toJSON(){const Oe=Object.assign({},this);return n(Oe,["name"])}}o.Type=d,o.ErrorNode=class r extends y{constructor(Oe,L){super(),this.name=Oe,this.dataType=L}};class l extends y{}o.Annotation=l,o.DescriptionAnnotation=class f extends l{constructor(Oe){super(),this.text=Oe}},o.ThrowsAnnotation=class p extends l{constructor(Oe){super(),this.error=Oe}},o.ArgDescriptionAnnotation=class m extends l{constructor(Oe,L){super(),this.argName=Oe,this.text=L}},o.RestAnnotation=class u extends l{constructor(Oe,L,ee,Me,Ge,Ke){super(),this.method=Oe,this.path=L,this.pathVariables=ee,this.queryVariables=Me,this.headers=Ge,this.bodyVariable=Ke}},o.HiddenAnnotation=class _ extends l{};class v extends d{toJSON(){return this.name}}o.PrimitiveType=v,o.StringPrimitiveType=class b extends v{constructor(){super(...arguments),this.name="string"}},o.IntPrimitiveType=class T extends v{constructor(){super(...arguments),this.name="int"}},o.UIntPrimitiveType=class S extends v{constructor(){super(...arguments),this.name="uint"}},o.FloatPrimitiveType=class P extends v{constructor(){super(...arguments),this.name="float"}},o.BigIntPrimitiveType=class I extends v{constructor(){super(...arguments),this.name="bigint"}},o.DatePrimitiveType=class U extends v{constructor(){super(...arguments),this.name="date"}},o.DateTimePrimitiveType=class J extends v{constructor(){super(...arguments),this.name="datetime"}},o.BoolPrimitiveType=class Q extends v{constructor(){super(...arguments),this.name="bool"}},o.BytesPrimitiveType=class q extends v{constructor(){super(...arguments),this.name="bytes"}},o.VoidPrimitiveType=class V extends v{constructor(){super(...arguments),this.name="void"}},o.MoneyPrimitiveType=class oe extends v{constructor(){super(...arguments),this.name="money"}},o.CpfPrimitiveType=class ce extends v{constructor(){super(...arguments),this.name="cpf"}},o.CnpjPrimitiveType=class ge extends v{constructor(){super(...arguments),this.name="cnpj"}},o.EmailPrimitiveType=class De extends v{constructor(){super(...arguments),this.name="email"}},o.UrlPrimitiveType=class We extends v{constructor(){super(...arguments),this.name="url"}},o.UuidPrimitiveType=class Y extends v{constructor(){super(...arguments),this.name="uuid"}},o.HexPrimitiveType=class ue extends v{constructor(){super(...arguments),this.name="hex"}},o.HtmlPrimitiveType=class $ extends v{constructor(){super(...arguments),this.name="html"}},o.Base64PrimitiveType=class fe extends v{constructor(){super(...arguments),this.name="base64"}},o.XmlPrimitiveType=class me extends v{constructor(){super(...arguments),this.name="xml"}},o.JsonPrimitiveType=class _e extends v{constructor(){super(...arguments),this.name="json"}},o.OptionalType=class Xe extends d{constructor(Oe){super(),this.base=Oe}get name(){return`${this.base.name}?`}},o.ArrayType=class dt extends d{constructor(Oe){super(),this.base=Oe}get name(){return`${this.base.name}[]`}},o.EnumValue=class it extends y{constructor(Oe){super(),this.value=Oe,this.annotations=[],this.struct=null}},o.EnumType=class st extends d{constructor(Oe){super(),this.values=Oe}get hasStructValues(){return this.values.some(Oe=>null!==Oe.struct)}},o.Field=class Ye extends y{constructor(Oe,L,ee=!1){super(),this.name=Oe,this.type=L,this.secret=ee,this.annotations=[]}},o.Spread=class ut extends y{constructor(Oe){super(),this.typeReference=Oe}},o.TypeReference=class Ne extends d{constructor(Oe){super(),this.name=Oe}},o.StructType=class qe extends d{constructor(Oe){super(),this.fieldsAndSpreads=Oe,this.fields=[]}},o.TypeDefinition=class ke extends y{constructor(Oe,L){super(),this.name=Oe,this.type=L,this.annotations=[]}},o.FunctionOperation=class Qe extends y{constructor(Oe,L,ee){super(),this.name=Oe,this.fieldsAndSpreads=L,this.returnType=ee,this.annotations=[],this.args=[]}},o.AstRoot=class ht{constructor(Oe=[],L=[],ee=[]){this.typeDefinitions=Oe,this.operations=L,this.errors=ee,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},9747:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.compatibilityIssues=void 0;const n=a(1942);function h(r,l,f,p){var m,u;if(f instanceof n.TypeReference)h(r,l,f.type,p);else if(p instanceof n.TypeReference)h(r,l,f,p.type);else if(f instanceof n.OptionalType||!(p instanceof n.OptionalType))if(f instanceof n.OptionalType&&p instanceof n.OptionalType)h(r,l,f.base,p.base);else{if(f instanceof n.OptionalType&&!(p instanceof n.OptionalType))return l.push(`${r} was optional, but now it isn't. If the client sends a null, it will be invalid. Add the optional annotation back.`),void h(r,l,f.base,p);if(f instanceof n.ArrayType&&p instanceof n.ArrayType)h(r,l,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(`${r}.${v.name}`,l,v.type,_.type);else{if(_.type instanceof n.OptionalType)continue;l.push(`${r}.${_.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(`${r}.${_.value}`,l,null!==(m=_.struct)&&void 0!==m?m:new n.StructType([]),null!==(u=v.struct)&&void 0!==u?u:new n.StructType([])):l.push(`The enum at ${r} used to accept the value "${_.value}" that doesn't exist now. Clients that send it will fail.`)}return}f.constructor.name!==p.constructor.name&&l.push(`${r} was ${f.name} and now it is ${p.name}. They are not compatible.`)}}else h(r,l,f,p.base)}function y(r,l,f,p){var m,u;if(f instanceof n.TypeReference)y(r,l,f.type,p);else if(p instanceof n.TypeReference)y(r,l,f,p.type);else if(!(f instanceof n.OptionalType)||p instanceof n.OptionalType)if(f instanceof n.OptionalType&&p instanceof n.OptionalType)y(r,l,f.base,p.base);else{if(!(f instanceof n.OptionalType)&&p instanceof n.OptionalType)return l.push(`${r} wasn't optional, but now it is. If the client receives a null, it will crash. Remove the optional annotation.`),void y(r,l,f,p.base);if(f instanceof n.ArrayType&&p instanceof n.ArrayType)y(r,l,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(`${r}.${_.name}`,l,_.type,v.type);else{if(_.type instanceof n.OptionalType)continue;l.push(`${r}.${_.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(`${r}.${_.value}`,l,null!==(m=v.struct)&&void 0!==m?m:new n.StructType([]),null!==(u=_.struct)&&void 0!==u?u:new n.StructType([])):l.push(`The enum at ${r} now has the value "${_.value}" that didn't exist before. Client will crash if it receives it`)}return}f.constructor.name!==p.constructor.name&&l.push(`${r} was ${f.name} and now it is ${p.name}. They are not compatible.`)}}else y(r,l,f.base,p)}o.compatibilityIssues=function d(r,l){const f=[];for(const p of r.operations){const m=l.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 r.errors){const m=l.errors.find(u=>u.name===p.name);!m||y(`${p.name}.data`,f,p.dataType,m.dataType)}return f}},6676:function(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(d,r,l,f){void 0===f&&(f=l);var p=Object.getOwnPropertyDescriptor(r,l);(!p||("get"in p?!r.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return r[l]}}),Object.defineProperty(d,f,p)}:function(d,r,l,f){void 0===f&&(f=l),d[f]=r[l]}),h=this&&this.__exportStar||function(d,r){for(var l in d)"default"!==l&&!Object.prototype.hasOwnProperty.call(r,l)&&n(r,d,l)};Object.defineProperty(o,"__esModule",{value:!0}),o.jsonToAst=o.astToJson=void 0,h(a(1942),o),h(a(9747),o);var y=a(1557);Object.defineProperty(o,"astToJson",{enumerable:!0,get:function(){return y.astToJson}}),Object.defineProperty(o,"jsonToAst",{enumerable:!0,get:function(){return y.jsonToAst}}),h(a(8053),o),h(a(2701),o),h(a(9037),o)},1557:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.jsonToAst=o.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 r(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}`)}}o.astToJson=function l(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:U}of p.structTypes){if(I in b)throw new Error(`Duplicate struct type ${I}`);b[I]={};const J=b[I];for(const Q of U){J[Q.name]=T(Q.type);for(const q of Q.annotations)if(q instanceof n.DescriptionAnnotation){const V=`type.${I}.${Q.name}`;null!==(m=v[V])&&void 0!==m||(v[V]=[]),v[V].push(d(q))}}}for(const{name:I,values:U}of p.enumTypes){if(I in b)throw new Error(`Duplicate enum type ${I}`);b[I]=U.map(J=>J.struct?[J.value,J.struct.name]:J.value)}for(const{name:I,type:U}of p.typeDefinitions)U instanceof n.StructType||U instanceof n.EnumType||(b[I]=T(U));const S={};for(const I of p.operations){const U={};for(const J of I.args){U[J.name]=T(J.type);for(const Q of J.annotations)if(Q instanceof n.DescriptionAnnotation){const q=`fn.${I.name}.${J.name}`;null!==(u=v[q])&&void 0!==u||(v[q]=[]),v[q].push(d(Q))}}S[I.name]={args:U,ret:T(I.returnType)};for(const J of I.annotations){const Q=`fn.${I.name}`;null!==(_=v[Q])&&void 0!==_||(v[Q]=[]),v[Q].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}},o.jsonToAst=function f(p){var m,u;const _=[],v=[],b=[];function T(I,U){var J;if("string"==typeof I){const q=y.primitiveToAstClass.get(I);return q?new q: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(q=>{if(Array.isArray(q)){const[V,oe]=q,ce=new n.EnumValue(V);return b.push([ce,oe]),ce}return new n.EnumValue(q)}));const Q=[];for(const q of Object.keys(I)){const V=new n.Field(q,T(I[q]));if(U){const oe=`type.${U}.${q}`;for(const ce of null!==(J=p.annotations[oe])&&void 0!==J?J:[])V.annotations.push(r(ce))}Q.push(V)}return new n.StructType(Q)}for(const[I,U]of Object.entries(p.typeTable)){const J=T(U,I);v.push(new n.TypeDefinition(I,J))}for(const[I,U]of Object.entries(p.functionTable)){const J=Object.keys(U.args).map(V=>{var oe;const ce=new n.Field(V,T(U.args[V])),ge=`fn.${I}.${V}`;for(const De of null!==(oe=p.annotations[ge])&&void 0!==oe?oe:[])ce.annotations.push(r(De));return ce}),Q=new n.FunctionOperation(I,J,T(U.ret)),q=`fn.${I}`;for(const V of null!==(m=p.annotations[q])&&void 0!==m?m:[])Q.annotations.push(r(V));_.push(Q)}for(const[I,U]of b){const J=null===(u=v.find(Q=>Q.name===U))||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[U,J]=I;return new n.ErrorNode(U,T(J))}return new n.ErrorNode(I,new n.VoidPrimitiveType)}),P=new n.AstRoot(v,_,S);return(0,h.analyse)(P),P}},8053:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Lexer=o.LexerError=void 0;const n=a(9037);class h extends Error{}o.LexerError=h;class y{constructor(r,l="-"){this.source=r,this.filename=l,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 r=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(),r=new n.CurlyOpenSymbolToken;break;case"}":this.nextChar(),r=new n.CurlyCloseSymbolToken;break;case"(":this.nextChar(),r=new n.ParensOpenSymbolToken;break;case")":this.nextChar(),r=new n.ParensCloseSymbolToken;break;case"?":this.nextChar(),r=new n.OptionalSymbolToken;break;case":":this.nextChar(),r=new n.ColonSymbolToken;break;case"=":this.nextChar(),r=new n.EqualSymbolToken;break;case"!":this.nextChar(),r=new n.ExclamationMarkSymbolToken;break;case",":this.nextChar(),r=new n.CommaSymbolToken;break;case"[":"]"===this.nextChar()&&(this.nextChar(),r=new n.ArraySymbolToken);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),r=new n.SpreadSymbolToken);break;case"@":{let l="\\",f=this.startPos+1;for(;"\\"===l[l.length-1];){for(l=l.slice(0,l.length-1).trim();!["\0","\n"].includes(this.nextChar()););l=`${l} ${this.source.substring(f,this.pos).trim()}`.trim(),f=this.pos+1}r=new n.AnnotationToken(l.trim());break}case'"':{const l=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":l.push("\n");break;case"t":l.push("\t");break;default:l.push(this.currentChar())}break;case'"':this.nextChar(),r=new n.StringLiteralToken(l.join(""));break e;default:l.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const l=this.source.substring(this.startPos,this.pos);switch(l){case"error":r=new n.ErrorKeywordToken;break;case"enum":r=new n.EnumKeywordToken;break;case"type":r=new n.TypeKeywordToken;break;case"import":r=new n.ImportKeywordToken;break;case"fn":r=new n.FnKeywordToken;break;case"true":r=new n.TrueKeywordToken;break;case"false":r=new n.FalseKeywordToken;break;default:r=y.PRIMITIVES.has(l)?new n.PrimitiveTypeToken(l):new n.IdentifierToken(l)}}}if(null!==r)return r.location.filename=this.filename,r.location.line=this.startLine,r.location.column=this.startColumn,r;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}`)}}o.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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Parser=o.ParserError=void 0;const n=a(1942),h=a(8053),y=a(7145),d=a(6758),r=a(9037),l=a(6569);class f extends Error{}o.ParserError=f,o.Parser=class p{constructor(u){this.token=null,this.annotations=[],this.warnings=[],this.readFileSync=()=>{throw"Not implemented"};try{this.readFileSync=Object(function(){var b=new Error("Cannot find module 'fs'");throw b.code="MODULE_NOT_FOUND",b}())}catch(v){}const _=Array.isArray(u)?[...u].reverse():[u];this.lexers=_.map(v=>v instanceof h.Lexer?v:new h.Lexer(this.readFileSync(v).toString(),v)),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 r.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===r.IdentifierToken){const _=this.token.maybeAsIdentifier();if(_ instanceof r.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(r.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 r.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(r.TypeKeywordToken);this.nextToken();const _=this.expect(r.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(r.ErrorKeywordToken);this.nextToken();const _=this.expect(r.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 r.CurlyOpenSymbolToken||this.token instanceof r.EnumKeywordToken||this.token instanceof r.IdentifierToken||this.token instanceof r.PrimitiveTypeToken)&&(b=this.parseType()),new n.ErrorNode(v,b).at(u)}parseOperation(){let{annotations:u}=this;this.annotations=[],this.expect(r.FnKeywordToken),this.nextToken();const _=this.expect(r.IdentifierToken).value;this.nextToken(),this.expect(r.ParensOpenSymbolToken),this.nextToken();const v=new Set,b=[];let S,T=!1;for(;!T;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:U=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=U},IdentifierToken:()=>{const U=this.parseField();if(v.has(U.name))throw new f(`Cannot redeclare argument '${U.name}'`);v.add(U.name),b.push(U),this.multiExpect({ParensCloseSymbolToken:J=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=J},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const U=this.expect(r.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(U.value[0]))throw new f(`Expected a type but found ${JSON.stringify(U.value)} at ${U.location}`);b.push(new n.Spread(new n.TypeReference(U.value).at(U)).at(U)),this.multiExpect({ParensCloseSymbolToken:J=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),T=!0,S=J},CommaSymbolToken:()=>this.nextToken()})}});for(const U of u)if(U instanceof n.ArgDescriptionAnnotation){const J=b.find(Q=>Q instanceof n.Field&&Q.name===U.argName);if(!J)throw new f(`Argument '${U.argName}' not found, at ${U.location}`);J.annotations.push(new n.DescriptionAnnotation(U.text).atLocation(U.location))}u=u.filter(U=>!(U instanceof n.ArgDescriptionAnnotation));let P=(new n.VoidPrimitiveType).at(S);this.token instanceof r.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(r.EnumKeywordToken);this.nextToken(),this.expect(r.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 r.ParensOpenSymbolToken))return;this.nextToken();const S=new Set,P=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof r.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 r.CommaSymbolToken))break;this.nextToken()}T.struct=new n.StructType(P).atLocation(T.location),this.expect(r.ParensCloseSymbolToken),this.nextToken()}});return _}parseField(){const u=this.expect(r.IdentifierToken);this.nextToken(),this.expect(r.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 r.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(r.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(r.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(r.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=l.primitiveToAstClass.get(_.value);if(v)return(new v).at(_);throw new f(`BUG! Should handle primitive ${_.value}`)}});for(;this.token instanceof r.ArraySymbolToken||this.token instanceof r.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:_=>u=new n.ArrayType(u).at(_),OptionalSymbolToken:_=>u=new n.OptionalType(u).at(_)}),this.nextToken();return u}}},7145:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.parseRestAnnotation=void 0;const n=a(1942);function d(l){var f;const p=/\{(?<name>\w+)\}/gu,m=[];let u;for(;null!==(u=p.exec(l));)(null===(f=u.groups)||void 0===f?void 0:f.name)&&m.push(u.groups.name);return m}o.parseRestAnnotation=function r(l){const f=l.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(l){var f;const p=/\[header (?<header>[^()<>@,;:\\"/[\]?={}\s\t]+): \{(?<name>\w+)\}\]/gu,m=new Map;let u;for(;null!==(u=p.exec(l));)(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(l){var f;const p=/\[body \{(?<name>\w+)\}\]/u.exec(l);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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckMultipleDeclarationVisitor=void 0;const n=a(1942),h=a(3154);o.CheckMultipleDeclarationVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(r){if(r instanceof n.TypeDefinition){const l=this.nameToType.get(r.name);if(l&&JSON.stringify(l)!==JSON.stringify(r.type))throw new h.SemanticError(`Type '${r.name}' at ${r.location} is defined multiple times (also at ${l.location})`);this.nameToType.set(r.name,r.type)}super.visit(r)}}},6153:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.GiveStructAndEnumNamesTransformer=void 0;const n=a(1942),h=a(9989),y=a(3154);o.GiveStructAndEnumNamesTransformer=class d extends h.Transformer{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(l){if(l instanceof n.TypeDefinition)return this.path=[l.name],super.transform(l);if(l instanceof n.ErrorNode)return this.path=[`${l.name}Data`],super.transform(l);if(l instanceof n.FunctionOperation)return this.path=[l.name],super.transform(l);if(l instanceof n.Field)try{return this.path.push(l.name),super.transform(l)}finally{this.path.pop()}else{if(!(l instanceof n.EnumValue)){if(l instanceof n.StructType||l instanceof n.EnumType){l.name=this.path.map(p=>p[0].toUpperCase()+p.slice(1)).join("");const f=this.names.get(l.name);if(f){if(f.type.constructor!==l.constructor||JSON.stringify(f.type)!==JSON.stringify(l))throw new y.SemanticError(`The name of the type '${this.path.join(".")}' at ${l.location} will conflict with '${f.path.join(".")}' at ${f.type.location}`);return f.type}return this.names.set(l.name,{path:[...this.path],type:l}),super.transform(l)}return super.transform(l)}try{return this.path.push(l.value),super.transform(l)}finally{this.path.pop()}}}}},9471:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.MatchTypeDefinitionsVisitor=void 0;const n=a(1942),h=a(3154);o.MatchTypeDefinitionsVisitor=class y extends h.Visitor{visit(r){if(r instanceof n.TypeReference){const l=this.root.typeDefinitions.find(f=>f.name===r.name);if(void 0===l)throw new h.SemanticError(`Could not find type '${r.name}' at ${r.location}`);r.type=l.type}super.visit(r)}}},4612:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDontReturnSecretVisitor=void 0;const n=a(1942),h=a(3154);o.CheckDontReturnSecretVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(r){if(!this.visited.has(r))if(this.visited.add(r),r instanceof n.FunctionOperation)this.isInReturn=!0,this.visited.clear(),this.path.push(`${r.name}(...)`),this.visit(r.returnType),this.path.pop(),this.isInReturn=!1;else if(r instanceof n.TypeReference)this.visit(r.type);else if(r instanceof n.Field){if(this.path.push(r.name),this.isInReturn&&r.secret)throw new h.SemanticError(`Can't return a secret value at ${this.path.join(".")} at ${r.location}`);super.visit(r),this.path.pop()}else super.visit(r)}}},4978:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ExpandSpreadsVisitor=void 0;const n=a(1942),h=a(3154);o.ExpandSpreadsVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(r,l){const f=new Map;for(const p of l){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);_?r[_]=u:(f.set(u.name,r.length),r.push(u))}}}visit(r){if(r instanceof n.StructType){if(this.processed.has(r))return;this.processed.add(r)}super.visit(r),r instanceof n.StructType?(this.expandSpread(r.fields,r.fieldsAndSpreads),r.fieldsAndSpreads=[]):r instanceof n.FunctionOperation&&(this.expandSpread(r.args,r.fieldsAndSpreads),r.fieldsAndSpreads=[])}}},9866:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckEmptyStructOrEnumVisitor=void 0;const n=a(1942),h=a(3154);o.CheckEmptyStructOrEnumVisitor=class y extends h.Visitor{visit(r){if(super.visit(r),r instanceof n.EnumType&&0===r.values.length)throw new h.SemanticError(`Enum '${r.name}' at ${r.location} is empty`);if(r instanceof n.StructType&&0===r.fields.length)throw new h.SemanticError(`Struct '${r.name}' at ${r.location} is empty`)}}},4647:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateRecursiveTypes=void 0;const n=a(1942),h=a(3154);o.ValidateRecursiveTypes=class y extends h.Visitor{visit(r){if(super.visit(r),r instanceof n.TypeDefinition&&this.isRecursiveType(r,r.type)){if(!(r.type instanceof n.StructType||r.type instanceof n.EnumType))throw new h.SemanticError(`Type '${r.name}' at ${r.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(r,r.type))throw new h.SemanticError(`Type '${r.name}' at ${r.location} is infinitely recursive`)}}isRecursiveType(r,l){return l instanceof n.TypeReference?r.name===l.name:l instanceof n.ArrayType||l instanceof n.OptionalType?this.isRecursiveType(r,l.base):l instanceof n.StructType?l.fields.some(f=>this.isRecursiveType(r,f.type)):l instanceof n.EnumType&&l.values.some(f=>f.struct&&this.isRecursiveType(r,f.struct))}isInfinitelyRecursiveType(r,l){return l instanceof n.TypeReference?l.name===r.name:l instanceof n.StructType?l.fields.some(f=>this.isInfinitelyRecursiveType(r,f.type)):l instanceof n.EnumType&&l.values.every(f=>f.struct&&this.isInfinitelyRecursiveType(r,f.struct))}}},2060:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CollectStructAndEnumTypesVisitor=void 0;const n=a(1942),h=a(3154);o.CollectStructAndEnumTypesVisitor=class y extends h.Visitor{constructor(){super(...arguments),this.visited=new Set}visit(r){super.visit(r),!this.visited.has(r)&&(this.visited.add(r),r instanceof n.StructType?this.root.structTypes.push(r):r instanceof n.EnumType&&this.root.enumTypes.push(r))}}},4212:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateAnnotationsVisitor=void 0;const n=a(1942),h=a(3154);function d(l){return l instanceof n.TypeReference?d(l.type):l}o.ValidateAnnotationsVisitor=class r 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(!((l=d(_.type instanceof n.OptionalType?_.type.base:_.type))instanceof n.BoolPrimitiveType||l instanceof n.IntPrimitiveType||l instanceof n.UIntPrimitiveType||l instanceof n.BigIntPrimitiveType||l instanceof n.FloatPrimitiveType||l instanceof n.StringPrimitiveType||l instanceof n.DatePrimitiveType||l instanceof n.DateTimePrimitiveType||l instanceof n.MoneyPrimitiveType||l instanceof n.CpfPrimitiveType||l instanceof n.CnpjPrimitiveType||l instanceof n.UuidPrimitiveType||l instanceof n.HexPrimitiveType||l instanceof n.Base64PrimitiveType||l 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 l}}},6758:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.analyse=void 0;const n=a(1942),h=a(7629),y=a(6153),d=a(9471),r=a(4612),l=a(4978),f=a(9866),p=a(4647),m=a(2060),u=a(4212);o.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.GiveStructAndEnumNamesTransformer(v).process(),new d.MatchTypeDefinitionsVisitor(v).process(),new r.CheckDontReturnSecretVisitor(v).process(),new l.ExpandSpreadsVisitor(v).process(),new f.CheckEmptyStructOrEnumVisitor(v).process(),new p.ValidateRecursiveTypes(v).process(),new m.CollectStructAndEnumTypesVisitor(v).process(),new u.ValidateAnnotationsVisitor(v).process()}},9989:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Transformer=o.SemanticError=void 0;const n=a(1942);class h extends Error{}o.SemanticError=h,o.Transformer=class y{constructor(r){this.root=r}process(){this.root.errors=this.root.errors.map(r=>this.transform(r)),this.root.typeDefinitions=this.root.typeDefinitions.map(r=>this.transform(r)),this.root.operations=this.root.operations.map(r=>this.transform(r))}transform(r){return r instanceof n.FunctionOperation?(r.args=r.args.map(l=>this.transform(l)),r.fieldsAndSpreads=r.fieldsAndSpreads.map(l=>this.transform(l)),r.returnType=this.transform(r.returnType)):r instanceof n.Field||r instanceof n.TypeDefinition?r.type=this.transform(r.type):r instanceof n.StructType?(r.fields=r.fields.map(l=>this.transform(l)),r.fieldsAndSpreads=r.fieldsAndSpreads.map(l=>this.transform(l))):r instanceof n.EnumType?r.values=r.values.map(l=>this.transform(l)):r instanceof n.EnumValue?r.struct&&(r.struct=this.transform(r.struct)):r instanceof n.ArrayType||r instanceof n.OptionalType?r.base=this.transform(r.base):r instanceof n.ErrorNode?r.dataType=this.transform(r.dataType):r instanceof n.Spread&&(r.typeReference=this.transform(r.typeReference)),r}}},3154:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Visitor=o.SemanticError=void 0;const n=a(1942);class h extends Error{}o.SemanticError=h,o.Visitor=class y{constructor(r){this.root=r}process(){for(const r of this.root.errors)this.visit(r);for(const r of this.root.typeDefinitions)this.visit(r);for(const r of this.root.operations)this.visit(r)}visit(r){if(r instanceof n.FunctionOperation){for(const l of r.args)this.visit(l);for(const l of r.fieldsAndSpreads)this.visit(l);this.visit(r.returnType)}else if(r instanceof n.Field||r instanceof n.TypeDefinition)this.visit(r.type);else if(r instanceof n.StructType){for(const l of r.fields)this.visit(l);for(const l of r.fieldsAndSpreads)this.visit(l)}else if(r instanceof n.EnumType)for(const l of r.values)this.visit(l);else r instanceof n.EnumValue?r.struct&&this.visit(r.struct):r instanceof n.ArrayType||r instanceof n.OptionalType?this.visit(r.base):r instanceof n.ErrorNode?this.visit(r.dataType):r instanceof n.Spread&&this.visit(r.typeReference)}}},9037:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.PrimitiveTypeToken=o.FalseKeywordToken=o.TrueKeywordToken=o.ErrorKeywordToken=o.FnKeywordToken=o.EnumKeywordToken=o.TypeKeywordToken=o.ImportKeywordToken=o.AnnotationToken=o.SpreadSymbolToken=o.CommaSymbolToken=o.ArraySymbolToken=o.OptionalSymbolToken=o.ColonSymbolToken=o.ParensCloseSymbolToken=o.ParensOpenSymbolToken=o.CurlyCloseSymbolToken=o.CurlyOpenSymbolToken=o.ExclamationMarkSymbolToken=o.EqualSymbolToken=o.StringLiteralToken=o.IdentifierToken=o.Token=o.TokenLocation=void 0;class a{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}o.TokenLocation=a;class n{constructor(ge=""){this.value=ge,this.location=new a,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const ge=this.constructor.name.replace("Token","");return""===this.value?ge:`${ge}(${JSON.stringify(this.value)})`}}o.Token=n;class h extends n{}o.IdentifierToken=h,o.StringLiteralToken=class y extends n{},o.EqualSymbolToken=class d extends n{},o.ExclamationMarkSymbolToken=class r extends n{},o.CurlyOpenSymbolToken=class l extends n{},o.CurlyCloseSymbolToken=class f extends n{},o.ParensOpenSymbolToken=class p extends n{},o.ParensCloseSymbolToken=class m extends n{},o.ColonSymbolToken=class u extends n{},o.OptionalSymbolToken=class _ extends n{},o.ArraySymbolToken=class v extends n{},o.CommaSymbolToken=class b extends n{},o.SpreadSymbolToken=class T extends n{},o.AnnotationToken=class S extends n{},o.ImportKeywordToken=class P extends n{maybeAsIdentifier(){return new h("import")}},o.TypeKeywordToken=class I extends n{maybeAsIdentifier(){return new h("type")}},o.EnumKeywordToken=class U extends n{maybeAsIdentifier(){return new h("enum")}},o.FnKeywordToken=class J extends n{maybeAsIdentifier(){return new h("fn")}},o.ErrorKeywordToken=class Q extends n{maybeAsIdentifier(){return new h("error")}},o.TrueKeywordToken=class q extends n{maybeAsIdentifier(){return new h("true")}},o.FalseKeywordToken=class V extends n{maybeAsIdentifier(){return new h("false")}},o.PrimitiveTypeToken=class oe extends n{maybeAsIdentifier(){return new h(this.value)}}},6569:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.primitiveToAstClass=void 0;const n=a(1942);o.primitiveToAstClass=new Map,o.primitiveToAstClass.set("string",n.StringPrimitiveType),o.primitiveToAstClass.set("int",n.IntPrimitiveType),o.primitiveToAstClass.set("uint",n.UIntPrimitiveType),o.primitiveToAstClass.set("date",n.DatePrimitiveType),o.primitiveToAstClass.set("datetime",n.DateTimePrimitiveType),o.primitiveToAstClass.set("float",n.FloatPrimitiveType),o.primitiveToAstClass.set("bigint",n.BigIntPrimitiveType),o.primitiveToAstClass.set("bool",n.BoolPrimitiveType),o.primitiveToAstClass.set("bytes",n.BytesPrimitiveType),o.primitiveToAstClass.set("money",n.MoneyPrimitiveType),o.primitiveToAstClass.set("cpf",n.CpfPrimitiveType),o.primitiveToAstClass.set("cnpj",n.CnpjPrimitiveType),o.primitiveToAstClass.set("email",n.EmailPrimitiveType),o.primitiveToAstClass.set("html",n.HtmlPrimitiveType),o.primitiveToAstClass.set("url",n.UrlPrimitiveType),o.primitiveToAstClass.set("uuid",n.UuidPrimitiveType),o.primitiveToAstClass.set("hex",n.HexPrimitiveType),o.primitiveToAstClass.set("base64",n.Base64PrimitiveType),o.primitiveToAstClass.set("xml",n.XmlPrimitiveType),o.primitiveToAstClass.set("json",n.JsonPrimitiveType),o.primitiveToAstClass.set("void",n.VoidPrimitiveType)},5041:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppComponent=void 0;const n=a(655),h=a(3075),y=a(7179),d=a(1823),r=a(2863),l=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)),U=n.__importStar(a(5585)),J=n.__importStar(a(7423)),Q=n.__importStar(a(7238)),q=n.__importStar(a(4264)),V=n.__importStar(a(7822)),oe=n.__importStar(a(1451));function ce(Xe,dt){1&Xe&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275text(1,"Editor Avan\xe7ado"),u.\u0275\u0275elementContainerEnd())}function ge(Xe,dt){if(1&Xe&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"span",20),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&Xe){const it=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate1("\u25b6\xa0",it.function,"")}}function De(Xe,dt){if(1&Xe){const it=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"span",17),u.\u0275\u0275template(1,ce,2,0,"ng-container",18),u.\u0275\u0275template(2,ge,3,1,"ng-container",18),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"button",19),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(it);const Ye=u.\u0275\u0275nextContext().$implicit;return u.\u0275\u0275nextContext(2).closeTab(Ye)}),u.\u0275\u0275elementStart(4,"mat-icon"),u.\u0275\u0275text(5,"close"),u.\u0275\u0275elementEnd()()}if(2&Xe){const it=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275property("ngSwitch",it.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function We(Xe,dt){1&Xe&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-tab-editor"),u.\u0275\u0275elementContainerEnd())}function Y(Xe,dt){if(1&Xe&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"app-simple-call",21),u.\u0275\u0275elementContainerEnd()),2&Xe){const it=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275property("fn",it.function)}}function ue(Xe,dt){if(1&Xe&&(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,We,2,0,"ng-container",18),u.\u0275\u0275template(4,Y,2,1,"ng-container",18),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementEnd()),2&Xe){const it=dt.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitch",it.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","advanced"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","simple")}}function $(Xe,dt){if(1&Xe){const it=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"button",22),u.\u0275\u0275listener("click",function(){return u.\u0275\u0275restoreView(it),u.\u0275\u0275nextContext(2).addAdvancedTab()}),u.\u0275\u0275elementStart(1,"mat-icon"),u.\u0275\u0275text(2,"add_circle"),u.\u0275\u0275elementEnd()()}}function fe(Xe,dt){if(1&Xe&&(u.\u0275\u0275elementStart(0,"button",23)(1,"mat-icon"),u.\u0275\u0275text(2,"download"),u.\u0275\u0275elementEnd()()),2&Xe){u.\u0275\u0275nextContext(2);const it=u.\u0275\u0275reference(5);u.\u0275\u0275property("matMenuTriggerFor",it)}}function me(Xe,dt){if(1&Xe){const it=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"mat-tab-group",11),u.\u0275\u0275listener("selectedIndexChange",function(Ye){return u.\u0275\u0275restoreView(it),u.\u0275\u0275nextContext().selected.setValue(Ye)}),u.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),u.\u0275\u0275listener("runFunction",function(Ye){return u.\u0275\u0275restoreView(it),u.\u0275\u0275nextContext().addSimpleTab(Ye)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(3,ue,5,3,"mat-tab",14),u.\u0275\u0275elementStart(4,"mat-tab",15),u.\u0275\u0275template(5,$,3,0,"ng-template",16),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"mat-tab",15),u.\u0275\u0275template(7,fe,3,1,"ng-template",16),u.\u0275\u0275elementEnd()()}if(2&Xe){const it=u.\u0275\u0275nextContext();u.\u0275\u0275property("selectedIndex",it.selected.value),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngForOf",it.tabs)}}class _e{constructor(dt,it,st){this.sdkgen=dt,this.domSanitizer=it,this.matIconRegistry=st,this.selected=new h.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const Ye of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(Ye,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${Ye}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(dt=>{this.state=null!=dt?dt:void 0})}ngOnDestroy(){var dt;null===(dt=this.state$)||void 0===dt||dt.unsubscribe()}addSimpleTab(dt){this.tabs.push({id:this.tabIndex++,function:dt,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(dt){this.tabs.splice(this.tabs.indexOf(dt),1),this.selected.setValue(0)}downloadTarget(dt){if(!this.state)return;let it,st;switch(dt){case"typescript_nodeserver":it=(0,p.generateNodeServerSource)(this.state.astRoot),st="node-server.ts";break;case"typescript_nodeclient":it=(0,p.generateNodeClientSource)(this.state.astRoot),st="node-client.ts";break;case"typescript_web":it=(0,p.generateBrowserClientSource)(this.state.astRoot),st="web-client.ts";break;case"typescript_interfaces":it=(0,p.generateTypescriptInterfaces)(this.state.astRoot),st="interfaces.ts";break;case"flutter":it=(0,d.generateDartClientSource)(this.state.astRoot),st="flutter-client.dart";break;case"csharp_server":it=(0,y.generateCSharpServerSource)(this.state.astRoot),st="csharp-server.cs";break;case"fsharp_server":it=(0,r.generateFSharpServerSource)(this.state.astRoot),st="fsharp-server.fs";break;case"kotlin_android":it=(0,l.generateAndroidClientSource)(this.state.astRoot,!0),st="android-client.kt";break;case"kotlin_android_without_callbacks":it=(0,l.generateAndroidClientSource)(this.state.astRoot,!1),st="android-client-no-callbacks.kt";break;case"swift_ios":it=(0,f.generateSwiftClientSource)(this.state.astRoot,!1),st="ios-client.swift";break;case"rxswift_ios":it=(0,f.generateSwiftClientSource)(this.state.astRoot,!0),st="ios-client-rx.swift"}(0,m.saveAs)(new Blob([it],{type:"application/octet-stream"}),st)}}o.AppComponent=_e,_e.\u0275fac=function(dt){return new(dt||_e)(u.\u0275\u0275directiveInject(_.SdkgenService),u.\u0275\u0275directiveInject(v.DomSanitizer),u.\u0275\u0275directiveInject(b.MatIconRegistry))},_e.\u0275cmp=u.\u0275\u0275defineComponent({type:_e,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(dt,it){1&dt&&(u.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),u.\u0275\u0275template(2,me,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 it.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 it.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 it.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 it.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 it.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 it.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 it.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 it.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 it.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 it.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 it.downloadTarget("typescript_interfaces")}),u.\u0275\u0275element(44,"mat-icon",6),u.\u0275\u0275text(45,"Interfaces"),u.\u0275\u0275elementEnd()()),2&dt&&(u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",u.\u0275\u0275pipeBind1(3,1,it.sdkgen.state$)))},directives:[T.MonacoEditorComponent,S.TabNavComponent,P.NgIf,I.MatTabGroup,I.MatTab,U.TabHomeComponent,P.NgForOf,I.MatTabLabel,P.NgSwitch,P.NgSwitchCase,J.MatButton,Q.MatTooltip,b.MatIcon,q.TabEditorComponent,V.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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppModule=void 0;const n=a(655),h=a(6529),y=a(3075),d=a(7423),r=a(9417),l=a(508),f=a(2339),p=a(3293),m=a(1451),u=a(4999),_=a(3251),v=a(7238),b=a(2313),T=a(6360),S=a(107),P=a(1430),I=a(5109),U=a(2290),J=a(5041),Q=n.__importStar(a(5e3));n.__importStar(a(2290));class V{}o.AppModule=V,V.\u0275fac=function(ce){return new(ce||V)},V.\u0275mod=Q.\u0275\u0275defineNgModule({type:V,bootstrap:[J.AppComponent]}),V.\u0275inj=Q.\u0275\u0275defineInjector({providers:[{provide:S.MONACO_PATH,useValue:"assets/vs"}],imports:[[b.BrowserModule,y.FormsModule,y.ReactiveFormsModule,S.MonacoEditorModule,T.BrowserAnimationsModule,I.NgxJsonViewerModule,U.ToastrModule.forRoot(),P.AngularSplitModule,h.HttpClientModule,d.MatButtonModule,r.MatChipsModule,f.MatDialogModule,p.MatIconModule,m.MatMenuModule,l.MatRippleModule,u.MatTableModule,_.MatTabsModule,v.MatTooltipModule]]})},8495:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleComponent=void 0;const n=a(655),h=a(9972),y=n.__importStar(a(5e3)),d=n.__importStar(a(7423)),r=n.__importStar(a(3293)),l=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=[]}}o.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,r.MatIcon,l.NgForOf,l.NgClass,l.NgSwitch,l.NgSwitchCase,l.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:(W,o)=>{"use strict";var n;Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleItemType=void 0,(n=o.ConsoleItemType||(o.ConsoleItemType={})).INFO="info",n.ERROR="error",n.NETWORK="network"},4814:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.DialogAboutComponent=void 0;const n=a(655),h=a(4147),y=n.__importStar(a(5e3)),d=n.__importStar(a(2339)),r=n.__importStar(a(9417)),l=n.__importStar(a(7423)),f=n.__importStar(a(3293));class p{constructor(){this.version=h.version}}o.DialogAboutComponent=p,p.\u0275fac=function(u){return new(u||p)},p.\u0275cmp=y.\u0275\u0275defineComponent({type:p,selectors:[["app-dialog-about"]],decls:20,vars:3,consts:[["mat-dialog-title",""],[3,"selectable"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],["href","https://sdkgen.github.io/","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen/issues/new","rel","external noreferer","target","_blank","mat-stroked-button",""]],template:function(u,_){1&u&&(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,"p"),y.\u0275\u0275text(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(14,"a",4),y.\u0275\u0275text(15,"Documenta\xe7\xe3o"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(16,"a",5),y.\u0275\u0275text(17,"C\xf3digo-fonte"),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(18,"a",6),y.\u0275\u0275text(19,"Reportar um problema"),y.\u0275\u0275elementEnd()),2&u&&(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(_.version))},directives:[d.MatDialogTitle,r.MatChipList,r.MatChip,l.MatButton,d.MatDialogClose,f.MatIcon,l.MatAnchor],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}a[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}"]})},4211:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.FilterPipe=void 0;const h=a(655).__importStar(a(5e3));class y{transform(r,l){if(!r)return[];if(!l)return r;const f=l.toLocaleLowerCase();return r.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(f))}}o.FilterPipe=y,y.\u0275fac=function(r){return new(r||y)},y.\u0275pipe=h.\u0275\u0275definePipe({name:"appFilter",type:y,pure:!0})},7120:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ResponsiveService=void 0;const n=a(655),h=n.__importStar(a(5e3)),y=n.__importStar(a(5113));class d{constructor(l){this.observer=l}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)"])}}o.ResponsiveService=d,d.\u0275fac=function(l){return new(l||d)(h.\u0275\u0275inject(y.BreakpointObserver))},d.\u0275prov=h.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"})},9435:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getTypeDoc=o.getTypeLabels=o.getConstructorName=o.primitiveTypesExamples=o.primitiveTypes=void 0;const n=a(6676),h=a(6395);function y(l){switch(l.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 l.constructor.name}}o.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?."},o.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}']},o.getConstructorName=y,o.getTypeLabels=function d(l){const f=[];switch(l.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(l.base));break;case n.TypeReference:f.push(...d(l.type));break;case n.ArrayType:f.push("Array"),f.push(...d(l.base));break;case n.EnumType:f.push("Enum");break;default:console.error("No labels for",y(l))}return f},o.getTypeDoc=function r(l){var f,p,m;switch(l.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:o.primitiveTypes[y(l)],shortDescription:o.primitiveTypes[y(l)],examples:o.primitiveTypesExamples[y(l)]};case n.OptionalType:{const b=r(l.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 r(l.type);case n.ArrayType:{const b=r(l.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=l,_=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) ${l.fields.slice(0,3).map(b=>b.name).join(", ")}\u2026`,isStruct:!0,structFields:l.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(l.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(W,o=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 o.has(n.name)?{}:this.buildJsonObject(n.fields,new Set([...o,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 W.reduce((n,h)=>(n[h.name]=a(h.type),n),{})}getTypeScriptCode(W,o){return`await client.${W}(${JSON.stringify(o,null,2)});\n`}buildKotlinString(W,o=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,o+1)}\n${" ".repeat(o+1)})`;case parser_1.OptionalType:return"null";case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:o++;const h=a(n.base);return o--,`arrayOf(\n${" ".repeat(o+2)}${h},\n${" ".repeat(o+2)}${h}\n${" ".repeat(o+1)})`;case parser_1.EnumType:return`"${n.values[0].value}"`;default:return"<>()"}};return W.map(n=>`${" ".repeat(o+1)}${a(n.type)}`).join(",\n")}getKotlinCode(W,o){return 0===o.length?`client.${W}().await();`:`client.${W}(\n${this.buildKotlinString(o)}\n).await();`}getDartCode(W,o){return'print("todo");'}getSwiftCode(W,o){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:(W,o)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(o.toString())?clientInstance[o.toString()]:function(){var a=_asyncToGenerator(function*(n){return clientInstance.makeRequest(o.toString(),n)});return function(n){return a.apply(this,arguments)}}()})}}exports.SdkgenService=SdkgenService,SdkgenService.\u0275fac=function W(o){return new(o||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(W){this.sdkgen=W,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(W=>{!W||(this.generateFunctionCode(W.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(W.url,W.astJson))})}ngOnDestroy(){var W;null===(W=this.state$)||void 0===W||W.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(W){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:W.toString()}),delete W.toString,_this.response={error:{type:W.type,message:W.message,data:W.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(1)}})()}generateFunctionCode(W,o){var a;const n=null===(a=W.operations.find(h=>h.name===o))||void 0===a?void 0:a.args;n&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(n),null,2))}}exports.SimpleCallComponent=SimpleCallComponent,SimpleCallComponent.\u0275fac=function W(o){return new(o||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 W(o,a){1&o&&(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&o&&(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%] .ngx-json-viewer{overflow:inherit!important}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%}mat-tab-group[_ngcontent-%COMP%] ngx-json-viewer[_ngcontent-%COMP%]{display:block;height:100%;width:100%;overflow-y:auto;scrollbar-width:thin}"]})},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(W){this.sdkgen=W,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(W=>{if(!W)return;const o=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(W.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(W.url,W.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(o):monaco.editor.createModel(o,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[n]=W.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){var W;null===(W=this.state$)||void 0===W||W.unsubscribe()}patchBrowserClientSource(W){return`declare namespace sdkgen {\n${W.substring(95,W.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(W){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:W.toString()})}})()}}exports.TabEditorComponent=TabEditorComponent,TabEditorComponent.\u0275fac=function W(o){return new(o||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 W(o,a){1&o&&(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&o&&(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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TabHomeComponent=void 0;const n=a(655),h=a(5e3),y=a(9435),d=a(5281),r=n.__importStar(a(5e3)),l=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)),U=n.__importStar(a(107)),J=n.__importStar(a(4211));function Q(Ke,xe){if(1&Ke&&(r.\u0275\u0275elementStart(0,"span",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Ke){const j=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(j.description)}}const q=function(Ke){return{active:Ke}};function V(Ke,xe){if(1&Ke){const j=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li",5),r.\u0275\u0275listener("click",function(){const tt=r.\u0275\u0275restoreView(j).$implicit;return r.\u0275\u0275nextContext().selectedFunction=tt}),r.\u0275\u0275elementStart(1,"span",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,Q,2,1,"span",7),r.\u0275\u0275elementEnd()}if(2&Ke){const j=xe.$implicit,ve=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(3,q,(null==ve.selectedFunction?null:ve.selectedFunction.name)===j.name)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(j.name),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",j.description)}}function oe(Ke,xe){1&Ke&&r.\u0275\u0275element(0,"span")}function ce(Ke,xe){if(1&Ke){const j=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"span"),r.\u0275\u0275element(1,"br"),r.\u0275\u0275text(2,"\xa0\xa0"),r.\u0275\u0275elementStart(3,"span",37),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"span",14),r.\u0275\u0275text(6,":"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(7,"\xa0"),r.\u0275\u0275elementStart(8,"u",15),r.\u0275\u0275listener("click",function(){const tt=r.\u0275\u0275restoreView(j).$implicit;return r.\u0275\u0275nextContext(2).showDocumentation(tt.rawType)}),r.\u0275\u0275text(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(10,oe,1,0,"span",38),r.\u0275\u0275elementEnd()}if(2&Ke){const j=xe.$implicit,ve=xe.index;r.\u0275\u0275nextContext();const Re=r.\u0275\u0275reference(18),tt=r.\u0275\u0275reference(20),ot=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(j.name),r.\u0275\u0275advance(4),r.\u0275\u0275property("matTooltip",ot.getTooltip(j.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(j.type),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",ve!=ot.selectedFunction.args.length-1)("ngIfThen",Re)("ngIfElse",tt)}}function ge(Ke,xe){1&Ke&&r.\u0275\u0275text(0,",")}function De(Ke,xe){1&Ke&&r.\u0275\u0275element(0,"br")}function We(Ke,xe){if(1&Ke){const j=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"u",29),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(j);const Re=r.\u0275\u0275nextContext().$implicit;return r.\u0275\u0275nextContext(3).showDocumentation(Re.dataType)}),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()}if(2&Ke){const j=r.\u0275\u0275nextContext().$implicit,ve=r.\u0275\u0275nextContext(3);r.\u0275\u0275property("matTooltip",ve.getTooltip(j.dataType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("(",j.dataType.name,")")}}function Y(Ke,xe){if(1&Ke&&(r.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"i"),r.\u0275\u0275elementStart(4,"span",28),r.\u0275\u0275text(5),r.\u0275\u0275template(6,We,2,2,"u",43),r.\u0275\u0275elementEnd()()),2&Ke){const j=xe.$implicit;r.\u0275\u0275property("disableRipple",!0),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(j.name),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1("",j.type," "),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",j.dataType&&"void"!==j.dataType.name)}}function ue(Ke,xe){if(1&Ke&&(r.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-list",40),r.\u0275\u0275template(2,Y,7,4,"mat-chip",41),r.\u0275\u0275elementEnd()()),2&Ke){const j=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("selectable",!1),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",j.selectedFunction.labels)}}function $(Ke,xe){if(1&Ke&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Ke){const j=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(j.selectedFunction.description)}}function fe(Ke,xe){1&Ke&&(r.\u0275\u0275elementStart(0,"p",44),r.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),r.\u0275\u0275elementEnd())}function me(Ke,xe){1&Ke&&(r.\u0275\u0275elementStart(0,"p",44),r.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),r.\u0275\u0275elementEnd())}function _e(Ke,xe){1&Ke&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Nome"),r.\u0275\u0275elementEnd())}function Xe(Ke,xe){if(1&Ke&&(r.\u0275\u0275elementStart(0,"td",55),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Ke){const j=xe.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(j.name)}}function dt(Ke,xe){1&Ke&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Tipo"),r.\u0275\u0275elementEnd())}function it(Ke,xe){if(1&Ke){const j=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",55)(1,"u",29),r.\u0275\u0275listener("click",function(){const tt=r.\u0275\u0275restoreView(j).$implicit;return r.\u0275\u0275nextContext(3).showDocumentation(tt.rawType)}),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&Ke){const j=xe.$implicit,ve=r.\u0275\u0275nextContext(3);r.\u0275\u0275advance(1),r.\u0275\u0275property("matTooltip",ve.getTooltip(j.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(j.type)}}function st(Ke,xe){1&Ke&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Descri\xe7\xe3o"),r.\u0275\u0275elementEnd())}function Ye(Ke,xe){if(1&Ke&&(r.\u0275\u0275elementStart(0,"td",56),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Ke){const j=xe.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(j.description||"-")}}function ut(Ke,xe){1&Ke&&r.\u0275\u0275element(0,"tr",57)}function Ne(Ke,xe){1&Ke&&r.\u0275\u0275element(0,"tr",58)}function qe(Ke,xe){if(1&Ke&&(r.\u0275\u0275elementStart(0,"table",45),r.\u0275\u0275elementContainerStart(1,46),r.\u0275\u0275template(2,_e,2,0,"th",47),r.\u0275\u0275template(3,Xe,2,1,"td",48),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementContainerStart(4,49),r.\u0275\u0275template(5,dt,2,0,"th",47),r.\u0275\u0275template(6,it,3,2,"td",48),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementContainerStart(7,50),r.\u0275\u0275template(8,st,2,0,"th",47),r.\u0275\u0275template(9,Ye,2,1,"td",51),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275template(10,ut,1,0,"tr",52),r.\u0275\u0275template(11,Ne,1,0,"tr",53),r.\u0275\u0275elementEnd()),2&Ke){const j=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("dataSource",j.selectedFunction.args),r.\u0275\u0275advance(10),r.\u0275\u0275property("matHeaderRowDef",j.argumentsTableColumns),r.\u0275\u0275advance(1),r.\u0275\u0275property("matRowDefColumns",j.argumentsTableColumns)}}function ke(Ke,xe){1&Ke&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Dart"),r.\u0275\u0275elementEnd())}function Qe(Ke,xe){1&Ke&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Swift"),r.\u0275\u0275elementEnd())}const ht=function(){return{theme:"vs-dark",language:"javascript"}},ye=function(){return{theme:"vs-dark",language:"kotlin"}},Oe=function(){return{theme:"vs-dark",language:"dart"}},L=function(){return{theme:"vs-dark",language:"swift"}};function ee(Ke,xe){if(1&Ke){const j=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),r.\u0275\u0275text(5,"fn"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(6,"\xa0"),r.\u0275\u0275elementStart(7,"span",12),r.\u0275\u0275text(8),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(9,"("),r.\u0275\u0275template(10,ce,11,6,"span",13),r.\u0275\u0275text(11,")"),r.\u0275\u0275elementStart(12,"span",14),r.\u0275\u0275text(13,":"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(14,"\xa0"),r.\u0275\u0275elementStart(15,"u",15),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(j);const Re=r.\u0275\u0275nextContext();return Re.showDocumentation(Re.selectedFunction.returns.rawType)}),r.\u0275\u0275text(16),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(17,ge,1,0,"ng-template",null,16,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(19,De,1,0,"ng-template",null,17,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275element(21,"s"),r.\u0275\u0275elementStart(22,"button",18),r.\u0275\u0275listener("click",function(){return r.\u0275\u0275restoreView(j),r.\u0275\u0275nextContext().addSimpleCallTab()}),r.\u0275\u0275elementStart(23,"mat-icon"),r.\u0275\u0275text(24,"play_arrow"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(25,"\xa0EXECUTAR "),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275template(26,ue,3,2,"section",19),r.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),r.\u0275\u0275text(29,"Descri\xe7\xe3o"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(30,"div",21),r.\u0275\u0275template(31,$,2,1,"p",22),r.\u0275\u0275template(32,fe,2,0,"p",23),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(33,"h2",24),r.\u0275\u0275text(34,"Par\xe2metros"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(35,"div",21),r.\u0275\u0275template(36,me,2,0,"p",23),r.\u0275\u0275elementStart(37,"div",25),r.\u0275\u0275template(38,qe,12,3,"table",26),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(39,"h2",27),r.\u0275\u0275text(40,"Retorno"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(j);const Re=r.\u0275\u0275nextContext();return Re.showDocumentation(Re.selectedFunction.returns.rawType)}),r.\u0275\u0275text(44),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(45,"h2",30),r.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),r.\u0275\u0275element(49,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(50,"mat-tab",34),r.\u0275\u0275element(51,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(52,"mat-tab",35),r.\u0275\u0275template(53,ke,2,0,"ng-template",36),r.\u0275\u0275element(54,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(55,"mat-tab",35),r.\u0275\u0275template(56,Qe,2,0,"ng-template",36),r.\u0275\u0275element(57,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd()()()()}if(2&Ke){const j=r.\u0275\u0275nextContext();r.\u0275\u0275advance(8),r.\u0275\u0275textInterpolate(j.selectedFunction.name),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",j.selectedFunction.args),r.\u0275\u0275advance(5),r.\u0275\u0275property("matTooltip",j.getTooltip(j.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(j.selectedFunction.returns.type),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngIf",j.selectedFunction.labels.length>0),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngSwitch",!!j.selectedFunction.description),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",!0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",!1),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngSwitch",j.selectedFunction.args.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",0),r.\u0275\u0275advance(7),r.\u0275\u0275property("matTooltip",j.getTooltip(j.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(j.selectedFunction.returns.type),r.\u0275\u0275advance(5),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(20,ht))("ngModel",j.selectedFunction.examples.typeScript),r.\u0275\u0275advance(2),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(21,ye))("ngModel",j.selectedFunction.examples.kotlin),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(22,Oe))("ngModel",j.selectedFunction.examples.dart),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(23,L))("ngModel",j.selectedFunction.examples.swift)}}const Me=function(){return{standalone:!0}};class Ge{constructor(xe,j,ve){this.sdkgen=xe,this.dialog=j,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((j,ve)=>j.name.localeCompare(ve.name)).map(j=>{var ve,Re,tt;const ot=xe.astJson.annotations[`fn.${j.name}`],Tt=this.sdkgen.buildJsonObject(j.args);return(null==ot?void 0:ot.find(Et=>"hidden"===Et.type))?null:{name:j.name,description:null===(ve=null==ot?void 0:ot.find(Et=>"description"===Et.type))||void 0===ve?void 0:ve.value,args:j.args.map(({name:Et,type:Rt})=>{var $e,we,Te;return{name:Et,description:null===(Te=[...null!==($e=xe.astJson.annotations[`type.${Rt}.${Et}`])&&void 0!==$e?$e:[],...null!==(we=xe.astJson.annotations[`fn.${j.name}.${Et}`])&&void 0!==we?we:[]].find(Pe=>"description"===Pe.type))||void 0===Te?void 0:Te.value,type:Rt.name,rawType:Rt}}),argsStr:j.args.map(Et=>`${Et.name}: ${Et.type.name}`).join(", "),argsFields:j.args,returns:{type:j.returnType.name,rawType:j.returnType},labels:null!==(Re=null==ot?void 0:ot.filter(Et=>["rest","throws"].includes(Et.type)).map(Et=>{var Rt;return"rest"===Et.type?{name:"REST",type:`${Et.value.method} ${Et.value.path}`}:"throws"===Et.type?{name:"THROWS",type:Et.value,dataType:null===(Rt=xe.astRoot.errors.find($e=>$e.name===Et.value))||void 0===Rt?void 0:Rt.dataType}:{name:"?",type:"?"}}))&&void 0!==Re?Re:[],throws:null===(tt=null==ot?void 0:ot.find(Et=>"throws"===Et.type))||void 0===tt?void 0:tt.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(j.name,Tt),kotlin:this.sdkgen.getKotlinCode(j.name,j.args),dart:this.sdkgen.getDartCode(j.name,Tt),swift:this.sdkgen.getSwiftCode(j.name,Tt)}}}).filter(j=>Boolean(j)))})}ngOnDestroy(){var xe,j;null===(xe=this.state$)||void 0===xe||xe.unsubscribe(),null===(j=this.responsive$)||void 0===j||j.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"]})}}o.TabHomeComponent=Ge,Ge.\u0275fac=function(xe){return new(xe||Ge)(r.\u0275\u0275directiveInject(l.SdkgenService),r.\u0275\u0275directiveInject(f.MatDialog),r.\u0275\u0275directiveInject(p.ResponsiveService))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,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,j){1&xe&&(r.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),r.\u0275\u0275listener("ngModelChange",function(Re){return j.searchText=Re}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"ul"),r.\u0275\u0275template(7,V,4,5,"li",3),r.\u0275\u0275pipe(8,"appFilter"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(9,"as-split-area"),r.\u0275\u0275template(10,ee,58,24,"article",4),r.\u0275\u0275elementEnd()()),2&xe&&(r.\u0275\u0275property("direction",j.isBelowMd?"vertical":"horizontal"),r.\u0275\u0275advance(1),r.\u0275\u0275property("size",j.isBelowMd?130:350),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",j.searchText)("ngModelOptions",r.\u0275\u0275pureFunction0(9,Me)),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind2(8,6,j.fnTable,j.searchText)),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",j.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,U.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:(W,o,a)=>{"use strict";var n=a(8926).default;Object.defineProperty(o,"__esModule",{value:!0}),o.TabNavComponent=void 0;const h=a(655),y=a(3075),d=a(6676),r=a(4814),l=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(U,J){1&U&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-icon",6),l.\u0275\u0275text(2,"loop"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd())}function P(U,J){1&U&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-icon"),l.\u0275\u0275text(2,"arrow_forward"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd())}class I{constructor(J,Q,q){this.sdkgen=J,this.toastr=Q,this.dialog=q,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 Q=this;return n(function*(){null==J||J.preventDefault();try{Q.loading=!0,/^https?:\/\//.test(Q.url.value)||Q.url.setValue(`https://${Q.url.value}`);const q=new URL(Q.url.value);q.pathname+=(/\/$/u.test(q.pathname)?"":"/")+"ast.json";const V=q.toString();console.debug("astUrl",V);const oe=yield fetch(V).then(ce=>ce.ok?ce.json():ce);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(ce=>setTimeout(ce,250));console.debug("astJson",oe),Q.sdkgen.state$.next({astJson:oe,astRoot:(0,d.jsonToAst)(oe),url:Q.url.value})}catch(q){Q.toastr.error(q instanceof Error?q.message:JSON.stringify(q),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{Q.loading=!1}})()}openAbout(){this.dialog.open(r.DialogAboutComponent)}}o.TabNavComponent=I,I.\u0275fac=function(J){return new(J||I)(l.\u0275\u0275directiveInject(f.SdkgenService),l.\u0275\u0275directiveInject(p.ToastrService),l.\u0275\u0275directiveInject(m.MatDialog))},I.\u0275cmp=l.\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,Q){1&J&&(l.\u0275\u0275element(0,"img",0),l.\u0275\u0275elementStart(1,"form",1),l.\u0275\u0275listener("submit",function(V){return Q.loadUrl(V)}),l.\u0275\u0275element(2,"input",2),l.\u0275\u0275elementStart(3,"button",3),l.\u0275\u0275template(4,S,3,0,"ng-container",4),l.\u0275\u0275template(5,P,3,0,"ng-container",4),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(6,"button",5),l.\u0275\u0275listener("click",function(){return Q.openAbout()}),l.\u0275\u0275elementStart(7,"mat-icon"),l.\u0275\u0275text(8,"info"),l.\u0275\u0275elementEnd()()),2&J&&(l.\u0275\u0275advance(2),l.\u0275\u0275property("formControl",Q.url)("readonly",Q.loading),l.\u0275\u0275advance(1),l.\u0275\u0275property("disabled",Q.loading)("ngSwitch",Q.loading),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngSwitchCase",!0),l.\u0275\u0275advance(1),l.\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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TypeDetailsComponent=void 0;const n=a(655),h=a(2339),y=a(9435),d=n.__importStar(a(5e3)),r=n.__importStar(a(2339)),l=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($,fe){1&$&&(d.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),d.\u0275\u0275text(2,"arrow_back"),d.\u0275\u0275elementEnd()())}function b($,fe){if(1&$&&(d.\u0275\u0275elementStart(0,"mat-chip",7),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&$){const me=fe.$implicit;d.\u0275\u0275property("disableRipple",!0),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(me)}}function T($,fe){1&$&&(d.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),d.\u0275\u0275text(2,"close"),d.\u0275\u0275elementEnd()())}function S($,fe){1&$&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Nome"),d.\u0275\u0275elementEnd())}function P($,fe){if(1&$&&(d.\u0275\u0275elementStart(0,"td",21),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&$){const me=fe.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(me.name)}}function I($,fe){1&$&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Tipo"),d.\u0275\u0275elementEnd())}function U($,fe){1&$&&(d.\u0275\u0275elementStart(0,"span"),d.\u0275\u0275text(1,"-"),d.\u0275\u0275elementEnd())}function J($,fe){if(1&$){const me=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"u",25),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(me);const Xe=d.\u0275\u0275nextContext().$implicit;return d.\u0275\u0275nextContext(2).showDocumentation(Xe.type)}),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()}if(2&$){const me=d.\u0275\u0275nextContext().$implicit,_e=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("matTooltip",_e.getTooltip(me.type)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(me.type.name)}}function Q($,fe){1&$&&(d.\u0275\u0275elementStart(0,"td",22),d.\u0275\u0275template(1,U,2,0,"span",23),d.\u0275\u0275template(2,J,2,2,"u",24),d.\u0275\u0275elementEnd()),2&$&&(d.\u0275\u0275property("ngSwitch",fe.$implicit.type),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",null))}function q($,fe){1&$&&(d.\u0275\u0275elementStart(0,"th",20),d.\u0275\u0275text(1,"Descri\xe7\xe3o"),d.\u0275\u0275elementEnd())}function V($,fe){if(1&$&&(d.\u0275\u0275elementStart(0,"td",26),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&$){const me=fe.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(me.description||"-")}}function oe($,fe){1&$&&d.\u0275\u0275element(0,"tr",27)}function ce($,fe){1&$&&d.\u0275\u0275element(0,"tr",28)}const ge=function(){return[]};function De($,fe){if(1&$&&(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,Q,3,2,"td",15),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(9,16),d.\u0275\u0275template(10,q,2,0,"th",12),d.\u0275\u0275template(11,V,2,1,"td",17),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(12,oe,1,0,"tr",18),d.\u0275\u0275template(13,ce,1,0,"tr",19),d.\u0275\u0275elementEnd()()()),2&$){const me=d.\u0275\u0275nextContext();let _e;d.\u0275\u0275advance(2),d.\u0275\u0275property("dataSource",null!==(_e=null==me.typeDoc?null:me.typeDoc.structFields)&&void 0!==_e?_e:d.\u0275\u0275pureFunction0(3,ge)),d.\u0275\u0275advance(10),d.\u0275\u0275property("matHeaderRowDef",me.argumentsTableColumns),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",me.argumentsTableColumns)}}function We($,fe){if(1&$&&(d.\u0275\u0275elementStart(0,"li")(1,"code",1),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()),2&$){const me=fe.$implicit;d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(me)}}function Y($,fe){if(1&$&&(d.\u0275\u0275elementStart(0,"section")(1,"h3"),d.\u0275\u0275text(2,"Exemplos"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"ul"),d.\u0275\u0275template(4,We,3,1,"li",29),d.\u0275\u0275elementEnd()()),2&$){const me=d.\u0275\u0275nextContext();d.\u0275\u0275advance(4),d.\u0275\u0275property("ngForOf",null==me.typeDoc?null:me.typeDoc.examples)}}class ue{constructor(fe,me,_e){this.dialogRef=fe,this.data=me,this.dialog=_e,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(fe){return(0,y.getTypeDoc)(fe).shortDescription}showDocumentation(fe){this.dialog.open(ue,{position:{right:"0"},data:{type:fe,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}o.TypeDetailsComponent=ue,ue.\u0275fac=function(fe){return new(fe||ue)(d.\u0275\u0275directiveInject(r.MatDialogRef),d.\u0275\u0275directiveInject(h.MAT_DIALOG_DATA),d.\u0275\u0275directiveInject(r.MatDialog))},ue.\u0275cmp=d.\u0275\u0275defineComponent({type:ue,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(fe,me){1&fe&&(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,Y,5,1,"section",5)),2&fe&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",me.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(me.data.type.name),d.\u0275\u0275advance(1),d.\u0275\u0275property("selectable",!1),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngForOf",me.labels),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!me.data.subdialog),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(null==me.typeDoc?null:me.typeDoc.longDescription),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",(null==me.typeDoc?null:me.typeDoc.isStruct)&&(null==me.typeDoc?null:me.typeDoc.structFields)),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",null==me.typeDoc||null==me.typeDoc.examples?null:me.typeDoc.examples.length))},directives:[l.NgIf,f.MatButton,r.MatDialogClose,p.MatIcon,m.MatChipList,l.NgForOf,m.MatChip,u.MatTable,u.MatColumnDef,u.MatHeaderCellDef,u.MatHeaderCell,u.MatCellDef,u.MatCell,l.NgSwitch,l.NgSwitchCase,l.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:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.unwrap=o.wrapper=void 0,o.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',o.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n console.log = window.___originalConsoleLog;\n console.error = window.___originalConsoleError;\n"},2340:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.environment=void 0,o.environment={production:!0}},4431:(W,o,a)=>{"use strict";const y=a(655).__importStar(a(2313)),d=a(5e3),r=a(6747);a(2340).environment.production&&(0,d.enableProdMode)(),y.platformBrowser().bootstrapModule(r.AppModule).catch(f=>console.error(f))},4327:function(W,o){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 r(u){var _=new XMLHttpRequest;_.open("HEAD",u,!1);try{_.send()}catch(v){}return 200<=_.status&&299>=_.status}function l(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?l(T):r(T.href)?d(u,_,v):l(T,T.target="_blank")):(T.href=b.createObjectURL(u),setTimeout(function(){b.revokeObjectURL(T.href)},4e4),setTimeout(function(){l(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(r(u))d(u,_,v);else{var b=document.createElement("a");b.href=u,b.target="_blank",setTimeout(function(){l(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 Q=I.result;Q=P?Q:Q.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=Q:location=Q,b=null},I.readAsDataURL(u)}else{var U=f.URL||f.webkitURL,J=U.createObjectURL(u);b?b.location=J:location.href=J,b=null,setTimeout(function(){U.revokeObjectURL(J)},4e4)}});f.saveAs=m.saveAs=m,W.exports=m}.apply(o,[]))&&(W.exports=h)},5109:(W,o,a)=>{"use strict";a.r(o),a.d(o,{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 r(_,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 l=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,r,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,l,"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 U,J;return"object"!=typeof P||null===P||P instanceof Boolean||P instanceof Date||P instanceof Number||P instanceof RegExp||P instanceof String?P:(U=T.get(P),void 0!==U?{$ref:U}:(T.set(P,I),Array.isArray(P)?(J=[],P.forEach(function(Q,q){J[q]=S(Q,I+"["+q+"]")})):(J={},Object.keys(P).forEach(function(Q){J[Q]=S(P[Q],I+"["+JSON.stringify(Q)+"]")})),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(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(ii,ri,Gn,Jn){void 0===Jn&&(Jn=Gn),Object.defineProperty(ii,Jn,{enumerable:!0,get:function(){return ri[Gn]}})}:function(ii,ri,Gn,Jn){void 0===Jn&&(Jn=Gn),ii[Jn]=ri[Gn]}),h=this&&this.__exportStar||function(ii,ri){for(var Gn in ii)"default"!==Gn&&!Object.prototype.hasOwnProperty.call(ri,Gn)&&n(ri,ii,Gn)};Object.defineProperty(o,"__esModule",{value:!0}),o.interval=o.iif=o.generate=o.fromEventPattern=o.fromEvent=o.from=o.forkJoin=o.empty=o.defer=o.connectable=o.concat=o.combineLatest=o.bindNodeCallback=o.bindCallback=o.UnsubscriptionError=o.TimeoutError=o.SequenceError=o.ObjectUnsubscribedError=o.NotFoundError=o.EmptyError=o.ArgumentOutOfRangeError=o.firstValueFrom=o.lastValueFrom=o.isObservable=o.identity=o.noop=o.pipe=o.NotificationKind=o.Notification=o.Subscriber=o.Subscription=o.Scheduler=o.VirtualAction=o.VirtualTimeScheduler=o.animationFrameScheduler=o.animationFrame=o.queueScheduler=o.queue=o.asyncScheduler=o.async=o.asapScheduler=o.asap=o.AsyncSubject=o.ReplaySubject=o.BehaviorSubject=o.Subject=o.animationFrames=o.observable=o.ConnectableObservable=o.Observable=void 0,o.filter=o.expand=o.exhaustMap=o.exhaustAll=o.exhaust=o.every=o.endWith=o.elementAt=o.distinctUntilKeyChanged=o.distinctUntilChanged=o.distinct=o.dematerialize=o.delayWhen=o.delay=o.defaultIfEmpty=o.debounceTime=o.debounce=o.count=o.connect=o.concatWith=o.concatMapTo=o.concatMap=o.concatAll=o.combineLatestWith=o.combineLatestAll=o.combineAll=o.catchError=o.bufferWhen=o.bufferToggle=o.bufferTime=o.bufferCount=o.buffer=o.auditTime=o.audit=o.config=o.NEVER=o.EMPTY=o.scheduled=o.zip=o.using=o.timer=o.throwError=o.range=o.race=o.partition=o.pairs=o.onErrorResumeNext=o.of=o.never=o.merge=void 0,o.switchMapTo=o.switchMap=o.switchAll=o.subscribeOn=o.startWith=o.skipWhile=o.skipUntil=o.skipLast=o.skip=o.single=o.shareReplay=o.share=o.sequenceEqual=o.scan=o.sampleTime=o.sample=o.refCount=o.retryWhen=o.retry=o.repeatWhen=o.repeat=o.reduce=o.raceWith=o.publishReplay=o.publishLast=o.publishBehavior=o.publish=o.pluck=o.pairwise=o.observeOn=o.multicast=o.min=o.mergeWith=o.mergeScan=o.mergeMapTo=o.mergeMap=o.flatMap=o.mergeAll=o.max=o.materialize=o.mapTo=o.map=o.last=o.isEmpty=o.ignoreElements=o.groupBy=o.first=o.findIndex=o.find=o.finalize=void 0,o.zipWith=o.zipAll=o.withLatestFrom=o.windowWhen=o.windowToggle=o.windowTime=o.windowCount=o.window=o.toArray=o.timestamp=o.timeoutWith=o.timeout=o.timeInterval=o.throwIfEmpty=o.throttleTime=o.throttle=o.tap=o.takeWhile=o.takeUntil=o.takeLast=o.take=o.switchScan=void 0;var y=a(5821);Object.defineProperty(o,"Observable",{enumerable:!0,get:function(){return y.Observable}});var d=a(6686);Object.defineProperty(o,"ConnectableObservable",{enumerable:!0,get:function(){return d.ConnectableObservable}});var r=a(1689);Object.defineProperty(o,"observable",{enumerable:!0,get:function(){return r.observable}});var l=a(2946);Object.defineProperty(o,"animationFrames",{enumerable:!0,get:function(){return l.animationFrames}});var f=a(3768);Object.defineProperty(o,"Subject",{enumerable:!0,get:function(){return f.Subject}});var p=a(5482);Object.defineProperty(o,"BehaviorSubject",{enumerable:!0,get:function(){return p.BehaviorSubject}});var m=a(3406);Object.defineProperty(o,"ReplaySubject",{enumerable:!0,get:function(){return m.ReplaySubject}});var u=a(7606);Object.defineProperty(o,"AsyncSubject",{enumerable:!0,get:function(){return u.AsyncSubject}});var _=a(1212);Object.defineProperty(o,"asap",{enumerable:!0,get:function(){return _.asap}}),Object.defineProperty(o,"asapScheduler",{enumerable:!0,get:function(){return _.asapScheduler}});var v=a(4006);Object.defineProperty(o,"async",{enumerable:!0,get:function(){return v.async}}),Object.defineProperty(o,"asyncScheduler",{enumerable:!0,get:function(){return v.asyncScheduler}});var b=a(5668);Object.defineProperty(o,"queue",{enumerable:!0,get:function(){return b.queue}}),Object.defineProperty(o,"queueScheduler",{enumerable:!0,get:function(){return b.queueScheduler}});var T=a(1906);Object.defineProperty(o,"animationFrame",{enumerable:!0,get:function(){return T.animationFrame}}),Object.defineProperty(o,"animationFrameScheduler",{enumerable:!0,get:function(){return T.animationFrameScheduler}});var S=a(2018);Object.defineProperty(o,"VirtualTimeScheduler",{enumerable:!0,get:function(){return S.VirtualTimeScheduler}}),Object.defineProperty(o,"VirtualAction",{enumerable:!0,get:function(){return S.VirtualAction}});var P=a(2716);Object.defineProperty(o,"Scheduler",{enumerable:!0,get:function(){return P.Scheduler}});var I=a(6448);Object.defineProperty(o,"Subscription",{enumerable:!0,get:function(){return I.Subscription}});var U=a(7052);Object.defineProperty(o,"Subscriber",{enumerable:!0,get:function(){return U.Subscriber}});var J=a(7262);Object.defineProperty(o,"Notification",{enumerable:!0,get:function(){return J.Notification}}),Object.defineProperty(o,"NotificationKind",{enumerable:!0,get:function(){return J.NotificationKind}});var Q=a(1471);Object.defineProperty(o,"pipe",{enumerable:!0,get:function(){return Q.pipe}});var q=a(31);Object.defineProperty(o,"noop",{enumerable:!0,get:function(){return q.noop}});var V=a(7884);Object.defineProperty(o,"identity",{enumerable:!0,get:function(){return V.identity}});var oe=a(4341);Object.defineProperty(o,"isObservable",{enumerable:!0,get:function(){return oe.isObservable}});var ce=a(5257);Object.defineProperty(o,"lastValueFrom",{enumerable:!0,get:function(){return ce.lastValueFrom}});var ge=a(5754);Object.defineProperty(o,"firstValueFrom",{enumerable:!0,get:function(){return ge.firstValueFrom}});var De=a(4769);Object.defineProperty(o,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return De.ArgumentOutOfRangeError}});var We=a(8915);Object.defineProperty(o,"EmptyError",{enumerable:!0,get:function(){return We.EmptyError}});var Y=a(5477);Object.defineProperty(o,"NotFoundError",{enumerable:!0,get:function(){return Y.NotFoundError}});var ue=a(3965);Object.defineProperty(o,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return ue.ObjectUnsubscribedError}});var $=a(1551);Object.defineProperty(o,"SequenceError",{enumerable:!0,get:function(){return $.SequenceError}});var fe=a(5001);Object.defineProperty(o,"TimeoutError",{enumerable:!0,get:function(){return fe.TimeoutError}});var me=a(4970);Object.defineProperty(o,"UnsubscriptionError",{enumerable:!0,get:function(){return me.UnsubscriptionError}});var _e=a(7532);Object.defineProperty(o,"bindCallback",{enumerable:!0,get:function(){return _e.bindCallback}});var Xe=a(3488);Object.defineProperty(o,"bindNodeCallback",{enumerable:!0,get:function(){return Xe.bindNodeCallback}});var dt=a(6892);Object.defineProperty(o,"combineLatest",{enumerable:!0,get:function(){return dt.combineLatest}});var it=a(509);Object.defineProperty(o,"concat",{enumerable:!0,get:function(){return it.concat}});var st=a(9190);Object.defineProperty(o,"connectable",{enumerable:!0,get:function(){return st.connectable}});var Ye=a(9954);Object.defineProperty(o,"defer",{enumerable:!0,get:function(){return Ye.defer}});var ut=a(7406);Object.defineProperty(o,"empty",{enumerable:!0,get:function(){return ut.empty}});var Ne=a(7928);Object.defineProperty(o,"forkJoin",{enumerable:!0,get:function(){return Ne.forkJoin}});var qe=a(4996);Object.defineProperty(o,"from",{enumerable:!0,get:function(){return qe.from}});var ke=a(2579);Object.defineProperty(o,"fromEvent",{enumerable:!0,get:function(){return ke.fromEvent}});var Qe=a(3975);Object.defineProperty(o,"fromEventPattern",{enumerable:!0,get:function(){return Qe.fromEventPattern}});var ht=a(4318);Object.defineProperty(o,"generate",{enumerable:!0,get:function(){return ht.generate}});var ye=a(3140);Object.defineProperty(o,"iif",{enumerable:!0,get:function(){return ye.iif}});var Oe=a(1836);Object.defineProperty(o,"interval",{enumerable:!0,get:function(){return Oe.interval}});var L=a(9248);Object.defineProperty(o,"merge",{enumerable:!0,get:function(){return L.merge}});var ee=a(2818);Object.defineProperty(o,"never",{enumerable:!0,get:function(){return ee.never}});var Me=a(9677);Object.defineProperty(o,"of",{enumerable:!0,get:function(){return Me.of}});var Ge=a(9978);Object.defineProperty(o,"onErrorResumeNext",{enumerable:!0,get:function(){return Ge.onErrorResumeNext}});var Ke=a(5519);Object.defineProperty(o,"pairs",{enumerable:!0,get:function(){return Ke.pairs}});var xe=a(8221);Object.defineProperty(o,"partition",{enumerable:!0,get:function(){return xe.partition}});var j=a(8181);Object.defineProperty(o,"race",{enumerable:!0,get:function(){return j.race}});var ve=a(4622);Object.defineProperty(o,"range",{enumerable:!0,get:function(){return ve.range}});var Re=a(338);Object.defineProperty(o,"throwError",{enumerable:!0,get:function(){return Re.throwError}});var tt=a(3271);Object.defineProperty(o,"timer",{enumerable:!0,get:function(){return tt.timer}});var ot=a(924);Object.defineProperty(o,"using",{enumerable:!0,get:function(){return ot.using}});var Tt=a(4842);Object.defineProperty(o,"zip",{enumerable:!0,get:function(){return Tt.zip}});var Et=a(9341);Object.defineProperty(o,"scheduled",{enumerable:!0,get:function(){return Et.scheduled}});var Rt=a(7406);Object.defineProperty(o,"EMPTY",{enumerable:!0,get:function(){return Rt.EMPTY}});var $e=a(2818);Object.defineProperty(o,"NEVER",{enumerable:!0,get:function(){return $e.NEVER}}),h(a(5256),o);var we=a(3570);Object.defineProperty(o,"config",{enumerable:!0,get:function(){return we.config}});var Te=a(4815);Object.defineProperty(o,"audit",{enumerable:!0,get:function(){return Te.audit}});var Ze=a(9034);Object.defineProperty(o,"auditTime",{enumerable:!0,get:function(){return Ze.auditTime}});var Pe=a(8544);Object.defineProperty(o,"buffer",{enumerable:!0,get:function(){return Pe.buffer}});var vt=a(3999);Object.defineProperty(o,"bufferCount",{enumerable:!0,get:function(){return vt.bufferCount}});var Fe=a(1392);Object.defineProperty(o,"bufferTime",{enumerable:!0,get:function(){return Fe.bufferTime}});var Ue=a(555);Object.defineProperty(o,"bufferToggle",{enumerable:!0,get:function(){return Ue.bufferToggle}});var lt=a(7274);Object.defineProperty(o,"bufferWhen",{enumerable:!0,get:function(){return lt.bufferWhen}});var yt=a(6e3);Object.defineProperty(o,"catchError",{enumerable:!0,get:function(){return yt.catchError}});var Vt=a(8996);Object.defineProperty(o,"combineAll",{enumerable:!0,get:function(){return Vt.combineAll}});var Dt=a(8931);Object.defineProperty(o,"combineLatestAll",{enumerable:!0,get:function(){return Dt.combineLatestAll}});var Kt=a(8947);Object.defineProperty(o,"combineLatestWith",{enumerable:!0,get:function(){return Kt.combineLatestWith}});var St=a(739);Object.defineProperty(o,"concatAll",{enumerable:!0,get:function(){return St.concatAll}});var Ht=a(4659);Object.defineProperty(o,"concatMap",{enumerable:!0,get:function(){return Ht.concatMap}});var he=a(2993);Object.defineProperty(o,"concatMapTo",{enumerable:!0,get:function(){return he.concatMapTo}});var ne=a(5898);Object.defineProperty(o,"concatWith",{enumerable:!0,get:function(){return ne.concatWith}});var k=a(9725);Object.defineProperty(o,"connect",{enumerable:!0,get:function(){return k.connect}});var z=a(1814);Object.defineProperty(o,"count",{enumerable:!0,get:function(){return z.count}});var Ce=a(9784);Object.defineProperty(o,"debounce",{enumerable:!0,get:function(){return Ce.debounce}});var ie=a(7061);Object.defineProperty(o,"debounceTime",{enumerable:!0,get:function(){return ie.debounceTime}});var ze=a(926);Object.defineProperty(o,"defaultIfEmpty",{enumerable:!0,get:function(){return ze.defaultIfEmpty}});var wt=a(2096);Object.defineProperty(o,"delay",{enumerable:!0,get:function(){return wt.delay}});var He=a(3264);Object.defineProperty(o,"delayWhen",{enumerable:!0,get:function(){return He.delayWhen}});var _t=a(533);Object.defineProperty(o,"dematerialize",{enumerable:!0,get:function(){return _t.dematerialize}});var de=a(5045);Object.defineProperty(o,"distinct",{enumerable:!0,get:function(){return de.distinct}});var B=a(5794);Object.defineProperty(o,"distinctUntilChanged",{enumerable:!0,get:function(){return B.distinctUntilChanged}});var re=a(8589);Object.defineProperty(o,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return re.distinctUntilKeyChanged}});var K=a(1069);Object.defineProperty(o,"elementAt",{enumerable:!0,get:function(){return K.elementAt}});var Ie=a(4312);Object.defineProperty(o,"endWith",{enumerable:!0,get:function(){return Ie.endWith}});var rt=a(9098);Object.defineProperty(o,"every",{enumerable:!0,get:function(){return rt.every}});var Mt=a(5429);Object.defineProperty(o,"exhaust",{enumerable:!0,get:function(){return Mt.exhaust}});var kt=a(1399);Object.defineProperty(o,"exhaustAll",{enumerable:!0,get:function(){return kt.exhaustAll}});var Jt=a(5183);Object.defineProperty(o,"exhaustMap",{enumerable:!0,get:function(){return Jt.exhaustMap}});var vn=a(8678);Object.defineProperty(o,"expand",{enumerable:!0,get:function(){return vn.expand}});var Fn=a(4270);Object.defineProperty(o,"filter",{enumerable:!0,get:function(){return Fn.filter}});var hn=a(1587);Object.defineProperty(o,"finalize",{enumerable:!0,get:function(){return hn.finalize}});var An=a(2265);Object.defineProperty(o,"find",{enumerable:!0,get:function(){return An.find}});var Dn=a(8195);Object.defineProperty(o,"findIndex",{enumerable:!0,get:function(){return Dn.findIndex}});var Yn=a(8012);Object.defineProperty(o,"first",{enumerable:!0,get:function(){return Yn.first}});var Rn=a(4075);Object.defineProperty(o,"groupBy",{enumerable:!0,get:function(){return Rn.groupBy}});var At=a(4041);Object.defineProperty(o,"ignoreElements",{enumerable:!0,get:function(){return At.ignoreElements}});var Yt=a(6478);Object.defineProperty(o,"isEmpty",{enumerable:!0,get:function(){return Yt.isEmpty}});var le=a(5126);Object.defineProperty(o,"last",{enumerable:!0,get:function(){return le.last}});var Ae=a(752);Object.defineProperty(o,"map",{enumerable:!0,get:function(){return Ae.map}});var te=a(2182);Object.defineProperty(o,"mapTo",{enumerable:!0,get:function(){return te.mapTo}});var Se=a(119);Object.defineProperty(o,"materialize",{enumerable:!0,get:function(){return Se.materialize}});var Je=a(9329);Object.defineProperty(o,"max",{enumerable:!0,get:function(){return Je.max}});var at=a(3917);Object.defineProperty(o,"mergeAll",{enumerable:!0,get:function(){return at.mergeAll}});var Ot=a(1463);Object.defineProperty(o,"flatMap",{enumerable:!0,get:function(){return Ot.flatMap}});var $t=a(3010);Object.defineProperty(o,"mergeMap",{enumerable:!0,get:function(){return $t.mergeMap}});var It=a(929);Object.defineProperty(o,"mergeMapTo",{enumerable:!0,get:function(){return It.mergeMapTo}});var pn=a(2816);Object.defineProperty(o,"mergeScan",{enumerable:!0,get:function(){return pn.mergeScan}});var an=a(9684);Object.defineProperty(o,"mergeWith",{enumerable:!0,get:function(){return an.mergeWith}});var yn=a(6250);Object.defineProperty(o,"min",{enumerable:!0,get:function(){return yn.min}});var Xt=a(9872);Object.defineProperty(o,"multicast",{enumerable:!0,get:function(){return Xt.multicast}});var fn=a(4928);Object.defineProperty(o,"observeOn",{enumerable:!0,get:function(){return fn.observeOn}});var Wn=a(9526);Object.defineProperty(o,"pairwise",{enumerable:!0,get:function(){return Wn.pairwise}});var Nn=a(5199);Object.defineProperty(o,"pluck",{enumerable:!0,get:function(){return Nn.pluck}});var mn=a(955);Object.defineProperty(o,"publish",{enumerable:!0,get:function(){return mn.publish}});var nn=a(6750);Object.defineProperty(o,"publishBehavior",{enumerable:!0,get:function(){return nn.publishBehavior}});var pi=a(1003);Object.defineProperty(o,"publishLast",{enumerable:!0,get:function(){return pi.publishLast}});var Di=a(5530);Object.defineProperty(o,"publishReplay",{enumerable:!0,get:function(){return Di.publishReplay}});var wn=a(2992);Object.defineProperty(o,"raceWith",{enumerable:!0,get:function(){return wn.raceWith}});var Ln=a(8587);Object.defineProperty(o,"reduce",{enumerable:!0,get:function(){return Ln.reduce}});var mi=a(8408);Object.defineProperty(o,"repeat",{enumerable:!0,get:function(){return mi.repeat}});var ci=a(7032);Object.defineProperty(o,"repeatWhen",{enumerable:!0,get:function(){return ci.repeatWhen}});var gi=a(6069);Object.defineProperty(o,"retry",{enumerable:!0,get:function(){return gi.retry}});var Qn=a(5131);Object.defineProperty(o,"retryWhen",{enumerable:!0,get:function(){return Qn.retryWhen}});var ki=a(904);Object.defineProperty(o,"refCount",{enumerable:!0,get:function(){return ki.refCount}});var Er=a(2531);Object.defineProperty(o,"sample",{enumerable:!0,get:function(){return Er.sample}});var zr=a(2098);Object.defineProperty(o,"sampleTime",{enumerable:!0,get:function(){return zr.sampleTime}});var jn=a(251);Object.defineProperty(o,"scan",{enumerable:!0,get:function(){return jn.scan}});var xr=a(9788);Object.defineProperty(o,"sequenceEqual",{enumerable:!0,get:function(){return xr.sequenceEqual}});var wi=a(3222);Object.defineProperty(o,"share",{enumerable:!0,get:function(){return wi.share}});var ar=a(2186);Object.defineProperty(o,"shareReplay",{enumerable:!0,get:function(){return ar.shareReplay}});var Mi=a(695);Object.defineProperty(o,"single",{enumerable:!0,get:function(){return Mi.single}});var Qi=a(4975);Object.defineProperty(o,"skip",{enumerable:!0,get:function(){return Qi.skip}});var lr=a(728);Object.defineProperty(o,"skipLast",{enumerable:!0,get:function(){return lr.skipLast}});var cr=a(7409);Object.defineProperty(o,"skipUntil",{enumerable:!0,get:function(){return cr.skipUntil}});var Fr=a(385);Object.defineProperty(o,"skipWhile",{enumerable:!0,get:function(){return Fr.skipWhile}});var bi=a(4930);Object.defineProperty(o,"startWith",{enumerable:!0,get:function(){return bi.startWith}});var kr=a(1698);Object.defineProperty(o,"subscribeOn",{enumerable:!0,get:function(){return kr.subscribeOn}});var Ni=a(8044);Object.defineProperty(o,"switchAll",{enumerable:!0,get:function(){return Ni.switchAll}});var Nr=a(986);Object.defineProperty(o,"switchMap",{enumerable:!0,get:function(){return Nr.switchMap}});var Li=a(9309);Object.defineProperty(o,"switchMapTo",{enumerable:!0,get:function(){return Li.switchMapTo}});var Yi=a(9499);Object.defineProperty(o,"switchScan",{enumerable:!0,get:function(){return Yi.switchScan}});var Si=a(1333);Object.defineProperty(o,"take",{enumerable:!0,get:function(){return Si.take}});var Ci=a(3534);Object.defineProperty(o,"takeLast",{enumerable:!0,get:function(){return Ci.takeLast}});var Tr=a(5716);Object.defineProperty(o,"takeUntil",{enumerable:!0,get:function(){return Tr.takeUntil}});var ur=a(9928);Object.defineProperty(o,"takeWhile",{enumerable:!0,get:function(){return ur.takeWhile}});var Dr=a(6821);Object.defineProperty(o,"tap",{enumerable:!0,get:function(){return Dr.tap}});var Zn=a(4330);Object.defineProperty(o,"throttle",{enumerable:!0,get:function(){return Zn.throttle}});var ji=a(4029);Object.defineProperty(o,"throttleTime",{enumerable:!0,get:function(){return ji.throttleTime}});var Ei=a(9194);Object.defineProperty(o,"throwIfEmpty",{enumerable:!0,get:function(){return Ei.throwIfEmpty}});var Oi=a(5904);Object.defineProperty(o,"timeInterval",{enumerable:!0,get:function(){return Oi.timeInterval}});var dr=a(5001);Object.defineProperty(o,"timeout",{enumerable:!0,get:function(){return dr.timeout}});var Lr=a(8308);Object.defineProperty(o,"timeoutWith",{enumerable:!0,get:function(){return Lr.timeoutWith}});var Ii=a(250);Object.defineProperty(o,"timestamp",{enumerable:!0,get:function(){return Ii.timestamp}});var Ti=a(2976);Object.defineProperty(o,"toArray",{enumerable:!0,get:function(){return Ti.toArray}});var Zi=a(9374);Object.defineProperty(o,"window",{enumerable:!0,get:function(){return Zi.window}});var Bi=a(8427);Object.defineProperty(o,"windowCount",{enumerable:!0,get:function(){return Bi.windowCount}});var Ji=a(2358);Object.defineProperty(o,"windowTime",{enumerable:!0,get:function(){return Ji.windowTime}});var Pn=a(6464);Object.defineProperty(o,"windowToggle",{enumerable:!0,get:function(){return Pn.windowToggle}});var Vi=a(5424);Object.defineProperty(o,"windowWhen",{enumerable:!0,get:function(){return Vi.windowWhen}});var Xi=a(135);Object.defineProperty(o,"withLatestFrom",{enumerable:!0,get:function(){return Xi.withLatestFrom}});var Bn=a(8101);Object.defineProperty(o,"zipAll",{enumerable:!0,get:function(){return Bn.zipAll}});var Pi=a(9411);Object.defineProperty(o,"zipWith",{enumerable:!0,get:function(){return Pi.zipWith}})},7606:function(W,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncSubject=void 0;var y=function(d){function r(){var l=null!==d&&d.apply(this,arguments)||this;return l._value=null,l._hasValue=!1,l._isComplete=!1,l}return n(r,d),r.prototype._checkFinalizedStatuses=function(l){var f=this,m=f._hasValue,u=f._value,v=f.isStopped,b=f._isComplete;f.hasError?l.error(f.thrownError):(v||b)&&(m&&l.next(u),l.complete())},r.prototype.next=function(l){this.isStopped||(this._value=l,this._hasValue=!0)},r.prototype.complete=function(){var l=this,f=l._hasValue,p=l._value;l._isComplete||(this._isComplete=!0,f&&d.prototype.next.call(this,p),d.prototype.complete.call(this))},r}(a(3768).Subject);o.AsyncSubject=y},5482:function(W,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.BehaviorSubject=void 0;var y=function(d){function r(l){var f=d.call(this)||this;return f._value=l,f}return n(r,d),Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(l){var f=d.prototype._subscribe.call(this,l);return!f.closed&&l.next(this._value),f},r.prototype.getValue=function(){var l=this,m=l._value;if(l.hasError)throw l.thrownError;return this._throwIfClosed(),m},r.prototype.next=function(l){d.prototype.next.call(this,this._value=l)},r}(a(3768).Subject);o.BehaviorSubject=y},7262:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeNotification=o.Notification=o.NotificationKind=void 0;var p,n=a(7406),h=a(9677),y=a(338),d=a(7104);(p=o.NotificationKind||(o.NotificationKind={})).NEXT="N",p.ERROR="E",p.COMPLETE="C";var l=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)}o.Notification=l,o.observeNotification=f},6941:(W,o)=>{"use strict";function h(y,d,r){return{kind:y,value:d,error:r}}Object.defineProperty(o,"__esModule",{value:!0}),o.createNotification=o.nextNotification=o.errorNotification=o.COMPLETE_NOTIFICATION=void 0,o.COMPLETE_NOTIFICATION=h("C",void 0,void 0),o.errorNotification=function a(y){return h("E",void 0,y)},o.nextNotification=function n(y){return h("N",y,void 0)},o.createNotification=h},5821:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Observable=void 0;var n=a(7052),h=a(6448),y=a(1689),d=a(1471),r=a(3570),l=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&&l.isFunction(v.next)&&l.isFunction(v.error)&&l.isFunction(v.complete)}(v)&&h.isSubscription(v)}(b)?b:new n.SafeSubscriber(b,T,S);return f.errorContext(function(){var J=P.operator,Q=P.source;I.add(J?J.call(I,Q):Q?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 U=new n.SafeSubscriber({next:function(J){try{b(J)}catch(Q){I(Q),U.unsubscribe()}},error:I,complete:P});S.subscribe(U)})},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(U){return I=U},function(U){return P(U)},function(){return S(I)})})},v.create=function(b){return new v(b)},v}();function m(v){var b;return null!==(b=null!=v?v:r.config.Promise)&&void 0!==b?b:Promise}o.Observable=p},3406:function(W,o,a){"use strict";var r,n=this&&this.__extends||(r=function(l,f){return(r=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])})(l,f)},function(l,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=l}r(l,f),l.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.ReplaySubject=void 0;var h=a(3768),y=a(8354),d=function(r){function l(f,p,m){void 0===f&&(f=1/0),void 0===p&&(p=1/0),void 0===m&&(m=y.dateTimestampProvider);var u=r.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(l,r),l.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(),r.prototype.next.call(this,f)},l.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},l.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)}},l}(h.Subject);o.ReplaySubject=d},2716:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Scheduler=void 0;var n=a(8354),h=function(){function y(d,r){void 0===r&&(r=y.now),this.schedulerActionCtor=d,this.now=r}return y.prototype.schedule=function(d,r,l){return void 0===r&&(r=0),new this.schedulerActionCtor(this,d).schedule(l,r)},y.now=n.dateTimestampProvider.now,y}();o.Scheduler=h},3768:function(W,o,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(o,"__esModule",{value:!0}),o.AnonymousSubject=o.Subject=void 0;var y=a(5821),d=a(6448),r=a(3965),l=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 r.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,l.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);o.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);o.AnonymousSubject=m},7052:function(W,o,a){"use strict";var U,n=this&&this.__extends||(U=function(J,Q){return(U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,V){q.__proto__=V}||function(q,V){for(var oe in V)Object.prototype.hasOwnProperty.call(V,oe)&&(q[oe]=V[oe])})(J,Q)},function(J,Q){if("function"!=typeof Q&&null!==Q)throw new TypeError("Class extends value "+String(Q)+" is not a constructor or null");function q(){this.constructor=J}U(J,Q),J.prototype=null===Q?Object.create(Q):(q.prototype=Q.prototype,new q)});Object.defineProperty(o,"__esModule",{value:!0}),o.EMPTY_OBSERVER=o.SafeSubscriber=o.Subscriber=void 0;var h=a(7104),y=a(6448),d=a(3570),r=a(4709),l=a(31),f=a(6941),p=a(3914),m=a(5808),u=function(U){function J(Q){var q=U.call(this)||this;return q.isStopped=!1,Q?(q.destination=Q,y.isSubscription(Q)&&Q.add(q)):q.destination=o.EMPTY_OBSERVER,q}return n(J,U),J.create=function(Q,q,V){return new T(Q,q,V)},J.prototype.next=function(Q){this.isStopped?I(f.nextNotification(Q),this):this._next(Q)},J.prototype.error=function(Q){this.isStopped?I(f.errorNotification(Q),this):(this.isStopped=!0,this._error(Q))},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,U.prototype.unsubscribe.call(this),this.destination=null)},J.prototype._next=function(Q){this.destination.next(Q)},J.prototype._error=function(Q){try{this.destination.error(Q)}finally{this.unsubscribe()}},J.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},J}(y.Subscription);o.Subscriber=u;var _=Function.prototype.bind;function v(U,J){return _.call(U,J)}var b=function(){function U(J){this.partialObserver=J}return U.prototype.next=function(J){var Q=this.partialObserver;if(Q.next)try{Q.next(J)}catch(q){S(q)}},U.prototype.error=function(J){var Q=this.partialObserver;if(Q.error)try{Q.error(J)}catch(q){S(q)}else S(J)},U.prototype.complete=function(){var J=this.partialObserver;if(J.complete)try{J.complete()}catch(Q){S(Q)}},U}(),T=function(U){function J(Q,q,V){var ce,ge,oe=U.call(this)||this;return h.isFunction(Q)||!Q?ce={next:null!=Q?Q:void 0,error:null!=q?q:void 0,complete:null!=V?V:void 0}:oe&&d.config.useDeprecatedNextContext?((ge=Object.create(Q)).unsubscribe=function(){return oe.unsubscribe()},ce={next:Q.next&&v(Q.next,ge),error:Q.error&&v(Q.error,ge),complete:Q.complete&&v(Q.complete,ge)}):ce=Q,oe.destination=new b(ce),oe}return n(J,U),J}(u);function S(U){d.config.useDeprecatedSynchronousErrorHandling?m.captureError(U):r.reportUnhandledError(U)}function I(U,J){var Q=d.config.onStoppedNotification;Q&&p.timeoutProvider.setTimeout(function(){return Q(U,J)})}o.SafeSubscriber=T,o.EMPTY_OBSERVER={closed:!0,next:l.noop,error:function P(U){throw U},complete:l.noop}},6448:function(W,o,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(o,"__esModule",{value:!0}),o.isSubscription=o.EMPTY_SUBSCRIPTION=o.Subscription=void 0;var d=a(7104),r=a(4970),l=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),U=I.next();!U.done;U=I.next())U.value.remove(this)}catch(ge){_={error:ge}}finally{try{U&&!U.done&&(v=I.return)&&v.call(I)}finally{if(_)throw _.error}}else P.remove(this);var Q=this.initialTeardown;if(d.isFunction(Q))try{Q()}catch(ge){S=ge instanceof r.UnsubscriptionError?ge.errors:[ge]}var q=this._finalizers;if(q){this._finalizers=null;try{for(var V=n(q),oe=V.next();!oe.done;oe=V.next()){var ce=oe.value;try{m(ce)}catch(ge){S=null!=S?S:[],ge instanceof r.UnsubscriptionError?S=y(y([],h(S)),h(ge.errors)):S.push(ge)}}}catch(ge){b={error:ge}}finally{try{oe&&!oe.done&&(T=V.return)&&T.call(V)}finally{if(b)throw b.error}}}if(S)throw new r.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)&&l.arrRemove(v,_)},u.prototype.remove=function(_){var v=this._finalizers;v&&l.arrRemove(v,_),_ instanceof u&&_._removeParent(this)},u.EMPTY=((_=new u).closed=!0,_),u;var _}();function m(u){d.isFunction(u)?u():u.unsubscribe()}o.Subscription=f,o.EMPTY_SUBSCRIPTION=f.EMPTY,o.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:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.config=void 0,o.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5754:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.firstValueFrom=void 0;var n=a(8915),h=a(7052);o.firstValueFrom=function y(d,r){var l="object"==typeof r;return new Promise(function(f,p){var m=new h.SafeSubscriber({next:function(u){f(u),m.unsubscribe()},error:p,complete:function(){l?f(r.defaultValue):p(new n.EmptyError)}});d.subscribe(m)})}},5257:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.lastValueFrom=void 0;var n=a(8915);o.lastValueFrom=function h(y,d){var r="object"==typeof d;return new Promise(function(l,f){var m,p=!1;y.subscribe({next:function(u){m=u,p=!0},error:f,complete:function(){p?l(m):r?l(d.defaultValue):f(new n.EmptyError)}})})}},6686:function(W,o,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(o,"__esModule",{value:!0}),o.ConnectableObservable=void 0;var h=a(5821),y=a(6448),d=a(904),r=a(3173),l=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,l.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(r.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);o.ConnectableObservable=f},7532:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallback=void 0;var n=a(4832);o.bindCallback=function h(y,d,r){return n.bindCallbackInternals(!1,y,d,r)}},4832:function(W,o,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(o,"__esModule",{value:!0}),o.bindCallbackInternals=void 0;var y=a(1875),d=a(5821),r=a(1698),l=a(5280),f=a(4928),p=a(7606);o.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(l.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(r.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,U=!0;return new d.Observable(function(J){var Q=I.subscribe(J);if(U){U=!1;var q=!1,V=!1;_.apply(T,h(h([],n(S)),[function(){for(var oe=[],ce=0;ce<arguments.length;ce++)oe[ce]=arguments[ce];if(u){var ge=oe.shift();if(null!=ge)return void I.error(ge)}I.next(1<oe.length?oe:oe[0]),V=!0,q&&I.complete()}])),V&&I.complete(),q=!0}return Q})}}},3488:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindNodeCallback=void 0;var n=a(4832);o.bindNodeCallback=function h(y,d,r){return n.bindCallbackInternals(!0,y,d,r)}},6892:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestInit=o.combineLatest=void 0;var n=a(5821),h=a(9923),y=a(4996),d=a(7884),r=a(5280),l=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,U=new Array(I),J=I,Q=I,q=function(oe){v(T,function(){var ce=y.from(b[oe],T),ge=!1;ce.subscribe(p.createOperatorSubscriber(P,function(De){U[oe]=De,ge||(ge=!0,Q--),Q||P.next(S(U.slice()))},function(){--J||P.complete()}))},P)},V=0;V<I;V++)q(V)},P)}}function v(b,T,S){b?m.executeSchedule(S,b,T):T()}o.combineLatest=function u(){for(var b=[],T=0;T<arguments.length;T++)b[T]=arguments[T];var S=l.popScheduler(b),P=l.popResultSelector(b),I=h.argsArgArrayOrObject(b),U=I.args,J=I.keys;if(0===U.length)return y.from([],S);var Q=new n.Observable(_(U,S,J?function(q){return f.createObject(J,q)}:d.identity));return P?Q.pipe(r.mapOneOrManyArgs(P)):Q},o.combineLatestInit=_},509:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var n=a(739),h=a(1642),y=a(4996);o.concat=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return n.concatAll()(y.from(r,h.popScheduler(r)))}},9190:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connectable=void 0;var n=a(3768),h=a(5821),y=a(9954),d={connector:function(){return new n.Subject},resetOnDisconnect:!0};o.connectable=function r(l,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 l}).subscribe(v),_&&p.add(function(){return v=m()})),p},b}},9954:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defer=void 0;var n=a(5821),h=a(8767);o.defer=function y(d){return new n.Observable(function(r){h.innerFrom(d()).subscribe(r)})}},2946:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrames=void 0;var n=a(5821),h=a(6448),y=a(1038),d=a(6343);function l(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)),_})}o.animationFrames=function r(p){return p?l(p):f};var f=l()},7406:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.empty=o.EMPTY=void 0;var n=a(5821);o.EMPTY=new n.Observable(function(d){return d.complete()}),o.empty=function h(d){return d?function y(d){return new n.Observable(function(r){return d.schedule(function(){return r.complete()})})}(d):o.EMPTY}},7928:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.forkJoin=void 0;var n=a(5821),h=a(9923),y=a(8767),d=a(1642),r=a(3173),l=a(5280),f=a(7598);o.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 U=new Array(I),J=I,Q=I,q=function(oe){var ce=!1;y.innerFrom(b[oe]).subscribe(r.createOperatorSubscriber(P,function(ge){ce||(ce=!0,Q--),U[oe]=ge},function(){return J--},void 0,function(){(!J||!ce)&&(Q||P.next(T?f.createObject(T,U):U),P.complete())}))},V=0;V<I;V++)q(V);else P.complete()});return _?S.pipe(l.mapOneOrManyArgs(_)):S}},4996:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.from=void 0;var n=a(9341),h=a(8767);o.from=function y(d,r){return r?n.scheduled(d,r):h.innerFrom(d)}},2579:function(W,o,a){"use strict";var n=this&&this.__read||function(P,I){var U="function"==typeof Symbol&&P[Symbol.iterator];if(!U)return P;var Q,V,J=U.call(P),q=[];try{for(;(void 0===I||I-- >0)&&!(Q=J.next()).done;)q.push(Q.value)}catch(oe){V={error:oe}}finally{try{Q&&!Q.done&&(U=J.return)&&U.call(J)}finally{if(V)throw V.error}}return q};Object.defineProperty(o,"__esModule",{value:!0}),o.fromEvent=void 0;var h=a(8767),y=a(5821),d=a(3010),r=a(697),l=a(7104),f=a(5280),p=["addListener","removeListener"],m=["addEventListener","removeEventListener"],u=["on","off"];function v(P,I){return function(U){return function(J){return P[U](I,J)}}}o.fromEvent=function _(P,I,U,J){if(l.isFunction(U)&&(J=U,U=void 0),J)return _(P,I,U).pipe(f.mapOneOrManyArgs(J));var Q=n(function S(P){return l.isFunction(P.addEventListener)&&l.isFunction(P.removeEventListener)}(P)?m.map(function(oe){return function(ce){return P[oe](I,ce,U)}}):function b(P){return l.isFunction(P.addListener)&&l.isFunction(P.removeListener)}(P)?p.map(v(P,I)):function T(P){return l.isFunction(P.on)&&l.isFunction(P.off)}(P)?u.map(v(P,I)):[],2),q=Q[0],V=Q[1];if(!q&&r.isArrayLike(P))return d.mergeMap(function(oe){return _(oe,I,U)})(h.innerFrom(P));if(!q)throw new TypeError("Invalid event target");return new y.Observable(function(oe){var ce=function(){for(var ge=[],De=0;De<arguments.length;De++)ge[De]=arguments[De];return oe.next(1<ge.length?ge:ge[0])};return q(ce),function(){return V(ce)}})}},3975:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromEventPattern=void 0;var n=a(5821),h=a(7104),y=a(5280);o.fromEventPattern=function d(r,l,f){return f?d(r,l).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=r(m);return h.isFunction(l)?function(){return l(m,u)}:void 0})}},5107:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromSubscribable=void 0;var n=a(5821);o.fromSubscribable=function h(y){return new n.Observable(function(d){return y.subscribe(d)})}},4318:function(W,o,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(o,"__esModule",{value:!0}),o.generate=void 0;var h=a(7884),y=a(1875),d=a(9954),r=a(9049);o.generate=function l(f,p,m,u,_){var v,b,T,S;function P(){var I;return n(this,function(U){switch(U.label){case 0:I=S,U.label=1;case 1:return!p||p(I)?[4,T(I)]:[3,4];case 2:U.sent(),U.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 r.scheduleIterable(P(),_)}:P)}},3140:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.iif=void 0;var n=a(9954);o.iif=function h(y,d,r){return n.defer(function(){return y()?d:r})}},8767:function(W,o,a){"use strict";var n=this&&this.__awaiter||function(ce,ge,De,We){return new(De||(De=Promise))(function(ue,$){function fe(Xe){try{_e(We.next(Xe))}catch(dt){$(dt)}}function me(Xe){try{_e(We.throw(Xe))}catch(dt){$(dt)}}function _e(Xe){Xe.done?ue(Xe.value):function Y(ue){return ue instanceof De?ue:new De(function($){$(ue)})}(Xe.value).then(fe,me)}_e((We=We.apply(ce,ge||[])).next())})},h=this&&this.__generator||function(ce,ge){var We,Y,ue,$,De={label:0,sent:function(){if(1&ue[0])throw ue[1];return ue[1]},trys:[],ops:[]};return $={next:fe(0),throw:fe(1),return:fe(2)},"function"==typeof Symbol&&($[Symbol.iterator]=function(){return this}),$;function fe(_e){return function(Xe){return function me(_e){if(We)throw new TypeError("Generator is already executing.");for(;De;)try{if(We=1,Y&&(ue=2&_e[0]?Y.return:_e[0]?Y.throw||((ue=Y.return)&&ue.call(Y),0):Y.next)&&!(ue=ue.call(Y,_e[1])).done)return ue;switch(Y=0,ue&&(_e=[2&_e[0],ue.value]),_e[0]){case 0:case 1:ue=_e;break;case 4:return De.label++,{value:_e[1],done:!1};case 5:De.label++,Y=_e[1],_e=[0];continue;case 7:_e=De.ops.pop(),De.trys.pop();continue;default:if(!(ue=(ue=De.trys).length>0&&ue[ue.length-1])&&(6===_e[0]||2===_e[0])){De=0;continue}if(3===_e[0]&&(!ue||_e[1]>ue[0]&&_e[1]<ue[3])){De.label=_e[1];break}if(6===_e[0]&&De.label<ue[1]){De.label=ue[1],ue=_e;break}if(ue&&De.label<ue[2]){De.label=ue[2],De.ops.push(_e);break}ue[2]&&De.ops.pop(),De.trys.pop();continue}_e=ge.call(ce,De)}catch(Xe){_e=[6,Xe],Y=0}finally{We=ue=0}if(5&_e[0])throw _e[1];return{value:_e[0]?_e[1]:void 0,done:!0}}([_e,Xe])}}},y=this&&this.__asyncValues||function(ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var De,ge=ce[Symbol.asyncIterator];return ge?ge.call(ce):(ce="function"==typeof d?d(ce):ce[Symbol.iterator](),De={},We("next"),We("throw"),We("return"),De[Symbol.asyncIterator]=function(){return this},De);function We(ue){De[ue]=ce[ue]&&function($){return new Promise(function(fe,me){!function Y(ue,$,fe,me){Promise.resolve(me).then(function(_e){ue({value:_e,done:fe})},$)}(fe,me,($=ce[ue]($)).done,$.value)})}}},d=this&&this.__values||function(ce){var ge="function"==typeof Symbol&&Symbol.iterator,De=ge&&ce[ge],We=0;if(De)return De.call(ce);if(ce&&"number"==typeof ce.length)return{next:function(){return ce&&We>=ce.length&&(ce=void 0),{value:ce&&ce[We++],done:!ce}}};throw new TypeError(ge?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.fromReadableStreamLike=o.fromAsyncIterable=o.fromIterable=o.fromPromise=o.fromArrayLike=o.fromInteropObservable=o.innerFrom=void 0;var r=a(697),l=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(ce){return new f.Observable(function(ge){var De=ce[S.observable]();if(b.isFunction(De.subscribe))return De.subscribe(ge);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function U(ce){return new f.Observable(function(ge){for(var De=0;De<ce.length&&!ge.closed;De++)ge.next(ce[De]);ge.complete()})}function J(ce){return new f.Observable(function(ge){ce.then(function(De){ge.closed||(ge.next(De),ge.complete())},function(De){return ge.error(De)}).then(null,T.reportUnhandledError)})}function Q(ce){return new f.Observable(function(ge){var De,We;try{for(var Y=d(ce),ue=Y.next();!ue.done;ue=Y.next())if(ge.next(ue.value),ge.closed)return}catch(fe){De={error:fe}}finally{try{ue&&!ue.done&&(We=Y.return)&&We.call(Y)}finally{if(De)throw De.error}}ge.complete()})}function q(ce){return new f.Observable(function(ge){(function oe(ce,ge){var De,We,Y,ue;return n(this,void 0,void 0,function(){var fe;return h(this,function(me){switch(me.label){case 0:me.trys.push([0,5,6,11]),De=y(ce),me.label=1;case 1:return[4,De.next()];case 2:if((We=me.sent()).done)return[3,4];if(ge.next(We.value),ge.closed)return[2];me.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return fe=me.sent(),Y={error:fe},[3,11];case 6:return me.trys.push([6,,9,10]),We&&!We.done&&(ue=De.return)?[4,ue.call(De)]:[3,8];case 7:me.sent(),me.label=8;case 8:return[3,10];case 9:if(Y)throw Y.error;return[7];case 10:return[7];case 11:return ge.complete(),[2]}})})})(ce,ge).catch(function(De){return ge.error(De)})})}function V(ce){return q(v.readableStreamLikeToAsyncGenerator(ce))}o.innerFrom=function P(ce){if(ce instanceof f.Observable)return ce;if(null!=ce){if(p.isInteropObservable(ce))return I(ce);if(r.isArrayLike(ce))return U(ce);if(l.isPromise(ce))return J(ce);if(m.isAsyncIterable(ce))return q(ce);if(_.isIterable(ce))return Q(ce);if(v.isReadableStreamLike(ce))return V(ce)}throw u.createInvalidObservableTypeError(ce)},o.fromInteropObservable=I,o.fromArrayLike=U,o.fromPromise=J,o.fromIterable=Q,o.fromAsyncIterable=q,o.fromReadableStreamLike=V},1836:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.interval=void 0;var n=a(4006),h=a(3271);o.interval=function y(d,r){return void 0===d&&(d=0),void 0===r&&(r=n.asyncScheduler),d<0&&(d=0),h.timer(d,d,r)}},9248:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var n=a(3917),h=a(8767),y=a(7406),d=a(1642),r=a(4996);o.merge=function l(){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)(r.from(_,m)):y.EMPTY}},2818:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.never=o.NEVER=void 0;var n=a(5821),h=a(31);o.NEVER=new n.Observable(h.noop),o.never=function y(){return o.NEVER}},9677:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.of=void 0;var n=a(1642),h=a(4996);o.of=function y(){for(var d=[],r=0;r<arguments.length;r++)d[r]=arguments[r];var l=n.popScheduler(d);return h.from(d,l)}},9978:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var n=a(7406),h=a(2158),y=a(3531);o.onErrorResumeNext=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return h.onErrorResumeNext(y.argsOrArgArray(r))(n.EMPTY)}},5519:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairs=void 0;var n=a(4996);o.pairs=function h(y,d){return n.from(Object.entries(y),d)}},8221:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.partition=void 0;var n=a(963),h=a(4270),y=a(8767);o.partition=function d(r,l,f){return[h.filter(l,f)(y.innerFrom(r)),h.filter(n.not(l,f))(y.innerFrom(r))]}},8181:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.raceInit=o.race=void 0;var n=a(5821),h=a(8767),y=a(3531),d=a(3173);function l(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(_)}}o.race=function r(){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(l(f))},o.raceInit=l},4622:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.range=void 0;var n=a(5821),h=a(7406);o.range=function y(d,r,l){if(null==r&&(r=d,d=0),r<=0)return h.EMPTY;var f=r+d;return new n.Observable(l?function(p){var m=d;return l.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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwError=void 0;var n=a(5821),h=a(7104);o.throwError=function y(d,r){var l=h.isFunction(d)?d:function(){return d},f=function(p){return p.error(l())};return new n.Observable(r?function(p){return r.schedule(f,0,p)}:f)}},3271:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timer=void 0;var n=a(5821),h=a(4006),y=a(1875),d=a(7323);o.timer=function r(l,f,p){void 0===l&&(l=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(l)?+l-p.now():l;_<0&&(_=0);var v=0;return p.schedule(function(){u.closed||(u.next(v++),0<=m?this.schedule(void 0,m):u.complete())},_)})}},924:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.using=void 0;var n=a(5821),h=a(8767),y=a(7406);o.using=function d(r,l){return new n.Observable(function(f){var p=r(),m=l(p);return(m?h.innerFrom(m):y.EMPTY).subscribe(f),function(){p&&p.unsubscribe()}})}},4842:function(W,o,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(o,"__esModule",{value:!0}),o.zip=void 0;var y=a(5821),d=a(8767),r=a(3531),l=a(7406),f=a(3173),p=a(1642);o.zip=function m(){for(var u=[],_=0;_<arguments.length;_++)u[_]=arguments[_];var v=p.popResultSelector(u),b=r.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(Q){if(S[J].push(Q),S.every(function(V){return V.length})){var q=S.map(function(V){return V.shift()});T.next(v?v.apply(void 0,h([],n(q))):q),S.some(function(V,oe){return!V.length&&P[oe]})&&T.complete()}},function(){P[J]=!0,!S[J].length&&T.complete()}))},U=0;!T.closed&&U<b.length;U++)I(U);return function(){S=P=null}}):l.EMPTY}},3173:function(W,o,a){"use strict";var r,n=this&&this.__extends||(r=function(l,f){return(r=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])})(l,f)},function(l,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=l}r(l,f),l.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.OperatorSubscriber=o.createOperatorSubscriber=void 0;var h=a(7052);o.createOperatorSubscriber=function y(r,l,f,p,m){return new d(r,l,f,p,m)};var d=function(r){function l(f,p,m,u,_,v){var b=r.call(this,f)||this;return b.onFinalize=_,b.shouldUnsubscribe=v,b._next=p?function(T){try{p(T)}catch(S){f.error(S)}}:r.prototype._next,b._error=u?function(T){try{u(T)}catch(S){f.error(S)}finally{this.unsubscribe()}}:r.prototype._error,b._complete=m?function(){try{m()}catch(T){f.error(T)}finally{this.unsubscribe()}}:r.prototype._complete,b}return n(l,r),l.prototype.unsubscribe=function(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;r.prototype.unsubscribe.call(this),!p&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}},l}(h.Subscriber);o.OperatorSubscriber=d},4815:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.audit=void 0;var n=a(9216),h=a(8767),y=a(3173);o.audit=function d(r){return n.operate(function(l,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()};l.subscribe(y.createOperatorSubscriber(f,function(T){p=!0,m=T,u||h.innerFrom(r(T)).subscribe(u=y.createOperatorSubscriber(f,v,b))},function(){_=!0,(!p||!u||u.closed)&&f.complete()}))})}},9034:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.auditTime=void 0;var n=a(4006),h=a(4815),y=a(3271);o.auditTime=function d(r,l){return void 0===l&&(l=n.asyncScheduler),h.audit(function(){return y.timer(r,l)})}},8544:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.buffer=void 0;var n=a(9216),h=a(31),y=a(3173);o.buffer=function d(r){return n.operate(function(l,f){var p=[];return l.subscribe(y.createOperatorSubscriber(f,function(m){return p.push(m)},function(){f.next(p),f.complete()})),r.subscribe(y.createOperatorSubscriber(f,function(){var m=p;p=[],f.next(m)},h.noop)),function(){p=null}})}},3999:function(W,o,a){"use strict";var n=this&&this.__values||function(l){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&l[f],m=0;if(p)return p.call(l);if(l&&"number"==typeof l.length)return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferCount=void 0;var h=a(9216),y=a(3173),d=a(5137);o.bufferCount=function r(l,f){return void 0===f&&(f=null),f=null!=f?f:l,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 U=n(u),J=U.next();!J.done;J=U.next())(Q=J.value).push(v),l<=Q.length&&(I=null!=I?I:[]).push(Q)}catch(oe){b={error:oe}}finally{try{J&&!J.done&&(T=U.return)&&T.call(U)}finally{if(b)throw b.error}}if(I)try{for(var q=n(I),V=q.next();!V.done;V=q.next()){var Q;d.arrRemove(u,Q=V.value),m.next(Q)}}catch(oe){S={error:oe}}finally{try{V&&!V.done&&(P=q.return)&&P.call(q)}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(W,o,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(o,"__esModule",{value:!0}),o.bufferTime=void 0;var h=a(6448),y=a(9216),d=a(3173),r=a(5137),l=a(4006),f=a(1642),p=a(2590);o.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!==_?_:l.asyncScheduler,P=null!==(v=b[0])&&void 0!==v?v:null,I=b[1]||1/0;return y.operate(function(U,J){var Q=[],q=!1,V=function(ge){var De=ge.buffer;ge.subs.unsubscribe(),r.arrRemove(Q,ge),J.next(De),q&&oe()},oe=function(){if(Q){var ge=new h.Subscription;J.add(ge);var We={buffer:[],subs:ge};Q.push(We),p.executeSchedule(ge,S,function(){return V(We)},u)}};null!==P&&P>=0?p.executeSchedule(J,S,oe,P,!0):q=!0,oe();var ce=d.createOperatorSubscriber(J,function(ge){var De,We,Y=Q.slice();try{for(var ue=n(Y),$=ue.next();!$.done;$=ue.next()){var fe=$.value,me=fe.buffer;me.push(ge),I<=me.length&&V(fe)}}catch(_e){De={error:_e}}finally{try{$&&!$.done&&(We=ue.return)&&We.call(ue)}finally{if(De)throw De.error}}},function(){for(;null==Q?void 0:Q.length;)J.next(Q.shift().buffer);null==ce||ce.unsubscribe(),J.complete(),J.unsubscribe()},void 0,function(){return Q=null});U.subscribe(ce)})}},555:function(W,o,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(o,"__esModule",{value:!0}),o.bufferToggle=void 0;var h=a(6448),y=a(9216),d=a(8767),r=a(3173),l=a(31),f=a(5137);o.bufferToggle=function p(m,u){return y.operate(function(_,v){var b=[];d.innerFrom(m).subscribe(r.createOperatorSubscriber(v,function(T){var S=[];b.push(S);var P=new h.Subscription;P.add(d.innerFrom(u(T)).subscribe(r.createOperatorSubscriber(v,function(){f.arrRemove(b,S),v.next(S),P.unsubscribe()},l.noop)))},l.noop)),_.subscribe(r.createOperatorSubscriber(v,function(T){var S,P;try{for(var I=n(b),U=I.next();!U.done;U=I.next())U.value.push(T)}catch(Q){S={error:Q}}finally{try{U&&!U.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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bufferWhen=void 0;var n=a(9216),h=a(31),y=a(3173),d=a(8767);o.bufferWhen=function r(l){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(l()).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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.catchError=void 0;var n=a(8767),h=a(3173),y=a(9216);o.catchError=function d(r){return y.operate(function(l,f){var u,p=null,m=!1;p=l.subscribe(h.createOperatorSubscriber(f,void 0,void 0,function(_){u=n.innerFrom(r(_,d(r)(l))),p?(p.unsubscribe(),p=null,u.subscribe(f)):m=!0})),m&&(p.unsubscribe(),p=null,u.subscribe(f))})}},8996:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineAll=void 0;var n=a(8931);o.combineAll=n.combineLatestAll},5538:function(W,o,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(o,"__esModule",{value:!0}),o.combineLatest=void 0;var y=a(6892),d=a(9216),r=a(3531),l=a(5280),f=a(1471),p=a(1642);o.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))),l.mapOneOrManyArgs(v)):d.operate(function(b,T){y.combineLatestInit(h([b],n(r.argsOrArgArray(u))))(T)})}},8931:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestAll=void 0;var n=a(6892),h=a(1277);o.combineLatestAll=function y(d){return h.joinAllInternals(n.combineLatest,d)}},8947:function(W,o,a){"use strict";var n=this&&this.__read||function(r,l){var f="function"==typeof Symbol&&r[Symbol.iterator];if(!f)return r;var m,_,p=f.call(r),u=[];try{for(;(void 0===l||l-- >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(r,l){for(var f=0,p=l.length,m=r.length;f<p;f++,m++)r[m]=l[f];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestWith=void 0;var y=a(5538);o.combineLatestWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return y.combineLatest.apply(void 0,h([],n(r)))}},4656:function(W,o,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(o,"__esModule",{value:!0}),o.concat=void 0;var y=a(9216),d=a(739),r=a(1642),l=a(4996);o.concat=function f(){for(var p=[],m=0;m<arguments.length;m++)p[m]=arguments[m];var u=r.popScheduler(p);return y.operate(function(_,v){d.concatAll()(l.from(h([_],n(p)),u)).subscribe(v)})}},739:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatAll=void 0;var n=a(3917);o.concatAll=function h(){return n.mergeAll(1)}},4659:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMap=void 0;var n=a(3010),h=a(7104);o.concatMap=function y(d,r){return h.isFunction(r)?n.mergeMap(d,r,1):n.mergeMap(d,1)}},2993:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMapTo=void 0;var n=a(4659),h=a(7104);o.concatMapTo=function y(d,r){return h.isFunction(r)?n.concatMap(function(){return d},r):n.concatMap(function(){return d})}},5898:function(W,o,a){"use strict";var n=this&&this.__read||function(r,l){var f="function"==typeof Symbol&&r[Symbol.iterator];if(!f)return r;var m,_,p=f.call(r),u=[];try{for(;(void 0===l||l-- >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(r,l){for(var f=0,p=l.length,m=r.length;f<p;f++,m++)r[m]=l[f];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.concatWith=void 0;var y=a(4656);o.concatWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return y.concat.apply(void 0,h([],n(r)))}},9725:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connect=void 0;var n=a(3768),h=a(4996),y=a(9216),d=a(5107),r={connector:function(){return new n.Subject}};o.connect=function l(f,p){void 0===p&&(p=r);var m=p.connector;return y.operate(function(u,_){var v=m();h.from(f(d.fromSubscribable(v))).subscribe(_),_.add(u.subscribe(v))})}},1814:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.count=void 0;var n=a(8587);o.count=function h(y){return n.reduce(function(d,r,l){return!y||y(r,l)?d+1:d},0)}},9784:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounce=void 0;var n=a(9216),h=a(31),y=a(3173),d=a(8767);o.debounce=function r(l){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(l(b)).subscribe(_)},function(){v(),p.complete()},void 0,function(){u=_=null}))})}},7061:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounceTime=void 0;var n=a(4006),h=a(9216),y=a(3173);o.debounceTime=function d(r,l){return void 0===l&&(l=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=_+r,S=l.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,_=l.now(),m||(m=l.schedule(b,r),p.add(m))},function(){v(),p.complete()},void 0,function(){u=m=null}))})}},926:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defaultIfEmpty=void 0;var n=a(9216),h=a(3173);o.defaultIfEmpty=function y(d){return n.operate(function(r,l){var f=!1;r.subscribe(h.createOperatorSubscriber(l,function(p){f=!0,l.next(p)},function(){f||l.next(d),l.complete()}))})}},2096:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delay=void 0;var n=a(4006),h=a(3264),y=a(3271);o.delay=function d(r,l){void 0===l&&(l=n.asyncScheduler);var f=y.timer(r,l);return h.delayWhen(function(){return f})}},3264:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delayWhen=void 0;var n=a(509),h=a(1333),y=a(4041),d=a(2182),r=a(3010);o.delayWhen=function l(f,p){return p?function(m){return n.concat(p.pipe(h.take(1),y.ignoreElements()),m.pipe(l(f)))}:r.mergeMap(function(m,u){return f(m,u).pipe(h.take(1),d.mapTo(m))})}},533:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.dematerialize=void 0;var n=a(7262),h=a(9216),y=a(3173);o.dematerialize=function d(){return h.operate(function(r,l){r.subscribe(y.createOperatorSubscriber(l,function(f){return n.observeNotification(f,l)}))})}},5045:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinct=void 0;var n=a(9216),h=a(3173),y=a(31);o.distinct=function d(r,l){return n.operate(function(f,p){var m=new Set;f.subscribe(h.createOperatorSubscriber(p,function(u){var _=r?r(u):u;m.has(_)||(m.add(_),p.next(u))})),null==l||l.subscribe(h.createOperatorSubscriber(p,function(){return m.clear()},y.noop))})}},5794:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilChanged=void 0;var n=a(7884),h=a(9216),y=a(3173);function r(l,f){return l===f}o.distinctUntilChanged=function d(l,f){return void 0===f&&(f=n.identity),l=null!=l?l:r,h.operate(function(p,m){var u,_=!0;p.subscribe(y.createOperatorSubscriber(m,function(v){var b=f(v);(_||!l(u,b))&&(_=!1,u=b,m.next(v))}))})}},8589:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilKeyChanged=void 0;var n=a(5794);o.distinctUntilKeyChanged=function h(y,d){return n.distinctUntilChanged(function(r,l){return d?d(r[y],l[y]):r[y]===l[y]})}},1069:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.elementAt=void 0;var n=a(4769),h=a(4270),y=a(9194),d=a(926),r=a(1333);o.elementAt=function l(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}),r.take(1),m?d.defaultIfEmpty(p):y.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4312:function(W,o,a){"use strict";var n=this&&this.__read||function(l,f){var p="function"==typeof Symbol&&l[Symbol.iterator];if(!p)return l;var u,v,m=p.call(l),_=[];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(l,f){for(var p=0,m=f.length,u=l.length;p<m;p++,u++)l[u]=f[p];return l};Object.defineProperty(o,"__esModule",{value:!0}),o.endWith=void 0;var y=a(509),d=a(9677);o.endWith=function r(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return function(p){return y.concat(p,d.of.apply(void 0,h([],n(l))))}}},9098:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.every=void 0;var n=a(9216),h=a(3173);o.every=function y(d,r){return n.operate(function(l,f){var p=0;l.subscribe(h.createOperatorSubscriber(f,function(m){d.call(r,m,p++,l)||(f.next(!1),f.complete())},function(){f.next(!0),f.complete()}))})}},5429:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaust=void 0;var n=a(1399);o.exhaust=n.exhaustAll},1399:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustAll=void 0;var n=a(9216),h=a(8767),y=a(3173);o.exhaustAll=function d(){return n.operate(function(r,l){var f=!1,p=null;r.subscribe(y.createOperatorSubscriber(l,function(m){p||(p=h.innerFrom(m).subscribe(y.createOperatorSubscriber(l,void 0,function(){p=null,f&&l.complete()})))},function(){f=!0,!p&&l.complete()}))})}},5183:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustMap=void 0;var n=a(752),h=a(8767),y=a(9216),d=a(3173);o.exhaustMap=function r(l,f){return f?function(p){return p.pipe(r(function(m,u){return h.innerFrom(l(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(l(b,u++)).subscribe(_))},function(){v=!0,!_&&m.complete()}))})}},8678:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.expand=void 0;var n=a(9216),h=a(8457);o.expand=function y(d,r,l){return void 0===r&&(r=1/0),r=(r||0)<1?1/0:r,n.operate(function(f,p){return h.mergeInternals(f,p,d,r,void 0,!0,l)})}},4270:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.filter=void 0;var n=a(9216),h=a(3173);o.filter=function y(d,r){return n.operate(function(l,f){var p=0;l.subscribe(h.createOperatorSubscriber(f,function(m){return d.call(r,m,p++)&&f.next(m)}))})}},1587:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.finalize=void 0;var n=a(9216);o.finalize=function h(y){return n.operate(function(d,r){try{d.subscribe(r)}finally{r.add(y)}})}},2265:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createFind=o.find=void 0;var n=a(9216),h=a(3173);function d(r,l,f){var p="index"===f;return function(m,u){var _=0;m.subscribe(h.createOperatorSubscriber(u,function(v){var b=_++;r.call(l,v,b,m)&&(u.next(p?b:v),u.complete())},function(){u.next(p?-1:void 0),u.complete()}))}}o.find=function y(r,l){return n.operate(d(r,l,"value"))},o.createFind=d},8195:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.findIndex=void 0;var n=a(9216),h=a(2265);o.findIndex=function y(d,r){return n.operate(h.createFind(d,r,"index"))}},8012:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.first=void 0;var n=a(8915),h=a(4270),y=a(1333),d=a(926),r=a(9194),l=a(7884);o.first=function f(p,m){var u=arguments.length>=2;return function(_){return _.pipe(p?h.filter(function(v,b){return p(v,b,_)}):l.identity,y.take(1),u?d.defaultIfEmpty(m):r.throwIfEmpty(function(){return new n.EmptyError}))}}},1463:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.flatMap=void 0;var n=a(3010);o.flatMap=n.mergeMap},4075:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.groupBy=void 0;var n=a(5821),h=a(8767),y=a(3768),d=a(9216),r=a(3173);o.groupBy=function l(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(q){T.forEach(q),q(v)},P=function(q){return S(function(V){return V.error(q)})},I=0,U=!1,J=new r.OperatorSubscriber(v,function(q){try{var V=f(q),oe=T.get(V);if(!oe){T.set(V,oe=u?u():new y.Subject);var ce=function Q(q,V){var oe=new n.Observable(function(ce){I++;var ge=V.subscribe(ce);return function(){ge.unsubscribe(),0==--I&&U&&J.unsubscribe()}});return oe.key=q,oe}(V,oe);if(v.next(ce),m){var ge=r.createOperatorSubscriber(oe,function(){oe.complete(),null==ge||ge.unsubscribe()},void 0,void 0,function(){return T.delete(V)});J.add(h.innerFrom(m(ce)).subscribe(ge))}}oe.next(b?b(q):q)}catch(De){P(De)}},function(){return S(function(q){return q.complete()})},P,function(){return T.clear()},function(){return U=!0,0===I});_.subscribe(J)})}},4041:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ignoreElements=void 0;var n=a(9216),h=a(3173),y=a(31);o.ignoreElements=function d(){return n.operate(function(r,l){r.subscribe(h.createOperatorSubscriber(l,y.noop))})}},6478:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isEmpty=void 0;var n=a(9216),h=a(3173);o.isEmpty=function y(){return n.operate(function(d,r){d.subscribe(h.createOperatorSubscriber(r,function(){r.next(!1),r.complete()},function(){r.next(!0),r.complete()}))})}},1277:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.joinAllInternals=void 0;var n=a(7884),h=a(5280),y=a(1471),d=a(3010),r=a(2976);o.joinAllInternals=function l(f,p){return y.pipe(r.toArray(),d.mergeMap(function(m){return f(m)}),p?h.mapOneOrManyArgs(p):n.identity)}},5126:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.last=void 0;var n=a(8915),h=a(4270),y=a(3534),d=a(9194),r=a(926),l=a(7884);o.last=function f(p,m){var u=arguments.length>=2;return function(_){return _.pipe(p?h.filter(function(v,b){return p(v,b,_)}):l.identity,y.takeLast(1),u?r.defaultIfEmpty(m):d.throwIfEmpty(function(){return new n.EmptyError}))}}},752:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.map=void 0;var n=a(9216),h=a(3173);o.map=function y(d,r){return n.operate(function(l,f){var p=0;l.subscribe(h.createOperatorSubscriber(f,function(m){f.next(d.call(r,m,p++))}))})}},2182:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mapTo=void 0;var n=a(752);o.mapTo=function h(y){return n.map(function(){return y})}},119:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.materialize=void 0;var n=a(7262),h=a(9216),y=a(3173);o.materialize=function d(){return h.operate(function(r,l){r.subscribe(y.createOperatorSubscriber(l,function(f){l.next(n.Notification.createNext(f))},function(){l.next(n.Notification.createComplete()),l.complete()},function(f){l.next(n.Notification.createError(f)),l.complete()}))})}},9329:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.max=void 0;var n=a(8587),h=a(7104);o.max=function y(d){return n.reduce(h.isFunction(d)?function(r,l){return d(r,l)>0?r:l}:function(r,l){return r>l?r:l})}},8789:function(W,o,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(o,"__esModule",{value:!0}),o.merge=void 0;var y=a(9216),d=a(3531),r=a(3917),l=a(1642),f=a(4996);o.merge=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=l.popScheduler(m),v=l.popNumber(m,1/0);return m=d.argsOrArgArray(m),y.operate(function(b,T){r.mergeAll(v)(f.from(h([b],n(m)),_)).subscribe(T)})}},3917:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeAll=void 0;var n=a(3010),h=a(7884);o.mergeAll=function y(d){return void 0===d&&(d=1/0),n.mergeMap(h.identity,d)}},8457:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeInternals=void 0;var n=a(8767),h=a(2590),y=a(3173);o.mergeInternals=function d(r,l,f,p,m,u,_,v){var b=[],T=0,S=0,P=!1,I=function(){P&&!b.length&&!T&&l.complete()},U=function(Q){return T<p?J(Q):b.push(Q)},J=function(Q){u&&l.next(Q),T++;var q=!1;n.innerFrom(f(Q,S++)).subscribe(y.createOperatorSubscriber(l,function(V){null==m||m(V),u?U(V):l.next(V)},function(){q=!0},void 0,function(){if(q)try{T--;for(var V=function(){var oe=b.shift();_?h.executeSchedule(l,_,function(){return J(oe)}):J(oe)};b.length&&T<p;)V();I()}catch(oe){l.error(oe)}}))};return r.subscribe(y.createOperatorSubscriber(l,U,function(){P=!0,I()})),function(){null==v||v()}}},3010:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMap=void 0;var n=a(752),h=a(8767),y=a(9216),d=a(8457),r=a(7104);o.mergeMap=function l(f,p,m){return void 0===m&&(m=1/0),r.isFunction(p)?l(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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMapTo=void 0;var n=a(3010),h=a(7104);o.mergeMapTo=function y(d,r,l){return void 0===l&&(l=1/0),h.isFunction(r)?n.mergeMap(function(){return d},r,l):("number"==typeof r&&(l=r),n.mergeMap(function(){return d},l))}},2816:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeScan=void 0;var n=a(9216),h=a(8457);o.mergeScan=function y(d,r,l){return void 0===l&&(l=1/0),n.operate(function(f,p){var m=r;return h.mergeInternals(f,p,function(u,_){return d(m,u,_)},l,function(u){m=u},!1,void 0,function(){return m=null})})}},9684:function(W,o,a){"use strict";var n=this&&this.__read||function(r,l){var f="function"==typeof Symbol&&r[Symbol.iterator];if(!f)return r;var m,_,p=f.call(r),u=[];try{for(;(void 0===l||l-- >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(r,l){for(var f=0,p=l.length,m=r.length;f<p;f++,m++)r[m]=l[f];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.mergeWith=void 0;var y=a(8789);o.mergeWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return y.merge.apply(void 0,h([],n(r)))}},6250:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.min=void 0;var n=a(8587),h=a(7104);o.min=function y(d){return n.reduce(h.isFunction(d)?function(r,l){return d(r,l)<0?r:l}:function(r,l){return r<l?r:l})}},9872:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.multicast=void 0;var n=a(6686),h=a(7104),y=a(9725);o.multicast=function d(r,l){var f=h.isFunction(r)?r:function(){return r};return h.isFunction(l)?y.connect(l,{connector:f}):function(p){return new n.ConnectableObservable(p,f)}}},4928:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeOn=void 0;var n=a(2590),h=a(9216),y=a(3173);o.observeOn=function d(r,l){return void 0===l&&(l=0),h.operate(function(f,p){f.subscribe(y.createOperatorSubscriber(p,function(m){return n.executeSchedule(p,r,function(){return p.next(m)},l)},function(){return n.executeSchedule(p,r,function(){return p.complete()},l)},function(m){return n.executeSchedule(p,r,function(){return p.error(m)},l)}))})}},2158:function(W,o,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(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var y=a(9216),d=a(8767),r=a(3531),l=a(3173),f=a(31);o.onErrorResumeNext=function p(){for(var m=[],u=0;u<arguments.length;u++)m[u]=arguments[u];var _=r.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(U){return void S()}var I=l.createOperatorSubscriber(b,void 0,f.noop,f.noop);P.subscribe(I),I.add(S)}else b.complete()};S()})}},9526:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairwise=void 0;var n=a(9216),h=a(3173);o.pairwise=function y(){return n.operate(function(d,r){var l,f=!1;d.subscribe(h.createOperatorSubscriber(r,function(p){var m=l;l=p,f&&r.next([m,p]),f=!0}))})}},5199:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pluck=void 0;var n=a(752);o.pluck=function h(){for(var y=[],d=0;d<arguments.length;d++)y[d]=arguments[d];var r=y.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map(function(l){for(var f=l,p=0;p<r;p++){var m=null==f?void 0:f[y[p]];if(void 0===m)return;f=m}return f})}},955:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publish=void 0;var n=a(3768),h=a(9872),y=a(9725);o.publish=function d(r){return r?function(l){return y.connect(r)(l)}:function(l){return h.multicast(new n.Subject)(l)}}},6750:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishBehavior=void 0;var n=a(5482),h=a(6686);o.publishBehavior=function y(d){return function(r){var l=new n.BehaviorSubject(d);return new h.ConnectableObservable(r,function(){return l})}}},1003:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishLast=void 0;var n=a(7606),h=a(6686);o.publishLast=function y(){return function(d){var r=new n.AsyncSubject;return new h.ConnectableObservable(d,function(){return r})}}},5530:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishReplay=void 0;var n=a(3406),h=a(9872),y=a(7104);o.publishReplay=function d(r,l,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(r,l,p),m)(u)}}},2992:function(W,o,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(o,"__esModule",{value:!0}),o.raceWith=void 0;var y=a(8181),d=a(9216),r=a(7884);o.raceWith=function l(){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)}):r.identity}},8587:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reduce=void 0;var n=a(3049),h=a(9216);o.reduce=function y(d,r){return h.operate(n.scanInternals(d,r,arguments.length>=2,!1,!0))}},904:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.refCount=void 0;var n=a(9216),h=a(3173);o.refCount=function y(){return n.operate(function(d,r){var l=null;d._refCount++;var f=h.createOperatorSubscriber(r,void 0,void 0,void 0,function(){if(!d||d._refCount<=0||0<--d._refCount)l=null;else{var p=d._connection,m=l;l=null,p&&(!m||p===m)&&p.unsubscribe(),r.unsubscribe()}});d.subscribe(f),f.closed||(l=d.connect())})}},8408:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeat=void 0;var n=a(7406),h=a(9216),y=a(3173),d=a(8767),r=a(3271);o.repeat=function l(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?r.timer(u):d.innerFrom(u(b)),U=y.createOperatorSubscriber(v,function(){U.unsubscribe(),P()});I.subscribe(U)}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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeatWhen=void 0;var n=a(3768),h=a(9216),y=a(3173);o.repeatWhen=function d(r){return h.operate(function(l,f){var p,u,m=!1,_=!1,v=!1,b=function(){return v&&_&&(f.complete(),!0)},S=function(){v=!1,p=l.subscribe(y.createOperatorSubscriber(f,void 0,function(){v=!0,!b()&&(u||(u=new n.Subject,r(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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retry=void 0;var n=a(9216),h=a(3173),y=a(7884),d=a(3271),r=a(8767);o.retry=function l(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,U=function(){var J=!1;I=T.subscribe(h.createOperatorSubscriber(S,function(Q){b&&(P=0),S.next(Q)},void 0,function(Q){if(P++<u){var q=function(){I?(I.unsubscribe(),I=null,U()):J=!0};if(null!=_){var V="number"==typeof _?d.timer(_):r.innerFrom(_(Q,P)),oe=h.createOperatorSubscriber(S,function(){oe.unsubscribe(),q()},function(){S.complete()});V.subscribe(oe)}else q()}else S.error(Q)})),J&&(I.unsubscribe(),I=null,U())};U()})}},5131:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retryWhen=void 0;var n=a(3768),h=a(9216),y=a(3173);o.retryWhen=function d(r){return h.operate(function(l,f){var p,u,m=!1,_=function(){p=l.subscribe(y.createOperatorSubscriber(f,void 0,void 0,function(v){u||(u=new n.Subject,r(u).subscribe(y.createOperatorSubscriber(f,function(){return p?_():m=!0}))),u&&u.next(v)})),m&&(p.unsubscribe(),p=null,m=!1,_())};_()})}},2531:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sample=void 0;var n=a(9216),h=a(31),y=a(3173);o.sample=function d(r){return n.operate(function(l,f){var p=!1,m=null;l.subscribe(y.createOperatorSubscriber(f,function(u){p=!0,m=u})),r.subscribe(y.createOperatorSubscriber(f,function(){if(p){p=!1;var u=m;m=null,f.next(u)}},h.noop))})}},2098:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sampleTime=void 0;var n=a(4006),h=a(2531),y=a(1836);o.sampleTime=function d(r,l){return void 0===l&&(l=n.asyncScheduler),h.sample(y.interval(r,l))}},251:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scan=void 0;var n=a(9216),h=a(3049);o.scan=function y(d,r){return n.operate(h.scanInternals(d,r,arguments.length>=2,!0))}},3049:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scanInternals=void 0;var n=a(3173);o.scanInternals=function h(y,d,r,l,f){return function(p,m){var u=r,_=d,v=0;p.subscribe(n.createOperatorSubscriber(m,function(b){var T=v++;_=u?y(_,b,T):(u=!0,b),l&&m.next(_)},f&&function(){u&&m.next(_),m.complete()}))}}},9788:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sequenceEqual=void 0;var n=a(9216),h=a(3173);o.sequenceEqual=function y(r,l){return void 0===l&&(l=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):!l(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)),r.subscribe(v(u,m))})}},3222:function(W,o,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(o,"__esModule",{value:!0}),o.share=void 0;var y=a(4996),d=a(1333),r=a(3768),l=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()})}o.share=function p(u){void 0===u&&(u={});var _=u.connector,v=void 0===_?function(){return new r.Subject}:_,b=u.resetOnError,T=void 0===b||b,S=u.resetOnComplete,P=void 0===S||S,I=u.resetOnRefCountZero,U=void 0===I||I;return function(J){var Q=null,q=null,V=null,oe=0,ce=!1,ge=!1,De=function(){null==q||q.unsubscribe(),q=null},We=function(){De(),Q=V=null,ce=ge=!1},Y=function(){var ue=Q;We(),null==ue||ue.unsubscribe()};return f.operate(function(ue,$){oe++,!ge&&!ce&&De();var fe=V=null!=V?V:v();$.add(function(){0==--oe&&!ge&&!ce&&(q=m(Y,U))}),fe.subscribe($),Q||(Q=new l.SafeSubscriber({next:function(me){return fe.next(me)},error:function(me){ge=!0,De(),q=m(We,T,me),fe.error(me)},complete:function(){ce=!0,De(),q=m(We,P),fe.complete()}}),y.from(ue).subscribe(Q))})(J)}}},2186:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.shareReplay=void 0;var n=a(3406),h=a(3222);o.shareReplay=function y(d,r,l){var f,p,m,u,_=!1;return d&&"object"==typeof d?(u=void 0===(f=d.bufferSize)?1/0:f,r=void 0===(p=d.windowTime)?1/0:p,_=void 0!==(m=d.refCount)&&m,l=d.scheduler):u=null!=d?d:1/0,h.share({connector:function(){return new n.ReplaySubject(u,r,l)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},695:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.single=void 0;var n=a(8915),h=a(1551),y=a(5477),d=a(9216),r=a(3173);o.single=function l(f){return d.operate(function(p,m){var _,u=!1,v=!1,b=0;p.subscribe(r.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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skip=void 0;var n=a(4270);o.skip=function h(y){return n.filter(function(d,r){return y<=r})}},728:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipLast=void 0;var n=a(7884),h=a(9216),y=a(3173);o.skipLast=function d(r){return r<=0?n.identity:h.operate(function(l,f){var p=new Array(r),m=0;return l.subscribe(y.createOperatorSubscriber(f,function(u){var _=m++;if(_<r)p[_]=u;else{var v=_%r,b=p[v];p[v]=u,f.next(b)}})),function(){p=null}})}},7409:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),d=a(31);o.skipUntil=function r(l){return n.operate(function(f,p){var m=!1,u=h.createOperatorSubscriber(p,function(){null==u||u.unsubscribe(),m=!0},d.noop);y.innerFrom(l).subscribe(u),f.subscribe(h.createOperatorSubscriber(p,function(_){return m&&p.next(_)}))})}},385:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipWhile=void 0;var n=a(9216),h=a(3173);o.skipWhile=function y(d){return n.operate(function(r,l){var f=!1,p=0;r.subscribe(h.createOperatorSubscriber(l,function(m){return(f||(f=!d(m,p++)))&&l.next(m)}))})}},4930:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.startWith=void 0;var n=a(509),h=a(1642),y=a(9216);o.startWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];var f=h.popScheduler(r);return y.operate(function(p,m){(f?n.concat(r,p,f):n.concat(r,p)).subscribe(m)})}},1698:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.subscribeOn=void 0;var n=a(9216);o.subscribeOn=function h(y,d){return void 0===d&&(d=0),n.operate(function(r,l){l.add(y.schedule(function(){return r.subscribe(l)},d))})}},8044:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchAll=void 0;var n=a(986),h=a(7884);o.switchAll=function y(){return n.switchMap(h.identity)}},986:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMap=void 0;var n=a(8767),h=a(9216),y=a(3173);o.switchMap=function d(r,l){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(r(b,S)).subscribe(m=y.createOperatorSubscriber(p,function(P){return p.next(l?l(b,P,S,T++):P)},function(){m=null,v()}))},function(){_=!0,v()}))})}},9309:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMapTo=void 0;var n=a(986),h=a(7104);o.switchMapTo=function y(d,r){return h.isFunction(r)?n.switchMap(function(){return d},r):n.switchMap(function(){return d})}},9499:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchScan=void 0;var n=a(986),h=a(9216);o.switchScan=function y(d,r){return h.operate(function(l,f){var p=r;return n.switchMap(function(m,u){return d(p,m,u)},function(m,u){return p=u,u})(l).subscribe(f),function(){p=null}})}},1333:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.take=void 0;var n=a(7406),h=a(9216),y=a(3173);o.take=function d(r){return r<=0?function(){return n.EMPTY}:h.operate(function(l,f){var p=0;l.subscribe(y.createOperatorSubscriber(f,function(m){++p<=r&&(f.next(m),r<=p&&f.complete())}))})}},3534:function(W,o,a){"use strict";var n=this&&this.__values||function(l){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&l[f],m=0;if(p)return p.call(l);if(l&&"number"==typeof l.length)return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.takeLast=void 0;var h=a(7406),y=a(9216),d=a(3173);o.takeLast=function r(l){return l<=0?function(){return h.EMPTY}:y.operate(function(f,p){var m=[];f.subscribe(d.createOperatorSubscriber(p,function(u){m.push(u),l<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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),d=a(31);o.takeUntil=function r(l){return n.operate(function(f,p){y.innerFrom(l).subscribe(h.createOperatorSubscriber(p,function(){return p.complete()},d.noop)),!p.closed&&f.subscribe(p)})}},9928:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeWhile=void 0;var n=a(9216),h=a(3173);o.takeWhile=function y(d,r){return void 0===r&&(r=!1),n.operate(function(l,f){var p=0;l.subscribe(h.createOperatorSubscriber(f,function(m){var u=d(m,p++);(u||r)&&f.next(m),!u&&f.complete()}))})}},6821:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.tap=void 0;var n=a(7104),h=a(9216),y=a(3173),d=a(7884);o.tap=function r(l,f,p){var m=n.isFunction(l)||f||p?{next:l,error:f,complete:p}:l;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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttle=o.defaultThrottleConfig=void 0;var n=a(9216),h=a(3173),y=a(8767);o.defaultThrottleConfig={leading:!0,trailing:!1},o.throttle=function d(r,l){return void 0===l&&(l=o.defaultThrottleConfig),n.operate(function(f,p){var m=l.leading,u=l.trailing,_=!1,v=null,b=null,T=!1,S=function(){null==b||b.unsubscribe(),b=null,u&&(U(),T&&p.complete())},P=function(){b=null,T&&p.complete()},I=function(J){return b=y.innerFrom(r(J)).subscribe(h.createOperatorSubscriber(p,S,P))},U=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?U():I(J))},function(){T=!0,(!(u&&_&&b)||b.closed)&&p.complete()}))})}},4029:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttleTime=void 0;var n=a(4006),h=a(4330),y=a(3271);o.throttleTime=function d(r,l,f){void 0===l&&(l=n.asyncScheduler),void 0===f&&(f=h.defaultThrottleConfig);var p=y.timer(r,l);return h.throttle(function(){return p},f)}},9194:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwIfEmpty=void 0;var n=a(8915),h=a(9216),y=a(3173);function r(){return new n.EmptyError}o.throwIfEmpty=function d(l){return void 0===l&&(l=r),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(l())}))})}},5904:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TimeInterval=o.timeInterval=void 0;var n=a(4006),h=a(9216),y=a(3173);o.timeInterval=function d(l){return void 0===l&&(l=n.asyncScheduler),h.operate(function(f,p){var m=l.now();f.subscribe(y.createOperatorSubscriber(p,function(u){var _=l.now(),v=_-m;m=_,p.next(new r(u,v))}))})};var r=function l(f,p){this.value=f,this.interval=p};o.TimeInterval=r},5001:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeout=o.TimeoutError=void 0;var n=a(4006),h=a(7323),y=a(9216),d=a(8767),r=a(9703),l=a(3173),f=a(2590);function m(u){throw new o.TimeoutError(u)}o.TimeoutError=r.createErrorClass(function(u){return function(v){void 0===v&&(v=null),u(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=v}}),o.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,U=void 0===I?null!=_?_:n.asyncScheduler:I,J=v.meta,Q=void 0===J?null:J;if(null==b&&null==T)throw new TypeError("No timeout provided.");return y.operate(function(q,V){var oe,ce,ge=null,De=0,We=function(Y){ce=f.executeSchedule(V,U,function(){try{oe.unsubscribe(),d.innerFrom(P({meta:Q,lastValue:ge,seen:De})).subscribe(V)}catch(ue){V.error(ue)}},Y)};oe=q.subscribe(l.createOperatorSubscriber(V,function(Y){null==ce||ce.unsubscribe(),De++,V.next(ge=Y),T>0&&We(T)},void 0,void 0,function(){(null==ce?void 0:ce.closed)||null==ce||ce.unsubscribe(),ge=null})),!De&&We(null!=b?"number"==typeof b?b:+b-U.now():T)})}},8308:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutWith=void 0;var n=a(4006),h=a(7323),y=a(5001);o.timeoutWith=function d(r,l,f){var p,m,u;if(f=null!=f?f:n.async,h.isValidDate(r)?p=r:"number"==typeof r&&(m=r),!l)throw new TypeError("No observable provided to switch to");if(u=function(){return l},null==p&&null==m)throw new TypeError("No timeout provided.");return y.timeout({first:p,each:m,scheduler:f,with:u})}},250:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timestamp=void 0;var n=a(8354),h=a(752);o.timestamp=function y(d){return void 0===d&&(d=n.dateTimestampProvider),h.map(function(r){return{value:r,timestamp:d.now()}})}},2976:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.toArray=void 0;var n=a(8587),h=a(9216),y=function(r,l){return r.push(l),r};o.toArray=function d(){return h.operate(function(r,l){n.reduce(y,[])(r).subscribe(l)})}},9374:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.window=void 0;var n=a(3768),h=a(9216),y=a(3173),d=a(31);o.window=function r(l){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)),l.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(W,o,a){"use strict";var n=this&&this.__values||function(l){var f="function"==typeof Symbol&&Symbol.iterator,p=f&&l[f],m=0;if(p)return p.call(l);if(l&&"number"==typeof l.length)return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.windowCount=void 0;var h=a(3768),y=a(9216),d=a(3173);o.windowCount=function r(l,f){void 0===f&&(f=0);var p=f>0?f:l;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(_),U=I.next();!U.done;U=I.next())U.value.next(T)}catch(V){S={error:V}}finally{try{U&&!U.done&&(P=I.return)&&P.call(I)}finally{if(S)throw S.error}}var Q=b-l+1;if(Q>=0&&Q%p==0&&_.shift().complete(),++b%p==0){var q=new h.Subject;_.push(q),u.next(q.asObservable())}},function(){for(;_.length>0;)_.shift().complete();u.complete()},function(T){for(;_.length>0;)_.shift().error(T);u.error(T)},function(){_=null}))})}},2358:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowTime=void 0;var n=a(3768),h=a(4006),y=a(6448),d=a(9216),r=a(3173),l=a(5137),f=a(1642),p=a(2590);o.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(U,J){var Q=[],q=!1,V=function(De){var Y=De.subs;De.window.complete(),Y.unsubscribe(),l.arrRemove(Q,De),q&&oe()},oe=function(){if(Q){var De=new y.Subscription;J.add(De);var We=new n.Subject,Y={window:We,subs:De,seen:0};Q.push(Y),J.next(We.asObservable()),p.executeSchedule(De,S,function(){return V(Y)},u)}};null!==P&&P>=0?p.executeSchedule(J,S,oe,P,!0):q=!0,oe();var ce=function(De){return Q.slice().forEach(De)},ge=function(De){ce(function(We){return De(We.window)}),De(J),J.unsubscribe()};return U.subscribe(r.createOperatorSubscriber(J,function(De){ce(function(We){We.window.next(De),I<=++We.seen&&V(We)})},function(){return ge(function(De){return De.complete()})},function(De){return ge(function(We){return We.error(De)})})),function(){Q=null}})}},6464:function(W,o,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(o,"__esModule",{value:!0}),o.windowToggle=void 0;var h=a(3768),y=a(6448),d=a(9216),r=a(8767),l=a(3173),f=a(31),p=a(5137);o.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)};r.innerFrom(u).subscribe(l.createOperatorSubscriber(b,function(P){var I=new h.Subject;T.push(I);var Q,U=new y.Subscription;try{Q=r.innerFrom(_(P))}catch(q){return void S(q)}b.next(I.asObservable()),U.add(Q.subscribe(l.createOperatorSubscriber(b,function(){p.arrRemove(T,I),I.complete(),U.unsubscribe()},f.noop,S)))},f.noop)),v.subscribe(l.createOperatorSubscriber(b,function(P){var I,U,J=T.slice();try{for(var Q=n(J),q=Q.next();!q.done;q=Q.next())q.value.next(P)}catch(oe){I={error:oe}}finally{try{q&&!q.done&&(U=Q.return)&&U.call(Q)}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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowWhen=void 0;var n=a(3768),h=a(9216),y=a(3173),d=a(8767);o.windowWhen=function r(l){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(l())}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(W,o,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(o,"__esModule",{value:!0}),o.withLatestFrom=void 0;var y=a(9216),d=a(3173),r=a(8767),l=a(7884),f=a(31),p=a(1642);o.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}),U=!1,J=function(q){r.innerFrom(u[q]).subscribe(d.createOperatorSubscriber(T,function(V){P[q]=V,!U&&!I[q]&&(I[q]=!0,(U=I.every(l.identity))&&(I=null))},f.noop))},Q=0;Q<S;Q++)J(Q);b.subscribe(d.createOperatorSubscriber(T,function(q){if(U){var V=h([q],n(P));T.next(v?v.apply(void 0,h([],n(V))):V)}}))})}},5573:function(W,o,a){"use strict";var n=this&&this.__read||function(l,f){var p="function"==typeof Symbol&&l[Symbol.iterator];if(!p)return l;var u,v,m=p.call(l),_=[];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(l,f){for(var p=0,m=f.length,u=l.length;p<m;p++,u++)l[u]=f[p];return l};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var y=a(4842),d=a(9216);o.zip=function r(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return d.operate(function(p,m){y.zip.apply(void 0,h([p],n(l))).subscribe(m)})}},8101:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.zipAll=void 0;var n=a(4842),h=a(1277);o.zipAll=function y(d){return h.joinAllInternals(n.zip,d)}},9411:function(W,o,a){"use strict";var n=this&&this.__read||function(r,l){var f="function"==typeof Symbol&&r[Symbol.iterator];if(!f)return r;var m,_,p=f.call(r),u=[];try{for(;(void 0===l||l-- >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(r,l){for(var f=0,p=l.length,m=r.length;f<p;f++,m++)r[m]=l[f];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.zipWith=void 0;var y=a(5573);o.zipWith=function d(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return y.zip.apply(void 0,h([],n(r)))}},9611:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleArray=void 0;var n=a(5821);o.scheduleArray=function h(y,d){return new n.Observable(function(r){var l=0;return d.schedule(function(){l===y.length?r.complete():(r.next(y[l++]),r.closed||this.schedule())})})}},3009:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleAsyncIterable=void 0;var n=a(5821),h=a(2590);o.scheduleAsyncIterable=function y(d,r){if(!d)throw new Error("Iterable cannot be null");return new n.Observable(function(l){h.executeSchedule(l,r,function(){var f=d[Symbol.asyncIterator]();h.executeSchedule(l,r,function(){f.next().then(function(p){p.done?l.complete():l.next(p.value)})},0,!0)})})}},9049:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleIterable=void 0;var n=a(5821),h=a(4260),y=a(7104),d=a(2590);o.scheduleIterable=function r(l,f){return new n.Observable(function(p){var m;return d.executeSchedule(p,f,function(){m=l[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:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleObservable=void 0;var n=a(8767),h=a(4928),y=a(1698);o.scheduleObservable=function d(r,l){return n.innerFrom(r).pipe(y.subscribeOn(l),h.observeOn(l))}},2247:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.schedulePromise=void 0;var n=a(8767),h=a(4928),y=a(1698);o.schedulePromise=function d(r,l){return n.innerFrom(r).pipe(y.subscribeOn(l),h.observeOn(l))}},3958:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleReadableStreamLike=void 0;var n=a(3009),h=a(7128);o.scheduleReadableStreamLike=function y(d,r){return n.scheduleAsyncIterable(h.readableStreamLikeToAsyncGenerator(d),r)}},9341:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduled=void 0;var n=a(7767),h=a(2247),y=a(9611),d=a(9049),r=a(3009),l=a(7454),f=a(5050),p=a(697),m=a(5431),u=a(6175),_=a(6870),v=a(7128),b=a(3958);o.scheduled=function T(S,P){if(null!=S){if(l.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 r.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(W,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.Action=void 0;var y=function(d){function r(l,f){return d.call(this)||this}return n(r,d),r.prototype.schedule=function(l,f){return void 0===f&&(f=0),this},r}(a(6448).Subscription);o.Action=y},275:function(W,o,a){"use strict";var r,n=this&&this.__extends||(r=function(l,f){return(r=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])})(l,f)},function(l,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=l}r(l,f),l.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameAction=void 0;var h=a(4723),y=a(6343),d=function(r){function l(f,p){var m=r.call(this,f,p)||this;return m.scheduler=f,m.work=p,m}return n(l,r),l.prototype.requestAsyncId=function(f,p,m){return void 0===m&&(m=0),null!==m&&m>0?r.prototype.requestAsyncId.call(this,f,p,m):(f.actions.push(this),f._scheduled||(f._scheduled=y.animationFrameProvider.requestAnimationFrame(function(){return f.flush(void 0)})))},l.prototype.recycleAsyncId=function(f,p,m){if(void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0)return r.prototype.recycleAsyncId.call(this,f,p,m);f.actions.some(function(u){return u.id===p})||(y.animationFrameProvider.cancelAnimationFrame(p),f._scheduled=void 0)},l}(h.AsyncAction);o.AnimationFrameAction=d},3625:function(W,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameScheduler=void 0;var y=function(d){function r(){return null!==d&&d.apply(this,arguments)||this}return n(r,d),r.prototype.flush=function(l){this._active=!0;var f=this._scheduled;this._scheduled=void 0;var m,p=this.actions;l=l||p.shift();do{if(m=l.execute(l.state,l.delay))break}while((l=p[0])&&l.id===f&&p.shift());if(this._active=!1,m){for(;(l=p[0])&&l.id===f&&p.shift();)l.unsubscribe();throw m}},r}(a(6216).AsyncScheduler);o.AnimationFrameScheduler=y},7046:function(W,o,a){"use strict";var r,n=this&&this.__extends||(r=function(l,f){return(r=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])})(l,f)},function(l,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=l}r(l,f),l.prototype=null===f?Object.create(f):(p.prototype=f.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapAction=void 0;var h=a(4723),y=a(7766),d=function(r){function l(f,p){var m=r.call(this,f,p)||this;return m.scheduler=f,m.work=p,m}return n(l,r),l.prototype.requestAsyncId=function(f,p,m){return void 0===m&&(m=0),null!==m&&m>0?r.prototype.requestAsyncId.call(this,f,p,m):(f.actions.push(this),f._scheduled||(f._scheduled=y.immediateProvider.setImmediate(f.flush.bind(f,void 0))))},l.prototype.recycleAsyncId=function(f,p,m){if(void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0)return r.prototype.recycleAsyncId.call(this,f,p,m);f.actions.some(function(u){return u.id===p})||(y.immediateProvider.clearImmediate(p),f._scheduled=void 0)},l}(h.AsyncAction);o.AsapAction=d},3706:function(W,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapScheduler=void 0;var y=function(d){function r(){return null!==d&&d.apply(this,arguments)||this}return n(r,d),r.prototype.flush=function(l){this._active=!0;var f=this._scheduled;this._scheduled=void 0;var m,p=this.actions;l=l||p.shift();do{if(m=l.execute(l.state,l.delay))break}while((l=p[0])&&l.id===f&&p.shift());if(this._active=!1,m){for(;(l=p[0])&&l.id===f&&p.shift();)l.unsubscribe();throw m}},r}(a(6216).AsyncScheduler);o.AsapScheduler=y},4723:function(W,o,a){"use strict";var l,n=this&&this.__extends||(l=function(f,p){return(l=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}l(f,p),f.prototype=null===p?Object.create(p):(m.prototype=p.prototype,new m)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncAction=void 0;var h=a(1394),y=a(2444),d=a(5137),r=function(l){function f(p,m){var u=l.call(this,p,m)||this;return u.scheduler=p,u.work=m,u.pending=!1,u}return n(f,l),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,l.prototype.unsubscribe.call(this)}},f}(h.Action);o.AsyncAction=r},6216:function(W,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncScheduler=void 0;var h=a(2716),y=function(d){function r(l,f){void 0===f&&(f=h.Scheduler.now);var p=d.call(this,l,f)||this;return p.actions=[],p._active=!1,p._scheduled=void 0,p}return n(r,d),r.prototype.flush=function(l){var f=this.actions;if(this._active)f.push(l);else{var p;this._active=!0;do{if(p=l.execute(l.state,l.delay))break}while(l=f.shift());if(this._active=!1,p){for(;l=f.shift();)l.unsubscribe();throw p}}},r}(h.Scheduler);o.AsyncScheduler=y},4954:function(W,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueAction=void 0;var y=function(d){function r(l,f){var p=d.call(this,l,f)||this;return p.scheduler=l,p.work=f,p}return n(r,d),r.prototype.schedule=function(l,f){return void 0===f&&(f=0),f>0?d.prototype.schedule.call(this,l,f):(this.delay=f,this.state=l,this.scheduler.flush(this),this)},r.prototype.execute=function(l,f){return f>0||this.closed?d.prototype.execute.call(this,l,f):this._execute(l,f)},r.prototype.requestAsyncId=function(l,f,p){return void 0===p&&(p=0),null!=p&&p>0||null==p&&this.delay>0?d.prototype.requestAsyncId.call(this,l,f,p):l.flush(this)},r}(a(4723).AsyncAction);o.QueueAction=y},345:function(W,o,a){"use strict";var d,n=this&&this.__extends||(d=function(r,l){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])})(r,l)},function(r,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function f(){this.constructor=r}d(r,l),r.prototype=null===l?Object.create(l):(f.prototype=l.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueScheduler=void 0;var y=function(d){function r(){return null!==d&&d.apply(this,arguments)||this}return n(r,d),r}(a(6216).AsyncScheduler);o.QueueScheduler=y},2018:function(W,o,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(o,"__esModule",{value:!0}),o.VirtualAction=o.VirtualTimeScheduler=void 0;var h=a(4723),y=a(6448),r=function(f){function p(m,u){void 0===m&&(m=l),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);o.VirtualTimeScheduler=r;var l=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);o.VirtualAction=l},1906:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrame=o.animationFrameScheduler=void 0;var n=a(275),h=a(3625);o.animationFrameScheduler=new h.AnimationFrameScheduler(n.AnimationFrameAction),o.animationFrame=o.animationFrameScheduler},6343:function(W,o,a){"use strict";var n=this&&this.__read||function(d,r){var l="function"==typeof Symbol&&d[Symbol.iterator];if(!l)return d;var p,u,f=l.call(d),m=[];try{for(;(void 0===r||r-- >0)&&!(p=f.next()).done;)m.push(p.value)}catch(_){u={error:_}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}return m},h=this&&this.__spreadArray||function(d,r){for(var l=0,f=r.length,p=d.length;l<f;l++,p++)d[p]=r[l];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrameProvider=void 0;var y=a(6448);o.animationFrameProvider={schedule:function(d){var r=requestAnimationFrame,l=cancelAnimationFrame,f=o.animationFrameProvider.delegate;f&&(r=f.requestAnimationFrame,l=f.cancelAnimationFrame);var p=r(function(m){l=void 0,d(m)});return new y.Subscription(function(){return null==l?void 0:l(p)})},requestAnimationFrame:function(){for(var d=[],r=0;r<arguments.length;r++)d[r]=arguments[r];var l=o.animationFrameProvider.delegate;return((null==l?void 0:l.requestAnimationFrame)||requestAnimationFrame).apply(void 0,h([],n(d)))},cancelAnimationFrame:function(){for(var d=[],r=0;r<arguments.length;r++)d[r]=arguments[r];var l=o.animationFrameProvider.delegate;return((null==l?void 0:l.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,h([],n(d)))},delegate:void 0}},1212:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.asap=o.asapScheduler=void 0;var n=a(7046),h=a(3706);o.asapScheduler=new h.AsapScheduler(n.AsapAction),o.asap=o.asapScheduler},4006:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.async=o.asyncScheduler=void 0;var n=a(4723),h=a(6216);o.asyncScheduler=new h.AsyncScheduler(n.AsyncAction),o.async=o.asyncScheduler},8354:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.dateTimestampProvider=void 0,o.dateTimestampProvider={now:function(){return(o.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7766:function(W,o,a){"use strict";var n=this&&this.__read||function(l,f){var p="function"==typeof Symbol&&l[Symbol.iterator];if(!p)return l;var u,v,m=p.call(l),_=[];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(l,f){for(var p=0,m=f.length,u=l.length;p<m;p++,u++)l[u]=f[p];return l};Object.defineProperty(o,"__esModule",{value:!0}),o.immediateProvider=void 0;var y=a(349),d=y.Immediate.setImmediate,r=y.Immediate.clearImmediate;o.immediateProvider={setImmediate:function(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];var p=o.immediateProvider.delegate;return((null==p?void 0:p.setImmediate)||d).apply(void 0,h([],n(l)))},clearImmediate:function(l){var f=o.immediateProvider.delegate;return((null==f?void 0:f.clearImmediate)||r)(l)},delegate:void 0}},2444:function(W,o){"use strict";var a=this&&this.__read||function(h,y){var d="function"==typeof Symbol&&h[Symbol.iterator];if(!d)return h;var l,p,r=d.call(h),f=[];try{for(;(void 0===y||y-- >0)&&!(l=r.next()).done;)f.push(l.value)}catch(m){p={error:m}}finally{try{l&&!l.done&&(d=r.return)&&d.call(r)}finally{if(p)throw p.error}}return f},n=this&&this.__spreadArray||function(h,y){for(var d=0,r=y.length,l=h.length;d<r;d++,l++)h[l]=y[d];return h};Object.defineProperty(o,"__esModule",{value:!0}),o.intervalProvider=void 0,o.intervalProvider={setInterval:function(h,y){for(var d=[],r=2;r<arguments.length;r++)d[r-2]=arguments[r];var l=o.intervalProvider.delegate;return(null==l?void 0:l.setInterval)?l.setInterval.apply(l,n([h,y],a(d))):setInterval.apply(void 0,n([h,y],a(d)))},clearInterval:function(h){var y=o.intervalProvider.delegate;return((null==y?void 0:y.clearInterval)||clearInterval)(h)},delegate:void 0}},1038:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.performanceTimestampProvider=void 0,o.performanceTimestampProvider={now:function(){return(o.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},5668:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.queue=o.queueScheduler=void 0;var n=a(4954),h=a(345);o.queueScheduler=new h.QueueScheduler(n.QueueAction),o.queue=o.queueScheduler},3914:function(W,o){"use strict";var a=this&&this.__read||function(h,y){var d="function"==typeof Symbol&&h[Symbol.iterator];if(!d)return h;var l,p,r=d.call(h),f=[];try{for(;(void 0===y||y-- >0)&&!(l=r.next()).done;)f.push(l.value)}catch(m){p={error:m}}finally{try{l&&!l.done&&(d=r.return)&&d.call(r)}finally{if(p)throw p.error}}return f},n=this&&this.__spreadArray||function(h,y){for(var d=0,r=y.length,l=h.length;d<r;d++,l++)h[l]=y[d];return h};Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutProvider=void 0,o.timeoutProvider={setTimeout:function(h,y){for(var d=[],r=2;r<arguments.length;r++)d[r-2]=arguments[r];var l=o.timeoutProvider.delegate;return(null==l?void 0:l.setTimeout)?l.setTimeout.apply(l,n([h,y],a(d))):setTimeout.apply(void 0,n([h,y],a(d)))},clearTimeout:function(h){var y=o.timeoutProvider.delegate;return((null==y?void 0:y.clearTimeout)||clearTimeout)(h)},delegate:void 0}},4260:(W,o)=>{"use strict";function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(o,"__esModule",{value:!0}),o.iterator=o.getSymbolIterator=void 0,o.getSymbolIterator=a,o.iterator=a()},1689:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observable=void 0,o.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},5256:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0})},4769:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ArgumentOutOfRangeError=void 0;var n=a(9703);o.ArgumentOutOfRangeError=n.createErrorClass(function(h){return function(){h(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},8915:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.EmptyError=void 0;var n=a(9703);o.EmptyError=n.createErrorClass(function(h){return function(){h(this),this.name="EmptyError",this.message="no elements in sequence"}})},349:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TestTools=o.Immediate=void 0;var n,a=1,h={};function y(d){return d in h&&(delete h[d],!0)}o.Immediate={setImmediate:function(d){var r=a++;return h[r]=!0,n||(n=Promise.resolve()),n.then(function(){return y(r)&&d()}),r},clearImmediate:function(d){y(d)}},o.TestTools={pending:function(){return Object.keys(h).length}}},5477:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.NotFoundError=void 0;var n=a(9703);o.NotFoundError=n.createErrorClass(function(h){return function(d){h(this),this.name="NotFoundError",this.message=d}})},3965:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ObjectUnsubscribedError=void 0;var n=a(9703);o.ObjectUnsubscribedError=n.createErrorClass(function(h){return function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},1551:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.SequenceError=void 0;var n=a(9703);o.SequenceError=n.createErrorClass(function(h){return function(d){h(this),this.name="SequenceError",this.message=d}})},4970:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.UnsubscriptionError=void 0;var n=a(9703);o.UnsubscriptionError=n.createErrorClass(function(h){return function(d){h(this),this.message=d?d.length+" errors occurred during unsubscription:\n"+d.map(function(r,l){return l+1+") "+r.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=d}})},1642:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.popNumber=o.popScheduler=o.popResultSelector=void 0;var n=a(7104),h=a(1875);function y(f){return f[f.length-1]}o.popResultSelector=function d(f){return n.isFunction(y(f))?f.pop():void 0},o.popScheduler=function r(f){return h.isScheduler(y(f))?f.pop():void 0},o.popNumber=function l(f,p){return"number"==typeof y(f)?f.pop():p}},9923:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsArgArrayOrObject=void 0;var a=Array.isArray,n=Object.getPrototypeOf,h=Object.prototype,y=Object.keys;o.argsArgArrayOrObject=function d(l){if(1===l.length){var f=l[0];if(a(f))return{args:f,keys:null};if(function r(l){return l&&"object"==typeof l&&n(l)===h}(f)){var p=y(f);return{args:p.map(function(m){return f[m]}),keys:p}}}return{args:l,keys:null}}},3531:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsOrArgArray=void 0;var a=Array.isArray;o.argsOrArgArray=function n(h){return 1===h.length&&a(h[0])?h[0]:h}},5137:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.arrRemove=void 0,o.arrRemove=function a(n,h){if(n){var y=n.indexOf(h);0<=y&&n.splice(y,1)}}},9703:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createErrorClass=void 0,o.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:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createObject=void 0,o.createObject=function a(n,h){return n.reduce(function(y,d,r){return y[d]=h[r],y},{})}},5808:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.captureError=o.errorContext=void 0;var n=a(3570),h=null;o.errorContext=function y(r){if(n.config.useDeprecatedSynchronousErrorHandling){var l=!h;if(l&&(h={errorThrown:!1,error:null}),r(),l){var f=h;if(h=null,f.errorThrown)throw f.error}}else r()},o.captureError=function d(r){n.config.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=r)}},2590:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.executeSchedule=void 0,o.executeSchedule=function a(n,h,y,d,r){void 0===d&&(d=0),void 0===r&&(r=!1);var l=h.schedule(function(){y(),r?n.add(this.schedule(null,d)):this.unsubscribe()},d);if(n.add(l),!r)return l}},7884:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.identity=void 0,o.identity=function a(n){return n}},697:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isArrayLike=void 0,o.isArrayLike=function(a){return a&&"number"==typeof a.length&&"function"!=typeof a}},6175:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isAsyncIterable=void 0;var n=a(7104);o.isAsyncIterable=function h(y){return Symbol.asyncIterator&&n.isFunction(null==y?void 0:y[Symbol.asyncIterator])}},7323:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isValidDate=void 0,o.isValidDate=function a(n){return n instanceof Date&&!isNaN(n)}},7104:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFunction=void 0,o.isFunction=function a(n){return"function"==typeof n}},7454:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isInteropObservable=void 0;var n=a(1689),h=a(7104);o.isInteropObservable=function y(d){return h.isFunction(d[n.observable])}},5431:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isIterable=void 0;var n=a(4260),h=a(7104);o.isIterable=function y(d){return h.isFunction(null==d?void 0:d[n.iterator])}},4341:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isObservable=void 0;var n=a(5821),h=a(7104);o.isObservable=function y(d){return!!d&&(d instanceof n.Observable||h.isFunction(d.lift)&&h.isFunction(d.subscribe))}},5050:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isPromise=void 0;var n=a(7104);o.isPromise=function h(y){return n.isFunction(null==y?void 0:y.then)}},7128:function(W,o,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(Q){return new Promise(function(q,V){v.push([J,Q,q,V])>1||T(J,Q)})})}function T(J,Q){try{!function S(J){J.value instanceof h?Promise.resolve(J.value.v).then(P,I):U(v[0][2],J)}(u[J](Q))}catch(q){U(v[0][3],q)}}function P(J){T("next",J)}function I(J){T("throw",J)}function U(J,Q){J(Q),v.shift(),v.length&&T(v[0][0],v[0][1])}};Object.defineProperty(o,"__esModule",{value:!0}),o.isReadableStreamLike=o.readableStreamLikeToAsyncGenerator=void 0;var d=a(7104);o.readableStreamLikeToAsyncGenerator=function r(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]}})})},o.isReadableStreamLike=function l(f){return d.isFunction(null==f?void 0:f.getReader)}},1875:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isScheduler=void 0;var n=a(7104);o.isScheduler=function h(y){return y&&n.isFunction(y.schedule)}},9216:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.operate=o.hasLift=void 0;var n=a(7104);function h(d){return n.isFunction(null==d?void 0:d.lift)}o.hasLift=h,o.operate=function y(d){return function(r){if(h(r))return r.lift(function(l){try{return d(l,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},5280:function(W,o,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(o,"__esModule",{value:!0}),o.mapOneOrManyArgs=void 0;var y=a(752),d=Array.isArray;o.mapOneOrManyArgs=function l(f){return y.map(function(p){return function r(f,p){return d(p)?f.apply(void 0,h([],n(p))):f(p)}(f,p)})}},31:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.noop=void 0,o.noop=function a(){}},963:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.not=void 0,o.not=function a(n,h){return function(y,d){return!n.call(h,y,d)}}},1471:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pipeFromArray=o.pipe=void 0;var n=a(7884);function y(d){return 0===d.length?n.identity:1===d.length?d[0]:function(l){return d.reduce(function(f,p){return p(f)},l)}}o.pipe=function h(){for(var d=[],r=0;r<arguments.length;r++)d[r]=arguments[r];return y(d)},o.pipeFromArray=y},4709:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reportUnhandledError=void 0;var n=a(3570),h=a(3914);o.reportUnhandledError=function y(d){h.timeoutProvider.setTimeout(function(){var r=n.config.onUnhandledError;if(!r)throw d;r(d)})}},6870:(W,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createInvalidObservableTypeError=void 0,o.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:(W,o,a)=>{"use strict";a.d(o,{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 r=super._subscribe(d);return!r.closed&&d.next(this._value),r}getValue(){const{hasError:d,thrownError:r,_value:l}=this;if(d)throw r;return this._throwIfClosed(),l}next(d){super.next(this._value=d)}}},8306:(W,o,a)=>{"use strict";a.d(o,{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,U){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,U);return(0,m.x)(()=>{const{operator:Q,source:q}=this;J.add(Q?Q.call(J,q):q?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))((U,J)=>{const Q=new n.Hp({next:q=>{try{P(q)}catch(V){J(V),Q.unsubscribe()}},error:J,complete:U});this.subscribe(Q)})}_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 l(T){return 0===T.length?d.y:1===T.length?T[0]:function(P){return T.reduce((I,U)=>U(I),P)}}(P)(this)}toPromise(P){return new(P=_(P))((I,U)=>{let J;this.subscribe(Q=>J=Q,Q=>U(Q),()=>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:(W,o,a)=>{"use strict";a.d(o,{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 r=a(8737),l=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,l.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const v of this.currentObservers)v.next(_)}})}error(_){(0,l.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,l.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,r.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:(W,o,a)=>{"use strict";a.d(o,{Hp:()=>P,Lv:()=>v});var n=a(576),h=a(727),y=a(2416),d=a(7849),r=a(5032);const l=m("C",void 0,void 0);function m(q,V,oe){return{kind:q,value:V,error:oe}}var u=a(3410),_=a(2806);class v extends h.w0{constructor(V){super(),this.isStopped=!1,V?(this.destination=V,(0,h.Nn)(V)&&V.add(this)):this.destination=Q}static create(V,oe,ce){return new P(V,oe,ce)}next(V){this.isStopped?J(function p(q){return m("N",q,void 0)}(V),this):this._next(V)}error(V){this.isStopped?J(function f(q){return m("E",void 0,q)}(V),this):(this.isStopped=!0,this._error(V))}complete(){this.isStopped?J(l,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(V){this.destination.next(V)}_error(V){try{this.destination.error(V)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function T(q,V){return b.call(q,V)}class S{constructor(V){this.partialObserver=V}next(V){const{partialObserver:oe}=this;if(oe.next)try{oe.next(V)}catch(ce){I(ce)}}error(V){const{partialObserver:oe}=this;if(oe.error)try{oe.error(V)}catch(ce){I(ce)}else I(V)}complete(){const{partialObserver:V}=this;if(V.complete)try{V.complete()}catch(oe){I(oe)}}}class P extends v{constructor(V,oe,ce){let ge;if(super(),(0,n.m)(V)||!V)ge={next:null!=V?V:void 0,error:null!=oe?oe:void 0,complete:null!=ce?ce:void 0};else{let De;this&&y.v.useDeprecatedNextContext?(De=Object.create(V),De.unsubscribe=()=>this.unsubscribe(),ge={next:V.next&&T(V.next,De),error:V.error&&T(V.error,De),complete:V.complete&&T(V.complete,De)}):ge=V}this.destination=new S(ge)}}function I(q){y.v.useDeprecatedSynchronousErrorHandling?(0,_.O)(q):(0,d.h)(q)}function J(q,V){const{onStoppedNotification:oe}=y.v;oe&&u.z.setTimeout(()=>oe(q,V))}const Q={closed:!0,next:r.Z,error:function U(q){throw q},complete:r.Z}},727:(W,o,a)=>{"use strict";a.d(o,{Lc:()=>l,w0:()=>r,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 r{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 r){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 r&&u._removeParent(this)}}r.EMPTY=(()=>{const m=new r;return m.closed=!0,m})();const l=r.EMPTY;function f(m){return m instanceof r||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:(W,o,a)=>{"use strict";a.d(o,{v:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(W,o,a)=>{"use strict";a.d(o,{a:()=>u});var n=a(8306),h=a(4742),y=a(2076),d=a(4671),r=a(3268),l=a(3269),f=a(1810),p=a(5403),m=a(9672);function u(...b){const T=(0,l.yG)(b),S=(0,l.jO)(b),{args:P,keys:I}=(0,h.D)(b);if(0===P.length)return(0,y.D)([],T);const U=new n.y(function _(b,T,S=d.y){return P=>{v(T,()=>{const{length:I}=b,U=new Array(I);let J=I,Q=I;for(let q=0;q<I;q++)v(T,()=>{const V=(0,y.D)(b[q],T);let oe=!1;V.subscribe((0,p.x)(P,ce=>{U[q]=ce,oe||(oe=!0,Q--),Q||P.next(S(U.slice()))},()=>{--J||P.complete()}))},P)},P)}}(P,T,I?J=>(0,f.n)(I,J):d.y));return S?U.pipe((0,r.Z)(S)):U}function v(b,T,S){b?(0,m.f)(S,b,T):T()}},7272:(W,o,a)=>{"use strict";a.d(o,{z:()=>r});var n=a(8189),y=a(3269),d=a(2076);function r(...l){return function h(){return(0,n.J)(1)}()((0,d.D)(l,(0,y.yG)(l)))}},515:(W,o,a)=>{"use strict";a.d(o,{E:()=>h});const h=new(a(8306).y)(r=>r.complete())},4128:(W,o,a)=>{"use strict";a.d(o,{D:()=>p});var n=a(8306),h=a(4742),y=a(8421),d=a(3269),r=a(5403),l=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,U=S;for(let J=0;J<S;J++){let Q=!1;(0,y.Xf)(_[J]).subscribe((0,r.x)(T,q=>{Q||(Q=!0,U--),P[J]=q},()=>I--,void 0,()=>{(!I||!Q)&&(U||T.next(v?(0,f.n)(v,P):P),T.complete())}))}});return u?b.pipe((0,l.Z)(u)):b}},2076:(W,o,a)=>{"use strict";a.d(o,{D:()=>ce});var n=a(8421),h=a(9672),y=a(4482),d=a(5403);function r(ge,De=0){return(0,y.e)((We,Y)=>{We.subscribe((0,d.x)(Y,ue=>(0,h.f)(Y,ge,()=>Y.next(ue),De),()=>(0,h.f)(Y,ge,()=>Y.complete(),De),ue=>(0,h.f)(Y,ge,()=>Y.error(ue),De)))})}function l(ge,De=0){return(0,y.e)((We,Y)=>{Y.add(ge.schedule(()=>We.subscribe(Y),De))})}var m=a(8306),_=a(2202),v=a(576);function T(ge,De){if(!ge)throw new Error("Iterable cannot be null");return new m.y(We=>{(0,h.f)(We,De,()=>{const Y=ge[Symbol.asyncIterator]();(0,h.f)(We,De,()=>{Y.next().then(ue=>{ue.done?We.complete():We.next(ue.value)})},0,!0)})})}var S=a(3670),P=a(8239),I=a(1144),U=a(6495),J=a(2206),Q=a(4532),q=a(3260);function ce(ge,De){return De?function oe(ge,De){if(null!=ge){if((0,S.c)(ge))return function f(ge,De){return(0,n.Xf)(ge).pipe(l(De),r(De))}(ge,De);if((0,I.z)(ge))return function u(ge,De){return new m.y(We=>{let Y=0;return De.schedule(function(){Y===ge.length?We.complete():(We.next(ge[Y++]),We.closed||this.schedule())})})}(ge,De);if((0,P.t)(ge))return function p(ge,De){return(0,n.Xf)(ge).pipe(l(De),r(De))}(ge,De);if((0,J.D)(ge))return T(ge,De);if((0,U.T)(ge))return function b(ge,De){return new m.y(We=>{let Y;return(0,h.f)(We,De,()=>{Y=ge[_.h](),(0,h.f)(We,De,()=>{let ue,$;try{({value:ue,done:$}=Y.next())}catch(fe){return void We.error(fe)}$?We.complete():We.next(ue)},0,!0)}),()=>(0,v.m)(null==Y?void 0:Y.return)&&Y.return()})}(ge,De);if((0,q.L)(ge))return function V(ge,De){return T((0,q.Q)(ge),De)}(ge,De)}throw(0,Q.z)(ge)}(ge,De):(0,n.Xf)(ge)}},4968:(W,o,a)=>{"use strict";a.d(o,{R:()=>u});var n=a(8421),h=a(8306),y=a(5577),d=a(1144),r=a(576),l=a(3268);const f=["addListener","removeListener"],p=["addEventListener","removeEventListener"],m=["on","off"];function u(S,P,I,U){if((0,r.m)(I)&&(U=I,I=void 0),U)return u(S,P,I).pipe((0,l.Z)(U));const[J,Q]=function T(S){return(0,r.m)(S.addEventListener)&&(0,r.m)(S.removeEventListener)}(S)?p.map(q=>V=>S[q](P,V,I)):function v(S){return(0,r.m)(S.addListener)&&(0,r.m)(S.removeListener)}(S)?f.map(_(S,P)):function b(S){return(0,r.m)(S.on)&&(0,r.m)(S.off)}(S)?m.map(_(S,P)):[];if(!J&&(0,d.z)(S))return(0,y.z)(q=>u(q,P,I))((0,n.Xf)(S));if(!J)throw new TypeError("Invalid event target");return new h.y(q=>{const V=(...oe)=>q.next(1<oe.length?oe:oe[0]);return J(V),()=>Q(V)})}function _(S,P){return I=>U=>S[I](P,U)}},8421:(W,o,a)=>{"use strict";a.d(o,{Xf:()=>b});var n=a(655),h=a(1144),y=a(8239),d=a(8306),r=a(3670),l=a(2206),f=a(4532),p=a(6495),m=a(3260),u=a(576),_=a(7849),v=a(8822);function b(q){if(q instanceof d.y)return q;if(null!=q){if((0,r.c)(q))return function T(q){return new d.y(V=>{const oe=q[v.L]();if((0,u.m)(oe.subscribe))return oe.subscribe(V);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(q);if((0,h.z)(q))return function S(q){return new d.y(V=>{for(let oe=0;oe<q.length&&!V.closed;oe++)V.next(q[oe]);V.complete()})}(q);if((0,y.t)(q))return function P(q){return new d.y(V=>{q.then(oe=>{V.closed||(V.next(oe),V.complete())},oe=>V.error(oe)).then(null,_.h)})}(q);if((0,l.D)(q))return U(q);if((0,p.T)(q))return function I(q){return new d.y(V=>{for(const oe of q)if(V.next(oe),V.closed)return;V.complete()})}(q);if((0,m.L)(q))return function J(q){return U((0,m.Q)(q))}(q)}throw(0,f.z)(q)}function U(q){return new d.y(V=>{(function Q(q,V){var oe,ce,ge,De;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(oe=(0,n.__asyncValues)(q);!(ce=yield oe.next()).done;)if(V.next(ce.value),V.closed)return}catch(We){ge={error:We}}finally{try{ce&&!ce.done&&(De=oe.return)&&(yield De.call(oe))}finally{if(ge)throw ge.error}}V.complete()})})(q,V).catch(oe=>V.error(oe))})}},6451:(W,o,a)=>{"use strict";a.d(o,{T:()=>l});var n=a(8189),h=a(8421),y=a(515),d=a(3269),r=a(2076);function l(...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,r.D)(u,p)):y.E}},9646:(W,o,a)=>{"use strict";a.d(o,{of:()=>y});var n=a(3269),h=a(2076);function y(...d){const r=(0,n.yG)(d);return(0,h.D)(d,r)}},5963:(W,o,a)=>{"use strict";a.d(o,{H:()=>r});var n=a(8306),h=a(4986),y=a(3532);function r(l=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(l){return l instanceof Date&&!isNaN(l)}(l)?+l-p.now():l;_<0&&(_=0);let v=0;return p.schedule(function(){u.closed||(u.next(v++),0<=m?this.schedule(void 0,m):u.complete())},_)})}},5403:(W,o,a)=>{"use strict";a.d(o,{x:()=>h});var n=a(930);function h(d,r,l,f,p){return new y(d,r,l,f,p)}class y extends n.Lv{constructor(r,l,f,p,m,u){super(r),this.onFinalize=m,this.shouldUnsubscribe=u,this._next=l?function(_){try{l(_)}catch(v){r.error(v)}}:super._next,this._error=p?function(_){try{p(_)}catch(v){r.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:l}=this;super.unsubscribe(),!l&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}},8372:(W,o,a)=>{"use strict";a.d(o,{b:()=>d});var n=a(4986),h=a(4482),y=a(5403);function d(r,l=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=_+r,S=l.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,_=l.now(),m||(m=l.schedule(b,r),p.add(m))},()=>{v(),p.complete()},void 0,()=>{u=m=null}))})}},1884:(W,o,a)=>{"use strict";a.d(o,{x:()=>d});var n=a(4671),h=a(4482),y=a(5403);function d(l,f=n.y){return l=null!=l?l:r,(0,h.e)((p,m)=>{let u,_=!0;p.subscribe((0,y.x)(m,v=>{const b=f(v);(_||!l(u,b))&&(_=!1,u=b,m.next(v))}))})}function r(l,f){return l===f}},9300:(W,o,a)=>{"use strict";a.d(o,{h:()=>y});var n=a(4482),h=a(5403);function y(d,r){return(0,n.e)((l,f)=>{let p=0;l.subscribe((0,h.x)(f,m=>d.call(r,m,p++)&&f.next(m)))})}},4004:(W,o,a)=>{"use strict";a.d(o,{U:()=>y});var n=a(4482),h=a(5403);function y(d,r){return(0,n.e)((l,f)=>{let p=0;l.subscribe((0,h.x)(f,m=>{f.next(d.call(r,m,p++))}))})}},8189:(W,o,a)=>{"use strict";a.d(o,{J:()=>y});var n=a(5577),h=a(4671);function y(d=1/0){return(0,n.z)(h.y,d)}},5577:(W,o,a)=>{"use strict";a.d(o,{z:()=>p});var n=a(4004),h=a(8421),y=a(4482),d=a(9672),r=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 l(m,u,_,v,b,T,S,P){const I=[];let U=0,J=0,Q=!1;const q=()=>{Q&&!I.length&&!U&&u.complete()},V=ce=>U<v?oe(ce):I.push(ce),oe=ce=>{T&&u.next(ce),U++;let ge=!1;(0,h.Xf)(_(ce,J++)).subscribe((0,r.x)(u,De=>{null==b||b(De),T?V(De):u.next(De)},()=>{ge=!0},void 0,()=>{if(ge)try{for(U--;I.length&&U<v;){const De=I.shift();S?(0,d.f)(u,S,()=>oe(De)):oe(De)}q()}catch(De){u.error(De)}}))};return m.subscribe((0,r.x)(u,V,()=>{Q=!0,q()})),()=>{null==P||P()}}(v,b,m,_)))}},3099:(W,o,a)=>{"use strict";a.d(o,{B:()=>l});var n=a(2076),h=a(5698),y=a(7579),d=a(930),r=a(4482);function l(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,U=!1,J=!1;const Q=()=>{null==S||S.unsubscribe(),S=null},q=()=>{Q(),T=P=null,U=J=!1},V=()=>{const oe=T;q(),null==oe||oe.unsubscribe()};return(0,r.e)((oe,ce)=>{I++,!J&&!U&&Q();const ge=P=null!=P?P:m();ce.add(()=>{I--,0===I&&!J&&!U&&(S=f(V,v))}),ge.subscribe(ce),T||(T=new d.Hp({next:De=>ge.next(De),error:De=>{J=!0,Q(),S=f(q,u,De),ge.error(De)},complete:()=>{U=!0,Q(),S=f(q,_),ge.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:(W,o,a)=>{"use strict";a.d(o,{T:()=>h});var n=a(9300);function h(y){return(0,n.h)((d,r)=>y<=r)}},8675:(W,o,a)=>{"use strict";a.d(o,{O:()=>d});var n=a(7272),h=a(3269),y=a(4482);function d(...r){const l=(0,h.yG)(r);return(0,y.e)((f,p)=>{(l?(0,n.z)(r,f,l):(0,n.z)(r,f)).subscribe(p)})}},3900:(W,o,a)=>{"use strict";a.d(o,{w:()=>d});var n=a(8421),h=a(4482),y=a(5403);function d(r,l){return(0,h.e)((f,p)=>{let m=null,u=0,_=!1;const v=()=>_&&!m&&p.complete();f.subscribe((0,y.x)(p,b=>{null==m||m.unsubscribe();let T=0;const S=u++;(0,n.Xf)(r(b,S)).subscribe(m=(0,y.x)(p,P=>p.next(l?l(b,P,S,T++):P),()=>{m=null,v()}))},()=>{_=!0,v()}))})}},5698:(W,o,a)=>{"use strict";a.d(o,{q:()=>d});var n=a(515),h=a(4482),y=a(5403);function d(r){return r<=0?()=>n.E:(0,h.e)((l,f)=>{let p=0;l.subscribe((0,y.x)(f,m=>{++p<=r&&(f.next(m),r<=p&&f.complete())}))})}},2722:(W,o,a)=>{"use strict";a.d(o,{R:()=>r});var n=a(4482),h=a(5403),y=a(8421),d=a(5032);function r(l){return(0,n.e)((f,p)=>{(0,y.Xf)(l).subscribe((0,h.x)(p,()=>p.complete(),d.Z)),!p.closed&&f.subscribe(p)})}},8505:(W,o,a)=>{"use strict";a.d(o,{b:()=>r});var n=a(576),h=a(4482),y=a(5403),d=a(4671);function r(l,f,p){const m=(0,n.m)(l)||f||p?{next:l,error:f,complete:p}:l;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:(W,o,a)=>{"use strict";a.d(o,{o:()=>r});var n=a(727);class h extends n.w0{constructor(f,p){super()}schedule(f,p=0){return this}}const y={setInterval(l,f,...p){const{delegate:m}=y;return(null==m?void 0:m.setInterval)?m.setInterval(l,f,...p):setInterval(l,f,...p)},clearInterval(l){const{delegate:f}=y;return((null==f?void 0:f.clearInterval)||clearInterval)(l)},delegate:void 0};var d=a(8737);class r 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:(W,o,a)=>{"use strict";a.d(o,{v:()=>y});const n={now:()=>(n.delegate||Date).now(),delegate:void 0};class h{constructor(r,l=h.now){this.schedulerActionCtor=r,this.now=l}schedule(r,l=0,f){return new this.schedulerActionCtor(this,r).schedule(f,l)}}h.now=n.now;class y extends h{constructor(r,l=h.now){super(r,l),this.actions=[],this._active=!1,this._scheduled=void 0}flush(r){const{actions:l}=this;if(this._active)return void l.push(r);let f;this._active=!0;do{if(f=r.execute(r.state,r.delay))break}while(r=l.shift());if(this._active=!1,f){for(;r=l.shift();)r.unsubscribe();throw f}}}},3101:(W,o,a)=>{"use strict";a.d(o,{E:()=>T});var n=a(4408);let y,h=1;const d={};function r(P){return P in d&&(delete d[P],!0)}const l={setImmediate(P){const I=h++;return d[I]=!0,y||(y=Promise.resolve()),y.then(()=>r(I)&&P()),I},clearImmediate(P){r(P)}},{setImmediate:p,clearImmediate:m}=l,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 U=this._scheduled;this._scheduled=void 0;const{actions:J}=this;let Q;I=I||J.shift();do{if(Q=I.execute(I.state,I.delay))break}while((I=J[0])&&I.id===U&&J.shift());if(this._active=!1,Q){for(;(I=J[0])&&I.id===U&&J.shift();)I.unsubscribe();throw Q}}}(class _ extends n.o{constructor(I,U){super(I,U),this.scheduler=I,this.work=U}requestAsyncId(I,U,J=0){return null!==J&&J>0?super.requestAsyncId(I,U,J):(I.actions.push(this),I._scheduled||(I._scheduled=u.setImmediate(I.flush.bind(I,void 0))))}recycleAsyncId(I,U,J=0){if(null!=J&&J>0||null==J&&this.delay>0)return super.recycleAsyncId(I,U,J);I.actions.some(Q=>Q.id===U)||(u.clearImmediate(U),I._scheduled=void 0)}})},4986:(W,o,a)=>{"use strict";a.d(o,{P:()=>d,z:()=>y});var n=a(4408);const y=new(a(640).v)(n.o),d=y},3410:(W,o,a)=>{"use strict";a.d(o,{z:()=>n});const n={setTimeout(h,y,...d){const{delegate:r}=n;return(null==r?void 0:r.setTimeout)?r.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:(W,o,a)=>{"use strict";a.d(o,{h:()=>h});const h=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(W,o,a)=>{"use strict";a.d(o,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(W,o,a)=>{"use strict";a.d(o,{_6:()=>l,jO:()=>d,yG:()=>r});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 r(f){return(0,h.K)(y(f))?f.pop():void 0}function l(f,p){return"number"==typeof y(f)?f.pop():p}},4742:(W,o,a)=>{"use strict";a.d(o,{D:()=>r});const{isArray:n}=Array,{getPrototypeOf:h,prototype:y,keys:d}=Object;function r(f){if(1===f.length){const p=f[0];if(n(p))return{args:p,keys:null};if(function l(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:(W,o,a)=>{"use strict";function n(h,y){if(h){const d=h.indexOf(y);0<=d&&h.splice(d,1)}}a.d(o,{P:()=>n})},3888:(W,o,a)=>{"use strict";function n(h){const d=h(r=>{Error.call(r),r.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}a.d(o,{d:()=>n})},1810:(W,o,a)=>{"use strict";function n(h,y){return h.reduce((d,r,l)=>(d[r]=y[l],d),{})}a.d(o,{n:()=>n})},2806:(W,o,a)=>{"use strict";a.d(o,{O:()=>d,x:()=>y});var n=a(2416);let h=null;function y(r){if(n.v.useDeprecatedSynchronousErrorHandling){const l=!h;if(l&&(h={errorThrown:!1,error:null}),r(),l){const{errorThrown:f,error:p}=h;if(h=null,f)throw p}}else r()}function d(r){n.v.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=r)}},9672:(W,o,a)=>{"use strict";function n(h,y,d,r=0,l=!1){const f=y.schedule(function(){d(),l?h.add(this.schedule(null,r)):this.unsubscribe()},r);if(h.add(f),!l)return f}a.d(o,{f:()=>n})},4671:(W,o,a)=>{"use strict";function n(h){return h}a.d(o,{y:()=>n})},1144:(W,o,a)=>{"use strict";a.d(o,{z:()=>n});const n=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(W,o,a)=>{"use strict";a.d(o,{D:()=>h});var n=a(576);function h(y){return Symbol.asyncIterator&&(0,n.m)(null==y?void 0:y[Symbol.asyncIterator])}},576:(W,o,a)=>{"use strict";function n(h){return"function"==typeof h}a.d(o,{m:()=>n})},3670:(W,o,a)=>{"use strict";a.d(o,{c:()=>y});var n=a(8822),h=a(576);function y(d){return(0,h.m)(d[n.L])}},6495:(W,o,a)=>{"use strict";a.d(o,{T:()=>y});var n=a(2202),h=a(576);function y(d){return(0,h.m)(null==d?void 0:d[n.h])}},8239:(W,o,a)=>{"use strict";a.d(o,{t:()=>h});var n=a(576);function h(y){return(0,n.m)(null==y?void 0:y.then)}},3260:(W,o,a)=>{"use strict";a.d(o,{L:()=>d,Q:()=>y});var n=a(655),h=a(576);function y(r){return(0,n.__asyncGenerator)(this,arguments,function*(){const f=r.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(r){return(0,h.m)(null==r?void 0:r.getReader)}},3532:(W,o,a)=>{"use strict";a.d(o,{K:()=>h});var n=a(576);function h(y){return y&&(0,n.m)(y.schedule)}},4482:(W,o,a)=>{"use strict";a.d(o,{e:()=>y});var n=a(576);function y(d){return r=>{if(function h(d){return(0,n.m)(null==d?void 0:d.lift)}(r))return r.lift(function(l){try{return d(l,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(W,o,a)=>{"use strict";a.d(o,{Z:()=>d});var n=a(4004);const{isArray:h}=Array;function d(r){return(0,n.U)(l=>function y(r,l){return h(l)?r(...l):r(l)}(r,l))}},5032:(W,o,a)=>{"use strict";function n(){}a.d(o,{Z:()=>n})},7849:(W,o,a)=>{"use strict";a.d(o,{h:()=>y});var n=a(2416),h=a(3410);function y(d){h.z.setTimeout(()=>{const{onUnhandledError:r}=n.v;if(!r)throw d;r(d)})}},4532:(W,o,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(o,{z:()=>n})},3642:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateRxMethod=o.generateMethodSignature=o.generateErrorClass=o.generateClass=o.generateErrorType=o.generateEnum=o.generateJsonRepresentation=o.mangle=o.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}`)}}o.generateSwiftTypeName=h,o.mangle=y,o.generateJsonRepresentation=d,o.generateEnum=function r(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},o.generateErrorType=function l(b){let T=" public enum ErrorType: String, Codable {\n";return T+=b.map(S=>` case ${y(S)} = "${S}"`).join("\n"),T+="\n }\n",T},o.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`},o.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"},o.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(", ")})`},o.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(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(7636),o)},7636:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateSwiftClientSource=void 0;const n=a(6676),h=a(3642);o.generateSwiftClientSource=function y(d,r){let l="import Foundation\nimport SdkgenRuntime\n";l+=r?"import RxSwift\nimport RxCocoa\n\n":"\n",l+="protocol APICallsProtocol {\n",l+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>`${(0,h.generateMethodSignature)(m)}`).join("\n"),l+="\n}\n\n",l+='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)l+=(0,h.generateEnum)(m),l+="\n";for(const m of d.structTypes)l+=(0,h.generateClass)(m),l+="\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&&(l+=(0,h.generateErrorType)(f),l+="\n"),l+=(0,h.generateErrorClass)(),l+="\n",l+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",l+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",l+=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"),l+=" }\n",l+="}\n",r&&(l+="\n",l+="extension API: ReactiveCompatible {}\n\n",l+="extension Reactive where Base: API {\n",l+=d.operations.filter(m=>m.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(m=>`${(0,h.generateRxMethod)(m)}`).join("\n"),l+="}\n"),l}},8173:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateBrowserClientSource=void 0;const n=a(6676),h=a(5596);o.generateBrowserClientSource=function y(d){let r="";r+=`/* 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)r+=(0,h.generateTypescriptEnum)(f),r+="\n";for(const f of d.structTypes)r+=(0,h.generateTypescriptInterface)(f,!0),r+="\n";for(const f of d.errors)r+=(0,h.generateTypescriptErrorClass)(f,!0),r+="\n";return r+=`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`,r+=`const errClasses = {\n${d.errors.map(f=>` ${f.name}`).join(",\n")}\n};\n\n`,r+=`const astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,r}},5596:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.clearForLogging=o.generateTypescriptErrorClass=o.generateTypescriptEnum=o.generateTypescriptInterface=o.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}`)}}o.generateTypescriptTypeName=h,o.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`},o.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`},o.generateTypescriptErrorClass=function r(f,p){return`export class ${f.name} extends ${f.dataType instanceof n.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${h(f.dataType,p)}>`} {}\n`},o.clearForLogging=function l(f,p){switch(p.constructor){case n.TypeReference:return l(f,p.type);case n.OptionalType:{const m=l(f,p.base);return m?`if (${f} !== null && ${f} !== undefined) { ${m} }`:""}case n.ArrayType:{const m=l("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 _=l(`${f}.${u.name}`,u.type);_&&m.push(_)}return m.join(" ")}default:return""}}},2911:function(W,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,d,r,l){void 0===l&&(l=r);var f=Object.getOwnPropertyDescriptor(d,r);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[r]}}),Object.defineProperty(y,l,f)}:function(y,d,r,l){void 0===l&&(l=r),y[l]=d[r]}),h=this&&this.__exportStar||function(y,d){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(d,r)&&n(d,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(8173),o),h(a(7538),o),h(a(1727),o),h(a(615),o)},7538:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateTypescriptInterfaces=void 0;const n=a(5596);o.generateTypescriptInterfaces=function h(y){let d="";for(const r of y.enumTypes)d+=(0,n.generateTypescriptEnum)(r);d+="\n";for(const r of y.structTypes)d+=(0,n.generateTypescriptInterface)(r,!1),d+="\n";return d}},1727:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeClientSource=void 0;const n=a(6676),h=a(5596);o.generateNodeClientSource=function y(d){let r="";const l=d.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));r+=`/* eslint-disable */\nimport { Context, Fatal${d.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${l?", 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)r+=(0,h.generateTypescriptEnum)(p),r+="\n";for(const p of d.structTypes)r+=(0,h.generateTypescriptInterface)(p,!1),r+="\n";for(const p of d.errors)"Fatal"!==p.name&&(r+=(0,h.generateTypescriptErrorClass)(p,!1),r+="\n");return r+=`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`,r+=`const errClasses = {\n${d.errors.map(p=>` ${p.name}`).join(",\n")}\n};\n\n`,r+=`const astJson = ${JSON.stringify((0,n.astToJson)(d),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,r}},615:(W,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeServerSource=void 0;const n=a(6676),h=a(5596);o.generateNodeServerSource=function y(d){let r="";const l=d.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));r+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${d.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${l?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n\n`;for(const p of d.enumTypes)r+=(0,h.generateTypescriptEnum)(p),r+="\n";for(const p of d.structTypes)r+=(0,h.generateTypescriptInterface)(p,!1),r+="\n";for(const p of d.errors)"Fatal"!==p.name&&(r+=(0,h.generateTypescriptErrorClass)(p,!1),r+="\n");return r+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare 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`,r}},8926:W=>{function o(n,h,y,d,r,l,f){try{var p=n[l](f),m=p.value}catch(u){return void y(u)}p.done?h(m):Promise.resolve(m).then(d,r)}W.exports=function a(n){return function(){var h=this,y=arguments;return new Promise(function(d,r){var l=n.apply(h,y);function f(m){o(l,d,r,f,p,"next",m)}function p(m){o(l,d,r,f,p,"throw",m)}f(void 0)})}},W.exports.__esModule=!0,W.exports.default=W.exports},655:(W,o,a)=>{"use strict";a.r(o),a.d(o,{__assign:()=>y,__asyncDelegator:()=>J,__asyncGenerator:()=>U,__asyncValues:()=>Q,__await:()=>I,__awaiter:()=>p,__classPrivateFieldGet:()=>ge,__classPrivateFieldIn:()=>We,__classPrivateFieldSet:()=>De,__createBinding:()=>u,__decorate:()=>r,__exportStar:()=>_,__extends:()=>h,__generator:()=>m,__importDefault:()=>ce,__importStar:()=>oe,__makeTemplateObject:()=>q,__metadata:()=>f,__param:()=>l,__read:()=>b,__rest:()=>d,__spread:()=>T,__spreadArray:()=>P,__spreadArrays:()=>S,__values:()=>v});var n=function(Y,ue){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,fe){$.__proto__=fe}||function($,fe){for(var me in fe)Object.prototype.hasOwnProperty.call(fe,me)&&($[me]=fe[me])})(Y,ue)};function h(Y,ue){if("function"!=typeof ue&&null!==ue)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");function $(){this.constructor=Y}n(Y,ue),Y.prototype=null===ue?Object.create(ue):($.prototype=ue.prototype,new $)}var y=function(){return y=Object.assign||function(ue){for(var $,fe=1,me=arguments.length;fe<me;fe++)for(var _e in $=arguments[fe])Object.prototype.hasOwnProperty.call($,_e)&&(ue[_e]=$[_e]);return ue},y.apply(this,arguments)};function d(Y,ue){var $={};for(var fe in Y)Object.prototype.hasOwnProperty.call(Y,fe)&&ue.indexOf(fe)<0&&($[fe]=Y[fe]);if(null!=Y&&"function"==typeof Object.getOwnPropertySymbols){var me=0;for(fe=Object.getOwnPropertySymbols(Y);me<fe.length;me++)ue.indexOf(fe[me])<0&&Object.prototype.propertyIsEnumerable.call(Y,fe[me])&&($[fe[me]]=Y[fe[me]])}return $}function r(Y,ue,$,fe){var Xe,me=arguments.length,_e=me<3?ue:null===fe?fe=Object.getOwnPropertyDescriptor(ue,$):fe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_e=Reflect.decorate(Y,ue,$,fe);else for(var dt=Y.length-1;dt>=0;dt--)(Xe=Y[dt])&&(_e=(me<3?Xe(_e):me>3?Xe(ue,$,_e):Xe(ue,$))||_e);return me>3&&_e&&Object.defineProperty(ue,$,_e),_e}function l(Y,ue){return function($,fe){ue($,fe,Y)}}function f(Y,ue){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Y,ue)}function p(Y,ue,$,fe){return new($||($=Promise))(function(_e,Xe){function dt(Ye){try{st(fe.next(Ye))}catch(ut){Xe(ut)}}function it(Ye){try{st(fe.throw(Ye))}catch(ut){Xe(ut)}}function st(Ye){Ye.done?_e(Ye.value):function me(_e){return _e instanceof $?_e:new $(function(Xe){Xe(_e)})}(Ye.value).then(dt,it)}st((fe=fe.apply(Y,ue||[])).next())})}function m(Y,ue){var fe,me,_e,Xe,$={label:0,sent:function(){if(1&_e[0])throw _e[1];return _e[1]},trys:[],ops:[]};return Xe={next:dt(0),throw:dt(1),return:dt(2)},"function"==typeof Symbol&&(Xe[Symbol.iterator]=function(){return this}),Xe;function dt(st){return function(Ye){return function it(st){if(fe)throw new TypeError("Generator is already executing.");for(;$;)try{if(fe=1,me&&(_e=2&st[0]?me.return:st[0]?me.throw||((_e=me.return)&&_e.call(me),0):me.next)&&!(_e=_e.call(me,st[1])).done)return _e;switch(me=0,_e&&(st=[2&st[0],_e.value]),st[0]){case 0:case 1:_e=st;break;case 4:return $.label++,{value:st[1],done:!1};case 5:$.label++,me=st[1],st=[0];continue;case 7:st=$.ops.pop(),$.trys.pop();continue;default:if(!(_e=(_e=$.trys).length>0&&_e[_e.length-1])&&(6===st[0]||2===st[0])){$=0;continue}if(3===st[0]&&(!_e||st[1]>_e[0]&&st[1]<_e[3])){$.label=st[1];break}if(6===st[0]&&$.label<_e[1]){$.label=_e[1],_e=st;break}if(_e&&$.label<_e[2]){$.label=_e[2],$.ops.push(st);break}_e[2]&&$.ops.pop(),$.trys.pop();continue}st=ue.call(Y,$)}catch(Ye){st=[6,Ye],me=0}finally{fe=_e=0}if(5&st[0])throw st[1];return{value:st[0]?st[1]:void 0,done:!0}}([st,Ye])}}}var u=Object.create?function(Y,ue,$,fe){void 0===fe&&(fe=$);var me=Object.getOwnPropertyDescriptor(ue,$);(!me||("get"in me?!ue.__esModule:me.writable||me.configurable))&&(me={enumerable:!0,get:function(){return ue[$]}}),Object.defineProperty(Y,fe,me)}:function(Y,ue,$,fe){void 0===fe&&(fe=$),Y[fe]=ue[$]};function _(Y,ue){for(var $ in Y)"default"!==$&&!Object.prototype.hasOwnProperty.call(ue,$)&&u(ue,Y,$)}function v(Y){var ue="function"==typeof Symbol&&Symbol.iterator,$=ue&&Y[ue],fe=0;if($)return $.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&fe>=Y.length&&(Y=void 0),{value:Y&&Y[fe++],done:!Y}}};throw new TypeError(ue?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(Y,ue){var $="function"==typeof Symbol&&Y[Symbol.iterator];if(!$)return Y;var me,Xe,fe=$.call(Y),_e=[];try{for(;(void 0===ue||ue-- >0)&&!(me=fe.next()).done;)_e.push(me.value)}catch(dt){Xe={error:dt}}finally{try{me&&!me.done&&($=fe.return)&&$.call(fe)}finally{if(Xe)throw Xe.error}}return _e}function T(){for(var Y=[],ue=0;ue<arguments.length;ue++)Y=Y.concat(b(arguments[ue]));return Y}function S(){for(var Y=0,ue=0,$=arguments.length;ue<$;ue++)Y+=arguments[ue].length;var fe=Array(Y),me=0;for(ue=0;ue<$;ue++)for(var _e=arguments[ue],Xe=0,dt=_e.length;Xe<dt;Xe++,me++)fe[me]=_e[Xe];return fe}function P(Y,ue,$){if($||2===arguments.length)for(var _e,fe=0,me=ue.length;fe<me;fe++)(_e||!(fe in ue))&&(_e||(_e=Array.prototype.slice.call(ue,0,fe)),_e[fe]=ue[fe]);return Y.concat(_e||Array.prototype.slice.call(ue))}function I(Y){return this instanceof I?(this.v=Y,this):new I(Y)}function U(Y,ue,$){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,fe=$.apply(Y,ue||[]),_e=[];return me={},Xe("next"),Xe("throw"),Xe("return"),me[Symbol.asyncIterator]=function(){return this},me;function Xe(Ne){fe[Ne]&&(me[Ne]=function(qe){return new Promise(function(ke,Qe){_e.push([Ne,qe,ke,Qe])>1||dt(Ne,qe)})})}function dt(Ne,qe){try{!function it(Ne){Ne.value instanceof I?Promise.resolve(Ne.value.v).then(st,Ye):ut(_e[0][2],Ne)}(fe[Ne](qe))}catch(ke){ut(_e[0][3],ke)}}function st(Ne){dt("next",Ne)}function Ye(Ne){dt("throw",Ne)}function ut(Ne,qe){Ne(qe),_e.shift(),_e.length&&dt(_e[0][0],_e[0][1])}}function J(Y){var ue,$;return ue={},fe("next"),fe("throw",function(me){throw me}),fe("return"),ue[Symbol.iterator]=function(){return this},ue;function fe(me,_e){ue[me]=Y[me]?function(Xe){return($=!$)?{value:I(Y[me](Xe)),done:"return"===me}:_e?_e(Xe):Xe}:_e}}function Q(Y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $,ue=Y[Symbol.asyncIterator];return ue?ue.call(Y):(Y=v(Y),$={},fe("next"),fe("throw"),fe("return"),$[Symbol.asyncIterator]=function(){return this},$);function fe(_e){$[_e]=Y[_e]&&function(Xe){return new Promise(function(dt,it){!function me(_e,Xe,dt,it){Promise.resolve(it).then(function(st){_e({value:st,done:dt})},Xe)}(dt,it,(Xe=Y[_e](Xe)).done,Xe.value)})}}}function q(Y,ue){return Object.defineProperty?Object.defineProperty(Y,"raw",{value:ue}):Y.raw=ue,Y}var V=Object.create?function(Y,ue){Object.defineProperty(Y,"default",{enumerable:!0,value:ue})}:function(Y,ue){Y.default=ue};function oe(Y){if(Y&&Y.__esModule)return Y;var ue={};if(null!=Y)for(var $ in Y)"default"!==$&&Object.prototype.hasOwnProperty.call(Y,$)&&u(ue,Y,$);return V(ue,Y),ue}function ce(Y){return Y&&Y.__esModule?Y:{default:Y}}function ge(Y,ue,$,fe){if("a"===$&&!fe)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof ue?Y!==ue||!fe:!ue.has(Y))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===$?fe:"a"===$?fe.call(Y):fe?fe.value:ue.get(Y)}function De(Y,ue,$,fe,me){if("m"===fe)throw new TypeError("Private method is not writable");if("a"===fe&&!me)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof ue?Y!==ue||!me:!ue.has(Y))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===fe?me.call(Y,$):me?me.value=$:ue.set(Y,$),$}function We(Y,ue){if(null===ue||"object"!=typeof ue&&"function"!=typeof ue)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof Y?ue===Y:Y.has(ue)}},1777:(W,o,a)=>{"use strict";a.d(o,{F4:()=>u,IO:()=>S,LC:()=>h,SB:()=>m,X$:()=>d,ZE:()=>J,ZN:()=>U,_j:()=>n,eR:()=>_,jt:()=>r,k1:()=>Q,l3:()=>y,oB:()=>p,pV:()=>b,ru:()=>l,vP:()=>f});class n{}class h{}const y="*";function d(q,V){return{type:7,name:q,definitions:V,options:{}}}function r(q,V=null){return{type:4,styles:V,timings:q}}function l(q,V=null){return{type:3,steps:q,options:V}}function f(q,V=null){return{type:2,steps:q,options:V}}function p(q){return{type:6,styles:q,offset:null}}function m(q,V,oe){return{type:0,name:q,styles:V,options:oe}}function u(q){return{type:5,steps:q}}function _(q,V,oe=null){return{type:1,expr:q,animation:V,options:oe}}function b(q=null){return{type:9,options:q}}function S(q,V,oe=null){return{type:11,selector:q,animation:V,options:oe}}function I(q){Promise.resolve(null).then(q)}class U{constructor(V=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=V+oe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}onStart(V){this._onStartFns.push(V)}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){I(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(V=>V()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(V){this._position=this.totalTime?V*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(V){const oe="start"==V?this._onStartFns:this._onDoneFns;oe.forEach(ce=>ce()),oe.length=0}}class J{constructor(V){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=V;let oe=0,ce=0,ge=0;const De=this.players.length;0==De?I(()=>this._onFinish()):this.players.forEach(We=>{We.onDone(()=>{++oe==De&&this._onFinish()}),We.onDestroy(()=>{++ce==De&&this._onDestroy()}),We.onStart(()=>{++ge==De&&this._onStart()})}),this.totalTime=this.players.reduce((We,Y)=>Math.max(We,Y.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}init(){this.players.forEach(V=>V.init())}onStart(V){this._onStartFns.push(V)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(V=>V()),this._onStartFns=[])}onDone(V){this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(V=>V.play())}pause(){this.players.forEach(V=>V.pause())}restart(){this.players.forEach(V=>V.restart())}finish(){this._onFinish(),this.players.forEach(V=>V.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(V=>V.destroy()),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}reset(){this.players.forEach(V=>V.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(V){const oe=V*this.totalTime;this.players.forEach(ce=>{const ge=ce.totalTime?Math.min(1,oe/ce.totalTime):1;ce.setPosition(ge)})}getPosition(){const V=this.players.reduce((oe,ce)=>null===oe||ce.totalTime>oe.totalTime?ce:oe,null);return null!=V?V.getPosition():0}beforeDestroy(){this.players.forEach(V=>{V.beforeDestroy&&V.beforeDestroy()})}triggerCallback(V){const oe="start"==V?this._onStartFns:this._onDoneFns;oe.forEach(ce=>ce()),oe.length=0}}const Q="!"},5664:(W,o,a)=>{"use strict";a.d(o,{$s:()=>We,Em:()=>me,X6:()=>Re,ic:()=>Xe,kH:()=>yt,qV:()=>ee,qm:()=>St,rt:()=>Ht,tE:()=>lt,yG:()=>tt});var n=a(9808),h=a(5e3),y=a(925),d=a(7579),r=a(727),l=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),U=a(7144);function V(he,ne){return(he.getAttribute(ne)||"").match(/\S+/g)||[]}const ce="cdk-describedby-message",ge="cdk-describedby-host";let De=0,We=(()=>{class he{constructor(k,z){this._platform=z,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+De++,this._document=k}describe(k,z,Ce){if(!this._canBeDescribed(k,z))return;const ie=Y(z,Ce);"string"!=typeof z?(ue(z),this._messageRegistry.set(ie,{messageElement:z,referenceCount:0})):this._messageRegistry.has(ie)||this._createMessageElement(z,Ce),this._isElementDescribedByMessage(k,ie)||this._addMessageReference(k,ie)}removeDescription(k,z,Ce){var ie;if(!z||!this._isElementNode(k))return;const ze=Y(z,Ce);if(this._isElementDescribedByMessage(k,ze)&&this._removeMessageReference(k,ze),"string"==typeof z){const wt=this._messageRegistry.get(ze);wt&&0===wt.referenceCount&&this._deleteMessageElement(ze)}0===(null===(ie=this._messagesContainer)||void 0===ie?void 0:ie.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var k;const z=this._document.querySelectorAll(`[${ge}="${this._id}"]`);for(let Ce=0;Ce<z.length;Ce++)this._removeCdkDescribedByReferenceIds(z[Ce]),z[Ce].removeAttribute(ge);null===(k=this._messagesContainer)||void 0===k||k.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(k,z){const Ce=this._document.createElement("div");ue(Ce),Ce.textContent=k,z&&Ce.setAttribute("role",z),this._createMessagesContainer(),this._messagesContainer.appendChild(Ce),this._messageRegistry.set(Y(k,z),{messageElement:Ce,referenceCount:0})}_deleteMessageElement(k){var z,Ce;null===(Ce=null===(z=this._messageRegistry.get(k))||void 0===z?void 0:z.messageElement)||void 0===Ce||Ce.remove(),this._messageRegistry.delete(k)}_createMessagesContainer(){if(this._messagesContainer)return;const k="cdk-describedby-message-container",z=this._document.querySelectorAll(`.${k}[platform="server"]`);for(let ie=0;ie<z.length;ie++)z[ie].remove();const Ce=this._document.createElement("div");Ce.style.visibility="hidden",Ce.classList.add(k),Ce.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Ce.setAttribute("platform","server"),this._document.body.appendChild(Ce),this._messagesContainer=Ce}_removeCdkDescribedByReferenceIds(k){const z=V(k,"aria-describedby").filter(Ce=>0!=Ce.indexOf(ce));k.setAttribute("aria-describedby",z.join(" "))}_addMessageReference(k,z){const Ce=this._messageRegistry.get(z);(function Q(he,ne,k){const z=V(he,ne);z.some(Ce=>Ce.trim()==k.trim())||(z.push(k.trim()),he.setAttribute(ne,z.join(" ")))})(k,"aria-describedby",Ce.messageElement.id),k.setAttribute(ge,this._id),Ce.referenceCount++}_removeMessageReference(k,z){const Ce=this._messageRegistry.get(z);Ce.referenceCount--,function q(he,ne,k){const Ce=V(he,ne).filter(ie=>ie!=k.trim());Ce.length?he.setAttribute(ne,Ce.join(" ")):he.removeAttribute(ne)}(k,"aria-describedby",Ce.messageElement.id),k.removeAttribute(ge)}_isElementDescribedByMessage(k,z){const Ce=V(k,"aria-describedby"),ie=this._messageRegistry.get(z),ze=ie&&ie.messageElement.id;return!!ze&&-1!=Ce.indexOf(ze)}_canBeDescribed(k,z){if(!this._isElementNode(k))return!1;if(z&&"object"==typeof z)return!0;const Ce=null==z?"":`${z}`.trim(),ie=k.getAttribute("aria-label");return!(!Ce||ie&&ie.trim()===Ce)}_isElementNode(k){return k.nodeType===this._document.ELEMENT_NODE}}return he.\u0275fac=function(k){return new(k||he)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(y.t4))},he.\u0275prov=h.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();function Y(he,ne){return"string"==typeof he?`${ne||""}/${he}`:he}function ue(he){he.id||(he.id=`${ce}-${De++}`)}class me extends class ${constructor(ne){this._items=ne,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new d.x,this._typeaheadSubscription=r.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,ne instanceof h.QueryList&&ne.changes.subscribe(k=>{if(this._activeItem){const Ce=k.toArray().indexOf(this._activeItem);Ce>-1&&Ce!==this._activeItemIndex&&(this._activeItemIndex=Ce)}})}skipPredicate(ne){return this._skipPredicateFn=ne,this}withWrap(ne=!0){return this._wrap=ne,this}withVerticalOrientation(ne=!0){return this._vertical=ne,this}withHorizontalOrientation(ne){return this._horizontal=ne,this}withAllowedModifierKeys(ne){return this._allowedModifierKeys=ne,this}withTypeAhead(ne=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,m.b)(k=>this._pressedLetters.push(k)),(0,u.b)(ne),(0,_.h)(()=>this._pressedLetters.length>0),(0,v.U)(()=>this._pressedLetters.join(""))).subscribe(k=>{const z=this._getItemsArray();for(let Ce=1;Ce<z.length+1;Ce++){const ie=(this._activeItemIndex+Ce)%z.length,ze=z[ie];if(!this._skipPredicateFn(ze)&&0===ze.getLabel().toUpperCase().trim().indexOf(k)){this.setActiveItem(ie);break}}this._pressedLetters=[]}),this}withHomeAndEnd(ne=!0){return this._homeAndEnd=ne,this}setActiveItem(ne){const k=this._activeItem;this.updateActiveItem(ne),this._activeItem!==k&&this.change.next(this._activeItemIndex)}onKeydown(ne){const k=ne.keyCode,Ce=["altKey","ctrlKey","metaKey","shiftKey"].every(ie=>!ne[ie]||this._allowedModifierKeys.indexOf(ie)>-1);switch(k){case p.Mf:return void this.tabOut.next();case p.JH:if(this._vertical&&Ce){this.setNextItemActive();break}return;case p.LH:if(this._vertical&&Ce){this.setPreviousItemActive();break}return;case p.SV:if(this._horizontal&&Ce){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case p.oh:if(this._horizontal&&Ce){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case p.Sd:if(this._homeAndEnd&&Ce){this.setFirstItemActive();break}return;case p.uR:if(this._homeAndEnd&&Ce){this.setLastItemActive();break}return;default:return void((Ce||(0,p.Vb)(ne,"shiftKey"))&&(ne.key&&1===ne.key.length?this._letterKeyStream.next(ne.key.toLocaleUpperCase()):(k>=p.A&&k<=p.Z||k>=p.xE&&k<=p.aO)&&this._letterKeyStream.next(String.fromCharCode(k))))}this._pressedLetters=[],ne.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(ne){const k=this._getItemsArray(),z="number"==typeof ne?ne:k.indexOf(ne),Ce=k[z];this._activeItem=null==Ce?null:Ce,this._activeItemIndex=z}_setActiveItemByDelta(ne){this._wrap?this._setActiveInWrapMode(ne):this._setActiveInDefaultMode(ne)}_setActiveInWrapMode(ne){const k=this._getItemsArray();for(let z=1;z<=k.length;z++){const Ce=(this._activeItemIndex+ne*z+k.length)%k.length;if(!this._skipPredicateFn(k[Ce]))return void this.setActiveItem(Ce)}}_setActiveInDefaultMode(ne){this._setActiveItemByIndex(this._activeItemIndex+ne,ne)}_setActiveItemByIndex(ne,k){const z=this._getItemsArray();if(z[ne]){for(;this._skipPredicateFn(z[ne]);)if(!z[ne+=k])return;this.setActiveItem(ne)}}_getItemsArray(){return this._items instanceof h.QueryList?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ne){return this._origin=ne,this}setActiveItem(ne){super.setActiveItem(ne),this.activeItem&&this.activeItem.focus(this._origin)}}let Xe=(()=>{class he{constructor(k){this._platform=k}isDisabled(k){return k.hasAttribute("disabled")}isVisible(k){return function it(he){return!!(he.offsetWidth||he.offsetHeight||"function"==typeof he.getClientRects&&he.getClientRects().length)}(k)&&"visible"===getComputedStyle(k).visibility}isTabbable(k){if(!this._platform.isBrowser)return!1;const z=function dt(he){try{return he.frameElement}catch(ne){return null}}(function Oe(he){return he.ownerDocument&&he.ownerDocument.defaultView||window}(k));if(z&&(-1===Qe(z)||!this.isVisible(z)))return!1;let Ce=k.nodeName.toLowerCase(),ie=Qe(k);return k.hasAttribute("contenteditable")?-1!==ie:!("iframe"===Ce||"object"===Ce||this._platform.WEBKIT&&this._platform.IOS&&!function ht(he){let ne=he.nodeName.toLowerCase(),k="input"===ne&&he.type;return"text"===k||"password"===k||"select"===ne||"textarea"===ne}(k))&&("audio"===Ce?!!k.hasAttribute("controls")&&-1!==ie:"video"===Ce?-1!==ie&&(null!==ie||this._platform.FIREFOX||k.hasAttribute("controls")):k.tabIndex>=0)}isFocusable(k,z){return function ye(he){return!function Ye(he){return function Ne(he){return"input"==he.nodeName.toLowerCase()}(he)&&"hidden"==he.type}(he)&&(function st(he){let ne=he.nodeName.toLowerCase();return"input"===ne||"select"===ne||"button"===ne||"textarea"===ne}(he)||function ut(he){return function qe(he){return"a"==he.nodeName.toLowerCase()}(he)&&he.hasAttribute("href")}(he)||he.hasAttribute("contenteditable")||ke(he))}(k)&&!this.isDisabled(k)&&((null==z?void 0:z.ignoreVisibility)||this.isVisible(k))}}return he.\u0275fac=function(k){return new(k||he)(h.\u0275\u0275inject(y.t4))},he.\u0275prov=h.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();function ke(he){if(!he.hasAttribute("tabindex")||void 0===he.tabIndex)return!1;let ne=he.getAttribute("tabindex");return!(!ne||isNaN(parseInt(ne,10)))}function Qe(he){if(!ke(he))return null;const ne=parseInt(he.getAttribute("tabindex")||"",10);return isNaN(ne)?-1:ne}class L{constructor(ne,k,z,Ce,ie=!1){this._element=ne,this._checker=k,this._ngZone=z,this._document=Ce,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ie||this.attachAnchors()}get enabled(){return this._enabled}set enabled(ne){this._enabled=ne,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ne,this._startAnchor),this._toggleAnchorTabIndex(ne,this._endAnchor))}destroy(){const ne=this._startAnchor,k=this._endAnchor;ne&&(ne.removeEventListener("focus",this.startAnchorListener),ne.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(ne){return new Promise(k=>{this._executeOnStable(()=>k(this.focusInitialElement(ne)))})}focusFirstTabbableElementWhenReady(ne){return new Promise(k=>{this._executeOnStable(()=>k(this.focusFirstTabbableElement(ne)))})}focusLastTabbableElementWhenReady(ne){return new Promise(k=>{this._executeOnStable(()=>k(this.focusLastTabbableElement(ne)))})}_getRegionBoundary(ne){const k=this._element.querySelectorAll(`[cdk-focus-region-${ne}], [cdkFocusRegion${ne}], [cdk-focus-${ne}]`);return"start"==ne?k.length?k[0]:this._getFirstTabbableElement(this._element):k.length?k[k.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ne){const k=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(k){if(!this._checker.isFocusable(k)){const z=this._getFirstTabbableElement(k);return null==z||z.focus(ne),!!z}return k.focus(ne),!0}return this.focusFirstTabbableElement(ne)}focusFirstTabbableElement(ne){const k=this._getRegionBoundary("start");return k&&k.focus(ne),!!k}focusLastTabbableElement(ne){const k=this._getRegionBoundary("end");return k&&k.focus(ne),!!k}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ne){if(this._checker.isFocusable(ne)&&this._checker.isTabbable(ne))return ne;const k=ne.children;for(let z=0;z<k.length;z++){const Ce=k[z].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(k[z]):null;if(Ce)return Ce}return null}_getLastTabbableElement(ne){if(this._checker.isFocusable(ne)&&this._checker.isTabbable(ne))return ne;const k=ne.children;for(let z=k.length-1;z>=0;z--){const Ce=k[z].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(k[z]):null;if(Ce)return Ce}return null}_createAnchor(){const ne=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ne),ne.classList.add("cdk-visually-hidden"),ne.classList.add("cdk-focus-trap-anchor"),ne.setAttribute("aria-hidden","true"),ne}_toggleAnchorTabIndex(ne,k){ne?k.setAttribute("tabindex","0"):k.removeAttribute("tabindex")}toggleAnchors(ne){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ne,this._startAnchor),this._toggleAnchorTabIndex(ne,this._endAnchor))}_executeOnStable(ne){this._ngZone.isStable?ne():this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(ne)}}let ee=(()=>{class he{constructor(k,z,Ce){this._checker=k,this._ngZone=z,this._document=Ce}create(k,z=!1){return new L(k,this._checker,this._ngZone,this._document,z)}}return he.\u0275fac=function(k){return new(k||he)(h.\u0275\u0275inject(Xe),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT))},he.\u0275prov=h.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();function Re(he){return 0===he.buttons||0===he.offsetX&&0===he.offsetY}function tt(he){const ne=he.touches&&he.touches[0]||he.changedTouches&&he.changedTouches[0];return!(!ne||-1!==ne.identifier||null!=ne.radiusX&&1!==ne.radiusX||null!=ne.radiusY&&1!==ne.radiusY)}const ot=new h.InjectionToken("cdk-input-modality-detector-options"),Tt={ignoreKeys:[p.zL,p.jx,p.b2,p.MW,p.JU]},Rt=(0,y.i$)({passive:!0,capture:!0});let $e=(()=>{class he{constructor(k,z,Ce,ie){this._platform=k,this._mostRecentTarget=null,this._modality=new l.X(null),this._lastTouchMs=0,this._onKeydown=ze=>{var wt,He;(null===(He=null===(wt=this._options)||void 0===wt?void 0:wt.ignoreKeys)||void 0===He?void 0:He.some(_t=>_t===ze.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(ze))},this._onMousedown=ze=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Re(ze)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(ze))},this._onTouchstart=ze=>{tt(ze)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(ze))},this._options=Object.assign(Object.assign({},Tt),ie),this.modalityDetected=this._modality.pipe((0,T.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,S.x)()),k.isBrowser&&z.runOutsideAngular(()=>{Ce.addEventListener("keydown",this._onKeydown,Rt),Ce.addEventListener("mousedown",this._onMousedown,Rt),Ce.addEventListener("touchstart",this._onTouchstart,Rt)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Rt),document.removeEventListener("mousedown",this._onMousedown,Rt),document.removeEventListener("touchstart",this._onTouchstart,Rt))}}return he.\u0275fac=function(k){return new(k||he)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(ot,8))},he.\u0275prov=h.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();const Fe=new h.InjectionToken("cdk-focus-monitor-default-options"),Ue=(0,y.i$)({passive:!0,capture:!0});let lt=(()=>{class he{constructor(k,z,Ce,ie,ze){this._ngZone=k,this._platform=z,this._inputModalityDetector=Ce,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=wt=>{const He=(0,y.sA)(wt),_t="focus"===wt.type?this._onFocus:this._onBlur;for(let de=He;de;de=de.parentElement)_t.call(this,wt,de)},this._document=ie,this._detectionMode=(null==ze?void 0:ze.detectionMode)||0}monitor(k,z=!1){const Ce=(0,I.fI)(k);if(!this._platform.isBrowser||1!==Ce.nodeType)return(0,f.of)(null);const ie=(0,y.kV)(Ce)||this._getDocument(),ze=this._elementInfo.get(Ce);if(ze)return z&&(ze.checkChildren=!0),ze.subject;const wt={checkChildren:z,subject:new d.x,rootNode:ie};return this._elementInfo.set(Ce,wt),this._registerGlobalListeners(wt),wt.subject}stopMonitoring(k){const z=(0,I.fI)(k),Ce=this._elementInfo.get(z);Ce&&(Ce.subject.complete(),this._setClasses(z),this._elementInfo.delete(z),this._removeGlobalListeners(Ce))}focusVia(k,z,Ce){const ie=(0,I.fI)(k);ie===this._getDocument().activeElement?this._getClosestElementsInfo(ie).forEach(([wt,He])=>this._originChanged(wt,z,He)):(this._setOrigin(z),"function"==typeof ie.focus&&ie.focus(Ce))}ngOnDestroy(){this._elementInfo.forEach((k,z)=>this.stopMonitoring(z))}_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,z){k.classList.toggle("cdk-focused",!!z),k.classList.toggle("cdk-touch-focused","touch"===z),k.classList.toggle("cdk-keyboard-focused","keyboard"===z),k.classList.toggle("cdk-mouse-focused","mouse"===z),k.classList.toggle("cdk-program-focused","program"===z)}_setOrigin(k,z=!1){this._ngZone.runOutsideAngular(()=>{this._origin=k,this._originFromTouchInteraction="touch"===k&&z,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(k,z){const Ce=this._elementInfo.get(z),ie=(0,y.sA)(k);!Ce||!Ce.checkChildren&&z!==ie||this._originChanged(z,this._getFocusOrigin(ie),Ce)}_onBlur(k,z){const Ce=this._elementInfo.get(z);!Ce||Ce.checkChildren&&k.relatedTarget instanceof Node&&z.contains(k.relatedTarget)||(this._setClasses(z),this._emitOrigin(Ce.subject,null))}_emitOrigin(k,z){this._ngZone.run(()=>k.next(z))}_registerGlobalListeners(k){if(!this._platform.isBrowser)return;const z=k.rootNode,Ce=this._rootNodeFocusListenerCount.get(z)||0;Ce||this._ngZone.runOutsideAngular(()=>{z.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ue),z.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ue)}),this._rootNodeFocusListenerCount.set(z,Ce+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,P.R)(this._stopInputModalityDetector)).subscribe(ie=>{this._setOrigin(ie,!0)}))}_removeGlobalListeners(k){const z=k.rootNode;if(this._rootNodeFocusListenerCount.has(z)){const Ce=this._rootNodeFocusListenerCount.get(z);Ce>1?this._rootNodeFocusListenerCount.set(z,Ce-1):(z.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ue),z.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ue),this._rootNodeFocusListenerCount.delete(z))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(k,z,Ce){this._setClasses(k,z),this._emitOrigin(Ce.subject,z),this._lastFocusOrigin=z}_getClosestElementsInfo(k){const z=[];return this._elementInfo.forEach((Ce,ie)=>{(ie===k||Ce.checkChildren&&ie.contains(k))&&z.push([ie,Ce])}),z}}return he.\u0275fac=function(k){return new(k||he)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject($e),h.\u0275\u0275inject(n.DOCUMENT,8),h.\u0275\u0275inject(Fe,8))},he.\u0275prov=h.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"}),he})(),yt=(()=>{class he{constructor(k,z){this._elementRef=k,this._focusMonitor=z,this.cdkFocusChange=new h.EventEmitter}ngAfterViewInit(){const k=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(k,1===k.nodeType&&k.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(z=>this.cdkFocusChange.emit(z))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return he.\u0275fac=function(k){return new(k||he)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(lt))},he.\u0275dir=h.\u0275\u0275defineDirective({type:he,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),he})();const Vt="cdk-high-contrast-black-on-white",Dt="cdk-high-contrast-white-on-black",Kt="cdk-high-contrast-active";let St=(()=>{class he{constructor(k,z){this._platform=k,this._document=z}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 z=this._document.defaultView||window,Ce=z&&z.getComputedStyle?z.getComputedStyle(k):null,ie=(Ce&&Ce.backgroundColor||"").replace(/ /g,"");switch(k.remove(),ie){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(Kt),k.remove(Vt),k.remove(Dt),this._hasCheckedHighContrastMode=!0;const z=this.getHighContrastMode();1===z?(k.add(Kt),k.add(Vt)):2===z&&(k.add(Kt),k.add(Dt))}}}return he.\u0275fac=function(k){return new(k||he)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(n.DOCUMENT))},he.\u0275prov=h.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"}),he})(),Ht=(()=>{class he{constructor(k){k._applyBodyHighContrastModeCssClasses()}}return he.\u0275fac=function(k){return new(k||he)(h.\u0275\u0275inject(St))},he.\u0275mod=h.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=h.\u0275\u0275defineInjector({imports:[[U.Q8]]}),he})()},226:(W,o,a)=>{"use strict";a.d(o,{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)}}),r=/^(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 l(u){const _=(null==u?void 0:u.toLowerCase())||"";return"auto"===_&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?r.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:(W,o,a)=>{"use strict";a.d(o,{Eq:()=>r,HM:()=>l,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 r(m){return Array.isArray(m)?m:[m]}function l(m){return null==m?"":"string"==typeof m?m:`${m}px`}function f(m){return m instanceof n.ElementRef?m.nativeElement:m}},449:(W,o,a)=>{"use strict";a.d(o,{Ov:()=>p,Z9:()=>d,eX:()=>f,k:()=>_,o2:()=>y,yy:()=>l});var n=a(7579),h=a(5e3);class y{}function d(v){return v&&"function"==typeof v.connect}class l{applyChanges(b,T,S,P,I){b.forEachOperation((U,J,Q)=>{let q,V;if(null==U.previousIndex){const oe=S(U,J,Q);q=T.createEmbeddedView(oe.templateRef,oe.context,oe.index),V=1}else null==Q?(T.remove(J),V=3):(q=T.get(J),T.move(q,Q),V=2);I&&I({context:null==q?void 0:q.context,operation:V,record:U})})}detach(){}}class f{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(b,T,S,P,I){b.forEachOperation((U,J,Q)=>{let q,V;null==U.previousIndex?(q=this._insertView(()=>S(U,J,Q),Q,T,P(U)),V=q?1:0):null==Q?(this._detachAndCacheView(J,T),V=3):(q=this._moveView(J,Q,T,P(U)),V=2),I&&I({context:null==q?void 0:q.context,operation:V,record:U})})}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 U=b();return S.createEmbeddedView(U.templateRef,U.context,U.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:(W,o,a)=>{"use strict";a.d(o,{A:()=>ut,JH:()=>Q,JU:()=>l,K5:()=>r,LH:()=>U,L_:()=>v,MW:()=>Pe,Mf:()=>y,SV:()=>J,Sd:()=>P,Vb:()=>mn,Z:()=>Ze,ZH:()=>h,aO:()=>Xe,b2:()=>Nn,hY:()=>_,jx:()=>f,oh:()=>I,uR:()=>S,xE:()=>ge,yY:()=>ce,zL:()=>p});const h=8,y=9,r=13,l=16,f=17,p=18,_=27,v=32,S=35,P=36,I=37,U=38,J=39,Q=40,ce=46,ge=48,Xe=57,ut=65,Ze=90,Pe=91,Nn=224;function mn(nn,...pi){return pi.length?pi.some(Di=>nn[Di]):nn.altKey||nn.shiftKey||nn.ctrlKey||nn.metaKey}},5113:(W,o,a)=>{"use strict";a.r(o),a.d(o,{BreakpointObserver:()=>Q,Breakpoints:()=>V,LayoutModule:()=>T,MediaMatcher:()=>I});var n=a(5e3),h=a(3191),y=a(7579),d=a(9841),r=a(7272),l=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(ge){return new(ge||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})();const S=new Set;let P,I=(()=>{class oe{constructor(ge){this._platform=ge,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):J}matchMedia(ge){return(this._platform.WEBKIT||this._platform.BLINK)&&function U(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(ce){console.error(ce)}}(ge),this._matchMedia(ge)}}return oe.\u0275fac=function(ge){return new(ge||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 Q=(()=>{class oe{constructor(ge,De){this._mediaMatcher=ge,this._zone=De,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ge){return q((0,h.Eq)(ge)).some(We=>this._registerQuery(We).mql.matches)}observe(ge){const We=q((0,h.Eq)(ge)).map(ue=>this._registerQuery(ue).observable);let Y=(0,d.a)(We);return Y=(0,r.z)(Y.pipe((0,f.q)(1)),Y.pipe((0,p.T)(1),(0,m.b)(0))),Y.pipe((0,u.U)(ue=>{const $={matches:!1,breakpoints:{}};return ue.forEach(({matches:fe,query:me})=>{$.matches=$.matches||fe,$.breakpoints[me]=fe}),$}))}_registerQuery(ge){if(this._queries.has(ge))return this._queries.get(ge);const De=this._mediaMatcher.matchMedia(ge),Y={observable:new l.y(ue=>{const $=fe=>this._zone.run(()=>ue.next(fe));return De.addListener($),()=>{De.removeListener($)}}).pipe((0,_.O)(De),(0,u.U)(({matches:ue})=>({query:ge,matches:ue})),(0,v.R)(this._destroySubject)),mql:De};return this._queries.set(ge,Y),Y}}return oe.\u0275fac=function(ge){return new(ge||oe)(n.\u0275\u0275inject(I),n.\u0275\u0275inject(n.NgZone))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();function q(oe){return oe.map(ce=>ce.split(",")).reduce((ce,ge)=>ce.concat(ge)).map(ce=>ce.trim())}const V={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:(W,o,a)=>{"use strict";a.d(o,{Q8:()=>m,wD:()=>p});var n=a(3191),h=a(5e3),y=a(8306),d=a(7579),r=a(8372);let l=(()=>{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(l))},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,r.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:[l]}),u})()},1314:(W,o,a)=>{"use strict";a.d(o,{U8:()=>Ge,X_:()=>V,Xj:()=>ue,aV:()=>Qe});var n=a(495),h=a(9808),y=a(5e3),d=a(3191),r=a(925),l=a(226),f=a(7429),p=a(7579),m=a(727),u=a(6451),_=a(5698),v=a(2722);const b=(0,r.Mq)();class T{constructor(j,ve){this._viewportRuler=j,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ve}attach(){}enable(){if(this._canBeEnabled()){const j=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=j.style.left||"",this._previousHTMLStyles.top=j.style.top||"",j.style.left=(0,d.HM)(-this._previousScrollPosition.left),j.style.top=(0,d.HM)(-this._previousScrollPosition.top),j.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const j=this._document.documentElement,Re=j.style,tt=this._document.body.style,ot=Re.scrollBehavior||"",Tt=tt.scrollBehavior||"";this._isEnabled=!1,Re.left=this._previousHTMLStyles.left,Re.top=this._previousHTMLStyles.top,j.classList.remove("cdk-global-scrollblock"),b&&(Re.scrollBehavior=tt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(Re.scrollBehavior=ot,tt.scrollBehavior=Tt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ve=this._document.body,Re=this._viewportRuler.getViewportSize();return ve.scrollHeight>Re.height||ve.scrollWidth>Re.width}}class P{constructor(j,ve,Re,tt){this._scrollDispatcher=j,this._ngZone=ve,this._viewportRuler=Re,this._config=tt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(j){this._overlayRef=j}enable(){if(this._scrollSubscription)return;const j=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=j.subscribe(()=>{const ve=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ve-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=j.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class I{enable(){}disable(){}attach(){}}function U(xe,j){return j.some(ve=>xe.bottom<ve.top||xe.top>ve.bottom||xe.right<ve.left||xe.left>ve.right)}function J(xe,j){return j.some(ve=>xe.top<ve.top||xe.bottom>ve.bottom||xe.left<ve.left||xe.right>ve.right)}class Q{constructor(j,ve,Re,tt){this._scrollDispatcher=j,this._viewportRuler=ve,this._ngZone=Re,this._config=tt,this._scrollSubscription=null}attach(j){this._overlayRef=j}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:Re,height:tt}=this._viewportRuler.getViewportSize();U(ve,[{width:Re,height:tt,bottom:tt,right:Re,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 q=(()=>{class xe{constructor(ve,Re,tt,ot){this._scrollDispatcher=ve,this._viewportRuler=Re,this._ngZone=tt,this.noop=()=>new I,this.close=Tt=>new P(this._scrollDispatcher,this._ngZone,this._viewportRuler,Tt),this.block=()=>new T(this._viewportRuler,this._document),this.reposition=Tt=>new Q(this._scrollDispatcher,this._viewportRuler,this._ngZone,Tt),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 V{constructor(j){if(this.scrollStrategy=new I,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,j){const ve=Object.keys(j);for(const Re of ve)void 0!==j[Re]&&(this[Re]=j[Re])}}}class ge{constructor(j,ve){this.connectionPair=j,this.scrollableViewProperties=ve}}class Y{constructor(j,ve,Re,tt,ot,Tt,Et,Rt,$e){this._portalOutlet=j,this._host=ve,this._pane=Re,this._config=tt,this._ngZone=ot,this._keyboardDispatcher=Tt,this._document=Et,this._location=Rt,this._outsideClickDispatcher=$e,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=we=>this._backdropClick.next(we),this._backdropTransitionendHandler=we=>{this._disposeBackdrop(we.target)},this._keydownEvents=new p.x,this._outsidePointerEvents=new p.x,tt.scrollStrategy&&(this._scrollStrategy=tt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=tt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(j){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ve=this._portalOutlet.attach(j);return 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 j=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),j}dispose(){var j;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===(j=this._host)||void 0===j||j.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(j){j!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=j,this.hasAttached()&&(j.attach(this),this.updatePosition()))}updateSize(j){this._config=Object.assign(Object.assign({},this._config),j),this._updateElementSize()}setDirection(j){this._config=Object.assign(Object.assign({},this._config),{direction:j}),this._updateElementDirection()}addPanelClass(j){this._pane&&this._toggleClasses(this._pane,j,!0)}removePanelClass(j){this._pane&&this._toggleClasses(this._pane,j,!1)}getDirection(){const j=this._config.direction;return j?"string"==typeof j?j:j.value:"ltr"}updateScrollStrategy(j){j!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=j,this.hasAttached()&&(j.attach(this),j.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const j=this._pane.style;j.width=(0,d.HM)(this._config.width),j.height=(0,d.HM)(this._config.height),j.minWidth=(0,d.HM)(this._config.minWidth),j.minHeight=(0,d.HM)(this._config.minHeight),j.maxWidth=(0,d.HM)(this._config.maxWidth),j.maxHeight=(0,d.HM)(this._config.maxHeight)}_togglePointerEvents(j){this._pane.style.pointerEvents=j?"":"none"}_attachBackdrop(){const j="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(j)})}):this._backdropElement.classList.add(j)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const j=this._backdropElement;!j||(j.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{j.addEventListener("transitionend",this._backdropTransitionendHandler)}),j.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(j)},500)))}_toggleClasses(j,ve,Re){const tt=(0,d.Eq)(ve||[]).filter(ot=>!!ot);tt.length&&(Re?j.classList.add(...tt):j.classList.remove(...tt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const j=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()),j.unsubscribe())})})}_disposeScrollStrategy(){const j=this._scrollStrategy;j&&(j.disable(),j.detach&&j.detach())}_disposeBackdrop(j){j&&(j.removeEventListener("click",this._backdropClickHandler),j.removeEventListener("transitionend",this._backdropTransitionendHandler),j.remove(),this._backdropElement===j&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let ue=(()=>{class xe{constructor(ve,Re){this._platform=Re,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,r.Oy)()){const tt=this._document.querySelectorAll(`.${ve}[platform="server"], .${ve}[platform="test"]`);for(let ot=0;ot<tt.length;ot++)tt[ot].remove()}const Re=this._document.createElement("div");Re.classList.add(ve),(0,r.Oy)()?Re.setAttribute("platform","test"):this._platform.isBrowser||Re.setAttribute("platform","server"),this._document.body.appendChild(Re),this._containerElement=Re}}return xe.\u0275fac=function(ve){return new(ve||xe)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(r.t4))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();const $="cdk-overlay-connected-position-bounding-box",fe=/([A-Za-z%]+)$/;class me{constructor(j,ve,Re,tt,ot){this._viewportRuler=ve,this._document=Re,this._platform=tt,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(j)}get positions(){return this._preferredPositions}attach(j){this._validatePositions(),j.hostElement.classList.add($),this._overlayRef=j,this._boundingBox=j.hostElement,this._pane=j.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 j=this._originRect,ve=this._overlayRect,Re=this._viewportRect,tt=this._containerRect,ot=[];let Tt;for(let Et of this._preferredPositions){let Rt=this._getOriginPoint(j,tt,Et),$e=this._getOverlayPoint(Rt,ve,Et),we=this._getOverlayFit($e,ve,Re,Et);if(we.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Et,Rt);this._canFitWithFlexibleDimensions(we,$e,Re)?ot.push({position:Et,origin:Rt,overlayRect:ve,boundingBoxRect:this._calculateBoundingBoxRect(Rt,Et)}):(!Tt||Tt.overlayFit.visibleArea<we.visibleArea)&&(Tt={overlayFit:we,overlayPoint:$e,originPoint:Rt,position:Et,overlayRect:ve})}if(ot.length){let Et=null,Rt=-1;for(const $e of ot){const we=$e.boundingBoxRect.width*$e.boundingBoxRect.height*($e.position.weight||1);we>Rt&&(Rt=we,Et=$e)}return this._isPushed=!1,void this._applyPosition(Et.position,Et.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Tt.position,Tt.originPoint);this._applyPosition(Tt.position,Tt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_e(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const j=this._lastPosition;if(j){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,j);this._applyPosition(j,ve)}else this.apply()}withScrollableContainers(j){return this._scrollables=j,this}withPositions(j){return this._preferredPositions=j,-1===j.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(j){return this._viewportMargin=j,this}withFlexibleDimensions(j=!0){return this._hasFlexibleDimensions=j,this}withGrowAfterOpen(j=!0){return this._growAfterOpen=j,this}withPush(j=!0){return this._canPush=j,this}withLockedPosition(j=!0){return this._positionLocked=j,this}setOrigin(j){return this._origin=j,this}withDefaultOffsetX(j){return this._offsetX=j,this}withDefaultOffsetY(j){return this._offsetY=j,this}withTransformOriginOn(j){return this._transformOriginSelector=j,this}_getOriginPoint(j,ve,Re){let tt,ot;if("center"==Re.originX)tt=j.left+j.width/2;else{const Tt=this._isRtl()?j.right:j.left,Et=this._isRtl()?j.left:j.right;tt="start"==Re.originX?Tt:Et}return ve.left<0&&(tt-=ve.left),ot="center"==Re.originY?j.top+j.height/2:"top"==Re.originY?j.top:j.bottom,ve.top<0&&(ot-=ve.top),{x:tt,y:ot}}_getOverlayPoint(j,ve,Re){let tt,ot;return tt="center"==Re.overlayX?-ve.width/2:"start"===Re.overlayX?this._isRtl()?-ve.width:0:this._isRtl()?0:-ve.width,ot="center"==Re.overlayY?-ve.height/2:"top"==Re.overlayY?0:-ve.height,{x:j.x+tt,y:j.y+ot}}_getOverlayFit(j,ve,Re,tt){const ot=dt(ve);let{x:Tt,y:Et}=j,Rt=this._getOffset(tt,"x"),$e=this._getOffset(tt,"y");Rt&&(Tt+=Rt),$e&&(Et+=$e);let Ze=0-Et,Pe=Et+ot.height-Re.height,vt=this._subtractOverflows(ot.width,0-Tt,Tt+ot.width-Re.width),Fe=this._subtractOverflows(ot.height,Ze,Pe),Ue=vt*Fe;return{visibleArea:Ue,isCompletelyWithinViewport:ot.width*ot.height===Ue,fitsInViewportVertically:Fe===ot.height,fitsInViewportHorizontally:vt==ot.width}}_canFitWithFlexibleDimensions(j,ve,Re){if(this._hasFlexibleDimensions){const tt=Re.bottom-ve.y,ot=Re.right-ve.x,Tt=Xe(this._overlayRef.getConfig().minHeight),Et=Xe(this._overlayRef.getConfig().minWidth),$e=j.fitsInViewportHorizontally||null!=Et&&Et<=ot;return(j.fitsInViewportVertically||null!=Tt&&Tt<=tt)&&$e}return!1}_pushOverlayOnScreen(j,ve,Re){if(this._previousPushAmount&&this._positionLocked)return{x:j.x+this._previousPushAmount.x,y:j.y+this._previousPushAmount.y};const tt=dt(ve),ot=this._viewportRect,Tt=Math.max(j.x+tt.width-ot.width,0),Et=Math.max(j.y+tt.height-ot.height,0),Rt=Math.max(ot.top-Re.top-j.y,0),$e=Math.max(ot.left-Re.left-j.x,0);let we=0,Te=0;return we=tt.width<=ot.width?$e||-Tt:j.x<this._viewportMargin?ot.left-Re.left-j.x:0,Te=tt.height<=ot.height?Rt||-Et:j.y<this._viewportMargin?ot.top-Re.top-j.y:0,this._previousPushAmount={x:we,y:Te},{x:j.x+we,y:j.y+Te}}_applyPosition(j,ve){if(this._setTransformOrigin(j),this._setOverlayElementStyles(ve,j),this._setBoundingBoxStyles(ve,j),j.panelClass&&this._addPanelClasses(j.panelClass),this._lastPosition=j,this._positionChanges.observers.length){const Re=this._getScrollVisibility(),tt=new ge(j,Re);this._positionChanges.next(tt)}this._isInitialRender=!1}_setTransformOrigin(j){if(!this._transformOriginSelector)return;const ve=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Re,tt=j.overlayY;Re="center"===j.overlayX?"center":this._isRtl()?"start"===j.overlayX?"right":"left":"start"===j.overlayX?"left":"right";for(let ot=0;ot<ve.length;ot++)ve[ot].style.transformOrigin=`${Re} ${tt}`}_calculateBoundingBoxRect(j,ve){const Re=this._viewportRect,tt=this._isRtl();let ot,Tt,Et,we,Te,Ze;if("top"===ve.overlayY)Tt=j.y,ot=Re.height-Tt+this._viewportMargin;else if("bottom"===ve.overlayY)Et=Re.height-j.y+2*this._viewportMargin,ot=Re.height-Et+this._viewportMargin;else{const Pe=Math.min(Re.bottom-j.y+Re.top,j.y),vt=this._lastBoundingBoxSize.height;ot=2*Pe,Tt=j.y-Pe,ot>vt&&!this._isInitialRender&&!this._growAfterOpen&&(Tt=j.y-vt/2)}if("end"===ve.overlayX&&!tt||"start"===ve.overlayX&&tt)Ze=Re.width-j.x+this._viewportMargin,we=j.x-this._viewportMargin;else if("start"===ve.overlayX&&!tt||"end"===ve.overlayX&&tt)Te=j.x,we=Re.right-j.x;else{const Pe=Math.min(Re.right-j.x+Re.left,j.x),vt=this._lastBoundingBoxSize.width;we=2*Pe,Te=j.x-Pe,we>vt&&!this._isInitialRender&&!this._growAfterOpen&&(Te=j.x-vt/2)}return{top:Tt,left:Te,bottom:Et,right:Ze,width:we,height:ot}}_setBoundingBoxStyles(j,ve){const Re=this._calculateBoundingBoxRect(j,ve);!this._isInitialRender&&!this._growAfterOpen&&(Re.height=Math.min(Re.height,this._lastBoundingBoxSize.height),Re.width=Math.min(Re.width,this._lastBoundingBoxSize.width));const tt={};if(this._hasExactPosition())tt.top=tt.left="0",tt.bottom=tt.right=tt.maxHeight=tt.maxWidth="",tt.width=tt.height="100%";else{const ot=this._overlayRef.getConfig().maxHeight,Tt=this._overlayRef.getConfig().maxWidth;tt.height=(0,d.HM)(Re.height),tt.top=(0,d.HM)(Re.top),tt.bottom=(0,d.HM)(Re.bottom),tt.width=(0,d.HM)(Re.width),tt.left=(0,d.HM)(Re.left),tt.right=(0,d.HM)(Re.right),tt.alignItems="center"===ve.overlayX?"center":"end"===ve.overlayX?"flex-end":"flex-start",tt.justifyContent="center"===ve.overlayY?"center":"bottom"===ve.overlayY?"flex-end":"flex-start",ot&&(tt.maxHeight=(0,d.HM)(ot)),Tt&&(tt.maxWidth=(0,d.HM)(Tt))}this._lastBoundingBoxSize=Re,_e(this._boundingBox.style,tt)}_resetBoundingBoxStyles(){_e(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_e(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(j,ve){const Re={},tt=this._hasExactPosition(),ot=this._hasFlexibleDimensions,Tt=this._overlayRef.getConfig();if(tt){const we=this._viewportRuler.getViewportScrollPosition();_e(Re,this._getExactOverlayY(ve,j,we)),_e(Re,this._getExactOverlayX(ve,j,we))}else Re.position="static";let Et="",Rt=this._getOffset(ve,"x"),$e=this._getOffset(ve,"y");Rt&&(Et+=`translateX(${Rt}px) `),$e&&(Et+=`translateY(${$e}px)`),Re.transform=Et.trim(),Tt.maxHeight&&(tt?Re.maxHeight=(0,d.HM)(Tt.maxHeight):ot&&(Re.maxHeight="")),Tt.maxWidth&&(tt?Re.maxWidth=(0,d.HM)(Tt.maxWidth):ot&&(Re.maxWidth="")),_e(this._pane.style,Re)}_getExactOverlayY(j,ve,Re){let tt={top:"",bottom:""},ot=this._getOverlayPoint(ve,this._overlayRect,j);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,Re)),"bottom"===j.overlayY?tt.bottom=this._document.documentElement.clientHeight-(ot.y+this._overlayRect.height)+"px":tt.top=(0,d.HM)(ot.y),tt}_getExactOverlayX(j,ve,Re){let Tt,tt={left:"",right:""},ot=this._getOverlayPoint(ve,this._overlayRect,j);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,Re)),Tt=this._isRtl()?"end"===j.overlayX?"left":"right":"end"===j.overlayX?"right":"left","right"===Tt?tt.right=this._document.documentElement.clientWidth-(ot.x+this._overlayRect.width)+"px":tt.left=(0,d.HM)(ot.x),tt}_getScrollVisibility(){const j=this._getOriginRect(),ve=this._pane.getBoundingClientRect(),Re=this._scrollables.map(tt=>tt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:J(j,Re),isOriginOutsideView:U(j,Re),isOverlayClipped:J(ve,Re),isOverlayOutsideView:U(ve,Re)}}_subtractOverflows(j,...ve){return ve.reduce((Re,tt)=>Re-Math.max(tt,0),j)}_getNarrowedViewportRect(){const j=this._document.documentElement.clientWidth,ve=this._document.documentElement.clientHeight,Re=this._viewportRuler.getViewportScrollPosition();return{top:Re.top+this._viewportMargin,left:Re.left+this._viewportMargin,right:Re.left+j-this._viewportMargin,bottom:Re.top+ve-this._viewportMargin,width:j-2*this._viewportMargin,height:ve-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(j,ve){return"x"===ve?null==j.offsetX?this._offsetX:j.offsetX:null==j.offsetY?this._offsetY:j.offsetY}_validatePositions(){}_addPanelClasses(j){this._pane&&(0,d.Eq)(j).forEach(ve=>{""!==ve&&-1===this._appliedPanelClasses.indexOf(ve)&&(this._appliedPanelClasses.push(ve),this._pane.classList.add(ve))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(j=>{this._pane.classList.remove(j)}),this._appliedPanelClasses=[])}_getOriginRect(){const j=this._origin;if(j instanceof y.ElementRef)return j.nativeElement.getBoundingClientRect();if(j instanceof Element)return j.getBoundingClientRect();const ve=j.width||0,Re=j.height||0;return{top:j.y,bottom:j.y+Re,left:j.x,right:j.x+ve,height:Re,width:ve}}}function _e(xe,j){for(let ve in j)j.hasOwnProperty(ve)&&(xe[ve]=j[ve]);return xe}function Xe(xe){if("number"!=typeof xe&&null!=xe){const[j,ve]=xe.split(fe);return ve&&"px"!==ve?null:parseFloat(j)}return xe||null}function dt(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 it="cdk-global-overlay-wrapper";class st{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(j){const ve=j.getConfig();this._overlayRef=j,this._width&&!ve.width&&j.updateSize({width:this._width}),this._height&&!ve.height&&j.updateSize({height:this._height}),j.hostElement.classList.add(it),this._isDisposed=!1}top(j=""){return this._bottomOffset="",this._topOffset=j,this._alignItems="flex-start",this}left(j=""){return this._rightOffset="",this._leftOffset=j,this._justifyContent="flex-start",this}bottom(j=""){return this._topOffset="",this._bottomOffset=j,this._alignItems="flex-end",this}right(j=""){return this._leftOffset="",this._rightOffset=j,this._justifyContent="flex-end",this}width(j=""){return this._overlayRef?this._overlayRef.updateSize({width:j}):this._width=j,this}height(j=""){return this._overlayRef?this._overlayRef.updateSize({height:j}):this._height=j,this}centerHorizontally(j=""){return this.left(j),this._justifyContent="center",this}centerVertically(j=""){return this.top(j),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const j=this._overlayRef.overlayElement.style,ve=this._overlayRef.hostElement.style,Re=this._overlayRef.getConfig(),{width:tt,height:ot,maxWidth:Tt,maxHeight:Et}=Re,Rt=!("100%"!==tt&&"100vw"!==tt||Tt&&"100%"!==Tt&&"100vw"!==Tt),$e=!("100%"!==ot&&"100vh"!==ot||Et&&"100%"!==Et&&"100vh"!==Et);j.position=this._cssPosition,j.marginLeft=Rt?"0":this._leftOffset,j.marginTop=$e?"0":this._topOffset,j.marginBottom=this._bottomOffset,j.marginRight=this._rightOffset,Rt?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=$e?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const j=this._overlayRef.overlayElement.style,ve=this._overlayRef.hostElement,Re=ve.style;ve.classList.remove(it),Re.justifyContent=Re.alignItems=j.marginTop=j.marginBottom=j.marginLeft=j.marginRight=j.position="",this._overlayRef=null,this._isDisposed=!0}}let Ye=(()=>{class xe{constructor(ve,Re,tt,ot){this._viewportRuler=ve,this._document=Re,this._platform=tt,this._overlayContainer=ot}global(){return new st}flexibleConnectedTo(ve){return new me(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(r.t4),y.\u0275\u0275inject(ue))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),ut=(()=>{class xe{constructor(ve){this._attachedOverlays=[],this._document=ve}ngOnDestroy(){this.detach()}add(ve){this.remove(ve),this._attachedOverlays.push(ve)}remove(ve){const Re=this._attachedOverlays.indexOf(ve);Re>-1&&this._attachedOverlays.splice(Re,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})(),Ne=(()=>{class xe extends ut{constructor(ve,Re){super(ve),this._ngZone=Re,this._keydownListener=tt=>{const ot=this._attachedOverlays;for(let Tt=ot.length-1;Tt>-1;Tt--)if(ot[Tt]._keydownEvents.observers.length>0){const Et=ot[Tt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Et.next(tt)):Et.next(tt);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})(),qe=(()=>{class xe extends ut{constructor(ve,Re,tt){super(ve),this._platform=Re,this._ngZone=tt,this._cursorStyleIsSet=!1,this._pointerDownListener=ot=>{this._pointerDownEventTarget=(0,r.sA)(ot)},this._clickListener=ot=>{const Tt=(0,r.sA)(ot),Et="click"===ot.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Tt;this._pointerDownEventTarget=null;const Rt=this._attachedOverlays.slice();for(let $e=Rt.length-1;$e>-1;$e--){const we=Rt[$e];if(we._outsidePointerEvents.observers.length<1||!we.hasAttached())continue;if(we.overlayElement.contains(Tt)||we.overlayElement.contains(Et))break;const Te=we._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Te.next(ot)):Te.next(ot)}}}add(ve){if(super.add(ve),!this._isAttached){const Re=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Re)):this._addEventListeners(Re),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Re.style.cursor,Re.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(r.t4),y.\u0275\u0275inject(y.NgZone,8))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),ke=0,Qe=(()=>{class xe{constructor(ve,Re,tt,ot,Tt,Et,Rt,$e,we,Te,Ze){this.scrollStrategies=ve,this._overlayContainer=Re,this._componentFactoryResolver=tt,this._positionBuilder=ot,this._keyboardDispatcher=Tt,this._injector=Et,this._ngZone=Rt,this._document=$e,this._directionality=we,this._location=Te,this._outsideClickDispatcher=Ze}create(ve){const Re=this._createHostElement(),tt=this._createPaneElement(Re),ot=this._createPortalOutlet(tt),Tt=new V(ve);return Tt.direction=Tt.direction||this._directionality.value,new Y(ot,Re,tt,Tt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(ve){const Re=this._document.createElement("div");return Re.id="cdk-overlay-"+ke++,Re.classList.add("cdk-overlay-pane"),ve.appendChild(Re),Re}_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(q),y.\u0275\u0275inject(ue),y.\u0275\u0275inject(y.ComponentFactoryResolver),y.\u0275\u0275inject(Ye),y.\u0275\u0275inject(Ne),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(y.NgZone),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(l.Is),y.\u0275\u0275inject(h.Location),y.\u0275\u0275inject(qe))},xe.\u0275prov=y.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})();const Me={provide:new y.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Qe],useFactory:function ee(xe){return()=>xe.scrollStrategies.reposition()}};let Ge=(()=>{class xe{}return xe.\u0275fac=function(ve){return new(ve||xe)},xe.\u0275mod=y.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=y.\u0275\u0275defineInjector({providers:[Qe,Me],imports:[[l.vT,f.eL,n.Cl],n.Cl]}),xe})()},925:(W,o,a)=>{"use strict";a.d(o,{Mq:()=>T,Oy:()=>q,ht:()=>J,i$:()=>_,kV:()=>U,sA:()=>Q,t4:()=>d});var n=a(5e3),h=a(9808);let y;try{y="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(V){y=!1}let m,b,P,d=(()=>{class V{constructor(ce){this._platformId=ce,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 V.\u0275fac=function(ce){return new(ce||V)(n.\u0275\u0275inject(n.PLATFORM_ID))},V.\u0275prov=n.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();function _(V){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}()?V:!!V.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 V=Element.prototype.scrollTo;b=!!V&&!/\{\s*\[native code\]\s*\}/.test(V.toString())}}return b}function U(V){if(function I(){if(null==P){const V="undefined"!=typeof document?document.head:null;P=!(!V||!V.createShadowRoot&&!V.attachShadow)}return P}()){const oe=V.getRootNode?V.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&oe instanceof ShadowRoot)return oe}return null}function J(){let V="undefined"!=typeof document&&document?document.activeElement:null;for(;V&&V.shadowRoot;){const oe=V.shadowRoot.activeElement;if(oe===V)break;V=oe}return V}function Q(V){return V.composedPath?V.composedPath()[0]:V.target}function q(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(W,o,a)=>{"use strict";a.d(o,{C5:()=>u,Pl:()=>J,UE:()=>_,eL:()=>q,en:()=>b,ig:()=>I,u0:()=>S});var n=a(5e3),h=a(9808);class m{attach(ce){return this._attachedHost=ce,ce.attach(this)}detach(){let ce=this._attachedHost;null!=ce&&(this._attachedHost=null,ce.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ce){this._attachedHost=ce}}class u extends m{constructor(ce,ge,De,We){super(),this.component=ce,this.viewContainerRef=ge,this.injector=De,this.componentFactoryResolver=We}}class _ extends m{constructor(ce,ge,De){super(),this.templateRef=ce,this.viewContainerRef=ge,this.context=De}get origin(){return this.templateRef.elementRef}attach(ce,ge=this.context){return this.context=ge,super.attach(ce)}detach(){return this.context=void 0,super.detach()}}class v extends m{constructor(ce){super(),this.element=ce instanceof n.ElementRef?ce.nativeElement:ce}}class b{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ce){return ce instanceof u?(this._attachedPortal=ce,this.attachComponentPortal(ce)):ce instanceof _?(this._attachedPortal=ce,this.attachTemplatePortal(ce)):this.attachDomPortal&&ce instanceof v?(this._attachedPortal=ce,this.attachDomPortal(ce)):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(ce){this._disposeFn=ce}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class S extends b{constructor(ce,ge,De,We,Y){super(),this.outletElement=ce,this._componentFactoryResolver=ge,this._appRef=De,this._defaultInjector=We,this.attachDomPortal=ue=>{const $=ue.element,fe=this._document.createComment("dom-portal");$.parentNode.insertBefore(fe,$),this.outletElement.appendChild($),this._attachedPortal=ue,super.setDisposeFn(()=>{fe.parentNode&&fe.parentNode.replaceChild($,fe)})},this._document=Y}attachComponentPortal(ce){const De=(ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ce.component);let We;return ce.viewContainerRef?(We=ce.viewContainerRef.createComponent(De,ce.viewContainerRef.length,ce.injector||ce.viewContainerRef.injector),this.setDisposeFn(()=>We.destroy())):(We=De.create(ce.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(We.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(We.hostView),We.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(We)),this._attachedPortal=ce,We}attachTemplatePortal(ce){let ge=ce.viewContainerRef,De=ge.createEmbeddedView(ce.templateRef,ce.context);return De.rootNodes.forEach(We=>this.outletElement.appendChild(We)),De.detectChanges(),this.setDisposeFn(()=>{let We=ge.indexOf(De);-1!==We&&ge.remove(We)}),this._attachedPortal=ce,De}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ce){return ce.hostView.rootNodes[0]}}let I=(()=>{class oe extends _{constructor(ge,De){super(ge,De)}}return oe.\u0275fac=function(ge){return new(ge||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(ge,De,We){super(),this._componentFactoryResolver=ge,this._viewContainerRef=De,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Y=>{const ue=Y.element,$=this._document.createComment("dom-portal");Y.setAttachedHost(this),ue.parentNode.insertBefore($,ue),this._getRootNode().appendChild(ue),this._attachedPortal=Y,super.setDisposeFn(()=>{$.parentNode&&$.parentNode.replaceChild(ue,$)})},this._document=We}get portal(){return this._attachedPortal}set portal(ge){this.hasAttached()&&!ge&&!this._isInitialized||(this.hasAttached()&&super.detach(),ge&&super.attach(ge),this._attachedPortal=ge||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(ge){ge.setAttachedHost(this);const De=null!=ge.viewContainerRef?ge.viewContainerRef:this._viewContainerRef,Y=(ge.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ge.component),ue=De.createComponent(Y,De.length,ge.injector||De.injector);return De!==this._viewContainerRef&&this._getRootNode().appendChild(ue.hostView.rootNodes[0]),super.setDisposeFn(()=>ue.destroy()),this._attachedPortal=ge,this._attachedRef=ue,this.attached.emit(ue),ue}attachTemplatePortal(ge){ge.setAttachedHost(this);const De=this._viewContainerRef.createEmbeddedView(ge.templateRef,ge.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ge,this._attachedRef=De,this.attached.emit(De),De}_getRootNode(){const ge=this._viewContainerRef.element.nativeElement;return ge.nodeType===ge.ELEMENT_NODE?ge:ge.parentNode}}return oe.\u0275fac=function(ge){return new(ge||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})(),q=(()=>{class oe{}return oe.\u0275fac=function(ge){return new(ge||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})()},495:(W,o,a)=>{"use strict";a.d(o,{ZD:()=>Qe,mF:()=>Xe,Cl:()=>ht,rL:()=>st});var n=a(3191),h=a(5e3),y=a(4408),d=a(727);const r={schedule(ye){let Oe=requestAnimationFrame,L=cancelAnimationFrame;const{delegate:ee}=r;ee&&(Oe=ee.requestAnimationFrame,L=ee.cancelAnimationFrame);const Me=Oe(Ge=>{L=void 0,ye(Ge)});return new d.w0(()=>null==L?void 0:L(Me))},requestAnimationFrame(...ye){const{delegate:Oe}=r;return((null==Oe?void 0:Oe.requestAnimationFrame)||requestAnimationFrame)(...ye)},cancelAnimationFrame(...ye){const{delegate:Oe}=r;return((null==Oe?void 0:Oe.cancelAnimationFrame)||cancelAnimationFrame)(...ye)},delegate:void 0};var f=a(640);new class p extends f.v{flush(Oe){this._active=!0;const L=this._scheduled;this._scheduled=void 0;const{actions:ee}=this;let Me;Oe=Oe||ee.shift();do{if(Me=Oe.execute(Oe.state,Oe.delay))break}while((Oe=ee[0])&&Oe.id===L&&ee.shift());if(this._active=!1,Me){for(;(Oe=ee[0])&&Oe.id===L&&ee.shift();)Oe.unsubscribe();throw Me}}}(class l extends y.o{constructor(Oe,L){super(Oe,L),this.scheduler=Oe,this.work=L}requestAsyncId(Oe,L,ee=0){return null!==ee&&ee>0?super.requestAsyncId(Oe,L,ee):(Oe.actions.push(this),Oe._scheduled||(Oe._scheduled=r.requestAnimationFrame(()=>Oe.flush(void 0))))}recycleAsyncId(Oe,L,ee=0){if(null!=ee&&ee>0||null==ee&&this.delay>0)return super.recycleAsyncId(Oe,L,ee);Oe.actions.some(Me=>Me.id===L)||(r.cancelAnimationFrame(L),Oe._scheduled=void 0)}});var _=a(7579),v=a(9646),b=a(8306),T=a(4968),P=(a(3101),a(4986)),I=a(4482),U=a(8421),J=a(5403),q=a(5963);function V(ye,Oe=P.z){return function Q(ye){return(0,I.e)((Oe,L)=>{let ee=!1,Me=null,Ge=null,Ke=!1;const xe=()=>{if(null==Ge||Ge.unsubscribe(),Ge=null,ee){ee=!1;const ve=Me;Me=null,L.next(ve)}Ke&&L.complete()},j=()=>{Ge=null,Ke&&L.complete()};Oe.subscribe((0,J.x)(L,ve=>{ee=!0,Me=ve,Ge||(0,U.Xf)(ye(ve)).subscribe(Ge=(0,J.x)(L,xe,j))},()=>{Ke=!0,(!ee||!Ge||Ge.closed)&&L.complete()}))})}(()=>(0,q.H)(ye,Oe))}var oe=a(9300),ce=a(9808),ge=a(925),De=a(226);let Xe=(()=>{class ye{constructor(L,ee,Me){this._ngZone=L,this._platform=ee,this._scrolled=new _.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Me}register(L){this.scrollContainers.has(L)||this.scrollContainers.set(L,L.elementScrolled().subscribe(()=>this._scrolled.next(L)))}deregister(L){const ee=this.scrollContainers.get(L);ee&&(ee.unsubscribe(),this.scrollContainers.delete(L))}scrolled(L=20){return this._platform.isBrowser?new b.y(ee=>{this._globalSubscription||this._addGlobalListener();const Me=L>0?this._scrolled.pipe(V(L)).subscribe(ee):this._scrolled.subscribe(ee);return this._scrolledCount++,()=>{Me.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,v.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((L,ee)=>this.deregister(ee)),this._scrolled.complete()}ancestorScrolled(L,ee){const Me=this.getAncestorScrollContainers(L);return this.scrolled(ee).pipe((0,oe.h)(Ge=>!Ge||Me.indexOf(Ge)>-1))}getAncestorScrollContainers(L){const ee=[];return this.scrollContainers.forEach((Me,Ge)=>{this._scrollableContainsElement(Ge,L)&&ee.push(Ge)}),ee}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(L,ee){let Me=(0,n.fI)(ee),Ge=L.getElementRef().nativeElement;do{if(Me==Ge)return!0}while(Me=Me.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const L=this._getWindow();return(0,T.R)(L.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ye.\u0275fac=function(L){return new(L||ye)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(ge.t4),h.\u0275\u0275inject(ce.DOCUMENT,8))},ye.\u0275prov=h.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),st=(()=>{class ye{constructor(L,ee,Me){this._platform=L,this._change=new _.x,this._changeListener=Ge=>{this._change.next(Ge)},this._document=Me,ee.runOutsideAngular(()=>{if(L.isBrowser){const Ge=this._getWindow();Ge.addEventListener("resize",this._changeListener),Ge.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const L=this._getWindow();L.removeEventListener("resize",this._changeListener),L.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const L={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),L}getViewportRect(){const L=this.getViewportScrollPosition(),{width:ee,height:Me}=this.getViewportSize();return{top:L.top,left:L.left,bottom:L.top+Me,right:L.left+ee,height:Me,width:ee}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const L=this._document,ee=this._getWindow(),Me=L.documentElement,Ge=Me.getBoundingClientRect();return{top:-Ge.top||L.body.scrollTop||ee.scrollY||Me.scrollTop||0,left:-Ge.left||L.body.scrollLeft||ee.scrollX||Me.scrollLeft||0}}change(L=20){return L>0?this._change.pipe(V(L)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const L=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:L.innerWidth,height:L.innerHeight}:{width:0,height:0}}}return ye.\u0275fac=function(L){return new(L||ye)(h.\u0275\u0275inject(ge.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(ce.DOCUMENT,8))},ye.\u0275prov=h.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})(),Qe=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=h.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=h.\u0275\u0275defineInjector({}),ye})(),ht=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=h.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=h.\u0275\u0275defineInjector({imports:[[De.vT,Qe],De.vT,Qe]}),ye})()},9808:(W,o,a)=>{"use strict";a.r(o),a.d(o,{APP_BASE_HREF:()=>J,AsyncPipe:()=>Qi,CommonModule:()=>Ii,CurrencyPipe:()=>ji,DATE_PIPE_DEFAULT_TIMEZONE:()=>kr,DOCUMENT:()=>f,DatePipe:()=>Ni,DecimalPipe:()=>Dr,FormStyle:()=>ue,FormatWidth:()=>fe,HashLocationStrategy:()=>q,I18nPluralPipe:()=>Li,I18nSelectPipe:()=>Yi,JsonPipe:()=>Si,KeyValuePipe:()=>Tr,LOCATION_INITIALIZED:()=>u,Location:()=>V,LocationStrategy:()=>I,LowerCasePipe:()=>lr,NgClass:()=>an,NgComponentOutlet:()=>yn,NgForOf:()=>fn,NgForOfContext:()=>Xt,NgIf:()=>mn,NgIfContext:()=>nn,NgLocaleLocalization:()=>$t,NgLocalization:()=>at,NgPlural:()=>gi,NgPluralCase:()=>Qn,NgStyle:()=>ki,NgSwitch:()=>wn,NgSwitchCase:()=>Ln,NgSwitchDefault:()=>mi,NgTemplateOutlet:()=>Er,NumberFormatStyle:()=>We,NumberSymbol:()=>me,PathLocationStrategy:()=>Q,PercentPipe:()=>Zn,PlatformLocation:()=>p,Plural:()=>Y,SlicePipe:()=>dr,TitleCasePipe:()=>Fr,TranslationWidth:()=>$,UpperCasePipe:()=>bi,VERSION:()=>Pi,ViewportScroller:()=>ii,WeekDay:()=>_e,XhrFactory:()=>En,formatCurrency:()=>Rn,formatDate:()=>vt,formatNumber:()=>Yt,formatPercent:()=>At,getCurrencySymbol:()=>ot,getLocaleCurrencyCode:()=>ee,getLocaleCurrencyName:()=>L,getLocaleCurrencySymbol:()=>Oe,getLocaleDateFormat:()=>qe,getLocaleDateTimeFormat:()=>Qe,getLocaleDayNames:()=>it,getLocaleDayPeriods:()=>dt,getLocaleDirection:()=>ve,getLocaleEraNames:()=>Ye,getLocaleExtraDayPeriodRules:()=>xe,getLocaleExtraDayPeriods:()=>j,getLocaleFirstDayOfWeek:()=>ut,getLocaleId:()=>Xe,getLocaleMonthNames:()=>st,getLocaleNumberFormat:()=>ye,getLocaleNumberSymbol:()=>ht,getLocalePluralCase:()=>Ge,getLocaleTimeFormat:()=>ke,getLocaleWeekEndRange:()=>Ne,getNumberOfCurrencyDigits:()=>Et,isPlatformBrowser:()=>Pn,isPlatformServer:()=>Vi,isPlatformWorkerApp:()=>Xi,isPlatformWorkerUi:()=>Bn,registerLocaleData:()=>It,\u0275BrowserPlatformLocation:()=>_,\u0275DomAdapter:()=>l,\u0275NullViewportScroller:()=>jr,\u0275PLATFORM_BROWSER_ID:()=>Ti,\u0275PLATFORM_SERVER_ID:()=>Zi,\u0275PLATFORM_WORKER_APP_ID:()=>Bi,\u0275PLATFORM_WORKER_UI_ID:()=>Ji,\u0275getDOM:()=>y,\u0275parseCookieValue:()=>pn,\u0275setRootDomAdapter:()=>r});var n=a(5e3);let h=null;function y(){return h}function r(F){h||(h=F)}class l{}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 pe=y().getGlobalEventTarget(this._doc,"window");return pe.addEventListener("popstate",x,!1),()=>pe.removeEventListener("popstate",x)}onHashChange(x){const pe=y().getGlobalEventTarget(this._doc,"window");return pe.addEventListener("hashchange",x,!1),()=>pe.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,pe,Ve){v()?this._history.pushState(x,pe,Ve):this.location.hash=Ve}replaceState(x,pe,Ve){v()?this._history.replaceState(x,pe,Ve):this.location.hash=Ve}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,se){if(0==F.length)return se;if(0==se.length)return F;let x=0;return F.endsWith("/")&&x++,se.startsWith("/")&&x++,2==x?F+se.substring(1):1==x?F+se:F+"/"+se}function S(F){const se=F.match(/#|\?|$/),x=se&&se.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 U(F){const se=(0,n.\u0275\u0275inject)(f).location;return new Q((0,n.\u0275\u0275inject)(p),se&&se.origin||"")}()},providedIn:"root"}),F})();const J=new n.InjectionToken("appBaseHref");let Q=(()=>{class F extends I{constructor(x,pe){if(super(),this._platformLocation=x,this._removeListenerFns=[],null==pe&&(pe=this._platformLocation.getBaseHrefFromDOM()),null==pe)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=pe}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 pe=this._platformLocation.pathname+P(this._platformLocation.search),Ve=this._platformLocation.hash;return Ve&&x?`${pe}${Ve}`:pe}pushState(x,pe,Ve,ct){const gt=this.prepareExternalUrl(Ve+P(ct));this._platformLocation.pushState(x,pe,gt)}replaceState(x,pe,Ve,ct){const gt=this.prepareExternalUrl(Ve+P(ct));this._platformLocation.replaceState(x,pe,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(x=0){var pe,Ve;null===(Ve=(pe=this._platformLocation).historyGo)||void 0===Ve||Ve.call(pe,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})(),q=(()=>{class F extends I{constructor(x,pe){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=pe&&(this._baseHref=pe)}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 pe=this._platformLocation.hash;return null==pe&&(pe="#"),pe.length>0?pe.substring(1):pe}prepareExternalUrl(x){const pe=T(this._baseHref,x);return pe.length>0?"#"+pe:pe}pushState(x,pe,Ve,ct){let gt=this.prepareExternalUrl(Ve+P(ct));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(x,pe,gt)}replaceState(x,pe,Ve,ct){let gt=this.prepareExternalUrl(Ve+P(ct));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(x,pe,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(x=0){var pe,Ve;null===(Ve=(pe=this._platformLocation).historyGo)||void 0===Ve||Ve.call(pe,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})(),V=(()=>{class F{constructor(x,pe){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=x;const Ve=this._platformStrategy.getBaseHref();this._platformLocation=pe,this._baseHref=S(ge(Ve)),this._platformStrategy.onPopState(ct=>{this._subject.emit({url:this.path(!0),pop:!0,state:ct.state,type:ct.type})})}path(x=!1){return this.normalize(this._platformStrategy.path(x))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(x,pe=""){return this.path()==this.normalize(x+P(pe))}normalize(x){return F.stripTrailingSlash(function ce(F,se){return F&&se.startsWith(F)?se.substring(F.length):se}(this._baseHref,ge(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._platformStrategy.prepareExternalUrl(x)}go(x,pe="",Ve=null){this._platformStrategy.pushState(Ve,"",x,pe),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+P(pe)),Ve)}replaceState(x,pe="",Ve=null){this._platformStrategy.replaceState(Ve,"",x,pe),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+P(pe)),Ve)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(x=0){var pe,Ve;null===(Ve=(pe=this._platformStrategy).historyGo)||void 0===Ve||Ve.call(pe,x)}onUrlChange(x){this._urlChangeListeners.push(x),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(pe=>{this._notifyUrlChangeListeners(pe.url,pe.state)}))}_notifyUrlChangeListeners(x="",pe){this._urlChangeListeners.forEach(Ve=>Ve(x,pe))}subscribe(x,pe,Ve){return this._subject.subscribe({next:x,error:pe,complete:Ve})}}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 V((0,n.\u0275\u0275inject)(I),(0,n.\u0275\u0275inject)(p))}()},providedIn:"root"}),F})();function ge(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 We=(()=>((We=We||{})[We.Decimal=0]="Decimal",We[We.Percent=1]="Percent",We[We.Currency=2]="Currency",We[We.Scientific=3]="Scientific",We))(),Y=(()=>((Y=Y||{})[Y.Zero=0]="Zero",Y[Y.One=1]="One",Y[Y.Two=2]="Two",Y[Y.Few=3]="Few",Y[Y.Many=4]="Many",Y[Y.Other=5]="Other",Y))(),ue=(()=>((ue=ue||{})[ue.Format=0]="Format",ue[ue.Standalone=1]="Standalone",ue))(),$=(()=>(($=$||{})[$.Narrow=0]="Narrow",$[$.Abbreviated=1]="Abbreviated",$[$.Wide=2]="Wide",$[$.Short=3]="Short",$))(),fe=(()=>((fe=fe||{})[fe.Short=0]="Short",fe[fe.Medium=1]="Medium",fe[fe.Long=2]="Long",fe[fe.Full=3]="Full",fe))(),me=(()=>((me=me||{})[me.Decimal=0]="Decimal",me[me.Group=1]="Group",me[me.List=2]="List",me[me.PercentSign=3]="PercentSign",me[me.PlusSign=4]="PlusSign",me[me.MinusSign=5]="MinusSign",me[me.Exponential=6]="Exponential",me[me.SuperscriptingExponent=7]="SuperscriptingExponent",me[me.PerMille=8]="PerMille",me[me.Infinity=9]="Infinity",me[me.NaN=10]="NaN",me[me.TimeSeparator=11]="TimeSeparator",me[me.CurrencyDecimal=12]="CurrencyDecimal",me[me.CurrencyGroup=13]="CurrencyGroup",me))(),_e=(()=>((_e=_e||{})[_e.Sunday=0]="Sunday",_e[_e.Monday=1]="Monday",_e[_e.Tuesday=2]="Tuesday",_e[_e.Wednesday=3]="Wednesday",_e[_e.Thursday=4]="Thursday",_e[_e.Friday=5]="Friday",_e[_e.Saturday=6]="Saturday",_e))();function Xe(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.LocaleId]}function dt(F,se,x){const pe=(0,n.\u0275findLocaleData)(F),ct=Re([pe[n.\u0275LocaleDataIndex.DayPeriodsFormat],pe[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],se);return Re(ct,x)}function it(F,se,x){const pe=(0,n.\u0275findLocaleData)(F),ct=Re([pe[n.\u0275LocaleDataIndex.DaysFormat],pe[n.\u0275LocaleDataIndex.DaysStandalone]],se);return Re(ct,x)}function st(F,se,x){const pe=(0,n.\u0275findLocaleData)(F),ct=Re([pe[n.\u0275LocaleDataIndex.MonthsFormat],pe[n.\u0275LocaleDataIndex.MonthsStandalone]],se);return Re(ct,x)}function Ye(F,se){return Re((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Eras],se)}function ut(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function Ne(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.WeekendRange]}function qe(F,se){return Re((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.DateFormat],se)}function ke(F,se){return Re((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.TimeFormat],se)}function Qe(F,se){return Re((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.DateTimeFormat],se)}function ht(F,se){const x=(0,n.\u0275findLocaleData)(F),pe=x[n.\u0275LocaleDataIndex.NumberSymbols][se];if(void 0===pe){if(se===me.CurrencyDecimal)return x[n.\u0275LocaleDataIndex.NumberSymbols][me.Decimal];if(se===me.CurrencyGroup)return x[n.\u0275LocaleDataIndex.NumberSymbols][me.Group]}return pe}function ye(F,se){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.NumberFormats][se]}function Oe(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function L(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.CurrencyName]||null}function ee(F){return(0,n.\u0275getLocaleCurrencyCode)(F)}const Ge=n.\u0275getLocalePluralCase;function Ke(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 se=(0,n.\u0275findLocaleData)(F);return Ke(se),(se[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(pe=>"string"==typeof pe?tt(pe):[tt(pe[0]),tt(pe[1])])}function j(F,se,x){const pe=(0,n.\u0275findLocaleData)(F);Ke(pe);const ct=Re([pe[n.\u0275LocaleDataIndex.ExtraData][0],pe[n.\u0275LocaleDataIndex.ExtraData][1]],se)||[];return Re(ct,x)||[]}function ve(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Directionality]}function Re(F,se){for(let x=se;x>-1;x--)if(void 0!==F[x])return F[x];throw new Error("Locale data API: locale data undefined")}function tt(F){const[se,x]=F.split(":");return{hours:+se,minutes:+x}}function ot(F,se,x="en"){const pe=function Me(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Currencies]}(x)[F]||De[F]||[],Ve=pe[1];return"narrow"===se&&"string"==typeof Ve?Ve:pe[0]||F}function Et(F){let se;const x=De[F];return x&&(se=x[2]),"number"==typeof se?se:2}const Rt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$e={},we=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Te=(()=>((Te=Te||{})[Te.Short=0]="Short",Te[Te.ShortGMT=1]="ShortGMT",Te[Te.Long=2]="Long",Te[Te.Extended=3]="Extended",Te))(),Ze=(()=>((Ze=Ze||{})[Ze.FullYear=0]="FullYear",Ze[Ze.Month=1]="Month",Ze[Ze.Date=2]="Date",Ze[Ze.Hours=3]="Hours",Ze[Ze.Minutes=4]="Minutes",Ze[Ze.Seconds=5]="Seconds",Ze[Ze.FractionalSeconds=6]="FractionalSeconds",Ze[Ze.Day=7]="Day",Ze))(),Pe=(()=>((Pe=Pe||{})[Pe.DayPeriods=0]="DayPeriods",Pe[Pe.Days=1]="Days",Pe[Pe.Months=2]="Months",Pe[Pe.Eras=3]="Eras",Pe))();function vt(F,se,x,pe){let Ve=function re(F){if(Ie(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[Ve,ct=1,gt=1]=F.split("-").map(Lt=>+Lt);return Fe(Ve,ct-1,gt)}const x=parseFloat(F);if(!isNaN(F-x))return new Date(x);let pe;if(pe=F.match(Rt))return function K(F){const se=new Date(0);let x=0,pe=0;const Ve=F[8]?se.setUTCFullYear:se.setFullYear,ct=F[8]?se.setUTCHours:se.setHours;F[9]&&(x=Number(F[9]+F[10]),pe=Number(F[9]+F[11])),Ve.call(se,Number(F[1]),Number(F[2])-1,Number(F[3]));const gt=Number(F[4]||0)-x,Lt=Number(F[5]||0)-pe,bn=Number(F[6]||0),cn=Math.floor(1e3*parseFloat("0."+(F[7]||0)));return ct.call(se,gt,Lt,bn,cn),se}(pe)}const se=new Date(F);if(!Ie(se))throw new Error(`Unable to convert "${F}" into a date`);return se}(F);se=Ue(x,se)||se;let Lt,gt=[];for(;se;){if(Lt=we.exec(se),!Lt){gt.push(se);break}{gt=gt.concat(Lt.slice(1));const rn=gt.pop();if(!rn)break;se=rn}}let bn=Ve.getTimezoneOffset();pe&&(bn=_t(pe,bn),Ve=function B(F,se,x){const pe=x?-1:1,Ve=F.getTimezoneOffset();return function de(F,se){return(F=new Date(F.getTime())).setMinutes(F.getMinutes()+se),F}(F,pe*(_t(se,Ve)-Ve))}(Ve,pe,!0));let cn="";return gt.forEach(rn=>{const sn=function He(F){if(wt[F])return wt[F];let se;switch(F){case"G":case"GG":case"GGG":se=St(Pe.Eras,$.Abbreviated);break;case"GGGG":se=St(Pe.Eras,$.Wide);break;case"GGGGG":se=St(Pe.Eras,$.Narrow);break;case"y":se=Dt(Ze.FullYear,1,0,!1,!0);break;case"yy":se=Dt(Ze.FullYear,2,0,!0,!0);break;case"yyy":se=Dt(Ze.FullYear,3,0,!1,!0);break;case"yyyy":se=Dt(Ze.FullYear,4,0,!1,!0);break;case"Y":se=ze(1);break;case"YY":se=ze(2,!0);break;case"YYY":se=ze(3);break;case"YYYY":se=ze(4);break;case"M":case"L":se=Dt(Ze.Month,1,1);break;case"MM":case"LL":se=Dt(Ze.Month,2,1);break;case"MMM":se=St(Pe.Months,$.Abbreviated);break;case"MMMM":se=St(Pe.Months,$.Wide);break;case"MMMMM":se=St(Pe.Months,$.Narrow);break;case"LLL":se=St(Pe.Months,$.Abbreviated,ue.Standalone);break;case"LLLL":se=St(Pe.Months,$.Wide,ue.Standalone);break;case"LLLLL":se=St(Pe.Months,$.Narrow,ue.Standalone);break;case"w":se=ie(1);break;case"ww":se=ie(2);break;case"W":se=ie(1,!0);break;case"d":se=Dt(Ze.Date,1);break;case"dd":se=Dt(Ze.Date,2);break;case"c":case"cc":se=Dt(Ze.Day,1);break;case"ccc":se=St(Pe.Days,$.Abbreviated,ue.Standalone);break;case"cccc":se=St(Pe.Days,$.Wide,ue.Standalone);break;case"ccccc":se=St(Pe.Days,$.Narrow,ue.Standalone);break;case"cccccc":se=St(Pe.Days,$.Short,ue.Standalone);break;case"E":case"EE":case"EEE":se=St(Pe.Days,$.Abbreviated);break;case"EEEE":se=St(Pe.Days,$.Wide);break;case"EEEEE":se=St(Pe.Days,$.Narrow);break;case"EEEEEE":se=St(Pe.Days,$.Short);break;case"a":case"aa":case"aaa":se=St(Pe.DayPeriods,$.Abbreviated);break;case"aaaa":se=St(Pe.DayPeriods,$.Wide);break;case"aaaaa":se=St(Pe.DayPeriods,$.Narrow);break;case"b":case"bb":case"bbb":se=St(Pe.DayPeriods,$.Abbreviated,ue.Standalone,!0);break;case"bbbb":se=St(Pe.DayPeriods,$.Wide,ue.Standalone,!0);break;case"bbbbb":se=St(Pe.DayPeriods,$.Narrow,ue.Standalone,!0);break;case"B":case"BB":case"BBB":se=St(Pe.DayPeriods,$.Abbreviated,ue.Format,!0);break;case"BBBB":se=St(Pe.DayPeriods,$.Wide,ue.Format,!0);break;case"BBBBB":se=St(Pe.DayPeriods,$.Narrow,ue.Format,!0);break;case"h":se=Dt(Ze.Hours,1,-12);break;case"hh":se=Dt(Ze.Hours,2,-12);break;case"H":se=Dt(Ze.Hours,1);break;case"HH":se=Dt(Ze.Hours,2);break;case"m":se=Dt(Ze.Minutes,1);break;case"mm":se=Dt(Ze.Minutes,2);break;case"s":se=Dt(Ze.Seconds,1);break;case"ss":se=Dt(Ze.Seconds,2);break;case"S":se=Dt(Ze.FractionalSeconds,1);break;case"SS":se=Dt(Ze.FractionalSeconds,2);break;case"SSS":se=Dt(Ze.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":se=he(Te.Short);break;case"ZZZZZ":se=he(Te.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":se=he(Te.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":se=he(Te.Long);break;default:return null}return wt[F]=se,se}(rn);cn+=sn?sn(Ve,x,bn):"''"===rn?"'":rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),cn}function Fe(F,se,x){const pe=new Date(0);return pe.setFullYear(F,se,x),pe.setHours(0,0,0),pe}function Ue(F,se){const x=Xe(F);if($e[x]=$e[x]||{},$e[x][se])return $e[x][se];let pe="";switch(se){case"shortDate":pe=qe(F,fe.Short);break;case"mediumDate":pe=qe(F,fe.Medium);break;case"longDate":pe=qe(F,fe.Long);break;case"fullDate":pe=qe(F,fe.Full);break;case"shortTime":pe=ke(F,fe.Short);break;case"mediumTime":pe=ke(F,fe.Medium);break;case"longTime":pe=ke(F,fe.Long);break;case"fullTime":pe=ke(F,fe.Full);break;case"short":const Ve=Ue(F,"shortTime"),ct=Ue(F,"shortDate");pe=lt(Qe(F,fe.Short),[Ve,ct]);break;case"medium":const gt=Ue(F,"mediumTime"),Lt=Ue(F,"mediumDate");pe=lt(Qe(F,fe.Medium),[gt,Lt]);break;case"long":const bn=Ue(F,"longTime"),cn=Ue(F,"longDate");pe=lt(Qe(F,fe.Long),[bn,cn]);break;case"full":const rn=Ue(F,"fullTime"),sn=Ue(F,"fullDate");pe=lt(Qe(F,fe.Full),[rn,sn])}return pe&&($e[x][se]=pe),pe}function lt(F,se){return se&&(F=F.replace(/\{([^}]+)}/g,function(x,pe){return null!=se&&pe in se?se[pe]:x})),F}function yt(F,se,x="-",pe,Ve){let ct="";(F<0||Ve&&F<=0)&&(Ve?F=1-F:(F=-F,ct=x));let gt=String(F);for(;gt.length<se;)gt="0"+gt;return pe&&(gt=gt.substr(gt.length-se)),ct+gt}function Dt(F,se,x=0,pe=!1,Ve=!1){return function(ct,gt){let Lt=function Kt(F,se){switch(F){case Ze.FullYear:return se.getFullYear();case Ze.Month:return se.getMonth();case Ze.Date:return se.getDate();case Ze.Hours:return se.getHours();case Ze.Minutes:return se.getMinutes();case Ze.Seconds:return se.getSeconds();case Ze.FractionalSeconds:return se.getMilliseconds();case Ze.Day:return se.getDay();default:throw new Error(`Unknown DateType value "${F}".`)}}(F,ct);if((x>0||Lt>-x)&&(Lt+=x),F===Ze.Hours)0===Lt&&-12===x&&(Lt=12);else if(F===Ze.FractionalSeconds)return function Vt(F,se){return yt(F,3).substr(0,se)}(Lt,se);const bn=ht(gt,me.MinusSign);return yt(Lt,se,bn,pe,Ve)}}function St(F,se,x=ue.Format,pe=!1){return function(Ve,ct){return function Ht(F,se,x,pe,Ve,ct){switch(x){case Pe.Months:return st(se,Ve,pe)[F.getMonth()];case Pe.Days:return it(se,Ve,pe)[F.getDay()];case Pe.DayPeriods:const gt=F.getHours(),Lt=F.getMinutes();if(ct){const cn=xe(se),rn=j(se,Ve,pe),sn=cn.findIndex(xn=>{if(Array.isArray(xn)){const[_n,On]=xn,N=gt>=_n.hours&&Lt>=_n.minutes,R=gt<On.hours||gt===On.hours&&Lt<On.minutes;if(_n.hours<On.hours){if(N&&R)return!0}else if(N||R)return!0}else if(xn.hours===gt&&xn.minutes===Lt)return!0;return!1});if(-1!==sn)return rn[sn]}return dt(se,Ve,pe)[gt<12?0:1];case Pe.Eras:return Ye(se,pe)[F.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${x}`)}}(Ve,ct,F,se,x,pe)}}function he(F){return function(se,x,pe){const Ve=-1*pe,ct=ht(x,me.MinusSign),gt=Ve>0?Math.floor(Ve/60):Math.ceil(Ve/60);switch(F){case Te.Short:return(Ve>=0?"+":"")+yt(gt,2,ct)+yt(Math.abs(Ve%60),2,ct);case Te.ShortGMT:return"GMT"+(Ve>=0?"+":"")+yt(gt,1,ct);case Te.Long:return"GMT"+(Ve>=0?"+":"")+yt(gt,2,ct)+":"+yt(Math.abs(Ve%60),2,ct);case Te.Extended:return 0===pe?"Z":(Ve>=0?"+":"")+yt(gt,2,ct)+":"+yt(Math.abs(Ve%60),2,ct);default:throw new Error(`Unknown zone width "${F}"`)}}}function Ce(F){return Fe(F.getFullYear(),F.getMonth(),F.getDate()+(4-F.getDay()))}function ie(F,se=!1){return function(x,pe){let Ve;if(se){const ct=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,gt=x.getDate();Ve=1+Math.floor((gt+ct)/7)}else{const ct=Ce(x),gt=function z(F){const se=Fe(F,0,1).getDay();return Fe(F,0,1+(se<=4?4:11)-se)}(ct.getFullYear()),Lt=ct.getTime()-gt.getTime();Ve=1+Math.round(Lt/6048e5)}return yt(Ve,F,ht(pe,me.MinusSign))}}function ze(F,se=!1){return function(x,pe){return yt(Ce(x).getFullYear(),F,ht(pe,me.MinusSign),se)}}const wt={};function _t(F,se){F=F.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+F)/6e4;return isNaN(x)?se:x}function Ie(F){return F instanceof Date&&!isNaN(F.valueOf())}const rt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Yn(F,se,x,pe,Ve,ct,gt=!1){let Lt="",bn=!1;if(isFinite(F)){let cn=function te(F){let pe,Ve,ct,gt,Lt,se=Math.abs(F)+"",x=0;for((Ve=se.indexOf("."))>-1&&(se=se.replace(".","")),(ct=se.search(/e/i))>0?(Ve<0&&(Ve=ct),Ve+=+se.slice(ct+1),se=se.substring(0,ct)):Ve<0&&(Ve=se.length),ct=0;"0"===se.charAt(ct);ct++);if(ct===(Lt=se.length))pe=[0],Ve=1;else{for(Lt--;"0"===se.charAt(Lt);)Lt--;for(Ve-=ct,pe=[],gt=0;ct<=Lt;ct++,gt++)pe[gt]=Number(se.charAt(ct))}return Ve>22&&(pe=pe.splice(0,21),x=Ve-1,Ve=1),{digits:pe,exponent:x,integerLen:Ve}}(F);gt&&(cn=function Ae(F){if(0===F.digits[0])return F;const se=F.digits.length-F.integerLen;return F.exponent?F.exponent+=2:(0===se?F.digits.push(0,0):1===se&&F.digits.push(0),F.integerLen+=2),F}(cn));let rn=se.minInt,sn=se.minFrac,xn=se.maxFrac;if(ct){const ae=ct.match(rt);if(null===ae)throw new Error(`${ct} is not a valid digit info`);const ft=ae[1],Nt=ae[3],Mn=ae[5];null!=ft&&(rn=Je(ft)),null!=Nt&&(sn=Je(Nt)),null!=Mn?xn=Je(Mn):null!=Nt&&sn>xn&&(xn=sn)}!function Se(F,se,x){if(se>x)throw new Error(`The minimum number of digits after fraction (${se}) is higher than the maximum (${x}).`);let pe=F.digits,Ve=pe.length-F.integerLen;const ct=Math.min(Math.max(se,Ve),x);let gt=ct+F.integerLen,Lt=pe[gt];if(gt>0){pe.splice(Math.max(F.integerLen,gt));for(let sn=gt;sn<pe.length;sn++)pe[sn]=0}else{Ve=Math.max(0,Ve),F.integerLen=1,pe.length=Math.max(1,gt=ct+1),pe[0]=0;for(let sn=1;sn<gt;sn++)pe[sn]=0}if(Lt>=5)if(gt-1<0){for(let sn=0;sn>gt;sn--)pe.unshift(0),F.integerLen++;pe.unshift(1),F.integerLen++}else pe[gt-1]++;for(;Ve<Math.max(0,ct);Ve++)pe.push(0);let bn=0!==ct;const cn=se+F.integerLen,rn=pe.reduceRight(function(sn,xn,_n,On){return On[_n]=(xn+=sn)<10?xn:xn-10,bn&&(0===On[_n]&&_n>=cn?On.pop():bn=!1),xn>=10?1:0},0);rn&&(pe.unshift(rn),F.integerLen++)}(cn,sn,xn);let _n=cn.digits,On=cn.integerLen;const N=cn.exponent;let R=[];for(bn=_n.every(ae=>!ae);On<rn;On++)_n.unshift(0);for(;On<0;On++)_n.unshift(0);On>0?R=_n.splice(On,_n.length):(R=_n,_n=[0]);const M=[];for(_n.length>=se.lgSize&&M.unshift(_n.splice(-se.lgSize,_n.length).join(""));_n.length>se.gSize;)M.unshift(_n.splice(-se.gSize,_n.length).join(""));_n.length&&M.unshift(_n.join("")),Lt=M.join(ht(x,pe)),R.length&&(Lt+=ht(x,Ve)+R.join("")),N&&(Lt+=ht(x,me.Exponential)+"+"+N)}else Lt=ht(x,me.Infinity);return Lt=F<0&&!bn?se.negPre+Lt+se.negSuf:se.posPre+Lt+se.posSuf,Lt}function Rn(F,se,x,pe,Ve){const gt=le(ye(se,We.Currency),ht(se,me.MinusSign));return gt.minFrac=Et(pe),gt.maxFrac=gt.minFrac,Yn(F,gt,se,me.CurrencyGroup,me.CurrencyDecimal,Ve).replace("\xa4",x).replace("\xa4","").trim()}function At(F,se,x){return Yn(F,le(ye(se,We.Percent),ht(se,me.MinusSign)),se,me.Group,me.Decimal,x,!0).replace(new RegExp("%","g"),ht(se,me.PercentSign))}function Yt(F,se,x){return Yn(F,le(ye(se,We.Decimal),ht(se,me.MinusSign)),se,me.Group,me.Decimal,x)}function le(F,se="-"){const x={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},pe=F.split(";"),Ve=pe[0],ct=pe[1],gt=-1!==Ve.indexOf(".")?Ve.split("."):[Ve.substring(0,Ve.lastIndexOf("0")+1),Ve.substring(Ve.lastIndexOf("0")+1)],Lt=gt[0],bn=gt[1]||"";x.posPre=Lt.substr(0,Lt.indexOf("#"));for(let rn=0;rn<bn.length;rn++){const sn=bn.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,ct){const rn=Ve.length-x.posPre.length-x.posSuf.length,sn=ct.indexOf("#");x.negPre=ct.substr(0,sn).replace(/'/g,""),x.negSuf=ct.substr(sn+rn).replace(/'/g,"")}else x.negPre=se+x.posPre,x.negSuf=x.posSuf;return x}function Je(F){const se=parseInt(F);if(isNaN(se))throw new Error("Invalid integer literal when parsing "+F);return se}let at=(()=>{class F{}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(x){let pe=null;return x?pe=new x:(Ve=n.\u0275\u0275inject(n.LOCALE_ID),pe=new $t(Ve)),pe;var Ve},providedIn:"root"}),F})();function Ot(F,se,x,pe){let Ve=`=${F}`;if(se.indexOf(Ve)>-1||(Ve=x.getPluralCategory(F,pe),se.indexOf(Ve)>-1))return Ve;if(se.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${F}"`)}let $t=(()=>{class F extends at{constructor(x){super(),this.locale=x}getPluralCategory(x,pe){switch(Ge(pe||this.locale)(x)){case Y.Zero:return"zero";case Y.One:return"one";case Y.Two:return"two";case Y.Few:return"few";case Y.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 It(F,se,x){return(0,n.\u0275registerLocaleData)(F,se,x)}function pn(F,se){se=encodeURIComponent(se);for(const x of F.split(";")){const pe=x.indexOf("="),[Ve,ct]=-1==pe?[x,""]:[x.slice(0,pe),x.slice(pe+1)];if(Ve.trim()===se)return decodeURIComponent(ct)}return null}let an=(()=>{class F{constructor(x,pe,Ve,ct){this._iterableDiffers=x,this._keyValueDiffers=pe,this._ngEl=Ve,this._renderer=ct,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(pe=>this._toggleClass(pe.key,pe.currentValue)),x.forEachChangedItem(pe=>this._toggleClass(pe.key,pe.currentValue)),x.forEachRemovedItem(pe=>{pe.previousValue&&this._toggleClass(pe.key,!1)})}_applyIterableChanges(x){x.forEachAddedItem(pe=>{if("string"!=typeof pe.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(pe.item)}`);this._toggleClass(pe.item,!0)}),x.forEachRemovedItem(pe=>this._toggleClass(pe.item,!1))}_applyClasses(x){x&&(Array.isArray(x)||x instanceof Set?x.forEach(pe=>this._toggleClass(pe,!0)):Object.keys(x).forEach(pe=>this._toggleClass(pe,!!x[pe])))}_removeClasses(x){x&&(Array.isArray(x)||x instanceof Set?x.forEach(pe=>this._toggleClass(pe,!1)):Object.keys(x).forEach(pe=>this._toggleClass(pe,!1)))}_toggleClass(x,pe){(x=x.trim())&&x.split(/\s+/g).forEach(Ve=>{pe?this._renderer.addClass(this._ngEl.nativeElement,Ve):this._renderer.removeClass(this._ngEl.nativeElement,Ve)})}}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})(),yn=(()=>{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 pe=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(x.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const gt=pe.get(n.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(gt.injector)}else this._moduleRef=null;const ct=(this._moduleRef?this._moduleRef.componentFactoryResolver:pe.get(n.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(ct,this._viewContainerRef.length,pe,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(se,x,pe,Ve){this.$implicit=se,this.ngForOf=x,this.index=pe,this.count=Ve}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,pe,Ve){this._viewContainer=x,this._template=pe,this._differs=Ve,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 pe=this._viewContainer;x.forEachOperation((Ve,ct,gt)=>{if(null==Ve.previousIndex)pe.createEmbeddedView(this._template,new Xt(Ve.item,this._ngForOf,-1,-1),null===gt?void 0:gt);else if(null==gt)pe.remove(null===ct?void 0:ct);else if(null!==ct){const Lt=pe.get(ct);pe.move(Lt,gt),Wn(Lt,Ve)}});for(let Ve=0,ct=pe.length;Ve<ct;Ve++){const Lt=pe.get(Ve).context;Lt.index=Ve,Lt.count=ct,Lt.ngForOf=this._ngForOf}x.forEachIdentityChange(Ve=>{Wn(pe.get(Ve.currentIndex),Ve)})}static ngTemplateContextGuard(x,pe){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 Wn(F,se){F.context.$implicit=se.item}let mn=(()=>{class F{constructor(x,pe){this._viewContainer=x,this._context=new nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=pe}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){pi("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){pi("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,pe){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 pi(F,se){if(se&&!se.createEmbeddedView)throw new Error(`${F} must be a TemplateRef, but received '${(0,n.\u0275stringify)(se)}'.`)}class Di{constructor(se,x){this._viewContainerRef=se,this._templateRef=x,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(se){se&&!this._created?this.create():!se&&this._created&&this.destroy()}}let wn=(()=>{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 pe=x==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||pe,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),pe}_updateDefaultCases(x){if(this._defaultViews&&x!==this._defaultUsed){this._defaultUsed=x;for(let pe=0;pe<this._defaultViews.length;pe++)this._defaultViews[pe].enforceState(x)}}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),F})(),Ln=(()=>{class F{constructor(x,pe,Ve){this.ngSwitch=Ve,Ve._addCase(),this._view=new Di(x,pe)}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(wn,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),F})(),mi=(()=>{class F{constructor(x,pe,Ve){Ve._addDefault(new Di(x,pe))}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(wn,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchDefault",""]]}),F})(),gi=(()=>{class F{constructor(x){this._localization=x,this._caseViews={}}set ngPlural(x){this._switchValue=x,this._updateView()}addCase(x,pe){this._caseViews[x]=pe}_updateView(){this._clearViews();const x=Object.keys(this._caseViews),pe=Ot(this._switchValue,x,this._localization);this._activateView(this._caseViews[pe])}_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(at))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),F})(),Qn=(()=>{class F{constructor(x,pe,Ve,ct){this.value=x;const gt=!isNaN(Number(x));ct.addCase(gt?`=${x}`:x,new Di(Ve,pe))}}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(gi,1))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngPluralCase",""]]}),F})(),ki=(()=>{class F{constructor(x,pe,Ve){this._ngEl=x,this._differs=pe,this._renderer=Ve,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,pe){const[Ve,ct]=x.split(".");null!=(pe=null!=pe&&ct?`${pe}${ct}`:pe)?this._renderer.setStyle(this._ngEl.nativeElement,Ve,pe):this._renderer.removeStyle(this._ngEl.nativeElement,Ve)}_applyChanges(x){x.forEachRemovedItem(pe=>this._setStyle(pe.key,null)),x.forEachAddedItem(pe=>this._setStyle(pe.key,pe.currentValue)),x.forEachChangedItem(pe=>this._setStyle(pe.key,pe.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})(),Er=(()=>{class F{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(x){if(x.ngTemplateOutlet){const pe=this._viewContainerRef;this._viewRef&&pe.remove(pe.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?pe.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 jn(F,se){return new n.\u0275RuntimeError(2100,"")}class xr{createSubscription(se,x){return se.subscribe({next:x,error:pe=>{throw pe}})}dispose(se){se.unsubscribe()}onDestroy(se){se.unsubscribe()}}class wi{createSubscription(se,x){return se.then(x,pe=>{throw pe})}dispose(se){}onDestroy(se){}}const ar=new wi,Mi=new xr;let Qi=(()=>{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,pe=>this._updateLatestValue(x,pe))}_selectStrategy(x){if((0,n.\u0275isPromise)(x))return ar;if((0,n.\u0275isSubscribable)(x))return Mi;throw jn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,pe){x===this._obj&&(this._latestValue=pe,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})(),lr=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw jn();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 cr=/(?:[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 Fr=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw jn();return x.replace(cr,pe=>pe[0].toUpperCase()+pe.substr(1).toLowerCase())}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:F,pure:!0}),F})(),bi=(()=>{class F{transform(x){if(null==x)return null;if("string"!=typeof x)throw jn();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 kr=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let Ni=(()=>{class F{constructor(x,pe){this.locale=x,this.defaultTimezone=pe}transform(x,pe="mediumDate",Ve,ct){var gt;if(null==x||""===x||x!=x)return null;try{return vt(x,pe,ct||this.locale,null!==(gt=null!=Ve?Ve:this.defaultTimezone)&&void 0!==gt?gt:void 0)}catch(Lt){throw jn()}}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(kr,24))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:F,pure:!0}),F})();const Nr=/#/g;let Li=(()=>{class F{constructor(x){this._localization=x}transform(x,pe,Ve){if(null==x)return"";if("object"!=typeof pe||null===pe)throw jn();return pe[Ot(x,Object.keys(pe),this._localization,Ve)].replace(Nr,x.toString())}}return F.\u0275fac=function(x){return new(x||F)(n.\u0275\u0275directiveInject(at,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:F,pure:!0}),F})(),Yi=(()=>{class F{transform(x,pe){if(null==x)return"";if("object"!=typeof pe||"string"!=typeof x)throw jn();return pe.hasOwnProperty(x)?pe[x]:pe.hasOwnProperty("other")?pe.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})(),Tr=(()=>{class F{constructor(x){this.differs=x,this.keyValues=[],this.compareFn=ur}transform(x,pe=ur){if(!x||!(x instanceof Map)&&"object"!=typeof x)return null;this.differ||(this.differ=this.differs.find(x).create());const Ve=this.differ.diff(x),ct=pe!==this.compareFn;return Ve&&(this.keyValues=[],Ve.forEachItem(gt=>{this.keyValues.push(function Ci(F,se){return{key:F,value:se}}(gt.key,gt.currentValue))})),(Ve||ct)&&(this.keyValues.sort(pe),this.compareFn=pe),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 ur(F,se){const x=F.key,pe=se.key;if(x===pe)return 0;if(void 0===x)return 1;if(void 0===pe)return-1;if(null===x)return 1;if(null===pe)return-1;if("string"==typeof x&&"string"==typeof pe)return x<pe?-1:1;if("number"==typeof x&&"number"==typeof pe)return x-pe;if("boolean"==typeof x&&"boolean"==typeof pe)return x<pe?-1:1;const Ve=String(x),ct=String(pe);return Ve==ct?0:Ve<ct?-1:1}let Dr=(()=>{class F{constructor(x){this._locale=x}transform(x,pe,Ve){if(!Ei(x))return null;Ve=Ve||this._locale;try{return Yt(Oi(x),Ve,pe)}catch(ct){throw jn()}}}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,pe,Ve){if(!Ei(x))return null;Ve=Ve||this._locale;try{return At(Oi(x),Ve,pe)}catch(ct){throw jn()}}}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,pe="USD"){this._locale=x,this._defaultCurrencyCode=pe}transform(x,pe=this._defaultCurrencyCode,Ve="symbol",ct,gt){if(!Ei(x))return null;gt=gt||this._locale,"boolean"==typeof Ve&&(Ve=Ve?"symbol":"code");let Lt=pe||this._defaultCurrencyCode;"code"!==Ve&&(Lt="symbol"===Ve||"symbol-narrow"===Ve?ot(Lt,"symbol"===Ve?"wide":"narrow",gt):Ve);try{return Rn(Oi(x),gt,Lt,pe,ct)}catch(bn){throw jn()}}}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 Ei(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 dr=(()=>{class F{transform(x,pe,Ve){if(null==x)return null;if(!this.supports(x))throw jn();return x.slice(pe,Ve)}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 Ti="browser",Zi="server",Bi="browserWorkerApp",Ji="browserWorkerUi";function Pn(F){return F===Ti}function Vi(F){return F===Zi}function Xi(F){return F===Bi}function Bn(F){return F===Ji}const Pi=new n.Version("13.3.11");let ii=(()=>{class F{}return F.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:F,providedIn:"root",factory:()=>new ri((0,n.\u0275\u0275inject)(f),window)}),F})();class ri{constructor(se,x){this.document=se,this.window=x,this.offset=()=>[0,0]}setOffset(se){this.offset=Array.isArray(se)?()=>se:se}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(se){this.supportsScrolling()&&this.window.scrollTo(se[0],se[1])}scrollToAnchor(se){if(!this.supportsScrolling())return;const x=function Jn(F,se){const x=F.getElementById(se)||F.getElementsByName(se)[0];if(x)return x;if("function"==typeof F.createTreeWalker&&F.body&&(F.body.createShadowRoot||F.body.attachShadow)){const pe=F.createTreeWalker(F.body,NodeFilter.SHOW_ELEMENT);let Ve=pe.currentNode;for(;Ve;){const ct=Ve.shadowRoot;if(ct){const gt=ct.getElementById(se)||ct.querySelector(`[name="${se}"]`);if(gt)return gt}Ve=pe.nextNode()}}return null}(this.document,se);x&&(this.scrollToElement(x),x.focus())}setHistoryScrollRestoration(se){if(this.supportScrollRestoration()){const x=this.window.history;x&&x.scrollRestoration&&(x.scrollRestoration=se)}}scrollToElement(se){const x=se.getBoundingClientRect(),pe=x.left+this.window.pageXOffset,Ve=x.top+this.window.pageYOffset,ct=this.offset();this.window.scrollTo(pe-ct[0],Ve-ct[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const se=Gn(this.window.history)||Gn(Object.getPrototypeOf(this.window.history));return!(!se||!se.writable&&!se.set)}catch(se){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(se){return!1}}}function Gn(F){return Object.getOwnPropertyDescriptor(F,"scrollRestoration")}class jr{setOffset(se){}getScrollPosition(){return[0,0]}scrollToPosition(se){}scrollToAnchor(se){}setHistoryScrollRestoration(se){}}class En{}},6529:(W,o,a)=>{"use strict";a.r(o),a.d(o,{HTTP_INTERCEPTORS:()=>it,HttpBackend:()=>_,HttpClient:()=>Xe,HttpClientJsonpModule:()=>Et,HttpClientModule:()=>Tt,HttpClientXsrfModule:()=>ot,HttpContext:()=>q,HttpContextToken:()=>Q,HttpErrorResponse:()=>me,HttpEventType:()=>Y,HttpHandler:()=>u,HttpHeaderResponse:()=>$,HttpHeaders:()=>v,HttpParams:()=>J,HttpRequest:()=>We,HttpResponse:()=>fe,HttpResponseBase:()=>ue,HttpUrlEncodingCodec:()=>b,HttpXhrBackend:()=>ee,HttpXsrfTokenExtractor:()=>Ke,JsonpClientBackend:()=>ht,JsonpInterceptor:()=>ye,XhrFactory:()=>Rt,\u0275HttpInterceptingHandler:()=>ve});var n=a(9808),h=a(5e3),y=a(9646),d=a(8306),r=a(5577),l=a(576),p=a(9300),m=a(4004);class u{}class _{}class v{constructor(we){this.normalizedNames=new Map,this.lazyUpdate=null,we?this.lazyInit="string"==typeof we?()=>{this.headers=new Map,we.split("\n").forEach(Te=>{const Ze=Te.indexOf(":");if(Ze>0){const Pe=Te.slice(0,Ze),vt=Pe.toLowerCase(),Fe=Te.slice(Ze+1).trim();this.maybeSetNormalizedName(Pe,vt),this.headers.has(vt)?this.headers.get(vt).push(Fe):this.headers.set(vt,[Fe])}})}:()=>{this.headers=new Map,Object.keys(we).forEach(Te=>{let Ze=we[Te];const Pe=Te.toLowerCase();"string"==typeof Ze&&(Ze=[Ze]),Ze.length>0&&(this.headers.set(Pe,Ze),this.maybeSetNormalizedName(Te,Pe))})}:this.headers=new Map}has(we){return this.init(),this.headers.has(we.toLowerCase())}get(we){this.init();const Te=this.headers.get(we.toLowerCase());return Te&&Te.length>0?Te[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(we){return this.init(),this.headers.get(we.toLowerCase())||null}append(we,Te){return this.clone({name:we,value:Te,op:"a"})}set(we,Te){return this.clone({name:we,value:Te,op:"s"})}delete(we,Te){return this.clone({name:we,value:Te,op:"d"})}maybeSetNormalizedName(we,Te){this.normalizedNames.has(Te)||this.normalizedNames.set(Te,we)}init(){this.lazyInit&&(this.lazyInit instanceof v?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(we=>this.applyUpdate(we)),this.lazyUpdate=null))}copyFrom(we){we.init(),Array.from(we.headers.keys()).forEach(Te=>{this.headers.set(Te,we.headers.get(Te)),this.normalizedNames.set(Te,we.normalizedNames.get(Te))})}clone(we){const Te=new v;return Te.lazyInit=this.lazyInit&&this.lazyInit instanceof v?this.lazyInit:this,Te.lazyUpdate=(this.lazyUpdate||[]).concat([we]),Te}applyUpdate(we){const Te=we.name.toLowerCase();switch(we.op){case"a":case"s":let Ze=we.value;if("string"==typeof Ze&&(Ze=[Ze]),0===Ze.length)return;this.maybeSetNormalizedName(we.name,Te);const Pe=("a"===we.op?this.headers.get(Te):void 0)||[];Pe.push(...Ze),this.headers.set(Te,Pe);break;case"d":const vt=we.value;if(vt){let Fe=this.headers.get(Te);if(!Fe)return;Fe=Fe.filter(Ue=>-1===vt.indexOf(Ue)),0===Fe.length?(this.headers.delete(Te),this.normalizedNames.delete(Te)):this.headers.set(Te,Fe)}else this.headers.delete(Te),this.normalizedNames.delete(Te)}}forEach(we){this.init(),Array.from(this.normalizedNames.keys()).forEach(Te=>we(this.normalizedNames.get(Te),this.headers.get(Te)))}}class b{encodeKey(we){return I(we)}encodeValue(we){return I(we)}decodeKey(we){return decodeURIComponent(we)}decodeValue(we){return decodeURIComponent(we)}}const S=/%(\d[a-f0-9])/gi,P={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function I($e){return encodeURIComponent($e).replace(S,(we,Te)=>{var Ze;return null!==(Ze=P[Te])&&void 0!==Ze?Ze:we})}function U($e){return`${$e}`}class J{constructor(we={}){if(this.updates=null,this.cloneFrom=null,this.encoder=we.encoder||new b,we.fromString){if(we.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function T($e,we){const Te=new Map;return $e.length>0&&$e.replace(/^\?/,"").split("&").forEach(Pe=>{const vt=Pe.indexOf("="),[Fe,Ue]=-1==vt?[we.decodeKey(Pe),""]:[we.decodeKey(Pe.slice(0,vt)),we.decodeValue(Pe.slice(vt+1))],lt=Te.get(Fe)||[];lt.push(Ue),Te.set(Fe,lt)}),Te}(we.fromString,this.encoder)}else we.fromObject?(this.map=new Map,Object.keys(we.fromObject).forEach(Te=>{const Ze=we.fromObject[Te];this.map.set(Te,Array.isArray(Ze)?Ze:[Ze])})):this.map=null}has(we){return this.init(),this.map.has(we)}get(we){this.init();const Te=this.map.get(we);return Te?Te[0]:null}getAll(we){return this.init(),this.map.get(we)||null}keys(){return this.init(),Array.from(this.map.keys())}append(we,Te){return this.clone({param:we,value:Te,op:"a"})}appendAll(we){const Te=[];return Object.keys(we).forEach(Ze=>{const Pe=we[Ze];Array.isArray(Pe)?Pe.forEach(vt=>{Te.push({param:Ze,value:vt,op:"a"})}):Te.push({param:Ze,value:Pe,op:"a"})}),this.clone(Te)}set(we,Te){return this.clone({param:we,value:Te,op:"s"})}delete(we,Te){return this.clone({param:we,value:Te,op:"d"})}toString(){return this.init(),this.keys().map(we=>{const Te=this.encoder.encodeKey(we);return this.map.get(we).map(Ze=>Te+"="+this.encoder.encodeValue(Ze)).join("&")}).filter(we=>""!==we).join("&")}clone(we){const Te=new J({encoder:this.encoder});return Te.cloneFrom=this.cloneFrom||this,Te.updates=(this.updates||[]).concat(we),Te}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(we=>this.map.set(we,this.cloneFrom.map.get(we))),this.updates.forEach(we=>{switch(we.op){case"a":case"s":const Te=("a"===we.op?this.map.get(we.param):void 0)||[];Te.push(U(we.value)),this.map.set(we.param,Te);break;case"d":if(void 0===we.value){this.map.delete(we.param);break}{let Ze=this.map.get(we.param)||[];const Pe=Ze.indexOf(U(we.value));-1!==Pe&&Ze.splice(Pe,1),Ze.length>0?this.map.set(we.param,Ze):this.map.delete(we.param)}}}),this.cloneFrom=this.updates=null)}}class Q{constructor(we){this.defaultValue=we}}class q{constructor(){this.map=new Map}set(we,Te){return this.map.set(we,Te),this}get(we){return this.map.has(we)||this.map.set(we,we.defaultValue()),this.map.get(we)}delete(we){return this.map.delete(we),this}has(we){return this.map.has(we)}keys(){return this.map.keys()}}function oe($e){return"undefined"!=typeof ArrayBuffer&&$e instanceof ArrayBuffer}function ce($e){return"undefined"!=typeof Blob&&$e instanceof Blob}function ge($e){return"undefined"!=typeof FormData&&$e instanceof FormData}class We{constructor(we,Te,Ze,Pe){let vt;if(this.url=Te,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=we.toUpperCase(),function V($e){switch($e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==Ze?Ze:null,vt=Pe):vt=Ze,vt&&(this.reportProgress=!!vt.reportProgress,this.withCredentials=!!vt.withCredentials,vt.responseType&&(this.responseType=vt.responseType),vt.headers&&(this.headers=vt.headers),vt.context&&(this.context=vt.context),vt.params&&(this.params=vt.params)),this.headers||(this.headers=new v),this.context||(this.context=new q),this.params){const Fe=this.params.toString();if(0===Fe.length)this.urlWithParams=Te;else{const Ue=Te.indexOf("?");this.urlWithParams=Te+(-1===Ue?"?":Ue<Te.length-1?"&":"")+Fe}}else this.params=new J,this.urlWithParams=Te}serializeBody(){return null===this.body?null:oe(this.body)||ce(this.body)||ge(this.body)||function De($e){return"undefined"!=typeof URLSearchParams&&$e 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||ge(this.body)?null:ce(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(we={}){var Te;const Ze=we.method||this.method,Pe=we.url||this.url,vt=we.responseType||this.responseType,Fe=void 0!==we.body?we.body:this.body,Ue=void 0!==we.withCredentials?we.withCredentials:this.withCredentials,lt=void 0!==we.reportProgress?we.reportProgress:this.reportProgress;let yt=we.headers||this.headers,Vt=we.params||this.params;const Dt=null!==(Te=we.context)&&void 0!==Te?Te:this.context;return void 0!==we.setHeaders&&(yt=Object.keys(we.setHeaders).reduce((Kt,St)=>Kt.set(St,we.setHeaders[St]),yt)),we.setParams&&(Vt=Object.keys(we.setParams).reduce((Kt,St)=>Kt.set(St,we.setParams[St]),Vt)),new We(Ze,Pe,Fe,{params:Vt,headers:yt,context:Dt,reportProgress:lt,responseType:vt,withCredentials:Ue})}}var Y=(()=>((Y=Y||{})[Y.Sent=0]="Sent",Y[Y.UploadProgress=1]="UploadProgress",Y[Y.ResponseHeader=2]="ResponseHeader",Y[Y.DownloadProgress=3]="DownloadProgress",Y[Y.Response=4]="Response",Y[Y.User=5]="User",Y))();class ue{constructor(we,Te=200,Ze="OK"){this.headers=we.headers||new v,this.status=void 0!==we.status?we.status:Te,this.statusText=we.statusText||Ze,this.url=we.url||null,this.ok=this.status>=200&&this.status<300}}class $ extends ue{constructor(we={}){super(we),this.type=Y.ResponseHeader}clone(we={}){return new $({headers:we.headers||this.headers,status:void 0!==we.status?we.status:this.status,statusText:we.statusText||this.statusText,url:we.url||this.url||void 0})}}class fe extends ue{constructor(we={}){super(we),this.type=Y.Response,this.body=void 0!==we.body?we.body:null}clone(we={}){return new fe({body:void 0!==we.body?we.body:this.body,headers:we.headers||this.headers,status:void 0!==we.status?we.status:this.status,statusText:we.statusText||this.statusText,url:we.url||this.url||void 0})}}class me extends ue{constructor(we){super(we,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${we.url||"(unknown url)"}`:`Http failure response for ${we.url||"(unknown url)"}: ${we.status} ${we.statusText}`,this.error=we.error||null}}function _e($e,we){return{body:we,headers:$e.headers,context:$e.context,observe:$e.observe,params:$e.params,reportProgress:$e.reportProgress,responseType:$e.responseType,withCredentials:$e.withCredentials}}let Xe=(()=>{class $e{constructor(Te){this.handler=Te}request(Te,Ze,Pe={}){let vt;if(Te instanceof We)vt=Te;else{let lt,yt;lt=Pe.headers instanceof v?Pe.headers:new v(Pe.headers),Pe.params&&(yt=Pe.params instanceof J?Pe.params:new J({fromObject:Pe.params})),vt=new We(Te,Ze,void 0!==Pe.body?Pe.body:null,{headers:lt,context:Pe.context,params:yt,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials})}const Fe=(0,y.of)(vt).pipe(function f($e,we){return(0,l.m)(we)?(0,r.z)($e,we,1):(0,r.z)($e,1)}(lt=>this.handler.handle(lt)));if(Te instanceof We||"events"===Pe.observe)return Fe;const Ue=Fe.pipe((0,p.h)(lt=>lt instanceof fe));switch(Pe.observe||"body"){case"body":switch(vt.responseType){case"arraybuffer":return Ue.pipe((0,m.U)(lt=>{if(null!==lt.body&&!(lt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return lt.body}));case"blob":return Ue.pipe((0,m.U)(lt=>{if(null!==lt.body&&!(lt.body instanceof Blob))throw new Error("Response is not a Blob.");return lt.body}));case"text":return Ue.pipe((0,m.U)(lt=>{if(null!==lt.body&&"string"!=typeof lt.body)throw new Error("Response is not a string.");return lt.body}));default:return Ue.pipe((0,m.U)(lt=>lt.body))}case"response":return Ue;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(Te,Ze={}){return this.request("DELETE",Te,Ze)}get(Te,Ze={}){return this.request("GET",Te,Ze)}head(Te,Ze={}){return this.request("HEAD",Te,Ze)}jsonp(Te,Ze){return this.request("JSONP",Te,{params:(new J).append(Ze,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Te,Ze={}){return this.request("OPTIONS",Te,Ze)}patch(Te,Ze,Pe={}){return this.request("PATCH",Te,_e(Pe,Ze))}post(Te,Ze,Pe={}){return this.request("POST",Te,_e(Pe,Ze))}put(Te,Ze,Pe={}){return this.request("PUT",Te,_e(Pe,Ze))}}return $e.\u0275fac=function(Te){return new(Te||$e)(h.\u0275\u0275inject(u))},$e.\u0275prov=h.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})();class dt{constructor(we,Te){this.next=we,this.interceptor=Te}handle(we){return this.interceptor.intercept(we,this.next)}}const it=new h.InjectionToken("HTTP_INTERCEPTORS");let ut,st=(()=>{class $e{intercept(Te,Ze){return Ze.handle(Te)}}return $e.\u0275fac=function(Te){return new(Te||$e)},$e.\u0275prov=h.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})(),Ye=0;class Qe{}let ht=(()=>{class $e{constructor(Te,Ze){this.callbackMap=Te,this.document=Ze,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ye++}handle(Te){if("JSONP"!==Te.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Te.responseType)throw new Error("JSONP requests must use Json response type.");return new d.y(Ze=>{const Pe=this.nextCallback(),vt=Te.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Pe}$1`),Fe=this.document.createElement("script");Fe.src=vt;let Ue=null,lt=!1;this.callbackMap[Pe]=Kt=>{delete this.callbackMap[Pe],Ue=Kt,lt=!0};const yt=()=>{Fe.parentNode&&Fe.parentNode.removeChild(Fe),delete this.callbackMap[Pe]};return Fe.addEventListener("load",Kt=>{this.resolvedPromise.then(()=>{yt(),lt?(Ze.next(new fe({body:Ue,status:200,statusText:"OK",url:vt})),Ze.complete()):Ze.error(new me({url:vt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Fe.addEventListener("error",Kt=>{yt(),Ze.error(new me({error:Kt,status:0,statusText:"JSONP Error",url:vt}))}),this.document.body.appendChild(Fe),Ze.next({type:Y.Sent}),()=>{lt||this.removeListeners(Fe),yt()}})}removeListeners(Te){ut||(ut=this.document.implementation.createHTMLDocument()),ut.adoptNode(Te)}}return $e.\u0275fac=function(Te){return new(Te||$e)(h.\u0275\u0275inject(Qe),h.\u0275\u0275inject(n.DOCUMENT))},$e.\u0275prov=h.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})(),ye=(()=>{class $e{constructor(Te){this.jsonp=Te}intercept(Te,Ze){return"JSONP"===Te.method?this.jsonp.handle(Te):Ze.handle(Te)}}return $e.\u0275fac=function(Te){return new(Te||$e)(h.\u0275\u0275inject(ht))},$e.\u0275prov=h.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})();const Oe=/^\)\]\}',?\n/;let ee=(()=>{class $e{constructor(Te){this.xhrFactory=Te}handle(Te){if("JSONP"===Te.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new d.y(Ze=>{const Pe=this.xhrFactory.build();if(Pe.open(Te.method,Te.urlWithParams),Te.withCredentials&&(Pe.withCredentials=!0),Te.headers.forEach((St,Ht)=>Pe.setRequestHeader(St,Ht.join(","))),Te.headers.has("Accept")||Pe.setRequestHeader("Accept","application/json, text/plain, */*"),!Te.headers.has("Content-Type")){const St=Te.detectContentTypeHeader();null!==St&&Pe.setRequestHeader("Content-Type",St)}if(Te.responseType){const St=Te.responseType.toLowerCase();Pe.responseType="json"!==St?St:"text"}const vt=Te.serializeBody();let Fe=null;const Ue=()=>{if(null!==Fe)return Fe;const St=Pe.statusText||"OK",Ht=new v(Pe.getAllResponseHeaders()),he=function L($e){return"responseURL"in $e&&$e.responseURL?$e.responseURL:/^X-Request-URL:/m.test($e.getAllResponseHeaders())?$e.getResponseHeader("X-Request-URL"):null}(Pe)||Te.url;return Fe=new $({headers:Ht,status:Pe.status,statusText:St,url:he}),Fe},lt=()=>{let{headers:St,status:Ht,statusText:he,url:ne}=Ue(),k=null;204!==Ht&&(k=void 0===Pe.response?Pe.responseText:Pe.response),0===Ht&&(Ht=k?200:0);let z=Ht>=200&&Ht<300;if("json"===Te.responseType&&"string"==typeof k){const Ce=k;k=k.replace(Oe,"");try{k=""!==k?JSON.parse(k):null}catch(ie){k=Ce,z&&(z=!1,k={error:ie,text:k})}}z?(Ze.next(new fe({body:k,headers:St,status:Ht,statusText:he,url:ne||void 0})),Ze.complete()):Ze.error(new me({error:k,headers:St,status:Ht,statusText:he,url:ne||void 0}))},yt=St=>{const{url:Ht}=Ue(),he=new me({error:St,status:Pe.status||0,statusText:Pe.statusText||"Unknown Error",url:Ht||void 0});Ze.error(he)};let Vt=!1;const Dt=St=>{Vt||(Ze.next(Ue()),Vt=!0);let Ht={type:Y.DownloadProgress,loaded:St.loaded};St.lengthComputable&&(Ht.total=St.total),"text"===Te.responseType&&!!Pe.responseText&&(Ht.partialText=Pe.responseText),Ze.next(Ht)},Kt=St=>{let Ht={type:Y.UploadProgress,loaded:St.loaded};St.lengthComputable&&(Ht.total=St.total),Ze.next(Ht)};return Pe.addEventListener("load",lt),Pe.addEventListener("error",yt),Pe.addEventListener("timeout",yt),Pe.addEventListener("abort",yt),Te.reportProgress&&(Pe.addEventListener("progress",Dt),null!==vt&&Pe.upload&&Pe.upload.addEventListener("progress",Kt)),Pe.send(vt),Ze.next({type:Y.Sent}),()=>{Pe.removeEventListener("error",yt),Pe.removeEventListener("abort",yt),Pe.removeEventListener("load",lt),Pe.removeEventListener("timeout",yt),Te.reportProgress&&(Pe.removeEventListener("progress",Dt),null!==vt&&Pe.upload&&Pe.upload.removeEventListener("progress",Kt)),Pe.readyState!==Pe.DONE&&Pe.abort()}})}}return $e.\u0275fac=function(Te){return new(Te||$e)(h.\u0275\u0275inject(n.XhrFactory))},$e.\u0275prov=h.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})();const Me=new h.InjectionToken("XSRF_COOKIE_NAME"),Ge=new h.InjectionToken("XSRF_HEADER_NAME");class Ke{}let xe=(()=>{class $e{constructor(Te,Ze,Pe){this.doc=Te,this.platform=Ze,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Te=this.doc.cookie||"";return Te!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(Te,this.cookieName),this.lastCookieString=Te),this.lastToken}}return $e.\u0275fac=function(Te){return new(Te||$e)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(h.PLATFORM_ID),h.\u0275\u0275inject(Me))},$e.\u0275prov=h.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})(),j=(()=>{class $e{constructor(Te,Ze){this.tokenService=Te,this.headerName=Ze}intercept(Te,Ze){const Pe=Te.url.toLowerCase();if("GET"===Te.method||"HEAD"===Te.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return Ze.handle(Te);const vt=this.tokenService.getToken();return null!==vt&&!Te.headers.has(this.headerName)&&(Te=Te.clone({headers:Te.headers.set(this.headerName,vt)})),Ze.handle(Te)}}return $e.\u0275fac=function(Te){return new(Te||$e)(h.\u0275\u0275inject(Ke),h.\u0275\u0275inject(Ge))},$e.\u0275prov=h.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})(),ve=(()=>{class $e{constructor(Te,Ze){this.backend=Te,this.injector=Ze,this.chain=null}handle(Te){if(null===this.chain){const Ze=this.injector.get(it,[]);this.chain=Ze.reduceRight((Pe,vt)=>new dt(Pe,vt),this.backend)}return this.chain.handle(Te)}}return $e.\u0275fac=function(Te){return new(Te||$e)(h.\u0275\u0275inject(_),h.\u0275\u0275inject(h.Injector))},$e.\u0275prov=h.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})();function tt(){return"object"==typeof window?window:{}}let ot=(()=>{class $e{static disable(){return{ngModule:$e,providers:[{provide:j,useClass:st}]}}static withOptions(Te={}){return{ngModule:$e,providers:[Te.cookieName?{provide:Me,useValue:Te.cookieName}:[],Te.headerName?{provide:Ge,useValue:Te.headerName}:[]]}}}return $e.\u0275fac=function(Te){return new(Te||$e)},$e.\u0275mod=h.\u0275\u0275defineNgModule({type:$e}),$e.\u0275inj=h.\u0275\u0275defineInjector({providers:[j,{provide:it,useExisting:j,multi:!0},{provide:Ke,useClass:xe},{provide:Me,useValue:"XSRF-TOKEN"},{provide:Ge,useValue:"X-XSRF-TOKEN"}]}),$e})(),Tt=(()=>{class $e{}return $e.\u0275fac=function(Te){return new(Te||$e)},$e.\u0275mod=h.\u0275\u0275defineNgModule({type:$e}),$e.\u0275inj=h.\u0275\u0275defineInjector({providers:[Xe,{provide:u,useClass:ve},ee,{provide:_,useExisting:ee}],imports:[[ot.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),$e})(),Et=(()=>{class $e{}return $e.\u0275fac=function(Te){return new(Te||$e)},$e.\u0275mod=h.\u0275\u0275defineNgModule({type:$e}),$e.\u0275inj=h.\u0275\u0275defineInjector({providers:[ht,{provide:Qe,useFactory:tt},{provide:it,useClass:ye,multi:!0}]}),$e})();const Rt=n.XhrFactory},5e3:(W,o,a)=>{"use strict";a.r(o),a.d(o,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>iv,APP_BOOTSTRAP_LISTENER:()=>_g,APP_ID:()=>gg,APP_INITIALIZER:()=>mg,ApplicationInitStatus:()=>Cu,ApplicationModule:()=>PE,ApplicationRef:()=>Pu,Attribute:()=>od,COMPILER_OPTIONS:()=>Cg,CUSTOM_ELEMENTS_SCHEMA:()=>Hd,ChangeDetectionStrategy:()=>Rt,ChangeDetectorRef:()=>jg,Compiler:()=>KC,CompilerFactory:()=>QC,Component:()=>RC,ComponentFactory:()=>Ca,ComponentFactoryResolver:()=>Ea,ComponentRef:()=>em,ContentChild:()=>ov,ContentChildren:()=>rv,DEFAULT_CURRENCY_CODE:()=>zC,DebugElement:()=>Ps,DebugEventListener:()=>pE,DebugNode:()=>Ru,DefaultIterableDiffer:()=>zg,Directive:()=>pg,ElementRef:()=>Ds,EmbeddedViewRef:()=>hE,ErrorHandler:()=>Zs,EventEmitter:()=>br,Host:()=>hd,HostBinding:()=>NC,HostListener:()=>LC,INJECTOR:()=>sa,Inject:()=>zs,InjectFlags:()=>j,Injectable:()=>rb,InjectionToken:()=>Un,Injector:()=>nr,Input:()=>FC,IterableDiffers:()=>Lu,KeyValueDiffers:()=>ju,LOCALE_ID:()=>Tu,MissingTranslationStrategy:()=>Cr,ModuleWithComponentFactories:()=>bg,NO_ERRORS_SCHEMA:()=>Ud,NgModule:()=>jC,NgModuleFactory:()=>um,NgModuleRef:()=>Uo,NgProbeToken:()=>nE,NgZone:()=>sr,Optional:()=>is,Output:()=>kC,PACKAGE_ROOT_URL:()=>$C,PLATFORM_ID:()=>VC,PLATFORM_INITIALIZER:()=>yg,Pipe:()=>xC,PlatformRef:()=>Iu,Query:()=>Xo,QueryList:()=>Sa,ReflectiveInjector:()=>Lo,ReflectiveKey:()=>Rr,Renderer2:()=>Q0,RendererFactory2:()=>nm,RendererStyleFlags2:()=>gr,ResolvedReflectiveFactory:()=>Rh,Sanitizer:()=>im,SecurityContext:()=>Kn,Self:()=>Ws,SimpleChange:()=>ji,SkipSelf:()=>go,TRANSLATIONS:()=>WC,TRANSLATIONS_FORMAT:()=>GC,TemplateRef:()=>Ss,Testability:()=>wg,TestabilityRegistry:()=>Mg,Type:()=>Vs,VERSION:()=>om,Version:()=>rm,ViewChild:()=>av,ViewChildren:()=>sv,ViewContainerRef:()=>Ia,ViewEncapsulation:()=>Te,ViewRef:()=>Vg,asNativeElements:()=>mE,assertPlatform:()=>Rg,createNgModuleRef:()=>tC,createPlatform:()=>Pg,createPlatformFactory:()=>Ag,defineInjectable:()=>ke,destroyPlatform:()=>rE,enableProdMode:()=>cE,forwardRef:()=>_,getDebugNode:()=>Go,getModuleFactory:()=>uE,getNgModuleById:()=>dE,getPlatform:()=>Ra,inject:()=>fd,isDevMode:()=>lE,platformCore:()=>IE,resolveForwardRef:()=>v,setTestabilityGetter:()=>tE,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Ou,\u0275APP_ID_RANDOM_PROVIDER:()=>BC,\u0275ChangeDetectorStatus:()=>$e,\u0275ComponentFactory:()=>Ca,\u0275Console:()=>HC,\u0275DEFAULT_LOCALE_ID:()=>_s,\u0275INJECTOR_SCOPE:()=>$l,\u0275LifecycleHooksFeature:()=>yh,\u0275LocaleDataIndex:()=>Qt,\u0275NG_COMP_DEF:()=>Kt,\u0275NG_DIR_DEF:()=>St,\u0275NG_ELEMENT_ID:()=>k,\u0275NG_INJ_DEF:()=>Ge,\u0275NG_MOD_DEF:()=>he,\u0275NG_PIPE_DEF:()=>Ht,\u0275NG_PROV_DEF:()=>Me,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Ta,\u0275NO_CHANGE:()=>en,\u0275NgModuleFactory:()=>Ma,\u0275NoopNgZone:()=>Dg,\u0275ReflectionCapabilities:()=>Ua,\u0275Render3ComponentFactory:()=>wa,\u0275Render3ComponentRef:()=>lm,\u0275Render3NgModuleRef:()=>su,\u0275RuntimeError:()=>S,\u0275ViewRef:()=>Ho,\u0275_sanitizeHtml:()=>Pd,\u0275_sanitizeUrl:()=>os,\u0275allowSanitizationBypassAndThrow:()=>_o,\u0275bypassSanitizationTrustHtml:()=>Nv,\u0275bypassSanitizationTrustResourceUrl:()=>Vv,\u0275bypassSanitizationTrustScript:()=>jv,\u0275bypassSanitizationTrustStyle:()=>Lv,\u0275bypassSanitizationTrustUrl:()=>Bv,\u0275clearResolutionOfComponentResourcesQueue:()=>yd,\u0275compileComponent:()=>ng,\u0275compileDirective:()=>bu,\u0275compileNgModule:()=>Zm,\u0275compileNgModuleDefs:()=>Jm,\u0275compileNgModuleFactory:()=>Og,\u0275compilePipe:()=>fg,\u0275createInjector:()=>Ul,\u0275defaultIterableDiffers:()=>SE,\u0275defaultKeyValueDiffers:()=>OE,\u0275detectChanges:()=>eh,\u0275devModeEqual:()=>Ch,\u0275findLocaleData:()=>Zc,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Qm,\u0275getDebugNode:()=>Go,\u0275getDebugNodeR2:()=>_E,\u0275getDirectives:()=>dh,\u0275getHostElement:()=>Gl,\u0275getInjectableDef:()=>ht,\u0275getLContext:()=>di,\u0275getLocaleCurrencyCode:()=>Kb,\u0275getLocalePluralCase:()=>Dp,\u0275getSanitizationBypassType:()=>Ed,\u0275global:()=>Ue,\u0275injectChangeDetectorRef:()=>Bg,\u0275isBoundToModule:()=>Ig,\u0275isDefaultChangeDetectionStrategy:()=>we,\u0275isListLikeIterable:()=>ps,\u0275isObservable:()=>Bh,\u0275isPromise:()=>pc,\u0275isSubscribable:()=>jh,\u0275ivyEnabled:()=>AE,\u0275makeDecorator:()=>ho,\u0275markDirty:()=>th,\u0275noSideEffects:()=>Et,\u0275patchComponentDefWithScope:()=>vu,\u0275publishDefaultGlobalUtils:()=>$_,\u0275publishGlobalUtil:()=>Gi,\u0275registerLocaleData:()=>Gb,\u0275registerNgModuleType:()=>fm,\u0275renderComponent:()=>H_,\u0275resetCompiledComponents:()=>EC,\u0275resetJitOptions:()=>bC,\u0275resolveComponentResources:()=>gd,\u0275setClassMetadata:()=>cm,\u0275setCurrentInjector:()=>Ga,\u0275setDocument:()=>Gn,\u0275setLocaleId:()=>Sp,\u0275store:()=>Th,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>Is,\u0275unregisterLocaleData:()=>Qb,\u0275unwrapSafeValue:()=>Ir,\u0275whenRendered:()=>U_,\u0275\u0275CopyDefinitionFeature:()=>bh,\u0275\u0275FactoryTarget:()=>ei,\u0275\u0275InheritDefinitionFeature:()=>Ql,\u0275\u0275NgOnChangesFeature:()=>Ei,\u0275\u0275ProvidersFeature:()=>qp,\u0275\u0275advance:()=>Cf,\u0275\u0275attribute:()=>Jl,\u0275\u0275attributeInterpolate1:()=>Xl,\u0275\u0275attributeInterpolate2:()=>ql,\u0275\u0275attributeInterpolate3:()=>ec,\u0275\u0275attributeInterpolate4:()=>tc,\u0275\u0275attributeInterpolate5:()=>nc,\u0275\u0275attributeInterpolate6:()=>ic,\u0275\u0275attributeInterpolate7:()=>rc,\u0275\u0275attributeInterpolate8:()=>oc,\u0275\u0275attributeInterpolateV:()=>sc,\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:()=>Oc,\u0275\u0275contentQuery:()=>Hm,\u0275\u0275defineComponent:()=>Ce,\u0275\u0275defineDirective:()=>re,\u0275\u0275defineInjectable:()=>qe,\u0275\u0275defineInjector:()=>Qe,\u0275\u0275defineNgModule:()=>_t,\u0275\u0275definePipe:()=>K,\u0275\u0275directiveInject:()=>vs,\u0275\u0275disableBindings:()=>Wr,\u0275\u0275element:()=>fc,\u0275\u0275elementContainer:()=>hc,\u0275\u0275elementContainerEnd:()=>ha,\u0275\u0275elementContainerStart:()=>fa,\u0275\u0275elementEnd:()=>da,\u0275\u0275elementStart:()=>ua,\u0275\u0275enableBindings:()=>Mr,\u0275\u0275getCurrentView:()=>Lh,\u0275\u0275getInheritedFactory:()=>rd,\u0275\u0275hostProperty:()=>Qc,\u0275\u0275i18n:()=>Qp,\u0275\u0275i18nApply:()=>Zp,\u0275\u0275i18nAttributes:()=>Yp,\u0275\u0275i18nEnd:()=>eu,\u0275\u0275i18nExp:()=>tu,\u0275\u0275i18nPostprocess:()=>Jp,\u0275\u0275i18nStart:()=>qc,\u0275\u0275inject:()=>li,\u0275\u0275injectAttribute:()=>Va,\u0275\u0275invalidFactory:()=>Nh,\u0275\u0275invalidFactoryDep:()=>Ka,\u0275\u0275listener:()=>mc,\u0275\u0275loadQuery:()=>Um,\u0275\u0275namespaceHTML:()=>Ui,\u0275\u0275namespaceMathML:()=>Hi,\u0275\u0275namespaceSVG:()=>$i,\u0275\u0275nextContext:()=>Hh,\u0275\u0275ngDeclareClassMetadata:()=>xE,\u0275\u0275ngDeclareComponent:()=>FE,\u0275\u0275ngDeclareDirective:()=>RE,\u0275\u0275ngDeclareFactory:()=>kE,\u0275\u0275ngDeclareInjectable:()=>LE,\u0275\u0275ngDeclareInjector:()=>jE,\u0275\u0275ngDeclareNgModule:()=>BE,\u0275\u0275ngDeclarePipe:()=>VE,\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:()=>uc,\u0275\u0275propertyInterpolate:()=>yc,\u0275\u0275propertyInterpolate1:()=>pa,\u0275\u0275propertyInterpolate2:()=>_c,\u0275\u0275propertyInterpolate3:()=>bc,\u0275\u0275propertyInterpolate4:()=>Cc,\u0275\u0275propertyInterpolate5:()=>Ec,\u0275\u0275propertyInterpolate6:()=>Tc,\u0275\u0275propertyInterpolate7:()=>Dc,\u0275\u0275propertyInterpolate8:()=>wc,\u0275\u0275propertyInterpolateV:()=>Mc,\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:()=>il,\u0275\u0275sanitizeScript:()=>xd,\u0275\u0275sanitizeStyle:()=>Rd,\u0275\u0275sanitizeUrl:()=>nl,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Nd,\u0275\u0275setComponentScope:()=>ie,\u0275\u0275setNgModuleScope:()=>de,\u0275\u0275styleMap:()=>ir,\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:()=>Sc,\u0275\u0275stylePropInterpolate1:()=>Bc,\u0275\u0275stylePropInterpolate2:()=>Vc,\u0275\u0275stylePropInterpolate3:()=>$c,\u0275\u0275stylePropInterpolate4:()=>Hc,\u0275\u0275stylePropInterpolate5:()=>Uc,\u0275\u0275stylePropInterpolate6:()=>zc,\u0275\u0275stylePropInterpolate7:()=>Wc,\u0275\u0275stylePropInterpolate8:()=>Gc,\u0275\u0275stylePropInterpolateV:()=>Kc,\u0275\u0275syntheticHostListener:()=>gc,\u0275\u0275syntheticHostProperty:()=>Yc,\u0275\u0275template:()=>Eh,\u0275\u0275templateRefExtractor:()=>Km,\u0275\u0275text:()=>op,\u0275\u0275textInterpolate:()=>Pc,\u0275\u0275textInterpolate1:()=>ga,\u0275\u0275textInterpolate2:()=>Ac,\u0275\u0275textInterpolate3:()=>Rc,\u0275\u0275textInterpolate4:()=>xc,\u0275\u0275textInterpolate5:()=>Fc,\u0275\u0275textInterpolate6:()=>kc,\u0275\u0275textInterpolate7:()=>Nc,\u0275\u0275textInterpolate8:()=>Lc,\u0275\u0275textInterpolateV:()=>jc,\u0275\u0275trustConstantHtml:()=>Fd,\u0275\u0275trustConstantResourceUrl:()=>kd,\u0275\u0275viewQuery:()=>$m});var n=a(7579),h=a(727),y=a(8306),d=a(6451),r=a(3099);function l(e){for(let t in e)if(e[t]===l)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=l({__forward_ref__:l});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 U(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():I(e)}function V(e,t){const i=t?` in ${t}`:"";throw new S(-201,`No provider for ${U(e)} found${i}`)}function st(e,t,i,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${i} ${s} ${t} <=Actual]`))}function qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ke=qe;function Qe(e){return{providers:e.providers||[],imports:e.imports||[]}}function ht(e){return ye(e,Me)||ye(e,Ke)}function ye(e,t){return e.hasOwnProperty(t)?e[t]:null}function ee(e){return e&&(e.hasOwnProperty(Ge)||e.hasOwnProperty(xe))?e[Ge]:null}const Me=l({\u0275prov:l}),Ge=l({\u0275inj:l}),Ke=l({ngInjectableDef:l}),xe=l({ngInjectorDef:l});var j=(()=>((j=j||{})[j.Default=0]="Default",j[j.Host=1]="Host",j[j.Self=2]="Self",j[j.SkipSelf=4]="SkipSelf",j[j.Optional=8]="Optional",j))();let ve;function tt(e){const t=ve;return ve=e,t}function ot(e,t,i){const s=ht(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:i&j.Optional?null:void 0!==t?t:void V(p(e),"Injector")}function Et(e){return{toString:e}.toString()}var Rt=(()=>((Rt=Rt||{})[Rt.OnPush=0]="OnPush",Rt[Rt.Default=1]="Default",Rt))(),$e=(()=>(($e=$e||{})[$e.CheckOnce=0]="CheckOnce",$e[$e.Checked=1]="Checked",$e[$e.CheckAlways=2]="CheckAlways",$e[$e.Detached=3]="Detached",$e[$e.Errored=4]="Errored",$e[$e.Destroyed=5]="Destroyed",$e))();function we(e){return null==e||e===Rt.Default}var Te=(()=>{return(e=Te||(Te={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Te;var e})();const Ze="undefined"!=typeof globalThis&&globalThis,Pe="undefined"!=typeof window&&window,vt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ue=Ze||"undefined"!=typeof global&&global||Pe||vt,Vt={},Dt=[],Kt=l({\u0275cmp:l}),St=l({\u0275dir:l}),Ht=l({\u0275pipe:l}),he=l({\u0275mod:l}),ne=l({\u0275fac:l}),k=l({__NG_ELEMENT_ID__:l});let z=0;function Ce(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===Rt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Dt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Te.Emulated,id:"c",styles:e.styles||Dt,_:null,setInput:null,schemas:e.schemas||null,tView:null},c=e.directives,g=e.features,C=e.pipes;return s.id+=z++,s.inputs=B(e.inputs,i),s.outputs=B(e.outputs),g&&g.forEach(w=>w(s)),s.directiveDefs=c?()=>("function"==typeof c?c():c).map(ze):null,s.pipeDefs=C?()=>("function"==typeof C?C():C).map(wt):null,s})}function ie(e,t,i){const s=e.\u0275cmp;s.directiveDefs=()=>t.map(ze),s.pipeDefs=()=>i.map(wt)}function ze(e){return Ie(e)||rt(e)}function wt(e){return Mt(e)}const He={};function _t(e){return Et(()=>{const t={type:e.type,bootstrap:e.bootstrap||Dt,declarations:e.declarations||Dt,imports:e.imports||Dt,exports:e.exports||Dt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(He[e.id]=e.type),t})}function de(e,t){return Et(()=>{const i=kt(e,!0);i.declarations=t.declarations||Dt,i.imports=t.imports||Dt,i.exports=t.exports||Dt})}function B(e,t){if(null==e)return Vt;const i={};for(const s in e)if(e.hasOwnProperty(s)){let c=e[s],g=c;Array.isArray(c)&&(g=c[1],c=c[0]),i[c]=s,t&&(t[c]=g)}return i}const re=Ce;function K(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ie(e){return e[Kt]||null}function rt(e){return e[St]||null}function Mt(e){return e[Ht]||null}function kt(e,t){const i=e[he]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function wn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ln(e){return Array.isArray(e)&&!0===e[1]}function mi(e){return 0!=(8&e.flags)}function ci(e){return 2==(2&e.flags)}function gi(e){return 1==(1&e.flags)}function Qn(e){return null!==e.template}function ki(e){return 0!=(512&e[2])}function Zn(e,t){return e.hasOwnProperty(ne)?e[ne]:null}class ji{constructor(t,i,s){this.previousValue=t,this.currentValue=i,this.firstChange=s}isFirstChange(){return this.firstChange}}function Ei(){return Oi}function Oi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lr),dr}function dr(){const e=Ti(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Vt)e.previous=t;else for(let s in t)i[s]=t[s];e.current=null,this.ngOnChanges(t)}}function Lr(e,t,i,s){const c=Ti(e)||function Zi(e,t){return e[Ii]=t}(e,{previous:Vt,current:null}),g=c.current||(c.current={}),C=c.previous,w=this.declaredInputs[i],O=C[w];g[w]=new ji(O&&O.currentValue,t,C===Vt),e[s]=t}Ei.ngInherit=!0;const Ii="__ngSimpleChanges__";function Ti(e){return e[Ii]||null}let Bi=null;const Ji=e=>{Bi=e},Pn=function(e,t,i){null!=Bi&&Bi(e,t,i)},Bn="math";let ri;function Gn(e){ri=e}function Jn(){return void 0!==ri?ri:"undefined"!=typeof document?document:void 0}function En(e){return!!e.listen}const F={createRenderer:(e,t)=>Jn()};function x(e){for(;Array.isArray(e);)e=e[0];return e}function ct(e,t){return x(t[e])}function gt(e,t){return x(t[e.index])}function bn(e,t){return e.data[t]}function cn(e,t){return e[t]}function rn(e,t){const i=t[e];return wn(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 N(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:tn(null),bindingsEnabled:!0};function wr(){return M.bindingsEnabled}function Mr(){M.bindingsEnabled=!0}function Wr(){M.bindingsEnabled=!1}function Ct(){return M.lFrame.lView}function un(){return M.lFrame.tView}function Ko(e){return M.lFrame.contextLView=e,e[8]}function Vn(){let e=As();for(;null!==e&&64===e.type;)e=e.parent;return e}function As(){return M.lFrame.currentTNode}function Gr(){const e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ai(e,t){const i=M.lFrame;i.currentTNode=e,i.isParent=t}function Qo(){return M.lFrame.isParent}function Yo(){M.lFrame.isParent=!1}function oi(){const e=M.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qi(){return M.lFrame.bindingIndex}function G(e){return M.lFrame.bindingIndex=e}function E(){return M.lFrame.bindingIndex++}function D(e){const t=M.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Z(e){M.lFrame.inI18n=e}function be(e,t){const i=M.lFrame;i.bindingIndex=i.bindingRootIndex=e,je(t)}function je(e){M.lFrame.currentDirectiveIndex=e}function nt(e){const t=M.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function mt(){return M.lFrame.currentQueryIndex}function Ft(e){M.lFrame.currentQueryIndex=e}function Ut(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function qt(e,t,i){if(i&j.SkipSelf){let c=t,g=e;for(;!(c=c.parent,null!==c||i&j.Host||(c=Ut(g),null===c||(g=g[15],10&c.type))););if(null===c)return!1;t=c,e=g}const s=M.lFrame=Gt();return s.currentTNode=t,s.lView=e,!0}function on(e){const t=Gt(),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 Gt(){const e=M.lFrame,t=null===e?null:e.child;return null===t?tn(e):t}function tn(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 Cn(){const e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const $n=Cn;function kn(){const e=Cn();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 Hn(){return M.lFrame.selectedIndex}function qn(e){M.lFrame.selectedIndex=e}function ln(){const e=M.lFrame;return bn(e.tView,e.selectedIndex)}function $i(){M.lFrame.currentNamespace="svg"}function Hi(){M.lFrame.currentNamespace=Bn}function Ui(){!function Fs(){M.lFrame.currentNamespace=null}()}function Yr(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:H,ngOnDestroy:X}=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),H&&((e.viewHooks||(e.viewHooks=[])).push(i,H),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,H)),null!=X&&(e.destroyHooks||(e.destroyHooks=[])).push(i,X)}}function Zr(e,t,i){Zt(e,t,3,i)}function jt(e,t,i,s){(3&e[2])===i&&Zt(e,t,i,s)}function zt(e,t){let i=e[2];(3&i)===t&&(i&=2047,i+=1,e[2]=i)}function Zt(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)&&(gn(e,i,t,O),e[18]=(4294901760&e[18])+O+2),O++}function gn(e,t,i,s){const c=i[s]<0,g=i[s+1],w=e[c?-i[s]:i[s]];if(c){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 ui{constructor(t,i,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=s}}function zi(e,t,i){const s=En(e);let c=0;for(;c<i.length;){const g=i[c];if("number"==typeof g){if(0!==g)break;c++;const C=i[c++],w=i[c++],O=i[c++];s?e.setAttribute(t,w,O,C):t.setAttributeNS(C,w,O)}else{const C=g,w=i[++c];ka(C)?s&&e.setProperty(t,C,w):s?e.setAttribute(t,C,w):t.setAttribute(C,w),c++}}return c}function oo(e){return 3===e||4===e||6===e}function ka(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 c=t[s];"number"==typeof c?i=c:0===i||Qu(e,i,c,null,-1===i||2===i?t[++s]:null)}}return e}function Qu(e,t,i,s,c){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!==c&&(e[g+1]=c));if(s===e[g+1])return void(e[g+2]=c)}g++,null!==s&&g++,null!==c&&g++}-1!==C&&(e.splice(C,0,t),g=C+1),e.splice(g++,0,i),null!==s&&e.splice(g++,0,s),null!==c&&e.splice(g++,0,c)}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 Na=!0;function Ns(e){const t=Na;return Na=e,t}let Jg=0;function Zo(e,t){const i=ja(e,t);if(-1!==i)return i;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,La(s.data,e),La(t,null),La(s.blueprint,null));const c=Ls(e,t),g=e.injectorIndex;if(Yu(c)){const C=so(c),w=ao(c,t),O=w[1].data;for(let H=0;H<8;H++)t[g+H]=w[C+H]|O[C+H]}return t[g+8]=c,g}function La(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ja(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,c=t;for(;null!==c;){const g=c[1],C=g.type;if(s=2===C?g.declTNode:1===C?c[6]:null,null===s)return-1;if(i++,c=c[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 c=255&s;t.data[e+(c>>5)]|=1<<c}(e,t,i)}function Xu(e,t,i){if(i&j.Optional)return e;V(t,"NodeInjector")}function qu(e,t,i,s){if(i&j.Optional&&void 0===s&&(s=null),0==(i&(j.Self|j.Host))){const c=e[9],g=tt(void 0);try{return c?c.get(t,s,i&j.Optional):ot(t,s,i&j.Optional)}finally{tt(g)}}return Xu(s,t,i)}function ed(e,t,i,s=j.Default,c){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(!qt(t,e,s))return s&j.Host?Xu(c,i,s):qu(t,i,s,c);try{const C=g(s);if(null!=C||s&j.Optional)return C;V(i)}finally{$n()}}else if("number"==typeof g){let C=null,w=ja(e,t),O=-1,H=s&j.Host?t[16][6]:null;for((-1===w||s&j.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 X=t[1];if(nd(g,w,X.data)){const Ee=tv(w,t,i,C,s,H);if(Ee!==td)return Ee}O=t[w+8],-1!==O&&id(s,t[1].data[w+8]===H)&&nd(g,w,t)?(C=X,w=so(O),t=ao(O,t)):w=-1}}}return qu(t,i,s,c)}const td={};function ev(){return new lo(Vn(),Ct())}function tv(e,t,i,s,c,g){const C=t[1],w=C.data[e+8],X=Bs(w,C,i,null==s?ci(w)&&Na:s!=C&&0!=(3&w.type),c&j.Host&&g===w);return null!==X?Jo(t,C,X,w):td}function Bs(e,t,i,s,c){const g=e.providerIndexes,C=t.data,w=1048575&g,O=e.directiveStart,X=g>>20,Be=c?w+X:e.directiveEnd;for(let et=s?w:w+X;et<Be;et++){const pt=C[et];if(et<O&&i===pt||et>=O&&pt.type===i)return et}if(c){const et=C[O];if(et&&Qn(et)&&et.type===i)return O}return null}function Jo(e,t,i,s){let c=e[i];const g=t.data;if(function yi(e){return e instanceof ui}(c)){const C=c;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}`)}(U(g[i]));const w=Ns(C.canSeeViewProviders);C.resolving=!0;const O=C.injectImpl?tt(C.injectImpl):null;qt(e,s,j.Default);try{c=e[i]=C.factory(void 0,g,e,s),t.firstCreatePass&&i>=s.directiveStart&&function Sr(e,t,i){const{ngOnChanges:s,ngOnInit:c,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)}c&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,c),g&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,g),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,g))}(i,g[i],t)}finally{null!==O&&tt(O),Ns(w),C.resolving=!1,$n()}}return c}function nd(e,t,i){return!!(i[t+(e>>5)]&1<<e)}function id(e,t){return!(e&j.Self||e&j.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[ne]||Ba(t),s=Object.prototype;let c=Object.getPrototypeOf(e.prototype).constructor;for(;c&&c!==s;){const g=c[ne]||Ba(c);if(g&&g!==i)return g;c=Object.getPrototypeOf(c)}return g=>new g})}function Ba(e){return b(e)?()=>{const t=Ba(v(e));return t&&t()}:Zn(e)}function Va(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 c=0;for(;c<s;){const g=i[c];if(oo(g))break;if(0===g)c+=2;else if("number"==typeof g)for(c++;c<s&&"string"==typeof i[c];)c++;else{if(g===t)return i[c+1];c+=2}}}return null}(Vn(),e)}const co="__annotations__",uo="__parameters__",fo="__prop__metadata__";function ho(e,t,i,s,c){return Et(()=>{const g=$a(t);function C(...w){if(this instanceof C)return g.call(this,...w),this;const O=new C(...w);return function(X){return c&&c(X,...w),(X.hasOwnProperty(co)?X[co]:Object.defineProperty(X,co,{value:[]})[co]).push(O),s&&s(X),X}}return i&&(C.prototype=Object.create(i.prototype)),C.prototype.ngMetadataName=e,C.annotationCls=C,C})}function $a(e){return function(...i){if(e){const s=e(...i);for(const c in s)this[c]=s[c]}}}function po(e,t,i){return Et(()=>{const s=$a(t);function c(...g){if(this instanceof c)return s.apply(this,g),this;const C=new c(...g);return w.annotation=C,w;function w(O,H,X){const Ee=O.hasOwnProperty(uo)?O[uo]:Object.defineProperty(O,uo,{value:[]})[uo];for(;Ee.length<=X;)Ee.push(null);return(Ee[X]=Ee[X]||[]).push(C),O}}return i&&(c.prototype=Object.create(i.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}function Vr(e,t,i,s){return Et(()=>{const c=$a(t);function g(...C){if(this instanceof g)return c.apply(this,C),this;const w=new g(...C);return function O(H,X){const Ee=H.constructor,Be=Ee.hasOwnProperty(fo)?Ee[fo]:Object.defineProperty(Ee,fo,{value:{}})[fo];Be[X]=Be.hasOwnProperty(X)&&Be[X]||[],Be[X].unshift(w),s&&s(H,X,...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__:()=>Va(e)}));class Un{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=qe({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}toString(){return`InjectionToken ${this._desc}`}}const iv=new Un("AnalyzeForEntryComponents");class Xo{}const rv=Vr("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),Xo),ov=Vr("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Xo),sv=Vr("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),Xo),av=Vr("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Xo);var ei=(()=>((ei=ei||{})[ei.Directive=0]="Directive",ei[ei.Component=1]="Component",ei[ei.Injectable=2]="Injectable",ei[ei.Pipe=3]="Pipe",ei[ei.NgModule=4]="NgModule",ei))();function ti(e){const t=Ue.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Vs=Function;function qo(e){return"function"==typeof e}function Wi(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)),Wi(s,t)):t!==e&&t.push(s)}return t}function hr(e,t){e.forEach(i=>Array.isArray(i)?hr(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 es(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 c=e.length;if(c==t)e.push(i,s);else if(1===c)e.push(s,e[0]),e[0]=i;else{for(c--,e.push(e[c-1],e[c]);c>t;)e[c]=e[c-2],c--;e[t]=i,e[t+1]=s}}(e,s,t,i)),s}function Ha(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,c=e.length>>i;for(;c!==s;){const g=s+(c-s>>1),C=e[g<<i];if(t===C)return g<<i;C>t?c=g:s=g+1}return~(c<<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 Ua{constructor(t){this._reflect=t||Ue.Reflect}isReflectionEnabled(){return!0}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let s;s=es(void 0===t?i.length:t.length);for(let c=0;c<s.length;c++)s[c]=void 0===t?[]:t[c]&&t[c]!=Object?[t[c]]:[],i&&null!=i[c]&&(s[c]=s[c].concat(i[c]));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 c=t.ctorParameters;if(c&&c!==i.ctorParameters){const w="function"==typeof c?c():c,O=w.map(X=>X&&X.type),H=w.map(X=>X&&za(X.decorators));return this._zipTypesAndAnnotations(O,H)}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):es(t.length)}parameters(t){if(!qo(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?za(t.decorators):t.hasOwnProperty(co)?t[co]:null}annotations(t){if(!qo(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,c={};return Object.keys(s).forEach(g=>{c[g]=za(s[g])}),c}return t.hasOwnProperty(fo)?t[fo]:null}propMetadata(t){if(!qo(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 c=this._ownPropMetadata(t,i);return c&&Object.keys(c).forEach(g=>{const C=[];s.hasOwnProperty(g)&&C.push(...s[g]),C.push(...c[g]),s[g]=C}),s}ownPropMetadata(t){return qo(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,c){return c}resolveEnum(t,i){return t[i]}}function za(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 $r={},Wa="__NG_DI_FLAG__",Us="ngTempTokenPath",vv=/\n/gm,dd="__source",_v=l({provide:String,useValue:l});let ts;function Ga(e){const t=ts;return ts=e,t}function bv(e,t=j.Default){if(void 0===ts)throw new S(203,"");return null===ts?ot(e,void 0,t):ts.get(e,t&j.Optional?null:void 0,t)}function li(e,t=j.Default){return(function Re(){return ve}()||bv)(v(e),t)}function Ka(e){throw new Error("invalid")}const fd=li;function Qa(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 c,g=j.Default;for(let C=0;C<s.length;C++){const w=s[C],O=Cv(w);"number"==typeof O?-1===O?c=w.token:g|=O:c=w}t.push(li(c,g))}else t.push(li(s))}return t}function ns(e,t){return e[Wa]=t,e.prototype[Wa]=t,e}function Cv(e){return e[Wa]}const zs=ns(po("Inject",e=>({token:e})),-1),is=ns(po("Optional"),8),Ws=ns(po("Self"),2),go=ns(po("SkipSelf"),4),hd=ns(po("Host"),1);let pd=null;function Ya(){return pd=pd||new Ua}function Gs(e){return md(Ya().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 c=Object.getPrototypeOf(s);if(s instanceof is||"Optional"===c.ngMetadataName)t.optional=!0;else if(s instanceof go||"SkipSelf"===c.ngMetadataName)t.skipSelf=!0;else if(s instanceof Ws||"Self"===c.ngMetadataName)t.self=!0;else if(s instanceof hd||"Host"===c.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(c){let g=i.get(c);if(!g){const C=e(c);i.set(c,g=C.then(Sv))}return g}return vo.forEach((c,g)=>{const C=[];c.templateUrl&&C.push(s(c.templateUrl).then(Ee=>{c.template=Ee}));const w=c.styleUrls,O=c.styles||(c.styles=[]),H=c.styles.length;w&&w.forEach((Ee,Be)=>{O.push(""),C.push(s(Ee).then(et=>{O[H+Be]=et,w.splice(w.indexOf(Ee),1),0==w.length&&(c.styleUrls=void 0)}))});const X=Promise.all(C).then(()=>function Ov(e){rs.delete(e)}(g));t.push(X)}),yd(),Promise.all(t).then(()=>{})}let vo=new Map;const rs=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 Za(){if(void 0===Ks&&(Ks=null,Ue.trustedTypes))try{Ks=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ks}function yo(e){var t;return(null===(t=Za())||void 0===t?void 0:t.createHTML(e))||e}function Ja(){if(void 0===Qs&&(Qs=null,Ue.trustedTypes))try{Qs=Ue.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=Ja())||void 0===t?void 0:t.createHTML(e))||e}function bd(e){var t;return(null===(t=Ja())||void 0===t?void 0:t.createScript(e))||e}function Cd(e){var t;return(null===(t=Ja())||void 0===t?void 0:t.createScriptURL(e))||e}class Jr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Av extends Jr{getTypeName(){return"HTML"}}class Rv extends Jr{getTypeName(){return"Style"}}class xv extends Jr{getTypeName(){return"Script"}}class Fv extends Jr{getTypeName(){return"URL"}}class kv extends Jr{getTypeName(){return"ResourceURL"}}function Ir(e){return e instanceof Jr?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 Jr&&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 c=i.length-1;0<c;c--){const C=i.item(c).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 os(e){return(e=String(e)).match(zv)||e.match(Wv)?e:"unsafe:"+e}function Dd(e){return(e=String(e)).split(",").map(t=>os(t.trim())).join(", ")}function pr(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function ss(...e){const t={};for(const i of e)for(const s in i)i.hasOwnProperty(s)&&(t[s]=!0);return t}const wd=pr("area,br,col,hr,img,wbr"),Md=pr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sd=pr("rp,rt"),Xa=ss(wd,ss(Md,pr("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")),ss(Sd,pr("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")),ss(Sd,Md)),qa=pr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),el=pr("srcset"),Od=ss(qa,el,pr("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"),pr("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=pr("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 c=this.checkClobberedElement(i,i.nextSibling);if(c){i=c;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Xa.hasOwnProperty(i))return this.sanitizedSomething=!0,!Gv.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const s=t.attributes;for(let c=0;c<s.length;c++){const g=s.item(c),C=g.name,w=C.toLowerCase();if(!Od.hasOwnProperty(w)){this.sanitizedSomething=!0;continue}let O=g.value;qa[w]&&(O=os(O)),el[w]&&(O=Dd(O)),this.buf.push(" ",C,'="',Id(O),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();Xa.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,"&amp;").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,"&lt;").replace(/>/g,"&gt;")}let Ys;function Pd(e,t){let i=null;try{Ys=Ys||Td(e);let s=t?String(t):"";i=Ys.getInertBodyElement(s);let c=5,g=s;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,s=g,g=i.innerHTML,i=Ys.getInertBodyElement(s)}while(s!==g);return yo((new Kv).sanitizeChildren(tl(i)||i))}finally{if(i){const s=tl(i)||i;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function tl(e){return"content"in e&&function Zv(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Kn=(()=>((Kn=Kn||{})[Kn.NONE=0]="NONE",Kn[Kn.HTML=1]="HTML",Kn[Kn.STYLE=2]="STYLE",Kn[Kn.SCRIPT=3]="SCRIPT",Kn[Kn.URL=4]="URL",Kn[Kn.RESOURCE_URL=5]="RESOURCE_URL",Kn))();function Ad(e){const t=as();return t?_d(t.sanitize(Kn.HTML,e)||""):_o(e,"HTML")?_d(Ir(e)):Pd(Jn(),I(e))}function Rd(e){const t=as();return t?t.sanitize(Kn.STYLE,e)||"":_o(e,"Style")?Ir(e):I(e)}function nl(e){const t=as();return t?t.sanitize(Kn.URL,e)||"":_o(e,"URL")?Ir(e):os(I(e))}function il(e){const t=as();if(t)return Cd(t.sanitize(Kn.RESOURCE_URL,e)||"");if(_o(e,"ResourceURL"))return Cd(Ir(e));throw new S(904,"")}function xd(e){const t=as();if(t)return bd(t.sanitize(Kn.SCRIPT,e)||"");if(_o(e,"Script"))return bd(Ir(e));throw new S(905,"")}function Fd(e){return yo(e[0])}function kd(e){return function Pv(e){var t;return(null===(t=Za())||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)?il:nl}(t,i)(e)}function as(){const e=Ct();return e&&e[12]}function di(e){let t=ls(e);if(t){if(Array.isArray(t)){const i=t;let s,c,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");c=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 c=i.directiveEnd;for(let g=i.directiveStart;g<c;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=ls(C),O=w&&!Array.isArray(w)?w:rl(i,s,C);if(c&&void 0===O.component&&(O.component=c,fi(O.component,O)),g&&void 0===O.directives){O.directives=g;for(let H=0;H<g.length;H++)fi(g[H],O)}fi(O.native,O),t=O}}else{const i=e;let s=i;for(;s=s.parentNode;){const c=ls(s);if(c){let g;if(g=Array.isArray(c)?c:c.lView,!g)return null;const C=Bd(g,i);if(C>=0){const w=x(g[C]),O=rl(g,C,w);fi(w,O),t=O;break}}}}return t||null}function rl(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=ls(e);if(Array.isArray(t)){const s=Vd(t,e);i=rn(s,t);const c=rl(t,s,i[0]);c.component=e,fi(e,c),fi(c.native,c)}else i=rn(t.nodeIndex,t.lView);return i}const jd="__ngContext__";function fi(e,t){e[jd]=t}function ls(e){return e[jd]||null}function ol(e){const t=ls(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 c=i[s];if(rn(c,e)[8]===t)return c}else if(rn(20,e)[8]===t)return 20;return-1}function $d(e,t,i){const s=t[1].data[e];let c=s.directiveStart;return 0==c?Dt:(!i&&2&s.flags&&c++,t.slice(c,s.directiveEnd))}const sl="ngOriginalError";function al(e){return e[sl]}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&&al(t);for(;i&&al(i);)i=al(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(Ue))();function Wd(e){return e.ownerDocument.defaultView}function Gd(e){return e.ownerDocument}function Kd(e){return e.ownerDocument.body}function mr(e){return e instanceof Function?e():e}var gr=(()=>((gr=gr||{})[gr.Important=1]="Important",gr[gr.DashCase=2]="DashCase",gr))();let ll;function cl(e,t){return ll(e,t)}function cs(e){const t=e[3];return Ln(t)?t[3]:t}function Jd(e){return function Zd(e){let t=wn(e)?e:ol(e);for(;t&&!(512&t[2]);)t=cs(t);return t}(e)[8]}function ul(e){return Xd(e[13])}function dl(e){return Xd(e[4])}function Xd(e){for(;null!==e&&!Ln(e);)e=e[4];return e}function Co(e,t,i,s,c){if(null!=s){let g,C=!1;Ln(s)?g=s:wn(s)&&(C=!0,s=s[0]);const w=x(s);0===e&&null!==i?null==c?sf(t,i,w):Xr(t,i,w,c||null,!0):1===e&&null!==i?Xr(t,i,w,c||null,!0):2===e?hf(t,w,C):3===e&&t.destroyNode(w),null!=g&&function Iy(e,t,i,s,c){const g=i[7];g!==x(i)&&Co(t,e,s,g,c);for(let w=10;w<i.length;w++){const O=i[w];us(O[1],O,e,t,s,g)}}(t,e,g,i,c)}}function fl(e,t){return En(e)?e.createText(t):e.createTextNode(t)}function qd(e,t,i){En(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 hl(e,t,i){if(En(e))return e.createElement(t,i);{const s=null!==i?function ii(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":t===Bn?"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),c=t[3];1024&t[2]&&(t[2]&=-1025,R(c,-1)),i.splice(s,1)}function pl(e,t){if(e.length<=10)return;const i=10+t,s=e[i];if(s){const c=s[17];null!==c&&c!==e&&ef(c,s),t>0&&(e[i-1][4]=s[4]);const g=$s(e,10+t);!function yy(e,t){us(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];En(i)&&i.destroyNode&&us(e,t,i,3,null,null),function Cy(e){let t=e[13];if(!t)return ml(e[1],e);for(;t;){let i=null;if(wn(t))i=t[13];else{const s=t[10];s&&(i=s)}if(!i){for(;t&&!t[4]&&t!==e;)wn(t)&&ml(t[1],t),t=t[3];null===t&&(t=e),wn(t)&&ml(t[1],t),i=t&&t[4]}t=i}}(t)}}function ml(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 c=t[i[s]];if(!(c instanceof ui)){const g=i[s+1];if(Array.isArray(g))for(let C=0;C<g.length;C+=2){const w=c[g[C]],O=g[C+1];Pn(4,w,O);try{O.call(w)}finally{Pn(5,w,O)}}else{Pn(4,c,g);try{g.call(c)}finally{Pn(5,c,g)}}}}}(e,t),function Dy(e,t){const i=e.cleanup,s=t[7];let c=-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[c=i[g+2]],H=i[g+3];"boolean"==typeof H?w.removeEventListener(i[g],O,H):H>=0?s[c=H]():s[c=-H].unsubscribe(),g+=2}else{const C=s[c=i[g+1]];i[g].call(C)}if(null!==s){for(let g=c+1;g<s.length;g++)s[g]();t[7]=null}}(e,t),1===t[1].type&&En(t[11])&&t[11].destroy();const i=t[17];if(null!==i&&Ln(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 c=e.data[s.directiveStart].encapsulation;if(c===Te.None||c===Te.Emulated)return null}return gt(s,i)}function Xr(e,t,i,s,c){En(e)?e.insertBefore(t,i,s,c):t.insertBefore(i,s,c)}function sf(e,t,i){En(e)?e.appendChild(t,i):t.appendChild(i)}function af(e,t,i,s,c){null!==s?Xr(e,t,i,s,c):sf(e,t,i)}function Js(e,t){return En(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?gt(e,i):null}let gl,uf=cf;function df(e,t){uf=e,gl=t}function Xs(e,t,i,s){const c=nf(e,s,t),g=t[11],w=lf(s.parent||t[6],s,t);if(null!=c)if(Array.isArray(i))for(let O=0;O<i.length;O++)af(g,c,i[O],w,!1);else af(g,c,i,w,!1);void 0!==gl&&gl(g,s,t,i,c)}function qs(e,t){if(null!==t){const i=t.type;if(3&i)return gt(t,e);if(4&i)return vl(-1,e[t.index]);if(8&i){const s=t.child;if(null!==s)return qs(e,s);{const c=e[t.index];return Ln(c)?vl(-1,c):x(c)}}if(32&i)return cl(t,e)()||x(e[t.index]);{const s=ff(e,t);return null!==s?Array.isArray(s)?s[0]:qs(cs(e[16]),s):qs(e,t.next)}}return null}function ff(e,t){return null!==t?e[16][6].projection[t.projection]:null}function vl(e,t){const i=10+e+1;if(i<t.length){const s=t[i],c=s[1].firstChild;if(null!==c)return qs(s,c)}return t[7]}function hf(e,t,i){const s=Js(e,t);s&&function My(e,t,i,s){En(e)?e.removeChild(t,i,s):t.removeChild(i)}(e,s,t,i)}function yl(e,t,i,s,c,g,C){for(;null!=i;){const w=s[i.index],O=i.type;if(C&&0===t&&(w&&fi(x(w),s),i.flags|=4),64!=(64&i.flags))if(8&O)yl(e,t,i.child,s,c,g,!1),Co(t,e,c,w,g);else if(32&O){const H=cl(i,s);let X;for(;X=H();)Co(t,e,c,X,g);Co(t,e,c,w,g)}else 16&O?pf(e,t,s,i,c,g):Co(t,e,c,w,g);i=C?i.projectionNext:i.next}}function us(e,t,i,s,c,g){yl(i,s,e.firstChild,t,c,g,!1)}function pf(e,t,i,s,c,g){const C=i[16],O=C[6].projection[s.projection];if(Array.isArray(O))for(let H=0;H<O.length;H++)Co(t,e,c,O[H],g);else yl(e,t,O,C[3],c,g,!0)}function mf(e,t,i){En(e)?e.setAttribute(t,"style",i):t.style.cssText=i}function _l(e,t,i){En(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 c=e.indexOf(t,i);if(-1===c)return c;if(0===c||e.charCodeAt(c-1)<=32){const g=t.length;if(c+g===s||e.charCodeAt(c+g)<=32)return c}i=c+1}}const vf="ng-template";function Ay(e,t,i){let s=0;for(;s<e.length;){let c=e[s++];if(i&&"class"===c){if(c=e[s],-1!==gf(c.toLowerCase(),t,0))return!0}else if(1===c){for(;s<e.length&&"string"==typeof(c=e[s++]);)if(c.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 c=e.attrs||[],g=function Ny(e){for(let t=0;t<e.length;t++)if(oo(e[t]))return t;return e.length}(c);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(er(s))return!1;C=!0}}else{const H=8&s?O:t[++w];if(8&s&&null!==e.attrs){if(!Ay(e.attrs,H,i)){if(er(s))return!1;C=!0}continue}const Ee=Fy(8&s?"class":O,c,yf(e),i);if(-1===Ee){if(er(s))return!1;C=!0;continue}if(""!==H){let Be;Be=Ee>g?"":c[Ee+1].toLowerCase();const et=8&s?Be:null;if(et&&-1!==gf(et,H,0)||2&s&&H!==Be){if(er(s))return!1;C=!0}}}}else{if(!C&&!er(s)&&!er(O))return!1;if(C&&er(O))continue;C=!1,s=O|1&s}}return er(s)||C}function er(e){return 0==(1&e)}function Fy(e,t,i,s){if(null===t)return-1;let c=0;if(s||!i){let g=!1;for(;c<t.length;){const C=t[c];if(C===e)return c;if(3===C||6===C)g=!0;else{if(1===C||2===C){let w=t[++c];for(;"string"==typeof w;)w=t[++c];continue}if(4===C)break;if(0===C){c+=4;continue}}c+=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 c=0;c<e.length;c++)if(e[c]!==s[c])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,c="",g=!1;for(;i<e.length;){let C=e[i];if("string"==typeof C)if(2&s){const w=e[++i];c+="["+C+(w.length>0?'="'+w+'"':"")+"]"}else 8&s?c+="."+C:4&s&&(c+=" "+C);else""!==c&&!er(C)&&(t+=bf(g,c),c=""),s=C,g=g||!er(s);i++}return""!==c&&(t+=bf(g,c)),t}const en={};function Cf(e){Ef(un(),Ct(),Hn()+e,!1)}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&&jt(t,g,0,i)}qn(i)}function ea(e,t){return e<<17|t<<2}function tr(e){return e>>17&32767}function bl(e){return 2|e}function Pr(e){return(131068&e)>>2}function Cl(e,t){return-131069&e|t<<2}function El(e){return 1|e}const Pl=(()=>Promise.resolve(null))();function xf(e,t){const i=e.contentQueries;if(null!==i)for(let s=0;s<i.length;s+=2){const c=i[s],g=i[s+1];if(-1!==g){const C=e.data[g];Ft(c),C.contentQueries(2,t[g],g)}}}function ds(e,t,i,s,c,g,C,w,O,H){const X=t.blueprint.slice();return X[0]=c,X[2]=140|s,N(X),X[3]=X[15]=e,X[8]=i,X[10]=C||e&&e[10],X[11]=w||e&&e[11],X[12]=O||e&&e[12]||null,X[9]=H||e&&e[9]||null,X[6]=g,X[16]=2==t.type?e[16]:X,X}function Eo(e,t,i,s,c){let g=e.data[t];if(null===g)g=Al(e,t,i,s,c),function A(){return M.lFrame.inI18n}()&&(g.flags|=64);else if(64&g.type){g.type=i,g.value=s,g.attrs=c;const C=Gr();g.injectorIndex=null===C?-1:C.injectorIndex}return Ai(g,!0),g}function Al(e,t,i,s,c){const g=As(),C=Qo(),O=e.data[t]=function i_(e,t,i,s,c,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:c,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,c);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 c=t.length;for(let g=0;g<i;g++)t.push(s),e.blueprint.push(s),e.data.push(null);return c}function fs(e,t,i){on(t);try{const s=e.viewQuery;null!==s&&Vl(1,s,i);const c=e.template;null!==c&&Ff(e,t,c,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&xf(e,t),e.staticViewQueries&&Vl(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,kn()}}function Do(e,t,i,s){const c=t[2];if(256!=(256&c)){on(t);try{N(t),G(e.bindingStartIndex),null!==i&&Ff(e,t,i,2,s);const C=3==(3&c);if(C){const H=e.preOrderCheckHooks;null!==H&&Zr(t,H,null)}else{const H=e.preOrderHooks;null!==H&&jt(t,H,0,null),zt(t,0)}if(function __(e){for(let t=ul(e);null!==t;t=dl(t)){if(!t[2])continue;const i=t[9];for(let s=0;s<i.length;s++){const c=i[s],g=c[3];0==(1024&c[2])&&R(g,1),c[2]|=1024}}}(t),function y_(e){for(let t=ul(e);null!==t;t=dl(t))for(let i=10;i<t.length;i++){const s=t[i],c=s[1];xn(s)&&Do(c,s,c.template,s[8])}}(t),null!==e.contentQueries&&xf(e,t),C){const H=e.contentCheckHooks;null!==H&&Zr(t,H)}else{const H=e.contentHooks;null!==H&&jt(t,H,1),zt(t,1)}!function Xy(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let s=0;s<i.length;s++){const c=i[s];if(c<0)qn(~c);else{const g=c,C=i[++s],w=i[++s];be(C,g),w(2,t[g])}}}finally{qn(-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&&Vl(2,O,s),C){const H=e.viewCheckHooks;null!==H&&Zr(t,H)}else{const H=e.viewHooks;null!==H&&jt(t,H,2),zt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,R(t[3],-1))}finally{kn()}}}function t_(e,t,i,s){const c=t[10],C=sn(t);try{!C&&c.begin&&c.begin(),C&&fs(e,t,s),Do(e,t,i,s)}finally{!C&&c.end&&c.end()}}function Ff(e,t,i,s,c){const g=Hn(),C=2&s;try{qn(-1),C&&t.length>20&&Ef(e,t,20,!1),Pn(C?2:0,c),i(s,c)}finally{qn(g),Pn(C?3:1,c)}}function kf(e,t,i){if(mi(t)){const c=t.directiveEnd;for(let g=t.directiveStart;g<c;g++){const C=e.data[g];C.contentQueries&&C.contentQueries(1,i[g],g)}}}function Rl(e,t,i){!wr()||(function u_(e,t,i,s){const c=i.directiveStart,g=i.directiveEnd;e.firstCreatePass||Zo(i,t),fi(s,t);const C=i.initialInputs;for(let w=c;w<g;w++){const O=e.data[w],H=Qn(O);H&&m_(t,i,O);const X=Jo(t,e,w,i);fi(X,t),null!==C&&g_(0,w-c,X,O,0,C),H&&(rn(i.index,t)[8]=X)}}(e,t,i,gt(i,t)),128==(128&i.flags)&&function d_(e,t,i){const s=i.directiveStart,c=i.directiveEnd,C=i.index,w=function Le(){return M.lFrame.currentDirectiveIndex}();try{qn(C);for(let O=s;O<c;O++){const H=e.data[O],X=t[O];je(O),(null!==H.hostBindings||0!==H.hostVars||null!==H.hostAttrs)&&Uf(H,X)}}finally{qn(-1),je(w)}}(e,t,i))}function xl(e,t,i=gt){const s=t.localNames;if(null!==s){let c=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[c++]=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,c,g,C,w,O,H){const X=20+s,Ee=X+c,Be=function n_(e,t){const i=[];for(let s=0;s<t;s++)i.push(s<e?null:en);return i}(X,Ee),et="function"==typeof H?H():H;return Be[1]={type:e,blueprint:Be,template:i,queries:null,viewQuery:w,declTNode:t,data:Be.slice().fill(null,X),bindingStartIndex:X,expandoStartIndex:Ee,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(En(e))return e.selectRootElement(t,i===Te.ShadowDom);let s="string"==typeof t?e.querySelector(t):t;return s.textContent="",s}function Bf(e,t,i,s){const c=Yf(t);null===i?c.push(s):(c.push(i),e.firstCreatePass&&Zf(e).push(s,c.length-1))}function Vf(e,t,i){for(let s in e)if(e.hasOwnProperty(s)){const c=e[s];(i=null===i?{}:i).hasOwnProperty(s)?i[s].push(t,c):i[s]=[t,c]}return i}function xi(e,t,i,s,c,g,C,w){const O=gt(t,i);let X,H=t.inputs;!w&&null!=H&&(X=H[s])?(qf(e,i,X,s,c),ci(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),c=null!=C?C(c,t.value||"",s):c,En(g)?g.setProperty(O,s,c):ka(s)||(O.setProperty?O.setProperty(s,c):O[s]=c))}function Fl(e,t,i,s){let c=!1;if(wr()){const g=function f_(e,t,i){const s=e.directiveRegistry;let c=null;if(s)for(let g=0;g<s.length;g++){const C=s[g];_f(i,C.selectors,!1)&&(c||(c=[]),js(Zo(i,t),e,C.type),Qn(C)?(zf(e,i),c.unshift(C)):c.push(C))}return c}(e,t,i),C=null===s?null:{"":-1};if(null!==g){c=!0,Wf(i,e.data.length,g.length);for(let X=0;X<g.length;X++){const Ee=g[X];Ee.providersResolver&&Ee.providersResolver(Ee)}let w=!1,O=!1,H=To(e,t,g.length,null);for(let X=0;X<g.length;X++){const Ee=g[X];i.mergedAttrs=ks(i.mergedAttrs,Ee.hostAttrs),Gf(e,i,t,H,Ee),p_(H,Ee,C),null!==Ee.contentQueries&&(i.flags|=8),(null!==Ee.hostBindings||null!==Ee.hostAttrs||0!==Ee.hostVars)&&(i.flags|=128);const Be=Ee.type.prototype;!w&&(Be.ngOnChanges||Be.ngOnInit||Be.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i.index),w=!0),!O&&(Be.ngOnChanges||Be.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i.index),O=!0),H++}!function r_(e,t){const s=t.directiveEnd,c=e.data,g=t.attrs,C=[];let w=null,O=null;for(let H=t.directiveStart;H<s;H++){const X=c[H],Ee=X.inputs,Be=null===g||yf(t)?null:v_(Ee,g);C.push(Be),w=Vf(Ee,H,w),O=Vf(X.outputs,H,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 c=0;c<t.length;c+=2){const g=i[t[c+1]];if(null==g)throw new S(-301,!1);s.push(t[c],g)}}}(i,s,C)}return i.mergedAttrs=ks(i.mergedAttrs,i.attrs),c}function Hf(e,t,i,s,c,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,c,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;Qn(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,c){e.data[s]=c;const g=c.factory||(c.factory=Zn(c.type)),C=new ui(g,Qn(c),null);e.blueprint[s]=C,i[s]=C,Hf(e,t,0,s,To(e,i,c.hostVars,en),c)}function m_(e,t,i){const s=gt(t,e),c=Nf(i),g=e[10],C=ra(e,ds(e,c,null,i.onPush?64:16,s,t,g,g.createRenderer(s,i),null,null));e[t.index]=C}function vr(e,t,i,s,c,g){const C=gt(e,t);kl(t[11],C,g,e.value,i,s,c)}function kl(e,t,i,s,c,g,C){if(null==g)En(e)?e.removeAttribute(t,c,i):t.removeAttribute(c);else{const w=null==C?I(g):C(g,s||"",c);En(e)?e.setAttribute(t,c,w,i):i?t.setAttributeNS(i,c,w):t.setAttribute(c,w)}}function g_(e,t,i,s,c,g){const C=g[t];if(null!==C){const w=s.setInput;for(let O=0;O<C.length;){const H=C[O++],X=C[O++],Ee=C[O++];null!==w?s.setInput(i,Ee,H,X):i[X]=Ee}}}function v_(e,t){let i=null,s=0;for(;s<t.length;){const c=t[s];if(0!==c)if(5!==c){if("number"==typeof c)break;e.hasOwnProperty(c)&&(null===i&&(i=[]),i.push(c,e[c],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&&Nl(i)}}function Nl(e){for(let s=ul(e);null!==s;s=dl(s))for(let c=10;c<s.length;c++){const g=s[c];if(1024&g[2]){const C=g[1];Do(C,g,C.template,g[8])}else g[5]>0&&Nl(g)}const i=e[1].components;if(null!==i)for(let s=0;s<i.length;s++){const c=rn(i[s],e);xn(c)&&c[5]>0&&Nl(c)}}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),fs(s,i,i[8])}function ra(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ll(e){for(;e;){e[2]|=64;const t=cs(e);if(ki(e)&&!t)return e;e=t}return null}function jl(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],s=ol(i),c=s[1];t_(c,s,c.template,i)}}function Bl(e,t,i){const s=t[10];s.begin&&s.begin();try{Do(e,t,e.template,i)}catch(c){throw Xf(t,c),c}finally{s.end&&s.end()}}function Vl(e,t,i){Ft(0),t(e,i)}const D_=Pl;function Yf(e){return e[7]||(e[7]=[])}function Zf(e){return e.cleanup||(e.cleanup=[])}function Jf(e,t,i){return(null===e||Qn(e))&&(i=function pe(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,c){for(let g=0;g<i.length;){const C=i[g++],w=i[g++],O=t[C],H=e.data[C];null!==H.setInput?H.setInput(O,c,s,w):O[w]=c}}function Ar(e,t,i){const s=ct(t,e);qd(e[11],s,i)}function oa(e,t,i){let s=i?e.styles:null,c=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?c=m(c,w):2==g&&(s=m(s,w+": "+t[++C]+";"))}i?e.styles=s:e.stylesWithoutHost=s,i?e.classes=c:e.classesWithoutHost=c}function eh(e){const t=Ld(e);Bl(t[1],t,e)}function th(e){!function T_(e,t){if(0===e.flags&&e.clean==Pl){let s;e.flags|=t,e.clean=new Promise(c=>s=c),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,jl(e)),2&e.flags){e.flags&=-3;const c=e.playerHandler;c&&c.flushPlayers()}e.clean=Pl,s(null)})}}(Ll(Ld(e))[8],1)}const sa=new Un("INJECTOR",-1);class nh{get(t,i=$r){if(i===$r){const s=new Error(`NullInjectorError: No provider for ${p(t)}!`);throw s.name="NullInjectorError",s}return i}}const $l=new Un("Set Injector scope."),hs={},w_={};let Hl;function ih(){return void 0===Hl&&(Hl=new nh),Hl}function Ul(e,t=null,i=null,s){const c=rh(e,t,i,s);return c._resolveInjectorDefTypes(),c}function rh(e,t=null,i=null,s){return new M_(e,i,t||ih(),s)}class M_{constructor(t,i,s,c=null){this.parent=s,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const g=[];i&&hr(i,w=>this.processProvider(w,t,i)),hr([t],w=>this.processInjectorType(w,[],g)),this.records.set(sa,wo(void 0,this));const C=this.records.get($l);this.scope=null!=C?C.value:null,this.source=c||("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=$r,s=j.Default){this.assertNotDestroyed();const c=Ga(this),g=tt(void 0);try{if(!(s&j.SkipSelf)){let w=this.records.get(t);if(void 0===w){const O=function F_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Un}(t)&&ht(t);w=O&&this.injectableDefInScope(O)?wo(zl(t),hs):null,this.records.set(t,w)}if(null!=w)return this.hydrate(t,w)}return(s&j.Self?ih():this.parent).get(t,i=s&j.Optional&&i===$r?null:i)}catch(C){if("NullInjectorError"===C.name){if((C[Us]=C[Us]||[]).unshift(p(t)),c)throw C;return function Ev(e,t,i,s){const c=e[Us];throw t[dd]&&c.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 c=p(t);if(Array.isArray(t))c=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)))}c=`{${g.join(", ")}}`}return`${i}${s?"("+s+")":""}[${c}]: ${e.replace(vv,"\n ")}`}("\n"+e.message,c,i,s),e.ngTokenPath=c,e[Us]=null,e}(C,t,"R3InjectorError",this.source)}throw C}finally{tt(g),Ga(c)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((s,c)=>t.push(p(c))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processInjectorType(t,i,s){if(!(t=v(t)))return!1;let c=ee(t);const g=null==c&&t.ngModule||void 0,C=void 0===g?t:g,w=-1!==s.indexOf(C);if(void 0!==g&&(c=ee(g)),null==c)return!1;if(null!=c.imports&&!w){let X;s.push(C);try{hr(c.imports,Ee=>{this.processInjectorType(Ee,i,s)&&(void 0===X&&(X=[]),X.push(Ee))})}finally{}if(void 0!==X)for(let Ee=0;Ee<X.length;Ee++){const{ngModule:Be,providers:et}=X[Ee];hr(et,pt=>this.processProvider(pt,Be,et||Dt))}}this.injectorDefTypes.add(C);const O=Zn(C)||(()=>new C);this.records.set(C,wo(O,hs));const H=c.providers;if(null!=H&&!w){const X=t;hr(H,Ee=>this.processProvider(Ee,X,H))}return void 0!==g&&void 0!==t.providers}processProvider(t,i,s){let c=Mo(t=v(t))?t:v(t&&t.provide);const g=function O_(e,t,i){return sh(e)?wo(void 0,e.useValue):wo(oh(e),hs)}(t);if(Mo(t)||!0!==t.multi)this.records.get(c);else{let C=this.records.get(c);C||(C=wo(void 0,hs,!0),C.factory=()=>Qa(C.multi),this.records.set(c,C)),c=t,C.multi.push(t)}this.records.set(c,g)}hydrate(t,i){return i.value===hs&&(i.value=w_,i.value=i.factory()),"object"==typeof i.value&&i.value&&function x_(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 zl(e){const t=ht(e),i=null!==t?t.factory:Zn(e);if(null!==i)return i;if(e instanceof Un)throw new S(204,!1);if(e instanceof Function)return function S_(e){const t=e.length;if(t>0)throw es(t,"?"),new S(204,!1);const i=function Oe(e){const t=e&&(e[Me]||e[Ke]);if(t){const i=function L(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 c=v(e);return Zn(c)||zl(c)}if(sh(e))s=()=>v(e.useValue);else if(function P_(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...Qa(e.deps||[]));else if(function I_(e){return!(!e||!e.useExisting)}(e))s=()=>li(v(e.useExisting));else{const c=v(e&&(e.useClass||e.provide));if(!function R_(e){return!!e.deps}(e))return Zn(c)||zl(c);s=()=>new c(...Qa(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 nr=(()=>{class e{static create(i,s){var c;if(Array.isArray(i))return Ul({name:""},s,i,"");{const g=null!==(c=i.name)&&void 0!==c?c:"";return Ul({name:g},i.parent,i.providers,g)}}}return e.THROW_IF_NOT_FOUND=$r,e.NULL=new nh,e.\u0275prov=qe({token:e,providedIn:"any",factory:()=>li(sa)}),e.__NG_ELEMENT_ID__=-1,e})();function Wl(e){Kl(e);const t=di(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){Kl(e);const t=di(e);return null===t?null:t.lView[8]}function lh(e){const t=di(e);if(null===t)return null;let s,i=t.lView;for(;2===i[1].type&&(s=cs(i));)i=s;return 512&i[2]?null:i[8]}function ch(e){return[...Jd(e).components]}function uh(e){const t=di(e);return null===t?nr.NULL:new lo(t.lView[1].data[t.nodeIndex],t.lView)}function dh(e){if(e instanceof Text)return[];const t=di(e);if(null===t)return[];const i=t.lView,s=i[1],c=t.nodeIndex;return(null==s?void 0:s.data[c])?(void 0===t.directives&&(t.directives=$d(c,i,!1)),null===t.directives?[]:[...t.directives]):[]}function N_(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=Ie(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Rt.OnPush:Rt.Default};const s=rt(t);return s?{inputs:s.inputs,outputs:s.outputs}:null}function Gl(e){return di(e).native}function fh(e){Kl(e);const t=di(e);if(null===t)return[];const i=t.lView,c=i[7],g=i[1].cleanup,C=[];if(g&&c)for(let w=0;w<g.length;){const O=g[w++],H=g[w++];if("string"==typeof O){const X=O,Ee=x(i[H]),Be=c[g[w++]],et=g[w++],pt="boolean"==typeof et||et>=0?"dom":"output",Pt="boolean"==typeof et&&et;e==Ee&&C.push({element:e,name:X,callback:Be,useCapture:Pt,type:pt})}}return C.sort(j_),C}function j_(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function B_(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function Kl(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function V_(e){th(e),ch(e).forEach(t=>eh(t))}let ph=!1;function $_(){ph||(ph=!0,Gi("\u0275setProfiler",Ji),Gi("getDirectiveMetadata",N_),Gi("getComponent",Wl),Gi("getContext",ah),Gi("getListeners",fh),Gi("getOwningComponent",lh),Gi("getHostElement",Gl),Gi("getInjector",uh),Gi("getRootComponents",ch),Gi("getDirectives",dh),Gi("applyChanges",V_))}function Gi(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=Ue;if(i){let s=i.ng;s||(s=i.ng={}),s[e]=t}}}function H_(e,t={}){const i=t.rendererFactory||F,s=t.sanitizer||null,c=Ie(e);c.type!=e&&(c.type=e);const g=c.selectors[0][0],w=jf(i.createRenderer(null,null),t.host||g,c.encapsulation),O=c.onPush?576:528,H=vh(t.scheduler,t.playerHandler),X=i.createRenderer(w,c),Ee=ia(0,null,null,1,0,null,null,null,null,null),Be=ds(null,Ee,H,O,null,null,i,X,null,t.injector||null);let et;on(Be);try{i.begin&&i.begin(),et=gh(mh(w,c,Be,i,X,s),c,Be,H,t.hostFeatures||null),fs(Ee,Be,null),Do(Ee,Be,null,null)}finally{kn(),i.end&&i.end()}return et}function mh(e,t,i,s,c,g){const C=i[1];i[20]=e;const O=Eo(C,20,2,"#host",null),H=O.mergedAttrs=t.hostAttrs;null!==H&&(oa(O,H,!0),null!==e&&(zi(c,e,H),null!==O.classes&&_l(c,e,O.classes),null!==O.styles&&mf(c,e,O.styles)));const X=s.createRenderer(e,t),Ee=ds(i,Nf(t),null,t.onPush?64:16,i[20],O,s,X,g||null,null);return C.firstCreatePass&&(js(Zo(O,i),C,t.type),zf(C,O),Wf(O,i.length,1)),ra(i,Ee),i[20]=Ee}function gh(e,t,i,s,c){const g=i[1],C=function l_(e,t,i){const s=Vn();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Gf(e,s,t,To(e,t,1,null),i));const c=Jo(t,e,s.directiveStart,s);fi(c,t);const g=gt(s,t);return g&&fi(g,t),c}(g,i,t);if(s.components.push(C),e[8]=C,c&&c.forEach(O=>O(C,t)),t.contentQueries){const O=Vn();t.contentQueries(1,C,O.directiveStart)}const w=Vn();return!g.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(qn(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:D_,playerHandler:t||null,flags:0}}function yh(e,t){Yr(ol(e)[1],Vn())}function U_(e){return Jd(e).clean}function _h(e){return Object.getPrototypeOf(e.prototype).constructor}function Ql(e){let t=_h(e.type),i=!0;const s=[e];for(;t;){let c;if(Qn(e))c=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,"");c=t.\u0275dir}if(c){if(i){s.push(c);const C=e;C.inputs=Yl(e.inputs),C.declaredInputs=Yl(e.declaredInputs),C.outputs=Yl(e.outputs);const w=c.hostBindings;w&&K_(e,w);const O=c.viewQuery,H=c.contentQueries;if(O&&W_(e,O),H&&G_(e,H),f(e.inputs,c.inputs),f(e.declaredInputs,c.declaredInputs),f(e.outputs,c.outputs),Qn(c)&&c.data.animation){const X=e.data;X.animation=(X.animation||[]).concat(c.data.animation)}}const g=c.features;if(g)for(let C=0;C<g.length;C++){const w=g[C];w&&w.ngInherit&&w(e),w===Ql&&(i=!1)}}t=Object.getPrototypeOf(t)}!function z_(e){let t=0,i=null;for(let s=e.length-1;s>=0;s--){const c=e[s];c.hostVars=t+=c.hostVars,c.hostAttrs=ks(c.hostAttrs,i=ks(i,c.hostAttrs))}}(s)}function Yl(e){return e===Vt?{}:e===Dt?[]:e}function W_(e,t){const i=e.viewQuery;e.viewQuery=i?(s,c)=>{t(s,c),i(s,c)}:t}function G_(e,t){const i=e.contentQueries;e.contentQueries=i?(s,c,g)=>{t(s,c,g),i(s,c,g)}:t}function K_(e,t){const i=e.hostBindings;e.hostBindings=i?(s,c)=>{t(s,c),i(s,c)}:t}const Q_=["providersResolver"],Y_=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function bh(e){let i,t=_h(e.type);i=Qn(e)?t.\u0275cmp:t.\u0275dir;const s=e;for(const c of Q_)s[c]=i[c];if(Qn(i))for(const c of Y_)s[c]=i[c]}let aa=null;function So(){if(!aa){const e=Ue.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=ps(e),s=ps(t);return i&&s?function Z_(e,t,i){const s=e[So()](),c=t[So()]();for(;;){const g=s.next(),C=c.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 ps(e){return!!Zl(e)&&(Array.isArray(e)||!(e instanceof Map)&&So()in e)}function Zl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function yr(e,t,i){return e[t]=i}function ms(e,t){return e[t]}function hi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function qr(e,t,i,s){const c=hi(e,t,i);return hi(e,t+1,s)||c}function la(e,t,i,s,c){const g=qr(e,t,i,s);return hi(e,t+2,c)||g}function Ki(e,t,i,s,c,g){const C=qr(e,t,i,s);return qr(e,t+2,c,g)||C}function Jl(e,t,i,s){const c=Ct();return hi(c,E(),t)&&(un(),vr(ln(),c,e,t,i,s)),Jl}function Oo(e,t){let i=!1,s=qi();for(let g=1;g<t.length;g+=2)i=hi(e,s++,t[g])||i;if(G(s),!i)return en;let c=t[0];for(let g=1;g<t.length;g+=2)c+=I(t[g])+t[g+1];return c}function Io(e,t,i,s){return hi(e,E(),i)?t+I(i)+s:en}function Po(e,t,i,s,c,g){const w=qr(e,qi(),i,c);return D(2),w?t+I(i)+s+I(c)+g:en}function Ao(e,t,i,s,c,g,C,w){const H=la(e,qi(),i,c,C);return D(3),H?t+I(i)+s+I(c)+g+I(C)+w:en}function Ro(e,t,i,s,c,g,C,w,O,H){const Ee=Ki(e,qi(),i,c,C,O);return D(4),Ee?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H:en}function xo(e,t,i,s,c,g,C,w,O,H,X,Ee){const Be=qi();let et=Ki(e,Be,i,c,C,O);return et=hi(e,Be+4,X)||et,D(5),et?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H+I(X)+Ee:en}function Fo(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et){const pt=qi();let Pt=Ki(e,pt,i,c,C,O);return Pt=qr(e,pt+4,X,Be)||Pt,D(6),Pt?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H+I(X)+Ee+I(Be)+et:en}function ko(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt){const xt=qi();let Bt=Ki(e,xt,i,c,C,O);return Bt=la(e,xt+4,X,Be,pt)||Bt,D(7),Bt?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H+I(X)+Ee+I(Be)+et+I(pt)+Pt:en}function No(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt,Bt){const bt=qi();let Wt=Ki(e,bt,i,c,C,O);return Wt=Ki(e,bt+4,X,Be,pt,xt)||Wt,D(8),Wt?t+I(i)+s+I(c)+g+I(C)+w+I(O)+H+I(X)+Ee+I(Be)+et+I(pt)+Pt+I(xt)+Bt:en}function Xl(e,t,i,s,c,g){const C=Ct(),w=Io(C,t,i,s);return w!==en&&vr(ln(),C,e,w,c,g),Xl}function ql(e,t,i,s,c,g,C,w){const O=Ct(),H=Po(O,t,i,s,c,g);return H!==en&&vr(ln(),O,e,H,C,w),ql}function ec(e,t,i,s,c,g,C,w,O,H){const X=Ct(),Ee=Ao(X,t,i,s,c,g,C,w);return Ee!==en&&vr(ln(),X,e,Ee,O,H),ec}function tc(e,t,i,s,c,g,C,w,O,H,X,Ee){const Be=Ct(),et=Ro(Be,t,i,s,c,g,C,w,O,H);return et!==en&&vr(ln(),Be,e,et,X,Ee),tc}function nc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et){const pt=Ct(),Pt=xo(pt,t,i,s,c,g,C,w,O,H,X,Ee);return Pt!==en&&vr(ln(),pt,e,Pt,Be,et),nc}function ic(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt){const xt=Ct(),Bt=Fo(xt,t,i,s,c,g,C,w,O,H,X,Ee,Be,et);return Bt!==en&&vr(ln(),xt,e,Bt,pt,Pt),ic}function rc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt,Bt){const bt=Ct(),Wt=ko(bt,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt);return Wt!==en&&vr(ln(),bt,e,Wt,xt,Bt),rc}function oc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt,Bt,bt,Wt){const dn=Ct(),Tn=No(dn,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt,Bt);return Tn!==en&&vr(ln(),dn,e,Tn,bt,Wt),oc}function sc(e,t,i,s){const c=Ct(),g=Oo(c,t);return g!==en&&vr(ln(),c,e,g,i,s),sc}function Eh(e,t,i,s,c,g,C,w){const O=Ct(),H=un(),X=e+20,Ee=H.firstCreatePass?function X_(e,t,i,s,c,g,C,w,O){const H=t.consts,X=Eo(t,e,4,C||null,On(H,w));Fl(t,i,X,On(H,O)),Yr(t,X);const Ee=X.tViews=ia(2,X,s,c,g,t.directiveRegistry,t.pipeRegistry,null,t.schemas,H);return null!==t.queries&&(t.queries.template(t,X),Ee.queries=t.queries.embeddedTView(X)),X}(X,H,O,t,i,s,c,g,C):H.data[X];Ai(Ee,!1);const Be=O[11].createComment("");Xs(H,O,Be,Ee),fi(Be,O),ra(O,O[X]=Kf(Be,O,Be,Ee)),gi(Ee)&&Rl(H,O,Ee),null!=C&&xl(O,Ee,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 xs(){return M.lFrame.contextLView}(),20+e)}const wh={\u0275\u0275defineInjectable:qe,\u0275\u0275defineInjector:Qe,\u0275\u0275inject:li,\u0275\u0275invalidFactoryDep:Ka,resolveForwardRef:v};const eb=l({provide:String,useValue:l});function Mh(e){return void 0!==e.useClass}function Sh(e){return void 0!==e.useFactory}const rb=ho("Injectable",void 0,void 0,void 0,(e,t)=>function q_(e,t){let i=null,s=null;e.hasOwnProperty(Me)||Object.defineProperty(e,Me,{get:()=>(null===i&&(i=ti().compileInjectable(wh,`ng:///${e.name}/\u0275prov.js`,function ib(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 tb(e){return eb in e}(i)?s.useValue=i.useValue:Sh(i)?s.useFactory=i.useFactory:function nb(e){return void 0!==e.useExisting}(i)&&(s.useExisting=i.useExisting),s}(e,t))),i)}),e.hasOwnProperty(ne)||Object.defineProperty(e,ne,{get:()=>{if(null===s){const c=ti();s=c.compileFactory(wh,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Gs(e),target:c.FactoryTarget.Injectable})}return s},configurable:!0})}(e,t));function ac(e){return e.length>1?" ("+function ob(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 lc(e,t,i,s){const c=[t],g=i(c),C=s?function oy(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,s=Error(i);return s[sl]=t,s}(g,s):Error(g);return C.addKey=sb,C.keys=c,C.injectors=[e],C.constructResolvingMessage=i,C[sl]=s,C}function sb(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,c=t.length;s<c;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 fb(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class Rr{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 hb{constructor(){this._allKeys=new Map}get(t){if(t instanceof Rr)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const i=new Rr(t,Rr.numberOfKeys);return this._allKeys.set(t,i),i}get numberOfKeys(){return this._allKeys.size}}const Ih=new hb;class pb{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,c){return this.reflectionCapabilities.resolveIdentifier(t,i,s,c)}resolveEnum(t,i){return this.reflectionCapabilities.resolveEnum(t,i)}}const Ph=new pb(new Ua);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 mb=[];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 gb(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(Rr.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function bb(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=mb);return new Rh(t,i)}function vb(e){return new Ah(Rr.get(e.provide),[gb(e)],e.multi||!1)}function yb(e){const s=function _b(e,t){for(let i=0;i<e.length;i++){const s=e[i],c=t.get(s.key.id);if(c){if(s.multiProvider!==c.multiProvider)throw fb(c,s);if(s.multiProvider)for(let g=0;g<s.resolvedFactories.length;g++)c.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(vb),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 ub(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,c=!1;if(!Array.isArray(t))return cc(t instanceof zs?t.token:t,c,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 is?c=!0:w instanceof Ws||w instanceof go?g=w:w instanceof Un&&(s=w)}if(s=v(s),null!=s)return cc(s,c,g);throw Oh(e,i)}function cc(e,t,i){return new ca(Rr.get(e),t,i)}const gs={};class Lo{static resolve(t){return yb(t)}static resolveAndCreate(t,i){const s=Lo.resolve(t);return Lo.fromResolvedProviders(s,i)}static fromResolvedProviders(t,i){return new Cb(t,i)}}let Cb=(()=>{class e{constructor(i,s){this._constructionCounter=0,this._providers=i,this.parent=s||null;const c=i.length;this.keyIds=[],this.objs=[];for(let g=0;g<c;g++)this.keyIds[g]=i[g].key.id,this.objs[g]=gs}get(i,s=$r){return this._getByKey(Rr.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 db(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function lb(e,t){return lc(e,t,function(i){return`Cannot instantiate cyclic dependency!${ac(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const s=[];for(let c=0;c<i.resolvedFactories.length;++c)s[c]=this._instantiate(i,i.resolvedFactories[c]);return s}return this._instantiate(i,i.resolvedFactories[0])}_instantiate(i,s){const c=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=c(...g)}catch(w){throw function cb(e,t,i,s){return lc(e,s,function(c){const g=p(c[0].token);return`${t.message}: Error during instantiation of ${g}!${ac(c)}.`},t)}(this,w,0,i.key)}return C}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:$r)}_getByKey(i,s,c){return i===e.INJECTOR_KEY?this:s instanceof Ws?this._getByKeySelf(i,c):this._getByKeyDefault(i,c,s)}_getObjByKeyId(i){for(let s=0;s<this.keyIds.length;s++)if(this.keyIds[s]===i)return this.objs[s]===gs&&(this.objs[s]=this._new(this._providers[s])),this.objs[s];return gs}_throwOrNull(i,s){if(s!==$r)return s;throw function ab(e,t){return lc(e,t,function(i){return`No provider for ${p(i[0].token)}!${ac(i)}`})}(this,i)}_getByKeySelf(i,s){const c=this._getObjByKeyId(i.id);return c!==gs?c:this._throwOrNull(i,s)}_getByKeyDefault(i,s,c){let g;for(g=c instanceof go?this.parent:this;g instanceof e;){const C=g,w=C._getObjByKeyId(i.id);if(w!==gs)return w;g=C.parent}return null!==g?g.get(i.token,s):this._throwOrNull(i,s)}get displayName(){return`ReflectiveInjector(providers: [${function Eb(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=Rr.get(nr),e})();function vs(e,t=j.Default){const i=Ct();return null===i?li(e,t):ed(Vn(),i,v(e),t)}function Nh(){throw new Error("invalid")}function uc(e,t,i){const s=Ct();return hi(s,E(),t)&&xi(un(),ln(),s,e,t,s[11],i,!1),uc}function dc(e,t,i,s,c){const C=c?"class":"style";qf(e,i,t.inputs[C],C,s)}function ua(e,t,i,s){const c=Ct(),g=un(),C=20+e,w=c[11],O=c[C]=hl(w,t,function Qr(){return M.lFrame.currentNamespace}()),H=g.firstCreatePass?function Tb(e,t,i,s,c,g,C){const w=t.consts,H=Eo(t,e,2,c,On(w,g));return Fl(t,i,H,On(w,C)),null!==H.attrs&&oa(H,H.attrs,!1),null!==H.mergedAttrs&&oa(H,H.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,H),H}(C,g,c,0,t,i,s):g.data[C];Ai(H,!0);const X=H.mergedAttrs;null!==X&&zi(w,O,X);const Ee=H.classes;null!==Ee&&_l(w,O,Ee);const Be=H.styles;return null!==Be&&mf(w,O,Be),64!=(64&H.flags)&&Xs(g,c,O,H),0===function Nt(){return M.lFrame.elementDepthCount}()&&fi(O,c),function Mn(){M.lFrame.elementDepthCount++}(),gi(H)&&(Rl(g,c,H),kf(g,H,c)),null!==s&&xl(c,H),ua}function da(){let e=Vn();Qo()?Yo():(e=e.parent,Ai(e,!1));const t=e;!function vi(){M.lFrame.elementDepthCount--}();const i=un();return i.firstCreatePass&&(Yr(i,e),mi(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Fa(e){return 0!=(16&e.flags)}(t)&&dc(i,t,Ct(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ai(e){return 0!=(32&e.flags)}(t)&&dc(i,t,Ct(),t.stylesWithoutHost,!1),da}function fc(e,t,i,s){return ua(e,t,i,s),da(),fc}function fa(e,t,i){const s=Ct(),c=un(),g=e+20,C=c.firstCreatePass?function Db(e,t,i,s,c){const g=t.consts,C=On(g,s),w=Eo(t,e,8,"ng-container",C);return null!==C&&oa(w,C,!0),Fl(t,i,w,On(g,c)),null!==t.queries&&t.queries.elementStart(t,w),w}(g,c,s,t,i):c.data[g];Ai(C,!0);const w=s[g]=s[11].createComment("");return Xs(c,s,w,C),fi(w,s),gi(C)&&(Rl(c,s,C),kf(c,C,s)),null!=i&&xl(s,C),fa}function ha(){let e=Vn();const t=un();return Qo()?Yo():(e=e.parent,Ai(e,!1)),t.firstCreatePass&&(Yr(t,e),mi(e)&&t.queries.elementEnd(e)),ha}function hc(e,t,i){return fa(e,t,i),ha(),hc}function Lh(){return Ct()}function pc(e){return!!e&&"function"==typeof e.then}function jh(e){return!!e&&"function"==typeof e.subscribe}const Bh=jh;function mc(e,t,i,s){const c=Ct(),g=un(),C=Vn();return Vh(g,c,c[11],C,e,t,!!i,s),mc}function gc(e,t){const i=Vn(),s=Ct(),c=un();return Vh(c,s,Jf(nt(c.data),i,s),i,e,t,!1),gc}function Vh(e,t,i,s,c,g,C,w){const O=gi(s),X=e.firstCreatePass&&Zf(e),Ee=t[8],Be=Yf(t);let et=!0;if(3&s.type||w){const xt=gt(s,t),Bt=w?w(xt):xt,bt=Be.length,Wt=w?dn=>w(x(dn[s.index])):s.index;if(En(i)){let dn=null;if(!w&&O&&(dn=function wb(e,t,i,s){const c=e.cleanup;if(null!=c)for(let g=0;g<c.length-1;g+=2){const C=c[g];if(C===i&&c[g+1]===s){const w=t[7],O=c[g+2];return w.length>O?w[O]:null}"string"==typeof C&&(g+=2)}return null}(e,t,c,s.index)),null!==dn)(dn.__ngLastListenerFn__||dn).__ngNextListenerFn__=g,dn.__ngLastListenerFn__=g,et=!1;else{g=vc(s,t,Ee,g,!1);const Tn=i.listen(Bt,c,g);Be.push(g,Tn),X&&X.push(c,Wt,bt,bt+1)}}else g=vc(s,t,Ee,g,!0),Bt.addEventListener(c,g,C),Be.push(g),X&&X.push(c,Wt,bt,C)}else g=vc(s,t,Ee,g,!1);const pt=s.outputs;let Pt;if(et&&null!==pt&&(Pt=pt[c])){const xt=Pt.length;if(xt)for(let Bt=0;Bt<xt;Bt+=2){const Fi=t[Pt[Bt]][Pt[Bt+1]].subscribe(g),io=Be.length;Be.push(g,Fi),X&&X.push(c,s.index,io,-(io+1))}}}function $h(e,t,i,s){try{return Pn(6,t,i),!1!==i(s)}catch(c){return Xf(e,c),!1}finally{Pn(7,t,i)}}function vc(e,t,i,s,c){return function g(C){if(C===Function)return s;const w=2&e.flags?rn(e.index,t):t;0==(32&t[2])&&Ll(w);let O=$h(t,i,s,C),H=g.__ngNextListenerFn__;for(;H;)O=$h(t,i,H,C)&&O,H=H.__ngNextListenerFn__;return c&&!1===O&&(C.preventDefault(),C.returnValue=!1),O}}function Hh(e=1){return function si(e){return(M.lFrame.contextLView=function Xn(e,t){for(;e>0;)t=t[15],e--;return t}(e,M.lFrame.contextLView))[8]}(e)}function Mb(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 c=0;c<t.length;c++){const g=t[c];if("*"!==g){if(null===s?_f(e,g,!0):jy(s,g))return c}else i=c}return i}function Uh(e){const t=Ct()[16][6];if(!t.projection){const s=t.projection=es(e?e.length:1,null),c=s.slice();let g=t.child;for(;null!==g;){const C=e?Mb(g,e):0;null!==C&&(c[C]?c[C].projectionNext=g:s[C]=g,c[C]=g),g=g.next}}}function zh(e,t=0,i){const s=Ct(),c=un(),g=Eo(c,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))}(c,s,g)}function yc(e,t,i){return pa(e,"",t,"",i),yc}function pa(e,t,i,s,c){const g=Ct(),C=Io(g,t,i,s);return C!==en&&xi(un(),ln(),g,e,C,g[11],c,!1),pa}function _c(e,t,i,s,c,g,C){const w=Ct(),O=Po(w,t,i,s,c,g);return O!==en&&xi(un(),ln(),w,e,O,w[11],C,!1),_c}function bc(e,t,i,s,c,g,C,w,O){const H=Ct(),X=Ao(H,t,i,s,c,g,C,w);return X!==en&&xi(un(),ln(),H,e,X,H[11],O,!1),bc}function Cc(e,t,i,s,c,g,C,w,O,H,X){const Ee=Ct(),Be=Ro(Ee,t,i,s,c,g,C,w,O,H);return Be!==en&&xi(un(),ln(),Ee,e,Be,Ee[11],X,!1),Cc}function Ec(e,t,i,s,c,g,C,w,O,H,X,Ee,Be){const et=Ct(),pt=xo(et,t,i,s,c,g,C,w,O,H,X,Ee);return pt!==en&&xi(un(),ln(),et,e,pt,et[11],Be,!1),Ec}function Tc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt){const Pt=Ct(),xt=Fo(Pt,t,i,s,c,g,C,w,O,H,X,Ee,Be,et);return xt!==en&&xi(un(),ln(),Pt,e,xt,Pt[11],pt,!1),Tc}function Dc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt){const Bt=Ct(),bt=ko(Bt,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt);return bt!==en&&xi(un(),ln(),Bt,e,bt,Bt[11],xt,!1),Dc}function wc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt,Bt,bt){const Wt=Ct(),dn=No(Wt,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt,Bt);return dn!==en&&xi(un(),ln(),Wt,e,dn,Wt[11],bt,!1),wc}function Mc(e,t,i){const s=Ct(),c=Oo(s,t);return c!==en&&xi(un(),ln(),s,e,c,s[11],i,!1),Mc}function Wh(e,t,i,s,c){const g=e[i+1],C=null===t;let w=s?tr(g):Pr(g),O=!1;for(;0!==w&&(!1===O||C);){const X=e[w+1];Ib(e[w],t)&&(O=!0,e[w+1]=s?El(X):bl(X)),w=s?tr(X):Pr(X)}O&&(e[i+1]=s?bl(g):El(g))}function Ib(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 ni={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gh(e){return e.substring(ni.key,ni.keyEnd)}function Pb(e){return e.substring(ni.value,ni.valueEnd)}function Kh(e,t){const i=ni.textEnd;return i===t?-1:(t=ni.keyEnd=function xb(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,ni.key=t,i),jo(e,t,i))}function Qh(e,t){const i=ni.textEnd;let s=ni.key=jo(e,t,i);return i===s?-1:(s=ni.keyEnd=function Fb(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=ni.value=jo(e,s,i),s=ni.valueEnd=function kb(e,t,i){let s=-1,c=-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===c&&76===s&&40===O?w=C=Jh(e,41,C,i):O>32&&(w=C),g=c,c=s,s=-33&O}return w}(e,s,i),Zh(e,s,i))}function Yh(e){ni.key=0,ni.keyEnd=0,ni.value=0,ni.valueEnd=0,ni.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 c=-1,g=i;for(;g<s;){const C=e.charCodeAt(g++);if(C==t&&92!==c)return g;c=92==C&&92===c?0:C}throw new Error}function Sc(e,t,i){return rr(e,t,i,!1),Sc}function Oc(e,t){return rr(e,t,null,!0),Oc}function ir(e){or(tp,Nb,e,!1)}function Nb(e,t){for(let i=function Rb(e){return Yh(e),Qh(e,jo(e,0,ni.textEnd))}(t);i>=0;i=Qh(t,i))tp(e,Gh(t),Pb(t))}function Xh(e){or(Ri,_r,e,!0)}function _r(e,t){for(let i=function Ab(e){return Yh(e),Kh(e,jo(e,0,ni.textEnd))}(t);i>=0;i=Kh(t,i))Ri(e,Gh(t),!0)}function rr(e,t,i,s){const c=Ct(),g=un(),C=D(2);g.firstUpdatePass&&ep(g,e,C,s),t!==en&&hi(c,C,t)&&np(g,g.data[Hn()],c,c[11],e,c[C+1]=function Ub(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(Ir(e)))),e}(t,i),s,C)}function or(e,t,i,s){const c=un(),g=D(2);c.firstUpdatePass&&ep(c,null,g,s);const C=Ct();if(i!==en&&hi(C,g,i)){const w=c.data[Hn()];if(rp(w,s)&&!qh(c,g)){let O=s?w.classesWithoutHost:w.stylesWithoutHost;null!==O&&(i=m(O,i||"")),dc(c,w,C,i,s)}else!function Hb(e,t,i,s,c,g,C,w){c===en&&(c=Dt);let O=0,H=0,X=0<c.length?c[0]:null,Ee=0<g.length?g[0]:null;for(;null!==X||null!==Ee;){const Be=O<c.length?c[O+1]:void 0,et=H<g.length?g[H+1]:void 0;let Pt,pt=null;X===Ee?(O+=2,H+=2,Be!==et&&(pt=Ee,Pt=et)):null===Ee||null!==X&&X<Ee?(O+=2,pt=X):(H+=2,pt=Ee,Pt=et),null!==pt&&np(e,t,i,s,pt,Pt,C,w),X=O<c.length?c[O]:null,Ee=H<g.length?g[H]:null}}(c,w,C,C[11],C[g+1],C[g+1]=function $b(e,t,i){if(null==i||""===i)return Dt;const s=[],c=Ir(i);if(Array.isArray(c))for(let g=0;g<c.length;g++)e(s,c[g],!0);else if("object"==typeof c)for(const g in c)c.hasOwnProperty(g)&&e(s,g,c[g]);else"string"==typeof c&&t(s,c);return s}(e,t,i),s,g)}}function qh(e,t){return t>=e.expandoStartIndex}function ep(e,t,i,s){const c=e.data;if(null===c[i+1]){const g=c[Hn()],C=qh(e,i);rp(g,s)&&null===t&&!C&&(t=!1),t=function Lb(e,t,i,s){const c=nt(e);let g=s?t.residualClasses:t.residualStyles;if(null===c)0===(s?t.classBindings:t.styleBindings)&&(i=ys(i=Ic(null,e,t,i,s),t.attrs,s),g=null);else{const C=t.directiveStylingLast;if(-1===C||e[C]!==c)if(i=Ic(c,e,t,i,s),null===g){let O=function jb(e,t,i){const s=i?t.classBindings:t.styleBindings;if(0!==Pr(s))return e[tr(s)]}(e,t,s);void 0!==O&&Array.isArray(O)&&(O=Ic(null,e,t,O[1],s),O=ys(O,t.attrs,s),function Bb(e,t,i,s){e[tr(i?t.classBindings:t.styleBindings)]=s}(e,t,s,O))}else g=function Vb(e,t,i){let s;const c=t.directiveEnd;for(let g=1+t.directiveStylingLast;g<c;g++)s=ys(s,e[g].hostAttrs,i);return ys(s,t.attrs,i)}(e,t,s)}return void 0!==g&&(s?t.residualClasses=g:t.residualStyles=g),i}(c,g,t,s),function Sb(e,t,i,s,c,g){let C=g?t.classBindings:t.styleBindings,w=tr(C),O=Pr(C);e[s]=i;let X,H=!1;if(Array.isArray(i)){const Ee=i;X=Ee[1],(null===X||mo(Ee,X)>0)&&(H=!0)}else X=i;if(c)if(0!==O){const Be=tr(e[w+1]);e[s+1]=ea(Be,w),0!==Be&&(e[Be+1]=Cl(e[Be+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]=Cl(e[w+1],s)),w=s;else e[s+1]=ea(O,0),0===w?w=s:e[O+1]=Cl(e[O+1],s),O=s;H&&(e[s+1]=bl(e[s+1])),Wh(e,X,s,!0),Wh(e,X,s,!1),function Ob(e,t,i,s,c){const g=c?e.residualClasses:e.residualStyles;null!=g&&"string"==typeof t&&mo(g,t)>=0&&(i[s+1]=El(i[s+1]))}(t,X,e,s,g),C=ea(w,O),g?t.classBindings=C:t.styleBindings=C}(c,g,t,i,C,s)}}function Ic(e,t,i,s,c){let g=null;const C=i.directiveEnd;let w=i.directiveStylingLast;for(-1===w?w=i.directiveStart:w++;w<C&&(g=t[w],s=ys(s,g.hostAttrs,c),g!==e);)w++;return null!==e&&(i.directiveStylingLast=w),s}function ys(e,t,i){const s=i?1:2;let c=-1;if(null!==t)for(let g=0;g<t.length;g++){const C=t[g];"number"==typeof C?c=C:c===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,Ir(i))}function np(e,t,i,s,c,g,C,w){if(!(3&t.type))return;const O=e.data,H=O[w+1];ma(function wf(e){return 1==(1&e)}(H)?ip(O,t,i,c,Pr(H),C):void 0)||(ma(g)||function Df(e){return 2==(2&e)}(H)&&(g=ip(O,null,i,c,w,C)),function Py(e,t,i,s,c){const g=En(e);if(t)c?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:gr.DashCase;if(null==c)g?e.removeStyle(i,s,C):i.style.removeProperty(s);else{const w="string"==typeof c&&c.endsWith("!important");w&&(c=c.slice(0,-10),C|=gr.Important),g?e.setStyle(i,s,c,C):i.style.setProperty(s,c,w?"important":"")}}}(s,C,ct(Hn(),i),c,g))}function ip(e,t,i,s,c,g){const C=null===t;let w;for(;c>0;){const O=e[c],H=Array.isArray(O),X=H?O[1]:O,Ee=null===X;let Be=i[c+1];Be===en&&(Be=Ee?Dt:void 0);let et=Ee?Ha(Be,s):X===s?Be:void 0;if(H&&!ma(et)&&(et=Ha(O,s)),ma(et)&&(w=et,C))return w;const pt=e[c+1];c=C?tr(pt):Pr(pt)}if(null!==t){let O=g?t.residualClasses:t.residualStyles;null!=O&&(w=Ha(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=Ct(),s=un(),c=e+20,g=s.firstCreatePass?Eo(s,c,1,t,null):s.data[c],C=i[c]=fl(i[11],t);Xs(s,i,C,g),Ai(g,!1)}function Pc(e){return ga("",e,""),Pc}function ga(e,t,i){const s=Ct(),c=Io(s,e,t,i);return c!==en&&Ar(s,Hn(),c),ga}function Ac(e,t,i,s,c){const g=Ct(),C=Po(g,e,t,i,s,c);return C!==en&&Ar(g,Hn(),C),Ac}function Rc(e,t,i,s,c,g,C){const w=Ct(),O=Ao(w,e,t,i,s,c,g,C);return O!==en&&Ar(w,Hn(),O),Rc}function xc(e,t,i,s,c,g,C,w,O){const H=Ct(),X=Ro(H,e,t,i,s,c,g,C,w,O);return X!==en&&Ar(H,Hn(),X),xc}function Fc(e,t,i,s,c,g,C,w,O,H,X){const Ee=Ct(),Be=xo(Ee,e,t,i,s,c,g,C,w,O,H,X);return Be!==en&&Ar(Ee,Hn(),Be),Fc}function kc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be){const et=Ct(),pt=Fo(et,e,t,i,s,c,g,C,w,O,H,X,Ee,Be);return pt!==en&&Ar(et,Hn(),pt),kc}function Nc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt){const Pt=Ct(),xt=ko(Pt,e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt);return xt!==en&&Ar(Pt,Hn(),xt),Nc}function Lc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt){const Bt=Ct(),bt=No(Bt,e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt);return bt!==en&&Ar(Bt,Hn(),bt),Lc}function jc(e){const t=Ct(),i=Oo(t,e);return i!==en&&Ar(t,Hn(),i),jc}function sp(e,t,i){or(Ri,_r,Io(Ct(),e,t,i),!0)}function ap(e,t,i,s,c){or(Ri,_r,Po(Ct(),e,t,i,s,c),!0)}function lp(e,t,i,s,c,g,C){or(Ri,_r,Ao(Ct(),e,t,i,s,c,g,C),!0)}function cp(e,t,i,s,c,g,C,w,O){or(Ri,_r,Ro(Ct(),e,t,i,s,c,g,C,w,O),!0)}function up(e,t,i,s,c,g,C,w,O,H,X){or(Ri,_r,xo(Ct(),e,t,i,s,c,g,C,w,O,H,X),!0)}function dp(e,t,i,s,c,g,C,w,O,H,X,Ee,Be){or(Ri,_r,Fo(Ct(),e,t,i,s,c,g,C,w,O,H,X,Ee,Be),!0)}function fp(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt){or(Ri,_r,ko(Ct(),e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt),!0)}function hp(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt){or(Ri,_r,No(Ct(),e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt),!0)}function pp(e){or(Ri,_r,Oo(Ct(),e),!0)}function mp(e,t,i){ir(Io(Ct(),e,t,i))}function gp(e,t,i,s,c){ir(Po(Ct(),e,t,i,s,c))}function vp(e,t,i,s,c,g,C){ir(Ao(Ct(),e,t,i,s,c,g,C))}function yp(e,t,i,s,c,g,C,w,O){ir(Ro(Ct(),e,t,i,s,c,g,C,w,O))}function _p(e,t,i,s,c,g,C,w,O,H,X){ir(xo(Ct(),e,t,i,s,c,g,C,w,O,H,X))}function bp(e,t,i,s,c,g,C,w,O,H,X,Ee,Be){ir(Fo(Ct(),e,t,i,s,c,g,C,w,O,H,X,Ee,Be))}function Cp(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt){ir(ko(Ct(),e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt))}function Ep(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt){ir(No(Ct(),e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt))}function Tp(e){ir(Oo(Ct(),e))}function Bc(e,t,i,s,c){return rr(e,Io(Ct(),t,i,s),c,!1),Bc}function Vc(e,t,i,s,c,g,C){return rr(e,Po(Ct(),t,i,s,c,g),C,!1),Vc}function $c(e,t,i,s,c,g,C,w,O){return rr(e,Ao(Ct(),t,i,s,c,g,C,w),O,!1),$c}function Hc(e,t,i,s,c,g,C,w,O,H,X){return rr(e,Ro(Ct(),t,i,s,c,g,C,w,O,H),X,!1),Hc}function Uc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be){return rr(e,xo(Ct(),t,i,s,c,g,C,w,O,H,X,Ee),Be,!1),Uc}function zc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt){return rr(e,Fo(Ct(),t,i,s,c,g,C,w,O,H,X,Ee,Be,et),pt,!1),zc}function Wc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt){return rr(e,ko(Ct(),t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt),xt,!1),Wc}function Gc(e,t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt,Bt,bt){return rr(e,No(Ct(),t,i,s,c,g,C,w,O,H,X,Ee,Be,et,pt,Pt,xt,Bt),bt,!1),Gc}function Kc(e,t,i){return rr(e,Oo(Ct(),t),i,!1),Kc}function Qc(e,t,i){const s=Ct();return hi(s,E(),t)&&xi(un(),ln(),s,e,t,s[11],i,!0),Qc}function Yc(e,t,i){const s=Ct();if(hi(s,E(),t)){const g=un(),C=ln();xi(g,C,s,e,t,Jf(nt(g.data),C,s),i,!0)}return Yc}const eo=void 0;var Wb=["en",[["a","p"],["AM","PM"],eo],[["AM","PM"],eo,eo],[["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"]],eo,[["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"]],eo,[["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}",eo,"{1} 'at' {0}",eo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function zb(e){const i=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===s?1:5}];let Bo={};function Gb(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 Zc(e){const t=function Yb(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 Wb;throw new Error(`Missing locale data for the locale "${e}".`)}function Kb(e){return Zc(e)[Qt.CurrencyCode]||null}function Dp(e){return Zc(e)[Qt.PluralCase]}function wp(e){return e in Bo||(Bo[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),Bo[e]}function Qb(){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 Zb=["zero","one","two","few","many"],_s="en-US",va={marker:"element"},ya={marker:"ICU"};var zn=(()=>((zn=zn||{})[zn.SHIFT=2]="SHIFT",zn[zn.APPEND_EAGERLY=1]="APPEND_EAGERLY",zn[zn.COMMENT=2]="COMMENT",zn))();let Mp=_s;function Sp(e){(function it(e,t){null==e&&st(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,c=Array.isArray(s)?s[0]:s;return null===c?cf(e,0,i):x(i[c])}function Ip(e,t,i,s,c){const g=t.insertBeforeIndex;if(Array.isArray(g)){let C=s,w=null;if(3&t.type||(w=C,C=c),null!==C&&0==(2&t.flags))for(let O=1;O<g.length;O++)Xr(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)||e0(s,t)&&null===t0(s)&&n0(s,t.index)}}function Ap(e){return!(64&e.type)}function e0(e,t){return Ap(t)||e.index>t.index}function t0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function n0(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(df(Op,Ip),e.insertBeforeIndex=t)}function bs(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function s0(e,t,i){const s=Al(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 Cs=0,Es=0;function kp(e,t,i,s){const c=i[11];let C,g=null;for(let w=0;w<t.length;w++){const O=t[w];if("string"==typeof O){const H=t[++w];null===i[H]&&(i[H]=fl(c,O))}else if("number"==typeof O)switch(1&O){case 0:const H=Rp(O);let X,Ee;if(null===g&&(g=H,C=Js(c,s)),H===g?(X=s,Ee=C):(X=null,Ee=x(i[H])),null!==Ee){const Pt=xp(O);Xr(c,Ee,i[Pt],X,!1);const Bt=bs(e,Pt);if(null!==Bt&&"object"==typeof Bt){const bt=_a(Bt,i);null!==bt&&kp(e,Bt.create[bt],i,i[Bt.anchorIdx])}}break;case 1:const et=t[++w],pt=t[++w];kl(c,ct(O>>>1,i),null,null,et,pt,null)}else switch(O){case ya:const H=t[++w],X=t[++w];null===i[X]&&fi(i[X]=vy(c,H),i);break;case va:const Ee=t[++w],Be=t[++w];null===i[Be]&&fi(i[Be]=hl(c,Ee,null),i)}}}function Np(e,t,i,s,c){for(let g=0;g<i.length;g++){const C=i[g],w=i[++g];if(C&c){let O="";for(let H=g+1;H<=g+w;H++){const X=i[H];if("string"==typeof X)O+=X;else if("number"==typeof X)if(X<0)O+=I(t[s-X]);else{const Ee=X>>>2;switch(3&X){case 1:const Be=i[++H],et=i[++H],pt=e.data[Ee];"string"==typeof pt?kl(t[11],t[Ee],null,pt,Be,O,et):xi(e,pt,t,Be,O,t[11],et,!1);break;case 0:const Pt=t[Ee];null!==Pt&&qd(t[11],Pt,O);break;case 2:d0(e,bs(e,Ee),t,O);break;case 3:Lp(e,bs(e,Ee),s,t)}}}}else{const O=i[g+1];if(O>0&&3==(3&O)){const X=bs(e,O>>>2);t[X.currentCaseLViewIndex]<0&&Lp(e,X,s,t)}}g+=w}}function Lp(e,t,i,s){let c=s[t.currentCaseLViewIndex];if(null!==c){let g=Cs;c<0&&(c=s[t.currentCaseLViewIndex]=~c,g=-1),Np(e,s,t.update[c],i,g)}}function d0(e,t,i,s){const c=function f0(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const s=function Jb(e,t){const i=Dp(t)(parseInt(e,10)),s=Zb[i];return void 0!==s?s:"other"}(t,function qb(){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)!==c&&(jp(e,t,i),i[t.currentCaseLViewIndex]=null===c?null:~c,null!==c)){const C=i[t.anchorIdx];C&&kp(e,t.create[c],i,C)}}function jp(e,t,i){let s=_a(t,i);if(null!==s){const c=t.remove[s];for(let g=0;g<c.length;g++){const C=c[g];if(C>0){const w=ct(C,i);null!==w&&hf(i[11],w)}else jp(e,bs(e,~C),i)}}}function h0(){const e=[];let i,s,t=-1;function g(w,O){t=0;const H=_a(w,O);s=null!==H?w.remove[H]:Dt}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 c(w,O){for(i=O;e.length;)e.pop();return g(w.value,O),C}}const ba=/\ufffd(\d+):?\d*\ufffd/gi,p0=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,m0=/\ufffd(\d+)\ufffd/,Vp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,g0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,v0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,y0=/\uE500/g;function $p(e,t,i,s,c,g,C){const w=To(e,s,1,null);let O=w<<zn.SHIFT,H=Gr();t===H&&(H=null),null===H&&(O|=zn.APPEND_EAGERLY),C&&(O|=zn.COMMENT,function gy(e){void 0===ll&&(ll=e())}(h0)),c.push(O,null===g?"":g);const X=Al(e,w,C?32:1,null===g?"":g,null);Pp(i,X);const Ee=X.index;return Ai(X,!1),null!==H&&t!==H&&function o0(e,t){let i=e.insertBeforeIndex;null===i?(df(Op,Ip),i=e.insertBeforeIndex=[null,t]):(function We(e,t,i){e!=t&&st(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}(H,Ee),X}function C0(e,t,i,s,c,g,C){const w=C.match(ba),O=$p(e,t,i,g,s,w?null:C,!1);w&&Vo(c,C,O.index,null,0,null)}function Vo(e,t,i,s,c,g){const C=e.length,w=C+1;e.push(null,null);const O=C+2,H=t.split(ba);let X=0;for(let Ee=0;Ee<H.length;Ee++){const Be=H[Ee];if(1&Ee){const et=c+parseInt(Be,10);e.push(-1-et),X|=Hp(et)}else""!==Be&&e.push(Be)}return e.push(i<<2|(s?1:0)),s&&e.push(s,g),e[C]=X,e[w]=e.length-O,X}function T0(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,c=!1;for(;null!==(t=g0.exec(e));)c?t[0]===`\ufffd/*${g}\ufffd`&&(s=t.index,c=!1):(i+=e.substring(s,t.index+t[0].length),g=t[1],c=!0);return i+=e.substr(s),i}function zp(e,t,i,s,c,g){let C=0;const w={type:c.type,currentCaseLViewIndex:To(e,t,1,null),anchorIdx:g,cases:[],create:[],remove:[],update:[]};(function I0(e,t,i){e.push(Hp(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,c,g),function r0(e,t,i){const s=e.data[t];null===s?e.data[t]=i:s.value=i}(e,g,w);const O=c.values;for(let H=0;H<O.length;H++){const X=O[H],Ee=[];for(let Be=0;Be<X.length;Be++){const et=X[Be];if("string"!=typeof et){const pt=Ee.push(et)-1;X[Be]=`\x3c!--\ufffd${pt}\ufffd--\x3e`}}C=S0(e,w,t,i,s,c.cases[H],X.join(""),Ee)|C}C&&function P0(e,t,i){e.push(t,1,i<<2|3)}(i,C,g)}function M0(e){const t=[],i=[];let s=1,c=0;const g=Jc(e=e.replace(Vp,function(C,w,O){return s="select"===O?0:1,c=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=Jc(g[C++]);t.length>i.length&&i.push(O)}return{type:s,mainBinding:c,cases:t,values:i}}function Jc(e){if(!e)return[];let t=0;const i=[],s=[],c=/[{}]/g;let g;for(c.lastIndex=0;g=c.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(M0(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 S0(e,t,i,s,c,g,C,w){const O=[],H=[],X=[];t.cases.push(g),t.create.push(O),t.remove.push(H),t.update.push(X);const Be=Td(Jn()).getInertBodyElement(C),et=tl(Be)||Be;return et?Wp(e,t,i,s,O,H,X,et,c,w,0):0}function Wp(e,t,i,s,c,g,C,w,O,H,X){let Ee=0,Be=w.firstChild;for(;Be;){const et=To(e,i,1,null);switch(Be.nodeType){case Node.ELEMENT_NODE:const pt=Be,Pt=pt.tagName.toLowerCase();if(Xa.hasOwnProperty(Pt)){Xc(c,va,Pt,O,et),e.data[et]=Pt;const Wt=pt.attributes;for(let dn=0;dn<Wt.length;dn++){const Tn=Wt.item(dn),Fi=Tn.name.toLowerCase();Tn.value.match(ba)?Od.hasOwnProperty(Fi)&&Vo(C,Tn.value,et,Tn.name,0,qa[Fi]?os:el[Fi]?Dd:null):A0(c,et,Tn)}Ee=Wp(e,t,i,s,c,g,C,Be,et,H,X+1)|Ee,Gp(g,et,X)}break;case Node.TEXT_NODE:const xt=Be.textContent||"",Bt=xt.match(ba);Xc(c,null,Bt?"":xt,O,et),Gp(g,et,X),Bt&&(Ee=Vo(C,xt,et,null,0,null)|Ee);break;case Node.COMMENT_NODE:const bt=m0.exec(Be.textContent||"");if(bt){const dn=H[parseInt(bt[1],10)];Xc(c,ya,"",O,et),zp(e,i,s,O,dn,et),O0(g,et,X)}}Be=Be.nextSibling}return Ee}function Gp(e,t,i){0===i&&e.push(t)}function O0(e,t,i){0===i&&(e.push(~t),e.push(t))}function Xc(e,t,i,s,c){null!==t&&e.push(t),e.push(i,c,function a0(e,t,i){return e|t<<17|i<<1}(0,s,c))}function A0(e,t,i){e.push(t<<1|1,i.name,i.value)}const R0=/\[(\ufffd.+?\ufffd?)\]/,x0=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,F0=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,k0=/{([A-Z0-9_]+)}/g,N0=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,L0=/\/\*/,j0=/\d+\:(\d+)/;function qc(e,t,i=-1){const s=un(),c=Ct(),g=20+e,C=On(s.consts,t),w=Gr();s.firstCreatePass&&function b0(e,t,i,s,c,g){const C=Gr(),w=[],O=[],H=[[]];c=function w0(e,t){if(function D0(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))}}(c,g);const X=function _0(e){return e.replace(y0," ")}(c).split(v0);for(let Ee=0;Ee<X.length;Ee++){let Be=X[Ee];if(0==(1&Ee)){const et=Jc(Be);for(let pt=0;pt<et.length;pt++){let Pt=et[pt];if(0==(1&pt)){const xt=Pt;""!==xt&&C0(e,C,H[0],w,O,i,xt)}else{const xt=Pt;if("object"!=typeof xt)throw new Error(`Unable to parse ICU expression in "${c}" message.`);zp(e,i,O,t,xt,$p(e,C,H[0],i,w,"",!0).index)}}}else{const et=47===Be.charCodeAt(0),Pt=(Be.charCodeAt(et?1:0),20+Number.parseInt(Be.substring(et?2:1)));if(et)H.shift(),Ai(Gr(),!1);else{const xt=s0(e,H[0],Pt);H.unshift([]),Ai(xt,!0)}}}e.data[s]={create:w,update:O}}(s,null===w?0:w.index,c,g,C,i);const O=s.data[g],X=rf(s,w===c[6]?null:w,c);(function u0(e,t,i,s){const c=e[11];for(let g=0;g<t.length;g++){const C=t[g++],w=t[g],O=(C&zn.COMMENT)===zn.COMMENT,H=(C&zn.APPEND_EAGERLY)===zn.APPEND_EAGERLY,X=C>>>zn.SHIFT;let Ee=e[X];null===Ee&&(Ee=e[X]=O?c.createComment(w):fl(c,w)),H&&null!==i&&Xr(c,i,Ee,s,!1)}})(c,O.create,X,w&&8&w.type?c[w.index]:null),Z(!0)}function eu(){Z(!1)}function Qp(e,t,i){qc(e,t,i),eu()}function Yp(e,t){const i=un();!function E0(e,t,i){const c=Vn().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(p0.test(O))throw new Error(`ICU expressions are not supported in attributes. Message: "${O}".`);Vo(g,O,c,w,T0(g),null)}}e.data[t]=g}}(i,e+20,On(i.consts,t))}function tu(e){return function l0(e){e&&(Cs|=1<<Math.min(Es,31)),Es++}(hi(Ct(),E(),e)),tu}function Zp(e){!function c0(e,t,i){if(Es>0){const s=e.data[i];Np(e,t,Array.isArray(s)?s:s.update,qi()-Es-1,Cs)}Cs=0,Es=0}(un(),Ct(),e+20)}function Jp(e,t={}){return function B0(e,t={}){let i=e;if(R0.test(e)){const s={},c=[0];i=i.replace(x0,(g,C,w)=>{const O=C||w,H=s[O]||[];if(H.length||(O.split("|").forEach(Pt=>{const xt=Pt.match(j0),Bt=xt?parseInt(xt[1],10):0,bt=L0.test(Pt);H.push([Bt,bt,Pt])}),s[O]=H),!H.length)throw new Error(`i18n postprocess: unmatched placeholder - ${O}`);const X=c[c.length-1];let Ee=0;for(let Pt=0;Pt<H.length;Pt++)if(H[Pt][0]===X){Ee=Pt;break}const[Be,et,pt]=H[Ee];return et?c.pop():X!==Be&&c.push(Be),H.splice(Ee,1),pt})}return Object.keys(t).length&&(i=i.replace(F0,(s,c,g,C,w,O)=>t.hasOwnProperty(g)?`${c}${t[g]}${O}`:s),i=i.replace(k0,(s,c)=>t.hasOwnProperty(c)?t[c]:s),i=i.replace(N0,(s,c)=>{if(t.hasOwnProperty(c)){const g=t[c];if(!g.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${c}`);return g.shift()}return s})),i}(e,t)}function nu(e,t,i,s,c){if(e=v(e),Array.isArray(e))for(let g=0;g<e.length;g++)nu(e[g],t,i,s,c);else{const g=un(),C=Ct();let w=Mo(e)?e:v(e.provide),O=oh(e);const H=Vn(),X=1048575&H.providerIndexes,Ee=H.directiveStart,Be=H.providerIndexes>>20;if(Mo(e)||!e.multi){const et=new ui(O,c,vs),pt=ru(w,t,c?X:X+Be,Ee);-1===pt?(js(Zo(H,C),g,w),iu(g,e,t.length),t.push(w),H.directiveStart++,H.directiveEnd++,c&&(H.providerIndexes+=1048576),i.push(et),C.push(et)):(i[pt]=et,C[pt]=et)}else{const et=ru(w,t,X+Be,Ee),pt=ru(w,t,X,X+Be),Pt=et>=0&&i[et],xt=pt>=0&&i[pt];if(c&&!xt||!c&&!Pt){js(Zo(H,C),g,w);const Bt=function U0(e,t,i,s,c){const g=new ui(e,i,vs);return g.multi=[],g.index=t,g.componentProviders=0,Xp(g,c,s&&!i),g}(c?H0:$0,i.length,c,s,O);!c&&xt&&(i[pt].providerFactory=Bt),iu(g,e,t.length,0),t.push(w),H.directiveStart++,H.directiveEnd++,c&&(H.providerIndexes+=1048576),i.push(Bt),C.push(Bt)}else iu(g,e,et>-1?et:pt,Xp(i[c?pt:et],O,!c&&s));!c&&s&&xt&&i[pt].componentProviders++}}}function iu(e,t,i,s){const c=Mo(t),g=function A_(e){return!!e.useClass}(t);if(c||g){const O=(g?v(t.useClass):t).prototype.ngOnDestroy;if(O){const H=e.destroyHooks||(e.destroyHooks=[]);if(!c&&t.multi){const X=H.indexOf(i);-1===X?H.push(i,[s,O]):H[X+1].push(s,O)}else H.push(i,O)}}}function Xp(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function ru(e,t,i,s){for(let c=i;c<s;c++)if(t[c]===e)return c;return-1}function $0(e,t,i,s){return ou(this.multi,[])}function H0(e,t,i,s){const c=this.multi;let g;if(this.providerFactory){const C=this.providerFactory.componentProviders,w=Jo(i,i[1],this.providerFactory.index,s);g=w.slice(0,C),ou(c,g);for(let O=C;O<w.length;O++)g.push(w[O])}else g=[],ou(c,g);return g}function ou(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,c)=>function V0(e,t,i){const s=un();if(s.firstCreatePass){const c=Qn(e);nu(i,s.data,s.blueprint,c,!0),nu(t,s.data,s.blueprint,c,!1)}}(s,c?c(e):e,t)}}class em{}class Ca{}class W0{resolveComponentFactory(t){throw function z0(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 W0,e})();function G0(){return $o(Vn(),Ct())}function $o(e,t){return new Ds(gt(e,t))}let Ds=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=G0,e})();function K0(e){return e instanceof Ds?e.nativeElement:e}class nm{}let Q0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Z0(){const e=Ct(),i=rn(Vn().index,e);return function Y0(e){return e[11]}(wn(i)?i:e)}(),e})(),im=(()=>{class e{}return e.\u0275prov=qe({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.11"),Ta={};function Da(e,t,i,s,c=!1){for(;null!==i;){const g=t[i.index];if(null!==g&&s.push(x(g)),Ln(g))for(let w=10;w<g.length;w++){const O=g[w],H=O[1].firstChild;null!==H&&Da(O[1],O,H,s)}const C=i.type;if(8&C)Da(e,t,i.child,s);else if(32&C){const w=cl(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=cs(t[16]);Da(O[1],O,w,s,!0)}}i=c?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(Ln(t)){const i=t[8],s=i?i.indexOf(this):-1;s>-1&&(pl(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(){Ll(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Bl(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function by(e,t){us(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 J0 extends Ho{constructor(t){super(t),this._view=t}detectChanges(){!function Qf(e){jl(e[8])}(this._view)}checkNoChanges(){}get context(){return null}}class sm extends Ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=Ie(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,c){const g=(c=c||this.ngModule)?function q0(e,t){return{get:(i,s,c)=>{const g=e.get(i,Ta,c);return g!==Ta||s===Ta?g:t.get(i,s,c)}}}(t,c.injector):t,C=g.get(nm,F),w=g.get(im,null),O=C.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",X=s?jf(O,s,this.componentDef.encapsulation):hl(C.createRenderer(null,this.componentDef),H,function X0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?Bn:null}(H)),Ee=this.componentDef.onPush?576:528,Be=vh(),et=ia(0,null,null,1,0,null,null,null,null,null),pt=ds(null,et,Be,Ee,null,null,C,O,w,g);let Pt,xt;on(pt);try{const Bt=mh(X,this.componentDef,pt,C,O);if(X)if(s)zi(O,X,["ng-version",om.full]);else{const{attrs:bt,classes:Wt}=function $y(e){const t=[],i=[];let s=1,c=2;for(;s<e.length;){let g=e[s];if("string"==typeof g)2===c?""!==g&&t.push(g,e[++s]):8===c&&i.push(g);else{if(!er(c))break;c=g}s++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);bt&&zi(O,X,bt),Wt&&Wt.length>0&&_l(O,X,Wt.join(" "))}if(xt=bn(et,20),void 0!==i){const bt=xt.projection=[];for(let Wt=0;Wt<this.ngContentSelectors.length;Wt++){const dn=i[Wt];bt.push(null!=dn?Array.from(dn):null)}}Pt=gh(Bt,this.componentDef,pt,Be,[yh]),fs(et,pt,null)}finally{kn()}return new lm(this.componentType,Pt,$o(xt,pt),pt,xt)}}class lm extends em{constructor(t,i,s,c,g){super(),this.location=s,this._rootLView=c,this._tNode=g,this.instance=i,this.hostView=this.changeDetectorRef=new J0(c),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 c=e;null!==t&&(c.hasOwnProperty("decorators")&&void 0!==c.decorators?c.decorators.push(...t):c.decorators=t),null!==i&&(c.ctorParameters=i),null!==s&&(c.propDecorators=c.hasOwnProperty("propDecorators")&&void 0!==c.propDecorators?Object.assign(Object.assign({},c.propDecorators),s):s)})}class Uo{}class um{}const zo=new Map;function fm(e){const t=new Set;!function i(s){const c=kt(s,!0),g=c.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=mr(c.imports);for(const w of C)t.has(w)||(t.add(w),i(w))}(e)}function hm(e){return zo.get(e)||He[e]}function tC(e,t){return new su(e,null!=t?t:null)}class su extends Uo{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sm(this);const s=kt(t);this._bootstrapComponents=mr(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=nr.THROW_IF_NOT_FOUND,s=j.Default){return t===nr||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!==kt(t)&&fm(t)}create(t){return new su(this.moduleType,t)}}function pm(e,t,i){const s=oi()+e,c=Ct();return c[s]===en?yr(c,s,i?t.call(i):t()):ms(c,s)}function mm(e,t,i,s){return Dm(Ct(),oi(),e,t,i,s)}function gm(e,t,i,s,c){return wm(Ct(),oi(),e,t,i,s,c)}function vm(e,t,i,s,c,g){return Mm(Ct(),oi(),e,t,i,s,c,g)}function ym(e,t,i,s,c,g,C){return Sm(Ct(),oi(),e,t,i,s,c,g,C)}function _m(e,t,i,s,c,g,C,w){const O=oi()+e,H=Ct(),X=Ki(H,O,i,s,c,g);return hi(H,O+4,C)||X?yr(H,O+5,w?t.call(w,i,s,c,g,C):t(i,s,c,g,C)):ms(H,O+5)}function bm(e,t,i,s,c,g,C,w,O){const H=oi()+e,X=Ct(),Ee=Ki(X,H,i,s,c,g);return qr(X,H+4,C,w)||Ee?yr(X,H+6,O?t.call(O,i,s,c,g,C,w):t(i,s,c,g,C,w)):ms(X,H+6)}function Cm(e,t,i,s,c,g,C,w,O,H){const X=oi()+e,Ee=Ct();let Be=Ki(Ee,X,i,s,c,g);return la(Ee,X+4,C,w,O)||Be?yr(Ee,X+7,H?t.call(H,i,s,c,g,C,w,O):t(i,s,c,g,C,w,O)):ms(Ee,X+7)}function Em(e,t,i,s,c,g,C,w,O,H,X){const Ee=oi()+e,Be=Ct(),et=Ki(Be,Ee,i,s,c,g);return Ki(Be,Ee+4,C,w,O,H)||et?yr(Be,Ee+8,X?t.call(X,i,s,c,g,C,w,O,H):t(i,s,c,g,C,w,O,H)):ms(Be,Ee+8)}function Tm(e,t,i,s){return Om(Ct(),oi(),e,t,i,s)}function ws(e,t){const i=e[t];return i===en?void 0:i}function Dm(e,t,i,s,c,g){const C=t+i;return hi(e,C,c)?yr(e,C+1,g?s.call(g,c):s(c)):ws(e,C+1)}function wm(e,t,i,s,c,g,C){const w=t+i;return qr(e,w,c,g)?yr(e,w+2,C?s.call(C,c,g):s(c,g)):ws(e,w+2)}function Mm(e,t,i,s,c,g,C,w){const O=t+i;return la(e,O,c,g,C)?yr(e,O+3,w?s.call(w,c,g,C):s(c,g,C)):ws(e,O+3)}function Sm(e,t,i,s,c,g,C,w,O){const H=t+i;return Ki(e,H,c,g,C,w)?yr(e,H+4,O?s.call(O,c,g,C,w):s(c,g,C,w)):ws(e,H+4)}function Om(e,t,i,s,c,g){let C=t+i,w=!1;for(let O=0;O<c.length;O++)hi(e,C++,c[O])&&(w=!0);return w?yr(e,C,s.apply(g,c)):ws(e,C)}function Im(e,t){const i=un();let s;const c=e+20;i.firstCreatePass?(s=function nC(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[c]=s,s.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(c,s.onDestroy)):s=i.data[c];const g=s.factory||(s.factory=Zn(s.type)),C=tt(vs);try{const w=Ns(!1),O=g();return Ns(w),Th(i,Ct(),c,O),O}finally{tt(C)}}function Pm(e,t,i){const s=e+20,c=Ct(),g=cn(c,s);return Ms(c,s)?Dm(c,oi(),t,g.transform,i,g):g.transform(i)}function Am(e,t,i,s){const c=e+20,g=Ct(),C=cn(g,c);return Ms(g,c)?wm(g,oi(),t,C.transform,i,s,C):C.transform(i,s)}function Rm(e,t,i,s,c){const g=e+20,C=Ct(),w=cn(C,g);return Ms(C,g)?Mm(C,oi(),t,w.transform,i,s,c,w):w.transform(i,s,c)}function xm(e,t,i,s,c,g){const C=e+20,w=Ct(),O=cn(w,C);return Ms(w,C)?Sm(w,oi(),t,O.transform,i,s,c,g,O):O.transform(i,s,c,g)}function Fm(e,t,i){const s=e+20,c=Ct(),g=cn(c,s);return Ms(c,s)?Om(c,oi(),t,g.transform,i,g):g.transform.apply(g,i)}function Ms(e,t){return e[1].data[t].pure}function au(e){return t=>{setTimeout(e,void 0,t)}}const br=class iC extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,s){var c,g,C;let w=t,O=i||(()=>null),H=s;if(t&&"object"==typeof t){const Ee=t;w=null===(c=Ee.next)||void 0===c?void 0:c.bind(Ee),O=null===(g=Ee.error)||void 0===g?void 0:g.bind(Ee),H=null===(C=Ee.complete)||void 0===C?void 0:C.bind(Ee)}this.__isAsync&&(O=au(O),w&&(w=au(w)),H&&(H=au(H)));const X=super.subscribe({next:w,error:O,complete:H});return t instanceof h.w0&&t.add(X),X}};function rC(){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]=rC)}get changes(){return this._changes||(this._changes=new br)}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 c=Wi(t);(this._changesDetected=!function lv(e,t,i){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++){let c=e[s],g=t[s];if(i&&(c=i(c),g=i(g)),g!==c)return!1}return!0}(s._results,c,i))&&(s._results=c,s.length=c.length,s.last=c[this.length-1],s.first=c[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 Ss=(()=>{class e{}return e.__NG_ELEMENT_ID__=aC,e})();const oC=Ss,sC=class extends oC{constructor(t,i,s){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=s}createEmbeddedView(t){const i=this._declarationTContainer.tViews,s=ds(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)),fs(i,s,t),new Ho(s)}};function aC(){return Oa(Vn(),Ct())}function Oa(e,t){return 4&e.type?new sC(t,e,$o(e,t)):null}let Ia=(()=>{class e{}return e.__NG_ELEMENT_ID__=lC,e})();function lC(){return Lm(Vn(),Ct())}const cC=Ia,km=class extends cC{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 c=t.createEmbeddedView(i||{});return this.insert(c,s),c}createComponent(t,i,s,c,g){const C=t&&!qo(t);let w;if(C)w=i;else{const Ee=i||{};w=Ee.index,s=Ee.injector,c=Ee.projectableNodes,g=Ee.ngModuleRef}const O=C?t:new wa(Ie(t)),H=s||this.parentInjector;if(!g&&null==O.ngModule){const Be=(C?H:this.parentInjector).get(Uo,null);Be&&(g=Be)}const X=O.create(H,c,void 0,g);return this.insert(X.hostView,w),X}insert(t,i){const s=t._lView,c=s[1];if(function _n(e){return Ln(e[3])}(s)){const X=this.indexOf(t);if(-1!==X)this.detach(X);else{const Ee=s[3],Be=new km(Ee,Ee[6],Ee[3]);Be.detach(Be.indexOf(t))}}const g=this._adjustIndex(i),C=this._lContainer;!function Ey(e,t,i,s){const c=10+s,g=i.length;s>0&&(i[c-1][4]=t),s<g-10?(t[4]=i[c],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}(c,s,C,g);const w=vl(g,C),O=s[11],H=Js(O,C[7]);return null!==H&&function _y(e,t,i,s,c,g){s[0]=c,s[6]=t,us(e,s,i,1,c,g)}(c,C[6],O,s,H,w),t.attachToViewContainerRef(),ad(lu(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=pl(this._lContainer,i);s&&($s(lu(this._lContainer),i),tf(s[1],s))}detach(t){const i=this._adjustIndex(t,-1),s=pl(this._lContainer,i);return s&&null!=$s(lu(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 lu(e){return e[8]||(e[8]=[])}function Lm(e,t){let i;const s=t[e.index];if(Ln(s))i=s;else{let c;if(8&e.type)c=x(s);else{const g=t[11];c=g.createComment("");const C=gt(e,t);Xr(g,Js(g,C),c,function Sy(e,t){return En(e)?e.nextSibling(t):t.nextSibling}(g,C),!1)}t[e.index]=i=Kf(s,t,c,e),ra(t,i)}return new km(i,e,t)}class cu{constructor(t){this.queryList=t,this.matches=null}clone(){return new cu(this.queryList)}setDirty(){this.queryList.setDirty()}}class uu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const s=null!==t.contentQueries?t.contentQueries[0]:i.length,c=[];for(let g=0;g<s;g++){const C=i.getByIndex(g);c.push(this.queries[C.indexInDeclarationView].clone())}return new uu(c)}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 du{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 c=null!==i?i.length:0,g=this.getByIndex(s).embeddedTView(t,c);g&&(g.indexInDeclarationView=s,null!==i?i.push(g):i=[g])}return null!==i?new du(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 fu{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 fu(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 c=0;c<s.length;c++){const g=s[c];this.matchTNodeWithReadOption(t,i,fC(i,g)),this.matchTNodeWithReadOption(t,i,Bs(i,t,g,!1,!1))}else s===Ss?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 c=this.metadata.read;if(null!==c)if(c===Ds||c===Ia||c===Ss&&4&i.type)this.addMatch(i.index,-2);else{const g=Bs(i,t,c,!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 fC(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 pC(e,t,i,s){return-1===i?function hC(e,t){return 11&e.type?$o(e,t):4&e.type?Oa(e,t):null}(t,e):-2===i?function mC(e,t,i){return i===Ds?$o(t,e):i===Ss?Oa(t,e):i===Ia?Lm(t,e):void 0}(e,t,s):Jo(e,e[1],i,t)}function Bm(e,t,i,s){const c=t[19].queries[s];if(null===c.matches){const g=e.data,C=i.matches,w=[];for(let O=0;O<C.length;O+=2){const H=C[O];w.push(H<0?null:pC(t,g[H],C[O+1],i.metadata.read))}c.matches=w}return c.matches}function hu(e,t,i,s){const c=e.queries.getByIndex(i),g=c.matches;if(null!==g){const C=Bm(e,t,c,i);for(let w=0;w<g.length;w+=2){const O=g[w];if(O>0)s.push(C[w/2]);else{const H=g[w+1],X=t[-O];for(let Ee=10;Ee<X.length;Ee++){const Be=X[Ee];Be[17]===Be[3]&&hu(Be[1],Be,H,s)}if(null!==X[9]){const Ee=X[9];for(let Be=0;Be<Ee.length;Be++){const et=Ee[Be];hu(et[1],et,H,s)}}}}}return s}function Vm(e){const t=Ct(),i=un(),s=mt();Ft(s+1);const c=Gm(i,s);if(e.dirty&&sn(t)===(2==(2&c.metadata.flags))){if(null===c.matches)e.reset([]);else{const g=c.crossesNgTemplate?hu(i,t,s,[]):Bm(i,t,c,s);e.reset(g,K0),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,Ct(),t)}function Hm(e,t,i,s){const c=un();if(c.firstCreatePass){const g=Vn();Wm(c,new jm(t,i,s),g.index),function vC(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(c,e),2==(2&i)&&(c.staticContentQueries=!0)}zm(c,Ct(),i)}function Um(){return function gC(e,t){return e[19].queries[t].queryList}(Ct(),mt())}function zm(e,t,i){const s=new Sa(4==(4&i));Bf(e,t,s,s.destroy),null===t[19]&&(t[19]=new uu),t[19].queries.push(new cu(s))}function Wm(e,t,i){null===e.queries&&(e.queries=new du),e.queries.track(new fu(t,i))}function Gm(e,t){return e.queries.getByIndex(t)}function Km(e,t){return Oa(e,t)}const _i=(()=>({\u0275\u0275attribute:Jl,\u0275\u0275attributeInterpolate1:Xl,\u0275\u0275attributeInterpolate2:ql,\u0275\u0275attributeInterpolate3:ec,\u0275\u0275attributeInterpolate4:tc,\u0275\u0275attributeInterpolate5:nc,\u0275\u0275attributeInterpolate6:ic,\u0275\u0275attributeInterpolate7:rc,\u0275\u0275attributeInterpolate8:oc,\u0275\u0275attributeInterpolateV:sc,\u0275\u0275defineComponent:Ce,\u0275\u0275defineDirective:re,\u0275\u0275defineInjectable:qe,\u0275\u0275defineInjector:Qe,\u0275\u0275defineNgModule:_t,\u0275\u0275definePipe:K,\u0275\u0275directiveInject:vs,\u0275\u0275getInheritedFactory:rd,\u0275\u0275inject:li,\u0275\u0275injectAttribute:Va,\u0275\u0275invalidFactory:Nh,\u0275\u0275invalidFactoryDep:Ka,\u0275\u0275templateRefExtractor:Km,\u0275\u0275NgOnChangesFeature:Ei,\u0275\u0275ProvidersFeature:qp,\u0275\u0275CopyDefinitionFeature:bh,\u0275\u0275InheritDefinitionFeature:Ql,\u0275\u0275nextContext:Hh,\u0275\u0275namespaceHTML:Ui,\u0275\u0275namespaceMathML:Hi,\u0275\u0275namespaceSVG:$i,\u0275\u0275enableBindings:Mr,\u0275\u0275disableBindings:Wr,\u0275\u0275elementStart:ua,\u0275\u0275elementEnd:da,\u0275\u0275element:fc,\u0275\u0275elementContainerStart:fa,\u0275\u0275elementContainerEnd:ha,\u0275\u0275elementContainer:hc,\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:mc,\u0275\u0275projection:zh,\u0275\u0275syntheticHostProperty:Yc,\u0275\u0275syntheticHostListener:gc,\u0275\u0275pipeBind1:Pm,\u0275\u0275pipeBind2:Am,\u0275\u0275pipeBind3:Rm,\u0275\u0275pipeBind4:xm,\u0275\u0275pipeBindV:Fm,\u0275\u0275projectionDef:Uh,\u0275\u0275hostProperty:Qc,\u0275\u0275property:uc,\u0275\u0275propertyInterpolate:yc,\u0275\u0275propertyInterpolate1:pa,\u0275\u0275propertyInterpolate2:_c,\u0275\u0275propertyInterpolate3:bc,\u0275\u0275propertyInterpolate4:Cc,\u0275\u0275propertyInterpolate5:Ec,\u0275\u0275propertyInterpolate6:Tc,\u0275\u0275propertyInterpolate7:Dc,\u0275\u0275propertyInterpolate8:wc,\u0275\u0275propertyInterpolateV:Mc,\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:ir,\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:Sc,\u0275\u0275stylePropInterpolate1:Bc,\u0275\u0275stylePropInterpolate2:Vc,\u0275\u0275stylePropInterpolate3:$c,\u0275\u0275stylePropInterpolate4:Hc,\u0275\u0275stylePropInterpolate5:Uc,\u0275\u0275stylePropInterpolate6:zc,\u0275\u0275stylePropInterpolate7:Wc,\u0275\u0275stylePropInterpolate8:Gc,\u0275\u0275stylePropInterpolateV:Kc,\u0275\u0275classProp:Oc,\u0275\u0275advance:Cf,\u0275\u0275template:Eh,\u0275\u0275text:op,\u0275\u0275textInterpolate:Pc,\u0275\u0275textInterpolate1:ga,\u0275\u0275textInterpolate2:Ac,\u0275\u0275textInterpolate3:Rc,\u0275\u0275textInterpolate4:xc,\u0275\u0275textInterpolate5:Fc,\u0275\u0275textInterpolate6:kc,\u0275\u0275textInterpolate7:Nc,\u0275\u0275textInterpolate8:Lc,\u0275\u0275textInterpolateV:jc,\u0275\u0275i18n:Qp,\u0275\u0275i18nAttributes:Yp,\u0275\u0275i18nExp:tu,\u0275\u0275i18nStart:qc,\u0275\u0275i18nEnd:eu,\u0275\u0275i18nApply:Zp,\u0275\u0275i18nPostprocess:Jp,\u0275\u0275resolveWindow:Wd,\u0275\u0275resolveDocument:Gd,\u0275\u0275resolveBody:Kd,\u0275\u0275setComponentScope:ie,\u0275\u0275setNgModuleScope:de,\u0275\u0275sanitizeHtml:Ad,\u0275\u0275sanitizeStyle:Rd,\u0275\u0275sanitizeResourceUrl:il,\u0275\u0275sanitizeScript:xd,\u0275\u0275sanitizeUrl:nl,\u0275\u0275sanitizeUrlOrResourceUrl:Nd,\u0275\u0275trustConstantHtml:Fd,\u0275\u0275trustConstantResourceUrl:kd,forwardRef:_,resolveForwardRef:v}))();let Wo=null;function bC(){Wo=null}const Os=[];let pu=!1;function Qm(){if(!pu){pu=!0;try{for(let e=Os.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=Os[e];i.declarations&&i.declarations.every(Ym)&&(Os.splice(e,1),TC(t,i))}}finally{pu=!1}}}function Ym(e){return Array.isArray(e)?e.every(Ym):!!v(e)}function Zm(e,t={}){Jm(e,t),function CC(e,t){Os.push({moduleType:e,ngModule:t})}(e,t)}function Jm(e,t,i=!1){const s=Wi(t.declarations||Dt);let c=null;Object.defineProperty(e,he,{configurable:!0,get:()=>(null===c&&(c=ti().compileNgModule(_i,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Wi(t.bootstrap||Dt).map(v),declarations:s.map(v),imports:Wi(t.imports||Dt).map(v).map(tg),exports:Wi(t.exports||Dt).map(v).map(tg),schemas:t.schemas?Wi(t.schemas):null,id:t.id||null}),c.schemas||(c.schemas=[])),c)});let g=null;Object.defineProperty(e,ne,{get:()=>{if(null===g){const w=ti();g=w.compileFactory(_i,`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,Ge,{get:()=>{if(null===C){const w={name:e.name,type:e,providers:t.providers||Dt,imports:[(t.imports||Dt).map(v),(t.exports||Dt).map(v)]};C=ti().compileInjector(_i,`ng:///${e.name}/\u0275inj.js`,w)}return C},configurable:!1})}let Pa=new WeakMap,gu=new WeakMap;function EC(){Pa=new WeakMap,gu=new WeakMap,Os.length=0}function TC(e,t){const i=Wi(t.declarations||Dt),s=Is(e);i.forEach(c=>{c.hasOwnProperty(Kt)?vu(Ie(c),s):!c.hasOwnProperty(St)&&!c.hasOwnProperty(Ht)&&(c.ngSelectorScope=e)})}function vu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(Kt)?Ie(i):rt(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Mt(i)),e.schemas=t.schemas,e.tView=null}function Is(e){if(!yu(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=kt(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 mr(t.imports).forEach(s=>{const c=s;if(!yu(c))throw new Error(`Importing ${c.name} which does not have a \u0275mod property`);const g=Is(c);g.exported.directives.forEach(C=>i.compilation.directives.add(C)),g.exported.pipes.forEach(C=>i.compilation.pipes.add(C))}),mr(t.declarations).forEach(s=>{Mt(s)?i.compilation.pipes.add(s):i.compilation.directives.add(s)}),mr(t.exports).forEach(s=>{const c=s;if(yu(c)){const g=Is(c);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 Mt(c)?i.exported.pipes.add(c):i.exported.directives.add(c)}),t.transitiveCompileScopes=i,i}function tg(e){return function DC(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function yu(e){return!!kt(e)}let _u=0;function ng(e,t){let i=null;(function wv(e,t){vd(t)&&(vo.set(e,t),rs.add(e))})(e,t),rg(e,t),Object.defineProperty(e,Kt,{get:()=>{if(null===i){const s=ti();if(vd(t)){const H=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&H.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&H.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),H.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(H.join("\n"))}const c=function _C(){return Wo}();let g=t.preserveWhitespaces;void 0===g&&(g=null!==c&&void 0!==c.preserveWhitespaces&&c.preserveWhitespaces);let C=t.encapsulation;void 0===C&&(C=null!==c&&void 0!==c.defaultEncapsulation?c.defaultEncapsulation:Te.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||Dt,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:C,interpolation:t.interpolation,viewProviders:t.viewProviders||null});_u++;try{O.usesInheritance&&sg(e),i=s.compileComponent(_i,w,O)}finally{_u--}if(0===_u&&Qm(),function wC(e){return void 0!==e.ngSelectorScope}(e)){const H=Is(e.ngSelectorScope);vu(i,H)}}return i},configurable:!1})}function bu(e,t){let i=null;rg(e,t||{}),Object.defineProperty(e,St,{get:()=>{if(null===i){const s=ig(e,t||{});i=ti().compileDirective(_i,s.sourceMapUrl,s.metadata)}return i},configurable:!1})}function ig(e,t){const i=e&&e.name,s=`ng:///${i}/\u0275dir.js`,c=ti(),g=og(e,t);return g.typeSourceSpan=c.createParseSourceSpan("Directive",i,s),g.usesInheritance&&sg(e),{metadata:g,sourceMapUrl:s}}function rg(e,t){let i=null;Object.defineProperty(e,ne,{get:()=>{if(null===i){const s=ig(e,t),c=ti();i=c.compileFactory(_i,`ng:///${e.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:Gs(e),target:c.FactoryTarget.Directive})}return i},configurable:!1})}function MC(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function og(e,t){const i=Ya(),s=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Vt,propMetadata:s,inputs:t.inputs||Dt,outputs:t.outputs||Dt,queries:ag(e,s,lg),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!MC(e),exportAs:IC(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;)!rt(i)&&!Ie(i)&&AC(i)&&bu(i,null),i=Object.getPrototypeOf(i)}function SC(e){return"string"==typeof e?dg(e):v(e)}function OC(e,t){return{propertyName:e,predicate:SC(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 c in t)if(t.hasOwnProperty(c)){const g=t[c];g.forEach(C=>{if(i(C)){if(!C.selector)throw new Error(`Can't construct a query for the property "${c}" of "${U(e)}" since the query selector wasn't defined.`);if(g.some(ug))throw new Error("Cannot combine @Input decorators with query decorators");s.push(OC(c,C))}})}return s}function IC(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 PC=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function AC(e){const t=Ya();if(PC.some(s=>t.hasLifecycleHook(e,s)))return!0;const i=t.propMetadata(e);for(const s in i){const c=i[s];for(let g=0;g<c.length;g++){const C=c[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,ne,{get:()=>{if(null===s){const c=hg(e,t),g=ti();s=g.compileFactory(_i,`ng:///${c.name}/\u0275fac.js`,{name:c.name,type:c.type,typeArgumentCount:0,deps:Gs(e),target:g.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(e,Ht,{get:()=>{if(null===i){const c=hg(e,t);i=ti().compilePipe(_i,`ng:///${c.name}/\u0275pipe.js`,c)}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)=>bu(e,t)),RC=ho("Component",(e={})=>Object.assign({changeDetection:Rt.Default},e),pg,void 0,(e,t)=>ng(e,t)),xC=ho("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>fg(e,t)),FC=Vr("Input",e=>({bindingPropertyName:e})),kC=Vr("Output",e=>({bindingPropertyName:e})),NC=Vr("HostBinding",e=>({hostPropertyName:e})),LC=Vr("HostListener",(e,t)=>({eventName:e,args:t})),jC=ho("NgModule",e=>e,void 0,void 0,(e,t)=>Zm(e,t));function Aa(...e){}const mg=new Un("Application Initializer");let Cu=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Aa,this.reject=Aa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,c)=>{this.resolve=s,this.reject=c})}runInitializers(){if(this.initialized)return;const i=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let c=0;c<this.appInits.length;c++){const g=this.appInits[c]();if(pc(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(c=>{this.reject(c)}),0===i.length&&s(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(li(mg,8))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const gg=new Un("AppId",{providedIn:"root",factory:vg});function vg(){return`${Eu()}${Eu()}${Eu()}`}const BC={provide:gg,useFactory:vg,deps:[]};function Eu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yg=new Un("Platform Initializer"),VC=new Un("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_g=new Un("appBootstrapListener"),$C=new Un("Application Packages Root URL");let HC=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Tu=new Un("LocaleId",{providedIn:"root",factory:()=>fd(Tu,j.Optional|j.SkipSelf)||function UC(){return"undefined"!=typeof $localize&&$localize.locale||_s}()}),zC=new Un("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),WC=new Un("Translations"),GC=new Un("TranslationsFormat");var Cr=(()=>((Cr=Cr||{})[Cr.Error=0]="Error",Cr[Cr.Warning=1]="Warning",Cr[Cr.Ignore=2]="Ignore",Cr))();class bg{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=mr(kt(i).declarations).reduce((C,w)=>{const O=Ie(w);return O&&C.push(new wa(O)),C},[]);return new bg(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=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Cg=new Un("compilerOptions");class QC{}const YC=(()=>Promise.resolve(0))();function Du(e){"undefined"==typeof Zone?YC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class sr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new br(!1),this.onMicrotaskEmpty=new br(!1),this.onStable=new br(!1),this.onError=new br(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!s&&i,c.shouldCoalesceRunChangeDetection=s,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function ZC(){let e=Ue.requestAnimationFrame,t=Ue.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(Ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Mu(e),e.isCheckStableRunning=!0,wu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Mu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,s,c,g,C,w)=>{try{return Eg(e),i.invokeTask(c,g,C,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===g.type||e.shouldCoalesceRunChangeDetection)&&t(),Tg(e)}},onInvoke:(i,s,c,g,C,w,O)=>{try{return Eg(e),i.invoke(c,g,C,w,O)}finally{e.shouldCoalesceRunChangeDetection&&t(),Tg(e)}},onHasTask:(i,s,c,g)=>{i.hasTask(c,g),s===c&&("microTask"==g.change?(e._hasPendingMicrotasks=g.microTask,Mu(e),wu(e)):"macroTask"==g.change&&(e.hasPendingMacrotasks=g.macroTask))},onHandleError:(i,s,c,g)=>(i.handleError(c,g),e.runOutsideAngular(()=>e.onError.emit(g)),!1)})}(c)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!sr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(sr.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,c){const g=this._inner,C=g.scheduleEventTask("NgZoneEvent: "+c,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 wu(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 Mu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Eg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tg(e){e._nesting--,wu(e)}class Dg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new br,this.onMicrotaskEmpty=new br,this.onStable=new br,this.onError=new br}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,c){return t.apply(i,s)}}let wg=(()=>{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:()=>{sr.assertNotInAngularZone(),Du(()=>{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())Du(()=>{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,c){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:c})}whenStable(i,s,c){if(c&&!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,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(i,s,c){return[]}}return e.\u0275fac=function(i){return new(i||e)(li(sr))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e})(),Mg=(()=>{class e{constructor(){this._applications=new Map,Su.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 Su.findTestabilityInTree(this,i,s)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class eE{addToWindow(t){}findTestabilityInTree(t,i,s){return null}}function tE(e){Su=e}let Su=new eE,to=null;const Ou=new Un("AllowMultipleToken"),Sg=new Un("PlatformOnDestroy");function Og(e,t,i){const s=new Ma(i);return Promise.resolve(s)}function Ig(e){return e.isBoundToModule}class nE{constructor(t,i){this.name=t,this.token=i}}function Pg(e){if(to&&!to.get(Ou,!1))throw new S(400,"");to=e;const t=e.get(Iu),i=e.get(yg,null);return i&&i.forEach(s=>s()),t}function Ag(e,t,i=[]){const s=`Platform: ${t}`,c=new Un(s);return(g=[])=>{let C=Ra();if(!C||C.injector.get(Ou,!1)){const w=[...i,...g,{provide:c,useValue:!0}];e?e(w):Pg(function iE(e=[],t){return nr.create({name:t,providers:[{provide:$l,useValue:"platform"},{provide:Sg,useValue:()=>to=null},...e]})}(w,s))}return Rg()}}function Rg(e){const t=Ra();if(!t)throw new S(401,"");return t}function rE(){var e;null===(e=Ra())||void 0===e||e.destroy()}function Ra(){var e;return null!==(e=null==to?void 0:to.get(Iu))&&void 0!==e?e:null}let Iu=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,s){const w=function oE(e,t){let i;return i="noop"===e?new Dg:("zone.js"===e?void 0:e)||new sr({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:sr,useValue:w}];return w.run(()=>{const H=nr.create({providers:O,parent:this.injector,name:i.moduleType.name}),X=i.create(H),Ee=X.injector.get(Zs,null);if(!Ee)throw new S(402,"");return w.runOutsideAngular(()=>{const Be=w.onError.subscribe({next:et=>{Ee.handleError(et)}});X.onDestroy(()=>{Au(this._modules,X),Be.unsubscribe()})}),function sE(e,t,i){try{const s=i();return pc(s)?s.catch(c=>{throw t.runOutsideAngular(()=>e.handleError(c)),c}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(Ee,w,()=>{const Be=X.injector.get(Cu);return Be.runInitializers(),Be.donePromise.then(()=>(Sp(X.injector.get(Tu,_s)||_s),this._moduleDoBootstrap(X),X))})})}bootstrapModule(i,s=[]){const c=xg({},s);return Og(0,0,i).then(g=>this.bootstrapModuleFactory(g,c))}_moduleDoBootstrap(i){const s=i.injector.get(Pu);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(c=>s.bootstrap(c));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(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const i=this._injector.get(Sg,null);null==i||i(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(li(nr))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function xg(e,t){return Array.isArray(t)?t.reduce(xg,e):Object.assign(Object.assign({},e),t)}let Pu=(()=>{class e{constructor(i,s,c,g){this._zone=i,this._injector=s,this._exceptionHandler=c,this._initStatus=g,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 C=new y.y(O=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{O.next(this._stable),O.complete()})}),w=new y.y(O=>{let H;this._zone.runOutsideAngular(()=>{H=this._zone.onStable.subscribe(()=>{sr.assertNotInAngularZone(),Du(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,O.next(!0))})})});const X=this._zone.onUnstable.subscribe(()=>{sr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{O.next(!1)}))});return()=>{H.unsubscribe(),X.unsubscribe()}});this.isStable=(0,d.T)(C,w.pipe((0,r.B)()))}bootstrap(i,s){if(!this._initStatus.done)throw new S(405,"");let c;c=i instanceof Ca?i:this._injector.get(Ea).resolveComponentFactory(i),this.componentTypes.push(c.componentType);const g=Ig(c)?void 0:this._injector.get(Uo),w=c.create(nr.NULL,[],s||c.selector,g),O=w.location.nativeElement,H=w.injector.get(wg,null),X=H&&w.injector.get(Mg);return H&&X&&X.registerApplication(O,H),w.onDestroy(()=>{this.detachView(w.hostView),Au(this.components,w),X&&X.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;Au(this._views,s),s.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(_g,[]).concat(this._bootstrapListeners).forEach(c=>c(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)(li(sr),li(nr),li(Zs),li(Cu))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Au(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let kg=!0,Ng=!1;function lE(){return Ng=!0,kg}function cE(){if(Ng)throw new Error("Cannot enable prod mode after platform setup.");kg=!1}function uE(e){const t=hm(e);if(!t)throw Lg(e);return new Ma(t)}function dE(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 fE(e,t,i){if(ci(e)&&!i){const s=rn(e.index,t);return new Ho(s,s)}return 47&e.type?new Ho(t[16],t):null}(Vn(),Ct(),16==(16&e))}class Vg extends jg{}class hE extends Vg{}class pE{constructor(t,i){this.name=t,this.callback=i}}function mE(e){return e.map(t=>t.nativeElement)}class Ru{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ps(t):null}get injector(){return uh(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Wl(t)||lh(t))}get context(){return Wl(this.nativeNode)||ah(this.nativeNode)}get listeners(){return fh(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function L_(e){const t=di(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 c=i.index+1;for(let g=0;g<i.localNames.length;g+=2)s[i.localNames[g]]=e[c],c++;return s}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function k_(e){const t=di(e);if(null===t)return[];const s=t.lView[1],c=s.data[t.nodeIndex],g=[],w=c.directiveEnd;for(let O=1048575&c.providerIndexes;O<w;O++){let H=s.data[O];B_(H)&&(H=H.type),g.push(H)}return g}(this.nativeNode)}}class Ps extends Ru{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=di(this.nativeNode);return null!==t?t.lView[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=di(this.nativeNode);if(null===t)return{};const i=t.lView,s=i[1].data,c=s[t.nodeIndex],g={};return function gE(e,t){if(e){let i=Object.getPrototypeOf(e);const s=Node.prototype;for(;null!==i&&i!==s;){const c=Object.getOwnPropertyDescriptors(i);for(let g in c)if(!g.startsWith("__")&&!g.startsWith("on")){const C=e[g];vE(C)&&(t[g]=C)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,g),function yE(e,t,i,s){let c=t.propertyBindings;if(null!==c)for(let g=0;g<c.length;g++){const C=c[g],O=s[C].split("\ufffd"),H=O[0];if(O.length>1){let X=O[1];for(let Ee=1;Ee<O.length-1;Ee++)X+=I(i[C+Ee-1])+O[Ee+1];e[H]=X}else e[H]=i[C]}}(g,c,i,s),g}get attributes(){const t={},i=this.nativeElement;if(!i)return t;const s=di(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 H=g[O];if("string"!=typeof H)break;t[H]=g[O+1],C.push(H.toLowerCase()),O+=2}}const w=i.attributes;for(let O=0;O<w.length;O++){const H=w[O],X=H.name.toLowerCase();-1===C.indexOf(X)&&(t[X]=H.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 c=0;c<i.length;c++)s.push(Go(i[c]));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,c=[];this.listeners.forEach(g=>{if(g.name===t){const C=g.callback;C.call(s,i),c.push(C)}}),"function"==typeof s.eventListeners&&s.eventListeners(t).forEach(g=>{if(-1!==g.toString().indexOf("__ngUnwrap__")){const C=g("__ngUnwrap__");return-1===c.indexOf(C)&&C.call(s,i)}})}}function vE(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function $g(e,t,i,s){const c=di(e.nativeNode);null!==c?no(c.lView[1].data[c.nodeIndex],c.lView,t,i,s,e.nativeNode):Fu(e.nativeNode,t,i,s)}function no(e,t,i,s,c,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(xu(C,i,s,c,g),ci(e)){const O=rn(e.index,t);O&&O[1].firstChild&&no(O[1].firstChild,O,i,s,c,g)}else e.child&&no(e.child,t,i,s,c,g),C&&Fu(C,i,s,c);const w=t[e.index];Ln(w)&&Hg(w,i,s,c,g)}else if(4&e.type){const w=t[e.index];xu(w[7],i,s,c,g),Hg(w,i,s,c,g)}else if(16&e.type){const w=t[16],H=w[6].projection[e.projection];if(Array.isArray(H))for(let X of H)xu(X,i,s,c,g);else if(H){const X=w[3];no(X[1].data[H.index],X,i,s,c,g)}}else e.child&&no(e.child,t,i,s,c,g);if(g!==C){const w=4&e.flags?e.projectionNext:e.next;w&&no(w,t,i,s,c,g)}}function Hg(e,t,i,s,c){for(let g=10;g<e.length;g++){const C=e[g],w=C[1].firstChild;w&&no(w,C,t,i,s,c)}}function xu(e,t,i,s,c){if(c!==e){const g=Go(e);if(!g)return;(s&&g instanceof Ps&&t(g)&&-1===i.indexOf(g)||!s&&t(g)&&-1===i.indexOf(g))&&i.push(g)}}function Fu(e,t,i,s){const c=e.childNodes,g=c.length;for(let C=0;C<g;C++){const w=c[C],O=Go(w);O&&((s&&O instanceof Ps&&t(O)&&-1===i.indexOf(O)||!s&&t(O)&&-1===i.indexOf(O))&&i.push(O),Fu(w,t,i,s))}}const Nu="__ng_debug__";function Go(e){return e instanceof Node?(e.hasOwnProperty(Nu)||(e[Nu]=e.nodeType==Node.ELEMENT_NODE?new Ps(e):new Ru(e)),e[Nu]):null}function _E(e){return null}class Ug{constructor(){}supports(t){return ps(t)}create(t){return new zg(t)}}const bE=(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||bE}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,s=this._removalsHead,c=0,g=null;for(;i||s;){const C=!s||i&&i.currentIndex<Gg(s,c,g)?i:s,w=Gg(C,c,g),O=C.currentIndex;if(C===s)c--,s=s._nextRemoved;else if(i=i._next,null==C.previousIndex)c++;else{g||(g=[]);const H=w-c,X=O-c;if(H!=X){for(let Be=0;Be<H;Be++){const et=Be<g.length?g[Be]:g[Be]=0,pt=et+Be;X<=pt&&pt<H&&(g[Be]=et+1)}g[C.previousIndex]=X-H}}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=[]),!ps(t))throw new S(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let c,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 c=0,function J_(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(c,w),null!==i&&Object.is(i.trackById,C)?(s&&(i=this._verifyReinsertion(i,w,C,c)),Object.is(i.item,w)||this._addIdentityChange(i,w)):(i=this._mismatch(i,w,C,c),s=!0),i=i._next,c++}),this.length=c;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,c){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,c)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,c))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,g,c)):t=this._addAfter(new CE(i,s),g,c),t}_verifyReinsertion(t,i,s,c){let g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==g?t=this._reinsertAfter(g,t._prev,c):t.currentIndex!=c&&(t.currentIndex=c,this._addToMoves(t,c)),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 c=t._prevRemoved,g=t._nextRemoved;return null===c?this._removalsHead=g:c._nextRemoved=g,null===g?this._removalsTail=c:g._prevRemoved=c,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 c=null===i?this._itHead:i._next;return t._next=c,t._prev=i,null===c?this._itTail=t:c._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 CE{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class EE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let 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 EE,this.map.set(i,s)),s.add(t)}get(t,i){const c=this.map.get(t);return c?c.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 c=0;return i&&s<i.length&&(c=i[s]),s+t+c}class Kg{constructor(){}supports(t){return t instanceof Map||Zl(t)}create(){return new TE}}class TE{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||Zl(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,c)=>{if(i&&i.key===c)this._maybeAddToChanges(i,s),this._appendAfter=i,i=i._next;else{const g=this._getOrCreateRecordForKey(c,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 c=this._records.get(t);this._maybeAddToChanges(c,i);const g=c._prev,C=c._next;return g&&(g._next=C),C&&(C._prev=g),c._next=null,c._prev=null,c}const s=new DE(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 DE{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 Lu([new Ug])}let Lu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(null!=s){const c=s.factories.slice();i=i.concat(c)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||Qg()),deps:[[e,new go,new is]]}}find(i){const s=this.factories.find(c=>c.supports(i));if(null!=s)return s;throw new S(901,"")}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:Qg}),e})();function Yg(){return new ju([new Kg])}let ju=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(s){const c=s.factories.slice();i=i.concat(c)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||Yg()),deps:[[e,new go,new is]]}}find(i){const s=this.factories.find(g=>g.supports(i));if(s)return s;throw new S(901,"")}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:Yg}),e})();const wE=[new Kg],SE=new Lu([new Ug]),OE=new ju(wE),IE=Ag(null,"core",[]);let PE=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(li(Pu))},e.\u0275mod=_t({type:e}),e.\u0275inj=Qe({}),e})();const AE=!0;function RE(e){return ti().compileDirectiveDeclaration(_i,`ng:///${e.type.name}/\u0275fac.js`,e)}function xE(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 FE(e){return ti().compileComponentDeclaration(_i,`ng:///${e.type.name}/\u0275cmp.js`,e)}function kE(e){return ti(function NE(e){switch(e){case ei.Directive:return"directive";case ei.Component:return"component";case ei.Injectable:return"injectable";case ei.Pipe:return"pipe";case ei.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(_i,`ng:///${e.type.name}/\u0275fac.js`,e)}function LE(e){return ti().compileInjectableDeclaration(_i,`ng:///${e.type.name}/\u0275prov.js`,e)}function jE(e){return ti().compileInjectorDeclaration(_i,`ng:///${e.type.name}/\u0275inj.js`,e)}function BE(e){return ti().compileNgModuleDeclaration(_i,`ng:///${e.type.name}/\u0275mod.js`,e)}function VE(e){return ti().compilePipeDeclaration(_i,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(W,o,a)=>{"use strict";a.r(o),a.d(o,{AbstractControl:()=>$t,AbstractControlDirective:()=>L,AbstractFormGroupDirective:()=>Wn,COMPOSITION_BUFFER_MODE:()=>b,CheckboxControlValueAccessor:()=>u,CheckboxRequiredValidator:()=>Jn,ControlContainer:()=>Me,DefaultValueAccessor:()=>T,EmailValidator:()=>En,FormArray:()=>an,FormArrayName:()=>Li,FormBuilder:()=>_n,FormControl:()=>It,FormControlDirective:()=>cr,FormControlName:()=>Ci,FormGroup:()=>pn,FormGroupDirective:()=>bi,FormGroupName:()=>Ni,FormsModule:()=>rn,MaxLengthValidator:()=>pe,MaxValidator:()=>Xi,MinLengthValidator:()=>se,MinValidator:()=>Pi,NG_ASYNC_VALIDATORS:()=>U,NG_VALIDATORS:()=>I,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>ee,NgControlStatus:()=>j,NgControlStatusGroup:()=>ve,NgForm:()=>fn,NgModel:()=>ci,NgModelGroup:()=>wn,NgSelectOption:()=>ji,NumberValueAccessor:()=>ki,PatternValidator:()=>ct,RadioControlValueAccessor:()=>wi,RangeValueAccessor:()=>Mi,ReactiveFormsModule:()=>sn,RequiredValidator:()=>Gn,SelectControlValueAccessor:()=>Zn,SelectMultipleControlValueAccessor:()=>Ii,VERSION:()=>On,Validators:()=>Q,\u0275InternalFormsSharedModule:()=>cn,\u0275NgNoValidate:()=>gi,\u0275NgSelectMultipleOption:()=>Ti});var n=a(5e3),h=a(9808),y=a(2076),d=a(4128),r=a(4004);let l=(()=>{class N{constructor(M,ae){this._renderer=M,this._elementRef=ae,this.onChange=ft=>{},this.onTouched=()=>{}}setProperty(M,ae){this._renderer.setProperty(this._elementRef.nativeElement,M,ae)}registerOnTouched(M){this.onTouched=M}registerOnChange(M){this.onChange=M}setDisabledState(M){this.setProperty("disabled",M)}}return N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N}),N})(),f=(()=>{class N extends l{}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,features:[n.\u0275\u0275InheritDefinitionFeature]}),N})();const p=new n.InjectionToken("NgValueAccessor"),m={provide:p,useExisting:(0,n.forwardRef)(()=>u),multi:!0};let u=(()=>{class N extends f{writeValue(M){this.setProperty("checked",M)}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(M,ae){1&M&&n.\u0275\u0275listener("change",function(Nt){return ae.onChange(Nt.target.checked)})("blur",function(){return ae.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([m]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const _={provide:p,useExisting:(0,n.forwardRef)(()=>T),multi:!0},b=new n.InjectionToken("CompositionEventMode");let T=(()=>{class N extends l{constructor(M,ae,ft){super(M,ae),this._compositionMode=ft,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function v(){const N=(0,h.\u0275getDOM)()?(0,h.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(N.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 N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(b,8))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,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,ae){1&M&&n.\u0275\u0275listener("input",function(Nt){return ae._handleInput(Nt.target.value)})("blur",function(){return ae.onTouched()})("compositionstart",function(){return ae._compositionStart()})("compositionend",function(Nt){return ae._compositionEnd(Nt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([_]),n.\u0275\u0275InheritDefinitionFeature]}),N})();function S(N){return null==N||0===N.length}function P(N){return null!=N&&"number"==typeof N.length}const I=new n.InjectionToken("NgValidators"),U=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 Q{static min(R){return q(R)}static max(R){return V(R)}static required(R){return oe(R)}static requiredTrue(R){return ce(R)}static email(R){return ge(R)}static minLength(R){return De(R)}static maxLength(R){return We(R)}static pattern(R){return Y(R)}static nullValidator(R){return null}static compose(R){return it(R)}static composeAsync(R){return Ye(R)}}function q(N){return R=>{if(S(R.value)||S(N))return null;const M=parseFloat(R.value);return!isNaN(M)&&M<N?{min:{min:N,actual:R.value}}:null}}function V(N){return R=>{if(S(R.value)||S(N))return null;const M=parseFloat(R.value);return!isNaN(M)&&M>N?{max:{max:N,actual:R.value}}:null}}function oe(N){return S(N.value)?{required:!0}:null}function ce(N){return!0===N.value?null:{required:!0}}function ge(N){return S(N.value)||J.test(N.value)?null:{email:!0}}function De(N){return R=>S(R.value)||!P(R.value)?null:R.value.length<N?{minlength:{requiredLength:N,actualLength:R.value.length}}:null}function We(N){return R=>P(R.value)&&R.value.length>N?{maxlength:{requiredLength:N,actualLength:R.value.length}}:null}function Y(N){if(!N)return ue;let R,M;return"string"==typeof N?(M="","^"!==N.charAt(0)&&(M+="^"),M+=N,"$"!==N.charAt(N.length-1)&&(M+="$"),R=new RegExp(M)):(M=N.toString(),R=N),ae=>{if(S(ae.value))return null;const ft=ae.value;return R.test(ft)?null:{pattern:{requiredPattern:M,actualValue:ft}}}}function ue(N){return null}function $(N){return null!=N}function fe(N){const R=(0,n.\u0275isPromise)(N)?(0,y.D)(N):N;return(0,n.\u0275isObservable)(R),R}function me(N){let R={};return N.forEach(M=>{R=null!=M?Object.assign(Object.assign({},R),M):R}),0===Object.keys(R).length?null:R}function _e(N,R){return R.map(M=>M(N))}function dt(N){return N.map(R=>function Xe(N){return!N.validate}(R)?R:M=>R.validate(M))}function it(N){if(!N)return null;const R=N.filter($);return 0==R.length?null:function(M){return me(_e(M,R))}}function st(N){return null!=N?it(dt(N)):null}function Ye(N){if(!N)return null;const R=N.filter($);return 0==R.length?null:function(M){const ae=_e(M,R).map(fe);return(0,d.D)(ae).pipe((0,r.U)(me))}}function ut(N){return null!=N?Ye(dt(N)):null}function Ne(N,R){return null===N?[R]:Array.isArray(N)?[...N,R]:[N,R]}function qe(N){return N._rawValidators}function ke(N){return N._rawAsyncValidators}function Qe(N){return N?Array.isArray(N)?N:[N]:[]}function ht(N,R){return Array.isArray(N)?N.includes(R):N===R}function ye(N,R){const M=Qe(R);return Qe(N).forEach(ft=>{ht(M,ft)||M.push(ft)}),M}function Oe(N,R){return Qe(R).filter(M=>!ht(N,M))}class L{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=st(this._rawValidators)}_setAsyncValidators(R){this._rawAsyncValidators=R||[],this._composedAsyncValidatorFn=ut(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 ee extends L{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Me extends L{get formDirective(){return null}get path(){return null}}class Ge{constructor(R){this._cd=R}is(R){var M,ae,ft;return"submitted"===R?!!(null===(M=this._cd)||void 0===M?void 0:M.submitted):!!(null===(ft=null===(ae=this._cd)||void 0===ae?void 0:ae.control)||void 0===ft?void 0:ft[R])}}let j=(()=>{class N extends Ge{constructor(M){super(M)}}return N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(ee,2))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(M,ae){2&M&&n.\u0275\u0275classProp("ng-untouched",ae.is("untouched"))("ng-touched",ae.is("touched"))("ng-pristine",ae.is("pristine"))("ng-dirty",ae.is("dirty"))("ng-valid",ae.is("valid"))("ng-invalid",ae.is("invalid"))("ng-pending",ae.is("pending"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),N})(),ve=(()=>{class N extends Ge{constructor(M){super(M)}}return N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(Me,10))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(M,ae){2&M&&n.\u0275\u0275classProp("ng-untouched",ae.is("untouched"))("ng-touched",ae.is("touched"))("ng-pristine",ae.is("pristine"))("ng-dirty",ae.is("dirty"))("ng-valid",ae.is("valid"))("ng-invalid",ae.is("invalid"))("ng-pending",ae.is("pending"))("ng-submitted",ae.is("submitted"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),N})();function Vt(N,R){return[...R.path,N]}function Dt(N,R){he(N,R),R.valueAccessor.writeValue(N.value),function k(N,R){R.valueAccessor.registerOnChange(M=>{N._pendingValue=M,N._pendingChange=!0,N._pendingDirty=!0,"change"===N.updateOn&&Ce(N,R)})}(N,R),function ie(N,R){const M=(ae,ft)=>{R.valueAccessor.writeValue(ae),ft&&R.viewToModelUpdate(ae)};N.registerOnChange(M),R._registerOnDestroy(()=>{N._unregisterOnChange(M)})}(N,R),function z(N,R){R.valueAccessor.registerOnTouched(()=>{N._pendingTouched=!0,"blur"===N.updateOn&&N._pendingChange&&Ce(N,R),"submit"!==N.updateOn&&N.markAsTouched()})}(N,R),function Ht(N,R){if(R.valueAccessor.setDisabledState){const M=ae=>{R.valueAccessor.setDisabledState(ae)};N.registerOnDisabledChange(M),R._registerOnDestroy(()=>{N._unregisterOnDisabledChange(M)})}}(N,R)}function Kt(N,R,M=!0){const ae=()=>{};R.valueAccessor&&(R.valueAccessor.registerOnChange(ae),R.valueAccessor.registerOnTouched(ae)),ne(N,R),N&&(R._invokeOnDestroyCallbacks(),N._registerOnCollectionChange(()=>{}))}function St(N,R){N.forEach(M=>{M.registerOnValidatorChange&&M.registerOnValidatorChange(R)})}function he(N,R){const M=qe(N);null!==R.validator?N.setValidators(Ne(M,R.validator)):"function"==typeof M&&N.setValidators([M]);const ae=ke(N);null!==R.asyncValidator?N.setAsyncValidators(Ne(ae,R.asyncValidator)):"function"==typeof ae&&N.setAsyncValidators([ae]);const ft=()=>N.updateValueAndValidity();St(R._rawValidators,ft),St(R._rawAsyncValidators,ft)}function ne(N,R){let M=!1;if(null!==N){if(null!==R.validator){const ft=qe(N);if(Array.isArray(ft)&&ft.length>0){const Nt=ft.filter(Mn=>Mn!==R.validator);Nt.length!==ft.length&&(M=!0,N.setValidators(Nt))}}if(null!==R.asyncValidator){const ft=ke(N);if(Array.isArray(ft)&&ft.length>0){const Nt=ft.filter(Mn=>Mn!==R.asyncValidator);Nt.length!==ft.length&&(M=!0,N.setAsyncValidators(Nt))}}}const ae=()=>{};return St(R._rawValidators,ae),St(R._rawAsyncValidators,ae),M}function Ce(N,R){N._pendingDirty&&N.markAsDirty(),N.setValue(N._pendingValue,{emitModelToViewChange:!1}),R.viewToModelUpdate(N._pendingValue),N._pendingChange=!1}function ze(N,R){he(N,R)}function re(N,R){if(!N.hasOwnProperty("model"))return!1;const M=N.model;return!!M.isFirstChange()||!Object.is(R,M.currentValue)}function Ie(N,R){N._syncPendingControls(),R.forEach(M=>{const ae=M.control;"submit"===ae.updateOn&&ae._pendingChange&&(M.viewToModelUpdate(ae._pendingValue),ae._pendingChange=!1)})}function rt(N,R){if(!R)return null;let M,ae,ft;return Array.isArray(R),R.forEach(Nt=>{Nt.constructor===T?M=Nt:function K(N){return Object.getPrototypeOf(N.constructor)===f}(Nt)?ae=Nt:ft=Nt}),ft||ae||M||null}function Mt(N,R){const M=N.indexOf(R);M>-1&&N.splice(M,1)}const vn="VALID",Fn="INVALID",hn="PENDING",An="DISABLED";function Yn(N){return(le(N)?N.validators:N)||null}function Rn(N){return Array.isArray(N)?st(N):N||null}function At(N,R){return(le(R)?R.asyncValidators:N)||null}function Yt(N){return Array.isArray(N)?ut(N):N||null}function le(N){return null!=N&&!Array.isArray(N)&&"object"==typeof N}const Ae=N=>N instanceof It,te=N=>N instanceof pn,Se=N=>N instanceof an;function Je(N){return Ae(N)?N.value:N.getRawValue()}function at(N,R){const M=te(N),ae=N.controls;if(!(M?Object.keys(ae):ae).length)throw new n.\u0275RuntimeError(1e3,"");if(!ae[R])throw new n.\u0275RuntimeError(1001,"")}function Ot(N,R){te(N),N._forEachChild((ae,ft)=>{if(void 0===R[ft])throw new n.\u0275RuntimeError(1002,"")})}class $t{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===vn}get invalid(){return this.status===Fn}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(Oe(R,this._rawValidators))}removeAsyncValidators(R){this.setAsyncValidators(Oe(R,this._rawAsyncValidators))}hasValidator(R){return ht(this._rawValidators,R)}hasAsyncValidator(R){return ht(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(ae=>{ae.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(ae=>ae(!0))}enable(R={}){const M=this._parentMarkedDirty(R.onlySelf);this.status=vn,this._forEachChild(ae=>{ae.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(ae=>ae(!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===vn||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:vn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(R){if(this.asyncValidator){this.status=hn,this._hasOwnPendingAsyncValidator=!0;const M=fe(this.asyncValidator(this));this._asyncValidationSubscription=M.subscribe(ae=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ae,{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 Dn(N,R,M){if(null==R||(Array.isArray(R)||(R=R.split(M)),Array.isArray(R)&&0===R.length))return null;let ae=N;return R.forEach(ft=>{ae=te(ae)?ae.controls.hasOwnProperty(ft)?ae.controls[ft]:null:Se(ae)&&ae.at(ft)||null}),ae}(this,R,".")}getError(R,M){const ae=M?this.get(M):this;return ae&&ae.errors?ae.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?Fn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(hn)?hn:this._anyControlsHaveStatus(Fn)?Fn:vn}_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){le(R)&&null!=R.updateOn&&(this._updateOn=R.updateOn)}_parentMarkedDirty(R){return!R&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class It extends $t{constructor(R=null,M,ae){super(Yn(M),At(ae,M)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(R),this._setUpdateStrategy(M),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),le(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(ae=>ae(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){Mt(this._onChange,R)}registerOnDisabledChange(R){this._onDisabledChange.push(R)}_unregisterOnDisabledChange(R){Mt(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 $t{constructor(R,M,ae){super(Yn(M),At(ae,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,ae={}){this.registerControl(R,M),this.updateValueAndValidity({emitEvent:ae.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,ae={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),delete this.controls[R],M&&this.registerControl(R,M),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}contains(R){return this.controls.hasOwnProperty(R)&&this.controls[R].enabled}setValue(R,M={}){Ot(this,R),Object.keys(R).forEach(ae=>{at(this,ae),this.controls[ae].setValue(R[ae],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(R,M={}){null!=R&&(Object.keys(R).forEach(ae=>{this.controls[ae]&&this.controls[ae].patchValue(R[ae],{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(R={},M={}){this._forEachChild((ae,ft)=>{ae.reset(R[ft],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this._reduceChildren({},(R,M,ae)=>(R[ae]=Je(M),R))}_syncPendingControls(){let R=this._reduceChildren(!1,(M,ae)=>!!ae._syncPendingControls()||M);return R&&this.updateValueAndValidity({onlySelf:!0}),R}_forEachChild(R){Object.keys(this.controls).forEach(M=>{const ae=this.controls[M];ae&&R(ae,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 ae=this.controls[M];if(this.contains(M)&&R(ae))return!0}return!1}_reduceValue(){return this._reduceChildren({},(R,M,ae)=>((M.enabled||this.disabled)&&(R[ae]=M.value),R))}_reduceChildren(R,M){let ae=R;return this._forEachChild((ft,Nt)=>{ae=M(ae,ft,Nt)}),ae}_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 an extends $t{constructor(R,M,ae){super(Yn(M),At(ae,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,ae={}){this.controls.splice(R,0,M),this._registerControl(M),this.updateValueAndValidity({emitEvent:ae.emitEvent})}removeAt(R,M={}){this.controls[R]&&this.controls[R]._registerOnCollectionChange(()=>{}),this.controls.splice(R,1),this.updateValueAndValidity({emitEvent:M.emitEvent})}setControl(R,M,ae={}){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:ae.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(R,M={}){Ot(this,R),R.forEach((ae,ft)=>{at(this,ft),this.at(ft).setValue(ae,{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M)}patchValue(R,M={}){null!=R&&(R.forEach((ae,ft)=>{this.at(ft)&&this.at(ft).patchValue(ae,{onlySelf:!0,emitEvent:M.emitEvent})}),this.updateValueAndValidity(M))}reset(R=[],M={}){this._forEachChild((ae,ft)=>{ae.reset(R[ft],{onlySelf:!0,emitEvent:M.emitEvent})}),this._updatePristine(M),this._updateTouched(M),this.updateValueAndValidity(M)}getRawValue(){return this.controls.map(R=>Je(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,ae)=>!!ae._syncPendingControls()||M,!1);return R&&this.updateValueAndValidity({onlySelf:!0}),R}_forEachChild(R){this.controls.forEach((M,ae)=>{R(M,ae)})}_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 yn={provide:Me,useExisting:(0,n.forwardRef)(()=>fn)},Xt=(()=>Promise.resolve(null))();let fn=(()=>{class N extends Me{constructor(M,ae){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new pn({},st(M),ut(ae))}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 ae=this._findContainer(M.path);M.control=ae.registerControl(M.name,M.control),Dt(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 ae=this._findContainer(M.path);ae&&ae.removeControl(M.name),this._directives.delete(M)})}addFormGroup(M){Xt.then(()=>{const ae=this._findContainer(M.path),ft=new pn({});ze(ft,M),ae.registerControl(M.name,ft),ft.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(M){Xt.then(()=>{const ae=this._findContainer(M.path);ae&&ae.removeControl(M.name)})}getFormGroup(M){return this.form.get(M.path)}updateModel(M,ae){Xt.then(()=>{this.form.get(M.path).setValue(ae)})}setValue(M){this.control.setValue(M)}onSubmit(M){return this.submitted=!0,Ie(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 N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(U,10))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(M,ae){1&M&&n.\u0275\u0275listener("submit",function(Nt){return ae.onSubmit(Nt)})("reset",function(){return ae.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([yn]),n.\u0275\u0275InheritDefinitionFeature]}),N})(),Wn=(()=>{class N 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 Vt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,features:[n.\u0275\u0275InheritDefinitionFeature]}),N})();const Di={provide:Me,useExisting:(0,n.forwardRef)(()=>wn)};let wn=(()=>{class N extends Wn{constructor(M,ae,ft){super(),this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft)}_checkParentType(){}}return N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(Me,5),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(U,10))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Di]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const Ln={provide:ee,useExisting:(0,n.forwardRef)(()=>ci)},mi=(()=>Promise.resolve(null))();let ci=(()=>{class N extends ee{constructor(M,ae,ft,Nt,Mn){super(),this._changeDetectorRef=Mn,this.control=new It,this._registered=!1,this.update=new n.EventEmitter,this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft),this.valueAccessor=rt(0,Nt)}ngOnChanges(M){if(this._checkForErrors(),!this._registered||"name"in M){if(this._registered&&(this._checkName(),this.formDirective)){const ae=M.name.previousValue;this.formDirective.removeControl({name:ae,path:this._getPath(ae)})}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(){Dt(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){mi.then(()=>{var ae;this.control.setValue(M,{emitViewToModelChange:!1}),null===(ae=this._changeDetectorRef)||void 0===ae||ae.markForCheck()})}_updateDisabled(M){const ae=M.isDisabled.currentValue,ft=""===ae||ae&&"false"!==ae;mi.then(()=>{var Nt;ft&&!this.control.disabled?this.control.disable():!ft&&this.control.disabled&&this.control.enable(),null===(Nt=this._changeDetectorRef)||void 0===Nt||Nt.markForCheck()})}_getPath(M){return this._parent?Vt(M,this._parent):[M]}}return N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(Me,9),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(U,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,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([Ln]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),N})(),gi=(()=>{class N{}return N.\u0275fac=function(M){return new(M||N)},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),N})();const Qn={provide:p,useExisting:(0,n.forwardRef)(()=>ki),multi:!0};let ki=(()=>{class N extends f{writeValue(M){this.setProperty("value",null==M?"":M)}registerOnChange(M){this.onChange=ae=>{M(""==ae?null:parseFloat(ae))}}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(M,ae){1&M&&n.\u0275\u0275listener("input",function(Nt){return ae.onChange(Nt.target.value)})("blur",function(){return ae.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Qn]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const Er={provide:p,useExisting:(0,n.forwardRef)(()=>wi),multi:!0};let jn=(()=>{class N{}return N.\u0275fac=function(M){return new(M||N)},N.\u0275mod=n.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=n.\u0275\u0275defineInjector({}),N})(),xr=(()=>{class N{constructor(){this._accessors=[]}add(M,ae){this._accessors.push([M,ae])}remove(M){for(let ae=this._accessors.length-1;ae>=0;--ae)if(this._accessors[ae][1]===M)return void this._accessors.splice(ae,1)}select(M){this._accessors.forEach(ae=>{this._isSameGroup(ae,M)&&ae[1]!==M&&ae[1].fireUncheck(M.value)})}_isSameGroup(M,ae){return!!M[0].control&&M[0]._parent===ae._control._parent&&M[1].name===ae.name}}return N.\u0275fac=function(M){return new(M||N)},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac,providedIn:jn}),N})(),wi=(()=>{class N extends f{constructor(M,ae,ft,Nt){super(M,ae),this._registry=ft,this._injector=Nt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(ee),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 N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(xr),n.\u0275\u0275directiveInject(n.Injector))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(M,ae){1&M&&n.\u0275\u0275listener("change",function(){return ae.onChange()})("blur",function(){return ae.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Er]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const ar={provide:p,useExisting:(0,n.forwardRef)(()=>Mi),multi:!0};let Mi=(()=>{class N extends f{writeValue(M){this.setProperty("value",parseFloat(M))}registerOnChange(M){this.onChange=ae=>{M(""==ae?null:parseFloat(ae))}}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(M,ae){1&M&&n.\u0275\u0275listener("change",function(Nt){return ae.onChange(Nt.target.value)})("input",function(Nt){return ae.onChange(Nt.target.value)})("blur",function(){return ae.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([ar]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const Qi=new n.InjectionToken("NgModelWithFormControlWarning"),lr={provide:ee,useExisting:(0,n.forwardRef)(()=>cr)};let cr=(()=>{class N extends ee{constructor(M,ae,ft,Nt){super(),this._ngModelWarningConfig=Nt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(M),this._setAsyncValidators(ae),this.valueAccessor=rt(0,ft)}set isDisabled(M){}ngOnChanges(M){if(this._isControlChanged(M)){const ae=M.form.previousValue;ae&&Kt(ae,this,!1),Dt(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&&Kt(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 N._ngModelWarningSentOnce=!1,N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(U,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Qi,8))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),N})();const Fr={provide:Me,useExisting:(0,n.forwardRef)(()=>bi)};let bi=(()=>{class N extends Me{constructor(M,ae){super(),this.validators=M,this.asyncValidators=ae,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(M),this._setAsyncValidators(ae)}ngOnChanges(M){this._checkFormPresent(),M.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ne(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 ae=this.form.get(M.path);return Dt(ae,M),ae.updateValueAndValidity({emitEvent:!1}),this.directives.push(M),ae}getControl(M){return this.form.get(M.path)}removeControl(M){Kt(M.control||null,M,!1),Mt(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,ae){this.form.get(M.path).setValue(ae)}onSubmit(M){return this.submitted=!0,Ie(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 ae=M.control,ft=this.form.get(M.path);ae!==ft&&(Kt(ae||null,M),Ae(ft)&&(Dt(ft,M),M.control=ft))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(M){const ae=this.form.get(M.path);ze(ae,M),ae.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(M){if(this.form){const ae=this.form.get(M.path);ae&&function wt(N,R){return ne(N,R)}(ae,M)&&ae.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){he(this.form,this),this._oldForm&&ne(this._oldForm,this)}_checkFormPresent(){}}return N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(U,10))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","formGroup",""]],hostBindings:function(M,ae){1&M&&n.\u0275\u0275listener("submit",function(Nt){return ae.onSubmit(Nt)})("reset",function(){return ae.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Fr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),N})();const kr={provide:Me,useExisting:(0,n.forwardRef)(()=>Ni)};let Ni=(()=>{class N extends Wn{constructor(M,ae,ft){super(),this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft)}_checkParentType(){Yi(this._parent)}}return N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(U,10))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([kr]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const Nr={provide:Me,useExisting:(0,n.forwardRef)(()=>Li)};let Li=(()=>{class N extends Me{constructor(M,ae,ft){super(),this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft)}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 Vt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Yi(this._parent)}}return N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(U,10))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]}),N})();function Yi(N){return!(N instanceof Ni||N instanceof bi||N instanceof Li)}const Si={provide:ee,useExisting:(0,n.forwardRef)(()=>Ci)};let Ci=(()=>{class N extends ee{constructor(M,ae,ft,Nt,Mn){super(),this._ngModelWarningConfig=Mn,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=M,this._setValidators(ae),this._setAsyncValidators(ft),this.valueAccessor=rt(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 Vt(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 N._ngModelWarningSentOnce=!1,N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(Me,13),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(U,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Qi,8))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,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]}),N})();const Tr={provide:p,useExisting:(0,n.forwardRef)(()=>Zn),multi:!0};function ur(N,R){return null==N?`${R}`:(R&&"object"==typeof R&&(R="Object"),`${N}: ${R}`.slice(0,50))}let Zn=(()=>{class N 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 ft=ur(this._getOptionId(M),M);this.setProperty("value",ft)}registerOnChange(M){this.onChange=ae=>{this.value=this._getOptionValue(ae),M(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(M){for(const ae of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ae),M))return ae;return null}_getOptionValue(M){const ae=function Dr(N){return N.split(":")[0]}(M);return this._optionMap.has(ae)?this._optionMap.get(ae):M}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(M,ae){1&M&&n.\u0275\u0275listener("change",function(Nt){return ae.onChange(Nt.target.value)})("blur",function(){return ae.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Tr]),n.\u0275\u0275InheritDefinitionFeature]}),N})(),ji=(()=>{class N{constructor(M,ae,ft){this._element=M,this._renderer=ae,this._select=ft,this._select&&(this.id=this._select._registerOption())}set ngValue(M){null!=this._select&&(this._select._optionMap.set(this.id,M),this._setElementValue(ur(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 N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Zn,9))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),N})();const Ei={provide:p,useExisting:(0,n.forwardRef)(()=>Ii),multi:!0};function Oi(N,R){return null==N?`${R}`:("string"==typeof R&&(R=`'${R}'`),R&&"object"==typeof R&&(R="Object"),`${N}: ${R}`.slice(0,50))}let Ii=(()=>{class N 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 ae;if(this.value=M,Array.isArray(M)){const ft=M.map(Nt=>this._getOptionId(Nt));ae=(Nt,Mn)=>{Nt._setSelected(ft.indexOf(Mn.toString())>-1)}}else ae=(ft,Nt)=>{ft._setSelected(!1)};this._optionMap.forEach(ae)}registerOnChange(M){this.onChange=ae=>{const ft=[],Nt=ae.selectedOptions;if(void 0!==Nt){const Mn=Nt;for(let vi=0;vi<Mn.length;vi++){const Mr=this._getOptionValue(Mn[vi].value);ft.push(Mr)}}else{const Mn=ae.options;for(let vi=0;vi<Mn.length;vi++){const wr=Mn[vi];if(wr.selected){const Mr=this._getOptionValue(wr.value);ft.push(Mr)}}}this.value=ft,M(ft)}}_registerOption(M){const ae=(this._idCounter++).toString();return this._optionMap.set(ae,M),ae}_getOptionId(M){for(const ae of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ae)._value,M))return ae;return null}_getOptionValue(M){const ae=function dr(N){return N.split(":")[0]}(M);return this._optionMap.has(ae)?this._optionMap.get(ae)._value:M}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(M,ae){1&M&&n.\u0275\u0275listener("change",function(Nt){return ae.onChange(Nt.target)})("blur",function(){return ae.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Ei]),n.\u0275\u0275InheritDefinitionFeature]}),N})(),Ti=(()=>{class N{constructor(M,ae,ft){this._element=M,this._renderer=ae,this._select=ft,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 N.\u0275fac=function(M){return new(M||N)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ii,9))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),N})();function Zi(N){return"number"==typeof N?N:parseInt(N,10)}function Ji(N){return"number"==typeof N?N:parseFloat(N)}let Pn=(()=>{class N{constructor(){this._validator=ue}ngOnChanges(M){if(this.inputName in M){const ae=this.normalizeInput(M[this.inputName].currentValue);this._enabled=this.enabled(ae),this._validator=this._enabled?this.createValidator(ae):ue,this._onChange&&this._onChange()}}validate(M){return this._validator(M)}registerOnValidatorChange(M){this._onChange=M}enabled(M){return null!=M}}return N.\u0275fac=function(M){return new(M||N)},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,features:[n.\u0275\u0275NgOnChangesFeature]}),N})();const Vi={provide:I,useExisting:(0,n.forwardRef)(()=>Xi),multi:!0};let Xi=(()=>{class N extends Pn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=M=>Ji(M),this.createValidator=M=>V(M)}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(M,ae){2&M&&n.\u0275\u0275attribute("max",ae._enabled?ae.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Vi]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const Bn={provide:I,useExisting:(0,n.forwardRef)(()=>Pi),multi:!0};let Pi=(()=>{class N extends Pn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=M=>Ji(M),this.createValidator=M=>q(M)}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(M,ae){2&M&&n.\u0275\u0275attribute("min",ae._enabled?ae.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Bn]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const ii={provide:I,useExisting:(0,n.forwardRef)(()=>Gn),multi:!0},ri={provide:I,useExisting:(0,n.forwardRef)(()=>Jn),multi:!0};let Gn=(()=>{class N extends Pn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=M=>function Bi(N){return null!=N&&!1!==N&&"false"!=`${N}`}(M),this.createValidator=M=>oe}enabled(M){return M}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(M,ae){2&M&&n.\u0275\u0275attribute("required",ae._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([ii]),n.\u0275\u0275InheritDefinitionFeature]}),N})(),Jn=(()=>{class N extends Gn{constructor(){super(...arguments),this.createValidator=M=>ce}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(M,ae){2&M&&n.\u0275\u0275attribute("required",ae._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([ri]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const jr={provide:I,useExisting:(0,n.forwardRef)(()=>En),multi:!0};let En=(()=>{class N extends Pn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=M=>""===M||!0===M||"true"===M,this.createValidator=M=>ge}enabled(M){return M}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([jr]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const F={provide:I,useExisting:(0,n.forwardRef)(()=>se),multi:!0};let se=(()=>{class N extends Pn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=M=>Zi(M),this.createValidator=M=>De(M)}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(M,ae){2&M&&n.\u0275\u0275attribute("minlength",ae._enabled?ae.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([F]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const x={provide:I,useExisting:(0,n.forwardRef)(()=>pe),multi:!0};let pe=(()=>{class N extends Pn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=M=>Zi(M),this.createValidator=M=>We(M)}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(M,ae){2&M&&n.\u0275\u0275attribute("maxlength",ae._enabled?ae.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([x]),n.\u0275\u0275InheritDefinitionFeature]}),N})();const Ve={provide:I,useExisting:(0,n.forwardRef)(()=>ct),multi:!0};let ct=(()=>{class N extends Pn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=M=>M,this.createValidator=M=>Y(M)}}return N.\u0275fac=function(){let R;return function(ae){return(R||(R=n.\u0275\u0275getInheritedFactory(N)))(ae||N)}}(),N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(M,ae){2&M&&n.\u0275\u0275attribute("pattern",ae._enabled?ae.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Ve]),n.\u0275\u0275InheritDefinitionFeature]}),N})(),cn=(()=>{class N{}return N.\u0275fac=function(M){return new(M||N)},N.\u0275mod=n.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=n.\u0275\u0275defineInjector({imports:[[jn]]}),N})(),rn=(()=>{class N{}return N.\u0275fac=function(M){return new(M||N)},N.\u0275mod=n.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=n.\u0275\u0275defineInjector({imports:[cn]}),N})(),sn=(()=>{class N{static withConfig(M){return{ngModule:N,providers:[{provide:Qi,useValue:M.warnOnNgModelWithFormControl}]}}}return N.\u0275fac=function(M){return new(M||N)},N.\u0275mod=n.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=n.\u0275\u0275defineInjector({imports:[cn]}),N})(),_n=(()=>{class N{group(M,ae=null){const ft=this._reduceControls(M);let vi,Nt=null,Mn=null;return null!=ae&&(function xn(N){return void 0!==N.asyncValidators||void 0!==N.validators||void 0!==N.updateOn}(ae)?(Nt=null!=ae.validators?ae.validators:null,Mn=null!=ae.asyncValidators?ae.asyncValidators:null,vi=null!=ae.updateOn?ae.updateOn:void 0):(Nt=null!=ae.validator?ae.validator:null,Mn=null!=ae.asyncValidator?ae.asyncValidator:null)),new pn(ft,{asyncValidators:Mn,updateOn:vi,validators:Nt})}control(M,ae,ft){return new It(M,ae,ft)}array(M,ae,ft){const Nt=M.map(Mn=>this._createControl(Mn));return new an(Nt,ae,ft)}_reduceControls(M){const ae={};return Object.keys(M).forEach(ft=>{ae[ft]=this._createControl(M[ft])}),ae}_createControl(M){return Ae(M)||te(M)||Se(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 N.\u0275fac=function(M){return new(M||N)},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac,providedIn:sn}),N})();const On=new n.Version("13.3.11")},7423:(W,o,a)=>{"use strict";a.r(o),a.d(o,{MatAnchor:()=>v,MatButton:()=>_,MatButtonModule:()=>b});var n=a(5e3),h=a(508),y=a(6360),d=a(5664);const r=["mat-button",""],l=["*"],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,U){super(P),this._focusMonitor=I,this._animationMode=U,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 U;n.\u0275\u0275queryRefresh(U=n.\u0275\u0275loadQuery())&&(I.ripple=U.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:r,ngContentSelectors:l,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,U,J){super(I,P,U),this._ngZone=J,this._haltDisabledEvents=Q=>{this.disabled&&(Q.preventDefault(),Q.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:r,ngContentSelectors:l,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:(W,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_CHIPS_DEFAULT_OPTIONS:()=>yt,MAT_CHIP_AVATAR:()=>we,MAT_CHIP_REMOVE:()=>$e,MAT_CHIP_TRAILING_ICON:()=>Te,MatChip:()=>Ue,MatChipAvatar:()=>vt,MatChipInput:()=>Dt,MatChipList:()=>he,MatChipListChange:()=>Ht,MatChipRemove:()=>lt,MatChipSelectionChange:()=>Rt,MatChipTrailingIcon:()=>Fe,MatChipsModule:()=>k});var n=a(1159),h=a(5e3),y=a(508),d=a(3191),r=a(9808),l=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 st=(()=>{class z{}return z.\u0275fac=function(ie){return new(ie||z)},z.\u0275dir=h.\u0275\u0275defineDirective({type:z}),z})();var Tt=a(226);const Et=["*"];class Rt{constructor(Ce,ie,ze=!1){this.source=Ce,this.selected=ie,this.isUserInput=ze}}const $e=new h.InjectionToken("MatChipRemove"),we=new h.InjectionToken("MatChipAvatar"),Te=new h.InjectionToken("MatChipTrailingIcon");class Ze{constructor(Ce){this._elementRef=Ce}}const Pe=(0,y.mixinTabIndex)((0,y.mixinColor)((0,y.mixinDisableRipple)(Ze),"primary"),-1);let vt=(()=>{class z{}return z.\u0275fac=function(ie){return new(ie||z)},z.\u0275dir=h.\u0275\u0275defineDirective({type:z,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[h.\u0275\u0275ProvidersFeature([{provide:we,useExisting:z}])]}),z})(),Fe=(()=>{class z{}return z.\u0275fac=function(ie){return new(ie||z)},z.\u0275dir=h.\u0275\u0275defineDirective({type:z,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[h.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:z}])]}),z})(),Ue=(()=>{class z extends Pe{constructor(ie,ze,wt,He,_t,de,B,re){super(ie),this._ngZone=ze,this._changeDetectorRef=_t,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=de.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new y.RippleRenderer(this,ze,this._chipRippleTarget,wt),this._chipRipple.setupTriggerEvents(ie),this.rippleConfig=He||{},this._animationsDisabled="NoopAnimations"===B,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(ie){const ze=(0,d.Ig)(ie);ze!==this._selected&&(this._selected=ze,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(ie){this._value=ie}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(ie){this._selectable=(0,d.Ig)(ie)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(ie){this._disabled=(0,d.Ig)(ie)}get removable(){return this._removable}set removable(ie){this._removable=(0,d.Ig)(ie)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const ie="mat-basic-chip",ze=this._elementRef.nativeElement;ze.hasAttribute(ie)||ze.tagName.toLowerCase()===ie?ze.classList.add(ie):ze.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(ie=!1){return this._selected=!this.selected,this._dispatchSelectionChange(ie),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(ie){this.disabled&&ie.preventDefault()}_handleKeydown(ie){if(!this.disabled)switch(ie.keyCode){case n.yY:case n.ZH:this.remove(),ie.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),ie.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(ie=!1){this.selectionChange.emit({source:this,isUserInput:ie,selected:this._selected})}}return z.\u0275fac=function(ie){return new(ie||z)(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(r.DOCUMENT),h.\u0275\u0275directiveInject(l.ANIMATION_MODULE_TYPE,8),h.\u0275\u0275injectAttribute("tabindex"))},z.\u0275dir=h.\u0275\u0275defineDirective({type:z,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(ie,ze,wt){if(1&ie&&(h.\u0275\u0275contentQuery(wt,we,5),h.\u0275\u0275contentQuery(wt,Te,5),h.\u0275\u0275contentQuery(wt,$e,5)),2&ie){let He;h.\u0275\u0275queryRefresh(He=h.\u0275\u0275loadQuery())&&(ze.avatar=He.first),h.\u0275\u0275queryRefresh(He=h.\u0275\u0275loadQuery())&&(ze.trailingIcon=He.first),h.\u0275\u0275queryRefresh(He=h.\u0275\u0275loadQuery())&&(ze.removeIcon=He.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(ie,ze){1&ie&&h.\u0275\u0275listener("click",function(He){return ze._handleClick(He)})("keydown",function(He){return ze._handleKeydown(He)})("focus",function(){return ze.focus()})("blur",function(){return ze._blur()}),2&ie&&(h.\u0275\u0275attribute("tabindex",ze.disabled?null:ze.tabIndex)("disabled",ze.disabled||null)("aria-disabled",ze.disabled.toString())("aria-selected",ze.ariaSelected),h.\u0275\u0275classProp("mat-chip-selected",ze.selected)("mat-chip-with-avatar",ze.avatar)("mat-chip-with-trailing-icon",ze.trailingIcon||ze.removeIcon)("mat-chip-disabled",ze.disabled)("_mat-animation-noopable",ze._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]}),z})(),lt=(()=>{class z{constructor(ie,ze){this._parentChip=ie,"BUTTON"===ze.nativeElement.nodeName&&ze.nativeElement.setAttribute("type","button")}_handleClick(ie){const ze=this._parentChip;ze.removable&&!ze.disabled&&ze.remove(),ie.stopPropagation(),ie.preventDefault()}}return z.\u0275fac=function(ie){return new(ie||z)(h.\u0275\u0275directiveInject(Ue),h.\u0275\u0275directiveInject(h.ElementRef))},z.\u0275dir=h.\u0275\u0275defineDirective({type:z,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(ie,ze){1&ie&&h.\u0275\u0275listener("click",function(He){return ze._handleClick(He)})},features:[h.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:z}])]}),z})();const yt=new h.InjectionToken("mat-chips-default-options");let Vt=0,Dt=(()=>{class z{constructor(ie,ze){this._elementRef=ie,this._defaultOptions=ze,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new h.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+Vt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(ie){ie&&(this._chipList=ie,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(ie){this._addOnBlur=(0,d.Ig)(ie)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(ie){this._disabled=(0,d.Ig)(ie)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(ie){if(ie){if(ie.keyCode===n.Mf&&!(0,n.Vb)(ie,"shiftKey")&&this._chipList._allowFocusEscape(),ie.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void ie.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(ie)}_keyup(ie){!this._focusLastChipOnBackspace&&ie.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,ie.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(ie){!this.inputElement.value&&!!ie&&this._chipList._keydown(ie),(!ie||this._isSeparatorKey(ie))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==ie||ie.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(ie){this.inputElement.focus(ie)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(ie){return!(0,n.Vb)(ie)&&new Set(this.separatorKeyCodes).has(ie.keyCode)}}return z.\u0275fac=function(ie){return new(ie||z)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(yt))},z.\u0275dir=h.\u0275\u0275defineDirective({type:z,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(ie,ze){1&ie&&h.\u0275\u0275listener("keydown",function(He){return ze._keydown(He)})("keyup",function(He){return ze._keyup(He)})("blur",function(){return ze._blur()})("focus",function(){return ze._focus()})("input",function(){return ze._onInput()}),2&ie&&(h.\u0275\u0275hostProperty("id",ze.id),h.\u0275\u0275attribute("disabled",ze.disabled||null)("placeholder",ze.placeholder||null)("aria-invalid",ze._chipList&&ze._chipList.ngControl?ze._chipList.ngControl.invalid:null)("aria-required",ze._chipList&&ze._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]}),z})();const Kt=(0,y.mixinErrorState)(class{constructor(z,Ce,ie,ze){this._defaultErrorStateMatcher=z,this._parentForm=Ce,this._parentFormGroup=ie,this.ngControl=ze}});let St=0;class Ht{constructor(Ce,ie){this.source=Ce,this.value=ie}}let he=(()=>{class z extends Kt{constructor(ie,ze,wt,He,_t,de,B){super(de,He,_t,B),this._elementRef=ie,this._changeDetectorRef=ze,this._dir=wt,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new f.x,this._uid="mat-chip-list-"+St++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(re,K)=>re===K,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 ie,ze;return this.multiple?(null===(ie=this._selectionModel)||void 0===ie?void 0:ie.selected)||[]:null===(ze=this._selectionModel)||void 0===ze?void 0:ze.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(ie){this._multiple=(0,d.Ig)(ie),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(ie){this._compareWith=ie,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ie){this.writeValue(ie),this._value=ie}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var ie,ze,wt,He;return null!==(He=null!==(ie=this._required)&&void 0!==ie?ie:null===(wt=null===(ze=this.ngControl)||void 0===ze?void 0:ze.control)||void 0===wt?void 0:wt.hasValidator(S.Validators.required))&&void 0!==He&&He}set required(ie){this._required=(0,d.Ig)(ie),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(ie){this._placeholder=ie,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(ie){this._disabled=(0,d.Ig)(ie),this._syncChipsState()}get selectable(){return this._selectable}set selectable(ie){this._selectable=(0,d.Ig)(ie),this.chips&&this.chips.forEach(ze=>ze.chipListSelectable=this._selectable)}set tabIndex(ie){this._userTabIndex=ie,this._tabIndex=ie}get chipSelectionChanges(){return(0,p.T)(...this.chips.map(ie=>ie.selectionChange))}get chipFocusChanges(){return(0,p.T)(...this.chips.map(ie=>ie._onFocus))}get chipBlurChanges(){return(0,p.T)(...this.chips.map(ie=>ie._onBlur))}get chipRemoveChanges(){return(0,p.T)(...this.chips.map(ie=>ie.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(ie=>this._keyManager.withHorizontalOrientation(ie)),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(ie){this._chipInput=ie,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",ie.id)}setDescribedByIds(ie){this._ariaDescribedby=ie.join(" ")}writeValue(ie){this.chips&&this._setSelectionByValue(ie,!1)}registerOnChange(ie){this._onChange=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie,this.stateChanges.next()}onContainerClick(ie){this._originatesFromChip(ie)||this.focus()}focus(ie){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(ie),this.stateChanges.next()))}_focusInput(ie){this._chipInput&&this._chipInput.focus(ie)}_keydown(ie){const ze=ie.target;ze&&ze.classList.contains("mat-chip")&&(this._keyManager.onKeydown(ie),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const ie=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(ie)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(ie){return ie>=0&&ie<this.chips.length}_setSelectionByValue(ie,ze=!0){if(this._clearSelection(),this.chips.forEach(wt=>wt.deselect()),Array.isArray(ie))ie.forEach(wt=>this._selectValue(wt,ze)),this._sortValues();else{const wt=this._selectValue(ie,ze);wt&&ze&&this._keyManager.setActiveItem(wt)}}_selectValue(ie,ze=!0){const wt=this.chips.find(He=>null!=He.value&&this._compareWith(He.value,ie));return wt&&(ze?wt.selectViaInteraction():wt.select(),this._selectionModel.select(wt)),wt}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(ie){this._selectionModel.clear(),this.chips.forEach(ze=>{ze!==ie&&ze.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(ie=>{ie.selected&&this._selectionModel.select(ie)}),this.stateChanges.next())}_propagateChanges(ie){let ze=null;ze=Array.isArray(this.selected)?this.selected.map(wt=>wt.value):this.selected?this.selected.value:ie,this._value=ze,this.change.emit(new Ht(this,ze)),this.valueChange.emit(ze),this._onChange(ze),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(ie=>{ie.source.selected?this._selectionModel.select(ie.source):this._selectionModel.deselect(ie.source),this.multiple||this.chips.forEach(ze=>{!this._selectionModel.isSelected(ze)&&ze.selected&&ze.deselect()}),ie.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(ie=>{let ze=this.chips.toArray().indexOf(ie.chip);this._isValidIndex(ze)&&this._keyManager.updateActiveItem(ze),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(ie=>{const ze=ie.chip,wt=this.chips.toArray().indexOf(ie.chip);this._isValidIndex(wt)&&ze._hasFocus&&(this._lastDestroyedChipIndex=wt)})}_originatesFromChip(ie){let ze=ie.target;for(;ze&&ze!==this._elementRef.nativeElement;){if(ze.classList.contains("mat-chip"))return!0;ze=ze.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(ie=>ie._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(ie=>{ie._chipListDisabled=this._disabled,ie._chipListMultiple=this.multiple})}}return z.\u0275fac=function(ie){return new(ie||z)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(Tt.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))},z.\u0275cmp=h.\u0275\u0275defineComponent({type:z,selectors:[["mat-chip-list"]],contentQueries:function(ie,ze,wt){if(1&ie&&h.\u0275\u0275contentQuery(wt,Ue,5),2&ie){let He;h.\u0275\u0275queryRefresh(He=h.\u0275\u0275loadQuery())&&(ze.chips=He)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(ie,ze){1&ie&&h.\u0275\u0275listener("focus",function(){return ze.focus()})("blur",function(){return ze._blur()})("keydown",function(He){return ze._keydown(He)}),2&ie&&(h.\u0275\u0275hostProperty("id",ze._uid),h.\u0275\u0275attribute("tabindex",ze.disabled?null:ze._tabIndex)("aria-describedby",ze._ariaDescribedby||null)("aria-required",ze.role?ze.required:null)("aria-disabled",ze.disabled.toString())("aria-invalid",ze.errorState)("aria-multiselectable",ze.multiple)("role",ze.role)("aria-orientation",ze.ariaOrientation),h.\u0275\u0275classProp("mat-chip-list-disabled",ze.disabled)("mat-chip-list-invalid",ze.errorState)("mat-chip-list-required",ze.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:st,useExisting:z}]),h.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Et,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(ie,ze){1&ie&&(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}),z})(),k=(()=>{class z{}return z.\u0275fac=function(ie){return new(ie||z)},z.\u0275mod=h.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=h.\u0275\u0275defineInjector({providers:[y.ErrorStateMatcher,{provide:yt,useValue:{separatorKeyCodes:[n.K5]}}],imports:[[y.MatCommonModule]]}),z})()},508:(W,o,a)=>{"use strict";a.r(o),a.d(o,{AnimationCurves:()=>J,AnimationDurations:()=>Q,DateAdapter:()=>dt,ErrorStateMatcher:()=>ht,MATERIAL_SANITY_CHECKS:()=>V,MAT_DATE_FORMATS:()=>it,MAT_DATE_LOCALE:()=>_e,MAT_DATE_LOCALE_FACTORY:()=>Xe,MAT_NATIVE_DATE_FORMATS:()=>Ne,MAT_OPTGROUP:()=>Fe,MAT_OPTION_PARENT_COMPONENT:()=>Te,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Tt,MatCommonModule:()=>oe,MatLine:()=>ye,MatLineModule:()=>ee,MatNativeDateModule:()=>ke,MatOptgroup:()=>Ue,MatOption:()=>Dt,MatOptionModule:()=>Ht,MatOptionSelectionChange:()=>yt,MatPseudoCheckbox:()=>$e,MatPseudoCheckboxModule:()=>we,MatRipple:()=>Et,MatRippleModule:()=>Rt,NativeDateAdapter:()=>ut,NativeDateModule:()=>qe,RippleRef:()=>Me,RippleRenderer:()=>Re,ShowOnDirtyErrorStateMatcher:()=>Qe,VERSION:()=>U,_MatOptgroupBase:()=>vt,_MatOptionBase:()=>Vt,_countGroupLabelsBeforeOption:()=>Kt,_getOptionScrollPosition:()=>St,defaultRippleAnimationConfig:()=>Ge,mixinColor:()=>Y,mixinDisableRipple:()=>ue,mixinDisabled:()=>We,mixinErrorState:()=>fe,mixinInitialized:()=>me,mixinTabIndex:()=>$,setLines:()=>Oe});var n=a(5e3),h=a(226),d=a(9808),r=a(925),l=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(he,ne){if(1&he&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&he){const k=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",k.selected?"checked":"unchecked")("disabled",k.disabled)}}function P(he,ne){if(1&he&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&he){const k=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",k.group.label,")")}}const I=["*"],U=new n.Version("13.3.9");let J=(()=>{class he{}return he.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",he.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",he.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",he.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",he})(),Q=(()=>{class he{}return he.COMPLEX="375ms",he.ENTERING="225ms",he.EXITING="195ms",he})();const V=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function q(){return!0}});let oe=(()=>{class he{constructor(k,z,Ce){this._sanityChecks=z,this._document=Ce,this._hasDoneGlobalChecks=!1,k._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(k){return!(0,r.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[k])}}return he.\u0275fac=function(k){return new(k||he)(n.\u0275\u0275inject(l.qm),n.\u0275\u0275inject(V,8),n.\u0275\u0275inject(d.DOCUMENT))},he.\u0275mod=n.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.vT],h.vT]}),he})();function We(he){return class extends he{constructor(...ne){super(...ne),this._disabled=!1}get disabled(){return this._disabled}set disabled(ne){this._disabled=(0,f.Ig)(ne)}}}function Y(he,ne){return class extends he{constructor(...k){super(...k),this.defaultColor=ne,this.color=ne}get color(){return this._color}set color(k){const z=k||this.defaultColor;z!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),z&&this._elementRef.nativeElement.classList.add(`mat-${z}`),this._color=z)}}}function ue(he){return class extends he{constructor(...ne){super(...ne),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(ne){this._disableRipple=(0,f.Ig)(ne)}}}function $(he,ne=0){return class extends he{constructor(...k){super(...k),this._tabIndex=ne,this.defaultTabIndex=ne}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(k){this._tabIndex=null!=k?(0,f.su)(k):this.defaultTabIndex}}}function fe(he){return class extends he{constructor(...ne){super(...ne),this.stateChanges=new p.x,this.errorState=!1}updateErrorState(){const ne=this.errorState,ie=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ie!==ne&&(this.errorState=ie,this.stateChanges.next())}}}function me(he){return class extends he{constructor(...ne){super(...ne),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(ne){ne.next(),ne.complete()}}}const _e=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:Xe});function Xe(){return(0,n.inject)(n.LOCALE_ID)}class dt{constructor(){this._localeChanges=new p.x,this.localeChanges=this._localeChanges}getValidDateOrNull(ne){return this.isDateInstance(ne)&&this.isValid(ne)?ne:null}deserialize(ne){return null==ne||this.isDateInstance(ne)&&this.isValid(ne)?ne:this.invalid()}setLocale(ne){this.locale=ne,this._localeChanges.next()}compareDate(ne,k){return this.getYear(ne)-this.getYear(k)||this.getMonth(ne)-this.getMonth(k)||this.getDate(ne)-this.getDate(k)}sameDate(ne,k){if(ne&&k){let z=this.isValid(ne),Ce=this.isValid(k);return z&&Ce?!this.compareDate(ne,k):z==Ce}return ne==k}clampDate(ne,k,z){return k&&this.compareDate(ne,k)<0?k:z&&this.compareDate(ne,z)>0?z:ne}}const it=new n.InjectionToken("mat-date-formats"),st=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ye(he,ne){const k=Array(he);for(let z=0;z<he;z++)k[z]=ne(z);return k}let ut=(()=>{class he extends dt{constructor(k,z){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 z=new Intl.DateTimeFormat(this.locale,{month:k,timeZone:"utc"});return Ye(12,Ce=>this._format(z,new Date(2017,Ce,1)))}getDateNames(){const k=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ye(31,z=>this._format(k,new Date(2017,0,z+1)))}getDayOfWeekNames(k){const z=new Intl.DateTimeFormat(this.locale,{weekday:k,timeZone:"utc"});return Ye(7,Ce=>this._format(z,new Date(2017,0,Ce+1)))}getYearName(k){const z=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(z,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,z,Ce){let ie=this._createDateWithOverflow(k,z,Ce);return ie.getMonth(),ie}today(){return new Date}parse(k){return"number"==typeof k?new Date(k):k?new Date(Date.parse(k)):null}format(k,z){if(!this.isValid(k))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ce=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},z),{timeZone:"utc"}));return this._format(Ce,k)}addCalendarYears(k,z){return this.addCalendarMonths(k,12*z)}addCalendarMonths(k,z){let Ce=this._createDateWithOverflow(this.getYear(k),this.getMonth(k)+z,this.getDate(k));return this.getMonth(Ce)!=((this.getMonth(k)+z)%12+12)%12&&(Ce=this._createDateWithOverflow(this.getYear(Ce),this.getMonth(Ce),0)),Ce}addCalendarDays(k,z){return this._createDateWithOverflow(this.getYear(k),this.getMonth(k),this.getDate(k)+z)}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(st.test(k)){let z=new Date(k);if(this.isValid(z))return z}}return super.deserialize(k)}isDateInstance(k){return k instanceof Date}isValid(k){return!isNaN(k.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(k,z,Ce){const ie=new Date;return ie.setFullYear(k,z,Ce),ie.setHours(0,0,0,0),ie}_2digit(k){return("00"+k).slice(-2)}_format(k,z){const Ce=new Date;return Ce.setUTCFullYear(z.getFullYear(),z.getMonth(),z.getDate()),Ce.setUTCHours(z.getHours(),z.getMinutes(),z.getSeconds(),z.getMilliseconds()),k.format(Ce)}}return he.\u0275fac=function(k){return new(k||he)(n.\u0275\u0275inject(_e,8),n.\u0275\u0275inject(r.t4))},he.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();const Ne={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 qe=(()=>{class he{}return he.\u0275fac=function(k){return new(k||he)},he.\u0275mod=n.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:dt,useClass:ut}]}),he})(),ke=(()=>{class he{}return he.\u0275fac=function(k){return new(k||he)},he.\u0275mod=n.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:it,useValue:Ne}],imports:[[qe]]}),he})(),Qe=(()=>{class he{isErrorState(k,z){return!!(k&&k.invalid&&(k.dirty||z&&z.submitted))}}return he.\u0275fac=function(k){return new(k||he)},he.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})(),ht=(()=>{class he{isErrorState(k,z){return!!(k&&k.invalid&&(k.touched||z&&z.submitted))}}return he.\u0275fac=function(k){return new(k||he)},he.\u0275prov=n.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac,providedIn:"root"}),he})(),ye=(()=>{class he{}return he.\u0275fac=function(k){return new(k||he)},he.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),he})();function Oe(he,ne,k="mat"){he.changes.pipe((0,u.O)(he)).subscribe(({length:z})=>{L(ne,`${k}-2-line`,!1),L(ne,`${k}-3-line`,!1),L(ne,`${k}-multi-line`,!1),2===z||3===z?L(ne,`${k}-${z}-line`,!0):z>3&&L(ne,`${k}-multi-line`,!0)})}function L(he,ne,k){he.nativeElement.classList.toggle(ne,k)}let ee=(()=>{class he{}return he.\u0275fac=function(k){return new(k||he)},he.\u0275mod=n.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe],oe]}),he})();class Me{constructor(ne,k,z){this._renderer=ne,this.element=k,this.config=z,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ge={enterDuration:225,exitDuration:150},xe=(0,r.i$)({passive:!0}),j=["mousedown","touchstart"],ve=["mouseup","mouseleave","touchend","touchcancel"];class Re{constructor(ne,k,z,Ce){this._target=ne,this._ngZone=k,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Ce.isBrowser&&(this._containerElement=(0,f.fI)(z))}fadeInRipple(ne,k,z={}){const Ce=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ie=Object.assign(Object.assign({},Ge),z.animation);z.centered&&(ne=Ce.left+Ce.width/2,k=Ce.top+Ce.height/2);const ze=z.radius||function ot(he,ne,k){const z=Math.max(Math.abs(he-k.left),Math.abs(he-k.right)),Ce=Math.max(Math.abs(ne-k.top),Math.abs(ne-k.bottom));return Math.sqrt(z*z+Ce*Ce)}(ne,k,Ce),wt=ne-Ce.left,He=k-Ce.top,_t=ie.enterDuration,de=document.createElement("div");de.classList.add("mat-ripple-element"),de.style.left=wt-ze+"px",de.style.top=He-ze+"px",de.style.height=2*ze+"px",de.style.width=2*ze+"px",null!=z.color&&(de.style.backgroundColor=z.color),de.style.transitionDuration=`${_t}ms`,this._containerElement.appendChild(de),function tt(he){window.getComputedStyle(he).getPropertyValue("opacity")}(de),de.style.transform="scale(1)";const B=new Me(this,de,z);return B.state=0,this._activeRipples.add(B),z.persistent||(this._mostRecentTransientRipple=B),this._runTimeoutOutsideZone(()=>{const re=B===this._mostRecentTransientRipple;B.state=1,!z.persistent&&(!re||!this._isPointerDown)&&B.fadeOut()},_t),B}fadeOutRipple(ne){const k=this._activeRipples.delete(ne);if(ne===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!k)return;const z=ne.element,Ce=Object.assign(Object.assign({},Ge),ne.config.animation);z.style.transitionDuration=`${Ce.exitDuration}ms`,z.style.opacity="0",ne.state=2,this._runTimeoutOutsideZone(()=>{ne.state=3,z.remove()},Ce.exitDuration)}fadeOutAll(){this._activeRipples.forEach(ne=>ne.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(ne=>{ne.config.persistent||ne.fadeOut()})}setupTriggerEvents(ne){const k=(0,f.fI)(ne);!k||k===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=k,this._registerEvents(j))}handleEvent(ne){"mousedown"===ne.type?this._onMousedown(ne):"touchstart"===ne.type?this._onTouchStart(ne):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ve),this._pointerUpEventsRegistered=!0)}_onMousedown(ne){const k=(0,l.X6)(ne),z=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!k&&!z&&(this._isPointerDown=!0,this.fadeInRipple(ne.clientX,ne.clientY,this._target.rippleConfig))}_onTouchStart(ne){if(!this._target.rippleDisabled&&!(0,l.yG)(ne)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const k=ne.changedTouches;for(let z=0;z<k.length;z++)this.fadeInRipple(k[z].clientX,k[z].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(ne=>{!ne.config.persistent&&(1===ne.state||ne.config.terminateOnPointerUp&&0===ne.state)&&ne.fadeOut()}))}_runTimeoutOutsideZone(ne,k=0){this._ngZone.runOutsideAngular(()=>setTimeout(ne,k))}_registerEvents(ne){this._ngZone.runOutsideAngular(()=>{ne.forEach(k=>{this._triggerElement.addEventListener(k,this,xe)})})}_removeTriggerEvents(){this._triggerElement&&(j.forEach(ne=>{this._triggerElement.removeEventListener(ne,this,xe)}),this._pointerUpEventsRegistered&&ve.forEach(ne=>{this._triggerElement.removeEventListener(ne,this,xe)}))}}const Tt=new n.InjectionToken("mat-ripple-global-options");let Et=(()=>{class he{constructor(k,z,Ce,ie,ze){this._elementRef=k,this._animationMode=ze,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ie||{},this._rippleRenderer=new Re(this,z,k,Ce)}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,z=0,Ce){return"number"==typeof k?this._rippleRenderer.fadeInRipple(k,z,Object.assign(Object.assign({},this.rippleConfig),Ce)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),k))}}return he.\u0275fac=function(k){return new(k||he)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(Tt,8),n.\u0275\u0275directiveInject(_.ANIMATION_MODULE_TYPE,8))},he.\u0275dir=n.\u0275\u0275defineDirective({type:he,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(k,z){2&k&&n.\u0275\u0275classProp("mat-ripple-unbounded",z.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"]}),he})(),Rt=(()=>{class he{}return he.\u0275fac=function(k){return new(k||he)},he.\u0275mod=n.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe],oe]}),he})(),$e=(()=>{class he{constructor(k){this._animationMode=k,this.state="unchecked",this.disabled=!1}}return he.\u0275fac=function(k){return new(k||he)(n.\u0275\u0275directiveInject(_.ANIMATION_MODULE_TYPE,8))},he.\u0275cmp=n.\u0275\u0275defineComponent({type:he,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(k,z){2&k&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===z.state)("mat-pseudo-checkbox-checked","checked"===z.state)("mat-pseudo-checkbox-disabled",z.disabled)("_mat-animation-noopable","NoopAnimations"===z._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(k,z){},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}),he})(),we=(()=>{class he{}return he.\u0275fac=function(k){return new(k||he)},he.\u0275mod=n.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=n.\u0275\u0275defineInjector({imports:[[oe]]}),he})();const Te=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Ze=We(class{});let Pe=0,vt=(()=>{class he extends Ze{constructor(k){var z;super(),this._labelId="mat-optgroup-label-"+Pe++,this._inert=null!==(z=null==k?void 0:k.inertGroups)&&void 0!==z&&z}}return he.\u0275fac=function(k){return new(k||he)(n.\u0275\u0275directiveInject(Te,8))},he.\u0275dir=n.\u0275\u0275defineDirective({type:he,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),he})();const Fe=new n.InjectionToken("MatOptgroup");let Ue=(()=>{class he extends vt{}return he.\u0275fac=function(){let ne;return function(z){return(ne||(ne=n.\u0275\u0275getInheritedFactory(he)))(z||he)}}(),he.\u0275cmp=n.\u0275\u0275defineComponent({type:he,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(k,z){2&k&&(n.\u0275\u0275attribute("role",z._inert?null:"group")("aria-disabled",z._inert?null:z.disabled.toString())("aria-labelledby",z._inert?null:z._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",z.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:he}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:T,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(k,z){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",z._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",z.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}),he})(),lt=0;class yt{constructor(ne,k=!1){this.source=ne,this.isUserInput=k}}let Vt=(()=>{class he{constructor(k,z,Ce,ie){this._element=k,this._changeDetectorRef=z,this._parent=Ce,this.group=ie,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+lt++,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,z){const Ce=this._getHostElement();"function"==typeof Ce.focus&&Ce.focus(z)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(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 yt(this,k))}}return he.\u0275fac=function(k){n.\u0275\u0275invalidFactory()},he.\u0275dir=n.\u0275\u0275defineDirective({type:he,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),he})(),Dt=(()=>{class he extends Vt{constructor(k,z,Ce,ie){super(k,z,Ce,ie)}}return he.\u0275fac=function(k){return new(k||he)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Te,8),n.\u0275\u0275directiveInject(Fe,8))},he.\u0275cmp=n.\u0275\u0275defineComponent({type:he,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(k,z){1&k&&n.\u0275\u0275listener("click",function(){return z._selectViaInteraction()})("keydown",function(ie){return z._handleKeydown(ie)}),2&k&&(n.\u0275\u0275hostProperty("id",z.id),n.\u0275\u0275attribute("tabindex",z._getTabIndex())("aria-selected",z._getAriaSelected())("aria-disabled",z.disabled.toString()),n.\u0275\u0275classProp("mat-selected",z.selected)("mat-option-multiple",z.multiple)("mat-active",z.active)("mat-option-disabled",z.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,z){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",z.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",z.group&&z.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",z._getHostElement())("matRippleDisabled",z.disabled||z.disableRipple))},directives:[$e,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}),he})();function Kt(he,ne,k){if(k.length){let z=ne.toArray(),Ce=k.toArray(),ie=0;for(let ze=0;ze<he+1;ze++)z[ze].group&&z[ze].group===Ce[ie]&&ie++;return ie}return 0}function St(he,ne,k,z){return he<k?he:he+ne>k+z?Math.max(0,he-z+ne):k}let Ht=(()=>{class he{}return he.\u0275fac=function(k){return new(k||he)},he.\u0275mod=n.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Rt,d.CommonModule,oe,we]]}),he})()},2339:(W,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_DIALOG_DATA:()=>ue,MAT_DIALOG_DEFAULT_OPTIONS:()=>$,MAT_DIALOG_SCROLL_STRATEGY:()=>fe,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>me,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>Xe,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>_e,MatDialog:()=>it,MatDialogActions:()=>ke,MatDialogClose:()=>ut,MatDialogConfig:()=>q,MatDialogContainer:()=>ge,MatDialogContent:()=>qe,MatDialogModule:()=>ht,MatDialogRef:()=>We,MatDialogTitle:()=>Ne,_MatDialogBase:()=>dt,_MatDialogContainerBase:()=>ce,_closeDialogVia:()=>Y,matDialogAnimations:()=>V,throwMatDialogContentAlreadyAttachedError:()=>oe});var n=a(1314),h=a(7429),y=a(5e3),d=a(508),r=a(226),l=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),U=a(1159),J=a(6360);function Q(ye,Oe){}class q{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 V={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 ce=(()=>{class ye extends h.en{constructor(L,ee,Me,Ge,Ke,xe,j,ve){super(),this._elementRef=L,this._focusTrapFactory=ee,this._changeDetectorRef=Me,this._config=Ke,this._interactivityChecker=xe,this._ngZone=j,this._focusMonitor=ve,this._animationStateChanged=new y.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Re=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Re)),this._ariaLabelledBy=Ke.ariaLabelledBy||null,this._document=Ge}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,T.ht)())}attachComponentPortal(L){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(L)}attachTemplatePortal(L){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(L)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(L,ee){this._interactivityChecker.isFocusable(L)||(L.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Me=()=>{L.removeEventListener("blur",Me),L.removeEventListener("mousedown",Me),L.removeAttribute("tabindex")};L.addEventListener("blur",Me),L.addEventListener("mousedown",Me)})),L.focus(ee)}_focusByCssSelector(L,ee){let Me=this._elementRef.nativeElement.querySelector(L);Me&&this._forceFocus(Me,ee)}_trapFocus(){const L=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||L.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ee=>{ee||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 L=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&L&&"function"==typeof L.focus){const ee=(0,T.ht)(),Me=this._elementRef.nativeElement;(!ee||ee===this._document.body||ee===Me||Me.contains(ee))&&(this._focusMonitor?(this._focusMonitor.focusVia(L,this._closeInteractionType),this._closeInteractionType=null):L.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const L=this._elementRef.nativeElement,ee=(0,T.ht)();return L===ee||L.contains(ee)}}return ye.\u0275fac=function(L){return new(L||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(q),y.\u0275\u0275directiveInject(I.ic),y.\u0275\u0275directiveInject(y.NgZone),y.\u0275\u0275directiveInject(I.tE))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,viewQuery:function(L,ee){if(1&L&&y.\u0275\u0275viewQuery(h.Pl,7),2&L){let Me;y.\u0275\u0275queryRefresh(Me=y.\u0275\u0275loadQuery())&&(ee._portalOutlet=Me.first)}},features:[y.\u0275\u0275InheritDefinitionFeature]}),ye})(),ge=(()=>{class ye extends ce{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:L,totalTime:ee}){"enter"===L?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ee})):"exit"===L&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:ee}))}_onAnimationStart({toState:L,totalTime:ee}){"enter"===L?this._animationStateChanged.next({state:"opening",totalTime:ee}):("exit"===L||"void"===L)&&this._animationStateChanged.next({state:"closing",totalTime:ee})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return ye.\u0275fac=function(){let Oe;return function(ee){return(Oe||(Oe=y.\u0275\u0275getInheritedFactory(ye)))(ee||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(L,ee){1&L&&y.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(Ge){return ee._onAnimationStart(Ge)})("@dialogContainer.done",function(Ge){return ee._onAnimationDone(Ge)}),2&L&&(y.\u0275\u0275hostProperty("id",ee._id),y.\u0275\u0275attribute("role",ee._config.role)("aria-labelledby",ee._config.ariaLabel?null:ee._ariaLabelledBy)("aria-label",ee._config.ariaLabel)("aria-describedby",ee._config.ariaDescribedBy||null),y.\u0275\u0275syntheticHostProperty("@dialogContainer",ee._state))},features:[y.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(L,ee){1&L&&y.\u0275\u0275template(0,Q,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:[V.dialogContainer]}}),ye})(),De=0;class We{constructor(Oe,L,ee="mat-dialog-"+De++){this._overlayRef=Oe,this._containerInstance=L,this.id=ee,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new m.x,this._afterClosed=new m.x,this._beforeClosed=new m.x,this._state=0,L._id=ee,L._animationStateChanged.pipe((0,_.h)(Me=>"opened"===Me.state),(0,v.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),L._animationStateChanged.pipe((0,_.h)(Me=>"closed"===Me.state),(0,v.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Oe.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),Oe.keydownEvents().pipe((0,_.h)(Me=>Me.keyCode===U.hY&&!this.disableClose&&!(0,U.Vb)(Me))).subscribe(Me=>{Me.preventDefault(),Y(this,"keyboard")}),Oe.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Y(this,"mouse")})}close(Oe){this._result=Oe,this._containerInstance._animationStateChanged.pipe((0,_.h)(L=>"closing"===L.state),(0,v.q)(1)).subscribe(L=>{this._beforeClosed.next(Oe),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),L.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(Oe){let L=this._getPositionStrategy();return Oe&&(Oe.left||Oe.right)?Oe.left?L.left(Oe.left):L.right(Oe.right):L.centerHorizontally(),Oe&&(Oe.top||Oe.bottom)?Oe.top?L.top(Oe.top):L.bottom(Oe.bottom):L.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(Oe="",L=""){return this._overlayRef.updateSize({width:Oe,height:L}),this._overlayRef.updatePosition(),this}addPanelClass(Oe){return this._overlayRef.addPanelClass(Oe),this}removePanelClass(Oe){return this._overlayRef.removePanelClass(Oe),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Y(ye,Oe,L){return void 0!==ye._containerInstance&&(ye._containerInstance._closeInteractionType=Oe),ye.close(L)}const ue=new y.InjectionToken("MatDialogData"),$=new y.InjectionToken("mat-dialog-default-options"),fe=new y.InjectionToken("mat-dialog-scroll-strategy");function me(ye){return()=>ye.scrollStrategies.block()}function _e(ye){return()=>ye.scrollStrategies.block()}const Xe={provide:fe,deps:[n.aV],useFactory:_e};let dt=(()=>{class ye{constructor(L,ee,Me,Ge,Ke,xe,j,ve,Re,tt){this._overlay=L,this._injector=ee,this._defaultOptions=Me,this._parentDialog=Ge,this._overlayContainer=Ke,this._dialogRefConstructor=j,this._dialogContainerType=ve,this._dialogDataToken=Re,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new m.x,this._afterOpenedAtThisLevel=new m.x,this._ariaHiddenElements=new Map,this.afterAllClosed=function p(ye){return new l.y(Oe=>{(0,f.Xf)(ye()).subscribe(Oe)})}(()=>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 L=this._parentDialog;return L?L._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(L,ee){ee=function st(ye,Oe){return Object.assign(Object.assign({},Oe),ye)}(ee,this._defaultOptions||new q),ee.id&&this.getDialogById(ee.id);const Me=this._createOverlay(ee),Ge=this._attachDialogContainer(Me,ee),Ke=this._attachDialogContent(L,Ge,Me,ee);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ke),Ke.afterClosed().subscribe(()=>this._removeOpenDialog(Ke)),this.afterOpened.next(Ke),Ge._initializeWithAttachedContent(),Ke}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(L){return this.openDialogs.find(ee=>ee.id===L)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(L){const ee=this._getOverlayConfig(L);return this._overlay.create(ee)}_getOverlayConfig(L){const ee=new n.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:L.scrollStrategy||this._scrollStrategy(),panelClass:L.panelClass,hasBackdrop:L.hasBackdrop,direction:L.direction,minWidth:L.minWidth,minHeight:L.minHeight,maxWidth:L.maxWidth,maxHeight:L.maxHeight,disposeOnNavigation:L.closeOnNavigation});return L.backdropClass&&(ee.backdropClass=L.backdropClass),ee}_attachDialogContainer(L,ee){const Ge=y.Injector.create({parent:ee&&ee.viewContainerRef&&ee.viewContainerRef.injector||this._injector,providers:[{provide:q,useValue:ee}]}),Ke=new h.C5(this._dialogContainerType,ee.viewContainerRef,Ge,ee.componentFactoryResolver);return L.attach(Ke).instance}_attachDialogContent(L,ee,Me,Ge){const Ke=new this._dialogRefConstructor(Me,ee,Ge.id);if(L instanceof y.TemplateRef)ee.attachTemplatePortal(new h.UE(L,null,{$implicit:Ge.data,dialogRef:Ke}));else{const xe=this._createInjector(Ge,Ke,ee),j=ee.attachComponentPortal(new h.C5(L,Ge.viewContainerRef,xe,Ge.componentFactoryResolver));Ke.componentInstance=j.instance}return Ke.updateSize(Ge.width,Ge.height).updatePosition(Ge.position),Ke}_createInjector(L,ee,Me){const Ge=L&&L.viewContainerRef&&L.viewContainerRef.injector,Ke=[{provide:this._dialogContainerType,useValue:Me},{provide:this._dialogDataToken,useValue:L.data},{provide:this._dialogRefConstructor,useValue:ee}];return L.direction&&(!Ge||!Ge.get(r.Is,null,y.InjectFlags.Optional))&&Ke.push({provide:r.Is,useValue:{value:L.direction,change:(0,u.of)()}}),y.Injector.create({parent:Ge||this._injector,providers:Ke})}_removeOpenDialog(L){const ee=this.openDialogs.indexOf(L);ee>-1&&(this.openDialogs.splice(ee,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Me,Ge)=>{Me?Ge.setAttribute("aria-hidden",Me):Ge.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const L=this._overlayContainer.getContainerElement();if(L.parentElement){const ee=L.parentElement.children;for(let Me=ee.length-1;Me>-1;Me--){let Ge=ee[Me];Ge!==L&&"SCRIPT"!==Ge.nodeName&&"STYLE"!==Ge.nodeName&&!Ge.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Ge,Ge.getAttribute("aria-hidden")),Ge.setAttribute("aria-hidden","true"))}}}_closeDialogs(L){let ee=L.length;for(;ee--;)L[ee].close()}}return ye.\u0275fac=function(L){y.\u0275\u0275invalidFactory()},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye}),ye})(),it=(()=>{class ye extends dt{constructor(L,ee,Me,Ge,Ke,xe,j,ve){super(L,ee,Ge,xe,j,Ke,We,ge,ue,ve)}}return ye.\u0275fac=function(L){return new(L||ye)(y.\u0275\u0275inject(n.aV),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(S.Location,8),y.\u0275\u0275inject($,8),y.\u0275\u0275inject(fe),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})(),Ye=0,ut=(()=>{class ye{constructor(L,ee,Me){this.dialogRef=L,this._elementRef=ee,this._dialog=Me,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Qe(this._elementRef,this._dialog.openDialogs))}ngOnChanges(L){const ee=L._matDialogClose||L._matDialogCloseResult;ee&&(this.dialogResult=ee.currentValue)}_onButtonClick(L){Y(this.dialogRef,0===L.screenX&&0===L.screenY?"keyboard":"mouse",this.dialogResult)}}return ye.\u0275fac=function(L){return new(L||ye)(y.\u0275\u0275directiveInject(We,8),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(it))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(L,ee){1&L&&y.\u0275\u0275listener("click",function(Ge){return ee._onButtonClick(Ge)}),2&L&&y.\u0275\u0275attribute("aria-label",ee.ariaLabel||null)("type",ee.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[y.\u0275\u0275NgOnChangesFeature]}),ye})(),Ne=(()=>{class ye{constructor(L,ee,Me){this._dialogRef=L,this._elementRef=ee,this._dialog=Me,this.id="mat-dialog-title-"+Ye++}ngOnInit(){this._dialogRef||(this._dialogRef=Qe(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const L=this._dialogRef._containerInstance;L&&!L._ariaLabelledBy&&(L._ariaLabelledBy=this.id)})}}return ye.\u0275fac=function(L){return new(L||ye)(y.\u0275\u0275directiveInject(We,8),y.\u0275\u0275directiveInject(y.ElementRef),y.\u0275\u0275directiveInject(it))},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(L,ee){2&L&&y.\u0275\u0275hostProperty("id",ee.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ye})(),qe=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),ye})(),ke=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275dir=y.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),ye})();function Qe(ye,Oe){let L=ye.nativeElement.parentElement;for(;L&&!L.classList.contains("mat-dialog-container");)L=L.parentElement;return L?Oe.find(ee=>ee.id===L.id):null}let ht=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=y.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=y.\u0275\u0275defineInjector({providers:[it,Xe],imports:[[n.U8,h.eL,d.MatCommonModule],d.MatCommonModule]}),ye})()},3293:(W,o,a)=>{"use strict";a.r(o),a.d(o,{ICON_REGISTRY_PROVIDER:()=>_e,ICON_REGISTRY_PROVIDER_FACTORY:()=>me,MAT_ICON_LOCATION:()=>Ye,MAT_ICON_LOCATION_FACTORY:()=>ut,MatIcon:()=>Qe,MatIconModule:()=>ht,MatIconRegistry:()=>fe,getMatIconFailedToSanitizeLiteralError:()=>ue,getMatIconFailedToSanitizeUrlError:()=>Y,getMatIconNameNotFoundError:()=>De,getMatIconNoHttpProviderError:()=>We});var n=a(5e3),h=a(508),y=a(3191),d=a(9808),r=a(8306),l=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)((Oe,L)=>{let Ge,ee=null,Me=!1;ee=Oe.subscribe((0,v.x)(L,void 0,void 0,Ke=>{Ge=(0,_.Xf)(ye(Ke,T(ye)(Oe))),ee?(ee.unsubscribe(),ee=null,Ge.subscribe(L)):Me=!0})),Me&&(ee.unsubscribe(),ee=null,Ge.subscribe(L))})}var P=a(8505),I=a(4004),U=a(3099),J=a(5698),Q=a(6529),q=a(2313);const V=["*"];let oe;function ge(ye){var Oe;return(null===(Oe=function ce(){if(void 0===oe&&(oe=null,"undefined"!=typeof window)){const ye=window;void 0!==ye.trustedTypes&&(oe=ye.trustedTypes.createPolicy("angular#components",{createHTML:Oe=>Oe}))}return oe}())||void 0===Oe?void 0:Oe.createHTML(ye))||ye}function De(ye){return Error(`Unable to find icon with the name "${ye}"`)}function We(){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 Y(ye){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ye}".`)}function ue(ye){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ye}".`)}class ${constructor(Oe,L,ee){this.url=Oe,this.svgText=L,this.options=ee}}let fe=(()=>{class ye{constructor(L,ee,Me,Ge){this._httpClient=L,this._sanitizer=ee,this._errorHandler=Ge,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(L,ee,Me){return this.addSvgIconInNamespace("",L,ee,Me)}addSvgIconLiteral(L,ee,Me){return this.addSvgIconLiteralInNamespace("",L,ee,Me)}addSvgIconInNamespace(L,ee,Me,Ge){return this._addSvgIconConfig(L,ee,new $(Me,null,Ge))}addSvgIconResolver(L){return this._resolvers.push(L),this}addSvgIconLiteralInNamespace(L,ee,Me,Ge){const Ke=this._sanitizer.sanitize(n.SecurityContext.HTML,Me);if(!Ke)throw ue(Me);const xe=ge(Ke);return this._addSvgIconConfig(L,ee,new $("",xe,Ge))}addSvgIconSet(L,ee){return this.addSvgIconSetInNamespace("",L,ee)}addSvgIconSetLiteral(L,ee){return this.addSvgIconSetLiteralInNamespace("",L,ee)}addSvgIconSetInNamespace(L,ee,Me){return this._addSvgIconSetConfig(L,new $(ee,null,Me))}addSvgIconSetLiteralInNamespace(L,ee,Me){const Ge=this._sanitizer.sanitize(n.SecurityContext.HTML,ee);if(!Ge)throw ue(ee);const Ke=ge(Ge);return this._addSvgIconSetConfig(L,new $("",Ke,Me))}registerFontClassAlias(L,ee=L){return this._fontCssClassesByAlias.set(L,ee),this}classNameForFontAlias(L){return this._fontCssClassesByAlias.get(L)||L}setDefaultFontSetClass(L){return this._defaultFontSetClass=L,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(L){const ee=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,L);if(!ee)throw Y(L);const Me=this._cachedIconsByUrl.get(ee);return Me?(0,p.of)(Xe(Me)):this._loadSvgIconFromConfig(new $(L,null)).pipe((0,P.b)(Ge=>this._cachedIconsByUrl.set(ee,Ge)),(0,I.U)(Ge=>Xe(Ge)))}getNamedSvgIcon(L,ee=""){const Me=dt(ee,L);let Ge=this._svgIconConfigs.get(Me);if(Ge)return this._getSvgFromConfig(Ge);if(Ge=this._getIconConfigFromResolvers(ee,L),Ge)return this._svgIconConfigs.set(Me,Ge),this._getSvgFromConfig(Ge);const Ke=this._iconSetConfigs.get(ee);return Ke?this._getSvgFromIconSetConfigs(L,Ke):function f(ye,Oe){const L=(0,l.m)(ye)?ye:()=>ye,ee=Me=>Me.error(L());return new r.y(Oe?Me=>Oe.schedule(ee,0,Me):ee)}(De(Me))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(L){return L.svgText?(0,p.of)(Xe(this._svgElementFromConfig(L))):this._loadSvgIconFromConfig(L).pipe((0,I.U)(ee=>Xe(ee)))}_getSvgFromIconSetConfigs(L,ee){const Me=this._extractIconWithNameFromAnySet(L,ee);if(Me)return(0,p.of)(Me);const Ge=ee.filter(Ke=>!Ke.svgText).map(Ke=>this._loadSvgIconSetFromConfig(Ke).pipe(T(xe=>{const ve=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ke.url)} failed: ${xe.message}`;return this._errorHandler.handleError(new Error(ve)),(0,p.of)(null)})));return(0,m.D)(Ge).pipe((0,I.U)(()=>{const Ke=this._extractIconWithNameFromAnySet(L,ee);if(!Ke)throw De(L);return Ke}))}_extractIconWithNameFromAnySet(L,ee){for(let Me=ee.length-1;Me>=0;Me--){const Ge=ee[Me];if(Ge.svgText&&Ge.svgText.toString().indexOf(L)>-1){const Ke=this._svgElementFromConfig(Ge),xe=this._extractSvgIconFromSet(Ke,L,Ge.options);if(xe)return xe}}return null}_loadSvgIconFromConfig(L){return this._fetchIcon(L).pipe((0,P.b)(ee=>L.svgText=ee),(0,I.U)(()=>this._svgElementFromConfig(L)))}_loadSvgIconSetFromConfig(L){return L.svgText?(0,p.of)(null):this._fetchIcon(L).pipe((0,P.b)(ee=>L.svgText=ee))}_extractSvgIconFromSet(L,ee,Me){const Ge=L.querySelector(`[id="${ee}"]`);if(!Ge)return null;const Ke=Ge.cloneNode(!0);if(Ke.removeAttribute("id"),"svg"===Ke.nodeName.toLowerCase())return this._setSvgAttributes(Ke,Me);if("symbol"===Ke.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ke),Me);const xe=this._svgElementFromString(ge("<svg></svg>"));return xe.appendChild(Ke),this._setSvgAttributes(xe,Me)}_svgElementFromString(L){const ee=this._document.createElement("DIV");ee.innerHTML=L;const Me=ee.querySelector("svg");if(!Me)throw Error("<svg> tag not found");return Me}_toSvgElement(L){const ee=this._svgElementFromString(ge("<svg></svg>")),Me=L.attributes;for(let Ge=0;Ge<Me.length;Ge++){const{name:Ke,value:xe}=Me[Ge];"id"!==Ke&&ee.setAttribute(Ke,xe)}for(let Ge=0;Ge<L.childNodes.length;Ge++)L.childNodes[Ge].nodeType===this._document.ELEMENT_NODE&&ee.appendChild(L.childNodes[Ge].cloneNode(!0));return ee}_setSvgAttributes(L,ee){return L.setAttribute("fit",""),L.setAttribute("height","100%"),L.setAttribute("width","100%"),L.setAttribute("preserveAspectRatio","xMidYMid meet"),L.setAttribute("focusable","false"),ee&&ee.viewBox&&L.setAttribute("viewBox",ee.viewBox),L}_fetchIcon(L){var ee;const{url:Me,options:Ge}=L,Ke=null!==(ee=null==Ge?void 0:Ge.withCredentials)&&void 0!==ee&&ee;if(!this._httpClient)throw We();if(null==Me)throw Error(`Cannot fetch icon from URL "${Me}".`);const xe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Me);if(!xe)throw Y(Me);const j=this._inProgressUrlFetches.get(xe);if(j)return j;const ve=this._httpClient.get(xe,{responseType:"text",withCredentials:Ke}).pipe((0,I.U)(Re=>ge(Re)),function S(ye){return(0,b.e)((Oe,L)=>{try{Oe.subscribe(L)}finally{L.add(ye)}})}(()=>this._inProgressUrlFetches.delete(xe)),(0,U.B)());return this._inProgressUrlFetches.set(xe,ve),ve}_addSvgIconConfig(L,ee,Me){return this._svgIconConfigs.set(dt(L,ee),Me),this}_addSvgIconSetConfig(L,ee){const Me=this._iconSetConfigs.get(L);return Me?Me.push(ee):this._iconSetConfigs.set(L,[ee]),this}_svgElementFromConfig(L){if(!L.svgElement){const ee=this._svgElementFromString(L.svgText);this._setSvgAttributes(ee,L.options),L.svgElement=ee}return L.svgElement}_getIconConfigFromResolvers(L,ee){for(let Me=0;Me<this._resolvers.length;Me++){const Ge=this._resolvers[Me](ee,L);if(Ge)return it(Ge)?new $(Ge.url,null,Ge.options):new $(Ge,null)}}}return ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(Q.HttpClient,8),n.\u0275\u0275inject(q.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 me(ye,Oe,L,ee,Me){return ye||new fe(Oe,L,Me,ee)}const _e={provide:fe,deps:[[new n.Optional,new n.SkipSelf,fe],[new n.Optional,Q.HttpClient],q.DomSanitizer,n.ErrorHandler,[new n.Optional,d.DOCUMENT]],useFactory:me};function Xe(ye){return ye.cloneNode(!0)}function dt(ye,Oe){return ye+":"+Oe}function it(ye){return!(!ye.url||!ye.options)}const st=(0,h.mixinColor)(class{constructor(ye){this._elementRef=ye}}),Ye=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:ut});function ut(){const ye=(0,n.inject)(d.DOCUMENT),Oe=ye?ye.location:null;return{getPathname:()=>Oe?Oe.pathname+Oe.search:""}}const Ne=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],qe=Ne.map(ye=>`[${ye}]`).join(", "),ke=/^url\(['"]?#(.*?)['"]?\)$/;let Qe=(()=>{class ye extends st{constructor(L,ee,Me,Ge,Ke){super(L),this._iconRegistry=ee,this._location=Ge,this._errorHandler=Ke,this._inline=!1,this._currentIconFetch=u.w0.EMPTY,Me||L.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(L){this._inline=(0,y.Ig)(L)}get svgIcon(){return this._svgIcon}set svgIcon(L){L!==this._svgIcon&&(L?this._updateSvgIcon(L):this._svgIcon&&this._clearSvgElement(),this._svgIcon=L)}get fontSet(){return this._fontSet}set fontSet(L){const ee=this._cleanupFontValue(L);ee!==this._fontSet&&(this._fontSet=ee,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(L){const ee=this._cleanupFontValue(L);ee!==this._fontIcon&&(this._fontIcon=ee,this._updateFontIconClasses())}_splitIconName(L){if(!L)return["",""];const ee=L.split(":");switch(ee.length){case 1:return["",ee[0]];case 2:return ee;default:throw Error(`Invalid icon name: "${L}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const L=this._elementsWithExternalReferences;if(L&&L.size){const ee=this._location.getPathname();ee!==this._previousPath&&(this._previousPath=ee,this._prependPathToReferences(ee))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(L){this._clearSvgElement();const ee=this._location.getPathname();this._previousPath=ee,this._cacheChildrenWithExternalReferences(L),this._prependPathToReferences(ee),this._elementRef.nativeElement.appendChild(L)}_clearSvgElement(){const L=this._elementRef.nativeElement;let ee=L.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ee--;){const Me=L.childNodes[ee];(1!==Me.nodeType||"svg"===Me.nodeName.toLowerCase())&&Me.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const L=this._elementRef.nativeElement,ee=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();ee!=this._previousFontSetClass&&(this._previousFontSetClass&&L.classList.remove(this._previousFontSetClass),ee&&L.classList.add(ee),this._previousFontSetClass=ee),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&L.classList.remove(this._previousFontIconClass),this.fontIcon&&L.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(L){return"string"==typeof L?L.trim().split(" ")[0]:L}_prependPathToReferences(L){const ee=this._elementsWithExternalReferences;ee&&ee.forEach((Me,Ge)=>{Me.forEach(Ke=>{Ge.setAttribute(Ke.name,`url('${L}#${Ke.value}')`)})})}_cacheChildrenWithExternalReferences(L){const ee=L.querySelectorAll(qe),Me=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ge=0;Ge<ee.length;Ge++)Ne.forEach(Ke=>{const xe=ee[Ge],j=xe.getAttribute(Ke),ve=j?j.match(ke):null;if(ve){let Re=Me.get(xe);Re||(Re=[],Me.set(xe,Re)),Re.push({name:Ke,value:ve[1]})}})}_updateSvgIcon(L){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),L){const[ee,Me]=this._splitIconName(L);ee&&(this._svgNamespace=ee),Me&&(this._svgName=Me),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Me,ee).pipe((0,J.q)(1)).subscribe(Ge=>this._setSvgElement(Ge),Ge=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ee}:${Me}! ${Ge.message}`))})}}}return ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(fe),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(Ye),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(L,ee){2&L&&(n.\u0275\u0275attribute("data-mat-icon-type",ee._usingFontIcon()?"font":"svg")("data-mat-icon-name",ee._svgName||ee.fontIcon)("data-mat-icon-namespace",ee._svgNamespace||ee.fontSet),n.\u0275\u0275classProp("mat-icon-inline",ee.inline)("mat-icon-no-color","primary"!==ee.color&&"accent"!==ee.color&&"warn"!==ee.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:V,decls:1,vars:0,template:function(L,ee){1&L&&(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})(),ht=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.MatCommonModule],h.MatCommonModule]}),ye})()},1451:(W,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_MENU_CONTENT:()=>ke,MAT_MENU_DEFAULT_OPTIONS:()=>xe,MAT_MENU_PANEL:()=>Me,MAT_MENU_SCROLL_STRATEGY:()=>ot,MatMenu:()=>tt,MatMenuContent:()=>ht,MatMenuItem:()=>Ke,MatMenuModule:()=>Ze,MatMenuTrigger:()=>Te,_MatMenuBase:()=>Re,_MatMenuContentBase:()=>Qe,_MatMenuTriggerBase:()=>we,fadeInItems:()=>Ne,matMenuAnimations:()=>ut,transformMenu:()=>qe});var n=a(5664),h=a(3191),y=a(1159),d=a(5e3),r=a(7579),l=a(727),f=a(6451),p=a(9646),m=a(3101),u=a(4986),_=a(7272),v=a(5698),b=a(4482),T=a(5403),S=a(5032),I=a(4004),J=a(5577);function Q(Pe,vt){return vt?Fe=>(0,_.z)(vt.pipe((0,v.q)(1),function P(){return(0,b.e)((Pe,vt)=>{Pe.subscribe((0,T.x)(vt,S.Z))})}()),Fe.pipe(Q(Pe))):(0,J.z)((Fe,Ue)=>Pe(Fe,Ue).pipe((0,v.q)(1),function U(Pe){return(0,I.U)(()=>Pe)}(Fe)))}var q=a(5963);function V(Pe,vt=u.z){const Fe=(0,q.H)(Pe,vt);return Q(()=>Fe)}var oe=a(8675),ce=a(3900),ge=a(2722),De=a(9300),We=a(1777),Y=a(7429),ue=a(9808),$=a(508),fe=a(1314),me=a(925),_e=a(226),Xe=a(495);const dt=["mat-menu-item",""];function it(Pe,vt){1&Pe&&(d.\u0275\u0275namespaceSVG(),d.\u0275\u0275elementStart(0,"svg",2),d.\u0275\u0275element(1,"polygon",3),d.\u0275\u0275elementEnd())}const st=["*"];function Ye(Pe,vt){if(1&Pe){const Fe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("keydown",function(lt){return d.\u0275\u0275restoreView(Fe),d.\u0275\u0275nextContext()._handleKeydown(lt)})("click",function(){return d.\u0275\u0275restoreView(Fe),d.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(lt){return d.\u0275\u0275restoreView(Fe),d.\u0275\u0275nextContext()._onAnimationStart(lt)})("@transformMenu.done",function(lt){return d.\u0275\u0275restoreView(Fe),d.\u0275\u0275nextContext()._onAnimationDone(lt)}),d.\u0275\u0275elementStart(1,"div",1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd()()}if(2&Pe){const Fe=d.\u0275\u0275nextContext();d.\u0275\u0275property("id",Fe.panelId)("ngClass",Fe._classList)("@transformMenu",Fe._panelAnimationState),d.\u0275\u0275attribute("aria-label",Fe.ariaLabel||null)("aria-labelledby",Fe.ariaLabelledby||null)("aria-describedby",Fe.ariaDescribedby||null)}}const ut={transformMenu:(0,We.X$)("transformMenu",[(0,We.SB)("void",(0,We.oB)({opacity:0,transform:"scale(0.8)"})),(0,We.eR)("void => enter",(0,We.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,We.oB)({opacity:1,transform:"scale(1)"}))),(0,We.eR)("* => void",(0,We.jt)("100ms 25ms linear",(0,We.oB)({opacity:0})))]),fadeInItems:(0,We.X$)("fadeInItems",[(0,We.SB)("showing",(0,We.oB)({opacity:1})),(0,We.eR)("void => *",[(0,We.oB)({opacity:0}),(0,We.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ne=ut.fadeInItems,qe=ut.transformMenu,ke=new d.InjectionToken("MatMenuContent");let Qe=(()=>{class Pe{constructor(Fe,Ue,lt,yt,Vt,Dt,Kt){this._template=Fe,this._componentFactoryResolver=Ue,this._appRef=lt,this._injector=yt,this._viewContainerRef=Vt,this._document=Dt,this._changeDetectorRef=Kt,this._attached=new r.x}attach(Fe={}){var Ue;this._portal||(this._portal=new Y.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Y.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===(Ue=this._changeDetectorRef)||void 0===Ue||Ue.markForCheck(),this._portal.attach(this._outlet,Fe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return Pe.\u0275fac=function(Fe){return new(Fe||Pe)(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(ue.DOCUMENT),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},Pe.\u0275dir=d.\u0275\u0275defineDirective({type:Pe}),Pe})(),ht=(()=>{class Pe extends Qe{}return Pe.\u0275fac=function(){let vt;return function(Ue){return(vt||(vt=d.\u0275\u0275getInheritedFactory(Pe)))(Ue||Pe)}}(),Pe.\u0275dir=d.\u0275\u0275defineDirective({type:Pe,selectors:[["ng-template","matMenuContent",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:ke,useExisting:Pe}]),d.\u0275\u0275InheritDefinitionFeature]}),Pe})();const Me=new d.InjectionToken("MAT_MENU_PANEL"),Ge=(0,$.mixinDisableRipple)((0,$.mixinDisabled)(class{}));let Ke=(()=>{class Pe extends Ge{constructor(Fe,Ue,lt,yt,Vt){var Dt;super(),this._elementRef=Fe,this._document=Ue,this._focusMonitor=lt,this._parentMenu=yt,this._changeDetectorRef=Vt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(Dt=null==yt?void 0:yt.addItem)||void 0===Dt||Dt.call(yt,this)}focus(Fe,Ue){this._focusMonitor&&Fe?this._focusMonitor.focusVia(this._getHostElement(),Fe,Ue):this._getHostElement().focus(Ue),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(Fe){this.disabled&&(Fe.preventDefault(),Fe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var Fe;const Ue=this._elementRef.nativeElement.cloneNode(!0),lt=Ue.querySelectorAll("mat-icon, .material-icons");for(let yt=0;yt<lt.length;yt++)lt[yt].remove();return(null===(Fe=Ue.textContent)||void 0===Fe?void 0:Fe.trim())||""}_setHighlighted(Fe){var Ue;this._highlighted=Fe,null===(Ue=this._changeDetectorRef)||void 0===Ue||Ue.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return Pe.\u0275fac=function(Fe){return new(Fe||Pe)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(ue.DOCUMENT),d.\u0275\u0275directiveInject(n.tE),d.\u0275\u0275directiveInject(Me,8),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},Pe.\u0275cmp=d.\u0275\u0275defineComponent({type:Pe,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(Fe,Ue){1&Fe&&d.\u0275\u0275listener("click",function(yt){return Ue._checkDisabled(yt)})("mouseenter",function(){return Ue._handleMouseEnter()}),2&Fe&&(d.\u0275\u0275attribute("role",Ue.role)("tabindex",Ue._getTabIndex())("aria-disabled",Ue.disabled.toString())("disabled",Ue.disabled||null),d.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",Ue._highlighted)("mat-menu-item-submenu-trigger",Ue._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[d.\u0275\u0275InheritDefinitionFeature],attrs:dt,ngContentSelectors:st,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(Fe,Ue){1&Fe&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275projection(0),d.\u0275\u0275element(1,"div",0),d.\u0275\u0275template(2,it,2,0,"svg",1)),2&Fe&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("matRippleDisabled",Ue.disableRipple||Ue.disabled)("matRippleTrigger",Ue._getHostElement()),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Ue._triggersSubmenu))},directives:[$.MatRipple,ue.NgIf],encapsulation:2,changeDetection:0}),Pe})();const xe=new d.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function j(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ve=0,Re=(()=>{class Pe{constructor(Fe,Ue,lt,yt){this._elementRef=Fe,this._ngZone=Ue,this._defaultOptions=lt,this._changeDetectorRef=yt,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new d.QueryList,this._tabSubscription=l.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.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-"+ve++}get xPosition(){return this._xPosition}set xPosition(Fe){this._xPosition=Fe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Fe){this._yPosition=Fe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Fe){this._overlapTrigger=(0,h.Ig)(Fe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Fe){this._hasBackdrop=(0,h.Ig)(Fe)}set panelClass(Fe){const Ue=this._previousPanelClass;Ue&&Ue.length&&Ue.split(" ").forEach(lt=>{this._classList[lt]=!1}),this._previousPanelClass=Fe,Fe&&Fe.length&&(Fe.split(" ").forEach(lt=>{this._classList[lt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Fe){this.panelClass=Fe}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,oe.O)(this._directDescendantItems),(0,ce.w)(Fe=>(0,f.T)(...Fe.map(Ue=>Ue._focused)))).subscribe(Fe=>this._keyManager.updateActiveItem(Fe)),this._directDescendantItems.changes.subscribe(Fe=>{var Ue;const lt=this._keyManager;if("enter"===this._panelAnimationState&&(null===(Ue=lt.activeItem)||void 0===Ue?void 0:Ue._hasFocus())){const yt=Fe.toArray(),Vt=Math.max(0,Math.min(yt.length-1,lt.activeItemIndex||0));yt[Vt]&&!yt[Vt].disabled?lt.setActiveItem(Vt):lt.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,oe.O)(this._directDescendantItems),(0,ce.w)(Ue=>(0,f.T)(...Ue.map(lt=>lt._hovered))))}addItem(Fe){}removeItem(Fe){}_handleKeydown(Fe){const Ue=Fe.keyCode,lt=this._keyManager;switch(Ue){case y.hY:(0,y.Vb)(Fe)||(Fe.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(Ue===y.LH||Ue===y.JH)&&lt.setFocusOrigin("keyboard"),void lt.onKeydown(Fe)}Fe.stopPropagation()}focusFirstItem(Fe="program"){this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(()=>{let Ue=null;if(this._directDescendantItems.length&&(Ue=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Ue||!Ue.contains(document.activeElement)){const lt=this._keyManager;lt.setFocusOrigin(Fe).setFirstItemActive(),!lt.activeItem&&Ue&&Ue.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Fe){const Ue=Math.min(this._baseElevation+Fe,24),lt=`${this._elevationPrefix}${Ue}`,yt=Object.keys(this._classList).find(Vt=>Vt.startsWith(this._elevationPrefix));(!yt||yt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[lt]=!0,this._previousElevation=lt)}setPositionClasses(Fe=this.xPosition,Ue=this.yPosition){var lt;const yt=this._classList;yt["mat-menu-before"]="before"===Fe,yt["mat-menu-after"]="after"===Fe,yt["mat-menu-above"]="above"===Ue,yt["mat-menu-below"]="below"===Ue,null===(lt=this._changeDetectorRef)||void 0===lt||lt.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Fe){this._animationDone.next(Fe),this._isAnimating=!1}_onAnimationStart(Fe){this._isAnimating=!0,"enter"===Fe.toState&&0===this._keyManager.activeItemIndex&&(Fe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,oe.O)(this._allItems)).subscribe(Fe=>{this._directDescendantItems.reset(Fe.filter(Ue=>Ue._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Pe.\u0275fac=function(Fe){return new(Fe||Pe)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(xe),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},Pe.\u0275dir=d.\u0275\u0275defineDirective({type:Pe,contentQueries:function(Fe,Ue,lt){if(1&Fe&&(d.\u0275\u0275contentQuery(lt,ke,5),d.\u0275\u0275contentQuery(lt,Ke,5),d.\u0275\u0275contentQuery(lt,Ke,4)),2&Fe){let yt;d.\u0275\u0275queryRefresh(yt=d.\u0275\u0275loadQuery())&&(Ue.lazyContent=yt.first),d.\u0275\u0275queryRefresh(yt=d.\u0275\u0275loadQuery())&&(Ue._allItems=yt),d.\u0275\u0275queryRefresh(yt=d.\u0275\u0275loadQuery())&&(Ue.items=yt)}},viewQuery:function(Fe,Ue){if(1&Fe&&d.\u0275\u0275viewQuery(d.TemplateRef,5),2&Fe){let lt;d.\u0275\u0275queryRefresh(lt=d.\u0275\u0275loadQuery())&&(Ue.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"}}),Pe})(),tt=(()=>{class Pe extends Re{constructor(Fe,Ue,lt,yt){super(Fe,Ue,lt,yt),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return Pe.\u0275fac=function(Fe){return new(Fe||Pe)(d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(xe),d.\u0275\u0275directiveInject(d.ChangeDetectorRef))},Pe.\u0275cmp=d.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(Fe,Ue){2&Fe&&d.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[d.\u0275\u0275ProvidersFeature([{provide:Me,useExisting:Pe}]),d.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:st,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(Fe,Ue){1&Fe&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275template(0,Ye,3,6,"ng-template"))},directives:[ue.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:[ut.transformMenu,ut.fadeInItems]},changeDetection:0}),Pe})();const ot=new d.InjectionToken("mat-menu-scroll-strategy"),Et={provide:ot,deps:[fe.aV],useFactory:function Tt(Pe){return()=>Pe.scrollStrategies.reposition()}},$e=(0,me.i$)({passive:!0});let we=(()=>{class Pe{constructor(Fe,Ue,lt,yt,Vt,Dt,Kt,St,Ht){this._overlay=Fe,this._element=Ue,this._viewContainerRef=lt,this._menuItemInstance=Dt,this._dir=Kt,this._focusMonitor=St,this._ngZone=Ht,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.w0.EMPTY,this._hoverSubscription=l.w0.EMPTY,this._menuCloseSubscription=l.w0.EMPTY,this._handleTouchStart=he=>{(0,n.yG)(he)||(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=yt,this._parentMaterialMenu=Vt instanceof Re?Vt:void 0,Ue.nativeElement.addEventListener("touchstart",this._handleTouchStart,$e),Dt&&(Dt._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Fe){this.menu=Fe}get menu(){return this._menu}set menu(Fe){Fe!==this._menu&&(this._menu=Fe,this._menuCloseSubscription.unsubscribe(),Fe&&(this._menuCloseSubscription=Fe.close.subscribe(Ue=>{this._destroyMenu(Ue),("click"===Ue||"tab"===Ue)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ue)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,$e),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 Fe=this._createOverlay(),Ue=Fe.getConfig(),lt=Ue.positionStrategy;this._setPosition(lt),Ue.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,Fe.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Re&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,ge.R)(this.menu.close)).subscribe(()=>{lt.withLockedPosition(!1).reapplyLastPosition(),lt.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(Fe,Ue){this._focusMonitor&&Fe?this._focusMonitor.focusVia(this._element,Fe,Ue):this._element.nativeElement.focus(Ue)}updatePosition(){var Fe;null===(Fe=this._overlayRef)||void 0===Fe||Fe.updatePosition()}_destroyMenu(Fe){if(!this._overlayRef||!this.menuOpen)return;const Ue=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Fe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Ue instanceof Re?(Ue._resetAnimation(),Ue.lazyContent?Ue._animationDone.pipe((0,De.h)(lt=>"void"===lt.toState),(0,v.q)(1),(0,ge.R)(Ue.lazyContent._attached)).subscribe({next:()=>Ue.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Ue.lazyContent&&Ue.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 Fe=0,Ue=this.menu.parentMenu;for(;Ue;)Fe++,Ue=Ue.parentMenu;this.menu.setElevation(Fe)}}_setIsMenuOpen(Fe){this._menuOpen=Fe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Fe)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const Fe=this._getOverlayConfig();this._subscribeToPositions(Fe.positionStrategy),this._overlayRef=this._overlay.create(Fe),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new fe.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(Fe){this.menu.setPositionClasses&&Fe.positionChanges.subscribe(Ue=>{const lt="start"===Ue.connectionPair.overlayX?"after":"before",yt="top"===Ue.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(lt,yt)):this.menu.setPositionClasses(lt,yt)})}_setPosition(Fe){let[Ue,lt]="before"===this.menu.xPosition?["end","start"]:["start","end"],[yt,Vt]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[Dt,Kt]=[yt,Vt],[St,Ht]=[Ue,lt],he=0;this.triggersSubmenu()?(Ht=Ue="before"===this.menu.xPosition?"start":"end",lt=St="end"===Ue?"start":"end",he="bottom"===yt?8:-8):this.menu.overlapTrigger||(Dt="top"===yt?"bottom":"top",Kt="top"===Vt?"bottom":"top"),Fe.withPositions([{originX:Ue,originY:Dt,overlayX:St,overlayY:yt,offsetY:he},{originX:lt,originY:Dt,overlayX:Ht,overlayY:yt,offsetY:he},{originX:Ue,originY:Kt,overlayX:St,overlayY:Vt,offsetY:-he},{originX:lt,originY:Kt,overlayX:Ht,overlayY:Vt,offsetY:-he}])}_menuClosingActions(){const Fe=this._overlayRef.backdropClick(),Ue=this._overlayRef.detachments(),lt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),yt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,De.h)(Vt=>Vt!==this._menuItemInstance),(0,De.h)(()=>this._menuOpen)):(0,p.of)();return(0,f.T)(Fe,lt,yt,Ue)}_handleMousedown(Fe){(0,n.X6)(Fe)||(this._openedBy=0===Fe.button?"mouse":void 0,this.triggersSubmenu()&&Fe.preventDefault())}_handleKeydown(Fe){const Ue=Fe.keyCode;(Ue===y.K5||Ue===y.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ue===y.SV&&"ltr"===this.dir||Ue===y.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Fe){this.triggersSubmenu()?(Fe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,De.h)(Fe=>Fe===this._menuItemInstance&&!Fe.disabled),V(0,m.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Re&&this.menu._isAnimating?this.menu._animationDone.pipe((0,v.q)(1),V(0,m.E),(0,ge.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Y.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return Pe.\u0275fac=function(Fe){return new(Fe||Pe)(d.\u0275\u0275directiveInject(fe.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(ot),d.\u0275\u0275directiveInject(Me,8),d.\u0275\u0275directiveInject(Ke,10),d.\u0275\u0275directiveInject(_e.Is,8),d.\u0275\u0275directiveInject(n.tE),d.\u0275\u0275directiveInject(d.NgZone))},Pe.\u0275dir=d.\u0275\u0275defineDirective({type:Pe,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(Fe,Ue){1&Fe&&d.\u0275\u0275listener("click",function(yt){return Ue._handleClick(yt)})("mousedown",function(yt){return Ue._handleMousedown(yt)})("keydown",function(yt){return Ue._handleKeydown(yt)}),2&Fe&&d.\u0275\u0275attribute("aria-expanded",Ue.menuOpen||null)("aria-controls",Ue.menuOpen?Ue.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"}}),Pe})(),Te=(()=>{class Pe extends we{}return Pe.\u0275fac=function(){let vt;return function(Ue){return(vt||(vt=d.\u0275\u0275getInheritedFactory(Pe)))(Ue||Pe)}}(),Pe.\u0275dir=d.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[d.\u0275\u0275InheritDefinitionFeature]}),Pe})(),Ze=(()=>{class Pe{}return Pe.\u0275fac=function(Fe){return new(Fe||Pe)},Pe.\u0275mod=d.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=d.\u0275\u0275defineInjector({providers:[Et],imports:[[ue.CommonModule,$.MatCommonModule,$.MatRippleModule,fe.U8],Xe.ZD,$.MatCommonModule]}),Pe})()},4999:(W,o,a)=>{"use strict";a.r(o),a.d(o,{MatCell:()=>Ie,MatCellDef:()=>He,MatColumnDef:()=>B,MatFooterCell:()=>K,MatFooterCellDef:()=>de,MatFooterRow:()=>vn,MatFooterRowDef:()=>Mt,MatHeaderCell:()=>re,MatHeaderCellDef:()=>_t,MatHeaderRow:()=>Jt,MatHeaderRowDef:()=>rt,MatNoDataRow:()=>hn,MatRecycleRows:()=>ze,MatRow:()=>Fn,MatRowDef:()=>kt,MatTable:()=>wt,MatTableDataSource:()=>Yt,MatTableModule:()=>Yn,MatTextColumn:()=>An,_MatTableDataSource:()=>At});var n=a(5e3),h=a(3191),y=a(449),d=a(9808),r=a(7579),l=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"]]],U=["caption","colgroup, col"];function J(le,Ae){if(1&le&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&le){const te=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",te.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",te.headerText," ")}}function Q(le,Ae){if(1&le&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&le){const te=Ae.$implicit,Se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Se.dataAccessor(te,Se.name)," ")}}function q(le){return class extends le{constructor(...Ae){super(...Ae),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Ae){const te=this._sticky;this._sticky=(0,h.Ig)(Ae),this._hasStickyChanged=te!==this._sticky}hasStickyChanged(){const Ae=this._hasStickyChanged;return this._hasStickyChanged=!1,Ae}resetStickyChanged(){this._hasStickyChanged=!1}}}const V=new n.InjectionToken("CDK_TABLE"),oe=new n.InjectionToken("text-column-options");let ce=(()=>{class le{constructor(te){this.template=te}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.TemplateRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkCellDef",""]]}),le})(),ge=(()=>{class le{constructor(te){this.template=te}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.TemplateRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkHeaderCellDef",""]]}),le})(),De=(()=>{class le{constructor(te){this.template=te}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.TemplateRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkFooterCellDef",""]]}),le})();class We{}const Y=q(We);let ue=(()=>{class le extends Y{constructor(te){super(),this._table=te,this._stickyEnd=!1}get name(){return this._name}set name(te){this._setNameInput(te)}get stickyEnd(){return this._stickyEnd}set stickyEnd(te){const Se=this._stickyEnd;this._stickyEnd=(0,h.Ig)(te),this._hasStickyChanged=Se!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(te){te&&(this._name=te,this.cssClassFriendlyName=te.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(V,8))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkColumnDef",""]],contentQueries:function(te,Se,Je){if(1&te&&(n.\u0275\u0275contentQuery(Je,ce,5),n.\u0275\u0275contentQuery(Je,ge,5),n.\u0275\u0275contentQuery(Je,De,5)),2&te){let at;n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(Se.cell=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(Se.headerCell=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(Se.footerCell=at.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})();class ${constructor(Ae,te){te.nativeElement.classList.add(...Ae._columnCssClassName)}}let fe=(()=>{class le extends ${constructor(te,Se){super(te,Se)}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),le})(),me=(()=>{class le extends ${constructor(te,Se){var Je;if(super(te,Se),1===(null===(Je=te._table)||void 0===Je?void 0:Je._elementRef.nativeElement.nodeType)){const at=te._table._elementRef.nativeElement.getAttribute("role");Se.nativeElement.setAttribute("role","grid"===at||"treegrid"===at?"gridcell":"cell")}}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),le})(),_e=(()=>{class le extends ${constructor(te,Se){var Je;if(super(te,Se),1===(null===(Je=te._table)||void 0===Je?void 0:Je._elementRef.nativeElement.nodeType)){const at=te._table._elementRef.nativeElement.getAttribute("role");Se.nativeElement.setAttribute("role","grid"===at||"treegrid"===at?"gridcell":"cell")}}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),le})();class Xe{constructor(){this.tasks=[],this.endTasks=[]}}const dt=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let it=(()=>{class le{constructor(te){this._ngZone=te,this._currentSchedule=null,this._destroyed=new r.x}schedule(te){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(te)}scheduleEnd(te){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(te)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Xe,this._getScheduleObservable().pipe((0,v.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const te=this._currentSchedule;this._currentSchedule=new Xe;for(const Se of te.tasks)Se();for(const Se of te.endTasks)Se()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,l.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,b.q)(1))}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275inject(n.NgZone))},le.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac}),le})(),Ye=(()=>{class le{constructor(te,Se){this.template=te,this._differs=Se}ngOnChanges(te){if(!this._columnsDiffer){const Se=te.columns&&te.columns.currentValue||[];this._columnsDiffer=this._differs.find(Se).create(),this._columnsDiffer.diff(Se)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(te){return this instanceof qe?te.headerCell.template:this instanceof ht?te.footerCell.template:te.cell.template}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,features:[n.\u0275\u0275NgOnChangesFeature]}),le})();class ut extends Ye{}const Ne=q(ut);let qe=(()=>{class le extends Ne{constructor(te,Se,Je){super(te,Se),this._table=Je}ngOnChanges(te){super.ngOnChanges(te)}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(V,8))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),le})();class ke extends Ye{}const Qe=q(ke);let ht=(()=>{class le extends Qe{constructor(te,Se,Je){super(te,Se),this._table=Je}ngOnChanges(te){super.ngOnChanges(te)}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(V,8))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),le})(),ye=(()=>{class le extends Ye{constructor(te,Se,Je){super(te,Se),this._table=Je}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(V,8))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),le})(),Oe=(()=>{class le{constructor(te){this._viewContainer=te,le.mostRecentCellOutlet=this}ngOnDestroy(){le.mostRecentCellOutlet===this&&(le.mostRecentCellOutlet=null)}}return le.mostRecentCellOutlet=null,le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkCellOutlet",""]]}),le})(),L=(()=>{class le{}return le.\u0275fac=function(te){return new(te||le)},le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(te,Se){1&te&&n.\u0275\u0275elementContainer(0,0)},directives:[Oe],encapsulation:2}),le})(),ee=(()=>{class le{}return le.\u0275fac=function(te){return new(te||le)},le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(te,Se){1&te&&n.\u0275\u0275elementContainer(0,0)},directives:[Oe],encapsulation:2}),le})(),Me=(()=>{class le{}return le.\u0275fac=function(te){return new(te||le)},le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(te,Se){1&te&&n.\u0275\u0275elementContainer(0,0)},directives:[Oe],encapsulation:2}),le})(),Ge=(()=>{class le{constructor(te){this.templateRef=te,this._contentClassName="cdk-no-data-row"}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.TemplateRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["ng-template","cdkNoDataRow",""]]}),le})();const Ke=["top","bottom","left","right"];class xe{constructor(Ae,te,Se,Je,at=!0,Ot=!0,$t){this._isNativeHtmlTable=Ae,this._stickCellCss=te,this.direction=Se,this._coalescedStyleScheduler=Je,this._isBrowser=at,this._needsPositionStickyOnElement=Ot,this._positionListener=$t,this._cachedCellWidths=[],this._borderCellCss={top:`${te}-border-elem-top`,bottom:`${te}-border-elem-bottom`,left:`${te}-border-elem-left`,right:`${te}-border-elem-right`}}clearStickyPositioning(Ae,te){const Se=[];for(const Je of Ae)if(Je.nodeType===Je.ELEMENT_NODE){Se.push(Je);for(let at=0;at<Je.children.length;at++)Se.push(Je.children[at])}this._coalescedStyleScheduler.schedule(()=>{for(const Je of Se)this._removeStickyStyle(Je,te)})}updateStickyColumns(Ae,te,Se,Je=!0){if(!Ae.length||!this._isBrowser||!te.some(Xt=>Xt)&&!Se.some(Xt=>Xt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const at=Ae[0],Ot=at.children.length,$t=this._getCellWidths(at,Je),It=this._getStickyStartColumnPositions($t,te),pn=this._getStickyEndColumnPositions($t,Se),an=te.lastIndexOf(!0),yn=Se.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Xt="rtl"===this.direction,fn=Xt?"right":"left",Wn=Xt?"left":"right";for(const Nn of Ae)for(let mn=0;mn<Ot;mn++){const nn=Nn.children[mn];te[mn]&&this._addStickyStyle(nn,fn,It[mn],mn===an),Se[mn]&&this._addStickyStyle(nn,Wn,pn[mn],mn===yn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===an?[]:$t.slice(0,an+1).map((Nn,mn)=>te[mn]?Nn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===yn?[]:$t.slice(yn).map((Nn,mn)=>Se[mn+yn]?Nn:null).reverse()}))})}stickRows(Ae,te,Se){if(!this._isBrowser)return;const Je="bottom"===Se?Ae.slice().reverse():Ae,at="bottom"===Se?te.slice().reverse():te,Ot=[],$t=[],It=[];for(let an=0,yn=0;an<Je.length;an++){if(!at[an])continue;Ot[an]=yn;const Xt=Je[an];It[an]=this._isNativeHtmlTable?Array.from(Xt.children):[Xt];const fn=Xt.getBoundingClientRect().height;yn+=fn,$t[an]=fn}const pn=at.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var an,yn;for(let Xt=0;Xt<Je.length;Xt++){if(!at[Xt])continue;const fn=Ot[Xt],Wn=Xt===pn;for(const Nn of It[Xt])this._addStickyStyle(Nn,Se,fn,Wn)}"top"===Se?null===(an=this._positionListener)||void 0===an||an.stickyHeaderRowsUpdated({sizes:$t,offsets:Ot,elements:It}):null===(yn=this._positionListener)||void 0===yn||yn.stickyFooterRowsUpdated({sizes:$t,offsets:Ot,elements:It})})}updateStickyFooterContainer(Ae,te){if(!this._isNativeHtmlTable)return;const Se=Ae.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{te.some(Je=>!Je)?this._removeStickyStyle(Se,["bottom"]):this._addStickyStyle(Se,"bottom",0,!1)})}_removeStickyStyle(Ae,te){for(const Je of te)Ae.style[Je]="",Ae.classList.remove(this._borderCellCss[Je]);Ke.some(Je=>-1===te.indexOf(Je)&&Ae.style[Je])?Ae.style.zIndex=this._getCalculatedZIndex(Ae):(Ae.style.zIndex="",this._needsPositionStickyOnElement&&(Ae.style.position=""),Ae.classList.remove(this._stickCellCss))}_addStickyStyle(Ae,te,Se,Je){Ae.classList.add(this._stickCellCss),Je&&Ae.classList.add(this._borderCellCss[te]),Ae.style[te]=`${Se}px`,Ae.style.zIndex=this._getCalculatedZIndex(Ae),this._needsPositionStickyOnElement&&(Ae.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Ae){const te={top:100,bottom:10,left:1,right:1};let Se=0;for(const Je of Ke)Ae.style[Je]&&(Se+=te[Je]);return Se?`${Se}`:""}_getCellWidths(Ae,te=!0){if(!te&&this._cachedCellWidths.length)return this._cachedCellWidths;const Se=[],Je=Ae.children;for(let at=0;at<Je.length;at++)Se.push(Je[at].getBoundingClientRect().width);return this._cachedCellWidths=Se,Se}_getStickyStartColumnPositions(Ae,te){const Se=[];let Je=0;for(let at=0;at<Ae.length;at++)te[at]&&(Se[at]=Je,Je+=Ae[at]);return Se}_getStickyEndColumnPositions(Ae,te){const Se=[];let Je=0;for(let at=Ae.length;at>0;at--)te[at]&&(Se[at]=Je,Je+=Ae[at]);return Se}}const $e=new n.InjectionToken("CDK_SPL");let Te=(()=>{class le{constructor(te,Se){this.viewContainer=te,this.elementRef=Se}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","rowOutlet",""]]}),le})(),Ze=(()=>{class le{constructor(te,Se){this.viewContainer=te,this.elementRef=Se}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","headerRowOutlet",""]]}),le})(),Pe=(()=>{class le{constructor(te,Se){this.viewContainer=te,this.elementRef=Se}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","footerRowOutlet",""]]}),le})(),vt=(()=>{class le{constructor(te,Se){this.viewContainer=te,this.elementRef=Se}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","noDataRowOutlet",""]]}),le})(),lt=(()=>{class le{constructor(te,Se,Je,at,Ot,$t,It,pn,an,yn,Xt,fn){this._differs=te,this._changeDetectorRef=Se,this._elementRef=Je,this._dir=Ot,this._platform=It,this._viewRepeater=pn,this._coalescedStyleScheduler=an,this._viewportRuler=yn,this._stickyPositioningListener=Xt,this._ngZone=fn,this._onDestroy=new r.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}),at||this._elementRef.nativeElement.setAttribute("role","table"),this._document=$t,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(te){this._trackByFn=te}get dataSource(){return this._dataSource}set dataSource(te){this._dataSource!==te&&this._switchDataSource(te)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(te){this._multiTemplateDataRows=(0,h.Ig)(te),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(te){this._fixedLayout=(0,h.Ig)(te),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((te,Se)=>this.trackBy?this.trackBy(Se.dataIndex,Se.data):Se),this._viewportRuler.change().pipe((0,v.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Se=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Se,this._forceRecalculateCellWidths=Se,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(te=>{te.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 te=this._dataDiffer.diff(this._renderRows);if(!te)return this._updateNoDataRow(),void this.contentChanged.next();const Se=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(te,Se,(Je,at,Ot)=>this._getEmbeddedViewArgs(Je.item,Ot),Je=>Je.item.data,Je=>{1===Je.operation&&Je.context&&this._renderCellTemplateForItem(Je.record.item.rowDef,Je.context)}),this._updateRowIndexContext(),te.forEachIdentityChange(Je=>{Se.get(Je.currentIndex).context.$implicit=Je.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(te){this._customColumnDefs.add(te)}removeColumnDef(te){this._customColumnDefs.delete(te)}addRowDef(te){this._customRowDefs.add(te)}removeRowDef(te){this._customRowDefs.delete(te)}addHeaderRowDef(te){this._customHeaderRowDefs.add(te),this._headerRowDefChanged=!0}removeHeaderRowDef(te){this._customHeaderRowDefs.delete(te),this._headerRowDefChanged=!0}addFooterRowDef(te){this._customFooterRowDefs.add(te),this._footerRowDefChanged=!0}removeFooterRowDef(te){this._customFooterRowDefs.delete(te),this._footerRowDefChanged=!0}setNoDataRow(te){this._customNoDataRow=te}updateStickyHeaderRowStyles(){const te=this._getRenderedRows(this._headerRowOutlet),Je=this._elementRef.nativeElement.querySelector("thead");Je&&(Je.style.display=te.length?"":"none");const at=this._headerRowDefs.map(Ot=>Ot.sticky);this._stickyStyler.clearStickyPositioning(te,["top"]),this._stickyStyler.stickRows(te,at,"top"),this._headerRowDefs.forEach(Ot=>Ot.resetStickyChanged())}updateStickyFooterRowStyles(){const te=this._getRenderedRows(this._footerRowOutlet),Je=this._elementRef.nativeElement.querySelector("tfoot");Je&&(Je.style.display=te.length?"":"none");const at=this._footerRowDefs.map(Ot=>Ot.sticky);this._stickyStyler.clearStickyPositioning(te,["bottom"]),this._stickyStyler.stickRows(te,at,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,at),this._footerRowDefs.forEach(Ot=>Ot.resetStickyChanged())}updateStickyColumnStyles(){const te=this._getRenderedRows(this._headerRowOutlet),Se=this._getRenderedRows(this._rowOutlet),Je=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...te,...Se,...Je],["left","right"]),this._stickyColumnStylesNeedReset=!1),te.forEach((at,Ot)=>{this._addStickyColumnStyles([at],this._headerRowDefs[Ot])}),this._rowDefs.forEach(at=>{const Ot=[];for(let $t=0;$t<Se.length;$t++)this._renderRows[$t].rowDef===at&&Ot.push(Se[$t]);this._addStickyColumnStyles(Ot,at)}),Je.forEach((at,Ot)=>{this._addStickyColumnStyles([at],this._footerRowDefs[Ot])}),Array.from(this._columnDefsByName.values()).forEach(at=>at.resetStickyChanged())}_getAllRenderRows(){const te=[],Se=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Je=0;Je<this._data.length;Je++){let at=this._data[Je];const Ot=this._getRenderRowsForData(at,Je,Se.get(at));this._cachedRenderRowsMap.has(at)||this._cachedRenderRowsMap.set(at,new WeakMap);for(let $t=0;$t<Ot.length;$t++){let It=Ot[$t];const pn=this._cachedRenderRowsMap.get(It.data);pn.has(It.rowDef)?pn.get(It.rowDef).push(It):pn.set(It.rowDef,[It]),te.push(It)}}return te}_getRenderRowsForData(te,Se,Je){return this._getRowDefs(te,Se).map(Ot=>{const $t=Je&&Je.has(Ot)?Je.get(Ot):[];if($t.length){const It=$t.shift();return It.dataIndex=Se,It}return{data:te,rowDef:Ot,dataIndex:Se}})}_cacheColumnDefs(){this._columnDefsByName.clear(),yt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Se=>{this._columnDefsByName.has(Se.name),this._columnDefsByName.set(Se.name,Se)})}_cacheRowDefs(){this._headerRowDefs=yt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=yt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=yt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const te=this._rowDefs.filter(Se=>!Se.when);this._defaultRowDef=te[0]}_renderUpdatedColumns(){const te=(Ot,$t)=>Ot||!!$t.getColumnsDiff(),Se=this._rowDefs.reduce(te,!1);Se&&this._forceRenderDataRows();const Je=this._headerRowDefs.reduce(te,!1);Je&&this._forceRenderHeaderRows();const at=this._footerRowDefs.reduce(te,!1);return at&&this._forceRenderFooterRows(),Se||Je||at}_switchDataSource(te){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),te||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=te}_observeRenderChanges(){if(!this.dataSource)return;let te;(0,y.Z9)(this.dataSource)?te=this.dataSource.connect(this):function u(le){return!!le&&(le instanceof p.y||(0,m.m)(le.lift)&&(0,m.m)(le.subscribe))}(this.dataSource)?te=this.dataSource:Array.isArray(this.dataSource)&&(te=(0,_.of)(this.dataSource)),this._renderChangeSubscription=te.pipe((0,v.R)(this._onDestroy)).subscribe(Se=>{this._data=Se||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((te,Se)=>this._renderRow(this._headerRowOutlet,te,Se)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((te,Se)=>this._renderRow(this._footerRowOutlet,te,Se)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(te,Se){const Je=Array.from(Se.columns||[]).map($t=>this._columnDefsByName.get($t)),at=Je.map($t=>$t.sticky),Ot=Je.map($t=>$t.stickyEnd);this._stickyStyler.updateStickyColumns(te,at,Ot,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(te){const Se=[];for(let Je=0;Je<te.viewContainer.length;Je++){const at=te.viewContainer.get(Je);Se.push(at.rootNodes[0])}return Se}_getRowDefs(te,Se){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Je=[];if(this.multiTemplateDataRows)Je=this._rowDefs.filter(at=>!at.when||at.when(Se,te));else{let at=this._rowDefs.find(Ot=>Ot.when&&Ot.when(Se,te))||this._defaultRowDef;at&&Je.push(at)}return Je}_getEmbeddedViewArgs(te,Se){return{templateRef:te.rowDef.template,context:{$implicit:te.data},index:Se}}_renderRow(te,Se,Je,at={}){const Ot=te.viewContainer.createEmbeddedView(Se.template,at,Je);return this._renderCellTemplateForItem(Se,at),Ot}_renderCellTemplateForItem(te,Se){for(let Je of this._getCellTemplates(te))Oe.mostRecentCellOutlet&&Oe.mostRecentCellOutlet._viewContainer.createEmbeddedView(Je,Se);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const te=this._rowOutlet.viewContainer;for(let Se=0,Je=te.length;Se<Je;Se++){const Ot=te.get(Se).context;Ot.count=Je,Ot.first=0===Se,Ot.last=Se===Je-1,Ot.even=Se%2==0,Ot.odd=!Ot.even,this.multiTemplateDataRows?(Ot.dataIndex=this._renderRows[Se].dataIndex,Ot.renderIndex=Se):Ot.index=this._renderRows[Se].dataIndex}}_getCellTemplates(te){return te&&te.columns?Array.from(te.columns,Se=>{const Je=this._columnDefsByName.get(Se);return te.extractCellTemplate(Je)}):[]}_applyNativeTableSections(){const te=this._document.createDocumentFragment(),Se=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Je of Se){const at=this._document.createElement(Je.tag);at.setAttribute("role","rowgroup");for(const Ot of Je.outlets)at.appendChild(Ot.elementRef.nativeElement);te.appendChild(at)}this._elementRef.nativeElement.appendChild(te)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const te=(Se,Je)=>Se||Je.hasStickyChanged();this._headerRowDefs.reduce(te,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(te,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(te,!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(Se=>{this._stickyStyler.direction=Se,this.updateStickyColumnStyles()})}_getOwnDefs(te){return te.filter(Se=>!Se._table||Se._table===this)}_updateNoDataRow(){const te=this._customNoDataRow||this._noDataRow;if(!te)return;const Se=0===this._rowOutlet.viewContainer.length;if(Se===this._isShowingNoDataRow)return;const Je=this._noDataRowOutlet.viewContainer;if(Se){const at=Je.createEmbeddedView(te.templateRef),Ot=at.rootNodes[0];1===at.rootNodes.length&&(null==Ot?void 0:Ot.nodeType)===this._document.ELEMENT_NODE&&(Ot.setAttribute("role","row"),Ot.classList.add(te._contentClassName))}else Je.clear();this._isShowingNoDataRow=Se}}return le.\u0275fac=function(te){return new(te||le)(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(dt),n.\u0275\u0275directiveInject(P.rL),n.\u0275\u0275directiveInject($e,12),n.\u0275\u0275directiveInject(n.NgZone,8))},le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(te,Se,Je){if(1&te&&(n.\u0275\u0275contentQuery(Je,Ge,5),n.\u0275\u0275contentQuery(Je,ue,5),n.\u0275\u0275contentQuery(Je,ye,5),n.\u0275\u0275contentQuery(Je,qe,5),n.\u0275\u0275contentQuery(Je,ht,5)),2&te){let at;n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(Se._noDataRow=at.first),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(Se._contentColumnDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(Se._contentRowDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(Se._contentHeaderRowDefs=at),n.\u0275\u0275queryRefresh(at=n.\u0275\u0275loadQuery())&&(Se._contentFooterRowDefs=at)}},viewQuery:function(te,Se){if(1&te&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(Ze,7),n.\u0275\u0275viewQuery(Pe,7),n.\u0275\u0275viewQuery(vt,7)),2&te){let Je;n.\u0275\u0275queryRefresh(Je=n.\u0275\u0275loadQuery())&&(Se._rowOutlet=Je.first),n.\u0275\u0275queryRefresh(Je=n.\u0275\u0275loadQuery())&&(Se._headerRowOutlet=Je.first),n.\u0275\u0275queryRefresh(Je=n.\u0275\u0275loadQuery())&&(Se._footerRowOutlet=Je.first),n.\u0275\u0275queryRefresh(Je=n.\u0275\u0275loadQuery())&&(Se._noDataRowOutlet=Je.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(te,Se){2&te&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Se.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:V,useExisting:le},{provide:y.k,useClass:y.yy},{provide:dt,useClass:it},{provide:$e,useValue:null}])],ngContentSelectors:U,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(te,Se){1&te&&(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:[Ze,Te,vt,Pe],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),le})();function yt(le,Ae){return le.concat(Array.from(Ae))}let Vt=(()=>{class le{constructor(te,Se){this._table=te,this._options=Se,this.justify="start",this._options=Se||{}}get name(){return this._name}set name(te){this._name=te,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((te,Se)=>te[Se])),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 te=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(te):te[0].toUpperCase()+te.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return le.\u0275fac=function(te){return new(te||le)(n.\u0275\u0275directiveInject(lt,8),n.\u0275\u0275directiveInject(oe,8))},le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["cdk-text-column"]],viewQuery:function(te,Se){if(1&te&&(n.\u0275\u0275viewQuery(ue,7),n.\u0275\u0275viewQuery(ce,7),n.\u0275\u0275viewQuery(ge,7)),2&te){let Je;n.\u0275\u0275queryRefresh(Je=n.\u0275\u0275loadQuery())&&(Se.columnDef=Je.first),n.\u0275\u0275queryRefresh(Je=n.\u0275\u0275loadQuery())&&(Se.cell=Je.first),n.\u0275\u0275queryRefresh(Je=n.\u0275\u0275loadQuery())&&(Se.headerCell=Je.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(te,Se){1&te&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,J,2,3,"th",1),n.\u0275\u0275template(2,Q,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[ue,ge,fe,ce,_e],encapsulation:2}),le})(),Kt=(()=>{class le{}return le.\u0275fac=function(te){return new(te||le)},le.\u0275mod=n.\u0275\u0275defineNgModule({type:le}),le.\u0275inj=n.\u0275\u0275defineInjector({imports:[[P.Cl]]}),le})();var St=a(508),Ht=a(6451),he=a(9841),ne=a(4004);const k=[[["caption"]],[["colgroup"],["col"]]],z=["caption","colgroup, col"];function Ce(le,Ae){if(1&le&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&le){const te=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",te.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",te.headerText," ")}}function ie(le,Ae){if(1&le&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&le){const te=Ae.$implicit,Se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Se.dataAccessor(te,Se.name)," ")}}let ze=(()=>{class le{}return le.\u0275fac=function(te){return new(te||le)},le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.eX}])]}),le})(),wt=(()=>{class le extends lt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(te,Se){2&te&&n.\u0275\u0275classProp("mat-table-fixed-layout",Se.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.yy},{provide:lt,useExisting:le},{provide:V,useExisting:le},{provide:dt,useClass:it},{provide:$e,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:z,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(te,Se){1&te&&(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:[Ze,Te,vt,Pe],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}),le})(),He=(()=>{class le extends ce{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:ce,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})(),_t=(()=>{class le extends ge{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})(),de=(()=>{class le extends De{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:De,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})(),B=(()=>{class le extends ue{get name(){return this._name}set name(te){this._setNameInput(te)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ue,useExisting:le},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})(),re=(()=>{class le extends fe{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),le})(),K=(()=>{class le extends me{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),le})(),Ie=(()=>{class le extends _e{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),le})(),rt=(()=>{class le extends qe{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:qe,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})(),Mt=(()=>{class le extends ht{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ht,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})(),kt=(()=>{class le extends ye{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})(),Jt=(()=>{class le extends L{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:L,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(te,Se){1&te&&n.\u0275\u0275elementContainer(0,0)},directives:[Oe],encapsulation:2}),le})(),vn=(()=>{class le extends ee{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:ee,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(te,Se){1&te&&n.\u0275\u0275elementContainer(0,0)},directives:[Oe],encapsulation:2}),le})(),Fn=(()=>{class le extends Me{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Me,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(te,Se){1&te&&n.\u0275\u0275elementContainer(0,0)},directives:[Oe],encapsulation:2}),le})(),hn=(()=>{class le extends Ge{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Ge,useExisting:le}]),n.\u0275\u0275InheritDefinitionFeature]}),le})(),An=(()=>{class le extends Vt{}return le.\u0275fac=function(){let Ae;return function(Se){return(Ae||(Ae=n.\u0275\u0275getInheritedFactory(le)))(Se||le)}}(),le.\u0275cmp=n.\u0275\u0275defineComponent({type:le,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(te,Se){1&te&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Ce,2,3,"th",1),n.\u0275\u0275template(2,ie,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[B,_t,re,He,Ie],encapsulation:2}),le})(),Yn=(()=>{class le{}return le.\u0275fac=function(te){return new(te||le)},le.\u0275mod=n.\u0275\u0275defineNgModule({type:le}),le.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Kt,St.MatCommonModule],St.MatCommonModule]}),le})();class At extends y.o2{constructor(Ae=[]){super(),this._renderData=new f.X([]),this._filter=new f.X(""),this._internalPageChanges=new r.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(te,Se)=>{const Je=te[Se];if((0,h.t6)(Je)){const at=Number(Je);return at<9007199254740991?at:Je}return Je},this.sortData=(te,Se)=>{const Je=Se.active,at=Se.direction;return Je&&""!=at?te.sort((Ot,$t)=>{let It=this.sortingDataAccessor(Ot,Je),pn=this.sortingDataAccessor($t,Je);const an=typeof It,yn=typeof pn;an!==yn&&("number"===an&&(It+=""),"number"===yn&&(pn+=""));let Xt=0;return null!=It&&null!=pn?It>pn?Xt=1:It<pn&&(Xt=-1):null!=It?Xt=1:null!=pn&&(Xt=-1),Xt*("asc"==at?1:-1)}):te},this.filterPredicate=(te,Se)=>{const Je=Object.keys(te).reduce((Ot,$t)=>Ot+te[$t]+"\u25ec","").toLowerCase(),at=Se.trim().toLowerCase();return-1!=Je.indexOf(at)},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 te=this._sort?(0,Ht.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),Se=this._paginator?(0,Ht.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),at=(0,he.a)([this._data,this._filter]).pipe((0,ne.U)(([It])=>this._filterData(It))),Ot=(0,he.a)([at,te]).pipe((0,ne.U)(([It])=>this._orderData(It))),$t=(0,he.a)([Ot,Se]).pipe((0,ne.U)(([It])=>this._pageData(It)));null===(Ae=this._renderChangesSubscription)||void 0===Ae||Ae.unsubscribe(),this._renderChangesSubscription=$t.subscribe(It=>this._renderData.next(It))}_filterData(Ae){return this.filteredData=null==this.filter||""===this.filter?Ae:Ae.filter(te=>this.filterPredicate(te,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 te=this.paginator.pageIndex*this.paginator.pageSize;return Ae.slice(te,te+this.paginator.pageSize)}_updatePaginator(Ae){Promise.resolve().then(()=>{const te=this.paginator;if(te&&(te.length=Ae,te.pageIndex>0)){const Se=Math.ceil(te.length/te.pageSize)-1||0,Je=Math.min(te.pageIndex,Se);Je!==te.pageIndex&&(te.pageIndex=Je,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 At{}},3251:(W,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TAB:()=>xe,MAT_TABS_CONFIG:()=>$e,MAT_TAB_GROUP:()=>Re,MatInkBar:()=>ee,MatTab:()=>tt,MatTabBody:()=>Rt,MatTabBodyPortal:()=>Tt,MatTabChangeEvent:()=>Dt,MatTabContent:()=>Ge,MatTabGroup:()=>Ht,MatTabHeader:()=>yt,MatTabLabel:()=>j,MatTabLabelWrapper:()=>Te,MatTabLink:()=>ie,MatTabNav:()=>k,MatTabNavPanel:()=>ze,MatTabsModule:()=>wt,_MAT_INK_BAR_POSITIONER:()=>Oe,_MatTabBodyBase:()=>Et,_MatTabGroupBase:()=>St,_MatTabHeaderBase:()=>lt,_MatTabLinkBase:()=>Ce,_MatTabNavBase:()=>ne,matTabsAnimations:()=>ot});var n=a(5664),h=a(7144),y=a(7429),d=a(9808),r=a(5e3),l=a(508),f=a(6360),p=a(5698),m=a(8675),u=a(1884),_=a(2722),v=a(3900),b=a(5684),T=a(7579),S=a(727),P=a(4968),I=a(9646),U=a(6451),J=a(515),Q=a(8306),q=a(5963),V=a(1777),oe=a(226),ce=a(3191),ge=a(1159),De=a(925),We=a(495);function Y(He,_t){1&He&&r.\u0275\u0275projection(0)}const ue=["*"];function $(He,_t){}const fe=function(He){return{animationDuration:He}},me=function(He,_t){return{value:He,params:_t}},_e=["tabListContainer"],Xe=["tabList"],dt=["tabListInner"],it=["nextPaginator"],st=["previousPaginator"],Ye=["tabBodyWrapper"],ut=["tabHeader"];function Ne(He,_t){}function qe(He,_t){if(1&He&&r.\u0275\u0275template(0,Ne,0,0,"ng-template",10),2&He){const de=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",de.templateLabel)}}function ke(He,_t){if(1&He&&r.\u0275\u0275text(0),2&He){const de=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(de.textLabel)}}function Qe(He,_t){if(1&He){const de=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const re=r.\u0275\u0275restoreView(de),K=re.$implicit,Ie=re.index,rt=r.\u0275\u0275nextContext(),Mt=r.\u0275\u0275reference(1);return rt._handleClick(K,Mt,Ie)})("cdkFocusChange",function(re){const Ie=r.\u0275\u0275restoreView(de).index;return r.\u0275\u0275nextContext()._tabFocusChanged(re,Ie)}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,qe,1,1,"ng-template",8),r.\u0275\u0275template(3,ke,1,1,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()}if(2&He){const de=_t.$implicit,B=_t.index,re=r.\u0275\u0275reference(4),K=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",K.selectedIndex===B),r.\u0275\u0275property("id",K._getTabLabelId(B))("ngClass",de.labelClass)("disabled",de.disabled)("matRippleDisabled",de.disabled||K.disableRipple),r.\u0275\u0275attribute("tabIndex",K._getTabIndex(de,B))("aria-posinset",B+1)("aria-setsize",K._tabs.length)("aria-controls",K._getTabContentId(B))("aria-selected",K.selectedIndex===B)("aria-label",de.ariaLabel||null)("aria-labelledby",!de.ariaLabel&&de.ariaLabelledby?de.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",de.templateLabel)("ngIfElse",re)}}function ht(He,_t){if(1&He){const de=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",11),r.\u0275\u0275listener("_onCentered",function(){return r.\u0275\u0275restoreView(de),r.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(re){return r.\u0275\u0275restoreView(de),r.\u0275\u0275nextContext()._setTabBodyWrapperHeight(re)}),r.\u0275\u0275elementEnd()}if(2&He){const de=_t.$implicit,B=_t.index,re=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",re.selectedIndex===B),r.\u0275\u0275property("id",re._getTabContentId(B))("ngClass",de.bodyClass)("content",de.content)("position",de.position)("origin",de.origin)("animationDuration",re.animationDuration),r.\u0275\u0275attribute("tabindex",null!=re.contentTabIndex&&re.selectedIndex===B?re.contentTabIndex:null)("aria-labelledby",re._getTabLabelId(B))}}const ye=["mat-tab-nav-bar",""],Oe=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function L(){return _t=>({left:_t?(_t.offsetLeft||0)+"px":"0",width:_t?(_t.offsetWidth||0)+"px":"0"})}});let ee=(()=>{class He{constructor(de,B,re,K){this._elementRef=de,this._ngZone=B,this._inkBarPositioner=re,this._animationMode=K}alignToElement(de){this.show(),this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>{const B=this._inkBarPositioner(de),re=this._elementRef.nativeElement;re.style.left=B.left,re.style.width=B.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Oe),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(de,B){2&de&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===B._animationMode)}}),He})();const Me=new r.InjectionToken("MatTabContent");let Ge=(()=>{class He{constructor(de){this.template=de}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.TemplateRef))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Me,useExisting:He}])]}),He})();const Ke=new r.InjectionToken("MatTabLabel"),xe=new r.InjectionToken("MAT_TAB");let j=(()=>{class He extends y.ig{constructor(de,B,re){super(de,B),this._closestTab=re}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(xe,8))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Ke,useExisting:He}]),r.\u0275\u0275InheritDefinitionFeature]}),He})();const ve=(0,l.mixinDisabled)(class{}),Re=new r.InjectionToken("MAT_TAB_GROUP");let tt=(()=>{class He extends ve{constructor(de,B){super(),this._viewContainerRef=de,this._closestTabGroup=B,this.textLabel="",this._contentPortal=null,this._stateChanges=new T.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(de){this._setTemplateLabelInput(de)}get content(){return this._contentPortal}ngOnChanges(de){(de.hasOwnProperty("textLabel")||de.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new y.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(de){de&&de._closestTab===this&&(this._templateLabel=de)}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(Re,8))},He.\u0275cmp=r.\u0275\u0275defineComponent({type:He,selectors:[["mat-tab"]],contentQueries:function(de,B,re){if(1&de&&(r.\u0275\u0275contentQuery(re,Ke,5),r.\u0275\u0275contentQuery(re,Me,7,r.TemplateRef)),2&de){let K;r.\u0275\u0275queryRefresh(K=r.\u0275\u0275loadQuery())&&(B.templateLabel=K.first),r.\u0275\u0275queryRefresh(K=r.\u0275\u0275loadQuery())&&(B._explicitContent=K.first)}},viewQuery:function(de,B){if(1&de&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&de){let re;r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._implicitContent=re.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[r.\u0275\u0275ProvidersFeature([{provide:xe,useExisting:He}]),r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:ue,decls:1,vars:0,template:function(de,B){1&de&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,Y,1,0,"ng-template"))},encapsulation:2}),He})();const ot={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 Tt=(()=>{class He extends y.Pl{constructor(de,B,re,K){super(de,B,K),this._host=re,this._centeringSub=S.w0.EMPTY,this._leavingSub=S.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,m.O)(this._host._isCenterPosition(this._host._position))).subscribe(de=>{de&&!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 He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Rt)),r.\u0275\u0275directiveInject(d.DOCUMENT))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),He})(),Et=(()=>{class He{constructor(de,B,re){this._elementRef=de,this._dir=B,this._dirChangeSubscription=S.w0.EMPTY,this._translateTabComplete=new T.x,this._onCentering=new r.EventEmitter,this._beforeCentering=new r.EventEmitter,this._afterLeavingCenter=new r.EventEmitter,this._onCentered=new r.EventEmitter(!0),this.animationDuration="500ms",B&&(this._dirChangeSubscription=B.change.subscribe(K=>{this._computePositionAnimationState(K),re.markForCheck()})),this._translateTabComplete.pipe((0,u.x)((K,Ie)=>K.fromState===Ie.fromState&&K.toState===Ie.toState)).subscribe(K=>{this._isCenterPosition(K.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(K.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(de){this._positionIndex=de,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(de){const B=this._isCenterPosition(de.toState);this._beforeCentering.emit(B),B&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(de){return"center"==de||"left-origin-center"==de||"right-origin-center"==de}_computePositionAnimationState(de=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==de?"left":"right":this._positionIndex>0?"ltr"==de?"right":"left":"center"}_computePositionFromOrigin(de){const B=this._getLayoutDirection();return"ltr"==B&&de<=0||"rtl"==B&&de>0?"left-origin-center":"right-origin-center"}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(oe.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),He})(),Rt=(()=>{class He extends Et{constructor(de,B,re){super(de,B,re)}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(oe.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},He.\u0275cmp=r.\u0275\u0275defineComponent({type:He,selectors:[["mat-tab-body"]],viewQuery:function(de,B){if(1&de&&r.\u0275\u0275viewQuery(y.Pl,5),2&de){let re;r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._portalHost=re.first)}},hostAttrs:[1,"mat-tab-body"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(de,B){1&de&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(K){return B._onTranslateTabStarted(K)})("@translateTab.done",function(K){return B._translateTabComplete.next(K)}),r.\u0275\u0275template(2,$,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&de&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,me,B._position,r.\u0275\u0275pureFunction1(1,fe,B.animationDuration)))},directives:[Tt],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:[ot.translateTab]}}),He})();const $e=new r.InjectionToken("MAT_TABS_CONFIG"),we=(0,l.mixinDisabled)(class{});let Te=(()=>{class He extends we{constructor(de){super(),this.elementRef=de}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(de,B){2&de&&(r.\u0275\u0275attribute("aria-disabled",!!B.disabled),r.\u0275\u0275classProp("mat-tab-disabled",B.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),He})();const Ze=(0,De.i$)({passive:!0});let Ue=(()=>{class He{constructor(de,B,re,K,Ie,rt,Mt){this._elementRef=de,this._changeDetectorRef=B,this._viewportRuler=re,this._dir=K,this._ngZone=Ie,this._platform=rt,this._animationMode=Mt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new T.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new T.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Ie.runOutsideAngular(()=>{(0,P.R)(de.nativeElement,"mouseleave").pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(de){de=(0,ce.su)(de),this._selectedIndex!=de&&(this._selectedIndexChanged=!0,this._selectedIndex=de,this._keyManager&&this._keyManager.updateActiveItem(de))}ngAfterViewInit(){(0,P.R)(this._previousPaginator.nativeElement,"touchstart",Ze).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,P.R)(this._nextPaginator.nativeElement,"touchstart",Ze).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const de=this._dir?this._dir.change:(0,I.of)("ltr"),B=this._viewportRuler.change(150),re=()=>{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(re),(0,U.T)(de,B,this._items.changes,this._itemsResized()).pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),re()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,_.R)(this._destroyed)).subscribe(K=>{this.indexFocused.emit(K),this._setTabFocus(K)})}_itemsResized(){return"function"!=typeof ResizeObserver?J.E:this._items.changes.pipe((0,m.O)(this._items),(0,v.w)(de=>new Q.y(B=>this._ngZone.runOutsideAngular(()=>{const re=new ResizeObserver(()=>{B.next()});return de.forEach(K=>{re.observe(K.elementRef.nativeElement)}),()=>{re.disconnect()}}))),(0,b.T)(1))}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(de){if(!(0,ge.Vb)(de))switch(de.keyCode){case ge.K5:case ge.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(de));break;default:this._keyManager.onKeydown(de)}}_onContentChanges(){const de=this._elementRef.nativeElement.textContent;de!==this._currentTextContent&&(this._currentTextContent=de||"",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(de){!this._isValidIndex(de)||this.focusIndex===de||!this._keyManager||this._keyManager.setActiveItem(de)}_isValidIndex(de){if(!this._items)return!0;const B=this._items?this._items.toArray()[de]:null;return!!B&&!B.disabled}_setTabFocus(de){if(this._showPaginationControls&&this._scrollToLabel(de),this._items&&this._items.length){this._items.toArray()[de].focus();const B=this._tabListContainer.nativeElement;B.scrollLeft="ltr"==this._getLayoutDirection()?0:B.scrollWidth-B.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const de=this.scrollDistance,B="ltr"===this._getLayoutDirection()?-de:de;this._tabList.nativeElement.style.transform=`translateX(${Math.round(B)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(de){this._scrollTo(de)}_scrollHeader(de){return this._scrollTo(this._scrollDistance+("before"==de?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(de){this._stopInterval(),this._scrollHeader(de)}_scrollToLabel(de){if(this.disablePagination)return;const B=this._items?this._items.toArray()[de]:null;if(!B)return;const re=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:K,offsetWidth:Ie}=B.elementRef.nativeElement;let rt,Mt;"ltr"==this._getLayoutDirection()?(rt=K,Mt=rt+Ie):(Mt=this._tabListInner.nativeElement.offsetWidth-K,rt=Mt-Ie);const kt=this.scrollDistance,Jt=this.scrollDistance+re;rt<kt?this.scrollDistance-=kt-rt+60:Mt>Jt&&(this.scrollDistance+=Mt-Jt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const de=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;de||(this.scrollDistance=0),de!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=de}}_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 de=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,B=de?de.elementRef.nativeElement:null;B?this._inkBar.alignToElement(B):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(de,B){B&&null!=B.button&&0!==B.button||(this._stopInterval(),(0,q.H)(650,100).pipe((0,_.R)((0,U.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:re,distance:K}=this._scrollHeader(de);(0===K||K>=re)&&this._stopInterval()}))}_scrollTo(de){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const B=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(B,de)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:B,distance:this._scrollDistance}}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(We.rL),r.\u0275\u0275directiveInject(oe.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(De.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,inputs:{disablePagination:"disablePagination"}}),He})(),lt=(()=>{class He extends Ue{constructor(de,B,re,K,Ie,rt,Mt){super(de,B,re,K,Ie,rt,Mt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(de){this._disableRipple=(0,ce.Ig)(de)}_itemSelected(de){de.preventDefault()}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(We.rL),r.\u0275\u0275directiveInject(oe.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(De.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),He})(),yt=(()=>{class He extends lt{constructor(de,B,re,K,Ie,rt,Mt){super(de,B,re,K,Ie,rt,Mt)}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(We.rL),r.\u0275\u0275directiveInject(oe.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(De.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275cmp=r.\u0275\u0275defineComponent({type:He,selectors:[["mat-tab-header"]],contentQueries:function(de,B,re){if(1&de&&r.\u0275\u0275contentQuery(re,Te,4),2&de){let K;r.\u0275\u0275queryRefresh(K=r.\u0275\u0275loadQuery())&&(B._items=K)}},viewQuery:function(de,B){if(1&de&&(r.\u0275\u0275viewQuery(ee,7),r.\u0275\u0275viewQuery(_e,7),r.\u0275\u0275viewQuery(Xe,7),r.\u0275\u0275viewQuery(dt,7),r.\u0275\u0275viewQuery(it,5),r.\u0275\u0275viewQuery(st,5)),2&de){let re;r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._inkBar=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._tabListContainer=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._tabList=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._tabListInner=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._nextPaginator=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._previousPaginator=re.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(de,B){2&de&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",B._showPaginationControls)("mat-tab-header-rtl","rtl"==B._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ue,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(de,B){1&de&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return B._handlePaginatorClick("before")})("mousedown",function(K){return B._handlePaginatorPress("before",K)})("touchend",function(){return B._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(K){return B._handleKeydown(K)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return B._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(K){return B._handlePaginatorPress("after",K)})("click",function(){return B._handlePaginatorClick("after")})("touchend",function(){return B._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&de&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",B._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",B._disableScrollBefore||B.disableRipple)("disabled",B._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===B._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",B._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",B._disableScrollAfter||B.disableRipple)("disabled",B._disableScrollAfter||null))},directives:[l.MatRipple,h.wD,ee],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}),He})(),Vt=0;class Dt{}const Kt=(0,l.mixinColor)((0,l.mixinDisableRipple)(class{constructor(He){this._elementRef=He}}),"primary");let St=(()=>{class He extends Kt{constructor(de,B,re,K){var Ie;super(de),this._changeDetectorRef=B,this._animationMode=K,this._tabs=new r.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=S.w0.EMPTY,this._tabLabelSubscription=S.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=Vt++,this.animationDuration=re&&re.animationDuration?re.animationDuration:"500ms",this.disablePagination=!(!re||null==re.disablePagination)&&re.disablePagination,this.dynamicHeight=!(!re||null==re.dynamicHeight)&&re.dynamicHeight,this.contentTabIndex=null!==(Ie=null==re?void 0:re.contentTabIndex)&&void 0!==Ie?Ie:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(de){this._dynamicHeight=(0,ce.Ig)(de)}get selectedIndex(){return this._selectedIndex}set selectedIndex(de){this._indexToSelect=(0,ce.su)(de,null)}get animationDuration(){return this._animationDuration}set animationDuration(de){this._animationDuration=/^\d+$/.test(de+"")?de+"ms":de}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(de){this._contentTabIndex=(0,ce.su)(de,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(de){const B=this._elementRef.nativeElement;B.classList.remove(`mat-background-${this.backgroundColor}`),de&&B.classList.add(`mat-background-${de}`),this._backgroundColor=de}ngAfterContentChecked(){const de=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=de){const B=null==this._selectedIndex;if(!B){this.selectedTabChange.emit(this._createChangeEvent(de));const re=this._tabBodyWrapper.nativeElement;re.style.minHeight=re.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((re,K)=>re.isActive=K===de),B||(this.selectedIndexChange.emit(de),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((B,re)=>{B.position=re-de,null!=this._selectedIndex&&0==B.position&&!B.origin&&(B.origin=de-this._selectedIndex)}),this._selectedIndex!==de&&(this._selectedIndex=de,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const de=this._clampTabIndex(this._indexToSelect);if(de===this._selectedIndex){const B=this._tabs.toArray();let re;for(let K=0;K<B.length;K++)if(B[K].isActive){this._indexToSelect=this._selectedIndex=K,this._lastFocusedTabIndex=null,re=B[K];break}!re&&B[de]&&Promise.resolve().then(()=>{B[de].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(de))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,m.O)(this._allTabs)).subscribe(de=>{this._tabs.reset(de.filter(B=>B._closestTabGroup===this||!B._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(de){const B=this._tabHeader;B&&(B.focusIndex=de)}_focusChanged(de){this._lastFocusedTabIndex=de,this.focusChange.emit(this._createChangeEvent(de))}_createChangeEvent(de){const B=new Dt;return B.index=de,this._tabs&&this._tabs.length&&(B.tab=this._tabs.toArray()[de]),B}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,U.T)(...this._tabs.map(de=>de._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(de){return Math.min(this._tabs.length-1,Math.max(de||0,0))}_getTabLabelId(de){return`mat-tab-label-${this._groupId}-${de}`}_getTabContentId(de){return`mat-tab-content-${this._groupId}-${de}`}_setTabBodyWrapperHeight(de){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const B=this._tabBodyWrapper.nativeElement;B.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(B.style.height=de+"px")}_removeTabBodyWrapperHeight(){const de=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=de.clientHeight,de.style.height="",this.animationDone.emit()}_handleClick(de,B,re){de.disabled||(this.selectedIndex=B.focusIndex=re)}_getTabIndex(de,B){var re;return de.disabled?null:B===(null!==(re=this._lastFocusedTabIndex)&&void 0!==re?re:this.selectedIndex)?0:-1}_tabFocusChanged(de,B){de&&"mouse"!==de&&"touch"!==de&&(this._tabHeader.focusIndex=B)}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject($e,8),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[r.\u0275\u0275InheritDefinitionFeature]}),He})(),Ht=(()=>{class He extends St{constructor(de,B,re,K){super(de,B,re,K)}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject($e,8),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275cmp=r.\u0275\u0275defineComponent({type:He,selectors:[["mat-tab-group"]],contentQueries:function(de,B,re){if(1&de&&r.\u0275\u0275contentQuery(re,tt,5),2&de){let K;r.\u0275\u0275queryRefresh(K=r.\u0275\u0275loadQuery())&&(B._allTabs=K)}},viewQuery:function(de,B){if(1&de&&(r.\u0275\u0275viewQuery(Ye,5),r.\u0275\u0275viewQuery(ut,5)),2&de){let re;r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._tabBodyWrapper=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._tabHeader=re.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(de,B){2&de&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",B.dynamicHeight)("mat-tab-group-inverted-header","below"===B.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:He}]),r.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_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(de,B){1&de&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(K){return B._focusChanged(K)})("selectFocusedIndex",function(K){return B.selectedIndex=K}),r.\u0275\u0275template(2,Qe,5,15,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,ht,1,10,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&de&&(r.\u0275\u0275property("selectedIndex",B.selectedIndex||0)("disableRipple",B.disableRipple)("disablePagination",B.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",B._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===B._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",B._tabs))},directives:[yt,Rt,d.NgForOf,Te,l.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}),He})(),he=0,ne=(()=>{class He extends Ue{constructor(de,B,re,K,Ie,rt,Mt){super(de,K,Ie,B,re,rt,Mt),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(de){const B=this._elementRef.nativeElement.classList;B.remove(`mat-background-${this.backgroundColor}`),de&&B.add(`mat-background-${de}`),this._backgroundColor=de}get disableRipple(){return this._disableRipple}set disableRipple(de){this._disableRipple=(0,ce.Ig)(de)}_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 de=this._items.toArray();for(let B=0;B<de.length;B++)if(de[B].active)return this.selectedIndex=B,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=de[B].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(oe.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(We.rL),r.\u0275\u0275directiveInject(De.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[r.\u0275\u0275InheritDefinitionFeature]}),He})(),k=(()=>{class He extends ne{constructor(de,B,re,K,Ie,rt,Mt){super(de,B,re,K,Ie,rt,Mt)}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(oe.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(We.rL),r.\u0275\u0275directiveInject(De.t4),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275cmp=r.\u0275\u0275defineComponent({type:He,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(de,B,re){if(1&de&&r.\u0275\u0275contentQuery(re,ie,5),2&de){let K;r.\u0275\u0275queryRefresh(K=r.\u0275\u0275loadQuery())&&(B._items=K)}},viewQuery:function(de,B){if(1&de&&(r.\u0275\u0275viewQuery(ee,7),r.\u0275\u0275viewQuery(_e,7),r.\u0275\u0275viewQuery(Xe,7),r.\u0275\u0275viewQuery(dt,7),r.\u0275\u0275viewQuery(it,5),r.\u0275\u0275viewQuery(st,5)),2&de){let re;r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._inkBar=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._tabListContainer=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._tabList=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._tabListInner=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._nextPaginator=re.first),r.\u0275\u0275queryRefresh(re=r.\u0275\u0275loadQuery())&&(B._previousPaginator=re.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(de,B){2&de&&(r.\u0275\u0275attribute("role",B._getRole()),r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",B._showPaginationControls)("mat-tab-header-rtl","rtl"==B._getLayoutDirection())("mat-primary","warn"!==B.color&&"accent"!==B.color)("mat-accent","accent"===B.color)("mat-warn","warn"===B.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:ye,ngContentSelectors:ue,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(de,B){1&de&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return B._handlePaginatorClick("before")})("mousedown",function(K){return B._handlePaginatorPress("before",K)})("touchend",function(){return B._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(K){return B._handleKeydown(K)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return B._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(K){return B._handlePaginatorPress("after",K)})("click",function(){return B._handlePaginatorClick("after")})("touchend",function(){return B._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&de&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",B._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",B._disableScrollBefore||B.disableRipple)("disabled",B._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===B._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",B._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",B._disableScrollAfter||B.disableRipple)("disabled",B._disableScrollAfter||null))},directives:[l.MatRipple,h.wD,ee],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}),He})();const z=(0,l.mixinTabIndex)((0,l.mixinDisableRipple)((0,l.mixinDisabled)(class{})));let Ce=(()=>{class He extends z{constructor(de,B,re,K,Ie,rt){super(),this._tabNavBar=de,this.elementRef=B,this._focusMonitor=Ie,this._isActive=!1,this.id="mat-tab-link-"+he++,this.rippleConfig=re||{},this.tabIndex=parseInt(K)||0,"NoopAnimations"===rt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(de){const B=(0,ce.Ig)(de);B!==this._isActive&&(this._isActive=B,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(de){this._tabNavBar.tabPanel&&de.keyCode===ge.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){var de;return this._tabNavBar.tabPanel?null===(de=this._tabNavBar.tabPanel)||void 0===de?void 0:de.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 He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(ne),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(l.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),He})(),ie=(()=>{class He extends Ce{constructor(de,B,re,K,Ie,rt,Mt,kt){super(de,B,Ie,rt,Mt,kt),this._tabLinkRipple=new l.RippleRenderer(this,re,B,K),this._tabLinkRipple.setupTriggerEvents(B.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return He.\u0275fac=function(de){return new(de||He)(r.\u0275\u0275directiveInject(k),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(De.t4),r.\u0275\u0275directiveInject(l.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(f.ANIMATION_MODULE_TYPE,8))},He.\u0275dir=r.\u0275\u0275defineDirective({type:He,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(de,B){1&de&&r.\u0275\u0275listener("focus",function(){return B._handleFocus()})("keydown",function(K){return B._handleKeydown(K)}),2&de&&(r.\u0275\u0275attribute("aria-controls",B._getAriaControls())("aria-current",B._getAriaCurrent())("aria-disabled",B.disabled)("aria-selected",B._getAriaSelected())("id",B.id)("tabIndex",B._getTabIndex())("role",B._getRole()),r.\u0275\u0275classProp("mat-tab-disabled",B.disabled)("mat-tab-label-active",B.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),He})(),ze=(()=>{class He{constructor(){this.id="mat-tab-nav-panel-"+he++}}return He.\u0275fac=function(de){return new(de||He)},He.\u0275cmp=r.\u0275\u0275defineComponent({type:He,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(de,B){2&de&&r.\u0275\u0275attribute("aria-labelledby",B._activeTabId)("id",B.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:ue,decls:1,vars:0,template:function(de,B){1&de&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),He})(),wt=(()=>{class He{}return He.\u0275fac=function(de){return new(de||He)},He.\u0275mod=r.\u0275\u0275defineNgModule({type:He}),He.\u0275inj=r.\u0275\u0275defineInjector({imports:[[d.CommonModule,l.MatCommonModule,y.eL,l.MatRippleModule,h.Q8,n.rt],l.MatCommonModule]}),He})()},7238:(W,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>Y,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>ue,MAT_TOOLTIP_SCROLL_STRATEGY:()=>ge,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>De,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>We,MatTooltip:()=>fe,MatTooltipModule:()=>Xe,SCROLL_THROTTLE_MS:()=>J,TOOLTIP_PANEL_CLASS:()=>Q,TooltipComponent:()=>_e,_MatTooltipBase:()=>$,_TooltipComponentBase:()=>me,getMatTooltipInvalidPositionError:()=>ce,matTooltipAnimations:()=>dt});var n=a(1314),h=a(5664),y=a(9808),d=a(5e3),r=a(508),l=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 U=["tooltip"],J=20,Q="mat-tooltip-panel",q="tooltip-panel",V=(0,u.i$)({passive:!0});function ce(it){return Error(`Tooltip position "${it}" is invalid.`)}const ge=new d.InjectionToken("mat-tooltip-scroll-strategy");function De(it){return()=>it.scrollStrategies.reposition({scrollThrottle:J})}const We={provide:ge,deps:[n.aV],useFactory:De},Y=new d.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:ue});function ue(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}let $=(()=>{class it{constructor(Ye,ut,Ne,qe,ke,Qe,ht,ye,Oe,L,ee,Me){this._overlay=Ye,this._elementRef=ut,this._scrollDispatcher=Ne,this._viewContainerRef=qe,this._ngZone=ke,this._platform=Qe,this._ariaDescriber=ht,this._focusMonitor=ye,this._dir=L,this._defaultOptions=ee,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=Oe,this._document=Me,ee&&(ee.position&&(this.position=ee.position),ee.touchGestures&&(this.touchGestures=ee.touchGestures)),L.change.pipe((0,T.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(Ye){var ut;Ye!==this._position&&(this._position=Ye,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(ut=this._tooltipInstance)||void 0===ut||ut.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(Ye){this._disabled=(0,f.Ig)(Ye),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Ye){this._showDelay=(0,f.su)(Ye)}get hideDelay(){return this._hideDelay}set hideDelay(Ye){this._hideDelay=(0,f.su)(Ye),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Ye){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Ye?String(Ye).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(Ye){this._tooltipClass=Ye,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,T.R)(this._destroyed)).subscribe(Ye=>{Ye?"keyboard"===Ye&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Ye=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([ut,Ne])=>{Ye.removeEventListener(ut,Ne,V)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Ye,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Ye)}show(Ye=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const ut=this._createOverlay();this._detach(),this._portal=this._portal||new _.C5(this._tooltipComponent,this._viewContainerRef);const Ne=this._tooltipInstance=ut.attach(this._portal).instance;Ne._triggerElement=this._elementRef.nativeElement,Ne._mouseLeaveHideDelay=this._hideDelay,Ne.afterHidden().pipe((0,T.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ne.show(Ye)}hide(Ye=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(Ye)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var Ye;if(this._overlayRef)return this._overlayRef;const ut=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ne=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(ut);return Ne.positionChanges.pipe((0,T.R)(this._destroyed)).subscribe(qe=>{this._updateCurrentPositionClass(qe.connectionPair),this._tooltipInstance&&qe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ne,panelClass:`${this._cssClassPrefix}-${q}`,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 qe;return null===(qe=this._tooltipInstance)||void 0===qe?void 0:qe._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,T.R)(this._destroyed)).subscribe(qe=>{this._isTooltipVisible()&&qe.keyCode===p.hY&&!(0,p.Vb)(qe)&&(qe.preventDefault(),qe.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(Ye=this._defaultOptions)||void 0===Ye?void 0:Ye.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(Ye){const ut=Ye.getConfig().positionStrategy,Ne=this._getOrigin(),qe=this._getOverlayPosition();ut.withPositions([this._addOffset(Object.assign(Object.assign({},Ne.main),qe.main)),this._addOffset(Object.assign(Object.assign({},Ne.fallback),qe.fallback))])}_addOffset(Ye){return Ye}_getOrigin(){const Ye=!this._dir||"ltr"==this._dir.value,ut=this.position;let Ne;"above"==ut||"below"==ut?Ne={originX:"center",originY:"above"==ut?"top":"bottom"}:"before"==ut||"left"==ut&&Ye||"right"==ut&&!Ye?Ne={originX:"start",originY:"center"}:("after"==ut||"right"==ut&&Ye||"left"==ut&&!Ye)&&(Ne={originX:"end",originY:"center"});const{x:qe,y:ke}=this._invertPosition(Ne.originX,Ne.originY);return{main:Ne,fallback:{originX:qe,originY:ke}}}_getOverlayPosition(){const Ye=!this._dir||"ltr"==this._dir.value,ut=this.position;let Ne;"above"==ut?Ne={overlayX:"center",overlayY:"bottom"}:"below"==ut?Ne={overlayX:"center",overlayY:"top"}:"before"==ut||"left"==ut&&Ye||"right"==ut&&!Ye?Ne={overlayX:"end",overlayY:"center"}:("after"==ut||"right"==ut&&Ye||"left"==ut&&!Ye)&&(Ne={overlayX:"start",overlayY:"center"});const{x:qe,y:ke}=this._invertPosition(Ne.overlayX,Ne.overlayY);return{main:Ne,fallback:{overlayX:qe,overlayY:ke}}}_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(Ye){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Ye,this._tooltipInstance._markForCheck())}_invertPosition(Ye,ut){return"above"===this.position||"below"===this.position?"top"===ut?ut="bottom":"bottom"===ut&&(ut="top"):"end"===Ye?Ye="start":"start"===Ye&&(Ye="end"),{x:Ye,y:ut}}_updateCurrentPositionClass(Ye){const{overlayY:ut,originX:Ne,originY:qe}=Ye;let ke;if(ke="center"===ut?this._dir&&"rtl"===this._dir.value?"end"===Ne?"left":"right":"start"===Ne?"left":"right":"bottom"===ut&&"top"===qe?"above":"below",ke!==this._currentPosition){const Qe=this._overlayRef;if(Qe){const ht=`${this._cssClassPrefix}-${q}-`;Qe.removePanelClass(ht+this._currentPosition),Qe.addPanelClass(ht+ke)}this._currentPosition=ke}}_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 Ye=[];if(this._platformSupportsMouseEvents())Ye.push(["mouseleave",ut=>{var Ne;const qe=ut.relatedTarget;(!qe||!(null===(Ne=this._overlayRef)||void 0===Ne?void 0:Ne.overlayElement.contains(qe)))&&this.hide()}],["wheel",ut=>this._wheelListener(ut)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const ut=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Ye.push(["touchend",ut],["touchcancel",ut])}this._addListeners(Ye),this._passiveListeners.push(...Ye)}_addListeners(Ye){Ye.forEach(([ut,Ne])=>{this._elementRef.nativeElement.addEventListener(ut,Ne,V)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Ye){if(this._isTooltipVisible()){const ut=this._document.elementFromPoint(Ye.clientX,Ye.clientY),Ne=this._elementRef.nativeElement;ut!==Ne&&!Ne.contains(ut)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Ye=this.touchGestures;if("off"!==Ye){const ut=this._elementRef.nativeElement,Ne=ut.style;("on"===Ye||"INPUT"!==ut.nodeName&&"TEXTAREA"!==ut.nodeName)&&(Ne.userSelect=Ne.msUserSelect=Ne.webkitUserSelect=Ne.MozUserSelect="none"),("on"===Ye||!ut.draggable)&&(Ne.webkitUserDrag="none"),Ne.touchAction="none",Ne.webkitTapHighlightColor="transparent"}}}return it.\u0275fac=function(Ye){d.\u0275\u0275invalidFactory()},it.\u0275dir=d.\u0275\u0275defineDirective({type:it,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),it})(),fe=(()=>{class it extends ${constructor(Ye,ut,Ne,qe,ke,Qe,ht,ye,Oe,L,ee,Me){super(Ye,ut,Ne,qe,ke,Qe,ht,ye,Oe,L,ee,Me),this._tooltipComponent=_e}}return it.\u0275fac=function(Ye){return new(Ye||it)(d.\u0275\u0275directiveInject(n.aV),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(l.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(ge),d.\u0275\u0275directiveInject(P.Is,8),d.\u0275\u0275directiveInject(Y,8),d.\u0275\u0275directiveInject(y.DOCUMENT))},it.\u0275dir=d.\u0275\u0275defineDirective({type:it,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[d.\u0275\u0275InheritDefinitionFeature]}),it})(),me=(()=>{class it{constructor(Ye,ut){this._changeDetectorRef=Ye,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new b.x,this._animationsDisabled="NoopAnimations"===ut}show(Ye){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Ye)}hide(Ye){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Ye)}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:Ye}){(!Ye||!this._triggerElement.contains(Ye))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:Ye}){(Ye===this._showAnimation||Ye===this._hideAnimation)&&this._finalizeAnimation(Ye===this._showAnimation)}_finalizeAnimation(Ye){Ye?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Ye){const ut=this._tooltip.nativeElement,Ne=this._showAnimation,qe=this._hideAnimation;if(ut.classList.remove(Ye?qe:Ne),ut.classList.add(Ye?Ne:qe),this._isVisible=Ye,Ye&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ke=getComputedStyle(ut);("0s"===ke.getPropertyValue("animation-duration")||"none"===ke.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Ye&&this._onShow(),this._animationsDisabled&&(ut.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Ye))}}return it.\u0275fac=function(Ye){return new(Ye||it)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))},it.\u0275dir=d.\u0275\u0275defineDirective({type:it}),it})(),_e=(()=>{class it extends me{constructor(Ye,ut,Ne){super(Ye,Ne),this._breakpointObserver=ut,this._isHandset=this._breakpointObserver.observe(m.Breakpoints.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return it.\u0275fac=function(Ye){return new(Ye||it)(d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(m.BreakpointObserver),d.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))},it.\u0275cmp=d.\u0275\u0275defineComponent({type:it,selectors:[["mat-tooltip-component"]],viewQuery:function(Ye,ut){if(1&Ye&&d.\u0275\u0275viewQuery(U,7),2&Ye){let Ne;d.\u0275\u0275queryRefresh(Ne=d.\u0275\u0275loadQuery())&&(ut._tooltip=Ne.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(Ye,ut){1&Ye&&d.\u0275\u0275listener("mouseleave",function(qe){return ut._handleMouseLeave(qe)}),2&Ye&&d.\u0275\u0275styleProp("zoom",ut.isVisible()?1:null)},features:[d.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(Ye,ut){if(1&Ye&&(d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("animationend",function(qe){return ut._handleAnimationEnd(qe)}),d.\u0275\u0275pipe(2,"async"),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd()),2&Ye){let Ne;d.\u0275\u0275classProp("mat-tooltip-handset",null==(Ne=d.\u0275\u0275pipeBind1(2,4,ut._isHandset))?null:Ne.matches),d.\u0275\u0275property("ngClass",ut.tooltipClass),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(ut.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}),it})(),Xe=(()=>{class it{}return it.\u0275fac=function(Ye){return new(Ye||it)},it.\u0275mod=d.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=d.\u0275\u0275defineInjector({providers:[We],imports:[[h.rt,y.CommonModule,n.U8,r.MatCommonModule],r.MatCommonModule,l.ZD]}),it})();const dt={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:(W,o,a)=>{"use strict";a.r(o),a.d(o,{ANIMATION_MODULE_TYPE:()=>Rs,BrowserAnimationsModule:()=>oi,NoopAnimationsModule:()=>qi,\u0275AnimationRenderer:()=>Vn,\u0275AnimationRendererFactory:()=>un,\u0275BrowserAnimationBuilder:()=>Mn,\u0275BrowserAnimationFactory:()=>vi,\u0275InjectableAnimationEngine:()=>Ai});var n=a(5e3),h=a(2313),y=a(1777);const d=!1;function l(G){return new n.\u0275RuntimeError(3e3,d)}function ke(){return"undefined"!=typeof window&&void 0!==window.document}function Qe(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ht(G){switch(G.length){case 0:return new y.ZN;case 1:return G[0];default:return new y.ZE(G)}}function ye(G,E,D,A,Z={},be={}){const Le=[],je=[];let nt=-1,mt=null;if(A.forEach(Ft=>{const Ut=Ft.offset,qt=Ut==nt,on=qt&&mt||{};Object.keys(Ft).forEach(Gt=>{let tn=Gt,Cn=Ft[Gt];if("offset"!==Gt)switch(tn=E.normalizePropertyName(tn,Le),Cn){case y.k1:Cn=Z[Gt];break;case y.l3:Cn=be[Gt];break;default:Cn=E.normalizeStyleValue(Gt,tn,Cn,Le)}on[tn]=Cn}),qt||je.push(on),mt=on,nt=Ut}),Le.length)throw function $(G){return new n.\u0275RuntimeError(3502,d)}();return je}function Oe(G,E,D,A){switch(E){case"start":G.onStart(()=>A(D&&L(D,"start",G)));break;case"done":G.onDone(()=>A(D&&L(D,"done",G)));break;case"destroy":G.onDestroy(()=>A(D&&L(D,"destroy",G)))}}function L(G,E,D){const A=D.totalTime,be=ee(G.element,G.triggerName,G.fromState,G.toState,E||G.phaseName,null==A?G.totalTime:A,!!D.disabled),Le=G._data;return null!=Le&&(be._data=Le),be}function ee(G,E,D,A,Z="",be=0,Le){return{element:G,triggerName:E,fromState:D,toState:A,phaseName:Z,totalTime:be,disabled:!!Le}}function Me(G,E,D){let A;return G instanceof Map?(A=G.get(E),A||G.set(E,A=D)):(A=G[E],A||(A=G[E]=D)),A}function Ge(G){const E=G.indexOf(":");return[G.substring(1,E),G.substr(E+1)]}let Ke=(G,E)=>!1,xe=(G,E,D)=>[],j=null;function ve(G){const E=G.parentNode||G.host;return E===j?null:E}(Qe()||"undefined"!=typeof Element)&&(ke()?(j=(()=>document.documentElement)(),Ke=(G,E)=>{for(;E;){if(E===G)return!0;E=ve(E)}return!1}):Ke=(G,E)=>G.contains(E),xe=(G,E,D)=>{if(D)return Array.from(G.querySelectorAll(E));const A=G.querySelector(E);return A?[A]:[]});let ot=null,Tt=!1;function Et(G){ot||(ot=function Rt(){return"undefined"!=typeof document?document.body:null}()||{},Tt=!!ot.style&&"WebkitAppearance"in ot.style);let E=!0;return ot.style&&!function tt(G){return"ebkit"==G.substring(1,6)}(G)&&(E=G in ot.style,!E&&Tt&&(E="Webkit"+G.charAt(0).toUpperCase()+G.substr(1)in ot.style)),E}const $e=Ke,we=xe;let Ze=(()=>{class G{validateStyleProperty(D){return Et(D)}matchesElement(D,A){return!1}containsElement(D,A){return $e(D,A)}getParentElement(D){return ve(D)}query(D,A,Z){return we(D,A,Z)}computeStyle(D,A,Z){return Z||""}animate(D,A,Z,be,Le,je=[],nt){return new y.ZN(Z,be)}}return G.\u0275fac=function(D){return new(D||G)},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})(),Pe=(()=>{class G{}return G.NOOP=new Ze,G})();const lt="ng-enter",yt="ng-leave",Vt="ng-trigger",Dt=".ng-trigger",Kt="ng-animating",St=".ng-animating";function Ht(G){if("number"==typeof G)return G;const E=G.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:he(parseFloat(E[1]),E[2])}function he(G,E){return"s"===E?1e3*G:G}function ne(G,E,D){return G.hasOwnProperty("duration")?G:function k(G,E,D){let Z,be=0,Le="";if("string"==typeof G){const je=G.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===je)return E.push(l()),{duration:0,delay:0,easing:""};Z=he(parseFloat(je[1]),je[2]);const nt=je[3];null!=nt&&(be=he(parseFloat(nt),je[4]));const mt=je[5];mt&&(Le=mt)}else Z=G;if(!D){let je=!1,nt=E.length;Z<0&&(E.push(function f(){return new n.\u0275RuntimeError(3100,d)}()),je=!0),be<0&&(E.push(function p(){return new n.\u0275RuntimeError(3101,d)}()),je=!0),je&&E.splice(nt,0,l())}return{duration:Z,delay:be,easing:Le}}(G,E,D)}function z(G,E={}){return Object.keys(G).forEach(D=>{E[D]=G[D]}),E}function ie(G,E,D={}){if(E)for(let A in G)D[A]=G[A];else z(G,D);return D}function ze(G,E,D){return D?E+":"+D+";":""}function wt(G){let E="";for(let D=0;D<G.style.length;D++){const A=G.style.item(D);E+=ze(0,A,G.style.getPropertyValue(A))}for(const D in G.style)G.style.hasOwnProperty(D)&&!D.startsWith("_")&&(E+=ze(0,Jt(D),G.style[D]));G.setAttribute("style",E)}function He(G,E,D){G.style&&(Object.keys(E).forEach(A=>{const Z=kt(A);D&&!D.hasOwnProperty(A)&&(D[A]=G.style[Z]),G.style[Z]=E[A]}),Qe()&&wt(G))}function _t(G,E){G.style&&(Object.keys(E).forEach(D=>{const A=kt(D);G.style[A]=""}),Qe()&&wt(G))}function de(G){return Array.isArray(G)?1==G.length?G[0]:(0,y.vP)(G):G}const re=new RegExp("{{\\s*(.+?)\\s*}}","g");function K(G){let E=[];if("string"==typeof G){let D;for(;D=re.exec(G);)E.push(D[1]);re.lastIndex=0}return E}function Ie(G,E,D){const A=G.toString(),Z=A.replace(re,(be,Le)=>{let je=E[Le];return E.hasOwnProperty(Le)||(D.push(function u(G){return new n.\u0275RuntimeError(3003,d)}()),je=""),je.toString()});return Z==A?G:Z}function rt(G){const E=[];let D=G.next();for(;!D.done;)E.push(D.value),D=G.next();return E}const Mt=/-+([a-z0-9])/g;function kt(G){return G.replace(Mt,(...E)=>E[1].toUpperCase())}function Jt(G){return G.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function hn(G,E,D){switch(E.type){case 7:return G.visitTrigger(E,D);case 0:return G.visitState(E,D);case 1:return G.visitTransition(E,D);case 2:return G.visitSequence(E,D);case 3:return G.visitGroup(E,D);case 4:return G.visitAnimate(E,D);case 5:return G.visitKeyframes(E,D);case 6:return G.visitStyle(E,D);case 8:return G.visitReference(E,D);case 9:return G.visitAnimateChild(E,D);case 10:return G.visitAnimateRef(E,D);case 11:return G.visitQuery(E,D);case 12:return G.visitStagger(E,D);default:throw function _(G){return new n.\u0275RuntimeError(3004,d)}()}}function An(G,E){return window.getComputedStyle(G)[E]}function Se(G,E){const D=[];return"string"==typeof G?G.split(/\s*,\s*/).forEach(A=>function Je(G,E,D){if(":"==G[0]){const nt=function at(G,E){switch(G){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(G){return new n.\u0275RuntimeError(3016,d)}()),"* => *"}}(G,D);if("function"==typeof nt)return void E.push(nt);G=nt}const A=G.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==A||A.length<4)return D.push(function ge(G){return new n.\u0275RuntimeError(3015,d)}()),E;const Z=A[1],be=A[2],Le=A[3];E.push(It(Z,Le));"<"==be[0]&&!("*"==Z&&"*"==Le)&&E.push(It(Le,Z))}(A,D,E)):D.push(G),D}const Ot=new Set(["true","1"]),$t=new Set(["false","0"]);function It(G,E){const D=Ot.has(G)||$t.has(G),A=Ot.has(E)||$t.has(E);return(Z,be)=>{let Le="*"==G||G==Z,je="*"==E||E==be;return!Le&&D&&"boolean"==typeof Z&&(Le=Z?Ot.has(G):$t.has(G)),!je&&A&&"boolean"==typeof be&&(je=be?Ot.has(E):$t.has(E)),Le&&je}}const an=new RegExp("s*:selfs*,?","g");function yn(G,E,D,A){return new fn(G).build(E,D,A)}class fn{constructor(E){this._driver=E}build(E,D,A){const Z=new mn(D);this._resetContextStyleTimingState(Z);const be=hn(this,de(E),Z);return Z.unsupportedCSSPropertiesFound.size&&Z.unsupportedCSSPropertiesFound.keys(),be}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles={},E.collectedStyles[""]={},E.currentTime=0}visitTrigger(E,D){let A=D.queryCount=0,Z=D.depCount=0;const be=[],Le=[];return"@"==E.name.charAt(0)&&D.errors.push(function b(){return new n.\u0275RuntimeError(3006,d)}()),E.definitions.forEach(je=>{if(this._resetContextStyleTimingState(D),0==je.type){const nt=je,mt=nt.name;mt.toString().split(/\s*,\s*/).forEach(Ft=>{nt.name=Ft,be.push(this.visitState(nt,D))}),nt.name=mt}else if(1==je.type){const nt=this.visitTransition(je,D);A+=nt.queryCount,Z+=nt.depCount,Le.push(nt)}else D.errors.push(function T(){return new n.\u0275RuntimeError(3007,d)}())}),{type:7,name:E.name,states:be,transitions:Le,queryCount:A,depCount:Z,options:null}}visitState(E,D){const A=this.visitStyle(E.styles,D),Z=E.options&&E.options.params||null;if(A.containsDynamicStyles){const be=new Set,Le=Z||{};A.styles.forEach(je=>{if(pi(je)){const nt=je;Object.keys(nt).forEach(mt=>{K(nt[mt]).forEach(Ft=>{Le.hasOwnProperty(Ft)||be.add(Ft)})})}}),be.size&&(rt(be.values()),D.errors.push(function S(G,E){return new n.\u0275RuntimeError(3008,d)}()))}return{type:0,name:E.name,style:A,options:Z?{params:Z}:null}}visitTransition(E,D){D.queryCount=0,D.depCount=0;const A=hn(this,de(E.animation),D);return{type:1,matchers:Se(E.expr,D.errors),animation:A,queryCount:D.queryCount,depCount:D.depCount,options:wn(E.options)}}visitSequence(E,D){return{type:2,steps:E.steps.map(A=>hn(this,A,D)),options:wn(E.options)}}visitGroup(E,D){const A=D.currentTime;let Z=0;const be=E.steps.map(Le=>{D.currentTime=A;const je=hn(this,Le,D);return Z=Math.max(Z,D.currentTime),je});return D.currentTime=Z,{type:3,steps:be,options:wn(E.options)}}visitAnimate(E,D){const A=function Di(G,E){if(G.hasOwnProperty("duration"))return G;if("number"==typeof G)return Ln(ne(G,E).duration,0,"");const D=G;if(D.split(/\s+/).some(be=>"{"==be.charAt(0)&&"{"==be.charAt(1))){const be=Ln(0,0,"");return be.dynamic=!0,be.strValue=D,be}const Z=ne(D,E);return Ln(Z.duration,Z.delay,Z.easing)}(E.timings,D.errors);D.currentAnimateTimings=A;let Z,be=E.styles?E.styles:(0,y.oB)({});if(5==be.type)Z=this.visitKeyframes(be,D);else{let Le=E.styles,je=!1;if(!Le){je=!0;const mt={};A.easing&&(mt.easing=A.easing),Le=(0,y.oB)(mt)}D.currentTime+=A.duration+A.delay;const nt=this.visitStyle(Le,D);nt.isEmptyStep=je,Z=nt}return D.currentAnimateTimings=null,{type:4,timings:A,style:Z,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(Le=>{"string"==typeof Le?Le==y.l3?A.push(Le):D.errors.push(function P(G){return new n.\u0275RuntimeError(3002,d)}()):A.push(Le)}):A.push(E.styles);let Z=!1,be=null;return A.forEach(Le=>{if(pi(Le)){const je=Le,nt=je.easing;if(nt&&(be=nt,delete je.easing),!Z)for(let mt in je)if(je[mt].toString().indexOf("{{")>=0){Z=!0;break}}}),{type:6,styles:A,easing:be,offset:E.offset,containsDynamicStyles:Z,options:null}}_validateStyleAst(E,D){const A=D.currentAnimateTimings;let Z=D.currentTime,be=D.currentTime;A&&be>0&&(be-=A.duration+A.delay),E.styles.forEach(Le=>{"string"!=typeof Le&&Object.keys(Le).forEach(je=>{if(!this._driver.validateStyleProperty(je))return delete Le[je],void D.unsupportedCSSPropertiesFound.add(je);const nt=D.collectedStyles[D.currentQuerySelector],mt=nt[je];let Ft=!0;mt&&(be!=Z&&be>=mt.startTime&&Z<=mt.endTime&&(D.errors.push(function U(G,E,D,A,Z){return new n.\u0275RuntimeError(3010,d)}()),Ft=!1),be=mt.startTime),Ft&&(nt[je]={startTime:be,endTime:Z}),D.options&&function B(G,E,D){const A=E.params||{},Z=K(G);Z.length&&Z.forEach(be=>{A.hasOwnProperty(be)||D.push(function m(G){return new n.\u0275RuntimeError(3001,d)}())})}(Le[je],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 be=0;const Le=[];let je=!1,nt=!1,mt=0;const Ft=E.steps.map($n=>{const kn=this._makeStyleAst($n,D);let si=null!=kn.offset?kn.offset:function nn(G){if("string"==typeof G)return null;let E=null;if(Array.isArray(G))G.forEach(D=>{if(pi(D)&&D.hasOwnProperty("offset")){const A=D;E=parseFloat(A.offset),delete A.offset}});else if(pi(G)&&G.hasOwnProperty("offset")){const D=G;E=parseFloat(D.offset),delete D.offset}return E}(kn.styles),Xn=0;return null!=si&&(be++,Xn=kn.offset=si),nt=nt||Xn<0||Xn>1,je=je||Xn<mt,mt=Xn,Le.push(Xn),kn});nt&&D.errors.push(function Q(){return new n.\u0275RuntimeError(3012,d)}()),je&&D.errors.push(function q(){return new n.\u0275RuntimeError(3200,d)}());const Ut=E.steps.length;let qt=0;be>0&&be<Ut?D.errors.push(function V(){return new n.\u0275RuntimeError(3202,d)}()):0==be&&(qt=1/(Ut-1));const on=Ut-1,Gt=D.currentTime,tn=D.currentAnimateTimings,Cn=tn.duration;return Ft.forEach(($n,kn)=>{const si=qt>0?kn==on?1:qt*kn:Le[kn],Xn=si*Cn;D.currentTime=Gt+tn.delay+Xn,tn.duration=Xn,this._validateStyleAst($n,D),$n.offset=si,A.styles.push($n)}),A}visitReference(E,D){return{type:8,animation:hn(this,de(E.animation),D),options:wn(E.options)}}visitAnimateChild(E,D){return D.depCount++,{type:9,options:wn(E.options)}}visitAnimateRef(E,D){return{type:10,animation:this.visitReference(E.animation,D),options:wn(E.options)}}visitQuery(E,D){const A=D.currentQuerySelector,Z=E.options||{};D.queryCount++,D.currentQuery=E;const[be,Le]=function Wn(G){const E=!!G.split(/\s*,\s*/).find(D=>":self"==D);return E&&(G=G.replace(an,"")),G=G.replace(/@\*/g,Dt).replace(/@\w+/g,D=>Dt+"-"+D.substr(1)).replace(/:animating/g,St),[G,E]}(E.selector);D.currentQuerySelector=A.length?A+" "+be:be,Me(D.collectedStyles,D.currentQuerySelector,{});const je=hn(this,de(E.animation),D);return D.currentQuery=null,D.currentQuerySelector=A,{type:11,selector:be,limit:Z.limit||0,optional:!!Z.optional,includeSelf:Le,animation:je,originalSelector:E.selector,options:wn(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"}:ne(E.timings,D.errors,!0);return{type:12,animation:hn(this,de(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 pi(G){return!Array.isArray(G)&&"object"==typeof G}function wn(G){return G?(G=z(G)).params&&(G.params=function Nn(G){return G?z(G):null}(G.params)):G={},G}function Ln(G,E,D){return{duration:G,delay:E,easing:D}}function mi(G,E,D,A,Z,be,Le=null,je=!1){return{type:1,element:G,keyframes:E,preStyleProps:D,postStyleProps:A,duration:Z,delay:be,totalTime:Z+be,easing:Le,subTimeline:je}}class ci{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"),zr=new RegExp(":leave","g");function jn(G,E,D,A,Z,be={},Le={},je,nt,mt=[]){return(new xr).buildKeyframes(G,E,D,A,Z,be,Le,je,nt,mt)}class xr{buildKeyframes(E,D,A,Z,be,Le,je,nt,mt,Ft=[]){mt=mt||new ci;const Ut=new ar(E,D,mt,Z,be,Ft,[]);Ut.options=nt,Ut.currentTimeline.setStyles([Le],null,Ut.errors,nt),hn(this,A,Ut);const qt=Ut.timelines.filter(on=>on.containsAnimation());if(Object.keys(je).length){let on;for(let Gt=qt.length-1;Gt>=0;Gt--){const tn=qt[Gt];if(tn.element===D){on=tn;break}}on&&!on.allowOnlyTimelineStyles()&&on.setStyles([je],null,Ut.errors,nt)}return qt.length?qt.map(on=>on.buildKeyframes()):[mi(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 Z=D.createSubContext(E.options),be=D.currentTimeline.currentTime,Le=this._visitSubInstructions(A,Z,Z.options);be!=Le&&D.transformIntoNewTimeline(Le)}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 be=D.currentTimeline.currentTime;const Le=null!=A.duration?Ht(A.duration):null,je=null!=A.delay?Ht(A.delay):null;return 0!==Le&&E.forEach(nt=>{const mt=D.appendInstructionToTimeline(nt,Le,je);be=Math.max(be,mt.duration+mt.delay)}),be}visitReference(E,D){D.updateOptions(E.options,!0),hn(this,E.animation,D),D.previousNode=E}visitSequence(E,D){const A=D.subContextCount;let Z=D;const be=E.options;if(be&&(be.params||be.delay)&&(Z=D.createSubContext(be),Z.transformIntoNewTimeline(),null!=be.delay)){6==Z.previousNode.type&&(Z.currentTimeline.snapshotCurrentStyles(),Z.previousNode=wi);const Le=Ht(be.delay);Z.delayNextStep(Le)}E.steps.length&&(E.steps.forEach(Le=>hn(this,Le,Z)),Z.currentTimeline.applyStylesToKeyframe(),Z.subContextCount>A&&Z.transformIntoNewTimeline()),D.previousNode=E}visitGroup(E,D){const A=[];let Z=D.currentTimeline.currentTime;const be=E.options&&E.options.delay?Ht(E.options.delay):0;E.steps.forEach(Le=>{const je=D.createSubContext(E.options);be&&je.delayNextStep(be),hn(this,Le,je),Z=Math.max(Z,je.currentTimeline.currentTime),A.push(je.currentTimeline)}),A.forEach(Le=>D.currentTimeline.mergeTimelineCollectedStyles(Le)),D.transformIntoNewTimeline(Z),D.previousNode=E}_visitTiming(E,D){if(E.dynamic){const A=E.strValue;return ne(D.params?Ie(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),Z=D.currentTimeline;A.delay&&(D.incrementTime(A.delay),Z.snapshotCurrentStyles());const be=E.style;5==be.type?this.visitKeyframes(be,D):(D.incrementTime(A.duration),this.visitStyle(be,D),Z.applyStylesToKeyframe()),D.currentAnimateTimings=null,D.previousNode=E}visitStyle(E,D){const A=D.currentTimeline,Z=D.currentAnimateTimings;!Z&&A.getCurrentStyleProperties().length&&A.forwardFrame();const be=Z&&Z.easing||E.easing;E.isEmptyStep?A.applyEmptyStep(be):A.setStyles(E.styles,be,D.errors,D.options),D.previousNode=E}visitKeyframes(E,D){const A=D.currentAnimateTimings,Z=D.currentTimeline.duration,be=A.duration,je=D.createSubContext().currentTimeline;je.easing=A.easing,E.styles.forEach(nt=>{je.forwardTime((nt.offset||0)*be),je.setStyles(nt.styles,nt.easing,D.errors,D.options),je.applyStylesToKeyframe()}),D.currentTimeline.mergeTimelineCollectedStyles(je),D.transformIntoNewTimeline(Z+be),D.previousNode=E}visitQuery(E,D){const A=D.currentTimeline.currentTime,Z=E.options||{},be=Z.delay?Ht(Z.delay):0;be&&(6===D.previousNode.type||0==A&&D.currentTimeline.getCurrentStyleProperties().length)&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=wi);let Le=A;const je=D.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!Z.optional,D.errors);D.currentQueryTotal=je.length;let nt=null;je.forEach((mt,Ft)=>{D.currentQueryIndex=Ft;const Ut=D.createSubContext(E.options,mt);be&&Ut.delayNextStep(be),mt===D.element&&(nt=Ut.currentTimeline),hn(this,E.animation,Ut),Ut.currentTimeline.applyStylesToKeyframe(),Le=Math.max(Le,Ut.currentTimeline.currentTime)}),D.currentQueryIndex=0,D.currentQueryTotal=0,D.transformIntoNewTimeline(Le),nt&&(D.currentTimeline.mergeTimelineCollectedStyles(nt),D.currentTimeline.snapshotCurrentStyles()),D.previousNode=E}visitStagger(E,D){const A=D.parentContext,Z=D.currentTimeline,be=E.timings,Le=Math.abs(be.duration),je=Le*(D.currentQueryTotal-1);let nt=Le*D.currentQueryIndex;switch(be.duration<0?"reverse":be.easing){case"reverse":nt=je-nt;break;case"full":nt=A.currentStaggerTime}const Ft=D.currentTimeline;nt&&Ft.delayNextStep(nt);const Ut=Ft.currentTime;hn(this,E.animation,D),D.previousNode=E,A.currentStaggerTime=Z.currentTime-Ut+(Z.startTime-A.currentTimeline.startTime)}}const wi={};class ar{constructor(E,D,A,Z,be,Le,je,nt){this._driver=E,this.element=D,this.subInstructions=A,this._enterClassName=Z,this._leaveClassName=be,this.errors=Le,this.timelines=je,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),je.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,D){if(!E)return;const A=E;let Z=this.options;null!=A.duration&&(Z.duration=Ht(A.duration)),null!=A.delay&&(Z.delay=Ht(A.delay));const be=A.params;if(be){let Le=Z.params;Le||(Le=this.options.params={}),Object.keys(be).forEach(je=>{(!D||!Le.hasOwnProperty(je))&&(Le[je]=Ie(be[je],Le,this.errors))})}}_copyOptions(){const E={};if(this.options){const D=this.options.params;if(D){const A=E.params={};Object.keys(D).forEach(Z=>{A[Z]=D[Z]})}}return E}createSubContext(E=null,D,A){const Z=D||this.element,be=new ar(this._driver,Z,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Z,A||0));return be.previousNode=this.previousNode,be.currentAnimateTimings=this.currentAnimateTimings,be.options=this._copyOptions(),be.updateOptions(E),be.currentQueryIndex=this.currentQueryIndex,be.currentQueryTotal=this.currentQueryTotal,be.parentContext=this,this.subContextCount++,be}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 Z={duration:null!=D?D:E.duration,delay:this.currentTimeline.currentTime+(null!=A?A:0)+E.delay,easing:""},be=new Qi(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,Z,E.stretchStartingKeyframe);return this.timelines.push(be),Z}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,D,A,Z,be,Le){let je=[];if(Z&&je.push(this.element),E.length>0){E=(E=E.replace(ki,"."+this._enterClassName)).replace(zr,"."+this._leaveClassName);let mt=this._driver.query(this.element,E,1!=A);0!==A&&(mt=A<0?mt.slice(mt.length+A,mt.length):mt.slice(0,A)),je.push(...mt)}return!be&&0==je.length&&Le.push(function ce(G){return new n.\u0275RuntimeError(3014,d)}()),je}}class Mi{constructor(E,D,A,Z){this._driver=E,this.element=D,this.startTime=A,this._elementTimelineStylesLookup=Z,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,Z){D&&(this._previousKeyframe.easing=D);const be=Z&&Z.params||{},Le=function cr(G,E){const D={};let A;return G.forEach(Z=>{"*"===Z?(A=A||Object.keys(E),A.forEach(be=>{D[be]=y.l3})):ie(Z,!1,D)}),D}(E,this._globalTimelineStyles);Object.keys(Le).forEach(je=>{const nt=Ie(Le[je],be,A);this._pendingStyles[je]=nt,this._localTimelineStyles.hasOwnProperty(je)||(this._backFill[je]=this._globalTimelineStyles.hasOwnProperty(je)?this._globalTimelineStyles[je]:y.l3),this._updateStyle(je,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],Z=E._styleSummary[D];(!A||Z.time>A.time)&&this._updateStyle(D,Z.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,D=new Set,A=1===this._keyframes.size&&0===this.duration;let Z=[];this._keyframes.forEach((je,nt)=>{const mt=ie(je,!0);Object.keys(mt).forEach(Ft=>{const Ut=mt[Ft];Ut==y.k1?E.add(Ft):Ut==y.l3&&D.add(Ft)}),A||(mt.offset=nt/this.duration),Z.push(mt)});const be=E.size?rt(E.values()):[],Le=D.size?rt(D.values()):[];if(A){const je=Z[0],nt=z(je);je.offset=0,nt.offset=1,Z=[je,nt]}return mi(this.element,Z,be,Le,this.duration,this.startTime,this.easing,!1)}}class Qi extends Mi{constructor(E,D,A,Z,be,Le,je=!1){super(E,D,Le.delay),this.keyframes=A,this.preStyleProps=Z,this.postStyleProps=be,this._stretchStartingKeyframe=je,this.timings={duration:Le.duration,delay:Le.delay,easing:Le.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:D,duration:A,easing:Z}=this.timings;if(this._stretchStartingKeyframe&&D){const be=[],Le=A+D,je=D/Le,nt=ie(E[0],!1);nt.offset=0,be.push(nt);const mt=ie(E[0],!1);mt.offset=lr(je),be.push(mt);const Ft=E.length-1;for(let Ut=1;Ut<=Ft;Ut++){let qt=ie(E[Ut],!1);qt.offset=lr((D+qt.offset*A)/Le),be.push(qt)}A=Le,D=0,Z="",E=be}return mi(this.element,E,this.preStyleProps,this.postStyleProps,A,D,Z,!0)}}function lr(G,E=3){const D=Math.pow(10,E-1);return Math.round(G*D)/D}class bi{}class Ni extends bi{normalizePropertyName(E,D){return kt(E)}normalizeStyleValue(E,D,A,Z){let be="";const Le=A.toString().trim();if(Nr[D]&&0!==A&&"0"!==A)if("number"==typeof A)be="px";else{const je=A.match(/^[+-]?[\d\.]+([a-z]*)$/);je&&0==je[1].length&&Z.push(function v(G,E){return new n.\u0275RuntimeError(3005,d)}())}return Le+be}}const Nr=(()=>function Li(G){const E={};return G.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 Yi(G,E,D,A,Z,be,Le,je,nt,mt,Ft,Ut,qt){return{type:0,element:G,triggerName:E,isRemovalTransition:Z,fromState:D,fromStyles:be,toState:A,toStyles:Le,timelines:je,queriedElements:nt,preStyleProps:mt,postStyleProps:Ft,totalTime:Ut,errors:qt}}const Si={};class Ci{constructor(E,D,A){this._triggerName=E,this.ast=D,this._stateStyles=A}match(E,D,A,Z){return function Tr(G,E,D,A,Z){return G.some(be=>be(E,D,A,Z))}(this.ast.matchers,E,D,A,Z)}buildStyles(E,D,A){const Z=this._stateStyles["*"],be=this._stateStyles[E],Le=Z?Z.buildStyles(D,A):{};return be?be.buildStyles(D,A):Le}build(E,D,A,Z,be,Le,je,nt,mt,Ft){const Ut=[],qt=this.ast.options&&this.ast.options.params||Si,Gt=this.buildStyles(A,je&&je.params||Si,Ut),tn=nt&&nt.params||Si,Cn=this.buildStyles(Z,tn,Ut),$n=new Set,kn=new Map,si=new Map,Xn="void"===Z,Hn={params:Object.assign(Object.assign({},qt),tn)},qn=Ft?[]:jn(E,D,this.ast.animation,be,Le,Gt,Cn,Hn,mt,Ut);let ln=0;if(qn.forEach(Hi=>{ln=Math.max(Hi.duration+Hi.delay,ln)}),Ut.length)return Yi(D,this._triggerName,A,Z,Xn,Gt,Cn,[],[],kn,si,ln,Ut);qn.forEach(Hi=>{const Ui=Hi.element,Fs=Me(kn,Ui,{});Hi.preStyleProps.forEach(Sr=>Fs[Sr]=!0);const Qr=Me(si,Ui,{});Hi.postStyleProps.forEach(Sr=>Qr[Sr]=!0),Ui!==D&&$n.add(Ui)});const $i=rt($n.values());return Yi(D,this._triggerName,A,Z,Xn,Gt,Cn,qn,$i,kn,si,ln)}}class ur{constructor(E,D,A){this.styles=E,this.defaultParams=D,this.normalizer=A}buildStyles(E,D){const A={},Z=z(this.defaultParams);return Object.keys(E).forEach(be=>{const Le=E[be];null!=Le&&(Z[be]=Le)}),this.styles.styles.forEach(be=>{if("string"!=typeof be){const Le=be;Object.keys(Le).forEach(je=>{let nt=Le[je];nt.length>1&&(nt=Ie(nt,Z,D));const mt=this.normalizer.normalizePropertyName(je,D);nt=this.normalizer.normalizeStyleValue(je,mt,nt,D),A[mt]=nt})}}),A}}class Zn{constructor(E,D,A){this.name=E,this.ast=D,this._normalizer=A,this.transitionFactories=[],this.states={},D.states.forEach(Z=>{this.states[Z.name]=new ur(Z.style,Z.options&&Z.options.params||{},A)}),Ei(this.states,"true","1"),Ei(this.states,"false","0"),D.transitions.forEach(Z=>{this.transitionFactories.push(new Ci(E,Z,this.states))}),this.fallbackTransition=function ji(G,E,D){return new Ci(G,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Le,je)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,D,A,Z){return this.transitionFactories.find(Le=>Le.match(E,D,A,Z))||null}matchStyles(E,D,A){return this.fallbackTransition.buildStyles(E,D,A)}}function Ei(G,E,D){G.hasOwnProperty(E)?G.hasOwnProperty(D)||(G[D]=G[E]):G.hasOwnProperty(D)&&(G[E]=G[D])}const Oi=new ci;class dr{constructor(E,D,A){this.bodyNode=E,this._driver=D,this._normalizer=A,this._animations={},this._playersById={},this.players=[]}register(E,D){const A=[],be=yn(this._driver,D,A,[]);if(A.length)throw function fe(G){return new n.\u0275RuntimeError(3503,d)}();this._animations[E]=be}_buildPlayer(E,D,A){const Z=E.element,be=ye(0,this._normalizer,0,E.keyframes,D,A);return this._driver.animate(Z,be,E.duration,E.delay,E.easing,[],!0)}create(E,D,A={}){const Z=[],be=this._animations[E];let Le;const je=new Map;if(be?(Le=jn(this._driver,D,be,lt,yt,{},{},A,Oi,Z),Le.forEach(Ft=>{const Ut=Me(je,Ft.element,{});Ft.postStyleProps.forEach(qt=>Ut[qt]=null)})):(Z.push(function me(){return new n.\u0275RuntimeError(3300,d)}()),Le=[]),Z.length)throw function _e(G){return new n.\u0275RuntimeError(3504,d)}();je.forEach((Ft,Ut)=>{Object.keys(Ft).forEach(qt=>{Ft[qt]=this._driver.computeStyle(Ut,qt,y.l3)})});const mt=ht(Le.map(Ft=>{const Ut=je.get(Ft.element);return this._buildPlayer(Ft,{},Ut)}));return this._playersById[E]=mt,mt.onDestroy(()=>this.destroy(E)),this.players.push(mt),mt}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 Xe(G){return new n.\u0275RuntimeError(3301,d)}();return D}listen(E,D,A,Z){const be=ee(D,"","","");return Oe(this._getPlayer(E),A,be,Z),()=>{}}command(E,D,A,Z){if("register"==A)return void this.register(E,Z[0]);if("create"==A)return void this.create(E,D,Z[0]||{});const be=this._getPlayer(E);switch(A){case"play":be.play();break;case"pause":be.pause();break;case"reset":be.reset();break;case"restart":be.restart();break;case"finish":be.finish();break;case"init":be.init();break;case"setPosition":be.setPosition(parseFloat(Z[0]));break;case"destroy":this.destroy(E)}}}const Lr="ng-animate-queued",Ti="ng-animate-disabled",Pn=[],Vi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bn="__ng_removed";class Pi{constructor(E,D=""){this.namespaceId=D;const A=E&&E.hasOwnProperty("value");if(this.value=function F(G){return null!=G?G:null}(A?E.value:E),A){const be=z(E);delete be.value,this.options=be}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(Z=>{null==A[Z]&&(A[Z]=D[Z])})}}}const ii="void",ri=new Pi(ii);class Gn{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,gt(D,this._hostClassName)}listen(E,D,A,Z){if(!this._triggers.hasOwnProperty(D))throw function dt(G,E){return new n.\u0275RuntimeError(3302,d)}();if(null==A||0==A.length)throw function it(G){return new n.\u0275RuntimeError(3303,d)}();if(!function x(G){return"start"==G||"done"==G}(A))throw function st(G,E){return new n.\u0275RuntimeError(3400,d)}();const be=Me(this._elementListeners,E,[]),Le={name:D,phase:A,callback:Z};be.push(Le);const je=Me(this._engine.statesByElement,E,{});return je.hasOwnProperty(D)||(gt(E,Vt),gt(E,Vt+"-"+D),je[D]=ri),()=>{this._engine.afterFlush(()=>{const nt=be.indexOf(Le);nt>=0&&be.splice(nt,1),this._triggers[D]||delete je[D]})}}register(E,D){return!this._triggers[E]&&(this._triggers[E]=D,!0)}_getTrigger(E){const D=this._triggers[E];if(!D)throw function Ye(G){return new n.\u0275RuntimeError(3401,d)}();return D}trigger(E,D,A,Z=!0){const be=this._getTrigger(D),Le=new jr(this.id,D,E);let je=this._engine.statesByElement.get(E);je||(gt(E,Vt),gt(E,Vt+"-"+D),this._engine.statesByElement.set(E,je={}));let nt=je[D];const mt=new Pi(A,this.id);if(!(A&&A.hasOwnProperty("value"))&&nt&&mt.absorbOptions(nt.options),je[D]=mt,nt||(nt=ri),mt.value!==ii&&nt.value===mt.value){if(!function sn(G,E){const D=Object.keys(G),A=Object.keys(E);if(D.length!=A.length)return!1;for(let Z=0;Z<D.length;Z++){const be=D[Z];if(!E.hasOwnProperty(be)||G[be]!==E[be])return!1}return!0}(nt.params,mt.params)){const tn=[],Cn=be.matchStyles(nt.value,nt.params,tn),$n=be.matchStyles(mt.value,mt.params,tn);tn.length?this._engine.reportError(tn):this._engine.afterFlush(()=>{_t(E,Cn),He(E,$n)})}return}const qt=Me(this._engine.playersByElement,E,[]);qt.forEach(tn=>{tn.namespaceId==this.id&&tn.triggerName==D&&tn.queued&&tn.destroy()});let on=be.matchTransition(nt.value,mt.value,E,mt.params),Gt=!1;if(!on){if(!Z)return;on=be.fallbackTransition,Gt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:D,transition:on,fromState:nt,toState:mt,player:Le,isFallbackTransition:Gt}),Gt||(gt(E,Lr),Le.onStart(()=>{Lt(E,Lr)})),Le.onDone(()=>{let tn=this.players.indexOf(Le);tn>=0&&this.players.splice(tn,1);const Cn=this._engine.playersByElement.get(E);if(Cn){let $n=Cn.indexOf(Le);$n>=0&&Cn.splice($n,1)}}),this.players.push(Le),qt.push(Le),Le}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(Z=>Z.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,Dt,!0);A.forEach(Z=>{if(Z[Bn])return;const be=this._engine.fetchNamespacesByElement(Z);be.size?be.forEach(Le=>Le.triggerLeaveAnimation(Z,D,!1,!0)):this.clearElementCache(Z)}),this._engine.afterFlushAnimationsDone(()=>A.forEach(Z=>this.clearElementCache(Z)))}triggerLeaveAnimation(E,D,A,Z){const be=this._engine.statesByElement.get(E),Le=new Map;if(be){const je=[];if(Object.keys(be).forEach(nt=>{if(Le.set(nt,be[nt].value),this._triggers[nt]){const mt=this.trigger(E,nt,ii,Z);mt&&je.push(mt)}}),je.length)return this._engine.markElementAsRemoved(this.id,E,!0,D,Le),A&&ht(je).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 Z=new Set;D.forEach(be=>{const Le=be.name;if(Z.has(Le))return;Z.add(Le);const nt=this._triggers[Le].fallbackTransition,mt=A[Le]||ri,Ft=new Pi(ii),Ut=new jr(this.id,Le,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:Le,transition:nt,fromState:mt,toState:Ft,player:Ut,isFallbackTransition:!0})})}}removeNode(E,D){const A=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,D),this.triggerLeaveAnimation(E,D,!0))return;let Z=!1;if(A.totalAnimations){const be=A.players.length?A.playersByQueriedElement.get(E):[];if(be&&be.length)Z=!0;else{let Le=E;for(;Le=Le.parentNode;)if(A.statesByElement.get(Le)){Z=!0;break}}}if(this.prepareLeaveAnimationListeners(E),Z)A.markElementAsRemoved(this.id,E,!1,D);else{const be=E[Bn];(!be||be===Vi)&&(A.afterFlush(()=>this.clearElementCache(E)),A.destroyInnerAnimations(E),A._onRemovalComplete(E,D))}}insertNode(E,D){gt(E,this._hostClassName)}drainQueuedTransitions(E){const D=[];return this._queue.forEach(A=>{const Z=A.player;if(Z.destroyed)return;const be=A.element,Le=this._elementListeners.get(be);Le&&Le.forEach(je=>{if(je.name==A.triggerName){const nt=ee(be,A.triggerName,A.fromState.value,A.toState.value);nt._data=E,Oe(A.player,je.phase,nt,je.callback)}}),Z.markedForDestroy?this._engine.afterFlush(()=>{Z.destroy()}):D.push(A)}),this._queue=[],D.sort((A,Z)=>{const be=A.transition.ast.depCount,Le=Z.transition.ast.depCount;return 0==be||0==Le?be-Le:this._engine.driver.containsElement(A.element,Z.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=(Z,be)=>{}}_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 Gn(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,Z=this.namespacesByHostElement,be=A.length-1;if(be>=0){let Le=!1;if(void 0!==this.driver.getParentElement){let je=this.driver.getParentElement(D);for(;je;){const nt=Z.get(je);if(nt){const mt=A.indexOf(nt);A.splice(mt+1,0,E),Le=!0;break}je=this.driver.getParentElement(je)}}else for(let je=be;je>=0;je--)if(this.driver.containsElement(A[je].hostElement,D)){A.splice(je+1,0,E),Le=!0;break}Le||A.unshift(E)}else A.push(E);return Z.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 Z=this._namespaceLookup[E];Z&&Z.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 Z=this._namespaceList.indexOf(A);Z>=0&&this._namespaceList.splice(Z,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 Z=Object.keys(A);for(let be=0;be<Z.length;be++){const Le=A[Z[be]].namespaceId;if(Le){const je=this._fetchNamespace(Le);je&&D.add(je)}}}return D}trigger(E,D,A,Z){if(se(D)){const be=this._fetchNamespace(E);if(be)return be.trigger(D,A,Z),!0}return!1}insertNode(E,D,A,Z){if(!se(D))return;const be=D[Bn];if(be&&be.setForRemoval){be.setForRemoval=!1,be.setForMove=!0;const Le=this.collectedLeaveElements.indexOf(D);Le>=0&&this.collectedLeaveElements.splice(Le,1)}if(E){const Le=this._fetchNamespace(E);Le&&Le.insertNode(D,A)}Z&&this.collectEnterElement(D)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,D){D?this.disabledNodes.has(E)||(this.disabledNodes.add(E),gt(E,Ti)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),Lt(E,Ti))}removeNode(E,D,A,Z){if(se(D)){const be=E?this._fetchNamespace(E):null;if(be?be.removeNode(D,Z):this.markElementAsRemoved(E,D,!1,Z),A){const Le=this.namespacesByHostElement.get(D);Le&&Le.id!==E&&Le.removeNode(D,Z)}}else this._onRemovalComplete(D,Z)}markElementAsRemoved(E,D,A,Z,be){this.collectedLeaveElements.push(D),D[Bn]={namespaceId:E,setForRemoval:Z,hasAnimation:A,removedBeforeQueried:!1,previousTriggersValues:be}}listen(E,D,A,Z,be){return se(D)?this._fetchNamespace(E).listen(D,A,Z,be):()=>{}}_buildInstruction(E,D,A,Z,be){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,A,Z,E.fromState.options,E.toState.options,D,be)}destroyInnerAnimations(E){let D=this.driver.query(E,Dt,!0);D.forEach(A=>this.destroyActiveAnimationsForElement(A)),0!=this.playersByQueriedElement.size&&(D=this.driver.query(E,St,!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 ht(this.players).onDone(()=>E());E()})}processLeaveNode(E){var D;const A=E[Bn];if(A&&A.setForRemoval){if(E[Bn]=Vi,A.namespaceId){this.destroyInnerAnimations(E);const Z=this._fetchNamespace(A.namespaceId);Z&&Z.clearElementCache(E)}this._onRemovalComplete(E,A.setForRemoval)}(null===(D=E.classList)||void 0===D?void 0:D.contains(Ti))&&this.markElementAsDisabled(E,!1),this.driver.query(E,".ng-animate-disabled",!0).forEach(Z=>{this.markElementAsDisabled(Z,!1)})}flush(E=-1){let D=[];if(this.newHostElements.size&&(this.newHostElements.forEach((A,Z)=>this._balanceNamespaceList(A,Z)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let A=0;A<this.collectedEnterElements.length;A++)gt(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 Z=0;Z<A.length;Z++)A[Z]()}}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?ht(D).onDone(()=>{A.forEach(Z=>Z())}):A.forEach(Z=>Z())}}reportError(E){throw function ut(G){return new n.\u0275RuntimeError(3402,d)}()}_flushAnimations(E,D){const A=new ci,Z=[],be=new Map,Le=[],je=new Map,nt=new Map,mt=new Map,Ft=new Set;this.disabledNodes.forEach(jt=>{Ft.add(jt);const zt=this.driver.query(jt,".ng-animate-queued",!0);for(let Zt=0;Zt<zt.length;Zt++)Ft.add(zt[Zt])});const Ut=this.bodyNode,qt=Array.from(this.statesByElement.keys()),on=ct(qt,this.collectedEnterElements),Gt=new Map;let tn=0;on.forEach((jt,zt)=>{const Zt=lt+tn++;Gt.set(zt,Zt),jt.forEach(gn=>gt(gn,Zt))});const Cn=[],$n=new Set,kn=new Set;for(let jt=0;jt<this.collectedLeaveElements.length;jt++){const zt=this.collectedLeaveElements[jt],Zt=zt[Bn];Zt&&Zt.setForRemoval&&(Cn.push(zt),$n.add(zt),Zt.hasAnimation?this.driver.query(zt,".ng-star-inserted",!0).forEach(gn=>$n.add(gn)):kn.add(zt))}const si=new Map,Xn=ct(qt,Array.from($n));Xn.forEach((jt,zt)=>{const Zt=yt+tn++;si.set(zt,Zt),jt.forEach(gn=>gt(gn,Zt))}),E.push(()=>{on.forEach((jt,zt)=>{const Zt=Gt.get(zt);jt.forEach(gn=>Lt(gn,Zt))}),Xn.forEach((jt,zt)=>{const Zt=si.get(zt);jt.forEach(gn=>Lt(gn,Zt))}),Cn.forEach(jt=>{this.processLeaveNode(jt)})});const Hn=[],qn=[];for(let jt=this._namespaceList.length-1;jt>=0;jt--)this._namespaceList[jt].drainQueuedTransitions(D).forEach(Zt=>{const gn=Zt.player,In=Zt.element;if(Hn.push(gn),this.collectedEnterElements.length){const ai=In[Bn];if(ai&&ai.setForMove){if(ai.previousTriggersValues&&ai.previousTriggersValues.has(Zt.triggerName)){const Br=ai.previousTriggersValues.get(Zt.triggerName),Or=this.statesByElement.get(Zt.element);Or&&Or[Zt.triggerName]&&(Or[Zt.triggerName].value=Br)}return void gn.destroy()}}const ui=!Ut||!this.driver.containsElement(Ut,In),yi=si.get(In),fr=Gt.get(In),Sn=this._buildInstruction(Zt,A,fr,yi,ui);if(Sn.errors&&Sn.errors.length)return void qn.push(Sn);if(ui)return gn.onStart(()=>_t(In,Sn.fromStyles)),gn.onDestroy(()=>He(In,Sn.toStyles)),void Z.push(gn);if(Zt.isFallbackTransition)return gn.onStart(()=>_t(In,Sn.fromStyles)),gn.onDestroy(()=>He(In,Sn.toStyles)),void Z.push(gn);const ro=[];Sn.timelines.forEach(ai=>{ai.stretchStartingKeyframe=!0,this.disabledNodes.has(ai.element)||ro.push(ai)}),Sn.timelines=ro,A.append(In,Sn.timelines),Le.push({instruction:Sn,player:gn,element:In}),Sn.queriedElements.forEach(ai=>Me(je,ai,[]).push(gn)),Sn.preStyleProps.forEach((ai,Br)=>{const Or=Object.keys(ai);if(Or.length){let zi=nt.get(Br);zi||nt.set(Br,zi=new Set),Or.forEach(oo=>zi.add(oo))}}),Sn.postStyleProps.forEach((ai,Br)=>{const Or=Object.keys(ai);let zi=mt.get(Br);zi||mt.set(Br,zi=new Set),Or.forEach(oo=>zi.add(oo))})});if(qn.length){const jt=[];qn.forEach(zt=>{jt.push(function qe(G,E){return new n.\u0275RuntimeError(3505,d)}())}),Hn.forEach(zt=>zt.destroy()),this.reportError(jt)}const ln=new Map,$i=new Map;Le.forEach(jt=>{const zt=jt.element;A.has(zt)&&($i.set(zt,zt),this._beforeAnimationBuild(jt.player.namespaceId,jt.instruction,ln))}),Z.forEach(jt=>{const zt=jt.element;this._getPreviousPlayers(zt,!1,jt.namespaceId,jt.triggerName,null).forEach(gn=>{Me(ln,zt,[]).push(gn),gn.destroy()})});const Hi=Cn.filter(jt=>xn(jt,nt,mt)),Ui=new Map;Ve(Ui,this.driver,kn,mt,y.l3).forEach(jt=>{xn(jt,nt,mt)&&Hi.push(jt)});const Qr=new Map;on.forEach((jt,zt)=>{Ve(Qr,this.driver,new Set(jt),nt,y.k1)}),Hi.forEach(jt=>{const zt=Ui.get(jt),Zt=Qr.get(jt);Ui.set(jt,Object.assign(Object.assign({},zt),Zt))});const Sr=[],Yr=[],Zr={};Le.forEach(jt=>{const{element:zt,player:Zt,instruction:gn}=jt;if(A.has(zt)){if(Ft.has(zt))return Zt.onDestroy(()=>He(zt,gn.toStyles)),Zt.disabled=!0,Zt.overrideTotalTime(gn.totalTime),void Z.push(Zt);let In=Zr;if($i.size>1){let yi=zt;const fr=[];for(;yi=yi.parentNode;){const Sn=$i.get(yi);if(Sn){In=Sn;break}fr.push(yi)}fr.forEach(Sn=>$i.set(Sn,In))}const ui=this._buildAnimation(Zt.namespaceId,gn,ln,be,Qr,Ui);if(Zt.setRealPlayer(ui),In===Zr)Sr.push(Zt);else{const yi=this.playersByElement.get(In);yi&&yi.length&&(Zt.parentPlayer=ht(yi)),Z.push(Zt)}}else _t(zt,gn.fromStyles),Zt.onDestroy(()=>He(zt,gn.toStyles)),Yr.push(Zt),Ft.has(zt)&&Z.push(Zt)}),Yr.forEach(jt=>{const zt=be.get(jt.element);if(zt&&zt.length){const Zt=ht(zt);jt.setRealPlayer(Zt)}}),Z.forEach(jt=>{jt.parentPlayer?jt.syncPlayerEvents(jt.parentPlayer):jt.destroy()});for(let jt=0;jt<Cn.length;jt++){const zt=Cn[jt],Zt=zt[Bn];if(Lt(zt,yt),Zt&&Zt.hasAnimation)continue;let gn=[];if(je.size){let ui=je.get(zt);ui&&ui.length&&gn.push(...ui);let yi=this.driver.query(zt,St,!0);for(let fr=0;fr<yi.length;fr++){let Sn=je.get(yi[fr]);Sn&&Sn.length&&gn.push(...Sn)}}const In=gn.filter(ui=>!ui.destroyed);In.length?bn(this,zt,In):this.processLeaveNode(zt)}return Cn.length=0,Sr.forEach(jt=>{this.players.push(jt),jt.onDone(()=>{jt.destroy();const zt=this.players.indexOf(jt);this.players.splice(zt,1)}),jt.play()}),Sr}elementContainsData(E,D){let A=!1;const Z=D[Bn];return Z&&Z.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,Z,be){let Le=[];if(D){const je=this.playersByQueriedElement.get(E);je&&(Le=je)}else{const je=this.playersByElement.get(E);if(je){const nt=!be||be==ii;je.forEach(mt=>{mt.queued||!nt&&mt.triggerName!=Z||Le.push(mt)})}}return(A||Z)&&(Le=Le.filter(je=>!(A&&A!=je.namespaceId||Z&&Z!=je.triggerName))),Le}_beforeAnimationBuild(E,D,A){const be=D.element,Le=D.isRemovalTransition?void 0:E,je=D.isRemovalTransition?void 0:D.triggerName;for(const nt of D.timelines){const mt=nt.element,Ft=mt!==be,Ut=Me(A,mt,[]);this._getPreviousPlayers(mt,Ft,Le,je,D.toState).forEach(on=>{const Gt=on.getRealPlayer();Gt.beforeDestroy&&Gt.beforeDestroy(),on.destroy(),Ut.push(on)})}_t(be,D.fromStyles)}_buildAnimation(E,D,A,Z,be,Le){const je=D.triggerName,nt=D.element,mt=[],Ft=new Set,Ut=new Set,qt=D.timelines.map(Gt=>{const tn=Gt.element;Ft.add(tn);const Cn=tn[Bn];if(Cn&&Cn.removedBeforeQueried)return new y.ZN(Gt.duration,Gt.delay);const $n=tn!==nt,kn=function cn(G){const E=[];return rn(G,E),E}((A.get(tn)||Pn).map(ln=>ln.getRealPlayer())).filter(ln=>!!ln.element&&ln.element===tn),si=be.get(tn),Xn=Le.get(tn),Hn=ye(0,this._normalizer,0,Gt.keyframes,si,Xn),qn=this._buildPlayer(Gt,Hn,kn);if(Gt.subTimeline&&Z&&Ut.add(tn),$n){const ln=new jr(E,je,tn);ln.setRealPlayer(qn),mt.push(ln)}return qn});mt.forEach(Gt=>{Me(this.playersByQueriedElement,Gt.element,[]).push(Gt),Gt.onDone(()=>function En(G,E,D){let A;if(G instanceof Map){if(A=G.get(E),A){if(A.length){const Z=A.indexOf(D);A.splice(Z,1)}0==A.length&&G.delete(E)}}else if(A=G[E],A){if(A.length){const Z=A.indexOf(D);A.splice(Z,1)}0==A.length&&delete G[E]}return A}(this.playersByQueriedElement,Gt.element,Gt))}),Ft.forEach(Gt=>gt(Gt,Kt));const on=ht(qt);return on.onDestroy(()=>{Ft.forEach(Gt=>Lt(Gt,Kt)),He(nt,D.toStyles)}),Ut.forEach(Gt=>{Me(Z,Gt,[]).push(on)}),on}_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 jr{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=>Oe(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 se(G){return G&&1===G.nodeType}function pe(G,E){const D=G.style.display;return G.style.display=null!=E?E:"none",D}function Ve(G,E,D,A,Z){const be=[];D.forEach(nt=>be.push(pe(nt)));const Le=[];A.forEach((nt,mt)=>{const Ft={};nt.forEach(Ut=>{const qt=Ft[Ut]=E.computeStyle(mt,Ut,Z);(!qt||0==qt.length)&&(mt[Bn]=Xi,Le.push(mt))}),G.set(mt,Ft)});let je=0;return D.forEach(nt=>pe(nt,be[je++])),Le}function ct(G,E){const D=new Map;if(G.forEach(je=>D.set(je,[])),0==E.length)return D;const Z=new Set(E),be=new Map;function Le(je){if(!je)return 1;let nt=be.get(je);if(nt)return nt;const mt=je.parentNode;return nt=D.has(mt)?mt:Z.has(mt)?1:Le(mt),be.set(je,nt),nt}return E.forEach(je=>{const nt=Le(je);1!==nt&&D.get(nt).push(je)}),D}function gt(G,E){var D;null===(D=G.classList)||void 0===D||D.add(E)}function Lt(G,E){var D;null===(D=G.classList)||void 0===D||D.remove(E)}function bn(G,E,D){ht(D).onDone(()=>G.processLeaveNode(E))}function rn(G,E){for(let D=0;D<G.length;D++){const A=G[D];A instanceof y.ZE?rn(A.players,E):E.push(A)}}function xn(G,E,D){const A=D.get(G);if(!A)return!1;let Z=E.get(G);return Z?A.forEach(be=>Z.add(be)):E.set(G,A),D.delete(G),!0}class _n{constructor(E,D,A){this.bodyNode=E,this._driver=D,this._normalizer=A,this._triggerCache={},this.onRemovalComplete=(Z,be)=>{},this._transitionEngine=new Jn(E,D,A),this._timelineEngine=new dr(E,D,A),this._transitionEngine.onRemovalComplete=(Z,be)=>this.onRemovalComplete(Z,be)}registerTrigger(E,D,A,Z,be){const Le=E+"-"+Z;let je=this._triggerCache[Le];if(!je){const nt=[],Ft=yn(this._driver,be,nt,[]);if(nt.length)throw function ue(G,E){return new n.\u0275RuntimeError(3404,d)}();je=function Dr(G,E,D){return new Zn(G,E,D)}(Z,Ft,this._normalizer),this._triggerCache[Le]=je}this._transitionEngine.registerTrigger(D,Z,je)}register(E,D){this._transitionEngine.register(E,D)}destroy(E,D){this._transitionEngine.destroy(E,D)}onInsert(E,D,A,Z){this._transitionEngine.insertNode(E,D,A,Z)}onRemove(E,D,A,Z){this._transitionEngine.removeNode(E,D,Z||!1,A)}disableAnimations(E,D){this._transitionEngine.markElementAsDisabled(E,D)}process(E,D,A,Z){if("@"==A.charAt(0)){const[be,Le]=Ge(A);this._timelineEngine.command(be,D,Le,Z)}else this._transitionEngine.trigger(E,D,A,Z)}listen(E,D,A,Z,be){if("@"==A.charAt(0)){const[Le,je]=Ge(A);return this._timelineEngine.listen(Le,D,je,be)}return this._transitionEngine.listen(E,D,A,Z,be)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let N=(()=>{class G{constructor(D,A,Z){this._element=D,this._startStyles=A,this._endStyles=Z,this._state=0;let be=G.initialStylesByElement.get(D);be||G.initialStylesByElement.set(D,be={}),this._initialStyles=be}start(){this._state<1&&(this._startStyles&&He(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(He(this._element,this._initialStyles),this._endStyles&&(He(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(G.initialStylesByElement.delete(this._element),this._startStyles&&(_t(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_t(this._element,this._endStyles),this._endStyles=null),He(this._element,this._initialStyles),this._state=3)}}return G.initialStylesByElement=new WeakMap,G})();function R(G){let E=null;const D=Object.keys(G);for(let A=0;A<D.length;A++){const Z=D[A];M(Z)&&(E=E||{},E[Z]=G[Z])}return E}function M(G){return"display"===G||"position"===G}class ae{constructor(E,D,A,Z){this.element=E,this.keyframes=D,this.options=A,this._specialStyles=Z,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 ft{validateStyleProperty(E){return Et(E)}matchesElement(E,D){return!1}containsElement(E,D){return $e(E,D)}getParentElement(E){return ve(E)}query(E,D,A){return we(E,D,A)}computeStyle(E,D,A){return window.getComputedStyle(E)[D]}animate(E,D,A,Z,be,Le=[]){const nt={duration:A,delay:Z,fill:0==Z?"both":"forwards"};be&&(nt.easing=be);const mt={},Ft=Le.filter(qt=>qt instanceof ae);(function vn(G,E){return 0===G||0===E})(A,Z)&&Ft.forEach(qt=>{let on=qt.currentSnapshot;Object.keys(on).forEach(Gt=>mt[Gt]=on[Gt])}),D=function Fn(G,E,D){const A=Object.keys(D);if(A.length&&E.length){let be=E[0],Le=[];if(A.forEach(je=>{be.hasOwnProperty(je)||Le.push(je),be[je]=D[je]}),Le.length)for(var Z=1;Z<E.length;Z++){let je=E[Z];Le.forEach(function(nt){je[nt]=An(G,nt)})}}return E}(E,D=D.map(qt=>ie(qt,!1)),mt);const Ut=function On(G,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 N(G,D,A):null}(E,D);return new ae(E,D,nt,Ut)}}var Nt=a(9808);let Mn=(()=>{class G 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 Z=Array.isArray(D)?(0,y.vP)(D):D;return Mr(this._renderer,null,A,"register",[Z]),new vi(A,this._renderer)}}return G.\u0275fac=function(D){return new(D||G)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Nt.DOCUMENT))},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();class vi extends y.LC{constructor(E,D){super(),this._id=E,this._renderer=D}create(E,D){return new wr(this._id,E,D||{},this._renderer)}}class wr{constructor(E,D,A,Z){this.id=E,this.element=D,this._renderer=Z,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 Mr(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 Mr(G,E,D,A,Z){return G.setProperty(E,`@@${D}:${A}`,Z)}const Ct="@.disabled";let un=(()=>{class G{constructor(D,A,Z){this.delegate=D,this.engine=A,this._zone=Z,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),A.onRemovalComplete=(be,Le)=>{const je=null==Le?void 0:Le.parentNode(be);je&&Le.removeChild(je,be)}}createRenderer(D,A){const be=this.delegate.createRenderer(D,A);if(!(D&&A&&A.data&&A.data.animation)){let Ft=this._rendererCache.get(be);return Ft||(Ft=new Ko("",be,this.engine),this._rendererCache.set(be,Ft)),Ft}const Le=A.id,je=A.id+"-"+this._currentId;this._currentId++,this.engine.register(je,D);const nt=Ft=>{Array.isArray(Ft)?Ft.forEach(nt):this.engine.registerTrigger(Le,je,D,Ft.name,Ft)};return A.data.animation.forEach(nt),new Vn(this,je,be,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(D,A,Z){D>=0&&D<this._microtaskId?this._zone.run(()=>A(Z)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(be=>{const[Le,je]=be;Le(je)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([A,Z]))}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 G.\u0275fac=function(D){return new(D||G)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(_n),n.\u0275\u0275inject(n.NgZone))},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();class Ko{constructor(E,D,A){this.namespaceId=E,this.delegate=D,this.engine=A,this.destroyNode=this.delegate.destroyNode?Z=>D.destroyNode(Z):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,Z=!0){this.delegate.insertBefore(E,D,A),this.engine.onInsert(this.namespaceId,D,E,Z)}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,Z){this.delegate.setAttribute(E,D,A,Z)}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,Z){this.delegate.setStyle(E,D,A,Z)}removeStyle(E,D,A){this.delegate.removeStyle(E,D,A)}setProperty(E,D,A){"@"==D.charAt(0)&&D==Ct?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 Vn extends Ko{constructor(E,D,A,Z){super(D,A,Z),this.factory=E,this.namespaceId=D}setProperty(E,D,A){"@"==D.charAt(0)?"."==D.charAt(1)&&D==Ct?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 Z=function As(G){switch(G){case"body":return document.body;case"document":return document;case"window":return window;default:return G}}(E);let be=D.substr(1),Le="";return"@"!=be.charAt(0)&&([be,Le]=function Gr(G){const E=G.indexOf(".");return[G.substring(0,E),G.substr(E+1)]}(be)),this.engine.listen(this.namespaceId,Z,be,Le,je=>{this.factory.scheduleListenerCallback(je._data||-1,A,je)})}return this.delegate.listen(E,D,A)}}let Ai=(()=>{class G extends _n{constructor(D,A,Z){super(D.body,A,Z)}ngOnDestroy(){this.flush()}}return G.\u0275fac=function(D){return new(D||G)(n.\u0275\u0275inject(Nt.DOCUMENT),n.\u0275\u0275inject(Pe),n.\u0275\u0275inject(bi))},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac}),G})();const Rs=new n.InjectionToken("AnimationModuleType"),xs=[{provide:y._j,useClass:Mn},{provide:bi,useFactory:function Qo(){return new Ni}},{provide:_n,useClass:Ai},{provide:n.RendererFactory2,useFactory:function Yo(G,E,D){return new un(G,E,D)},deps:[h.\u0275DomRendererFactory2,_n,n.NgZone]}],xa=[{provide:Pe,useFactory:()=>new ft},{provide:Rs,useValue:"BrowserAnimations"},...xs],Kr=[{provide:Pe,useClass:Ze},{provide:Rs,useValue:"NoopAnimations"},...xs];let oi=(()=>{class G{static withConfig(D){return{ngModule:G,providers:D.disableAnimations?Kr:xa}}}return G.\u0275fac=function(D){return new(D||G)},G.\u0275mod=n.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=n.\u0275\u0275defineInjector({providers:xa,imports:[h.BrowserModule]}),G})(),qi=(()=>{class G{}return G.\u0275fac=function(D){return new(D||G)},G.\u0275mod=n.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=n.\u0275\u0275defineInjector({providers:Kr,imports:[h.BrowserModule]}),G})()},2313:(W,o,a)=>{"use strict";a.r(o),a.d(o,{BrowserModule:()=>Ke,BrowserTransferStateModule:()=>St,By:()=>Ht,DomSanitizer:()=>wt,EVENT_MANAGER_PLUGINS:()=>T,EventManager:()=>S,HAMMER_GESTURE_CONFIG:()=>k,HAMMER_LOADER:()=>z,HammerGestureConfig:()=>Ce,HammerModule:()=>ze,Meta:()=>j,Title:()=>tt,TransferState:()=>Dt,VERSION:()=>de,disableDebugTools:()=>Ue,enableDebugTools:()=>Fe,makeStateKey:()=>Vt,platformBrowser:()=>Me,\u0275BrowserDomAdapter:()=>d,\u0275BrowserGetTestability:()=>v,\u0275DomEventsPlugin:()=>st,\u0275DomRendererFactory2:()=>fe,\u0275DomSanitizerImpl:()=>_t,\u0275DomSharedStylesHost:()=>U,\u0275HammerGesturesPlugin:()=>ie,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>ee,\u0275KeyEventsPlugin:()=>Qe,\u0275NAMESPACE_URIS:()=>Q,\u0275SharedStylesHost:()=>I,\u0275TRANSITION_ID:()=>m,\u0275escapeHtml:()=>lt,\u0275flattenStyles:()=>Y,\u0275getDOM:()=>n.\u0275getDOM,\u0275initDomAdapter:()=>ye,\u0275shimContentAttribute:()=>De,\u0275shimHostAttribute:()=>We});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,K,Ie){return re.addEventListener(K,Ie,!1),()=>{re.removeEventListener(K,Ie,!1)}}dispatchEvent(re,K){re.dispatchEvent(K)}remove(re){re.parentNode&&re.parentNode.removeChild(re)}createElement(re,K){return(K=K||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,K){return"window"===K?window:"document"===K?re:"body"===K?re.body:null}getBaseHref(re){const K=function l(){return r=r||document.querySelector("base"),r?r.getAttribute("href"):null}();return null==K?null:function p(B){f=f||document.createElement("a"),f.setAttribute("href",B);const re=f.pathname;return"/"===re.charAt(0)?re:`/${re}`}(K)}resetBaseElement(){r=null}getUserAgent(){return window.navigator.userAgent}getCookie(re){return(0,n.\u0275parseCookieValue)(document.cookie,re)}}let f,r=null;const m=new h.InjectionToken("TRANSITION_ID"),_=[{provide:h.APP_INITIALIZER,useFactory:function u(B,re,K){return()=>{K.get(h.ApplicationInitStatus).donePromise.then(()=>{const Ie=(0,n.\u0275getDOM)(),rt=re.querySelectorAll(`style[ng-transition="${B}"]`);for(let Mt=0;Mt<rt.length;Mt++)Ie.remove(rt[Mt])})}},deps:[m,n.DOCUMENT,h.Injector],multi:!0}];class v{static init(){(0,h.setTestabilityGetter)(new v)}addToWindow(re){h.\u0275global.getAngularTestability=(Ie,rt=!0)=>{const Mt=re.findTestabilityInTree(Ie,rt);if(null==Mt)throw new Error("Could not find testability for element.");return Mt},h.\u0275global.getAllAngularTestabilities=()=>re.getAllTestabilities(),h.\u0275global.getAllAngularRootElements=()=>re.getAllRootElements(),h.\u0275global.frameworkStabilizers||(h.\u0275global.frameworkStabilizers=[]),h.\u0275global.frameworkStabilizers.push(Ie=>{const rt=h.\u0275global.getAllAngularTestabilities();let Mt=rt.length,kt=!1;const Jt=function(vn){kt=kt||vn,Mt--,0==Mt&&Ie(kt)};rt.forEach(function(vn){vn.whenStable(Jt)})})}findTestabilityInTree(re,K,Ie){if(null==K)return null;const rt=re.getTestability(K);return null!=rt?rt:Ie?(0,n.\u0275getDOM)().isShadowRoot(K)?this.findTestabilityInTree(re,K.host,!0):this.findTestabilityInTree(re,K.parentElement,!0):null}}let b=(()=>{class B{build(){return new XMLHttpRequest}}return B.\u0275fac=function(K){return new(K||B)},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();const T=new h.InjectionToken("EventManagerPlugins");let S=(()=>{class B{constructor(K,Ie){this._zone=Ie,this._eventNameToPlugin=new Map,K.forEach(rt=>rt.manager=this),this._plugins=K.slice().reverse()}addEventListener(K,Ie,rt){return this._findPluginFor(Ie).addEventListener(K,Ie,rt)}addGlobalEventListener(K,Ie,rt){return this._findPluginFor(Ie).addGlobalEventListener(K,Ie,rt)}getZone(){return this._zone}_findPluginFor(K){const Ie=this._eventNameToPlugin.get(K);if(Ie)return Ie;const rt=this._plugins;for(let Mt=0;Mt<rt.length;Mt++){const kt=rt[Mt];if(kt.supports(K))return this._eventNameToPlugin.set(K,kt),kt}throw new Error(`No event manager plugin found for event ${K}`)}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(T),h.\u0275\u0275inject(h.NgZone))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();class P{constructor(re){this._doc=re}addGlobalEventListener(re,K,Ie){const rt=(0,n.\u0275getDOM)().getGlobalEventTarget(this._doc,re);if(!rt)throw new Error(`Unsupported event target ${rt} for event ${K}`);return this.addEventListener(rt,K,Ie)}}let I=(()=>{class B{constructor(){this._stylesSet=new Set}addStyles(K){const Ie=new Set;K.forEach(rt=>{this._stylesSet.has(rt)||(this._stylesSet.add(rt),Ie.add(rt))}),this.onStylesAdded(Ie)}onStylesAdded(K){}getAllStyles(){return Array.from(this._stylesSet)}}return B.\u0275fac=function(K){return new(K||B)},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})(),U=(()=>{class B extends I{constructor(K){super(),this._doc=K,this._hostNodes=new Map,this._hostNodes.set(K.head,[])}_addStylesToHost(K,Ie,rt){K.forEach(Mt=>{const kt=this._doc.createElement("style");kt.textContent=Mt,rt.push(Ie.appendChild(kt))})}addHost(K){const Ie=[];this._addStylesToHost(this._stylesSet,K,Ie),this._hostNodes.set(K,Ie)}removeHost(K){const Ie=this._hostNodes.get(K);Ie&&Ie.forEach(J),this._hostNodes.delete(K)}onStylesAdded(K){this._hostNodes.forEach((Ie,rt)=>{this._addStylesToHost(K,rt,Ie)})}ngOnDestroy(){this._hostNodes.forEach(K=>K.forEach(J))}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(n.DOCUMENT))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();function J(B){(0,n.\u0275getDOM)().remove(B)}const Q={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/"},q=/%COMP%/g;function De(B){return"_ngcontent-%COMP%".replace(q,B)}function We(B){return"_nghost-%COMP%".replace(q,B)}function Y(B,re,K){for(let Ie=0;Ie<re.length;Ie++){let rt=re[Ie];Array.isArray(rt)?Y(B,rt,K):(rt=rt.replace(q,B),K.push(rt))}return K}function ue(B){return re=>{if("__ngUnwrap__"===re)return B;!1===B(re)&&(re.preventDefault(),re.returnValue=!1)}}let fe=(()=>{class B{constructor(K,Ie,rt){this.eventManager=K,this.sharedStylesHost=Ie,this.appId=rt,this.rendererByCompId=new Map,this.defaultRenderer=new me(K)}createRenderer(K,Ie){if(!K||!Ie)return this.defaultRenderer;switch(Ie.encapsulation){case h.ViewEncapsulation.Emulated:{let rt=this.rendererByCompId.get(Ie.id);return rt||(rt=new dt(this.eventManager,this.sharedStylesHost,Ie,this.appId),this.rendererByCompId.set(Ie.id,rt)),rt.applyToHost(K),rt}case 1:case h.ViewEncapsulation.ShadowDom:return new it(this.eventManager,this.sharedStylesHost,K,Ie);default:if(!this.rendererByCompId.has(Ie.id)){const rt=Y(Ie.id,Ie.styles,[]);this.sharedStylesHost.addStyles(rt),this.rendererByCompId.set(Ie.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(S),h.\u0275\u0275inject(U),h.\u0275\u0275inject(h.APP_ID))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();class me{constructor(re){this.eventManager=re,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(re,K){return K?document.createElementNS(Q[K]||K,re):document.createElement(re)}createComment(re){return document.createComment(re)}createText(re){return document.createTextNode(re)}appendChild(re,K){re.appendChild(K)}insertBefore(re,K,Ie){re&&re.insertBefore(K,Ie)}removeChild(re,K){re&&re.removeChild(K)}selectRootElement(re,K){let Ie="string"==typeof re?document.querySelector(re):re;if(!Ie)throw new Error(`The selector "${re}" did not match any elements`);return K||(Ie.textContent=""),Ie}parentNode(re){return re.parentNode}nextSibling(re){return re.nextSibling}setAttribute(re,K,Ie,rt){if(rt){K=rt+":"+K;const Mt=Q[rt];Mt?re.setAttributeNS(Mt,K,Ie):re.setAttribute(K,Ie)}else re.setAttribute(K,Ie)}removeAttribute(re,K,Ie){if(Ie){const rt=Q[Ie];rt?re.removeAttributeNS(rt,K):re.removeAttribute(`${Ie}:${K}`)}else re.removeAttribute(K)}addClass(re,K){re.classList.add(K)}removeClass(re,K){re.classList.remove(K)}setStyle(re,K,Ie,rt){rt&(h.RendererStyleFlags2.DashCase|h.RendererStyleFlags2.Important)?re.style.setProperty(K,Ie,rt&h.RendererStyleFlags2.Important?"important":""):re.style[K]=Ie}removeStyle(re,K,Ie){Ie&h.RendererStyleFlags2.DashCase?re.style.removeProperty(K):re.style[K]=""}setProperty(re,K,Ie){re[K]=Ie}setValue(re,K){re.nodeValue=K}listen(re,K,Ie){return"string"==typeof re?this.eventManager.addGlobalEventListener(re,K,ue(Ie)):this.eventManager.addEventListener(re,K,ue(Ie))}}class dt extends me{constructor(re,K,Ie,rt){super(re),this.component=Ie;const Mt=Y(rt+"-"+Ie.id,Ie.styles,[]);K.addStyles(Mt),this.contentAttr=De(rt+"-"+Ie.id),this.hostAttr=We(rt+"-"+Ie.id)}applyToHost(re){super.setAttribute(re,this.hostAttr,"")}createElement(re,K){const Ie=super.createElement(re,K);return super.setAttribute(Ie,this.contentAttr,""),Ie}}class it extends me{constructor(re,K,Ie,rt){super(re),this.sharedStylesHost=K,this.hostEl=Ie,this.shadowRoot=Ie.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mt=Y(rt.id,rt.styles,[]);for(let kt=0;kt<Mt.length;kt++){const Jt=document.createElement("style");Jt.textContent=Mt[kt],this.shadowRoot.appendChild(Jt)}}nodeOrShadowRoot(re){return re===this.hostEl?this.shadowRoot:re}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(re,K){return super.appendChild(this.nodeOrShadowRoot(re),K)}insertBefore(re,K,Ie){return super.insertBefore(this.nodeOrShadowRoot(re),K,Ie)}removeChild(re,K){return super.removeChild(this.nodeOrShadowRoot(re),K)}parentNode(re){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(re)))}}let st=(()=>{class B extends P{constructor(K){super(K)}supports(K){return!0}addEventListener(K,Ie,rt){return K.addEventListener(Ie,rt,!1),()=>this.removeEventListener(K,Ie,rt)}removeEventListener(K,Ie,rt){return K.removeEventListener(Ie,rt)}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(n.DOCUMENT))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();const Ye=["alt","control","meta","shift"],Ne={"\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"},qe={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"},ke={alt:B=>B.altKey,control:B=>B.ctrlKey,meta:B=>B.metaKey,shift:B=>B.shiftKey};let Qe=(()=>{class B extends P{constructor(K){super(K)}supports(K){return null!=B.parseEventName(K)}addEventListener(K,Ie,rt){const Mt=B.parseEventName(Ie),kt=B.eventCallback(Mt.fullKey,rt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(K,Mt.domEventName,kt))}static parseEventName(K){const Ie=K.toLowerCase().split("."),rt=Ie.shift();if(0===Ie.length||"keydown"!==rt&&"keyup"!==rt)return null;const Mt=B._normalizeKey(Ie.pop());let kt="";if(Ye.forEach(vn=>{const Fn=Ie.indexOf(vn);Fn>-1&&(Ie.splice(Fn,1),kt+=vn+".")}),kt+=Mt,0!=Ie.length||0===Mt.length)return null;const Jt={};return Jt.domEventName=rt,Jt.fullKey=kt,Jt}static getEventFullKey(K){let Ie="",rt=function ht(B){let re=B.key;if(null==re){if(re=B.keyIdentifier,null==re)return"Unidentified";re.startsWith("U+")&&(re=String.fromCharCode(parseInt(re.substring(2),16)),3===B.location&&qe.hasOwnProperty(re)&&(re=qe[re]))}return Ne[re]||re}(K);return rt=rt.toLowerCase()," "===rt?rt="space":"."===rt&&(rt="dot"),Ye.forEach(Mt=>{Mt!=rt&&ke[Mt](K)&&(Ie+=Mt+".")}),Ie+=rt,Ie}static eventCallback(K,Ie,rt){return Mt=>{B.getEventFullKey(Mt)===K&&rt.runGuarded(()=>Ie(Mt))}}static _normalizeKey(K){return"esc"===K?"escape":K}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(n.DOCUMENT))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();function ye(){d.makeCurrent(),v.init()}const ee=[{provide:h.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:ye,multi:!0},{provide:n.DOCUMENT,useFactory:function L(){return(0,h.\u0275setDocument)(document),document},deps:[]}],Me=(0,h.createPlatformFactory)(h.platformCore,"browser",ee),Ge=[{provide:h.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:h.ErrorHandler,useFactory:function Oe(){return new h.ErrorHandler},deps:[]},{provide:T,useClass:st,multi:!0,deps:[n.DOCUMENT,h.NgZone,h.PLATFORM_ID]},{provide:T,useClass:Qe,multi:!0,deps:[n.DOCUMENT]},{provide:fe,useClass:fe,deps:[S,U,h.APP_ID]},{provide:h.RendererFactory2,useExisting:fe},{provide:I,useExisting:U},{provide:U,useClass:U,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 Ke=(()=>{class B{constructor(K){if(K)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(K){return{ngModule:B,providers:[{provide:h.APP_ID,useValue:K.appId},{provide:m,useExisting:h.APP_ID},_]}}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(B,12))},B.\u0275mod=h.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=h.\u0275\u0275defineInjector({providers:Ge,imports:[n.CommonModule,h.ApplicationModule]}),B})(),j=(()=>{class B{constructor(K){this._doc=K,this._dom=(0,n.\u0275getDOM)()}addTag(K,Ie=!1){return K?this._getOrCreateElement(K,Ie):null}addTags(K,Ie=!1){return K?K.reduce((rt,Mt)=>(Mt&&rt.push(this._getOrCreateElement(Mt,Ie)),rt),[]):[]}getTag(K){return K&&this._doc.querySelector(`meta[${K}]`)||null}getTags(K){if(!K)return[];const Ie=this._doc.querySelectorAll(`meta[${K}]`);return Ie?[].slice.call(Ie):[]}updateTag(K,Ie){if(!K)return null;Ie=Ie||this._parseSelector(K);const rt=this.getTag(Ie);return rt?this._setMetaElementAttributes(K,rt):this._getOrCreateElement(K,!0)}removeTag(K){this.removeTagElement(this.getTag(K))}removeTagElement(K){K&&this._dom.remove(K)}_getOrCreateElement(K,Ie=!1){if(!Ie){const kt=this._parseSelector(K),Jt=this.getTags(kt).filter(vn=>this._containsAttributes(K,vn))[0];if(void 0!==Jt)return Jt}const rt=this._dom.createElement("meta");return this._setMetaElementAttributes(K,rt),this._doc.getElementsByTagName("head")[0].appendChild(rt),rt}_setMetaElementAttributes(K,Ie){return Object.keys(K).forEach(rt=>Ie.setAttribute(this._getMetaKeyMap(rt),K[rt])),Ie}_parseSelector(K){const Ie=K.name?"name":"property";return`${Ie}="${K[Ie]}"`}_containsAttributes(K,Ie){return Object.keys(K).every(rt=>Ie.getAttribute(this._getMetaKeyMap(rt))===K[rt])}_getMetaKeyMap(K){return ve[K]||K}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(n.DOCUMENT))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:function(K){let Ie=null;return Ie=K?new K:function xe(){return new j((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),Ie},providedIn:"root"}),B})();const ve={httpEquiv:"http-equiv"};let tt=(()=>{class B{constructor(K){this._doc=K}getTitle(){return this._doc.title}setTitle(K){this._doc.title=K||""}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(n.DOCUMENT))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:function(K){let Ie=null;return Ie=K?new K:function Re(){return new tt((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),Ie},providedIn:"root"}),B})();function $e(B,re){"undefined"!=typeof COMPILED&&COMPILED||((h.\u0275global.ng=h.\u0275global.ng||{})[B]=re)}const we="undefined"!=typeof window&&window||{};class Te{constructor(re,K){this.msPerTick=re,this.numTicks=K}}class Ze{constructor(re){this.appRef=re.injector.get(h.ApplicationRef)}timeChangeDetection(re){const K=re&&re.record,Ie="Change Detection",rt=null!=we.console.profile;K&&rt&&we.console.profile(Ie);const Mt=Pe();let kt=0;for(;kt<5||Pe()-Mt<500;)this.appRef.tick(),kt++;const Jt=Pe();K&&rt&&we.console.profileEnd(Ie);const vn=(Jt-Mt)/kt;return we.console.log(`ran ${kt} change detection cycles`),we.console.log(`${vn.toFixed(2)} ms per check`),new Te(vn,kt)}}function Pe(){return we.performance&&we.performance.now?we.performance.now():(new Date).getTime()}const vt="profiler";function Fe(B){return $e(vt,new Ze(B)),B}function Ue(){$e(vt,null)}function lt(B){const re={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return B.replace(/[&"'<>]/g,K=>re[K])}function Vt(B){return B}let Dt=(()=>{class B{constructor(){this.store={},this.onSerializeCallbacks={}}static init(K){const Ie=new B;return Ie.store=K,Ie}get(K,Ie){return void 0!==this.store[K]?this.store[K]:Ie}set(K,Ie){this.store[K]=Ie}remove(K){delete this.store[K]}hasKey(K){return this.store.hasOwnProperty(K)}onSerialize(K,Ie){this.onSerializeCallbacks[K]=Ie}toJson(){for(const K in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(K))try{this.store[K]=this.onSerializeCallbacks[K]()}catch(Ie){console.warn("Exception in onSerialize callback: ",Ie)}return JSON.stringify(this.store)}}return B.\u0275fac=function(K){return new(K||B)},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})();function Kt(B,re){const K=B.getElementById(re+"-state");let Ie={};if(K&&K.textContent)try{Ie=JSON.parse(function yt(B){const re={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return B.replace(/&[^;]+;/g,K=>re[K])}(K.textContent))}catch(rt){console.warn("Exception while restoring TransferState for app "+re,rt)}return Dt.init(Ie)}let St=(()=>{class B{}return B.\u0275fac=function(K){return new(K||B)},B.\u0275mod=h.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:Dt,useFactory:Kt,deps:[n.DOCUMENT,h.APP_ID]}]}),B})();class Ht{static all(){return()=>!0}static css(re){return K=>null!=K.nativeElement&&function he(B,re){return!!(0,n.\u0275getDOM)().isElementNode(B)&&(B.matches&&B.matches(re)||B.msMatchesSelector&&B.msMatchesSelector(re)||B.webkitMatchesSelector&&B.webkitMatchesSelector(re))}(K.nativeElement,re)}static directive(re){return K=>-1!==K.providerTokens.indexOf(re)}}const ne={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"),z=new h.InjectionToken("HammerLoader");let Ce=(()=>{class B{constructor(){this.events=[],this.overrides={}}buildHammer(K){const Ie=new Hammer(K,this.options);Ie.get("pinch").set({enable:!0}),Ie.get("rotate").set({enable:!0});for(const rt in this.overrides)Ie.get(rt).set(this.overrides[rt]);return Ie}}return B.\u0275fac=function(K){return new(K||B)},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})(),ie=(()=>{class B extends P{constructor(K,Ie,rt,Mt){super(K),this._config=Ie,this.console=rt,this.loader=Mt,this._loaderPromise=null}supports(K){return!(!ne.hasOwnProperty(K.toLowerCase())&&!this.isCustomEvent(K)||!window.Hammer&&!this.loader)}addEventListener(K,Ie,rt){const Mt=this.manager.getZone();if(Ie=Ie.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let kt=!1,Jt=()=>{kt=!0};return this._loaderPromise.then(()=>{window.Hammer?kt||(Jt=this.addEventListener(K,Ie,rt)):Jt=()=>{}}).catch(()=>{Jt=()=>{}}),()=>{Jt()}}return Mt.runOutsideAngular(()=>{const kt=this._config.buildHammer(K),Jt=function(vn){Mt.runGuarded(function(){rt(vn)})};return kt.on(Ie,Jt),()=>{kt.off(Ie,Jt),"function"==typeof kt.destroy&&kt.destroy()}})}isCustomEvent(K){return this._config.events.indexOf(K)>-1}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(k),h.\u0275\u0275inject(h.\u0275Console),h.\u0275\u0275inject(z,8))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac}),B})(),ze=(()=>{class B{}return B.\u0275fac=function(K){return new(K||B)},B.\u0275mod=h.\u0275\u0275defineNgModule({type:B}),B.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:T,useClass:ie,multi:!0,deps:[n.DOCUMENT,k,h.\u0275Console,[new h.Optional,z]]},{provide:k,useClass:Ce,deps:[]}]}),B})(),wt=(()=>{class B{}return B.\u0275fac=function(K){return new(K||B)},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:function(K){let Ie=null;return Ie=K?new(K||B):h.\u0275\u0275inject(_t),Ie},providedIn:"root"}),B})(),_t=(()=>{class B extends wt{constructor(K){super(),this._doc=K}sanitize(K,Ie){if(null==Ie)return null;switch(K){case h.SecurityContext.NONE:return Ie;case h.SecurityContext.HTML:return(0,h.\u0275allowSanitizationBypassAndThrow)(Ie,"HTML")?(0,h.\u0275unwrapSafeValue)(Ie):(0,h.\u0275_sanitizeHtml)(this._doc,String(Ie)).toString();case h.SecurityContext.STYLE:return(0,h.\u0275allowSanitizationBypassAndThrow)(Ie,"Style")?(0,h.\u0275unwrapSafeValue)(Ie):Ie;case h.SecurityContext.SCRIPT:if((0,h.\u0275allowSanitizationBypassAndThrow)(Ie,"Script"))return(0,h.\u0275unwrapSafeValue)(Ie);throw new Error("unsafe value used in a script context");case h.SecurityContext.URL:return(0,h.\u0275getSanitizationBypassType)(Ie),(0,h.\u0275allowSanitizationBypassAndThrow)(Ie,"URL")?(0,h.\u0275unwrapSafeValue)(Ie):(0,h.\u0275_sanitizeUrl)(String(Ie));case h.SecurityContext.RESOURCE_URL:if((0,h.\u0275allowSanitizationBypassAndThrow)(Ie,"ResourceURL"))return(0,h.\u0275unwrapSafeValue)(Ie);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${K} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(K){return(0,h.\u0275bypassSanitizationTrustHtml)(K)}bypassSecurityTrustStyle(K){return(0,h.\u0275bypassSanitizationTrustStyle)(K)}bypassSecurityTrustScript(K){return(0,h.\u0275bypassSanitizationTrustScript)(K)}bypassSecurityTrustUrl(K){return(0,h.\u0275bypassSanitizationTrustUrl)(K)}bypassSecurityTrustResourceUrl(K){return(0,h.\u0275bypassSanitizationTrustResourceUrl)(K)}}return B.\u0275fac=function(K){return new(K||B)(h.\u0275\u0275inject(n.DOCUMENT))},B.\u0275prov=h.\u0275\u0275defineInjectable({token:B,factory:function(K){let Ie=null;return Ie=K?new K:function He(B){return new _t(B.get(n.DOCUMENT))}(h.\u0275\u0275inject(h.Injector)),Ie},providedIn:"root"}),B})();const de=new h.Version("13.3.11")},107:(W,o,a)=>{"use strict";a.r(o),a.d(o,{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),r=a(1135),l=a(7579),f=a(655),p=a(3075);const m=["editor"],u=["diffEditor"],v="MONACO_PATH";let b=(()=>{class U{constructor(Q,q){this.ngZone=Q,this.monacoPathConfig=q,this.isMonacoLoaded$=new r.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?Q.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(Q){Q&&(this._monacoPath=Q)}loadMonaco(){const Q=()=>{let ce=this._monacoPath;window.amdRequire=window.require;const ge=!!this.nodeRequire,De=ce.includes("http");ge&&(window.require=this.nodeRequire,De||(ce=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:ce}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},We=>console.error("Error loading monaco-editor: ",We))};if(window.amdRequire)return Q();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",Q),document.body.appendChild(oe)}addElectronFixScripts(){const Q=document.createElement("script"),q=document.createTextNode("self.module = undefined;"),V=document.createTextNode("self.process.browser = true;");Q.appendChild(q),Q.appendChild(V),document.body.appendChild(Q)}}return U.\u0275fac=function(Q){return new(Q||U)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(v,8))},U.\u0275prov=n.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),T=(()=>{class U{constructor(Q,q,V){this.templateRef=Q,this.viewContainer=q,this.monacoEditorLoaderService=V,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new l.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,h.R)(this.destroyed$)).subscribe(Q=>{if(!Q)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return U.\u0275fac=function(Q){return new(Q||U)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(b))},U.\u0275dir=n.\u0275\u0275defineDirective({type:U,selectors:[["","ngxLoadMonacoEditor",""]]}),U})(),S=(()=>{class U{constructor(Q){this.monacoLoader=Q,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)(Q=>Q),(0,d.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(Q){if(this.editor&&Q.options&&!Q.options.firstChange){const q=Q.options.currentValue,{language:V,theme:oe}=q,ce=(0,f.__rest)(q,["language","theme"]),{language:ge,theme:De}=Q.options.previousValue;ge!==V&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),De!==oe&&monaco.editor.setTheme(oe),this.editor.updateOptions(ce)}if(this.editor&&Q.uri){const q=Q.uri.currentValue,V=Q.uri.previousValue;if(V&&!q||!V&&q||q&&V&&q.path!==V.path){const oe=this.editor.getValue();let ce;this.modelUriInstance&&this.modelUriInstance.dispose(),q&&(ce=monaco.editor.getModels().find(ge=>ge.uri.path===q.path)),this.modelUriInstance=ce||monaco.editor.createModel(oe,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(Q){this.value=Q,this.editor&&Q?this.editor.setValue(Q):this.editor&&this.editor.setValue("")}registerOnChange(Q){this.propagateChange=Q}registerOnTouched(Q){this.onTouched=Q}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(Q){this.onErrorStatusChange=Q}initEditor(){const Q={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({},Q),this.options):Q),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const Q=this.modelMarkers.map(({message:V})=>V).join("|");this.parsedError!==Q&&(this.parsedError=Q,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return U.\u0275fac=function(Q){return new(Q||U)(n.\u0275\u0275directiveInject(b))},U.\u0275cmp=n.\u0275\u0275defineComponent({type:U,selectors:[["ngx-monaco-editor"]],viewQuery:function(Q,q){if(1&Q&&n.\u0275\u0275viewQuery(m,7),2&Q){let V;n.\u0275\u0275queryRefresh(V=n.\u0275\u0275loadQuery())&&(q.editorContent=V.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[n.\u0275\u0275ProvidersFeature([{provide:p.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>U),multi:!0},{provide:p.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>U),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(Q,q){1&Q&&(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}),U})(),P=(()=>{class U{constructor(Q){this.monacoLoader=Q,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,y.h)(Q=>Q),(0,d.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(Q){if(this.editor&&(Q.code&&!Q.code.firstChange||Q.modified&&!Q.modified.firstChange)){const q=monaco.editor.createModel(this.modified),V=monaco.editor.createModel(this.original);this.editor.setModel({original:V,modified:q})}this.editor&&Q.options&&!Q.options.firstChange&&(Q.options.previousValue.theme!==Q.options.currentValue.theme&&monaco.editor.setTheme(Q.options.currentValue.theme),this.editor.updateOptions(Q.options.currentValue))}initMonaco(){let Q={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(Q=Object.assign({},Q,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,Q);const q=monaco.editor.createModel(this.original),V=monaco.editor.createModel(this.modified);this.editor.setModel({original:q,modified:V}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return U.\u0275fac=function(Q){return new(Q||U)(n.\u0275\u0275directiveInject(b))},U.\u0275cmp=n.\u0275\u0275defineComponent({type:U,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(Q,q){if(1&Q&&n.\u0275\u0275viewQuery(u,7),2&Q){let V;n.\u0275\u0275queryRefresh(V=n.\u0275\u0275loadQuery())&&(q.editorContent=V.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(Q,q){1&Q&&(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}),U})(),I=(()=>{class U{}return U.\u0275fac=function(Q){return new(Q||U)},U.\u0275mod=n.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),U})()},1430:(W,o,a)=>{"use strict";a.r(o),a.d(o,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>ce,AngularSplitModule:()=>We,SplitAreaDirective:()=>De,SplitComponent:()=>ge});var n=a(5e3),h=a(9808),y=a(7579),d=a(8306),r=a(8372);const l=["gutterEls"];function f(Y,ue){if(1&Y){const $=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(me){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startKeyboardDrag(me,2*_e+1,_e+1)})("mousedown",function(me){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startMouseDrag(me,2*_e+1,_e+1)})("touchstart",function(me){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().startMouseDrag(me,2*_e+1,_e+1)})("mouseup",function(me){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().clickGutter(me,_e+1)})("touchend",function(me){n.\u0275\u0275restoreView($);const _e=n.\u0275\u0275nextContext().index;return n.\u0275\u0275nextContext().clickGutter(me,_e+1)}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&Y){const $=n.\u0275\u0275nextContext(),fe=$.index,me=$.$implicit,_e=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",_e.gutterSize,"px")("order",2*fe+1),n.\u0275\u0275attribute("aria-label",_e.gutterAriaLabel)("aria-orientation",_e.direction)("aria-valuemin",me.minSize)("aria-valuemax",me.maxSize)("aria-valuenow",me.size)("aria-valuetext",_e.getAriaAreaSizeText(me.size))}}function p(Y,ue){1&Y&&n.\u0275\u0275template(0,f,3,10,"div",1),2&Y&&n.\u0275\u0275property("ngIf",!1===ue.last)}const m=["*"];function u(Y){if(void 0!==Y.changedTouches&&Y.changedTouches.length>0)return{x:Y.changedTouches[0].clientX,y:Y.changedTouches[0].clientY};if(void 0!==Y.clientX&&void 0!==Y.clientY)return{x:Y.clientX,y:Y.clientY};if(void 0!==Y.currentTarget){const ue=Y.currentTarget;return{x:ue.offsetLeft,y:ue.offsetTop}}return null}function _(Y,ue,$){return Math.abs(Y.x-ue.x)<=$&&Math.abs(Y.y-ue.y)<=$}function b(Y,ue){const $=Y.nativeElement.getBoundingClientRect();return"horizontal"===ue?$.width:$.height}function T(Y){return"boolean"==typeof Y?Y:"false"!==Y}function S(Y,ue){return null==Y?ue:(Y=Number(Y),!isNaN(Y)&&Y>=0?Y:ue)}function P(Y,ue){if("percent"===Y){const $=ue.reduce((fe,me)=>null!==me?fe+me:fe,0);return ue.every(fe=>null!==fe)&&$>99.9&&$<100.1}if("pixel"===Y)return 1===ue.filter($=>null===$).length}function I(Y){return null===Y.size?null:!0===Y.component.lockSize?Y.size:null===Y.component.minSize?null:Y.component.minSize>Y.size?Y.size:Y.component.minSize}function U(Y){return null===Y.size?null:!0===Y.component.lockSize?Y.size:null===Y.component.maxSize?null:Y.component.maxSize<Y.size?Y.size:Y.component.maxSize}function J(Y,ue,$,fe){return ue.reduce((me,_e)=>{const Xe=function Q(Y,ue,$,fe){return 0===$?{areaSnapshot:ue,pixelAbsorb:0,percentAfterAbsorption:ue.sizePercentAtStart,pixelRemain:0}:0===ue.sizePixelAtStart&&$<0?{areaSnapshot:ue,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:$}:"percent"===Y?function q(Y,ue,$){const me=(Y.sizePixelAtStart+ue)/$*100;if(ue>0){if(null!==Y.area.maxSize&&me>Y.area.maxSize){const _e=Y.area.maxSize/100*$;return{areaSnapshot:Y,pixelAbsorb:_e,percentAfterAbsorption:Y.area.maxSize,pixelRemain:Y.sizePixelAtStart+ue-_e}}return{areaSnapshot:Y,pixelAbsorb:ue,percentAfterAbsorption:me>100?100:me,pixelRemain:0}}if(ue<0){if(null!==Y.area.minSize&&me<Y.area.minSize){const _e=Y.area.minSize/100*$;return{areaSnapshot:Y,pixelAbsorb:_e,percentAfterAbsorption:Y.area.minSize,pixelRemain:Y.sizePixelAtStart+ue-_e}}return me<0?{areaSnapshot:Y,pixelAbsorb:-Y.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:ue+Y.sizePixelAtStart}:{areaSnapshot:Y,pixelAbsorb:ue,percentAfterAbsorption:me,pixelRemain:0}}}(ue,$,fe):"pixel"===Y?function V(Y,ue,$){const fe=Y.sizePixelAtStart+ue;return ue>0?null!==Y.area.maxSize&&fe>Y.area.maxSize?{areaSnapshot:Y,pixelAbsorb:Y.area.maxSize-Y.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:fe-Y.area.maxSize}:{areaSnapshot:Y,pixelAbsorb:ue,percentAfterAbsorption:-1,pixelRemain:0}:ue<0?null!==Y.area.minSize&&fe<Y.area.minSize?{areaSnapshot:Y,pixelAbsorb:Y.area.minSize+ue-fe,percentAfterAbsorption:-1,pixelRemain:fe-Y.area.minSize}:fe<0?{areaSnapshot:Y,pixelAbsorb:-Y.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:ue+Y.sizePixelAtStart}:{areaSnapshot:Y,pixelAbsorb:ue,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(ue,$):void 0}(Y,_e,me.remain,fe);return me.list.push(Xe),me.remain=Xe.pixelRemain,me},{remain:$,list:[]})}function oe(Y,ue){"percent"===Y?ue.areaSnapshot.area.size=ue.percentAfterAbsorption:"pixel"===Y&&null!==ue.areaSnapshot.area.size&&(ue.areaSnapshot.area.size=ue.areaSnapshot.sizePixelAtStart+ue.pixelAbsorb)}const ce=new n.InjectionToken("angular-split-global-config");let ge=(()=>{class Y{constructor($,fe,me,_e,Xe){this.ngZone=$,this.elRef=fe,this.cdRef=me,this.renderer=_e,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=Xe?Object.assign(this._config,Xe):this._config,Object.keys(this._config).forEach(dt=>{this[dt]=this._config[dt]})}set direction($){this._direction="vertical"===$?"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($){this._unit="pixel"===$?"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($){this._gutterSize=S($,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep($){this._gutterStep=S($,1)}get gutterStep(){return this._gutterStep}set restrictMove($){this._restrictMove=T($)}get restrictMove(){return this._restrictMove}set useTransition($){this._useTransition=T($),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($){this._disabled=T($),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($){this._dir="rtl"===$?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration($){this._gutterDblClickDuration=S($,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new d.y($=>this.transitionEndSubscriber=$).pipe((0,r.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($){const fe={component:$,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===$.visible?(this.displayedAreas.push(fe),this.build(!0,!0)):this.hiddenAreas.push(fe)}removeArea($){if(this.displayedAreas.some(fe=>fe.component===$)){const fe=this.displayedAreas.find(me=>me.component===$);this.displayedAreas.splice(this.displayedAreas.indexOf(fe),1),this.build(!0,!0)}else if(this.hiddenAreas.some(fe=>fe.component===$)){const fe=this.hiddenAreas.find(me=>me.component===$);this.hiddenAreas.splice(this.hiddenAreas.indexOf(fe),1)}}updateArea($,fe,me){!0===$.visible&&this.build(fe,me)}showArea($){const fe=this.hiddenAreas.find(_e=>_e.component===$);if(void 0===fe)return;const me=this.hiddenAreas.splice(this.hiddenAreas.indexOf(fe),1);this.displayedAreas.push(...me),this.build(!0,!0)}hideArea($){const fe=this.displayedAreas.find(_e=>_e.component===$);if(void 0===fe)return;const me=this.displayedAreas.splice(this.displayedAreas.indexOf(fe),1);me.forEach(_e=>{_e.order=0,_e.size=0}),this.hiddenAreas.push(...me),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map($=>null===$.size?"*":$.size)}setVisibleAreaSizes($){if($.length!==this.displayedAreas.length)return!1;const fe=$.map(_e=>S(_e,null));return!1!==P(this.unit,fe)&&(this.displayedAreas.forEach((_e,Xe)=>_e.component._size=fe[Xe]),this.build(!1,!0),!0)}build($,fe){if(this.stopDragging(),!0===$&&(this.displayedAreas.every(me=>null!==me.component.order)&&this.displayedAreas.sort((me,_e)=>me.component.order-_e.component.order),this.displayedAreas.forEach((me,_e)=>{me.order=2*_e,me.component.setStyleOrder(me.order)})),!0===fe){const me=P(this.unit,this.displayedAreas.map(_e=>_e.component.size));switch(this.unit){case"percent":{const _e=100/this.displayedAreas.length;this.displayedAreas.forEach(Xe=>{Xe.size=me?Xe.component.size:_e,Xe.minSize=I(Xe),Xe.maxSize=U(Xe)});break}case"pixel":if(me)this.displayedAreas.forEach(_e=>{_e.size=_e.component.size,_e.minSize=I(_e),_e.maxSize=U(_e)});else{const _e=this.displayedAreas.filter(Xe=>null===Xe.component.size);if(0===_e.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((Xe,dt)=>{Xe.size=0===dt?null:Xe.component.size,Xe.minSize=0===dt?null:I(Xe),Xe.maxSize=0===dt?null:U(Xe)});else if(_e.length>1){let Xe=!1;this.displayedAreas.forEach(dt=>{null===dt.component.size?!1===Xe?(dt.size=null,dt.minSize=null,dt.maxSize=null,Xe=!0):(dt.size=100,dt.minSize=null,dt.maxSize=null):(dt.size=dt.component.size,dt.minSize=I(dt),dt.maxSize=U(dt))})}}}}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 $=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(fe=>{fe.component.setStyleFlex(0,0,`calc( ${fe.size}% - ${fe.size/100*$}px )`,null!==fe.minSize&&fe.minSize===fe.size,null!==fe.maxSize&&fe.maxSize===fe.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach($=>{null===$.size?$.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?$.component.setStyleFlex(0,0,"100%",!1,!1):$.component.setStyleFlex(0,0,`${$.size}px`,null!==$.minSize&&$.minSize===$.size,null!==$.maxSize&&$.maxSize===$.size)})}clickGutter($,fe){const me=u($);this.startPoint&&_(this.startPoint,me,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",fe),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",fe),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag($,fe,me){if(!0===this.disabled||!0===this.isWaitingClear)return;const _e=function v(Y,ue){if("horizontal"===ue)switch(Y.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===ue)switch(Y.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const $=Y.currentTarget,fe="PageUp"===Y.key||"PageDown"===Y.key?500:50;let me=$.offsetLeft,_e=$.offsetTop;switch(Y.key){case"ArrowLeft":me-=fe;break;case"ArrowRight":me+=fe;break;case"ArrowUp":_e-=fe;break;case"ArrowDown":_e+=fe;break;case"PageUp":"vertical"===ue?_e-=fe:me+=fe;break;case"PageDown":"vertical"===ue?_e+=fe:me-=fe;break;default:return null}return{x:me,y:_e}}($,this.direction);null!==_e&&(this.endPoint=_e,this.startPoint=u($),$.preventDefault(),$.stopPropagation(),this.setupForDragEvent(fe,me),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag($,fe,me){$.preventDefault(),$.stopPropagation(),this.startPoint=u($),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(fe,me),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($,fe){this.snapshot={gutterNum:fe,lastSteppedOffset:0,allAreasSizePixel:b(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(me=>{const _e={area:me,sizePixelAtStart:b(me.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?me.size:-1};me.order<$?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[_e]:this.snapshot.areasBeforeGutter.unshift(_e):me.order>$&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[_e]):this.snapshot.areasAfterGutter.push(_e))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((me,_e)=>me+_e.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach($=>$.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent($){$.preventDefault(),$.stopPropagation();const fe=u($);null!==this._clickTimeout&&!_(this.startPoint,fe,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=u($),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 $="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&($=-$);const fe=Math.round($/this.gutterStep)*this.gutterStep;if(fe===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=fe;let me=J(this.unit,this.snapshot.areasBeforeGutter,-fe,this.snapshot.allAreasSizePixel),_e=J(this.unit,this.snapshot.areasAfterGutter,fe,this.snapshot.allAreasSizePixel);if(0!==me.remain&&0!==_e.remain?Math.abs(me.remain)===Math.abs(_e.remain)||(Math.abs(me.remain)>Math.abs(_e.remain)?_e=J(this.unit,this.snapshot.areasAfterGutter,fe+me.remain,this.snapshot.allAreasSizePixel):me=J(this.unit,this.snapshot.areasBeforeGutter,-(fe-_e.remain),this.snapshot.allAreasSizePixel)):0!==me.remain?_e=J(this.unit,this.snapshot.areasAfterGutter,fe+me.remain,this.snapshot.allAreasSizePixel):0!==_e.remain&&(me=J(this.unit,this.snapshot.areasBeforeGutter,-(fe-_e.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const Xe=[...me.list,..._e.list],dt=Xe.find(it=>0!==it.percentAfterAbsorption&&it.percentAfterAbsorption!==it.areaSnapshot.area.minSize&&it.percentAfterAbsorption!==it.areaSnapshot.area.maxSize);dt&&(dt.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-Xe.filter(it=>it!==dt).reduce((it,st)=>it+st.percentAfterAbsorption,0))}me.list.forEach(Xe=>oe(this.unit,Xe)),_e.list.forEach(Xe=>oe(this.unit,Xe)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging($){if($&&($.preventDefault(),$.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(fe=>fe.component.unlockEvents());this.dragListeners.length>0;){const fe=this.dragListeners.pop();fe&&fe()}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($,fe){const me=this.getVisibleAreaSizes();"start"===$?this.dragStart.emit({gutterNum:fe,sizes:me}):"end"===$?this.dragEnd.emit({gutterNum:fe,sizes:me}):"click"===$?this.gutterClick.emit({gutterNum:fe,sizes:me}):"dblclick"===$?this.gutterDblClick.emit({gutterNum:fe,sizes:me}):"transitionEnd"===$?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(me)):"progress"===$&&this.dragProgressSubject.next({gutterNum:fe,sizes:me})}ngOnDestroy(){this.stopDragging()}collapseArea($,fe,me){const _e=this.displayedAreas.find(it=>it.component===$);if(void 0===_e)return;const Xe="right"===me?1:-1;_e.sizeBeforeCollapse||(_e.sizeBeforeCollapse=_e.size,_e.gutterBeforeCollapse=Xe),_e.size=fe;const dt=this.gutterEls.find(it=>it.nativeElement.style.order===`${_e.order+Xe}`);dt&&this.renderer.addClass(dt.nativeElement,"as-split-gutter-collapsed"),this.updateArea($,!1,!1)}expandArea($){const fe=this.displayedAreas.find(_e=>_e.component===$);if(void 0===fe||!fe.sizeBeforeCollapse)return;fe.size=fe.sizeBeforeCollapse,fe.sizeBeforeCollapse=null;const me=this.gutterEls.find(_e=>_e.nativeElement.style.order===`${fe.order+fe.gutterBeforeCollapse}`);me&&this.renderer.removeClass(me.nativeElement,"as-split-gutter-collapsed"),this.updateArea($,!1,!1)}getAriaAreaSizeText($){return null===$?null:$.toFixed(0)+" "+this.unit}}return Y.\u0275fac=function($){return new($||Y)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(ce,8))},Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["as-split"]],viewQuery:function($,fe){if(1&$&&n.\u0275\u0275viewQuery(l,5),2&$){let me;n.\u0275\u0275queryRefresh(me=n.\u0275\u0275loadQuery())&&(fe.gutterEls=me)}},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($,fe){1&$&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,p,1,1,"ng-template",0)),2&$&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",fe.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}),Y})(),De=(()=>{class Y{constructor($,fe,me,_e){this.ngZone=$,this.elRef=fe,this.renderer=me,this.split=_e,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($){this._order=S($,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size($){this._size=S($,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize($){this._minSize=S($,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize($){this._maxSize=S($,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize($){this._lockSize=T($),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible($){this._visible=T($),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",$=>{"flex-basis"===$.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder($){this.renderer.setStyle(this.elRef.nativeElement,"order",$)}setStyleFlex($,fe,me,_e,Xe){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",$),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",fe),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",me),!0===_e?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===Xe?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 $=this.lockListeners.pop();$&&$()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse($=0,fe="right"){this.split.collapseArea(this,$,fe)}expand(){this.split.expandArea(this)}}return Y.\u0275fac=function($){return new($||Y)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(ge))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),Y})(),We=(()=>{class Y{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:Y,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:Y,providers:[]}}}return Y.\u0275fac=function($){return new($||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({imports:[[h.CommonModule]]}),Y})()},2290:(W,o,a)=>{"use strict";a.r(o),a.d(o,{BasePortalHost:()=>V,ComponentPortal:()=>q,DefaultGlobalConfig:()=>Xe,DefaultNoAnimationsGlobalConfig:()=>Ye,DefaultNoComponentGlobalConfig:()=>ce,Overlay:()=>fe,OverlayContainer:()=>$,OverlayRef:()=>ue,TOAST_CONFIG:()=>ge,Toast:()=>_e,ToastContainerDirective:()=>J,ToastContainerModule:()=>Q,ToastInjector:()=>We,ToastNoAnimation:()=>st,ToastNoAnimationModule:()=>ut,ToastPackage:()=>oe,ToastRef:()=>De,ToastrComponentlessModule:()=>it,ToastrModule:()=>dt,ToastrService:()=>me});var n=a(5e3),h=a(1777),y=a(7579),d=a(9808),r=a(2313);const l=["toast-component",""];function f(Ne,qe){if(1&Ne){const ke=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(ke),n.\u0275\u0275nextContext().remove()}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function p(Ne,qe){if(1&Ne&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&Ne){const ke=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",ke.duplicatesCount+1,"]")}}function m(Ne,qe){if(1&Ne&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,p,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&Ne){const ke=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ke.options.titleClass),n.\u0275\u0275attribute("aria-label",ke.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ke.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ke.duplicatesCount)}}function u(Ne,qe){if(1&Ne&&n.\u0275\u0275element(0,"div",7),2&Ne){const ke=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ke.options.messageClass),n.\u0275\u0275property("innerHTML",ke.message,n.\u0275\u0275sanitizeHtml)}}function _(Ne,qe){if(1&Ne&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Ne){const ke=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ke.options.messageClass),n.\u0275\u0275attribute("aria-label",ke.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ke.message," ")}}function v(Ne,qe){if(1&Ne&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&Ne){const ke=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",ke.width+"%")}}function b(Ne,qe){if(1&Ne){const ke=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(ke),n.\u0275\u0275nextContext().remove()}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function T(Ne,qe){if(1&Ne&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&Ne){const ke=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",ke.duplicatesCount+1,"]")}}function S(Ne,qe){if(1&Ne&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,T,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&Ne){const ke=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ke.options.titleClass),n.\u0275\u0275attribute("aria-label",ke.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ke.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ke.duplicatesCount)}}function P(Ne,qe){if(1&Ne&&n.\u0275\u0275element(0,"div",7),2&Ne){const ke=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ke.options.messageClass),n.\u0275\u0275property("innerHTML",ke.message,n.\u0275\u0275sanitizeHtml)}}function I(Ne,qe){if(1&Ne&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Ne){const ke=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ke.options.messageClass),n.\u0275\u0275attribute("aria-label",ke.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ke.message," ")}}function U(Ne,qe){if(1&Ne&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&Ne){const ke=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",ke.width+"%")}}let J=(()=>{class Ne{constructor(ke){this.el=ke}getContainerElement(){return this.el.nativeElement}}return Ne.\u0275fac=function(ke){return new(ke||Ne)(n.\u0275\u0275directiveInject(n.ElementRef))},Ne.\u0275dir=n.\u0275\u0275defineDirective({type:Ne,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),Ne})(),Q=(()=>{class Ne{}return Ne.\u0275fac=function(ke){return new(ke||Ne)},Ne.\u0275mod=n.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=n.\u0275\u0275defineInjector({}),Ne})();class q{constructor(qe,ke){this.component=qe,this.injector=ke}attach(qe,ke){return this._attachedHost=qe,qe.attach(this,ke)}detach(){const qe=this._attachedHost;if(qe)return this._attachedHost=void 0,qe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(qe){this._attachedHost=qe}}class V{attach(qe,ke){return this._attachedPortal=qe,this.attachComponentPortal(qe,ke)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(qe){this._disposeFn=qe}}class oe{constructor(qe,ke,Qe,ht,ye,Oe){this.toastId=qe,this.config=ke,this.message=Qe,this.title=ht,this.toastType=ye,this.toastRef=Oe,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(qe){this._onAction.next(qe)}onAction(){return this._onAction.asObservable()}}const ce={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},ge=new n.InjectionToken("ToastConfig");class De{constructor(qe){this._overlayRef=qe,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(qe,ke){qe&&this._resetTimeout.next(),ke&&this._countDuplicate.next(++this.duplicatesCount)}}class We{constructor(qe,ke){this._toastPackage=qe,this._parentInjector=ke}get(qe,ke,Qe){return qe===oe?this._toastPackage:this._parentInjector.get(qe,ke,Qe)}}class Y extends V{constructor(qe,ke,Qe){super(),this._hostDomElement=qe,this._componentFactoryResolver=ke,this._appRef=Qe}attachComponentPortal(qe,ke){const Qe=this._componentFactoryResolver.resolveComponentFactory(qe.component);let ht;return ht=Qe.create(qe.injector),this._appRef.attachView(ht.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ht.hostView),ht.destroy()}),ke?this._hostDomElement.insertBefore(this._getComponentRootNode(ht),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ht)),ht}_getComponentRootNode(qe){return qe.hostView.rootNodes[0]}}class ue{constructor(qe){this._portalHost=qe}attach(qe,ke=!0){return this._portalHost.attach(qe,ke)}detach(){return this._portalHost.detach()}}let $=(()=>{class Ne{constructor(ke){this._document=ke}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ke=this._document.createElement("div");ke.classList.add("overlay-container"),ke.setAttribute("aria-live","polite"),this._document.body.appendChild(ke),this._containerElement=ke}}return Ne.\u0275fac=function(ke){return new(ke||Ne)(n.\u0275\u0275inject(d.DOCUMENT))},Ne.\u0275prov=n.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),fe=(()=>{class Ne{constructor(ke,Qe,ht,ye){this._overlayContainer=ke,this._componentFactoryResolver=Qe,this._appRef=ht,this._document=ye,this._paneElements=new Map}create(ke,Qe){return this._createOverlayRef(this.getPaneElement(ke,Qe))}getPaneElement(ke="",Qe){return this._paneElements.get(Qe)||this._paneElements.set(Qe,{}),this._paneElements.get(Qe)[ke]||(this._paneElements.get(Qe)[ke]=this._createPaneElement(ke,Qe)),this._paneElements.get(Qe)[ke]}_createPaneElement(ke,Qe){const ht=this._document.createElement("div");return ht.id="toast-container",ht.classList.add(ke),ht.classList.add("toast-container"),Qe?Qe.getContainerElement().appendChild(ht):this._overlayContainer.getContainerElement().appendChild(ht),ht}_createPortalHost(ke){return new Y(ke,this._componentFactoryResolver,this._appRef)}_createOverlayRef(ke){return new ue(this._createPortalHost(ke))}}return Ne.\u0275fac=function(ke){return new(ke||Ne)(n.\u0275\u0275inject($),n.\u0275\u0275inject(n.ComponentFactoryResolver),n.\u0275\u0275inject(n.ApplicationRef),n.\u0275\u0275inject(d.DOCUMENT))},Ne.\u0275prov=n.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),me=(()=>{class Ne{constructor(ke,Qe,ht,ye,Oe){this.overlay=Qe,this._injector=ht,this.sanitizer=ye,this.ngZone=Oe,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},ke.default),ke.config),ke.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},ke.default.iconClasses),ke.config.iconClasses))}show(ke,Qe,ht={},ye=""){return this._preBuildNotification(ye,ke,Qe,this.applyConfig(ht))}success(ke,Qe,ht={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",ke,Qe,this.applyConfig(ht))}error(ke,Qe,ht={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",ke,Qe,this.applyConfig(ht))}info(ke,Qe,ht={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",ke,Qe,this.applyConfig(ht))}warning(ke,Qe,ht={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",ke,Qe,this.applyConfig(ht))}clear(ke){for(const Qe of this.toasts)if(void 0!==ke){if(Qe.toastId===ke)return void Qe.toastRef.manualClose()}else Qe.toastRef.manualClose()}remove(ke){const Qe=this._findToast(ke);if(!Qe||(Qe.activeToast.toastRef.close(),this.toasts.splice(Qe.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 ht=this.toasts[this.currentlyActive].toastRef;ht.isInactive()||(this.currentlyActive=this.currentlyActive+1,ht.activate())}return!0}findDuplicate(ke="",Qe="",ht,ye){const{includeTitleDuplicates:Oe}=this.toastrConfig;for(const L of this.toasts){const ee=Oe&&L.title===ke;if((!Oe||ee)&&L.message===Qe)return L.toastRef.onDuplicate(ht,ye),L}return null}applyConfig(ke={}){return Object.assign(Object.assign({},this.toastrConfig),ke)}_findToast(ke){for(let Qe=0;Qe<this.toasts.length;Qe++)if(this.toasts[Qe].toastId===ke)return{index:Qe,activeToast:this.toasts[Qe]};return null}_preBuildNotification(ke,Qe,ht,ye){return ye.onActivateTick?this.ngZone.run(()=>this._buildNotification(ke,Qe,ht,ye)):this._buildNotification(ke,Qe,ht,ye)}_buildNotification(ke,Qe,ht,ye){if(!ye.toastComponent)throw new Error("toastComponent required");const Oe=this.findDuplicate(ht,Qe,this.toastrConfig.resetTimeoutOnDuplicate&&ye.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ht||Qe)&&this.toastrConfig.preventDuplicates&&null!==Oe)return Oe;this.previousToastMessage=Qe;let L=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(L=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ee=this.overlay.create(ye.positionClass,this.overlayContainer);this.index=this.index+1;let Me=Qe;Qe&&ye.enableHtml&&(Me=this.sanitizer.sanitize(n.SecurityContext.HTML,Qe));const Ge=new De(ee),Ke=new oe(this.index,ye,Me,ht,ke,Ge),xe=new We(Ke,this._injector),j=new q(ye.toastComponent,xe),ve=ee.attach(j,this.toastrConfig.newestOnTop);Ge.componentInstance=ve.instance;const Re={toastId:this.index,title:ht||"",message:Qe||"",toastRef:Ge,onShown:Ge.afterActivate(),onHidden:Ge.afterClosed(),onTap:Ke.onTap(),onAction:Ke.onAction(),portal:ve};return L||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Re.toastRef.activate()})),this.toasts.push(Re),Re}}return Ne.\u0275fac=function(ke){return new(ke||Ne)(n.\u0275\u0275inject(ge),n.\u0275\u0275inject(fe),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(r.DomSanitizer),n.\u0275\u0275inject(n.NgZone))},Ne.\u0275prov=n.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})(),_e=(()=>{class Ne{constructor(ke,Qe,ht){this.toastrService=ke,this.toastPackage=Qe,this.ngZone=ht,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Qe.message,this.title=Qe.title,this.options=Qe.config,this.originalTimeout=Qe.config.timeOut,this.toastClasses=`${Qe.toastType} ${Qe.config.toastClass}`,this.sub=Qe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Qe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Qe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Qe.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 ke=(new Date).getTime();this.width=(this.hideTime-ke)/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(ke,Qe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(ke),Qe)):this.timeout=setTimeout(()=>ke(),Qe)}outsideInterval(ke,Qe){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(ke),Qe)):this.intervalId=setInterval(()=>ke(),Qe)}runInsideAngular(ke){this.ngZone?this.ngZone.run(()=>ke()):ke()}}return Ne.\u0275fac=function(ke){return new(ke||Ne)(n.\u0275\u0275directiveInject(me),n.\u0275\u0275directiveInject(oe),n.\u0275\u0275directiveInject(n.NgZone))},Ne.\u0275cmp=n.\u0275\u0275defineComponent({type:Ne,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(ke,Qe){1&ke&&n.\u0275\u0275listener("click",function(){return Qe.tapToast()})("mouseenter",function(){return Qe.stickAround()})("mouseleave",function(){return Qe.delayedHideToast()}),2&ke&&(n.\u0275\u0275syntheticHostProperty("@flyInOut",Qe.state),n.\u0275\u0275classMap(Qe.toastClasses),n.\u0275\u0275styleProp("display",Qe.displayStyle))},attrs:l,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(ke,Qe){1&ke&&(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&ke&&(n.\u0275\u0275property("ngIf",Qe.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe.message&&Qe.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe.message&&!Qe.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe.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 }}"))])]}}),Ne})();const Xe=Object.assign(Object.assign({},ce),{toastComponent:_e});let dt=(()=>{class Ne{static forRoot(ke={}){return{ngModule:Ne,providers:[{provide:ge,useValue:{default:Xe,config:ke}}]}}}return Ne.\u0275fac=function(ke){return new(ke||Ne)},Ne.\u0275mod=n.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Ne})(),it=(()=>{class Ne{static forRoot(ke={}){return{ngModule:dt,providers:[{provide:ge,useValue:{default:ce,config:ke}}]}}}return Ne.\u0275fac=function(ke){return new(ke||Ne)},Ne.\u0275mod=n.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Ne})(),st=(()=>{class Ne{constructor(ke,Qe,ht){this.toastrService=ke,this.toastPackage=Qe,this.appRef=ht,this.width=-1,this.toastClasses="",this.state="inactive",this.message=Qe.message,this.title=Qe.title,this.options=Qe.config,this.originalTimeout=Qe.config.timeOut,this.toastClasses=`${Qe.toastType} ${Qe.config.toastClass}`,this.sub=Qe.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Qe.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Qe.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Qe.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 ke=(new Date).getTime();this.width=(this.hideTime-ke)/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 Ne.\u0275fac=function(ke){return new(ke||Ne)(n.\u0275\u0275directiveInject(me),n.\u0275\u0275directiveInject(oe),n.\u0275\u0275directiveInject(n.ApplicationRef))},Ne.\u0275cmp=n.\u0275\u0275defineComponent({type:Ne,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(ke,Qe){1&ke&&n.\u0275\u0275listener("click",function(){return Qe.tapToast()})("mouseenter",function(){return Qe.stickAround()})("mouseleave",function(){return Qe.delayedHideToast()}),2&ke&&(n.\u0275\u0275classMap(Qe.toastClasses),n.\u0275\u0275styleProp("display",Qe.displayStyle))},attrs:l,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(ke,Qe){1&ke&&(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,U,2,2,"div",4)),2&ke&&(n.\u0275\u0275property("ngIf",Qe.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe.message&&Qe.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe.message&&!Qe.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Qe.options.progressBar))},directives:[d.NgIf],encapsulation:2}),Ne})();const Ye=Object.assign(Object.assign({},ce),{toastComponent:st});let ut=(()=>{class Ne{static forRoot(ke={}){return{ngModule:Ne,providers:[{provide:ge,useValue:{default:Ye,config:ke}}]}}}return Ne.\u0275fac=function(ke){return new(ke||Ne)},Ne.\u0275mod=n.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=n.\u0275\u0275defineInjector({imports:[[d.CommonModule]]}),Ne})()},4147:W=>{"use strict";W.exports=JSON.parse('{"name":"@sdkgen/playground","version":"0.0.0-dev.20220614154834","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.5","@angular/animations":"~13.3.6","@angular/cdk":"~13.3.6","@angular/cli":"~13.3.5","@angular/common":"~13.3.6","@angular/compiler":"~13.3.6","@angular/compiler-cli":"~13.3.6","@angular/core":"~13.3.6","@angular/forms":"~13.3.6","@angular/material":"~13.3.6","@angular/platform-browser":"~13.3.6","@angular/platform-browser-dynamic":"~13.3.6","@angular/router":"~13.3.6","@cubos/eslint-config":"^1.0.614034","@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.5","@types/node":"^16.0.0","angular-split":"^13.2.0","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.33.0","ngx-json-viewer":"^3.0.2","ngx-toastr":"^14.3.0","rxjs":"~7.5.5","tslib":"^2.2.0","typescript":"~4.6.4","webpack-bundle-analyzer":"^4.5.0","zone.js":"~0.11.5"}}')}},W=>{W(W.s=4431)}]);