@sdkgen/playground 0.0.0-dev.20230714232739 → 0.0.0-dev.20230721152202

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(H,o,a){"use strict";var b,n=this&&this.__extends||(b=function(v,m){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,M){C.__proto__=M}||function(C,M){for(var O in M)Object.prototype.hasOwnProperty.call(M,O)&&(C[O]=M[O])})(v,m)},function(v,m){if("function"!=typeof m&&null!==m)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function C(){this.constructor=v}b(v,m),v.prototype=null===m?Object.create(m):(C.prototype=m.prototype,new C)}),h=this&&this.__spreadArray||function(b,v,m){if(m||2===arguments.length)for(var O,C=0,M=v.length;C<M;C++)(O||!(C in v))&&(O||(O=Array.prototype.slice.call(v,0,C)),O[C]=v[C]);return b.concat(O||Array.prototype.slice.call(v))},y=this&&this.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(o,"__esModule",{value:!0}),o.decode=o.encode=void 0;var u=y(a(602)),r=["string","email","phone","html","xml"],c=h(["json","bool","url","int","uint","float","money","hex","uuid","base64","void"],r,!0),d=function(b){function v(m,C,M){var O;try{O=JSON.stringify(M)}catch(P){O=String(M)}return b.call(this,"Invalid type at '".concat(m,"', expected ").concat(C,", got ").concat(O))||this}return n(v,b),v}(Error);function p(b,v,m){if("json"===v)return null==m?null:JSON.parse(JSON.stringify(m));if("bool"===v){if("boolean"!=typeof m)throw new d(b,v,m);return m}if(r.indexOf(v)>=0){if("string"!=typeof m)throw new d(b,v,m);return m}if("hex"===v){if("string"!=typeof m||!/^(?:[A-Fa-f0-9]{2})*$/u.test(m))throw new d(b,v,m);return m.toLowerCase()}if("uuid"===v){if("string"!=typeof m||!/^[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(m))throw new d(b,v,m);return m.toLowerCase()}if("base64"===v){var C=!0;try{atob(m)}catch(O){C=!1}if("string"!=typeof m||!C)throw new d(b,v,m);return m}if("int"===v){if("number"!=typeof m||(0|m)!==m)throw new d(b,v,m);return m}if("uint"===v){if("number"!=typeof m||(0|m)!==m||m<0)throw new d(b,v,m);return m}if("float"===v){if("number"!=typeof m)throw new d(b,v,m);return m}if("money"===v){if("number"!=typeof m||!Number.isInteger(m))throw new d(b,v,m);return m}if("url"===v){var M=void 0;if("string"==typeof m)try{M=new URL(m)}catch(O){}if(!M)throw new d(b,v,m);return M.toString()}if("void"===v)return null;throw new Error("Unknown type '".concat(v,"' at '").concat(b,"'"))}o.encode=function _(b,v,m,C){if("string"==typeof m&&!m.endsWith("?")&&"void"!==m&&null==C)throw new Error("Invalid type at '".concat(v,"', cannot be null"));if(Array.isArray(m)){for(var M=0,O=m;M<O.length;M++){var P=O[M];if(P===C)return C;if(Array.isArray(C)&&2===C.length&&P===C[0])return C[0];if(Array.isArray(P)&&2===P.length){if(P[0]===C)return[C,_(b,"".concat(v,".").concat(P[0]),P[1],{})];if(Array.isArray(C)&&2===C.length&&P[0]===C[0])return[C[0],_(b,"".concat(v,".").concat(P[0]),P[1],C[1])]}}throw new d(v,m,C)}if("object"==typeof m){if("object"!=typeof C)throw new d(v,m,C);for(var L={},Q=0,$=Object.keys(m);Q<$.length;Q++){var z=$[Q];L[z]=_(b,"".concat(v,".").concat(z),m[z],C[z])}return L}if(m.endsWith("?"))return null==C?null:_(b,v,m.slice(0,m.length-1),C);if(m.endsWith("[]")){if(!Array.isArray(C))throw new d(v,m,C);return C.map(function(re,me){return _(b,"".concat(v,"[").concat(me,"]"),m.slice(0,m.length-2),re)})}if(c.indexOf(m)>=0)return p(v,m,C);if("bytes"===m){if(!(C instanceof ArrayBuffer))throw new d(v,m,C);return btoa(String.fromCharCode.apply(String,new Uint8Array(C)))}if("bigint"===m){if("bigint"!=typeof C)throw new d(v,m,C);return C.toString()}if("cpf"===m){if("string"!=typeof C)throw new d(v,m,C);return C}if("cnpj"===m){if("string"!=typeof C)throw new d(v,m,C);return C}if("date"===m){if((!(C instanceof Date)||isNaN(C.getTime()))&&("string"!=typeof C||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(C)))throw new d(v,m,C);var V=C instanceof Date?C:new Date(C);return"".concat(V.getFullYear().toString().padStart(4,"0"),"-").concat((V.getMonth()+1).toString().padStart(2,"0"),"-").concat(V.getDate().toString().padStart(2,"0"))}if("datetime"===m){if((!(C instanceof Date)||isNaN(C.getTime()))&&("string"!=typeof C||!/^[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(C)))throw new d(v,m,C);return("string"==typeof C?new Date(C):C).toISOString().replace("Z","")}if("decimal"===m){if(!("number"==typeof C||"string"==typeof C&&/^-?[0-9]+(?:\.[0-9]+)?$/u.test(C)||C instanceof u.default))throw new d(v,m,C);return new u.default(C).toString()}var X=b[m];if(X)return _(b,v,X,C);throw new Error("Unknown type '".concat(m,"' at '").concat(v,"'"))},o.decode=function f(b,v,m,C){if("string"==typeof m&&!m.endsWith("?")&&"void"!==m&&null==C)throw new Error("Invalid type at '".concat(v,"', cannot be null"));if(Array.isArray(m)){for(var M=0,O=m;M<O.length;M++){var P=O[M];if(P===C)return C;if(Array.isArray(C)&&2===C.length&&P===C[0])return C[0];if(Array.isArray(P)&&2===P.length){if(P[0]===C)return[C,f(b,"".concat(v,".").concat(P[0]),P[1],{})];if(Array.isArray(C)&&2===C.length&&P[0]===C[0])return[C[0],f(b,"".concat(v,".").concat(P[0]),P[1],C[1])]}}throw new d(v,m,C)}if("object"==typeof m){if("object"!=typeof C)throw new d(v,m,C);for(var L={},Q=0,$=Object.keys(m);Q<$.length;Q++){var z=$[Q];L[z]=f(b,"".concat(v,".").concat(z),m[z],C[z])}return L}if(m.endsWith("?"))return null==C?null:f(b,v,m.slice(0,m.length-1),C);if(m.endsWith("[]")){if(!Array.isArray(C))throw new d(v,m,C);return C.map(function(it,Ce){return f(b,"".concat(v,"[").concat(Ce,"]"),m.slice(0,m.length-2),it)})}if(c.indexOf(m)>=0)return p(v,m,C);if("bytes"!==m){if("bigint"===m){if("number"!=typeof C&&("string"!=typeof C||!/^-?[0-9]+$/u.test(C)))throw new d(v,m,C);return BigInt(C)}if("cpf"===m){if("string"!=typeof C)throw new d(v,m,C);return C}if("cnpj"===m){if("string"!=typeof C)throw new d(v,m,C);return C}if("date"===m){if("string"!=typeof C||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(C))throw new d(v,m,C);var V=parseInt(C.split("-")[2],10),X=parseInt(C.split("-")[1],10)-1,re=parseInt(C.split("-")[0],10),me=new Date(re,X,V);if(me.getFullYear()!==re||me.getMonth()!==X||me.getDate()!==V)throw new d(v,m,C);return me}if("datetime"===m){if("string"!=typeof C||!/^[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(C))throw new d(v,m,C);return new Date("".concat(C.endsWith("Z")?C:C.concat("Z")))}if("decimal"===m){if("number"!=typeof C&&("string"!=typeof C||!/^-?[0-9]+(?:\.[0-9]+)?$/u.test(C)))throw new d(v,m,C);return new u.default(C)}var Re=b[m];if(Re)return f(b,v,Re,C);throw new Error("Unknown type '".concat(m,"' at '").concat(v,"'"))}if("string"!=typeof C)throw new d(v,"".concat(m," (base 64)"),C);try{return Uint8Array.from(atob(C),function(it){return it.charCodeAt(0)})}catch(it){throw new d(v,"".concat(m," (base 64)"),C)}}},2837:function(H,o){"use strict";var y,a=this&&this.__extends||(y=function(u,r){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(c[p]=d[p])})(u,r)},function(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function c(){this.constructor=u}y(u,r),u.prototype=null===r?Object.create(r):(c.prototype=r.prototype,new c)});Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenErrorWithData=o.SdkgenError=void 0;var n=function(y){function u(){return null!==y&&y.apply(this,arguments)||this}return a(u,y),Object.defineProperty(u.prototype,"type",{get:function(){return this.constructor.name},enumerable:!1,configurable:!0}),u.prototype.toJSON=function(){return{message:this.message,type:this.type}},u}(Error);o.SdkgenError=n;var h=function(y){function u(r,c){var d=y.call(this,r)||this;return d.data=c,d}return a(u,y),u.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},u}(n);o.SdkgenErrorWithData=h},2062:function(H,o,a){"use strict";var n=this&&this.__awaiter||function(_,f,b,v){return new(b||(b=Promise))(function(C,M){function O(Q){try{L(v.next(Q))}catch($){M($)}}function P(Q){try{L(v.throw(Q))}catch($){M($)}}function L(Q){Q.done?C(Q.value):function m(C){return C instanceof b?C:new b(function(M){M(C)})}(Q.value).then(O,P)}L((v=v.apply(_,f||[])).next())})},h=this&&this.__generator||function(_,f){var v,m,C,M,b={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return M={next:O(0),throw:O(1),return:O(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function O(L){return function(Q){return function P(L){if(v)throw new TypeError("Generator is already executing.");for(;M&&(M=0,L[0]&&(b=0)),b;)try{if(v=1,m&&(C=2&L[0]?m.return:L[0]?m.throw||((C=m.return)&&C.call(m),0):m.next)&&!(C=C.call(m,L[1])).done)return C;switch(m=0,C&&(L=[2&L[0],C.value]),L[0]){case 0:case 1:C=L;break;case 4:return b.label++,{value:L[1],done:!1};case 5:b.label++,m=L[1],L=[0];continue;case 7:L=b.ops.pop(),b.trys.pop();continue;default:if(!(C=(C=b.trys).length>0&&C[C.length-1])&&(6===L[0]||2===L[0])){b=0;continue}if(3===L[0]&&(!C||L[1]>C[0]&&L[1]<C[3])){b.label=L[1];break}if(6===L[0]&&b.label<C[1]){b.label=C[1],C=L;break}if(C&&b.label<C[2]){b.label=C[2],b.ops.push(L);break}C[2]&&b.ops.pop(),b.trys.pop();continue}L=f.call(_,b)}catch(Q){L=[6,Q],m=0}finally{v=C=0}if(5&L[0])throw L[1];return{value:L[0]?L[1]:void 0,done:!0}}([L,Q])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenHttpClient=void 0;var y=a(4602);function u(_){for(var f="",b=0;b<2*_;++b)f+="0123456789abcdef"[Math.floor(16*Math.random())];return f}var r=u(20);function c(){try{var _=localStorage.getItem("deviceId");return _||(_=r,localStorage.setItem("deviceId",_)),_}catch(f){return r}}function d(_,f){return f in _}var p=function(){function _(f,b,v){this.baseUrl=f,this.astJson=b,this.errClasses=v,this.extra=new Map,this.successHook=function(){},this.errorHook=function(){}}return _.prototype.makeRequest=function(f,b){var v,m;return n(this,void 0,void 0,function(){var C,M,O,P,L,Q=this;return h(this,function($){switch($.label){case 0:if(!(C=this.astJson.functionTable[f]))throw new Error("Unknown function ".concat(f));return M={},this.extra.forEach(function(z,V){M[V]=z}),O={args:(0,y.encode)(this.astJson.typeTable,"".concat(f,".args"),C.args,b),deviceInfo:{id:c(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:null!==(m=null===(v=document.currentScript)||void 0===v?void 0:v.getAttribute("src"))&&void 0!==m?m:""},extra:M,name:f,requestId:u(16),version:3},[4,new Promise(function(z,V){var X=new XMLHttpRequest;X.open("POST","".concat(Q.baseUrl,"/").concat(f)),X.setRequestHeader("Content-Type","application/sdkgen"),X.onreadystatechange=function(){if(4===X.readyState)try{var re=JSON.parse(X.responseText);try{d(re,"error")&&re.error?V(re.error):z(d(re,"result")?re.result:null)}catch(Re){var me={message:"".concat(Re),type:"Fatal"};V(me)}}catch(Re){V(me={message:"Falha de conex\xe3o com o servidor",type:"Fatal"})}},X.send(JSON.stringify(O))}).catch(function(z){if(Q.errorHook(z,f,b),d(z,"type")&&d(z,"message")&&"string"==typeof z.type&&"string"==typeof z.message){var V=z.type in Q.errClasses?z.type:"Fatal",X=Q.errClasses[V],re=Q.astJson.errors.find(function(Re){return Array.isArray(Re)?Re[0]===V:Re===V}),me=void 0;throw(me=re&&Array.isArray(re)&&d(z,"data")?new X(z.message,(0,y.decode)(Q.astJson.typeTable,"".concat(V,".data"),re[1],z.data)):new X(z.message,void 0)).type=V,me}throw z})];case 1:return P=$.sent(),L=(0,y.decode)(this.astJson.typeTable,"".concat(f,".ret"),C.ret,P),this.successHook(L,f,b),[2,L]}})})},_}();o.SdkgenHttpClient=p},4539:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(y,c,d)}:function(y,u,r,c){void 0===c&&(c=r),y[c]=u[r]}),h=this&&this.__exportStar||function(y,u){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(2837),o),h(a(2062),o)},602:function(H,o,a){var n;!function(h){"use strict";var v,y=1e9,u={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},r=!0,c="[DecimalError] ",d=c+"Invalid argument: ",p=c+"Exponent out of range: ",_=Math.floor,f=Math.pow,b=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,M=9007199254740991,O=_(M/7),P={};function L(te,fe){var W,x,G,K,ne,ve,ge,Le,ct=te.constructor,ft=ct.precision;if(!te.s||!fe.s)return fe.s||(fe=new ct(te)),r?Ce(fe,ft):fe;if(Le=fe.d,ne=te.e,G=fe.e,ge=(ge=te.d).slice(),K=ne-G){for(K<0?(x=ge,K=-K,ve=Le.length):(x=Le,G=ne,ve=ge.length),K>(ve=(ne=Math.ceil(ft/7))>ve?ne+1:ve+1)&&(K=ve,x.length=1),x.reverse();K--;)x.push(0);x.reverse()}for((ve=ge.length)-(K=Le.length)<0&&(K=ve,x=Le,Le=ge,ge=x),W=0;K;)W=(ge[--K]=ge[K]+Le[K]+W)/m|0,ge[K]%=m;for(W&&(ge.unshift(W),++G),ve=ge.length;0==ge[--ve];)ge.pop();return fe.d=ge,fe.e=G,r?Ce(fe,ft):fe}function Q(te,fe,W){if(te!==~~te||te<fe||te>W)throw Error(d+te)}function $(te){var fe,W,x,G=te.length-1,K="",ne=te[0];if(G>0){for(K+=ne,fe=1;fe<G;fe++)(W=7-(x=te[fe]+"").length)&&(K+=me(W)),K+=x;(W=7-(x=(ne=te[fe])+"").length)&&(K+=me(W))}else if(0===ne)return"0";for(;ne%10==0;)ne/=10;return K+ne}P.absoluteValue=P.abs=function(){var te=new this.constructor(this);return te.s&&(te.s=1),te},P.comparedTo=P.cmp=function(te){var fe,W,x,G,K=this;if(te=new K.constructor(te),K.s!==te.s)return K.s||-te.s;if(K.e!==te.e)return K.e>te.e^K.s<0?1:-1;for(fe=0,W=(x=K.d.length)<(G=te.d.length)?x:G;fe<W;++fe)if(K.d[fe]!==te.d[fe])return K.d[fe]>te.d[fe]^K.s<0?1:-1;return x===G?0:x>G^K.s<0?1:-1},P.decimalPlaces=P.dp=function(){var fe=this.d.length-1,W=7*(fe-this.e);if(fe=this.d[fe])for(;fe%10==0;fe/=10)W--;return W<0?0:W},P.dividedBy=P.div=function(te){return z(this,new this.constructor(te))},P.dividedToIntegerBy=P.idiv=function(te){var W=this.constructor;return Ce(z(this,new W(te),0,1),W.precision)},P.equals=P.eq=function(te){return!this.cmp(te)},P.exponent=function(){return X(this)},P.greaterThan=P.gt=function(te){return this.cmp(te)>0},P.greaterThanOrEqualTo=P.gte=function(te){return this.cmp(te)>=0},P.isInteger=P.isint=function(){return this.e>this.d.length-2},P.isNegative=P.isneg=function(){return this.s<0},P.isPositive=P.ispos=function(){return this.s>0},P.isZero=function(){return 0===this.s},P.lessThan=P.lt=function(te){return this.cmp(te)<0},P.lessThanOrEqualTo=P.lte=function(te){return this.cmp(te)<1},P.logarithm=P.log=function(te){var fe,W=this,x=W.constructor,G=x.precision,K=G+5;if(void 0===te)te=new x(10);else if((te=new x(te)).s<1||te.eq(v))throw Error(c+"NaN");if(W.s<1)throw Error(c+(W.s?"NaN":"-Infinity"));return W.eq(v)?new x(0):(r=!1,fe=z(Re(W,K),Re(te,K),K),r=!0,Ce(fe,G))},P.minus=P.sub=function(te){return te=new this.constructor(te),this.s==te.s?xe(this,te):L(this,(te.s=-te.s,te))},P.modulo=P.mod=function(te){var fe,W=this,x=W.constructor,G=x.precision;if(!(te=new x(te)).s)throw Error(c+"NaN");return W.s?(r=!1,fe=z(W,te,0,1).times(te),r=!0,W.minus(fe)):Ce(new x(W),G)},P.naturalExponential=P.exp=function(){return V(this)},P.naturalLogarithm=P.ln=function(){return Re(this)},P.negated=P.neg=function(){var te=new this.constructor(this);return te.s=-te.s||0,te},P.plus=P.add=function(te){return te=new this.constructor(te),this.s==te.s?L(this,te):xe(this,(te.s=-te.s,te))},P.precision=P.sd=function(te){var fe,W,x,G=this;if(void 0!==te&&te!==!!te&&1!==te&&0!==te)throw Error(d+te);if(fe=X(G)+1,W=7*(x=G.d.length-1)+1,x=G.d[x]){for(;x%10==0;x/=10)W--;for(x=G.d[0];x>=10;x/=10)W++}return te&&fe>W?fe:W},P.squareRoot=P.sqrt=function(){var te,fe,W,x,G,K,ne,ve=this,ge=ve.constructor;if(ve.s<1){if(!ve.s)return new ge(0);throw Error(c+"NaN")}for(te=X(ve),r=!1,0==(G=Math.sqrt(+ve))||G==1/0?(((fe=$(ve.d)).length+te)%2==0&&(fe+="0"),G=Math.sqrt(fe),te=_((te+1)/2)-(te<0||te%2),x=new ge(fe=G==1/0?"5e"+te:(fe=G.toExponential()).slice(0,fe.indexOf("e")+1)+te)):x=new ge(G.toString()),G=ne=(W=ge.precision)+3;;)if(x=(K=x).plus(z(ve,K,ne+2)).times(.5),$(K.d).slice(0,ne)===(fe=$(x.d)).slice(0,ne)){if(fe=fe.slice(ne-3,ne+1),G==ne&&"4999"==fe){if(Ce(K,W+1,0),K.times(K).eq(ve)){x=K;break}}else if("9999"!=fe)break;ne+=4}return r=!0,Ce(x,W)},P.times=P.mul=function(te){var fe,W,x,G,K,ne,ve,ge,Le,ct=this,ft=ct.constructor,gt=ct.d,ut=(te=new ft(te)).d;if(!ct.s||!te.s)return new ft(0);for(te.s*=ct.s,W=ct.e+te.e,(ge=gt.length)<(Le=ut.length)&&(K=gt,gt=ut,ut=K,ne=ge,ge=Le,Le=ne),K=[],x=ne=ge+Le;x--;)K.push(0);for(x=Le;--x>=0;){for(fe=0,G=ge+x;G>x;)ve=K[G]+ut[x]*gt[G-x-1]+fe,K[G--]=ve%m|0,fe=ve/m|0;K[G]=(K[G]+fe)%m|0}for(;!K[--ne];)K.pop();return fe?++W:K.shift(),te.d=K,te.e=W,r?Ce(te,ft.precision):te},P.toDecimalPlaces=P.todp=function(te,fe){var W=this,x=W.constructor;return W=new x(W),void 0===te?W:(Q(te,0,y),void 0===fe?fe=x.rounding:Q(fe,0,8),Ce(W,te+X(W)+1,fe))},P.toExponential=function(te,fe){var W,x=this,G=x.constructor;return void 0===te?W=oe(x,!0):(Q(te,0,y),void 0===fe?fe=G.rounding:Q(fe,0,8),W=oe(x=Ce(new G(x),te+1,fe),!0,te+1)),W},P.toFixed=function(te,fe){var W,x,G=this,K=G.constructor;return void 0===te?oe(G):(Q(te,0,y),void 0===fe?fe=K.rounding:Q(fe,0,8),W=oe((x=Ce(new K(G),te+X(G)+1,fe)).abs(),!1,te+X(x)+1),G.isneg()&&!G.isZero()?"-"+W:W)},P.toInteger=P.toint=function(){var fe=this.constructor;return Ce(new fe(this),X(this)+1,fe.rounding)},P.toNumber=function(){return+this},P.toPower=P.pow=function(te){var fe,W,x,G,K,ve=this,ge=ve.constructor,ct=+(te=new ge(te));if(!te.s)return new ge(v);if(!(ve=new ge(ve)).s){if(te.s<1)throw Error(c+"Infinity");return ve}if(ve.eq(v))return ve;if(x=ge.precision,te.eq(v))return Ce(ve,x);if(K=ve.s,(fe=te.e)>=(W=te.d.length-1)){if((W=ct<0?-ct:ct)<=M){for(G=new ge(v),fe=Math.ceil(x/7+4),r=!1;W%2&&Ie((G=G.times(ve)).d,fe),0!==(W=_(W/2));)Ie((ve=ve.times(ve)).d,fe);return r=!0,te.s<0?new ge(v).div(G):Ce(G,x)}}else if(K<0)throw Error(c+"NaN");return K=K<0&&1&te.d[Math.max(fe,W)]?-1:1,ve.s=1,r=!1,G=te.times(Re(ve,x+12)),r=!0,(G=V(G)).s=K,G},P.toPrecision=function(te,fe){var W,x,G=this,K=G.constructor;return void 0===te?x=oe(G,(W=X(G))<=K.toExpNeg||W>=K.toExpPos):(Q(te,1,y),void 0===fe?fe=K.rounding:Q(fe,0,8),x=oe(G=Ce(new K(G),te,fe),te<=(W=X(G))||W<=K.toExpNeg,te)),x},P.toSignificantDigits=P.tosd=function(te,fe){var x=this.constructor;return void 0===te?(te=x.precision,fe=x.rounding):(Q(te,1,y),void 0===fe?fe=x.rounding:Q(fe,0,8)),Ce(new x(this),te,fe)},P.toString=P.valueOf=P.val=P.toJSON=function(){var fe=X(this),W=this.constructor;return oe(this,fe<=W.toExpNeg||fe>=W.toExpPos)};var z=function(){function te(x,G){var K,ne=0,ve=x.length;for(x=x.slice();ve--;)x[ve]=(K=x[ve]*G+ne)%m|0,ne=K/m|0;return ne&&x.unshift(ne),x}function fe(x,G,K,ne){var ve,ge;if(K!=ne)ge=K>ne?1:-1;else for(ve=ge=0;ve<K;ve++)if(x[ve]!=G[ve]){ge=x[ve]>G[ve]?1:-1;break}return ge}function W(x,G,K){for(var ne=0;K--;)x[K]-=ne,x[K]=(ne=x[K]<G[K]?1:0)*m+x[K]-G[K];for(;!x[0]&&x.length>1;)x.shift()}return function(x,G,K,ne){var ve,ge,Le,ct,ft,gt,ut,je,Te,Fe,pe,We,Be,Ke,Y,we,He,Ve,Ue=x.constructor,be=x.s==G.s?1:-1,$e=x.d,dt=G.d;if(!x.s)return new Ue(x);if(!G.s)throw Error(c+"Division by zero");for(ge=x.e-G.e,He=dt.length,Y=$e.length,je=(ut=new Ue(be)).d=[],Le=0;dt[Le]==($e[Le]||0);)++Le;if(dt[Le]>($e[Le]||0)&&--ge,(We=null==K?K=Ue.precision:ne?K+(X(x)-X(G))+1:K)<0)return new Ue(0);if(We=We/7+2|0,Le=0,1==He)for(ct=0,dt=dt[0],We++;(Le<Y||ct)&&We--;Le++)je[Le]=(Be=ct*m+($e[Le]||0))/dt|0,ct=Be%dt|0;else{for((ct=m/(dt[0]+1)|0)>1&&(dt=te(dt,ct),$e=te($e,ct),He=dt.length,Y=$e.length),Ke=He,Fe=(Te=$e.slice(0,He)).length;Fe<He;)Te[Fe++]=0;(Ve=dt.slice()).unshift(0),we=dt[0],dt[1]>=m/2&&++we;do{ct=0,(ve=fe(dt,Te,He,Fe))<0?(pe=Te[0],He!=Fe&&(pe=pe*m+(Te[1]||0)),(ct=pe/we|0)>1?(ct>=m&&(ct=m-1),1==(ve=fe(ft=te(dt,ct),Te,gt=ft.length,Fe=Te.length))&&(ct--,W(ft,He<gt?Ve:dt,gt))):(0==ct&&(ve=ct=1),ft=dt.slice()),(gt=ft.length)<Fe&&ft.unshift(0),W(Te,ft,Fe),-1==ve&&(ve=fe(dt,Te,He,Fe=Te.length))<1&&(ct++,W(Te,He<Fe?Ve:dt,Fe)),Fe=Te.length):0===ve&&(ct++,Te=[0]),je[Le++]=ct,ve&&Te[0]?Te[Fe++]=$e[Ke]||0:(Te=[$e[Ke]],Fe=1)}while((Ke++<Y||void 0!==Te[0])&&We--)}return je[0]||je.shift(),ut.e=ge,Ce(ut,ne?K+X(ut)+1:K)}}();function V(te,fe){var W,G,K,ne,ve,ge=0,Le=0,ct=te.constructor,ft=ct.precision;if(X(te)>16)throw Error(p+X(te));if(!te.s)return new ct(v);for(null==fe?(r=!1,ve=ft):ve=fe,ne=new ct(.03125);te.abs().gte(.1);)te=te.times(ne),Le+=5;for(ve+=Math.log(f(2,Le))/Math.LN10*2+5|0,W=G=K=new ct(v),ct.precision=ve;;){if(G=Ce(G.times(te),ve),W=W.times(++ge),$((ne=K.plus(z(G,W,ve))).d).slice(0,ve)===$(K.d).slice(0,ve)){for(;Le--;)K=Ce(K.times(K),ve);return ct.precision=ft,null==fe?(r=!0,Ce(K,ft)):K}K=ne}}function X(te){for(var fe=7*te.e,W=te.d[0];W>=10;W/=10)fe++;return fe}function re(te,fe,W){if(fe>te.LN10.sd())throw r=!0,W&&(te.precision=W),Error(c+"LN10 precision limit exceeded");return Ce(new te(te.LN10),fe)}function me(te){for(var fe="";te--;)fe+="0";return fe}function Re(te,fe){var W,x,G,K,ne,ve,ge,Le,ct,ft=1,ut=te,je=ut.d,Te=ut.constructor,Fe=Te.precision;if(ut.s<1)throw Error(c+(ut.s?"NaN":"-Infinity"));if(ut.eq(v))return new Te(0);if(null==fe?(r=!1,Le=Fe):Le=fe,ut.eq(10))return null==fe&&(r=!0),re(Te,Le);if(Te.precision=Le+=10,x=(W=$(je)).charAt(0),K=X(ut),!(Math.abs(K)<15e14))return ge=re(Te,Le+2,Fe).times(K+""),ut=Re(new Te(x+"."+W.slice(1)),Le-10).plus(ge),Te.precision=Fe,null==fe?(r=!0,Ce(ut,Fe)):ut;for(;x<7&&1!=x||1==x&&W.charAt(1)>3;)x=(W=$((ut=ut.times(te)).d)).charAt(0),ft++;for(K=X(ut),x>1?(ut=new Te("0."+W),K++):ut=new Te(x+"."+W.slice(1)),ve=ne=ut=z(ut.minus(v),ut.plus(v),Le),ct=Ce(ut.times(ut),Le),G=3;;){if(ne=Ce(ne.times(ct),Le),$((ge=ve.plus(z(ne,new Te(G),Le))).d).slice(0,Le)===$(ve.d).slice(0,Le))return ve=ve.times(2),0!==K&&(ve=ve.plus(re(Te,Le+2,Fe).times(K+""))),ve=z(ve,new Te(ft),Le),Te.precision=Fe,null==fe?(r=!0,Ce(ve,Fe)):ve;ve=ge,G+=2}}function it(te,fe){var W,x,G;for((W=fe.indexOf("."))>-1&&(fe=fe.replace(".","")),(x=fe.search(/e/i))>0?(W<0&&(W=x),W+=+fe.slice(x+1),fe=fe.substring(0,x)):W<0&&(W=fe.length),x=0;48===fe.charCodeAt(x);)++x;for(G=fe.length;48===fe.charCodeAt(G-1);)--G;if(fe=fe.slice(x,G)){if(G-=x,te.e=_((W=W-x-1)/7),te.d=[],x=(W+1)%7,W<0&&(x+=7),x<G){for(x&&te.d.push(+fe.slice(0,x)),G-=7;x<G;)te.d.push(+fe.slice(x,x+=7));x=7-(fe=fe.slice(x)).length}else x-=G;for(;x--;)fe+="0";if(te.d.push(+fe),r&&(te.e>O||te.e<-O))throw Error(p+W)}else te.s=0,te.e=0,te.d=[0];return te}function Ce(te,fe,W){var x,G,K,ne,ve,ge,Le,ct,ft=te.d;for(ne=1,K=ft[0];K>=10;K/=10)ne++;if((x=fe-ne)<0)x+=7,G=fe,Le=ft[ct=0];else{if((ct=Math.ceil((x+1)/7))>=(K=ft.length))return te;for(Le=K=ft[ct],ne=1;K>=10;K/=10)ne++;G=(x%=7)-7+ne}if(void 0!==W&&(ve=Le/(K=f(10,ne-G-1))%10|0,ge=fe<0||void 0!==ft[ct+1]||Le%K,ge=W<4?(ve||ge)&&(0==W||W==(te.s<0?3:2)):ve>5||5==ve&&(4==W||ge||6==W&&(x>0?G>0?Le/f(10,ne-G):0:ft[ct-1])%10&1||W==(te.s<0?8:7))),fe<1||!ft[0])return ge?(K=X(te),ft.length=1,ft[0]=f(10,(7-(fe=fe-K-1)%7)%7),te.e=_(-fe/7)||0):(ft.length=1,ft[0]=te.e=te.s=0),te;if(0==x?(ft.length=ct,K=1,ct--):(ft.length=ct+1,K=f(10,7-x),ft[ct]=G>0?(Le/f(10,ne-G)%f(10,G)|0)*K:0),ge)for(;;){if(0==ct){(ft[0]+=K)==m&&(ft[0]=1,++te.e);break}if(ft[ct]+=K,ft[ct]!=m)break;ft[ct--]=0,K=1}for(x=ft.length;0===ft[--x];)ft.pop();if(r&&(te.e>O||te.e<-O))throw Error(p+X(te));return te}function xe(te,fe){var W,x,G,K,ne,ve,ge,Le,ct,ft,gt=te.constructor,ut=gt.precision;if(!te.s||!fe.s)return fe.s?fe.s=-fe.s:fe=new gt(te),r?Ce(fe,ut):fe;if(ft=fe.d,x=fe.e,Le=te.e,ge=(ge=te.d).slice(),ne=Le-x){for((ct=ne<0)?(W=ge,ne=-ne,ve=ft.length):(W=ft,x=Le,ve=ge.length),ne>(G=Math.max(Math.ceil(ut/7),ve)+2)&&(ne=G,W.length=1),W.reverse(),G=ne;G--;)W.push(0);W.reverse()}else{for((ct=(G=ge.length)<(ve=ft.length))&&(ve=G),G=0;G<ve;G++)if(ge[G]!=ft[G]){ct=ge[G]<ft[G];break}ne=0}for(ct&&(W=ge,ge=ft,ft=W,fe.s=-fe.s),G=ft.length-(ve=ge.length);G>0;--G)ge[ve++]=0;for(G=ft.length;G>ne;){if(ge[--G]<ft[G]){for(K=G;K&&0===ge[--K];)ge[K]=m-1;--ge[K],ge[G]+=m}ge[G]-=ft[G]}for(;0===ge[--ve];)ge.pop();for(;0===ge[0];ge.shift())--x;return ge[0]?(fe.d=ge,fe.e=x,r?Ce(fe,ut):fe):new gt(0)}function oe(te,fe,W){var x,G=X(te),K=$(te.d),ne=K.length;return fe?(W&&(x=W-ne)>0?K=K.charAt(0)+"."+K.slice(1)+me(x):ne>1&&(K=K.charAt(0)+"."+K.slice(1)),K=K+(G<0?"e":"e+")+G):G<0?(K="0."+me(-G-1)+K,W&&(x=W-ne)>0&&(K+=me(x))):G>=ne?(K+=me(G+1-ne),W&&(x=W-G-1)>0&&(K=K+"."+me(x))):((x=G+1)<ne&&(K=K.slice(0,x)+"."+K.slice(x)),W&&(x=W-ne)>0&&(G+1===ne&&(K+="."),K+=me(x))),te.s<0?"-"+K:K}function Ie(te,fe){if(te.length>fe)return te.length=fe,!0}function qe(te){if(!te||"object"!=typeof te)throw Error(c+"Object expected");var fe,W,x,G=["precision",1,y,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(fe=0;fe<G.length;fe+=3)if(void 0!==(x=te[W=G[fe]])){if(!(_(x)===x&&x>=G[fe+1]&&x<=G[fe+2]))throw Error(d+W+": "+x);this[W]=x}if(void 0!==(x=te[W="LN10"])){if(x!=Math.LN10)throw Error(d+W+": "+x);this[W]=new this(x)}return this}(u=function ze(te){var fe,W,x;function G(K){var ne=this;if(!(ne instanceof G))return new G(K);if(ne.constructor=G,K instanceof G)return ne.s=K.s,ne.e=K.e,void(ne.d=(K=K.d)?K.slice():K);if("number"==typeof K){if(0*K!=0)throw Error(d+K);if(K>0)ne.s=1;else{if(!(K<0))return ne.s=0,ne.e=0,void(ne.d=[0]);K=-K,ne.s=-1}return K===~~K&&K<1e7?(ne.e=0,void(ne.d=[K])):it(ne,K.toString())}if("string"!=typeof K)throw Error(d+K);if(45===K.charCodeAt(0)?(K=K.slice(1),ne.s=-1):ne.s=1,!b.test(K))throw Error(d+K);it(ne,K)}if(G.prototype=P,G.ROUND_UP=0,G.ROUND_DOWN=1,G.ROUND_CEIL=2,G.ROUND_FLOOR=3,G.ROUND_HALF_UP=4,G.ROUND_HALF_DOWN=5,G.ROUND_HALF_EVEN=6,G.ROUND_HALF_CEIL=7,G.ROUND_HALF_FLOOR=8,G.clone=ze,G.config=G.set=qe,void 0===te&&(te={}),te)for(x=["precision","rounding","toExpNeg","toExpPos","LN10"],fe=0;fe<x.length;)te.hasOwnProperty(W=x[fe++])||(te[W]=this[W]);return G.config(te),G}(u)).default=u.Decimal=u,v=new u(1),void 0!==(n=function(){return u}.call(o,a,o,H))&&(H.exports=n)}()},3905:(H,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(u){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 c of u.operations){const d=c.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(c.returnType)}>`;r+=`\n public virtual Task${d} ${(0,h.capitalize)(c.name)}(${["Context ctx",...c.args.map(p=>`${(0,h.generateTypeName)(p.type)} ${(0,h.ident)(p.name)}`)].join(", ")})\n {\n return Task.FromException${d}(new FatalException("Function '${c.name}' not implemented."));\n }\n`}r+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const c of u.operations){r+=`\n case ${JSON.stringify(c.name)}:\n {`;for(const d of c.args)r+=`\n JsonElement ${d.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(d.name)}, out ${d.name}Json_))\n {\n ${d.type instanceof n.OptionalType?`${d.name}Json_ = new JsonElement();`:`throw new FatalException("'${c.name}().args.${d.name}' must be set to a value of type ${d.type.name}.");`}\n }\n ${(0,h.generateTypeName)(d.type)} ${(0,h.ident)(d.name)};\n ${(0,h.decodeType)(d.type,`${d.name}Json_`,`"${c.name}().args.${d.name}"`,(0,h.ident)(d.name)).replace(/\n/gu,"\n ")}`;r+=c.returnType instanceof n.VoidPrimitiveType?`\n await ${(0,h.capitalize)(c.name)}(${["context_",...c.args.map(d=>(0,h.ident)(d.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,h.capitalize)(c.name)}(${["context_",...c.args.map(d=>(0,h.ident)(d.name))].join(", ")});\n ${(0,h.encodeType)(c.returnType,"result_",`"${c.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 c of u.structTypes)r+=(0,h.generateStruct)(c);for(const c of u.enumTypes)r+=(0,h.generateEnum)(c);r+=`\n public string GetAstJson() => @"${JSON.stringify((0,n.astToJson)(u),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const c of u.errors)r+=`\n public class ${c.name}Exception : SdkgenException\n {\n public ${c.name}Exception(string message, Exception? inner = null) : base("${c.name}", message, inner) { }\n }\n`;return r+="\n}\n",r}},4510:(H,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],u=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.DecimalPrimitiveType,n.UIntPrimitiveType];function r(v){return h.includes(v)?`@${v}`:v}function c(v){return v[0].toUpperCase()+v.slice(1)}function d(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:case n.DecimalPrimitiveType: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`${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}`)}}function p(v,m,C,M,O=1,P=!0){switch(v.constructor){case n.IntPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.Number || !${m}.TryGetInt32(out ${M}))\n {\n throw new FatalException($"'{${C}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.Number || !${m}.TryGetUInt32(out ${M}))\n {\n throw new FatalException($"'{${C}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DecimalPrimitiveType:case n.MoneyPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.Number || !${m}.TryGetDecimal(out ${M}) || ${M} % 1 != 0)\n {\n throw new FatalException($"'{${C}}' must be an integer amount of cents.");\n }\n ${M} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.Number || !${m}.TryGetDouble(out ${M}))\n {\n throw new FatalException($"'{${C}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${m}.GetString(), out ${M}))\n {\n throw new FatalException($"'{${C}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid HTML string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid CPF string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid CNPJ string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid email.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid URL string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid UUID.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid hex string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a base64 string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a XML string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.True && ${m}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${C}}' must be either true or false.");\n }\n ${M} = ${m}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a string.");\n }\n try\n {\n ${M} = Convert.FromBase64String(${m}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${C}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(v.type,m,C,M,O);case n.OptionalType:if(u.includes(v.base.constructor)){const L=`${M.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${m}.ValueKind == JsonValueKind.Null || ${m}.ValueKind == JsonValueKind.Undefined)\n {\n ${M} = null;\n }\n else\n {\n ${d(v.base)} ${L};\n ${p(v.base,m,C,L,O,!1).replace(/\n/gu,"\n ")}\n ${M} = ${L};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${m}.ValueKind == JsonValueKind.Null || ${m}.ValueKind == JsonValueKind.Undefined)\n {\n ${M} = null;\n }\n else\n {\n ${p(v.base,m,C,M,O,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case n.EnumType:case n.StructType:return`${M} = Decode${v.name}(${m}, ${C});`;case n.JsonPrimitiveType:return P?`\n if (${m}.ValueKind == JsonValueKind.Null || ${m}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${C}}' can't be null.");\n }\n ${M} = ${m};\n `.replace(/\n {16}/gu,"\n").trim():`${M} = ${m};`;case n.DateTimePrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${m}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${M}) || DateTime.TryParseExact(${m}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${M})))\n {\n throw new FatalException($"'{${C}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${m}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${M})))\n {\n throw new FatalException($"'{${C}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n if (${m}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${C}}' must be a date.");\n }\n ${M} = new ${d(v)}();\n for (var i${O} = 0; i${O} < ${m}.GetArrayLength(); ++i${O})\n {\n ${d(v.base)} element${O};\n ${p(v.base,`${m}[i${O}]`,`$"{${C}}[{i${O}}]"`,`element${O}`,O+1).replace(/\n/gu,"\n ")}\n ${M}.Add(element${O});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${v.constructor.name}`)}}function _(v,m,C,M=1){switch(v.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${m});`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${m});`;case n.DecimalPrimitiveType:case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(Math.Round(${m} * 100));`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString());`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${m});`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${m}));`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${m}.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(${m});`;case n.OptionalType:{let O=v.base;for(;O instanceof n.TypeReference;)O=O.type;return`\n if (${m} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${_(O,y.includes(O.constructor)?m:`${m}.Value`,C,M).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case n.TypeReference:return _(v.type,m,C,M);case n.EnumType:case n.StructType:return`Encode${v.name}(${m}, resultWriter_, ${C});`;case n.JsonPrimitiveType:return`${m}.WriteTo(resultWriter_);`;case n.ArrayType:return`\n resultWriter_.WriteStartArray();\n for (var i${M} = 0; i${M} < ${m}.Count; ++i${M})\n {\n ${_(v.base,`${m}[i${M}]`,`$"{${C}}[{i${M}}]"`,M+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=c,o.generateTypeName=d,o.decodeType=p,o.encodeType=_,o.generateStruct=function f(v){return`\n public class ${v.name}\n {${v.fields.map(m=>`\n public ${d(m.type)} ${c(m.name)};`).join("")}\n public ${v.name}(${v.fields.map(m=>`${d(m.type)} ${r(m.name)}`).join(", ")})\n {${v.fields.map(m=>`\n ${c(m.name)} = ${r(m.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(m=>` JsonElement ${m.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(m.name)}, out ${m.name}Json_))\n {\n ${m.type instanceof n.OptionalType?`${m.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${m.name}' must be set to a value of type ${m.type.name}.");`}\n }\n ${d(m.type)} ${r(m.name)};\n ${p(m.type,`${m.name}Json_`,`$"{path_}.${m.name}"`,r(m.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${v.name}(${v.fields.map(m=>r(m.name)).join(", ")});\n }\n\n void Encode${v.name}(${v.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${v.fields.map(m=>`resultWriter_.WritePropertyName(${JSON.stringify(m.name)});\n ${_(m.type,`obj_.${c(m.name)}`,`$"{path_}.${m.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},o.generateEnum=function b(v){return`\n public enum ${v.name}\n {${v.values.map(({value:m})=>`\n ${c(m)}`).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:m})=>`\n if (value == "${m}")\n {\n return ${v.name}.${c(m)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${v.values.map(({value:m})=>`'${m}'`).join(", ")}).");\n }\n\n void Encode${v.name}(${v.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${v.values.map(({value:m})=>`\n if (obj_ == ${v.name}.${c(m)})\n {\n resultWriter_.WriteStringValue("${m}");\n }`).join("")}\n }\n`}},7179:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(y,c,d)}:function(y,u,r,c){void 0===c&&(c=r),y[c]=u[r]}),h=this&&this.__exportStar||function(y,u){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(3905),o)},1911:(H,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(u){let r="";r+="// ignore_for_file: constant_identifier_names\n",(0,n.hasType)(u,n.BytesPrimitiveType)&&(r+="import 'dart:typed_data';\n"),(0,n.hasType)(u,n.DecimalPrimitiveType)&&(r+="import 'package:decimal/decimal.dart';\n"),r+="import 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n";for(const c of u.enumTypes)r+=(0,h.generateEnum)(c),r+="\n";for(const c of u.structTypes)r+=(0,h.generateClass)(c),r+="\n";for(const c of u.errors)r+=(0,h.generateErrorClass)(c),r+="\n";r+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl) : super(baseUrl, _typeTable, _fnTable, _errTable);\n${u.operations.filter(c=>c.annotations.every(d=>!(d instanceof n.HiddenAnnotation))).map(c=>`\n ${c.returnType instanceof n.VoidPrimitiveType?"Future<void> ":`Future<${(0,h.generateTypeName)(c.returnType)}> `}${c.name}(${0===c.args.length?"":`{${c.args.map(d=>`${d.type instanceof n.OptionalType?"":"required "}${(0,h.generateTypeName)(d.type)} ${(0,h.mangle)(d.name)}`).join(", ")}}`}) async { ${c.returnType instanceof n.VoidPrimitiveType?"":"return "}${(0,h.cast)(`await makeRequest('${c.name}', {${c.args.map(d=>`'${d.name}': ${(0,h.mangle)(d.name)}`).join(", ")}})`,c.returnType)}; }`).join("")}\n}\n\n`,r+="var _typeTable = {\n";for(const c of u.structTypes){r+=` '${c.name}': StructTypeDescription(\n`,r+=` ${c.name},\n`,r+=" {\n";for(const d of c.fields)r+=` '${d.name}': '${d.type.name}',\n`;r+=" },\n",r+=` (Map fields) => ${c.name}(\n`;for(const d of c.fields)r+=` ${(0,h.mangle)(d.name)}: ${(0,h.cast)(`fields['${d.name}']`,d.type)},\n`;r+=" ),\n",r+=` (${c.name} obj) => ({\n`;for(const d of c.fields)r+=` '${d.name}': obj.${(0,h.mangle)(d.name)},\n`;r+=" }),\n",r+=" ),\n"}for(const c of u.enumTypes)r+=` '${c.name}': EnumTypeDescription(${c.name}, ${c.name}.values, [\n ${c.values.map(d=>`'${d.value}'`).join(",\n ")}\n ]),\n`;r+="};\n\n",r+="var _fnTable = {\n";for(const c of u.operations){r+=` '${c.name}': FunctionDescription('${c.returnType.name}', {\n`;for(const d of c.args)r+=` '${d.name}': '${d.type.name}',\n`;r+=" }),\n"}r+="};\n\n",r+="var _errTable = {\n";for(const c of u.errors)r+=` '${c.name}': SdkgenErrorDescription('${c.dataType.name}', (msg, data) => ${c.name}(msg${c.dataType instanceof n.VoidPrimitiveType?"":", data"})),\n`;return r+="};\n",r}},5235:(H,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 u(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.DecimalPrimitiveType: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"dynamic";case n.OptionalType:return`${u(v.base)}?`;case n.ArrayType:return`List<${u(v.base)}>`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return u(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(m=>m.value).join(",\n ")}\n}\n`},o.generateTypeName=u,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 m=u(v.dataType);return`class ${v.name} extends SdkgenErrorWithData<${m}> {\n ${v.name}(String msg, ${m} data) : super(msg, data);\n}\n`},o.cast=function c(v,m){return m instanceof n.OptionalType?`${v} == null ? null : ${c(v,m.base)}`:m instanceof n.ArrayType?`(${v} as List).map((e) => ${c("e",m.base)}).toList()`:m instanceof n.VoidPrimitiveType?v:m instanceof n.FloatPrimitiveType?`(${v} as num).toDouble()`:m instanceof n.MoneyPrimitiveType?`${v} as int`:`${v} as ${u(m)}`},o.generateClass=function b(v){return`class ${v.name} {\n ${v.fields.map(m=>`final ${u(m.type)} ${h(m.name)};`).join("\n ")}\n\n${function d(v){let m=` ${v.name}({\n`;for(const C of v.fields)m+=C.type instanceof n.OptionalType?" ":" required ",m+=`this.${h(C.name)},\n`;return m+=" });\n",m}(v)}\n${function p(v){let m=" @override\n bool operator ==(other){\n";return m+=" if (identical(this, other)) return true;\n",m+=` return ${[`other is ${v.name}`,...v.fields.map(C=>`${h(C.name)} == other.${h(C.name)}`)].join(" && ")};\n`,m+=" }\n",m}(v)}\n${function _(v){return` @override\n int get hashCode => Object.hashAllUnordered([${v.fields.map(m=>h(m.name)).join(", ")}]);\n`}(v)}\n${function f(v){return` @override\n String toString() {\n return '${v.name} { ${v.fields.map(m=>`${m.name}: $${h(m.name).startsWith("$")?`{${h(m.name)}}`:h(m.name)}`).join(", ")} }';\n }\n`}(v)}}\n`}},1823:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(y,c,d)}:function(y,u,r,c){void 0===c&&(c=r),y[c]=u[r]}),h=this&&this.__exportStar||function(y,u){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(1911),o)},196:(H,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(u){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 c of u.errors)r+=`\ntype ${c.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${c.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${c.name}", message, inner)\n }\n`;for(const c of u.enumTypes)r+=`\n${(0,h.generateEnum)(c)}\n`;for(const c of u.structTypes)r+=`\n${(0,h.generateStruct)(c)}\n`;r+="\ntype Api() =";for(const c of u.operations){const d=c.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(c.returnType)}>`,p=c.args.length>0?`{| ${c.args.map(_=>`${_.name}: ${(0,h.generateTypeName)(_.type)};`).join("")} |} ->`:"";r+=`\n member val ${(0,h.capitalize)(c.name)}: Context -> ${p} Task${d} =\n fun _ -> (raise (FatalException("Function '${c.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 c of u.operations){r+=`\n | ${JSON.stringify(c.name)} ->`;for(const d of c.args)r+=`\n let ${d.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(d.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${c.name}().args.${d.name}' must be set to a value of type ${d.type.name}."))\n\n let ${(0,h.ident)(d.name)} =\n ${(0,h.decodeType)(d.type,`${d.name}Json_`,`"${c.name}().args.${d.name}"`,(0,h.ident)(d.name)).replace(/\n/gu,"\n ")}`;r+=c.returnType instanceof n.VoidPrimitiveType?`\n\n do! (__.${(0,h.capitalize)(c.name)} context_ ${c.args.length>0?"{|":""} ${c.args.map(d=>`${d.name} = ${(0,h.ident)(d.name)}`).join("; ")} ${c.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,h.capitalize)(c.name)} context_ ${c.args.length>0?"{|":""} ${c.args.map(d=>`${d.name} = ${(0,h.ident)(d.name)}`).join("; ")} ${c.args.length>0?"|}":""})\n ${(0,h.encodeType)(c.returnType,"result_",`"${c.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)(u),null,4).replace(/\n/gu,"\n ")}""";`,r}},8735:(H,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"],u=[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 c(v){return v[0].toUpperCase()+v.slice(1)}function d(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`${d(v.base)} option`;case n.ArrayType:return`${d(v.base)} list`;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}`)}}function p(v,m,C,M,O=1,P=!0){switch(v.constructor){case n.IntPrimitiveType:return`\n decodeInt32 ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n decodeUInt32 ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.MoneyPrimitiveType:return`\n (decodeMoney ${m} ${C}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n decodeFloat ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n decodeBigInt ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n decodeString ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n decodeHtml ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n decodeCpf ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n decodeCnpj ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n decodeEmail ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n decodeUrl ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n decodeUuid ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n decodeHex ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n decodeBase64 ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n decodeXml ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n decodeBool ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n decodeBytes ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(v.type,m,C,M,O);case n.OptionalType:return u.includes(v.base.constructor)?`match ${m}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${p(v.base,m,C,M,O,!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,m,C,M,O,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${p(v.base,m,C,M,O,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case n.EnumType:case n.StructType:return`Decode${v.name} ${m} ${C}`;case n.JsonPrimitiveType:return P?`\n ${m}\n `.replace(/\n {16}/gu,"\n").trim():`${M} <- ${m}`;case n.DateTimePrimitiveType:return`\n decodeDateTime ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n decodeDate ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n match ${m}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${m}.GetArrayLength() - 1) do\n let item = ${m}.[i1]\n let partialResult =\n ${p(v.base,`${m}.[i1]`,`${C.slice(0,-1)}.{i1}"`,M,O,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${C.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 _(v,m,C,M=1,O=!0){switch(v.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${m})`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${m})`;case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(int (Math.Round(${m} * 100m)))`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString())`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${m})`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${m}))`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${m}.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(${m})`;case n.OptionalType:{let P=v.base;for(;P instanceof n.TypeReference;)P=P.type;return`\n if (${m}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${_(P,`${m}.Value`,C,M,O)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return _(v.type,m,C,M,O);case n.EnumType:case n.StructType:return`Encode${v.name} ${m} resultWriter_ ${C}`;case n.JsonPrimitiveType:return`${m}.WriteTo(resultWriter_)`;case n.ArrayType:return`\n resultWriter_.WriteStartArray()\n for i${M} in 0..${m}.Length - 1 do\n ${_(v.base,`${m}.[i${M}]`,`${C}`,M+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=c,o.generateTypeName=d,o.decodeType=p,o.encodeType=_,o.generateStruct=function f(v){return`\ntype ${v.name} = {\n ${v.fields.map(m=>`${c(m.name)}: ${d(m.type)}`).join(";\n ")}\n} with\n static member Create (${v.fields.map(m=>`${r(m.name)}: ${d(m.type)}`).join(", ")}): ${v.name} =\n { ${v.fields.map(m=>`${c(m.name)} = ${r(m.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(m=>`\n let ${m.name}Json_ = decodeJsonElementStrict ${JSON.stringify(m.name)} json_ $"{path_}.${m.name}"\n let ${r(m.name)} =\n ${p(m.type,`${m.name}Json_`,`$"{path_}.${m.name}"`,r(m.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${v.fields.map(m=>`${c(m.name)} = ${r(m.name)}`).join("; ")} }\n\nlet Encode${v.name} (obj_: ${v.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${v.fields.map(m=>`\n resultWriter_.WritePropertyName(${JSON.stringify(m.name)})\n ${_(m.type,`obj_.${c(m.name)}`,`$"{path_}.${m.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},o.generateEnum=function b(v){return`\ntype ${v.name} =\n ${v.values.map(({value:m})=>`| ${c(m)}`).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:m})=>`| "${m}" -> ${v.name}.${c(m)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${v.values.map(({value:m})=>`'${m}'`).join(", ")})."))\n\nlet Encode${v.name} (obj_: ${v.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${v.values.map(({value:m})=>`| ${v.name}.${c(m)} -> resultWriter_.WriteStringValue("${m}")`).join("\n ")}\n\n`}},2863:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(y,c,d)}:function(y,u,r,c){void 0===c&&(c=r),y[c]=u[r]}),h=this&&this.__exportStar||function(y,u){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(196),o)},9409:(H,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(u,r){let c='@file:Suppress("UNNECESSARY_SAFE_CALL")\n\nimport android.os.Parcelable\nimport kotlinx.parcelize.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 kotlinx.parcelize.RawValue\nimport java.util.*\nimport okhttp3.Interceptor\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 fingerprint: String? = null,\n httpInterceptor: Interceptor? = null,\n httpNetworkInterceptor: Interceptor? = null\n) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis, fingerprint, httpInterceptor, httpNetworkInterceptor) {\n\n private val gson = GsonBuilder()\n .registerTypeAdapter(object : TypeToken<ByteArray>() {}.type, ByteArrayDeserializer())\n .create()\n\n';for(const _ of u.enumTypes)c+=` ${(0,h.generateEnum)(_)}`,c+="\n";c+=" open class Error(val message: String? = null)\n",c+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const _ of u.structTypes)c+=` ${(0,h.generateClass)(_)}\n`;const d=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);d.push(p.name),c+=` ${(0,h.generateErrorClass)(p)}`;for(const _ of u.errors)c+=` ${(0,h.generateErrorClass)(_)}`,d.push(_.name);return d.length>0&&(c+=`\n enum class ErrorType {\n ${d.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${d.map(_=>`${_} -> ApiClient.${_}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),c+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",c+=u.operations.filter(_=>_.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(_=>{let f="";const b=[];b.push("timeoutMillis: Long? = null"),r&&b.push(`callback: ((response: Response<${(0,h.generateKotlinTypeName)(_.returnType)}>) -> Unit)? = null`);const v=_.args.map(m=>`${(0,h.mangle)(m.name)}: ${(0,h.generateKotlinTypeName)(m.type)}`).concat(b);return f+=` fun ${(0,h.mangle)(_.name)}(\n ${v.join(",\n ")}\n ): Deferred<Response<out ${(0,h.generateKotlinTypeName)(_.returnType)}>> = sdkgenIOScope.async {\n`,_.args.length>0?(f+=" val bodyArgs = JsonObject().apply {\n",f+=_.args.map(m=>` ${(0,h.generateJsonAddRepresentation)(m.type,m.name)}`).join("\n"),f+="\n }\n"):f+=" val bodyArgs: JsonObject? = null",f+="\n",f+=` val call = makeRequest("${_.name}", bodyArgs, timeoutMillis)\n`,f+=` val response: Response<${(0,h.generateKotlinTypeName)(_.returnType)}> = handleCallResponse(call)\n`,r&&(f+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),f+=" return@async response\n",f+=" }\n",f}).join("\n"),c+='\n private inline fun <reified T> handleCallResponse(callResponse: InternalResponse): Response<T> {\n try {\n val data = if (callResponse.result?.get("result") != null)\n gson.fromJson<T>(callResponse.result?.get("result")!!)\n else null\n\n val error = if (callResponse.error != null) {\n val errorType = try {\n ErrorType.valueOf(callResponse.error?.get("type")?.asString ?: "")\n } catch (e: Exception) {\n ErrorType.Fatal\n }\n\n gson.fromJson(callResponse.error, errorType.type())\n } else null\n\n return Response(error, data, callResponse.stats)\n } catch(e: Exception) {\n return Response(Fatal(applicationContext.getString(io.sdkgen.runtime.R.string.sdkgen_error_serialization)), null, callResponse.stats)\n }\n }\n',c+="}\n",c}},7250:(H,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(_){switch(_.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"@RawValue JsonElement";case n.OptionalType:return`${h(_.base)}?`;case n.ArrayType:return`ArrayList<${h(_.base)}>`;case n.StructType:case n.EnumType:return _.name;case n.TypeReference:return h(_.type);default:throw new Error(`BUG: generateKotlinTypeName with ${_.constructor.name}`)}}function y(_){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(_)?`_${_}`:_}function c(_,f){let b="";switch(f&&f!==y(f)&&(b+=` @SerializedName("${f}")\n`),_.constructor){case n.DatePrimitiveType:b+=" @JsonAdapter(DateAdapter::class)\n";break;case n.DateTimePrimitiveType:b+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case n.ArrayType:case n.OptionalType:b+=c(_.base)}return b}o.generateKotlinTypeName=h,o.mangle=y,o.generateJsonAddRepresentation=function u(_,f){switch(_.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("${f}", ${y(f)})`;case n.OptionalType:return u(_.base,f);case n.DatePrimitiveType:return`addProperty("${f}", ${y(f)}?.let { DateAdapter.sdf.format(it.time)}) `;case n.DateTimePrimitiveType:return`addProperty("${f}", ${y(f)}?.let { DateTimeAdapter.sdf.format(it.time)})`;case n.ArrayType:case n.StructType:case n.EnumType:case n.TypeReference:case n.JsonPrimitiveType:return`add("${f}", gson.toJsonTree(${y(f)}))`;case n.VoidPrimitiveType:return"";case n.BytesPrimitiveType:return`addProperty("${f}", Base64.encodeToString(${y(f)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${_.constructor.name}`)}},o.generateEnum=function r(_){let f="@Parcelize \n";return f+=` enum class ${_.name} : Parcelable { ${_.values.map(b=>y(b.value)).join(", ")} }\n`,f},o.getAnnotation=c,o.generateClass=function d(_){let f="@Parcelize\n";return f+=` data class ${_.name}(\n${_.fields.map(b=>{let v=c(b.type,b.name);return v+=` var ${y(b.name)}: ${h(b.type)}${b.type.constructor===n.OptionalType?" = null":""}`,v}).join(",\n")}\n ) : Parcelable\n`,f},o.generateErrorClass=function p(_){return`class ${_.name}(message: String) : Error(message)\n`}},7402:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(y,c,d)}:function(y,u,r,c){void 0===c&&(c=r),y[c]=u[r]}),h=this&&this.__exportStar||function(y,u){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(9409),o)},1942:function(H,o,a){"use strict";var n=this&&this.__rest||function(ut,je){var Te={};for(var Fe in ut)Object.prototype.hasOwnProperty.call(ut,Fe)&&je.indexOf(Fe)<0&&(Te[Fe]=ut[Fe]);if(null!=ut&&"function"==typeof Object.getOwnPropertySymbols){var pe=0;for(Fe=Object.getOwnPropertySymbols(ut);pe<Fe.length;pe++)je.indexOf(Fe[pe])<0&&Object.prototype.propertyIsEnumerable.call(ut,Fe[pe])&&(Te[Fe[pe]]=ut[Fe[pe]])}return Te};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.DecimalPrimitiveType=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.StatusCodeAnnotation=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(je){return this.location=je.location,this}atLocation(je){return this.location=je,this}}o.AstNode=y;class u extends y{toJSON(){const je=Object.assign({},this);return n(je,["name"])}}o.Type=u,o.ErrorNode=class r extends y{constructor(je,Te){super(),this.name=je,this.dataType=Te,this.annotations=[]}};class c extends y{}o.Annotation=c,o.DescriptionAnnotation=class d extends c{constructor(je){super(),this.text=je}},o.ThrowsAnnotation=class p extends c{constructor(je){super(),this.error=je}},o.ArgDescriptionAnnotation=class _ extends c{constructor(je,Te){super(),this.argName=je,this.text=Te}},o.RestAnnotation=class f extends c{constructor(je,Te,Fe,pe,We,Be){super(),this.method=je,this.path=Te,this.pathVariables=Fe,this.queryVariables=pe,this.headers=We,this.bodyVariable=Be}},o.HiddenAnnotation=class b extends c{},o.StatusCodeAnnotation=class v extends c{constructor(je){super(),this.statusCode=je}};class m extends u{toJSON(){return this.name}}o.PrimitiveType=m,o.StringPrimitiveType=class C extends m{constructor(){super(...arguments),this.name="string"}},o.IntPrimitiveType=class M extends m{constructor(){super(...arguments),this.name="int"}},o.UIntPrimitiveType=class O extends m{constructor(){super(...arguments),this.name="uint"}},o.FloatPrimitiveType=class P extends m{constructor(){super(...arguments),this.name="float"}},o.BigIntPrimitiveType=class L extends m{constructor(){super(...arguments),this.name="bigint"}},o.DatePrimitiveType=class Q extends m{constructor(){super(...arguments),this.name="date"}},o.DateTimePrimitiveType=class $ extends m{constructor(){super(...arguments),this.name="datetime"}},o.BoolPrimitiveType=class z extends m{constructor(){super(...arguments),this.name="bool"}},o.BytesPrimitiveType=class V extends m{constructor(){super(...arguments),this.name="bytes"}},o.VoidPrimitiveType=class X extends m{constructor(){super(...arguments),this.name="void"}},o.MoneyPrimitiveType=class re extends m{constructor(){super(...arguments),this.name="money"}},o.DecimalPrimitiveType=class me extends m{constructor(){super(...arguments),this.name="decimal"}},o.CpfPrimitiveType=class Re extends m{constructor(){super(...arguments),this.name="cpf"}},o.CnpjPrimitiveType=class it extends m{constructor(){super(...arguments),this.name="cnpj"}},o.EmailPrimitiveType=class Ce extends m{constructor(){super(...arguments),this.name="email"}},o.UrlPrimitiveType=class xe extends m{constructor(){super(...arguments),this.name="url"}},o.UuidPrimitiveType=class oe extends m{constructor(){super(...arguments),this.name="uuid"}},o.HexPrimitiveType=class Ie extends m{constructor(){super(...arguments),this.name="hex"}},o.HtmlPrimitiveType=class ze extends m{constructor(){super(...arguments),this.name="html"}},o.Base64PrimitiveType=class qe extends m{constructor(){super(...arguments),this.name="base64"}},o.XmlPrimitiveType=class te extends m{constructor(){super(...arguments),this.name="xml"}},o.JsonPrimitiveType=class fe extends m{constructor(){super(...arguments),this.name="json"}},o.OptionalType=class W extends u{constructor(je){super(),this.base=je}get name(){return`${this.base.name}?`}},o.ArrayType=class x extends u{constructor(je){super(),this.base=je}get name(){return`${this.base.name}[]`}},o.EnumValue=class G extends y{constructor(je){super(),this.value=je,this.annotations=[],this.struct=null}},o.EnumType=class K extends u{constructor(je){super(),this.values=je}get hasStructValues(){return this.values.some(je=>null!==je.struct)}},o.Field=class ne extends y{constructor(je,Te,Fe=!1){super(),this.name=je,this.type=Te,this.secret=Fe,this.annotations=[]}},o.Spread=class ve extends y{constructor(je){super(),this.typeReference=je}},o.TypeReference=class ge extends u{constructor(je){super(),this.name=je}},o.StructType=class Le extends u{constructor(je){super(),this.fieldsAndSpreads=je,this.fields=[]}},o.TypeDefinition=class ct extends y{constructor(je,Te){super(),this.name=je,this.type=Te,this.annotations=[]}},o.FunctionOperation=class ft extends y{constructor(je,Te,Fe){super(),this.name=je,this.fieldsAndSpreads=Te,this.returnType=Fe,this.annotations=[],this.args=[]}},o.AstRoot=class gt{constructor(je=[],Te=[],Fe=[]){this.typeDefinitions=je,this.operations=Te,this.errors=Fe,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},9747:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.compatibilityIssues=void 0;const n=a(1942);function h(r,c,d,p){var _,f;if(d instanceof n.TypeReference)h(r,c,d.type,p);else if(p instanceof n.TypeReference)h(r,c,d,p.type);else if(d instanceof n.OptionalType||!(p instanceof n.OptionalType))if(d instanceof n.OptionalType&&p instanceof n.OptionalType)h(r,c,d.base,p.base);else{if(d instanceof n.OptionalType&&!(p instanceof n.OptionalType))return c.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,c,d.base,p);if(d instanceof n.ArrayType&&p instanceof n.ArrayType)h(r,c,d.base,p.base);else if(d instanceof n.StructType&&p instanceof n.StructType)for(const b of p.fields){const v=d.fields.find(m=>m.name===b.name);if(v)h(`${r}.${v.name}`,c,v.type,b.type);else{if(b.type instanceof n.OptionalType)continue;c.push(`${r}.${b.name} didn't exist before and isn't optional. Make it optional.`)}}else if(!(d instanceof n.UIntPrimitiveType&&p instanceof n.IntPrimitiveType||d instanceof n.IntPrimitiveType&&p instanceof n.FloatPrimitiveType||d instanceof n.MoneyPrimitiveType&&p instanceof n.IntPrimitiveType||d instanceof n.MoneyPrimitiveType&&p instanceof n.UIntPrimitiveType||d instanceof n.UIntPrimitiveType&&p instanceof n.BigIntPrimitiveType||d instanceof n.IntPrimitiveType&&p instanceof n.BigIntPrimitiveType||d instanceof n.MoneyPrimitiveType&&p instanceof n.BigIntPrimitiveType||d instanceof n.BigIntPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.UuidPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.XmlPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.DatePrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.DateTimePrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.CpfPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.CnpjPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.HexPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.HtmlPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.Base64PrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.BytesPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.BytesPrimitiveType&&p instanceof n.Base64PrimitiveType||d instanceof n.UrlPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.EmailPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.DecimalPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.EnumType&&p instanceof n.StringPrimitiveType)){if(d instanceof n.EnumType&&p instanceof n.EnumType){for(const b of d.values){const v=p.values.find(m=>m.value===b.value);v?h(`${r}.${b.value}`,c,null!==(_=b.struct)&&void 0!==_?_:new n.StructType([]),null!==(f=v.struct)&&void 0!==f?f:new n.StructType([])):c.push(`The enum at ${r} used to accept the value "${b.value}" that doesn't exist now. Clients that send it will fail.`)}return}d.constructor.name!==p.constructor.name&&c.push(`${r} was ${d.name} and now it is ${p.name}. They are not compatible.`)}}else h(r,c,d,p.base)}function y(r,c,d,p){var _,f;if(d instanceof n.TypeReference)y(r,c,d.type,p);else if(p instanceof n.TypeReference)y(r,c,d,p.type);else if(!(d instanceof n.OptionalType)||p instanceof n.OptionalType)if(d instanceof n.OptionalType&&p instanceof n.OptionalType)y(r,c,d.base,p.base);else{if(!(d instanceof n.OptionalType)&&p instanceof n.OptionalType)return c.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,c,d,p.base);if(d instanceof n.ArrayType&&p instanceof n.ArrayType)y(r,c,d.base,p.base);else if(d instanceof n.StructType&&p instanceof n.StructType)for(const b of d.fields){const v=p.fields.find(m=>m.name===b.name);if(v)y(`${r}.${b.name}`,c,b.type,v.type);else{if(b.type instanceof n.OptionalType)continue;c.push(`${r}.${b.name} used to exist with type ${b.type.name}, but it's now missing. Add it back.`)}}else if(!(d instanceof n.IntPrimitiveType&&p instanceof n.UIntPrimitiveType||d instanceof n.FloatPrimitiveType&&p instanceof n.IntPrimitiveType||d instanceof n.IntPrimitiveType&&p instanceof n.MoneyPrimitiveType||d instanceof n.UIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||d instanceof n.BigIntPrimitiveType&&p instanceof n.UIntPrimitiveType||d instanceof n.BigIntPrimitiveType&&p instanceof n.IntPrimitiveType||d instanceof n.BigIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.BigIntPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.UuidPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.XmlPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.DatePrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.DateTimePrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.CpfPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.CnpjPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.HexPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.HtmlPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.Base64PrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.BytesPrimitiveType||d instanceof n.Base64PrimitiveType&&p instanceof n.BytesPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.UrlPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.EmailPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.DecimalPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.EnumType)){if(d instanceof n.EnumType&&p instanceof n.EnumType){for(const b of p.values){const v=d.values.find(m=>m.value===b.value);v?y(`${r}.${b.value}`,c,null!==(_=v.struct)&&void 0!==_?_:new n.StructType([]),null!==(f=b.struct)&&void 0!==f?f:new n.StructType([])):c.push(`The enum at ${r} now has the value "${b.value}" that didn't exist before. Client will crash if it receives it`)}return}d.constructor.name!==p.constructor.name&&c.push(`${r} was ${d.name} and now it is ${p.name}. They are not compatible.`)}}else y(r,c,d.base,p)}o.compatibilityIssues=function u(r,c){const d=[];for(const p of r.operations){const _=c.operations.find(f=>f.name===p.name);if(_){y(`${p.name}.ret`,d,p.returnType,_.returnType);for(const f of _.args){const b=p.args.find(v=>v.name===f.name);if(b)h(`${p.name}.args.${b.name}`,d,b.type,f.type);else{if(f.type instanceof n.OptionalType)continue;d.push(`${p.name}.args.${f.name} didn't exist before and isn't optional. Make it optional.`)}}}else d.push(`function ${p.name} used to exist, but it's now missing. Add it back.`)}for(const p of r.errors){const _=c.errors.find(f=>f.name===p.name);!_||y(`${p.name}.data`,d,p.dataType,_.dataType)}return d}},8006:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.hasType=void 0;const n=a(3154);class h extends n.Visitor{constructor(r,c){super(r),this.type=c,this.found=!1}visit(r){r.constructor===this.type&&(this.found=!0),super.visit(r)}}o.hasType=function y(u,r){const c=new h(u,r);return c.process(),c.found}},6676:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(c,d,p,_){void 0===_&&(_=p);var f=Object.getOwnPropertyDescriptor(d,p);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[p]}}),Object.defineProperty(c,_,f)}:function(c,d,p,_){void 0===_&&(_=p),c[_]=d[p]}),h=this&&this.__exportStar||function(c,d){for(var p in c)"default"!==p&&!Object.prototype.hasOwnProperty.call(d,p)&&n(d,c,p)};Object.defineProperty(o,"__esModule",{value:!0}),o.hasType=o.Visitor=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);var u=a(3154);Object.defineProperty(o,"Visitor",{enumerable:!0,get:function(){return u.Visitor}});var r=a(8006);Object.defineProperty(o,"hasType",{enumerable:!0,get:function(){return r.hasType}})},1557:(H,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 u(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(([_],[f])=>_.localeCompare(f)),method:p.method,path:p.path,pathVariables:p.pathVariables,queryVariables:[...p.queryVariables].sort((_,f)=>_.localeCompare(f))}};if(p instanceof n.HiddenAnnotation)return{type:"hidden",value:null};if(p instanceof n.StatusCodeAnnotation)return{type:"statusCode",value:p.statusCode};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:_,path:f,pathVariables:b,queryVariables:v,headers:m,bodyVariable:C}=p.value;return new n.RestAnnotation(_,f,b,v,new Map(m),C)}case"hidden":return new n.HiddenAnnotation;case"statusCode":return new n.StatusCodeAnnotation(p.value);default:throw new Error(`BUG: annotationFromJson with ${p.type}`)}}o.astToJson=function c(p){var _,f,b,v;const m={},C={};function M(L){return L instanceof n.ArrayType?`${M(L.base)}[]`:L instanceof n.OptionalType?`${M(L.base)}?`:L.name}for(const{name:L,fields:Q}of p.structTypes){if(L in C)throw new Error(`Duplicate struct type ${L}`);C[L]={};const $=C[L];for(const z of Q){$[z.name]=M(z.type);for(const V of z.annotations)if(V instanceof n.DescriptionAnnotation){const X=`type.${L}.${z.name}`;null!==(_=m[X])&&void 0!==_||(m[X]=[]),m[X].push(u(V))}}}for(const{name:L,values:Q}of p.enumTypes){if(L in C)throw new Error(`Duplicate enum type ${L}`);C[L]=Q.map($=>$.struct?[$.value,$.struct.name]:$.value)}for(const{name:L,type:Q}of p.typeDefinitions)Q instanceof n.StructType||Q instanceof n.EnumType||(C[L]=M(Q));const O={};for(const L of p.operations){const Q={};for(const $ of L.args){Q[$.name]=M($.type);for(const z of $.annotations)if(z instanceof n.DescriptionAnnotation){const V=`fn.${L.name}.${$.name}`;null!==(f=m[V])&&void 0!==f||(m[V]=[]),m[V].push(u(z))}}O[L.name]={args:Q,ret:M(L.returnType)};for(const $ of L.annotations){const z=`fn.${L.name}`;null!==(b=m[z])&&void 0!==b||(m[z]=[]),m[z].push(u($))}}const P=p.errors.map(L=>L.dataType instanceof n.VoidPrimitiveType?L.name:[L.name,L.dataType.name]);for(const L of p.errors)for(const Q of L.annotations){const $=`error.${L.name}`;null!==(v=m[$])&&void 0!==v||(m[$]=[]),m[$].push(u(Q))}return{annotations:m,errors:P,functionTable:O,typeTable:C}},o.jsonToAst=function d(p){var _,f;const b=[],v=[],m=[];function C(P,L){var Q;if("string"==typeof P){const z=y.primitiveToAstClass.get(P);return z?new z:P.endsWith("?")?new n.OptionalType(C(P.slice(0,P.length-1))):P.endsWith("[]")?new n.ArrayType(C(P.slice(0,P.length-2))):new n.TypeReference(P)}if(Array.isArray(P))return new n.EnumType(P.map(z=>{if(Array.isArray(z)){const[V,X]=z,re=new n.EnumValue(V);return m.push([re,X]),re}return new n.EnumValue(z)}));const $=[];for(const z of Object.keys(P)){const V=new n.Field(z,C(P[z]));if(L){const X=`type.${L}.${z}`;for(const re of null!==(Q=p.annotations[X])&&void 0!==Q?Q:[])V.annotations.push(r(re))}$.push(V)}return new n.StructType($)}for(const[P,L]of Object.entries(p.typeTable)){const Q=C(L,P);v.push(new n.TypeDefinition(P,Q))}for(const[P,L]of Object.entries(p.functionTable)){const Q=Object.keys(L.args).map(V=>{var X;const re=new n.Field(V,C(L.args[V])),me=`fn.${P}.${V}`;for(const Re of null!==(X=p.annotations[me])&&void 0!==X?X:[])re.annotations.push(r(Re));return re}),$=new n.FunctionOperation(P,Q,C(L.ret)),z=`fn.${P}`;for(const V of null!==(_=p.annotations[z])&&void 0!==_?_:[])$.annotations.push(r(V));b.push($)}for(const[P,L]of m){const Q=null===(f=v.find($=>$.name===L))||void 0===f?void 0:f.type;Q instanceof n.StructType&&(P.struct=Q)}const M=p.errors.map(P=>{var L;let Q;if(Array.isArray(P)){const[z,V]=P;Q=new n.ErrorNode(z,C(V))}else Q=new n.ErrorNode(P,new n.VoidPrimitiveType);const $=`error.${Q.name}`;for(const z of null!==(L=p.annotations[$])&&void 0!==L?L:[])Q.annotations.push(r(z));return Q}),O=new n.AstRoot(v,b,M);return(0,h.analyse)(O),O}},8053:(H,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,c="-"){this.source=r,this.filename=c,this.startPos=0,this.startLine=1,this.startColumn=1,this.pos=0,this.line=1,this.column=1}currentChar(){return this.source[this.pos]||"\0"}nextChar(){return this.column++,this.source[++this.pos]||"\0"}nextToken(){this.startPos=this.pos,this.startLine=this.line,this.startColumn=this.column;let 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 c="\\",d=this.startPos+1;for(;"\\"===c[c.length-1];){for(c=c.slice(0,c.length-1).trim();!["\0","\n"].includes(this.nextChar()););c=`${c} ${this.source.substring(d,this.pos).trim()}`.trim(),d=this.pos+1}r=new n.AnnotationToken(c.trim());break}case'"':{const c=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":c.push("\n");break;case"t":c.push("\t");break;default:c.push(this.currentChar())}break;case'"':this.nextChar(),r=new n.StringLiteralToken(c.join(""));break e;default:c.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const c=this.source.substring(this.startPos,this.pos);switch(c){case"error":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(c)?new n.PrimitiveTypeToken(c):new n.IdentifierToken(c)}}}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","decimal","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:(H,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),u=a(6758),r=a(9037),c=a(6569);class d extends Error{}o.ParserError=d,o.Parser=class p{constructor(f){this.token=null,this.annotations=[],this.warnings=[],this.readFileSync=()=>{throw"Not implemented"};try{this.readFileSync=Object(function(){var m=new Error("Cannot find module 'fs'");throw m.code="MODULE_NOT_FOUND",m}())}catch(v){}const b=Array.isArray(f)?[...f].reverse():[f];this.lexers=b.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(f){if(!this.token)throw new d(`Expected ${Object.keys(f).map(v=>v.replace("Token","")).join(" or ")}, but found end of file`);const b=this.token.constructor.name;if(b in f)return f[b](this.token);if(f.IdentifierToken){const v=this.token.maybeAsIdentifier();if(v instanceof r.IdentifierToken)return f.IdentifierToken(v)}throw new d(`Expected ${Object.keys(f).map(v=>v.replace("Token","")).join(" or ")} at ${this.token.location}, but found ${this.token}`)}expect(f){if(null===this.token)throw new d(`Expected ${f.name.replace("Token","")}, but found end of file`);if(this.token instanceof f)return this.token;if(f===r.IdentifierToken){const b=this.token.maybeAsIdentifier();if(b instanceof r.IdentifierToken)return b}throw new d(`Expected ${f.name.replace("Token","")} at ${this.token.location}, but found ${this.token}`)}parse(){const f=[],b=[],v=[];for(this.warnings=[];this.token;)this.acceptAnnotations(),this.multiExpect({ErrorKeywordToken:()=>{v.push(this.parseError())},FnKeywordToken:()=>{f.push(this.parseOperation())},ImportKeywordToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const C=this.expect(r.StringLiteralToken),M=C.location.filename.replace(/[^/\\]+$/u,`${C.value}.sdkgen`);this.lexers.push(new h.Lexer(this.readFileSync(M).toString(),M)),this.nextToken()},TypeKeywordToken:()=>{b.push(this.parseTypeDefinition())}});const m=new n.AstRoot(b,f,v);return m.warnings=this.warnings,(0,u.analyse)(m),m}acceptAnnotations(){for(;this.token instanceof r.AnnotationToken;){const f=this.token.value.split(" "),b=this.token.value.slice(f[0].length).trim();switch(f[0]){case"description":this.annotations.push(new n.DescriptionAnnotation(b).at(this.token));break;case"arg":this.annotations.push(new n.ArgDescriptionAnnotation(f[1],this.token.value.slice(f[0].length+1+f[1].length).trim()).at(this.token));break;case"throws":this.annotations.push(new n.ThrowsAnnotation(b).at(this.token));break;case"rest":try{this.annotations.push((0,y.parseRestAnnotation)(b).at(this.token))}catch(v){throw new d(`${v instanceof Error?v.message:v} at ${this.token.location}`)}break;case"hidden":if(""!==b)throw new d("@hidden annotation doesn't take any argument");this.annotations.push((new n.HiddenAnnotation).at(this.token));break;case"statusCode":{const v=parseInt(b,10);if(v.toString()!==b.trim())throw new d("@statusCode annotation takes an integer as argument");this.annotations.push(new n.StatusCodeAnnotation(v).at(this.token));break}default:throw new d(`Unknown annotation '${f[0]}' at ${this.token.location}`)}this.nextToken()}}checkCannotHaveAnnotationsHere(){if(this.annotations.length>0)throw new d(`Cannot have annotations at ${this.annotations[0].location}`)}parseTypeDefinition(){const f=this.expect(r.TypeKeywordToken);this.nextToken();const b=this.expect(r.IdentifierToken),v=b.value;if(!/[A-Z]/u.test(v[0]))throw new d(`The custom type name must start with an uppercase letter, but found ${JSON.stringify(v)} at ${b.location}`);this.nextToken();const{annotations:m}=this;this.annotations=[];const C=this.parseType(),M=new n.TypeDefinition(v,C).at(f);return M.annotations=m,M}parseError(){const f=this.expect(r.ErrorKeywordToken);this.nextToken();const b=this.expect(r.IdentifierToken),v=b.value;if(!/[A-Z]/u.test(v[0]))throw new d(`Error name must start with an uppercase letter, but found ${JSON.stringify(v)} at ${b.location}`);this.nextToken();let m=new n.VoidPrimitiveType;(this.token instanceof r.CurlyOpenSymbolToken||this.token instanceof r.EnumKeywordToken||this.token instanceof r.IdentifierToken||this.token instanceof r.PrimitiveTypeToken)&&(m=this.parseType());const C=new n.ErrorNode(v,m).at(f);return C.annotations=this.annotations,this.annotations=[],C}parseOperation(){let{annotations:f}=this;this.annotations=[],this.expect(r.FnKeywordToken),this.nextToken();const b=this.expect(r.IdentifierToken).value;this.nextToken(),this.expect(r.ParensOpenSymbolToken),this.nextToken();const v=new Set,m=[];let M,C=!1;for(;!C;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:L=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=L},IdentifierToken:()=>{const L=this.parseField();if(v.has(L.name))throw new d(`Cannot redeclare argument '${L.name}'`);v.add(L.name),m.push(L),this.multiExpect({ParensCloseSymbolToken:Q=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=Q},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const L=this.expect(r.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(L.value[0]))throw new d(`Expected a type but found ${JSON.stringify(L.value)} at ${L.location}`);m.push(new n.Spread(new n.TypeReference(L.value).at(L)).at(L)),this.multiExpect({ParensCloseSymbolToken:Q=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=Q},CommaSymbolToken:()=>this.nextToken()})}});for(const L of f)if(L instanceof n.ArgDescriptionAnnotation){const Q=m.find($=>$ instanceof n.Field&&$.name===L.argName);if(!Q)throw new d(`Argument '${L.argName}' not found, at ${L.location}`);Q.annotations.push(new n.DescriptionAnnotation(L.text).atLocation(L.location))}f=f.filter(L=>!(L instanceof n.ArgDescriptionAnnotation));let O=(new n.VoidPrimitiveType).at(M);this.token instanceof r.ColonSymbolToken&&(this.nextToken(),O=this.parseType());const P=new n.FunctionOperation(b,m,O);return P.annotations=f,P}parseEnum(){this.checkCannotHaveAnnotationsHere();const f=this.expect(r.EnumKeywordToken);this.nextToken(),this.expect(r.CurlyOpenSymbolToken),this.nextToken();const b=new n.EnumType([]).at(f);let v=!1;for(;!v;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),v=!0},IdentifierToken:m=>{const C=new n.EnumValue(m.value).at(m);if(C.annotations=this.annotations,this.annotations=[],b.values.push(C),this.nextToken(),!(this.token instanceof r.ParensOpenSymbolToken))return;this.nextToken();const M=new Set,O=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof r.IdentifierToken;){const P=this.parseField();if("tag"===P.name&&(P.name="_tag"),M.has(P.name))throw new d(`Cannot redeclare argument '${P.name}'`);if(M.add(P.name),O.push(P),!(this.token instanceof r.CommaSymbolToken))break;this.nextToken()}C.struct=new n.StructType(O).atLocation(C.location),this.expect(r.ParensCloseSymbolToken),this.nextToken()}});return b}parseField(){const f=this.expect(r.IdentifierToken);this.nextToken(),this.expect(r.ColonSymbolToken),this.nextToken();const{annotations:b}=this;this.annotations=[];const v=this.parseType(),m=new n.Field(f.value,v).at(f);for(m.annotations=b;this.token instanceof r.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(r.IdentifierToken).value))throw new d(`Unknown field mark !${this.token.value} at ${this.token.location}`);m.secret=!0,this.nextToken()}return m}parseStruct(){const f=this.expect(r.CurlyOpenSymbolToken);this.nextToken();const b=[],v=new Set;let m=!1;for(;!m;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),m=!0},IdentifierToken:()=>{const C=this.parseField();if(v.has(C.name))throw new d(`Cannot redeclare field '${C.name}'`);v.add(C.name),b.push(C)},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const C=this.expect(r.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(C.value[0]))throw new d(`Expected a type but found ${JSON.stringify(C.value)} at ${C.location}`);b.push(new n.Spread(new n.TypeReference(C.value).at(C)).at(C))}});return new n.StructType(b).at(f)}parseType(){this.checkCannotHaveAnnotationsHere();let f=this.multiExpect({CurlyOpenSymbolToken:()=>this.parseStruct(),EnumKeywordToken:()=>this.parseEnum(),IdentifierToken:b=>{if(this.nextToken(),!/[A-Z]/u.test(b.value[0]))throw new d(`Expected a type but found ${JSON.stringify(b.value)} at ${b.location}`);return new n.TypeReference(b.value).at(b)},PrimitiveTypeToken:b=>{this.nextToken();const v=c.primitiveToAstClass.get(b.value);if(v)return(new v).at(b);throw new d(`BUG! Should handle primitive ${b.value}`)}});for(;this.token instanceof r.ArraySymbolToken||this.token instanceof r.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:b=>f=new n.ArrayType(f).at(b),OptionalSymbolToken:b=>f=new n.OptionalType(f).at(b)}),this.nextToken();return f}}},7145:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.parseRestAnnotation=void 0;const n=a(1942);function u(c){var d;const p=new RegExp("\\{(?<name>\\w+)\\}","gu"),_=[];let f;for(;null!==(f=p.exec(c));)null!==(d=f.groups)&&void 0!==d&&d.name&&_.push(f.groups.name);return _}o.parseRestAnnotation=function r(c){const d=c.split(" "),p=d[0].toUpperCase();if(!["GET","POST","PUT","DELETE","PATCH"].includes(p))throw new Error(`Unsupported method '${p}'`);let _=d[1];if(!_.startsWith("/"))throw new Error("Invalid path");let f=[];if(_.includes("?")){const[M,...O]=_.split("?");_=M;const P=O.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(P))throw new Error("Invalid querystring on path");f=u(P)}const b=u(_),v=d.slice(2).join(" "),m=function h(c){var d;const p=new RegExp('\\[header (?<header>[^()<>@,;:\\\\"/[\\]?={}\\s\\t]+): \\{(?<name>\\w+)\\}\\]',"gu"),_=new Map;let f;for(;null!==(f=p.exec(c));)(null===(d=f.groups)||void 0===d?void 0:d.header)&&f.groups.name&&_.set(f.groups.header.toLowerCase(),f.groups.name);return _}(v),C=function y(c){var d;const p=new RegExp("\\[body \\{(?<name>\\w+)\\}\\]","u").exec(c);return null!==(d=null==p?void 0:p.groups)&&void 0!==d&&d.name?p.groups.name:null}(v);return new n.RestAnnotation(p,_,b,f,m,C)}},7629:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckMultipleDeclarationVisitor=void 0;const n=a(3154),h=a(1942);o.CheckMultipleDeclarationVisitor=class y extends n.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(r){if(r instanceof h.TypeDefinition){const c=this.nameToType.get(r.name);if(c&&JSON.stringify(c)!==JSON.stringify(r.type))throw new n.SemanticError(`Type '${r.name}' at ${r.location} is defined multiple times (also at ${c.location})`);this.nameToType.set(r.name,r.type)}super.visit(r)}}},6153:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.GiveStructAndEnumNamesTransformer=void 0;const n=a(9989),h=a(3154),y=a(1942);o.GiveStructAndEnumNamesTransformer=class u extends n.Transformer{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(c){if(c instanceof y.TypeDefinition)return this.path=[c.name],super.transform(c);if(c instanceof y.ErrorNode)return this.path=[`${c.name}Data`],super.transform(c);if(c instanceof y.FunctionOperation)return this.path=[c.name],super.transform(c);if(c instanceof y.Field)try{return this.path.push(c.name),super.transform(c)}finally{this.path.pop()}else{if(!(c instanceof y.EnumValue)){if(c instanceof y.StructType||c instanceof y.EnumType){c.name=this.path.map(p=>p[0].toUpperCase()+p.slice(1)).join("");const d=this.names.get(c.name);if(d){if(d.type.constructor!==c.constructor||JSON.stringify(d.type)!==JSON.stringify(c))throw new h.SemanticError(`The name of the type '${this.path.join(".")}' at ${c.location} will conflict with '${d.path.join(".")}' at ${d.type.location}`);return d.type}return this.names.set(c.name,{path:[...this.path],type:c}),super.transform(c)}return super.transform(c)}try{return this.path.push(c.value),super.transform(c)}finally{this.path.pop()}}}}},9471:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.MatchTypeDefinitionsVisitor=void 0;const n=a(3154),h=a(1942);o.MatchTypeDefinitionsVisitor=class y extends n.Visitor{visit(r){if(r instanceof h.TypeReference){const c=this.root.typeDefinitions.find(d=>d.name===r.name);if(void 0===c)throw new n.SemanticError(`Could not find type '${r.name}' at ${r.location}`);r.type=c.type}super.visit(r)}}},4612:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDontReturnSecretVisitor=void 0;const n=a(3154),h=a(1942);o.CheckDontReturnSecretVisitor=class y extends n.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 h.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 h.TypeReference)this.visit(r.type);else if(r instanceof h.Field){if(this.path.push(r.name),this.isInReturn&&r.secret)throw new n.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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ExpandSpreadsVisitor=void 0;const n=a(3154),h=a(1942);o.ExpandSpreadsVisitor=class y extends n.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(r,c){const d=new Map;for(const p of c){let _;if(p instanceof h.Field)_=[p];else{const f=p.typeReference.type;if(!(f instanceof h.StructType))throw new n.SemanticError(`A spread operator can't refer to something that is not a struct, in '${p.typeReference.name}' at ${p.location}.`);this.visit(f),_=f.fields}for(const f of _){const b=d.get(f.name);b?r[b]=f:(d.set(f.name,r.length),r.push(f))}}}visit(r){if(r instanceof h.StructType){if(this.processed.has(r))return;this.processed.add(r)}super.visit(r),r instanceof h.StructType?(this.expandSpread(r.fields,r.fieldsAndSpreads),r.fieldsAndSpreads=[]):r instanceof h.FunctionOperation&&(this.expandSpread(r.args,r.fieldsAndSpreads),r.fieldsAndSpreads=[])}}},9866:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckEmptyStructOrEnumVisitor=void 0;const n=a(3154),h=a(1942);o.CheckEmptyStructOrEnumVisitor=class y extends n.Visitor{visit(r){if(super.visit(r),r instanceof h.EnumType&&0===r.values.length)throw new n.SemanticError(`Enum '${r.name}' at ${r.location} is empty`);if(r instanceof h.StructType&&0===r.fields.length)throw new n.SemanticError(`Struct '${r.name}' at ${r.location} is empty`)}}},4647:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateRecursiveTypes=void 0;const n=a(3154),h=a(1942);o.ValidateRecursiveTypes=class y extends n.Visitor{visit(r){if(super.visit(r),r instanceof h.TypeDefinition&&this.isRecursiveType(r,r.type)){if(!(r.type instanceof h.StructType||r.type instanceof h.EnumType))throw new n.SemanticError(`Type '${r.name}' at ${r.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(r,r.type))throw new n.SemanticError(`Type '${r.name}' at ${r.location} is infinitely recursive`)}}isRecursiveType(r,c){return c instanceof h.TypeReference?r.name===c.name:c instanceof h.ArrayType||c instanceof h.OptionalType?this.isRecursiveType(r,c.base):c instanceof h.StructType?c.fields.some(d=>this.isRecursiveType(r,d.type)):c instanceof h.EnumType&&c.values.some(d=>d.struct&&this.isRecursiveType(r,d.struct))}isInfinitelyRecursiveType(r,c){return c instanceof h.TypeReference?c.name===r.name:c instanceof h.StructType?c.fields.some(d=>this.isInfinitelyRecursiveType(r,d.type)):c instanceof h.EnumType&&c.values.every(d=>d.struct&&this.isInfinitelyRecursiveType(r,d.struct))}}},2060:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CollectStructAndEnumTypesVisitor=void 0;const n=a(3154),h=a(1942);o.CollectStructAndEnumTypesVisitor=class y extends n.Visitor{constructor(){super(...arguments),this.visited=new Set}visit(r){super.visit(r),!this.visited.has(r)&&(this.visited.add(r),r instanceof h.StructType?this.root.structTypes.push(r):r instanceof h.EnumType&&this.root.enumTypes.push(r))}}},4212:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateAnnotationsVisitor=void 0;const n=a(3154),h=a(1942);function u(c){return c instanceof h.TypeReference?u(c.type):c}o.ValidateAnnotationsVisitor=class r extends n.Visitor{visit(d){if(d instanceof h.EnumValue){for(const p of d.annotations)if(!(p instanceof h.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof h.TypeDefinition){for(const p of d.annotations)if(!(p instanceof h.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof h.Field){for(const p of d.annotations)if(!(p instanceof h.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof h.FunctionOperation){for(const p of d.annotations)if(!(p instanceof h.DescriptionAnnotation))if(p instanceof h.ThrowsAnnotation){if(!this.root.errors.some(_=>_.name===p.error))throw new n.SemanticError(`Unknown error type '${p.error}' at ${p.location}`)}else if(p instanceof h.RestAnnotation){const _=[...p.pathVariables,...p.queryVariables,...p.headers.values()];if(_.length!==new Set(_).size)throw new n.SemanticError(`Arguments must appear only once for rest annotation at ${p.location}`);for(const f of _){const b=d.args.find(m=>m.name===f);if(!b)throw new n.SemanticError(`Argument '${f}' not found at ${p.location}`);if(p.pathVariables.includes(f)&&b.type instanceof h.OptionalType)throw new n.SemanticError(`The path argument '${f}' can't be nullable at ${p.location}`);if(!((c=u(b.type instanceof h.OptionalType?b.type.base:b.type))instanceof h.BoolPrimitiveType||c instanceof h.IntPrimitiveType||c instanceof h.UIntPrimitiveType||c instanceof h.BigIntPrimitiveType||c instanceof h.FloatPrimitiveType||c instanceof h.StringPrimitiveType||c instanceof h.DatePrimitiveType||c instanceof h.DateTimePrimitiveType||c instanceof h.MoneyPrimitiveType||c instanceof h.DecimalPrimitiveType||c instanceof h.CpfPrimitiveType||c instanceof h.CnpjPrimitiveType||c instanceof h.UuidPrimitiveType||c instanceof h.HexPrimitiveType||c instanceof h.Base64PrimitiveType||c instanceof h.EnumType))throw new n.SemanticError(`Argument '${f}' can't have type '${b.type.name}' for rest annotation at ${p.location}`)}for(const f of d.args){if(!_.includes(f.name)&&p.bodyVariable!==f.name)throw new n.SemanticError(`Argument '${f.name}' is missing from the rest annotation at ${p.location}`);const b=[...p.pathVariables,...p.queryVariables];if("GET"===p.method&&b.includes(f.name)&&f.secret)throw new n.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&&d.returnType instanceof h.VoidPrimitiveType)throw new n.SemanticError(`A GET rest endpoint must return something at ${p.location}`)}else if(!(p instanceof h.HiddenAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof h.ErrorNode){for(const p of d.annotations){if(!(p instanceof h.StatusCodeAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`);if(p.statusCode<400||p.statusCode>599)throw new n.SemanticError(`Error status code can only be 4xx or 5xx at ${p.location}`)}if(d.annotations.filter(p=>p instanceof h.StatusCodeAnnotation).length>1)throw new n.SemanticError(`Can't provide more than one status code at ${d.location}`)}var c}}},2098:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDuplicatedMembersOnEnumVisitor=void 0;const n=a(3154),h=a(1942);o.CheckDuplicatedMembersOnEnumVisitor=class y extends n.Visitor{visit(r){if(super.visit(r),r instanceof h.EnumType&&r.values.length!==new Set(r.values.map(c=>c.value)).size)throw new n.SemanticError(`Enum '${r.name}' at ${r.location} has duplicated members`)}}},6758:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.analyse=void 0;const n=a(7629),h=a(6153),y=a(9471),u=a(4612),r=a(4978),c=a(9866),d=a(4647),p=a(2060),_=a(4212),f=a(2098),b=a(1942);o.analyse=function v(m){m.errors.some(C=>"Fatal"===C.name)||m.errors.push(new b.ErrorNode("Fatal",new b.VoidPrimitiveType)),new n.CheckMultipleDeclarationVisitor(m).process(),new h.GiveStructAndEnumNamesTransformer(m).process(),new y.MatchTypeDefinitionsVisitor(m).process(),new u.CheckDontReturnSecretVisitor(m).process(),new r.ExpandSpreadsVisitor(m).process(),new c.CheckEmptyStructOrEnumVisitor(m).process(),new d.ValidateRecursiveTypes(m).process(),new p.CollectStructAndEnumTypesVisitor(m).process(),new _.ValidateAnnotationsVisitor(m).process(),new f.CheckDuplicatedMembersOnEnumVisitor(m).process()}},9989:(H,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(c=>this.transform(c)),r.fieldsAndSpreads=r.fieldsAndSpreads.map(c=>this.transform(c)),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(c=>this.transform(c)),r.fieldsAndSpreads=r.fieldsAndSpreads.map(c=>this.transform(c))):r instanceof n.EnumType?r.values=r.values.map(c=>this.transform(c)):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:(H,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 c of r.args)this.visit(c);for(const c of r.fieldsAndSpreads)this.visit(c);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 c of r.fields)this.visit(c);for(const c of r.fieldsAndSpreads)this.visit(c)}else if(r instanceof n.EnumType)for(const c of r.values)this.visit(c);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:(H,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(me=""){this.value=me,this.location=new a,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const me=this.constructor.name.replace("Token","");return""===this.value?me:`${me}(${JSON.stringify(this.value)})`}}o.Token=n;class h extends n{}o.IdentifierToken=h,o.StringLiteralToken=class y extends n{},o.EqualSymbolToken=class u extends n{},o.ExclamationMarkSymbolToken=class r extends n{},o.CurlyOpenSymbolToken=class c extends n{},o.CurlyCloseSymbolToken=class d extends n{},o.ParensOpenSymbolToken=class p extends n{},o.ParensCloseSymbolToken=class _ extends n{},o.ColonSymbolToken=class f extends n{},o.OptionalSymbolToken=class b extends n{},o.ArraySymbolToken=class v extends n{},o.CommaSymbolToken=class m extends n{},o.SpreadSymbolToken=class C extends n{},o.AnnotationToken=class M extends n{},o.ImportKeywordToken=class O extends n{maybeAsIdentifier(){return new h("import")}},o.TypeKeywordToken=class P extends n{maybeAsIdentifier(){return new h("type")}},o.EnumKeywordToken=class L extends n{maybeAsIdentifier(){return new h("enum")}},o.FnKeywordToken=class Q extends n{maybeAsIdentifier(){return new h("fn")}},o.ErrorKeywordToken=class $ extends n{maybeAsIdentifier(){return new h("error")}},o.TrueKeywordToken=class z extends n{maybeAsIdentifier(){return new h("true")}},o.FalseKeywordToken=class V extends n{maybeAsIdentifier(){return new h("false")}},o.PrimitiveTypeToken=class X extends n{maybeAsIdentifier(){return new h(this.value)}}},6569:(H,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("decimal",n.DecimalPrimitiveType),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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppComponent=void 0;const n=a(7582),h=a(3075),y=a(7179),u=a(1823),r=a(2863),c=a(7402),d=a(7295),p=a(2911),_=a(4327),f=n.__importStar(a(5e3)),b=n.__importStar(a(6395)),v=n.__importStar(a(2313)),m=n.__importStar(a(3293)),C=n.__importStar(a(9808)),M=n.__importStar(a(107)),O=n.__importStar(a(7423)),P=n.__importStar(a(1451)),L=n.__importStar(a(3251)),Q=n.__importStar(a(7238)),$=n.__importStar(a(7822)),z=n.__importStar(a(2253)),V=n.__importStar(a(4264)),X=n.__importStar(a(5585));function re(te,fe){1&te&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"Editor Avan\xe7ado"),f.\u0275\u0275elementContainerEnd())}function me(te,fe){if(1&te&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275elementStart(1,"span",20),f.\u0275\u0275text(2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementContainerEnd()),2&te){const W=f.\u0275\u0275nextContext(2).$implicit;f.\u0275\u0275advance(2),f.\u0275\u0275textInterpolate1("\u25b6\xa0",W.function,"")}}function Re(te,fe){if(1&te){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"span",17),f.\u0275\u0275template(1,re,2,0,"ng-container",18),f.\u0275\u0275template(2,me,3,1,"ng-container",18),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"button",19),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(W);const G=f.\u0275\u0275nextContext().$implicit,K=f.\u0275\u0275nextContext(2);return f.\u0275\u0275resetView(K.closeTab(G))}),f.\u0275\u0275elementStart(4,"mat-icon"),f.\u0275\u0275text(5,"close"),f.\u0275\u0275elementEnd()()}if(2&te){const W=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275property("ngSwitch",W.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","advanced"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","simple")}}function it(te,fe){1&te&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275element(1,"app-tab-editor"),f.\u0275\u0275elementContainerEnd())}function Ce(te,fe){if(1&te&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275element(1,"app-simple-call",21),f.\u0275\u0275elementContainerEnd()),2&te){const W=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275advance(1),f.\u0275\u0275property("fn",W.function)}}function xe(te,fe){if(1&te&&(f.\u0275\u0275elementStart(0,"mat-tab"),f.\u0275\u0275template(1,Re,6,3,"ng-template",16),f.\u0275\u0275elementContainerStart(2,17),f.\u0275\u0275template(3,it,2,0,"ng-container",18),f.\u0275\u0275template(4,Ce,2,1,"ng-container",18),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementEnd()),2&te){const W=fe.$implicit;f.\u0275\u0275advance(2),f.\u0275\u0275property("ngSwitch",W.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","advanced"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","simple")}}function oe(te,fe){if(1&te){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"button",22),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(W);const G=f.\u0275\u0275nextContext(2);return f.\u0275\u0275resetView(G.addAdvancedTab())}),f.\u0275\u0275elementStart(1,"mat-icon"),f.\u0275\u0275text(2,"add_circle"),f.\u0275\u0275elementEnd()()}}function Ie(te,fe){if(1&te&&(f.\u0275\u0275elementStart(0,"button",23)(1,"mat-icon"),f.\u0275\u0275text(2,"download"),f.\u0275\u0275elementEnd()()),2&te){f.\u0275\u0275nextContext(2);const W=f.\u0275\u0275reference(5);f.\u0275\u0275property("matMenuTriggerFor",W)}}function ze(te,fe){if(1&te){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-tab-group",11),f.\u0275\u0275listener("selectedIndexChange",function(G){f.\u0275\u0275restoreView(W);const K=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(K.selected.setValue(G))}),f.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),f.\u0275\u0275listener("runFunction",function(G){f.\u0275\u0275restoreView(W);const K=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(K.addSimpleTab(G))}),f.\u0275\u0275elementEnd()(),f.\u0275\u0275template(3,xe,5,3,"mat-tab",14),f.\u0275\u0275elementStart(4,"mat-tab",15),f.\u0275\u0275template(5,oe,3,0,"ng-template",16),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(6,"mat-tab",15),f.\u0275\u0275template(7,Ie,3,1,"ng-template",16),f.\u0275\u0275elementEnd()()}if(2&te){const W=f.\u0275\u0275nextContext();f.\u0275\u0275property("selectedIndex",W.selected.value),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngForOf",W.tabs)}}class qe{constructor(fe,W,x){this.sdkgen=fe,this.domSanitizer=W,this.matIconRegistry=x,this.selected=new h.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const G of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(G,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${G}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(fe=>{this.state=null!=fe?fe:void 0})}ngOnDestroy(){var fe;null===(fe=this.state$)||void 0===fe||fe.unsubscribe()}addSimpleTab(fe){this.tabs.push({id:this.tabIndex++,function:fe,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(fe){this.tabs.splice(this.tabs.indexOf(fe),1),this.selected.setValue(0)}downloadTarget(fe){if(!this.state)return;let W,x;switch(fe){case"typescript_nodeserver":W=(0,p.generateNodeServerSource)(this.state.astRoot),x="node-server.ts";break;case"typescript_nodeclient":W=(0,p.generateNodeClientSource)(this.state.astRoot),x="node-client.ts";break;case"typescript_web":W=(0,p.generateBrowserClientSource)(this.state.astRoot),x="web-client.ts";break;case"typescript_interfaces":W=(0,p.generateTypescriptInterfaces)(this.state.astRoot),x="interfaces.ts";break;case"flutter":W=(0,u.generateDartClientSource)(this.state.astRoot),x="flutter-client.dart";break;case"csharp_server":W=(0,y.generateCSharpServerSource)(this.state.astRoot),x="csharp-server.cs";break;case"fsharp_server":W=(0,r.generateFSharpServerSource)(this.state.astRoot),x="fsharp-server.fs";break;case"kotlin_android":W=(0,c.generateAndroidClientSource)(this.state.astRoot,!0),x="android-client.kt";break;case"kotlin_android_without_callbacks":W=(0,c.generateAndroidClientSource)(this.state.astRoot,!1),x="android-client-no-callbacks.kt";break;case"swift_ios":W=(0,d.generateSwiftClientSource)(this.state.astRoot,!1),x="ios-client.swift";break;case"rxswift_ios":W=(0,d.generateSwiftClientSource)(this.state.astRoot,!0),x="ios-client-rx.swift"}(0,_.saveAs)(new Blob([W],{type:"application/octet-stream"}),x)}}o.AppComponent=qe,qe.\u0275fac=function(fe){return new(fe||qe)(f.\u0275\u0275directiveInject(b.SdkgenService),f.\u0275\u0275directiveInject(v.DomSanitizer),f.\u0275\u0275directiveInject(m.MatIconRegistry))},qe.\u0275cmp=f.\u0275\u0275defineComponent({type:qe,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(fe,W){1&fe&&(f.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),f.\u0275\u0275template(2,ze,8,2,"mat-tab-group",1),f.\u0275\u0275pipe(3,"async"),f.\u0275\u0275elementStart(4,"mat-menu",null,2),f.\u0275\u0275element(6,"div",3),f.\u0275\u0275elementStart(7,"button",4),f.\u0275\u0275text(8,"Cliente"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(9,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("typescript_nodeclient")}),f.\u0275\u0275element(10,"mat-icon",6),f.\u0275\u0275text(11,"Node.js"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(12,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("typescript_web")}),f.\u0275\u0275element(13,"mat-icon",6),f.\u0275\u0275text(14,"Web"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(15,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("flutter")}),f.\u0275\u0275element(16,"mat-icon",7),f.\u0275\u0275text(17,"Flutter"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(18,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("kotlin_android")}),f.\u0275\u0275element(19,"mat-icon",8),f.\u0275\u0275text(20,"Android"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(21,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("kotlin_android_without_callbacks")}),f.\u0275\u0275element(22,"mat-icon",8),f.\u0275\u0275text(23,"Android (sem callbacks)"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(24,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("swift_ios")}),f.\u0275\u0275element(25,"mat-icon",9),f.\u0275\u0275text(26,"iOS"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(27,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("rxswift_ios")}),f.\u0275\u0275element(28,"mat-icon",9),f.\u0275\u0275text(29,"iOS (Rx)"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(30,"button",4),f.\u0275\u0275text(31,"Servidor"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(32,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("typescript_nodeserver")}),f.\u0275\u0275element(33,"mat-icon",6),f.\u0275\u0275text(34,"Node.js"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(35,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("csharp_server")}),f.\u0275\u0275element(36,"mat-icon",10),f.\u0275\u0275text(37,"C#"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("fsharp_server")}),f.\u0275\u0275element(39,"mat-icon",10),f.\u0275\u0275text(40,"F#"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(41,"button",4),f.\u0275\u0275text(42,"Outros"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(43,"button",5),f.\u0275\u0275listener("click",function(){return W.downloadTarget("typescript_interfaces")}),f.\u0275\u0275element(44,"mat-icon",6),f.\u0275\u0275text(45,"Interfaces"),f.\u0275\u0275elementEnd()()),2&fe&&(f.\u0275\u0275advance(2),f.\u0275\u0275property("ngIf",f.\u0275\u0275pipeBind1(3,1,W.sdkgen.state$)))},dependencies:[C.NgForOf,C.NgIf,C.NgSwitch,C.NgSwitchCase,M.MonacoEditorComponent,O.MatButton,m.MatIcon,P.MatMenu,P.MatMenuItem,P.MatMenuTrigger,L.MatTabGroup,L.MatTabLabel,L.MatTab,Q.MatTooltip,$.SimpleCallComponent,z.TabNavComponent,V.TabEditorComponent,X.TabHomeComponent,C.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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppModule=void 0;const n=a(7582),h=a(6529),y=a(3075),u=a(7423),r=a(9417),c=a(508),d=a(9694),p=a(3293),_=a(1451),f=a(4999),b=a(3251),v=a(7238),m=a(2313),C=a(6360),M=a(107),O=a(1430),P=a(1017),L=a(2290),Q=a(5041),$=n.__importStar(a(5e3));n.__importStar(a(2290));class V{}o.AppModule=V,V.\u0275fac=function(re){return new(re||V)},V.\u0275mod=$.\u0275\u0275defineNgModule({type:V,bootstrap:[Q.AppComponent]}),V.\u0275inj=$.\u0275\u0275defineInjector({providers:[{provide:M.MONACO_PATH,useValue:"assets/vs"}],imports:[m.BrowserModule,y.FormsModule,y.ReactiveFormsModule,M.MonacoEditorModule,C.BrowserAnimationsModule,P.NgxJsonViewerModule,L.ToastrModule.forRoot(),O.AngularSplitModule,h.HttpClientModule,u.MatButtonModule,r.MatChipsModule,d.MatDialogModule,p.MatIconModule,_.MatMenuModule,c.MatRippleModule,f.MatTableModule,b.MatTabsModule,v.MatTooltipModule]})},8495:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleComponent=void 0;const n=a(7582),h=a(9972),y=n.__importStar(a(5e3)),u=n.__importStar(a(9808)),r=n.__importStar(a(1017)),c=n.__importStar(a(7423)),d=n.__importStar(a(3293));function p(C,M){1&C&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"info_outline"),y.\u0275\u0275elementContainerEnd())}function _(C,M){1&C&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"error"),y.\u0275\u0275elementContainerEnd())}function f(C,M){1&C&&(y.\u0275\u0275elementContainerStart(0),y.\u0275\u0275text(1,"public"),y.\u0275\u0275elementContainerEnd())}function b(C,M){if(1&C&&y.\u0275\u0275element(0,"ngx-json-viewer",6),2&C){const O=y.\u0275\u0275nextContext().$implicit;y.\u0275\u0275property("json",O.details)("expanded",!1)}}function v(C,M){if(1&C&&(y.\u0275\u0275elementStart(0,"li",2)(1,"mat-icon",3),y.\u0275\u0275template(2,p,2,0,"ng-container",4),y.\u0275\u0275template(3,_,2,0,"ng-container",4),y.\u0275\u0275template(4,f,2,0,"ng-container",4),y.\u0275\u0275elementEnd(),y.\u0275\u0275elementStart(5,"span"),y.\u0275\u0275text(6),y.\u0275\u0275elementEnd(),y.\u0275\u0275template(7,b,1,2,"ngx-json-viewer",5),y.\u0275\u0275elementEnd()),2&C){const O=M.$implicit,P=y.\u0275\u0275nextContext();y.\u0275\u0275property("ngClass",O.type),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitch",O.type)("ngClass",O.type),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",P.itemTypes.INFO),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",P.itemTypes.ERROR),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngSwitchCase",P.itemTypes.NETWORK),y.\u0275\u0275advance(2),y.\u0275\u0275textInterpolate(O.message),y.\u0275\u0275advance(1),y.\u0275\u0275property("ngIf",O.details)}}class m{constructor(){this.itemTypes=h.ConsoleItemType,this.items=[]}}o.ConsoleComponent=m,m.\u0275fac=function(M){return new(M||m)},m.\u0275cmp=y.\u0275\u0275defineComponent({type:m,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(M,O){1&M&&(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 O.items.splice(0,O.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&M&&(y.\u0275\u0275advance(8),y.\u0275\u0275property("ngForOf",O.items))},dependencies:[u.NgClass,u.NgForOf,u.NgIf,u.NgSwitch,u.NgSwitchCase,r.NgxJsonViewerComponent,c.MatButton,d.MatIcon],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 rgb(231,231,231);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:(H,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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.DialogAboutComponent=void 0;const n=a(7582),h=a(4147),y=n.__importStar(a(5e3)),u=n.__importStar(a(7423)),r=n.__importStar(a(9417)),c=n.__importStar(a(9694)),d=n.__importStar(a(3293));class p{constructor(){this.version=h.version}}o.DialogAboutComponent=p,p.\u0275fac=function(f){return new(f||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(f,b){1&f&&(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&f&&(y.\u0275\u0275advance(3),y.\u0275\u0275property("selectable",!1),y.\u0275\u0275advance(1),y.\u0275\u0275property("disableRipple",!0),y.\u0275\u0275advance(1),y.\u0275\u0275textInterpolate(b.version))},dependencies:[u.MatButton,u.MatAnchor,r.MatChipList,r.MatChip,c.MatDialogClose,c.MatDialogTitle,d.MatIcon],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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.FilterPipe=void 0;const h=a(7582).__importStar(a(5e3));class y{transform(r,c){if(!r)return[];if(!c)return r;const d=c.toLocaleLowerCase();return r.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(d))}}o.FilterPipe=y,y.\u0275fac=function(r){return new(r||y)},y.\u0275pipe=h.\u0275\u0275definePipe({name:"appFilter",type:y,pure:!0})},7120:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ResponsiveService=void 0;const n=a(7582),h=n.__importStar(a(5e3)),y=n.__importStar(a(5113));class u{constructor(c){this.observer=c}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}}o.ResponsiveService=u,u.\u0275fac=function(c){return new(c||u)(h.\u0275\u0275inject(y.BreakpointObserver))},u.\u0275prov=h.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})},9435:(H,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(c){switch(c.constructor){case n.StringPrimitiveType:return"StringPrimitiveType";case n.IntPrimitiveType:return"IntPrimitiveType";case n.UIntPrimitiveType:return"UIntPrimitiveType";case n.FloatPrimitiveType:return"FloatPrimitiveType";case n.BigIntPrimitiveType:return"BigIntPrimitiveType";case n.MoneyPrimitiveType:return"MoneyPrimitiveType";case n.DecimalPrimitiveType:return"DecimalPrimitiveType";case n.DatePrimitiveType:return"DatePrimitiveType";case n.DateTimePrimitiveType:return"DateTimePrimitiveType";case n.BoolPrimitiveType:return"BoolPrimitiveType";case n.VoidPrimitiveType:return"VoidPrimitiveType";case n.CpfPrimitiveType:return"CpfPrimitiveType";case n.CnpjPrimitiveType:return"CnpjPrimitiveType";case n.EmailPrimitiveType:return"EmailPrimitiveType";case n.UrlPrimitiveType:return"UrlPrimitiveType";case n.UuidPrimitiveType:return"UuidPrimitiveType";case n.HexPrimitiveType:return"HexPrimitiveType";case n.HtmlPrimitiveType:return"HtmlPrimitiveType";case n.BytesPrimitiveType:return"BytesPrimitiveType";case n.Base64PrimitiveType:return"Base64PrimitiveType";case n.XmlPrimitiveType:return"XmlPrimitiveType";case n.JsonPrimitiveType:return"JsonPrimitiveType";case n.OptionalType:return"OptionalType";case n.EnumType:return"EnumType";case n.ArrayType:return"ArrayType";case n.StructType:return"StructType";default:return c.constructor.name}}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.",DecimalPrimitiveType:"Um n\xfamero inteiro ou fracionado representado por d\xedgitos decimais e com precis\xe3o din\xe2mica. \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"],DecimalPrimitiveType:["100","-10.35","0.00498375617834","3864958512342567"],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 u(c){const d=[];switch(c.constructor){case n.StringPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.FloatPrimitiveType:case n.BigIntPrimitiveType:case n.MoneyPrimitiveType:case n.DecimalPrimitiveType: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:d.push("Primitivo");break;case n.OptionalType:d.push("Opcional"),d.push(...u(c.base));break;case n.TypeReference:d.push(...u(c.type));break;case n.ArrayType:d.push("Array"),d.push(...u(c.base));break;case n.EnumType:d.push("Enum");break;default:console.error("No labels for",y(c))}return d},o.getTypeDoc=function r(c){var d,p,_;switch(c.constructor){case n.StringPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.FloatPrimitiveType:case n.BigIntPrimitiveType:case n.MoneyPrimitiveType:case n.DecimalPrimitiveType: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(c)],shortDescription:o.primitiveTypes[y(c)],examples:o.primitiveTypesExamples[y(c)]};case n.OptionalType:{const m=r(c.base);return Object.assign(Object.assign({},m),{longDescription:m.longDescription,shortDescription:`(opcional) ${m.shortDescription}`,examples:["null",...null!==(d=m.examples)&&void 0!==d?d:[]]})}case n.TypeReference:return r(c.type);case n.ArrayType:{const m=r(c.base);return Object.assign(Object.assign({},m),{longDescription:m.longDescription,shortDescription:`(array) ${m.shortDescription}`,examples:["[]",...null!==(_=null===(p=m.examples)||void 0===p?void 0:p.map(C=>`[${C}]`))&&void 0!==_?_:[]]})}case n.EnumType:const f=c,b=f.values.slice(0,3),v=b.map(m=>m.struct?`${m.value}: ${JSON.stringify((new h.SdkgenService).buildJsonObject(m.struct.fields),null,2)}`:m.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${b.map(m=>`${m.value}${m.struct?"(\u2026)":""}`).join(", ")}${b.length>3?"\u2026":""}`,examples:v,isEnum:!0,isStruct:!0,structFields:f.values.map(m=>{var C;return{name:m.value,type:m.struct,description:null===(C=m.annotations.find(M=>M instanceof n.DescriptionAnnotation))||void 0===C?void 0:C.text,secret:!1}})};case n.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${c.fields.slice(0,3).map(m=>m.name).join(", ")}\u2026`,isStruct:!0,structFields:c.fields.map(m=>{var C;return{name:m.name,description:null===(C=m.annotations.find(M=>M instanceof n.DescriptionAnnotation))||void 0===C?void 0:C.text,type:m.type,secret:m.secret}}),examples:[JSON.stringify((new h.SdkgenService).buildJsonObject(c.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},6395:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SdkgenService=void 0;const tslib_1=__webpack_require__(7582),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(H,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.DecimalPrimitiveType:return"0.00";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 H.reduce((n,h)=>(n[h.name]=a(h.type),n),{})}getTypeScriptCode(H,o){return`await client.${H}(${JSON.stringify(o,null,2)});\n`}buildKotlinString(H,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.DecimalPrimitiveType:return'BigDecimal("0.00")';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 H.map(n=>`${" ".repeat(o+1)}${a(n.type)}`).join(",\n")}getKotlinCode(H,o){return 0===o.length?`client.${H}().await();`:`client.${H}(\n${this.buildKotlinString(o)}\n).await();`}getDartCode(H,o){return'print("todo");'}getSwiftCode(H,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:(H,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 H(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__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SimpleCallComponent=void 0;const tslib_1=__webpack_require__(7582),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__(3075)),i3=tslib_1.__importStar(__webpack_require__(107)),i4=tslib_1.__importStar(__webpack_require__(1017)),i5=tslib_1.__importStar(__webpack_require__(1430)),i6=tslib_1.__importStar(__webpack_require__(7423)),i7=tslib_1.__importStar(__webpack_require__(3293)),i8=tslib_1.__importStar(__webpack_require__(3251)),i9=tslib_1.__importStar(__webpack_require__(8495));class SimpleCallComponent{constructor(H){this.sdkgen=H,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.initialExtras='{\n "key": "value"\n}\n',this.extras=this.initialExtras,this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(H=>{!H||(this.generateFunctionCode(H.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(H.url,H.astJson))})}ngOnDestroy(){var H;null===(H=this.state$)||void 0===H||H.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){var _a;{const events=_this.consoleItems;eval(code_execution_1.wrapper)}try{if(_this.extras&&_this.extras!==_this.initialExtras){const o=JSON.parse(_this.extras),a=Object.keys(o);for(const n of a)null===(_a=_this.client)||void 0===_a||_a.extra.set(n,o[n])}const H=_this.client[_this.fn](JSON.parse(_this.code));_this.response={result:yield H}}catch(H){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:H.toString()}),delete H.toString,_this.response={error:{type:H.type,message:H.message,data:H.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(2)}})()}generateFunctionCode(H,o){var a;const n=null===(a=H.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 H(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:14,vars:9,consts:[["direction","vertical"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"click"],[3,"options","ngModel","ngModelChange"],["label","Extras"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function H(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)(9,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(h){return a.extras=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(10,"mat-tab",6),i0.\u0275\u0275element(11,"ngx-json-viewer",7),i0.\u0275\u0275elementEnd()()(),i0.\u0275\u0275elementStart(12,"as-split-area",8),i0.\u0275\u0275element(13,"app-console",9),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(2),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.extras),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))},dependencies:[i2.NgControlStatus,i2.NgModel,i3.MonacoEditorComponent,i4.NgxJsonViewerComponent,i5.SplitComponent,i5.SplitAreaDirective,i6.MatButton,i7.MatIcon,i8.MatTabGroup,i8.MatTab,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__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabEditorComponent=void 0;const tslib_1=__webpack_require__(7582),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__(3075)),i3=tslib_1.__importStar(__webpack_require__(107)),i4=tslib_1.__importStar(__webpack_require__(1430)),i5=tslib_1.__importStar(__webpack_require__(7423)),i6=tslib_1.__importStar(__webpack_require__(3293)),i7=tslib_1.__importStar(__webpack_require__(8495));class TabEditorComponent{constructor(H){this.sdkgen=H,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(H=>{if(!H)return;const o=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(H.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(H.url,H.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]=H.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){var H;null===(H=this.state$)||void 0===H||H.unsubscribe()}patchBrowserClientSource(H){return`declare namespace sdkgen {\n${H.substring(95,H.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(H){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:H.toString()})}})()}}exports.TabEditorComponent=TabEditorComponent,TabEditorComponent.\u0275fac=function H(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 H(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))},dependencies:[i2.NgControlStatus,i2.NgModel,i3.MonacoEditorComponent,i4.SplitComponent,i4.SplitAreaDirective,i5.MatButton,i6.MatIcon,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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TabHomeComponent=void 0;const n=a(7582),h=a(5e3),y=a(9435),u=a(5281),r=n.__importStar(a(5e3)),c=n.__importStar(a(6395)),d=n.__importStar(a(9694)),p=n.__importStar(a(7120)),_=n.__importStar(a(9808)),f=n.__importStar(a(3075)),b=n.__importStar(a(107)),v=n.__importStar(a(1430)),m=n.__importStar(a(7423)),C=n.__importStar(a(9417)),M=n.__importStar(a(3293)),O=n.__importStar(a(4999)),P=n.__importStar(a(3251)),L=n.__importStar(a(7238)),Q=n.__importStar(a(4211));function $(pe,We){if(1&pe&&(r.\u0275\u0275elementStart(0,"span",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&pe){const Be=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.description)}}const z=function(pe){return{active:pe}};function V(pe,We){if(1&pe){const Be=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li",5),r.\u0275\u0275listener("click",function(){const we=r.\u0275\u0275restoreView(Be).$implicit,He=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(He.selectedFunction=we)}),r.\u0275\u0275elementStart(1,"span",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,$,2,1,"span",7),r.\u0275\u0275elementEnd()}if(2&pe){const Be=We.$implicit,Ke=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(3,z,(null==Ke.selectedFunction?null:Ke.selectedFunction.name)===Be.name)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(Be.name),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Be.description)}}function X(pe,We){1&pe&&r.\u0275\u0275element(0,"span")}function re(pe,We){if(1&pe){const Be=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 we=r.\u0275\u0275restoreView(Be).$implicit,He=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(He.showDocumentation(we.rawType))}),r.\u0275\u0275text(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(10,X,1,0,"span",38),r.\u0275\u0275elementEnd()}if(2&pe){const Be=We.$implicit,Ke=We.index;r.\u0275\u0275nextContext();const Y=r.\u0275\u0275reference(18),we=r.\u0275\u0275reference(20),He=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Be.name),r.\u0275\u0275advance(4),r.\u0275\u0275property("matTooltip",He.getTooltip(Be.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.type),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ke!=He.selectedFunction.args.length-1)("ngIfThen",Y)("ngIfElse",we)}}function me(pe,We){1&pe&&r.\u0275\u0275text(0,",")}function Re(pe,We){1&pe&&r.\u0275\u0275element(0,"br")}function it(pe,We){if(1&pe){const Be=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"u",29),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Be);const Y=r.\u0275\u0275nextContext().$implicit,we=r.\u0275\u0275nextContext(3);return r.\u0275\u0275resetView(we.showDocumentation(Y.dataType))}),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()}if(2&pe){const Be=r.\u0275\u0275nextContext().$implicit,Ke=r.\u0275\u0275nextContext(3);r.\u0275\u0275property("matTooltip",Ke.getTooltip(Be.dataType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("(",Be.dataType.name,")")}}function Ce(pe,We){if(1&pe&&(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,it,2,2,"u",43),r.\u0275\u0275elementEnd()()),2&pe){const Be=We.$implicit;r.\u0275\u0275property("disableRipple",!0),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(Be.name),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1("",Be.type," "),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Be.dataType&&"void"!==Be.dataType.name)}}function xe(pe,We){if(1&pe&&(r.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-list",40),r.\u0275\u0275template(2,Ce,7,4,"mat-chip",41),r.\u0275\u0275elementEnd()()),2&pe){const Be=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("selectable",!1),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Be.selectedFunction.labels)}}function oe(pe,We){if(1&pe&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&pe){const Be=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.selectedFunction.description)}}function Ie(pe,We){1&pe&&(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 ze(pe,We){1&pe&&(r.\u0275\u0275elementStart(0,"p",44),r.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),r.\u0275\u0275elementEnd())}function qe(pe,We){1&pe&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Nome"),r.\u0275\u0275elementEnd())}function te(pe,We){if(1&pe&&(r.\u0275\u0275elementStart(0,"td",55),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&pe){const Be=We.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.name)}}function fe(pe,We){1&pe&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Tipo"),r.\u0275\u0275elementEnd())}function W(pe,We){if(1&pe){const Be=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",55)(1,"u",29),r.\u0275\u0275listener("click",function(){const we=r.\u0275\u0275restoreView(Be).$implicit,He=r.\u0275\u0275nextContext(3);return r.\u0275\u0275resetView(He.showDocumentation(we.rawType))}),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&pe){const Be=We.$implicit,Ke=r.\u0275\u0275nextContext(3);r.\u0275\u0275advance(1),r.\u0275\u0275property("matTooltip",Ke.getTooltip(Be.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.type)}}function x(pe,We){1&pe&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Descri\xe7\xe3o"),r.\u0275\u0275elementEnd())}function G(pe,We){if(1&pe&&(r.\u0275\u0275elementStart(0,"td",56),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&pe){const Be=We.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.description||"-")}}function K(pe,We){1&pe&&r.\u0275\u0275element(0,"tr",57)}function ne(pe,We){1&pe&&r.\u0275\u0275element(0,"tr",58)}function ve(pe,We){if(1&pe&&(r.\u0275\u0275elementStart(0,"table",45),r.\u0275\u0275elementContainerStart(1,46),r.\u0275\u0275template(2,qe,2,0,"th",47),r.\u0275\u0275template(3,te,2,1,"td",48),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementContainerStart(4,49),r.\u0275\u0275template(5,fe,2,0,"th",47),r.\u0275\u0275template(6,W,3,2,"td",48),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementContainerStart(7,50),r.\u0275\u0275template(8,x,2,0,"th",47),r.\u0275\u0275template(9,G,2,1,"td",51),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275template(10,K,1,0,"tr",52),r.\u0275\u0275template(11,ne,1,0,"tr",53),r.\u0275\u0275elementEnd()),2&pe){const Be=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("dataSource",Be.selectedFunction.args),r.\u0275\u0275advance(10),r.\u0275\u0275property("matHeaderRowDef",Be.argumentsTableColumns),r.\u0275\u0275advance(1),r.\u0275\u0275property("matRowDefColumns",Be.argumentsTableColumns)}}function ge(pe,We){1&pe&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Dart"),r.\u0275\u0275elementEnd())}function Le(pe,We){1&pe&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Swift"),r.\u0275\u0275elementEnd())}const ct=function(){return{theme:"vs-dark",language:"javascript"}},ft=function(){return{theme:"vs-dark",language:"kotlin"}},gt=function(){return{theme:"vs-dark",language:"dart"}},ut=function(){return{theme:"vs-dark",language:"swift"}};function je(pe,We){if(1&pe){const Be=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,re,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(Be);const Y=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Y.showDocumentation(Y.selectedFunction.returns.rawType))}),r.\u0275\u0275text(16),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(17,me,1,0,"ng-template",null,16,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(19,Re,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(){r.\u0275\u0275restoreView(Be);const Y=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Y.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,xe,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,oe,2,1,"p",22),r.\u0275\u0275template(32,Ie,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,ze,2,0,"p",23),r.\u0275\u0275elementStart(37,"div",25),r.\u0275\u0275template(38,ve,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(Be);const Y=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Y.showDocumentation(Y.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,ge,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,Le,2,0,"ng-template",36),r.\u0275\u0275element(57,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd()()()()}if(2&pe){const Be=r.\u0275\u0275nextContext();r.\u0275\u0275advance(8),r.\u0275\u0275textInterpolate(Be.selectedFunction.name),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",Be.selectedFunction.args),r.\u0275\u0275advance(5),r.\u0275\u0275property("matTooltip",Be.getTooltip(Be.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.selectedFunction.returns.type),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngIf",Be.selectedFunction.labels.length>0),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngSwitch",!!Be.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",Be.selectedFunction.args.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",0),r.\u0275\u0275advance(7),r.\u0275\u0275property("matTooltip",Be.getTooltip(Be.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.selectedFunction.returns.type),r.\u0275\u0275advance(5),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(20,ct))("ngModel",Be.selectedFunction.examples.typeScript),r.\u0275\u0275advance(2),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(21,ft))("ngModel",Be.selectedFunction.examples.kotlin),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(22,gt))("ngModel",Be.selectedFunction.examples.dart),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(23,ut))("ngModel",Be.selectedFunction.examples.swift)}}const Te=function(){return{standalone:!0}};class Fe{constructor(We,Be,Ke){this.sdkgen=We,this.dialog=Be,this.responsive=Ke,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(We=>{!We||(this.selectedFunction=void 0,this.fnTable=We.astRoot.operations.sort((Be,Ke)=>Be.name.localeCompare(Ke.name)).map(Be=>{var Ke,Y,we;const He=We.astJson.annotations[`fn.${Be.name}`],Ve=this.sdkgen.buildJsonObject(Be.args);return null!=He&&He.find(Ue=>"hidden"===Ue.type)?null:{name:Be.name,description:null===(Ke=null==He?void 0:He.find(Ue=>"description"===Ue.type))||void 0===Ke?void 0:Ke.value,args:Be.args.map(({name:Ue,type:be})=>{var $e,dt,Pe;return{name:Ue,description:null===(Pe=[...null!==($e=We.astJson.annotations[`type.${be}.${Ue}`])&&void 0!==$e?$e:[],...null!==(dt=We.astJson.annotations[`fn.${Be.name}.${Ue}`])&&void 0!==dt?dt:[]].find(ye=>"description"===ye.type))||void 0===Pe?void 0:Pe.value,type:be.name,rawType:be}}),argsStr:Be.args.map(Ue=>`${Ue.name}: ${Ue.type.name}`).join(", "),argsFields:Be.args,returns:{type:Be.returnType.name,rawType:Be.returnType},labels:null!==(Y=null==He?void 0:He.filter(Ue=>["rest","throws"].includes(Ue.type)).map(Ue=>{var be;return"rest"===Ue.type?{name:"REST",type:`${Ue.value.method} ${Ue.value.path}`}:"throws"===Ue.type?{name:"THROWS",type:Ue.value,dataType:null===(be=We.astRoot.errors.find($e=>$e.name===Ue.value))||void 0===be?void 0:be.dataType}:{name:"?",type:"?"}}))&&void 0!==Y?Y:[],throws:null===(we=null==He?void 0:He.find(Ue=>"throws"===Ue.type))||void 0===we?void 0:we.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(Be.name,Ve),kotlin:this.sdkgen.getKotlinCode(Be.name,Be.args),dart:this.sdkgen.getDartCode(Be.name,Ve),swift:this.sdkgen.getSwiftCode(Be.name,Ve)}}}).filter(Be=>Boolean(Be)))})}ngOnDestroy(){var We,Be;null===(We=this.state$)||void 0===We||We.unsubscribe(),null===(Be=this.responsive$)||void 0===Be||Be.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(We=>{this.isBelowMd=We.matches})}addSimpleCallTab(){var We;this.runFunction.emit(null===(We=this.selectedFunction)||void 0===We?void 0:We.name)}getTooltip(We){return(0,y.getTypeDoc)(We).shortDescription}showDocumentation(We){this.dialog.open(u.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:We},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}o.TabHomeComponent=Fe,Fe.\u0275fac=function(We){return new(We||Fe)(r.\u0275\u0275directiveInject(c.SdkgenService),r.\u0275\u0275directiveInject(d.MatDialog),r.\u0275\u0275directiveInject(p.ResponsiveService))},Fe.\u0275cmp=r.\u0275\u0275defineComponent({type:Fe,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(We,Be){1&We&&(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(Y){return Be.searchText=Y}),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,je,58,24,"article",4),r.\u0275\u0275elementEnd()()),2&We&&(r.\u0275\u0275property("direction",Be.isBelowMd?"vertical":"horizontal"),r.\u0275\u0275advance(1),r.\u0275\u0275property("size",Be.isBelowMd?130:350),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",Be.searchText)("ngModelOptions",r.\u0275\u0275pureFunction0(9,Te)),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind2(8,6,Be.fnTable,Be.searchText)),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",Be.selectedFunction))},dependencies:[_.NgClass,_.NgForOf,_.NgIf,_.NgSwitch,_.NgSwitchCase,_.NgSwitchDefault,f.\u0275NgNoValidate,f.DefaultValueAccessor,f.NgControlStatus,f.NgControlStatusGroup,f.NgModel,f.NgForm,b.MonacoEditorComponent,v.SplitComponent,v.SplitAreaDirective,m.MatButton,C.MatChipList,C.MatChip,M.MatIcon,O.MatTable,O.MatHeaderCellDef,O.MatHeaderRowDef,O.MatColumnDef,O.MatCellDef,O.MatRowDef,O.MatHeaderCell,O.MatCell,O.MatHeaderRow,O.MatRow,P.MatTabGroup,P.MatTabLabel,P.MatTab,L.MatTooltip,Q.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%]{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:(H,o,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(o,"__esModule",{value:!0}),o.TabNavComponent=void 0;const h=a(7582),y=a(3075),u=a(6676),r=a(4814),c=h.__importStar(a(5e3)),d=h.__importStar(a(6395)),p=h.__importStar(a(2290)),_=h.__importStar(a(9694)),f=h.__importStar(a(9808)),b=h.__importStar(a(3075)),v=h.__importStar(a(7423)),m=h.__importStar(a(3293)),C=h.__importStar(a(508));function M(L,Q){1&L&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon",6),c.\u0275\u0275text(2,"loop"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}function O(L,Q){1&L&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon"),c.\u0275\u0275text(2,"arrow_forward"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}class P{constructor(Q,$,z){this.sdkgen=Q,this.toastr=$,this.dialog=z,this.loading=!1,this.url=new y.FormControl("")}ngOnInit(){fetch("/ast.json").then(Q=>{Q.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(Q){var $=this;return n(function*(){null==Q||Q.preventDefault();try{$.loading=!0,/^https?:\/\//.test($.url.value)||$.url.setValue(`https://${$.url.value}`);const z=new URL($.url.value);z.pathname+=(/\/$/u.test(z.pathname)?"":"/")+"ast.json";const V=z.toString();console.debug("astUrl",V);const X=yield fetch(V).then(function(){var re=n(function*(me){return me.ok?me.json():me});return function(me){return re.apply(this,arguments)}}());if(X instanceof Response)throw X instanceof Error?X:new Error(X.statusText);if(!X.errors||!X.functionTable||!X.typeTable)throw new Error("Invalid AST");for(;"undefined"==typeof monaco;)yield new Promise(re=>setTimeout(re,250));console.debug("astJson",X),$.sdkgen.state$.next({astJson:X,astRoot:(0,u.jsonToAst)(X),url:$.url.value})}catch(z){$.toastr.error(z instanceof Error?z.message:JSON.stringify(z),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{$.loading=!1}})()}openAbout(){this.dialog.open(r.DialogAboutComponent)}}o.TabNavComponent=P,P.\u0275fac=function(Q){return new(Q||P)(c.\u0275\u0275directiveInject(d.SdkgenService),c.\u0275\u0275directiveInject(p.ToastrService),c.\u0275\u0275directiveInject(_.MatDialog))},P.\u0275cmp=c.\u0275\u0275defineComponent({type:P,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(Q,$){1&Q&&(c.\u0275\u0275element(0,"img",0),c.\u0275\u0275elementStart(1,"form",1),c.\u0275\u0275listener("submit",function(V){return $.loadUrl(V)}),c.\u0275\u0275element(2,"input",2),c.\u0275\u0275elementStart(3,"button",3),c.\u0275\u0275template(4,M,3,0,"ng-container",4),c.\u0275\u0275template(5,O,3,0,"ng-container",4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"button",5),c.\u0275\u0275listener("click",function(){return $.openAbout()}),c.\u0275\u0275elementStart(7,"mat-icon"),c.\u0275\u0275text(8,"info"),c.\u0275\u0275elementEnd()()),2&Q&&(c.\u0275\u0275advance(2),c.\u0275\u0275property("formControl",$.url)("readonly",$.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("disabled",$.loading)("ngSwitch",$.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!0),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[f.NgSwitch,f.NgSwitchCase,b.\u0275NgNoValidate,b.DefaultValueAccessor,b.NgControlStatus,b.NgControlStatusGroup,b.NgForm,b.FormControlDirective,v.MatButton,m.MatIcon,C.MatRipple],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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TypeDetailsComponent=void 0;const n=a(7582),h=a(9694),y=a(9435),u=n.__importStar(a(5e3)),r=n.__importStar(a(9694)),c=n.__importStar(a(9808)),d=n.__importStar(a(7423)),p=n.__importStar(a(9417)),_=n.__importStar(a(3293)),f=n.__importStar(a(4999)),b=n.__importStar(a(7238));function v(oe,Ie){1&oe&&(u.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),u.\u0275\u0275text(2,"arrow_back"),u.\u0275\u0275elementEnd()())}function m(oe,Ie){if(1&oe&&(u.\u0275\u0275elementStart(0,"mat-chip",7),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&oe){const ze=Ie.$implicit;u.\u0275\u0275property("disableRipple",!0),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(ze)}}function C(oe,Ie){1&oe&&(u.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),u.\u0275\u0275text(2,"close"),u.\u0275\u0275elementEnd()())}function M(oe,Ie){1&oe&&(u.\u0275\u0275elementStart(0,"th",20),u.\u0275\u0275text(1,"Nome"),u.\u0275\u0275elementEnd())}function O(oe,Ie){if(1&oe&&(u.\u0275\u0275elementStart(0,"td",21),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&oe){const ze=Ie.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(ze.name)}}function P(oe,Ie){1&oe&&(u.\u0275\u0275elementStart(0,"th",20),u.\u0275\u0275text(1,"Tipo"),u.\u0275\u0275elementEnd())}function L(oe,Ie){1&oe&&(u.\u0275\u0275elementStart(0,"span"),u.\u0275\u0275text(1,"-"),u.\u0275\u0275elementEnd())}function Q(oe,Ie){if(1&oe){const ze=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"u",25),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(ze);const te=u.\u0275\u0275nextContext().$implicit,fe=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(fe.showDocumentation(te.type))}),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()}if(2&oe){const ze=u.\u0275\u0275nextContext().$implicit,qe=u.\u0275\u0275nextContext(2);u.\u0275\u0275property("matTooltip",qe.getTooltip(ze.type)),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(ze.type.name)}}function $(oe,Ie){1&oe&&(u.\u0275\u0275elementStart(0,"td",22),u.\u0275\u0275template(1,L,2,0,"span",23),u.\u0275\u0275template(2,Q,2,2,"u",24),u.\u0275\u0275elementEnd()),2&oe&&(u.\u0275\u0275property("ngSwitch",Ie.$implicit.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",null))}function z(oe,Ie){1&oe&&(u.\u0275\u0275elementStart(0,"th",20),u.\u0275\u0275text(1,"Descri\xe7\xe3o"),u.\u0275\u0275elementEnd())}function V(oe,Ie){if(1&oe&&(u.\u0275\u0275elementStart(0,"td",26),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&oe){const ze=Ie.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(ze.description||"-")}}function X(oe,Ie){1&oe&&u.\u0275\u0275element(0,"tr",27)}function re(oe,Ie){1&oe&&u.\u0275\u0275element(0,"tr",28)}const me=function(){return[]};function Re(oe,Ie){if(1&oe&&(u.\u0275\u0275elementStart(0,"section")(1,"div",9)(2,"table",10),u.\u0275\u0275elementContainerStart(3,11),u.\u0275\u0275template(4,M,2,0,"th",12),u.\u0275\u0275template(5,O,2,1,"td",13),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementContainerStart(6,14),u.\u0275\u0275template(7,P,2,0,"th",12),u.\u0275\u0275template(8,$,3,2,"td",15),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementContainerStart(9,16),u.\u0275\u0275template(10,z,2,0,"th",12),u.\u0275\u0275template(11,V,2,1,"td",17),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275template(12,X,1,0,"tr",18),u.\u0275\u0275template(13,re,1,0,"tr",19),u.\u0275\u0275elementEnd()()()),2&oe){const ze=u.\u0275\u0275nextContext();let qe;u.\u0275\u0275advance(2),u.\u0275\u0275property("dataSource",null!==(qe=null==ze.typeDoc?null:ze.typeDoc.structFields)&&void 0!==qe?qe:u.\u0275\u0275pureFunction0(3,me)),u.\u0275\u0275advance(10),u.\u0275\u0275property("matHeaderRowDef",ze.argumentsTableColumns),u.\u0275\u0275advance(1),u.\u0275\u0275property("matRowDefColumns",ze.argumentsTableColumns)}}function it(oe,Ie){if(1&oe&&(u.\u0275\u0275elementStart(0,"li")(1,"code",1),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()),2&oe){const ze=Ie.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(ze)}}function Ce(oe,Ie){if(1&oe&&(u.\u0275\u0275elementStart(0,"section")(1,"h3"),u.\u0275\u0275text(2,"Exemplos"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"ul"),u.\u0275\u0275template(4,it,3,1,"li",29),u.\u0275\u0275elementEnd()()),2&oe){const ze=u.\u0275\u0275nextContext();u.\u0275\u0275advance(4),u.\u0275\u0275property("ngForOf",null==ze.typeDoc?null:ze.typeDoc.examples)}}class xe{constructor(Ie,ze,qe){this.dialogRef=Ie,this.data=ze,this.dialog=qe,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(Ie){return(0,y.getTypeDoc)(Ie).shortDescription}showDocumentation(Ie){this.dialog.open(xe,{position:{right:"0"},data:{type:Ie,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}o.TypeDetailsComponent=xe,xe.\u0275fac=function(Ie){return new(Ie||xe)(u.\u0275\u0275directiveInject(r.MatDialogRef),u.\u0275\u0275directiveInject(h.MAT_DIALOG_DATA),u.\u0275\u0275directiveInject(r.MatDialog))},xe.\u0275cmp=u.\u0275\u0275defineComponent({type:xe,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(Ie,ze){1&Ie&&(u.\u0275\u0275elementStart(0,"h1"),u.\u0275\u0275template(1,v,3,0,"button",0),u.\u0275\u0275elementStart(2,"span",1),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"mat-chip-list",2),u.\u0275\u0275template(5,m,2,2,"mat-chip",3),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(6,C,3,0,"button",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"p"),u.\u0275\u0275text(8),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(9,Re,14,4,"section",5),u.\u0275\u0275template(10,Ce,5,1,"section",5)),2&Ie&&(u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",ze.data.subdialog),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(ze.data.type.name),u.\u0275\u0275advance(1),u.\u0275\u0275property("selectable",!1),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngForOf",ze.labels),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",!ze.data.subdialog),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(null==ze.typeDoc?null:ze.typeDoc.longDescription),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",(null==ze.typeDoc?null:ze.typeDoc.isStruct)&&(null==ze.typeDoc?null:ze.typeDoc.structFields)),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",null==ze.typeDoc||null==ze.typeDoc.examples?null:ze.typeDoc.examples.length))},dependencies:[c.NgForOf,c.NgIf,c.NgSwitch,c.NgSwitchCase,c.NgSwitchDefault,d.MatButton,p.MatChipList,p.MatChip,r.MatDialogClose,_.MatIcon,f.MatTable,f.MatHeaderCellDef,f.MatHeaderRowDef,f.MatColumnDef,f.MatCellDef,f.MatRowDef,f.MatHeaderCell,f.MatCell,f.MatHeaderRow,f.MatRow,b.MatTooltip],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%]{text-decoration-style:dotted;cursor:pointer}"]})},8227:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.environment=void 0,o.environment={production:!0}},4431:(H,o,a)=>{"use strict";const y=a(7582).__importStar(a(2313)),u=a(5e3),r=a(6747);a(2340).environment.production&&(0,u.enableProdMode)(),y.platformBrowser().bootstrapModule(r.AppModule).catch(d=>console.error(d))},4327:function(H,o){var h;void 0!==(h=function(){"use strict";function u(f,b,v){var m=new XMLHttpRequest;m.open("GET",f),m.responseType="blob",m.onload=function(){_(m.response,b,v)},m.onerror=function(){console.error("could not download file")},m.send()}function r(f){var b=new XMLHttpRequest;b.open("HEAD",f,!1);try{b.send()}catch(v){}return 200<=b.status&&299>=b.status}function c(f){try{f.dispatchEvent(new MouseEvent("click"))}catch(v){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),f.dispatchEvent(b)}}var d="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,p=d.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),_=d.saveAs||("object"!=typeof window||window!==d?function(){}:"download"in HTMLAnchorElement.prototype&&!p?function(f,b,v){var m=d.URL||d.webkitURL,C=document.createElement("a");C.download=b=b||f.name||"download",C.rel="noopener","string"==typeof f?(C.href=f,C.origin===location.origin?c(C):r(C.href)?u(f,b,v):c(C,C.target="_blank")):(C.href=m.createObjectURL(f),setTimeout(function(){m.revokeObjectURL(C.href)},4e4),setTimeout(function(){c(C)},0))}:"msSaveOrOpenBlob"in navigator?function(f,b,v){if(b=b||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(function y(f,b){return void 0===b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(f.type)?new Blob(["\ufeff",f],{type:f.type}):f}(f,v),b);else if(r(f))u(f,b,v);else{var m=document.createElement("a");m.href=f,m.target="_blank",setTimeout(function(){c(m)})}}:function(f,b,v,m){if((m=m||open("","_blank"))&&(m.document.title=m.document.body.innerText="downloading..."),"string"==typeof f)return u(f,b,v);var C="application/octet-stream"===f.type,M=/constructor/i.test(d.HTMLElement)||d.safari,O=/CriOS\/[\d]+/.test(navigator.userAgent);if((O||C&&M||p)&&"undefined"!=typeof FileReader){var P=new FileReader;P.onloadend=function(){var $=P.result;$=O?$:$.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=$:location=$,m=null},P.readAsDataURL(f)}else{var L=d.URL||d.webkitURL,Q=L.createObjectURL(f);m?m.location=Q:location.href=Q,m=null,setTimeout(function(){L.revokeObjectURL(Q)},4e4)}});d.saveAs=_.saveAs=_,H.exports=_}.apply(o,[]))&&(H.exports=h)},6477:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(mi,In,Tn,qn){void 0===qn&&(qn=Tn),Object.defineProperty(mi,qn,{enumerable:!0,get:function(){return In[Tn]}})}:function(mi,In,Tn,qn){void 0===qn&&(qn=Tn),mi[qn]=In[Tn]}),h=this&&this.__exportStar||function(mi,In){for(var Tn in mi)"default"!==Tn&&!Object.prototype.hasOwnProperty.call(In,Tn)&&n(In,mi,Tn)};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 u=a(6686);Object.defineProperty(o,"ConnectableObservable",{enumerable:!0,get:function(){return u.ConnectableObservable}});var r=a(1689);Object.defineProperty(o,"observable",{enumerable:!0,get:function(){return r.observable}});var c=a(2946);Object.defineProperty(o,"animationFrames",{enumerable:!0,get:function(){return c.animationFrames}});var d=a(3768);Object.defineProperty(o,"Subject",{enumerable:!0,get:function(){return d.Subject}});var p=a(5482);Object.defineProperty(o,"BehaviorSubject",{enumerable:!0,get:function(){return p.BehaviorSubject}});var _=a(3406);Object.defineProperty(o,"ReplaySubject",{enumerable:!0,get:function(){return _.ReplaySubject}});var f=a(7606);Object.defineProperty(o,"AsyncSubject",{enumerable:!0,get:function(){return f.AsyncSubject}});var b=a(1212);Object.defineProperty(o,"asap",{enumerable:!0,get:function(){return b.asap}}),Object.defineProperty(o,"asapScheduler",{enumerable:!0,get:function(){return b.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 m=a(5668);Object.defineProperty(o,"queue",{enumerable:!0,get:function(){return m.queue}}),Object.defineProperty(o,"queueScheduler",{enumerable:!0,get:function(){return m.queueScheduler}});var C=a(1906);Object.defineProperty(o,"animationFrame",{enumerable:!0,get:function(){return C.animationFrame}}),Object.defineProperty(o,"animationFrameScheduler",{enumerable:!0,get:function(){return C.animationFrameScheduler}});var M=a(2018);Object.defineProperty(o,"VirtualTimeScheduler",{enumerable:!0,get:function(){return M.VirtualTimeScheduler}}),Object.defineProperty(o,"VirtualAction",{enumerable:!0,get:function(){return M.VirtualAction}});var O=a(2716);Object.defineProperty(o,"Scheduler",{enumerable:!0,get:function(){return O.Scheduler}});var P=a(6448);Object.defineProperty(o,"Subscription",{enumerable:!0,get:function(){return P.Subscription}});var L=a(7052);Object.defineProperty(o,"Subscriber",{enumerable:!0,get:function(){return L.Subscriber}});var Q=a(7262);Object.defineProperty(o,"Notification",{enumerable:!0,get:function(){return Q.Notification}}),Object.defineProperty(o,"NotificationKind",{enumerable:!0,get:function(){return Q.NotificationKind}});var $=a(1471);Object.defineProperty(o,"pipe",{enumerable:!0,get:function(){return $.pipe}});var z=a(31);Object.defineProperty(o,"noop",{enumerable:!0,get:function(){return z.noop}});var V=a(7884);Object.defineProperty(o,"identity",{enumerable:!0,get:function(){return V.identity}});var X=a(4341);Object.defineProperty(o,"isObservable",{enumerable:!0,get:function(){return X.isObservable}});var re=a(5257);Object.defineProperty(o,"lastValueFrom",{enumerable:!0,get:function(){return re.lastValueFrom}});var me=a(5754);Object.defineProperty(o,"firstValueFrom",{enumerable:!0,get:function(){return me.firstValueFrom}});var Re=a(4769);Object.defineProperty(o,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return Re.ArgumentOutOfRangeError}});var it=a(8915);Object.defineProperty(o,"EmptyError",{enumerable:!0,get:function(){return it.EmptyError}});var Ce=a(5477);Object.defineProperty(o,"NotFoundError",{enumerable:!0,get:function(){return Ce.NotFoundError}});var xe=a(3965);Object.defineProperty(o,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return xe.ObjectUnsubscribedError}});var oe=a(1551);Object.defineProperty(o,"SequenceError",{enumerable:!0,get:function(){return oe.SequenceError}});var Ie=a(5001);Object.defineProperty(o,"TimeoutError",{enumerable:!0,get:function(){return Ie.TimeoutError}});var ze=a(4970);Object.defineProperty(o,"UnsubscriptionError",{enumerable:!0,get:function(){return ze.UnsubscriptionError}});var qe=a(7532);Object.defineProperty(o,"bindCallback",{enumerable:!0,get:function(){return qe.bindCallback}});var te=a(3488);Object.defineProperty(o,"bindNodeCallback",{enumerable:!0,get:function(){return te.bindNodeCallback}});var fe=a(6892);Object.defineProperty(o,"combineLatest",{enumerable:!0,get:function(){return fe.combineLatest}});var W=a(509);Object.defineProperty(o,"concat",{enumerable:!0,get:function(){return W.concat}});var x=a(9190);Object.defineProperty(o,"connectable",{enumerable:!0,get:function(){return x.connectable}});var G=a(9954);Object.defineProperty(o,"defer",{enumerable:!0,get:function(){return G.defer}});var K=a(7406);Object.defineProperty(o,"empty",{enumerable:!0,get:function(){return K.empty}});var ne=a(7928);Object.defineProperty(o,"forkJoin",{enumerable:!0,get:function(){return ne.forkJoin}});var ve=a(4996);Object.defineProperty(o,"from",{enumerable:!0,get:function(){return ve.from}});var ge=a(2579);Object.defineProperty(o,"fromEvent",{enumerable:!0,get:function(){return ge.fromEvent}});var Le=a(3975);Object.defineProperty(o,"fromEventPattern",{enumerable:!0,get:function(){return Le.fromEventPattern}});var ct=a(4318);Object.defineProperty(o,"generate",{enumerable:!0,get:function(){return ct.generate}});var ft=a(3140);Object.defineProperty(o,"iif",{enumerable:!0,get:function(){return ft.iif}});var gt=a(1836);Object.defineProperty(o,"interval",{enumerable:!0,get:function(){return gt.interval}});var ut=a(9248);Object.defineProperty(o,"merge",{enumerable:!0,get:function(){return ut.merge}});var je=a(2818);Object.defineProperty(o,"never",{enumerable:!0,get:function(){return je.never}});var Te=a(9677);Object.defineProperty(o,"of",{enumerable:!0,get:function(){return Te.of}});var Fe=a(9978);Object.defineProperty(o,"onErrorResumeNext",{enumerable:!0,get:function(){return Fe.onErrorResumeNext}});var pe=a(5519);Object.defineProperty(o,"pairs",{enumerable:!0,get:function(){return pe.pairs}});var We=a(8221);Object.defineProperty(o,"partition",{enumerable:!0,get:function(){return We.partition}});var Be=a(8181);Object.defineProperty(o,"race",{enumerable:!0,get:function(){return Be.race}});var Ke=a(4622);Object.defineProperty(o,"range",{enumerable:!0,get:function(){return Ke.range}});var Y=a(338);Object.defineProperty(o,"throwError",{enumerable:!0,get:function(){return Y.throwError}});var we=a(3271);Object.defineProperty(o,"timer",{enumerable:!0,get:function(){return we.timer}});var He=a(924);Object.defineProperty(o,"using",{enumerable:!0,get:function(){return He.using}});var Ve=a(4842);Object.defineProperty(o,"zip",{enumerable:!0,get:function(){return Ve.zip}});var Ue=a(9341);Object.defineProperty(o,"scheduled",{enumerable:!0,get:function(){return Ue.scheduled}});var be=a(7406);Object.defineProperty(o,"EMPTY",{enumerable:!0,get:function(){return be.EMPTY}});var $e=a(2818);Object.defineProperty(o,"NEVER",{enumerable:!0,get:function(){return $e.NEVER}}),h(a(5256),o);var dt=a(3570);Object.defineProperty(o,"config",{enumerable:!0,get:function(){return dt.config}});var Pe=a(4815);Object.defineProperty(o,"audit",{enumerable:!0,get:function(){return Pe.audit}});var U=a(9034);Object.defineProperty(o,"auditTime",{enumerable:!0,get:function(){return U.auditTime}});var ye=a(8544);Object.defineProperty(o,"buffer",{enumerable:!0,get:function(){return ye.buffer}});var de=a(3999);Object.defineProperty(o,"bufferCount",{enumerable:!0,get:function(){return de.bufferCount}});var ke=a(1392);Object.defineProperty(o,"bufferTime",{enumerable:!0,get:function(){return ke.bufferTime}});var tt=a(555);Object.defineProperty(o,"bufferToggle",{enumerable:!0,get:function(){return tt.bufferToggle}});var vt=a(7274);Object.defineProperty(o,"bufferWhen",{enumerable:!0,get:function(){return vt.bufferWhen}});var Ft=a(6e3);Object.defineProperty(o,"catchError",{enumerable:!0,get:function(){return Ft.catchError}});var At=a(8996);Object.defineProperty(o,"combineAll",{enumerable:!0,get:function(){return At.combineAll}});var Yt=a(8931);Object.defineProperty(o,"combineLatestAll",{enumerable:!0,get:function(){return Yt.combineLatestAll}});var Nt=a(8947);Object.defineProperty(o,"combineLatestWith",{enumerable:!0,get:function(){return Nt.combineLatestWith}});var rt=a(739);Object.defineProperty(o,"concatAll",{enumerable:!0,get:function(){return rt.concatAll}});var Ze=a(4659);Object.defineProperty(o,"concatMap",{enumerable:!0,get:function(){return Ze.concatMap}});var Ee=a(2993);Object.defineProperty(o,"concatMapTo",{enumerable:!0,get:function(){return Ee.concatMapTo}});var _e=a(5898);Object.defineProperty(o,"concatWith",{enumerable:!0,get:function(){return _e.concatWith}});var ae=a(9725);Object.defineProperty(o,"connect",{enumerable:!0,get:function(){return ae.connect}});var le=a(1814);Object.defineProperty(o,"count",{enumerable:!0,get:function(){return le.count}});var B=a(9784);Object.defineProperty(o,"debounce",{enumerable:!0,get:function(){return B.debounce}});var Me=a(7061);Object.defineProperty(o,"debounceTime",{enumerable:!0,get:function(){return Me.debounceTime}});var yt=a(926);Object.defineProperty(o,"defaultIfEmpty",{enumerable:!0,get:function(){return yt.defaultIfEmpty}});var Ge=a(2096);Object.defineProperty(o,"delay",{enumerable:!0,get:function(){return Ge.delay}});var bt=a(3264);Object.defineProperty(o,"delayWhen",{enumerable:!0,get:function(){return bt.delayWhen}});var q=a(533);Object.defineProperty(o,"dematerialize",{enumerable:!0,get:function(){return q.dematerialize}});var Oe=a(5045);Object.defineProperty(o,"distinct",{enumerable:!0,get:function(){return Oe.distinct}});var at=a(5794);Object.defineProperty(o,"distinctUntilChanged",{enumerable:!0,get:function(){return at.distinctUntilChanged}});var Dt=a(8589);Object.defineProperty(o,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Dt.distinctUntilKeyChanged}});var Ht=a(1069);Object.defineProperty(o,"elementAt",{enumerable:!0,get:function(){return Ht.elementAt}});var rn=a(4312);Object.defineProperty(o,"endWith",{enumerable:!0,get:function(){return rn.endWith}});var Xt=a(9098);Object.defineProperty(o,"every",{enumerable:!0,get:function(){return Xt.every}});var vn=a(5429);Object.defineProperty(o,"exhaust",{enumerable:!0,get:function(){return vn.exhaust}});var Xe=a(1399);Object.defineProperty(o,"exhaustAll",{enumerable:!0,get:function(){return Xe.exhaustAll}});var Ye=a(5183);Object.defineProperty(o,"exhaustMap",{enumerable:!0,get:function(){return Ye.exhaustMap}});var De=a(8678);Object.defineProperty(o,"expand",{enumerable:!0,get:function(){return De.expand}});var et=a(4270);Object.defineProperty(o,"filter",{enumerable:!0,get:function(){return et.filter}});var lt=a(1587);Object.defineProperty(o,"finalize",{enumerable:!0,get:function(){return lt.finalize}});var It=a(2265);Object.defineProperty(o,"find",{enumerable:!0,get:function(){return It.find}});var Lt=a(8195);Object.defineProperty(o,"findIndex",{enumerable:!0,get:function(){return Lt.findIndex}});var Wt=a(8012);Object.defineProperty(o,"first",{enumerable:!0,get:function(){return Wt.first}});var _n=a(4075);Object.defineProperty(o,"groupBy",{enumerable:!0,get:function(){return _n.groupBy}});var gn=a(4041);Object.defineProperty(o,"ignoreElements",{enumerable:!0,get:function(){return gn.ignoreElements}});var Hn=a(6478);Object.defineProperty(o,"isEmpty",{enumerable:!0,get:function(){return Hn.isEmpty}});var ue=a(5126);Object.defineProperty(o,"last",{enumerable:!0,get:function(){return ue.last}});var Qe=a(752);Object.defineProperty(o,"map",{enumerable:!0,get:function(){return Qe.map}});var ee=a(2182);Object.defineProperty(o,"mapTo",{enumerable:!0,get:function(){return ee.mapTo}});var Ne=a(119);Object.defineProperty(o,"materialize",{enumerable:!0,get:function(){return Ne.materialize}});var ht=a(9329);Object.defineProperty(o,"max",{enumerable:!0,get:function(){return ht.max}});var Tt=a(3917);Object.defineProperty(o,"mergeAll",{enumerable:!0,get:function(){return Tt.mergeAll}});var xt=a(1463);Object.defineProperty(o,"flatMap",{enumerable:!0,get:function(){return xt.flatMap}});var Kt=a(3010);Object.defineProperty(o,"mergeMap",{enumerable:!0,get:function(){return Kt.mergeMap}});var Ut=a(929);Object.defineProperty(o,"mergeMapTo",{enumerable:!0,get:function(){return Ut.mergeMapTo}});var yn=a(2816);Object.defineProperty(o,"mergeScan",{enumerable:!0,get:function(){return yn.mergeScan}});var dn=a(9684);Object.defineProperty(o,"mergeWith",{enumerable:!0,get:function(){return dn.mergeWith}});var ln=a(6250);Object.defineProperty(o,"min",{enumerable:!0,get:function(){return ln.min}});var nn=a(9872);Object.defineProperty(o,"multicast",{enumerable:!0,get:function(){return nn.multicast}});var zn=a(4928);Object.defineProperty(o,"observeOn",{enumerable:!0,get:function(){return zn.observeOn}});var cn=a(9526);Object.defineProperty(o,"pairwise",{enumerable:!0,get:function(){return cn.pairwise}});var On=a(5199);Object.defineProperty(o,"pluck",{enumerable:!0,get:function(){return On.pluck}});var kn=a(955);Object.defineProperty(o,"publish",{enumerable:!0,get:function(){return kn.publish}});var En=a(6750);Object.defineProperty(o,"publishBehavior",{enumerable:!0,get:function(){return En.publishBehavior}});var Nn=a(1003);Object.defineProperty(o,"publishLast",{enumerable:!0,get:function(){return Nn.publishLast}});var Ti=a(5530);Object.defineProperty(o,"publishReplay",{enumerable:!0,get:function(){return Ti.publishReplay}});var wi=a(2992);Object.defineProperty(o,"raceWith",{enumerable:!0,get:function(){return wi.raceWith}});var bi=a(8587);Object.defineProperty(o,"reduce",{enumerable:!0,get:function(){return bi.reduce}});var Ln=a(8408);Object.defineProperty(o,"repeat",{enumerable:!0,get:function(){return Ln.repeat}});var Ni=a(7032);Object.defineProperty(o,"repeatWhen",{enumerable:!0,get:function(){return Ni.repeatWhen}});var Wi=a(6069);Object.defineProperty(o,"retry",{enumerable:!0,get:function(){return Wi.retry}});var Ci=a(5131);Object.defineProperty(o,"retryWhen",{enumerable:!0,get:function(){return Ci.retryWhen}});var Gi=a(904);Object.defineProperty(o,"refCount",{enumerable:!0,get:function(){return Gi.refCount}});var Ki=a(2531);Object.defineProperty(o,"sample",{enumerable:!0,get:function(){return Ki.sample}});var cr=a(306);Object.defineProperty(o,"sampleTime",{enumerable:!0,get:function(){return cr.sampleTime}});var Jr=a(251);Object.defineProperty(o,"scan",{enumerable:!0,get:function(){return Jr.scan}});var Xn=a(9788);Object.defineProperty(o,"sequenceEqual",{enumerable:!0,get:function(){return Xn.sequenceEqual}});var ur=a(3222);Object.defineProperty(o,"share",{enumerable:!0,get:function(){return ur.share}});var Xr=a(2186);Object.defineProperty(o,"shareReplay",{enumerable:!0,get:function(){return Xr.shareReplay}});var Li=a(695);Object.defineProperty(o,"single",{enumerable:!0,get:function(){return Li.single}});var dr=a(4975);Object.defineProperty(o,"skip",{enumerable:!0,get:function(){return dr.skip}});var Di=a(728);Object.defineProperty(o,"skipLast",{enumerable:!0,get:function(){return Di.skipLast}});var Or=a(7409);Object.defineProperty(o,"skipUntil",{enumerable:!0,get:function(){return Or.skipUntil}});var Yi=a(385);Object.defineProperty(o,"skipWhile",{enumerable:!0,get:function(){return Yi.skipWhile}});var Qi=a(4930);Object.defineProperty(o,"startWith",{enumerable:!0,get:function(){return Qi.startWith}});var Hr=a(1698);Object.defineProperty(o,"subscribeOn",{enumerable:!0,get:function(){return Hr.subscribeOn}});var Mi=a(8044);Object.defineProperty(o,"switchAll",{enumerable:!0,get:function(){return Mi.switchAll}});var fr=a(986);Object.defineProperty(o,"switchMap",{enumerable:!0,get:function(){return fr.switchMap}});var Ei=a(9309);Object.defineProperty(o,"switchMapTo",{enumerable:!0,get:function(){return Ei.switchMapTo}});var Ar=a(9499);Object.defineProperty(o,"switchScan",{enumerable:!0,get:function(){return Ar.switchScan}});var Si=a(1333);Object.defineProperty(o,"take",{enumerable:!0,get:function(){return Si.take}});var Zi=a(3534);Object.defineProperty(o,"takeLast",{enumerable:!0,get:function(){return Zi.takeLast}});var ni=a(5716);Object.defineProperty(o,"takeUntil",{enumerable:!0,get:function(){return ni.takeUntil}});var Ji=a(9928);Object.defineProperty(o,"takeWhile",{enumerable:!0,get:function(){return Ji.takeWhile}});var ji=a(6821);Object.defineProperty(o,"tap",{enumerable:!0,get:function(){return ji.tap}});var Ii=a(4330);Object.defineProperty(o,"throttle",{enumerable:!0,get:function(){return Ii.throttle}});var hr=a(4029);Object.defineProperty(o,"throttleTime",{enumerable:!0,get:function(){return hr.throttleTime}});var Xi=a(9194);Object.defineProperty(o,"throwIfEmpty",{enumerable:!0,get:function(){return Xi.throwIfEmpty}});var Bi=a(5904);Object.defineProperty(o,"timeInterval",{enumerable:!0,get:function(){return Bi.timeInterval}});var hi=a(5001);Object.defineProperty(o,"timeout",{enumerable:!0,get:function(){return hi.timeout}});var Vi=a(8308);Object.defineProperty(o,"timeoutWith",{enumerable:!0,get:function(){return Vi.timeoutWith}});var pr=a(250);Object.defineProperty(o,"timestamp",{enumerable:!0,get:function(){return pr.timestamp}});var mr=a(2976);Object.defineProperty(o,"toArray",{enumerable:!0,get:function(){return mr.toArray}});var Wn=a(9374);Object.defineProperty(o,"window",{enumerable:!0,get:function(){return Wn.window}});var qi=a(8427);Object.defineProperty(o,"windowCount",{enumerable:!0,get:function(){return qi.windowCount}});var pi=a(2358);Object.defineProperty(o,"windowTime",{enumerable:!0,get:function(){return pi.windowTime}});var Oi=a(6464);Object.defineProperty(o,"windowToggle",{enumerable:!0,get:function(){return Oi.windowToggle}});var gr=a(5424);Object.defineProperty(o,"windowWhen",{enumerable:!0,get:function(){return gr.windowWhen}});var Pr=a(135);Object.defineProperty(o,"withLatestFrom",{enumerable:!0,get:function(){return Pr.withLatestFrom}});var bn=a(8101);Object.defineProperty(o,"zipAll",{enumerable:!0,get:function(){return bn.zipAll}});var vr=a(9411);Object.defineProperty(o,"zipWith",{enumerable:!0,get:function(){return vr.zipWith}})},7606:function(H,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(d[_]=p[_])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncSubject=void 0;var y=function(u){function r(){var c=null!==u&&u.apply(this,arguments)||this;return c._value=null,c._hasValue=!1,c._isComplete=!1,c}return n(r,u),r.prototype._checkFinalizedStatuses=function(c){var d=this,_=d._hasValue,f=d._value,v=d.isStopped,m=d._isComplete;d.hasError?c.error(d.thrownError):(v||m)&&(_&&c.next(f),c.complete())},r.prototype.next=function(c){this.isStopped||(this._value=c,this._hasValue=!0)},r.prototype.complete=function(){var c=this,d=c._hasValue,p=c._value;c._isComplete||(this._isComplete=!0,d&&u.prototype.next.call(this,p),u.prototype.complete.call(this))},r}(a(3768).Subject);o.AsyncSubject=y},5482:function(H,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(d[_]=p[_])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.BehaviorSubject=void 0;var y=function(u){function r(c){var d=u.call(this)||this;return d._value=c,d}return n(r,u),Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(c){var d=u.prototype._subscribe.call(this,c);return!d.closed&&c.next(this._value),d},r.prototype.getValue=function(){var c=this,_=c._value;if(c.hasError)throw c.thrownError;return this._throwIfClosed(),_},r.prototype.next=function(c){u.prototype.next.call(this,this._value=c)},r}(a(3768).Subject);o.BehaviorSubject=y},7262:(H,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),u=a(7104);(p=o.NotificationKind||(o.NotificationKind={})).NEXT="N",p.ERROR="E",p.COMPLETE="C";var c=function(){function p(_,f,b){this.kind=_,this.value=f,this.error=b,this.hasValue="N"===_}return p.prototype.observe=function(_){return d(this,_)},p.prototype.do=function(_,f,b){var v=this,m=v.kind,M=v.error;return"N"===m?null==_?void 0:_(v.value):"E"===m?null==f?void 0:f(M):null==b?void 0:b()},p.prototype.accept=function(_,f,b){var v;return u.isFunction(null===(v=_)||void 0===v?void 0:v.next)?this.observe(_):this.do(_,f,b)},p.prototype.toObservable=function(){var _=this,f=_.kind,v=_.error,m="N"===f?h.of(_.value):"E"===f?y.throwError(function(){return v}):"C"===f?n.EMPTY:0;if(!m)throw new TypeError("Unexpected notification kind "+f);return m},p.createNext=function(_){return new p("N",_)},p.createError=function(_){return new p("E",void 0,_)},p.createComplete=function(){return p.completeNotification},p.completeNotification=new p("C"),p}();function d(p,_){var f,b,v,C=p.kind,M=p.value,O=p.error;if("string"!=typeof C)throw new TypeError('Invalid notification, missing "kind"');"N"===C?null===(f=_.next)||void 0===f||f.call(_,M):"E"===C?null===(b=_.error)||void 0===b||b.call(_,O):null===(v=_.complete)||void 0===v||v.call(_)}o.Notification=c,o.observeNotification=d},6941:(H,o)=>{"use strict";function h(y,u,r){return{kind:y,value:u,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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Observable=void 0;var n=a(7052),h=a(6448),y=a(1689),u=a(1471),r=a(3570),c=a(7104),d=a(5808),p=function(){function v(m){m&&(this._subscribe=m)}return v.prototype.lift=function(m){var C=new v;return C.source=this,C.operator=m,C},v.prototype.subscribe=function(m,C,M){var O=this,P=function b(v){return v&&v instanceof n.Subscriber||function f(v){return v&&c.isFunction(v.next)&&c.isFunction(v.error)&&c.isFunction(v.complete)}(v)&&h.isSubscription(v)}(m)?m:new n.SafeSubscriber(m,C,M);return d.errorContext(function(){var Q=O.operator,$=O.source;P.add(Q?Q.call(P,$):$?O._subscribe(P):O._trySubscribe(P))}),P},v.prototype._trySubscribe=function(m){try{return this._subscribe(m)}catch(C){m.error(C)}},v.prototype.forEach=function(m,C){var M=this;return new(C=_(C))(function(O,P){var L=new n.SafeSubscriber({next:function(Q){try{m(Q)}catch($){P($),L.unsubscribe()}},error:P,complete:O});M.subscribe(L)})},v.prototype._subscribe=function(m){var C;return null===(C=this.source)||void 0===C?void 0:C.subscribe(m)},v.prototype[y.observable]=function(){return this},v.prototype.pipe=function(){for(var m=[],C=0;C<arguments.length;C++)m[C]=arguments[C];return u.pipeFromArray(m)(this)},v.prototype.toPromise=function(m){var C=this;return new(m=_(m))(function(M,O){var P;C.subscribe(function(L){return P=L},function(L){return O(L)},function(){return M(P)})})},v.create=function(m){return new v(m)},v}();function _(v){var m;return null!==(m=null!=v?v:r.config.Promise)&&void 0!==m?m:Promise}o.Observable=p},3406:function(H,o,a){"use strict";var r,n=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,_){p.__proto__=_}||function(p,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(p[f]=_[f])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.ReplaySubject=void 0;var h=a(3768),y=a(8354),u=function(r){function c(d,p,_){void 0===d&&(d=1/0),void 0===p&&(p=1/0),void 0===_&&(_=y.dateTimestampProvider);var f=r.call(this)||this;return f._bufferSize=d,f._windowTime=p,f._timestampProvider=_,f._buffer=[],f._infiniteTimeWindow=!0,f._infiniteTimeWindow=p===1/0,f._bufferSize=Math.max(1,d),f._windowTime=Math.max(1,p),f}return n(c,r),c.prototype.next=function(d){var p=this,f=p._buffer,b=p._infiniteTimeWindow,v=p._timestampProvider,m=p._windowTime;p.isStopped||(f.push(d),!b&&f.push(v.now()+m)),this._trimBuffer(),r.prototype.next.call(this,d)},c.prototype._subscribe=function(d){this._throwIfClosed(),this._trimBuffer();for(var p=this._innerSubscribe(d),f=this._infiniteTimeWindow,v=this._buffer.slice(),m=0;m<v.length&&!d.closed;m+=f?1:2)d.next(v[m]);return this._checkFinalizedStatuses(d),p},c.prototype._trimBuffer=function(){var d=this,p=d._bufferSize,_=d._timestampProvider,f=d._buffer,b=d._infiniteTimeWindow,v=(b?1:2)*p;if(p<1/0&&v<f.length&&f.splice(0,f.length-v),!b){for(var m=_.now(),C=0,M=1;M<f.length&&f[M]<=m;M+=2)C=M;C&&f.splice(0,C+1)}},c}(h.Subject);o.ReplaySubject=u},2716:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Scheduler=void 0;var n=a(8354),h=function(){function y(u,r){void 0===r&&(r=y.now),this.schedulerActionCtor=u,this.now=r}return y.prototype.schedule=function(u,r,c){return void 0===r&&(r=0),new this.schedulerActionCtor(this,u).schedule(c,r)},y.now=n.dateTimestampProvider.now,y}();o.Scheduler=h},3768:function(H,o,a){"use strict";var f,n=this&&this.__extends||(f=function(b,v){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,C){m.__proto__=C}||function(m,C){for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&(m[M]=C[M])})(b,v)},function(b,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function m(){this.constructor=b}f(b,v),b.prototype=null===v?Object.create(v):(m.prototype=v.prototype,new m)}),h=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,v=b&&f[b],m=0;if(v)return v.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&m>=f.length&&(f=void 0),{value:f&&f[m++],done:!f}}};throw new TypeError(b?"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),u=a(6448),r=a(3965),c=a(5137),d=a(5808),p=function(f){function b(){var v=f.call(this)||this;return v.closed=!1,v.currentObservers=null,v.observers=[],v.isStopped=!1,v.hasError=!1,v.thrownError=null,v}return n(b,f),b.prototype.lift=function(v){var m=new _(this,this);return m.operator=v,m},b.prototype._throwIfClosed=function(){if(this.closed)throw new r.ObjectUnsubscribedError},b.prototype.next=function(v){var m=this;d.errorContext(function(){var C,M;if(m._throwIfClosed(),!m.isStopped){m.currentObservers||(m.currentObservers=Array.from(m.observers));try{for(var O=h(m.currentObservers),P=O.next();!P.done;P=O.next())P.value.next(v)}catch(Q){C={error:Q}}finally{try{P&&!P.done&&(M=O.return)&&M.call(O)}finally{if(C)throw C.error}}}})},b.prototype.error=function(v){var m=this;d.errorContext(function(){if(m._throwIfClosed(),!m.isStopped){m.hasError=m.isStopped=!0,m.thrownError=v;for(var C=m.observers;C.length;)C.shift().error(v)}})},b.prototype.complete=function(){var v=this;d.errorContext(function(){if(v._throwIfClosed(),!v.isStopped){v.isStopped=!0;for(var m=v.observers;m.length;)m.shift().complete()}})},b.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(b.prototype,"observed",{get:function(){var v;return(null===(v=this.observers)||void 0===v?void 0:v.length)>0},enumerable:!1,configurable:!0}),b.prototype._trySubscribe=function(v){return this._throwIfClosed(),f.prototype._trySubscribe.call(this,v)},b.prototype._subscribe=function(v){return this._throwIfClosed(),this._checkFinalizedStatuses(v),this._innerSubscribe(v)},b.prototype._innerSubscribe=function(v){var m=this,C=this,P=C.observers;return C.hasError||C.isStopped?u.EMPTY_SUBSCRIPTION:(this.currentObservers=null,P.push(v),new u.Subscription(function(){m.currentObservers=null,c.arrRemove(P,v)}))},b.prototype._checkFinalizedStatuses=function(v){var m=this,O=m.isStopped;m.hasError?v.error(m.thrownError):O&&v.complete()},b.prototype.asObservable=function(){var v=new y.Observable;return v.source=this,v},b.create=function(v,m){return new _(v,m)},b}(y.Observable);o.Subject=p;var _=function(f){function b(v,m){var C=f.call(this)||this;return C.destination=v,C.source=m,C}return n(b,f),b.prototype.next=function(v){var m,C;null===(C=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===C||C.call(m,v)},b.prototype.error=function(v){var m,C;null===(C=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===C||C.call(m,v)},b.prototype.complete=function(){var v,m;null===(m=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===m||m.call(v)},b.prototype._subscribe=function(v){var m,C;return null!==(C=null===(m=this.source)||void 0===m?void 0:m.subscribe(v))&&void 0!==C?C:u.EMPTY_SUBSCRIPTION},b}(p);o.AnonymousSubject=_},7052:function(H,o,a){"use strict";var L,n=this&&this.__extends||(L=function(Q,$){return(L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,V){z.__proto__=V}||function(z,V){for(var X in V)Object.prototype.hasOwnProperty.call(V,X)&&(z[X]=V[X])})(Q,$)},function(Q,$){if("function"!=typeof $&&null!==$)throw new TypeError("Class extends value "+String($)+" is not a constructor or null");function z(){this.constructor=Q}L(Q,$),Q.prototype=null===$?Object.create($):(z.prototype=$.prototype,new z)});Object.defineProperty(o,"__esModule",{value:!0}),o.EMPTY_OBSERVER=o.SafeSubscriber=o.Subscriber=void 0;var h=a(7104),y=a(6448),u=a(3570),r=a(4709),c=a(31),d=a(6941),p=a(3914),_=a(5808),f=function(L){function Q($){var z=L.call(this)||this;return z.isStopped=!1,$?(z.destination=$,y.isSubscription($)&&$.add(z)):z.destination=o.EMPTY_OBSERVER,z}return n(Q,L),Q.create=function($,z,V){return new C($,z,V)},Q.prototype.next=function($){this.isStopped?P(d.nextNotification($),this):this._next($)},Q.prototype.error=function($){this.isStopped?P(d.errorNotification($),this):(this.isStopped=!0,this._error($))},Q.prototype.complete=function(){this.isStopped?P(d.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},Q.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,L.prototype.unsubscribe.call(this),this.destination=null)},Q.prototype._next=function($){this.destination.next($)},Q.prototype._error=function($){try{this.destination.error($)}finally{this.unsubscribe()}},Q.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Q}(y.Subscription);o.Subscriber=f;var b=Function.prototype.bind;function v(L,Q){return b.call(L,Q)}var m=function(){function L(Q){this.partialObserver=Q}return L.prototype.next=function(Q){var $=this.partialObserver;if($.next)try{$.next(Q)}catch(z){M(z)}},L.prototype.error=function(Q){var $=this.partialObserver;if($.error)try{$.error(Q)}catch(z){M(z)}else M(Q)},L.prototype.complete=function(){var Q=this.partialObserver;if(Q.complete)try{Q.complete()}catch($){M($)}},L}(),C=function(L){function Q($,z,V){var re,me,X=L.call(this)||this;return h.isFunction($)||!$?re={next:null!=$?$:void 0,error:null!=z?z:void 0,complete:null!=V?V:void 0}:X&&u.config.useDeprecatedNextContext?((me=Object.create($)).unsubscribe=function(){return X.unsubscribe()},re={next:$.next&&v($.next,me),error:$.error&&v($.error,me),complete:$.complete&&v($.complete,me)}):re=$,X.destination=new m(re),X}return n(Q,L),Q}(f);function M(L){u.config.useDeprecatedSynchronousErrorHandling?_.captureError(L):r.reportUnhandledError(L)}function P(L,Q){var $=u.config.onStoppedNotification;$&&p.timeoutProvider.setTimeout(function(){return $(L,Q)})}o.SafeSubscriber=C,o.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function O(L){throw L},complete:c.noop}},6448:function(H,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,v=b&&f[b],m=0;if(v)return v.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&m>=f.length&&(f=void 0),{value:f&&f[m++],done:!f}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},h=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},y=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.isSubscription=o.EMPTY_SUBSCRIPTION=o.Subscription=void 0;var u=a(7104),r=a(4970),c=a(5137),d=function(){function f(b){this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}return f.prototype.unsubscribe=function(){var b,v,m,C,M;if(!this.closed){this.closed=!0;var O=this._parentage;if(O)if(this._parentage=null,Array.isArray(O))try{for(var P=n(O),L=P.next();!L.done;L=P.next())L.value.remove(this)}catch(me){b={error:me}}finally{try{L&&!L.done&&(v=P.return)&&v.call(P)}finally{if(b)throw b.error}}else O.remove(this);var $=this.initialTeardown;if(u.isFunction($))try{$()}catch(me){M=me instanceof r.UnsubscriptionError?me.errors:[me]}var z=this._finalizers;if(z){this._finalizers=null;try{for(var V=n(z),X=V.next();!X.done;X=V.next()){var re=X.value;try{_(re)}catch(me){M=null!=M?M:[],me instanceof r.UnsubscriptionError?M=y(y([],h(M)),h(me.errors)):M.push(me)}}}catch(me){m={error:me}}finally{try{X&&!X.done&&(C=V.return)&&C.call(V)}finally{if(m)throw m.error}}}if(M)throw new r.UnsubscriptionError(M)}},f.prototype.add=function(b){var v;if(b&&b!==this)if(this.closed)_(b);else{if(b instanceof f){if(b.closed||b._hasParent(this))return;b._addParent(this)}(this._finalizers=null!==(v=this._finalizers)&&void 0!==v?v:[]).push(b)}},f.prototype._hasParent=function(b){var v=this._parentage;return v===b||Array.isArray(v)&&v.includes(b)},f.prototype._addParent=function(b){var v=this._parentage;this._parentage=Array.isArray(v)?(v.push(b),v):v?[v,b]:b},f.prototype._removeParent=function(b){var v=this._parentage;v===b?this._parentage=null:Array.isArray(v)&&c.arrRemove(v,b)},f.prototype.remove=function(b){var v=this._finalizers;v&&c.arrRemove(v,b),b instanceof f&&b._removeParent(this)},f.EMPTY=((b=new f).closed=!0,b),f;var b}();function _(f){u.isFunction(f)?f():f.unsubscribe()}o.Subscription=d,o.EMPTY_SUBSCRIPTION=d.EMPTY,o.isSubscription=function p(f){return f instanceof d||f&&"closed"in f&&u.isFunction(f.remove)&&u.isFunction(f.add)&&u.isFunction(f.unsubscribe)}},3570:(H,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:(H,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(u,r){var c="object"==typeof r;return new Promise(function(d,p){var _=new h.SafeSubscriber({next:function(f){d(f),_.unsubscribe()},error:p,complete:function(){c?d(r.defaultValue):p(new n.EmptyError)}});u.subscribe(_)})}},5257:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.lastValueFrom=void 0;var n=a(8915);o.lastValueFrom=function h(y,u){var r="object"==typeof u;return new Promise(function(c,d){var _,p=!1;y.subscribe({next:function(f){_=f,p=!0},error:d,complete:function(){p?c(_):r?c(u.defaultValue):d(new n.EmptyError)}})})}},6686:function(H,o,a){"use strict";var p,n=this&&this.__extends||(p=function(_,f){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,v){b.__proto__=v}||function(b,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(b[m]=v[m])})(_,f)},function(_,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function b(){this.constructor=_}p(_,f),_.prototype=null===f?Object.create(f):(b.prototype=f.prototype,new b)});Object.defineProperty(o,"__esModule",{value:!0}),o.ConnectableObservable=void 0;var h=a(5821),y=a(6448),u=a(904),r=a(3173),c=a(9216),d=function(p){function _(f,b){var v=p.call(this)||this;return v.source=f,v.subjectFactory=b,v._subject=null,v._refCount=0,v._connection=null,c.hasLift(f)&&(v.lift=f.lift),v}return n(_,p),_.prototype._subscribe=function(f){return this.getSubject().subscribe(f)},_.prototype.getSubject=function(){var f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject},_.prototype._teardown=function(){this._refCount=0;var f=this._connection;this._subject=this._connection=null,null==f||f.unsubscribe()},_.prototype.connect=function(){var f=this,b=this._connection;if(!b){b=this._connection=new y.Subscription;var v=this.getSubject();b.add(this.source.subscribe(r.createOperatorSubscriber(v,void 0,function(){f._teardown(),v.complete()},function(m){f._teardown(),v.error(m)},function(){return f._teardown()}))),b.closed&&(this._connection=null,b=y.Subscription.EMPTY)}return b},_.prototype.refCount=function(){return u.refCount()(this)},_}(h.Observable);o.ConnectableObservable=d},7532:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallback=void 0;var n=a(4832);o.bindCallback=function h(y,u,r){return n.bindCallbackInternals(!1,y,u,r)}},4832:function(H,o,a){"use strict";var n=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallbackInternals=void 0;var y=a(1875),u=a(5821),r=a(1698),c=a(5280),d=a(4928),p=a(7606);o.bindCallbackInternals=function _(f,b,v,m){if(v){if(!y.isScheduler(v))return function(){for(var C=[],M=0;M<arguments.length;M++)C[M]=arguments[M];return _(f,b,m).apply(this,C).pipe(c.mapOneOrManyArgs(v))};m=v}return m?function(){for(var C=[],M=0;M<arguments.length;M++)C[M]=arguments[M];return _(f,b).apply(this,C).pipe(r.subscribeOn(m),d.observeOn(m))}:function(){for(var C=this,M=[],O=0;O<arguments.length;O++)M[O]=arguments[O];var P=new p.AsyncSubject,L=!0;return new u.Observable(function(Q){var $=P.subscribe(Q);if(L){L=!1;var z=!1,V=!1;b.apply(C,h(h([],n(M)),[function(){for(var X=[],re=0;re<arguments.length;re++)X[re]=arguments[re];if(f){var me=X.shift();if(null!=me)return void P.error(me)}P.next(1<X.length?X:X[0]),V=!0,z&&P.complete()}])),V&&P.complete(),z=!0}return $})}}},3488:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindNodeCallback=void 0;var n=a(4832);o.bindNodeCallback=function h(y,u,r){return n.bindCallbackInternals(!0,y,u,r)}},6892:(H,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),u=a(7884),r=a(5280),c=a(1642),d=a(7598),p=a(3173),_=a(2590);function b(m,C,M){return void 0===M&&(M=u.identity),function(O){v(C,function(){for(var P=m.length,L=new Array(P),Q=P,$=P,z=function(X){v(C,function(){var re=y.from(m[X],C),me=!1;re.subscribe(p.createOperatorSubscriber(O,function(Re){L[X]=Re,me||(me=!0,$--),$||O.next(M(L.slice()))},function(){--Q||O.complete()}))},O)},V=0;V<P;V++)z(V)},O)}}function v(m,C,M){m?_.executeSchedule(M,m,C):C()}o.combineLatest=function f(){for(var m=[],C=0;C<arguments.length;C++)m[C]=arguments[C];var M=c.popScheduler(m),O=c.popResultSelector(m),P=h.argsArgArrayOrObject(m),L=P.args,Q=P.keys;if(0===L.length)return y.from([],M);var $=new n.Observable(b(L,M,Q?function(z){return d.createObject(Q,z)}:u.identity));return O?$.pipe(r.mapOneOrManyArgs(O)):$},o.combineLatestInit=b},509:(H,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 u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return n.concatAll()(y.from(r,h.popScheduler(r)))}},9190:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connectable=void 0;var n=a(3768),h=a(5821),y=a(9954),u={connector:function(){return new n.Subject},resetOnDisconnect:!0};o.connectable=function r(c,d){void 0===d&&(d=u);var p=null,_=d.connector,f=d.resetOnDisconnect,b=void 0===f||f,v=_(),m=new h.Observable(function(C){return v.subscribe(C)});return m.connect=function(){return(!p||p.closed)&&(p=y.defer(function(){return c}).subscribe(v),b&&p.add(function(){return v=_()})),p},m}},9954:(H,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(u){return new n.Observable(function(r){h.innerFrom(u()).subscribe(r)})}},2946:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrames=void 0;var n=a(5821),h=a(1038),y=a(6343);function r(d){return new n.Observable(function(p){var _=d||h.performanceTimestampProvider,f=_.now(),b=0,v=function(){p.closed||(b=y.animationFrameProvider.requestAnimationFrame(function(m){b=0;var C=_.now();p.next({timestamp:d?C:m,elapsed:C-f}),v()}))};return v(),function(){b&&y.animationFrameProvider.cancelAnimationFrame(b)}})}o.animationFrames=function u(d){return d?r(d):c};var c=r()},7406:(H,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(u){return u.complete()}),o.empty=function h(u){return u?function y(u){return new n.Observable(function(r){return u.schedule(function(){return r.complete()})})}(u):o.EMPTY}},7928:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.forkJoin=void 0;var n=a(5821),h=a(9923),y=a(8767),u=a(1642),r=a(3173),c=a(5280),d=a(7598);o.forkJoin=function p(){for(var _=[],f=0;f<arguments.length;f++)_[f]=arguments[f];var b=u.popResultSelector(_),v=h.argsArgArrayOrObject(_),m=v.args,C=v.keys,M=new n.Observable(function(O){var P=m.length;if(P)for(var L=new Array(P),Q=P,$=P,z=function(X){var re=!1;y.innerFrom(m[X]).subscribe(r.createOperatorSubscriber(O,function(me){re||(re=!0,$--),L[X]=me},function(){return Q--},void 0,function(){(!Q||!re)&&($||O.next(C?d.createObject(C,L):L),O.complete())}))},V=0;V<P;V++)z(V);else O.complete()});return b?M.pipe(c.mapOneOrManyArgs(b)):M}},4996:(H,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(u,r){return r?n.scheduled(u,r):h.innerFrom(u)}},2579:function(H,o,a){"use strict";var n=this&&this.__read||function(O,P){var L="function"==typeof Symbol&&O[Symbol.iterator];if(!L)return O;var $,V,Q=L.call(O),z=[];try{for(;(void 0===P||P-- >0)&&!($=Q.next()).done;)z.push($.value)}catch(X){V={error:X}}finally{try{$&&!$.done&&(L=Q.return)&&L.call(Q)}finally{if(V)throw V.error}}return z};Object.defineProperty(o,"__esModule",{value:!0}),o.fromEvent=void 0;var h=a(8767),y=a(5821),u=a(3010),r=a(697),c=a(7104),d=a(5280),p=["addListener","removeListener"],_=["addEventListener","removeEventListener"],f=["on","off"];function v(O,P){return function(L){return function(Q){return O[L](P,Q)}}}o.fromEvent=function b(O,P,L,Q){if(c.isFunction(L)&&(Q=L,L=void 0),Q)return b(O,P,L).pipe(d.mapOneOrManyArgs(Q));var $=n(function M(O){return c.isFunction(O.addEventListener)&&c.isFunction(O.removeEventListener)}(O)?_.map(function(X){return function(re){return O[X](P,re,L)}}):function m(O){return c.isFunction(O.addListener)&&c.isFunction(O.removeListener)}(O)?p.map(v(O,P)):function C(O){return c.isFunction(O.on)&&c.isFunction(O.off)}(O)?f.map(v(O,P)):[],2),z=$[0],V=$[1];if(!z&&r.isArrayLike(O))return u.mergeMap(function(X){return b(X,P,L)})(h.innerFrom(O));if(!z)throw new TypeError("Invalid event target");return new y.Observable(function(X){var re=function(){for(var me=[],Re=0;Re<arguments.length;Re++)me[Re]=arguments[Re];return X.next(1<me.length?me:me[0])};return z(re),function(){return V(re)}})}},3975:(H,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 u(r,c,d){return d?u(r,c).pipe(y.mapOneOrManyArgs(d)):new n.Observable(function(p){var _=function(){for(var b=[],v=0;v<arguments.length;v++)b[v]=arguments[v];return p.next(1===b.length?b[0]:b)},f=r(_);return h.isFunction(c)?function(){return c(_,f)}:void 0})}},5107:(H,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(u){return y.subscribe(u)})}},4318:function(H,o,a){"use strict";var n=this&&this.__generator||function(d,p){var f,b,v,m,_={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return m={next:C(0),throw:C(1),return:C(2)},"function"==typeof Symbol&&(m[Symbol.iterator]=function(){return this}),m;function C(O){return function(P){return function M(O){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,b&&(v=2&O[0]?b.return:O[0]?b.throw||((v=b.return)&&v.call(b),0):b.next)&&!(v=v.call(b,O[1])).done)return v;switch(b=0,v&&(O=[2&O[0],v.value]),O[0]){case 0:case 1:v=O;break;case 4:return _.label++,{value:O[1],done:!1};case 5:_.label++,b=O[1],O=[0];continue;case 7:O=_.ops.pop(),_.trys.pop();continue;default:if(!(v=(v=_.trys).length>0&&v[v.length-1])&&(6===O[0]||2===O[0])){_=0;continue}if(3===O[0]&&(!v||O[1]>v[0]&&O[1]<v[3])){_.label=O[1];break}if(6===O[0]&&_.label<v[1]){_.label=v[1],v=O;break}if(v&&_.label<v[2]){_.label=v[2],_.ops.push(O);break}v[2]&&_.ops.pop(),_.trys.pop();continue}O=p.call(d,_)}catch(P){O=[6,P],b=0}finally{f=v=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([O,P])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.generate=void 0;var h=a(7884),y=a(1875),u=a(9954),r=a(9049);o.generate=function c(d,p,_,f,b){var v,m,C,M;function O(){var P;return n(this,function(L){switch(L.label){case 0:P=M,L.label=1;case 1:return!p||p(P)?[4,C(P)]:[3,4];case 2:L.sent(),L.label=3;case 3:return P=_(P),[3,1];case 4:return[2]}})}return 1===arguments.length?(M=(v=d).initialState,p=v.condition,_=v.iterate,C=void 0===(m=v.resultSelector)?h.identity:m,b=v.scheduler):(M=d,!f||y.isScheduler(f)?(C=h.identity,b=f):C=f),u.defer(b?function(){return r.scheduleIterable(O(),b)}:O)}},3140:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.iif=void 0;var n=a(9954);o.iif=function h(y,u,r){return n.defer(function(){return y()?u:r})}},8767:function(H,o,a){"use strict";var n=this&&this.__awaiter||function(re,me,Re,it){return new(Re||(Re=Promise))(function(xe,oe){function Ie(te){try{qe(it.next(te))}catch(fe){oe(fe)}}function ze(te){try{qe(it.throw(te))}catch(fe){oe(fe)}}function qe(te){te.done?xe(te.value):function Ce(xe){return xe instanceof Re?xe:new Re(function(oe){oe(xe)})}(te.value).then(Ie,ze)}qe((it=it.apply(re,me||[])).next())})},h=this&&this.__generator||function(re,me){var it,Ce,xe,oe,Re={label:0,sent:function(){if(1&xe[0])throw xe[1];return xe[1]},trys:[],ops:[]};return oe={next:Ie(0),throw:Ie(1),return:Ie(2)},"function"==typeof Symbol&&(oe[Symbol.iterator]=function(){return this}),oe;function Ie(qe){return function(te){return function ze(qe){if(it)throw new TypeError("Generator is already executing.");for(;Re;)try{if(it=1,Ce&&(xe=2&qe[0]?Ce.return:qe[0]?Ce.throw||((xe=Ce.return)&&xe.call(Ce),0):Ce.next)&&!(xe=xe.call(Ce,qe[1])).done)return xe;switch(Ce=0,xe&&(qe=[2&qe[0],xe.value]),qe[0]){case 0:case 1:xe=qe;break;case 4:return Re.label++,{value:qe[1],done:!1};case 5:Re.label++,Ce=qe[1],qe=[0];continue;case 7:qe=Re.ops.pop(),Re.trys.pop();continue;default:if(!(xe=(xe=Re.trys).length>0&&xe[xe.length-1])&&(6===qe[0]||2===qe[0])){Re=0;continue}if(3===qe[0]&&(!xe||qe[1]>xe[0]&&qe[1]<xe[3])){Re.label=qe[1];break}if(6===qe[0]&&Re.label<xe[1]){Re.label=xe[1],xe=qe;break}if(xe&&Re.label<xe[2]){Re.label=xe[2],Re.ops.push(qe);break}xe[2]&&Re.ops.pop(),Re.trys.pop();continue}qe=me.call(re,Re)}catch(te){qe=[6,te],Ce=0}finally{it=xe=0}if(5&qe[0])throw qe[1];return{value:qe[0]?qe[1]:void 0,done:!0}}([qe,te])}}},y=this&&this.__asyncValues||function(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Re,me=re[Symbol.asyncIterator];return me?me.call(re):(re="function"==typeof u?u(re):re[Symbol.iterator](),Re={},it("next"),it("throw"),it("return"),Re[Symbol.asyncIterator]=function(){return this},Re);function it(xe){Re[xe]=re[xe]&&function(oe){return new Promise(function(Ie,ze){!function Ce(xe,oe,Ie,ze){Promise.resolve(ze).then(function(qe){xe({value:qe,done:Ie})},oe)}(Ie,ze,(oe=re[xe](oe)).done,oe.value)})}}},u=this&&this.__values||function(re){var me="function"==typeof Symbol&&Symbol.iterator,Re=me&&re[me],it=0;if(Re)return Re.call(re);if(re&&"number"==typeof re.length)return{next:function(){return re&&it>=re.length&&(re=void 0),{value:re&&re[it++],done:!re}}};throw new TypeError(me?"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),c=a(5050),d=a(5821),p=a(7454),_=a(6175),f=a(6870),b=a(5431),v=a(7128),m=a(7104),C=a(4709),M=a(1689);function P(re){return new d.Observable(function(me){var Re=re[M.observable]();if(m.isFunction(Re.subscribe))return Re.subscribe(me);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function L(re){return new d.Observable(function(me){for(var Re=0;Re<re.length&&!me.closed;Re++)me.next(re[Re]);me.complete()})}function Q(re){return new d.Observable(function(me){re.then(function(Re){me.closed||(me.next(Re),me.complete())},function(Re){return me.error(Re)}).then(null,C.reportUnhandledError)})}function $(re){return new d.Observable(function(me){var Re,it;try{for(var Ce=u(re),xe=Ce.next();!xe.done;xe=Ce.next())if(me.next(xe.value),me.closed)return}catch(Ie){Re={error:Ie}}finally{try{xe&&!xe.done&&(it=Ce.return)&&it.call(Ce)}finally{if(Re)throw Re.error}}me.complete()})}function z(re){return new d.Observable(function(me){(function X(re,me){var Re,it,Ce,xe;return n(this,void 0,void 0,function(){var Ie;return h(this,function(ze){switch(ze.label){case 0:ze.trys.push([0,5,6,11]),Re=y(re),ze.label=1;case 1:return[4,Re.next()];case 2:if((it=ze.sent()).done)return[3,4];if(me.next(it.value),me.closed)return[2];ze.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return Ie=ze.sent(),Ce={error:Ie},[3,11];case 6:return ze.trys.push([6,,9,10]),it&&!it.done&&(xe=Re.return)?[4,xe.call(Re)]:[3,8];case 7:ze.sent(),ze.label=8;case 8:return[3,10];case 9:if(Ce)throw Ce.error;return[7];case 10:return[7];case 11:return me.complete(),[2]}})})})(re,me).catch(function(Re){return me.error(Re)})})}function V(re){return z(v.readableStreamLikeToAsyncGenerator(re))}o.innerFrom=function O(re){if(re instanceof d.Observable)return re;if(null!=re){if(p.isInteropObservable(re))return P(re);if(r.isArrayLike(re))return L(re);if(c.isPromise(re))return Q(re);if(_.isAsyncIterable(re))return z(re);if(b.isIterable(re))return $(re);if(v.isReadableStreamLike(re))return V(re)}throw f.createInvalidObservableTypeError(re)},o.fromInteropObservable=P,o.fromArrayLike=L,o.fromPromise=Q,o.fromIterable=$,o.fromAsyncIterable=z,o.fromReadableStreamLike=V},1836:(H,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(u,r){return void 0===u&&(u=0),void 0===r&&(r=n.asyncScheduler),u<0&&(u=0),h.timer(u,u,r)}},9248:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var n=a(3917),h=a(8767),y=a(7406),u=a(1642),r=a(4996);o.merge=function c(){for(var d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];var _=u.popScheduler(d),f=u.popNumber(d,1/0),b=d;return b.length?1===b.length?h.innerFrom(b[0]):n.mergeAll(f)(r.from(b,_)):y.EMPTY}},2818:(H,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:(H,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 u=[],r=0;r<arguments.length;r++)u[r]=arguments[r];var c=n.popScheduler(u);return h.from(u,c)}},9978:(H,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 u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return h.onErrorResumeNext(y.argsOrArgArray(r))(n.EMPTY)}},5519:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairs=void 0;var n=a(4996);o.pairs=function h(y,u){return n.from(Object.entries(y),u)}},8221:(H,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 u(r,c,d){return[h.filter(c,d)(y.innerFrom(r)),h.filter(n.not(c,d))(y.innerFrom(r))]}},8181:(H,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),u=a(3173);function c(d){return function(p){for(var _=[],f=function(v){_.push(h.innerFrom(d[v]).subscribe(u.createOperatorSubscriber(p,function(m){if(_){for(var C=0;C<_.length;C++)C!==v&&_[C].unsubscribe();_=null}p.next(m)})))},b=0;_&&!p.closed&&b<d.length;b++)f(b)}}o.race=function r(){for(var d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];return 1===(d=y.argsOrArgArray(d)).length?h.innerFrom(d[0]):new n.Observable(c(d))},o.raceInit=c},4622:(H,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(u,r,c){if(null==r&&(r=u,u=0),r<=0)return h.EMPTY;var d=r+u;return new n.Observable(c?function(p){var _=u;return c.schedule(function(){_<d?(p.next(_++),this.schedule()):p.complete()})}:function(p){for(var _=u;_<d&&!p.closed;)p.next(_++);p.complete()})}},338:(H,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(u,r){var c=h.isFunction(u)?u:function(){return u},d=function(p){return p.error(c())};return new n.Observable(r?function(p){return r.schedule(d,0,p)}:d)}},3271:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timer=void 0;var n=a(5821),h=a(4006),y=a(1875),u=a(7323);o.timer=function r(c,d,p){void 0===c&&(c=0),void 0===p&&(p=h.async);var _=-1;return null!=d&&(y.isScheduler(d)?p=d:_=d),new n.Observable(function(f){var b=u.isValidDate(c)?+c-p.now():c;b<0&&(b=0);var v=0;return p.schedule(function(){f.closed||(f.next(v++),0<=_?this.schedule(void 0,_):f.complete())},b)})}},924:(H,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 u(r,c){return new n.Observable(function(d){var p=r(),_=c(p);return(_?h.innerFrom(_):y.EMPTY).subscribe(d),function(){p&&p.unsubscribe()}})}},4842:function(H,o,a){"use strict";var n=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var y=a(5821),u=a(8767),r=a(3531),c=a(7406),d=a(3173),p=a(1642);o.zip=function _(){for(var f=[],b=0;b<arguments.length;b++)f[b]=arguments[b];var v=p.popResultSelector(f),m=r.argsOrArgArray(f);return m.length?new y.Observable(function(C){var M=m.map(function(){return[]}),O=m.map(function(){return!1});C.add(function(){M=O=null});for(var P=function(Q){u.innerFrom(m[Q]).subscribe(d.createOperatorSubscriber(C,function($){if(M[Q].push($),M.every(function(V){return V.length})){var z=M.map(function(V){return V.shift()});C.next(v?v.apply(void 0,h([],n(z))):z),M.some(function(V,X){return!V.length&&O[X]})&&C.complete()}},function(){O[Q]=!0,!M[Q].length&&C.complete()}))},L=0;!C.closed&&L<m.length;L++)P(L);return function(){M=O=null}}):c.EMPTY}},3173:function(H,o,a){"use strict";var r,n=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,_){p.__proto__=_}||function(p,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(p[f]=_[f])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.OperatorSubscriber=o.createOperatorSubscriber=void 0;var h=a(7052);o.createOperatorSubscriber=function y(r,c,d,p,_){return new u(r,c,d,p,_)};var u=function(r){function c(d,p,_,f,b,v){var m=r.call(this,d)||this;return m.onFinalize=b,m.shouldUnsubscribe=v,m._next=p?function(C){try{p(C)}catch(M){d.error(M)}}:r.prototype._next,m._error=f?function(C){try{f(C)}catch(M){d.error(M)}finally{this.unsubscribe()}}:r.prototype._error,m._complete=_?function(){try{_()}catch(C){d.error(C)}finally{this.unsubscribe()}}:r.prototype._complete,m}return n(c,r),c.prototype.unsubscribe=function(){var d;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;r.prototype.unsubscribe.call(this),!p&&(null===(d=this.onFinalize)||void 0===d||d.call(this))}},c}(h.Subscriber);o.OperatorSubscriber=u},4815:(H,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 u(r){return n.operate(function(c,d){var p=!1,_=null,f=null,b=!1,v=function(){if(null==f||f.unsubscribe(),f=null,p){p=!1;var C=_;_=null,d.next(C)}b&&d.complete()},m=function(){f=null,b&&d.complete()};c.subscribe(y.createOperatorSubscriber(d,function(C){p=!0,_=C,f||h.innerFrom(r(C)).subscribe(f=y.createOperatorSubscriber(d,v,m))},function(){b=!0,(!p||!f||f.closed)&&d.complete()}))})}},9034:(H,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 u(r,c){return void 0===c&&(c=n.asyncScheduler),h.audit(function(){return y.timer(r,c)})}},8544:(H,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 u(r){return n.operate(function(c,d){var p=[];return c.subscribe(y.createOperatorSubscriber(d,function(_){return p.push(_)},function(){d.next(p),d.complete()})),r.subscribe(y.createOperatorSubscriber(d,function(){var _=p;p=[],d.next(_)},h.noop)),function(){p=null}})}},3999:function(H,o,a){"use strict";var n=this&&this.__values||function(c){var d="function"==typeof Symbol&&Symbol.iterator,p=d&&c[d],_=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&_>=c.length&&(c=void 0),{value:c&&c[_++],done:!c}}};throw new TypeError(d?"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),u=a(5137);o.bufferCount=function r(c,d){return void 0===d&&(d=null),d=null!=d?d:c,h.operate(function(p,_){var f=[],b=0;p.subscribe(y.createOperatorSubscriber(_,function(v){var m,C,M,O,P=null;b++%d==0&&f.push([]);try{for(var L=n(f),Q=L.next();!Q.done;Q=L.next())($=Q.value).push(v),c<=$.length&&(P=null!=P?P:[]).push($)}catch(X){m={error:X}}finally{try{Q&&!Q.done&&(C=L.return)&&C.call(L)}finally{if(m)throw m.error}}if(P)try{for(var z=n(P),V=z.next();!V.done;V=z.next()){var $;u.arrRemove(f,$=V.value),_.next($)}}catch(X){M={error:X}}finally{try{V&&!V.done&&(O=z.return)&&O.call(z)}finally{if(M)throw M.error}}},function(){var v,m;try{for(var C=n(f),M=C.next();!M.done;M=C.next())_.next(M.value)}catch(P){v={error:P}}finally{try{M&&!M.done&&(m=C.return)&&m.call(C)}finally{if(v)throw v.error}}_.complete()},void 0,function(){f=null}))})}},1392:function(H,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,v=b&&f[b],m=0;if(v)return v.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&m>=f.length&&(f=void 0),{value:f&&f[m++],done:!f}}};throw new TypeError(b?"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),u=a(3173),r=a(5137),c=a(4006),d=a(1642),p=a(2590);o.bufferTime=function _(f){for(var b,v,m=[],C=1;C<arguments.length;C++)m[C-1]=arguments[C];var M=null!==(b=d.popScheduler(m))&&void 0!==b?b:c.asyncScheduler,O=null!==(v=m[0])&&void 0!==v?v:null,P=m[1]||1/0;return y.operate(function(L,Q){var $=[],z=!1,V=function(me){var Re=me.buffer;me.subs.unsubscribe(),r.arrRemove($,me),Q.next(Re),z&&X()},X=function(){if($){var me=new h.Subscription;Q.add(me);var it={buffer:[],subs:me};$.push(it),p.executeSchedule(me,M,function(){return V(it)},f)}};null!==O&&O>=0?p.executeSchedule(Q,M,X,O,!0):z=!0,X();var re=u.createOperatorSubscriber(Q,function(me){var Re,it,Ce=$.slice();try{for(var xe=n(Ce),oe=xe.next();!oe.done;oe=xe.next()){var Ie=oe.value,ze=Ie.buffer;ze.push(me),P<=ze.length&&V(Ie)}}catch(qe){Re={error:qe}}finally{try{oe&&!oe.done&&(it=xe.return)&&it.call(xe)}finally{if(Re)throw Re.error}}},function(){for(;null!=$&&$.length;)Q.next($.shift().buffer);null==re||re.unsubscribe(),Q.complete(),Q.unsubscribe()},void 0,function(){return $=null});L.subscribe(re)})}},555:function(H,o,a){"use strict";var n=this&&this.__values||function(_){var f="function"==typeof Symbol&&Symbol.iterator,b=f&&_[f],v=0;if(b)return b.call(_);if(_&&"number"==typeof _.length)return{next:function(){return _&&v>=_.length&&(_=void 0),{value:_&&_[v++],done:!_}}};throw new TypeError(f?"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),u=a(8767),r=a(3173),c=a(31),d=a(5137);o.bufferToggle=function p(_,f){return y.operate(function(b,v){var m=[];u.innerFrom(_).subscribe(r.createOperatorSubscriber(v,function(C){var M=[];m.push(M);var O=new h.Subscription;O.add(u.innerFrom(f(C)).subscribe(r.createOperatorSubscriber(v,function(){d.arrRemove(m,M),v.next(M),O.unsubscribe()},c.noop)))},c.noop)),b.subscribe(r.createOperatorSubscriber(v,function(C){var M,O;try{for(var P=n(m),L=P.next();!L.done;L=P.next())L.value.push(C)}catch($){M={error:$}}finally{try{L&&!L.done&&(O=P.return)&&O.call(P)}finally{if(M)throw M.error}}},function(){for(;m.length>0;)v.next(m.shift());v.complete()}))})}},7274:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bufferWhen=void 0;var n=a(9216),h=a(31),y=a(3173),u=a(8767);o.bufferWhen=function r(c){return n.operate(function(d,p){var _=null,f=null,b=function(){null==f||f.unsubscribe();var v=_;_=[],v&&p.next(v),u.innerFrom(c()).subscribe(f=y.createOperatorSubscriber(p,b,h.noop))};b(),d.subscribe(y.createOperatorSubscriber(p,function(v){return null==_?void 0:_.push(v)},function(){_&&p.next(_),p.complete()},void 0,function(){return _=f=null}))})}},6e3:(H,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 u(r){return y.operate(function(c,d){var f,p=null,_=!1;p=c.subscribe(h.createOperatorSubscriber(d,void 0,void 0,function(b){f=n.innerFrom(r(b,u(r)(c))),p?(p.unsubscribe(),p=null,f.subscribe(d)):_=!0})),_&&(p.unsubscribe(),p=null,f.subscribe(d))})}},8996:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineAll=void 0;var n=a(8931);o.combineAll=n.combineLatestAll},5538:function(H,o,a){"use strict";var n=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatest=void 0;var y=a(6892),u=a(9216),r=a(3531),c=a(5280),d=a(1471),p=a(1642);o.combineLatest=function _(){for(var f=[],b=0;b<arguments.length;b++)f[b]=arguments[b];var v=p.popResultSelector(f);return v?d.pipe(_.apply(void 0,h([],n(f))),c.mapOneOrManyArgs(v)):u.operate(function(m,C){y.combineLatestInit(h([m],n(r.argsOrArgArray(f))))(C)})}},8931:(H,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(u){return h.joinAllInternals(n.combineLatest,u)}},8947:function(H,o,a){"use strict";var n=this&&this.__read||function(r,c){var d="function"==typeof Symbol&&r[Symbol.iterator];if(!d)return r;var _,b,p=d.call(r),f=[];try{for(;(void 0===c||c-- >0)&&!(_=p.next()).done;)f.push(_.value)}catch(v){b={error:v}}finally{try{_&&!_.done&&(d=p.return)&&d.call(p)}finally{if(b)throw b.error}}return f},h=this&&this.__spreadArray||function(r,c){for(var d=0,p=c.length,_=r.length;d<p;d++,_++)r[_]=c[d];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestWith=void 0;var y=a(5538);o.combineLatestWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return y.combineLatest.apply(void 0,h([],n(r)))}},4656:function(H,o,a){"use strict";var n=this&&this.__read||function(p,_){var f="function"==typeof Symbol&&p[Symbol.iterator];if(!f)return p;var v,C,b=f.call(p),m=[];try{for(;(void 0===_||_-- >0)&&!(v=b.next()).done;)m.push(v.value)}catch(M){C={error:M}}finally{try{v&&!v.done&&(f=b.return)&&f.call(b)}finally{if(C)throw C.error}}return m},h=this&&this.__spreadArray||function(p,_){for(var f=0,b=_.length,v=p.length;f<b;f++,v++)p[v]=_[f];return p};Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var y=a(9216),u=a(739),r=a(1642),c=a(4996);o.concat=function d(){for(var p=[],_=0;_<arguments.length;_++)p[_]=arguments[_];var f=r.popScheduler(p);return y.operate(function(b,v){u.concatAll()(c.from(h([b],n(p)),f)).subscribe(v)})}},739:(H,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:(H,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(u,r){return h.isFunction(r)?n.mergeMap(u,r,1):n.mergeMap(u,1)}},2993:(H,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(u,r){return h.isFunction(r)?n.concatMap(function(){return u},r):n.concatMap(function(){return u})}},5898:function(H,o,a){"use strict";var n=this&&this.__read||function(r,c){var d="function"==typeof Symbol&&r[Symbol.iterator];if(!d)return r;var _,b,p=d.call(r),f=[];try{for(;(void 0===c||c-- >0)&&!(_=p.next()).done;)f.push(_.value)}catch(v){b={error:v}}finally{try{_&&!_.done&&(d=p.return)&&d.call(p)}finally{if(b)throw b.error}}return f},h=this&&this.__spreadArray||function(r,c){for(var d=0,p=c.length,_=r.length;d<p;d++,_++)r[_]=c[d];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.concatWith=void 0;var y=a(4656);o.concatWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return y.concat.apply(void 0,h([],n(r)))}},9725:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connect=void 0;var n=a(3768),h=a(8767),y=a(9216),u=a(5107),r={connector:function(){return new n.Subject}};o.connect=function c(d,p){void 0===p&&(p=r);var _=p.connector;return y.operate(function(f,b){var v=_();h.innerFrom(d(u.fromSubscribable(v))).subscribe(b),b.add(f.subscribe(v))})}},1814:(H,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(u,r,c){return!y||y(r,c)?u+1:u},0)}},9784:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounce=void 0;var n=a(9216),h=a(31),y=a(3173),u=a(8767);o.debounce=function r(c){return n.operate(function(d,p){var _=!1,f=null,b=null,v=function(){if(null==b||b.unsubscribe(),b=null,_){_=!1;var m=f;f=null,p.next(m)}};d.subscribe(y.createOperatorSubscriber(p,function(m){null==b||b.unsubscribe(),_=!0,f=m,b=y.createOperatorSubscriber(p,v,h.noop),u.innerFrom(c(m)).subscribe(b)},function(){v(),p.complete()},void 0,function(){f=b=null}))})}},7061:(H,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 u(r,c){return void 0===c&&(c=n.asyncScheduler),h.operate(function(d,p){var _=null,f=null,b=null,v=function(){if(_){_.unsubscribe(),_=null;var C=f;f=null,p.next(C)}};function m(){var C=b+r,M=c.now();if(M<C)return _=this.schedule(void 0,C-M),void p.add(_);v()}d.subscribe(y.createOperatorSubscriber(p,function(C){f=C,b=c.now(),_||(_=c.schedule(m,r),p.add(_))},function(){v(),p.complete()},void 0,function(){f=_=null}))})}},926:(H,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(u){return n.operate(function(r,c){var d=!1;r.subscribe(h.createOperatorSubscriber(c,function(p){d=!0,c.next(p)},function(){d||c.next(u),c.complete()}))})}},2096:(H,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 u(r,c){void 0===c&&(c=n.asyncScheduler);var d=y.timer(r,c);return h.delayWhen(function(){return d})}},3264:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delayWhen=void 0;var n=a(509),h=a(1333),y=a(4041),u=a(2182),r=a(3010);o.delayWhen=function c(d,p){return p?function(_){return n.concat(p.pipe(h.take(1),y.ignoreElements()),_.pipe(c(d)))}:r.mergeMap(function(_,f){return d(_,f).pipe(h.take(1),u.mapTo(_))})}},533:(H,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 u(){return h.operate(function(r,c){r.subscribe(y.createOperatorSubscriber(c,function(d){return n.observeNotification(d,c)}))})}},5045:(H,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 u(r,c){return n.operate(function(d,p){var _=new Set;d.subscribe(h.createOperatorSubscriber(p,function(f){var b=r?r(f):f;_.has(b)||(_.add(b),p.next(f))})),null==c||c.subscribe(h.createOperatorSubscriber(p,function(){return _.clear()},y.noop))})}},5794:(H,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(c,d){return c===d}o.distinctUntilChanged=function u(c,d){return void 0===d&&(d=n.identity),c=null!=c?c:r,h.operate(function(p,_){var f,b=!0;p.subscribe(y.createOperatorSubscriber(_,function(v){var m=d(v);(b||!c(f,m))&&(b=!1,f=m,_.next(v))}))})}},8589:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilKeyChanged=void 0;var n=a(5794);o.distinctUntilKeyChanged=function h(y,u){return n.distinctUntilChanged(function(r,c){return u?u(r[y],c[y]):r[y]===c[y]})}},1069:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.elementAt=void 0;var n=a(4769),h=a(4270),y=a(9194),u=a(926),r=a(1333);o.elementAt=function c(d,p){if(d<0)throw new n.ArgumentOutOfRangeError;var _=arguments.length>=2;return function(f){return f.pipe(h.filter(function(b,v){return v===d}),r.take(1),_?u.defaultIfEmpty(p):y.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4312:function(H,o,a){"use strict";var n=this&&this.__read||function(c,d){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var f,v,_=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=_.next()).done;)b.push(f.value)}catch(m){v={error:m}}finally{try{f&&!f.done&&(p=_.return)&&p.call(_)}finally{if(v)throw v.error}}return b},h=this&&this.__spreadArray||function(c,d){for(var p=0,_=d.length,f=c.length;p<_;p++,f++)c[f]=d[p];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.endWith=void 0;var y=a(509),u=a(9677);o.endWith=function r(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return function(p){return y.concat(p,u.of.apply(void 0,h([],n(c))))}}},9098:(H,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(u,r){return n.operate(function(c,d){var p=0;c.subscribe(h.createOperatorSubscriber(d,function(_){u.call(r,_,p++,c)||(d.next(!1),d.complete())},function(){d.next(!0),d.complete()}))})}},5429:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaust=void 0;var n=a(1399);o.exhaust=n.exhaustAll},1399:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustAll=void 0;var n=a(5183),h=a(7884);o.exhaustAll=function y(){return n.exhaustMap(h.identity)}},5183:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustMap=void 0;var n=a(752),h=a(8767),y=a(9216),u=a(3173);o.exhaustMap=function r(c,d){return d?function(p){return p.pipe(r(function(_,f){return h.innerFrom(c(_,f)).pipe(n.map(function(b,v){return d(_,b,f,v)}))}))}:y.operate(function(p,_){var f=0,b=null,v=!1;p.subscribe(u.createOperatorSubscriber(_,function(m){b||(b=u.createOperatorSubscriber(_,void 0,function(){b=null,v&&_.complete()}),h.innerFrom(c(m,f++)).subscribe(b))},function(){v=!0,!b&&_.complete()}))})}},8678:(H,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(u,r,c){return void 0===r&&(r=1/0),r=(r||0)<1?1/0:r,n.operate(function(d,p){return h.mergeInternals(d,p,u,r,void 0,!0,c)})}},4270:(H,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(u,r){return n.operate(function(c,d){var p=0;c.subscribe(h.createOperatorSubscriber(d,function(_){return u.call(r,_,p++)&&d.next(_)}))})}},1587:(H,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(u,r){try{u.subscribe(r)}finally{r.add(y)}})}},2265:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createFind=o.find=void 0;var n=a(9216),h=a(3173);function u(r,c,d){var p="index"===d;return function(_,f){var b=0;_.subscribe(h.createOperatorSubscriber(f,function(v){var m=b++;r.call(c,v,m,_)&&(f.next(p?m:v),f.complete())},function(){f.next(p?-1:void 0),f.complete()}))}}o.find=function y(r,c){return n.operate(u(r,c,"value"))},o.createFind=u},8195:(H,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(u,r){return n.operate(h.createFind(u,r,"index"))}},8012:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.first=void 0;var n=a(8915),h=a(4270),y=a(1333),u=a(926),r=a(9194),c=a(7884);o.first=function d(p,_){var f=arguments.length>=2;return function(b){return b.pipe(p?h.filter(function(v,m){return p(v,m,b)}):c.identity,y.take(1),f?u.defaultIfEmpty(_):r.throwIfEmpty(function(){return new n.EmptyError}))}}},1463:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.flatMap=void 0;var n=a(3010);o.flatMap=n.mergeMap},4075:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.groupBy=void 0;var n=a(5821),h=a(8767),y=a(3768),u=a(9216),r=a(3173);o.groupBy=function c(d,p,_,f){return u.operate(function(b,v){var m;p&&"function"!=typeof p?(_=p.duration,m=p.element,f=p.connector):m=p;var C=new Map,M=function(z){C.forEach(z),z(v)},O=function(z){return M(function(V){return V.error(z)})},P=0,L=!1,Q=new r.OperatorSubscriber(v,function(z){try{var V=d(z),X=C.get(V);if(!X){C.set(V,X=f?f():new y.Subject);var re=function $(z,V){var X=new n.Observable(function(re){P++;var me=V.subscribe(re);return function(){me.unsubscribe(),0==--P&&L&&Q.unsubscribe()}});return X.key=z,X}(V,X);if(v.next(re),_){var me=r.createOperatorSubscriber(X,function(){X.complete(),null==me||me.unsubscribe()},void 0,void 0,function(){return C.delete(V)});Q.add(h.innerFrom(_(re)).subscribe(me))}}X.next(m?m(z):z)}catch(Re){O(Re)}},function(){return M(function(z){return z.complete()})},O,function(){return C.clear()},function(){return L=!0,0===P});b.subscribe(Q)})}},4041:(H,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 u(){return n.operate(function(r,c){r.subscribe(h.createOperatorSubscriber(c,y.noop))})}},6478:(H,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(u,r){u.subscribe(h.createOperatorSubscriber(r,function(){r.next(!1),r.complete()},function(){r.next(!0),r.complete()}))})}},1277:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.joinAllInternals=void 0;var n=a(7884),h=a(5280),y=a(1471),u=a(3010),r=a(2976);o.joinAllInternals=function c(d,p){return y.pipe(r.toArray(),u.mergeMap(function(_){return d(_)}),p?h.mapOneOrManyArgs(p):n.identity)}},5126:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.last=void 0;var n=a(8915),h=a(4270),y=a(3534),u=a(9194),r=a(926),c=a(7884);o.last=function d(p,_){var f=arguments.length>=2;return function(b){return b.pipe(p?h.filter(function(v,m){return p(v,m,b)}):c.identity,y.takeLast(1),f?r.defaultIfEmpty(_):u.throwIfEmpty(function(){return new n.EmptyError}))}}},752:(H,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(u,r){return n.operate(function(c,d){var p=0;c.subscribe(h.createOperatorSubscriber(d,function(_){d.next(u.call(r,_,p++))}))})}},2182:(H,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:(H,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 u(){return h.operate(function(r,c){r.subscribe(y.createOperatorSubscriber(c,function(d){c.next(n.Notification.createNext(d))},function(){c.next(n.Notification.createComplete()),c.complete()},function(d){c.next(n.Notification.createError(d)),c.complete()}))})}},9329:(H,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(u){return n.reduce(h.isFunction(u)?function(r,c){return u(r,c)>0?r:c}:function(r,c){return r>c?r:c})}},8789:function(H,o,a){"use strict";var n=this&&this.__read||function(_,f){var b="function"==typeof Symbol&&_[Symbol.iterator];if(!b)return _;var m,M,v=b.call(_),C=[];try{for(;(void 0===f||f-- >0)&&!(m=v.next()).done;)C.push(m.value)}catch(O){M={error:O}}finally{try{m&&!m.done&&(b=v.return)&&b.call(v)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(_,f){for(var b=0,v=f.length,m=_.length;b<v;b++,m++)_[m]=f[b];return _};Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var y=a(9216),u=a(3531),r=a(3917),c=a(1642),d=a(4996);o.merge=function p(){for(var _=[],f=0;f<arguments.length;f++)_[f]=arguments[f];var b=c.popScheduler(_),v=c.popNumber(_,1/0);return _=u.argsOrArgArray(_),y.operate(function(m,C){r.mergeAll(v)(d.from(h([m],n(_)),b)).subscribe(C)})}},3917:(H,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(u){return void 0===u&&(u=1/0),n.mergeMap(h.identity,u)}},8457:(H,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 u(r,c,d,p,_,f,b,v){var m=[],C=0,M=0,O=!1,P=function(){O&&!m.length&&!C&&c.complete()},L=function($){return C<p?Q($):m.push($)},Q=function($){f&&c.next($),C++;var z=!1;n.innerFrom(d($,M++)).subscribe(y.createOperatorSubscriber(c,function(V){null==_||_(V),f?L(V):c.next(V)},function(){z=!0},void 0,function(){if(z)try{C--;for(var V=function(){var X=m.shift();b?h.executeSchedule(c,b,function(){return Q(X)}):Q(X)};m.length&&C<p;)V();P()}catch(X){c.error(X)}}))};return r.subscribe(y.createOperatorSubscriber(c,L,function(){O=!0,P()})),function(){null==v||v()}}},3010:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMap=void 0;var n=a(752),h=a(8767),y=a(9216),u=a(8457),r=a(7104);o.mergeMap=function c(d,p,_){return void 0===_&&(_=1/0),r.isFunction(p)?c(function(f,b){return n.map(function(v,m){return p(f,v,b,m)})(h.innerFrom(d(f,b)))},_):("number"==typeof p&&(_=p),y.operate(function(f,b){return u.mergeInternals(f,b,d,_)}))}},929:(H,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(u,r,c){return void 0===c&&(c=1/0),h.isFunction(r)?n.mergeMap(function(){return u},r,c):("number"==typeof r&&(c=r),n.mergeMap(function(){return u},c))}},2816:(H,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(u,r,c){return void 0===c&&(c=1/0),n.operate(function(d,p){var _=r;return h.mergeInternals(d,p,function(f,b){return u(_,f,b)},c,function(f){_=f},!1,void 0,function(){return _=null})})}},9684:function(H,o,a){"use strict";var n=this&&this.__read||function(r,c){var d="function"==typeof Symbol&&r[Symbol.iterator];if(!d)return r;var _,b,p=d.call(r),f=[];try{for(;(void 0===c||c-- >0)&&!(_=p.next()).done;)f.push(_.value)}catch(v){b={error:v}}finally{try{_&&!_.done&&(d=p.return)&&d.call(p)}finally{if(b)throw b.error}}return f},h=this&&this.__spreadArray||function(r,c){for(var d=0,p=c.length,_=r.length;d<p;d++,_++)r[_]=c[d];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.mergeWith=void 0;var y=a(8789);o.mergeWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return y.merge.apply(void 0,h([],n(r)))}},6250:(H,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(u){return n.reduce(h.isFunction(u)?function(r,c){return u(r,c)<0?r:c}:function(r,c){return r<c?r:c})}},9872:(H,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 u(r,c){var d=h.isFunction(r)?r:function(){return r};return h.isFunction(c)?y.connect(c,{connector:d}):function(p){return new n.ConnectableObservable(p,d)}}},4928:(H,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 u(r,c){return void 0===c&&(c=0),h.operate(function(d,p){d.subscribe(y.createOperatorSubscriber(p,function(_){return n.executeSchedule(p,r,function(){return p.next(_)},c)},function(){return n.executeSchedule(p,r,function(){return p.complete()},c)},function(_){return n.executeSchedule(p,r,function(){return p.error(_)},c)}))})}},2158:function(H,o,a){"use strict";var n=this&&this.__read||function(_,f){var b="function"==typeof Symbol&&_[Symbol.iterator];if(!b)return _;var m,M,v=b.call(_),C=[];try{for(;(void 0===f||f-- >0)&&!(m=v.next()).done;)C.push(m.value)}catch(O){M={error:O}}finally{try{m&&!m.done&&(b=v.return)&&b.call(v)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(_,f){for(var b=0,v=f.length,m=_.length;b<v;b++,m++)_[m]=f[b];return _};Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var y=a(9216),u=a(8767),r=a(3531),c=a(3173),d=a(31);o.onErrorResumeNext=function p(){for(var _=[],f=0;f<arguments.length;f++)_[f]=arguments[f];var b=r.argsOrArgArray(_);return y.operate(function(v,m){var C=h([v],n(b)),M=function(){if(!m.closed)if(C.length>0){var O=void 0;try{O=u.innerFrom(C.shift())}catch(L){return void M()}var P=c.createOperatorSubscriber(m,void 0,d.noop,d.noop);O.subscribe(P),P.add(M)}else m.complete()};M()})}},9526:(H,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(u,r){var c,d=!1;u.subscribe(h.createOperatorSubscriber(r,function(p){var _=c;c=p,d&&r.next([_,p]),d=!0}))})}},5199:(H,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=[],u=0;u<arguments.length;u++)y[u]=arguments[u];var r=y.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map(function(c){for(var d=c,p=0;p<r;p++){var _=null==d?void 0:d[y[p]];if(void 0===_)return;d=_}return d})}},955:(H,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 u(r){return r?function(c){return y.connect(r)(c)}:function(c){return h.multicast(new n.Subject)(c)}}},6750:(H,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(u){return function(r){var c=new n.BehaviorSubject(u);return new h.ConnectableObservable(r,function(){return c})}}},1003:(H,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(u){var r=new n.AsyncSubject;return new h.ConnectableObservable(u,function(){return r})}}},5530:(H,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 u(r,c,d,p){d&&!y.isFunction(d)&&(p=d);var _=y.isFunction(d)?d:void 0;return function(f){return h.multicast(new n.ReplaySubject(r,c,p),_)(f)}}},2992:function(H,o,a){"use strict";var n=this&&this.__read||function(d,p){var _="function"==typeof Symbol&&d[Symbol.iterator];if(!_)return d;var b,m,f=_.call(d),v=[];try{for(;(void 0===p||p-- >0)&&!(b=f.next()).done;)v.push(b.value)}catch(C){m={error:C}}finally{try{b&&!b.done&&(_=f.return)&&_.call(f)}finally{if(m)throw m.error}}return v},h=this&&this.__spreadArray||function(d,p){for(var _=0,f=p.length,b=d.length;_<f;_++,b++)d[b]=p[_];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.raceWith=void 0;var y=a(8181),u=a(9216),r=a(7884);o.raceWith=function c(){for(var d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];return d.length?u.operate(function(_,f){y.raceInit(h([_],n(d)))(f)}):r.identity}},8587:(H,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(u,r){return h.operate(n.scanInternals(u,r,arguments.length>=2,!1,!0))}},904:(H,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(u,r){var c=null;u._refCount++;var d=h.createOperatorSubscriber(r,void 0,void 0,void 0,function(){if(!u||u._refCount<=0||0<--u._refCount)c=null;else{var p=u._connection,_=c;c=null,p&&(!_||p===_)&&p.unsubscribe(),r.unsubscribe()}});u.subscribe(d),d.closed||(c=u.connect())})}},8408:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeat=void 0;var n=a(7406),h=a(9216),y=a(3173),u=a(8767),r=a(3271);o.repeat=function c(d){var p,f,_=1/0;return null!=d&&("object"==typeof d?(_=void 0===(p=d.count)?1/0:p,f=d.delay):_=d),_<=0?function(){return n.EMPTY}:h.operate(function(b,v){var C,m=0,M=function(){if(null==C||C.unsubscribe(),C=null,null!=f){var P="number"==typeof f?r.timer(f):u.innerFrom(f(m)),L=y.createOperatorSubscriber(v,function(){L.unsubscribe(),O()});P.subscribe(L)}else O()},O=function(){var P=!1;C=b.subscribe(y.createOperatorSubscriber(v,void 0,function(){++m<_?C?M():P=!0:v.complete()})),P&&M()};O()})}},7032:(H,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 u(r){return h.operate(function(c,d){var p,f,_=!1,b=!1,v=!1,m=function(){return v&&b&&(d.complete(),!0)},M=function(){v=!1,p=c.subscribe(y.createOperatorSubscriber(d,void 0,function(){v=!0,!m()&&(f||(f=new n.Subject,r(f).subscribe(y.createOperatorSubscriber(d,function(){p?M():_=!0},function(){b=!0,m()}))),f).next()})),_&&(p.unsubscribe(),p=null,_=!1,M())};M()})}},6069:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retry=void 0;var n=a(9216),h=a(3173),y=a(7884),u=a(3271),r=a(8767);o.retry=function c(d){var p;void 0===d&&(d=1/0);var _=(p=d&&"object"==typeof d?d:{count:d}).count,f=void 0===_?1/0:_,b=p.delay,v=p.resetOnSuccess,m=void 0!==v&&v;return f<=0?y.identity:n.operate(function(C,M){var P,O=0,L=function(){var Q=!1;P=C.subscribe(h.createOperatorSubscriber(M,function($){m&&(O=0),M.next($)},void 0,function($){if(O++<f){var z=function(){P?(P.unsubscribe(),P=null,L()):Q=!0};if(null!=b){var V="number"==typeof b?u.timer(b):r.innerFrom(b($,O)),X=h.createOperatorSubscriber(M,function(){X.unsubscribe(),z()},function(){M.complete()});V.subscribe(X)}else z()}else M.error($)})),Q&&(P.unsubscribe(),P=null,L())};L()})}},5131:(H,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 u(r){return h.operate(function(c,d){var p,f,_=!1,b=function(){p=c.subscribe(y.createOperatorSubscriber(d,void 0,void 0,function(v){f||(f=new n.Subject,r(f).subscribe(y.createOperatorSubscriber(d,function(){return p?b():_=!0}))),f&&f.next(v)})),_&&(p.unsubscribe(),p=null,_=!1,b())};b()})}},2531:(H,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 u(r){return n.operate(function(c,d){var p=!1,_=null;c.subscribe(y.createOperatorSubscriber(d,function(f){p=!0,_=f})),r.subscribe(y.createOperatorSubscriber(d,function(){if(p){p=!1;var f=_;_=null,d.next(f)}},h.noop))})}},306:(H,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 u(r,c){return void 0===c&&(c=n.asyncScheduler),h.sample(y.interval(r,c))}},251:(H,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(u,r){return n.operate(h.scanInternals(u,r,arguments.length>=2,!0))}},3049:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scanInternals=void 0;var n=a(3173);o.scanInternals=function h(y,u,r,c,d){return function(p,_){var f=r,b=u,v=0;p.subscribe(n.createOperatorSubscriber(_,function(m){var C=v++;b=f?y(b,m,C):(f=!0,m),c&&_.next(b)},d&&function(){f&&_.next(b),_.complete()}))}}},9788:(H,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,c){return void 0===c&&(c=function(d,p){return d===p}),n.operate(function(d,p){var _={buffer:[],complete:!1},f={buffer:[],complete:!1},b=function(m){p.next(m),p.complete()},v=function(m,C){var M=h.createOperatorSubscriber(p,function(O){var P=C.buffer;0===P.length?C.complete?b(!1):m.buffer.push(O):!c(O,P.shift())&&b(!1)},function(){m.complete=!0,C.complete&&b(0===C.buffer.length),null==M||M.unsubscribe()});return M};d.subscribe(v(_,f)),r.subscribe(v(f,_))})}},3222:function(H,o,a){"use strict";var n=this&&this.__read||function(_,f){var b="function"==typeof Symbol&&_[Symbol.iterator];if(!b)return _;var m,M,v=b.call(_),C=[];try{for(;(void 0===f||f-- >0)&&!(m=v.next()).done;)C.push(m.value)}catch(O){M={error:O}}finally{try{m&&!m.done&&(b=v.return)&&b.call(v)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(_,f){for(var b=0,v=f.length,m=_.length;b<v;b++,m++)_[m]=f[b];return _};Object.defineProperty(o,"__esModule",{value:!0}),o.share=void 0;var y=a(8767),u=a(3768),r=a(7052),c=a(9216);function p(_,f){for(var b=[],v=2;v<arguments.length;v++)b[v-2]=arguments[v];if(!0!==f){if(!1!==f){var m=new r.SafeSubscriber({next:function(){m.unsubscribe(),_()}});return f.apply(void 0,h([],n(b))).subscribe(m)}}else _()}o.share=function d(_){void 0===_&&(_={});var f=_.connector,b=void 0===f?function(){return new u.Subject}:f,v=_.resetOnError,m=void 0===v||v,C=_.resetOnComplete,M=void 0===C||C,O=_.resetOnRefCountZero,P=void 0===O||O;return function(L){var Q,$,z,V=0,X=!1,re=!1,me=function(){null==$||$.unsubscribe(),$=void 0},Re=function(){me(),Q=z=void 0,X=re=!1},it=function(){var Ce=Q;Re(),null==Ce||Ce.unsubscribe()};return c.operate(function(Ce,xe){V++,!re&&!X&&me();var oe=z=null!=z?z:b();xe.add(function(){0==--V&&!re&&!X&&($=p(it,P))}),oe.subscribe(xe),!Q&&V>0&&(Q=new r.SafeSubscriber({next:function(Ie){return oe.next(Ie)},error:function(Ie){re=!0,me(),$=p(Re,m,Ie),oe.error(Ie)},complete:function(){X=!0,me(),$=p(Re,M),oe.complete()}}),y.innerFrom(Ce).subscribe(Q))})(L)}}},2186:(H,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(u,r,c){var d,p,_,f,b=!1;return u&&"object"==typeof u?(f=void 0===(d=u.bufferSize)?1/0:d,r=void 0===(p=u.windowTime)?1/0:p,b=void 0!==(_=u.refCount)&&_,c=u.scheduler):f=null!=u?u:1/0,h.share({connector:function(){return new n.ReplaySubject(f,r,c)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:b})}},695:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.single=void 0;var n=a(8915),h=a(1551),y=a(5477),u=a(9216),r=a(3173);o.single=function c(d){return u.operate(function(p,_){var b,f=!1,v=!1,m=0;p.subscribe(r.createOperatorSubscriber(_,function(C){v=!0,(!d||d(C,m++,p))&&(f&&_.error(new h.SequenceError("Too many matching values")),f=!0,b=C)},function(){f?(_.next(b),_.complete()):_.error(v?new y.NotFoundError("No matching values"):new n.EmptyError)}))})}},4975:(H,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(u,r){return y<=r})}},728:(H,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 u(r){return r<=0?n.identity:h.operate(function(c,d){var p=new Array(r),_=0;return c.subscribe(y.createOperatorSubscriber(d,function(f){var b=_++;if(b<r)p[b]=f;else{var v=b%r,m=p[v];p[v]=f,d.next(m)}})),function(){p=null}})}},7409:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),u=a(31);o.skipUntil=function r(c){return n.operate(function(d,p){var _=!1,f=h.createOperatorSubscriber(p,function(){null==f||f.unsubscribe(),_=!0},u.noop);y.innerFrom(c).subscribe(f),d.subscribe(h.createOperatorSubscriber(p,function(b){return _&&p.next(b)}))})}},385:(H,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(u){return n.operate(function(r,c){var d=!1,p=0;r.subscribe(h.createOperatorSubscriber(c,function(_){return(d||(d=!u(_,p++)))&&c.next(_)}))})}},4930:(H,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 u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];var d=h.popScheduler(r);return y.operate(function(p,_){(d?n.concat(r,p,d):n.concat(r,p)).subscribe(_)})}},1698:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.subscribeOn=void 0;var n=a(9216);o.subscribeOn=function h(y,u){return void 0===u&&(u=0),n.operate(function(r,c){c.add(y.schedule(function(){return r.subscribe(c)},u))})}},8044:(H,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:(H,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 u(r,c){return h.operate(function(d,p){var _=null,f=0,b=!1,v=function(){return b&&!_&&p.complete()};d.subscribe(y.createOperatorSubscriber(p,function(m){null==_||_.unsubscribe();var C=0,M=f++;n.innerFrom(r(m,M)).subscribe(_=y.createOperatorSubscriber(p,function(O){return p.next(c?c(m,O,M,C++):O)},function(){_=null,v()}))},function(){b=!0,v()}))})}},9309:(H,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(u,r){return h.isFunction(r)?n.switchMap(function(){return u},r):n.switchMap(function(){return u})}},9499:(H,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(u,r){return h.operate(function(c,d){var p=r;return n.switchMap(function(_,f){return u(p,_,f)},function(_,f){return p=f,f})(c).subscribe(d),function(){p=null}})}},1333:(H,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 u(r){return r<=0?function(){return n.EMPTY}:h.operate(function(c,d){var p=0;c.subscribe(y.createOperatorSubscriber(d,function(_){++p<=r&&(d.next(_),r<=p&&d.complete())}))})}},3534:function(H,o,a){"use strict";var n=this&&this.__values||function(c){var d="function"==typeof Symbol&&Symbol.iterator,p=d&&c[d],_=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&_>=c.length&&(c=void 0),{value:c&&c[_++],done:!c}}};throw new TypeError(d?"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),u=a(3173);o.takeLast=function r(c){return c<=0?function(){return h.EMPTY}:y.operate(function(d,p){var _=[];d.subscribe(u.createOperatorSubscriber(p,function(f){_.push(f),c<_.length&&_.shift()},function(){var f,b;try{for(var v=n(_),m=v.next();!m.done;m=v.next())p.next(m.value)}catch(M){f={error:M}}finally{try{m&&!m.done&&(b=v.return)&&b.call(v)}finally{if(f)throw f.error}}p.complete()},void 0,function(){_=null}))})}},5716:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeUntil=void 0;var n=a(9216),h=a(3173),y=a(8767),u=a(31);o.takeUntil=function r(c){return n.operate(function(d,p){y.innerFrom(c).subscribe(h.createOperatorSubscriber(p,function(){return p.complete()},u.noop)),!p.closed&&d.subscribe(p)})}},9928:(H,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(u,r){return void 0===r&&(r=!1),n.operate(function(c,d){var p=0;c.subscribe(h.createOperatorSubscriber(d,function(_){var f=u(_,p++);(f||r)&&d.next(_),!f&&d.complete()}))})}},6821:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.tap=void 0;var n=a(7104),h=a(9216),y=a(3173),u=a(7884);o.tap=function r(c,d,p){var _=n.isFunction(c)||d||p?{next:c,error:d,complete:p}:c;return _?h.operate(function(f,b){var v;null===(v=_.subscribe)||void 0===v||v.call(_);var m=!0;f.subscribe(y.createOperatorSubscriber(b,function(C){var M;null===(M=_.next)||void 0===M||M.call(_,C),b.next(C)},function(){var C;m=!1,null===(C=_.complete)||void 0===C||C.call(_),b.complete()},function(C){var M;m=!1,null===(M=_.error)||void 0===M||M.call(_,C),b.error(C)},function(){var C,M;m&&(null===(C=_.unsubscribe)||void 0===C||C.call(_)),null===(M=_.finalize)||void 0===M||M.call(_)}))}):u.identity}},4330:(H,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 u(r,c){return void 0===c&&(c=o.defaultThrottleConfig),n.operate(function(d,p){var _=c.leading,f=c.trailing,b=!1,v=null,m=null,C=!1,M=function(){null==m||m.unsubscribe(),m=null,f&&(L(),C&&p.complete())},O=function(){m=null,C&&p.complete()},P=function(Q){return m=y.innerFrom(r(Q)).subscribe(h.createOperatorSubscriber(p,M,O))},L=function(){if(b){b=!1;var Q=v;v=null,p.next(Q),!C&&P(Q)}};d.subscribe(h.createOperatorSubscriber(p,function(Q){b=!0,v=Q,(!m||m.closed)&&(_?L():P(Q))},function(){C=!0,(!(f&&b&&m)||m.closed)&&p.complete()}))})}},4029:(H,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 u(r,c,d){void 0===c&&(c=n.asyncScheduler),void 0===d&&(d=h.defaultThrottleConfig);var p=y.timer(r,c);return h.throttle(function(){return p},d)}},9194:(H,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 u(c){return void 0===c&&(c=r),h.operate(function(d,p){var _=!1;d.subscribe(y.createOperatorSubscriber(p,function(f){_=!0,p.next(f)},function(){return _?p.complete():p.error(c())}))})}},5904:(H,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 u(c){return void 0===c&&(c=n.asyncScheduler),h.operate(function(d,p){var _=c.now();d.subscribe(y.createOperatorSubscriber(p,function(f){var b=c.now(),v=b-_;_=b,p.next(new r(f,v))}))})};var r=function c(d,p){this.value=d,this.interval=p};o.TimeInterval=r},5001:(H,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),u=a(8767),r=a(9703),c=a(3173),d=a(2590);function _(f){throw new o.TimeoutError(f)}o.TimeoutError=r.createErrorClass(function(f){return function(v){void 0===v&&(v=null),f(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=v}}),o.timeout=function p(f,b){var v=h.isValidDate(f)?{first:f}:"number"==typeof f?{each:f}:f,m=v.first,C=v.each,M=v.with,O=void 0===M?_:M,P=v.scheduler,L=void 0===P?null!=b?b:n.asyncScheduler:P,Q=v.meta,$=void 0===Q?null:Q;if(null==m&&null==C)throw new TypeError("No timeout provided.");return y.operate(function(z,V){var X,re,me=null,Re=0,it=function(Ce){re=d.executeSchedule(V,L,function(){try{X.unsubscribe(),u.innerFrom(O({meta:$,lastValue:me,seen:Re})).subscribe(V)}catch(xe){V.error(xe)}},Ce)};X=z.subscribe(c.createOperatorSubscriber(V,function(Ce){null==re||re.unsubscribe(),Re++,V.next(me=Ce),C>0&&it(C)},void 0,void 0,function(){null!=re&&re.closed||null==re||re.unsubscribe(),me=null})),!Re&&it(null!=m?"number"==typeof m?m:+m-L.now():C)})}},8308:(H,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 u(r,c,d){var p,_,f;if(d=null!=d?d:n.async,h.isValidDate(r)?p=r:"number"==typeof r&&(_=r),!c)throw new TypeError("No observable provided to switch to");if(f=function(){return c},null==p&&null==_)throw new TypeError("No timeout provided.");return y.timeout({first:p,each:_,scheduler:d,with:f})}},250:(H,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(u){return void 0===u&&(u=n.dateTimestampProvider),h.map(function(r){return{value:r,timestamp:u.now()}})}},2976:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.toArray=void 0;var n=a(8587),h=a(9216),y=function(r,c){return r.push(c),r};o.toArray=function u(){return h.operate(function(r,c){n.reduce(y,[])(r).subscribe(c)})}},9374:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.window=void 0;var n=a(3768),h=a(9216),y=a(3173),u=a(31);o.window=function r(c){return h.operate(function(d,p){var _=new n.Subject;p.next(_.asObservable());var f=function(b){_.error(b),p.error(b)};return d.subscribe(y.createOperatorSubscriber(p,function(b){return null==_?void 0:_.next(b)},function(){_.complete(),p.complete()},f)),c.subscribe(y.createOperatorSubscriber(p,function(){_.complete(),p.next(_=new n.Subject)},u.noop,f)),function(){null==_||_.unsubscribe(),_=null}})}},8427:function(H,o,a){"use strict";var n=this&&this.__values||function(c){var d="function"==typeof Symbol&&Symbol.iterator,p=d&&c[d],_=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&_>=c.length&&(c=void 0),{value:c&&c[_++],done:!c}}};throw new TypeError(d?"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),u=a(3173);o.windowCount=function r(c,d){void 0===d&&(d=0);var p=d>0?d:c;return y.operate(function(_,f){var b=[new h.Subject],m=0;f.next(b[0].asObservable()),_.subscribe(u.createOperatorSubscriber(f,function(C){var M,O;try{for(var P=n(b),L=P.next();!L.done;L=P.next())L.value.next(C)}catch(V){M={error:V}}finally{try{L&&!L.done&&(O=P.return)&&O.call(P)}finally{if(M)throw M.error}}var $=m-c+1;if($>=0&&$%p==0&&b.shift().complete(),++m%p==0){var z=new h.Subject;b.push(z),f.next(z.asObservable())}},function(){for(;b.length>0;)b.shift().complete();f.complete()},function(C){for(;b.length>0;)b.shift().error(C);f.error(C)},function(){b=null}))})}},2358:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowTime=void 0;var n=a(3768),h=a(4006),y=a(6448),u=a(9216),r=a(3173),c=a(5137),d=a(1642),p=a(2590);o.windowTime=function _(f){for(var b,v,m=[],C=1;C<arguments.length;C++)m[C-1]=arguments[C];var M=null!==(b=d.popScheduler(m))&&void 0!==b?b:h.asyncScheduler,O=null!==(v=m[0])&&void 0!==v?v:null,P=m[1]||1/0;return u.operate(function(L,Q){var $=[],z=!1,V=function(Re){var Ce=Re.subs;Re.window.complete(),Ce.unsubscribe(),c.arrRemove($,Re),z&&X()},X=function(){if($){var Re=new y.Subscription;Q.add(Re);var it=new n.Subject,Ce={window:it,subs:Re,seen:0};$.push(Ce),Q.next(it.asObservable()),p.executeSchedule(Re,M,function(){return V(Ce)},f)}};null!==O&&O>=0?p.executeSchedule(Q,M,X,O,!0):z=!0,X();var re=function(Re){return $.slice().forEach(Re)},me=function(Re){re(function(it){return Re(it.window)}),Re(Q),Q.unsubscribe()};return L.subscribe(r.createOperatorSubscriber(Q,function(Re){re(function(it){it.window.next(Re),P<=++it.seen&&V(it)})},function(){return me(function(Re){return Re.complete()})},function(Re){return me(function(it){return it.error(Re)})})),function(){$=null}})}},6464:function(H,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,v=b&&f[b],m=0;if(v)return v.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&m>=f.length&&(f=void 0),{value:f&&f[m++],done:!f}}};throw new TypeError(b?"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),u=a(9216),r=a(8767),c=a(3173),d=a(31),p=a(5137);o.windowToggle=function _(f,b){return u.operate(function(v,m){var C=[],M=function(O){for(;0<C.length;)C.shift().error(O);m.error(O)};r.innerFrom(f).subscribe(c.createOperatorSubscriber(m,function(O){var P=new h.Subject;C.push(P);var $,L=new y.Subscription;try{$=r.innerFrom(b(O))}catch(z){return void M(z)}m.next(P.asObservable()),L.add($.subscribe(c.createOperatorSubscriber(m,function(){p.arrRemove(C,P),P.complete(),L.unsubscribe()},d.noop,M)))},d.noop)),v.subscribe(c.createOperatorSubscriber(m,function(O){var P,L,Q=C.slice();try{for(var $=n(Q),z=$.next();!z.done;z=$.next())z.value.next(O)}catch(X){P={error:X}}finally{try{z&&!z.done&&(L=$.return)&&L.call($)}finally{if(P)throw P.error}}},function(){for(;0<C.length;)C.shift().complete();m.complete()},M,function(){for(;0<C.length;)C.shift().unsubscribe()}))})}},5424:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowWhen=void 0;var n=a(3768),h=a(9216),y=a(3173),u=a(8767);o.windowWhen=function r(c){return h.operate(function(d,p){var _,f,b=function(m){_.error(m),p.error(m)},v=function(){var m;null==f||f.unsubscribe(),null==_||_.complete(),_=new n.Subject,p.next(_.asObservable());try{m=u.innerFrom(c())}catch(C){return void b(C)}m.subscribe(f=y.createOperatorSubscriber(p,v,v,b))};v(),d.subscribe(y.createOperatorSubscriber(p,function(m){return _.next(m)},function(){_.complete(),p.complete()},b,function(){null==f||f.unsubscribe(),_=null}))})}},135:function(H,o,a){"use strict";var n=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.withLatestFrom=void 0;var y=a(9216),u=a(3173),r=a(8767),c=a(7884),d=a(31),p=a(1642);o.withLatestFrom=function _(){for(var f=[],b=0;b<arguments.length;b++)f[b]=arguments[b];var v=p.popResultSelector(f);return y.operate(function(m,C){for(var M=f.length,O=new Array(M),P=f.map(function(){return!1}),L=!1,Q=function(z){r.innerFrom(f[z]).subscribe(u.createOperatorSubscriber(C,function(V){O[z]=V,!L&&!P[z]&&(P[z]=!0,(L=P.every(c.identity))&&(P=null))},d.noop))},$=0;$<M;$++)Q($);m.subscribe(u.createOperatorSubscriber(C,function(z){if(L){var V=h([z],n(O));C.next(v?v.apply(void 0,h([],n(V))):V)}}))})}},5573:function(H,o,a){"use strict";var n=this&&this.__read||function(c,d){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var f,v,_=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=_.next()).done;)b.push(f.value)}catch(m){v={error:m}}finally{try{f&&!f.done&&(p=_.return)&&p.call(_)}finally{if(v)throw v.error}}return b},h=this&&this.__spreadArray||function(c,d){for(var p=0,_=d.length,f=c.length;p<_;p++,f++)c[f]=d[p];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var y=a(4842),u=a(9216);o.zip=function r(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return u.operate(function(p,_){y.zip.apply(void 0,h([p],n(c))).subscribe(_)})}},8101:(H,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(u){return h.joinAllInternals(n.zip,u)}},9411:function(H,o,a){"use strict";var n=this&&this.__read||function(r,c){var d="function"==typeof Symbol&&r[Symbol.iterator];if(!d)return r;var _,b,p=d.call(r),f=[];try{for(;(void 0===c||c-- >0)&&!(_=p.next()).done;)f.push(_.value)}catch(v){b={error:v}}finally{try{_&&!_.done&&(d=p.return)&&d.call(p)}finally{if(b)throw b.error}}return f},h=this&&this.__spreadArray||function(r,c){for(var d=0,p=c.length,_=r.length;d<p;d++,_++)r[_]=c[d];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.zipWith=void 0;var y=a(5573);o.zipWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return y.zip.apply(void 0,h([],n(r)))}},9611:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleArray=void 0;var n=a(5821);o.scheduleArray=function h(y,u){return new n.Observable(function(r){var c=0;return u.schedule(function(){c===y.length?r.complete():(r.next(y[c++]),r.closed||this.schedule())})})}},3009:(H,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(u,r){if(!u)throw new Error("Iterable cannot be null");return new n.Observable(function(c){h.executeSchedule(c,r,function(){var d=u[Symbol.asyncIterator]();h.executeSchedule(c,r,function(){d.next().then(function(p){p.done?c.complete():c.next(p.value)})},0,!0)})})}},9049:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleIterable=void 0;var n=a(5821),h=a(4260),y=a(7104),u=a(2590);o.scheduleIterable=function r(c,d){return new n.Observable(function(p){var _;return u.executeSchedule(p,d,function(){_=c[h.iterator](),u.executeSchedule(p,d,function(){var f,b,v;try{b=(f=_.next()).value,v=f.done}catch(m){return void p.error(m)}v?p.complete():p.next(b)},0,!0)}),function(){return y.isFunction(null==_?void 0:_.return)&&_.return()}})}},7767:(H,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 u(r,c){return n.innerFrom(r).pipe(y.subscribeOn(c),h.observeOn(c))}},2247:(H,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 u(r,c){return n.innerFrom(r).pipe(y.subscribeOn(c),h.observeOn(c))}},3958:(H,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(u,r){return n.scheduleAsyncIterable(h.readableStreamLikeToAsyncGenerator(u),r)}},9341:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduled=void 0;var n=a(7767),h=a(2247),y=a(9611),u=a(9049),r=a(3009),c=a(7454),d=a(5050),p=a(697),_=a(5431),f=a(6175),b=a(6870),v=a(7128),m=a(3958);o.scheduled=function C(M,O){if(null!=M){if(c.isInteropObservable(M))return n.scheduleObservable(M,O);if(p.isArrayLike(M))return y.scheduleArray(M,O);if(d.isPromise(M))return h.schedulePromise(M,O);if(f.isAsyncIterable(M))return r.scheduleAsyncIterable(M,O);if(_.isIterable(M))return u.scheduleIterable(M,O);if(v.isReadableStreamLike(M))return m.scheduleReadableStreamLike(M,O)}throw b.createInvalidObservableTypeError(M)}},1394:function(H,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(d[_]=p[_])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.Action=void 0;var y=function(u){function r(c,d){return u.call(this)||this}return n(r,u),r.prototype.schedule=function(c,d){return void 0===d&&(d=0),this},r}(a(6448).Subscription);o.Action=y},275:function(H,o,a){"use strict";var r,n=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,_){p.__proto__=_}||function(p,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(p[f]=_[f])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameAction=void 0;var h=a(4723),y=a(6343),u=function(r){function c(d,p){var _=r.call(this,d,p)||this;return _.scheduler=d,_.work=p,_}return n(c,r),c.prototype.requestAsyncId=function(d,p,_){return void 0===_&&(_=0),null!==_&&_>0?r.prototype.requestAsyncId.call(this,d,p,_):(d.actions.push(this),d._scheduled||(d._scheduled=y.animationFrameProvider.requestAnimationFrame(function(){return d.flush(void 0)})))},c.prototype.recycleAsyncId=function(d,p,_){var f;if(void 0===_&&(_=0),null!=_?_>0:this.delay>0)return r.prototype.recycleAsyncId.call(this,d,p,_);var b=d.actions;null!=p&&(null===(f=b[b.length-1])||void 0===f?void 0:f.id)!==p&&(y.animationFrameProvider.cancelAnimationFrame(p),d._scheduled=void 0)},c}(h.AsyncAction);o.AnimationFrameAction=u},3625:function(H,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(d[_]=p[_])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameScheduler=void 0;var y=function(u){function r(){return null!==u&&u.apply(this,arguments)||this}return n(r,u),r.prototype.flush=function(c){this._active=!0;var d=this._scheduled;this._scheduled=void 0;var _,p=this.actions;c=c||p.shift();do{if(_=c.execute(c.state,c.delay))break}while((c=p[0])&&c.id===d&&p.shift());if(this._active=!1,_){for(;(c=p[0])&&c.id===d&&p.shift();)c.unsubscribe();throw _}},r}(a(6216).AsyncScheduler);o.AnimationFrameScheduler=y},7046:function(H,o,a){"use strict";var r,n=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,_){p.__proto__=_}||function(p,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(p[f]=_[f])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapAction=void 0;var h=a(4723),y=a(7766),u=function(r){function c(d,p){var _=r.call(this,d,p)||this;return _.scheduler=d,_.work=p,_}return n(c,r),c.prototype.requestAsyncId=function(d,p,_){return void 0===_&&(_=0),null!==_&&_>0?r.prototype.requestAsyncId.call(this,d,p,_):(d.actions.push(this),d._scheduled||(d._scheduled=y.immediateProvider.setImmediate(d.flush.bind(d,void 0))))},c.prototype.recycleAsyncId=function(d,p,_){var f;if(void 0===_&&(_=0),null!=_?_>0:this.delay>0)return r.prototype.recycleAsyncId.call(this,d,p,_);var b=d.actions;null!=p&&(null===(f=b[b.length-1])||void 0===f?void 0:f.id)!==p&&(y.immediateProvider.clearImmediate(p),d._scheduled=void 0)},c}(h.AsyncAction);o.AsapAction=u},3706:function(H,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(d[_]=p[_])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapScheduler=void 0;var y=function(u){function r(){return null!==u&&u.apply(this,arguments)||this}return n(r,u),r.prototype.flush=function(c){this._active=!0;var d=this._scheduled;this._scheduled=void 0;var _,p=this.actions;c=c||p.shift();do{if(_=c.execute(c.state,c.delay))break}while((c=p[0])&&c.id===d&&p.shift());if(this._active=!1,_){for(;(c=p[0])&&c.id===d&&p.shift();)c.unsubscribe();throw _}},r}(a(6216).AsyncScheduler);o.AsapScheduler=y},4723:function(H,o,a){"use strict";var c,n=this&&this.__extends||(c=function(d,p){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(_[b]=f[b])})(d,p)},function(d,p){if("function"!=typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function _(){this.constructor=d}c(d,p),d.prototype=null===p?Object.create(p):(_.prototype=p.prototype,new _)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncAction=void 0;var h=a(1394),y=a(2444),u=a(5137),r=function(c){function d(p,_){var f=c.call(this,p,_)||this;return f.scheduler=p,f.work=_,f.pending=!1,f}return n(d,c),d.prototype.schedule=function(p,_){var f;if(void 0===_&&(_=0),this.closed)return this;this.state=p;var b=this.id,v=this.scheduler;return null!=b&&(this.id=this.recycleAsyncId(v,b,_)),this.pending=!0,this.delay=_,this.id=null!==(f=this.id)&&void 0!==f?f:this.requestAsyncId(v,this.id,_),this},d.prototype.requestAsyncId=function(p,_,f){return void 0===f&&(f=0),y.intervalProvider.setInterval(p.flush.bind(p,this),f)},d.prototype.recycleAsyncId=function(p,_,f){if(void 0===f&&(f=0),null!=f&&this.delay===f&&!1===this.pending)return _;null!=_&&y.intervalProvider.clearInterval(_)},d.prototype.execute=function(p,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var f=this._execute(p,_);if(f)return f;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},d.prototype._execute=function(p,_){var b,f=!1;try{this.work(p)}catch(v){f=!0,b=v||new Error("Scheduled action threw falsy error")}if(f)return this.unsubscribe(),b},d.prototype.unsubscribe=function(){if(!this.closed){var _=this.id,f=this.scheduler,b=f.actions;this.work=this.state=this.scheduler=null,this.pending=!1,u.arrRemove(b,this),null!=_&&(this.id=this.recycleAsyncId(f,_,null)),this.delay=null,c.prototype.unsubscribe.call(this)}},d}(h.Action);o.AsyncAction=r},6216:function(H,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(d[_]=p[_])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncScheduler=void 0;var h=a(2716),y=function(u){function r(c,d){void 0===d&&(d=h.Scheduler.now);var p=u.call(this,c,d)||this;return p.actions=[],p._active=!1,p}return n(r,u),r.prototype.flush=function(c){var d=this.actions;if(this._active)d.push(c);else{var p;this._active=!0;do{if(p=c.execute(c.state,c.delay))break}while(c=d.shift());if(this._active=!1,p){for(;c=d.shift();)c.unsubscribe();throw p}}},r}(h.Scheduler);o.AsyncScheduler=y},4954:function(H,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(d[_]=p[_])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueAction=void 0;var y=function(u){function r(c,d){var p=u.call(this,c,d)||this;return p.scheduler=c,p.work=d,p}return n(r,u),r.prototype.schedule=function(c,d){return void 0===d&&(d=0),d>0?u.prototype.schedule.call(this,c,d):(this.delay=d,this.state=c,this.scheduler.flush(this),this)},r.prototype.execute=function(c,d){return d>0||this.closed?u.prototype.execute.call(this,c,d):this._execute(c,d)},r.prototype.requestAsyncId=function(c,d,p){return void 0===p&&(p=0),null!=p&&p>0||null==p&&this.delay>0?u.prototype.requestAsyncId.call(this,c,d,p):(c.flush(this),0)},r}(a(4723).AsyncAction);o.QueueAction=y},345:function(H,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(d[_]=p[_])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueScheduler=void 0;var y=function(u){function r(){return null!==u&&u.apply(this,arguments)||this}return n(r,u),r}(a(6216).AsyncScheduler);o.QueueScheduler=y},2018:function(H,o,a){"use strict";var d,n=this&&this.__extends||(d=function(p,_){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var v in b)Object.prototype.hasOwnProperty.call(b,v)&&(f[v]=b[v])})(p,_)},function(p,_){if("function"!=typeof _&&null!==_)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function f(){this.constructor=p}d(p,_),p.prototype=null===_?Object.create(_):(f.prototype=_.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.VirtualAction=o.VirtualTimeScheduler=void 0;var h=a(4723),y=a(6448),r=function(d){function p(_,f){void 0===_&&(_=c),void 0===f&&(f=1/0);var b=d.call(this,_,function(){return b.frame})||this;return b.maxFrames=f,b.frame=0,b.index=-1,b}return n(p,d),p.prototype.flush=function(){for(var v,m,f=this.actions,b=this.maxFrames;(m=f[0])&&m.delay<=b&&(f.shift(),this.frame=m.delay,!(v=m.execute(m.state,m.delay))););if(v){for(;m=f.shift();)m.unsubscribe();throw v}},p.frameTimeFactor=10,p}(a(6216).AsyncScheduler);o.VirtualTimeScheduler=r;var c=function(d){function p(_,f,b){void 0===b&&(b=_.index+=1);var v=d.call(this,_,f)||this;return v.scheduler=_,v.work=f,v.index=b,v.active=!0,v.index=_.index=b,v}return n(p,d),p.prototype.schedule=function(_,f){if(void 0===f&&(f=0),Number.isFinite(f)){if(!this.id)return d.prototype.schedule.call(this,_,f);this.active=!1;var b=new p(this.scheduler,this.work);return this.add(b),b.schedule(_,f)}return y.Subscription.EMPTY},p.prototype.requestAsyncId=function(_,f,b){void 0===b&&(b=0),this.delay=_.frame+b;var v=_.actions;return v.push(this),v.sort(p.sortActions),1},p.prototype.recycleAsyncId=function(_,f,b){void 0===b&&(b=0)},p.prototype._execute=function(_,f){if(!0===this.active)return d.prototype._execute.call(this,_,f)},p.sortActions=function(_,f){return _.delay===f.delay?_.index===f.index?0:_.index>f.index?1:-1:_.delay>f.delay?1:-1},p}(h.AsyncAction);o.VirtualAction=c},1906:(H,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(H,o,a){"use strict";var n=this&&this.__read||function(u,r){var c="function"==typeof Symbol&&u[Symbol.iterator];if(!c)return u;var p,f,d=c.call(u),_=[];try{for(;(void 0===r||r-- >0)&&!(p=d.next()).done;)_.push(p.value)}catch(b){f={error:b}}finally{try{p&&!p.done&&(c=d.return)&&c.call(d)}finally{if(f)throw f.error}}return _},h=this&&this.__spreadArray||function(u,r){for(var c=0,d=r.length,p=u.length;c<d;c++,p++)u[p]=r[c];return u};Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrameProvider=void 0;var y=a(6448);o.animationFrameProvider={schedule:function(u){var r=requestAnimationFrame,c=cancelAnimationFrame,d=o.animationFrameProvider.delegate;d&&(r=d.requestAnimationFrame,c=d.cancelAnimationFrame);var p=r(function(_){c=void 0,u(_)});return new y.Subscription(function(){return null==c?void 0:c(p)})},requestAnimationFrame:function(){for(var u=[],r=0;r<arguments.length;r++)u[r]=arguments[r];var c=o.animationFrameProvider.delegate;return((null==c?void 0:c.requestAnimationFrame)||requestAnimationFrame).apply(void 0,h([],n(u)))},cancelAnimationFrame:function(){for(var u=[],r=0;r<arguments.length;r++)u[r]=arguments[r];var c=o.animationFrameProvider.delegate;return((null==c?void 0:c.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,h([],n(u)))},delegate:void 0}},1212:(H,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:(H,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:(H,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(H,o,a){"use strict";var n=this&&this.__read||function(c,d){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var f,v,_=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=_.next()).done;)b.push(f.value)}catch(m){v={error:m}}finally{try{f&&!f.done&&(p=_.return)&&p.call(_)}finally{if(v)throw v.error}}return b},h=this&&this.__spreadArray||function(c,d){for(var p=0,_=d.length,f=c.length;p<_;p++,f++)c[f]=d[p];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.immediateProvider=void 0;var y=a(349),u=y.Immediate.setImmediate,r=y.Immediate.clearImmediate;o.immediateProvider={setImmediate:function(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];var p=o.immediateProvider.delegate;return((null==p?void 0:p.setImmediate)||u).apply(void 0,h([],n(c)))},clearImmediate:function(c){var d=o.immediateProvider.delegate;return((null==d?void 0:d.clearImmediate)||r)(c)},delegate:void 0}},2444:function(H,o){"use strict";var a=this&&this.__read||function(h,y){var u="function"==typeof Symbol&&h[Symbol.iterator];if(!u)return h;var c,p,r=u.call(h),d=[];try{for(;(void 0===y||y-- >0)&&!(c=r.next()).done;)d.push(c.value)}catch(_){p={error:_}}finally{try{c&&!c.done&&(u=r.return)&&u.call(r)}finally{if(p)throw p.error}}return d},n=this&&this.__spreadArray||function(h,y){for(var u=0,r=y.length,c=h.length;u<r;u++,c++)h[c]=y[u];return h};Object.defineProperty(o,"__esModule",{value:!0}),o.intervalProvider=void 0,o.intervalProvider={setInterval:function(h,y){for(var u=[],r=2;r<arguments.length;r++)u[r-2]=arguments[r];var c=o.intervalProvider.delegate;return null!=c&&c.setInterval?c.setInterval.apply(c,n([h,y],a(u))):setInterval.apply(void 0,n([h,y],a(u)))},clearInterval:function(h){var y=o.intervalProvider.delegate;return((null==y?void 0:y.clearInterval)||clearInterval)(h)},delegate:void 0}},1038:(H,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:(H,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(H,o){"use strict";var a=this&&this.__read||function(h,y){var u="function"==typeof Symbol&&h[Symbol.iterator];if(!u)return h;var c,p,r=u.call(h),d=[];try{for(;(void 0===y||y-- >0)&&!(c=r.next()).done;)d.push(c.value)}catch(_){p={error:_}}finally{try{c&&!c.done&&(u=r.return)&&u.call(r)}finally{if(p)throw p.error}}return d},n=this&&this.__spreadArray||function(h,y){for(var u=0,r=y.length,c=h.length;u<r;u++,c++)h[c]=y[u];return h};Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutProvider=void 0,o.timeoutProvider={setTimeout:function(h,y){for(var u=[],r=2;r<arguments.length;r++)u[r-2]=arguments[r];var c=o.timeoutProvider.delegate;return null!=c&&c.setTimeout?c.setTimeout.apply(c,n([h,y],a(u))):setTimeout.apply(void 0,n([h,y],a(u)))},clearTimeout:function(h){var y=o.timeoutProvider.delegate;return((null==y?void 0:y.clearTimeout)||clearTimeout)(h)},delegate:void 0}},4260:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observable=void 0,o.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},5256:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0})},4769:(H,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:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TestTools=o.Immediate=void 0;var n,a=1,h={};function y(u){return u in h&&(delete h[u],!0)}o.Immediate={setImmediate:function(u){var r=a++;return h[r]=!0,n||(n=Promise.resolve()),n.then(function(){return y(r)&&u()}),r},clearImmediate:function(u){y(u)}},o.TestTools={pending:function(){return Object.keys(h).length}}},5477:(H,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(u){h(this),this.name="NotFoundError",this.message=u}})},3965:(H,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:(H,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(u){h(this),this.name="SequenceError",this.message=u}})},4970:(H,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(u){h(this),this.message=u?u.length+" errors occurred during unsubscription:\n"+u.map(function(r,c){return c+1+") "+r.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=u}})},1642:(H,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(d){return d[d.length-1]}o.popResultSelector=function u(d){return n.isFunction(y(d))?d.pop():void 0},o.popScheduler=function r(d){return h.isScheduler(y(d))?d.pop():void 0},o.popNumber=function c(d,p){return"number"==typeof y(d)?d.pop():p}},9923:(H,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 u(c){if(1===c.length){var d=c[0];if(a(d))return{args:d,keys:null};if(function r(c){return c&&"object"==typeof c&&n(c)===h}(d)){var p=y(d);return{args:p.map(function(_){return d[_]}),keys:p}}}return{args:c,keys:null}}},3531:(H,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:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createErrorClass=void 0,o.createErrorClass=function a(n){var y=n(function(u){Error.call(u),u.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}},7598:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createObject=void 0,o.createObject=function a(n,h){return n.reduce(function(y,u,r){return y[u]=h[r],y},{})}},5808:(H,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 c=!h;if(c&&(h={errorThrown:!1,error:null}),r(),c){var d=h;if(h=null,d.errorThrown)throw d.error}}else r()},o.captureError=function u(r){n.config.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=r)}},2590:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.executeSchedule=void 0,o.executeSchedule=function a(n,h,y,u,r){void 0===u&&(u=0),void 0===r&&(r=!1);var c=h.schedule(function(){y(),r?n.add(this.schedule(null,u)):this.unsubscribe()},u);if(n.add(c),!r)return c}},7884:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.identity=void 0,o.identity=function a(n){return n}},697:(H,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:(H,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:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFunction=void 0,o.isFunction=function a(n){return"function"==typeof n}},7454:(H,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(u){return h.isFunction(u[n.observable])}},5431:(H,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(u){return h.isFunction(null==u?void 0:u[n.iterator])}},4341:(H,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(u){return!!u&&(u instanceof n.Observable||h.isFunction(u.lift)&&h.isFunction(u.subscribe))}},5050:(H,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(H,o,a){"use strict";var n=this&&this.__generator||function(d,p){var f,b,v,m,_={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return m={next:C(0),throw:C(1),return:C(2)},"function"==typeof Symbol&&(m[Symbol.iterator]=function(){return this}),m;function C(O){return function(P){return function M(O){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,b&&(v=2&O[0]?b.return:O[0]?b.throw||((v=b.return)&&v.call(b),0):b.next)&&!(v=v.call(b,O[1])).done)return v;switch(b=0,v&&(O=[2&O[0],v.value]),O[0]){case 0:case 1:v=O;break;case 4:return _.label++,{value:O[1],done:!1};case 5:_.label++,b=O[1],O=[0];continue;case 7:O=_.ops.pop(),_.trys.pop();continue;default:if(!(v=(v=_.trys).length>0&&v[v.length-1])&&(6===O[0]||2===O[0])){_=0;continue}if(3===O[0]&&(!v||O[1]>v[0]&&O[1]<v[3])){_.label=O[1];break}if(6===O[0]&&_.label<v[1]){_.label=v[1],v=O;break}if(v&&_.label<v[2]){_.label=v[2],_.ops.push(O);break}v[2]&&_.ops.pop(),_.trys.pop();continue}O=p.call(d,_)}catch(P){O=[6,P],b=0}finally{f=v=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([O,P])}}},h=this&&this.__await||function(d){return this instanceof h?(this.v=d,this):new h(d)},y=this&&this.__asyncGenerator||function(d,p,_){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b,f=_.apply(d,p||[]),v=[];return b={},m("next"),m("throw"),m("return"),b[Symbol.asyncIterator]=function(){return this},b;function m(Q){f[Q]&&(b[Q]=function($){return new Promise(function(z,V){v.push([Q,$,z,V])>1||C(Q,$)})})}function C(Q,$){try{!function M(Q){Q.value instanceof h?Promise.resolve(Q.value.v).then(O,P):L(v[0][2],Q)}(f[Q]($))}catch(z){L(v[0][3],z)}}function O(Q){C("next",Q)}function P(Q){C("throw",Q)}function L(Q,$){Q($),v.shift(),v.length&&C(v[0][0],v[0][1])}};Object.defineProperty(o,"__esModule",{value:!0}),o.isReadableStreamLike=o.readableStreamLikeToAsyncGenerator=void 0;var u=a(7104);o.readableStreamLikeToAsyncGenerator=function r(d){return y(this,arguments,function(){var _,f,b;return n(this,function(m){switch(m.label){case 0:_=d.getReader(),m.label=1;case 1:m.trys.push([1,,9,10]),m.label=2;case 2:return[4,h(_.read())];case 3:return f=m.sent(),b=f.value,f.done?[4,h(void 0)]:[3,5];case 4:return[2,m.sent()];case 5:return[4,h(b)];case 6:return[4,m.sent()];case 7:return m.sent(),[3,2];case 8:return[3,10];case 9:return _.releaseLock(),[7];case 10:return[2]}})})},o.isReadableStreamLike=function c(d){return u.isFunction(null==d?void 0:d.getReader)}},1875:(H,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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.operate=o.hasLift=void 0;var n=a(7104);function h(u){return n.isFunction(null==u?void 0:u.lift)}o.hasLift=h,o.operate=function y(u){return function(r){if(h(r))return r.lift(function(c){try{return u(c,this)}catch(d){this.error(d)}});throw new TypeError("Unable to lift unknown Observable type")}}},5280:function(H,o,a){"use strict";var n=this&&this.__read||function(d,p){var _="function"==typeof Symbol&&d[Symbol.iterator];if(!_)return d;var b,m,f=_.call(d),v=[];try{for(;(void 0===p||p-- >0)&&!(b=f.next()).done;)v.push(b.value)}catch(C){m={error:C}}finally{try{b&&!b.done&&(_=f.return)&&_.call(f)}finally{if(m)throw m.error}}return v},h=this&&this.__spreadArray||function(d,p){for(var _=0,f=p.length,b=d.length;_<f;_++,b++)d[b]=p[_];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.mapOneOrManyArgs=void 0;var y=a(752),u=Array.isArray;o.mapOneOrManyArgs=function c(d){return y.map(function(p){return function r(d,p){return u(p)?d.apply(void 0,h([],n(p))):d(p)}(d,p)})}},31:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.noop=void 0,o.noop=function a(){}},963:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.not=void 0,o.not=function a(n,h){return function(y,u){return!n.call(h,y,u)}}},1471:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pipeFromArray=o.pipe=void 0;var n=a(7884);function y(u){return 0===u.length?n.identity:1===u.length?u[0]:function(c){return u.reduce(function(d,p){return p(d)},c)}}o.pipe=function h(){for(var u=[],r=0;r<arguments.length;r++)u[r]=arguments[r];return y(u)},o.pipeFromArray=y},4709:(H,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(u){h.timeoutProvider.setTimeout(function(){var r=n.config.onUnhandledError;if(!r)throw u;r(u)})}},6870:(H,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:(H,o,a)=>{"use strict";a.d(o,{X:()=>h});var n=a(7579);class h extends n.x{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const r=super._subscribe(u);return!r.closed&&u.next(this._value),r}getValue(){const{hasError:u,thrownError:r,_value:c}=this;if(u)throw r;return this._throwIfClosed(),c}next(u){super.next(this._value=u)}}},8306:(H,o,a)=>{"use strict";a.d(o,{y:()=>f});var n=a(930),h=a(727),y=a(8822),u=a(4671);var d=a(2416),p=a(576),_=a(2806);let f=(()=>{class C{constructor(O){O&&(this._subscribe=O)}lift(O){const P=new C;return P.source=this,P.operator=O,P}subscribe(O,P,L){const Q=function m(C){return C&&C instanceof n.Lv||function v(C){return C&&(0,p.m)(C.next)&&(0,p.m)(C.error)&&(0,p.m)(C.complete)}(C)&&(0,h.Nn)(C)}(O)?O:new n.Hp(O,P,L);return(0,_.x)(()=>{const{operator:$,source:z}=this;Q.add($?$.call(Q,z):z?this._subscribe(Q):this._trySubscribe(Q))}),Q}_trySubscribe(O){try{return this._subscribe(O)}catch(P){O.error(P)}}forEach(O,P){return new(P=b(P))((L,Q)=>{const $=new n.Hp({next:z=>{try{O(z)}catch(V){Q(V),$.unsubscribe()}},error:Q,complete:L});this.subscribe($)})}_subscribe(O){var P;return null===(P=this.source)||void 0===P?void 0:P.subscribe(O)}[y.L](){return this}pipe(...O){return function c(C){return 0===C.length?u.y:1===C.length?C[0]:function(O){return C.reduce((P,L)=>L(P),O)}}(O)(this)}toPromise(O){return new(O=b(O))((P,L)=>{let Q;this.subscribe($=>Q=$,$=>L($),()=>P(Q))})}}return C.create=M=>new C(M),C})();function b(C){var M;return null!==(M=null!=C?C:d.v.Promise)&&void 0!==M?M:Promise}},7579:(H,o,a)=>{"use strict";a.d(o,{x:()=>d});var n=a(8306),h=a(727);const u=(0,a(3888).d)(_=>function(){_(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var r=a(8737),c=a(2806);let d=(()=>{class _ extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(b){const v=new p(this,this);return v.operator=b,v}_throwIfClosed(){if(this.closed)throw new u}next(b){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const v of this.currentObservers)v.next(b)}})}error(b){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=b;const{observers:v}=this;for(;v.length;)v.shift().error(b)}})}complete(){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:b}=this;for(;b.length;)b.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var b;return(null===(b=this.observers)||void 0===b?void 0:b.length)>0}_trySubscribe(b){return this._throwIfClosed(),super._trySubscribe(b)}_subscribe(b){return this._throwIfClosed(),this._checkFinalizedStatuses(b),this._innerSubscribe(b)}_innerSubscribe(b){const{hasError:v,isStopped:m,observers:C}=this;return v||m?h.Lc:(this.currentObservers=null,C.push(b),new h.w0(()=>{this.currentObservers=null,(0,r.P)(C,b)}))}_checkFinalizedStatuses(b){const{hasError:v,thrownError:m,isStopped:C}=this;v?b.error(m):C&&b.complete()}asObservable(){const b=new n.y;return b.source=this,b}}return _.create=(f,b)=>new p(f,b),_})();class p extends d{constructor(f,b){super(),this.destination=f,this.source=b}next(f){var b,v;null===(v=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===v||v.call(b,f)}error(f){var b,v;null===(v=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===v||v.call(b,f)}complete(){var f,b;null===(b=null===(f=this.destination)||void 0===f?void 0:f.complete)||void 0===b||b.call(f)}_subscribe(f){var b,v;return null!==(v=null===(b=this.source)||void 0===b?void 0:b.subscribe(f))&&void 0!==v?v:h.Lc}}},930:(H,o,a)=>{"use strict";a.d(o,{Hp:()=>O,Lv:()=>v});var n=a(576),h=a(727),y=a(2416),u=a(7849),r=a(5032);const c=_("C",void 0,void 0);function _(z,V,X){return{kind:z,value:V,error:X}}var f=a(3410),b=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=$}static create(V,X,re){return new O(V,X,re)}next(V){this.isStopped?Q(function p(z){return _("N",z,void 0)}(V),this):this._next(V)}error(V){this.isStopped?Q(function d(z){return _("E",void 0,z)}(V),this):(this.isStopped=!0,this._error(V))}complete(){this.isStopped?Q(c,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 m=Function.prototype.bind;function C(z,V){return m.call(z,V)}class M{constructor(V){this.partialObserver=V}next(V){const{partialObserver:X}=this;if(X.next)try{X.next(V)}catch(re){P(re)}}error(V){const{partialObserver:X}=this;if(X.error)try{X.error(V)}catch(re){P(re)}else P(V)}complete(){const{partialObserver:V}=this;if(V.complete)try{V.complete()}catch(X){P(X)}}}class O extends v{constructor(V,X,re){let me;if(super(),(0,n.m)(V)||!V)me={next:null!=V?V:void 0,error:null!=X?X:void 0,complete:null!=re?re:void 0};else{let Re;this&&y.v.useDeprecatedNextContext?(Re=Object.create(V),Re.unsubscribe=()=>this.unsubscribe(),me={next:V.next&&C(V.next,Re),error:V.error&&C(V.error,Re),complete:V.complete&&C(V.complete,Re)}):me=V}this.destination=new M(me)}}function P(z){y.v.useDeprecatedSynchronousErrorHandling?(0,b.O)(z):(0,u.h)(z)}function Q(z,V){const{onStoppedNotification:X}=y.v;X&&f.z.setTimeout(()=>X(z,V))}const $={closed:!0,next:r.Z,error:function L(z){throw z},complete:r.Z}},727:(H,o,a)=>{"use strict";a.d(o,{Lc:()=>c,w0:()=>r,Nn:()=>d});var n=a(576);const y=(0,a(3888).d)(_=>function(b){_(this),this.message=b?`${b.length} errors occurred during unsubscription:\n${b.map((v,m)=>`${m+1}) ${v.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=b});var u=a(8737);class r{constructor(f){this.initialTeardown=f,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let f;if(!this.closed){this.closed=!0;const{_parentage:b}=this;if(b)if(this._parentage=null,Array.isArray(b))for(const C of b)C.remove(this);else b.remove(this);const{initialTeardown:v}=this;if((0,n.m)(v))try{v()}catch(C){f=C instanceof y?C.errors:[C]}const{_finalizers:m}=this;if(m){this._finalizers=null;for(const C of m)try{p(C)}catch(M){f=null!=f?f:[],M instanceof y?f=[...f,...M.errors]:f.push(M)}}if(f)throw new y(f)}}add(f){var b;if(f&&f!==this)if(this.closed)p(f);else{if(f instanceof r){if(f.closed||f._hasParent(this))return;f._addParent(this)}(this._finalizers=null!==(b=this._finalizers)&&void 0!==b?b:[]).push(f)}}_hasParent(f){const{_parentage:b}=this;return b===f||Array.isArray(b)&&b.includes(f)}_addParent(f){const{_parentage:b}=this;this._parentage=Array.isArray(b)?(b.push(f),b):b?[b,f]:f}_removeParent(f){const{_parentage:b}=this;b===f?this._parentage=null:Array.isArray(b)&&(0,u.P)(b,f)}remove(f){const{_finalizers:b}=this;b&&(0,u.P)(b,f),f instanceof r&&f._removeParent(this)}}r.EMPTY=(()=>{const _=new r;return _.closed=!0,_})();const c=r.EMPTY;function d(_){return _ instanceof r||_&&"closed"in _&&(0,n.m)(_.remove)&&(0,n.m)(_.add)&&(0,n.m)(_.unsubscribe)}function p(_){(0,n.m)(_)?_():_.unsubscribe()}},2416:(H,o,a)=>{"use strict";a.d(o,{v:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(H,o,a)=>{"use strict";a.d(o,{a:()=>f});var n=a(8306),h=a(4742),y=a(2076),u=a(4671),r=a(3268),c=a(3269),d=a(1810),p=a(5403),_=a(9672);function f(...m){const C=(0,c.yG)(m),M=(0,c.jO)(m),{args:O,keys:P}=(0,h.D)(m);if(0===O.length)return(0,y.D)([],C);const L=new n.y(function b(m,C,M=u.y){return O=>{v(C,()=>{const{length:P}=m,L=new Array(P);let Q=P,$=P;for(let z=0;z<P;z++)v(C,()=>{const V=(0,y.D)(m[z],C);let X=!1;V.subscribe((0,p.x)(O,re=>{L[z]=re,X||(X=!0,$--),$||O.next(M(L.slice()))},()=>{--Q||O.complete()}))},O)},O)}}(O,C,P?Q=>(0,d.n)(P,Q):u.y));return M?L.pipe((0,r.Z)(M)):L}function v(m,C,M){m?(0,_.f)(M,m,C):C()}},7272:(H,o,a)=>{"use strict";a.d(o,{z:()=>r});var n=a(8189),y=a(3269),u=a(2076);function r(...c){return function h(){return(0,n.J)(1)}()((0,u.D)(c,(0,y.yG)(c)))}},515:(H,o,a)=>{"use strict";a.d(o,{E:()=>h});const h=new(a(8306).y)(r=>r.complete())},4128:(H,o,a)=>{"use strict";a.d(o,{D:()=>p});var n=a(8306),h=a(4742),y=a(8421),u=a(3269),r=a(5403),c=a(3268),d=a(1810);function p(..._){const f=(0,u.jO)(_),{args:b,keys:v}=(0,h.D)(_),m=new n.y(C=>{const{length:M}=b;if(!M)return void C.complete();const O=new Array(M);let P=M,L=M;for(let Q=0;Q<M;Q++){let $=!1;(0,y.Xf)(b[Q]).subscribe((0,r.x)(C,z=>{$||($=!0,L--),O[Q]=z},()=>P--,void 0,()=>{(!P||!$)&&(L||C.next(v?(0,d.n)(v,O):O),C.complete())}))}});return f?m.pipe((0,c.Z)(f)):m}},2076:(H,o,a)=>{"use strict";a.d(o,{D:()=>re});var n=a(8421),h=a(9672),y=a(4482),u=a(5403);function r(me,Re=0){return(0,y.e)((it,Ce)=>{it.subscribe((0,u.x)(Ce,xe=>(0,h.f)(Ce,me,()=>Ce.next(xe),Re),()=>(0,h.f)(Ce,me,()=>Ce.complete(),Re),xe=>(0,h.f)(Ce,me,()=>Ce.error(xe),Re)))})}function c(me,Re=0){return(0,y.e)((it,Ce)=>{Ce.add(me.schedule(()=>it.subscribe(Ce),Re))})}var _=a(8306),b=a(2202),v=a(576);function C(me,Re){if(!me)throw new Error("Iterable cannot be null");return new _.y(it=>{(0,h.f)(it,Re,()=>{const Ce=me[Symbol.asyncIterator]();(0,h.f)(it,Re,()=>{Ce.next().then(xe=>{xe.done?it.complete():it.next(xe.value)})},0,!0)})})}var M=a(3670),O=a(8239),P=a(1144),L=a(6495),Q=a(2206),$=a(4532),z=a(3260);function re(me,Re){return Re?function X(me,Re){if(null!=me){if((0,M.c)(me))return function d(me,Re){return(0,n.Xf)(me).pipe(c(Re),r(Re))}(me,Re);if((0,P.z)(me))return function f(me,Re){return new _.y(it=>{let Ce=0;return Re.schedule(function(){Ce===me.length?it.complete():(it.next(me[Ce++]),it.closed||this.schedule())})})}(me,Re);if((0,O.t)(me))return function p(me,Re){return(0,n.Xf)(me).pipe(c(Re),r(Re))}(me,Re);if((0,Q.D)(me))return C(me,Re);if((0,L.T)(me))return function m(me,Re){return new _.y(it=>{let Ce;return(0,h.f)(it,Re,()=>{Ce=me[b.h](),(0,h.f)(it,Re,()=>{let xe,oe;try{({value:xe,done:oe}=Ce.next())}catch(Ie){return void it.error(Ie)}oe?it.complete():it.next(xe)},0,!0)}),()=>(0,v.m)(null==Ce?void 0:Ce.return)&&Ce.return()})}(me,Re);if((0,z.L)(me))return function V(me,Re){return C((0,z.Q)(me),Re)}(me,Re)}throw(0,$.z)(me)}(me,Re):(0,n.Xf)(me)}},4968:(H,o,a)=>{"use strict";a.d(o,{R:()=>f});var n=a(8421),h=a(8306),y=a(5577),u=a(1144),r=a(576),c=a(3268);const d=["addListener","removeListener"],p=["addEventListener","removeEventListener"],_=["on","off"];function f(M,O,P,L){if((0,r.m)(P)&&(L=P,P=void 0),L)return f(M,O,P).pipe((0,c.Z)(L));const[Q,$]=function C(M){return(0,r.m)(M.addEventListener)&&(0,r.m)(M.removeEventListener)}(M)?p.map(z=>V=>M[z](O,V,P)):function v(M){return(0,r.m)(M.addListener)&&(0,r.m)(M.removeListener)}(M)?d.map(b(M,O)):function m(M){return(0,r.m)(M.on)&&(0,r.m)(M.off)}(M)?_.map(b(M,O)):[];if(!Q&&(0,u.z)(M))return(0,y.z)(z=>f(z,O,P))((0,n.Xf)(M));if(!Q)throw new TypeError("Invalid event target");return new h.y(z=>{const V=(...X)=>z.next(1<X.length?X:X[0]);return Q(V),()=>$(V)})}function b(M,O){return P=>L=>M[P](O,L)}},8421:(H,o,a)=>{"use strict";a.d(o,{Xf:()=>m});var n=a(7582),h=a(1144),y=a(8239),u=a(8306),r=a(3670),c=a(2206),d=a(4532),p=a(6495),_=a(3260),f=a(576),b=a(7849),v=a(8822);function m(z){if(z instanceof u.y)return z;if(null!=z){if((0,r.c)(z))return function C(z){return new u.y(V=>{const X=z[v.L]();if((0,f.m)(X.subscribe))return X.subscribe(V);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(z);if((0,h.z)(z))return function M(z){return new u.y(V=>{for(let X=0;X<z.length&&!V.closed;X++)V.next(z[X]);V.complete()})}(z);if((0,y.t)(z))return function O(z){return new u.y(V=>{z.then(X=>{V.closed||(V.next(X),V.complete())},X=>V.error(X)).then(null,b.h)})}(z);if((0,c.D)(z))return L(z);if((0,p.T)(z))return function P(z){return new u.y(V=>{for(const X of z)if(V.next(X),V.closed)return;V.complete()})}(z);if((0,_.L)(z))return function Q(z){return L((0,_.Q)(z))}(z)}throw(0,d.z)(z)}function L(z){return new u.y(V=>{(function $(z,V){var X,re,me,Re;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(X=(0,n.__asyncValues)(z);!(re=yield X.next()).done;)if(V.next(re.value),V.closed)return}catch(it){me={error:it}}finally{try{re&&!re.done&&(Re=X.return)&&(yield Re.call(X))}finally{if(me)throw me.error}}V.complete()})})(z,V).catch(X=>V.error(X))})}},6451:(H,o,a)=>{"use strict";a.d(o,{T:()=>c});var n=a(8189),h=a(8421),y=a(515),u=a(3269),r=a(2076);function c(...d){const p=(0,u.yG)(d),_=(0,u._6)(d,1/0),f=d;return f.length?1===f.length?(0,h.Xf)(f[0]):(0,n.J)(_)((0,r.D)(f,p)):y.E}},9646:(H,o,a)=>{"use strict";a.d(o,{of:()=>y});var n=a(3269),h=a(2076);function y(...u){const r=(0,n.yG)(u);return(0,h.D)(u,r)}},5963:(H,o,a)=>{"use strict";a.d(o,{H:()=>r});var n=a(8306),h=a(4986),y=a(3532);function r(c=0,d,p=h.P){let _=-1;return null!=d&&((0,y.K)(d)?p=d:_=d),new n.y(f=>{let b=function u(c){return c instanceof Date&&!isNaN(c)}(c)?+c-p.now():c;b<0&&(b=0);let v=0;return p.schedule(function(){f.closed||(f.next(v++),0<=_?this.schedule(void 0,_):f.complete())},b)})}},5403:(H,o,a)=>{"use strict";a.d(o,{x:()=>h});var n=a(930);function h(u,r,c,d,p){return new y(u,r,c,d,p)}class y extends n.Lv{constructor(r,c,d,p,_,f){super(r),this.onFinalize=_,this.shouldUnsubscribe=f,this._next=c?function(b){try{c(b)}catch(v){r.error(v)}}:super._next,this._error=p?function(b){try{p(b)}catch(v){r.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=d?function(){try{d()}catch(b){r.error(b)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:c}=this;super.unsubscribe(),!c&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}},8372:(H,o,a)=>{"use strict";a.d(o,{b:()=>u});var n=a(4986),h=a(4482),y=a(5403);function u(r,c=n.z){return(0,h.e)((d,p)=>{let _=null,f=null,b=null;const v=()=>{if(_){_.unsubscribe(),_=null;const C=f;f=null,p.next(C)}};function m(){const C=b+r,M=c.now();if(M<C)return _=this.schedule(void 0,C-M),void p.add(_);v()}d.subscribe((0,y.x)(p,C=>{f=C,b=c.now(),_||(_=c.schedule(m,r),p.add(_))},()=>{v(),p.complete()},void 0,()=>{f=_=null}))})}},1884:(H,o,a)=>{"use strict";a.d(o,{x:()=>u});var n=a(4671),h=a(4482),y=a(5403);function u(c,d=n.y){return c=null!=c?c:r,(0,h.e)((p,_)=>{let f,b=!0;p.subscribe((0,y.x)(_,v=>{const m=d(v);(b||!c(f,m))&&(b=!1,f=m,_.next(v))}))})}function r(c,d){return c===d}},9300:(H,o,a)=>{"use strict";a.d(o,{h:()=>y});var n=a(4482),h=a(5403);function y(u,r){return(0,n.e)((c,d)=>{let p=0;c.subscribe((0,h.x)(d,_=>u.call(r,_,p++)&&d.next(_)))})}},4004:(H,o,a)=>{"use strict";a.d(o,{U:()=>y});var n=a(4482),h=a(5403);function y(u,r){return(0,n.e)((c,d)=>{let p=0;c.subscribe((0,h.x)(d,_=>{d.next(u.call(r,_,p++))}))})}},8189:(H,o,a)=>{"use strict";a.d(o,{J:()=>y});var n=a(5577),h=a(4671);function y(u=1/0){return(0,n.z)(h.y,u)}},5577:(H,o,a)=>{"use strict";a.d(o,{z:()=>p});var n=a(4004),h=a(8421),y=a(4482),u=a(9672),r=a(5403),d=a(576);function p(_,f,b=1/0){return(0,d.m)(f)?p((v,m)=>(0,n.U)((C,M)=>f(v,C,m,M))((0,h.Xf)(_(v,m))),b):("number"==typeof f&&(b=f),(0,y.e)((v,m)=>function c(_,f,b,v,m,C,M,O){const P=[];let L=0,Q=0,$=!1;const z=()=>{$&&!P.length&&!L&&f.complete()},V=re=>L<v?X(re):P.push(re),X=re=>{C&&f.next(re),L++;let me=!1;(0,h.Xf)(b(re,Q++)).subscribe((0,r.x)(f,Re=>{null==m||m(Re),C?V(Re):f.next(Re)},()=>{me=!0},void 0,()=>{if(me)try{for(L--;P.length&&L<v;){const Re=P.shift();M?(0,u.f)(f,M,()=>X(Re)):X(Re)}z()}catch(Re){f.error(Re)}}))};return _.subscribe((0,r.x)(f,V,()=>{$=!0,z()})),()=>{null==O||O()}}(v,m,_,b)))}},3099:(H,o,a)=>{"use strict";a.d(o,{B:()=>r});var n=a(8421),h=a(7579),y=a(930),u=a(4482);function r(d={}){const{connector:p=(()=>new h.x),resetOnError:_=!0,resetOnComplete:f=!0,resetOnRefCountZero:b=!0}=d;return v=>{let m,C,M,O=0,P=!1,L=!1;const Q=()=>{null==C||C.unsubscribe(),C=void 0},$=()=>{Q(),m=M=void 0,P=L=!1},z=()=>{const V=m;$(),null==V||V.unsubscribe()};return(0,u.e)((V,X)=>{O++,!L&&!P&&Q();const re=M=null!=M?M:p();X.add(()=>{O--,0===O&&!L&&!P&&(C=c(z,b))}),re.subscribe(X),!m&&O>0&&(m=new y.Hp({next:me=>re.next(me),error:me=>{L=!0,Q(),C=c($,_,me),re.error(me)},complete:()=>{P=!0,Q(),C=c($,f),re.complete()}}),(0,n.Xf)(V).subscribe(m))})(v)}}function c(d,p,..._){if(!0===p)return void d();if(!1===p)return;const f=new y.Hp({next:()=>{f.unsubscribe(),d()}});return p(..._).subscribe(f)}},5684:(H,o,a)=>{"use strict";a.d(o,{T:()=>h});var n=a(9300);function h(y){return(0,n.h)((u,r)=>y<=r)}},8675:(H,o,a)=>{"use strict";a.d(o,{O:()=>u});var n=a(7272),h=a(3269),y=a(4482);function u(...r){const c=(0,h.yG)(r);return(0,y.e)((d,p)=>{(c?(0,n.z)(r,d,c):(0,n.z)(r,d)).subscribe(p)})}},3900:(H,o,a)=>{"use strict";a.d(o,{w:()=>u});var n=a(8421),h=a(4482),y=a(5403);function u(r,c){return(0,h.e)((d,p)=>{let _=null,f=0,b=!1;const v=()=>b&&!_&&p.complete();d.subscribe((0,y.x)(p,m=>{null==_||_.unsubscribe();let C=0;const M=f++;(0,n.Xf)(r(m,M)).subscribe(_=(0,y.x)(p,O=>p.next(c?c(m,O,M,C++):O),()=>{_=null,v()}))},()=>{b=!0,v()}))})}},5698:(H,o,a)=>{"use strict";a.d(o,{q:()=>u});var n=a(515),h=a(4482),y=a(5403);function u(r){return r<=0?()=>n.E:(0,h.e)((c,d)=>{let p=0;c.subscribe((0,y.x)(d,_=>{++p<=r&&(d.next(_),r<=p&&d.complete())}))})}},2722:(H,o,a)=>{"use strict";a.d(o,{R:()=>r});var n=a(4482),h=a(5403),y=a(8421),u=a(5032);function r(c){return(0,n.e)((d,p)=>{(0,y.Xf)(c).subscribe((0,h.x)(p,()=>p.complete(),u.Z)),!p.closed&&d.subscribe(p)})}},8505:(H,o,a)=>{"use strict";a.d(o,{b:()=>r});var n=a(576),h=a(4482),y=a(5403),u=a(4671);function r(c,d,p){const _=(0,n.m)(c)||d||p?{next:c,error:d,complete:p}:c;return _?(0,h.e)((f,b)=>{var v;null===(v=_.subscribe)||void 0===v||v.call(_);let m=!0;f.subscribe((0,y.x)(b,C=>{var M;null===(M=_.next)||void 0===M||M.call(_,C),b.next(C)},()=>{var C;m=!1,null===(C=_.complete)||void 0===C||C.call(_),b.complete()},C=>{var M;m=!1,null===(M=_.error)||void 0===M||M.call(_,C),b.error(C)},()=>{var C,M;m&&(null===(C=_.unsubscribe)||void 0===C||C.call(_)),null===(M=_.finalize)||void 0===M||M.call(_)}))}):u.y}},4408:(H,o,a)=>{"use strict";a.d(o,{o:()=>r});var n=a(727);class h extends n.w0{constructor(d,p){super()}schedule(d,p=0){return this}}const y={setInterval(c,d,...p){const{delegate:_}=y;return null!=_&&_.setInterval?_.setInterval(c,d,...p):setInterval(c,d,...p)},clearInterval(c){const{delegate:d}=y;return((null==d?void 0:d.clearInterval)||clearInterval)(c)},delegate:void 0};var u=a(8737);class r extends h{constructor(d,p){super(d,p),this.scheduler=d,this.work=p,this.pending=!1}schedule(d,p=0){var _;if(this.closed)return this;this.state=d;const f=this.id,b=this.scheduler;return null!=f&&(this.id=this.recycleAsyncId(b,f,p)),this.pending=!0,this.delay=p,this.id=null!==(_=this.id)&&void 0!==_?_:this.requestAsyncId(b,this.id,p),this}requestAsyncId(d,p,_=0){return y.setInterval(d.flush.bind(d,this),_)}recycleAsyncId(d,p,_=0){if(null!=_&&this.delay===_&&!1===this.pending)return p;null!=p&&y.clearInterval(p)}execute(d,p){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const _=this._execute(d,p);if(_)return _;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(d,p){let f,_=!1;try{this.work(d)}catch(b){_=!0,f=b||new Error("Scheduled action threw falsy error")}if(_)return this.unsubscribe(),f}unsubscribe(){if(!this.closed){const{id:d,scheduler:p}=this,{actions:_}=p;this.work=this.state=this.scheduler=null,this.pending=!1,(0,u.P)(_,this),null!=d&&(this.id=this.recycleAsyncId(p,d,null)),this.delay=null,super.unsubscribe()}}}},640:(H,o,a)=>{"use strict";a.d(o,{v:()=>y});const n={now:()=>(n.delegate||Date).now(),delegate:void 0};class h{constructor(r,c=h.now){this.schedulerActionCtor=r,this.now=c}schedule(r,c=0,d){return new this.schedulerActionCtor(this,r).schedule(d,c)}}h.now=n.now;class y extends h{constructor(r,c=h.now){super(r,c),this.actions=[],this._active=!1}flush(r){const{actions:c}=this;if(this._active)return void c.push(r);let d;this._active=!0;do{if(d=r.execute(r.state,r.delay))break}while(r=c.shift());if(this._active=!1,d){for(;r=c.shift();)r.unsubscribe();throw d}}}},3101:(H,o,a)=>{"use strict";a.d(o,{E:()=>C});var n=a(4408);let y,h=1;const u={};function r(O){return O in u&&(delete u[O],!0)}const c={setImmediate(O){const P=h++;return u[P]=!0,y||(y=Promise.resolve()),y.then(()=>r(P)&&O()),P},clearImmediate(O){r(O)}},{setImmediate:p,clearImmediate:_}=c,f={setImmediate(...O){const{delegate:P}=f;return((null==P?void 0:P.setImmediate)||p)(...O)},clearImmediate(O){const{delegate:P}=f;return((null==P?void 0:P.clearImmediate)||_)(O)},delegate:void 0};var v=a(640);const C=new class m extends v.v{flush(P){this._active=!0;const L=this._scheduled;this._scheduled=void 0;const{actions:Q}=this;let $;P=P||Q.shift();do{if($=P.execute(P.state,P.delay))break}while((P=Q[0])&&P.id===L&&Q.shift());if(this._active=!1,$){for(;(P=Q[0])&&P.id===L&&Q.shift();)P.unsubscribe();throw $}}}(class b extends n.o{constructor(P,L){super(P,L),this.scheduler=P,this.work=L}requestAsyncId(P,L,Q=0){return null!==Q&&Q>0?super.requestAsyncId(P,L,Q):(P.actions.push(this),P._scheduled||(P._scheduled=f.setImmediate(P.flush.bind(P,void 0))))}recycleAsyncId(P,L,Q=0){var $;if(null!=Q?Q>0:this.delay>0)return super.recycleAsyncId(P,L,Q);const{actions:z}=P;null!=L&&(null===($=z[z.length-1])||void 0===$?void 0:$.id)!==L&&(f.clearImmediate(L),P._scheduled=void 0)}})},4986:(H,o,a)=>{"use strict";a.d(o,{P:()=>u,z:()=>y});var n=a(4408);const y=new(a(640).v)(n.o),u=y},3410:(H,o,a)=>{"use strict";a.d(o,{z:()=>n});const n={setTimeout(h,y,...u){const{delegate:r}=n;return null!=r&&r.setTimeout?r.setTimeout(h,y,...u):setTimeout(h,y,...u)},clearTimeout(h){const{delegate:y}=n;return((null==y?void 0:y.clearTimeout)||clearTimeout)(h)},delegate:void 0}},2202:(H,o,a)=>{"use strict";a.d(o,{h:()=>h});const h=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(H,o,a)=>{"use strict";a.d(o,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(H,o,a)=>{"use strict";a.d(o,{_6:()=>c,jO:()=>u,yG:()=>r});var n=a(576),h=a(3532);function y(d){return d[d.length-1]}function u(d){return(0,n.m)(y(d))?d.pop():void 0}function r(d){return(0,h.K)(y(d))?d.pop():void 0}function c(d,p){return"number"==typeof y(d)?d.pop():p}},4742:(H,o,a)=>{"use strict";a.d(o,{D:()=>r});const{isArray:n}=Array,{getPrototypeOf:h,prototype:y,keys:u}=Object;function r(d){if(1===d.length){const p=d[0];if(n(p))return{args:p,keys:null};if(function c(d){return d&&"object"==typeof d&&h(d)===y}(p)){const _=u(p);return{args:_.map(f=>p[f]),keys:_}}}return{args:d,keys:null}}},8737:(H,o,a)=>{"use strict";function n(h,y){if(h){const u=h.indexOf(y);0<=u&&h.splice(u,1)}}a.d(o,{P:()=>n})},3888:(H,o,a)=>{"use strict";function n(h){const u=h(r=>{Error.call(r),r.stack=(new Error).stack});return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}a.d(o,{d:()=>n})},1810:(H,o,a)=>{"use strict";function n(h,y){return h.reduce((u,r,c)=>(u[r]=y[c],u),{})}a.d(o,{n:()=>n})},2806:(H,o,a)=>{"use strict";a.d(o,{O:()=>u,x:()=>y});var n=a(2416);let h=null;function y(r){if(n.v.useDeprecatedSynchronousErrorHandling){const c=!h;if(c&&(h={errorThrown:!1,error:null}),r(),c){const{errorThrown:d,error:p}=h;if(h=null,d)throw p}}else r()}function u(r){n.v.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=r)}},9672:(H,o,a)=>{"use strict";function n(h,y,u,r=0,c=!1){const d=y.schedule(function(){u(),c?h.add(this.schedule(null,r)):this.unsubscribe()},r);if(h.add(d),!c)return d}a.d(o,{f:()=>n})},4671:(H,o,a)=>{"use strict";function n(h){return h}a.d(o,{y:()=>n})},1144:(H,o,a)=>{"use strict";a.d(o,{z:()=>n});const n=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(H,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:(H,o,a)=>{"use strict";function n(h){return"function"==typeof h}a.d(o,{m:()=>n})},3670:(H,o,a)=>{"use strict";a.d(o,{c:()=>y});var n=a(8822),h=a(576);function y(u){return(0,h.m)(u[n.L])}},6495:(H,o,a)=>{"use strict";a.d(o,{T:()=>y});var n=a(2202),h=a(576);function y(u){return(0,h.m)(null==u?void 0:u[n.h])}},8239:(H,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:(H,o,a)=>{"use strict";a.d(o,{L:()=>u,Q:()=>y});var n=a(7582),h=a(576);function y(r){return(0,n.__asyncGenerator)(this,arguments,function*(){const d=r.getReader();try{for(;;){const{value:p,done:_}=yield(0,n.__await)(d.read());if(_)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(p)}}finally{d.releaseLock()}})}function u(r){return(0,h.m)(null==r?void 0:r.getReader)}},3532:(H,o,a)=>{"use strict";a.d(o,{K:()=>h});var n=a(576);function h(y){return y&&(0,n.m)(y.schedule)}},4482:(H,o,a)=>{"use strict";a.d(o,{e:()=>y});var n=a(576);function y(u){return r=>{if(function h(u){return(0,n.m)(null==u?void 0:u.lift)}(r))return r.lift(function(c){try{return u(c,this)}catch(d){this.error(d)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(H,o,a)=>{"use strict";a.d(o,{Z:()=>u});var n=a(4004);const{isArray:h}=Array;function u(r){return(0,n.U)(c=>function y(r,c){return h(c)?r(...c):r(c)}(r,c))}},5032:(H,o,a)=>{"use strict";function n(){}a.d(o,{Z:()=>n})},7849:(H,o,a)=>{"use strict";a.d(o,{h:()=>y});var n=a(2416),h=a(3410);function y(u){h.z.setTimeout(()=>{const{onUnhandledError:r}=n.v;if(!r)throw u;r(u)})}},4532:(H,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:(H,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(m){switch(m.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(m.base)}?`;case n.ArrayType:return`[${h(m.base)}]`;case n.StructType:case n.EnumType:return`API.${m.name}`;case n.TypeReference:return h(m.type);default:throw new Error(`BUG: generateSwiftTypeName with ${m.constructor.name}`)}}function y(m){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(m)?`_${m}`:m}function u(m,C){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`${C}`;case n.OptionalType:return`${C} == nil ? nil : ${u(m.base,`${C}!`)}`;case n.DatePrimitiveType:return`SdkgenHelper.encodeDate(date: ${C})`;case n.DateTimePrimitiveType:return`SdkgenHelper.encodeDateTime(date: ${C})`;case n.EnumType:return`${C}.rawValue`;case n.TypeReference:return`${u(m.type,`${C}`)}`;case n.StructType:return`${C}.toJSON()`;case n.ArrayType:return`${C}.map({ return ${u(m.base,"$0")} })`;case n.JsonPrimitiveType:return`try? ${C}.toJson()`;case n.VoidPrimitiveType:return"nil";case n.BytesPrimitiveType:return`${C}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${m.constructor.name}`)}}o.generateSwiftTypeName=h,o.mangle=y,o.generateJsonRepresentation=u,o.generateEnum=function r(m){let C=` public enum ${m.name}: String, Codable {\n`;return C+=m.values.map(M=>` case ${y(M.value)} = "${M.value}"`).join("\n"),C+="\n }\n",C},o.generateErrorType=function c(m){let C=" public enum ErrorType: String, Codable {\n";return C+=m.map(M=>` case ${y(M)} = "${M}"`).join("\n"),C+="\n }\n",C},o.generateClass=function _(m){return` public struct ${m.name}: Codable {\n${m.fields.map(C=>` var ${y(C.name)}: ${h(C.type)}`).join("\n")}\n\n${function d(m){let C=" init(";return C+=m.fields.map(M=>`${y(M.name)}: ${h(M.type)}`).join(", "),C+=") {\n",C+=m.fields.map(M=>` self.${y(M.name)} = ${y(M.name)}`).join("\n"),C+="\n }\n",C}(m)}\n${function p(m){let C=" func toJSON() -> [String: Any] {\n";return C+=" var json = [String: Any]()\n",C+=m.fields.map(M=>` json["${y(M.name)}"] = ${u(M.type,M.name)}`).join("\n"),C+="\n return json",C+="\n }\n",C}(m)}\n }\n`},o.generateErrorClass=function f(){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(m){const C=m.args.map(M=>`${y(M.name)}: ${h(M.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${m.returnType instanceof n.VoidPrimitiveType?"API.Result<API.NoReply>":`API.Result<${h(m.returnType)}>`}) -> Void)?`]);return` func ${y(m.name)}(${C.join(", ")})`},o.generateRxMethod=function v(m){const C=m.args.map(O=>`${y(O.name)}: ${h(O.type)}`).concat(["timeoutSeconds: Double? = nil"]);let M=` static func ${y(m.name)}(${C.join(", ")}) -> ${m.returnType instanceof n.VoidPrimitiveType?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${h(m.returnType)}>>`} {\n`;return M+=" return Observable.create { observer -> Disposable in\n",M+=` API.calls.${y(m.name)}(${m.args.map(O=>`${y(O.name)}: ${y(O.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,M+=" observer.on(.next(result))\n",M+=" observer.on(.completed)\n",M+=" }\n",M+=" return Disposables.create()\n",M+=" }\n",M+=" }\n",M}},7295:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(y,c,d)}:function(y,u,r,c){void 0===c&&(c=r),y[c]=u[r]}),h=this&&this.__exportStar||function(y,u){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,y,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(7636),o)},7636:(H,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(u,r){let c="import Foundation\nimport SdkgenRuntime\n";c+=r?"import RxSwift\nimport RxCocoa\n\n":"\n",c+="protocol APICallsProtocol {\n",c+=u.operations.filter(_=>_.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(_=>`${(0,h.generateMethodSignature)(_)}`).join("\n"),c+="\n}\n\n",c+='class API: SdkgenResponse {\n\n static var calls = 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 _ of u.enumTypes)c+=(0,h.generateEnum)(_),c+="\n";for(const _ of u.structTypes)c+=(0,h.generateClass)(_),c+="\n";const d=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);d.push(p.name);for(const _ of u.errors)d.push(_.name);return d.length>0&&(c+=(0,h.generateErrorType)(d),c+="\n"),c+=(0,h.generateErrorClass)(),c+="\n",c+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",c+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",c+=u.operations.filter(_=>_.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(_=>{let f="";return f+=` ${(0,h.generateMethodSignature)(_)} {\n`,_.args.length>0?(f+=" var jsonArgs = [String: Any]()\n",f+=_.args.map(b=>` jsonArgs["${(0,h.mangle)(b.name)}"] = ${(0,h.generateJsonRepresentation)(b.type,(0,h.mangle)(b.name))}`).join("\n")):f+=" let jsonArgs = [String: Any]()",f+="\n\n",f+=` makeRequest("${_.name}", jsonArgs, timeoutSeconds, completion: { (value: ${_.returnType instanceof n.VoidPrimitiveType?"API.NoReply":(0,h.generateSwiftTypeName)(_.returnType)}) in\n`,f+=" callback?(API.Result.success(value))\n",f+=" }, onError: { error in\n",f+=" callback?(API.Result.failure(API.Failure(message: error.message, code: error.code, type: error.type)))\n",f+=" })",f+="\n }\n",f}).join("\n"),c+=" }\n",c+="}\n",r&&(c+="\n",c+="extension API: ReactiveCompatible {}\n\n",c+="extension Reactive where Base: API {\n",c+=u.operations.filter(_=>_.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(_=>`${(0,h.generateRxMethod)(_)}`).join("\n"),c+="}\n"),c}},8173:(H,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(u){let r="";r+=`/* eslint-disable */\nimport { SdkgenError${u.errors.some(d=>!(d.dataType instanceof n.VoidPrimitiveType))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n`,(0,n.hasType)(u,n.DecimalPrimitiveType)&&(r+='import { Decimal } from "decimal.js-light";\n'),r+="\n";for(const d of u.enumTypes)r+=(0,h.generateTypescriptEnum)(d),r+="\n";for(const d of u.structTypes)r+=(0,h.generateTypescriptInterface)(d,!0),r+="\n";for(const d of u.errors)r+=(0,h.generateTypescriptErrorClass)(d,!0),r+="\n";return r+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${u.operations.filter(d=>d.annotations.every(p=>!(p instanceof n.HiddenAnnotation))).map(d=>`\n ${d.name}(args${0===d.args.length?"?":""}: {${d.args.map(p=>`${p.name}${p.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(p.type,!0)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(d.returnType,!0)}> { return this.makeRequest("${d.name}", args || {}); }`).join("")}\n}\n\n`,r+=`const errClasses = {\n${u.errors.map(d=>` ${d.name}`).join(",\n")}\n};\n\n`,r+=`const astJson = ${JSON.stringify((0,n.astToJson)(u),null,4).replace(new RegExp('"(?<key>\\w+)":',"gu"),"$<key>:")} as const;\n`,r}},5596:(H,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(d,p){switch(d.constructor){case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:return"number";case n.BigIntPrimitiveType:return"bigint";case n.DecimalPrimitiveType:return"Decimal";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(d.base,p)} | null`;case n.ArrayType:{const{base:_}=d,f=h(_,p);return _ instanceof n.OptionalType?`(${f})[]`:`${f}[]`}case n.StructType:case n.EnumType:return d.name;case n.TypeReference:return h(d.type,p);default:throw new Error(`BUG: generateTypescriptTypeName with ${d.constructor.name}`)}}o.generateTypescriptTypeName=h,o.generateTypescriptInterface=function y(d,p){return`export interface ${d.name} {\n${d.fields.map(_=>` ${_.name}: ${h(_.type,p)}`).join("\n")}\n}\n`},o.generateTypescriptEnum=function u(d){return d.hasStructValues?`export type ${d.name} = ${d.values.map(p=>p.struct?`({tag: "${p.value}"} & ${p.struct.name})`:`{tag: "${p.value}"}`).join(" | ")};\n`:`export type ${d.name} = ${d.values.map(p=>`"${p.value}"`).join(" | ")};\n`},o.generateTypescriptErrorClass=function r(d,p){return`export class ${d.name} extends ${d.dataType instanceof n.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${h(d.dataType,p)}>`} {}\n`},o.clearForLogging=function c(d,p){switch(p.constructor){case n.TypeReference:return c(d,p.type);case n.OptionalType:{const _=c(d,p.base);return _?`if (${d} !== null && ${d} !== undefined) { ${_} }`:""}case n.ArrayType:{const _=c("el",p.base);return _?`for (const el of ${d}) { ${_} }`:""}case n.StructType:{const _=[];for(const f of p.fields)if(f.secret)_.push(`${d}.${f.name} = "<secret>";`);else{const b=c(`${d}.${f.name}`,f.type);b&&_.push(b)}return _.join(" ")}default:return""}}},2911:function(H,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(y,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(y,c,d)}:function(y,u,r,c){void 0===c&&(c=r),y[c]=u[r]}),h=this&&this.__exportStar||function(y,u){for(var r in y)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateTypescriptInterfaces=void 0;const n=a(5596);o.generateTypescriptInterfaces=function h(y){let u="";for(const r of y.enumTypes)u+=(0,n.generateTypescriptEnum)(r);u+="\n";for(const r of y.structTypes)u+=(0,n.generateTypescriptInterface)(r,!1),u+="\n";return u}},1727:(H,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(u){let r="";const c=u.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));r+=`/* eslint-disable */\nimport { Context, Fatal${u.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${c?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,n.hasType)(u,n.DecimalPrimitiveType)&&(r+='import { Decimal } from "decimal.js";\n'),r+="\n";for(const p of u.enumTypes)r+=(0,h.generateTypescriptEnum)(p),r+="\n";for(const p of u.structTypes)r+=(0,h.generateTypescriptInterface)(p,!1),r+="\n";for(const p of u.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${u.operations.filter(p=>p.annotations.every(_=>!(_ instanceof n.HiddenAnnotation))).map(p=>`\n ${p.name}(ctx: PartialDeep<Context> | null, args: {${p.args.map(_=>`${_.name}${_.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(_.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${u.errors.map(p=>` ${p.name}`).join(",\n")}\n};\n\n`,r+=`const astJson = ${JSON.stringify((0,n.astToJson)(u),null,4).replace(new RegExp('"(?<key>\\w+)":',"gu"),"$<key>:")} as const;\n`,r}},615:(H,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(u){let r="";const c=u.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));r+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${u.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${c?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,n.hasType)(u,n.DecimalPrimitiveType)&&(r+='import { Decimal } from "decimal.js";\n'),r+="\n";for(const p of u.enumTypes)r+=(0,h.generateTypescriptEnum)(p),r+="\n";for(const p of u.structTypes)r+=(0,h.generateTypescriptInterface)(p,!1),r+="\n";for(const p of u.errors)"Fatal"!==p.name&&(r+=(0,h.generateTypescriptErrorClass)(p,!1),r+="\n");return r+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare fn: {${u.operations.map(p=>`\n ${p.name}: (ctx: Context & ExtraContextT, args: {${p.args.map(_=>`${_.name}: ${(0,h.generateTypescriptTypeName)(_.type,!1)}`).join(", ")}}) => Promise<${(0,h.generateTypescriptTypeName)(p.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,n.astToJson)(u),null,4).replace(new RegExp('"(?<key>\\w+)":',"gu"),"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,r}},7156:H=>{function o(n,h,y,u,r,c,d){try{var p=n[c](d),_=p.value}catch(f){return void y(f)}p.done?h(_):Promise.resolve(_).then(u,r)}H.exports=function a(n){return function(){var h=this,y=arguments;return new Promise(function(u,r){var c=n.apply(h,y);function d(_){o(c,u,r,d,p,"next",_)}function p(_){o(c,u,r,d,p,"throw",_)}d(void 0)})}},H.exports.__esModule=!0,H.exports.default=H.exports},1777:(H,o,a)=>{"use strict";a.d(o,{F4:()=>f,IO:()=>M,LC:()=>h,SB:()=>_,X$:()=>u,ZE:()=>Q,ZN:()=>L,_j:()=>n,eR:()=>b,jt:()=>r,k1:()=>$,l3:()=>y,oB:()=>p,pV:()=>m,ru:()=>c,vP:()=>d});class n{}class h{}const y="*";function u(z,V){return{type:7,name:z,definitions:V,options:{}}}function r(z,V=null){return{type:4,styles:V,timings:z}}function c(z,V=null){return{type:3,steps:z,options:V}}function d(z,V=null){return{type:2,steps:z,options:V}}function p(z){return{type:6,styles:z,offset:null}}function _(z,V,X){return{type:0,name:z,styles:V,options:X}}function f(z){return{type:5,steps:z}}function b(z,V,X=null){return{type:1,expr:z,animation:V,options:X}}function m(z=null){return{type:9,options:z}}function M(z,V,X=null){return{type:11,selector:z,animation:V,options:X}}function P(z){Promise.resolve(null).then(z)}class L{constructor(V=0,X=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=V+X}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}onStart(V){this._originalOnStartFns.push(V),this._onStartFns.push(V)}onDone(V){this._originalOnDoneFns.push(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(){P(()=>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,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(V){this._position=this.totalTime?V*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(V){const X="start"==V?this._onStartFns:this._onDoneFns;X.forEach(re=>re()),X.length=0}}class Q{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 X=0,re=0,me=0;const Re=this.players.length;0==Re?P(()=>this._onFinish()):this.players.forEach(it=>{it.onDone(()=>{++X==Re&&this._onFinish()}),it.onDestroy(()=>{++re==Re&&this._onDestroy()}),it.onStart(()=>{++me==Re&&this._onStart()})}),this.totalTime=this.players.reduce((it,Ce)=>Math.max(it,Ce.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 X=V*this.totalTime;this.players.forEach(re=>{const me=re.totalTime?Math.min(1,X/re.totalTime):1;re.setPosition(me)})}getPosition(){const V=this.players.reduce((X,re)=>null===X||re.totalTime>X.totalTime?re:X,null);return null!=V?V.getPosition():0}beforeDestroy(){this.players.forEach(V=>{V.beforeDestroy&&V.beforeDestroy()})}triggerCallback(V){const X="start"==V?this._onStartFns:this._onDoneFns;X.forEach(re=>re()),X.length=0}}const $="!"},5664:(H,o,a)=>{"use strict";a.d(o,{$s:()=>Ce,Em:()=>qe,X6:()=>we,ic:()=>fe,kH:()=>At,qV:()=>Te,qm:()=>Ze,rt:()=>Ee,tE:()=>Ft,yG:()=>He});var n=a(9808),h=a(5e3),y=a(925),u=a(7579),r=a(727),c=a(1135),d=a(9646),p=a(1159),_=a(8505),f=a(8372),b=a(9300),v=a(4004),m=a(5698),C=a(5684),M=a(1884),O=a(2722),P=a(3191),L=a(7144),Q=a(5113);function X(_e,ae){return(_e.getAttribute(ae)||"").match(/\S+/g)||[]}const me="cdk-describedby-message",Re="cdk-describedby-host";let it=0,Ce=(()=>{class _e{constructor(le,B){this._platform=B,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+it++,this._document=le,this._id=(0,h.inject)(h.APP_ID)+"-"+it++}describe(le,B,Me){if(!this._canBeDescribed(le,B))return;const yt=xe(B,Me);"string"!=typeof B?(oe(B,this._id),this._messageRegistry.set(yt,{messageElement:B,referenceCount:0})):this._messageRegistry.has(yt)||this._createMessageElement(B,Me),this._isElementDescribedByMessage(le,yt)||this._addMessageReference(le,yt)}removeDescription(le,B,Me){var yt;if(!B||!this._isElementNode(le))return;const Ge=xe(B,Me);if(this._isElementDescribedByMessage(le,Ge)&&this._removeMessageReference(le,Ge),"string"==typeof B){const bt=this._messageRegistry.get(Ge);bt&&0===bt.referenceCount&&this._deleteMessageElement(Ge)}0===(null===(yt=this._messagesContainer)||void 0===yt?void 0:yt.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var le;const B=this._document.querySelectorAll(`[${Re}="${this._id}"]`);for(let Me=0;Me<B.length;Me++)this._removeCdkDescribedByReferenceIds(B[Me]),B[Me].removeAttribute(Re);null===(le=this._messagesContainer)||void 0===le||le.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(le,B){const Me=this._document.createElement("div");oe(Me,this._id),Me.textContent=le,B&&Me.setAttribute("role",B),this._createMessagesContainer(),this._messagesContainer.appendChild(Me),this._messageRegistry.set(xe(le,B),{messageElement:Me,referenceCount:0})}_deleteMessageElement(le){var B,Me;null===(Me=null===(B=this._messageRegistry.get(le))||void 0===B?void 0:B.messageElement)||void 0===Me||Me.remove(),this._messageRegistry.delete(le)}_createMessagesContainer(){if(this._messagesContainer)return;const le="cdk-describedby-message-container",B=this._document.querySelectorAll(`.${le}[platform="server"]`);for(let yt=0;yt<B.length;yt++)B[yt].remove();const Me=this._document.createElement("div");Me.style.visibility="hidden",Me.classList.add(le),Me.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Me.setAttribute("platform","server"),this._document.body.appendChild(Me),this._messagesContainer=Me}_removeCdkDescribedByReferenceIds(le){const B=X(le,"aria-describedby").filter(Me=>0!=Me.indexOf(me));le.setAttribute("aria-describedby",B.join(" "))}_addMessageReference(le,B){const Me=this._messageRegistry.get(B);(function z(_e,ae,le){const B=X(_e,ae);B.some(Me=>Me.trim()==le.trim())||(B.push(le.trim()),_e.setAttribute(ae,B.join(" ")))})(le,"aria-describedby",Me.messageElement.id),le.setAttribute(Re,this._id),Me.referenceCount++}_removeMessageReference(le,B){const Me=this._messageRegistry.get(B);Me.referenceCount--,function V(_e,ae,le){const Me=X(_e,ae).filter(yt=>yt!=le.trim());Me.length?_e.setAttribute(ae,Me.join(" ")):_e.removeAttribute(ae)}(le,"aria-describedby",Me.messageElement.id),le.removeAttribute(Re)}_isElementDescribedByMessage(le,B){const Me=X(le,"aria-describedby"),yt=this._messageRegistry.get(B),Ge=yt&&yt.messageElement.id;return!!Ge&&-1!=Me.indexOf(Ge)}_canBeDescribed(le,B){if(!this._isElementNode(le))return!1;if(B&&"object"==typeof B)return!0;const Me=null==B?"":`${B}`.trim(),yt=le.getAttribute("aria-label");return!(!Me||yt&&yt.trim()===Me)}_isElementNode(le){return le.nodeType===this._document.ELEMENT_NODE}}return _e.\u0275fac=function(le){return new(le||_e)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(y.t4))},_e.\u0275prov=h.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();function xe(_e,ae){return"string"==typeof _e?`${ae||""}/${_e}`:_e}function oe(_e,ae){_e.id||(_e.id=`${me}-${ae}-${it++}`)}class qe extends class Ie{constructor(ae){this._items=ae,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new u.x,this._typeaheadSubscription=r.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=le=>le.disabled,this._pressedLetters=[],this.tabOut=new u.x,this.change=new u.x,ae instanceof h.QueryList&&ae.changes.subscribe(le=>{if(this._activeItem){const Me=le.toArray().indexOf(this._activeItem);Me>-1&&Me!==this._activeItemIndex&&(this._activeItemIndex=Me)}})}skipPredicate(ae){return this._skipPredicateFn=ae,this}withWrap(ae=!0){return this._wrap=ae,this}withVerticalOrientation(ae=!0){return this._vertical=ae,this}withHorizontalOrientation(ae){return this._horizontal=ae,this}withAllowedModifierKeys(ae){return this._allowedModifierKeys=ae,this}withTypeAhead(ae=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,_.b)(le=>this._pressedLetters.push(le)),(0,f.b)(ae),(0,b.h)(()=>this._pressedLetters.length>0),(0,v.U)(()=>this._pressedLetters.join(""))).subscribe(le=>{const B=this._getItemsArray();for(let Me=1;Me<B.length+1;Me++){const yt=(this._activeItemIndex+Me)%B.length,Ge=B[yt];if(!this._skipPredicateFn(Ge)&&0===Ge.getLabel().toUpperCase().trim().indexOf(le)){this.setActiveItem(yt);break}}this._pressedLetters=[]}),this}withHomeAndEnd(ae=!0){return this._homeAndEnd=ae,this}setActiveItem(ae){const le=this._activeItem;this.updateActiveItem(ae),this._activeItem!==le&&this.change.next(this._activeItemIndex)}onKeydown(ae){const le=ae.keyCode,Me=["altKey","ctrlKey","metaKey","shiftKey"].every(yt=>!ae[yt]||this._allowedModifierKeys.indexOf(yt)>-1);switch(le){case p.Mf:return void this.tabOut.next();case p.JH:if(this._vertical&&Me){this.setNextItemActive();break}return;case p.LH:if(this._vertical&&Me){this.setPreviousItemActive();break}return;case p.SV:if(this._horizontal&&Me){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case p.oh:if(this._horizontal&&Me){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case p.Sd:if(this._homeAndEnd&&Me){this.setFirstItemActive();break}return;case p.uR:if(this._homeAndEnd&&Me){this.setLastItemActive();break}return;default:return void((Me||(0,p.Vb)(ae,"shiftKey"))&&(ae.key&&1===ae.key.length?this._letterKeyStream.next(ae.key.toLocaleUpperCase()):(le>=p.A&&le<=p.Z||le>=p.xE&&le<=p.aO)&&this._letterKeyStream.next(String.fromCharCode(le))))}this._pressedLetters=[],ae.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(ae){const le=this._getItemsArray(),B="number"==typeof ae?ae:le.indexOf(ae),Me=le[B];this._activeItem=null==Me?null:Me,this._activeItemIndex=B}_setActiveItemByDelta(ae){this._wrap?this._setActiveInWrapMode(ae):this._setActiveInDefaultMode(ae)}_setActiveInWrapMode(ae){const le=this._getItemsArray();for(let B=1;B<=le.length;B++){const Me=(this._activeItemIndex+ae*B+le.length)%le.length;if(!this._skipPredicateFn(le[Me]))return void this.setActiveItem(Me)}}_setActiveInDefaultMode(ae){this._setActiveItemByIndex(this._activeItemIndex+ae,ae)}_setActiveItemByIndex(ae,le){const B=this._getItemsArray();if(B[ae]){for(;this._skipPredicateFn(B[ae]);)if(!B[ae+=le])return;this.setActiveItem(ae)}}_getItemsArray(){return this._items instanceof h.QueryList?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ae){return this._origin=ae,this}setActiveItem(ae){super.setActiveItem(ae),this.activeItem&&this.activeItem.focus(this._origin)}}let fe=(()=>{class _e{constructor(le){this._platform=le}isDisabled(le){return le.hasAttribute("disabled")}isVisible(le){return function x(_e){return!!(_e.offsetWidth||_e.offsetHeight||"function"==typeof _e.getClientRects&&_e.getClientRects().length)}(le)&&"visible"===getComputedStyle(le).visibility}isTabbable(le){if(!this._platform.isBrowser)return!1;const B=function W(_e){try{return _e.frameElement}catch(ae){return null}}(function ut(_e){return _e.ownerDocument&&_e.ownerDocument.defaultView||window}(le));if(B&&(-1===ct(B)||!this.isVisible(B)))return!1;let Me=le.nodeName.toLowerCase(),yt=ct(le);return le.hasAttribute("contenteditable")?-1!==yt:!("iframe"===Me||"object"===Me||this._platform.WEBKIT&&this._platform.IOS&&!function ft(_e){let ae=_e.nodeName.toLowerCase(),le="input"===ae&&_e.type;return"text"===le||"password"===le||"select"===ae||"textarea"===ae}(le))&&("audio"===Me?!!le.hasAttribute("controls")&&-1!==yt:"video"===Me?-1!==yt&&(null!==yt||this._platform.FIREFOX||le.hasAttribute("controls")):le.tabIndex>=0)}isFocusable(le,B){return function gt(_e){return!function K(_e){return function ve(_e){return"input"==_e.nodeName.toLowerCase()}(_e)&&"hidden"==_e.type}(_e)&&(function G(_e){let ae=_e.nodeName.toLowerCase();return"input"===ae||"select"===ae||"button"===ae||"textarea"===ae}(_e)||function ne(_e){return function ge(_e){return"a"==_e.nodeName.toLowerCase()}(_e)&&_e.hasAttribute("href")}(_e)||_e.hasAttribute("contenteditable")||Le(_e))}(le)&&!this.isDisabled(le)&&((null==B?void 0:B.ignoreVisibility)||this.isVisible(le))}}return _e.\u0275fac=function(le){return new(le||_e)(h.\u0275\u0275inject(y.t4))},_e.\u0275prov=h.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();function Le(_e){if(!_e.hasAttribute("tabindex")||void 0===_e.tabIndex)return!1;let ae=_e.getAttribute("tabindex");return!(!ae||isNaN(parseInt(ae,10)))}function ct(_e){if(!Le(_e))return null;const ae=parseInt(_e.getAttribute("tabindex")||"",10);return isNaN(ae)?-1:ae}class je{constructor(ae,le,B,Me,yt=!1){this._element=ae,this._checker=le,this._ngZone=B,this._document=Me,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,yt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(ae){this._enabled=ae,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ae,this._startAnchor),this._toggleAnchorTabIndex(ae,this._endAnchor))}destroy(){const ae=this._startAnchor,le=this._endAnchor;ae&&(ae.removeEventListener("focus",this.startAnchorListener),ae.remove()),le&&(le.removeEventListener("focus",this.endAnchorListener),le.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(ae){return new Promise(le=>{this._executeOnStable(()=>le(this.focusInitialElement(ae)))})}focusFirstTabbableElementWhenReady(ae){return new Promise(le=>{this._executeOnStable(()=>le(this.focusFirstTabbableElement(ae)))})}focusLastTabbableElementWhenReady(ae){return new Promise(le=>{this._executeOnStable(()=>le(this.focusLastTabbableElement(ae)))})}_getRegionBoundary(ae){const le=this._element.querySelectorAll(`[cdk-focus-region-${ae}], [cdkFocusRegion${ae}], [cdk-focus-${ae}]`);return"start"==ae?le.length?le[0]:this._getFirstTabbableElement(this._element):le.length?le[le.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ae){const le=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(le){if(!this._checker.isFocusable(le)){const B=this._getFirstTabbableElement(le);return null==B||B.focus(ae),!!B}return le.focus(ae),!0}return this.focusFirstTabbableElement(ae)}focusFirstTabbableElement(ae){const le=this._getRegionBoundary("start");return le&&le.focus(ae),!!le}focusLastTabbableElement(ae){const le=this._getRegionBoundary("end");return le&&le.focus(ae),!!le}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ae){if(this._checker.isFocusable(ae)&&this._checker.isTabbable(ae))return ae;const le=ae.children;for(let B=0;B<le.length;B++){const Me=le[B].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(le[B]):null;if(Me)return Me}return null}_getLastTabbableElement(ae){if(this._checker.isFocusable(ae)&&this._checker.isTabbable(ae))return ae;const le=ae.children;for(let B=le.length-1;B>=0;B--){const Me=le[B].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(le[B]):null;if(Me)return Me}return null}_createAnchor(){const ae=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ae),ae.classList.add("cdk-visually-hidden"),ae.classList.add("cdk-focus-trap-anchor"),ae.setAttribute("aria-hidden","true"),ae}_toggleAnchorTabIndex(ae,le){ae?le.setAttribute("tabindex","0"):le.removeAttribute("tabindex")}toggleAnchors(ae){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ae,this._startAnchor),this._toggleAnchorTabIndex(ae,this._endAnchor))}_executeOnStable(ae){this._ngZone.isStable?ae():this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(ae)}}let Te=(()=>{class _e{constructor(le,B,Me){this._checker=le,this._ngZone=B,this._document=Me}create(le,B=!1){return new je(le,this._checker,this._ngZone,this._document,B)}}return _e.\u0275fac=function(le){return new(le||_e)(h.\u0275\u0275inject(fe),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT))},_e.\u0275prov=h.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();function we(_e){return 0===_e.buttons||0===_e.offsetX&&0===_e.offsetY}function He(_e){const ae=_e.touches&&_e.touches[0]||_e.changedTouches&&_e.changedTouches[0];return!(!ae||-1!==ae.identifier||null!=ae.radiusX&&1!==ae.radiusX||null!=ae.radiusY&&1!==ae.radiusY)}const Ve=new h.InjectionToken("cdk-input-modality-detector-options"),Ue={ignoreKeys:[p.zL,p.jx,p.b2,p.MW,p.JU]},$e=(0,y.i$)({passive:!0,capture:!0});let dt=(()=>{class _e{constructor(le,B,Me,yt){this._platform=le,this._mostRecentTarget=null,this._modality=new c.X(null),this._lastTouchMs=0,this._onKeydown=Ge=>{var bt,q;null!==(q=null===(bt=this._options)||void 0===bt?void 0:bt.ignoreKeys)&&void 0!==q&&q.some(Oe=>Oe===Ge.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(Ge))},this._onMousedown=Ge=>{Date.now()-this._lastTouchMs<650||(this._modality.next(we(Ge)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(Ge))},this._onTouchstart=Ge=>{He(Ge)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(Ge))},this._options=Object.assign(Object.assign({},Ue),yt),this.modalityDetected=this._modality.pipe((0,C.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,M.x)()),le.isBrowser&&B.runOutsideAngular(()=>{Me.addEventListener("keydown",this._onKeydown,$e),Me.addEventListener("mousedown",this._onMousedown,$e),Me.addEventListener("touchstart",this._onTouchstart,$e)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,$e),document.removeEventListener("mousedown",this._onMousedown,$e),document.removeEventListener("touchstart",this._onTouchstart,$e))}}return _e.\u0275fac=function(le){return new(le||_e)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(Ve,8))},_e.\u0275prov=h.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();const tt=new h.InjectionToken("cdk-focus-monitor-default-options"),vt=(0,y.i$)({passive:!0,capture:!0});let Ft=(()=>{class _e{constructor(le,B,Me,yt,Ge){this._ngZone=le,this._platform=B,this._inputModalityDetector=Me,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 u.x,this._rootNodeFocusAndBlurListener=bt=>{for(let Oe=(0,y.sA)(bt);Oe;Oe=Oe.parentElement)"focus"===bt.type?this._onFocus(bt,Oe):this._onBlur(bt,Oe)},this._document=yt,this._detectionMode=(null==Ge?void 0:Ge.detectionMode)||0}monitor(le,B=!1){const Me=(0,P.fI)(le);if(!this._platform.isBrowser||1!==Me.nodeType)return(0,d.of)(null);const yt=(0,y.kV)(Me)||this._getDocument(),Ge=this._elementInfo.get(Me);if(Ge)return B&&(Ge.checkChildren=!0),Ge.subject;const bt={checkChildren:B,subject:new u.x,rootNode:yt};return this._elementInfo.set(Me,bt),this._registerGlobalListeners(bt),bt.subject}stopMonitoring(le){const B=(0,P.fI)(le),Me=this._elementInfo.get(B);Me&&(Me.subject.complete(),this._setClasses(B),this._elementInfo.delete(B),this._removeGlobalListeners(Me))}focusVia(le,B,Me){const yt=(0,P.fI)(le);yt===this._getDocument().activeElement?this._getClosestElementsInfo(yt).forEach(([bt,q])=>this._originChanged(bt,B,q)):(this._setOrigin(B),"function"==typeof yt.focus&&yt.focus(Me))}ngOnDestroy(){this._elementInfo.forEach((le,B)=>this.stopMonitoring(B))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(le){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(le)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:le&&this._isLastInteractionFromInputLabel(le)?"mouse":"program"}_shouldBeAttributedToTouch(le){return 1===this._detectionMode||!(null==le||!le.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(le,B){le.classList.toggle("cdk-focused",!!B),le.classList.toggle("cdk-touch-focused","touch"===B),le.classList.toggle("cdk-keyboard-focused","keyboard"===B),le.classList.toggle("cdk-mouse-focused","mouse"===B),le.classList.toggle("cdk-program-focused","program"===B)}_setOrigin(le,B=!1){this._ngZone.runOutsideAngular(()=>{this._origin=le,this._originFromTouchInteraction="touch"===le&&B,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(le,B){const Me=this._elementInfo.get(B),yt=(0,y.sA)(le);!Me||!Me.checkChildren&&B!==yt||this._originChanged(B,this._getFocusOrigin(yt),Me)}_onBlur(le,B){const Me=this._elementInfo.get(B);!Me||Me.checkChildren&&le.relatedTarget instanceof Node&&B.contains(le.relatedTarget)||(this._setClasses(B),this._emitOrigin(Me,null))}_emitOrigin(le,B){le.subject.observers.length&&this._ngZone.run(()=>le.subject.next(B))}_registerGlobalListeners(le){if(!this._platform.isBrowser)return;const B=le.rootNode,Me=this._rootNodeFocusListenerCount.get(B)||0;Me||this._ngZone.runOutsideAngular(()=>{B.addEventListener("focus",this._rootNodeFocusAndBlurListener,vt),B.addEventListener("blur",this._rootNodeFocusAndBlurListener,vt)}),this._rootNodeFocusListenerCount.set(B,Me+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,O.R)(this._stopInputModalityDetector)).subscribe(yt=>{this._setOrigin(yt,!0)}))}_removeGlobalListeners(le){const B=le.rootNode;if(this._rootNodeFocusListenerCount.has(B)){const Me=this._rootNodeFocusListenerCount.get(B);Me>1?this._rootNodeFocusListenerCount.set(B,Me-1):(B.removeEventListener("focus",this._rootNodeFocusAndBlurListener,vt),B.removeEventListener("blur",this._rootNodeFocusAndBlurListener,vt),this._rootNodeFocusListenerCount.delete(B))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(le,B,Me){this._setClasses(le,B),this._emitOrigin(Me,B),this._lastFocusOrigin=B}_getClosestElementsInfo(le){const B=[];return this._elementInfo.forEach((Me,yt)=>{(yt===le||Me.checkChildren&&yt.contains(le))&&B.push([yt,Me])}),B}_isLastInteractionFromInputLabel(le){const{_mostRecentTarget:B,mostRecentModality:Me}=this._inputModalityDetector;if("mouse"!==Me||!B||B===le||"INPUT"!==le.nodeName&&"TEXTAREA"!==le.nodeName||le.disabled)return!1;const yt=le.labels;if(yt)for(let Ge=0;Ge<yt.length;Ge++)if(yt[Ge].contains(B))return!0;return!1}}return _e.\u0275fac=function(le){return new(le||_e)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(dt),h.\u0275\u0275inject(n.DOCUMENT,8),h.\u0275\u0275inject(tt,8))},_e.\u0275prov=h.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),At=(()=>{class _e{constructor(le,B){this._elementRef=le,this._focusMonitor=B,this.cdkFocusChange=new h.EventEmitter}ngAfterViewInit(){const le=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(le,1===le.nodeType&&le.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(B=>this.cdkFocusChange.emit(B))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return _e.\u0275fac=function(le){return new(le||_e)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(Ft))},_e.\u0275dir=h.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),_e})();const Yt="cdk-high-contrast-black-on-white",Nt="cdk-high-contrast-white-on-black",rt="cdk-high-contrast-active";let Ze=(()=>{class _e{constructor(le,B){this._platform=le,this._document=B,this._breakpointSubscription=(0,h.inject)(Q.BreakpointObserver).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const le=this._document.createElement("div");le.style.backgroundColor="rgb(1,2,3)",le.style.position="absolute",this._document.body.appendChild(le);const B=this._document.defaultView||window,Me=B&&B.getComputedStyle?B.getComputedStyle(le):null,yt=(Me&&Me.backgroundColor||"").replace(/ /g,"");switch(le.remove(),yt){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const le=this._document.body.classList;le.remove(rt,Yt,Nt),this._hasCheckedHighContrastMode=!0;const B=this.getHighContrastMode();1===B?le.add(rt,Yt):2===B&&le.add(rt,Nt)}}}return _e.\u0275fac=function(le){return new(le||_e)(h.\u0275\u0275inject(y.t4),h.\u0275\u0275inject(n.DOCUMENT))},_e.\u0275prov=h.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Ee=(()=>{class _e{constructor(le){le._applyBodyHighContrastModeCssClasses()}}return _e.\u0275fac=function(le){return new(le||_e)(h.\u0275\u0275inject(Ze))},_e.\u0275mod=h.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=h.\u0275\u0275defineInjector({imports:[L.Q8]}),_e})()},226:(H,o,a)=>{"use strict";a.d(o,{Is:()=>d,vT:()=>_});var n=a(5e3),h=a(9808);const y=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function u(){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 d=(()=>{class f{constructor(v){if(this.value="ltr",this.change=new n.EventEmitter,v){const C=v.documentElement?v.documentElement.dir:null;this.value=function c(f){const b=(null==f?void 0:f.toLowerCase())||"";return"auto"===b&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?r.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}((v.body?v.body.dir:null)||C||"ltr")}}ngOnDestroy(){this.change.complete()}}return f.\u0275fac=function(v){return new(v||f)(n.\u0275\u0275inject(y,8))},f.\u0275prov=n.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),_=(()=>{class f{}return f.\u0275fac=function(v){return new(v||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({}),f})()},3191:(H,o,a)=>{"use strict";a.d(o,{Eq:()=>r,HM:()=>c,Ig:()=>h,fI:()=>d,su:()=>y,t6:()=>u});var n=a(5e3);function h(_){return null!=_&&"false"!=`${_}`}function y(_,f=0){return u(_)?Number(_):f}function u(_){return!isNaN(parseFloat(_))&&!isNaN(Number(_))}function r(_){return Array.isArray(_)?_:[_]}function c(_){return null==_?"":"string"==typeof _?_:`${_}px`}function d(_){return _ instanceof n.ElementRef?_.nativeElement:_}},449:(H,o,a)=>{"use strict";a.d(o,{Ov:()=>p,Z9:()=>u,eX:()=>d,k:()=>b,o2:()=>y,yy:()=>c});var n=a(7579),h=a(5e3);class y{}function u(v){return v&&"function"==typeof v.connect}class c{applyChanges(m,C,M,O,P){m.forEachOperation((L,Q,$)=>{let z,V;if(null==L.previousIndex){const X=M(L,Q,$);z=C.createEmbeddedView(X.templateRef,X.context,X.index),V=1}else null==$?(C.remove(Q),V=3):(z=C.get(Q),C.move(z,$),V=2);P&&P({context:null==z?void 0:z.context,operation:V,record:L})})}detach(){}}class d{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(m,C,M,O,P){m.forEachOperation((L,Q,$)=>{let z,V;null==L.previousIndex?(z=this._insertView(()=>M(L,Q,$),$,C,O(L)),V=z?1:0):null==$?(this._detachAndCacheView(Q,C),V=3):(z=this._moveView(Q,$,C,O(L)),V=2),P&&P({context:null==z?void 0:z.context,operation:V,record:L})})}detach(){for(const m of this._viewCache)m.destroy();this._viewCache=[]}_insertView(m,C,M,O){const P=this._insertViewFromCache(C,M);if(P)return void(P.context.$implicit=O);const L=m();return M.createEmbeddedView(L.templateRef,L.context,L.index)}_detachAndCacheView(m,C){const M=C.detach(m);this._maybeCacheView(M,C)}_moveView(m,C,M,O){const P=M.get(m);return M.move(P,C),P.context.$implicit=O,P}_maybeCacheView(m,C){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(m);else{const M=C.indexOf(m);-1===M?m.destroy():C.remove(M)}}_insertViewFromCache(m,C){const M=this._viewCache.pop();return M&&C.insert(M,m),M||null}}class p{constructor(m=!1,C,M=!0,O){this._multiple=m,this._emitChanges=M,this.compareWith=O,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,C&&C.length&&(m?C.forEach(P=>this._markSelected(P)):this._markSelected(C[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...m){this._verifyValueAssignment(m),m.forEach(M=>this._markSelected(M));const C=this._hasQueuedChanges();return this._emitChangeEvent(),C}deselect(...m){this._verifyValueAssignment(m),m.forEach(M=>this._unmarkSelected(M));const C=this._hasQueuedChanges();return this._emitChangeEvent(),C}setSelection(...m){this._verifyValueAssignment(m);const C=this.selected,M=new Set(m);m.forEach(P=>this._markSelected(P)),C.filter(P=>!M.has(P)).forEach(P=>this._unmarkSelected(P));const O=this._hasQueuedChanges();return this._emitChangeEvent(),O}toggle(m){return this.isSelected(m)?this.deselect(m):this.select(m)}clear(m=!0){this._unmarkAll();const C=this._hasQueuedChanges();return m&&this._emitChangeEvent(),C}isSelected(m){if(this.compareWith){for(const C of this._selection)if(this.compareWith(C,m))return!0;return!1}return this._selection.has(m)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(m){this._multiple&&this.selected&&this._selected.sort(m)}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(m){this.isSelected(m)||(this._multiple||this._unmarkAll(),this.isSelected(m)||this._selection.add(m),this._emitChanges&&this._selectedToEmit.push(m))}_unmarkSelected(m){this.isSelected(m)&&(this._selection.delete(m),this._emitChanges&&this._deselectedToEmit.push(m))}_unmarkAll(){this.isEmpty()||this._selection.forEach(m=>this._unmarkSelected(m))}_verifyValueAssignment(m){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}const b=new h.InjectionToken("_ViewRepeater")},1159:(H,o,a)=>{"use strict";a.d(o,{A:()=>K,JH:()=>$,JU:()=>c,K5:()=>r,LH:()=>L,L_:()=>v,MW:()=>ye,Mf:()=>y,SV:()=>Q,Sd:()=>O,Vb:()=>kn,Z:()=>U,ZH:()=>h,aO:()=>te,b2:()=>On,hY:()=>b,jx:()=>d,oh:()=>P,uR:()=>M,xE:()=>me,yY:()=>re,zL:()=>p});const h=8,y=9,r=13,c=16,d=17,p=18,b=27,v=32,M=35,O=36,P=37,L=38,Q=39,$=40,re=46,me=48,te=57,K=65,U=90,ye=91,On=224;function kn(En,...Nn){return Nn.length?Nn.some(Ti=>En[Ti]):En.altKey||En.shiftKey||En.ctrlKey||En.metaKey}},5113:(H,o,a)=>{"use strict";a.r(o),a.d(o,{BreakpointObserver:()=>$,Breakpoints:()=>V,LayoutModule:()=>C,MediaMatcher:()=>P});var n=a(5e3),h=a(3191),y=a(7579),u=a(9841),r=a(7272),c=a(8306),d=a(5698),p=a(5684),_=a(8372),f=a(4004),b=a(8675),v=a(2722),m=a(925);let C=(()=>{class X{}return X.\u0275fac=function(me){return new(me||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})();const M=new Set;let O,P=(()=>{class X{constructor(me){this._platform=me,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Q}matchMedia(me){return(this._platform.WEBKIT||this._platform.BLINK)&&function L(X){if(!M.has(X))try{O||(O=document.createElement("style"),O.setAttribute("type","text/css"),document.head.appendChild(O)),O.sheet&&(O.sheet.insertRule(`@media ${X} {body{ }}`,0),M.add(X))}catch(re){console.error(re)}}(me),this._matchMedia(me)}}return X.\u0275fac=function(me){return new(me||X)(n.\u0275\u0275inject(m.t4))},X.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();function Q(X){return{matches:"all"===X||""===X,media:X,addListener:()=>{},removeListener:()=>{}}}let $=(()=>{class X{constructor(me,Re){this._mediaMatcher=me,this._zone=Re,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(me){return z((0,h.Eq)(me)).some(it=>this._registerQuery(it).mql.matches)}observe(me){const it=z((0,h.Eq)(me)).map(xe=>this._registerQuery(xe).observable);let Ce=(0,u.a)(it);return Ce=(0,r.z)(Ce.pipe((0,d.q)(1)),Ce.pipe((0,p.T)(1),(0,_.b)(0))),Ce.pipe((0,f.U)(xe=>{const oe={matches:!1,breakpoints:{}};return xe.forEach(({matches:Ie,query:ze})=>{oe.matches=oe.matches||Ie,oe.breakpoints[ze]=Ie}),oe}))}_registerQuery(me){if(this._queries.has(me))return this._queries.get(me);const Re=this._mediaMatcher.matchMedia(me),Ce={observable:new c.y(xe=>{const oe=Ie=>this._zone.run(()=>xe.next(Ie));return Re.addListener(oe),()=>{Re.removeListener(oe)}}).pipe((0,b.O)(Re),(0,f.U)(({matches:xe})=>({query:me,matches:xe})),(0,v.R)(this._destroySubject)),mql:Re};return this._queries.set(me,Ce),Ce}}return X.\u0275fac=function(me){return new(me||X)(n.\u0275\u0275inject(P),n.\u0275\u0275inject(n.NgZone))},X.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();function z(X){return X.map(re=>re.split(",")).reduce((re,me)=>re.concat(me)).map(re=>re.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:(H,o,a)=>{"use strict";a.d(o,{Q8:()=>_,wD:()=>p});var n=a(3191),h=a(5e3),y=a(8306),u=a(7579),r=a(8372);let c=(()=>{class f{create(v){return"undefined"==typeof MutationObserver?null:new MutationObserver(v)}}return f.\u0275fac=function(v){return new(v||f)},f.\u0275prov=h.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),d=(()=>{class f{constructor(v){this._mutationObserverFactory=v,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((v,m)=>this._cleanupObserver(m))}observe(v){const m=(0,n.fI)(v);return new y.y(C=>{const O=this._observeElement(m).subscribe(C);return()=>{O.unsubscribe(),this._unobserveElement(m)}})}_observeElement(v){if(this._observedElements.has(v))this._observedElements.get(v).count++;else{const m=new u.x,C=this._mutationObserverFactory.create(M=>m.next(M));C&&C.observe(v,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(v,{observer:C,stream:m,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:m,stream:C}=this._observedElements.get(v);m&&m.disconnect(),C.complete(),this._observedElements.delete(v)}}}return f.\u0275fac=function(v){return new(v||f)(h.\u0275\u0275inject(c))},f.\u0275prov=h.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),p=(()=>{class f{constructor(v,m,C){this._contentObserver=v,this._elementRef=m,this._ngZone=C,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 f.\u0275fac=function(v){return new(v||f)(h.\u0275\u0275directiveInject(d),h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone))},f.\u0275dir=h.\u0275\u0275defineDirective({type:f,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),f})(),_=(()=>{class f{}return f.\u0275fac=function(v){return new(v||f)},f.\u0275mod=h.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=h.\u0275\u0275defineInjector({providers:[c]}),f})()},1314:(H,o,a)=>{"use strict";a.d(o,{Iu:()=>Ce,U8:()=>We,X_:()=>V,Xj:()=>xe,aV:()=>ft});var n=a(495),h=a(9808),y=a(5e3),u=a(3191),r=a(925),c=a(226),d=a(7429),p=a(7579),_=a(727),f=a(6451),b=a(5698),v=a(2722);const m=(0,r.Mq)();class C{constructor(Y,we){this._viewportRuler=Y,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=we}attach(){}enable(){if(this._canBeEnabled()){const Y=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Y.style.left||"",this._previousHTMLStyles.top=Y.style.top||"",Y.style.left=(0,u.HM)(-this._previousScrollPosition.left),Y.style.top=(0,u.HM)(-this._previousScrollPosition.top),Y.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Y=this._document.documentElement,He=Y.style,Ve=this._document.body.style,Ue=He.scrollBehavior||"",be=Ve.scrollBehavior||"";this._isEnabled=!1,He.left=this._previousHTMLStyles.left,He.top=this._previousHTMLStyles.top,Y.classList.remove("cdk-global-scrollblock"),m&&(He.scrollBehavior=Ve.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),m&&(He.scrollBehavior=Ue,Ve.scrollBehavior=be)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const we=this._document.body,He=this._viewportRuler.getViewportSize();return we.scrollHeight>He.height||we.scrollWidth>He.width}}class O{constructor(Y,we,He,Ve){this._scrollDispatcher=Y,this._ngZone=we,this._viewportRuler=He,this._config=Ve,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Y){this._overlayRef=Y}enable(){if(this._scrollSubscription)return;const Y=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Y.subscribe(()=>{const we=this._viewportRuler.getViewportScrollPosition().top;Math.abs(we-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Y.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class P{enable(){}disable(){}attach(){}}function L(Ke,Y){return Y.some(we=>Ke.bottom<we.top||Ke.top>we.bottom||Ke.right<we.left||Ke.left>we.right)}function Q(Ke,Y){return Y.some(we=>Ke.top<we.top||Ke.bottom>we.bottom||Ke.left<we.left||Ke.right>we.right)}class ${constructor(Y,we,He,Ve){this._scrollDispatcher=Y,this._viewportRuler=we,this._ngZone=He,this._config=Ve,this._scrollSubscription=null}attach(Y){this._overlayRef=Y}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 we=this._overlayRef.overlayElement.getBoundingClientRect(),{width:He,height:Ve}=this._viewportRuler.getViewportSize();L(we,[{width:He,height:Ve,bottom:Ve,right:He,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 z=(()=>{class Ke{constructor(we,He,Ve,Ue){this._scrollDispatcher=we,this._viewportRuler=He,this._ngZone=Ve,this.noop=()=>new P,this.close=be=>new O(this._scrollDispatcher,this._ngZone,this._viewportRuler,be),this.block=()=>new C(this._viewportRuler,this._document),this.reposition=be=>new $(this._scrollDispatcher,this._viewportRuler,this._ngZone,be),this._document=Ue}}return Ke.\u0275fac=function(we){return new(we||Ke)(y.\u0275\u0275inject(n.mF),y.\u0275\u0275inject(n.rL),y.\u0275\u0275inject(y.NgZone),y.\u0275\u0275inject(h.DOCUMENT))},Ke.\u0275prov=y.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();class V{constructor(Y){if(this.scrollStrategy=new P,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Y){const we=Object.keys(Y);for(const He of we)void 0!==Y[He]&&(this[He]=Y[He])}}}class me{constructor(Y,we){this.connectionPair=Y,this.scrollableViewProperties=we}}class Ce{constructor(Y,we,He,Ve,Ue,be,$e,dt,Pe,U=!1){this._portalOutlet=Y,this._host=we,this._pane=He,this._config=Ve,this._ngZone=Ue,this._keyboardDispatcher=be,this._document=$e,this._location=dt,this._outsideClickDispatcher=Pe,this._animationsDisabled=U,this._backdropElement=null,this._backdropClick=new p.x,this._attachments=new p.x,this._detachments=new p.x,this._locationChanges=_.w0.EMPTY,this._backdropClickHandler=ye=>this._backdropClick.next(ye),this._backdropTransitionendHandler=ye=>{this._disposeBackdrop(ye.target)},this._keydownEvents=new p.x,this._outsidePointerEvents=new p.x,Ve.scrollStrategy&&(this._scrollStrategy=Ve.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ve.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Y){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const we=this._portalOutlet.attach(Y);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof(null==we?void 0:we.onDestroy)&&we.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),we}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Y=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Y}dispose(){var Y;const we=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(Y=this._host)||void 0===Y||Y.remove(),this._previousHostParent=this._pane=this._host=null,we&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Y){Y!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Y,this.hasAttached()&&(Y.attach(this),this.updatePosition()))}updateSize(Y){this._config=Object.assign(Object.assign({},this._config),Y),this._updateElementSize()}setDirection(Y){this._config=Object.assign(Object.assign({},this._config),{direction:Y}),this._updateElementDirection()}addPanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!0)}removePanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!1)}getDirection(){const Y=this._config.direction;return Y?"string"==typeof Y?Y:Y.value:"ltr"}updateScrollStrategy(Y){Y!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Y,this.hasAttached()&&(Y.attach(this),Y.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Y=this._pane.style;Y.width=(0,u.HM)(this._config.width),Y.height=(0,u.HM)(this._config.height),Y.minWidth=(0,u.HM)(this._config.minWidth),Y.minHeight=(0,u.HM)(this._config.minHeight),Y.maxWidth=(0,u.HM)(this._config.maxWidth),Y.maxHeight=(0,u.HM)(this._config.maxHeight)}_togglePointerEvents(Y){this._pane.style.pointerEvents=Y?"":"none"}_attachBackdrop(){const Y="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),this._animationsDisabled||"undefined"==typeof requestAnimationFrame?this._backdropElement.classList.add(Y):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Y)})})}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Y=this._backdropElement;if(Y){if(this._animationsDisabled)return void this._disposeBackdrop(Y);Y.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Y.addEventListener("transitionend",this._backdropTransitionendHandler)}),Y.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Y)},500))}}_toggleClasses(Y,we,He){const Ve=(0,u.Eq)(we||[]).filter(Ue=>!!Ue);Ve.length&&(He?Y.classList.add(...Ve):Y.classList.remove(...Ve))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Y=this._ngZone.onStable.pipe((0,v.R)((0,f.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()),Y.unsubscribe())})})}_disposeScrollStrategy(){const Y=this._scrollStrategy;Y&&(Y.disable(),Y.detach&&Y.detach())}_disposeBackdrop(Y){Y&&(Y.removeEventListener("click",this._backdropClickHandler),Y.removeEventListener("transitionend",this._backdropTransitionendHandler),Y.remove(),this._backdropElement===Y&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let xe=(()=>{class Ke{constructor(we,He){this._platform=He,this._document=we}ngOnDestroy(){var we;null===(we=this._containerElement)||void 0===we||we.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const we="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Ve=this._document.querySelectorAll(`.${we}[platform="server"], .${we}[platform="test"]`);for(let Ue=0;Ue<Ve.length;Ue++)Ve[Ue].remove()}const He=this._document.createElement("div");He.classList.add(we),(0,r.Oy)()?He.setAttribute("platform","test"):this._platform.isBrowser||He.setAttribute("platform","server"),this._document.body.appendChild(He),this._containerElement=He}}return Ke.\u0275fac=function(we){return new(we||Ke)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(r.t4))},Ke.\u0275prov=y.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const oe="cdk-overlay-connected-position-bounding-box",Ie=/([A-Za-z%]+)$/;class ze{constructor(Y,we,He,Ve,Ue){this._viewportRuler=we,this._document=He,this._platform=Ve,this._overlayContainer=Ue,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=_.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Y)}get positions(){return this._preferredPositions}attach(Y){this._validatePositions(),Y.hostElement.classList.add(oe),this._overlayRef=Y,this._boundingBox=Y.hostElement,this._pane=Y.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 Y=this._originRect,we=this._overlayRect,He=this._viewportRect,Ve=this._containerRect,Ue=[];let be;for(let $e of this._preferredPositions){let dt=this._getOriginPoint(Y,Ve,$e),Pe=this._getOverlayPoint(dt,we,$e),U=this._getOverlayFit(Pe,we,He,$e);if(U.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition($e,dt);this._canFitWithFlexibleDimensions(U,Pe,He)?Ue.push({position:$e,origin:dt,overlayRect:we,boundingBoxRect:this._calculateBoundingBoxRect(dt,$e)}):(!be||be.overlayFit.visibleArea<U.visibleArea)&&(be={overlayFit:U,overlayPoint:Pe,originPoint:dt,position:$e,overlayRect:we})}if(Ue.length){let $e=null,dt=-1;for(const Pe of Ue){const U=Pe.boundingBoxRect.width*Pe.boundingBoxRect.height*(Pe.position.weight||1);U>dt&&(dt=U,$e=Pe)}return this._isPushed=!1,void this._applyPosition($e.position,$e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(be.position,be.originPoint);this._applyPosition(be.position,be.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&qe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(oe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Y=this._lastPosition;if(Y){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const we=this._getOriginPoint(this._originRect,this._containerRect,Y);this._applyPosition(Y,we)}else this.apply()}withScrollableContainers(Y){return this._scrollables=Y,this}withPositions(Y){return this._preferredPositions=Y,-1===Y.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Y){return this._viewportMargin=Y,this}withFlexibleDimensions(Y=!0){return this._hasFlexibleDimensions=Y,this}withGrowAfterOpen(Y=!0){return this._growAfterOpen=Y,this}withPush(Y=!0){return this._canPush=Y,this}withLockedPosition(Y=!0){return this._positionLocked=Y,this}setOrigin(Y){return this._origin=Y,this}withDefaultOffsetX(Y){return this._offsetX=Y,this}withDefaultOffsetY(Y){return this._offsetY=Y,this}withTransformOriginOn(Y){return this._transformOriginSelector=Y,this}_getOriginPoint(Y,we,He){let Ve,Ue;if("center"==He.originX)Ve=Y.left+Y.width/2;else{const be=this._isRtl()?Y.right:Y.left,$e=this._isRtl()?Y.left:Y.right;Ve="start"==He.originX?be:$e}return we.left<0&&(Ve-=we.left),Ue="center"==He.originY?Y.top+Y.height/2:"top"==He.originY?Y.top:Y.bottom,we.top<0&&(Ue-=we.top),{x:Ve,y:Ue}}_getOverlayPoint(Y,we,He){let Ve,Ue;return Ve="center"==He.overlayX?-we.width/2:"start"===He.overlayX?this._isRtl()?-we.width:0:this._isRtl()?0:-we.width,Ue="center"==He.overlayY?-we.height/2:"top"==He.overlayY?0:-we.height,{x:Y.x+Ve,y:Y.y+Ue}}_getOverlayFit(Y,we,He,Ve){const Ue=fe(we);let{x:be,y:$e}=Y,dt=this._getOffset(Ve,"x"),Pe=this._getOffset(Ve,"y");dt&&(be+=dt),Pe&&($e+=Pe);let de=0-$e,ke=$e+Ue.height-He.height,tt=this._subtractOverflows(Ue.width,0-be,be+Ue.width-He.width),vt=this._subtractOverflows(Ue.height,de,ke),Ft=tt*vt;return{visibleArea:Ft,isCompletelyWithinViewport:Ue.width*Ue.height===Ft,fitsInViewportVertically:vt===Ue.height,fitsInViewportHorizontally:tt==Ue.width}}_canFitWithFlexibleDimensions(Y,we,He){if(this._hasFlexibleDimensions){const Ve=He.bottom-we.y,Ue=He.right-we.x,be=te(this._overlayRef.getConfig().minHeight),$e=te(this._overlayRef.getConfig().minWidth),Pe=Y.fitsInViewportHorizontally||null!=$e&&$e<=Ue;return(Y.fitsInViewportVertically||null!=be&&be<=Ve)&&Pe}return!1}_pushOverlayOnScreen(Y,we,He){if(this._previousPushAmount&&this._positionLocked)return{x:Y.x+this._previousPushAmount.x,y:Y.y+this._previousPushAmount.y};const Ve=fe(we),Ue=this._viewportRect,be=Math.max(Y.x+Ve.width-Ue.width,0),$e=Math.max(Y.y+Ve.height-Ue.height,0),dt=Math.max(Ue.top-He.top-Y.y,0),Pe=Math.max(Ue.left-He.left-Y.x,0);let U=0,ye=0;return U=Ve.width<=Ue.width?Pe||-be:Y.x<this._viewportMargin?Ue.left-He.left-Y.x:0,ye=Ve.height<=Ue.height?dt||-$e:Y.y<this._viewportMargin?Ue.top-He.top-Y.y:0,this._previousPushAmount={x:U,y:ye},{x:Y.x+U,y:Y.y+ye}}_applyPosition(Y,we){if(this._setTransformOrigin(Y),this._setOverlayElementStyles(we,Y),this._setBoundingBoxStyles(we,Y),Y.panelClass&&this._addPanelClasses(Y.panelClass),this._lastPosition=Y,this._positionChanges.observers.length){const He=this._getScrollVisibility(),Ve=new me(Y,He);this._positionChanges.next(Ve)}this._isInitialRender=!1}_setTransformOrigin(Y){if(!this._transformOriginSelector)return;const we=this._boundingBox.querySelectorAll(this._transformOriginSelector);let He,Ve=Y.overlayY;He="center"===Y.overlayX?"center":this._isRtl()?"start"===Y.overlayX?"right":"left":"start"===Y.overlayX?"left":"right";for(let Ue=0;Ue<we.length;Ue++)we[Ue].style.transformOrigin=`${He} ${Ve}`}_calculateBoundingBoxRect(Y,we){const He=this._viewportRect,Ve=this._isRtl();let Ue,be,$e,U,ye,de;if("top"===we.overlayY)be=Y.y,Ue=He.height-be+this._viewportMargin;else if("bottom"===we.overlayY)$e=He.height-Y.y+2*this._viewportMargin,Ue=He.height-$e+this._viewportMargin;else{const ke=Math.min(He.bottom-Y.y+He.top,Y.y),tt=this._lastBoundingBoxSize.height;Ue=2*ke,be=Y.y-ke,Ue>tt&&!this._isInitialRender&&!this._growAfterOpen&&(be=Y.y-tt/2)}if("end"===we.overlayX&&!Ve||"start"===we.overlayX&&Ve)de=He.width-Y.x+this._viewportMargin,U=Y.x-this._viewportMargin;else if("start"===we.overlayX&&!Ve||"end"===we.overlayX&&Ve)ye=Y.x,U=He.right-Y.x;else{const ke=Math.min(He.right-Y.x+He.left,Y.x),tt=this._lastBoundingBoxSize.width;U=2*ke,ye=Y.x-ke,U>tt&&!this._isInitialRender&&!this._growAfterOpen&&(ye=Y.x-tt/2)}return{top:be,left:ye,bottom:$e,right:de,width:U,height:Ue}}_setBoundingBoxStyles(Y,we){const He=this._calculateBoundingBoxRect(Y,we);!this._isInitialRender&&!this._growAfterOpen&&(He.height=Math.min(He.height,this._lastBoundingBoxSize.height),He.width=Math.min(He.width,this._lastBoundingBoxSize.width));const Ve={};if(this._hasExactPosition())Ve.top=Ve.left="0",Ve.bottom=Ve.right=Ve.maxHeight=Ve.maxWidth="",Ve.width=Ve.height="100%";else{const Ue=this._overlayRef.getConfig().maxHeight,be=this._overlayRef.getConfig().maxWidth;Ve.height=(0,u.HM)(He.height),Ve.top=(0,u.HM)(He.top),Ve.bottom=(0,u.HM)(He.bottom),Ve.width=(0,u.HM)(He.width),Ve.left=(0,u.HM)(He.left),Ve.right=(0,u.HM)(He.right),Ve.alignItems="center"===we.overlayX?"center":"end"===we.overlayX?"flex-end":"flex-start",Ve.justifyContent="center"===we.overlayY?"center":"bottom"===we.overlayY?"flex-end":"flex-start",Ue&&(Ve.maxHeight=(0,u.HM)(Ue)),be&&(Ve.maxWidth=(0,u.HM)(be))}this._lastBoundingBoxSize=He,qe(this._boundingBox.style,Ve)}_resetBoundingBoxStyles(){qe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){qe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Y,we){const He={},Ve=this._hasExactPosition(),Ue=this._hasFlexibleDimensions,be=this._overlayRef.getConfig();if(Ve){const U=this._viewportRuler.getViewportScrollPosition();qe(He,this._getExactOverlayY(we,Y,U)),qe(He,this._getExactOverlayX(we,Y,U))}else He.position="static";let $e="",dt=this._getOffset(we,"x"),Pe=this._getOffset(we,"y");dt&&($e+=`translateX(${dt}px) `),Pe&&($e+=`translateY(${Pe}px)`),He.transform=$e.trim(),be.maxHeight&&(Ve?He.maxHeight=(0,u.HM)(be.maxHeight):Ue&&(He.maxHeight="")),be.maxWidth&&(Ve?He.maxWidth=(0,u.HM)(be.maxWidth):Ue&&(He.maxWidth="")),qe(this._pane.style,He)}_getExactOverlayY(Y,we,He){let Ve={top:"",bottom:""},Ue=this._getOverlayPoint(we,this._overlayRect,Y);return this._isPushed&&(Ue=this._pushOverlayOnScreen(Ue,this._overlayRect,He)),"bottom"===Y.overlayY?Ve.bottom=this._document.documentElement.clientHeight-(Ue.y+this._overlayRect.height)+"px":Ve.top=(0,u.HM)(Ue.y),Ve}_getExactOverlayX(Y,we,He){let be,Ve={left:"",right:""},Ue=this._getOverlayPoint(we,this._overlayRect,Y);return this._isPushed&&(Ue=this._pushOverlayOnScreen(Ue,this._overlayRect,He)),be=this._isRtl()?"end"===Y.overlayX?"left":"right":"end"===Y.overlayX?"right":"left","right"===be?Ve.right=this._document.documentElement.clientWidth-(Ue.x+this._overlayRect.width)+"px":Ve.left=(0,u.HM)(Ue.x),Ve}_getScrollVisibility(){const Y=this._getOriginRect(),we=this._pane.getBoundingClientRect(),He=this._scrollables.map(Ve=>Ve.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Q(Y,He),isOriginOutsideView:L(Y,He),isOverlayClipped:Q(we,He),isOverlayOutsideView:L(we,He)}}_subtractOverflows(Y,...we){return we.reduce((He,Ve)=>He-Math.max(Ve,0),Y)}_getNarrowedViewportRect(){const Y=this._document.documentElement.clientWidth,we=this._document.documentElement.clientHeight,He=this._viewportRuler.getViewportScrollPosition();return{top:He.top+this._viewportMargin,left:He.left+this._viewportMargin,right:He.left+Y-this._viewportMargin,bottom:He.top+we-this._viewportMargin,width:Y-2*this._viewportMargin,height:we-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Y,we){return"x"===we?null==Y.offsetX?this._offsetX:Y.offsetX:null==Y.offsetY?this._offsetY:Y.offsetY}_validatePositions(){}_addPanelClasses(Y){this._pane&&(0,u.Eq)(Y).forEach(we=>{""!==we&&-1===this._appliedPanelClasses.indexOf(we)&&(this._appliedPanelClasses.push(we),this._pane.classList.add(we))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Y=>{this._pane.classList.remove(Y)}),this._appliedPanelClasses=[])}_getOriginRect(){const Y=this._origin;if(Y instanceof y.ElementRef)return Y.nativeElement.getBoundingClientRect();if(Y instanceof Element)return Y.getBoundingClientRect();const we=Y.width||0,He=Y.height||0;return{top:Y.y,bottom:Y.y+He,left:Y.x,right:Y.x+we,height:He,width:we}}}function qe(Ke,Y){for(let we in Y)Y.hasOwnProperty(we)&&(Ke[we]=Y[we]);return Ke}function te(Ke){if("number"!=typeof Ke&&null!=Ke){const[Y,we]=Ke.split(Ie);return we&&"px"!==we?null:parseFloat(Y)}return Ke||null}function fe(Ke){return{top:Math.floor(Ke.top),right:Math.floor(Ke.right),bottom:Math.floor(Ke.bottom),left:Math.floor(Ke.left),width:Math.floor(Ke.width),height:Math.floor(Ke.height)}}const G="cdk-global-overlay-wrapper";class K{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Y){const we=Y.getConfig();this._overlayRef=Y,this._width&&!we.width&&Y.updateSize({width:this._width}),this._height&&!we.height&&Y.updateSize({height:this._height}),Y.hostElement.classList.add(G),this._isDisposed=!1}top(Y=""){return this._bottomOffset="",this._topOffset=Y,this._alignItems="flex-start",this}left(Y=""){return this._xOffset=Y,this._xPosition="left",this}bottom(Y=""){return this._topOffset="",this._bottomOffset=Y,this._alignItems="flex-end",this}right(Y=""){return this._xOffset=Y,this._xPosition="right",this}start(Y=""){return this._xOffset=Y,this._xPosition="start",this}end(Y=""){return this._xOffset=Y,this._xPosition="end",this}width(Y=""){return this._overlayRef?this._overlayRef.updateSize({width:Y}):this._width=Y,this}height(Y=""){return this._overlayRef?this._overlayRef.updateSize({height:Y}):this._height=Y,this}centerHorizontally(Y=""){return this.left(Y),this._xPosition="center",this}centerVertically(Y=""){return this.top(Y),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Y=this._overlayRef.overlayElement.style,we=this._overlayRef.hostElement.style,He=this._overlayRef.getConfig(),{width:Ve,height:Ue,maxWidth:be,maxHeight:$e}=He,dt=!("100%"!==Ve&&"100vw"!==Ve||be&&"100%"!==be&&"100vw"!==be),Pe=!("100%"!==Ue&&"100vh"!==Ue||$e&&"100%"!==$e&&"100vh"!==$e),U=this._xPosition,ye=this._xOffset,de="rtl"===this._overlayRef.getConfig().direction;let ke="",tt="",vt="";dt?vt="flex-start":"center"===U?(vt="center",de?tt=ye:ke=ye):de?"left"===U||"end"===U?(vt="flex-end",ke=ye):("right"===U||"start"===U)&&(vt="flex-start",tt=ye):"left"===U||"start"===U?(vt="flex-start",ke=ye):("right"===U||"end"===U)&&(vt="flex-end",tt=ye),Y.position=this._cssPosition,Y.marginLeft=dt?"0":ke,Y.marginTop=Pe?"0":this._topOffset,Y.marginBottom=this._bottomOffset,Y.marginRight=dt?"0":tt,we.justifyContent=vt,we.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Y=this._overlayRef.overlayElement.style,we=this._overlayRef.hostElement,He=we.style;we.classList.remove(G),He.justifyContent=He.alignItems=Y.marginTop=Y.marginBottom=Y.marginLeft=Y.marginRight=Y.position="",this._overlayRef=null,this._isDisposed=!0}}let ne=(()=>{class Ke{constructor(we,He,Ve,Ue){this._viewportRuler=we,this._document=He,this._platform=Ve,this._overlayContainer=Ue}global(){return new K}flexibleConnectedTo(we){return new ze(we,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ke.\u0275fac=function(we){return new(we||Ke)(y.\u0275\u0275inject(n.rL),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(r.t4),y.\u0275\u0275inject(xe))},Ke.\u0275prov=y.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),ve=(()=>{class Ke{constructor(we){this._attachedOverlays=[],this._document=we}ngOnDestroy(){this.detach()}add(we){this.remove(we),this._attachedOverlays.push(we)}remove(we){const He=this._attachedOverlays.indexOf(we);He>-1&&this._attachedOverlays.splice(He,1),0===this._attachedOverlays.length&&this.detach()}}return Ke.\u0275fac=function(we){return new(we||Ke)(y.\u0275\u0275inject(h.DOCUMENT))},Ke.\u0275prov=y.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),ge=(()=>{class Ke extends ve{constructor(we,He){super(we),this._ngZone=He,this._keydownListener=Ve=>{const Ue=this._attachedOverlays;for(let be=Ue.length-1;be>-1;be--)if(Ue[be]._keydownEvents.observers.length>0){const $e=Ue[be]._keydownEvents;this._ngZone?this._ngZone.run(()=>$e.next(Ve)):$e.next(Ve);break}}}add(we){super.add(we),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 Ke.\u0275fac=function(we){return new(we||Ke)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(y.NgZone,8))},Ke.\u0275prov=y.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),Le=(()=>{class Ke extends ve{constructor(we,He,Ve){super(we),this._platform=He,this._ngZone=Ve,this._cursorStyleIsSet=!1,this._pointerDownListener=Ue=>{this._pointerDownEventTarget=(0,r.sA)(Ue)},this._clickListener=Ue=>{const be=(0,r.sA)(Ue),$e="click"===Ue.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:be;this._pointerDownEventTarget=null;const dt=this._attachedOverlays.slice();for(let Pe=dt.length-1;Pe>-1;Pe--){const U=dt[Pe];if(U._outsidePointerEvents.observers.length<1||!U.hasAttached())continue;if(U.overlayElement.contains(be)||U.overlayElement.contains($e))break;const ye=U._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ye.next(Ue)):ye.next(Ue)}}}add(we){if(super.add(we),!this._isAttached){const He=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(He)):this._addEventListeners(He),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=He.style.cursor,He.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const we=this._document.body;we.removeEventListener("pointerdown",this._pointerDownListener,!0),we.removeEventListener("click",this._clickListener,!0),we.removeEventListener("auxclick",this._clickListener,!0),we.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(we.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(we){we.addEventListener("pointerdown",this._pointerDownListener,!0),we.addEventListener("click",this._clickListener,!0),we.addEventListener("auxclick",this._clickListener,!0),we.addEventListener("contextmenu",this._clickListener,!0)}}return Ke.\u0275fac=function(we){return new(we||Ke)(y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(r.t4),y.\u0275\u0275inject(y.NgZone,8))},Ke.\u0275prov=y.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),ct=0,ft=(()=>{class Ke{constructor(we,He,Ve,Ue,be,$e,dt,Pe,U,ye,de,ke){this.scrollStrategies=we,this._overlayContainer=He,this._componentFactoryResolver=Ve,this._positionBuilder=Ue,this._keyboardDispatcher=be,this._injector=$e,this._ngZone=dt,this._document=Pe,this._directionality=U,this._location=ye,this._outsideClickDispatcher=de,this._animationsModuleType=ke}create(we){const He=this._createHostElement(),Ve=this._createPaneElement(He),Ue=this._createPortalOutlet(Ve),be=new V(we);return be.direction=be.direction||this._directionality.value,new Ce(Ue,He,Ve,be,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(we){const He=this._document.createElement("div");return He.id="cdk-overlay-"+ct++,He.classList.add("cdk-overlay-pane"),we.appendChild(He),He}_createHostElement(){const we=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(we),we}_createPortalOutlet(we){return this._appRef||(this._appRef=this._injector.get(y.ApplicationRef)),new d.u0(we,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ke.\u0275fac=function(we){return new(we||Ke)(y.\u0275\u0275inject(z),y.\u0275\u0275inject(xe),y.\u0275\u0275inject(y.ComponentFactoryResolver),y.\u0275\u0275inject(ne),y.\u0275\u0275inject(ge),y.\u0275\u0275inject(y.Injector),y.\u0275\u0275inject(y.NgZone),y.\u0275\u0275inject(h.DOCUMENT),y.\u0275\u0275inject(c.Is),y.\u0275\u0275inject(h.Location),y.\u0275\u0275inject(Le),y.\u0275\u0275inject(y.ANIMATION_MODULE_TYPE,8))},Ke.\u0275prov=y.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac}),Ke})();const pe={provide:new y.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[ft],useFactory:function Fe(Ke){return()=>Ke.scrollStrategies.reposition()}};let We=(()=>{class Ke{}return Ke.\u0275fac=function(we){return new(we||Ke)},Ke.\u0275mod=y.\u0275\u0275defineNgModule({type:Ke}),Ke.\u0275inj=y.\u0275\u0275defineInjector({providers:[ft,pe],imports:[c.vT,d.eL,n.Cl,n.Cl]}),Ke})()},925:(H,o,a)=>{"use strict";a.d(o,{Mq:()=>C,Oy:()=>z,ht:()=>Q,i$:()=>b,kV:()=>L,sA:()=>$,t4:()=>u});var n=a(5e3),h=a(9808);let y;try{y="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(V){y=!1}let _,m,O,u=(()=>{class V{constructor(re){this._platformId=re,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(re){return new(re||V)(n.\u0275\u0275inject(n.PLATFORM_ID))},V.\u0275prov=n.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();function b(V){return function f(){if(null==_&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>_=!0}))}finally{_=_||!1}return _}()?V:!!V.capture}function C(){if(null==m){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return m=!1,m;if("scrollBehavior"in document.documentElement.style)m=!0;else{const V=Element.prototype.scrollTo;m=!!V&&!/\{\s*\[native code\]\s*\}/.test(V.toString())}}return m}function L(V){if(function P(){if(null==O){const V="undefined"!=typeof document?document.head:null;O=!(!V||!V.createShadowRoot&&!V.attachShadow)}return O}()){const X=V.getRootNode?V.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&X instanceof ShadowRoot)return X}return null}function Q(){let V="undefined"!=typeof document&&document?document.activeElement:null;for(;V&&V.shadowRoot;){const X=V.shadowRoot.activeElement;if(X===V)break;V=X}return V}function $(V){return V.composedPath?V.composedPath()[0]:V.target}function z(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(H,o,a)=>{"use strict";a.d(o,{C5:()=>f,Pl:()=>Q,UE:()=>b,eL:()=>z,en:()=>m,ig:()=>P,u0:()=>M});var n=a(5e3),h=a(9808);class _{attach(re){return this._attachedHost=re,re.attach(this)}detach(){let re=this._attachedHost;null!=re&&(this._attachedHost=null,re.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(re){this._attachedHost=re}}class f extends _{constructor(re,me,Re,it){super(),this.component=re,this.viewContainerRef=me,this.injector=Re,this.componentFactoryResolver=it}}class b extends _{constructor(re,me,Re,it){super(),this.templateRef=re,this.viewContainerRef=me,this.context=Re,this.injector=it}get origin(){return this.templateRef.elementRef}attach(re,me=this.context){return this.context=me,super.attach(re)}detach(){return this.context=void 0,super.detach()}}class v extends _{constructor(re){super(),this.element=re instanceof n.ElementRef?re.nativeElement:re}}class m{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(re){return re instanceof f?(this._attachedPortal=re,this.attachComponentPortal(re)):re instanceof b?(this._attachedPortal=re,this.attachTemplatePortal(re)):this.attachDomPortal&&re instanceof v?(this._attachedPortal=re,this.attachDomPortal(re)):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(re){this._disposeFn=re}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class M extends m{constructor(re,me,Re,it,Ce){super(),this.outletElement=re,this._componentFactoryResolver=me,this._appRef=Re,this._defaultInjector=it,this.attachDomPortal=xe=>{const oe=xe.element,Ie=this._document.createComment("dom-portal");oe.parentNode.insertBefore(Ie,oe),this.outletElement.appendChild(oe),this._attachedPortal=xe,super.setDisposeFn(()=>{Ie.parentNode&&Ie.parentNode.replaceChild(oe,Ie)})},this._document=Ce}attachComponentPortal(re){const Re=(re.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(re.component);let it;return re.viewContainerRef?(it=re.viewContainerRef.createComponent(Re,re.viewContainerRef.length,re.injector||re.viewContainerRef.injector),this.setDisposeFn(()=>it.destroy())):(it=Re.create(re.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(it.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(it.hostView),it.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(it)),this._attachedPortal=re,it}attachTemplatePortal(re){let me=re.viewContainerRef,Re=me.createEmbeddedView(re.templateRef,re.context,{injector:re.injector});return Re.rootNodes.forEach(it=>this.outletElement.appendChild(it)),Re.detectChanges(),this.setDisposeFn(()=>{let it=me.indexOf(Re);-1!==it&&me.remove(it)}),this._attachedPortal=re,Re}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(re){return re.hostView.rootNodes[0]}}let P=(()=>{class X extends b{constructor(me,Re){super(me,Re)}}return X.\u0275fac=function(me){return new(me||X)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),Q=(()=>{class X extends m{constructor(me,Re,it){super(),this._componentFactoryResolver=me,this._viewContainerRef=Re,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ce=>{const xe=Ce.element,oe=this._document.createComment("dom-portal");Ce.setAttachedHost(this),xe.parentNode.insertBefore(oe,xe),this._getRootNode().appendChild(xe),this._attachedPortal=Ce,super.setDisposeFn(()=>{oe.parentNode&&oe.parentNode.replaceChild(xe,oe)})},this._document=it}get portal(){return this._attachedPortal}set portal(me){this.hasAttached()&&!me&&!this._isInitialized||(this.hasAttached()&&super.detach(),me&&super.attach(me),this._attachedPortal=me||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(me){me.setAttachedHost(this);const Re=null!=me.viewContainerRef?me.viewContainerRef:this._viewContainerRef,Ce=(me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(me.component),xe=Re.createComponent(Ce,Re.length,me.injector||Re.injector);return Re!==this._viewContainerRef&&this._getRootNode().appendChild(xe.hostView.rootNodes[0]),super.setDisposeFn(()=>xe.destroy()),this._attachedPortal=me,this._attachedRef=xe,this.attached.emit(xe),xe}attachTemplatePortal(me){me.setAttachedHost(this);const Re=this._viewContainerRef.createEmbeddedView(me.templateRef,me.context,{injector:me.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=me,this._attachedRef=Re,this.attached.emit(Re),Re}_getRootNode(){const me=this._viewContainerRef.element.nativeElement;return me.nodeType===me.ELEMENT_NODE?me:me.parentNode}}return X.\u0275fac=function(me){return new(me||X)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(h.DOCUMENT))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(me){return new(me||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},495:(H,o,a)=>{"use strict";a.d(o,{ZD:()=>ut,mF:()=>te,Cl:()=>je,rL:()=>K});var n=a(3191),h=a(5e3),y=a(4408),u=a(727);const r={schedule(Te){let Fe=requestAnimationFrame,pe=cancelAnimationFrame;const{delegate:We}=r;We&&(Fe=We.requestAnimationFrame,pe=We.cancelAnimationFrame);const Be=Fe(Ke=>{pe=void 0,Te(Ke)});return new u.w0(()=>null==pe?void 0:pe(Be))},requestAnimationFrame(...Te){const{delegate:Fe}=r;return((null==Fe?void 0:Fe.requestAnimationFrame)||requestAnimationFrame)(...Te)},cancelAnimationFrame(...Te){const{delegate:Fe}=r;return((null==Fe?void 0:Fe.cancelAnimationFrame)||cancelAnimationFrame)(...Te)},delegate:void 0};var d=a(640);new class p extends d.v{flush(Fe){this._active=!0;const pe=this._scheduled;this._scheduled=void 0;const{actions:We}=this;let Be;Fe=Fe||We.shift();do{if(Be=Fe.execute(Fe.state,Fe.delay))break}while((Fe=We[0])&&Fe.id===pe&&We.shift());if(this._active=!1,Be){for(;(Fe=We[0])&&Fe.id===pe&&We.shift();)Fe.unsubscribe();throw Be}}}(class c extends y.o{constructor(Fe,pe){super(Fe,pe),this.scheduler=Fe,this.work=pe}requestAsyncId(Fe,pe,We=0){return null!==We&&We>0?super.requestAsyncId(Fe,pe,We):(Fe.actions.push(this),Fe._scheduled||(Fe._scheduled=r.requestAnimationFrame(()=>Fe.flush(void 0))))}recycleAsyncId(Fe,pe,We=0){var Be;if(null!=We?We>0:this.delay>0)return super.recycleAsyncId(Fe,pe,We);const{actions:Ke}=Fe;null!=pe&&(null===(Be=Ke[Ke.length-1])||void 0===Be?void 0:Be.id)!==pe&&(r.cancelAnimationFrame(pe),Fe._scheduled=void 0)}});var b=a(7579),v=a(9646),m=a(8306),C=a(4968),O=(a(3101),a(4986)),P=a(4482),L=a(8421),Q=a(5403),z=a(5963);function V(Te,Fe=O.z){return function $(Te){return(0,P.e)((Fe,pe)=>{let We=!1,Be=null,Ke=null,Y=!1;const we=()=>{if(null==Ke||Ke.unsubscribe(),Ke=null,We){We=!1;const Ve=Be;Be=null,pe.next(Ve)}Y&&pe.complete()},He=()=>{Ke=null,Y&&pe.complete()};Fe.subscribe((0,Q.x)(pe,Ve=>{We=!0,Be=Ve,Ke||(0,L.Xf)(Te(Ve)).subscribe(Ke=(0,Q.x)(pe,we,He))},()=>{Y=!0,(!We||!Ke||Ke.closed)&&pe.complete()}))})}(()=>(0,z.H)(Te,Fe))}var X=a(9300),re=a(9808),me=a(925),Re=a(226);let te=(()=>{class Te{constructor(pe,We,Be){this._ngZone=pe,this._platform=We,this._scrolled=new b.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Be}register(pe){this.scrollContainers.has(pe)||this.scrollContainers.set(pe,pe.elementScrolled().subscribe(()=>this._scrolled.next(pe)))}deregister(pe){const We=this.scrollContainers.get(pe);We&&(We.unsubscribe(),this.scrollContainers.delete(pe))}scrolled(pe=20){return this._platform.isBrowser?new m.y(We=>{this._globalSubscription||this._addGlobalListener();const Be=pe>0?this._scrolled.pipe(V(pe)).subscribe(We):this._scrolled.subscribe(We);return this._scrolledCount++,()=>{Be.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,v.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((pe,We)=>this.deregister(We)),this._scrolled.complete()}ancestorScrolled(pe,We){const Be=this.getAncestorScrollContainers(pe);return this.scrolled(We).pipe((0,X.h)(Ke=>!Ke||Be.indexOf(Ke)>-1))}getAncestorScrollContainers(pe){const We=[];return this.scrollContainers.forEach((Be,Ke)=>{this._scrollableContainsElement(Ke,pe)&&We.push(Ke)}),We}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(pe,We){let Be=(0,n.fI)(We),Ke=pe.getElementRef().nativeElement;do{if(Be==Ke)return!0}while(Be=Be.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const pe=this._getWindow();return(0,C.R)(pe.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Te.\u0275fac=function(pe){return new(pe||Te)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(me.t4),h.\u0275\u0275inject(re.DOCUMENT,8))},Te.\u0275prov=h.\u0275\u0275defineInjectable({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})(),K=(()=>{class Te{constructor(pe,We,Be){this._platform=pe,this._change=new b.x,this._changeListener=Ke=>{this._change.next(Ke)},this._document=Be,We.runOutsideAngular(()=>{if(pe.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const pe=this._getWindow();pe.removeEventListener("resize",this._changeListener),pe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const pe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),pe}getViewportRect(){const pe=this.getViewportScrollPosition(),{width:We,height:Be}=this.getViewportSize();return{top:pe.top,left:pe.left,bottom:pe.top+Be,right:pe.left+We,height:Be,width:We}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const pe=this._document,We=this._getWindow(),Be=pe.documentElement,Ke=Be.getBoundingClientRect();return{top:-Ke.top||pe.body.scrollTop||We.scrollY||Be.scrollTop||0,left:-Ke.left||pe.body.scrollLeft||We.scrollX||Be.scrollLeft||0}}change(pe=20){return pe>0?this._change.pipe(V(pe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const pe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:pe.innerWidth,height:pe.innerHeight}:{width:0,height:0}}}return Te.\u0275fac=function(pe){return new(pe||Te)(h.\u0275\u0275inject(me.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(re.DOCUMENT,8))},Te.\u0275prov=h.\u0275\u0275defineInjectable({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})(),ut=(()=>{class Te{}return Te.\u0275fac=function(pe){return new(pe||Te)},Te.\u0275mod=h.\u0275\u0275defineNgModule({type:Te}),Te.\u0275inj=h.\u0275\u0275defineInjector({}),Te})(),je=(()=>{class Te{}return Te.\u0275fac=function(pe){return new(pe||Te)},Te.\u0275mod=h.\u0275\u0275defineNgModule({type:Te}),Te.\u0275inj=h.\u0275\u0275defineInjector({imports:[Re.vT,ut,Re.vT,ut]}),Te})()},9808:(H,o,a)=>{"use strict";a.r(o),a.d(o,{APP_BASE_HREF:()=>L,AsyncPipe:()=>Di,CommonModule:()=>mr,CurrencyPipe:()=>Xi,DATE_PIPE_DEFAULT_TIMEZONE:()=>Mi,DOCUMENT:()=>d,DatePipe:()=>fr,DecimalPipe:()=>Ii,FormStyle:()=>Ce,FormatWidth:()=>oe,HashLocationStrategy:()=>$,I18nPluralPipe:()=>Ar,I18nSelectPipe:()=>Si,JsonPipe:()=>Zi,KeyValuePipe:()=>Ji,LOCATION_INITIALIZED:()=>f,Location:()=>z,LocationStrategy:()=>P,LowerCasePipe:()=>Or,NgClass:()=>yn,NgComponentOutlet:()=>dn,NgForOf:()=>cn,NgForOfContext:()=>zn,NgIf:()=>En,NgIfContext:()=>Nn,NgLocaleLocalization:()=>xt,NgLocalization:()=>ht,NgPlural:()=>Ci,NgPluralCase:()=>Gi,NgStyle:()=>Ki,NgSwitch:()=>bi,NgSwitchCase:()=>Ln,NgSwitchDefault:()=>Ni,NgTemplateOutlet:()=>cr,NumberFormatStyle:()=>Re,NumberSymbol:()=>Ie,PathLocationStrategy:()=>Q,PercentPipe:()=>hr,PlatformLocation:()=>p,Plural:()=>it,SlicePipe:()=>Vi,TitleCasePipe:()=>Qi,TranslationWidth:()=>xe,UpperCasePipe:()=>Hr,VERSION:()=>mi,ViewportScroller:()=>In,WeekDay:()=>ze,XhrFactory:()=>Qn,formatCurrency:()=>Wt,formatDate:()=>ye,formatNumber:()=>gn,formatPercent:()=>_n,getCurrencySymbol:()=>we,getLocaleCurrencyCode:()=>ut,getLocaleCurrencyName:()=>gt,getLocaleCurrencySymbol:()=>ft,getLocaleDateFormat:()=>ne,getLocaleDateTimeFormat:()=>ge,getLocaleDayNames:()=>fe,getLocaleDayPeriods:()=>te,getLocaleDirection:()=>Be,getLocaleEraNames:()=>x,getLocaleExtraDayPeriodRules:()=>pe,getLocaleExtraDayPeriods:()=>We,getLocaleFirstDayOfWeek:()=>G,getLocaleId:()=>qe,getLocaleMonthNames:()=>W,getLocaleNumberFormat:()=>ct,getLocaleNumberSymbol:()=>Le,getLocalePluralCase:()=>Te,getLocaleTimeFormat:()=>ve,getLocaleWeekEndRange:()=>K,getNumberOfCurrencyDigits:()=>Ve,isPlatformBrowser:()=>gr,isPlatformServer:()=>Pr,isPlatformWorkerApp:()=>bn,isPlatformWorkerUi:()=>vr,registerLocaleData:()=>Kt,\u0275BrowserPlatformLocation:()=>b,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>gi,\u0275PLATFORM_BROWSER_ID:()=>Wn,\u0275PLATFORM_SERVER_ID:()=>qi,\u0275PLATFORM_WORKER_APP_ID:()=>pi,\u0275PLATFORM_WORKER_UI_ID:()=>Oi,\u0275getDOM:()=>y,\u0275parseCookieValue:()=>Ut,\u0275setRootDomAdapter:()=>r});var n=a(5e3);let h=null;function y(){return h}function r(F){h||(h=F)}class c{}const d=new n.InjectionToken("DocumentToken");let p=(()=>{class F{historyGo(N){throw new Error("Not implemented")}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function _(){return(0,n.\u0275\u0275inject)(b)}()},providedIn:"platform"}),F})();const f=new n.InjectionToken("Location Initialized");let b=(()=>{class F extends p{constructor(N){super(),this._doc=N,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(N){const he=y().getGlobalEventTarget(this._doc,"window");return he.addEventListener("popstate",N,!1),()=>he.removeEventListener("popstate",N)}onHashChange(N){const he=y().getGlobalEventTarget(this._doc,"window");return he.addEventListener("hashchange",N,!1),()=>he.removeEventListener("hashchange",N)}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(N){this.location.pathname=N}pushState(N,he,Je){v()?this._history.pushState(N,he,Je):this.location.hash=Je}replaceState(N,he,Je){v()?this._history.replaceState(N,he,Je):this.location.hash=Je}forward(){this._history.forward()}back(){this._history.back()}historyGo(N=0){this._history.go(N)}getState(){return this._history.state}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275inject(d))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function m(){return new b((0,n.\u0275\u0275inject)(d))}()},providedIn:"platform"}),F})();function v(){return!!window.history.pushState}function C(F,se){if(0==F.length)return se;if(0==se.length)return F;let N=0;return F.endsWith("/")&&N++,se.startsWith("/")&&N++,2==N?F+se.substring(1):1==N?F+se:F+"/"+se}function M(F){const se=F.match(/#|\?|$/),N=se&&se.index||F.length;return F.slice(0,N-("/"===F[N-1]?1:0))+F.slice(N)}function O(F){return F&&"?"!==F[0]?"?"+F:F}let P=(()=>{class F{historyGo(N){throw new Error("Not implemented")}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return(0,n.inject)(Q)},providedIn:"root"}),F})();const L=new n.InjectionToken("appBaseHref");let Q=(()=>{class F extends P{constructor(N,he){var Je,Et,_t;super(),this._platformLocation=N,this._removeListenerFns=[],this._baseHref=null!==(_t=null!==(Je=null!=he?he:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Je?Je:null===(Et=(0,n.inject)(d).location)||void 0===Et?void 0:Et.origin)&&void 0!==_t?_t:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(N){this._removeListenerFns.push(this._platformLocation.onPopState(N),this._platformLocation.onHashChange(N))}getBaseHref(){return this._baseHref}prepareExternalUrl(N){return C(this._baseHref,N)}path(N=!1){const he=this._platformLocation.pathname+O(this._platformLocation.search),Je=this._platformLocation.hash;return Je&&N?`${he}${Je}`:he}pushState(N,he,Je,Et){const _t=this.prepareExternalUrl(Je+O(Et));this._platformLocation.pushState(N,he,_t)}replaceState(N,he,Je,Et){const _t=this.prepareExternalUrl(Je+O(Et));this._platformLocation.replaceState(N,he,_t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(N=0){var he,Je;null===(Je=(he=this._platformLocation).historyGo)||void 0===Je||Je.call(he,N)}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(L,8))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),$=(()=>{class F extends P{constructor(N,he){super(),this._platformLocation=N,this._baseHref="",this._removeListenerFns=[],null!=he&&(this._baseHref=he)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(N){this._removeListenerFns.push(this._platformLocation.onPopState(N),this._platformLocation.onHashChange(N))}getBaseHref(){return this._baseHref}path(N=!1){let he=this._platformLocation.hash;return null==he&&(he="#"),he.length>0?he.substring(1):he}prepareExternalUrl(N){const he=C(this._baseHref,N);return he.length>0?"#"+he:he}pushState(N,he,Je,Et){let _t=this.prepareExternalUrl(Je+O(Et));0==_t.length&&(_t=this._platformLocation.pathname),this._platformLocation.pushState(N,he,_t)}replaceState(N,he,Je,Et){let _t=this.prepareExternalUrl(Je+O(Et));0==_t.length&&(_t=this._platformLocation.pathname),this._platformLocation.replaceState(N,he,_t)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(N=0){var he,Je;null===(Je=(he=this._platformLocation).historyGo)||void 0===Je||Je.call(he,N)}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(L,8))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),z=(()=>{class F{constructor(N){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=N;const he=this._locationStrategy.getBaseHref();this._baseHref=M(re(he)),this._locationStrategy.onPopState(Je=>{this._subject.emit({url:this.path(!0),pop:!0,state:Je.state,type:Je.type})})}ngOnDestroy(){var N;null===(N=this._urlChangeSubscription)||void 0===N||N.unsubscribe(),this._urlChangeListeners=[]}path(N=!1){return this.normalize(this._locationStrategy.path(N))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(N,he=""){return this.path()==this.normalize(N+O(he))}normalize(N){return F.stripTrailingSlash(function X(F,se){return F&&se.startsWith(F)?se.substring(F.length):se}(this._baseHref,re(N)))}prepareExternalUrl(N){return N&&"/"!==N[0]&&(N="/"+N),this._locationStrategy.prepareExternalUrl(N)}go(N,he="",Je=null){this._locationStrategy.pushState(Je,"",N,he),this._notifyUrlChangeListeners(this.prepareExternalUrl(N+O(he)),Je)}replaceState(N,he="",Je=null){this._locationStrategy.replaceState(Je,"",N,he),this._notifyUrlChangeListeners(this.prepareExternalUrl(N+O(he)),Je)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(N=0){var he,Je;null===(Je=(he=this._locationStrategy).historyGo)||void 0===Je||Je.call(he,N)}onUrlChange(N){return this._urlChangeListeners.push(N),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(he=>{this._notifyUrlChangeListeners(he.url,he.state)})),()=>{var he;const Je=this._urlChangeListeners.indexOf(N);this._urlChangeListeners.splice(Je,1),0===this._urlChangeListeners.length&&(null===(he=this._urlChangeSubscription)||void 0===he||he.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(N="",he){this._urlChangeListeners.forEach(Je=>Je(N,he))}subscribe(N,he,Je){return this._subject.subscribe({next:N,error:he,complete:Je})}}return F.normalizeQueryParams=O,F.joinWithSlash=C,F.stripTrailingSlash=M,F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275inject(P))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return function V(){return new z((0,n.\u0275\u0275inject)(P))}()},providedIn:"root"}),F})();function re(F){return F.replace(/\/index.html$/,"")}const me={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Re=(()=>((Re=Re||{})[Re.Decimal=0]="Decimal",Re[Re.Percent=1]="Percent",Re[Re.Currency=2]="Currency",Re[Re.Scientific=3]="Scientific",Re))(),it=(()=>((it=it||{})[it.Zero=0]="Zero",it[it.One=1]="One",it[it.Two=2]="Two",it[it.Few=3]="Few",it[it.Many=4]="Many",it[it.Other=5]="Other",it))(),Ce=(()=>((Ce=Ce||{})[Ce.Format=0]="Format",Ce[Ce.Standalone=1]="Standalone",Ce))(),xe=(()=>((xe=xe||{})[xe.Narrow=0]="Narrow",xe[xe.Abbreviated=1]="Abbreviated",xe[xe.Wide=2]="Wide",xe[xe.Short=3]="Short",xe))(),oe=(()=>((oe=oe||{})[oe.Short=0]="Short",oe[oe.Medium=1]="Medium",oe[oe.Long=2]="Long",oe[oe.Full=3]="Full",oe))(),Ie=(()=>((Ie=Ie||{})[Ie.Decimal=0]="Decimal",Ie[Ie.Group=1]="Group",Ie[Ie.List=2]="List",Ie[Ie.PercentSign=3]="PercentSign",Ie[Ie.PlusSign=4]="PlusSign",Ie[Ie.MinusSign=5]="MinusSign",Ie[Ie.Exponential=6]="Exponential",Ie[Ie.SuperscriptingExponent=7]="SuperscriptingExponent",Ie[Ie.PerMille=8]="PerMille",Ie[Ie.Infinity=9]="Infinity",Ie[Ie.NaN=10]="NaN",Ie[Ie.TimeSeparator=11]="TimeSeparator",Ie[Ie.CurrencyDecimal=12]="CurrencyDecimal",Ie[Ie.CurrencyGroup=13]="CurrencyGroup",Ie))(),ze=(()=>((ze=ze||{})[ze.Sunday=0]="Sunday",ze[ze.Monday=1]="Monday",ze[ze.Tuesday=2]="Tuesday",ze[ze.Wednesday=3]="Wednesday",ze[ze.Thursday=4]="Thursday",ze[ze.Friday=5]="Friday",ze[ze.Saturday=6]="Saturday",ze))();function qe(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.LocaleId]}function te(F,se,N){const he=(0,n.\u0275findLocaleData)(F),Et=Ke([he[n.\u0275LocaleDataIndex.DayPeriodsFormat],he[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],se);return Ke(Et,N)}function fe(F,se,N){const he=(0,n.\u0275findLocaleData)(F),Et=Ke([he[n.\u0275LocaleDataIndex.DaysFormat],he[n.\u0275LocaleDataIndex.DaysStandalone]],se);return Ke(Et,N)}function W(F,se,N){const he=(0,n.\u0275findLocaleData)(F),Et=Ke([he[n.\u0275LocaleDataIndex.MonthsFormat],he[n.\u0275LocaleDataIndex.MonthsStandalone]],se);return Ke(Et,N)}function x(F,se){return Ke((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Eras],se)}function G(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function K(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.WeekendRange]}function ne(F,se){return Ke((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.DateFormat],se)}function ve(F,se){return Ke((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.TimeFormat],se)}function ge(F,se){return Ke((0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.DateTimeFormat],se)}function Le(F,se){const N=(0,n.\u0275findLocaleData)(F),he=N[n.\u0275LocaleDataIndex.NumberSymbols][se];if(void 0===he){if(se===Ie.CurrencyDecimal)return N[n.\u0275LocaleDataIndex.NumberSymbols][Ie.Decimal];if(se===Ie.CurrencyGroup)return N[n.\u0275LocaleDataIndex.NumberSymbols][Ie.Group]}return he}function ct(F,se){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.NumberFormats][se]}function ft(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function gt(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.CurrencyName]||null}function ut(F){return(0,n.\u0275getLocaleCurrencyCode)(F)}const Te=n.\u0275getLocalePluralCase;function Fe(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 pe(F){const se=(0,n.\u0275findLocaleData)(F);return Fe(se),(se[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(he=>"string"==typeof he?Y(he):[Y(he[0]),Y(he[1])])}function We(F,se,N){const he=(0,n.\u0275findLocaleData)(F);Fe(he);const Et=Ke([he[n.\u0275LocaleDataIndex.ExtraData][0],he[n.\u0275LocaleDataIndex.ExtraData][1]],se)||[];return Ke(Et,N)||[]}function Be(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Directionality]}function Ke(F,se){for(let N=se;N>-1;N--)if(void 0!==F[N])return F[N];throw new Error("Locale data API: locale data undefined")}function Y(F){const[se,N]=F.split(":");return{hours:+se,minutes:+N}}function we(F,se,N="en"){const he=function je(F){return(0,n.\u0275findLocaleData)(F)[n.\u0275LocaleDataIndex.Currencies]}(N)[F]||me[F]||[],Je=he[1];return"narrow"===se&&"string"==typeof Je?Je:he[0]||F}function Ve(F){let se;const N=me[F];return N&&(se=N[2]),"number"==typeof se?se:2}const Ue=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,be={},$e=/((?:[^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 dt=(()=>((dt=dt||{})[dt.Short=0]="Short",dt[dt.ShortGMT=1]="ShortGMT",dt[dt.Long=2]="Long",dt[dt.Extended=3]="Extended",dt))(),Pe=(()=>((Pe=Pe||{})[Pe.FullYear=0]="FullYear",Pe[Pe.Month=1]="Month",Pe[Pe.Date=2]="Date",Pe[Pe.Hours=3]="Hours",Pe[Pe.Minutes=4]="Minutes",Pe[Pe.Seconds=5]="Seconds",Pe[Pe.FractionalSeconds=6]="FractionalSeconds",Pe[Pe.Day=7]="Day",Pe))(),U=(()=>((U=U||{})[U.DayPeriods=0]="DayPeriods",U[U.Days=1]="Days",U[U.Months=2]="Months",U[U.Eras=3]="Eras",U))();function ye(F,se,N,he){let Je=function at(F){if(Ht(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[Je,Et=1,_t=1]=F.split("-").map(Bt=>+Bt);return de(Je,Et-1,_t)}const N=parseFloat(F);if(!isNaN(F-N))return new Date(N);let he;if(he=F.match(Ue))return function Dt(F){const se=new Date(0);let N=0,he=0;const Je=F[8]?se.setUTCFullYear:se.setFullYear,Et=F[8]?se.setUTCHours:se.setHours;F[9]&&(N=Number(F[9]+F[10]),he=Number(F[9]+F[11])),Je.call(se,Number(F[1]),Number(F[2])-1,Number(F[3]));const _t=Number(F[4]||0)-N,Bt=Number(F[5]||0)-he,pn=Number(F[6]||0),Cn=Math.floor(1e3*parseFloat("0."+(F[7]||0)));return Et.call(se,_t,Bt,pn,Cn),se}(he)}const se=new Date(F);if(!Ht(se))throw new Error(`Unable to convert "${F}" into a date`);return se}(F);se=ke(N,se)||se;let Bt,_t=[];for(;se;){if(Bt=$e.exec(se),!Bt){_t.push(se);break}{_t=_t.concat(Bt.slice(1));const Sn=_t.pop();if(!Sn)break;se=Sn}}let pn=Je.getTimezoneOffset();he&&(pn=bt(he,pn),Je=function Oe(F,se,N){const he=N?-1:1,Je=F.getTimezoneOffset();return function q(F,se){return(F=new Date(F.getTime())).setMinutes(F.getMinutes()+se),F}(F,he*(bt(se,Je)-Je))}(Je,he,!0));let Cn="";return _t.forEach(Sn=>{const fn=function Ge(F){if(yt[F])return yt[F];let se;switch(F){case"G":case"GG":case"GGG":se=Nt(U.Eras,xe.Abbreviated);break;case"GGGG":se=Nt(U.Eras,xe.Wide);break;case"GGGGG":se=Nt(U.Eras,xe.Narrow);break;case"y":se=At(Pe.FullYear,1,0,!1,!0);break;case"yy":se=At(Pe.FullYear,2,0,!0,!0);break;case"yyy":se=At(Pe.FullYear,3,0,!1,!0);break;case"yyyy":se=At(Pe.FullYear,4,0,!1,!0);break;case"Y":se=Me(1);break;case"YY":se=Me(2,!0);break;case"YYY":se=Me(3);break;case"YYYY":se=Me(4);break;case"M":case"L":se=At(Pe.Month,1,1);break;case"MM":case"LL":se=At(Pe.Month,2,1);break;case"MMM":se=Nt(U.Months,xe.Abbreviated);break;case"MMMM":se=Nt(U.Months,xe.Wide);break;case"MMMMM":se=Nt(U.Months,xe.Narrow);break;case"LLL":se=Nt(U.Months,xe.Abbreviated,Ce.Standalone);break;case"LLLL":se=Nt(U.Months,xe.Wide,Ce.Standalone);break;case"LLLLL":se=Nt(U.Months,xe.Narrow,Ce.Standalone);break;case"w":se=B(1);break;case"ww":se=B(2);break;case"W":se=B(1,!0);break;case"d":se=At(Pe.Date,1);break;case"dd":se=At(Pe.Date,2);break;case"c":case"cc":se=At(Pe.Day,1);break;case"ccc":se=Nt(U.Days,xe.Abbreviated,Ce.Standalone);break;case"cccc":se=Nt(U.Days,xe.Wide,Ce.Standalone);break;case"ccccc":se=Nt(U.Days,xe.Narrow,Ce.Standalone);break;case"cccccc":se=Nt(U.Days,xe.Short,Ce.Standalone);break;case"E":case"EE":case"EEE":se=Nt(U.Days,xe.Abbreviated);break;case"EEEE":se=Nt(U.Days,xe.Wide);break;case"EEEEE":se=Nt(U.Days,xe.Narrow);break;case"EEEEEE":se=Nt(U.Days,xe.Short);break;case"a":case"aa":case"aaa":se=Nt(U.DayPeriods,xe.Abbreviated);break;case"aaaa":se=Nt(U.DayPeriods,xe.Wide);break;case"aaaaa":se=Nt(U.DayPeriods,xe.Narrow);break;case"b":case"bb":case"bbb":se=Nt(U.DayPeriods,xe.Abbreviated,Ce.Standalone,!0);break;case"bbbb":se=Nt(U.DayPeriods,xe.Wide,Ce.Standalone,!0);break;case"bbbbb":se=Nt(U.DayPeriods,xe.Narrow,Ce.Standalone,!0);break;case"B":case"BB":case"BBB":se=Nt(U.DayPeriods,xe.Abbreviated,Ce.Format,!0);break;case"BBBB":se=Nt(U.DayPeriods,xe.Wide,Ce.Format,!0);break;case"BBBBB":se=Nt(U.DayPeriods,xe.Narrow,Ce.Format,!0);break;case"h":se=At(Pe.Hours,1,-12);break;case"hh":se=At(Pe.Hours,2,-12);break;case"H":se=At(Pe.Hours,1);break;case"HH":se=At(Pe.Hours,2);break;case"m":se=At(Pe.Minutes,1);break;case"mm":se=At(Pe.Minutes,2);break;case"s":se=At(Pe.Seconds,1);break;case"ss":se=At(Pe.Seconds,2);break;case"S":se=At(Pe.FractionalSeconds,1);break;case"SS":se=At(Pe.FractionalSeconds,2);break;case"SSS":se=At(Pe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":se=Ze(dt.Short);break;case"ZZZZZ":se=Ze(dt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":se=Ze(dt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":se=Ze(dt.Long);break;default:return null}return yt[F]=se,se}(Sn);Cn+=fn?fn(Je,N,pn):"''"===Sn?"'":Sn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Cn}function de(F,se,N){const he=new Date(0);return he.setFullYear(F,se,N),he.setHours(0,0,0),he}function ke(F,se){const N=qe(F);if(be[N]=be[N]||{},be[N][se])return be[N][se];let he="";switch(se){case"shortDate":he=ne(F,oe.Short);break;case"mediumDate":he=ne(F,oe.Medium);break;case"longDate":he=ne(F,oe.Long);break;case"fullDate":he=ne(F,oe.Full);break;case"shortTime":he=ve(F,oe.Short);break;case"mediumTime":he=ve(F,oe.Medium);break;case"longTime":he=ve(F,oe.Long);break;case"fullTime":he=ve(F,oe.Full);break;case"short":const Je=ke(F,"shortTime"),Et=ke(F,"shortDate");he=tt(ge(F,oe.Short),[Je,Et]);break;case"medium":const _t=ke(F,"mediumTime"),Bt=ke(F,"mediumDate");he=tt(ge(F,oe.Medium),[_t,Bt]);break;case"long":const pn=ke(F,"longTime"),Cn=ke(F,"longDate");he=tt(ge(F,oe.Long),[pn,Cn]);break;case"full":const Sn=ke(F,"fullTime"),fn=ke(F,"fullDate");he=tt(ge(F,oe.Full),[Sn,fn])}return he&&(be[N][se]=he),he}function tt(F,se){return se&&(F=F.replace(/\{([^}]+)}/g,function(N,he){return null!=se&&he in se?se[he]:N})),F}function vt(F,se,N="-",he,Je){let Et="";(F<0||Je&&F<=0)&&(Je?F=1-F:(F=-F,Et=N));let _t=String(F);for(;_t.length<se;)_t="0"+_t;return he&&(_t=_t.slice(_t.length-se)),Et+_t}function At(F,se,N=0,he=!1,Je=!1){return function(Et,_t){let Bt=function Yt(F,se){switch(F){case Pe.FullYear:return se.getFullYear();case Pe.Month:return se.getMonth();case Pe.Date:return se.getDate();case Pe.Hours:return se.getHours();case Pe.Minutes:return se.getMinutes();case Pe.Seconds:return se.getSeconds();case Pe.FractionalSeconds:return se.getMilliseconds();case Pe.Day:return se.getDay();default:throw new Error(`Unknown DateType value "${F}".`)}}(F,Et);if((N>0||Bt>-N)&&(Bt+=N),F===Pe.Hours)0===Bt&&-12===N&&(Bt=12);else if(F===Pe.FractionalSeconds)return function Ft(F,se){return vt(F,3).substring(0,se)}(Bt,se);const pn=Le(_t,Ie.MinusSign);return vt(Bt,se,pn,he,Je)}}function Nt(F,se,N=Ce.Format,he=!1){return function(Je,Et){return function rt(F,se,N,he,Je,Et){switch(N){case U.Months:return W(se,Je,he)[F.getMonth()];case U.Days:return fe(se,Je,he)[F.getDay()];case U.DayPeriods:const _t=F.getHours(),Bt=F.getMinutes();if(Et){const Cn=pe(se),Sn=We(se,Je,he),fn=Cn.findIndex($n=>{if(Array.isArray($n)){const[Dn,Rn]=$n,St=_t>=Dn.hours&&Bt>=Dn.minutes,on=_t<Rn.hours||_t===Rn.hours&&Bt<Rn.minutes;if(Dn.hours<Rn.hours){if(St&&on)return!0}else if(St||on)return!0}else if($n.hours===_t&&$n.minutes===Bt)return!0;return!1});if(-1!==fn)return Sn[fn]}return te(se,Je,he)[_t<12?0:1];case U.Eras:return x(se,he)[F.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${N}`)}}(Je,Et,F,se,N,he)}}function Ze(F){return function(se,N,he){const Je=-1*he,Et=Le(N,Ie.MinusSign),_t=Je>0?Math.floor(Je/60):Math.ceil(Je/60);switch(F){case dt.Short:return(Je>=0?"+":"")+vt(_t,2,Et)+vt(Math.abs(Je%60),2,Et);case dt.ShortGMT:return"GMT"+(Je>=0?"+":"")+vt(_t,1,Et);case dt.Long:return"GMT"+(Je>=0?"+":"")+vt(_t,2,Et)+":"+vt(Math.abs(Je%60),2,Et);case dt.Extended:return 0===he?"Z":(Je>=0?"+":"")+vt(_t,2,Et)+":"+vt(Math.abs(Je%60),2,Et);default:throw new Error(`Unknown zone width "${F}"`)}}}function le(F){return de(F.getFullYear(),F.getMonth(),F.getDate()+(4-F.getDay()))}function B(F,se=!1){return function(N,he){let Je;if(se){const Et=new Date(N.getFullYear(),N.getMonth(),1).getDay()-1,_t=N.getDate();Je=1+Math.floor((_t+Et)/7)}else{const Et=le(N),_t=function ae(F){const se=de(F,0,1).getDay();return de(F,0,1+(se<=4?4:11)-se)}(Et.getFullYear()),Bt=Et.getTime()-_t.getTime();Je=1+Math.round(Bt/6048e5)}return vt(Je,F,Le(he,Ie.MinusSign))}}function Me(F,se=!1){return function(N,he){return vt(le(N).getFullYear(),F,Le(he,Ie.MinusSign),se)}}const yt={};function bt(F,se){F=F.replace(/:/g,"");const N=Date.parse("Jan 01, 1970 00:00:00 "+F)/6e4;return isNaN(N)?se:N}function Ht(F){return F instanceof Date&&!isNaN(F.valueOf())}const rn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Lt(F,se,N,he,Je,Et,_t=!1){let Bt="",pn=!1;if(isFinite(F)){let Cn=function Qe(F){let he,Je,Et,_t,Bt,se=Math.abs(F)+"",N=0;for((Je=se.indexOf("."))>-1&&(se=se.replace(".","")),(Et=se.search(/e/i))>0?(Je<0&&(Je=Et),Je+=+se.slice(Et+1),se=se.substring(0,Et)):Je<0&&(Je=se.length),Et=0;"0"===se.charAt(Et);Et++);if(Et===(Bt=se.length))he=[0],Je=1;else{for(Bt--;"0"===se.charAt(Bt);)Bt--;for(Je-=Et,he=[],_t=0;Et<=Bt;Et++,_t++)he[_t]=Number(se.charAt(Et))}return Je>22&&(he=he.splice(0,21),N=Je-1,Je=1),{digits:he,exponent:N,integerLen:Je}}(F);_t&&(Cn=function ue(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 Sn=se.minInt,fn=se.minFrac,$n=se.maxFrac;if(Et){const ai=Et.match(rn);if(null===ai)throw new Error(`${Et} is not a valid digit info`);const xn=ai[1],tr=ai[3],Hi=ai[5];null!=xn&&(Sn=Ne(xn)),null!=tr&&(fn=Ne(tr)),null!=Hi?$n=Ne(Hi):null!=tr&&fn>$n&&($n=fn)}!function ee(F,se,N){if(se>N)throw new Error(`The minimum number of digits after fraction (${se}) is higher than the maximum (${N}).`);let he=F.digits,Je=he.length-F.integerLen;const Et=Math.min(Math.max(se,Je),N);let _t=Et+F.integerLen,Bt=he[_t];if(_t>0){he.splice(Math.max(F.integerLen,_t));for(let fn=_t;fn<he.length;fn++)he[fn]=0}else{Je=Math.max(0,Je),F.integerLen=1,he.length=Math.max(1,_t=Et+1),he[0]=0;for(let fn=1;fn<_t;fn++)he[fn]=0}if(Bt>=5)if(_t-1<0){for(let fn=0;fn>_t;fn--)he.unshift(0),F.integerLen++;he.unshift(1),F.integerLen++}else he[_t-1]++;for(;Je<Math.max(0,Et);Je++)he.push(0);let pn=0!==Et;const Cn=se+F.integerLen,Sn=he.reduceRight(function(fn,$n,Dn,Rn){return Rn[Dn]=($n+=fn)<10?$n:$n-10,pn&&(0===Rn[Dn]&&Dn>=Cn?Rn.pop():pn=!1),$n>=10?1:0},0);Sn&&(he.unshift(Sn),F.integerLen++)}(Cn,fn,$n);let Dn=Cn.digits,Rn=Cn.integerLen;const St=Cn.exponent;let on=[];for(pn=Dn.every(ai=>!ai);Rn<Sn;Rn++)Dn.unshift(0);for(;Rn<0;Rn++)Dn.unshift(0);Rn>0?on=Dn.splice(Rn,Dn.length):(on=Dn,Dn=[0]);const $i=[];for(Dn.length>=se.lgSize&&$i.unshift(Dn.splice(-se.lgSize,Dn.length).join(""));Dn.length>se.gSize;)$i.unshift(Dn.splice(-se.gSize,Dn.length).join(""));Dn.length&&$i.unshift(Dn.join("")),Bt=$i.join(Le(N,he)),on.length&&(Bt+=Le(N,Je)+on.join("")),St&&(Bt+=Le(N,Ie.Exponential)+"+"+St)}else Bt=Le(N,Ie.Infinity);return Bt=F<0&&!pn?se.negPre+Bt+se.negSuf:se.posPre+Bt+se.posSuf,Bt}function Wt(F,se,N,he,Je){const _t=Hn(ct(se,Re.Currency),Le(se,Ie.MinusSign));return _t.minFrac=Ve(he),_t.maxFrac=_t.minFrac,Lt(F,_t,se,Ie.CurrencyGroup,Ie.CurrencyDecimal,Je).replace("\xa4",N).replace("\xa4","").trim()}function _n(F,se,N){return Lt(F,Hn(ct(se,Re.Percent),Le(se,Ie.MinusSign)),se,Ie.Group,Ie.Decimal,N,!0).replace(new RegExp("%","g"),Le(se,Ie.PercentSign))}function gn(F,se,N){return Lt(F,Hn(ct(se,Re.Decimal),Le(se,Ie.MinusSign)),se,Ie.Group,Ie.Decimal,N)}function Hn(F,se="-"){const N={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},he=F.split(";"),Je=he[0],Et=he[1],_t=-1!==Je.indexOf(".")?Je.split("."):[Je.substring(0,Je.lastIndexOf("0")+1),Je.substring(Je.lastIndexOf("0")+1)],Bt=_t[0],pn=_t[1]||"";N.posPre=Bt.substring(0,Bt.indexOf("#"));for(let Sn=0;Sn<pn.length;Sn++){const fn=pn.charAt(Sn);"0"===fn?N.minFrac=N.maxFrac=Sn+1:"#"===fn?N.maxFrac=Sn+1:N.posSuf+=fn}const Cn=Bt.split(",");if(N.gSize=Cn[1]?Cn[1].length:0,N.lgSize=Cn[2]||Cn[1]?(Cn[2]||Cn[1]).length:0,Et){const Sn=Je.length-N.posPre.length-N.posSuf.length,fn=Et.indexOf("#");N.negPre=Et.substring(0,fn).replace(/'/g,""),N.negSuf=Et.slice(fn+Sn).replace(/'/g,"")}else N.negPre=se+N.posPre,N.negSuf=N.posSuf;return N}function Ne(F){const se=parseInt(F);if(isNaN(se))throw new Error("Invalid integer literal when parsing "+F);return se}let ht=(()=>{class F{}return F.\u0275fac=function(N){return new(N||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(N){let he=null;return N?he=new N:(Je=n.\u0275\u0275inject(n.LOCALE_ID),he=new xt(Je)),he;var Je},providedIn:"root"}),F})();function Tt(F,se,N,he){let Je=`=${F}`;if(se.indexOf(Je)>-1||(Je=N.getPluralCategory(F,he),se.indexOf(Je)>-1))return Je;if(se.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${F}"`)}let xt=(()=>{class F extends ht{constructor(N){super(),this.locale=N}getPluralCategory(N,he){switch(Te(he||this.locale)(N)){case it.Zero:return"zero";case it.One:return"one";case it.Two:return"two";case it.Few:return"few";case it.Many:return"many";default:return"other"}}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275inject(n.LOCALE_ID))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})();function Kt(F,se,N){return(0,n.\u0275registerLocaleData)(F,se,N)}function Ut(F,se){se=encodeURIComponent(se);for(const N of F.split(";")){const he=N.indexOf("="),[Je,Et]=-1==he?[N,""]:[N.slice(0,he),N.slice(he+1)];if(Je.trim()===se)return decodeURIComponent(Et)}return null}let yn=(()=>{class F{constructor(N,he,Je,Et){this._iterableDiffers=N,this._keyValueDiffers=he,this._ngEl=Je,this._renderer=Et,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(N){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof N?N.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(N){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof N?N.split(/\s+/):N,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 N=this._iterableDiffer.diff(this._rawClass);N&&this._applyIterableChanges(N)}else if(this._keyValueDiffer){const N=this._keyValueDiffer.diff(this._rawClass);N&&this._applyKeyValueChanges(N)}}_applyKeyValueChanges(N){N.forEachAddedItem(he=>this._toggleClass(he.key,he.currentValue)),N.forEachChangedItem(he=>this._toggleClass(he.key,he.currentValue)),N.forEachRemovedItem(he=>{he.previousValue&&this._toggleClass(he.key,!1)})}_applyIterableChanges(N){N.forEachAddedItem(he=>{if("string"!=typeof he.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(he.item)}`);this._toggleClass(he.item,!0)}),N.forEachRemovedItem(he=>this._toggleClass(he.item,!1))}_applyClasses(N){N&&(Array.isArray(N)||N instanceof Set?N.forEach(he=>this._toggleClass(he,!0)):Object.keys(N).forEach(he=>this._toggleClass(he,!!N[he])))}_removeClasses(N){N&&(Array.isArray(N)||N instanceof Set?N.forEach(he=>this._toggleClass(he,!1)):Object.keys(N).forEach(he=>this._toggleClass(he,!1)))}_toggleClass(N,he){(N=N.trim())&&N.split(/\s+/g).forEach(Je=>{he?this._renderer.addClass(this._ngEl.nativeElement,Je):this._renderer.removeClass(this._ngEl.nativeElement,Je)})}}return F.\u0275fac=function(N){return new(N||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"},standalone:!0}),F})(),dn=(()=>{class F{constructor(N){this._viewContainerRef=N,this.ngComponentOutlet=null}ngOnChanges(N){const{_viewContainerRef:he,ngComponentOutletNgModule:Je,ngComponentOutletNgModuleFactory:Et}=this;if(he.clear(),this._componentRef=void 0,this.ngComponentOutlet){const _t=this.ngComponentOutletInjector||he.parentInjector;(N.ngComponentOutletNgModule||N.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=Je?(0,n.createNgModule)(Je,ln(_t)):Et?Et.create(ln(_t)):void 0),this._componentRef=he.createComponent(this.ngComponentOutlet,{index:he.length,injector:_t,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),F})();function ln(F){return F.get(n.NgModuleRef).injector}class zn{constructor(se,N,he,Je){this.$implicit=se,this.ngForOf=N,this.index=he,this.count=Je}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 cn=(()=>{class F{constructor(N,he,Je){this._viewContainer=N,this._template=he,this._differs=Je,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(N){this._ngForOf=N,this._ngForOfDirty=!0}set ngForTrackBy(N){this._trackByFn=N}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(N){N&&(this._template=N)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const N=this._ngForOf;!this._differ&&N&&(this._differ=this._differs.find(N).create(this.ngForTrackBy))}if(this._differ){const N=this._differ.diff(this._ngForOf);N&&this._applyChanges(N)}}_applyChanges(N){const he=this._viewContainer;N.forEachOperation((Je,Et,_t)=>{if(null==Je.previousIndex)he.createEmbeddedView(this._template,new zn(Je.item,this._ngForOf,-1,-1),null===_t?void 0:_t);else if(null==_t)he.remove(null===Et?void 0:Et);else if(null!==Et){const Bt=he.get(Et);he.move(Bt,_t),On(Bt,Je)}});for(let Je=0,Et=he.length;Je<Et;Je++){const Bt=he.get(Je).context;Bt.index=Je,Bt.count=Et,Bt.ngForOf=this._ngForOf}N.forEachIdentityChange(Je=>{On(he.get(Je.currentIndex),Je)})}static ngTemplateContextGuard(N,he){return!0}}return F.\u0275fac=function(N){return new(N||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"},standalone:!0}),F})();function On(F,se){F.context.$implicit=se.item}let En=(()=>{class F{constructor(N,he){this._viewContainer=N,this._context=new Nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=he}set ngIf(N){this._context.$implicit=this._context.ngIf=N,this._updateView()}set ngIfThen(N){Ti("ngIfThen",N),this._thenTemplateRef=N,this._thenViewRef=null,this._updateView()}set ngIfElse(N){Ti("ngIfElse",N),this._elseTemplateRef=N,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(N,he){return!0}}return F.\u0275fac=function(N){return new(N||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"},standalone:!0}),F})();class Nn{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(F,se){if(se&&!se.createEmbeddedView)throw new Error(`${F} must be a TemplateRef, but received '${(0,n.\u0275stringify)(se)}'.`)}class wi{constructor(se,N){this._viewContainerRef=se,this._templateRef=N,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 bi=(()=>{class F{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(N){this._ngSwitch=N,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(N){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(N)}_matchCase(N){const he=N==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||he,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),he}_updateDefaultCases(N){if(this._defaultViews&&N!==this._defaultUsed){this._defaultUsed=N;for(let he=0;he<this._defaultViews.length;he++)this._defaultViews[he].enforceState(N)}}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),F})(),Ln=(()=>{class F{constructor(N,he,Je){this.ngSwitch=Je,Je._addCase(),this._view=new wi(N,he)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(bi,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),F})(),Ni=(()=>{class F{constructor(N,he,Je){Je._addDefault(new wi(N,he))}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(bi,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngSwitchDefault",""]],standalone:!0}),F})(),Ci=(()=>{class F{constructor(N){this._localization=N,this._caseViews={}}set ngPlural(N){this._switchValue=N,this._updateView()}addCase(N,he){this._caseViews[N]=he}_updateView(){this._clearViews();const N=Object.keys(this._caseViews),he=Tt(this._switchValue,N,this._localization);this._activateView(this._caseViews[he])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(N){N&&(this._activeView=N,this._activeView.create())}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(ht))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),F})(),Gi=(()=>{class F{constructor(N,he,Je,Et){this.value=N;const _t=!isNaN(Number(N));Et.addCase(_t?`=${N}`:N,new wi(Je,he))}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Ci,1))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngPluralCase",""]],standalone:!0}),F})(),Ki=(()=>{class F{constructor(N,he,Je){this._ngEl=N,this._differs=he,this._renderer=Je,this._ngStyle=null,this._differ=null}set ngStyle(N){this._ngStyle=N,!this._differ&&N&&(this._differ=this._differs.find(N).create())}ngDoCheck(){if(this._differ){const N=this._differ.diff(this._ngStyle);N&&this._applyChanges(N)}}_setStyle(N,he){const[Je,Et]=N.split("."),_t=-1===Je.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=he?this._renderer.setStyle(this._ngEl.nativeElement,Je,Et?`${he}${Et}`:he,_t):this._renderer.removeStyle(this._ngEl.nativeElement,Je,_t)}_applyChanges(N){N.forEachRemovedItem(he=>this._setStyle(he.key,null)),N.forEachAddedItem(he=>this._setStyle(he.key,he.currentValue)),N.forEachChangedItem(he=>this._setStyle(he.key,he.currentValue))}}return F.\u0275fac=function(N){return new(N||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"},standalone:!0}),F})(),cr=(()=>{class F{constructor(N){this._viewContainerRef=N,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(N){if(N.ngTemplateOutlet||N.ngTemplateOutletInjector){const he=this._viewContainerRef;if(this._viewRef&&he.remove(he.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Je,ngTemplateOutletContext:Et,ngTemplateOutletInjector:_t}=this;this._viewRef=he.createEmbeddedView(Je,Et,_t?{injector:_t}:void 0)}else this._viewRef=null}else this._viewRef&&N.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),F})();function Xn(F,se){return new n.\u0275RuntimeError(2100,!1)}class ur{createSubscription(se,N){return se.subscribe({next:N,error:he=>{throw he}})}dispose(se){se.unsubscribe()}}class Xr{createSubscription(se,N){return se.then(N,he=>{throw he})}dispose(se){}}const Li=new Xr,dr=new ur;let Di=(()=>{class F{constructor(N){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=N}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(N){return this._obj?N!==this._obj?(this._dispose(),this.transform(N)):this._latestValue:(N&&this._subscribe(N),this._latestValue)}_subscribe(N){this._obj=N,this._strategy=this._selectStrategy(N),this._subscription=this._strategy.createSubscription(N,he=>this._updateLatestValue(N,he))}_selectStrategy(N){if((0,n.\u0275isPromise)(N))return Li;if((0,n.\u0275isSubscribable)(N))return dr;throw Xn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(N,he){N===this._obj&&(this._latestValue=he,this._ref.markForCheck())}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:F,pure:!1,standalone:!0}),F})(),Or=(()=>{class F{transform(N){if(null==N)return null;if("string"!=typeof N)throw Xn();return N.toLowerCase()}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:F,pure:!0,standalone:!0}),F})();const Yi=/(?:[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 Qi=(()=>{class F{transform(N){if(null==N)return null;if("string"!=typeof N)throw Xn();return N.replace(Yi,he=>he[0].toUpperCase()+he.slice(1).toLowerCase())}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:F,pure:!0,standalone:!0}),F})(),Hr=(()=>{class F{transform(N){if(null==N)return null;if("string"!=typeof N)throw Xn();return N.toUpperCase()}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:F,pure:!0,standalone:!0}),F})();const Mi=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let fr=(()=>{class F{constructor(N,he){this.locale=N,this.defaultTimezone=he}transform(N,he="mediumDate",Je,Et){var _t;if(null==N||""===N||N!=N)return null;try{return ye(N,he,Et||this.locale,null!==(_t=null!=Je?Je:this.defaultTimezone)&&void 0!==_t?_t:void 0)}catch(Bt){throw Xn()}}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Mi,24))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:F,pure:!0,standalone:!0}),F})();const Ei=/#/g;let Ar=(()=>{class F{constructor(N){this._localization=N}transform(N,he,Je){if(null==N)return"";if("object"!=typeof he||null===he)throw Xn();return he[Tt(N,Object.keys(he),this._localization,Je)].replace(Ei,N.toString())}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(ht,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:F,pure:!0,standalone:!0}),F})(),Si=(()=>{class F{transform(N,he){if(null==N)return"";if("object"!=typeof he||"string"!=typeof N)throw Xn();return he.hasOwnProperty(N)?he[N]:he.hasOwnProperty("other")?he.other:""}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:F,pure:!0,standalone:!0}),F})(),Zi=(()=>{class F{transform(N){return JSON.stringify(N,null,2)}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:F,pure:!1,standalone:!0}),F})(),Ji=(()=>{class F{constructor(N){this.differs=N,this.keyValues=[],this.compareFn=ji}transform(N,he=ji){if(!N||!(N instanceof Map)&&"object"!=typeof N)return null;this.differ||(this.differ=this.differs.find(N).create());const Je=this.differ.diff(N),Et=he!==this.compareFn;return Je&&(this.keyValues=[],Je.forEachItem(_t=>{this.keyValues.push(function ni(F,se){return{key:F,value:se}}(_t.key,_t.currentValue))})),(Je||Et)&&(this.keyValues.sort(he),this.compareFn=he),this.keyValues}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:F,pure:!1,standalone:!0}),F})();function ji(F,se){const N=F.key,he=se.key;if(N===he)return 0;if(void 0===N)return 1;if(void 0===he)return-1;if(null===N)return 1;if(null===he)return-1;if("string"==typeof N&&"string"==typeof he)return N<he?-1:1;if("number"==typeof N&&"number"==typeof he)return N-he;if("boolean"==typeof N&&"boolean"==typeof he)return N<he?-1:1;const Je=String(N),Et=String(he);return Je==Et?0:Je<Et?-1:1}let Ii=(()=>{class F{constructor(N){this._locale=N}transform(N,he,Je){if(!Bi(N))return null;Je=Je||this._locale;try{return gn(hi(N),Je,he)}catch(Et){throw Xn()}}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:F,pure:!0,standalone:!0}),F})(),hr=(()=>{class F{constructor(N){this._locale=N}transform(N,he,Je){if(!Bi(N))return null;Je=Je||this._locale;try{return _n(hi(N),Je,he)}catch(Et){throw Xn()}}}return F.\u0275fac=function(N){return new(N||F)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},F.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:F,pure:!0,standalone:!0}),F})(),Xi=(()=>{class F{constructor(N,he="USD"){this._locale=N,this._defaultCurrencyCode=he}transform(N,he=this._defaultCurrencyCode,Je="symbol",Et,_t){if(!Bi(N))return null;_t=_t||this._locale,"boolean"==typeof Je&&(Je=Je?"symbol":"code");let Bt=he||this._defaultCurrencyCode;"code"!==Je&&(Bt="symbol"===Je||"symbol-narrow"===Je?we(Bt,"symbol"===Je?"wide":"narrow",_t):Je);try{return Wt(hi(N),_t,Bt,he,Et)}catch(pn){throw Xn()}}}return F.\u0275fac=function(N){return new(N||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,standalone:!0}),F})();function Bi(F){return!(null==F||""===F||F!=F)}function hi(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 Vi=(()=>{class F{transform(N,he,Je){if(null==N)return null;if(!this.supports(N))throw Xn();return N.slice(he,Je)}supports(N){return"string"==typeof N||Array.isArray(N)}}return F.\u0275fac=function(N){return new(N||F)},F.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:F,pure:!1,standalone:!0}),F})(),mr=(()=>{class F{}return F.\u0275fac=function(N){return new(N||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({}),F})();const Wn="browser",qi="server",pi="browserWorkerApp",Oi="browserWorkerUi";function gr(F){return F===Wn}function Pr(F){return F===qi}function bn(F){return F===pi}function vr(F){return F===Oi}const mi=new n.Version("14.1.3");let In=(()=>{class F{}return F.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:F,providedIn:"root",factory:()=>new Tn((0,n.\u0275\u0275inject)(d),window)}),F})();class Tn{constructor(se,N){this.document=se,this.window=N,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 N=function er(F,se){const N=F.getElementById(se)||F.getElementsByName(se)[0];if(N)return N;if("function"==typeof F.createTreeWalker&&F.body&&(F.body.createShadowRoot||F.body.attachShadow)){const he=F.createTreeWalker(F.body,NodeFilter.SHOW_ELEMENT);let Je=he.currentNode;for(;Je;){const Et=Je.shadowRoot;if(Et){const _t=Et.getElementById(se)||Et.querySelector(`[name="${se}"]`);if(_t)return _t}Je=he.nextNode()}}return null}(this.document,se);N&&(this.scrollToElement(N),N.focus())}setHistoryScrollRestoration(se){if(this.supportScrollRestoration()){const N=this.window.history;N&&N.scrollRestoration&&(N.scrollRestoration=se)}}scrollToElement(se){const N=se.getBoundingClientRect(),he=N.left+this.window.pageXOffset,Je=N.top+this.window.pageYOffset,Et=this.offset();this.window.scrollTo(he-Et[0],Je-Et[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const se=qn(this.window.history)||qn(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 qn(F){return Object.getOwnPropertyDescriptor(F,"scrollRestoration")}class gi{setOffset(se){}getScrollPosition(){return[0,0]}scrollToPosition(se){}scrollToAnchor(se){}setHistoryScrollRestoration(se){}}class Qn{}},6529:(H,o,a)=>{"use strict";a.r(o),a.d(o,{HTTP_INTERCEPTORS:()=>x,HttpBackend:()=>b,HttpClient:()=>fe,HttpClientJsonpModule:()=>$e,HttpClientModule:()=>be,HttpClientXsrfModule:()=>Ue,HttpContext:()=>V,HttpContextToken:()=>z,HttpErrorResponse:()=>qe,HttpEventType:()=>xe,HttpHandler:()=>f,HttpHeaderResponse:()=>Ie,HttpHeaders:()=>v,HttpParams:()=>$,HttpRequest:()=>Ce,HttpResponse:()=>ze,HttpResponseBase:()=>oe,HttpUrlEncodingCodec:()=>C,HttpXhrBackend:()=>Fe,HttpXsrfTokenExtractor:()=>Be,JsonpClientBackend:()=>gt,JsonpInterceptor:()=>ut,XhrFactory:()=>dt,\u0275HttpInterceptingHandler:()=>we});var n=a(9808),h=a(5e3),y=a(9646),u=a(8306),r=a(5577),c=a(576),p=a(9300),_=a(4004);class f{}class b{}class v{constructor(U){this.normalizedNames=new Map,this.lazyUpdate=null,U?this.lazyInit="string"==typeof U?()=>{this.headers=new Map,U.split("\n").forEach(ye=>{const de=ye.indexOf(":");if(de>0){const ke=ye.slice(0,de),tt=ke.toLowerCase(),vt=ye.slice(de+1).trim();this.maybeSetNormalizedName(ke,tt),this.headers.has(tt)?this.headers.get(tt).push(vt):this.headers.set(tt,[vt])}})}:()=>{this.headers=new Map,Object.keys(U).forEach(ye=>{let de=U[ye];const ke=ye.toLowerCase();"string"==typeof de&&(de=[de]),de.length>0&&(this.headers.set(ke,de),this.maybeSetNormalizedName(ye,ke))})}:this.headers=new Map}has(U){return this.init(),this.headers.has(U.toLowerCase())}get(U){this.init();const ye=this.headers.get(U.toLowerCase());return ye&&ye.length>0?ye[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(U){return this.init(),this.headers.get(U.toLowerCase())||null}append(U,ye){return this.clone({name:U,value:ye,op:"a"})}set(U,ye){return this.clone({name:U,value:ye,op:"s"})}delete(U,ye){return this.clone({name:U,value:ye,op:"d"})}maybeSetNormalizedName(U,ye){this.normalizedNames.has(ye)||this.normalizedNames.set(ye,U)}init(){this.lazyInit&&(this.lazyInit instanceof v?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(U=>this.applyUpdate(U)),this.lazyUpdate=null))}copyFrom(U){U.init(),Array.from(U.headers.keys()).forEach(ye=>{this.headers.set(ye,U.headers.get(ye)),this.normalizedNames.set(ye,U.normalizedNames.get(ye))})}clone(U){const ye=new v;return ye.lazyInit=this.lazyInit&&this.lazyInit instanceof v?this.lazyInit:this,ye.lazyUpdate=(this.lazyUpdate||[]).concat([U]),ye}applyUpdate(U){const ye=U.name.toLowerCase();switch(U.op){case"a":case"s":let de=U.value;if("string"==typeof de&&(de=[de]),0===de.length)return;this.maybeSetNormalizedName(U.name,ye);const ke=("a"===U.op?this.headers.get(ye):void 0)||[];ke.push(...de),this.headers.set(ye,ke);break;case"d":const tt=U.value;if(tt){let vt=this.headers.get(ye);if(!vt)return;vt=vt.filter(Ft=>-1===tt.indexOf(Ft)),0===vt.length?(this.headers.delete(ye),this.normalizedNames.delete(ye)):this.headers.set(ye,vt)}else this.headers.delete(ye),this.normalizedNames.delete(ye)}}forEach(U){this.init(),Array.from(this.normalizedNames.keys()).forEach(ye=>U(this.normalizedNames.get(ye),this.headers.get(ye)))}}class C{encodeKey(U){return L(U)}encodeValue(U){return L(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}const O=/%(\d[a-f0-9])/gi,P={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function L(Pe){return encodeURIComponent(Pe).replace(O,(U,ye)=>{var de;return null!==(de=P[ye])&&void 0!==de?de:U})}function Q(Pe){return`${Pe}`}class ${constructor(U={}){if(this.updates=null,this.cloneFrom=null,this.encoder=U.encoder||new C,U.fromString){if(U.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(Pe,U){const ye=new Map;return Pe.length>0&&Pe.replace(/^\?/,"").split("&").forEach(ke=>{const tt=ke.indexOf("="),[vt,Ft]=-1==tt?[U.decodeKey(ke),""]:[U.decodeKey(ke.slice(0,tt)),U.decodeValue(ke.slice(tt+1))],At=ye.get(vt)||[];At.push(Ft),ye.set(vt,At)}),ye}(U.fromString,this.encoder)}else U.fromObject?(this.map=new Map,Object.keys(U.fromObject).forEach(ye=>{const de=U.fromObject[ye],ke=Array.isArray(de)?de.map(Q):[Q(de)];this.map.set(ye,ke)})):this.map=null}has(U){return this.init(),this.map.has(U)}get(U){this.init();const ye=this.map.get(U);return ye?ye[0]:null}getAll(U){return this.init(),this.map.get(U)||null}keys(){return this.init(),Array.from(this.map.keys())}append(U,ye){return this.clone({param:U,value:ye,op:"a"})}appendAll(U){const ye=[];return Object.keys(U).forEach(de=>{const ke=U[de];Array.isArray(ke)?ke.forEach(tt=>{ye.push({param:de,value:tt,op:"a"})}):ye.push({param:de,value:ke,op:"a"})}),this.clone(ye)}set(U,ye){return this.clone({param:U,value:ye,op:"s"})}delete(U,ye){return this.clone({param:U,value:ye,op:"d"})}toString(){return this.init(),this.keys().map(U=>{const ye=this.encoder.encodeKey(U);return this.map.get(U).map(de=>ye+"="+this.encoder.encodeValue(de)).join("&")}).filter(U=>""!==U).join("&")}clone(U){const ye=new $({encoder:this.encoder});return ye.cloneFrom=this.cloneFrom||this,ye.updates=(this.updates||[]).concat(U),ye}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(U=>this.map.set(U,this.cloneFrom.map.get(U))),this.updates.forEach(U=>{switch(U.op){case"a":case"s":const ye=("a"===U.op?this.map.get(U.param):void 0)||[];ye.push(Q(U.value)),this.map.set(U.param,ye);break;case"d":if(void 0===U.value){this.map.delete(U.param);break}{let de=this.map.get(U.param)||[];const ke=de.indexOf(Q(U.value));-1!==ke&&de.splice(ke,1),de.length>0?this.map.set(U.param,de):this.map.delete(U.param)}}}),this.cloneFrom=this.updates=null)}}class z{constructor(U){this.defaultValue=U}}class V{constructor(){this.map=new Map}set(U,ye){return this.map.set(U,ye),this}get(U){return this.map.has(U)||this.map.set(U,U.defaultValue()),this.map.get(U)}delete(U){return this.map.delete(U),this}has(U){return this.map.has(U)}keys(){return this.map.keys()}}function re(Pe){return"undefined"!=typeof ArrayBuffer&&Pe instanceof ArrayBuffer}function me(Pe){return"undefined"!=typeof Blob&&Pe instanceof Blob}function Re(Pe){return"undefined"!=typeof FormData&&Pe instanceof FormData}class Ce{constructor(U,ye,de,ke){let tt;if(this.url=ye,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=U.toUpperCase(),function X(Pe){switch(Pe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==de?de:null,tt=ke):tt=de,tt&&(this.reportProgress=!!tt.reportProgress,this.withCredentials=!!tt.withCredentials,tt.responseType&&(this.responseType=tt.responseType),tt.headers&&(this.headers=tt.headers),tt.context&&(this.context=tt.context),tt.params&&(this.params=tt.params)),this.headers||(this.headers=new v),this.context||(this.context=new V),this.params){const vt=this.params.toString();if(0===vt.length)this.urlWithParams=ye;else{const Ft=ye.indexOf("?");this.urlWithParams=ye+(-1===Ft?"?":Ft<ye.length-1?"&":"")+vt}}else this.params=new $,this.urlWithParams=ye}serializeBody(){return null===this.body?null:re(this.body)||me(this.body)||Re(this.body)||function it(Pe){return"undefined"!=typeof URLSearchParams&&Pe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof $?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||Re(this.body)?null:me(this.body)?this.body.type||null:re(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof $?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(U={}){var ye;const de=U.method||this.method,ke=U.url||this.url,tt=U.responseType||this.responseType,vt=void 0!==U.body?U.body:this.body,Ft=void 0!==U.withCredentials?U.withCredentials:this.withCredentials,At=void 0!==U.reportProgress?U.reportProgress:this.reportProgress;let Yt=U.headers||this.headers,Nt=U.params||this.params;const rt=null!==(ye=U.context)&&void 0!==ye?ye:this.context;return void 0!==U.setHeaders&&(Yt=Object.keys(U.setHeaders).reduce((Ze,Ee)=>Ze.set(Ee,U.setHeaders[Ee]),Yt)),U.setParams&&(Nt=Object.keys(U.setParams).reduce((Ze,Ee)=>Ze.set(Ee,U.setParams[Ee]),Nt)),new Ce(de,ke,vt,{params:Nt,headers:Yt,context:rt,reportProgress:At,responseType:tt,withCredentials:Ft})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class oe{constructor(U,ye=200,de="OK"){this.headers=U.headers||new v,this.status=void 0!==U.status?U.status:ye,this.statusText=U.statusText||de,this.url=U.url||null,this.ok=this.status>=200&&this.status<300}}class Ie extends oe{constructor(U={}){super(U),this.type=xe.ResponseHeader}clone(U={}){return new Ie({headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class ze extends oe{constructor(U={}){super(U),this.type=xe.Response,this.body=void 0!==U.body?U.body:null}clone(U={}){return new ze({body:void 0!==U.body?U.body:this.body,headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class qe extends oe{constructor(U){super(U,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${U.url||"(unknown url)"}`:`Http failure response for ${U.url||"(unknown url)"}: ${U.status} ${U.statusText}`,this.error=U.error||null}}function te(Pe,U){return{body:U,headers:Pe.headers,context:Pe.context,observe:Pe.observe,params:Pe.params,reportProgress:Pe.reportProgress,responseType:Pe.responseType,withCredentials:Pe.withCredentials}}let fe=(()=>{class Pe{constructor(ye){this.handler=ye}request(ye,de,ke={}){let tt;if(ye instanceof Ce)tt=ye;else{let At,Yt;At=ke.headers instanceof v?ke.headers:new v(ke.headers),ke.params&&(Yt=ke.params instanceof $?ke.params:new $({fromObject:ke.params})),tt=new Ce(ye,de,void 0!==ke.body?ke.body:null,{headers:At,context:ke.context,params:Yt,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const vt=(0,y.of)(tt).pipe(function d(Pe,U){return(0,c.m)(U)?(0,r.z)(Pe,U,1):(0,r.z)(Pe,1)}(At=>this.handler.handle(At)));if(ye instanceof Ce||"events"===ke.observe)return vt;const Ft=vt.pipe((0,p.h)(At=>At instanceof ze));switch(ke.observe||"body"){case"body":switch(tt.responseType){case"arraybuffer":return Ft.pipe((0,_.U)(At=>{if(null!==At.body&&!(At.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return At.body}));case"blob":return Ft.pipe((0,_.U)(At=>{if(null!==At.body&&!(At.body instanceof Blob))throw new Error("Response is not a Blob.");return At.body}));case"text":return Ft.pipe((0,_.U)(At=>{if(null!==At.body&&"string"!=typeof At.body)throw new Error("Response is not a string.");return At.body}));default:return Ft.pipe((0,_.U)(At=>At.body))}case"response":return Ft;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(ye,de={}){return this.request("DELETE",ye,de)}get(ye,de={}){return this.request("GET",ye,de)}head(ye,de={}){return this.request("HEAD",ye,de)}jsonp(ye,de){return this.request("JSONP",ye,{params:(new $).append(de,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ye,de={}){return this.request("OPTIONS",ye,de)}patch(ye,de,ke={}){return this.request("PATCH",ye,te(ke,de))}post(ye,de,ke={}){return this.request("POST",ye,te(ke,de))}put(ye,de,ke={}){return this.request("PUT",ye,te(ke,de))}}return Pe.\u0275fac=function(ye){return new(ye||Pe)(h.\u0275\u0275inject(f))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();class W{constructor(U,ye){this.next=U,this.interceptor=ye}handle(U){return this.interceptor.intercept(U,this.next)}}const x=new h.InjectionToken("HTTP_INTERCEPTORS");let ne,G=(()=>{class Pe{intercept(ye,de){return de.handle(ye)}}return Pe.\u0275fac=function(ye){return new(ye||Pe)},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),K=0;class ft{}let gt=(()=>{class Pe{constructor(ye,de){this.callbackMap=ye,this.document=de,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+K++}handle(ye){if("JSONP"!==ye.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ye.responseType)throw new Error("JSONP requests must use Json response type.");if(ye.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new u.y(de=>{const ke=this.nextCallback(),tt=ye.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${ke}$1`),vt=this.document.createElement("script");vt.src=tt;let Ft=null,At=!1;this.callbackMap[ke]=Ze=>{delete this.callbackMap[ke],Ft=Ze,At=!0};const Yt=()=>{vt.parentNode&&vt.parentNode.removeChild(vt),delete this.callbackMap[ke]};return vt.addEventListener("load",Ze=>{this.resolvedPromise.then(()=>{Yt(),At?(de.next(new ze({body:Ft,status:200,statusText:"OK",url:tt})),de.complete()):de.error(new qe({url:tt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),vt.addEventListener("error",Ze=>{Yt(),de.error(new qe({error:Ze,status:0,statusText:"JSONP Error",url:tt}))}),this.document.body.appendChild(vt),de.next({type:xe.Sent}),()=>{At||this.removeListeners(vt),Yt()}})}removeListeners(ye){ne||(ne=this.document.implementation.createHTMLDocument()),ne.adoptNode(ye)}}return Pe.\u0275fac=function(ye){return new(ye||Pe)(h.\u0275\u0275inject(ft),h.\u0275\u0275inject(n.DOCUMENT))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),ut=(()=>{class Pe{constructor(ye){this.jsonp=ye}intercept(ye,de){return"JSONP"===ye.method?this.jsonp.handle(ye):de.handle(ye)}}return Pe.\u0275fac=function(ye){return new(ye||Pe)(h.\u0275\u0275inject(gt))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const je=/^\)\]\}',?\n/;let Fe=(()=>{class Pe{constructor(ye){this.xhrFactory=ye}handle(ye){if("JSONP"===ye.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new u.y(de=>{const ke=this.xhrFactory.build();if(ke.open(ye.method,ye.urlWithParams),ye.withCredentials&&(ke.withCredentials=!0),ye.headers.forEach((Ee,_e)=>ke.setRequestHeader(Ee,_e.join(","))),ye.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!ye.headers.has("Content-Type")){const Ee=ye.detectContentTypeHeader();null!==Ee&&ke.setRequestHeader("Content-Type",Ee)}if(ye.responseType){const Ee=ye.responseType.toLowerCase();ke.responseType="json"!==Ee?Ee:"text"}const tt=ye.serializeBody();let vt=null;const Ft=()=>{if(null!==vt)return vt;const Ee=ke.statusText||"OK",_e=new v(ke.getAllResponseHeaders()),ae=function Te(Pe){return"responseURL"in Pe&&Pe.responseURL?Pe.responseURL:/^X-Request-URL:/m.test(Pe.getAllResponseHeaders())?Pe.getResponseHeader("X-Request-URL"):null}(ke)||ye.url;return vt=new Ie({headers:_e,status:ke.status,statusText:Ee,url:ae}),vt},At=()=>{let{headers:Ee,status:_e,statusText:ae,url:le}=Ft(),B=null;204!==_e&&(B=void 0===ke.response?ke.responseText:ke.response),0===_e&&(_e=B?200:0);let Me=_e>=200&&_e<300;if("json"===ye.responseType&&"string"==typeof B){const yt=B;B=B.replace(je,"");try{B=""!==B?JSON.parse(B):null}catch(Ge){B=yt,Me&&(Me=!1,B={error:Ge,text:B})}}Me?(de.next(new ze({body:B,headers:Ee,status:_e,statusText:ae,url:le||void 0})),de.complete()):de.error(new qe({error:B,headers:Ee,status:_e,statusText:ae,url:le||void 0}))},Yt=Ee=>{const{url:_e}=Ft(),ae=new qe({error:Ee,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:_e||void 0});de.error(ae)};let Nt=!1;const rt=Ee=>{Nt||(de.next(Ft()),Nt=!0);let _e={type:xe.DownloadProgress,loaded:Ee.loaded};Ee.lengthComputable&&(_e.total=Ee.total),"text"===ye.responseType&&!!ke.responseText&&(_e.partialText=ke.responseText),de.next(_e)},Ze=Ee=>{let _e={type:xe.UploadProgress,loaded:Ee.loaded};Ee.lengthComputable&&(_e.total=Ee.total),de.next(_e)};return ke.addEventListener("load",At),ke.addEventListener("error",Yt),ke.addEventListener("timeout",Yt),ke.addEventListener("abort",Yt),ye.reportProgress&&(ke.addEventListener("progress",rt),null!==tt&&ke.upload&&ke.upload.addEventListener("progress",Ze)),ke.send(tt),de.next({type:xe.Sent}),()=>{ke.removeEventListener("error",Yt),ke.removeEventListener("abort",Yt),ke.removeEventListener("load",At),ke.removeEventListener("timeout",Yt),ye.reportProgress&&(ke.removeEventListener("progress",rt),null!==tt&&ke.upload&&ke.upload.removeEventListener("progress",Ze)),ke.readyState!==ke.DONE&&ke.abort()}})}}return Pe.\u0275fac=function(ye){return new(ye||Pe)(h.\u0275\u0275inject(n.XhrFactory))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const pe=new h.InjectionToken("XSRF_COOKIE_NAME"),We=new h.InjectionToken("XSRF_HEADER_NAME");class Be{}let Ke=(()=>{class Pe{constructor(ye,de,ke){this.doc=ye,this.platform=de,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ye=this.doc.cookie||"";return ye!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(ye,this.cookieName),this.lastCookieString=ye),this.lastToken}}return Pe.\u0275fac=function(ye){return new(ye||Pe)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(h.PLATFORM_ID),h.\u0275\u0275inject(pe))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),Y=(()=>{class Pe{constructor(ye,de){this.tokenService=ye,this.headerName=de}intercept(ye,de){const ke=ye.url.toLowerCase();if("GET"===ye.method||"HEAD"===ye.method||ke.startsWith("http://")||ke.startsWith("https://"))return de.handle(ye);const tt=this.tokenService.getToken();return null!==tt&&!ye.headers.has(this.headerName)&&(ye=ye.clone({headers:ye.headers.set(this.headerName,tt)})),de.handle(ye)}}return Pe.\u0275fac=function(ye){return new(ye||Pe)(h.\u0275\u0275inject(Be),h.\u0275\u0275inject(We))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),we=(()=>{class Pe{constructor(ye,de){this.backend=ye,this.injector=de,this.chain=null}handle(ye){if(null===this.chain){const de=this.injector.get(x,[]);this.chain=de.reduceRight((ke,tt)=>new W(ke,tt),this.backend)}return this.chain.handle(ye)}}return Pe.\u0275fac=function(ye){return new(ye||Pe)(h.\u0275\u0275inject(b),h.\u0275\u0275inject(h.Injector))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();function Ve(){return"object"==typeof window?window:{}}let Ue=(()=>{class Pe{static disable(){return{ngModule:Pe,providers:[{provide:Y,useClass:G}]}}static withOptions(ye={}){return{ngModule:Pe,providers:[ye.cookieName?{provide:pe,useValue:ye.cookieName}:[],ye.headerName?{provide:We,useValue:ye.headerName}:[]]}}}return Pe.\u0275fac=function(ye){return new(ye||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:[Y,{provide:x,useExisting:Y,multi:!0},{provide:Be,useClass:Ke},{provide:pe,useValue:"XSRF-TOKEN"},{provide:We,useValue:"X-XSRF-TOKEN"}]}),Pe})(),be=(()=>{class Pe{}return Pe.\u0275fac=function(ye){return new(ye||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:[fe,{provide:f,useClass:we},Fe,{provide:b,useExisting:Fe}],imports:[Ue.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Pe})(),$e=(()=>{class Pe{}return Pe.\u0275fac=function(ye){return new(ye||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({providers:[gt,{provide:ft,useFactory:Ve},{provide:x,useClass:ut,multi:!0}]}),Pe})();const dt=n.XhrFactory},5e3:(H,o,a)=>{"use strict";a.r(o),a.d(o,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>Sv,ANIMATION_MODULE_TYPE:()=>MD,APP_BOOTSTRAP_LISTENER:()=>Lg,APP_ID:()=>Fg,APP_INITIALIZER:()=>xg,ApplicationInitStatus:()=>ja,ApplicationModule:()=>gE,ApplicationRef:()=>$a,Attribute:()=>vd,COMPILER_OPTIONS:()=>Bg,CUSTOM_ELEMENTS_SCHEMA:()=>gf,ChangeDetectionStrategy:()=>be,ChangeDetectorRef:()=>cv,Compiler:()=>RD,CompilerFactory:()=>xD,Component:()=>gD,ComponentFactory:()=>ra,ComponentFactoryResolver:()=>gs,ComponentRef:()=>uf,ContentChild:()=>Ov,ContentChildren:()=>Iv,DEFAULT_CURRENCY_CODE:()=>OD,DebugElement:()=>Ns,DebugEventListener:()=>eE,DebugNode:()=>Ku,DefaultIterableDiffer:()=>mv,Directive:()=>Rg,ENVIRONMENT_INITIALIZER:()=>fl,ElementRef:()=>vs,EmbeddedViewRef:()=>qD,EnvironmentInjector:()=>so,ErrorHandler:()=>_s,EventEmitter:()=>Mr,Host:()=>Md,HostBinding:()=>bD,HostListener:()=>CD,INJECTOR:()=>hl,Inject:()=>Qs,InjectFlags:()=>Be,Injectable:()=>zy,InjectionToken:()=>Pn,Injector:()=>Yr,Input:()=>_D,IterableDiffers:()=>Xu,KeyValueDiffers:()=>qu,LOCALE_ID:()=>Ba,MissingTranslationStrategy:()=>Sr,ModuleWithComponentFactories:()=>jg,NO_ERRORS_SCHEMA:()=>vf,NgModule:()=>DD,NgModuleFactory:()=>bm,NgModuleRef:()=>Zo,NgProbeToken:()=>HD,NgZone:()=>ki,Optional:()=>us,Output:()=>yD,PACKAGE_ROOT_URL:()=>wD,PLATFORM_ID:()=>TD,PLATFORM_INITIALIZER:()=>Ng,Pipe:()=>vD,PlatformRef:()=>Gu,Query:()=>os,QueryList:()=>xa,ReflectiveInjector:()=>Ro,ReflectiveKey:()=>jr,Renderer2:()=>L_,RendererFactory2:()=>ff,RendererStyleFlags2:()=>Dr,ResolvedReflectiveFactory:()=>dh,Sanitizer:()=>hf,SecurityContext:()=>Jn,Self:()=>Zs,SimpleChange:()=>Ji,SkipSelf:()=>To,TRANSLATIONS:()=>AD,TRANSLATIONS_FORMAT:()=>PD,TemplateRef:()=>xs,Testability:()=>$D,TestabilityRegistry:()=>Kg,Type:()=>Ws,VERSION:()=>mf,Version:()=>pf,ViewChild:()=>Pv,ViewChildren:()=>Av,ViewContainerRef:()=>ka,ViewEncapsulation:()=>Pe,ViewRef:()=>dv,asNativeElements:()=>tE,assertPlatform:()=>ev,createComponent:()=>IE,createEnvironmentInjector:()=>Tu,createNgModule:()=>Cm,createNgModuleRef:()=>IC,createPlatform:()=>Jg,createPlatformFactory:()=>qg,defineInjectable:()=>ge,destroyPlatform:()=>WD,enableProdMode:()=>QD,forwardRef:()=>b,getDebugNode:()=>qo,getModuleFactory:()=>ZD,getNgModuleById:()=>JD,getPlatform:()=>Va,importProvidersFrom:()=>tf,inject:()=>wd,isDevMode:()=>YD,platformCore:()=>mE,reflectComponentType:()=>OE,resolveForwardRef:()=>v,setTestabilityGetter:()=>Yg,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>zu,\u0275APP_ID_RANDOM_PROVIDER:()=>ED,\u0275ChangeDetectorStatus:()=>$e,\u0275ComponentFactory:()=>ra,\u0275Console:()=>SD,\u0275DEFAULT_LOCALE_ID:()=>fo,\u0275INJECTOR_SCOPE:()=>gl,\u0275LContext:()=>Tf,\u0275LifecycleHooksFeature:()=>Yh,\u0275LocaleDataIndex:()=>Jt,\u0275NG_COMP_DEF:()=>vt,\u0275NG_DIR_DEF:()=>Ft,\u0275NG_ELEMENT_ID:()=>rt,\u0275NG_INJ_DEF:()=>Fe,\u0275NG_MOD_DEF:()=>Yt,\u0275NG_PIPE_DEF:()=>At,\u0275NG_PROV_DEF:()=>Te,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>oa,\u0275NO_CHANGE:()=>sn,\u0275NgModuleFactory:()=>Ra,\u0275NoopNgZone:()=>zg,\u0275ReflectionCapabilities:()=>Ed,\u0275Render3ComponentFactory:()=>Lo,\u0275Render3ComponentRef:()=>Kh,\u0275Render3NgModuleRef:()=>Eu,\u0275RuntimeError:()=>M,\u0275TESTABILITY:()=>Wg,\u0275TESTABILITY_GETTER:()=>Gg,\u0275ViewRef:()=>No,\u0275_sanitizeHtml:()=>Gd,\u0275_sanitizeUrl:()=>hs,\u0275allowSanitizationBypassAndThrow:()=>So,\u0275bypassSanitizationTrustHtml:()=>l_,\u0275bypassSanitizationTrustResourceUrl:()=>f_,\u0275bypassSanitizationTrustScript:()=>u_,\u0275bypassSanitizationTrustStyle:()=>c_,\u0275bypassSanitizationTrustUrl:()=>d_,\u0275clearResolutionOfComponentResourcesQueue:()=>Pd,\u0275coerceToBoolean:()=>vE,\u0275compileComponent:()=>bg,\u0275compileDirective:()=>Bu,\u0275compileNgModule:()=>pg,\u0275compileNgModuleDefs:()=>mg,\u0275compileNgModuleFactory:()=>Qg,\u0275compilePipe:()=>Ag,\u0275createInjector:()=>$l,\u0275defaultIterableDiffers:()=>hE,\u0275defaultKeyValueDiffers:()=>pE,\u0275detectChanges:()=>Xh,\u0275devModeEqual:()=>Jh,\u0275findLocaleData:()=>fu,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>fg,\u0275getDebugNode:()=>qo,\u0275getDebugNodeR2:()=>oE,\u0275getDirectives:()=>Sm,\u0275getHostElement:()=>Mu,\u0275getInjectableDef:()=>ct,\u0275getLContext:()=>ui,\u0275getLocaleCurrencyCode:()=>R0,\u0275getLocalePluralCase:()=>Wp,\u0275getSanitizationBypassType:()=>jd,\u0275getUnknownElementStrictMode:()=>V_,\u0275getUnknownPropertyStrictMode:()=>H_,\u0275global:()=>U,\u0275injectChangeDetectorRef:()=>uv,\u0275internalBootstrapApplication:()=>zD,\u0275isBoundToModule:()=>Zg,\u0275isDefaultChangeDetectionStrategy:()=>dt,\u0275isListLikeIterable:()=>Ts,\u0275isObservable:()=>op,\u0275isPromise:()=>Pc,\u0275isStandalone:()=>Xo,\u0275isSubscribable:()=>rp,\u0275ivyEnabled:()=>_E,\u0275makeDecorator:()=>Co,\u0275markDirty:()=>qh,\u0275noSideEffects:()=>Ue,\u0275patchComponentDefWithScope:()=>Lu,\u0275publishDefaultGlobalUtils:()=>kD,\u0275publishGlobalUtil:()=>zi,\u0275registerLocaleData:()=>P0,\u0275resetCompiledComponents:()=>rD,\u0275resetJitOptions:()=>tD,\u0275resolveComponentResources:()=>Od,\u0275setAllowDuplicateNgModuleIdsForTest:()=>qv,\u0275setClassMetadata:()=>Om,\u0275setCurrentInjector:()=>io,\u0275setDocument:()=>e_,\u0275setLocaleId:()=>hu,\u0275setUnknownElementStrictMode:()=>B_,\u0275setUnknownPropertyStrictMode:()=>$_,\u0275store:()=>tp,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>ho,\u0275unregisterLocaleData:()=>x0,\u0275unwrapSafeValue:()=>Nr,\u0275whenRendered:()=>Jb,\u0275\u0275CopyDefinitionFeature:()=>Zh,\u0275\u0275FactoryTarget:()=>ii,\u0275\u0275InheritDefinitionFeature:()=>pc,\u0275\u0275NgOnChangesFeature:()=>ji,\u0275\u0275ProvidersFeature:()=>ym,\u0275\u0275StandaloneFeature:()=>Dm,\u0275\u0275advance:()=>nh,\u0275\u0275attribute:()=>vc,\u0275\u0275attributeInterpolate1:()=>_c,\u0275\u0275attributeInterpolate2:()=>yc,\u0275\u0275attributeInterpolate3:()=>bc,\u0275\u0275attributeInterpolate4:()=>Cc,\u0275\u0275attributeInterpolate5:()=>Dc,\u0275\u0275attributeInterpolate6:()=>Ec,\u0275\u0275attributeInterpolate7:()=>Tc,\u0275\u0275attributeInterpolate8:()=>wc,\u0275\u0275attributeInterpolateV:()=>Mc,\u0275\u0275classMap:()=>yp,\u0275\u0275classMapInterpolate1:()=>Sp,\u0275\u0275classMapInterpolate2:()=>Ip,\u0275\u0275classMapInterpolate3:()=>Op,\u0275\u0275classMapInterpolate4:()=>Ap,\u0275\u0275classMapInterpolate5:()=>Pp,\u0275\u0275classMapInterpolate6:()=>Rp,\u0275\u0275classMapInterpolate7:()=>xp,\u0275\u0275classMapInterpolate8:()=>Fp,\u0275\u0275classMapInterpolateV:()=>kp,\u0275\u0275classProp:()=>zc,\u0275\u0275contentQuery:()=>rg,\u0275\u0275defineComponent:()=>Ee,\u0275\u0275defineDirective:()=>Ge,\u0275\u0275defineInjectable:()=>ve,\u0275\u0275defineInjector:()=>Le,\u0275\u0275defineNgModule:()=>B,\u0275\u0275definePipe:()=>bt,\u0275\u0275directiveInject:()=>xo,\u0275\u0275disableBindings:()=>Rn,\u0275\u0275element:()=>Oc,\u0275\u0275elementContainer:()=>Ac,\u0275\u0275elementContainerEnd:()=>Ta,\u0275\u0275elementContainerStart:()=>Ea,\u0275\u0275elementEnd:()=>Da,\u0275\u0275elementStart:()=>Ca,\u0275\u0275enableBindings:()=>Dn,\u0275\u0275getCurrentView:()=>ip,\u0275\u0275getInheritedFactory:()=>md,\u0275\u0275hostProperty:()=>uu,\u0275\u0275i18n:()=>pm,\u0275\u0275i18nApply:()=>gm,\u0275\u0275i18nAttributes:()=>mm,\u0275\u0275i18nEnd:()=>vu,\u0275\u0275i18nExp:()=>_u,\u0275\u0275i18nPostprocess:()=>vm,\u0275\u0275i18nStart:()=>gu,\u0275\u0275inject:()=>ti,\u0275\u0275injectAttribute:()=>Qa,\u0275\u0275invalidFactory:()=>mh,\u0275\u0275invalidFactoryDep:()=>el,\u0275\u0275listener:()=>Rc,\u0275\u0275loadQuery:()=>og,\u0275\u0275namespaceHTML:()=>un,\u0275\u0275namespaceMathML:()=>an,\u0275\u0275namespaceSVG:()=>$t,\u0275\u0275nextContext:()=>cp,\u0275\u0275ngDeclareClassMetadata:()=>bE,\u0275\u0275ngDeclareComponent:()=>CE,\u0275\u0275ngDeclareDirective:()=>yE,\u0275\u0275ngDeclareFactory:()=>DE,\u0275\u0275ngDeclareInjectable:()=>TE,\u0275\u0275ngDeclareInjector:()=>wE,\u0275\u0275ngDeclareNgModule:()=>ME,\u0275\u0275ngDeclarePipe:()=>SE,\u0275\u0275pipe:()=>Wm,\u0275\u0275pipeBind1:()=>Gm,\u0275\u0275pipeBind2:()=>Km,\u0275\u0275pipeBind3:()=>Ym,\u0275\u0275pipeBind4:()=>Qm,\u0275\u0275pipeBindV:()=>Zm,\u0275\u0275projection:()=>dp,\u0275\u0275projectionDef:()=>up,\u0275\u0275property:()=>Sc,\u0275\u0275propertyInterpolate:()=>Fc,\u0275\u0275propertyInterpolate1:()=>wa,\u0275\u0275propertyInterpolate2:()=>kc,\u0275\u0275propertyInterpolate3:()=>Nc,\u0275\u0275propertyInterpolate4:()=>Lc,\u0275\u0275propertyInterpolate5:()=>jc,\u0275\u0275propertyInterpolate6:()=>Bc,\u0275\u0275propertyInterpolate7:()=>Vc,\u0275\u0275propertyInterpolate8:()=>$c,\u0275\u0275propertyInterpolateV:()=>Hc,\u0275\u0275pureFunction0:()=>Am,\u0275\u0275pureFunction1:()=>Pm,\u0275\u0275pureFunction2:()=>Rm,\u0275\u0275pureFunction3:()=>xm,\u0275\u0275pureFunction4:()=>Fm,\u0275\u0275pureFunction5:()=>km,\u0275\u0275pureFunction6:()=>Nm,\u0275\u0275pureFunction7:()=>Lm,\u0275\u0275pureFunction8:()=>jm,\u0275\u0275pureFunctionV:()=>Bm,\u0275\u0275queryRefresh:()=>ng,\u0275\u0275reference:()=>np,\u0275\u0275registerNgModuleType:()=>nl,\u0275\u0275resetView:()=>ai,\u0275\u0275resolveBody:()=>Pf,\u0275\u0275resolveDocument:()=>Af,\u0275\u0275resolveWindow:()=>Of,\u0275\u0275restoreView:()=>$i,\u0275\u0275sanitizeHtml:()=>Kd,\u0275\u0275sanitizeResourceUrl:()=>dl,\u0275\u0275sanitizeScript:()=>Qd,\u0275\u0275sanitizeStyle:()=>Yd,\u0275\u0275sanitizeUrl:()=>ul,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Xd,\u0275\u0275setComponentScope:()=>_e,\u0275\u0275setNgModuleScope:()=>Me,\u0275\u0275styleMap:()=>sr,\u0275\u0275styleMapInterpolate1:()=>Np,\u0275\u0275styleMapInterpolate2:()=>Lp,\u0275\u0275styleMapInterpolate3:()=>jp,\u0275\u0275styleMapInterpolate4:()=>Bp,\u0275\u0275styleMapInterpolate5:()=>Vp,\u0275\u0275styleMapInterpolate6:()=>$p,\u0275\u0275styleMapInterpolate7:()=>Hp,\u0275\u0275styleMapInterpolate8:()=>Up,\u0275\u0275styleMapInterpolateV:()=>zp,\u0275\u0275styleProp:()=>Uc,\u0275\u0275stylePropInterpolate1:()=>tu,\u0275\u0275stylePropInterpolate2:()=>nu,\u0275\u0275stylePropInterpolate3:()=>iu,\u0275\u0275stylePropInterpolate4:()=>ru,\u0275\u0275stylePropInterpolate5:()=>ou,\u0275\u0275stylePropInterpolate6:()=>su,\u0275\u0275stylePropInterpolate7:()=>au,\u0275\u0275stylePropInterpolate8:()=>lu,\u0275\u0275stylePropInterpolateV:()=>cu,\u0275\u0275syntheticHostListener:()=>xc,\u0275\u0275syntheticHostProperty:()=>du,\u0275\u0275template:()=>ep,\u0275\u0275templateRefExtractor:()=>cg,\u0275\u0275text:()=>Mp,\u0275\u0275textInterpolate:()=>Gc,\u0275\u0275textInterpolate1:()=>Sa,\u0275\u0275textInterpolate2:()=>Kc,\u0275\u0275textInterpolate3:()=>Yc,\u0275\u0275textInterpolate4:()=>Qc,\u0275\u0275textInterpolate5:()=>Zc,\u0275\u0275textInterpolate6:()=>Jc,\u0275\u0275textInterpolate7:()=>Xc,\u0275\u0275textInterpolate8:()=>qc,\u0275\u0275textInterpolateV:()=>eu,\u0275\u0275trustConstantHtml:()=>Zd,\u0275\u0275trustConstantResourceUrl:()=>Jd,\u0275\u0275viewQuery:()=>ig});var n=a(7579),h=a(727),y=a(8306),u=a(6451),r=a(3099);function c(e){for(let t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function d(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 _(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const f=c({__forward_ref__:c});function b(e){return e.__forward_ref__=b,e.toString=function(){return p(this())},e}function v(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(f)&&e.__forward_ref__===b}class M extends Error{constructor(t,i){super(function O(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,i)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function L(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}function V(e,t){throw new M(-201,!1)}function x(e,t,i,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${i} ${s} ${t} <=Actual]`))}function ve(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ge=ve;function Le(e){return{providers:e.providers||[],imports:e.imports||[]}}function ct(e){return ft(e,Te)||ft(e,pe)}function ft(e,t){return e.hasOwnProperty(t)?e[t]:null}function je(e){return e&&(e.hasOwnProperty(Fe)||e.hasOwnProperty(We))?e[Fe]:null}const Te=c({\u0275prov:c}),Fe=c({\u0275inj:c}),pe=c({ngInjectableDef:c}),We=c({ngInjectorDef:c});var Be=(()=>((Be=Be||{})[Be.Default=0]="Default",Be[Be.Host=1]="Host",Be[Be.Self=2]="Self",Be[Be.SkipSelf=4]="SkipSelf",Be[Be.Optional=8]="Optional",Be))();let Ke;function we(e){const t=Ke;return Ke=e,t}function He(e,t,i){const s=ct(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:i&Be.Optional?null:void 0!==t?t:void V(p(e))}function Ue(e){return{toString:e}.toString()}var be=(()=>((be=be||{})[be.OnPush=0]="OnPush",be[be.Default=1]="Default",be))(),$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 dt(e){return null==e||e===be.Default}var Pe=(()=>{return(e=Pe||(Pe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Pe;var e})();const U=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),ke={},tt=[],vt=c({\u0275cmp:c}),Ft=c({\u0275dir:c}),At=c({\u0275pipe:c}),Yt=c({\u0275mod:c}),Nt=c({\u0275fac:c}),rt=c({__NG_ELEMENT_ID__:c});let Ze=0;function Ee(e){return Ue(()=>{const i=!0===e.standalone,s={},l={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:s,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===be.OnPush,directiveDefs:null,pipeDefs:null,standalone:i,dependencies:i&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||tt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Pe.Emulated,id:"c"+Ze++,styles:e.styles||tt,_:null,setInput:null,schemas:e.schemas||null,tView:null},g=e.dependencies,D=e.features;return l.inputs=yt(e.inputs,s),l.outputs=yt(e.outputs),D&&D.forEach(w=>w(l)),l.directiveDefs=g?()=>("function"==typeof g?g():g).map(ae).filter(le):null,l.pipeDefs=g?()=>("function"==typeof g?g():g).map(at).filter(le):null,l})}function _e(e,t,i){const s=e.\u0275cmp;s.directiveDefs=()=>("function"==typeof t?t():t).map(ae),s.pipeDefs=()=>("function"==typeof i?i():i).map(at)}function ae(e){return q(e)||Oe(e)}function le(e){return null!==e}function B(e){return Ue(()=>({type:e.type,bootstrap:e.bootstrap||tt,declarations:e.declarations||tt,imports:e.imports||tt,exports:e.exports||tt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Me(e,t){return Ue(()=>{const i=Dt(e,!0);i.declarations=t.declarations||tt,i.imports=t.imports||tt,i.exports=t.exports||tt})}function yt(e,t){if(null==e)return ke;const i={};for(const s in e)if(e.hasOwnProperty(s)){let l=e[s],g=l;Array.isArray(l)&&(g=l[1],l=l[0]),i[l]=s,t&&(t[l]=g)}return i}const Ge=Ee;function bt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function q(e){return e[vt]||null}function Oe(e){return e[Ft]||null}function at(e){return e[At]||null}function Dt(e,t){const i=e[Yt]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function En(e){return Array.isArray(e)&&"object"==typeof e[1]}function Nn(e){return Array.isArray(e)&&!0===e[1]}function Ti(e){return 0!=(8&e.flags)}function wi(e){return 2==(2&e.flags)}function bi(e){return 1==(1&e.flags)}function Ln(e){return null!==e.template}function Ni(e){return 0!=(256&e[2])}function ni(e,t){return e.hasOwnProperty(Nt)?e[Nt]:null}class Ji{constructor(t,i,s){this.previousValue=t,this.currentValue=i,this.firstChange=s}isFirstChange(){return this.firstChange}}function ji(){return Ii}function Ii(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xi),hr}function hr(){const e=hi(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===ke)e.previous=t;else for(let s in t)i[s]=t[s];e.current=null,this.ngOnChanges(t)}}function Xi(e,t,i,s){const l=hi(e)||function Vi(e,t){return e[Bi]=t}(e,{previous:ke,current:null}),g=l.current||(l.current={}),D=l.previous,w=this.declaredInputs[i],I=D[w];g[w]=new Ji(I&&I.currentValue,t,D===ke),e[s]=t}ji.ngInherit=!0;const Bi="__ngSimpleChanges__";function hi(e){return e[Bi]||null}let pr=null;const mr=e=>{pr=e},Wn=function(e,t,i){null!=pr&&pr(e,t,i)};function bn(e){for(;Array.isArray(e);)e=e[0];return e}function In(e,t){return bn(t[e])}function Tn(e,t){return bn(t[e.index])}function er(e,t){return e.data[t]}function gi(e,t){return e[t]}function Qn(e,t){const i=t[e];return En(i)?i:i[0]}function F(e){return 4==(4&e[2])}function se(e){return 64==(64&e[2])}function he(e,t){return null==t?null:e[t]}function Je(e){e[18]=0}function Et(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 _t={lFrame:T(null),bindingsEnabled:!0};function $n(){return _t.bindingsEnabled}function Dn(){_t.bindingsEnabled=!0}function Rn(){_t.bindingsEnabled=!1}function St(){return _t.lFrame.lView}function on(){return _t.lFrame.tView}function $i(e){return _t.lFrame.contextLView=e,e[8]}function ai(e){return _t.lFrame.contextLView=null,e}function xn(){let e=tr();for(;null!==e&&64===e.type;)e=e.parent;return e}function tr(){return _t.lFrame.currentTNode}function Hi(){const e=_t.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function k(e,t){const i=_t.lFrame;i.currentTNode=e,i.isParent=t}function A(){return _t.lFrame.isParent}function S(){_t.lFrame.isParent=!1}function Fn(){const e=_t.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function li(){return _t.lFrame.bindingIndex}function Rr(e){return _t.lFrame.bindingIndex=e}function Ur(){return _t.lFrame.bindingIndex++}function nr(e){const t=_t.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function js(e){_t.lFrame.inI18n=e}function Ua(e,t){const i=_t.lFrame;i.bindingIndex=i.bindingRootIndex=e,qr(t)}function qr(e){_t.lFrame.currentDirectiveIndex=e}function eo(e){const t=_t.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Vs(){return _t.lFrame.currentQueryIndex}function es(e){_t.lFrame.currentQueryIndex=e}function za(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function $s(e,t,i){if(i&Be.SkipSelf){let l=t,g=e;for(;!(l=l.parent,null!==l||i&Be.Host||(l=za(g),null===l||(g=g[15],10&l.type))););if(null===l)return!1;t=l,e=g}const s=_t.lFrame=E();return s.currentTNode=t,s.lView=e,!0}function Z(e){const t=E(),i=e[1];_t.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function E(){const e=_t.lFrame,t=null===e?null:e.child;return null===t?T(e):t}function T(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 R(){const e=_t.lFrame;return _t.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const J=R;function Se(){const e=R();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 pt(){return _t.lFrame.selectedIndex}function wt(e){_t.lFrame.selectedIndex=e}function Pt(){const e=_t.lFrame;return er(e.tView,e.selectedIndex)}function $t(){_t.lFrame.currentNamespace="svg"}function an(){_t.lFrame.currentNamespace="math"}function un(){!function en(){_t.lFrame.currentNamespace=null}()}function wn(e,t){for(let i=t.directiveStart,s=t.directiveEnd;i<s;i++){const g=e.data[i].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:w,ngAfterViewInit:I,ngAfterViewChecked:j,ngOnDestroy:ie}=g;D&&(e.contentHooks||(e.contentHooks=[])).push(-i,D),w&&((e.contentHooks||(e.contentHooks=[])).push(i,w),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(i,w)),I&&(e.viewHooks||(e.viewHooks=[])).push(-i,I),j&&((e.viewHooks||(e.viewHooks=[])).push(i,j),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,j)),null!=ie&&(e.destroyHooks||(e.destroyHooks=[])).push(i,ie)}}function Gn(e,t,i){_r(e,t,3,i)}function ei(e,t,i,s){(3&e[2])===i&&_r(e,t,i,s)}function Kn(e,t){let i=e[2];(3&i)===t&&(i&=2047,i+=1,e[2]=i)}function _r(e,t,i,s){const g=null!=s?s:-1,D=t.length-1;let w=0;for(let I=void 0!==s?65535&e[18]:0;I<D;I++)if("number"==typeof t[I+1]){if(w=t[I],null!=s&&w>=s)break}else t[I]<0&&(e[18]+=65536),(w<g||-1==g)&&(yr(e,i,t,I),e[18]=(4294901760&e[18])+I+2),I++}function yr(e,t,i,s){const l=i[s]<0,g=i[s+1],w=e[l?-i[s]:i[s]];if(l){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Wn(4,w,g);try{g.call(w)}finally{Wn(5,w,g)}}}else{Wn(4,w,g);try{g.call(w)}finally{Wn(5,w,g)}}}class si{constructor(t,i,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=s}}function Gt(e,t,i){let s=0;for(;s<i.length;){const l=i[s];if("number"==typeof l){if(0!==l)break;s++;const g=i[s++],D=i[s++],w=i[s++];e.setAttribute(t,D,w,g)}else{const g=l,D=i[++s];hn(g)?e.setProperty(t,g,D):e.setAttribute(t,g,D),s++}}return s}function Zt(e){return 3===e||4===e||6===e}function hn(e){return 64===e.charCodeAt(0)}function An(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let s=0;s<t.length;s++){const l=t[s];"number"==typeof l?i=l:0===i||Pi(e,i,l,null,-1===i||2===i?t[++s]:null)}}return e}function Pi(e,t,i,s,l){let g=0,D=e.length;if(-1===t)D=-1;else for(;g<e.length;){const w=e[g++];if("number"==typeof w){if(w===t){D=-1;break}if(w>t){D=g-1;break}}}for(;g<e.length;){const w=e[g];if("number"==typeof w)break;if(w===i){if(null===s)return void(null!==l&&(e[g+1]=l));if(s===e[g+1])return void(e[g+2]=l)}g++,null!==s&&g++,null!==l&&g++}-1!==D&&(e.splice(D,0,t),g=D+1),e.splice(g++,0,i),null!==s&&e.splice(g++,0,s),null!==l&&e.splice(g++,0,l)}function ci(e){return-1!==e}function vi(e){return 32767&e}function Fr(e,t){let i=function Bn(e){return e>>16}(e),s=t;for(;i>0;)s=s[15],i--;return s}let ts=!0;function Zn(e){const t=ts;return ts=e,t}let ns=0;const br={};function is(e,t){const i=Ka(e,t);if(-1!==i)return i;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,Ga(s.data,e),Ga(t,null),Ga(s.blueprint,null));const l=Hs(e,t),g=e.injectorIndex;if(ci(l)){const D=vi(l),w=Fr(l,t),I=w[1].data;for(let j=0;j<8;j++)t[g+j]=w[D+j]|I[D+j]}return t[g+8]=l,g}function Ga(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ka(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Hs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,s=null,l=t;for(;null!==l;){if(s=gd(l),null===s)return-1;if(i++,l=l[15],-1!==s.injectorIndex)return s.injectorIndex|i<<16}return-1}function Us(e,t,i){!function Cv(e,t,i){let s;"string"==typeof i?s=i.charCodeAt(0)||0:i.hasOwnProperty(rt)&&(s=i[rt]),null==s&&(s=i[rt]=ns++);const l=255&s;t.data[e+(l>>5)]|=1<<l}(e,t,i)}function cd(e,t,i){if(i&Be.Optional)return e;V()}function ud(e,t,i,s){if(i&Be.Optional&&void 0===s&&(s=null),0==(i&(Be.Self|Be.Host))){const l=e[9],g=we(void 0);try{return l?l.get(t,s,i&Be.Optional):He(t,s,i&Be.Optional)}finally{we(g)}}return cd(s,0,i)}function dd(e,t,i,s=Be.Default,l){if(null!==e){if(1024&t[2]){const D=function Mv(e,t,i,s,l){let g=e,D=t;for(;null!==g&&null!==D&&1024&D[2]&&!(256&D[2]);){const w=fd(g,D,i,s|Be.Self,br);if(w!==br)return w;let I=g.parent;if(!I){const j=D[21];if(j){const ie=j.get(i,br,s);if(ie!==br)return ie}I=gd(D),D=D[15]}g=I}return l}(e,t,i,s,br);if(D!==br)return D}const g=fd(e,t,i,s,br);if(g!==br)return g}return ud(t,i,s,l)}function fd(e,t,i,s,l){const g=function Tv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(rt)?e[rt]:void 0;return"number"==typeof t?t>=0?255&t:wv:t}(i);if("function"==typeof g){if(!$s(t,e,s))return s&Be.Host?cd(l,0,s):ud(t,i,s,l);try{const D=g(s);if(null!=D||s&Be.Optional)return D;V()}finally{J()}}else if("number"==typeof g){let D=null,w=Ka(e,t),I=-1,j=s&Be.Host?t[16][6]:null;for((-1===w||s&Be.SkipSelf)&&(I=-1===w?Hs(e,t):t[w+8],-1!==I&&pd(s,!1)?(D=t[1],w=vi(I),t=Fr(I,t)):w=-1);-1!==w;){const ie=t[1];if(hd(g,w,ie.data)){const Ae=Ev(w,t,i,D,s,j);if(Ae!==br)return Ae}I=t[w+8],-1!==I&&pd(s,t[1].data[w+8]===j)&&hd(g,w,t)?(D=ie,w=vi(I),t=Fr(I,t)):w=-1}}return l}function Ev(e,t,i,s,l,g){const D=t[1],w=D.data[e+8],ie=zs(w,D,i,null==s?wi(w)&&ts:s!=D&&0!=(3&w.type),l&Be.Host&&g===w);return null!==ie?rs(t,D,ie,w):br}function zs(e,t,i,s,l){const g=e.providerIndexes,D=t.data,w=1048575&g,I=e.directiveStart,ie=g>>20,st=l?w+ie:e.directiveEnd;for(let mt=s?w:w+ie;mt<st;mt++){const Mt=D[mt];if(mt<I&&i===Mt||mt>=I&&Mt.type===i)return mt}if(l){const mt=D[I];if(mt&&Ln(mt)&&mt.type===i)return I}return null}function rs(e,t,i,s){let l=e[i];const g=t.data;if(function go(e){return e instanceof si}(l)){const D=l;D.resolving&&function Q(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,`Circular dependency in DI detected for ${e}${i}`)}(L(g[i]));const w=Zn(D.canSeeViewProviders);D.resolving=!0;const I=D.injectImpl?we(D.injectImpl):null;$s(e,s,Be.Default);try{l=e[i]=D.factory(void 0,g,e,s),t.firstCreatePass&&i>=s.directiveStart&&function Mn(e,t,i){const{ngOnChanges:s,ngOnInit:l,ngDoCheck:g}=t.type.prototype;if(s){const D=Ii(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,D),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,D)}l&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,l),g&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,g),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,g))}(i,g[i],t)}finally{null!==I&&we(I),Zn(w),D.resolving=!1,J()}}return l}function hd(e,t,i){return!!(i[t+(e>>5)]&1<<e)}function pd(e,t){return!(e&Be.Self||e&Be.Host&&t)}class vo{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,s){return dd(this._tNode,this._lView,t,s,i)}}function wv(){return new vo(xn(),St())}function md(e){return Ue(()=>{const t=e.prototype.constructor,i=t[Nt]||Ya(t),s=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==s;){const g=l[Nt]||Ya(l);if(g&&g!==i)return g;l=Object.getPrototypeOf(l)}return g=>new g})}function Ya(e){return m(e)?()=>{const t=Ya(v(e));return t&&t()}:ni(e)}function gd(e){const t=e[1],i=t.type;return 2===i?t.declTNode:1===i?e[6]:null}function Qa(e){return function Dv(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const s=i.length;let l=0;for(;l<s;){const g=i[l];if(Zt(g))break;if(0===g)l+=2;else if("number"==typeof g)for(l++;l<s&&"string"==typeof i[l];)l++;else{if(g===t)return i[l+1];l+=2}}}return null}(xn(),e)}const _o="__annotations__",yo="__parameters__",bo="__prop__metadata__";function Co(e,t,i,s,l){return Ue(()=>{const g=Za(t);function D(...w){if(this instanceof D)return g.call(this,...w),this;const I=new D(...w);return function(ie){return l&&l(ie,...w),(ie.hasOwnProperty(_o)?ie[_o]:Object.defineProperty(ie,_o,{value:[]})[_o]).push(I),s&&s(ie),ie}}return i&&(D.prototype=Object.create(i.prototype)),D.prototype.ngMetadataName=e,D.annotationCls=D,D})}function Za(e){return function(...i){if(e){const s=e(...i);for(const l in s)this[l]=s[l]}}}function Do(e,t,i){return Ue(()=>{const s=Za(t);function l(...g){if(this instanceof l)return s.apply(this,g),this;const D=new l(...g);return w.annotation=D,w;function w(I,j,ie){const Ae=I.hasOwnProperty(yo)?I[yo]:Object.defineProperty(I,yo,{value:[]})[yo];for(;Ae.length<=ie;)Ae.push(null);return(Ae[ie]=Ae[ie]||[]).push(D),I}}return i&&(l.prototype=Object.create(i.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function Gr(e,t,i,s){return Ue(()=>{const l=Za(t);function g(...D){if(this instanceof g)return l.apply(this,D),this;const w=new g(...D);return function I(j,ie){const Ae=j.constructor,st=Ae.hasOwnProperty(bo)?Ae[bo]:Object.defineProperty(Ae,bo,{value:{}})[bo];st[ie]=st.hasOwnProperty(ie)&&st[ie]||[],st[ie].unshift(w),s&&s(j,ie,...D)}}return i&&(g.prototype=Object.create(i.prototype)),g.prototype.ngMetadataName=e,g.annotationCls=g,g})}const vd=Do("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Qa(e)}));class Pn{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=ve({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Sv=new Pn("AnalyzeForEntryComponents");class os{}const Iv=Gr("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),os),Ov=Gr("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),os),Av=Gr("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),os),Pv=Gr("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),os);var ii=(()=>((ii=ii||{})[ii.Directive=0]="Directive",ii[ii.Component=1]="Component",ii[ii.Injectable=2]="Injectable",ii[ii.Pipe=3]="Pipe",ii[ii.NgModule=4]="NgModule",ii))();function ri(e){const t=U.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Ws=Function;function ss(e){return"function"==typeof e}function Ri(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)),Ri(s,t)):t!==e&&t.push(s)}return t}function kr(e,t){e.forEach(i=>Array.isArray(i)?kr(i,t):t(i))}function yd(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Gs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function as(e,t){const i=[];for(let s=0;s<e;s++)i.push(t);return i}function xi(e,t,i){let s=Eo(e,t);return s>=0?e[1|s]=i:(s=~s,function Fv(e,t,i,s){let l=e.length;if(l==t)e.push(i,s);else if(1===l)e.push(s,e[0]),e[0]=i;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=i,e[t+1]=s}}(e,s,t,i)),s}function Ja(e,t){const i=Eo(e,t);if(i>=0)return e[1|i]}function Eo(e,t){return function Dd(e,t,i){let s=0,l=e.length>>i;for(;l!==s;){const g=s+(l-s>>1),D=e[g<<i];if(t===D)return g<<i;D>t?l=g:s=g+1}return~(l<<i)}(e,t,1)}const kv=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Nv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Lv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,jv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Ed{constructor(t){this._reflect=t||U.Reflect}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let s;s=as(void 0===t?i.length:t.length);for(let l=0;l<s.length;l++)s[l]=void 0===t?[]:t[l]&&t[l]!=Object?[t[l]]:[],i&&null!=i[l]&&(s[l]=s[l].concat(i[l]));return s}_ownParameters(t,i){if(function Bv(e){return kv.test(e)||jv.test(e)||Nv.test(e)&&!Lv.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const l=t.ctorParameters;if(l&&l!==i.ctorParameters){const w="function"==typeof l?l():l,I=w.map(ie=>ie&&ie.type),j=w.map(ie=>ie&&Xa(ie.decorators));return this._zipTypesAndAnnotations(I,j)}const g=t.hasOwnProperty(yo)&&t[yo],D=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return D||g?this._zipTypesAndAnnotations(D,g):as(t.length)}parameters(t){if(!ss(t))return[];const i=Ks(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?Xa(t.decorators):t.hasOwnProperty(_o)?t[_o]:null}annotations(t){if(!ss(t))return[];const i=Ks(t),s=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(s)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let s=t.propMetadata;return"function"==typeof s&&s.propMetadata&&(s=s.propMetadata),s}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const s=t.propDecorators,l={};return Object.keys(s).forEach(g=>{l[g]=Xa(s[g])}),l}return t.hasOwnProperty(bo)?t[bo]:null}propMetadata(t){if(!ss(t))return{};const i=Ks(t),s={};if(i!==Object){const g=this.propMetadata(i);Object.keys(g).forEach(D=>{s[D]=g[D]})}const l=this._ownPropMetadata(t,i);return l&&Object.keys(l).forEach(g=>{const D=[];s.hasOwnProperty(g)&&D.push(...s[g]),D.push(...l[g]),s[g]=D}),s}ownPropMetadata(t){return ss(t)&&this._ownPropMetadata(t,Ks(t))||{}}hasLifecycleHook(t,i){return t instanceof Ws&&i in t.prototype}}function Xa(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Ks(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Kr={},qa="__NG_DI_FLAG__",Ys="ngTempTokenPath",$v=/\n/gm,Td="__source";let ls;function io(e){const t=ls;return ls=e,t}function Uv(e,t=Be.Default){if(void 0===ls)throw new M(-203,!1);return null===ls?He(e,void 0,t):ls.get(e,t&Be.Optional?null:void 0,t)}function ti(e,t=Be.Default){return(function Y(){return Ke}()||Uv)(v(e),t)}function el(e){throw new M(202,!1)}function wd(e,t=Be.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),ti(e,t)}function tl(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 M(900,!1);let l,g=Be.Default;for(let D=0;D<s.length;D++){const w=s[D],I=zv(w);"number"==typeof I?-1===I?l=w.token:g|=I:l=w}t.push(ti(l,g))}else t.push(ti(s))}return t}function cs(e,t){return e[qa]=t,e.prototype[qa]=t,e}function zv(e){return e[qa]}const Qs=cs(Do("Inject",e=>({token:e})),-1),us=cs(Do("Optional"),8),Zs=cs(Do("Self"),2),To=cs(Do("SkipSelf"),4),Md=cs(Do("Host"),1);let Sd=null;function ds(){return Sd=Sd||new Ed}function Js(e){return Id(ds().parameters(e))}function Id(e){return e.map(t=>function Kv(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i<e.length;i++){const s=e[i];if(void 0===s)continue;const l=Object.getPrototypeOf(s);if(s instanceof us||"Optional"===l.ngMetadataName)t.optional=!0;else if(s instanceof To||"SkipSelf"===l.ngMetadataName)t.skipSelf=!0;else if(s instanceof Zs||"Self"===l.ngMetadataName)t.self=!0;else if(s instanceof Md||"Host"===l.ngMetadataName)t.host=!0;else if(s instanceof Qs)t.token=s.token;else if(s instanceof vd){if(void 0===s.attributeName)throw new M(204,!1);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 Od(e){const t=[],i=new Map;function s(l){let g=i.get(l);if(!g){const D=e(l);i.set(l,g=D.then(Zv))}return g}return wo.forEach((l,g)=>{const D=[];l.templateUrl&&D.push(s(l.templateUrl).then(Ae=>{l.template=Ae}));const w=l.styleUrls,I=l.styles||(l.styles=[]),j=l.styles.length;w&&w.forEach((Ae,st)=>{I.push(""),D.push(s(Ae).then(mt=>{I[j+st]=mt,w.splice(w.indexOf(Ae),1),0==w.length&&(l.styleUrls=void 0)}))});const ie=Promise.all(D).then(()=>function Jv(e){fs.delete(e)}(g));t.push(ie)}),Pd(),Promise.all(t).then(()=>{})}let wo=new Map;const fs=new Set;function Ad(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Pd(){const e=wo;return wo=new Map,e}function Zv(e){return"string"==typeof e?e:e.text()}const Xs=new Map;let il,qs,ea,Rd=!0;function nl(e,t){(function Xv(e,t,i){if(t&&t!==i&&Rd)throw new Error(`Duplicate module registered for ${e} - ${p(t)} vs ${p(t.name)}`)})(t,Xs.get(t)||null,e),Xs.set(t,e)}function xd(e){return Xs.get(e)}function qv(e){Rd=!e}function e_(e){il=e}function Fd(){return void 0!==il?il:"undefined"!=typeof document?document:void 0}function rl(){if(void 0===qs&&(qs=null,U.trustedTypes))try{qs=U.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return qs}function Mo(e){var t;return(null===(t=rl())||void 0===t?void 0:t.createHTML(e))||e}function ol(){if(void 0===ea&&(ea=null,U.trustedTypes))try{ea=U.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ea}function kd(e){var t;return(null===(t=ol())||void 0===t?void 0:t.createHTML(e))||e}function Nd(e){var t;return(null===(t=ol())||void 0===t?void 0:t.createScript(e))||e}function Ld(e){var t;return(null===(t=ol())||void 0===t?void 0:t.createScriptURL(e))||e}class ro{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class i_ extends ro{getTypeName(){return"HTML"}}class r_ extends ro{getTypeName(){return"Style"}}class o_ extends ro{getTypeName(){return"Script"}}class s_ extends ro{getTypeName(){return"URL"}}class a_ extends ro{getTypeName(){return"ResourceURL"}}function Nr(e){return e instanceof ro?e.changingThisBreaksApplicationSecurity:e}function So(e,t){const i=jd(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 jd(e){return e instanceof ro&&e.getTypeName()||null}function l_(e){return new i_(e)}function c_(e){return new r_(e)}function u_(e){return new o_(e)}function d_(e){return new s_(e)}function f_(e){return new a_(e)}function Bd(e){const t=new p_(e);return function m_(){try{return!!(new window.DOMParser).parseFromString(Mo(""),"text/html")}catch(e){return!1}}()?new h_(t):t}class h_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(Mo(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class p_{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=Mo(t),i;const s=this.inertDocument.createElement("body");return s.innerHTML=Mo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(t){const i=t.attributes;for(let l=i.length-1;0<l;l--){const D=i.item(l).name;("xmlns:ns1"===D||0===D.indexOf("ns1:"))&&t.removeAttribute(D)}let s=t.firstChild;for(;s;)s.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(s),s=s.nextSibling}}const g_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,v_=/^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 hs(e){return(e=String(e)).match(g_)||e.match(v_)?e:"unsafe:"+e}function Vd(e){return(e=String(e)).split(",").map(t=>hs(t.trim())).join(", ")}function Cr(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function ps(...e){const t={};for(const i of e)for(const s in i)i.hasOwnProperty(s)&&(t[s]=!0);return t}const $d=Cr("area,br,col,hr,img,wbr"),Hd=Cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ud=Cr("rp,rt"),sl=ps($d,ps(Hd,Cr("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")),ps(Ud,Cr("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")),ps(Ud,Hd)),al=Cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ll=Cr("srcset"),zd=ps(al,ll,Cr("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"),Cr("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")),__=Cr("script,style,template");class y_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,s=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?s=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,s&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let l=this.checkClobberedElement(i,i.nextSibling);if(l){i=l;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!sl.hasOwnProperty(i))return this.sanitizedSomething=!0,!__.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const s=t.attributes;for(let l=0;l<s.length;l++){const g=s.item(l),D=g.name,w=D.toLowerCase();if(!zd.hasOwnProperty(w)){this.sanitizedSomething=!0;continue}let I=g.value;al[w]&&(I=hs(I)),ll[w]&&(I=Vd(I)),this.buf.push(" ",D,'="',Wd(I),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();sl.hasOwnProperty(i)&&!$d.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(Wd(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 b_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,C_=/([^\#-~ |!])/g;function Wd(e){return e.replace(/&/g,"&amp;").replace(b_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(C_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ta;function Gd(e,t){let i=null;try{ta=ta||Bd(e);let s=t?String(t):"";i=ta.getInertBodyElement(s);let l=5,g=s;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,s=g,g=i.innerHTML,i=ta.getInertBodyElement(s)}while(s!==g);return Mo((new y_).sanitizeChildren(cl(i)||i))}finally{if(i){const s=cl(i)||i;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function cl(e){return"content"in e&&function D_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Jn=(()=>((Jn=Jn||{})[Jn.NONE=0]="NONE",Jn[Jn.HTML=1]="HTML",Jn[Jn.STYLE=2]="STYLE",Jn[Jn.SCRIPT=3]="SCRIPT",Jn[Jn.URL=4]="URL",Jn[Jn.RESOURCE_URL=5]="RESOURCE_URL",Jn))();function Kd(e){const t=ms();return t?kd(t.sanitize(Jn.HTML,e)||""):So(e,"HTML")?kd(Nr(e)):Gd(Fd(),P(e))}function Yd(e){const t=ms();return t?t.sanitize(Jn.STYLE,e)||"":So(e,"Style")?Nr(e):P(e)}function ul(e){const t=ms();return t?t.sanitize(Jn.URL,e)||"":So(e,"URL")?Nr(e):hs(P(e))}function dl(e){const t=ms();if(t)return Ld(t.sanitize(Jn.RESOURCE_URL,e)||"");if(So(e,"ResourceURL"))return Ld(Nr(e));throw new M(904,!1)}function Qd(e){const t=ms();if(t)return Nd(t.sanitize(Jn.SCRIPT,e)||"");if(So(e,"Script"))return Nd(Nr(e));throw new M(905,!1)}function Zd(e){return Mo(e[0])}function Jd(e){return function n_(e){var t;return(null===(t=rl())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Xd(e,t,i){return function E_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?dl:ul}(t,i)(e)}function ms(){const e=St();return e&&e[12]}const fl=new Pn("ENVIRONMENT_INITIALIZER"),hl=new Pn("INJECTOR",-1),qd=new Pn("INJECTOR_DEF_TYPES");class ef{get(t,i=Kr){if(i===Kr){const s=new Error(`NullInjectorError: No provider for ${p(t)}!`);throw s.name="NullInjectorError",s}return i}}function tf(...e){return{\u0275providers:nf(0,e)}}function nf(e,...t){const i=[],s=new Set;let l;return kr(t,g=>{const D=g;pl(D,i,[],s)&&(l||(l=[]),l.push(D))}),void 0!==l&&rf(l,i),i}function rf(e,t){for(let i=0;i<e.length;i++){const{providers:l}=e[i];kr(l,g=>{t.push(g)})}}function pl(e,t,i,s){if(!(e=v(e)))return!1;let l=null,g=je(e);const D=!g&&q(e);if(g||D){if(D&&!D.standalone)return!1;l=e}else{const I=e.ngModule;if(g=je(I),!g)return!1;l=I}const w=s.has(l);if(D){if(w)return!1;if(s.add(l),D.dependencies){const I="function"==typeof D.dependencies?D.dependencies():D.dependencies;for(const j of I)pl(j,t,i,s)}}else{if(!g)return!1;{if(null!=g.imports&&!w){let j;s.add(l);try{kr(g.imports,ie=>{pl(ie,t,i,s)&&(j||(j=[]),j.push(ie))})}finally{}void 0!==j&&rf(j,t)}if(!w){const j=ni(l)||(()=>new l);t.push({provide:l,useFactory:j,deps:tt},{provide:qd,useValue:l,multi:!0},{provide:fl,useValue:()=>ti(l),multi:!0})}const I=g.providers;null==I||w||kr(I,ie=>{t.push(ie)})}}return l!==e&&void 0!==e.providers}const T_=c({provide:String,useValue:c});function ml(e){return null!==e&&"object"==typeof e&&T_ in e}function oo(e){return"function"==typeof e}const gl=new Pn("Set Injector scope."),na={},M_={};let vl;function ia(){return void 0===vl&&(vl=new ef),vl}class so{}class lf extends so{constructor(t,i,s,l){super(),this.parent=i,this.source=s,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,yl(t,D=>this.processProvider(D)),this.records.set(hl,Io(void 0,this)),l.has("environment")&&this.records.set(so,Io(void 0,this));const g=this.records.get(gl);null!=g&&"string"==typeof g.value&&this.scopes.add(g.value),this.injectorDefTypes=new Set(this.get(qd.multi,tt,Be.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const i=io(this),s=we(void 0);try{return t()}finally{io(i),we(s)}}get(t,i=Kr,s=Be.Default){this.assertNotDestroyed();const l=io(this),g=we(void 0);try{if(!(s&Be.SkipSelf)){let w=this.records.get(t);if(void 0===w){const I=function P_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Pn}(t)&&ct(t);w=I&&this.injectableDefInScope(I)?Io(_l(t),na):null,this.records.set(t,w)}if(null!=w)return this.hydrate(t,w)}return(s&Be.Self?ia():this.parent).get(t,i=s&Be.Optional&&i===Kr?null:i)}catch(D){if("NullInjectorError"===D.name){if((D[Ys]=D[Ys]||[]).unshift(p(t)),l)throw D;return function Wv(e,t,i,s){const l=e[Ys];throw t[Td]&&l.unshift(t[Td]),e.message=function Gv(e,t,i,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=p(t);if(Array.isArray(t))l=t.map(p).join(" -> ");else if("object"==typeof t){let g=[];for(let D in t)if(t.hasOwnProperty(D)){let w=t[D];g.push(D+":"+("string"==typeof w?JSON.stringify(w):p(w)))}l=`{${g.join(", ")}}`}return`${i}${s?"("+s+")":""}[${l}]: ${e.replace($v,"\n ")}`}("\n"+e.message,l,i,s),e.ngTokenPath=l,e[Ys]=null,e}(D,t,"R3InjectorError",this.source)}throw D}finally{we(g),io(l)}}resolveInjectorInitializers(){const t=io(this),i=we(void 0);try{const s=this.get(fl.multi,tt,Be.Self);for(const l of s)l()}finally{io(t),we(i)}}toString(){const t=[],i=this.records;for(const s of i.keys())t.push(p(s));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){let i=oo(t=v(t))?t:v(t&&t.provide);const s=function I_(e){return ml(e)?Io(void 0,e.useValue):Io(cf(e),na)}(t);if(oo(t)||!0!==t.multi)this.records.get(i);else{let l=this.records.get(i);l||(l=Io(void 0,na,!0),l.factory=()=>tl(l.multi),this.records.set(i,l)),i=t,l.multi.push(t)}this.records.set(i,s)}hydrate(t,i){return i.value===na&&(i.value=M_,i.value=i.factory()),"object"==typeof i.value&&i.value&&function A_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=v(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}}function _l(e){const t=ct(e),i=null!==t?t.factory:ni(e);if(null!==i)return i;if(e instanceof Pn)throw new M(204,!1);if(e instanceof Function)return function S_(e){const t=e.length;if(t>0)throw as(t,"?"),new M(204,!1);const i=function gt(e){const t=e&&(e[Te]||e[pe]);if(t){const i=function ut(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 M(204,!1)}function cf(e,t,i){let s;if(oo(e)){const l=v(e);return ni(l)||_l(l)}if(ml(e))s=()=>v(e.useValue);else if(function af(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...tl(e.deps||[]));else if(function sf(e){return!(!e||!e.useExisting)}(e))s=()=>ti(v(e.useExisting));else{const l=v(e&&(e.useClass||e.provide));if(!function O_(e){return!!e.deps}(e))return ni(l)||_l(l);s=()=>new l(...tl(e.deps))}return s}function Io(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function R_(e){return!!e.\u0275providers}function yl(e,t){for(const i of e)Array.isArray(i)?yl(i,t):R_(i)?yl(i.\u0275providers,t):t(i)}class uf{}class ra{}class F_{resolveComponentFactory(t){throw function x_(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 gs=(()=>{class e{}return e.NULL=new F_,e})();function k_(){return Oo(xn(),St())}function Oo(e,t){return new vs(Tn(e,t))}let vs=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=k_,e})();function N_(e){return e instanceof vs?e.nativeElement:e}class ff{}let L_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function j_(){const e=St(),i=Qn(xn().index,e);return(En(i)?i:e)[11]}(),e})(),hf=(()=>{class e{}return e.\u0275prov=ve({token:e,providedIn:"root",factory:()=>null}),e})();class pf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mf=new pf("14.1.3"),oa={},gf={name:"custom-elements"},vf={name:"no-errors-schema"};let bl=!1;function B_(e){bl=e}function V_(){return bl}let Cl=!1;function $_(e){Cl=e}function H_(){return Cl}const El="ngOriginalError";function Tl(e){return e[El]}class _s{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Tl(t);for(;i&&Tl(i);)i=Tl(i);return i||null}}const W_=/^>|^->|<!--|-->|--!>|<!-$/g,G_=/(<|>)/;const wl=new Map;let X_=0;function Ef(e){return wl.get(e)||null}class Tf{constructor(t,i,s){this.lViewId=t,this.nodeIndex=i,this.native=s}get lView(){return Ef(this.lViewId)}}function ui(e){let t=ys(e);if(t){if(En(t)){const i=t;let s,l,g;if(function ny(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(s=Sf(i,e),-1==s)throw new Error("The provided component was not found in the application");l=e}else if(function iy(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(s=function oy(e,t){let i=e[1].firstChild;for(;i;){const l=i.directiveEnd;for(let g=i.directiveStart;g<l;g++)if(e[g]===t)return i.index;i=ry(i)}return-1}(i,e),-1==s)throw new Error("The provided directive was not found in the application");g=If(s,i,!1)}else if(s=Mf(i,e),-1==s)return null;const D=bn(i[s]),w=ys(D),I=w&&!Array.isArray(w)?w:Ml(i,s,D);if(l&&void 0===I.component&&(I.component=l,di(I.component,I)),g&&void 0===I.directives){I.directives=g;for(let j=0;j<g.length;j++)di(g[j],I)}di(I.native,I),t=I}}else{const i=e;let s=i;for(;s=s.parentNode;){const l=ys(s);if(l){const g=Array.isArray(l)?l:l.lView;if(!g)return null;const D=Mf(g,i);if(D>=0){const w=bn(g[D]),I=Ml(g,D,w);di(w,I),t=I;break}}}}return t||null}function Ml(e,t,i){return new Tf(e[20],t,i)}function wf(e){let i,t=ys(e);if(En(t)){const s=t,l=Sf(s,e);i=Qn(l,s);const g=Ml(s,l,i[0]);g.component=e,di(e,g),di(g.native,g)}else i=Qn(t.nodeIndex,t.lView);return i}const Sl="__ngContext__";function di(e,t){En(t)?(e[Sl]=t[20],function ey(e){wl.set(e[20],e)}(t)):e[Sl]=t}function ys(e){const t=e[Sl];return"number"==typeof t?Ef(t):t||null}function Il(e){const t=ys(e);return t?En(t)?t:t.lView:null}function Mf(e,t){const i=e[1];for(let s=22;s<i.bindingStartIndex;s++)if(bn(e[s])===t)return s;return-1}function ry(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 Sf(e,t){const i=e[1].components;if(i)for(let s=0;s<i.length;s++){const l=i[s];if(Qn(l,e)[8]===t)return l}else if(Qn(22,e)[8]===t)return 22;return-1}function If(e,t,i){const s=t[1].data[e];let l=s.directiveStart;return 0==l?tt:(!i&&2&s.flags&&l++,t.slice(l,s.directiveEnd))}const ly=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U))();function Of(e){return e.ownerDocument.defaultView}function Af(e){return e.ownerDocument}function Pf(e){return e.ownerDocument.body}function Lr(e){return e instanceof Function?e():e}var Dr=(()=>((Dr=Dr||{})[Dr.Important=1]="Important",Dr[Dr.DashCase=2]="DashCase",Dr))();let Ol;function Al(e,t){return Ol(e,t)}function bs(e){const t=e[3];return Nn(t)?t[3]:t}function Ff(e){return function hy(e){let t=En(e)?e:Il(e);for(;t&&!(256&t[2]);)t=bs(t);return t}(e)[8]}function Pl(e){return kf(e[13])}function Rl(e){return kf(e[4])}function kf(e){for(;null!==e&&!Nn(e);)e=e[4];return e}function Po(e,t,i,s,l){if(null!=s){let g,D=!1;Nn(s)?g=s:En(s)&&(D=!0,s=s[0]);const w=bn(s);0===e&&null!==i?null==l?$f(t,i,w):ao(t,i,w,l||null,!0):1===e&&null!==i?ao(t,i,w,l||null,!0):2===e?Yf(t,w,D):3===e&&t.destroyNode(w),null!=g&&function My(e,t,i,s,l){const g=i[7];g!==bn(i)&&Po(t,e,s,g,l);for(let w=10;w<i.length;w++){const I=i[w];Cs(I[1],I,e,t,s,g)}}(t,e,g,i,l)}}function xl(e,t){return e.createText(t)}function Nf(e,t,i){e.setValue(t,i)}function py(e,t){return e.createComment(function Df(e){return e.replace(W_,t=>t.replace(G_,"\u200b$1\u200b"))}(t))}function Fl(e,t,i){return e.createElement(t,i)}function Lf(e,t){const i=e[9],s=i.indexOf(t),l=t[3];512&t[2]&&(t[2]&=-513,Et(l,-1)),i.splice(s,1)}function kl(e,t){if(e.length<=10)return;const i=10+t,s=e[i];if(s){const l=s[17];null!==l&&l!==e&&Lf(l,s),t>0&&(e[i-1][4]=s[4]);const g=Gs(e,10+t);!function my(e,t){Cs(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(s[1],s);const D=g[19];null!==D&&D.detachView(g[1]),s[3]=null,s[4]=null,s[2]&=-65}return s}function jf(e,t){if(!(128&t[2])){const i=t[11];i.destroyNode&&Cs(e,t,i,3,null,null),function _y(e){let t=e[13];if(!t)return Nl(e[1],e);for(;t;){let i=null;if(En(t))i=t[13];else{const s=t[10];s&&(i=s)}if(!i){for(;t&&!t[4]&&t!==e;)En(t)&&Nl(t[1],t),t=t[3];null===t&&(t=e),En(t)&&Nl(t[1],t),i=t&&t[4]}t=i}}(t)}}function Nl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Dy(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let s=0;s<i.length;s+=2){const l=t[i[s]];if(!(l instanceof si)){const g=i[s+1];if(Array.isArray(g))for(let D=0;D<g.length;D+=2){const w=l[g[D]],I=g[D+1];Wn(4,w,I);try{I.call(w)}finally{Wn(5,w,I)}}else{Wn(4,l,g);try{g.call(l)}finally{Wn(5,l,g)}}}}}(e,t),function Cy(e,t){const i=e.cleanup,s=t[7];let l=-1;if(null!==i)for(let g=0;g<i.length-1;g+=2)if("string"==typeof i[g]){const D=i[g+1],w="function"==typeof D?D(t):bn(t[D]),I=s[l=i[g+2]],j=i[g+3];"boolean"==typeof j?w.removeEventListener(i[g],I,j):j>=0?s[l=j]():s[l=-j].unsubscribe(),g+=2}else{const D=s[l=i[g+1]];i[g].call(D)}if(null!==s){for(let g=l+1;g<s.length;g++)(0,s[g])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const i=t[17];if(null!==i&&Nn(t[3])){i!==t[3]&&Lf(i,t);const s=t[19];null!==s&&s.detachView(e)}!function ty(e){wl.delete(e[20])}(t)}}function Bf(e,t,i){return Vf(e,t.parent,i)}function Vf(e,t,i){let s=t;for(;null!==s&&40&s.type;)s=(t=s).parent;if(null===s)return i[0];if(2&s.flags){const l=e.data[s.directiveStart].encapsulation;if(l===Pe.None||l===Pe.Emulated)return null}return Tn(s,i)}function ao(e,t,i,s,l){e.insertBefore(t,i,s,l)}function $f(e,t,i){e.appendChild(t,i)}function Hf(e,t,i,s,l){null!==s?ao(e,t,i,s,l):$f(e,t,i)}function sa(e,t){return e.parentNode(t)}function Uf(e,t,i){return Wf(e,t,i)}function zf(e,t,i){return 40&e.type?Tn(e,i):null}let Ll,Wf=zf;function Gf(e,t){Wf=e,Ll=t}function aa(e,t,i,s){const l=Bf(e,s,t),g=t[11],w=Uf(s.parent||t[6],s,t);if(null!=l)if(Array.isArray(i))for(let I=0;I<i.length;I++)Hf(g,l,i[I],w,!1);else Hf(g,l,i,w,!1);void 0!==Ll&&Ll(g,s,t,i,l)}function la(e,t){if(null!==t){const i=t.type;if(3&i)return Tn(t,e);if(4&i)return jl(-1,e[t.index]);if(8&i){const s=t.child;if(null!==s)return la(e,s);{const l=e[t.index];return Nn(l)?jl(-1,l):bn(l)}}if(32&i)return Al(t,e)()||bn(e[t.index]);{const s=Kf(e,t);return null!==s?Array.isArray(s)?s[0]:la(bs(e[16]),s):la(e,t.next)}}return null}function Kf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function jl(e,t){const i=10+e+1;if(i<t.length){const s=t[i],l=s[1].firstChild;if(null!==l)return la(s,l)}return t[7]}function Yf(e,t,i){const s=sa(e,t);s&&function Ey(e,t,i,s){e.removeChild(t,i,s)}(e,s,t,i)}function Bl(e,t,i,s,l,g,D){for(;null!=i;){const w=s[i.index],I=i.type;if(D&&0===t&&(w&&di(bn(w),s),i.flags|=4),64!=(64&i.flags))if(8&I)Bl(e,t,i.child,s,l,g,!1),Po(t,e,l,w,g);else if(32&I){const j=Al(i,s);let ie;for(;ie=j();)Po(t,e,l,ie,g);Po(t,e,l,w,g)}else 16&I?Qf(e,t,s,i,l,g):Po(t,e,l,w,g);i=D?i.projectionNext:i.next}}function Cs(e,t,i,s,l,g){Bl(i,s,e.firstChild,t,l,g,!1)}function Qf(e,t,i,s,l,g){const D=i[16],I=D[6].projection[s.projection];if(Array.isArray(I))for(let j=0;j<I.length;j++)Po(t,e,l,I[j],g);else Bl(e,t,I,D[3],l,g,!0)}function Zf(e,t,i){e.setAttribute(t,"style",i)}function Vl(e,t,i){""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Jf(e,t,i){let s=e.length;for(;;){const l=e.indexOf(t,i);if(-1===l)return l;if(0===l||e.charCodeAt(l-1)<=32){const g=t.length;if(l+g===s||e.charCodeAt(l+g)<=32)return l}i=l+1}}const Xf="ng-template";function Iy(e,t,i){let s=0;for(;s<e.length;){let l=e[s++];if(i&&"class"===l){if(l=e[s],-1!==Jf(l.toLowerCase(),t,0))return!0}else if(1===l){for(;s<e.length&&"string"==typeof(l=e[s++]);)if(l.toLowerCase()===t)return!0;return!1}}return!1}function qf(e){return 4===e.type&&e.value!==Xf}function Oy(e,t,i){return t===(4!==e.type||i?e.value:Xf)}function Ay(e,t,i){let s=4;const l=e.attrs||[],g=function xy(e){for(let t=0;t<e.length;t++)if(Zt(e[t]))return t;return e.length}(l);let D=!1;for(let w=0;w<t.length;w++){const I=t[w];if("number"!=typeof I){if(!D)if(4&s){if(s=2|1&s,""!==I&&!Oy(e,I,i)||""===I&&1===t.length){if(rr(s))return!1;D=!0}}else{const j=8&s?I:t[++w];if(8&s&&null!==e.attrs){if(!Iy(e.attrs,j,i)){if(rr(s))return!1;D=!0}continue}const Ae=Py(8&s?"class":I,l,qf(e),i);if(-1===Ae){if(rr(s))return!1;D=!0;continue}if(""!==j){let st;st=Ae>g?"":l[Ae+1].toLowerCase();const mt=8&s?st:null;if(mt&&-1!==Jf(mt,j,0)||2&s&&j!==st){if(rr(s))return!1;D=!0}}}}else{if(!D&&!rr(s)&&!rr(I))return!1;if(D&&rr(I))continue;D=!1,s=I|1&s}}return rr(s)||D}function rr(e){return 0==(1&e)}function Py(e,t,i,s){if(null===t)return-1;let l=0;if(s||!i){let g=!1;for(;l<t.length;){const D=t[l];if(D===e)return l;if(3===D||6===D)g=!0;else{if(1===D||2===D){let w=t[++l];for(;"string"==typeof w;)w=t[++l];continue}if(4===D)break;if(0===D){l+=4;continue}}l+=g?1:2}return-1}return function Fy(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 eh(e,t,i=!1){for(let s=0;s<t.length;s++)if(Ay(e,t[s],i))return!0;return!1}function ky(e,t){e:for(let i=0;i<t.length;i++){const s=t[i];if(e.length===s.length){for(let l=0;l<e.length;l++)if(e[l]!==s[l])continue e;return!0}}return!1}function th(e,t){return e?":not("+t.trim()+")":t}function Ny(e){let t=e[0],i=1,s=2,l="",g=!1;for(;i<e.length;){let D=e[i];if("string"==typeof D)if(2&s){const w=e[++i];l+="["+D+(w.length>0?'="'+w+'"':"")+"]"}else 8&s?l+="."+D:4&s&&(l+=" "+D);else""!==l&&!rr(D)&&(t+=th(g,l),l=""),s=D,g=g||!rr(s);i++}return""!==l&&(t+=th(g,l)),t}const sn={};function nh(e){ih(on(),St(),pt()+e,!1)}function ih(e,t,i,s){if(!s)if(3==(3&t[2])){const g=e.preOrderCheckHooks;null!==g&&Gn(t,g,i)}else{const g=e.preOrderHooks;null!==g&&ei(t,g,0,i)}wt(i)}const rh={\u0275\u0275defineInjectable:ve,\u0275\u0275defineInjector:Le,\u0275\u0275inject:ti,\u0275\u0275invalidFactoryDep:el,resolveForwardRef:v};const Vy=c({provide:String,useValue:c});function oh(e){return void 0!==e.useClass}function sh(e){return void 0!==e.useFactory}const zy=Co("Injectable",void 0,void 0,void 0,(e,t)=>function By(e,t){let i=null,s=null;e.hasOwnProperty(Te)||Object.defineProperty(e,Te,{get:()=>(null===i&&(i=ri().compileInjectable(rh,`ng:///${e.name}/\u0275prov.js`,function Uy(e,t){const i=t||{providedIn:null},s={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(oh(i)||sh(i))&&void 0!==i.deps&&(s.deps=Id(i.deps)),oh(i)?s.useClass=i.useClass:function $y(e){return Vy in e}(i)?s.useValue=i.useValue:sh(i)?s.useFactory=i.useFactory:function Hy(e){return void 0!==e.useExisting}(i)&&(s.useExisting=i.useExisting),s}(e,t))),i)}),e.hasOwnProperty(Nt)||Object.defineProperty(e,Nt,{get:()=>{if(null===s){const l=ri();s=l.compileFactory(rh,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Js(e),target:l.FactoryTarget.Injectable})}return s},configurable:!0})}(e,t));function $l(e,t=null,i=null,s){const l=ah(e,t,i,s);return l.resolveInjectorInitializers(),l}function ah(e,t=null,i=null,s,l=new Set){const g=[i||tt,tf(e)];return s=s||("object"==typeof e?void 0:p(e)),new lf(g,t||ia(),s||null,l)}let Yr=(()=>{class e{static create(i,s){var l;if(Array.isArray(i))return $l({name:""},s,i,"");{const g=null!==(l=i.name)&&void 0!==l?l:"";return $l({name:g},i.parent,i.providers,g)}}}return e.THROW_IF_NOT_FOUND=Kr,e.NULL=new ef,e.\u0275prov=ve({token:e,providedIn:"any",factory:()=>ti(hl)}),e.__NG_ELEMENT_ID__=-1,e})();function Hl(e){return e.length>1?" ("+function Wy(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 Ul(e,t,i,s){const l=[t],g=i(l),D=s?function z_(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,s=Error(i);return s[El]=t,s}(g,s):Error(g);return D.addKey=Gy,D.keys=l,D.injectors=[e],D.constructResolvingMessage=i,D[El]=s,D}function Gy(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function lh(e,t){const i=[];for(let s=0,l=t.length;s<l;s++){const g=t[s];i.push(g&&0!=g.length?g.map(p).join(" "):"?")}return Error("Cannot resolve all parameters for '"+p(e)+"'("+i.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+p(e)+"' is decorated with Injectable.")}function Xy(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class jr{constructor(t,i){if(this.token=t,this.id=i,!t)throw new M(208,!1);this.displayName=p(this.token)}static get(t){return ch.get(v(t))}static get numberOfKeys(){return ch.numberOfKeys}}class qy{constructor(){this._allKeys=new Map}get(t){if(t instanceof jr)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const i=new jr(t,jr.numberOfKeys);return this._allKeys.set(t,i),i}get numberOfKeys(){return this._allKeys.size}}const ch=new qy;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 eb=[];class uh{constructor(t,i,s){this.key=t,this.resolvedFactories=i,this.multiProvider=s,this.resolvedFactory=this.resolvedFactories[0]}}class dh{constructor(t,i){this.factory=t,this.dependencies=i}}function tb(e){let t,i;if(e.useClass){const s=v(e.useClass);t=ds().factory(s),i=hh(s)}else e.useExisting?(t=s=>s,i=[ca.fromKey(jr.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function ob(e,t){if(t){const i=t.map(s=>[s]);return t.map(s=>ph(e,s,i))}return hh(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,i=eb);return new dh(t,i)}function nb(e){return new uh(jr.get(e.provide),[tb(e)],e.multi||!1)}function ib(e){const s=function rb(e,t){for(let i=0;i<e.length;i++){const s=e[i],l=t.get(s.key.id);if(l){if(s.multiProvider!==l.multiProvider)throw Xy(l,s);if(s.multiProvider)for(let g=0;g<s.resolvedFactories.length;g++)l.resolvedFactories.push(s.resolvedFactories[g]);else t.set(s.key.id,s)}else{let g;g=s.multiProvider?new uh(s.key,s.resolvedFactories.slice(),s.multiProvider):s,t.set(s.key.id,g)}}return t}(fh(e,[]).map(nb),new Map);return Array.from(s.values())}function fh(e,t){return e.forEach(i=>{if(i instanceof Ws)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 Zy(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(i);fh(i,t)}}),t}function hh(e){const t=ds().parameters(e);if(!t)return[];if(t.some(i=>null==i))throw lh(e,t);return t.map(i=>ph(e,i,t))}function ph(e,t,i){let s=null,l=!1;if(!Array.isArray(t))return zl(t instanceof Qs?t.token:t,l,null);let g=null;for(let D=0;D<t.length;++D){const w=t[D];w instanceof Ws?s=w:w instanceof Qs?s=w.token:w instanceof us?l=!0:w instanceof Zs||w instanceof To?g=w:w instanceof Pn&&(s=w)}if(s=v(s),null!=s)return zl(s,l,g);throw lh(e,i)}function zl(e,t,i){return new ca(jr.get(e),t,i)}const Ds={};class Ro{static resolve(t){return ib(t)}static resolveAndCreate(t,i){const s=Ro.resolve(t);return Ro.fromResolvedProviders(s,i)}static fromResolvedProviders(t,i){return new sb(t,i)}}let sb=(()=>{class e{constructor(i,s){this._constructionCounter=0,this._providers=i,this.parent=s||null;const l=i.length;this.keyIds=[],this.objs=[];for(let g=0;g<l;g++)this.keyIds[g]=i[g].key.id,this.objs[g]=Ds}get(i,s=Kr){return this._getByKey(jr.get(i),null,s)}resolveAndCreateChild(i){const s=Ro.resolve(i);return this.createChildFromResolved(s)}createChildFromResolved(i){const s=new e(i);return s.parent=this,s}resolveAndInstantiate(i){return this.instantiateResolved(Ro.resolve([i])[0])}instantiateResolved(i){return this._instantiateProvider(i)}getProviderAtIndex(i){if(i<0||i>=this._providers.length)throw function Jy(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function Yy(e,t){return Ul(e,t,function(i){return`Cannot instantiate cyclic dependency!${Hl(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const s=[];for(let l=0;l<i.resolvedFactories.length;++l)s[l]=this._instantiate(i,i.resolvedFactories[l]);return s}return this._instantiate(i,i.resolvedFactories[0])}_instantiate(i,s){const l=s.factory;let g,D;try{g=s.dependencies.map(w=>this._getByReflectiveDependency(w))}catch(w){throw w.addKey&&w.addKey(this,i.key),w}try{D=l(...g)}catch(w){throw function Qy(e,t,i,s){return Ul(e,s,function(l){const g=p(l[0].token);return`${t.message}: Error during instantiation of ${g}!${Hl(l)}.`},t)}(this,w,0,i.key)}return D}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:Kr)}_getByKey(i,s,l){return i===e.INJECTOR_KEY?this:s instanceof Zs?this._getByKeySelf(i,l):this._getByKeyDefault(i,l,s)}_getObjByKeyId(i){for(let s=0;s<this.keyIds.length;s++)if(this.keyIds[s]===i)return this.objs[s]===Ds&&(this.objs[s]=this._new(this._providers[s])),this.objs[s];return Ds}_throwOrNull(i,s){if(s!==Kr)return s;throw function Ky(e,t){return Ul(e,t,function(i){return`No provider for ${p(i[0].token)}!${Hl(i)}`})}(this,i)}_getByKeySelf(i,s){const l=this._getObjByKeyId(i.id);return l!==Ds?l:this._throwOrNull(i,s)}_getByKeyDefault(i,s,l){let g;for(g=l instanceof To?this.parent:this;g instanceof e;){const D=g,w=D._getObjByKeyId(i.id);if(w!==Ds)return w;g=D.parent}return null!==g?g.get(i.token,s):this._throwOrNull(i,s)}get displayName(){return`ReflectiveInjector(providers: [${function ab(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=jr.get(Yr),e})();function xo(e,t=Be.Default){const i=St();return null===i?ti(e,t):dd(xn(),i,v(e),t)}function mh(){throw new Error("invalid")}function ua(e,t){return e<<17|t<<2}function or(e){return e>>17&32767}function Wl(e){return 2|e}function Br(e){return(131068&e)>>2}function Gl(e,t){return-131069&e|t<<2}function Kl(e){return 1|e}const tc=(()=>Promise.resolve(null))();function Mh(e,t){const i=e.contentQueries;if(null!==i)for(let s=0;s<i.length;s+=2){const l=i[s],g=i[s+1];if(-1!==g){const D=e.data[g];es(l),D.contentQueries(2,t[g],g)}}}function ha(e,t,i,s,l,g,D,w,I,j,ie){const Ae=t.blueprint.slice();return Ae[0]=l,Ae[2]=76|s,(null!==ie||e&&1024&e[2])&&(Ae[2]|=1024),Je(Ae),Ae[3]=Ae[15]=e,Ae[8]=i,Ae[10]=D||e&&e[10],Ae[11]=w||e&&e[11],Ae[12]=I||e&&e[12]||null,Ae[9]=j||e&&e[9]||null,Ae[6]=g,Ae[20]=function q_(){return X_++}(),Ae[21]=ie,Ae[16]=2==t.type?e[16]:Ae,Ae}function Fo(e,t,i,s,l){let g=e.data[t];if(null===g)g=nc(e,t,i,s,l),function Ls(){return _t.lFrame.inI18n}()&&(g.flags|=64);else if(64&g.type){g.type=i,g.value=s,g.attrs=l;const D=Hi();g.injectorIndex=null===D?-1:D.injectorIndex}return k(g,!0),g}function nc(e,t,i,s,l){const g=tr(),D=A(),I=e.data[t]=function Tb(e,t,i,s,l,g){return{type:i,index:s,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:l,attrs:g,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,D?g:g&&g.parent,i,t,s,l);return null===e.firstChild&&(e.firstChild=I),null!==g&&(D?null==g.child&&null!==I.parent&&(g.child=I):null===g.next&&(g.next=I)),I}function ko(e,t,i,s){if(0===i)return-1;const l=t.length;for(let g=0;g<i;g++)t.push(s),e.blueprint.push(s),e.data.push(null);return l}function pa(e,t,i){Z(t);try{const s=e.viewQuery;null!==s&&dc(1,s,i);const l=e.template;null!==l&&Sh(e,t,l,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Mh(e,t),e.staticViewQueries&&dc(2,e.viewQuery,i);const g=e.components;null!==g&&function bb(e,t){for(let i=0;i<t.length;i++)Vb(e,t[i])}(t,g)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),s}finally{t[2]&=-5,Se()}}function Es(e,t,i,s){const l=t[2];if(128!=(128&l)){Z(t);try{Je(t),Rr(e.bindingStartIndex),null!==i&&Sh(e,t,i,2,s);const D=3==(3&l);if(D){const j=e.preOrderCheckHooks;null!==j&&Gn(t,j,null)}else{const j=e.preOrderHooks;null!==j&&ei(t,j,0,null),Kn(t,0)}if(function jb(e){for(let t=Pl(e);null!==t;t=Rl(t)){if(!t[2])continue;const i=t[9];for(let s=0;s<i.length;s++){const l=i[s],g=l[3];0==(512&l[2])&&Et(g,1),l[2]|=512}}}(t),function Lb(e){for(let t=Pl(e);null!==t;t=Rl(t))for(let i=10;i<t.length;i++){const s=t[i],l=s[1];se(s)&&Es(l,s,l.template,s[8])}}(t),null!==e.contentQueries&&Mh(e,t),D){const j=e.contentCheckHooks;null!==j&&Gn(t,j)}else{const j=e.contentHooks;null!==j&&ei(t,j,1),Kn(t,1)}!function _b(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let s=0;s<i.length;s++){const l=i[s];if(l<0)wt(~l);else{const g=l,D=i[++s],w=i[++s];Ua(D,g),w(2,t[g])}}}finally{wt(-1)}}(e,t);const w=e.components;null!==w&&function yb(e,t){for(let i=0;i<t.length;i++)Bb(e,t[i])}(t,w);const I=e.viewQuery;if(null!==I&&dc(2,I,s),D){const j=e.viewCheckHooks;null!==j&&Gn(t,j)}else{const j=e.viewHooks;null!==j&&ei(t,j,2),Kn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Et(t[3],-1))}finally{Se()}}}function Cb(e,t,i,s){const l=t[10],D=F(t);try{!D&&l.begin&&l.begin(),D&&pa(e,t,s),Es(e,t,i,s)}finally{!D&&l.end&&l.end()}}function Sh(e,t,i,s,l){const g=pt(),D=2&s;try{wt(-1),D&&t.length>22&&ih(e,t,22,!1),Wn(D?2:0,l),i(s,l)}finally{wt(g),Wn(D?3:1,l)}}function Ih(e,t,i){if(Ti(t)){const l=t.directiveEnd;for(let g=t.directiveStart;g<l;g++){const D=e.data[g];D.contentQueries&&D.contentQueries(1,i[g],g)}}}function ic(e,t,i){!$n()||(function Ob(e,t,i,s){const l=i.directiveStart,g=i.directiveEnd;e.firstCreatePass||is(i,t),di(s,t);const D=i.initialInputs;for(let w=l;w<g;w++){const I=e.data[w],j=Ln(I);j&&Fb(t,i,I);const ie=rs(t,e,w,i);di(ie,t),null!==D&&kb(0,w-l,ie,I,0,D),j&&(Qn(i.index,t)[8]=ie)}}(e,t,i,Tn(i,t)),128==(128&i.flags)&&function Ab(e,t,i){const s=i.directiveStart,l=i.directiveEnd,g=i.index,D=function Bs(){return _t.lFrame.currentDirectiveIndex}();try{wt(g);for(let w=s;w<l;w++){const I=e.data[w],j=t[w];qr(w),(null!==I.hostBindings||0!==I.hostVars||null!==I.hostAttrs)&&kh(I,j)}}finally{wt(-1),qr(D)}}(e,t,i))}function rc(e,t,i=Tn){const s=t.localNames;if(null!==s){let l=t.index+1;for(let g=0;g<s.length;g+=2){const D=s[g+1],w=-1===D?i(t,e):e[D];e[l++]=w}}}function Oh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=oc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function oc(e,t,i,s,l,g,D,w,I,j){const ie=22+s,Ae=ie+l,st=function Db(e,t){const i=[];for(let s=0;s<t;s++)i.push(s<e?null:sn);return i}(ie,Ae),mt="function"==typeof j?j():j;return st[1]={type:e,blueprint:st,template:i,queries:null,viewQuery:w,declTNode:t,data:st.slice().fill(null,ie),bindingStartIndex:ie,expandoStartIndex:Ae,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 D?D():D,firstChild:null,schemas:I,consts:mt,incompleteFirstPass:!1}}function Ah(e,t,i,s){const l=Hh(t);null===i?l.push(s):(l.push(i),e.firstCreatePass&&Uh(e).push(s,l.length-1))}function Ph(e,t,i){for(let s in e)if(e.hasOwnProperty(s)){const l=e[s];(i=null===i?{}:i).hasOwnProperty(s)?i[s].push(t,l):i[s]=[t,l]}return i}function Rh(e,t){const s=t.directiveEnd,l=e.data,g=t.attrs,D=[];let w=null,I=null;for(let j=t.directiveStart;j<s;j++){const ie=l[j],Ae=ie.inputs,st=null===g||qf(t)?null:Nb(Ae,g);D.push(st),w=Ph(Ae,j,w),I=Ph(ie.outputs,j,I)}null!==w&&(w.hasOwnProperty("class")&&(t.flags|=16),w.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=D,t.inputs=w,t.outputs=I}function Fi(e,t,i,s,l,g,D,w){const I=Tn(t,i);let ie,j=t.inputs;!w&&null!=j&&(ie=j[s])?(fc(e,i,ie,s,l),wi(t)&&xh(i,t.index)):3&t.type&&(s=function wb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(s),l=null!=D?D(l,t.value||"",s):l,g.setProperty(I,s,l))}function xh(e,t){const i=Qn(t,e);16&i[2]||(i[2]|=32)}function sc(e,t,i,s){let l=!1;if($n()){const g=function Pb(e,t,i){const s=e.directiveRegistry;let l=null;if(s)for(let g=0;g<s.length;g++){const D=s[g];eh(i,D.selectors,!1)&&(l||(l=[]),Us(is(i,t),e,D.type),Ln(D)?(Nh(e,i),l.unshift(D)):l.push(D))}return l}(e,t,i),D=null===s?null:{"":-1};if(null!==g){l=!0,Lh(i,e.data.length,g.length);for(let ie=0;ie<g.length;ie++){const Ae=g[ie];Ae.providersResolver&&Ae.providersResolver(Ae)}let w=!1,I=!1,j=ko(e,t,g.length,null);for(let ie=0;ie<g.length;ie++){const Ae=g[ie];i.mergedAttrs=An(i.mergedAttrs,Ae.hostAttrs),jh(e,i,t,j,Ae),xb(j,Ae,D),null!==Ae.contentQueries&&(i.flags|=8),(null!==Ae.hostBindings||null!==Ae.hostAttrs||0!==Ae.hostVars)&&(i.flags|=128);const st=Ae.type.prototype;!w&&(st.ngOnChanges||st.ngOnInit||st.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i.index),w=!0),!I&&(st.ngOnChanges||st.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i.index),I=!0),j++}Rh(e,i)}D&&function Rb(e,t,i){if(t){const s=e.localNames=[];for(let l=0;l<t.length;l+=2){const g=i[t[l+1]];if(null==g)throw new M(-301,!1);s.push(t[l],g)}}}(i,s,D)}return i.mergedAttrs=An(i.mergedAttrs,i.attrs),l}function Fh(e,t,i,s,l,g){const D=g.hostBindings;if(D){let w=e.hostBindingOpCodes;null===w&&(w=e.hostBindingOpCodes=[]);const I=~t.index;(function Ib(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(w)!=I&&w.push(I),w.push(s,l,D)}}function kh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Nh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function xb(e,t,i){if(i){if(t.exportAs)for(let s=0;s<t.exportAs.length;s++)i[t.exportAs[s]]=e;Ln(t)&&(i[""]=e)}}function Lh(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function jh(e,t,i,s,l){e.data[s]=l;const g=l.factory||(l.factory=ni(l.type)),D=new si(g,Ln(l),xo);e.blueprint[s]=D,i[s]=D,Fh(e,t,0,s,ko(e,i,l.hostVars,sn),l)}function Fb(e,t,i){const s=Tn(t,e),l=Oh(i),g=e[10],D=ma(e,ha(e,l,null,i.onPush?32:16,s,t,g,g.createRenderer(s,i),null,null,null));e[t.index]=D}function Er(e,t,i,s,l,g){const D=Tn(e,t);ac(t[11],D,g,e.value,i,s,l)}function ac(e,t,i,s,l,g,D){if(null==g)e.removeAttribute(t,l,i);else{const w=null==D?P(g):D(g,s||"",l);e.setAttribute(t,l,w,i)}}function kb(e,t,i,s,l,g){const D=g[t];if(null!==D){const w=s.setInput;for(let I=0;I<D.length;){const j=D[I++],ie=D[I++],Ae=D[I++];null!==w?s.setInput(i,Ae,j,ie):i[ie]=Ae}}}function Nb(e,t){let i=null,s=0;for(;s<t.length;){const l=t[s];if(0!==l)if(5!==l){if("number"==typeof l)break;e.hasOwnProperty(l)&&(null===i&&(i=[]),i.push(l,e[l],t[s+1])),s+=2}else s+=2;else s+=4}return i}function Bh(e,t,i,s){return new Array(e,!0,!1,t,null,0,s,i,null,null)}function Bb(e,t){const i=Qn(t,e);if(se(i)){const s=i[1];48&i[2]?Es(s,i,s.template,i[8]):i[5]>0&&lc(i)}}function lc(e){for(let s=Pl(e);null!==s;s=Rl(s))for(let l=10;l<s.length;l++){const g=s[l];if(se(g))if(512&g[2]){const D=g[1];Es(D,g,D.template,g[8])}else g[5]>0&&lc(g)}const i=e[1].components;if(null!==i)for(let s=0;s<i.length;s++){const l=Qn(i[s],e);se(l)&&l[5]>0&&lc(l)}}function Vb(e,t){const i=Qn(t,e),s=i[1];(function $b(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])})(s,i),pa(s,i,i[8])}function ma(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function cc(e){for(;e;){e[2]|=32;const t=bs(e);if(Ni(e)&&!t)return e;e=t}return null}function Vh(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],s=Il(i);if(null!==s){const l=s[1];Cb(l,s,l.template,i)}}}function uc(e,t,i){const s=t[10];s.begin&&s.begin();try{Es(e,t,e.template,i)}catch(l){throw Wh(t,l),l}finally{s.end&&s.end()}}function dc(e,t,i){es(0),t(e,i)}const Ub=tc;function Hh(e){return e[7]||(e[7]=[])}function Uh(e){return e.cleanup||(e.cleanup=[])}function zh(e,t,i){return(null===e||Ln(e))&&(i=function vr(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(i[t.index])),i[11]}function Wh(e,t){const i=e[9],s=i?i.get(_s,null):null;s&&s.handleError(t)}function fc(e,t,i,s,l){for(let g=0;g<i.length;){const D=i[g++],w=i[g++],I=t[D],j=e.data[D];null!==j.setInput?j.setInput(I,l,s,w):I[w]=l}}function Vr(e,t,i){const s=In(t,e);Nf(e[11],s,i)}function ga(e,t,i){let s=i?e.styles:null,l=i?e.classes:null,g=0;if(null!==t)for(let D=0;D<t.length;D++){const w=t[D];"number"==typeof w?g=w:1==g?l=_(l,w):2==g&&(s=_(s,w+": "+t[++D]+";"))}i?e.styles=s:e.stylesWithoutHost=s,i?e.classes=l:e.classesWithoutHost=l}function va(e,t,i,s,l=!1){for(;null!==i;){const g=t[i.index];if(null!==g&&s.push(bn(g)),Nn(g))for(let w=10;w<g.length;w++){const I=g[w],j=I[1].firstChild;null!==j&&va(I[1],I,j,s)}const D=i.type;if(8&D)va(e,t,i.child,s);else if(32&D){const w=Al(i,t);let I;for(;I=w();)s.push(I)}else if(16&D){const w=Kf(t,i);if(Array.isArray(w))s.push(...w);else{const I=bs(t[16]);va(I[1],I,w,s,!0)}}i=l?i.projectionNext:i.next}return s}class No{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 va(i,t,i.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Nn(t)){const i=t[8],s=i?i.indexOf(this):-1;s>-1&&(kl(t,s),Gs(i,s))}this._attachedToViewContainer=!1}jf(this._lView[1],this._lView)}onDestroy(t){Ah(this._lView[1],this._lView,null,t)}markForCheck(){cc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){uc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vy(e,t){Cs(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t}}class zb extends No{constructor(t){super(t),this._view=t}detectChanges(){!function $h(e){Vh(e[8])}(this._view)}checkNoChanges(){}get context(){return null}}class hc extends gs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=q(t);return new Lo(i,this.ngModule)}}function Gh(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class Gb{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,s){const l=this.injector.get(t,oa,s);return l!==oa||i===oa?l:this.parentInjector.get(t,i,s)}}class Lo extends ra{constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Ly(e){return e.map(Ny).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return Gh(this.componentDef.inputs)}get outputs(){return Gh(this.componentDef.outputs)}create(t,i,s,l){let g=(l=l||this.ngModule)instanceof so?l:null==l?void 0:l.injector;g&&null!==this.componentDef.getStandaloneInjector&&(g=this.componentDef.getStandaloneInjector(g)||g);const D=g?new Gb(t,g):t,w=D.get(ff,null);if(null===w)throw new M(407,!1);const I=D.get(hf,null),j=w.createRenderer(null,this.componentDef),ie=this.componentDef.selectors[0][0]||"div",Ae=s?function Eb(e,t,i){return e.selectRootElement(t,i===Pe.ShadowDom)}(j,s,this.componentDef.encapsulation):Fl(w.createRenderer(null,this.componentDef),ie,function Wb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(ie)),st=this.componentDef.onPush?288:272,mt=function Zb(e,t){return{components:[],scheduler:e||ly,clean:Ub,playerHandler:t||null,flags:0}}(),Mt=oc(0,null,null,1,0,null,null,null,null,null),Rt=ha(null,Mt,mt,st,null,null,w,j,I,D,null);let kt,Vt;Z(Rt);try{const qt=function Yb(e,t,i,s,l,g){const D=i[1];i[22]=e;const I=Fo(D,22,2,"#host",null),j=I.mergedAttrs=t.hostAttrs;null!==j&&(ga(I,j,!0),null!==e&&(Gt(l,e,j),null!==I.classes&&Vl(l,e,I.classes),null!==I.styles&&Zf(l,e,I.styles)));const ie=s.createRenderer(e,t),Ae=ha(i,Oh(t),null,t.onPush?32:16,i[22],I,s,ie,g||null,null,null);return D.firstCreatePass&&(Us(is(I,i),D,t.type),Nh(D,I),Lh(I,i.length,1)),ma(i,Ae),i[22]=Ae}(Ae,this.componentDef,Rt,w,j);if(Ae)if(s)Gt(j,Ae,["ng-version",mf.full]);else{const{attrs:Ot,classes:Qt}=function jy(e){const t=[],i=[];let s=1,l=2;for(;s<e.length;){let g=e[s];if("string"==typeof g)2===l?""!==g&&t.push(g,e[++s]):8===l&&i.push(g);else{if(!rr(l))break;l=g}s++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);Ot&&Gt(j,Ae,Ot),Qt&&Qt.length>0&&Vl(j,Ae,Qt.join(" "))}if(Vt=er(Mt,22),void 0!==i){const Ot=Vt.projection=[];for(let Qt=0;Qt<this.ngContentSelectors.length;Qt++){const mn=i[Qt];Ot.push(null!=mn?Array.from(mn):null)}}kt=function Qb(e,t,i,s,l){const g=i[1],D=function Sb(e,t,i){const s=xn();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),jh(e,s,t,ko(e,t,1,null),i),Rh(e,s));const l=rs(t,e,s.directiveStart,s);di(l,t);const g=Tn(s,t);return g&&di(g,t),l}(g,i,t);if(s.components.push(D),e[8]=D,null!==l)for(const I of l)I(D,t);if(t.contentQueries){const I=xn();t.contentQueries(1,D,I.directiveStart)}const w=xn();return!g.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(wt(w.index),Fh(i[1],w,0,w.directiveStart,w.directiveEnd,t),kh(t,D)),D}(qt,this.componentDef,Rt,mt,[Yh]),pa(Mt,Rt,null)}finally{Se()}return new Kh(this.componentType,kt,Oo(Vt,Rt),Rt,Vt)}}class Kh extends uf{constructor(t,i,s,l,g){super(),this.location=s,this._rootLView=l,this._tNode=g,this.instance=i,this.hostView=this.changeDetectorRef=new zb(l),this.componentType=t}setInput(t,i){const s=this._tNode.inputs;let l;if(null!==s&&(l=s[t])){const g=this._rootLView;fc(g[1],g,l,t,i),xh(g,this._tNode.index)}}get injector(){return new vo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Yh(){const e=xn();wn(St()[1],e)}function Jb(e){return Ff(e).clean}function Qh(e){return Object.getPrototypeOf(e.prototype).constructor}function pc(e){let t=Qh(e.type),i=!0;const s=[e];for(;t;){let l;if(Ln(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);l=t.\u0275dir}if(l){if(i){s.push(l);const D=e;D.inputs=mc(e.inputs),D.declaredInputs=mc(e.declaredInputs),D.outputs=mc(e.outputs);const w=l.hostBindings;w&&t0(e,w);const I=l.viewQuery,j=l.contentQueries;if(I&&qb(e,I),j&&e0(e,j),d(e.inputs,l.inputs),d(e.declaredInputs,l.declaredInputs),d(e.outputs,l.outputs),Ln(l)&&l.data.animation){const ie=e.data;ie.animation=(ie.animation||[]).concat(l.data.animation)}}const g=l.features;if(g)for(let D=0;D<g.length;D++){const w=g[D];w&&w.ngInherit&&w(e),w===pc&&(i=!1)}}t=Object.getPrototypeOf(t)}!function Xb(e){let t=0,i=null;for(let s=e.length-1;s>=0;s--){const l=e[s];l.hostVars=t+=l.hostVars,l.hostAttrs=An(l.hostAttrs,i=An(i,l.hostAttrs))}}(s)}function mc(e){return e===ke?{}:e===tt?[]:e}function qb(e,t){const i=e.viewQuery;e.viewQuery=i?(s,l)=>{t(s,l),i(s,l)}:t}function e0(e,t){const i=e.contentQueries;e.contentQueries=i?(s,l,g)=>{t(s,l,g),i(s,l,g)}:t}function t0(e,t){const i=e.hostBindings;e.hostBindings=i?(s,l)=>{t(s,l),i(s,l)}:t}const n0=["providersResolver"],r0=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Zh(e){let i,t=Qh(e.type);i=Ln(e)?t.\u0275cmp:t.\u0275dir;const s=e;for(const l of n0)s[l]=i[l];if(Ln(i))for(const l of r0)s[l]=i[l]}let ya=null;function lo(){if(!ya){const e=U.Symbol;if(e&&e.iterator)ya=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&&(ya=s)}}}return ya}function Ts(e){return!!gc(e)&&(Array.isArray(e)||!(e instanceof Map)&&lo()in e)}function gc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Jh(e,t){const i=Ts(e),s=Ts(t);return i&&s?function o0(e,t,i){const s=e[lo()](),l=t[lo()]();for(;;){const g=s.next(),D=l.next();if(g.done&&D.done)return!0;if(g.done||D.done||!i(g.value,D.value))return!1}}(e,t,Jh):!(i||!e||"object"!=typeof e&&"function"!=typeof e||s||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Tr(e,t,i){return e[t]=i}function ws(e,t){return e[t]}function fi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function co(e,t,i,s){const l=fi(e,t,i);return fi(e,t+1,s)||l}function ba(e,t,i,s,l){const g=co(e,t,i,s);return fi(e,t+2,l)||g}function Ui(e,t,i,s,l,g){const D=co(e,t,i,s);return co(e,t+2,l,g)||D}function vc(e,t,i,s){const l=St();return fi(l,Ur(),t)&&(on(),Er(Pt(),l,e,t,i,s)),vc}function jo(e,t){let i=!1,s=li();for(let g=1;g<t.length;g+=2)i=fi(e,s++,t[g])||i;if(Rr(s),!i)return sn;let l=t[0];for(let g=1;g<t.length;g+=2)l+=P(t[g])+t[g+1];return l}function Bo(e,t,i,s){return fi(e,Ur(),i)?t+P(i)+s:sn}function Vo(e,t,i,s,l,g){const w=co(e,li(),i,l);return nr(2),w?t+P(i)+s+P(l)+g:sn}function $o(e,t,i,s,l,g,D,w){const j=ba(e,li(),i,l,D);return nr(3),j?t+P(i)+s+P(l)+g+P(D)+w:sn}function Ho(e,t,i,s,l,g,D,w,I,j){const Ae=Ui(e,li(),i,l,D,I);return nr(4),Ae?t+P(i)+s+P(l)+g+P(D)+w+P(I)+j:sn}function Uo(e,t,i,s,l,g,D,w,I,j,ie,Ae){const st=li();let mt=Ui(e,st,i,l,D,I);return mt=fi(e,st+4,ie)||mt,nr(5),mt?t+P(i)+s+P(l)+g+P(D)+w+P(I)+j+P(ie)+Ae:sn}function zo(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt){const Mt=li();let Rt=Ui(e,Mt,i,l,D,I);return Rt=co(e,Mt+4,ie,st)||Rt,nr(6),Rt?t+P(i)+s+P(l)+g+P(D)+w+P(I)+j+P(ie)+Ae+P(st)+mt:sn}function Wo(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt){const kt=li();let Vt=Ui(e,kt,i,l,D,I);return Vt=ba(e,kt+4,ie,st,Mt)||Vt,nr(7),Vt?t+P(i)+s+P(l)+g+P(D)+w+P(I)+j+P(ie)+Ae+P(st)+mt+P(Mt)+Rt:sn}function Go(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt,Vt){const qt=li();let Ot=Ui(e,qt,i,l,D,I);return Ot=Ui(e,qt+4,ie,st,Mt,kt)||Ot,nr(8),Ot?t+P(i)+s+P(l)+g+P(D)+w+P(I)+j+P(ie)+Ae+P(st)+mt+P(Mt)+Rt+P(kt)+Vt:sn}function _c(e,t,i,s,l,g){const D=St(),w=Bo(D,t,i,s);return w!==sn&&Er(Pt(),D,e,w,l,g),_c}function yc(e,t,i,s,l,g,D,w){const I=St(),j=Vo(I,t,i,s,l,g);return j!==sn&&Er(Pt(),I,e,j,D,w),yc}function bc(e,t,i,s,l,g,D,w,I,j){const ie=St(),Ae=$o(ie,t,i,s,l,g,D,w);return Ae!==sn&&Er(Pt(),ie,e,Ae,I,j),bc}function Cc(e,t,i,s,l,g,D,w,I,j,ie,Ae){const st=St(),mt=Ho(st,t,i,s,l,g,D,w,I,j);return mt!==sn&&Er(Pt(),st,e,mt,ie,Ae),Cc}function Dc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt){const Mt=St(),Rt=Uo(Mt,t,i,s,l,g,D,w,I,j,ie,Ae);return Rt!==sn&&Er(Pt(),Mt,e,Rt,st,mt),Dc}function Ec(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt){const kt=St(),Vt=zo(kt,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt);return Vt!==sn&&Er(Pt(),kt,e,Vt,Mt,Rt),Ec}function Tc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt,Vt){const qt=St(),Ot=Wo(qt,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt);return Ot!==sn&&Er(Pt(),qt,e,Ot,kt,Vt),Tc}function wc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt,Vt,qt,Ot){const Qt=St(),mn=Go(Qt,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt,Vt);return mn!==sn&&Er(Pt(),Qt,e,mn,qt,Ot),wc}function Mc(e,t,i,s){const l=St(),g=jo(l,t);return g!==sn&&Er(Pt(),l,e,g,i,s),Mc}function Xh(e){const t=wf(e);uc(t[1],t,e)}function qh(e){!function Hb(e,t){if(0===e.flags&&e.clean==tc){let s;e.flags|=t,e.clean=new Promise(l=>s=l),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Vh(e)),2&e.flags){e.flags&=-3;const l=e.playerHandler;l&&l.flushPlayers()}e.clean=tc,s(null)})}}(cc(wf(e))[8],1)}function ep(e,t,i,s,l,g,D,w){const I=St(),j=on(),ie=e+22,Ae=j.firstCreatePass?function a0(e,t,i,s,l,g,D,w,I){const j=t.consts,ie=Fo(t,e,4,D||null,he(j,w));sc(t,i,ie,he(j,I)),wn(t,ie);const Ae=ie.tViews=oc(2,ie,s,l,g,t.directiveRegistry,t.pipeRegistry,null,t.schemas,j);return null!==t.queries&&(t.queries.template(t,ie),Ae.queries=t.queries.embeddedTView(ie)),ie}(ie,j,I,t,i,s,l,g,D):j.data[ie];k(Ae,!1);const st=I[11].createComment("");aa(j,I,st,Ae),di(st,I),ma(I,I[ie]=Bh(st,I,st,Ae)),bi(Ae)&&ic(j,I,Ae),null!=D&&rc(I,Ae,w)}function tp(e,t,i,s){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=s}function np(e){return gi(function Ct(){return _t.lFrame.contextLView}(),22+e)}function Sc(e,t,i){const s=St();return fi(s,Ur(),t)&&Fi(on(),Pt(),s,e,t,s[11],i,!1),Sc}function Ic(e,t,i,s,l){const D=l?"class":"style";fc(e,i,t.inputs[D],D,s)}function Ca(e,t,i,s){const l=St(),g=on(),D=22+e,w=l[11],I=l[D]=Fl(w,t,function tn(){return _t.lFrame.currentNamespace}()),j=g.firstCreatePass?function l0(e,t,i,s,l,g,D){const w=t.consts,j=Fo(t,e,2,l,he(w,g));return sc(t,i,j,he(w,D)),null!==j.attrs&&ga(j,j.attrs,!1),null!==j.mergedAttrs&&ga(j,j.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,j),j}(D,g,l,0,t,i,s):g.data[D];k(j,!0);const ie=j.mergedAttrs;null!==ie&&Gt(w,I,ie);const Ae=j.classes;null!==Ae&&Vl(w,I,Ae);const st=j.styles;return null!==st&&Zf(w,I,st),64!=(64&j.flags)&&aa(g,l,I,j),0===function Cn(){return _t.lFrame.elementDepthCount}()&&di(I,l),function Sn(){_t.lFrame.elementDepthCount++}(),bi(j)&&(ic(g,l,j),Ih(g,j,l)),null!==s&&rc(l,j),Ca}function Da(){let e=xn();A()?S():(e=e.parent,k(e,!1));const t=e;!function fn(){_t.lFrame.elementDepthCount--}();const i=on();return i.firstCreatePass&&(wn(i,e),Ti(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function to(e){return 0!=(16&e.flags)}(t)&&Ic(i,t,St(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function zr(e){return 0!=(32&e.flags)}(t)&&Ic(i,t,St(),t.stylesWithoutHost,!1),Da}function Oc(e,t,i,s){return Ca(e,t,i,s),Da(),Oc}function Ea(e,t,i){const s=St(),l=on(),g=e+22,D=l.firstCreatePass?function c0(e,t,i,s,l){const g=t.consts,D=he(g,s),w=Fo(t,e,8,"ng-container",D);return null!==D&&ga(w,D,!0),sc(t,i,w,he(g,l)),null!==t.queries&&t.queries.elementStart(t,w),w}(g,l,s,t,i):l.data[g];k(D,!0);const w=s[g]=s[11].createComment("");return aa(l,s,w,D),di(w,s),bi(D)&&(ic(l,s,D),Ih(l,D,s)),null!=i&&rc(s,D),Ea}function Ta(){let e=xn();const t=on();return A()?S():(e=e.parent,k(e,!1)),t.firstCreatePass&&(wn(t,e),Ti(e)&&t.queries.elementEnd(e)),Ta}function Ac(e,t,i){return Ea(e,t,i),Ta(),Ac}function ip(){return St()}function Pc(e){return!!e&&"function"==typeof e.then}function rp(e){return!!e&&"function"==typeof e.subscribe}const op=rp;function Rc(e,t,i,s){const l=St(),g=on(),D=xn();return sp(g,l,l[11],D,e,t,0,s),Rc}function xc(e,t){const i=xn(),s=St(),l=on();return sp(l,s,zh(eo(l.data),i,s),i,e,t),xc}function sp(e,t,i,s,l,g,D,w){const I=bi(s),ie=e.firstCreatePass&&Uh(e),Ae=t[8],st=Hh(t);let mt=!0;if(3&s.type||w){const kt=Tn(s,t),Vt=w?w(kt):kt,qt=st.length,Ot=w?mn=>w(bn(mn[s.index])):s.index;let Qt=null;if(!w&&I&&(Qt=function u0(e,t,i,s){const l=e.cleanup;if(null!=l)for(let g=0;g<l.length-1;g+=2){const D=l[g];if(D===i&&l[g+1]===s){const w=t[7],I=l[g+2];return w.length>I?w[I]:null}"string"==typeof D&&(g+=2)}return null}(e,t,l,s.index)),null!==Qt)(Qt.__ngLastListenerFn__||Qt).__ngNextListenerFn__=g,Qt.__ngLastListenerFn__=g,mt=!1;else{g=lp(s,t,Ae,g,!1);const mn=i.listen(Vt,l,g);st.push(g,mn),ie&&ie.push(l,Ot,qt,qt+1)}}else g=lp(s,t,Ae,g,!1);const Mt=s.outputs;let Rt;if(mt&&null!==Mt&&(Rt=Mt[l])){const kt=Rt.length;if(kt)for(let Vt=0;Vt<kt;Vt+=2){const Vn=t[Rt[Vt]][Rt[Vt+1]].subscribe(g),mo=st.length;st.push(g,Vn),ie&&ie.push(l,s.index,mo,-(mo+1))}}}function ap(e,t,i,s){try{return Wn(6,t,i),!1!==i(s)}catch(l){return Wh(e,l),!1}finally{Wn(7,t,i)}}function lp(e,t,i,s,l){return function g(D){if(D===Function)return s;cc(2&e.flags?Qn(e.index,t):t);let I=ap(t,i,s,D),j=g.__ngNextListenerFn__;for(;j;)I=ap(t,i,j,D)&&I,j=j.__ngNextListenerFn__;return l&&!1===I&&(D.preventDefault(),D.returnValue=!1),I}}function cp(e=1){return function nt(e){return(_t.lFrame.contextLView=function ot(e,t){for(;e>0;)t=t[15],e--;return t}(e,_t.lFrame.contextLView))[8]}(e)}function d0(e,t){let i=null;const s=function Ry(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e);for(let l=0;l<t.length;l++){const g=t[l];if("*"!==g){if(null===s?eh(e,g,!0):ky(s,g))return l}else i=l}return i}function up(e){const t=St()[16][6];if(!t.projection){const s=t.projection=as(e?e.length:1,null),l=s.slice();let g=t.child;for(;null!==g;){const D=e?d0(g,e):0;null!==D&&(l[D]?l[D].projectionNext=g:s[D]=g,l[D]=g),g=g.next}}}function dp(e,t=0,i){const s=St(),l=on(),g=Fo(l,22+e,16,null,i||null);null===g.projection&&(g.projection=t),S(),64!=(64&g.flags)&&function wy(e,t,i){Qf(t[11],0,t,i,Bf(e,i,t),Uf(i.parent||t[6],i,t))}(l,s,g)}function Fc(e,t,i){return wa(e,"",t,"",i),Fc}function wa(e,t,i,s,l){const g=St(),D=Bo(g,t,i,s);return D!==sn&&Fi(on(),Pt(),g,e,D,g[11],l,!1),wa}function kc(e,t,i,s,l,g,D){const w=St(),I=Vo(w,t,i,s,l,g);return I!==sn&&Fi(on(),Pt(),w,e,I,w[11],D,!1),kc}function Nc(e,t,i,s,l,g,D,w,I){const j=St(),ie=$o(j,t,i,s,l,g,D,w);return ie!==sn&&Fi(on(),Pt(),j,e,ie,j[11],I,!1),Nc}function Lc(e,t,i,s,l,g,D,w,I,j,ie){const Ae=St(),st=Ho(Ae,t,i,s,l,g,D,w,I,j);return st!==sn&&Fi(on(),Pt(),Ae,e,st,Ae[11],ie,!1),Lc}function jc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st){const mt=St(),Mt=Uo(mt,t,i,s,l,g,D,w,I,j,ie,Ae);return Mt!==sn&&Fi(on(),Pt(),mt,e,Mt,mt[11],st,!1),jc}function Bc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt){const Rt=St(),kt=zo(Rt,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt);return kt!==sn&&Fi(on(),Pt(),Rt,e,kt,Rt[11],Mt,!1),Bc}function Vc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt){const Vt=St(),qt=Wo(Vt,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt);return qt!==sn&&Fi(on(),Pt(),Vt,e,qt,Vt[11],kt,!1),Vc}function $c(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt,Vt,qt){const Ot=St(),Qt=Go(Ot,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt,Vt);return Qt!==sn&&Fi(on(),Pt(),Ot,e,Qt,Ot[11],qt,!1),$c}function Hc(e,t,i){const s=St(),l=jo(s,t);return l!==sn&&Fi(on(),Pt(),s,e,l,s[11],i,!1),Hc}function fp(e,t,i,s,l){const g=e[i+1],D=null===t;let w=s?or(g):Br(g),I=!1;for(;0!==w&&(!1===I||D);){const ie=e[w+1];p0(e[w],t)&&(I=!0,e[w+1]=s?Kl(ie):Wl(ie)),w=s?or(ie):Br(ie)}I&&(e[i+1]=s?Wl(g):Kl(g))}function p0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Eo(e,t)>=0}const oi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hp(e){return e.substring(oi.key,oi.keyEnd)}function m0(e){return e.substring(oi.value,oi.valueEnd)}function pp(e,t){const i=oi.textEnd;return i===t?-1:(t=oi.keyEnd=function _0(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,oi.key=t,i),Ko(e,t,i))}function mp(e,t){const i=oi.textEnd;let s=oi.key=Ko(e,t,i);return i===s?-1:(s=oi.keyEnd=function y0(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=vp(e,s,i),s=oi.value=Ko(e,s,i),s=oi.valueEnd=function b0(e,t,i){let s=-1,l=-1,g=-1,D=t,w=D;for(;D<i;){const I=e.charCodeAt(D++);if(59===I)return w;34===I||39===I?w=D=_p(e,I,D,i):t===D-4&&85===g&&82===l&&76===s&&40===I?w=D=_p(e,41,D,i):I>32&&(w=D),g=l,l=s,s=-33&I}return w}(e,s,i),vp(e,s,i))}function gp(e){oi.key=0,oi.keyEnd=0,oi.value=0,oi.valueEnd=0,oi.textEnd=e.length}function Ko(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function vp(e,t,i,s){return(t=Ko(e,t,i))<i&&t++,t}function _p(e,t,i,s){let l=-1,g=i;for(;g<s;){const D=e.charCodeAt(g++);if(D==t&&92!==l)return g;l=92==D&&92===l?0:D}throw new Error}function Uc(e,t,i){return ar(e,t,i,!1),Uc}function zc(e,t){return ar(e,t,null,!0),zc}function sr(e){lr(Dp,C0,e,!1)}function C0(e,t){for(let i=function v0(e){return gp(e),mp(e,Ko(e,0,oi.textEnd))}(t);i>=0;i=mp(t,i))Dp(e,hp(t),m0(t))}function yp(e){lr(xi,wr,e,!0)}function wr(e,t){for(let i=function g0(e){return gp(e),pp(e,Ko(e,0,oi.textEnd))}(t);i>=0;i=pp(t,i))xi(e,hp(t),!0)}function ar(e,t,i,s){const l=St(),g=on(),D=nr(2);g.firstUpdatePass&&Cp(g,e,D,s),t!==sn&&fi(l,D,t)&&Ep(g,g.data[pt()],l,l[11],e,l[D+1]=function I0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(Nr(e)))),e}(t,i),s,D)}function lr(e,t,i,s){const l=on(),g=nr(2);l.firstUpdatePass&&Cp(l,null,g,s);const D=St();if(i!==sn&&fi(D,g,i)){const w=l.data[pt()];if(wp(w,s)&&!bp(l,g)){let I=s?w.classesWithoutHost:w.stylesWithoutHost;null!==I&&(i=_(I,i||"")),Ic(l,w,D,i,s)}else!function S0(e,t,i,s,l,g,D,w){l===sn&&(l=tt);let I=0,j=0,ie=0<l.length?l[0]:null,Ae=0<g.length?g[0]:null;for(;null!==ie||null!==Ae;){const st=I<l.length?l[I+1]:void 0,mt=j<g.length?g[j+1]:void 0;let Rt,Mt=null;ie===Ae?(I+=2,j+=2,st!==mt&&(Mt=Ae,Rt=mt)):null===Ae||null!==ie&&ie<Ae?(I+=2,Mt=ie):(j+=2,Mt=Ae,Rt=mt),null!==Mt&&Ep(e,t,i,s,Mt,Rt,D,w),ie=I<l.length?l[I]:null,Ae=j<g.length?g[j]:null}}(l,w,D,D[11],D[g+1],D[g+1]=function M0(e,t,i){if(null==i||""===i)return tt;const s=[],l=Nr(i);if(Array.isArray(l))for(let g=0;g<l.length;g++)e(s,l[g],!0);else if("object"==typeof l)for(const g in l)l.hasOwnProperty(g)&&e(s,g,l[g]);else"string"==typeof l&&t(s,l);return s}(e,t,i),s,g)}}function bp(e,t){return t>=e.expandoStartIndex}function Cp(e,t,i,s){const l=e.data;if(null===l[i+1]){const g=l[pt()],D=bp(e,i);wp(g,s)&&null===t&&!D&&(t=!1),t=function D0(e,t,i,s){const l=eo(e);let g=s?t.residualClasses:t.residualStyles;if(null===l)0===(s?t.classBindings:t.styleBindings)&&(i=Ms(i=Wc(null,e,t,i,s),t.attrs,s),g=null);else{const D=t.directiveStylingLast;if(-1===D||e[D]!==l)if(i=Wc(l,e,t,i,s),null===g){let I=function E0(e,t,i){const s=i?t.classBindings:t.styleBindings;if(0!==Br(s))return e[or(s)]}(e,t,s);void 0!==I&&Array.isArray(I)&&(I=Wc(null,e,t,I[1],s),I=Ms(I,t.attrs,s),function T0(e,t,i,s){e[or(i?t.classBindings:t.styleBindings)]=s}(e,t,s,I))}else g=function w0(e,t,i){let s;const l=t.directiveEnd;for(let g=1+t.directiveStylingLast;g<l;g++)s=Ms(s,e[g].hostAttrs,i);return Ms(s,t.attrs,i)}(e,t,s)}return void 0!==g&&(s?t.residualClasses=g:t.residualStyles=g),i}(l,g,t,s),function f0(e,t,i,s,l,g){let D=g?t.classBindings:t.styleBindings,w=or(D),I=Br(D);e[s]=i;let ie,j=!1;if(Array.isArray(i)){const Ae=i;ie=Ae[1],(null===ie||Eo(Ae,ie)>0)&&(j=!0)}else ie=i;if(l)if(0!==I){const st=or(e[w+1]);e[s+1]=ua(st,w),0!==st&&(e[st+1]=Gl(e[st+1],s)),e[w+1]=function lb(e,t){return 131071&e|t<<17}(e[w+1],s)}else e[s+1]=ua(w,0),0!==w&&(e[w+1]=Gl(e[w+1],s)),w=s;else e[s+1]=ua(I,0),0===w?w=s:e[I+1]=Gl(e[I+1],s),I=s;j&&(e[s+1]=Wl(e[s+1])),fp(e,ie,s,!0),fp(e,ie,s,!1),function h0(e,t,i,s,l){const g=l?e.residualClasses:e.residualStyles;null!=g&&"string"==typeof t&&Eo(g,t)>=0&&(i[s+1]=Kl(i[s+1]))}(t,ie,e,s,g),D=ua(w,I),g?t.classBindings=D:t.styleBindings=D}(l,g,t,i,D,s)}}function Wc(e,t,i,s,l){let g=null;const D=i.directiveEnd;let w=i.directiveStylingLast;for(-1===w?w=i.directiveStart:w++;w<D&&(g=t[w],s=Ms(s,g.hostAttrs,l),g!==e);)w++;return null!==e&&(i.directiveStylingLast=w),s}function Ms(e,t,i){const s=i?1:2;let l=-1;if(null!==t)for(let g=0;g<t.length;g++){const D=t[g];"number"==typeof D?l=D:l===s&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),xi(e,D,!!i||t[++g]))}return void 0===e?null:e}function Dp(e,t,i){xi(e,t,Nr(i))}function Ep(e,t,i,s,l,g,D,w){if(!(3&t.type))return;const I=e.data,j=I[w+1];Ma(function _h(e){return 1==(1&e)}(j)?Tp(I,t,i,l,Br(j),D):void 0)||(Ma(g)||function vh(e){return 2==(2&e)}(j)&&(g=Tp(I,null,i,l,w,D)),function Sy(e,t,i,s,l){if(t)l?e.addClass(i,s):e.removeClass(i,s);else{let g=-1===s.indexOf("-")?void 0:Dr.DashCase;null==l?e.removeStyle(i,s,g):("string"==typeof l&&l.endsWith("!important")&&(l=l.slice(0,-10),g|=Dr.Important),e.setStyle(i,s,l,g))}}(s,D,In(pt(),i),l,g))}function Tp(e,t,i,s,l,g){const D=null===t;let w;for(;l>0;){const I=e[l],j=Array.isArray(I),ie=j?I[1]:I,Ae=null===ie;let st=i[l+1];st===sn&&(st=Ae?tt:void 0);let mt=Ae?Ja(st,s):ie===s?st:void 0;if(j&&!Ma(mt)&&(mt=Ja(I,s)),Ma(mt)&&(w=mt,D))return w;const Mt=e[l+1];l=D?or(Mt):Br(Mt)}if(null!==t){let I=g?t.residualClasses:t.residualStyles;null!=I&&(w=Ja(I,s))}return w}function Ma(e){return void 0!==e}function wp(e,t){return 0!=(e.flags&(t?16:32))}function Mp(e,t=""){const i=St(),s=on(),l=e+22,g=s.firstCreatePass?Fo(s,l,1,t,null):s.data[l],D=i[l]=xl(i[11],t);aa(s,i,D,g),k(g,!1)}function Gc(e){return Sa("",e,""),Gc}function Sa(e,t,i){const s=St(),l=Bo(s,e,t,i);return l!==sn&&Vr(s,pt(),l),Sa}function Kc(e,t,i,s,l){const g=St(),D=Vo(g,e,t,i,s,l);return D!==sn&&Vr(g,pt(),D),Kc}function Yc(e,t,i,s,l,g,D){const w=St(),I=$o(w,e,t,i,s,l,g,D);return I!==sn&&Vr(w,pt(),I),Yc}function Qc(e,t,i,s,l,g,D,w,I){const j=St(),ie=Ho(j,e,t,i,s,l,g,D,w,I);return ie!==sn&&Vr(j,pt(),ie),Qc}function Zc(e,t,i,s,l,g,D,w,I,j,ie){const Ae=St(),st=Uo(Ae,e,t,i,s,l,g,D,w,I,j,ie);return st!==sn&&Vr(Ae,pt(),st),Zc}function Jc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st){const mt=St(),Mt=zo(mt,e,t,i,s,l,g,D,w,I,j,ie,Ae,st);return Mt!==sn&&Vr(mt,pt(),Mt),Jc}function Xc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt){const Rt=St(),kt=Wo(Rt,e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt);return kt!==sn&&Vr(Rt,pt(),kt),Xc}function qc(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt){const Vt=St(),qt=Go(Vt,e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt);return qt!==sn&&Vr(Vt,pt(),qt),qc}function eu(e){const t=St(),i=jo(t,e);return i!==sn&&Vr(t,pt(),i),eu}function Sp(e,t,i){lr(xi,wr,Bo(St(),e,t,i),!0)}function Ip(e,t,i,s,l){lr(xi,wr,Vo(St(),e,t,i,s,l),!0)}function Op(e,t,i,s,l,g,D){lr(xi,wr,$o(St(),e,t,i,s,l,g,D),!0)}function Ap(e,t,i,s,l,g,D,w,I){lr(xi,wr,Ho(St(),e,t,i,s,l,g,D,w,I),!0)}function Pp(e,t,i,s,l,g,D,w,I,j,ie){lr(xi,wr,Uo(St(),e,t,i,s,l,g,D,w,I,j,ie),!0)}function Rp(e,t,i,s,l,g,D,w,I,j,ie,Ae,st){lr(xi,wr,zo(St(),e,t,i,s,l,g,D,w,I,j,ie,Ae,st),!0)}function xp(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt){lr(xi,wr,Wo(St(),e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt),!0)}function Fp(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt){lr(xi,wr,Go(St(),e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt),!0)}function kp(e){lr(xi,wr,jo(St(),e),!0)}function Np(e,t,i){sr(Bo(St(),e,t,i))}function Lp(e,t,i,s,l){sr(Vo(St(),e,t,i,s,l))}function jp(e,t,i,s,l,g,D){sr($o(St(),e,t,i,s,l,g,D))}function Bp(e,t,i,s,l,g,D,w,I){sr(Ho(St(),e,t,i,s,l,g,D,w,I))}function Vp(e,t,i,s,l,g,D,w,I,j,ie){sr(Uo(St(),e,t,i,s,l,g,D,w,I,j,ie))}function $p(e,t,i,s,l,g,D,w,I,j,ie,Ae,st){sr(zo(St(),e,t,i,s,l,g,D,w,I,j,ie,Ae,st))}function Hp(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt){sr(Wo(St(),e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt))}function Up(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt){sr(Go(St(),e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt))}function zp(e){sr(jo(St(),e))}function tu(e,t,i,s,l){return ar(e,Bo(St(),t,i,s),l,!1),tu}function nu(e,t,i,s,l,g,D){return ar(e,Vo(St(),t,i,s,l,g),D,!1),nu}function iu(e,t,i,s,l,g,D,w,I){return ar(e,$o(St(),t,i,s,l,g,D,w),I,!1),iu}function ru(e,t,i,s,l,g,D,w,I,j,ie){return ar(e,Ho(St(),t,i,s,l,g,D,w,I,j),ie,!1),ru}function ou(e,t,i,s,l,g,D,w,I,j,ie,Ae,st){return ar(e,Uo(St(),t,i,s,l,g,D,w,I,j,ie,Ae),st,!1),ou}function su(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt){return ar(e,zo(St(),t,i,s,l,g,D,w,I,j,ie,Ae,st,mt),Mt,!1),su}function au(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt){return ar(e,Wo(St(),t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt),kt,!1),au}function lu(e,t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt,Vt,qt){return ar(e,Go(St(),t,i,s,l,g,D,w,I,j,ie,Ae,st,mt,Mt,Rt,kt,Vt),qt,!1),lu}function cu(e,t,i){return ar(e,jo(St(),t),i,!1),cu}function uu(e,t,i){const s=St();return fi(s,Ur(),t)&&Fi(on(),Pt(),s,e,t,s[11],i,!0),uu}function du(e,t,i){const s=St();if(fi(s,Ur(),t)){const g=on(),D=Pt();Fi(g,D,s,e,t,zh(eo(g.data),D,s),i,!0)}return du}const uo=void 0;var A0=["en",[["a","p"],["AM","PM"],uo],[["AM","PM"],uo,uo],[["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"]],uo,[["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"]],uo,[["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}",uo,"{1} 'at' {0}",uo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function O0(e){const i=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===s?1:5}];let Yo={};function P0(e,t,i){"string"!=typeof t&&(i=t,t=e[Jt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Yo[t]=e,i&&(Yo[t][Jt.ExtraData]=i)}function fu(e){const t=function F0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Gp(t);if(i)return i;const s=t.split("-")[0];if(i=Gp(s),i)return i;if("en"===s)return A0;throw new M(701,!1)}function R0(e){return fu(e)[Jt.CurrencyCode]||null}function Wp(e){return fu(e)[Jt.PluralCase]}function Gp(e){return e in Yo||(Yo[e]=U.ng&&U.ng.common&&U.ng.common.locales&&U.ng.common.locales[e]),Yo[e]}function x0(){Yo={}}var Jt=(()=>((Jt=Jt||{})[Jt.LocaleId=0]="LocaleId",Jt[Jt.DayPeriodsFormat=1]="DayPeriodsFormat",Jt[Jt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Jt[Jt.DaysFormat=3]="DaysFormat",Jt[Jt.DaysStandalone=4]="DaysStandalone",Jt[Jt.MonthsFormat=5]="MonthsFormat",Jt[Jt.MonthsStandalone=6]="MonthsStandalone",Jt[Jt.Eras=7]="Eras",Jt[Jt.FirstDayOfWeek=8]="FirstDayOfWeek",Jt[Jt.WeekendRange=9]="WeekendRange",Jt[Jt.DateFormat=10]="DateFormat",Jt[Jt.TimeFormat=11]="TimeFormat",Jt[Jt.DateTimeFormat=12]="DateTimeFormat",Jt[Jt.NumberSymbols=13]="NumberSymbols",Jt[Jt.NumberFormats=14]="NumberFormats",Jt[Jt.CurrencyCode=15]="CurrencyCode",Jt[Jt.CurrencySymbol=16]="CurrencySymbol",Jt[Jt.CurrencyName=17]="CurrencyName",Jt[Jt.Currencies=18]="Currencies",Jt[Jt.Directionality=19]="Directionality",Jt[Jt.PluralCase=20]="PluralCase",Jt[Jt.ExtraData=21]="ExtraData",Jt))();const k0=["zero","one","two","few","many"],fo="en-US",Ia={marker:"element"},Oa={marker:"ICU"};var Yn=(()=>((Yn=Yn||{})[Yn.SHIFT=2]="SHIFT",Yn[Yn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Yn[Yn.COMMENT=2]="COMMENT",Yn))();let Kp=fo;function hu(e){(function W(e,t){null==e&&x(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Kp=e.toLowerCase().replace(/_/g,"-"))}function Yp(e,t,i){const s=t.insertBeforeIndex,l=Array.isArray(s)?s[0]:s;return null===l?zf(e,0,i):bn(i[l])}function Qp(e,t,i,s,l){const g=t.insertBeforeIndex;if(Array.isArray(g)){let D=s,w=null;if(3&t.type||(w=D,D=l),null!==D&&0==(2&t.flags))for(let I=1;I<g.length;I++)ao(e,D,i[g[I]],w,!1)}}function Zp(e,t){if(e.push(t),e.length>1)for(let i=e.length-2;i>=0;i--){const s=e[i];Jp(s)||B0(s,t)&&null===V0(s)&&$0(s,t.index)}}function Jp(e){return!(64&e.type)}function B0(e,t){return Jp(t)||e.index>t.index}function V0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function $0(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(Gf(Yp,Qp),e.insertBeforeIndex=t)}function Ss(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function z0(e,t,i){const s=nc(e,i,64,null,null);return Zp(t,s),s}function Aa(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function Xp(e){return e>>>17}function qp(e){return(131070&e)>>>1}let Is=0,Os=0;function tm(e,t,i,s){const l=i[11];let D,g=null;for(let w=0;w<t.length;w++){const I=t[w];if("string"==typeof I){const j=t[++w];null===i[j]&&(i[j]=xl(l,I))}else if("number"==typeof I)switch(1&I){case 0:const j=Xp(I);let ie,Ae;if(null===g&&(g=j,D=sa(l,s)),j===g?(ie=s,Ae=D):(ie=null,Ae=bn(i[j])),null!==Ae){const Rt=qp(I);ao(l,Ae,i[Rt],ie,!1);const Vt=Ss(e,Rt);if(null!==Vt&&"object"==typeof Vt){const qt=Aa(Vt,i);null!==qt&&tm(e,Vt.create[qt],i,i[Vt.anchorIdx])}}break;case 1:const mt=t[++w],Mt=t[++w];ac(l,In(I>>>1,i),null,null,mt,Mt,null)}else switch(I){case Oa:const j=t[++w],ie=t[++w];null===i[ie]&&di(i[ie]=py(l,j),i);break;case Ia:const Ae=t[++w],st=t[++w];null===i[st]&&di(i[st]=Fl(l,Ae,null),i)}}}function nm(e,t,i,s,l){for(let g=0;g<i.length;g++){const D=i[g],w=i[++g];if(D&l){let I="";for(let j=g+1;j<=g+w;j++){const ie=i[j];if("string"==typeof ie)I+=ie;else if("number"==typeof ie)if(ie<0)I+=P(t[s-ie]);else{const Ae=ie>>>2;switch(3&ie){case 1:const st=i[++j],mt=i[++j],Mt=e.data[Ae];"string"==typeof Mt?ac(t[11],t[Ae],null,Mt,st,I,mt):Fi(e,Mt,t,st,I,t[11],mt,!1);break;case 0:const Rt=t[Ae];null!==Rt&&Nf(t[11],Rt,I);break;case 2:Q0(e,Ss(e,Ae),t,I);break;case 3:im(e,Ss(e,Ae),s,t)}}}}else{const I=i[g+1];if(I>0&&3==(3&I)){const ie=Ss(e,I>>>2);t[ie.currentCaseLViewIndex]<0&&im(e,ie,s,t)}}g+=w}}function im(e,t,i,s){let l=s[t.currentCaseLViewIndex];if(null!==l){let g=Is;l<0&&(l=s[t.currentCaseLViewIndex]=~l,g=-1),nm(e,s,t.update[l],i,g)}}function Q0(e,t,i,s){const l=function Z0(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const s=function N0(e,t){const i=Wp(t)(parseInt(e,10)),s=k0[i];return void 0!==s?s:"other"}(t,function j0(){return Kp}());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(Aa(t,i)!==l&&(rm(e,t,i),i[t.currentCaseLViewIndex]=null===l?null:~l,null!==l)){const D=i[t.anchorIdx];D&&tm(e,t.create[l],i,D)}}function rm(e,t,i){let s=Aa(t,i);if(null!==s){const l=t.remove[s];for(let g=0;g<l.length;g++){const D=l[g];if(D>0){const w=In(D,i);null!==w&&Yf(i[11],w)}else rm(e,Ss(e,~D),i)}}}function J0(){const e=[];let i,s,t=-1;function g(w,I){t=0;const j=Aa(w,I);s=null!==j?w.remove[j]:tt}function D(){if(t<s.length){const w=s[t++];return w>0?i[w]:(e.push(t,s),g(i[1].data[~w],i),D())}return 0===e.length?null:(s=e.pop(),t=e.pop(),D())}return function l(w,I){for(i=I;e.length;)e.pop();return g(w.value,I),D}}const Pa=/\ufffd(\d+):?\d*\ufffd/gi,X0=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,q0=/\ufffd(\d+)\ufffd/,sm=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,eC=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,tC=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,nC=/\uE500/g;function am(e,t,i,s,l,g,D){const w=ko(e,s,1,null);let I=w<<Yn.SHIFT,j=Hi();t===j&&(j=null),null===j&&(I|=Yn.APPEND_EAGERLY),D&&(I|=Yn.COMMENT,function dy(e){void 0===Ol&&(Ol=e())}(J0)),l.push(I,null===g?"":g);const ie=nc(e,w,D?32:1,null===g?"":g,null);Zp(i,ie);const Ae=ie.index;return k(ie,!1),null!==j&&t!==j&&function U0(e,t){let i=e.insertBeforeIndex;null===i?(Gf(Yp,Qp),i=e.insertBeforeIndex=[null,t]):(function it(e,t,i){e!=t&&x(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}(j,Ae),ie}function oC(e,t,i,s,l,g,D){const w=D.match(Pa),I=am(e,t,i,g,s,w?null:D,!1);w&&Qo(l,D,I.index,null,0,null)}function Qo(e,t,i,s,l,g){const D=e.length,w=D+1;e.push(null,null);const I=D+2,j=t.split(Pa);let ie=0;for(let Ae=0;Ae<j.length;Ae++){const st=j[Ae];if(1&Ae){const mt=l+parseInt(st,10);e.push(-1-mt),ie|=lm(mt)}else""!==st&&e.push(st)}return e.push(i<<2|(s?1:0)),s&&e.push(s,g),e[D]=ie,e[w]=e.length-I,ie}function aC(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 lm(e){return 1<<Math.min(e,31)}function cm(e){let t,g,i="",s=0,l=!1;for(;null!==(t=eC.exec(e));)l?t[0]===`\ufffd/*${g}\ufffd`&&(s=t.index,l=!1):(i+=e.substring(s,t.index+t[0].length),g=t[1],l=!0);return i+=e.slice(s),i}function um(e,t,i,s,l,g){let D=0;const w={type:l.type,currentCaseLViewIndex:ko(e,t,1,null),anchorIdx:g,cases:[],create:[],remove:[],update:[]};(function hC(e,t,i){e.push(lm(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,l,g),function H0(e,t,i){const s=e.data[t];null===s?e.data[t]=i:s.value=i}(e,g,w);const I=l.values;for(let j=0;j<I.length;j++){const ie=I[j],Ae=[];for(let st=0;st<ie.length;st++){const mt=ie[st];if("string"!=typeof mt){const Mt=Ae.push(mt)-1;ie[st]=`\x3c!--\ufffd${Mt}\ufffd--\x3e`}}D=dC(e,w,t,i,s,l.cases[j],ie.join(""),Ae)|D}D&&function pC(e,t,i){e.push(t,1,i<<2|3)}(i,D,g)}function uC(e){const t=[],i=[];let s=1,l=0;const g=pu(e=e.replace(sm,function(D,w,I){return s="select"===I?0:1,l=parseInt(w.slice(1),10),""}));for(let D=0;D<g.length;){let w=g[D++].trim();1===s&&(w=w.replace(/\s*(?:=)?(\w+)\s*/,"$1")),w.length&&t.push(w);const I=pu(g[D++]);t.length>i.length&&i.push(I)}return{type:s,mainBinding:l,cases:t,values:i}}function pu(e){if(!e)return[];let t=0;const i=[],s=[],l=/[{}]/g;let g;for(l.lastIndex=0;g=l.exec(e);){const w=g.index;if("}"==g[0]){if(i.pop(),0==i.length){const I=e.substring(t,w);sm.test(I)?s.push(uC(I)):s.push(I),t=w+1}}else{if(0==i.length){const I=e.substring(t,w);s.push(I),t=w+1}i.push("{")}}const D=e.substring(t);return s.push(D),s}function dC(e,t,i,s,l,g,D,w){const I=[],j=[],ie=[];t.cases.push(g),t.create.push(I),t.remove.push(j),t.update.push(ie);const st=Bd(Fd()).getInertBodyElement(D),mt=cl(st)||st;return mt?dm(e,t,i,s,I,j,ie,mt,l,w,0):0}function dm(e,t,i,s,l,g,D,w,I,j,ie){let Ae=0,st=w.firstChild;for(;st;){const mt=ko(e,i,1,null);switch(st.nodeType){case Node.ELEMENT_NODE:const Mt=st,Rt=Mt.tagName.toLowerCase();if(sl.hasOwnProperty(Rt)){mu(l,Ia,Rt,I,mt),e.data[mt]=Rt;const Ot=Mt.attributes;for(let Qt=0;Qt<Ot.length;Qt++){const mn=Ot.item(Qt),Vn=mn.name.toLowerCase();mn.value.match(Pa)?zd.hasOwnProperty(Vn)&&Qo(D,mn.value,mt,mn.name,0,al[Vn]?hs:ll[Vn]?Vd:null):mC(l,mt,mn)}Ae=dm(e,t,i,s,l,g,D,st,mt,j,ie+1)|Ae,fm(g,mt,ie)}break;case Node.TEXT_NODE:const kt=st.textContent||"",Vt=kt.match(Pa);mu(l,null,Vt?"":kt,I,mt),fm(g,mt,ie),Vt&&(Ae=Qo(D,kt,mt,null,0,null)|Ae);break;case Node.COMMENT_NODE:const qt=q0.exec(st.textContent||"");if(qt){const Qt=j[parseInt(qt[1],10)];mu(l,Oa,"",I,mt),um(e,i,s,I,Qt,mt),fC(g,mt,ie)}}st=st.nextSibling}return Ae}function fm(e,t,i){0===i&&e.push(t)}function fC(e,t,i){0===i&&(e.push(~t),e.push(t))}function mu(e,t,i,s,l){null!==t&&e.push(t),e.push(i,l,function W0(e,t,i){return e|t<<17|i<<1}(0,s,l))}function mC(e,t,i){e.push(t<<1|1,i.name,i.value)}const gC=/\[(\ufffd.+?\ufffd?)\]/,vC=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,_C=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,yC=/{([A-Z0-9_]+)}/g,bC=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,CC=/\/\*/,DC=/\d+\:(\d+)/;function gu(e,t,i=-1){const s=on(),l=St(),g=22+e,D=he(s.consts,t),w=Hi();s.firstCreatePass&&function rC(e,t,i,s,l,g){const D=Hi(),w=[],I=[],j=[[]];l=function cC(e,t){if(function lC(e){return-1===e}(t))return cm(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,s=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return cm(e.substring(i,s))}}(l,g);const ie=function iC(e){return e.replace(nC," ")}(l).split(tC);for(let Ae=0;Ae<ie.length;Ae++){let st=ie[Ae];if(0==(1&Ae)){const mt=pu(st);for(let Mt=0;Mt<mt.length;Mt++){let Rt=mt[Mt];if(0==(1&Mt)){const kt=Rt;""!==kt&&oC(e,D,j[0],w,I,i,kt)}else{const kt=Rt;if("object"!=typeof kt)throw new Error(`Unable to parse ICU expression in "${l}" message.`);um(e,i,I,t,kt,am(e,D,j[0],i,w,"",!0).index)}}}else{const mt=47===st.charCodeAt(0),Rt=(st.charCodeAt(mt?1:0),22+Number.parseInt(st.substring(mt?2:1)));if(mt)j.shift(),k(Hi(),!1);else{const kt=z0(e,j[0],Rt);j.unshift([]),k(kt,!0)}}}e.data[s]={create:w,update:I}}(s,null===w?0:w.index,l,g,D,i);const I=s.data[g],ie=Vf(s,w===l[6]?null:w,l);(function Y0(e,t,i,s){const l=e[11];for(let g=0;g<t.length;g++){const D=t[g++],w=t[g],I=(D&Yn.COMMENT)===Yn.COMMENT,j=(D&Yn.APPEND_EAGERLY)===Yn.APPEND_EAGERLY,ie=D>>>Yn.SHIFT;let Ae=e[ie];null===Ae&&(Ae=e[ie]=I?l.createComment(w):xl(l,w)),j&&null!==i&&ao(l,i,Ae,s,!1)}})(l,I.create,ie,w&&8&w.type?l[w.index]:null),js(!0)}function vu(){js(!1)}function pm(e,t,i){gu(e,t,i),vu()}function mm(e,t){const i=on();!function sC(e,t,i){const l=xn().index,g=[];if(e.firstCreatePass&&null===e.data[t]){for(let D=0;D<i.length;D+=2){const w=i[D],I=i[D+1];if(""!==I){if(X0.test(I))throw new Error(`ICU expressions are not supported in attributes. Message: "${I}".`);Qo(g,I,l,w,aC(g),null)}}e.data[t]=g}}(i,e+22,he(i.consts,t))}function _u(e){return function G0(e){e&&(Is|=1<<Math.min(Os,31)),Os++}(fi(St(),Ur(),e)),_u}function gm(e){!function K0(e,t,i){if(Os>0){const s=e.data[i];nm(e,t,Array.isArray(s)?s:s.update,li()-Os-1,Is)}Is=0,Os=0}(on(),St(),e+22)}function vm(e,t={}){return function EC(e,t={}){let i=e;if(gC.test(e)){const s={},l=[0];i=i.replace(vC,(g,D,w)=>{const I=D||w,j=s[I]||[];if(j.length||(I.split("|").forEach(Rt=>{const kt=Rt.match(DC),Vt=kt?parseInt(kt[1],10):0,qt=CC.test(Rt);j.push([Vt,qt,Rt])}),s[I]=j),!j.length)throw new Error(`i18n postprocess: unmatched placeholder - ${I}`);const ie=l[l.length-1];let Ae=0;for(let Rt=0;Rt<j.length;Rt++)if(j[Rt][0]===ie){Ae=Rt;break}const[st,mt,Mt]=j[Ae];return mt?l.pop():ie!==st&&l.push(st),j.splice(Ae,1),Mt})}return Object.keys(t).length&&(i=i.replace(_C,(s,l,g,D,w,I)=>t.hasOwnProperty(g)?`${l}${t[g]}${I}`:s),i=i.replace(yC,(s,l)=>t.hasOwnProperty(l)?t[l]:s),i=i.replace(bC,(s,l)=>{if(t.hasOwnProperty(l)){const g=t[l];if(!g.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${l}`);return g.shift()}return s})),i}(e,t)}function yu(e,t,i,s,l){if(e=v(e),Array.isArray(e))for(let g=0;g<e.length;g++)yu(e[g],t,i,s,l);else{const g=on(),D=St();let w=oo(e)?e:v(e.provide),I=cf(e);const j=xn(),ie=1048575&j.providerIndexes,Ae=j.directiveStart,st=j.providerIndexes>>20;if(oo(e)||!e.multi){const mt=new si(I,l,xo),Mt=Cu(w,t,l?ie:ie+st,Ae);-1===Mt?(Us(is(j,D),g,w),bu(g,e,t.length),t.push(w),j.directiveStart++,j.directiveEnd++,l&&(j.providerIndexes+=1048576),i.push(mt),D.push(mt)):(i[Mt]=mt,D[Mt]=mt)}else{const mt=Cu(w,t,ie+st,Ae),Mt=Cu(w,t,ie,ie+st),Rt=mt>=0&&i[mt],kt=Mt>=0&&i[Mt];if(l&&!kt||!l&&!Rt){Us(is(j,D),g,w);const Vt=function SC(e,t,i,s,l){const g=new si(e,i,xo);return g.multi=[],g.index=t,g.componentProviders=0,_m(g,l,s&&!i),g}(l?MC:wC,i.length,l,s,I);!l&&kt&&(i[Mt].providerFactory=Vt),bu(g,e,t.length,0),t.push(w),j.directiveStart++,j.directiveEnd++,l&&(j.providerIndexes+=1048576),i.push(Vt),D.push(Vt)}else bu(g,e,mt>-1?mt:Mt,_m(i[l?Mt:mt],I,!l&&s));!l&&s&&kt&&i[Mt].componentProviders++}}}function bu(e,t,i,s){const l=oo(t),g=function w_(e){return!!e.useClass}(t);if(l||g){const I=(g?v(t.useClass):t).prototype.ngOnDestroy;if(I){const j=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const ie=j.indexOf(i);-1===ie?j.push(i,[s,I]):j[ie+1].push(s,I)}else j.push(i,I)}}}function _m(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Cu(e,t,i,s){for(let l=i;l<s;l++)if(t[l]===e)return l;return-1}function wC(e,t,i,s){return Du(this.multi,[])}function MC(e,t,i,s){const l=this.multi;let g;if(this.providerFactory){const D=this.providerFactory.componentProviders,w=rs(i,i[1],this.providerFactory.index,s);g=w.slice(0,D),Du(l,g);for(let I=D;I<w.length;I++)g.push(w[I])}else g=[],Du(l,g);return g}function Du(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function ym(e,t=[]){return i=>{i.providersResolver=(s,l)=>function TC(e,t,i){const s=on();if(s.firstCreatePass){const l=Ln(e);yu(i,s.data,s.blueprint,l,!0),yu(t,s.data,s.blueprint,l,!1)}}(s,l?l(e):e,t)}}class Zo{}class bm{}function Cm(e,t){return new Eu(e,null!=t?t:null)}const IC=Cm;class Eu extends Zo{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new hc(this);const s=Dt(t);this._bootstrapComponents=Lr(s.bootstrap),this._r3Injector=ah(t,i,[{provide:Zo,useValue:this},{provide:gs,useValue:this.componentFactoryResolver}],p(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ra extends bm{constructor(t){super(),this.moduleType=t}create(t){return new Eu(this.moduleType,t)}}class OC extends Zo{constructor(t,i,s){super(),this.componentFactoryResolver=new hc(this),this.instance=null;const l=new lf([...t,{provide:Zo,useValue:this},{provide:gs,useValue:this.componentFactoryResolver}],i||ia(),s,new Set(["environment"]));this.injector=l,l.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Tu(e,t,i=null){return new OC(e,t,i).injector}let AC=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i.id)){const s=nf(0,i.type),l=s.length>0?Tu([s],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i.id,l)}return this.cachedInjectors.get(i.id)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=ve({token:e,providedIn:"environment",factory:()=>new e(ti(so))}),e})();function Dm(e){e.getStandaloneInjector=t=>t.get(AC).getOrCreateStandaloneInjector(e)}function wu(e){const t=ui(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function sy(e,t){const i=t[1].data[e];return 2&i.flags?t[i.directiveStart]:null}(t.nodeIndex,i)}return t.component}function Em(e){!function NC(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=ui(e),i=t?t.lView:null;return null===i?null:i[8]}function Tm(e){const t=ui(e);let s,i=t?t.lView:null;if(null===i)return null;for(;2===i[1].type&&(s=bs(i));)i=s;return 256&i[2]?null:i[8]}function wm(e){const t=Il(e);return null!==t?[...Ff(t).components]:[]}function Mm(e){const t=ui(e),i=t?t.lView:null;return null===i?Yr.NULL:new vo(i[1].data[t.nodeIndex],i)}function Sm(e){if(e instanceof Text)return[];const t=ui(e),i=t?t.lView:null;if(null===i)return[];const s=i[1],l=t.nodeIndex;return null!=s&&s.data[l]?(void 0===t.directives&&(t.directives=If(l,i,!1)),null===t.directives?[]:[...t.directives]):[]}function RC(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=q(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?be.OnPush:be.Default};const s=Oe(t);return s?{inputs:s.inputs,outputs:s.outputs}:null}function Mu(e){return ui(e).native}function Im(e){const t=ui(e),i=null===t?null:t.lView;if(null===i)return[];const l=i[7],g=i[1].cleanup,D=[];if(g&&l)for(let w=0;w<g.length;){const I=g[w++],j=g[w++];if("string"==typeof I){const ie=I,Ae=bn(i[j]),st=l[g[w++]],mt=g[w++],Mt="boolean"==typeof mt||mt>=0?"dom":"output",Rt="boolean"==typeof mt&&mt;e==Ae&&D.push({element:e,name:ie,callback:st,useCapture:Rt,type:Mt})}}return D.sort(FC),D}function FC(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function kC(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function Om(e,t,i,s){return Ue(()=>{const l=e;null!==t&&(l.hasOwnProperty("decorators")&&void 0!==l.decorators?l.decorators.push(...t):l.decorators=t),null!==i&&(l.ctorParameters=i),null!==s&&(l.propDecorators=l.hasOwnProperty("propDecorators")&&void 0!==l.propDecorators?Object.assign(Object.assign({},l.propDecorators),s):s)})}function Am(e,t,i){const s=Fn()+e,l=St();return l[s]===sn?Tr(l,s,i?t.call(i):t()):ws(l,s)}function Pm(e,t,i,s){return Vm(St(),Fn(),e,t,i,s)}function Rm(e,t,i,s,l){return $m(St(),Fn(),e,t,i,s,l)}function xm(e,t,i,s,l,g){return Hm(St(),Fn(),e,t,i,s,l,g)}function Fm(e,t,i,s,l,g,D){return Um(St(),Fn(),e,t,i,s,l,g,D)}function km(e,t,i,s,l,g,D,w){const I=Fn()+e,j=St(),ie=Ui(j,I,i,s,l,g);return fi(j,I+4,D)||ie?Tr(j,I+5,w?t.call(w,i,s,l,g,D):t(i,s,l,g,D)):ws(j,I+5)}function Nm(e,t,i,s,l,g,D,w,I){const j=Fn()+e,ie=St(),Ae=Ui(ie,j,i,s,l,g);return co(ie,j+4,D,w)||Ae?Tr(ie,j+6,I?t.call(I,i,s,l,g,D,w):t(i,s,l,g,D,w)):ws(ie,j+6)}function Lm(e,t,i,s,l,g,D,w,I,j){const ie=Fn()+e,Ae=St();let st=Ui(Ae,ie,i,s,l,g);return ba(Ae,ie+4,D,w,I)||st?Tr(Ae,ie+7,j?t.call(j,i,s,l,g,D,w,I):t(i,s,l,g,D,w,I)):ws(Ae,ie+7)}function jm(e,t,i,s,l,g,D,w,I,j,ie){const Ae=Fn()+e,st=St(),mt=Ui(st,Ae,i,s,l,g);return Ui(st,Ae+4,D,w,I,j)||mt?Tr(st,Ae+8,ie?t.call(ie,i,s,l,g,D,w,I,j):t(i,s,l,g,D,w,I,j)):ws(st,Ae+8)}function Bm(e,t,i,s){return zm(St(),Fn(),e,t,i,s)}function Ps(e,t){const i=e[t];return i===sn?void 0:i}function Vm(e,t,i,s,l,g){const D=t+i;return fi(e,D,l)?Tr(e,D+1,g?s.call(g,l):s(l)):Ps(e,D+1)}function $m(e,t,i,s,l,g,D){const w=t+i;return co(e,w,l,g)?Tr(e,w+2,D?s.call(D,l,g):s(l,g)):Ps(e,w+2)}function Hm(e,t,i,s,l,g,D,w){const I=t+i;return ba(e,I,l,g,D)?Tr(e,I+3,w?s.call(w,l,g,D):s(l,g,D)):Ps(e,I+3)}function Um(e,t,i,s,l,g,D,w,I){const j=t+i;return Ui(e,j,l,g,D,w)?Tr(e,j+4,I?s.call(I,l,g,D,w):s(l,g,D,w)):Ps(e,j+4)}function zm(e,t,i,s,l,g){let D=t+i,w=!1;for(let I=0;I<l.length;I++)fi(e,D++,l[I])&&(w=!0);return w?Tr(e,D,s.apply(g,l)):Ps(e,D)}function Wm(e,t){const i=on();let s;const l=e+22;i.firstCreatePass?(s=function LC(e,t){if(t)for(let i=t.length-1;i>=0;i--){const s=t[i];if(e===s.name)return s}}(t,i.pipeRegistry),i.data[l]=s,s.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(l,s.onDestroy)):s=i.data[l];const g=s.factory||(s.factory=ni(s.type)),D=we(xo);try{const w=Zn(!1),I=g();return Zn(w),tp(i,St(),l,I),I}finally{we(D)}}function Gm(e,t,i){const s=e+22,l=St(),g=gi(l,s);return Rs(l,s)?Vm(l,Fn(),t,g.transform,i,g):g.transform(i)}function Km(e,t,i,s){const l=e+22,g=St(),D=gi(g,l);return Rs(g,l)?$m(g,Fn(),t,D.transform,i,s,D):D.transform(i,s)}function Ym(e,t,i,s,l){const g=e+22,D=St(),w=gi(D,g);return Rs(D,g)?Hm(D,Fn(),t,w.transform,i,s,l,w):w.transform(i,s,l)}function Qm(e,t,i,s,l,g){const D=e+22,w=St(),I=gi(w,D);return Rs(w,D)?Um(w,Fn(),t,I.transform,i,s,l,g,I):I.transform(i,s,l,g)}function Zm(e,t,i){const s=e+22,l=St(),g=gi(l,s);return Rs(l,s)?zm(l,Fn(),t,g.transform,i,g):g.transform.apply(g,i)}function Rs(e,t){return e[1].data[t].pure}function Su(e){return t=>{setTimeout(e,void 0,t)}}const Mr=class jC extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,s){var l,g,D;let w=t,I=i||(()=>null),j=s;if(t&&"object"==typeof t){const Ae=t;w=null===(l=Ae.next)||void 0===l?void 0:l.bind(Ae),I=null===(g=Ae.error)||void 0===g?void 0:g.bind(Ae),j=null===(D=Ae.complete)||void 0===D?void 0:D.bind(Ae)}this.__isAsync&&(I=Su(I),w&&(w=Su(w)),j&&(j=Su(j)));const ie=super.subscribe({next:w,error:I,complete:j});return t instanceof h.w0&&t.add(ie),ie}};function BC(){return this._results[lo()]()}class xa{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=lo(),s=xa.prototype;s[i]||(s[i]=BC)}get changes(){return this._changes||(this._changes=new Mr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const s=this;s.dirty=!1;const l=Ri(t);(this._changesDetected=!function Rv(e,t,i){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++){let l=e[s],g=t[s];if(i&&(l=i(l),g=i(g)),g!==l)return!1}return!0}(s._results,l,i))&&(s._results=l,s.length=l.length,s.last=l[this.length-1],s.first=l[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let xs=(()=>{class e{}return e.__NG_ELEMENT_ID__=HC,e})();const VC=xs,$C=class extends VC{constructor(t,i,s){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=s}createEmbeddedView(t,i){const s=this._declarationTContainer.tViews,l=ha(this._declarationLView,s,t,16,null,s.declTNode,null,null,null,null,i||null);l[17]=this._declarationLView[this._declarationTContainer.index];const D=this._declarationLView[19];return null!==D&&(l[19]=D.createEmbeddedView(s)),pa(s,l,t),new No(l)}};function HC(){return Fa(xn(),St())}function Fa(e,t){return 4&e.type?new $C(t,e,Oo(e,t)):null}let ka=(()=>{class e{}return e.__NG_ELEMENT_ID__=UC,e})();function UC(){return qm(xn(),St())}const zC=ka,Jm=class extends zC{constructor(t,i,s){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=s}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new vo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Hs(this._hostTNode,this._hostLView);if(ci(t)){const i=Fr(t,this._hostLView),s=vi(t);return new vo(i[1].data[s+8],i)}return new vo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Xm(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,s){let l,g;"number"==typeof s?l=s:null!=s&&(l=s.index,g=s.injector);const D=t.createEmbeddedView(i||{},g);return this.insert(D,l),D}createComponent(t,i,s,l,g){const D=t&&!ss(t);let w;if(D)w=i;else{const Ae=i||{};w=Ae.index,s=Ae.injector,l=Ae.projectableNodes,g=Ae.environmentInjector||Ae.ngModuleRef}const I=D?t:new Lo(q(t)),j=s||this.parentInjector;if(!g&&null==I.ngModule){const st=(D?j:this.parentInjector).get(so,null);st&&(g=st)}const ie=I.create(j,l,void 0,g);return this.insert(ie.hostView,w),ie}insert(t,i){const s=t._lView,l=s[1];if(function N(e){return Nn(e[3])}(s)){const ie=this.indexOf(t);if(-1!==ie)this.detach(ie);else{const Ae=s[3],st=new Jm(Ae,Ae[6],Ae[3]);st.detach(st.indexOf(t))}}const g=this._adjustIndex(i),D=this._lContainer;!function yy(e,t,i,s){const l=10+s,g=i.length;s>0&&(i[l-1][4]=t),s<g-10?(t[4]=i[l],yd(i,10+s,t)):(i.push(t),t[4]=null),t[3]=i;const D=t[17];null!==D&&i!==D&&function by(e,t){const i=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===i?e[9]=[t]:i.push(t)}(D,t);const w=t[19];null!==w&&w.insertView(e),t[2]|=64}(l,s,D,g);const w=jl(g,D),I=s[11],j=sa(I,D[7]);return null!==j&&function gy(e,t,i,s,l,g){s[0]=l,s[6]=t,Cs(e,s,i,1,l,g)}(l,D[6],I,s,j,w),t.attachToViewContainerRef(),yd(Iu(D),g,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Xm(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),s=kl(this._lContainer,i);s&&(Gs(Iu(this._lContainer),i),jf(s[1],s))}detach(t){const i=this._adjustIndex(t,-1),s=kl(this._lContainer,i);return s&&null!=Gs(Iu(this._lContainer),i)?new No(s):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function Xm(e){return e[8]}function Iu(e){return e[8]||(e[8]=[])}function qm(e,t){let i;const s=t[e.index];if(Nn(s))i=s;else{let l;if(8&e.type)l=bn(s);else{const g=t[11];l=g.createComment("");const D=Tn(e,t);ao(g,sa(g,D),l,function Ty(e,t){return e.nextSibling(t)}(g,D),!1)}t[e.index]=i=Bh(s,t,l,e),ma(t,i)}return new Jm(i,e,t)}class Ou{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ou(this.queryList)}setDirty(){this.queryList.setDirty()}}class Au{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const s=null!==t.contentQueries?t.contentQueries[0]:i.length,l=[];for(let g=0;g<s;g++){const D=i.getByIndex(g);l.push(this.queries[D.indexInDeclarationView].clone())}return new Au(l)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)null!==lg(t,i).matches&&this.queries[i].setDirty()}}class eg{constructor(t,i,s=null){this.predicate=t,this.flags=i,this.read=s}}class Pu{constructor(t=[]){this.queries=t}elementStart(t,i){for(let s=0;s<this.queries.length;s++)this.queries[s].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let s=0;s<this.length;s++){const l=null!==i?i.length:0,g=this.getByIndex(s).embeddedTView(t,l);g&&(g.indexInDeclarationView=s,null!==i?i.push(g):i=[g])}return null!==i?new Pu(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 Ru{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 Ru(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let s=t.parent;for(;null!==s&&8&s.type&&s.index!==i;)s=s.parent;return i===(null!==s?s.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const s=this.metadata.predicate;if(Array.isArray(s))for(let l=0;l<s.length;l++){const g=s[l];this.matchTNodeWithReadOption(t,i,KC(i,g)),this.matchTNodeWithReadOption(t,i,zs(i,t,g,!1,!1))}else s===xs?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,zs(i,t,s,!1,!1))}matchTNodeWithReadOption(t,i,s){if(null!==s){const l=this.metadata.read;if(null!==l)if(l===vs||l===ka||l===xs&&4&i.type)this.addMatch(i.index,-2);else{const g=zs(i,t,l,!1,!1);null!==g&&this.addMatch(i.index,g)}else this.addMatch(i.index,s)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function KC(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 QC(e,t,i,s){return-1===i?function YC(e,t){return 11&e.type?Oo(e,t):4&e.type?Fa(e,t):null}(t,e):-2===i?function ZC(e,t,i){return i===vs?Oo(t,e):i===xs?Fa(t,e):i===ka?qm(t,e):void 0}(e,t,s):rs(e,e[1],i,t)}function tg(e,t,i,s){const l=t[19].queries[s];if(null===l.matches){const g=e.data,D=i.matches,w=[];for(let I=0;I<D.length;I+=2){const j=D[I];w.push(j<0?null:QC(t,g[j],D[I+1],i.metadata.read))}l.matches=w}return l.matches}function xu(e,t,i,s){const l=e.queries.getByIndex(i),g=l.matches;if(null!==g){const D=tg(e,t,l,i);for(let w=0;w<g.length;w+=2){const I=g[w];if(I>0)s.push(D[w/2]);else{const j=g[w+1],ie=t[-I];for(let Ae=10;Ae<ie.length;Ae++){const st=ie[Ae];st[17]===st[3]&&xu(st[1],st,j,s)}if(null!==ie[9]){const Ae=ie[9];for(let st=0;st<Ae.length;st++){const mt=Ae[st];xu(mt[1],mt,j,s)}}}}}return s}function ng(e){const t=St(),i=on(),s=Vs();es(s+1);const l=lg(i,s);if(e.dirty&&F(t)===(2==(2&l.metadata.flags))){if(null===l.matches)e.reset([]);else{const g=l.crossesNgTemplate?xu(i,t,s,[]):tg(i,t,l,s);e.reset(g,N_),e.notifyOnChanges()}return!0}return!1}function ig(e,t,i){const s=on();s.firstCreatePass&&(ag(s,new eg(e,t,i),-1),2==(2&t)&&(s.staticViewQueries=!0)),sg(s,St(),t)}function rg(e,t,i,s){const l=on();if(l.firstCreatePass){const g=xn();ag(l,new eg(t,i,s),g.index),function XC(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(l,e),2==(2&i)&&(l.staticContentQueries=!0)}sg(l,St(),i)}function og(){return function JC(e,t){return e[19].queries[t].queryList}(St(),Vs())}function sg(e,t,i){const s=new xa(4==(4&i));Ah(e,t,s,s.destroy),null===t[19]&&(t[19]=new Au),t[19].queries.push(new Ou(s))}function ag(e,t,i){null===e.queries&&(e.queries=new Pu),e.queries.track(new Ru(t,i))}function lg(e,t){return e.queries.getByIndex(t)}function cg(e,t){return Fa(e,t)}const yi=(()=>({\u0275\u0275attribute:vc,\u0275\u0275attributeInterpolate1:_c,\u0275\u0275attributeInterpolate2:yc,\u0275\u0275attributeInterpolate3:bc,\u0275\u0275attributeInterpolate4:Cc,\u0275\u0275attributeInterpolate5:Dc,\u0275\u0275attributeInterpolate6:Ec,\u0275\u0275attributeInterpolate7:Tc,\u0275\u0275attributeInterpolate8:wc,\u0275\u0275attributeInterpolateV:Mc,\u0275\u0275defineComponent:Ee,\u0275\u0275defineDirective:Ge,\u0275\u0275defineInjectable:ve,\u0275\u0275defineInjector:Le,\u0275\u0275defineNgModule:B,\u0275\u0275definePipe:bt,\u0275\u0275directiveInject:xo,\u0275\u0275getInheritedFactory:md,\u0275\u0275inject:ti,\u0275\u0275injectAttribute:Qa,\u0275\u0275invalidFactory:mh,\u0275\u0275invalidFactoryDep:el,\u0275\u0275templateRefExtractor:cg,\u0275\u0275resetView:ai,\u0275\u0275NgOnChangesFeature:ji,\u0275\u0275ProvidersFeature:ym,\u0275\u0275CopyDefinitionFeature:Zh,\u0275\u0275InheritDefinitionFeature:pc,\u0275\u0275StandaloneFeature:Dm,\u0275\u0275nextContext:cp,\u0275\u0275namespaceHTML:un,\u0275\u0275namespaceMathML:an,\u0275\u0275namespaceSVG:$t,\u0275\u0275enableBindings:Dn,\u0275\u0275disableBindings:Rn,\u0275\u0275elementStart:Ca,\u0275\u0275elementEnd:Da,\u0275\u0275element:Oc,\u0275\u0275elementContainerStart:Ea,\u0275\u0275elementContainerEnd:Ta,\u0275\u0275elementContainer:Ac,\u0275\u0275pureFunction0:Am,\u0275\u0275pureFunction1:Pm,\u0275\u0275pureFunction2:Rm,\u0275\u0275pureFunction3:xm,\u0275\u0275pureFunction4:Fm,\u0275\u0275pureFunction5:km,\u0275\u0275pureFunction6:Nm,\u0275\u0275pureFunction7:Lm,\u0275\u0275pureFunction8:jm,\u0275\u0275pureFunctionV:Bm,\u0275\u0275getCurrentView:ip,\u0275\u0275restoreView:$i,\u0275\u0275listener:Rc,\u0275\u0275projection:dp,\u0275\u0275syntheticHostProperty:du,\u0275\u0275syntheticHostListener:xc,\u0275\u0275pipeBind1:Gm,\u0275\u0275pipeBind2:Km,\u0275\u0275pipeBind3:Ym,\u0275\u0275pipeBind4:Qm,\u0275\u0275pipeBindV:Zm,\u0275\u0275projectionDef:up,\u0275\u0275hostProperty:uu,\u0275\u0275property:Sc,\u0275\u0275propertyInterpolate:Fc,\u0275\u0275propertyInterpolate1:wa,\u0275\u0275propertyInterpolate2:kc,\u0275\u0275propertyInterpolate3:Nc,\u0275\u0275propertyInterpolate4:Lc,\u0275\u0275propertyInterpolate5:jc,\u0275\u0275propertyInterpolate6:Bc,\u0275\u0275propertyInterpolate7:Vc,\u0275\u0275propertyInterpolate8:$c,\u0275\u0275propertyInterpolateV:Hc,\u0275\u0275pipe:Wm,\u0275\u0275queryRefresh:ng,\u0275\u0275viewQuery:ig,\u0275\u0275loadQuery:og,\u0275\u0275contentQuery:rg,\u0275\u0275reference:np,\u0275\u0275classMap:yp,\u0275\u0275classMapInterpolate1:Sp,\u0275\u0275classMapInterpolate2:Ip,\u0275\u0275classMapInterpolate3:Op,\u0275\u0275classMapInterpolate4:Ap,\u0275\u0275classMapInterpolate5:Pp,\u0275\u0275classMapInterpolate6:Rp,\u0275\u0275classMapInterpolate7:xp,\u0275\u0275classMapInterpolate8:Fp,\u0275\u0275classMapInterpolateV:kp,\u0275\u0275styleMap:sr,\u0275\u0275styleMapInterpolate1:Np,\u0275\u0275styleMapInterpolate2:Lp,\u0275\u0275styleMapInterpolate3:jp,\u0275\u0275styleMapInterpolate4:Bp,\u0275\u0275styleMapInterpolate5:Vp,\u0275\u0275styleMapInterpolate6:$p,\u0275\u0275styleMapInterpolate7:Hp,\u0275\u0275styleMapInterpolate8:Up,\u0275\u0275styleMapInterpolateV:zp,\u0275\u0275styleProp:Uc,\u0275\u0275stylePropInterpolate1:tu,\u0275\u0275stylePropInterpolate2:nu,\u0275\u0275stylePropInterpolate3:iu,\u0275\u0275stylePropInterpolate4:ru,\u0275\u0275stylePropInterpolate5:ou,\u0275\u0275stylePropInterpolate6:su,\u0275\u0275stylePropInterpolate7:au,\u0275\u0275stylePropInterpolate8:lu,\u0275\u0275stylePropInterpolateV:cu,\u0275\u0275classProp:zc,\u0275\u0275advance:nh,\u0275\u0275template:ep,\u0275\u0275text:Mp,\u0275\u0275textInterpolate:Gc,\u0275\u0275textInterpolate1:Sa,\u0275\u0275textInterpolate2:Kc,\u0275\u0275textInterpolate3:Yc,\u0275\u0275textInterpolate4:Qc,\u0275\u0275textInterpolate5:Zc,\u0275\u0275textInterpolate6:Jc,\u0275\u0275textInterpolate7:Xc,\u0275\u0275textInterpolate8:qc,\u0275\u0275textInterpolateV:eu,\u0275\u0275i18n:pm,\u0275\u0275i18nAttributes:mm,\u0275\u0275i18nExp:_u,\u0275\u0275i18nStart:gu,\u0275\u0275i18nEnd:vu,\u0275\u0275i18nApply:gm,\u0275\u0275i18nPostprocess:vm,\u0275\u0275resolveWindow:Of,\u0275\u0275resolveDocument:Af,\u0275\u0275resolveBody:Pf,\u0275\u0275setComponentScope:_e,\u0275\u0275setNgModuleScope:Me,\u0275\u0275registerNgModuleType:nl,\u0275\u0275sanitizeHtml:Kd,\u0275\u0275sanitizeStyle:Yd,\u0275\u0275sanitizeResourceUrl:dl,\u0275\u0275sanitizeScript:Qd,\u0275\u0275sanitizeUrl:ul,\u0275\u0275sanitizeUrlOrResourceUrl:Xd,\u0275\u0275trustConstantHtml:Zd,\u0275\u0275trustConstantResourceUrl:Jd,forwardRef:b,resolveForwardRef:v}))();let Jo=null;function tD(){Jo=null}function dg(e){return!!Dt(e)}const Fs=[];let Fu=!1;function fg(){if(!Fu){Fu=!0;try{for(let e=Fs.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=Fs[e];i.declarations&&i.declarations.every(hg)&&(Fs.splice(e,1),oD(t,i))}}finally{Fu=!1}}}function hg(e){return Array.isArray(e)?e.every(hg):!!v(e)}function pg(e,t={}){mg(e,t),void 0!==t.id&&nl(e,t.id),function nD(e,t){Fs.push({moduleType:e,ngModule:t})}(e,t)}function mg(e,t,i=!1){const s=Ri(t.declarations||tt);let l=null;Object.defineProperty(e,Yt,{configurable:!0,get:()=>(null===l&&(l=ri().compileNgModule(yi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Ri(t.bootstrap||tt).map(v),declarations:s.map(v),imports:Ri(t.imports||tt).map(v).map(yg),exports:Ri(t.exports||tt).map(v).map(yg),schemas:t.schemas?Ri(t.schemas):null,id:t.id||null}),l.schemas||(l.schemas=[])),l)});let g=null;Object.defineProperty(e,Nt,{get:()=>{if(null===g){const w=ri();g=w.compileFactory(yi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Js(e),target:w.FactoryTarget.NgModule,typeArgumentCount:0})}return g},configurable:!1});let D=null;Object.defineProperty(e,Fe,{get:()=>{if(null===D){const w={name:e.name,type:e,providers:t.providers||tt,imports:[(t.imports||tt).map(v),(t.exports||tt).map(v)]};D=ri().compileInjector(yi,`ng:///${e.name}/\u0275inj.js`,w)}return D},configurable:!1})}function Xo(e){const t=q(e)||Oe(e)||at(e);return null!==t&&t.standalone}let Na=new WeakMap,Nu=new WeakMap;function rD(){Na=new WeakMap,Nu=new WeakMap,Fs.length=0}function oD(e,t){const i=Ri(t.declarations||tt),s=ho(e);i.forEach(l=>{(l=v(l)).hasOwnProperty(vt)?Lu(q(l),s):!l.hasOwnProperty(Ft)&&!l.hasOwnProperty(At)&&(l.ngSelectorScope=e)})}function Lu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(vt)?q(i):Oe(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>at(i)),e.schemas=t.schemas,e.tView=null}function ho(e){if(dg(e))return function sD(e){const t=Dt(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Lr(t.imports).forEach(s=>{const l=ho(s);l.exported.directives.forEach(g=>i.compilation.directives.add(g)),l.exported.pipes.forEach(g=>i.compilation.pipes.add(g))}),Lr(t.declarations).forEach(s=>{at(s)?i.compilation.pipes.add(s):i.compilation.directives.add(s)}),Lr(t.exports).forEach(s=>{const l=s;if(dg(l)){const g=ho(l);g.exported.directives.forEach(D=>{i.compilation.directives.add(D),i.exported.directives.add(D)}),g.exported.pipes.forEach(D=>{i.compilation.pipes.add(D),i.exported.pipes.add(D)})}else at(l)?i.exported.pipes.add(l):i.exported.directives.add(l)}),t.transitiveCompileScopes=i,i}(e);if(Xo(e)){if(null!==(q(e)||Oe(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==at(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (\u0275mod property)`)}function yg(e){return function ug(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let ju=0;function bg(e,t){let i=null;(function Yv(e,t){Ad(t)&&(wo.set(e,t),fs.add(e))})(e,t),Dg(e,t),Object.defineProperty(e,vt,{get:()=>{if(null===i){const s=ri();if(Ad(t)){const j=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&j.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&j.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),j.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(j.join("\n"))}const l=function eD(){return Jo}();let g=t.preserveWhitespaces;void 0===g&&(g=null!==l&&void 0!==l.preserveWhitespaces&&l.preserveWhitespaces);let D=t.encapsulation;void 0===D&&(D=null!==l&&void 0!==l.defaultEncapsulation?l.defaultEncapsulation:Pe.Emulated);const w=t.templateUrl||`ng:///${e.name}/template.html`,I=Object.assign(Object.assign({},Eg(e,t)),{typeSourceSpan:s.createParseSourceSpan("Component",e.name,w),template:t.template||"",preserveWhitespaces:g,styles:t.styles||tt,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:D,interpolation:t.interpolation,viewProviders:t.viewProviders||null,isStandalone:!!t.standalone});ju++;try{if(I.usesInheritance&&Tg(e),i=s.compileComponent(yi,w,I),t.standalone){const j=Ri(t.imports||tt),{directiveDefs:ie,pipeDefs:Ae}=function lD(e,t){let i=null,s=null;return{directiveDefs:()=>{if(null===i){i=[q(e)];const D=new Set;for(const w of t){const I=v(w);if(!D.has(I))if(D.add(I),Dt(I)){const j=ho(I);for(const ie of j.exported.directives){const Ae=q(ie)||Oe(ie);Ae&&!D.has(ie)&&(D.add(ie),i.push(Ae))}}else{const j=q(I)||Oe(I);j&&i.push(j)}}}return i},pipeDefs:()=>{if(null===s){s=[];const D=new Set;for(const w of t){const I=v(w);if(!D.has(I))if(D.add(I),Dt(I)){const j=ho(I);for(const ie of j.exported.pipes){const Ae=at(ie);Ae&&!D.has(ie)&&(D.add(ie),s.push(Ae))}}else{const j=at(I);j&&s.push(j)}}}return s}}}(e,j);i.directiveDefs=ie,i.pipeDefs=Ae,i.dependencies=()=>j.map(v)}}finally{ju--}if(0===ju&&fg(),function cD(e){return void 0!==e.ngSelectorScope}(e)){const j=ho(e.ngSelectorScope);Lu(i,j)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${L(e)} but is only valid on a component that is standalone.`);i.schemas=t.schemas}else t.standalone&&(i.schemas=[])}return i},configurable:!1})}function Bu(e,t){let i=null;Dg(e,t||{}),Object.defineProperty(e,Ft,{get:()=>{if(null===i){const s=Cg(e,t||{});i=ri().compileDirective(yi,s.sourceMapUrl,s.metadata)}return i},configurable:!1})}function Cg(e,t){const i=e&&e.name,s=`ng:///${i}/\u0275dir.js`,l=ri(),g=Eg(e,t);return g.typeSourceSpan=l.createParseSourceSpan("Directive",i,s),g.usesInheritance&&Tg(e),{metadata:g,sourceMapUrl:s}}function Dg(e,t){let i=null;Object.defineProperty(e,Nt,{get:()=>{if(null===i){const s=Cg(e,t),l=ri();i=l.compileFactory(yi,`ng:///${e.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:Js(e),target:l.FactoryTarget.Directive})}return i},configurable:!1})}function uD(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Eg(e,t){const i=ds(),s=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||ke,propMetadata:s,inputs:t.inputs||tt,outputs:t.outputs||tt,queries:wg(e,s,Mg),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!uD(e),exportAs:hD(t.exportAs),providers:t.providers||null,viewQueries:wg(e,s,Sg),isStandalone:!!t.standalone}}function Tg(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!Oe(i)&&!q(i)&&mD(i)&&Bu(i,null),i=Object.getPrototypeOf(i)}function dD(e){return"string"==typeof e?Og(e):v(e)}function fD(e,t){return{propertyName:e,predicate:dD(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function wg(e,t,i){const s=[];for(const l in t)if(t.hasOwnProperty(l)){const g=t[l];g.forEach(D=>{if(i(D)){if(!D.selector)throw new Error(`Can't construct a query for the property "${l}" of "${L(e)}" since the query selector wasn't defined.`);if(g.some(Ig))throw new Error("Cannot combine @Input decorators with query decorators");s.push(fD(l,D))}})}return s}function hD(e){return void 0===e?null:Og(e)}function Mg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Sg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Ig(e){return"Input"===e.ngMetadataName}function Og(e){return e.split(",").map(t=>t.trim())}const pD=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function mD(e){const t=ds();if(pD.some(s=>t.hasLifecycleHook(e,s)))return!0;const i=t.propMetadata(e);for(const s in i){const l=i[s];for(let g=0;g<l.length;g++){const D=l[g],w=D.ngMetadataName;if(Ig(D)||Mg(D)||Sg(D)||"Output"===w||"HostBinding"===w||"HostListener"===w)return!0}}return!1}function Ag(e,t){let i=null,s=null;Object.defineProperty(e,Nt,{get:()=>{if(null===s){const l=Pg(e,t),g=ri();s=g.compileFactory(yi,`ng:///${l.name}/\u0275fac.js`,{name:l.name,type:l.type,typeArgumentCount:0,deps:Js(e),target:g.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(e,At,{get:()=>{if(null===i){const l=Pg(e,t);i=ri().compilePipe(yi,`ng:///${l.name}/\u0275pipe.js`,l)}return i},configurable:!1})}function Pg(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const Rg=Co("Directive",(e={})=>e,void 0,void 0,(e,t)=>Bu(e,t)),gD=Co("Component",(e={})=>Object.assign({changeDetection:be.Default},e),Rg,void 0,(e,t)=>bg(e,t)),vD=Co("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>Ag(e,t)),_D=Gr("Input",e=>({bindingPropertyName:e})),yD=Gr("Output",e=>({bindingPropertyName:e})),bD=Gr("HostBinding",e=>({hostPropertyName:e})),CD=Gr("HostListener",(e,t)=>({eventName:e,args:t})),DD=Co("NgModule",e=>e,void 0,void 0,(e,t)=>pg(e,t));function La(...e){}const xg=new Pn("Application Initializer");let ja=(()=>{class e{constructor(i){this.appInits=i,this.resolve=La,this.reject=La,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,l)=>{this.resolve=s,this.reject=l})}runInitializers(){if(this.initialized)return;const i=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let l=0;l<this.appInits.length;l++){const g=this.appInits[l]();if(Pc(g))i.push(g);else if(op(g)){const D=new Promise((w,I)=>{g.subscribe({complete:w,error:I})});i.push(D)}}Promise.all(i).then(()=>{s()}).catch(l=>{this.reject(l)}),0===i.length&&s(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(ti(xg,8))},e.\u0275prov=ve({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Fg=new Pn("AppId",{providedIn:"root",factory:kg});function kg(){return`${Vu()}${Vu()}${Vu()}`}const ED={provide:Fg,useFactory:kg,deps:[]};function Vu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ng=new Pn("Platform Initializer"),TD=new Pn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Lg=new Pn("appBootstrapListener"),wD=new Pn("Application Packages Root URL"),MD=new Pn("AnimationModuleType");let SD=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ve({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Ba=new Pn("LocaleId",{providedIn:"root",factory:()=>wd(Ba,Be.Optional|Be.SkipSelf)||function ID(){return"undefined"!=typeof $localize&&$localize.locale||fo}()}),OD=new Pn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),AD=new Pn("Translations"),PD=new Pn("TranslationsFormat");var Sr=(()=>((Sr=Sr||{})[Sr.Error=0]="Error",Sr[Sr.Warning=1]="Warning",Sr[Sr.Ignore=2]="Ignore",Sr))();class jg{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let RD=(()=>{class e{compileModuleSync(i){return new Ra(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const s=this.compileModuleSync(i),g=Lr(Dt(i).declarations).reduce((D,w)=>{const I=q(w);return I&&D.push(new Lo(I)),D},[]);return new jg(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=ve({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Bg=new Pn("compilerOptions");class xD{}function FD(e){qh(e),wm(e).forEach(t=>Xh(t))}let $g=!1;function kD(){$g||($g=!0,zi("\u0275setProfiler",mr),zi("getDirectiveMetadata",RC),zi("getComponent",wu),zi("getContext",Em),zi("getListeners",Im),zi("getOwningComponent",Tm),zi("getHostElement",Mu),zi("getInjector",Mm),zi("getRootComponents",wm),zi("getDirectives",Sm),zi("applyChanges",FD))}function zi(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=U;if(i){let s=i.ng;s||(s=i.ng={}),s[e]=t}}}const ND=(()=>Promise.resolve(0))();function $u(e){"undefined"==typeof Zone?ND.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ki{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mr(!1),this.onMicrotaskEmpty=new Mr(!1),this.onStable=new Mr(!1),this.onError=new Mr(!1),"undefined"==typeof Zone)throw new M(908,!1);Zone.assertZonePatched();const l=this;if(l._nesting=0,l._outer=l._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const g=Zone.AsyncStackTaggingZoneSpec;l._inner=l._inner.fork(new g("Angular"))}Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!s&&i,l.shouldCoalesceRunChangeDetection=s,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function LD(){let e=U.requestAnimationFrame,t=U.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 VD(e){const t=()=>{!function BD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(U,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uu(e),e.isCheckStableRunning=!0,Hu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,s,l,g,D,w)=>{try{return Hg(e),i.invokeTask(l,g,D,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===g.type||e.shouldCoalesceRunChangeDetection)&&t(),Ug(e)}},onInvoke:(i,s,l,g,D,w,I)=>{try{return Hg(e),i.invoke(l,g,D,w,I)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ug(e)}},onHasTask:(i,s,l,g)=>{i.hasTask(l,g),s===l&&("microTask"==g.change?(e._hasPendingMicrotasks=g.microTask,Uu(e),Hu(e)):"macroTask"==g.change&&(e.hasPendingMacrotasks=g.macroTask))},onHandleError:(i,s,l,g)=>(i.handleError(l,g),e.runOutsideAngular(()=>e.onError.emit(g)),!1)})}(l)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ki.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(ki.isInAngularZone())throw new M(909,!1)}run(t,i,s){return this._inner.run(t,i,s)}runTask(t,i,s,l){const g=this._inner,D=g.scheduleEventTask("NgZoneEvent: "+l,t,jD,La,La);try{return g.runTask(D,i,s)}finally{g.cancelTask(D)}}runGuarded(t,i,s){return this._inner.runGuarded(t,i,s)}runOutsideAngular(t){return this._outer.run(t)}}const jD={};function Hu(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 Uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Hg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ug(e){e._nesting--,Hu(e)}class zg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mr,this.onMicrotaskEmpty=new Mr,this.onStable=new Mr,this.onError=new Mr}run(t,i,s){return t.apply(i,s)}runGuarded(t,i,s){return t.apply(i,s)}runOutsideAngular(t){return t()}runTask(t,i,s,l){return t.apply(i,s)}}const Wg=new Pn(""),Gg=new Pn("");let ks,$D=(()=>{class e{constructor(i,s,l){this._ngZone=i,this.registry=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ks||(Yg(l),l.addToWindow(s)),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:()=>{ki.assertNotInAngularZone(),$u(()=>{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())$u(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(i)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,s,l){let g=-1;s&&s>0&&(g=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==g),i(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:i,timeoutId:g,updateCb:l})}whenStable(i,s,l){if(l&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,s,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,s,l){return[]}}return e.\u0275fac=function(i){return new(i||e)(ti(ki),ti(Kg),ti(Gg))},e.\u0275prov=ve({token:e,factory:e.\u0275fac}),e})(),Kg=(()=>{class e{constructor(){this._applications=new Map}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){var l;return null!==(l=null==ks?void 0:ks.findTestabilityInTree(this,i,s))&&void 0!==l?l:null}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ve({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Yg(e){ks=e}let Ir=null;const zu=new Pn("AllowMultipleToken"),Wu=new Pn("PlatformDestroyListeners");function Qg(e,t,i){const s=new Ra(i);return Promise.resolve(s)}function Zg(e){return e.isBoundToModule}class HD{constructor(t,i){this.name=t,this.token=i}}function Jg(e){if(Ir&&!Ir.get(zu,!1))throw new M(400,!1);Ir=e;const t=e.get(Gu);return Xg(e),t}function Xg(e){const t=e.get(Ng,null);t&&t.forEach(i=>i())}function zD(e){const{rootComponent:t,appProviders:i,platformProviders:s}=e,l=function UD(e=[]){if(Ir)return Ir;const t=tv(e);return Ir=t,Xg(t),t}(s),g=new ki(nv());return g.run(()=>{const w=Tu([{provide:ki,useValue:g},...i||[]],l,"Environment Injector"),I=w.get(_s,null);let j;return g.runOutsideAngular(()=>{j=g.onError.subscribe({next:ie=>{I.handleError(ie)}})}),iv(I,g,()=>{const ie=w.get(ja);return ie.runInitializers(),ie.donePromise.then(()=>{hu(w.get(Ba,fo)||fo);const st=w.get($a),mt=()=>st.destroy(),Mt=l.get(Wu,null);return null==Mt||Mt.add(mt),st.onDestroy(()=>{null==Mt||Mt.delete(mt),j.unsubscribe()}),st.bootstrap(t),st})})})}function qg(e,t,i=[]){const s=`Platform: ${t}`,l=new Pn(s);return(g=[])=>{let D=Va();if(!D||D.injector.get(zu,!1)){const w=[...i,...g,{provide:l,useValue:!0}];e?e(w):Jg(tv(w,s))}return ev()}}function ev(e){const t=Va();if(!t)throw new M(401,!1);return t}function tv(e=[],t){return Yr.create({name:t,providers:[{provide:gl,useValue:"platform"},{provide:Wu,useValue:new Set([()=>Ir=null])},...e]})}function WD(){var e;null===(e=Va())||void 0===e||e.destroy()}function Va(){var e;return null!==(e=null==Ir?void 0:Ir.get(Gu))&&void 0!==e?e:null}let Gu=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,s){const l=function GD(e,t){let i;return i="noop"===e?new zg:("zone.js"===e?void 0:e)||new ki(t),i}(null==s?void 0:s.ngZone,nv(s)),g=[{provide:ki,useValue:l}];return l.run(()=>{const D=Yr.create({providers:g,parent:this.injector,name:i.moduleType.name}),w=i.create(D),I=w.injector.get(_s,null);if(!I)throw new M(402,!1);return l.runOutsideAngular(()=>{const j=l.onError.subscribe({next:ie=>{I.handleError(ie)}});w.onDestroy(()=>{Ha(this._modules,w),j.unsubscribe()})}),iv(I,l,()=>{const j=w.injector.get(ja);return j.runInitializers(),j.donePromise.then(()=>(hu(w.injector.get(Ba,fo)||fo),this._moduleDoBootstrap(w),w))})})}bootstrapModule(i,s=[]){const l=rv({},s);return Qg(0,0,i).then(g=>this.bootstrapModuleFactory(g,l))}_moduleDoBootstrap(i){const s=i.injector.get($a);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(l=>s.bootstrap(l));else{if(!i.instance.ngDoBootstrap)throw new M(403,!1);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 M(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const i=this._injector.get(Wu,null);i&&(i.forEach(s=>s()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(ti(Yr))},e.\u0275prov=ve({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function nv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}function iv(e,t,i){try{const s=i();return Pc(s)?s.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}function rv(e,t){return Array.isArray(t)?t.reduce(rv,e):Object.assign(Object.assign({},e),t)}let $a=(()=>{class e{constructor(i,s,l){this._zone=i,this._injector=s,this._exceptionHandler=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const g=new y.y(w=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{w.next(this._stable),w.complete()})}),D=new y.y(w=>{let I;this._zone.runOutsideAngular(()=>{I=this._zone.onStable.subscribe(()=>{ki.assertNotInAngularZone(),$u(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,w.next(!0))})})});const j=this._zone.onUnstable.subscribe(()=>{ki.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{w.next(!1)}))});return()=>{I.unsubscribe(),j.unsubscribe()}});this.isStable=(0,u.T)(g,D.pipe((0,r.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,s){const l=i instanceof ra;if(!this._injector.get(ja).done)throw!l&&Xo(i),new M(405,false);let D;D=l?i:this._injector.get(gs).resolveComponentFactory(i),this.componentTypes.push(D.componentType);const w=Zg(D)?void 0:this._injector.get(Zo),j=D.create(Yr.NULL,[],s||D.selector,w),ie=j.location.nativeElement,Ae=j.injector.get(Wg,null);return null==Ae||Ae.registerApplication(ie),j.onDestroy(()=>{this.detachView(j.hostView),Ha(this.components,j),null==Ae||Ae.unregisterApplication(ie)}),this._loadComponent(j),j}tick(){if(this._runningTick)throw new M(101,!1);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;Ha(this._views,s),s.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(Lg,[]).concat(this._bootstrapListeners).forEach(l=>l(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Ha(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new M(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(i){return new(i||e)(ti(ki),ti(so),ti(_s))},e.\u0275prov=ve({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ha(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let sv=!0,av=!1;function YD(){return av=!0,sv}function QD(){if(av)throw new Error("Cannot enable prod mode after platform setup.");sv=!1}function ZD(e){const t=xd(e);if(!t)throw lv(e);return new Ra(t)}function JD(e){const t=xd(e);if(!t)throw lv(e);return t}function lv(e){return new Error(`No module with ID ${e} loaded`)}let cv=(()=>{class e{}return e.__NG_ELEMENT_ID__=uv,e})();function uv(e){return function XD(e,t,i){if(wi(e)&&!i){const s=Qn(e.index,t);return new No(s,s)}return 47&e.type?new No(t[16],t):null}(xn(),St(),16==(16&e))}class dv extends cv{}class qD extends dv{}class eE{constructor(t,i){this.name=t,this.callback=i}}function tE(e){return e.map(t=>t.nativeElement)}class Ku{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ns(t):null}get injector(){return Mm(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(wu(t)||Tm(t))}get context(){return wu(this.nativeNode)||Em(this.nativeNode)}get listeners(){return Im(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function xC(e){const t=ui(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function ay(e,t){const i=e[1].data[t];if(i&&i.localNames){const s={};let l=i.index+1;for(let g=0;g<i.localNames.length;g+=2)s[i.localNames[g]]=e[l],l++;return s}return null}(i,t.nodeIndex)}return t.localRefs||{}}(this.nativeNode)}get providerTokens(){return function PC(e){const t=ui(e),i=t?t.lView:null;if(null===i)return[];const s=i[1],l=s.data[t.nodeIndex],g=[],w=l.directiveEnd;for(let I=1048575&l.providerIndexes;I<w;I++){let j=s.data[I];kC(j)&&(j=j.type),g.push(j)}return g}(this.nativeNode)}}class Ns extends Ku{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=ui(this.nativeNode),i=t?t.lView:null;return null!==i?i[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=ui(this.nativeNode),i=t?t.lView:null;if(null===i)return{};const s=i[1].data,l=s[t.nodeIndex],g={};return function nE(e,t){if(e){let i=Object.getPrototypeOf(e);const s=Node.prototype;for(;null!==i&&i!==s;){const l=Object.getOwnPropertyDescriptors(i);for(let g in l)if(!g.startsWith("__")&&!g.startsWith("on")){const D=e[g];iE(D)&&(t[g]=D)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,g),function rE(e,t,i,s){let l=t.propertyBindings;if(null!==l)for(let g=0;g<l.length;g++){const D=l[g],I=s[D].split("\ufffd"),j=I[0];if(I.length>1){let ie=I[1];for(let Ae=1;Ae<I.length-1;Ae++)ie+=P(i[D+Ae-1])+I[Ae+1];e[j]=ie}else e[j]=i[D]}}(g,l,i,s),g}get attributes(){const t={},i=this.nativeElement;if(!i)return t;const s=ui(i),l=s?s.lView:null;if(null===l)return{};const g=l[1].data[s.nodeIndex].attrs,D=[];if(g){let I=0;for(;I<g.length;){const j=g[I];if("string"!=typeof j)break;t[j]=g[I+1],D.push(j.toLowerCase()),I+=2}}const w=i.attributes;for(let I=0;I<w.length;I++){const j=w[I],ie=j.name.toLowerCase();-1===D.indexOf(ie)&&(t[ie]=j.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(qo(t[s]));return i}get children(){const t=this.nativeElement;if(!t)return[];const i=t.children,s=[];for(let l=0;l<i.length;l++)s.push(qo(i[l]));return s}query(t){return this.queryAll(t)[0]||null}queryAll(t){const i=[];return fv(this,t,i,!0),i}queryAllNodes(t){const i=[];return fv(this,t,i,!1),i}triggerEventHandler(t,i){const s=this.nativeNode,l=[];this.listeners.forEach(g=>{if(g.name===t){const D=g.callback;D.call(s,i),l.push(D)}}),"function"==typeof s.eventListeners&&s.eventListeners(t).forEach(g=>{if(-1!==g.toString().indexOf("__ngUnwrap__")){const D=g("__ngUnwrap__");return-1===l.indexOf(D)&&D.call(s,i)}})}}function iE(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function fv(e,t,i,s){const l=ui(e.nativeNode),g=l?l.lView:null;null!==g?po(g[1].data[l.nodeIndex],g,t,i,s,e.nativeNode):Qu(e.nativeNode,t,i,s)}function po(e,t,i,s,l,g){const D=function qn(e,t){const i=null===e?-1:e.index;return-1!==i?bn(t[i]):null}(e,t);if(11&e.type){if(Yu(D,i,s,l,g),wi(e)){const I=Qn(e.index,t);I&&I[1].firstChild&&po(I[1].firstChild,I,i,s,l,g)}else e.child&&po(e.child,t,i,s,l,g),D&&Qu(D,i,s,l);const w=t[e.index];Nn(w)&&hv(w,i,s,l,g)}else if(4&e.type){const w=t[e.index];Yu(w[7],i,s,l,g),hv(w,i,s,l,g)}else if(16&e.type){const w=t[16],j=w[6].projection[e.projection];if(Array.isArray(j))for(let ie of j)Yu(ie,i,s,l,g);else if(j){const ie=w[3];po(ie[1].data[j.index],ie,i,s,l,g)}}else e.child&&po(e.child,t,i,s,l,g);if(g!==D){const w=4&e.flags?e.projectionNext:e.next;w&&po(w,t,i,s,l,g)}}function hv(e,t,i,s,l){for(let g=10;g<e.length;g++){const D=e[g],w=D[1].firstChild;w&&po(w,D,t,i,s,l)}}function Yu(e,t,i,s,l){if(l!==e){const g=qo(e);if(!g)return;(s&&g instanceof Ns&&t(g)&&-1===i.indexOf(g)||!s&&t(g)&&-1===i.indexOf(g))&&i.push(g)}}function Qu(e,t,i,s){const l=e.childNodes,g=l.length;for(let D=0;D<g;D++){const w=l[D],I=qo(w);I&&((s&&I instanceof Ns&&t(I)&&-1===i.indexOf(I)||!s&&t(I)&&-1===i.indexOf(I))&&i.push(I),Qu(w,t,i,s))}}const Ju="__ng_debug__";function qo(e){return e instanceof Node?(e.hasOwnProperty(Ju)||(e[Ju]=e.nodeType==Node.ELEMENT_NODE?new Ns(e):new Ku(e)),e[Ju]):null}function oE(e){return null}class pv{constructor(){}supports(t){return Ts(t)}create(t){return new mv(t)}}const sE=(e,t)=>t;class mv{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||sE}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,s=this._removalsHead,l=0,g=null;for(;i||s;){const D=!s||i&&i.currentIndex<vv(s,l,g)?i:s,w=vv(D,l,g),I=D.currentIndex;if(D===s)l--,s=s._nextRemoved;else if(i=i._next,null==D.previousIndex)l++;else{g||(g=[]);const j=w-l,ie=I-l;if(j!=ie){for(let st=0;st<j;st++){const mt=st<g.length?g[st]:g[st]=0,Mt=mt+st;ie<=Mt&&Mt<j&&(g[st]=mt+1)}g[D.previousIndex]=ie-j}}w!==I&&t(D,w,I)}}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=[]),!Ts(t))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let l,g,D,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let w=0;w<this.length;w++)g=t[w],D=this._trackByFn(w,g),null!==i&&Object.is(i.trackById,D)?(s&&(i=this._verifyReinsertion(i,g,D,w)),Object.is(i.item,g)||this._addIdentityChange(i,g)):(i=this._mismatch(i,g,D,w),s=!0),i=i._next}else l=0,function s0(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[lo()]();let s;for(;!(s=i.next()).done;)t(s.value)}}(t,w=>{D=this._trackByFn(l,w),null!==i&&Object.is(i.trackById,D)?(s&&(i=this._verifyReinsertion(i,w,D,l)),Object.is(i.item,w)||this._addIdentityChange(i,w)):(i=this._mismatch(i,w,D,l),s=!0),i=i._next,l++}),this.length=l;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,s,l){let g;return null===t?g=this._itTail:(g=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,g,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,l))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,g,l)):t=this._addAfter(new aE(i,s),g,l),t}_verifyReinsertion(t,i,s,l){let g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==g?t=this._reinsertAfter(g,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,g=t._nextRemoved;return null===l?this._removalsHead=g:l._nextRemoved=g,null===g?this._removalsTail=l:g._prevRemoved=l,this._insertAfter(t,i,s),this._addToMoves(t,s),t}_moveAfter(t,i,s){return this._unlink(t),this._insertAfter(t,i,s),this._addToMoves(t,s),t}_addAfter(t,i,s){return this._insertAfter(t,i,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,s){const l=null===i?this._itHead:i._next;return t._next=l,t._prev=i,null===l?this._itTail=t:l._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new gv),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 gv),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 aE{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 lE{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 gv{constructor(){this.map=new Map}put(t){const i=t.trackById;let s=this.map.get(i);s||(s=new lE,this.map.set(i,s)),s.add(t)}get(t,i){const l=this.map.get(t);return l?l.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function vv(e,t,i){const s=e.previousIndex;if(null===s)return s;let l=0;return i&&s<i.length&&(l=i[s]),s+t+l}class _v{constructor(){}supports(t){return t instanceof Map||gc(t)}create(){return new cE}}class cE{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||gc(t)))throw new M(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(t,(s,l)=>{if(i&&i.key===l)this._maybeAddToChanges(i,s),this._appendAfter=i,i=i._next;else{const g=this._getOrCreateRecordForKey(l,s);i=this._insertBeforeOrAppend(i,g)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let s=i;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const s=t._prev;return i._next=t,i._prev=s,t._prev=i,s&&(s._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const l=this._records.get(t);this._maybeAddToChanges(l,i);const g=l._prev,D=l._next;return g&&(g._next=D),D&&(D._prev=g),l._next=null,l._prev=null,l}const s=new uE(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 uE{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 yv(){return new Xu([new pv])}let Xu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(null!=s){const l=s.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||yv()),deps:[[e,new To,new us]]}}find(i){const s=this.factories.find(l=>l.supports(i));if(null!=s)return s;throw new M(901,!1)}}return e.\u0275prov=ve({token:e,providedIn:"root",factory:yv}),e})();function bv(){return new qu([new _v])}let qu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(s){const l=s.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||bv()),deps:[[e,new To,new us]]}}find(i){const s=this.factories.find(l=>l.supports(i));if(s)return s;throw new M(901,!1)}}return e.\u0275prov=ve({token:e,providedIn:"root",factory:bv}),e})();const dE=[new _v],hE=new Xu([new pv]),pE=new qu(dE),mE=qg(null,"core",[]);let gE=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(ti($a))},e.\u0275mod=B({type:e}),e.\u0275inj=Le({}),e})();function vE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}const _E=!0;function yE(e){return ri().compileDirectiveDeclaration(yi,`ng:///${e.type.name}/\u0275fac.js`,e)}function bE(e){var t,i;Om(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(i=e.propDecorators)&&void 0!==i?i:null)}function CE(e){return ri().compileComponentDeclaration(yi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function DE(e){return ri(function EE(e){switch(e){case ii.Directive:return"directive";case ii.Component:return"component";case ii.Injectable:return"injectable";case ii.Pipe:return"pipe";case ii.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(yi,`ng:///${e.type.name}/\u0275fac.js`,e)}function TE(e){return ri().compileInjectableDeclaration(yi,`ng:///${e.type.name}/\u0275prov.js`,e)}function wE(e){return ri().compileInjectorDeclaration(yi,`ng:///${e.type.name}/\u0275inj.js`,e)}function ME(e){return ri().compileNgModuleDeclaration(yi,`ng:///${e.type.name}/\u0275mod.js`,e)}function SE(e){return ri().compilePipeDeclaration(yi,`ng:///${e.type.name}/\u0275pipe.js`,e)}function IE(e,t){const i=q(e),s=t.elementInjector||ia();return new Lo(i).create(s,t.projectableNodes,t.hostElement,t.environmentInjector)}function OE(e){const t=q(e);if(!t)return null;const i=new Lo(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone}}}},3075:(H,o,a)=>{"use strict";a.r(o),a.d(o,{AbstractControl:()=>q,AbstractControlDirective:()=>je,AbstractFormGroupDirective:()=>Nn,COMPOSITION_BUFFER_MODE:()=>m,CheckboxControlValueAccessor:()=>f,CheckboxRequiredValidator:()=>Qn,ControlContainer:()=>Fe,DefaultValueAccessor:()=>C,EmailValidator:()=>se,FormArray:()=>Rn,FormArrayName:()=>ni,FormBuilder:()=>ai,FormControl:()=>On,FormControlDirective:()=>Mi,FormControlName:()=>Ii,FormGroup:()=>Oe,FormGroupDirective:()=>Ei,FormGroupName:()=>Si,FormRecord:()=>Ht,FormsModule:()=>$n,MaxLengthValidator:()=>Et,MaxValidator:()=>mi,MinLengthValidator:()=>he,MinValidator:()=>Tn,NG_ASYNC_VALIDATORS:()=>Q,NG_VALIDATORS:()=>L,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>Te,NgControlStatus:()=>Ke,NgControlStatusGroup:()=>Y,NgForm:()=>nn,NgModel:()=>Ki,NgModelGroup:()=>Wi,NgSelectOption:()=>Vi,NonNullableFormBuilder:()=>xn,NumberValueAccessor:()=>Xn,PatternValidator:()=>Bt,RadioControlValueAccessor:()=>Di,RangeValueAccessor:()=>Yi,ReactiveFormsModule:()=>Dn,RequiredValidator:()=>gi,SelectControlValueAccessor:()=>hi,SelectMultipleControlValueAccessor:()=>pi,UntypedFormArray:()=>St,UntypedFormBuilder:()=>tr,UntypedFormControl:()=>kn,UntypedFormGroup:()=>at,VERSION:()=>Hi,Validators:()=>z,\u0275InternalFormsSharedModule:()=>fn,\u0275NgNoValidate:()=>cr,\u0275NgSelectMultipleOption:()=>Oi});var n=a(5e3),h=a(9808),y=a(2076),u=a(4128),r=a(4004);let c=(()=>{class k{constructor(S,ce){this._renderer=S,this._elementRef=ce,this.onChange=Ct=>{},this.onTouched=()=>{}}setProperty(S,ce){this._renderer.setProperty(this._elementRef.nativeElement,S,ce)}registerOnTouched(S){this.onTouched=S}registerOnChange(S){this.onChange=S}setDisabledState(S){this.setProperty("disabled",S)}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k}),k})(),d=(()=>{class k extends c{}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const p=new n.InjectionToken("NgValueAccessor"),_={provide:p,useExisting:(0,n.forwardRef)(()=>f),multi:!0};let f=(()=>{class k extends d{writeValue(S){this.setProperty("checked",S)}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(jt){return ce.onChange(jt.target.checked)})("blur",function(){return ce.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([_]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const b={provide:p,useExisting:(0,n.forwardRef)(()=>C),multi:!0},m=new n.InjectionToken("CompositionEventMode");let C=(()=>{class k extends c{constructor(S,ce,Ct){super(S,ce),this._compositionMode=Ct,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function v(){const k=(0,h.\u0275getDOM)()?(0,h.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(k.toLowerCase())}())}writeValue(S){this.setProperty("value",null==S?"":S)}_handleInput(S){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(S)}_compositionStart(){this._composing=!0}_compositionEnd(S){this._composing=!1,this._compositionMode&&this.onChange(S)}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(m,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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(S,ce){1&S&&n.\u0275\u0275listener("input",function(jt){return ce._handleInput(jt.target.value)})("blur",function(){return ce.onTouched()})("compositionstart",function(){return ce._compositionStart()})("compositionend",function(jt){return ce._compositionEnd(jt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([b]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function O(k){return null==k||("string"==typeof k||Array.isArray(k))&&0===k.length}function P(k){return null!=k&&"number"==typeof k.length}const L=new n.InjectionToken("NgValidators"),Q=new n.InjectionToken("NgAsyncValidators"),$=/^(?=.{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 z{static min(A){return V(A)}static max(A){return X(A)}static required(A){return re(A)}static requiredTrue(A){return me(A)}static email(A){return Re(A)}static minLength(A){return it(A)}static maxLength(A){return Ce(A)}static pattern(A){return xe(A)}static nullValidator(A){return null}static compose(A){return x(A)}static composeAsync(A){return K(A)}}function V(k){return A=>{if(O(A.value)||O(k))return null;const S=parseFloat(A.value);return!isNaN(S)&&S<k?{min:{min:k,actual:A.value}}:null}}function X(k){return A=>{if(O(A.value)||O(k))return null;const S=parseFloat(A.value);return!isNaN(S)&&S>k?{max:{max:k,actual:A.value}}:null}}function re(k){return O(k.value)?{required:!0}:null}function me(k){return!0===k.value?null:{required:!0}}function Re(k){return O(k.value)||$.test(k.value)?null:{email:!0}}function it(k){return A=>O(A.value)||!P(A.value)?null:A.value.length<k?{minlength:{requiredLength:k,actualLength:A.value.length}}:null}function Ce(k){return A=>P(A.value)&&A.value.length>k?{maxlength:{requiredLength:k,actualLength:A.value.length}}:null}function xe(k){if(!k)return oe;let A,S;return"string"==typeof k?(S="","^"!==k.charAt(0)&&(S+="^"),S+=k,"$"!==k.charAt(k.length-1)&&(S+="$"),A=new RegExp(S)):(S=k.toString(),A=k),ce=>{if(O(ce.value))return null;const Ct=ce.value;return A.test(Ct)?null:{pattern:{requiredPattern:S,actualValue:Ct}}}}function oe(k){return null}function Ie(k){return null!=k}function ze(k){return(0,n.\u0275isPromise)(k)?(0,y.D)(k):k}function qe(k){let A={};return k.forEach(S=>{A=null!=S?Object.assign(Object.assign({},A),S):A}),0===Object.keys(A).length?null:A}function te(k,A){return A.map(S=>S(k))}function W(k){return k.map(A=>function fe(k){return!k.validate}(A)?A:S=>A.validate(S))}function x(k){if(!k)return null;const A=k.filter(Ie);return 0==A.length?null:function(S){return qe(te(S,A))}}function G(k){return null!=k?x(W(k)):null}function K(k){if(!k)return null;const A=k.filter(Ie);return 0==A.length?null:function(S){const ce=te(S,A).map(ze);return(0,u.D)(ce).pipe((0,r.U)(qe))}}function ne(k){return null!=k?K(W(k)):null}function ve(k,A){return null===k?[A]:Array.isArray(k)?[...k,A]:[k,A]}function ge(k){return k._rawValidators}function Le(k){return k._rawAsyncValidators}function ct(k){return k?Array.isArray(k)?k:[k]:[]}function ft(k,A){return Array.isArray(k)?k.includes(A):k===A}function gt(k,A){const S=ct(A);return ct(k).forEach(Ct=>{ft(S,Ct)||S.push(Ct)}),S}function ut(k,A){return ct(A).filter(S=>!ft(k,S))}class je{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(A){this._rawValidators=A||[],this._composedValidatorFn=G(this._rawValidators)}_setAsyncValidators(A){this._rawAsyncValidators=A||[],this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(A){this._onDestroyCallbacks.push(A)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(A=>A()),this._onDestroyCallbacks=[]}reset(A){this.control&&this.control.reset(A)}hasError(A,S){return!!this.control&&this.control.hasError(A,S)}getError(A,S){return this.control?this.control.getError(A,S):null}}class Te extends je{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Fe extends je{get formDirective(){return null}get path(){return null}}class pe{constructor(A){this._cd=A}get isTouched(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.touched)}get isUntouched(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.untouched)}get isPristine(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.pristine)}get isDirty(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.dirty)}get isValid(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.valid)}get isInvalid(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.invalid)}get isPending(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.pending)}get isSubmitted(){var A;return!(null===(A=this._cd)||void 0===A||!A.submitted)}}let Ke=(()=>{class k extends pe{constructor(S){super(S)}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(Te,2))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(S,ce){2&S&&n.\u0275\u0275classProp("ng-untouched",ce.isUntouched)("ng-touched",ce.isTouched)("ng-pristine",ce.isPristine)("ng-dirty",ce.isDirty)("ng-valid",ce.isValid)("ng-invalid",ce.isInvalid)("ng-pending",ce.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),k})(),Y=(()=>{class k extends pe{constructor(S){super(S)}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(Fe,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(S,ce){2&S&&n.\u0275\u0275classProp("ng-untouched",ce.isUntouched)("ng-touched",ce.isTouched)("ng-pristine",ce.isPristine)("ng-dirty",ce.isDirty)("ng-valid",ce.isValid)("ng-invalid",ce.isInvalid)("ng-pending",ce.isPending)("ng-submitted",ce.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const rt="VALID",Ze="INVALID",Ee="PENDING",_e="DISABLED";function ae(k){return(yt(k)?k.validators:k)||null}function le(k){return Array.isArray(k)?G(k):k||null}function B(k,A){return(yt(A)?A.asyncValidators:k)||null}function Me(k){return Array.isArray(k)?ne(k):k||null}function yt(k){return null!=k&&!Array.isArray(k)&&"object"==typeof k}function Ge(k,A,S){const ce=k.controls;if(!(A?Object.keys(ce):ce).length)throw new n.\u0275RuntimeError(1e3,"");if(!ce[S])throw new n.\u0275RuntimeError(1001,"")}function bt(k,A,S){k._forEachChild((ce,Ct)=>{if(void 0===S[Ct])throw new n.\u0275RuntimeError(1002,"")})}class q{constructor(A,S){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=A,this._rawAsyncValidators=S,this._composedValidatorFn=le(this._rawValidators),this._composedAsyncValidatorFn=Me(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(A){this._rawValidators=this._composedValidatorFn=A}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(A){this._rawAsyncValidators=this._composedAsyncValidatorFn=A}get parent(){return this._parent}get valid(){return this.status===rt}get invalid(){return this.status===Ze}get pending(){return this.status==Ee}get disabled(){return this.status===_e}get enabled(){return this.status!==_e}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(A){this._rawValidators=A,this._composedValidatorFn=le(A)}setAsyncValidators(A){this._rawAsyncValidators=A,this._composedAsyncValidatorFn=Me(A)}addValidators(A){this.setValidators(gt(A,this._rawValidators))}addAsyncValidators(A){this.setAsyncValidators(gt(A,this._rawAsyncValidators))}removeValidators(A){this.setValidators(ut(A,this._rawValidators))}removeAsyncValidators(A){this.setAsyncValidators(ut(A,this._rawAsyncValidators))}hasValidator(A){return ft(this._rawValidators,A)}hasAsyncValidator(A){return ft(this._rawAsyncValidators,A)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(A={}){this.touched=!0,this._parent&&!A.onlySelf&&this._parent.markAsTouched(A)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(A=>A.markAllAsTouched())}markAsUntouched(A={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(S=>{S.markAsUntouched({onlySelf:!0})}),this._parent&&!A.onlySelf&&this._parent._updateTouched(A)}markAsDirty(A={}){this.pristine=!1,this._parent&&!A.onlySelf&&this._parent.markAsDirty(A)}markAsPristine(A={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(S=>{S.markAsPristine({onlySelf:!0})}),this._parent&&!A.onlySelf&&this._parent._updatePristine(A)}markAsPending(A={}){this.status=Ee,!1!==A.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!A.onlySelf&&this._parent.markAsPending(A)}disable(A={}){const S=this._parentMarkedDirty(A.onlySelf);this.status=_e,this.errors=null,this._forEachChild(ce=>{ce.disable(Object.assign(Object.assign({},A),{onlySelf:!0}))}),this._updateValue(),!1!==A.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},A),{skipPristineCheck:S})),this._onDisabledChange.forEach(ce=>ce(!0))}enable(A={}){const S=this._parentMarkedDirty(A.onlySelf);this.status=rt,this._forEachChild(ce=>{ce.enable(Object.assign(Object.assign({},A),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},A),{skipPristineCheck:S})),this._onDisabledChange.forEach(ce=>ce(!1))}_updateAncestors(A){this._parent&&!A.onlySelf&&(this._parent.updateValueAndValidity(A),A.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(A){this._parent=A}getRawValue(){return this.value}updateValueAndValidity(A={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rt||this.status===Ee)&&this._runAsyncValidator(A.emitEvent)),!1!==A.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!A.onlySelf&&this._parent.updateValueAndValidity(A)}_updateTreeValidity(A={emitEvent:!0}){this._forEachChild(S=>S._updateTreeValidity(A)),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?_e:rt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(A){if(this.asyncValidator){this.status=Ee,this._hasOwnPendingAsyncValidator=!0;const S=ze(this.asyncValidator(this));this._asyncValidationSubscription=S.subscribe(ce=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ce,{emitEvent:A})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(A,S={}){this.errors=A,this._updateControlsErrors(!1!==S.emitEvent)}get(A){let S=A;return null==S||(Array.isArray(S)||(S=S.split(".")),0===S.length)?null:S.reduce((ce,Ct)=>ce&&ce._find(Ct),this)}getError(A,S){const ce=S?this.get(S):this;return ce&&ce.errors?ce.errors[A]:null}hasError(A,S){return!!this.getError(A,S)}get root(){let A=this;for(;A._parent;)A=A._parent;return A}_updateControlsErrors(A){this.status=this._calculateStatus(),A&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(A)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?_e:this.errors?Ze:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ee)?Ee:this._anyControlsHaveStatus(Ze)?Ze:rt}_anyControlsHaveStatus(A){return this._anyControls(S=>S.status===A)}_anyControlsDirty(){return this._anyControls(A=>A.dirty)}_anyControlsTouched(){return this._anyControls(A=>A.touched)}_updatePristine(A={}){this.pristine=!this._anyControlsDirty(),this._parent&&!A.onlySelf&&this._parent._updatePristine(A)}_updateTouched(A={}){this.touched=this._anyControlsTouched(),this._parent&&!A.onlySelf&&this._parent._updateTouched(A)}_registerOnCollectionChange(A){this._onCollectionChange=A}_setUpdateStrategy(A){yt(A)&&null!=A.updateOn&&(this._updateOn=A.updateOn)}_parentMarkedDirty(A){return!A&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(A){return null}}class Oe extends q{constructor(A,S,ce){super(ae(S),B(ce,S)),this.controls=A,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(A,S){return this.controls[A]?this.controls[A]:(this.controls[A]=S,S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange),S)}addControl(A,S,ce={}){this.registerControl(A,S),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}removeControl(A,S={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}setControl(A,S,ce={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],S&&this.registerControl(A,S),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}contains(A){return this.controls.hasOwnProperty(A)&&this.controls[A].enabled}setValue(A,S={}){bt(this,0,A),Object.keys(A).forEach(ce=>{Ge(this,!0,ce),this.controls[ce].setValue(A[ce],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(A,S={}){null!=A&&(Object.keys(A).forEach(ce=>{const Ct=this.controls[ce];Ct&&Ct.patchValue(A[ce],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(A={},S={}){this._forEachChild((ce,Ct)=>{ce.reset(A[Ct],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this._reduceChildren({},(A,S,ce)=>(A[ce]=S.getRawValue(),A))}_syncPendingControls(){let A=this._reduceChildren(!1,(S,ce)=>!!ce._syncPendingControls()||S);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){Object.keys(this.controls).forEach(S=>{const ce=this.controls[S];ce&&A(ce,S)})}_setUpControls(){this._forEachChild(A=>{A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(A){for(const[S,ce]of Object.entries(this.controls))if(this.contains(S)&&A(ce))return!0;return!1}_reduceValue(){return this._reduceChildren({},(S,ce,Ct)=>((ce.enabled||this.disabled)&&(S[Ct]=ce.value),S))}_reduceChildren(A,S){let ce=A;return this._forEachChild((Ct,jt)=>{ce=S(ce,Ct,jt)}),ce}_allControlsDisabled(){for(const A of Object.keys(this.controls))if(this.controls[A].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(A){return this.controls.hasOwnProperty(A)?this.controls[A]:null}}const at=Oe;class Ht extends Oe{}function Xt(k,A){return[...A.path,k]}function vn(k,A){var S,ce;et(k,A),A.valueAccessor.writeValue(k.value),k.disabled&&(null===(ce=(S=A.valueAccessor).setDisabledState)||void 0===ce||ce.call(S,!0)),function It(k,A){A.valueAccessor.registerOnChange(S=>{k._pendingValue=S,k._pendingChange=!0,k._pendingDirty=!0,"change"===k.updateOn&&Wt(k,A)})}(k,A),function _n(k,A){const S=(ce,Ct)=>{A.valueAccessor.writeValue(ce),Ct&&A.viewToModelUpdate(ce)};k.registerOnChange(S),A._registerOnDestroy(()=>{k._unregisterOnChange(S)})}(k,A),function Lt(k,A){A.valueAccessor.registerOnTouched(()=>{k._pendingTouched=!0,"blur"===k.updateOn&&k._pendingChange&&Wt(k,A),"submit"!==k.updateOn&&k.markAsTouched()})}(k,A),function De(k,A){if(A.valueAccessor.setDisabledState){const S=ce=>{A.valueAccessor.setDisabledState(ce)};k.registerOnDisabledChange(S),A._registerOnDestroy(()=>{k._unregisterOnDisabledChange(S)})}}(k,A)}function Xe(k,A,S=!0){const ce=()=>{};A.valueAccessor&&(A.valueAccessor.registerOnChange(ce),A.valueAccessor.registerOnTouched(ce)),lt(k,A),k&&(A._invokeOnDestroyCallbacks(),k._registerOnCollectionChange(()=>{}))}function Ye(k,A){k.forEach(S=>{S.registerOnValidatorChange&&S.registerOnValidatorChange(A)})}function et(k,A){const S=ge(k);null!==A.validator?k.setValidators(ve(S,A.validator)):"function"==typeof S&&k.setValidators([S]);const ce=Le(k);null!==A.asyncValidator?k.setAsyncValidators(ve(ce,A.asyncValidator)):"function"==typeof ce&&k.setAsyncValidators([ce]);const Ct=()=>k.updateValueAndValidity();Ye(A._rawValidators,Ct),Ye(A._rawAsyncValidators,Ct)}function lt(k,A){let S=!1;if(null!==k){if(null!==A.validator){const Ct=ge(k);if(Array.isArray(Ct)&&Ct.length>0){const jt=Ct.filter(jn=>jn!==A.validator);jt.length!==Ct.length&&(S=!0,k.setValidators(jt))}}if(null!==A.asyncValidator){const Ct=Le(k);if(Array.isArray(Ct)&&Ct.length>0){const jt=Ct.filter(jn=>jn!==A.asyncValidator);jt.length!==Ct.length&&(S=!0,k.setAsyncValidators(jt))}}}const ce=()=>{};return Ye(A._rawValidators,ce),Ye(A._rawAsyncValidators,ce),S}function Wt(k,A){k._pendingDirty&&k.markAsDirty(),k.setValue(k._pendingValue,{emitModelToViewChange:!1}),A.viewToModelUpdate(k._pendingValue),k._pendingChange=!1}function gn(k,A){et(k,A)}function ht(k,A){if(!k.hasOwnProperty("model"))return!1;const S=k.model;return!!S.isFirstChange()||!Object.is(A,S.currentValue)}function xt(k,A){k._syncPendingControls(),A.forEach(S=>{const ce=S.control;"submit"===ce.updateOn&&ce._pendingChange&&(S.viewToModelUpdate(ce._pendingValue),ce._pendingChange=!1)})}function Kt(k,A){if(!A)return null;let S,ce,Ct;return Array.isArray(A),A.forEach(jt=>{jt.constructor===C?S=jt:function Tt(k){return Object.getPrototypeOf(k.constructor)===d}(jt)?ce=jt:Ct=jt}),Ct||ce||S||null}const dn={provide:Fe,useExisting:(0,n.forwardRef)(()=>nn)},ln=(()=>Promise.resolve(null))();let nn=(()=>{class k extends Fe{constructor(S,ce){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Oe({},G(S),ne(ce))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(S){ln.then(()=>{const ce=this._findContainer(S.path);S.control=ce.registerControl(S.name,S.control),vn(S.control,S),S.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(S)})}getControl(S){return this.form.get(S.path)}removeControl(S){ln.then(()=>{const ce=this._findContainer(S.path);ce&&ce.removeControl(S.name),this._directives.delete(S)})}addFormGroup(S){ln.then(()=>{const ce=this._findContainer(S.path),Ct=new Oe({});gn(Ct,S),ce.registerControl(S.name,Ct),Ct.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(S){ln.then(()=>{const ce=this._findContainer(S.path);ce&&ce.removeControl(S.name)})}getFormGroup(S){return this.form.get(S.path)}updateModel(S,ce){ln.then(()=>{this.form.get(S.path).setValue(ce)})}setValue(S){this.control.setValue(S)}onSubmit(S){return this.submitted=!0,xt(this.form,this._directives),this.ngSubmit.emit(S),!1}onReset(){this.resetForm()}resetForm(S){this.form.reset(S),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(S){return S.pop(),S.length?this.form.get(S):this.form}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Q,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("submit",function(jt){return ce.onSubmit(jt)})("reset",function(){return ce.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([dn]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function zn(k,A){const S=k.indexOf(A);S>-1&&k.splice(S,1)}function cn(k){return"object"==typeof k&&null!==k&&2===Object.keys(k).length&&"value"in k&&"disabled"in k}const On=class extends q{constructor(A=null,S,ce){super(ae(S),B(ce,S)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(A),this._setUpdateStrategy(S),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),yt(S)&&(S.nonNullable||S.initialValueIsDefault)&&(this.defaultValue=cn(A)?A.value:A)}setValue(A,S={}){this.value=this._pendingValue=A,this._onChange.length&&!1!==S.emitModelToViewChange&&this._onChange.forEach(ce=>ce(this.value,!1!==S.emitViewToModelChange)),this.updateValueAndValidity(S)}patchValue(A,S={}){this.setValue(A,S)}reset(A=this.defaultValue,S={}){this._applyFormState(A),this.markAsPristine(S),this.markAsUntouched(S),this.setValue(this.value,S),this._pendingChange=!1}_updateValue(){}_anyControls(A){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(A){this._onChange.push(A)}_unregisterOnChange(A){zn(this._onChange,A)}registerOnDisabledChange(A){this._onDisabledChange.push(A)}_unregisterOnDisabledChange(A){zn(this._onDisabledChange,A)}_forEachChild(A){}_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(A){cn(A)?(this.value=this._pendingValue=A.value,A.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=A}},kn=On;let Nn=(()=>{class k extends Fe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const Ni={provide:Fe,useExisting:(0,n.forwardRef)(()=>Wi)};let Wi=(()=>{class k extends Nn{constructor(S,ce,Ct){super(),this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct)}_checkParentType(){}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(Fe,5),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Q,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Ci={provide:Te,useExisting:(0,n.forwardRef)(()=>Ki)},Gi=(()=>Promise.resolve(null))();let Ki=(()=>{class k extends Te{constructor(S,ce,Ct,jt,jn){super(),this._changeDetectorRef=jn,this.control=new On,this._registered=!1,this.update=new n.EventEmitter,this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct),this.valueAccessor=Kt(0,jt)}ngOnChanges(S){if(this._checkForErrors(),!this._registered||"name"in S){if(this._registered&&(this._checkName(),this.formDirective)){const ce=S.name.previousValue;this.formDirective.removeControl({name:ce,path:this._getPath(ce)})}this._setUpControl()}"isDisabled"in S&&this._updateDisabled(S),ht(S,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(S){this.viewModel=S,this.update.emit(S)}_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(){vn(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(S){Gi.then(()=>{var ce;this.control.setValue(S,{emitViewToModelChange:!1}),null===(ce=this._changeDetectorRef)||void 0===ce||ce.markForCheck()})}_updateDisabled(S){const ce=S.isDisabled.currentValue,Ct=0!==ce&&(0,n.\u0275coerceToBoolean)(ce);Gi.then(()=>{var jt;Ct&&!this.control.disabled?this.control.disable():!Ct&&this.control.disabled&&this.control.enable(),null===(jt=this._changeDetectorRef)||void 0===jt||jt.markForCheck()})}_getPath(S){return this._parent?Xt(S,this._parent):[S]}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(Fe,9),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Q,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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([Ci]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})(),cr=(()=>{class k{}return k.\u0275fac=function(S){return new(S||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),k})();const Jr={provide:p,useExisting:(0,n.forwardRef)(()=>Xn),multi:!0};let Xn=(()=>{class k extends d{writeValue(S){this.setProperty("value",null==S?"":S)}registerOnChange(S){this.onChange=ce=>{S(""==ce?null:parseFloat(ce))}}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("input",function(jt){return ce.onChange(jt.target.value)})("blur",function(){return ce.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Jr]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const ur={provide:p,useExisting:(0,n.forwardRef)(()=>Di),multi:!0};let Li=(()=>{class k{}return k.\u0275fac=function(S){return new(S||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({}),k})(),dr=(()=>{class k{constructor(){this._accessors=[]}add(S,ce){this._accessors.push([S,ce])}remove(S){for(let ce=this._accessors.length-1;ce>=0;--ce)if(this._accessors[ce][1]===S)return void this._accessors.splice(ce,1)}select(S){this._accessors.forEach(ce=>{this._isSameGroup(ce,S)&&ce[1]!==S&&ce[1].fireUncheck(S.value)})}_isSameGroup(S,ce){return!!S[0].control&&S[0]._parent===ce._control._parent&&S[1].name===ce.name}}return k.\u0275fac=function(S){return new(S||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:Li}),k})(),Di=(()=>{class k extends d{constructor(S,ce,Ct,jt){super(S,ce),this._registry=Ct,this._injector=jt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Te),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(S){this._state=S===this.value,this.setProperty("checked",this._state)}registerOnChange(S){this._fn=S,this.onChange=()=>{S(this.value),this._registry.select(this)}}fireUncheck(S){this.writeValue(S)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(dr),n.\u0275\u0275directiveInject(n.Injector))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(){return ce.onChange()})("blur",function(){return ce.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([ur]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Or={provide:p,useExisting:(0,n.forwardRef)(()=>Yi),multi:!0};let Yi=(()=>{class k extends d{writeValue(S){this.setProperty("value",parseFloat(S))}registerOnChange(S){this.onChange=ce=>{S(""==ce?null:parseFloat(ce))}}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(jt){return ce.onChange(jt.target.value)})("input",function(jt){return ce.onChange(jt.target.value)})("blur",function(){return ce.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Or]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Qi=new n.InjectionToken("NgModelWithFormControlWarning"),Hr={provide:Te,useExisting:(0,n.forwardRef)(()=>Mi)};let Mi=(()=>{class k extends Te{constructor(S,ce,Ct,jt){super(),this._ngModelWarningConfig=jt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(S),this._setAsyncValidators(ce),this.valueAccessor=Kt(0,Ct)}set isDisabled(S){}ngOnChanges(S){if(this._isControlChanged(S)){const ce=S.form.previousValue;ce&&Xe(ce,this,!1),vn(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}ht(S,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Xe(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}_isControlChanged(S){return S.hasOwnProperty("form")}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Q,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Qi,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Hr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const fr={provide:Fe,useExisting:(0,n.forwardRef)(()=>Ei)};let Ei=(()=>{class k extends Fe{constructor(S,ce){super(),this.validators=S,this.asyncValidators=ce,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(S),this._setAsyncValidators(ce)}ngOnChanges(S){this._checkFormPresent(),S.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(lt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(S){const ce=this.form.get(S.path);return vn(ce,S),ce.updateValueAndValidity({emitEvent:!1}),this.directives.push(S),ce}getControl(S){return this.form.get(S.path)}removeControl(S){Xe(S.control||null,S,!1),function Ut(k,A){const S=k.indexOf(A);S>-1&&k.splice(S,1)}(this.directives,S)}addFormGroup(S){this._setUpFormContainer(S)}removeFormGroup(S){this._cleanUpFormContainer(S)}getFormGroup(S){return this.form.get(S.path)}addFormArray(S){this._setUpFormContainer(S)}removeFormArray(S){this._cleanUpFormContainer(S)}getFormArray(S){return this.form.get(S.path)}updateModel(S,ce){this.form.get(S.path).setValue(ce)}onSubmit(S){return this.submitted=!0,xt(this.form,this.directives),this.ngSubmit.emit(S),!1}onReset(){this.resetForm()}resetForm(S){this.form.reset(S),this.submitted=!1}_updateDomValue(){this.directives.forEach(S=>{const ce=S.control,Ct=this.form.get(S.path);ce!==Ct&&(Xe(ce||null,S),(k=>k instanceof On)(Ct)&&(vn(Ct,S),S.control=Ct))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(S){const ce=this.form.get(S.path);gn(ce,S),ce.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(S){if(this.form){const ce=this.form.get(S.path);ce&&function Hn(k,A){return lt(k,A)}(ce,S)&&ce.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){et(this.form,this),this._oldForm&&lt(this._oldForm,this)}_checkFormPresent(){}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Q,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroup",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("submit",function(jt){return ce.onSubmit(jt)})("reset",function(){return ce.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([fr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const Ar={provide:Fe,useExisting:(0,n.forwardRef)(()=>Si)};let Si=(()=>{class k extends Nn{constructor(S,ce,Ct){super(),this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct)}_checkParentType(){Ji(this._parent)}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(Fe,13),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Q,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Ar]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Zi={provide:Fe,useExisting:(0,n.forwardRef)(()=>ni)};let ni=(()=>{class k extends Fe{constructor(S,ce,Ct){super(),this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct)}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 Xt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ji(this._parent)}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(Fe,13),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Q,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Zi]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function Ji(k){return!(k instanceof Si||k instanceof Ei||k instanceof ni)}const ji={provide:Te,useExisting:(0,n.forwardRef)(()=>Ii)};let Ii=(()=>{class k extends Te{constructor(S,ce,Ct,jt,jn){super(),this._ngModelWarningConfig=jn,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct),this.valueAccessor=Kt(0,jt)}set isDisabled(S){}ngOnChanges(S){this._added||this._setUpControl(),ht(S,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}get path(){return Xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(Fe,13),n.\u0275\u0275directiveInject(L,10),n.\u0275\u0275directiveInject(Q,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Qi,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([ji]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const hr={provide:p,useExisting:(0,n.forwardRef)(()=>hi),multi:!0};function Xi(k,A){return null==k?`${A}`:(A&&"object"==typeof A&&(A="Object"),`${k}: ${A}`.slice(0,50))}let hi=(()=>{class k extends d{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(S){this._compareWith=S}writeValue(S){this.value=S;const Ct=Xi(this._getOptionId(S),S);this.setProperty("value",Ct)}registerOnChange(S){this.onChange=ce=>{this.value=this._getOptionValue(ce),S(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(S){for(const ce of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ce),S))return ce;return null}_getOptionValue(S){const ce=function Bi(k){return k.split(":")[0]}(S);return this._optionMap.has(ce)?this._optionMap.get(ce):S}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(jt){return ce.onChange(jt.target.value)})("blur",function(){return ce.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),Vi=(()=>{class k{constructor(S,ce,Ct){this._element=S,this._renderer=ce,this._select=Ct,this._select&&(this.id=this._select._registerOption())}set ngValue(S){null!=this._select&&(this._select._optionMap.set(this.id,S),this._setElementValue(Xi(this.id,S)),this._select.writeValue(this._select.value))}set value(S){this._setElementValue(S),this._select&&this._select.writeValue(this._select.value)}_setElementValue(S){this._renderer.setProperty(this._element.nativeElement,"value",S)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(hi,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();const pr={provide:p,useExisting:(0,n.forwardRef)(()=>pi),multi:!0};function mr(k,A){return null==k?`${A}`:("string"==typeof A&&(A=`'${A}'`),A&&"object"==typeof A&&(A="Object"),`${k}: ${A}`.slice(0,50))}let pi=(()=>{class k extends d{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(S){this._compareWith=S}writeValue(S){let ce;if(this.value=S,Array.isArray(S)){const Ct=S.map(jt=>this._getOptionId(jt));ce=(jt,jn)=>{jt._setSelected(Ct.indexOf(jn.toString())>-1)}}else ce=(Ct,jt)=>{Ct._setSelected(!1)};this._optionMap.forEach(ce)}registerOnChange(S){this.onChange=ce=>{const Ct=[],jt=ce.selectedOptions;if(void 0!==jt){const jn=jt;for(let Fn=0;Fn<jn.length;Fn++){const Rr=this._getOptionValue(jn[Fn].value);Ct.push(Rr)}}else{const jn=ce.options;for(let Fn=0;Fn<jn.length;Fn++){const li=jn[Fn];if(li.selected){const Rr=this._getOptionValue(li.value);Ct.push(Rr)}}}this.value=Ct,S(Ct)}}_registerOption(S){const ce=(this._idCounter++).toString();return this._optionMap.set(ce,S),ce}_getOptionId(S){for(const ce of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ce)._value,S))return ce;return null}_getOptionValue(S){const ce=function Wn(k){return k.split(":")[0]}(S);return this._optionMap.has(ce)?this._optionMap.get(ce)._value:S}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(jt){return ce.onChange(jt.target)})("blur",function(){return ce.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([pr]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),Oi=(()=>{class k{constructor(S,ce,Ct){this._element=S,this._renderer=ce,this._select=Ct,this._select&&(this.id=this._select._registerOption(this))}set ngValue(S){null!=this._select&&(this._value=S,this._setElementValue(mr(this.id,S)),this._select.writeValue(this._select.value))}set value(S){this._select?(this._value=S,this._setElementValue(mr(this.id,S)),this._select.writeValue(this._select.value)):this._setElementValue(S)}_setElementValue(S){this._renderer.setProperty(this._element.nativeElement,"value",S)}_setSelected(S){this._renderer.setProperty(this._element.nativeElement,"selected",S)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(S){return new(S||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(pi,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();function gr(k){return"number"==typeof k?k:parseInt(k,10)}function Pr(k){return"number"==typeof k?k:parseFloat(k)}let bn=(()=>{class k{constructor(){this._validator=oe}ngOnChanges(S){if(this.inputName in S){const ce=this.normalizeInput(S[this.inputName].currentValue);this._enabled=this.enabled(ce),this._validator=this._enabled?this.createValidator(ce):oe,this._onChange&&this._onChange()}}validate(S){return this._validator(S)}registerOnValidatorChange(S){this._onChange=S}enabled(S){return null!=S}}return k.\u0275fac=function(S){return new(S||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275NgOnChangesFeature]}),k})();const vr={provide:L,useExisting:(0,n.forwardRef)(()=>mi),multi:!0};let mi=(()=>{class k extends bn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=S=>Pr(S),this.createValidator=S=>X(S)}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("max",ce._enabled?ce.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([vr]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const In={provide:L,useExisting:(0,n.forwardRef)(()=>Tn),multi:!0};let Tn=(()=>{class k extends bn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=S=>Pr(S),this.createValidator=S=>V(S)}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("min",ce._enabled?ce.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([In]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const qn={provide:L,useExisting:(0,n.forwardRef)(()=>gi),multi:!0},er={provide:L,useExisting:(0,n.forwardRef)(()=>Qn),multi:!0};let gi=(()=>{class k extends bn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.\u0275coerceToBoolean,this.createValidator=S=>re}enabled(S){return S}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("required",ce._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([qn]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),Qn=(()=>{class k extends gi{constructor(){super(...arguments),this.createValidator=S=>me}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("required",ce._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([er]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const F={provide:L,useExisting:(0,n.forwardRef)(()=>se),multi:!0};let se=(()=>{class k extends bn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.\u0275coerceToBoolean,this.createValidator=S=>Re}enabled(S){return S}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([F]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const N={provide:L,useExisting:(0,n.forwardRef)(()=>he),multi:!0};let he=(()=>{class k extends bn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=S=>gr(S),this.createValidator=S=>it(S)}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("minlength",ce._enabled?ce.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([N]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Je={provide:L,useExisting:(0,n.forwardRef)(()=>Et),multi:!0};let Et=(()=>{class k extends bn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=S=>gr(S),this.createValidator=S=>Ce(S)}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("maxlength",ce._enabled?ce.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([Je]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const _t={provide:L,useExisting:(0,n.forwardRef)(()=>Bt),multi:!0};let Bt=(()=>{class k extends bn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=S=>S,this.createValidator=S=>xe(S)}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("pattern",ce._enabled?ce.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([_t]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),fn=(()=>{class k{}return k.\u0275fac=function(S){return new(S||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[Li]}),k})(),$n=(()=>{class k{}return k.\u0275fac=function(S){return new(S||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[fn]}),k})(),Dn=(()=>{class k{static withConfig(S){return{ngModule:k,providers:[{provide:Qi,useValue:S.warnOnNgModelWithFormControl}]}}}return k.\u0275fac=function(S){return new(S||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[fn]}),k})();class Rn extends q{constructor(A,S,ce){super(ae(S),B(ce,S)),this.controls=A,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(A){return this.controls[this._adjustIndex(A)]}push(A,S={}){this.controls.push(A),this._registerControl(A),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}insert(A,S,ce={}){this.controls.splice(A,0,S),this._registerControl(S),this.updateValueAndValidity({emitEvent:ce.emitEvent})}removeAt(A,S={}){let ce=this._adjustIndex(A);ce<0&&(ce=0),this.controls[ce]&&this.controls[ce]._registerOnCollectionChange(()=>{}),this.controls.splice(ce,1),this.updateValueAndValidity({emitEvent:S.emitEvent})}setControl(A,S,ce={}){let Ct=this._adjustIndex(A);Ct<0&&(Ct=0),this.controls[Ct]&&this.controls[Ct]._registerOnCollectionChange(()=>{}),this.controls.splice(Ct,1),S&&(this.controls.splice(Ct,0,S),this._registerControl(S)),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(A,S={}){bt(this,0,A),A.forEach((ce,Ct)=>{Ge(this,!1,Ct),this.at(Ct).setValue(ce,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(A,S={}){null!=A&&(A.forEach((ce,Ct)=>{this.at(Ct)&&this.at(Ct).patchValue(ce,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(A=[],S={}){this._forEachChild((ce,Ct)=>{ce.reset(A[Ct],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this.controls.map(A=>A.getRawValue())}clear(A={}){this.controls.length<1||(this._forEachChild(S=>S._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:A.emitEvent}))}_adjustIndex(A){return A<0?A+this.length:A}_syncPendingControls(){let A=this.controls.reduce((S,ce)=>!!ce._syncPendingControls()||S,!1);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){this.controls.forEach((S,ce)=>{A(S,ce)})}_updateValue(){this.value=this.controls.filter(A=>A.enabled||this.disabled).map(A=>A.value)}_anyControls(A){return this.controls.some(S=>S.enabled&&A(S))}_setUpControls(){this._forEachChild(A=>this._registerControl(A))}_allControlsDisabled(){for(const A of this.controls)if(A.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(A){A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)}_find(A){var S;return null!==(S=this.at(A))&&void 0!==S?S:null}}const St=Rn;function $i(k){return!!k&&(void 0!==k.asyncValidators||void 0!==k.validators||void 0!==k.updateOn)}let ai=(()=>{class k{constructor(){this.useNonNullable=!1}get nonNullable(){const S=new k;return S.useNonNullable=!0,S}group(S,ce=null){const Ct=this._reduceControls(S);let jt={};return $i(ce)?jt=ce:null!==ce&&(jt.validators=ce.validator,jt.asyncValidators=ce.asyncValidator),new Oe(Ct,jt)}control(S,ce,Ct){let jt={};return this.useNonNullable?($i(ce)?jt=ce:(jt.validators=ce,jt.asyncValidators=Ct),new On(S,Object.assign(Object.assign({},jt),{nonNullable:!0}))):new On(S,ce,Ct)}array(S,ce,Ct){const jt=S.map(jn=>this._createControl(jn));return new Rn(jt,ce,Ct)}_reduceControls(S){const ce={};return Object.keys(S).forEach(Ct=>{ce[Ct]=this._createControl(S[Ct])}),ce}_createControl(S){return S instanceof On||S instanceof q?S:Array.isArray(S)?this.control(S[0],S.length>1?S[1]:null,S.length>2?S[2]:null):this.control(S)}}return k.\u0275fac=function(S){return new(S||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:Dn}),k})(),xn=(()=>{class k{}return k.\u0275fac=function(S){return new(S||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return(0,n.inject)(ai).nonNullable},providedIn:Dn}),k})(),tr=(()=>{class k extends ai{group(S,ce=null){return super.group(S,ce)}control(S,ce,Ct){return super.control(S,ce,Ct)}array(S,ce,Ct){return super.array(S,ce,Ct)}}return k.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(k)))(ce||k)}}(),k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:Dn}),k})();const Hi=new n.Version("14.1.3")},7423:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MatAnchor:()=>b,MatButton:()=>f,MatButtonModule:()=>v});var n=a(5e3),h=a(508),y=a(5664);const u=["mat-button",""],r=["*"],p=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],_=(0,h.mixinColor)((0,h.mixinDisabled)((0,h.mixinDisableRipple)(class{constructor(m){this._elementRef=m}})));let f=(()=>{class m extends _{constructor(M,O,P){super(M),this._focusMonitor=O,this._animationMode=P,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const L of p)this._hasHostAttributes(L)&&this._getHostElement().classList.add(L);M.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(M,O){M?this._focusMonitor.focusVia(this._getHostElement(),M,O):this._getHostElement().focus(O)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...M){return M.some(O=>this._getHostElement().hasAttribute(O))}}return m.\u0275fac=function(M){return new(M||m)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(y.tE),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},m.\u0275cmp=n.\u0275\u0275defineComponent({type:m,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(M,O){if(1&M&&n.\u0275\u0275viewQuery(h.MatRipple,5),2&M){let P;n.\u0275\u0275queryRefresh(P=n.\u0275\u0275loadQuery())&&(O.ripple=P.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(M,O){2&M&&(n.\u0275\u0275attribute("disabled",O.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode)("mat-button-disabled",O.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:r,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(M,O){1&M&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&M&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",O.isRoundButton||O.isIconButton),n.\u0275\u0275property("matRippleDisabled",O._isRippleDisabled())("matRippleCentered",O.isIconButton)("matRippleTrigger",O._getHostElement()))},dependencies:[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:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),m})(),b=(()=>{class m extends f{constructor(M,O,P,L){super(O,M,P),this._ngZone=L,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 m.\u0275fac=function(M){return new(M||m)(n.\u0275\u0275directiveInject(y.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(n.NgZone,8))},m.\u0275cmp=n.\u0275\u0275defineComponent({type:m,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(M,O){2&M&&(n.\u0275\u0275attribute("tabindex",O.disabled?-1:O.tabIndex)("disabled",O.disabled||null)("aria-disabled",O.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode)("mat-button-disabled",O.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:r,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(M,O){1&M&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&M&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",O.isRoundButton||O.isIconButton),n.\u0275\u0275property("matRippleDisabled",O._isRippleDisabled())("matRippleCentered",O.isIconButton)("matRippleTrigger",O._getHostElement()))},dependencies:[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:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),m})(),v=(()=>{class m{}return m.\u0275fac=function(M){return new(M||m)},m.\u0275mod=n.\u0275\u0275defineNgModule({type:m}),m.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.MatRippleModule,h.MatCommonModule,h.MatCommonModule]}),m})()},9417:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_CHIPS_DEFAULT_OPTIONS:()=>vt,MAT_CHIP_AVATAR:()=>$e,MAT_CHIP_REMOVE:()=>be,MAT_CHIP_TRAILING_ICON:()=>dt,MatChip:()=>ke,MatChipAvatar:()=>ye,MatChipInput:()=>At,MatChipList:()=>Ze,MatChipListChange:()=>rt,MatChipRemove:()=>tt,MatChipSelectionChange:()=>Ue,MatChipTrailingIcon:()=>de,MatChipsModule:()=>_e});var n=a(1159),h=a(5e3),y=a(508),u=a(3191),r=a(9808),c=a(7579),d=a(6451),p=a(5698),_=a(2722),f=a(8675),b=a(925),v=a(5664),m=a(449),C=a(3075);a(1777);let W=(()=>{class ae{}return ae.\u0275fac=function(B){return new(B||ae)},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae}),ae})();var He=a(226);const Ve=["*"];class Ue{constructor(le,B,Me=!1){this.source=le,this.selected=B,this.isUserInput=Me}}const be=new h.InjectionToken("MatChipRemove"),$e=new h.InjectionToken("MatChipAvatar"),dt=new h.InjectionToken("MatChipTrailingIcon");class Pe{constructor(le){this._elementRef=le}}const U=(0,y.mixinTabIndex)((0,y.mixinColor)((0,y.mixinDisableRipple)(Pe),"primary"),-1);let ye=(()=>{class ae{}return ae.\u0275fac=function(B){return new(B||ae)},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[h.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:ae}])]}),ae})(),de=(()=>{class ae{}return ae.\u0275fac=function(B){return new(B||ae)},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[h.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:ae}])]}),ae})(),ke=(()=>{class ae extends U{constructor(B,Me,yt,Ge,bt,q,Oe,at){super(B),this._ngZone=Me,this._changeDetectorRef=bt,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new c.x,this._onBlur=new c.x,this.selectionChange=new h.EventEmitter,this.destroyed=new h.EventEmitter,this.removed=new h.EventEmitter,this._addHostClassName(),this._chipRippleTarget=q.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new y.RippleRenderer(this,Me,this._chipRippleTarget,yt),this._chipRipple.setupTriggerEvents(B),this.rippleConfig=Ge||{},this._animationsDisabled="NoopAnimations"===Oe,this.tabIndex=null!=at&&parseInt(at)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(B){const Me=(0,u.Ig)(B);Me!==this._selected&&(this._selected=Me,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(B){this._value=B}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(B){this._selectable=(0,u.Ig)(B)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(B){this._disabled=(0,u.Ig)(B)}get removable(){return this._removable}set removable(B){this._removable=(0,u.Ig)(B)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const B="mat-basic-chip",Me=this._elementRef.nativeElement;Me.hasAttribute(B)||Me.tagName.toLowerCase()===B?Me.classList.add(B):Me.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(B=!1){return this._selected=!this.selected,this._dispatchSelectionChange(B),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(B){this.disabled&&B.preventDefault()}_handleKeydown(B){if(!this.disabled)switch(B.keyCode){case n.yY:case n.ZH:this.remove(),B.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),B.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(B=!1){this.selectionChange.emit({source:this,isUserInput:B,selected:this._selected})}}return ae.\u0275fac=function(B){return new(B||ae)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone),h.\u0275\u0275directiveInject(b.t4),h.\u0275\u0275directiveInject(y.MAT_RIPPLE_GLOBAL_OPTIONS,8),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(r.DOCUMENT),h.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8),h.\u0275\u0275injectAttribute("tabindex"))},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(B,Me,yt){if(1&B&&(h.\u0275\u0275contentQuery(yt,$e,5),h.\u0275\u0275contentQuery(yt,dt,5),h.\u0275\u0275contentQuery(yt,be,5)),2&B){let Ge;h.\u0275\u0275queryRefresh(Ge=h.\u0275\u0275loadQuery())&&(Me.avatar=Ge.first),h.\u0275\u0275queryRefresh(Ge=h.\u0275\u0275loadQuery())&&(Me.trailingIcon=Ge.first),h.\u0275\u0275queryRefresh(Ge=h.\u0275\u0275loadQuery())&&(Me.removeIcon=Ge.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(B,Me){1&B&&h.\u0275\u0275listener("click",function(Ge){return Me._handleClick(Ge)})("keydown",function(Ge){return Me._handleKeydown(Ge)})("focus",function(){return Me.focus()})("blur",function(){return Me._blur()}),2&B&&(h.\u0275\u0275attribute("tabindex",Me.disabled?null:Me.tabIndex)("role",Me.role)("disabled",Me.disabled||null)("aria-disabled",Me.disabled.toString())("aria-selected",Me.ariaSelected),h.\u0275\u0275classProp("mat-chip-selected",Me.selected)("mat-chip-with-avatar",Me.avatar)("mat-chip-with-trailing-icon",Me.trailingIcon||Me.removeIcon)("mat-chip-disabled",Me.disabled)("_mat-animation-noopable",Me._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[h.\u0275\u0275InheritDefinitionFeature]}),ae})(),tt=(()=>{class ae{constructor(B,Me){this._parentChip=B,"BUTTON"===Me.nativeElement.nodeName&&Me.nativeElement.setAttribute("type","button")}_handleClick(B){const Me=this._parentChip;Me.removable&&!Me.disabled&&Me.remove(),B.stopPropagation(),B.preventDefault()}}return ae.\u0275fac=function(B){return new(B||ae)(h.\u0275\u0275directiveInject(ke),h.\u0275\u0275directiveInject(h.ElementRef))},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(B,Me){1&B&&h.\u0275\u0275listener("click",function(Ge){return Me._handleClick(Ge)})},features:[h.\u0275\u0275ProvidersFeature([{provide:be,useExisting:ae}])]}),ae})();const vt=new h.InjectionToken("mat-chips-default-options");let Ft=0,At=(()=>{class ae{constructor(B,Me){this._elementRef=B,this._defaultOptions=Me,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new h.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+Ft++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(B){B&&(this._chipList=B,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(B){this._addOnBlur=(0,u.Ig)(B)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(B){this._disabled=(0,u.Ig)(B)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(B){if(B){if(B.keyCode===n.Mf&&!(0,n.Vb)(B,"shiftKey")&&this._chipList._allowFocusEscape(),B.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void B.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(B)}_keyup(B){!this._focusLastChipOnBackspace&&B.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,B.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(B){!this.inputElement.value&&!!B&&this._chipList._keydown(B),(!B||this._isSeparatorKey(B))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==B||B.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(B){this.inputElement.focus(B)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(B){return!(0,n.Vb)(B)&&new Set(this.separatorKeyCodes).has(B.keyCode)}}return ae.\u0275fac=function(B){return new(B||ae)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(vt))},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(B,Me){1&B&&h.\u0275\u0275listener("keydown",function(Ge){return Me._keydown(Ge)})("keyup",function(Ge){return Me._keyup(Ge)})("blur",function(){return Me._blur()})("focus",function(){return Me._focus()})("input",function(){return Me._onInput()}),2&B&&(h.\u0275\u0275hostProperty("id",Me.id),h.\u0275\u0275attribute("disabled",Me.disabled||null)("placeholder",Me.placeholder||null)("aria-invalid",Me._chipList&&Me._chipList.ngControl?Me._chipList.ngControl.invalid:null)("aria-required",Me._chipList&&Me._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]}),ae})();const Yt=(0,y.mixinErrorState)(class{constructor(ae,le,B,Me){this._defaultErrorStateMatcher=ae,this._parentForm=le,this._parentFormGroup=B,this.ngControl=Me,this.stateChanges=new c.x}});let Nt=0;class rt{constructor(le,B){this.source=le,this.value=B}}let Ze=(()=>{class ae extends Yt{constructor(B,Me,yt,Ge,bt,q,Oe){super(q,Ge,bt,Oe),this._elementRef=B,this._changeDetectorRef=Me,this._dir=yt,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new c.x,this._uid="mat-chip-list-"+Nt++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(at,Dt)=>at===Dt,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 B,Me;return this.multiple?(null===(B=this._selectionModel)||void 0===B?void 0:B.selected)||[]:null===(Me=this._selectionModel)||void 0===Me?void 0:Me.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(B){this._explicitRole=B}get multiple(){return this._multiple}set multiple(B){this._multiple=(0,u.Ig)(B),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(B){this._compareWith=B,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(B){this.writeValue(B),this._value=B}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var B,Me,yt,Ge;return null!==(Ge=null!==(B=this._required)&&void 0!==B?B:null===(yt=null===(Me=this.ngControl)||void 0===Me?void 0:Me.control)||void 0===yt?void 0:yt.hasValidator(C.Validators.required))&&void 0!==Ge&&Ge}set required(B){this._required=(0,u.Ig)(B),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(B){this._placeholder=B,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(B){this._disabled=(0,u.Ig)(B),this._syncChipsState()}get selectable(){return this._selectable}set selectable(B){this._selectable=(0,u.Ig)(B),this._syncChipsState()}set tabIndex(B){this._userTabIndex=B,this._tabIndex=B}get chipSelectionChanges(){return(0,d.T)(...this.chips.map(B=>B.selectionChange))}get chipFocusChanges(){return(0,d.T)(...this.chips.map(B=>B._onFocus))}get chipBlurChanges(){return(0,d.T)(...this.chips.map(B=>B._onBlur))}get chipRemoveChanges(){return(0,d.T)(...this.chips.map(B=>B.destroyed))}ngAfterContentInit(){this._keyManager=new v.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,_.R)(this._destroyed)).subscribe(B=>this._keyManager.withHorizontalOrientation(B)),this._keyManager.tabOut.pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,f.O)(null),(0,_.R)(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new m.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(B){this._chipInput=B,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",B.id)}setDescribedByIds(B){B.length?this._elementRef.nativeElement.setAttribute("aria-describedby",B.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(B){this.chips&&this._setSelectionByValue(B,!1)}registerOnChange(B){this._onChange=B}registerOnTouched(B){this._onTouched=B}setDisabledState(B){this.disabled=B,this.stateChanges.next()}onContainerClick(B){this._originatesFromChip(B)||this.focus()}focus(B){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(B),this.stateChanges.next()))}_focusInput(B){this._chipInput&&this._chipInput.focus(B)}_keydown(B){const Me=B.target;Me&&Me.classList.contains("mat-chip")&&(this._keyManager.onKeydown(B),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const B=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(B)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(B){return B>=0&&B<this.chips.length}_setSelectionByValue(B,Me=!0){if(this._clearSelection(),this.chips.forEach(yt=>yt.deselect()),Array.isArray(B))B.forEach(yt=>this._selectValue(yt,Me)),this._sortValues();else{const yt=this._selectValue(B,Me);yt&&Me&&this._keyManager.setActiveItem(yt)}}_selectValue(B,Me=!0){const yt=this.chips.find(Ge=>null!=Ge.value&&this._compareWith(Ge.value,B));return yt&&(Me?yt.selectViaInteraction():yt.select(),this._selectionModel.select(yt)),yt}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(B){this._selectionModel.clear(),this.chips.forEach(Me=>{Me!==B&&Me.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(B=>{B.selected&&this._selectionModel.select(B)}),this.stateChanges.next())}_propagateChanges(B){let Me=null;Me=Array.isArray(this.selected)?this.selected.map(yt=>yt.value):this.selected?this.selected.value:B,this._value=Me,this.change.emit(new rt(this,Me)),this.valueChange.emit(Me),this._onChange(Me),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(B=>{B.source.selected?this._selectionModel.select(B.source):this._selectionModel.deselect(B.source),this.multiple||this.chips.forEach(Me=>{!this._selectionModel.isSelected(Me)&&Me.selected&&Me.deselect()}),B.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(B=>{let Me=this.chips.toArray().indexOf(B.chip);this._isValidIndex(Me)&&this._keyManager.updateActiveItem(Me),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(B=>{const Me=B.chip,yt=this.chips.toArray().indexOf(B.chip);this._isValidIndex(yt)&&Me._hasFocus&&(this._lastDestroyedChipIndex=yt)})}_originatesFromChip(B){let Me=B.target;for(;Me&&Me!==this._elementRef.nativeElement;){if(Me.classList.contains("mat-chip"))return!0;Me=Me.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(B=>B._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(B=>{B._chipListDisabled=this._disabled,B._chipListMultiple=this.multiple,B.chipListSelectable=this._selectable})}}return ae.\u0275fac=function(B){return new(B||ae)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(He.Is,8),h.\u0275\u0275directiveInject(C.NgForm,8),h.\u0275\u0275directiveInject(C.FormGroupDirective,8),h.\u0275\u0275directiveInject(y.ErrorStateMatcher),h.\u0275\u0275directiveInject(C.NgControl,10))},ae.\u0275cmp=h.\u0275\u0275defineComponent({type:ae,selectors:[["mat-chip-list"]],contentQueries:function(B,Me,yt){if(1&B&&h.\u0275\u0275contentQuery(yt,ke,5),2&B){let Ge;h.\u0275\u0275queryRefresh(Ge=h.\u0275\u0275loadQuery())&&(Me.chips=Ge)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(B,Me){1&B&&h.\u0275\u0275listener("focus",function(){return Me.focus()})("blur",function(){return Me._blur()})("keydown",function(Ge){return Me._keydown(Ge)}),2&B&&(h.\u0275\u0275hostProperty("id",Me._uid),h.\u0275\u0275attribute("tabindex",Me.disabled?null:Me._tabIndex)("aria-required",Me.role?Me.required:null)("aria-disabled",Me.disabled.toString())("aria-invalid",Me.errorState)("aria-multiselectable",Me.multiple)("role",Me.role)("aria-orientation",Me.ariaOrientation),h.\u0275\u0275classProp("mat-chip-list-disabled",Me.disabled)("mat-chip-list-invalid",Me.errorState)("mat-chip-list-required",Me.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],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:W,useExisting:ae}]),h.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ve,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(B,Me){1&B&&(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:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.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-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.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.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}'],encapsulation:2,changeDetection:0}),ae})(),_e=(()=>{class ae{}return ae.\u0275fac=function(B){return new(B||ae)},ae.\u0275mod=h.\u0275\u0275defineNgModule({type:ae}),ae.\u0275inj=h.\u0275\u0275defineInjector({providers:[y.ErrorStateMatcher,{provide:vt,useValue:{separatorKeyCodes:[n.K5]}}],imports:[y.MatCommonModule]}),ae})()},508:(H,o,a)=>{"use strict";a.r(o),a.d(o,{AnimationCurves:()=>L,AnimationDurations:()=>Q,DateAdapter:()=>te,ErrorStateMatcher:()=>Le,MATERIAL_SANITY_CHECKS:()=>z,MAT_DATE_FORMATS:()=>fe,MAT_DATE_LOCALE:()=>ze,MAT_DATE_LOCALE_FACTORY:()=>qe,MAT_NATIVE_DATE_FORMATS:()=>K,MAT_OPTGROUP:()=>ye,MAT_OPTION_PARENT_COMPONENT:()=>$e,MAT_RIPPLE_GLOBAL_OPTIONS:()=>we,MatCommonModule:()=>V,MatLine:()=>ct,MatLineModule:()=>ut,MatNativeDateModule:()=>ve,MatOptgroup:()=>de,MatOption:()=>Ft,MatOptionModule:()=>Nt,MatOptionSelectionChange:()=>tt,MatPseudoCheckbox:()=>Ue,MatPseudoCheckboxModule:()=>be,MatRipple:()=>He,MatRippleModule:()=>Ve,NativeDateAdapter:()=>G,NativeDateModule:()=>ne,RippleRef:()=>je,RippleRenderer:()=>Ke,ShowOnDirtyErrorStateMatcher:()=>ge,VERSION:()=>P,_MatOptgroupBase:()=>U,_MatOptionBase:()=>vt,_countGroupLabelsBeforeOption:()=>At,_getOptionScrollPosition:()=>Yt,defaultRippleAnimationConfig:()=>Te,mixinColor:()=>it,mixinDisableRipple:()=>Ce,mixinDisabled:()=>Re,mixinErrorState:()=>oe,mixinInitialized:()=>Ie,mixinTabIndex:()=>xe,setLines:()=>ft});var n=a(5e3),h=a(226),u=a(9808),r=a(925),c=a(5664),d=a(3191),p=a(8306),_=a(7579),f=a(8675),b=a(1159);const v=["*",[["mat-option"],["ng-container"]]],m=["*","mat-option, ng-container"];function C(rt,Ze){if(1&rt&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&rt){const Ee=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",Ee.selected?"checked":"unchecked")("disabled",Ee.disabled)}}function M(rt,Ze){if(1&rt&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&rt){const Ee=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",Ee.group.label,")")}}const O=["*"],P=new n.Version("14.1.3");let L=(()=>{class rt{}return rt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",rt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",rt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",rt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",rt})(),Q=(()=>{class rt{}return rt.COMPLEX="375ms",rt.ENTERING="225ms",rt.EXITING="195ms",rt})();const z=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function $(){return!0}});let V=(()=>{class rt{constructor(Ee,_e,ae){this._sanityChecks=_e,this._document=ae,this._hasDoneGlobalChecks=!1,Ee._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Ee){return!(0,r.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Ee])}}return rt.\u0275fac=function(Ee){return new(Ee||rt)(n.\u0275\u0275inject(c.qm),n.\u0275\u0275inject(z,8),n.\u0275\u0275inject(u.DOCUMENT))},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.vT,h.vT]}),rt})();function Re(rt){return class extends rt{constructor(...Ze){super(...Ze),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ze){this._disabled=(0,d.Ig)(Ze)}}}function it(rt,Ze){return class extends rt{constructor(...Ee){super(...Ee),this.defaultColor=Ze,this.color=Ze}get color(){return this._color}set color(Ee){const _e=Ee||this.defaultColor;_e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),_e&&this._elementRef.nativeElement.classList.add(`mat-${_e}`),this._color=_e)}}}function Ce(rt){return class extends rt{constructor(...Ze){super(...Ze),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ze){this._disableRipple=(0,d.Ig)(Ze)}}}function xe(rt,Ze=0){return class extends rt{constructor(...Ee){super(...Ee),this._tabIndex=Ze,this.defaultTabIndex=Ze}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Ee){this._tabIndex=null!=Ee?(0,d.su)(Ee):this.defaultTabIndex}}}function oe(rt){return class extends rt{constructor(...Ze){super(...Ze),this.errorState=!1}updateErrorState(){const Ze=this.errorState,le=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);le!==Ze&&(this.errorState=le,this.stateChanges.next())}}}function Ie(rt){return class extends rt{constructor(...Ze){super(...Ze),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new p.y(Ee=>{this._isInitialized?this._notifySubscriber(Ee):this._pendingSubscribers.push(Ee)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ze){Ze.next(),Ze.complete()}}}const ze=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:qe});function qe(){return(0,n.inject)(n.LOCALE_ID)}class te{constructor(){this._localeChanges=new _.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Ze){return this.isDateInstance(Ze)&&this.isValid(Ze)?Ze:null}deserialize(Ze){return null==Ze||this.isDateInstance(Ze)&&this.isValid(Ze)?Ze:this.invalid()}setLocale(Ze){this.locale=Ze,this._localeChanges.next()}compareDate(Ze,Ee){return this.getYear(Ze)-this.getYear(Ee)||this.getMonth(Ze)-this.getMonth(Ee)||this.getDate(Ze)-this.getDate(Ee)}sameDate(Ze,Ee){if(Ze&&Ee){let _e=this.isValid(Ze),ae=this.isValid(Ee);return _e&&ae?!this.compareDate(Ze,Ee):_e==ae}return Ze==Ee}clampDate(Ze,Ee,_e){return Ee&&this.compareDate(Ze,Ee)<0?Ee:_e&&this.compareDate(Ze,_e)>0?_e:Ze}}const fe=new n.InjectionToken("mat-date-formats"),W=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function x(rt,Ze){const Ee=Array(rt);for(let _e=0;_e<rt;_e++)Ee[_e]=Ze(_e);return Ee}let G=(()=>{class rt extends te{constructor(Ee,_e){super(),this.useUtcForDisplay=!1,super.setLocale(Ee)}getYear(Ee){return Ee.getFullYear()}getMonth(Ee){return Ee.getMonth()}getDate(Ee){return Ee.getDate()}getDayOfWeek(Ee){return Ee.getDay()}getMonthNames(Ee){const _e=new Intl.DateTimeFormat(this.locale,{month:Ee,timeZone:"utc"});return x(12,ae=>this._format(_e,new Date(2017,ae,1)))}getDateNames(){const Ee=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return x(31,_e=>this._format(Ee,new Date(2017,0,_e+1)))}getDayOfWeekNames(Ee){const _e=new Intl.DateTimeFormat(this.locale,{weekday:Ee,timeZone:"utc"});return x(7,ae=>this._format(_e,new Date(2017,0,ae+1)))}getYearName(Ee){const _e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(_e,Ee)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Ee){return this.getDate(this._createDateWithOverflow(this.getYear(Ee),this.getMonth(Ee)+1,0))}clone(Ee){return new Date(Ee.getTime())}createDate(Ee,_e,ae){let le=this._createDateWithOverflow(Ee,_e,ae);return le.getMonth(),le}today(){return new Date}parse(Ee,_e){return"number"==typeof Ee?new Date(Ee):Ee?new Date(Date.parse(Ee)):null}format(Ee,_e){if(!this.isValid(Ee))throw Error("NativeDateAdapter: Cannot format invalid date.");const ae=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},_e),{timeZone:"utc"}));return this._format(ae,Ee)}addCalendarYears(Ee,_e){return this.addCalendarMonths(Ee,12*_e)}addCalendarMonths(Ee,_e){let ae=this._createDateWithOverflow(this.getYear(Ee),this.getMonth(Ee)+_e,this.getDate(Ee));return this.getMonth(ae)!=((this.getMonth(Ee)+_e)%12+12)%12&&(ae=this._createDateWithOverflow(this.getYear(ae),this.getMonth(ae),0)),ae}addCalendarDays(Ee,_e){return this._createDateWithOverflow(this.getYear(Ee),this.getMonth(Ee),this.getDate(Ee)+_e)}toIso8601(Ee){return[Ee.getUTCFullYear(),this._2digit(Ee.getUTCMonth()+1),this._2digit(Ee.getUTCDate())].join("-")}deserialize(Ee){if("string"==typeof Ee){if(!Ee)return null;if(W.test(Ee)){let _e=new Date(Ee);if(this.isValid(_e))return _e}}return super.deserialize(Ee)}isDateInstance(Ee){return Ee instanceof Date}isValid(Ee){return!isNaN(Ee.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Ee,_e,ae){const le=new Date;return le.setFullYear(Ee,_e,ae),le.setHours(0,0,0,0),le}_2digit(Ee){return("00"+Ee).slice(-2)}_format(Ee,_e){const ae=new Date;return ae.setUTCFullYear(_e.getFullYear(),_e.getMonth(),_e.getDate()),ae.setUTCHours(_e.getHours(),_e.getMinutes(),_e.getSeconds(),_e.getMilliseconds()),Ee.format(ae)}}return rt.\u0275fac=function(Ee){return new(Ee||rt)(n.\u0275\u0275inject(ze,8),n.\u0275\u0275inject(r.t4))},rt.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac}),rt})();const K={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 ne=(()=>{class rt{}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:te,useClass:G}]}),rt})(),ve=(()=>{class rt{}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:fe,useValue:K}],imports:[ne]}),rt})(),ge=(()=>{class rt{isErrorState(Ee,_e){return!!(Ee&&Ee.invalid&&(Ee.dirty||_e&&_e.submitted))}}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac}),rt})(),Le=(()=>{class rt{isErrorState(Ee,_e){return!!(Ee&&Ee.invalid&&(Ee.touched||_e&&_e.submitted))}}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac,providedIn:"root"}),rt})(),ct=(()=>{class rt{}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275dir=n.\u0275\u0275defineDirective({type:rt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),rt})();function ft(rt,Ze,Ee="mat"){rt.changes.pipe((0,f.O)(rt)).subscribe(({length:_e})=>{gt(Ze,`${Ee}-2-line`,!1),gt(Ze,`${Ee}-3-line`,!1),gt(Ze,`${Ee}-multi-line`,!1),2===_e||3===_e?gt(Ze,`${Ee}-${_e}-line`,!0):_e>3&&gt(Ze,`${Ee}-multi-line`,!0)})}function gt(rt,Ze,Ee){rt.nativeElement.classList.toggle(Ze,Ee)}let ut=(()=>{class rt{}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[V,V]}),rt})();class je{constructor(Ze,Ee,_e,ae=!1){this._renderer=Ze,this.element=Ee,this.config=_e,this._animationForciblyDisabledThroughCss=ae,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Te={enterDuration:225,exitDuration:150},pe=(0,r.i$)({passive:!0}),We=["mousedown","touchstart"],Be=["mouseup","mouseleave","touchend","touchcancel"];class Ke{constructor(Ze,Ee,_e,ae){this._target=Ze,this._ngZone=Ee,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ae.isBrowser&&(this._containerElement=(0,d.fI)(_e))}fadeInRipple(Ze,Ee,_e={}){const ae=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),le=Object.assign(Object.assign({},Te),_e.animation);_e.centered&&(Ze=ae.left+ae.width/2,Ee=ae.top+ae.height/2);const B=_e.radius||function Y(rt,Ze,Ee){const _e=Math.max(Math.abs(rt-Ee.left),Math.abs(rt-Ee.right)),ae=Math.max(Math.abs(Ze-Ee.top),Math.abs(Ze-Ee.bottom));return Math.sqrt(_e*_e+ae*ae)}(Ze,Ee,ae),Me=Ze-ae.left,yt=Ee-ae.top,Ge=le.enterDuration,bt=document.createElement("div");bt.classList.add("mat-ripple-element"),bt.style.left=Me-B+"px",bt.style.top=yt-B+"px",bt.style.height=2*B+"px",bt.style.width=2*B+"px",null!=_e.color&&(bt.style.backgroundColor=_e.color),bt.style.transitionDuration=`${Ge}ms`,this._containerElement.appendChild(bt);const q=window.getComputedStyle(bt),at=q.transitionDuration,Dt="none"===q.transitionProperty||"0s"===at||"0s, 0s"===at,Ht=new je(this,bt,_e,Dt);bt.style.transform="scale3d(1, 1, 1)",Ht.state=0,_e.persistent||(this._mostRecentTransientRipple=Ht);let rn=null;return!Dt&&(Ge||le.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Xt=()=>this._finishRippleTransition(Ht),vn=()=>this._destroyRipple(Ht);bt.addEventListener("transitionend",Xt),bt.addEventListener("transitioncancel",vn),rn={onTransitionEnd:Xt,onTransitionCancel:vn}}),this._activeRipples.set(Ht,rn),(Dt||!Ge)&&this._finishRippleTransition(Ht),Ht}fadeOutRipple(Ze){if(2===Ze.state||3===Ze.state)return;const Ee=Ze.element,_e=Object.assign(Object.assign({},Te),Ze.config.animation);Ee.style.transitionDuration=`${_e.exitDuration}ms`,Ee.style.opacity="0",Ze.state=2,(Ze._animationForciblyDisabledThroughCss||!_e.exitDuration)&&this._finishRippleTransition(Ze)}fadeOutAll(){this._getActiveRipples().forEach(Ze=>Ze.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ze=>{Ze.config.persistent||Ze.fadeOut()})}setupTriggerEvents(Ze){const Ee=(0,d.fI)(Ze);!Ee||Ee===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Ee,this._registerEvents(We))}handleEvent(Ze){"mousedown"===Ze.type?this._onMousedown(Ze):"touchstart"===Ze.type?this._onTouchStart(Ze):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Be),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ze){0===Ze.state?this._startFadeOutTransition(Ze):2===Ze.state&&this._destroyRipple(Ze)}_startFadeOutTransition(Ze){const Ee=Ze===this._mostRecentTransientRipple,{persistent:_e}=Ze.config;Ze.state=1,!_e&&(!Ee||!this._isPointerDown)&&Ze.fadeOut()}_destroyRipple(Ze){var Ee;const _e=null!==(Ee=this._activeRipples.get(Ze))&&void 0!==Ee?Ee:null;this._activeRipples.delete(Ze),this._activeRipples.size||(this._containerRect=null),Ze===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ze.state=3,null!==_e&&(Ze.element.removeEventListener("transitionend",_e.onTransitionEnd),Ze.element.removeEventListener("transitioncancel",_e.onTransitionCancel)),Ze.element.remove()}_onMousedown(Ze){const Ee=(0,c.X6)(Ze),_e=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Ee&&!_e&&(this._isPointerDown=!0,this.fadeInRipple(Ze.clientX,Ze.clientY,this._target.rippleConfig))}_onTouchStart(Ze){if(!this._target.rippleDisabled&&!(0,c.yG)(Ze)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Ee=Ze.changedTouches;for(let _e=0;_e<Ee.length;_e++)this.fadeInRipple(Ee[_e].clientX,Ee[_e].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(Ze=>{!Ze.config.persistent&&(1===Ze.state||Ze.config.terminateOnPointerUp&&0===Ze.state)&&Ze.fadeOut()}))}_registerEvents(Ze){this._ngZone.runOutsideAngular(()=>{Ze.forEach(Ee=>{this._triggerElement.addEventListener(Ee,this,pe)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(We.forEach(Ze=>{this._triggerElement.removeEventListener(Ze,this,pe)}),this._pointerUpEventsRegistered&&Be.forEach(Ze=>{this._triggerElement.removeEventListener(Ze,this,pe)}))}}const we=new n.InjectionToken("mat-ripple-global-options");let He=(()=>{class rt{constructor(Ee,_e,ae,le,B){this._elementRef=Ee,this._animationMode=B,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=le||{},this._rippleRenderer=new Ke(this,_e,Ee,ae)}get disabled(){return this._disabled}set disabled(Ee){Ee&&this.fadeOutAllNonPersistent(),this._disabled=Ee,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Ee){this._trigger=Ee,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(Ee,_e=0,ae){return"number"==typeof Ee?this._rippleRenderer.fadeInRipple(Ee,_e,Object.assign(Object.assign({},this.rippleConfig),ae)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Ee))}}return rt.\u0275fac=function(Ee){return new(Ee||rt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(we,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},rt.\u0275dir=n.\u0275\u0275defineDirective({type:rt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Ee,_e){2&Ee&&n.\u0275\u0275classProp("mat-ripple-unbounded",_e.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"]}),rt})(),Ve=(()=>{class rt{}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[V,V]}),rt})(),Ue=(()=>{class rt{constructor(Ee){this._animationMode=Ee,this.state="unchecked",this.disabled=!1}}return rt.\u0275fac=function(Ee){return new(Ee||rt)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},rt.\u0275cmp=n.\u0275\u0275defineComponent({type:rt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Ee,_e){2&Ee&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===_e.state)("mat-pseudo-checkbox-checked","checked"===_e.state)("mat-pseudo-checkbox-disabled",_e.disabled)("_mat-animation-noopable","NoopAnimations"===_e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Ee,_e){},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:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{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}'],encapsulation:2,changeDetection:0}),rt})(),be=(()=>{class rt{}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[V]}),rt})();const $e=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),dt=Re(class{});let Pe=0,U=(()=>{class rt extends dt{constructor(Ee){var _e;super(),this._labelId="mat-optgroup-label-"+Pe++,this._inert=null!==(_e=null==Ee?void 0:Ee.inertGroups)&&void 0!==_e&&_e}}return rt.\u0275fac=function(Ee){return new(Ee||rt)(n.\u0275\u0275directiveInject($e,8))},rt.\u0275dir=n.\u0275\u0275defineDirective({type:rt,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),rt})();const ye=new n.InjectionToken("MatOptgroup");let de=(()=>{class rt extends U{}return rt.\u0275fac=function(){let Ze;return function(_e){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(rt)))(_e||rt)}}(),rt.\u0275cmp=n.\u0275\u0275defineComponent({type:rt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(Ee,_e){2&Ee&&(n.\u0275\u0275attribute("role",_e._inert?null:"group")("aria-disabled",_e._inert?null:_e.disabled.toString())("aria-labelledby",_e._inert?null:_e._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",_e.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:rt}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:m,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(Ee,_e){1&Ee&&(n.\u0275\u0275projectionDef(v),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&Ee&&(n.\u0275\u0275property("id",_e._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",_e.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),rt})(),ke=0;class tt{constructor(Ze,Ee=!1){this.source=Ze,this.isUserInput=Ee}}let vt=(()=>{class rt{constructor(Ee,_e,ae,le){this._element=Ee,this._changeDetectorRef=_e,this._parent=ae,this.group=le,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new _.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(Ee){this._disabled=(0,d.Ig)(Ee)}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(Ee,_e){const ae=this._getHostElement();"function"==typeof ae.focus&&ae.focus(_e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Ee){(Ee.keyCode===b.K5||Ee.keyCode===b.L_)&&!(0,b.Vb)(Ee)&&(this._selectViaInteraction(),Ee.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 Ee=this.viewValue;Ee!==this._mostRecentViewValue&&(this._mostRecentViewValue=Ee,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Ee=!1){this.onSelectionChange.emit(new tt(this,Ee))}}return rt.\u0275fac=function(Ee){n.\u0275\u0275invalidFactory()},rt.\u0275dir=n.\u0275\u0275defineDirective({type:rt,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),rt})(),Ft=(()=>{class rt extends vt{constructor(Ee,_e,ae,le){super(Ee,_e,ae,le)}}return rt.\u0275fac=function(Ee){return new(Ee||rt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject($e,8),n.\u0275\u0275directiveInject(ye,8))},rt.\u0275cmp=n.\u0275\u0275defineComponent({type:rt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Ee,_e){1&Ee&&n.\u0275\u0275listener("click",function(){return _e._selectViaInteraction()})("keydown",function(le){return _e._handleKeydown(le)}),2&Ee&&(n.\u0275\u0275hostProperty("id",_e.id),n.\u0275\u0275attribute("tabindex",_e._getTabIndex())("aria-selected",_e._getAriaSelected())("aria-disabled",_e.disabled.toString()),n.\u0275\u0275classProp("mat-selected",_e.selected)("mat-option-multiple",_e.multiple)("mat-active",_e.active)("mat-option-disabled",_e.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:O,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(Ee,_e){1&Ee&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,C,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,M,2,1,"span",2),n.\u0275\u0275element(4,"div",3)),2&Ee&&(n.\u0275\u0275property("ngIf",_e.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",_e.group&&_e.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",_e._getHostElement())("matRippleDisabled",_e.disabled||_e.disableRipple))},dependencies:[He,u.NgIf,Ue],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),rt})();function At(rt,Ze,Ee){if(Ee.length){let _e=Ze.toArray(),ae=Ee.toArray(),le=0;for(let B=0;B<rt+1;B++)_e[B].group&&_e[B].group===ae[le]&&le++;return le}return 0}function Yt(rt,Ze,Ee,_e){return rt<Ee?rt:rt+Ze>Ee+_e?Math.max(0,rt-_e+Ze):Ee}let Nt=(()=>{class rt{}return rt.\u0275fac=function(Ee){return new(Ee||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ve,u.CommonModule,V,be]}),rt})()},9694:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_DIALOG_DATA:()=>ge,MAT_DIALOG_DEFAULT_OPTIONS:()=>Le,MAT_DIALOG_SCROLL_STRATEGY:()=>ct,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>ft,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>ut,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>gt,MatDialog:()=>Fe,MatDialogActions:()=>Y,MatDialogClose:()=>We,MatDialogConfig:()=>x,MatDialogContainer:()=>K,MatDialogContent:()=>Ke,MatDialogModule:()=>He,MatDialogRef:()=>ne,MatDialogTitle:()=>Be,_MatDialogBase:()=>Te,_MatDialogContainerBase:()=>G,_closeDialogVia:()=>ve,matDialogAnimations:()=>W});var n=a(925),h=a(7429),y=a(9808),u=a(5e3),r=a(5664),c=a(1314),d=a(1159),p=a(7579),_=a(8306),f=a(8421);function b(Ve){return new _.y(Ue=>{(0,f.Xf)(Ve()).subscribe(Ue)})}var v=a(9646),m=a(226),C=a(8675);function M(Ve,Ue){}class O{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let L=(()=>{class Ve extends h.en{constructor(be,$e,dt,Pe,U,ye,de,ke){super(),this._elementRef=be,this._focusTrapFactory=$e,this._config=Pe,this._interactivityChecker=U,this._ngZone=ye,this._overlayRef=de,this._focusMonitor=ke,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=tt=>{this._portalOutlet.hasAttached();const vt=this._portalOutlet.attachDomPortal(tt);return this._contentAttached(),vt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=dt}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(be){this._portalOutlet.hasAttached();const $e=this._portalOutlet.attachComponentPortal(be);return this._contentAttached(),$e}attachTemplatePortal(be){this._portalOutlet.hasAttached();const $e=this._portalOutlet.attachTemplatePortal(be);return this._contentAttached(),$e}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(be,$e){this._interactivityChecker.isFocusable(be)||(be.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const dt=()=>{be.removeEventListener("blur",dt),be.removeEventListener("mousedown",dt),be.removeAttribute("tabindex")};be.addEventListener("blur",dt),be.addEventListener("mousedown",dt)})),be.focus($e)}_focusByCssSelector(be,$e){let dt=this._elementRef.nativeElement.querySelector(be);dt&&this._forceFocus(dt,$e)}_trapFocus(){const be=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||be.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then($e=>{$e||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 be=this._config.restoreFocus;let $e=null;if("string"==typeof be?$e=this._document.querySelector(be):"boolean"==typeof be?$e=be?this._elementFocusedBeforeDialogWasOpened:null:be&&($e=be),this._config.restoreFocus&&$e&&"function"==typeof $e.focus){const dt=(0,n.ht)(),Pe=this._elementRef.nativeElement;(!dt||dt===this._document.body||dt===Pe||Pe.contains(dt))&&(this._focusMonitor?(this._focusMonitor.focusVia($e,this._closeInteractionType),this._closeInteractionType=null):$e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const be=this._elementRef.nativeElement,$e=(0,n.ht)();return be===$e||be.contains($e)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,n.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return Ve.\u0275fac=function(be){return new(be||Ve)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(r.qV),u.\u0275\u0275directiveInject(y.DOCUMENT,8),u.\u0275\u0275directiveInject(O),u.\u0275\u0275directiveInject(r.ic),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.Iu),u.\u0275\u0275directiveInject(r.tE))},Ve.\u0275cmp=u.\u0275\u0275defineComponent({type:Ve,selectors:[["cdk-dialog-container"]],viewQuery:function(be,$e){if(1&be&&u.\u0275\u0275viewQuery(h.Pl,7),2&be){let dt;u.\u0275\u0275queryRefresh(dt=u.\u0275\u0275loadQuery())&&($e._portalOutlet=dt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(be,$e){2&be&&u.\u0275\u0275attribute("id",$e._config.id||null)("role",$e._config.role)("aria-modal",$e._config.ariaModal)("aria-labelledby",$e._config.ariaLabel?null:$e._ariaLabelledBy)("aria-label",$e._config.ariaLabel)("aria-describedby",$e._config.ariaDescribedBy||null)},features:[u.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(be,$e){1&be&&u.\u0275\u0275template(0,M,0,0,"ng-template",0)},dependencies:[h.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),Ve})();class Q{constructor(Ue,be){this.overlayRef=Ue,this.config=be,this.closed=new p.x,this.disableClose=be.disableClose,this.backdropClick=Ue.backdropClick(),this.keydownEvents=Ue.keydownEvents(),this.outsidePointerEvents=Ue.outsidePointerEvents(),this.id=be.id,this.keydownEvents.subscribe($e=>{$e.keyCode===d.hY&&!this.disableClose&&!(0,d.Vb)($e)&&($e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Ue,be){if(this.containerInstance){const $e=this.closed;this.containerInstance._closeInteractionType=(null==be?void 0:be.focusOrigin)||"program",this.overlayRef.dispose(),$e.next(Ue),$e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ue="",be=""){return this.overlayRef.updateSize({width:Ue,height:be}),this}addPanelClass(Ue){return this.overlayRef.addPanelClass(Ue),this}removePanelClass(Ue){return this.overlayRef.removePanelClass(Ue),this}}const $=new u.InjectionToken("DialogScrollStrategy"),z=new u.InjectionToken("DialogData"),V=new u.InjectionToken("DefaultDialogConfig"),re={provide:$,deps:[c.aV],useFactory:function X(Ve){return()=>Ve.scrollStrategies.block()}};let me=0,Re=(()=>{class Ve{constructor(be,$e,dt,Pe,U,ye){this._overlay=be,this._injector=$e,this._defaultOptions=dt,this._parentDialog=Pe,this._overlayContainer=U,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p.x,this._afterOpenedAtThisLevel=new p.x,this._ariaHiddenElements=new Map,this.afterAllClosed=b(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,C.O)(void 0))),this._scrollStrategy=ye}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(be,$e){const dt=this._defaultOptions||new O;($e=Object.assign(Object.assign({},dt),$e)).id=$e.id||"cdk-dialog-"+me++,$e.id&&this.getDialogById($e.id);const Pe=this._getOverlayConfig($e),U=this._overlay.create(Pe),ye=new Q(U,$e),de=this._attachContainer(U,ye,$e);return ye.containerInstance=de,this._attachDialogContent(be,ye,de,$e),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(ye),ye.closed.subscribe(()=>this._removeOpenDialog(ye,!0)),this.afterOpened.next(ye),ye}closeAll(){it(this.openDialogs,be=>be.close())}getDialogById(be){return this.openDialogs.find($e=>$e.id===be)}ngOnDestroy(){it(this._openDialogsAtThisLevel,be=>{!1===be.config.closeOnDestroy&&this._removeOpenDialog(be,!1)}),it(this._openDialogsAtThisLevel,be=>be.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(be){const $e=new c.X_({positionStrategy:be.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:be.scrollStrategy||this._scrollStrategy(),panelClass:be.panelClass,hasBackdrop:be.hasBackdrop,direction:be.direction,minWidth:be.minWidth,minHeight:be.minHeight,maxWidth:be.maxWidth,maxHeight:be.maxHeight,width:be.width,height:be.height,disposeOnNavigation:be.closeOnNavigation});return be.backdropClass&&($e.backdropClass=be.backdropClass),$e}_attachContainer(be,$e,dt){var Pe;const U=dt.injector||(null===(Pe=dt.viewContainerRef)||void 0===Pe?void 0:Pe.injector),ye=[{provide:O,useValue:dt},{provide:Q,useValue:$e},{provide:c.Iu,useValue:be}];let de;dt.container?"function"==typeof dt.container?de=dt.container:(de=dt.container.type,ye.push(...dt.container.providers(dt))):de=L;const ke=new h.C5(de,dt.viewContainerRef,u.Injector.create({parent:U||this._injector,providers:ye}),dt.componentFactoryResolver);return be.attach(ke).instance}_attachDialogContent(be,$e,dt,Pe){if(be instanceof u.TemplateRef){const U=this._createInjector(Pe,$e,dt,void 0);let ye={$implicit:Pe.data,dialogRef:$e};Pe.templateContext&&(ye=Object.assign(Object.assign({},ye),"function"==typeof Pe.templateContext?Pe.templateContext():Pe.templateContext)),dt.attachTemplatePortal(new h.UE(be,null,ye,U))}else{const U=this._createInjector(Pe,$e,dt,this._injector),ye=dt.attachComponentPortal(new h.C5(be,Pe.viewContainerRef,U,Pe.componentFactoryResolver));$e.componentInstance=ye.instance}}_createInjector(be,$e,dt,Pe){var U;const ye=be.injector||(null===(U=be.viewContainerRef)||void 0===U?void 0:U.injector),de=[{provide:z,useValue:be.data},{provide:Q,useValue:$e}];return be.providers&&("function"==typeof be.providers?de.push(...be.providers($e,be,dt)):de.push(...be.providers)),be.direction&&(!ye||!ye.get(m.Is,null,u.InjectFlags.Optional))&&de.push({provide:m.Is,useValue:{value:be.direction,change:(0,v.of)()}}),u.Injector.create({parent:ye||Pe,providers:de})}_removeOpenDialog(be,$e){const dt=this.openDialogs.indexOf(be);dt>-1&&(this.openDialogs.splice(dt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Pe,U)=>{Pe?U.setAttribute("aria-hidden",Pe):U.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),$e&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const be=this._overlayContainer.getContainerElement();if(be.parentElement){const $e=be.parentElement.children;for(let dt=$e.length-1;dt>-1;dt--){const Pe=$e[dt];Pe!==be&&"SCRIPT"!==Pe.nodeName&&"STYLE"!==Pe.nodeName&&!Pe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Pe,Pe.getAttribute("aria-hidden")),Pe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const be=this._parentDialog;return be?be._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return Ve.\u0275fac=function(be){return new(be||Ve)(u.\u0275\u0275inject(c.aV),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(V,8),u.\u0275\u0275inject(Ve,12),u.\u0275\u0275inject(c.Xj),u.\u0275\u0275inject($))},Ve.\u0275prov=u.\u0275\u0275defineInjectable({token:Ve,factory:Ve.\u0275fac}),Ve})();function it(Ve,Ue){let be=Ve.length;for(;be--;)Ue(Ve[be])}let Ce=(()=>{class Ve{}return Ve.\u0275fac=function(be){return new(be||Ve)},Ve.\u0275mod=u.\u0275\u0275defineNgModule({type:Ve}),Ve.\u0275inj=u.\u0275\u0275defineInjector({providers:[Re,re],imports:[c.U8,h.eL,r.rt,h.eL]}),Ve})();var xe=a(508),oe=a(6451),Ie=a(9300),ze=a(5698),qe=a(1777);function te(Ve,Ue){}const fe={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},W={dialogContainer:(0,qe.X$)("dialogContainer",[(0,qe.SB)("void, exit",(0,qe.oB)({opacity:0,transform:"scale(0.7)"})),(0,qe.SB)("enter",(0,qe.oB)({transform:"none"})),(0,qe.eR)("* => enter",(0,qe.ru)([(0,qe.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,qe.oB)({transform:"none",opacity:1})),(0,qe.IO)("@*",(0,qe.pV)(),{optional:!0})]),fe),(0,qe.eR)("* => void, * => exit",(0,qe.ru)([(0,qe.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,qe.oB)({opacity:0})),(0,qe.IO)("@*",(0,qe.pV)(),{optional:!0})]),fe)])};class x{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=fe.params.enterAnimationDuration,this.exitAnimationDuration=fe.params.exitAnimationDuration}}let G=(()=>{class Ve extends L{constructor(be,$e,dt,Pe,U,ye,de,ke){super(be,$e,dt,Pe,U,ye,de,ke),this._animationStateChanged=new u.EventEmitter}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(be){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:be})}}return Ve.\u0275fac=function(be){return new(be||Ve)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(r.qV),u.\u0275\u0275directiveInject(y.DOCUMENT,8),u.\u0275\u0275directiveInject(x),u.\u0275\u0275directiveInject(r.ic),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.Iu),u.\u0275\u0275directiveInject(r.tE))},Ve.\u0275cmp=u.\u0275\u0275defineComponent({type:Ve,selectors:[["ng-component"]],features:[u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(be,$e){},encapsulation:2}),Ve})(),K=(()=>{class Ve extends G{constructor(be,$e,dt,Pe,U,ye,de,ke,tt){super(be,$e,dt,Pe,U,ye,de,tt),this._changeDetectorRef=ke,this._state="enter"}_onAnimationDone({toState:be,totalTime:$e}){"enter"===be?this._openAnimationDone($e):"exit"===be&&this._animationStateChanged.next({state:"closed",totalTime:$e})}_onAnimationStart({toState:be,totalTime:$e}){"enter"===be?this._animationStateChanged.next({state:"opening",totalTime:$e}):("exit"===be||"void"===be)&&this._animationStateChanged.next({state:"closing",totalTime:$e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||fe.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||fe.params.exitAnimationDuration}}}}return Ve.\u0275fac=function(be){return new(be||Ve)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(r.qV),u.\u0275\u0275directiveInject(y.DOCUMENT,8),u.\u0275\u0275directiveInject(x),u.\u0275\u0275directiveInject(r.ic),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.Iu),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(r.tE))},Ve.\u0275cmp=u.\u0275\u0275defineComponent({type:Ve,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(be,$e){1&be&&u.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(Pe){return $e._onAnimationStart(Pe)})("@dialogContainer.done",function(Pe){return $e._onAnimationDone(Pe)}),2&be&&(u.\u0275\u0275hostProperty("id",$e._config.id),u.\u0275\u0275attribute("aria-modal",$e._config.ariaModal)("role",$e._config.role)("aria-labelledby",$e._config.ariaLabel?null:$e._ariaLabelledBy)("aria-label",$e._config.ariaLabel)("aria-describedby",$e._config.ariaDescribedBy||null),u.\u0275\u0275syntheticHostProperty("@dialogContainer",$e._getAnimationState()))},features:[u.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(be,$e){1&be&&u.\u0275\u0275template(0,te,0,0,"ng-template",0)},dependencies:[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.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.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}"],encapsulation:2,data:{animation:[W.dialogContainer]}}),Ve})();class ne{constructor(Ue,be,$e){this._ref=Ue,this._containerInstance=$e,this._afterOpened=new p.x,this._beforeClosed=new p.x,this._state=0,this.disableClose=be.disableClose,this.id=Ue.id,$e._animationStateChanged.pipe((0,Ie.h)(dt=>"opened"===dt.state),(0,ze.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),$e._animationStateChanged.pipe((0,Ie.h)(dt=>"closed"===dt.state),(0,ze.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Ue.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,oe.T)(this.backdropClick(),this.keydownEvents().pipe((0,Ie.h)(dt=>dt.keyCode===d.hY&&!this.disableClose&&!(0,d.Vb)(dt)))).subscribe(dt=>{this.disableClose||(dt.preventDefault(),ve(this,"keydown"===dt.type?"keyboard":"mouse"))})}close(Ue){this._result=Ue,this._containerInstance._animationStateChanged.pipe((0,Ie.h)(be=>"closing"===be.state),(0,ze.q)(1)).subscribe(be=>{this._beforeClosed.next(Ue),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),be.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Ue){let be=this._ref.config.positionStrategy;return Ue&&(Ue.left||Ue.right)?Ue.left?be.left(Ue.left):be.right(Ue.right):be.centerHorizontally(),Ue&&(Ue.top||Ue.bottom)?Ue.top?be.top(Ue.top):be.bottom(Ue.bottom):be.centerVertically(),this._ref.updatePosition(),this}updateSize(Ue="",be=""){return this._ref.updateSize(Ue,be),this}addPanelClass(Ue){return this._ref.addPanelClass(Ue),this}removePanelClass(Ue){return this._ref.removePanelClass(Ue),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ve(Ve,Ue,be){return Ve._closeInteractionType=Ue,Ve.close(be)}const ge=new u.InjectionToken("MatDialogData"),Le=new u.InjectionToken("mat-dialog-default-options"),ct=new u.InjectionToken("mat-dialog-scroll-strategy");function ft(Ve){return()=>Ve.scrollStrategies.block()}function gt(Ve){return()=>Ve.scrollStrategies.block()}const ut={provide:ct,deps:[c.aV],useFactory:gt};let je=0,Te=(()=>{class Ve{constructor(be,$e,dt,Pe,U,ye,de,ke,tt,vt){this._overlay=be,this._defaultOptions=dt,this._parentDialog=Pe,this._dialogRefConstructor=de,this._dialogContainerType=ke,this._dialogDataToken=tt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p.x,this._afterOpenedAtThisLevel=new p.x,this._idPrefix="mat-dialog-",this.afterAllClosed=b(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,C.O)(void 0))),this._scrollStrategy=ye,this._dialog=$e.get(Re)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const be=this._parentDialog;return be?be._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(be,$e){let dt;($e=Object.assign(Object.assign({},this._defaultOptions||new x),$e)).id=$e.id||`${this._idPrefix}${je++}`,$e.scrollStrategy=$e.scrollStrategy||this._scrollStrategy();const Pe=this._dialog.open(be,Object.assign(Object.assign({},$e),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:x,useValue:$e},{provide:O,useValue:$e}]},templateContext:()=>({dialogRef:dt}),providers:(U,ye,de)=>(dt=new this._dialogRefConstructor(U,$e,de),dt.updatePosition(null==$e?void 0:$e.position),[{provide:this._dialogContainerType,useValue:de},{provide:this._dialogDataToken,useValue:ye.data},{provide:this._dialogRefConstructor,useValue:dt}])}));return dt.componentInstance=Pe.componentInstance,this.openDialogs.push(dt),this.afterOpened.next(dt),dt.afterClosed().subscribe(()=>{const U=this.openDialogs.indexOf(dt);U>-1&&(this.openDialogs.splice(U,1),this.openDialogs.length||this._getAfterAllClosed().next())}),dt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(be){return this.openDialogs.find($e=>$e.id===be)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(be){let $e=be.length;for(;$e--;)be[$e].close()}}return Ve.\u0275fac=function(be){u.\u0275\u0275invalidFactory()},Ve.\u0275prov=u.\u0275\u0275defineInjectable({token:Ve,factory:Ve.\u0275fac}),Ve})(),Fe=(()=>{class Ve extends Te{constructor(be,$e,dt,Pe,U,ye,de,ke){super(be,$e,Pe,ye,de,U,ne,K,ge,ke)}}return Ve.\u0275fac=function(be){return new(be||Ve)(u.\u0275\u0275inject(c.aV),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(y.Location,8),u.\u0275\u0275inject(Le,8),u.\u0275\u0275inject(ct),u.\u0275\u0275inject(Ve,12),u.\u0275\u0275inject(c.Xj),u.\u0275\u0275inject(u.ANIMATION_MODULE_TYPE,8))},Ve.\u0275prov=u.\u0275\u0275defineInjectable({token:Ve,factory:Ve.\u0275fac}),Ve})(),pe=0,We=(()=>{class Ve{constructor(be,$e,dt){this.dialogRef=be,this._elementRef=$e,this._dialog=dt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=we(this._elementRef,this._dialog.openDialogs))}ngOnChanges(be){const $e=be._matDialogClose||be._matDialogCloseResult;$e&&(this.dialogResult=$e.currentValue)}_onButtonClick(be){ve(this.dialogRef,0===be.screenX&&0===be.screenY?"keyboard":"mouse",this.dialogResult)}}return Ve.\u0275fac=function(be){return new(be||Ve)(u.\u0275\u0275directiveInject(ne,8),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(Fe))},Ve.\u0275dir=u.\u0275\u0275defineDirective({type:Ve,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(be,$e){1&be&&u.\u0275\u0275listener("click",function(Pe){return $e._onButtonClick(Pe)}),2&be&&u.\u0275\u0275attribute("aria-label",$e.ariaLabel||null)("type",$e.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[u.\u0275\u0275NgOnChangesFeature]}),Ve})(),Be=(()=>{class Ve{constructor(be,$e,dt){this._dialogRef=be,this._elementRef=$e,this._dialog=dt,this.id="mat-dialog-title-"+pe++}ngOnInit(){this._dialogRef||(this._dialogRef=we(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const be=this._dialogRef._containerInstance;be&&!be._ariaLabelledBy&&(be._ariaLabelledBy=this.id)})}}return Ve.\u0275fac=function(be){return new(be||Ve)(u.\u0275\u0275directiveInject(ne,8),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(Fe))},Ve.\u0275dir=u.\u0275\u0275defineDirective({type:Ve,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(be,$e){2&be&&u.\u0275\u0275hostProperty("id",$e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),Ve})(),Ke=(()=>{class Ve{}return Ve.\u0275fac=function(be){return new(be||Ve)},Ve.\u0275dir=u.\u0275\u0275defineDirective({type:Ve,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),Ve})(),Y=(()=>{class Ve{constructor(){this.align="start"}}return Ve.\u0275fac=function(be){return new(be||Ve)},Ve.\u0275dir=u.\u0275\u0275defineDirective({type:Ve,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(be,$e){2&be&&u.\u0275\u0275classProp("mat-dialog-actions-align-center","center"===$e.align)("mat-dialog-actions-align-end","end"===$e.align)},inputs:{align:"align"}}),Ve})();function we(Ve,Ue){let be=Ve.nativeElement.parentElement;for(;be&&!be.classList.contains("mat-dialog-container");)be=be.parentElement;return be?Ue.find($e=>$e.id===be.id):null}let He=(()=>{class Ve{}return Ve.\u0275fac=function(be){return new(be||Ve)},Ve.\u0275mod=u.\u0275\u0275defineNgModule({type:Ve}),Ve.\u0275inj=u.\u0275\u0275defineInjector({providers:[Fe,ut],imports:[Ce,c.U8,h.eL,xe.MatCommonModule,xe.MatCommonModule]}),Ve})()},3293:(H,o,a)=>{"use strict";a.r(o),a.d(o,{ICON_REGISTRY_PROVIDER:()=>qe,ICON_REGISTRY_PROVIDER_FACTORY:()=>ze,MAT_ICON_DEFAULT_OPTIONS:()=>G,MAT_ICON_LOCATION:()=>K,MAT_ICON_LOCATION_FACTORY:()=>ne,MatIcon:()=>ct,MatIconModule:()=>ft,MatIconRegistry:()=>Ie,getMatIconFailedToSanitizeLiteralError:()=>xe,getMatIconFailedToSanitizeUrlError:()=>Ce,getMatIconNameNotFoundError:()=>Re,getMatIconNoHttpProviderError:()=>it});var n=a(5e3),h=a(508),y=a(3191),u=a(9808),r=a(8306),c=a(576),p=a(9646),_=a(4128),f=a(727),b=a(8421),v=a(5403),m=a(4482);function C(gt){return(0,m.e)((ut,je)=>{let pe,Te=null,Fe=!1;Te=ut.subscribe((0,v.x)(je,void 0,void 0,We=>{pe=(0,b.Xf)(gt(We,C(gt)(ut))),Te?(Te.unsubscribe(),Te=null,pe.subscribe(je)):Fe=!0})),Fe&&(Te.unsubscribe(),Te=null,pe.subscribe(je))})}var O=a(8505),P=a(4004),L=a(3099),Q=a(5698),$=a(6529),z=a(2313);const V=["*"];let X;function me(gt){var ut;return(null===(ut=function re(){if(void 0===X&&(X=null,"undefined"!=typeof window)){const gt=window;void 0!==gt.trustedTypes&&(X=gt.trustedTypes.createPolicy("angular#components",{createHTML:ut=>ut}))}return X}())||void 0===ut?void 0:ut.createHTML(gt))||gt}function Re(gt){return Error(`Unable to find icon with the name "${gt}"`)}function it(){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 Ce(gt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${gt}".`)}function xe(gt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${gt}".`)}class oe{constructor(ut,je,Te){this.url=ut,this.svgText=je,this.options=Te}}let Ie=(()=>{class gt{constructor(je,Te,Fe,pe){this._httpClient=je,this._sanitizer=Te,this._errorHandler=pe,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Fe}addSvgIcon(je,Te,Fe){return this.addSvgIconInNamespace("",je,Te,Fe)}addSvgIconLiteral(je,Te,Fe){return this.addSvgIconLiteralInNamespace("",je,Te,Fe)}addSvgIconInNamespace(je,Te,Fe,pe){return this._addSvgIconConfig(je,Te,new oe(Fe,null,pe))}addSvgIconResolver(je){return this._resolvers.push(je),this}addSvgIconLiteralInNamespace(je,Te,Fe,pe){const We=this._sanitizer.sanitize(n.SecurityContext.HTML,Fe);if(!We)throw xe(Fe);const Be=me(We);return this._addSvgIconConfig(je,Te,new oe("",Be,pe))}addSvgIconSet(je,Te){return this.addSvgIconSetInNamespace("",je,Te)}addSvgIconSetLiteral(je,Te){return this.addSvgIconSetLiteralInNamespace("",je,Te)}addSvgIconSetInNamespace(je,Te,Fe){return this._addSvgIconSetConfig(je,new oe(Te,null,Fe))}addSvgIconSetLiteralInNamespace(je,Te,Fe){const pe=this._sanitizer.sanitize(n.SecurityContext.HTML,Te);if(!pe)throw xe(Te);const We=me(pe);return this._addSvgIconSetConfig(je,new oe("",We,Fe))}registerFontClassAlias(je,Te=je){return this._fontCssClassesByAlias.set(je,Te),this}classNameForFontAlias(je){return this._fontCssClassesByAlias.get(je)||je}setDefaultFontSetClass(...je){return this._defaultFontSetClass=je,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(je){const Te=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,je);if(!Te)throw Ce(je);const Fe=this._cachedIconsByUrl.get(Te);return Fe?(0,p.of)(te(Fe)):this._loadSvgIconFromConfig(new oe(je,null)).pipe((0,O.b)(pe=>this._cachedIconsByUrl.set(Te,pe)),(0,P.U)(pe=>te(pe)))}getNamedSvgIcon(je,Te=""){const Fe=fe(Te,je);let pe=this._svgIconConfigs.get(Fe);if(pe)return this._getSvgFromConfig(pe);if(pe=this._getIconConfigFromResolvers(Te,je),pe)return this._svgIconConfigs.set(Fe,pe),this._getSvgFromConfig(pe);const We=this._iconSetConfigs.get(Te);return We?this._getSvgFromIconSetConfigs(je,We):function d(gt,ut){const je=(0,c.m)(gt)?gt:()=>gt,Te=Fe=>Fe.error(je());return new r.y(ut?Fe=>ut.schedule(Te,0,Fe):Te)}(Re(Fe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(je){return je.svgText?(0,p.of)(te(this._svgElementFromConfig(je))):this._loadSvgIconFromConfig(je).pipe((0,P.U)(Te=>te(Te)))}_getSvgFromIconSetConfigs(je,Te){const Fe=this._extractIconWithNameFromAnySet(je,Te);if(Fe)return(0,p.of)(Fe);const pe=Te.filter(We=>!We.svgText).map(We=>this._loadSvgIconSetFromConfig(We).pipe(C(Be=>{const Y=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,We.url)} failed: ${Be.message}`;return this._errorHandler.handleError(new Error(Y)),(0,p.of)(null)})));return(0,_.D)(pe).pipe((0,P.U)(()=>{const We=this._extractIconWithNameFromAnySet(je,Te);if(!We)throw Re(je);return We}))}_extractIconWithNameFromAnySet(je,Te){for(let Fe=Te.length-1;Fe>=0;Fe--){const pe=Te[Fe];if(pe.svgText&&pe.svgText.toString().indexOf(je)>-1){const We=this._svgElementFromConfig(pe),Be=this._extractSvgIconFromSet(We,je,pe.options);if(Be)return Be}}return null}_loadSvgIconFromConfig(je){return this._fetchIcon(je).pipe((0,O.b)(Te=>je.svgText=Te),(0,P.U)(()=>this._svgElementFromConfig(je)))}_loadSvgIconSetFromConfig(je){return je.svgText?(0,p.of)(null):this._fetchIcon(je).pipe((0,O.b)(Te=>je.svgText=Te))}_extractSvgIconFromSet(je,Te,Fe){const pe=je.querySelector(`[id="${Te}"]`);if(!pe)return null;const We=pe.cloneNode(!0);if(We.removeAttribute("id"),"svg"===We.nodeName.toLowerCase())return this._setSvgAttributes(We,Fe);if("symbol"===We.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(We),Fe);const Be=this._svgElementFromString(me("<svg></svg>"));return Be.appendChild(We),this._setSvgAttributes(Be,Fe)}_svgElementFromString(je){const Te=this._document.createElement("DIV");Te.innerHTML=je;const Fe=Te.querySelector("svg");if(!Fe)throw Error("<svg> tag not found");return Fe}_toSvgElement(je){const Te=this._svgElementFromString(me("<svg></svg>")),Fe=je.attributes;for(let pe=0;pe<Fe.length;pe++){const{name:We,value:Be}=Fe[pe];"id"!==We&&Te.setAttribute(We,Be)}for(let pe=0;pe<je.childNodes.length;pe++)je.childNodes[pe].nodeType===this._document.ELEMENT_NODE&&Te.appendChild(je.childNodes[pe].cloneNode(!0));return Te}_setSvgAttributes(je,Te){return je.setAttribute("fit",""),je.setAttribute("height","100%"),je.setAttribute("width","100%"),je.setAttribute("preserveAspectRatio","xMidYMid meet"),je.setAttribute("focusable","false"),Te&&Te.viewBox&&je.setAttribute("viewBox",Te.viewBox),je}_fetchIcon(je){var Te;const{url:Fe,options:pe}=je,We=null!==(Te=null==pe?void 0:pe.withCredentials)&&void 0!==Te&&Te;if(!this._httpClient)throw it();if(null==Fe)throw Error(`Cannot fetch icon from URL "${Fe}".`);const Be=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Fe);if(!Be)throw Ce(Fe);const Ke=this._inProgressUrlFetches.get(Be);if(Ke)return Ke;const Y=this._httpClient.get(Be,{responseType:"text",withCredentials:We}).pipe((0,P.U)(we=>me(we)),function M(gt){return(0,m.e)((ut,je)=>{try{ut.subscribe(je)}finally{je.add(gt)}})}(()=>this._inProgressUrlFetches.delete(Be)),(0,L.B)());return this._inProgressUrlFetches.set(Be,Y),Y}_addSvgIconConfig(je,Te,Fe){return this._svgIconConfigs.set(fe(je,Te),Fe),this}_addSvgIconSetConfig(je,Te){const Fe=this._iconSetConfigs.get(je);return Fe?Fe.push(Te):this._iconSetConfigs.set(je,[Te]),this}_svgElementFromConfig(je){if(!je.svgElement){const Te=this._svgElementFromString(je.svgText);this._setSvgAttributes(Te,je.options),je.svgElement=Te}return je.svgElement}_getIconConfigFromResolvers(je,Te){for(let Fe=0;Fe<this._resolvers.length;Fe++){const pe=this._resolvers[Fe](Te,je);if(pe)return W(pe)?new oe(pe.url,null,pe.options):new oe(pe,null)}}}return gt.\u0275fac=function(je){return new(je||gt)(n.\u0275\u0275inject($.HttpClient,8),n.\u0275\u0275inject(z.DomSanitizer),n.\u0275\u0275inject(u.DOCUMENT,8),n.\u0275\u0275inject(n.ErrorHandler))},gt.\u0275prov=n.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function ze(gt,ut,je,Te,Fe){return gt||new Ie(ut,je,Fe,Te)}const qe={provide:Ie,deps:[[new n.Optional,new n.SkipSelf,Ie],[new n.Optional,$.HttpClient],z.DomSanitizer,n.ErrorHandler,[new n.Optional,u.DOCUMENT]],useFactory:ze};function te(gt){return gt.cloneNode(!0)}function fe(gt,ut){return gt+":"+ut}function W(gt){return!(!gt.url||!gt.options)}const x=(0,h.mixinColor)(class{constructor(gt){this._elementRef=gt}}),G=new n.InjectionToken("MAT_ICON_DEFAULT_OPTIONS"),K=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:ne});function ne(){const gt=(0,n.inject)(u.DOCUMENT),ut=gt?gt.location:null;return{getPathname:()=>ut?ut.pathname+ut.search:""}}const ve=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ge=ve.map(gt=>`[${gt}]`).join(", "),Le=/^url\(['"]?#(.*?)['"]?\)$/;let ct=(()=>{class gt extends x{constructor(je,Te,Fe,pe,We,Be){super(je),this._iconRegistry=Te,this._location=pe,this._errorHandler=We,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.w0.EMPTY,Be&&(Be.color&&(this.color=this.defaultColor=Be.color),Be.fontSet&&(this.fontSet=Be.fontSet)),Fe||je.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(je){this._inline=(0,y.Ig)(je)}get svgIcon(){return this._svgIcon}set svgIcon(je){je!==this._svgIcon&&(je?this._updateSvgIcon(je):this._svgIcon&&this._clearSvgElement(),this._svgIcon=je)}get fontSet(){return this._fontSet}set fontSet(je){const Te=this._cleanupFontValue(je);Te!==this._fontSet&&(this._fontSet=Te,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(je){const Te=this._cleanupFontValue(je);Te!==this._fontIcon&&(this._fontIcon=Te,this._updateFontIconClasses())}_splitIconName(je){if(!je)return["",""];const Te=je.split(":");switch(Te.length){case 1:return["",Te[0]];case 2:return Te;default:throw Error(`Invalid icon name: "${je}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const je=this._elementsWithExternalReferences;if(je&&je.size){const Te=this._location.getPathname();Te!==this._previousPath&&(this._previousPath=Te,this._prependPathToReferences(Te))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(je){this._clearSvgElement();const Te=this._location.getPathname();this._previousPath=Te,this._cacheChildrenWithExternalReferences(je),this._prependPathToReferences(Te),this._elementRef.nativeElement.appendChild(je)}_clearSvgElement(){const je=this._elementRef.nativeElement;let Te=je.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Te--;){const Fe=je.childNodes[Te];(1!==Fe.nodeType||"svg"===Fe.nodeName.toLowerCase())&&Fe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const je=this._elementRef.nativeElement,Te=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Fe=>Fe.length>0);this._previousFontSetClass.forEach(Fe=>je.classList.remove(Fe)),Te.forEach(Fe=>je.classList.add(Fe)),this._previousFontSetClass=Te,this.fontIcon!==this._previousFontIconClass&&!Te.includes("mat-ligature-font")&&(this._previousFontIconClass&&je.classList.remove(this._previousFontIconClass),this.fontIcon&&je.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(je){return"string"==typeof je?je.trim().split(" ")[0]:je}_prependPathToReferences(je){const Te=this._elementsWithExternalReferences;Te&&Te.forEach((Fe,pe)=>{Fe.forEach(We=>{pe.setAttribute(We.name,`url('${je}#${We.value}')`)})})}_cacheChildrenWithExternalReferences(je){const Te=je.querySelectorAll(ge),Fe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let pe=0;pe<Te.length;pe++)ve.forEach(We=>{const Be=Te[pe],Ke=Be.getAttribute(We),Y=Ke?Ke.match(Le):null;if(Y){let we=Fe.get(Be);we||(we=[],Fe.set(Be,we)),we.push({name:We,value:Y[1]})}})}_updateSvgIcon(je){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),je){const[Te,Fe]=this._splitIconName(je);Te&&(this._svgNamespace=Te),Fe&&(this._svgName=Fe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Fe,Te).pipe((0,Q.q)(1)).subscribe(pe=>this._setSvgElement(pe),pe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Te}:${Fe}! ${pe.message}`))})}}}return gt.\u0275fac=function(je){return new(je||gt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ie),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(K),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(G,8))},gt.\u0275cmp=n.\u0275\u0275defineComponent({type:gt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(je,Te){2&je&&(n.\u0275\u0275attribute("data-mat-icon-type",Te._usingFontIcon()?"font":"svg")("data-mat-icon-name",Te._svgName||Te.fontIcon)("data-mat-icon-namespace",Te._svgNamespace||Te.fontSet),n.\u0275\u0275classProp("mat-icon-inline",Te.inline)("mat-icon-no-color","primary"!==Te.color&&"accent"!==Te.color&&"warn"!==Te.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(je,Te){1&je&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),gt})(),ft=(()=>{class gt{}return gt.\u0275fac=function(je){return new(je||gt)},gt.\u0275mod=n.\u0275\u0275defineNgModule({type:gt}),gt.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.MatCommonModule,h.MatCommonModule]}),gt})()},1451:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_MENU_CONTENT:()=>ge,MAT_MENU_DEFAULT_OPTIONS:()=>pe,MAT_MENU_PANEL:()=>je,MAT_MENU_SCROLL_STRATEGY:()=>we,MatMenu:()=>Y,MatMenuContent:()=>ct,MatMenuItem:()=>Fe,MatMenuModule:()=>Pe,MatMenuTrigger:()=>dt,_MatMenuBase:()=>Ke,_MatMenuContentBase:()=>Le,_MatMenuTriggerBase:()=>$e,fadeInItems:()=>ne,matMenuAnimations:()=>K,transformMenu:()=>ve});var n=a(5664),h=a(3191),y=a(1159),u=a(5e3),r=a(7579),c=a(727),d=a(6451),p=a(9646),_=a(3101),f=a(4986),b=a(7272),v=a(5698),m=a(4482),C=a(5403),M=a(5032),P=a(4004),Q=a(5577);function $(U,ye){return ye?de=>(0,b.z)(ye.pipe((0,v.q)(1),function O(){return(0,m.e)((U,ye)=>{U.subscribe((0,C.x)(ye,M.Z))})}()),de.pipe($(U))):(0,Q.z)((de,ke)=>U(de,ke).pipe((0,v.q)(1),function L(U){return(0,P.U)(()=>U)}(de)))}var z=a(5963);function V(U,ye=f.z){const de=(0,z.H)(U,ye);return $(()=>de)}var X=a(8675),re=a(3900),me=a(2722),Re=a(9300),it=a(1777),Ce=a(7429),xe=a(9808),oe=a(508),Ie=a(1314),ze=a(925),qe=a(226),te=a(495);const fe=["mat-menu-item",""];function W(U,ye){1&U&&(u.\u0275\u0275namespaceSVG(),u.\u0275\u0275elementStart(0,"svg",2),u.\u0275\u0275element(1,"polygon",3),u.\u0275\u0275elementEnd())}const x=["*"];function G(U,ye){if(1&U){const de=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("keydown",function(tt){u.\u0275\u0275restoreView(de);const vt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(vt._handleKeydown(tt))})("click",function(){u.\u0275\u0275restoreView(de);const tt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(tt.closed.emit("click"))})("@transformMenu.start",function(tt){u.\u0275\u0275restoreView(de);const vt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(vt._onAnimationStart(tt))})("@transformMenu.done",function(tt){u.\u0275\u0275restoreView(de);const vt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(vt._onAnimationDone(tt))}),u.\u0275\u0275elementStart(1,"div",1),u.\u0275\u0275projection(2),u.\u0275\u0275elementEnd()()}if(2&U){const de=u.\u0275\u0275nextContext();u.\u0275\u0275property("id",de.panelId)("ngClass",de._classList)("@transformMenu",de._panelAnimationState),u.\u0275\u0275attribute("aria-label",de.ariaLabel||null)("aria-labelledby",de.ariaLabelledby||null)("aria-describedby",de.ariaDescribedby||null)}}const K={transformMenu:(0,it.X$)("transformMenu",[(0,it.SB)("void",(0,it.oB)({opacity:0,transform:"scale(0.8)"})),(0,it.eR)("void => enter",(0,it.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,it.oB)({opacity:1,transform:"scale(1)"}))),(0,it.eR)("* => void",(0,it.jt)("100ms 25ms linear",(0,it.oB)({opacity:0})))]),fadeInItems:(0,it.X$)("fadeInItems",[(0,it.SB)("showing",(0,it.oB)({opacity:1})),(0,it.eR)("void => *",[(0,it.oB)({opacity:0}),(0,it.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ne=K.fadeInItems,ve=K.transformMenu,ge=new u.InjectionToken("MatMenuContent");let Le=(()=>{class U{constructor(de,ke,tt,vt,Ft,At,Yt){this._template=de,this._componentFactoryResolver=ke,this._appRef=tt,this._injector=vt,this._viewContainerRef=Ft,this._document=At,this._changeDetectorRef=Yt,this._attached=new r.x}attach(de={}){var ke;this._portal||(this._portal=new Ce.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Ce.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const tt=this._template.elementRef.nativeElement;tt.parentNode.insertBefore(this._outlet.outletElement,tt),null===(ke=this._changeDetectorRef)||void 0===ke||ke.markForCheck(),this._portal.attach(this._outlet,de),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return U.\u0275fac=function(de){return new(de||U)(u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(u.ComponentFactoryResolver),u.\u0275\u0275directiveInject(u.ApplicationRef),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(xe.DOCUMENT),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))},U.\u0275dir=u.\u0275\u0275defineDirective({type:U}),U})(),ct=(()=>{class U extends Le{}return U.\u0275fac=function(){let ye;return function(ke){return(ye||(ye=u.\u0275\u0275getInheritedFactory(U)))(ke||U)}}(),U.\u0275dir=u.\u0275\u0275defineDirective({type:U,selectors:[["ng-template","matMenuContent",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:U}]),u.\u0275\u0275InheritDefinitionFeature]}),U})();const je=new u.InjectionToken("MAT_MENU_PANEL"),Te=(0,oe.mixinDisableRipple)((0,oe.mixinDisabled)(class{}));let Fe=(()=>{class U extends Te{constructor(de,ke,tt,vt,Ft){var At;super(),this._elementRef=de,this._document=ke,this._focusMonitor=tt,this._parentMenu=vt,this._changeDetectorRef=Ft,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(At=null==vt?void 0:vt.addItem)||void 0===At||At.call(vt,this)}focus(de,ke){this._focusMonitor&&de?this._focusMonitor.focusVia(this._getHostElement(),de,ke):this._getHostElement().focus(ke),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(de){this.disabled&&(de.preventDefault(),de.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var de;const ke=this._elementRef.nativeElement.cloneNode(!0),tt=ke.querySelectorAll("mat-icon, .material-icons");for(let vt=0;vt<tt.length;vt++)tt[vt].remove();return(null===(de=ke.textContent)||void 0===de?void 0:de.trim())||""}_setHighlighted(de){var ke;this._highlighted=de,null===(ke=this._changeDetectorRef)||void 0===ke||ke.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return U.\u0275fac=function(de){return new(de||U)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(xe.DOCUMENT),u.\u0275\u0275directiveInject(n.tE),u.\u0275\u0275directiveInject(je,8),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))},U.\u0275cmp=u.\u0275\u0275defineComponent({type:U,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(de,ke){1&de&&u.\u0275\u0275listener("click",function(vt){return ke._checkDisabled(vt)})("mouseenter",function(){return ke._handleMouseEnter()}),2&de&&(u.\u0275\u0275attribute("role",ke.role)("tabindex",ke._getTabIndex())("aria-disabled",ke.disabled.toString())("disabled",ke.disabled||null),u.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",ke._highlighted)("mat-menu-item-submenu-trigger",ke._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[u.\u0275\u0275InheritDefinitionFeature],attrs:fe,ngContentSelectors:x,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(de,ke){1&de&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275projection(0),u.\u0275\u0275element(1,"div",0),u.\u0275\u0275template(2,W,2,0,"svg",1)),2&de&&(u.\u0275\u0275advance(1),u.\u0275\u0275property("matRippleDisabled",ke.disableRipple||ke.disabled)("matRippleTrigger",ke._getHostElement()),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",ke._triggersSubmenu))},dependencies:[xe.NgIf,oe.MatRipple],encapsulation:2,changeDetection:0}),U})();const pe=new u.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function We(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Be=0,Ke=(()=>{class U{constructor(de,ke,tt,vt){this._elementRef=de,this._ngZone=ke,this._defaultOptions=tt,this._changeDetectorRef=vt,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new u.QueryList,this._tabSubscription=c.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 u.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Be++}get xPosition(){return this._xPosition}set xPosition(de){this._xPosition=de,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(de){this._yPosition=de,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(de){this._overlapTrigger=(0,h.Ig)(de)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(de){this._hasBackdrop=(0,h.Ig)(de)}set panelClass(de){const ke=this._previousPanelClass;ke&&ke.length&&ke.split(" ").forEach(tt=>{this._classList[tt]=!1}),this._previousPanelClass=de,de&&de.length&&(de.split(" ").forEach(tt=>{this._classList[tt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(de){this.panelClass=de}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,X.O)(this._directDescendantItems),(0,re.w)(de=>(0,d.T)(...de.map(ke=>ke._focused)))).subscribe(de=>this._keyManager.updateActiveItem(de)),this._directDescendantItems.changes.subscribe(de=>{var ke;const tt=this._keyManager;if("enter"===this._panelAnimationState&&(null===(ke=tt.activeItem)||void 0===ke?void 0:ke._hasFocus())){const vt=de.toArray(),Ft=Math.max(0,Math.min(vt.length-1,tt.activeItemIndex||0));vt[Ft]&&!vt[Ft].disabled?tt.setActiveItem(Ft):tt.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,X.O)(this._directDescendantItems),(0,re.w)(ke=>(0,d.T)(...ke.map(tt=>tt._hovered))))}addItem(de){}removeItem(de){}_handleKeydown(de){const ke=de.keyCode,tt=this._keyManager;switch(ke){case y.hY:(0,y.Vb)(de)||(de.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(ke===y.LH||ke===y.JH)&&tt.setFocusOrigin("keyboard"),void tt.onKeydown(de)}de.stopPropagation()}focusFirstItem(de="program"){this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(()=>{let ke=null;if(this._directDescendantItems.length&&(ke=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ke||!ke.contains(document.activeElement)){const tt=this._keyManager;tt.setFocusOrigin(de).setFirstItemActive(),!tt.activeItem&&ke&&ke.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(de){const ke=Math.min(this._baseElevation+de,24),tt=`${this._elevationPrefix}${ke}`,vt=Object.keys(this._classList).find(Ft=>Ft.startsWith(this._elevationPrefix));(!vt||vt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[tt]=!0,this._previousElevation=tt)}setPositionClasses(de=this.xPosition,ke=this.yPosition){var tt;const vt=this._classList;vt["mat-menu-before"]="before"===de,vt["mat-menu-after"]="after"===de,vt["mat-menu-above"]="above"===ke,vt["mat-menu-below"]="below"===ke,null===(tt=this._changeDetectorRef)||void 0===tt||tt.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(de){this._animationDone.next(de),this._isAnimating=!1}_onAnimationStart(de){this._isAnimating=!0,"enter"===de.toState&&0===this._keyManager.activeItemIndex&&(de.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,X.O)(this._allItems)).subscribe(de=>{this._directDescendantItems.reset(de.filter(ke=>ke._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return U.\u0275fac=function(de){return new(de||U)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(pe),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))},U.\u0275dir=u.\u0275\u0275defineDirective({type:U,contentQueries:function(de,ke,tt){if(1&de&&(u.\u0275\u0275contentQuery(tt,ge,5),u.\u0275\u0275contentQuery(tt,Fe,5),u.\u0275\u0275contentQuery(tt,Fe,4)),2&de){let vt;u.\u0275\u0275queryRefresh(vt=u.\u0275\u0275loadQuery())&&(ke.lazyContent=vt.first),u.\u0275\u0275queryRefresh(vt=u.\u0275\u0275loadQuery())&&(ke._allItems=vt),u.\u0275\u0275queryRefresh(vt=u.\u0275\u0275loadQuery())&&(ke.items=vt)}},viewQuery:function(de,ke){if(1&de&&u.\u0275\u0275viewQuery(u.TemplateRef,5),2&de){let tt;u.\u0275\u0275queryRefresh(tt=u.\u0275\u0275loadQuery())&&(ke.templateRef=tt.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"}}),U})(),Y=(()=>{class U extends Ke{constructor(de,ke,tt,vt){super(de,ke,tt,vt),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return U.\u0275fac=function(de){return new(de||U)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(pe),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))},U.\u0275cmp=u.\u0275\u0275defineComponent({type:U,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(de,ke){2&de&&u.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[u.\u0275\u0275ProvidersFeature([{provide:je,useExisting:U}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:x,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(de,ke){1&de&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,G,3,6,"ng-template"))},dependencies:[xe.NgClass],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[K.transformMenu,K.fadeInItems]},changeDetection:0}),U})();const we=new u.InjectionToken("mat-menu-scroll-strategy"),Ve={provide:we,deps:[Ie.aV],useFactory:function He(U){return()=>U.scrollStrategies.reposition()}},be=(0,ze.i$)({passive:!0});let $e=(()=>{class U{constructor(de,ke,tt,vt,Ft,At,Yt,Nt,rt){this._overlay=de,this._element=ke,this._viewContainerRef=tt,this._menuItemInstance=At,this._dir=Yt,this._focusMonitor=Nt,this._ngZone=rt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.w0.EMPTY,this._hoverSubscription=c.w0.EMPTY,this._menuCloseSubscription=c.w0.EMPTY,this._handleTouchStart=Ze=>{(0,n.yG)(Ze)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new u.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new u.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=vt,this._parentMaterialMenu=Ft instanceof Ke?Ft:void 0,ke.nativeElement.addEventListener("touchstart",this._handleTouchStart,be),At&&(At._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(de){this.menu=de}get menu(){return this._menu}set menu(de){de!==this._menu&&(this._menu=de,this._menuCloseSubscription.unsubscribe(),de&&(this._menuCloseSubscription=de.close.subscribe(ke=>{this._destroyMenu(ke),("click"===ke||"tab"===ke)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ke)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,be),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(){const de=this.menu;if(this._menuOpen||!de)return;const ke=this._createOverlay(de),tt=ke.getConfig(),vt=tt.positionStrategy;this._setPosition(de,vt),tt.hasBackdrop=null==de.hasBackdrop?!this.triggersSubmenu():de.hasBackdrop,ke.attach(this._getPortal(de)),de.lazyContent&&de.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(de),de instanceof Ke&&(de._startAnimation(),de._directDescendantItems.changes.pipe((0,me.R)(de.close)).subscribe(()=>{vt.withLockedPosition(!1).reapplyLastPosition(),vt.withLockedPosition(!0)}))}closeMenu(){var de;null===(de=this.menu)||void 0===de||de.close.emit()}focus(de,ke){this._focusMonitor&&de?this._focusMonitor.focusVia(this._element,de,ke):this._element.nativeElement.focus(ke)}updatePosition(){var de;null===(de=this._overlayRef)||void 0===de||de.updatePosition()}_destroyMenu(de){var ke;if(!this._overlayRef||!this.menuOpen)return;const tt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===de||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,tt instanceof Ke?(tt._resetAnimation(),tt.lazyContent?tt._animationDone.pipe((0,Re.h)(vt=>"void"===vt.toState),(0,v.q)(1),(0,me.R)(tt.lazyContent._attached)).subscribe({next:()=>tt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null===(ke=null==tt?void 0:tt.lazyContent)||void 0===ke||ke.detach())}_initMenu(de){de.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,de.direction=this.dir,this._setMenuElevation(de),de.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(de){if(de.setElevation){let ke=0,tt=de.parentMenu;for(;tt;)ke++,tt=tt.parentMenu;de.setElevation(ke)}}_setIsMenuOpen(de){this._menuOpen=de,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(de)}_createOverlay(de){if(!this._overlayRef){const ke=this._getOverlayConfig(de);this._subscribeToPositions(de,ke.positionStrategy),this._overlayRef=this._overlay.create(ke),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(de){return new Ie.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:de.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:de.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(de,ke){de.setPositionClasses&&ke.positionChanges.subscribe(tt=>{const vt="start"===tt.connectionPair.overlayX?"after":"before",Ft="top"===tt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>de.setPositionClasses(vt,Ft)):de.setPositionClasses(vt,Ft)})}_setPosition(de,ke){let[tt,vt]="before"===de.xPosition?["end","start"]:["start","end"],[Ft,At]="above"===de.yPosition?["bottom","top"]:["top","bottom"],[Yt,Nt]=[Ft,At],[rt,Ze]=[tt,vt],Ee=0;if(this.triggersSubmenu()){if(Ze=tt="before"===de.xPosition?"start":"end",vt=rt="end"===tt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const _e=this._parentMaterialMenu.items.first;this._parentInnerPadding=_e?_e._getHostElement().offsetTop:0}Ee="bottom"===Ft?this._parentInnerPadding:-this._parentInnerPadding}}else de.overlapTrigger||(Yt="top"===Ft?"bottom":"top",Nt="top"===At?"bottom":"top");ke.withPositions([{originX:tt,originY:Yt,overlayX:rt,overlayY:Ft,offsetY:Ee},{originX:vt,originY:Yt,overlayX:Ze,overlayY:Ft,offsetY:Ee},{originX:tt,originY:Nt,overlayX:rt,overlayY:At,offsetY:-Ee},{originX:vt,originY:Nt,overlayX:Ze,overlayY:At,offsetY:-Ee}])}_menuClosingActions(){const de=this._overlayRef.backdropClick(),ke=this._overlayRef.detachments(),tt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),vt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Re.h)(Ft=>Ft!==this._menuItemInstance),(0,Re.h)(()=>this._menuOpen)):(0,p.of)();return(0,d.T)(de,tt,vt,ke)}_handleMousedown(de){(0,n.X6)(de)||(this._openedBy=0===de.button?"mouse":void 0,this.triggersSubmenu()&&de.preventDefault())}_handleKeydown(de){const ke=de.keyCode;(ke===y.K5||ke===y.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ke===y.SV&&"ltr"===this.dir||ke===y.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(de){this.triggersSubmenu()?(de.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Re.h)(de=>de===this._menuItemInstance&&!de.disabled),V(0,_.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ke&&this.menu._isAnimating?this.menu._animationDone.pipe((0,v.q)(1),V(0,_.E),(0,me.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(de){return(!this._portal||this._portal.templateRef!==de.templateRef)&&(this._portal=new Ce.UE(de.templateRef,this._viewContainerRef)),this._portal}}return U.\u0275fac=function(de){return new(de||U)(u.\u0275\u0275directiveInject(Ie.aV),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(we),u.\u0275\u0275directiveInject(je,8),u.\u0275\u0275directiveInject(Fe,10),u.\u0275\u0275directiveInject(qe.Is,8),u.\u0275\u0275directiveInject(n.tE),u.\u0275\u0275directiveInject(u.NgZone))},U.\u0275dir=u.\u0275\u0275defineDirective({type:U,hostVars:3,hostBindings:function(de,ke){1&de&&u.\u0275\u0275listener("click",function(vt){return ke._handleClick(vt)})("mousedown",function(vt){return ke._handleMousedown(vt)})("keydown",function(vt){return ke._handleKeydown(vt)}),2&de&&u.\u0275\u0275attribute("aria-haspopup",ke.menu?"menu":null)("aria-expanded",ke.menuOpen||null)("aria-controls",ke.menuOpen?ke.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"}}),U})(),dt=(()=>{class U extends $e{}return U.\u0275fac=function(){let ye;return function(ke){return(ye||(ye=u.\u0275\u0275getInheritedFactory(U)))(ke||U)}}(),U.\u0275dir=u.\u0275\u0275defineDirective({type:U,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[u.\u0275\u0275InheritDefinitionFeature]}),U})(),Pe=(()=>{class U{}return U.\u0275fac=function(de){return new(de||U)},U.\u0275mod=u.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=u.\u0275\u0275defineInjector({providers:[Ve],imports:[xe.CommonModule,oe.MatCommonModule,oe.MatRippleModule,Ie.U8,te.ZD,oe.MatCommonModule]}),U})()},4999:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MatCell:()=>rn,MatCellDef:()=>bt,MatColumnDef:()=>at,MatFooterCell:()=>Ht,MatFooterCellDef:()=>Oe,MatFooterRow:()=>De,MatFooterRowDef:()=>vn,MatHeaderCell:()=>Dt,MatHeaderCellDef:()=>q,MatHeaderRow:()=>Ye,MatHeaderRowDef:()=>Xt,MatNoDataRow:()=>lt,MatRecycleRows:()=>yt,MatRow:()=>et,MatRowDef:()=>Xe,MatTable:()=>Ge,MatTableDataSource:()=>Hn,MatTableModule:()=>Wt,MatTextColumn:()=>It,_MatTableDataSource:()=>gn});var n=a(5e3),h=a(3191),y=a(449),u=a(9808),r=a(7579),c=a(2076),d=a(1135),p=a(8306),_=a(576),b=a(9646),v=a(2722),m=a(5698),C=a(226),M=a(925),O=a(495);const P=[[["caption"]],[["colgroup"],["col"]]],L=["caption","colgroup, col"];function Q(ue,Qe){if(1&ue&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ee=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ee.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ee.headerText," ")}}function $(ue,Qe){if(1&ue&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ee=Qe.$implicit,Ne=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ne.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ne.dataAccessor(ee,Ne.name)," ")}}function z(ue){return class extends ue{constructor(...Qe){super(...Qe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Qe){const ee=this._sticky;this._sticky=(0,h.Ig)(Qe),this._hasStickyChanged=ee!==this._sticky}hasStickyChanged(){const Qe=this._hasStickyChanged;return this._hasStickyChanged=!1,Qe}resetStickyChanged(){this._hasStickyChanged=!1}}}const V=new n.InjectionToken("CDK_TABLE"),X=new n.InjectionToken("text-column-options");let re=(()=>{class ue{constructor(ee){this.template=ee}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.TemplateRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkCellDef",""]]}),ue})(),me=(()=>{class ue{constructor(ee){this.template=ee}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.TemplateRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkHeaderCellDef",""]]}),ue})(),Re=(()=>{class ue{constructor(ee){this.template=ee}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.TemplateRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkFooterCellDef",""]]}),ue})();class it{}const Ce=z(it);let xe=(()=>{class ue extends Ce{constructor(ee){super(),this._table=ee,this._stickyEnd=!1}get name(){return this._name}set name(ee){this._setNameInput(ee)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ee){const Ne=this._stickyEnd;this._stickyEnd=(0,h.Ig)(ee),this._hasStickyChanged=Ne!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ee){ee&&(this._name=ee,this.cssClassFriendlyName=ee.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(V,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkColumnDef",""]],contentQueries:function(ee,Ne,ht){if(1&ee&&(n.\u0275\u0275contentQuery(ht,re,5),n.\u0275\u0275contentQuery(ht,me,5),n.\u0275\u0275contentQuery(ht,Re,5)),2&ee){let Tt;n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne.cell=Tt.first),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne.headerCell=Tt.first),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne.footerCell=Tt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})();class oe{constructor(Qe,ee){ee.nativeElement.classList.add(...Qe._columnCssClassName)}}let Ie=(()=>{class ue extends oe{constructor(ee,Ne){super(ee,Ne)}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),ze=(()=>{class ue extends oe{constructor(ee,Ne){var ht;if(super(ee,Ne),1===(null===(ht=ee._table)||void 0===ht?void 0:ht._elementRef.nativeElement.nodeType)){const Tt=ee._table._elementRef.nativeElement.getAttribute("role");Ne.nativeElement.setAttribute("role","grid"===Tt||"treegrid"===Tt?"gridcell":"cell")}}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),qe=(()=>{class ue extends oe{constructor(ee,Ne){var ht;if(super(ee,Ne),1===(null===(ht=ee._table)||void 0===ht?void 0:ht._elementRef.nativeElement.nodeType)){const Tt=ee._table._elementRef.nativeElement.getAttribute("role");Ne.nativeElement.setAttribute("role","grid"===Tt||"treegrid"===Tt?"gridcell":"cell")}}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})();class te{constructor(){this.tasks=[],this.endTasks=[]}}const fe=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let W=(()=>{class ue{constructor(ee){this._ngZone=ee,this._currentSchedule=null,this._destroyed=new r.x}schedule(ee){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ee)}scheduleEnd(ee){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ee)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new te,this._getScheduleObservable().pipe((0,v.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ee=this._currentSchedule;this._currentSchedule=new te;for(const Ne of ee.tasks)Ne();for(const Ne of ee.endTasks)Ne()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,c.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,m.q)(1))}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275inject(n.NgZone))},ue.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac}),ue})(),G=(()=>{class ue{constructor(ee,Ne){this.template=ee,this._differs=Ne}ngOnChanges(ee){if(!this._columnsDiffer){const Ne=ee.columns&&ee.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ne).create(),this._columnsDiffer.diff(Ne)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ee){return this instanceof ve?ee.headerCell.template:this instanceof ct?ee.footerCell.template:ee.cell.template}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,features:[n.\u0275\u0275NgOnChangesFeature]}),ue})();class K extends G{}const ne=z(K);let ve=(()=>{class ue extends ne{constructor(ee,Ne,ht){super(ee,Ne),this._table=ht}ngOnChanges(ee){super.ngOnChanges(ee)}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(V,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ue})();class ge extends G{}const Le=z(ge);let ct=(()=>{class ue extends Le{constructor(ee,Ne,ht){super(ee,Ne),this._table=ht}ngOnChanges(ee){super.ngOnChanges(ee)}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(V,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ue})(),ft=(()=>{class ue extends G{constructor(ee,Ne,ht){super(ee,Ne),this._table=ht}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(V,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),gt=(()=>{class ue{constructor(ee){this._viewContainer=ee,ue.mostRecentCellOutlet=this}ngOnDestroy(){ue.mostRecentCellOutlet===this&&(ue.mostRecentCellOutlet=null)}}return ue.mostRecentCellOutlet=null,ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkCellOutlet",""]]}),ue})(),ut=(()=>{class ue{}return ue.\u0275fac=function(ee){return new(ee||ue)},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ee,Ne){1&ee&&n.\u0275\u0275elementContainer(0,0)},dependencies:[gt],encapsulation:2}),ue})(),je=(()=>{class ue{}return ue.\u0275fac=function(ee){return new(ee||ue)},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ee,Ne){1&ee&&n.\u0275\u0275elementContainer(0,0)},dependencies:[gt],encapsulation:2}),ue})(),Te=(()=>{class ue{}return ue.\u0275fac=function(ee){return new(ee||ue)},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ee,Ne){1&ee&&n.\u0275\u0275elementContainer(0,0)},dependencies:[gt],encapsulation:2}),ue})(),Fe=(()=>{class ue{constructor(ee){this.templateRef=ee,this._contentClassName="cdk-no-data-row"}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.TemplateRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["ng-template","cdkNoDataRow",""]]}),ue})();const pe=["top","bottom","left","right"];class We{constructor(Qe,ee,Ne,ht,Tt=!0,xt=!0,Kt){this._isNativeHtmlTable=Qe,this._stickCellCss=ee,this.direction=Ne,this._coalescedStyleScheduler=ht,this._isBrowser=Tt,this._needsPositionStickyOnElement=xt,this._positionListener=Kt,this._cachedCellWidths=[],this._borderCellCss={top:`${ee}-border-elem-top`,bottom:`${ee}-border-elem-bottom`,left:`${ee}-border-elem-left`,right:`${ee}-border-elem-right`}}clearStickyPositioning(Qe,ee){const Ne=[];for(const ht of Qe)if(ht.nodeType===ht.ELEMENT_NODE){Ne.push(ht);for(let Tt=0;Tt<ht.children.length;Tt++)Ne.push(ht.children[Tt])}this._coalescedStyleScheduler.schedule(()=>{for(const ht of Ne)this._removeStickyStyle(ht,ee)})}updateStickyColumns(Qe,ee,Ne,ht=!0){if(!Qe.length||!this._isBrowser||!ee.some(nn=>nn)&&!Ne.some(nn=>nn))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Tt=Qe[0],xt=Tt.children.length,Kt=this._getCellWidths(Tt,ht),Ut=this._getStickyStartColumnPositions(Kt,ee),yn=this._getStickyEndColumnPositions(Kt,Ne),dn=ee.lastIndexOf(!0),ln=Ne.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const nn="rtl"===this.direction,zn=nn?"right":"left",cn=nn?"left":"right";for(const On of Qe)for(let kn=0;kn<xt;kn++){const En=On.children[kn];ee[kn]&&this._addStickyStyle(En,zn,Ut[kn],kn===dn),Ne[kn]&&this._addStickyStyle(En,cn,yn[kn],kn===ln)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===dn?[]:Kt.slice(0,dn+1).map((On,kn)=>ee[kn]?On:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ln?[]:Kt.slice(ln).map((On,kn)=>Ne[kn+ln]?On:null).reverse()}))})}stickRows(Qe,ee,Ne){if(!this._isBrowser)return;const ht="bottom"===Ne?Qe.slice().reverse():Qe,Tt="bottom"===Ne?ee.slice().reverse():ee,xt=[],Kt=[],Ut=[];for(let dn=0,ln=0;dn<ht.length;dn++){if(!Tt[dn])continue;xt[dn]=ln;const nn=ht[dn];Ut[dn]=this._isNativeHtmlTable?Array.from(nn.children):[nn];const zn=nn.getBoundingClientRect().height;ln+=zn,Kt[dn]=zn}const yn=Tt.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var dn,ln;for(let nn=0;nn<ht.length;nn++){if(!Tt[nn])continue;const zn=xt[nn],cn=nn===yn;for(const On of Ut[nn])this._addStickyStyle(On,Ne,zn,cn)}"top"===Ne?null===(dn=this._positionListener)||void 0===dn||dn.stickyHeaderRowsUpdated({sizes:Kt,offsets:xt,elements:Ut}):null===(ln=this._positionListener)||void 0===ln||ln.stickyFooterRowsUpdated({sizes:Kt,offsets:xt,elements:Ut})})}updateStickyFooterContainer(Qe,ee){if(!this._isNativeHtmlTable)return;const Ne=Qe.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ee.some(ht=>!ht)?this._removeStickyStyle(Ne,["bottom"]):this._addStickyStyle(Ne,"bottom",0,!1)})}_removeStickyStyle(Qe,ee){for(const ht of ee)Qe.style[ht]="",Qe.classList.remove(this._borderCellCss[ht]);pe.some(ht=>-1===ee.indexOf(ht)&&Qe.style[ht])?Qe.style.zIndex=this._getCalculatedZIndex(Qe):(Qe.style.zIndex="",this._needsPositionStickyOnElement&&(Qe.style.position=""),Qe.classList.remove(this._stickCellCss))}_addStickyStyle(Qe,ee,Ne,ht){Qe.classList.add(this._stickCellCss),ht&&Qe.classList.add(this._borderCellCss[ee]),Qe.style[ee]=`${Ne}px`,Qe.style.zIndex=this._getCalculatedZIndex(Qe),this._needsPositionStickyOnElement&&(Qe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Qe){const ee={top:100,bottom:10,left:1,right:1};let Ne=0;for(const ht of pe)Qe.style[ht]&&(Ne+=ee[ht]);return Ne?`${Ne}`:""}_getCellWidths(Qe,ee=!0){if(!ee&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ne=[],ht=Qe.children;for(let Tt=0;Tt<ht.length;Tt++)Ne.push(ht[Tt].getBoundingClientRect().width);return this._cachedCellWidths=Ne,Ne}_getStickyStartColumnPositions(Qe,ee){const Ne=[];let ht=0;for(let Tt=0;Tt<Qe.length;Tt++)ee[Tt]&&(Ne[Tt]=ht,ht+=Qe[Tt]);return Ne}_getStickyEndColumnPositions(Qe,ee){const Ne=[];let ht=0;for(let Tt=Qe.length;Tt>0;Tt--)ee[Tt]&&(Ne[Tt]=ht,ht+=Qe[Tt]);return Ne}}const $e=new n.InjectionToken("CDK_SPL");let Pe=(()=>{class ue{constructor(ee,Ne){this.viewContainer=ee,this.elementRef=Ne}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","rowOutlet",""]]}),ue})(),U=(()=>{class ue{constructor(ee,Ne){this.viewContainer=ee,this.elementRef=Ne}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","headerRowOutlet",""]]}),ue})(),ye=(()=>{class ue{constructor(ee,Ne){this.viewContainer=ee,this.elementRef=Ne}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","footerRowOutlet",""]]}),ue})(),de=(()=>{class ue{constructor(ee,Ne){this.viewContainer=ee,this.elementRef=Ne}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","noDataRowOutlet",""]]}),ue})(),vt=(()=>{class ue{constructor(ee,Ne,ht,Tt,xt,Kt,Ut,yn,dn,ln,nn,zn){this._differs=ee,this._changeDetectorRef=Ne,this._elementRef=ht,this._dir=xt,this._platform=Ut,this._viewRepeater=yn,this._coalescedStyleScheduler=dn,this._viewportRuler=ln,this._stickyPositioningListener=nn,this._ngZone=zn,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 d.X({start:0,end:Number.MAX_VALUE}),Tt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Kt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(ee){this._trackByFn=ee}get dataSource(){return this._dataSource}set dataSource(ee){this._dataSource!==ee&&this._switchDataSource(ee)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ee){this._multiTemplateDataRows=(0,h.Ig)(ee),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ee){this._fixedLayout=(0,h.Ig)(ee),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ee,Ne)=>this.trackBy?this.trackBy(Ne.dataIndex,Ne.data):Ne),this._viewportRuler.change().pipe((0,v.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Ne=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ne,this._forceRecalculateCellWidths=Ne,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(ee=>{ee.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 ee=this._dataDiffer.diff(this._renderRows);if(!ee)return this._updateNoDataRow(),void this.contentChanged.next();const Ne=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ee,Ne,(ht,Tt,xt)=>this._getEmbeddedViewArgs(ht.item,xt),ht=>ht.item.data,ht=>{1===ht.operation&&ht.context&&this._renderCellTemplateForItem(ht.record.item.rowDef,ht.context)}),this._updateRowIndexContext(),ee.forEachIdentityChange(ht=>{Ne.get(ht.currentIndex).context.$implicit=ht.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,m.q)(1),(0,v.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ee){this._customColumnDefs.add(ee)}removeColumnDef(ee){this._customColumnDefs.delete(ee)}addRowDef(ee){this._customRowDefs.add(ee)}removeRowDef(ee){this._customRowDefs.delete(ee)}addHeaderRowDef(ee){this._customHeaderRowDefs.add(ee),this._headerRowDefChanged=!0}removeHeaderRowDef(ee){this._customHeaderRowDefs.delete(ee),this._headerRowDefChanged=!0}addFooterRowDef(ee){this._customFooterRowDefs.add(ee),this._footerRowDefChanged=!0}removeFooterRowDef(ee){this._customFooterRowDefs.delete(ee),this._footerRowDefChanged=!0}setNoDataRow(ee){this._customNoDataRow=ee}updateStickyHeaderRowStyles(){const ee=this._getRenderedRows(this._headerRowOutlet),ht=this._elementRef.nativeElement.querySelector("thead");ht&&(ht.style.display=ee.length?"":"none");const Tt=this._headerRowDefs.map(xt=>xt.sticky);this._stickyStyler.clearStickyPositioning(ee,["top"]),this._stickyStyler.stickRows(ee,Tt,"top"),this._headerRowDefs.forEach(xt=>xt.resetStickyChanged())}updateStickyFooterRowStyles(){const ee=this._getRenderedRows(this._footerRowOutlet),ht=this._elementRef.nativeElement.querySelector("tfoot");ht&&(ht.style.display=ee.length?"":"none");const Tt=this._footerRowDefs.map(xt=>xt.sticky);this._stickyStyler.clearStickyPositioning(ee,["bottom"]),this._stickyStyler.stickRows(ee,Tt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Tt),this._footerRowDefs.forEach(xt=>xt.resetStickyChanged())}updateStickyColumnStyles(){const ee=this._getRenderedRows(this._headerRowOutlet),Ne=this._getRenderedRows(this._rowOutlet),ht=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ee,...Ne,...ht],["left","right"]),this._stickyColumnStylesNeedReset=!1),ee.forEach((Tt,xt)=>{this._addStickyColumnStyles([Tt],this._headerRowDefs[xt])}),this._rowDefs.forEach(Tt=>{const xt=[];for(let Kt=0;Kt<Ne.length;Kt++)this._renderRows[Kt].rowDef===Tt&&xt.push(Ne[Kt]);this._addStickyColumnStyles(xt,Tt)}),ht.forEach((Tt,xt)=>{this._addStickyColumnStyles([Tt],this._footerRowDefs[xt])}),Array.from(this._columnDefsByName.values()).forEach(Tt=>Tt.resetStickyChanged())}_getAllRenderRows(){const ee=[],Ne=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let ht=0;ht<this._data.length;ht++){let Tt=this._data[ht];const xt=this._getRenderRowsForData(Tt,ht,Ne.get(Tt));this._cachedRenderRowsMap.has(Tt)||this._cachedRenderRowsMap.set(Tt,new WeakMap);for(let Kt=0;Kt<xt.length;Kt++){let Ut=xt[Kt];const yn=this._cachedRenderRowsMap.get(Ut.data);yn.has(Ut.rowDef)?yn.get(Ut.rowDef).push(Ut):yn.set(Ut.rowDef,[Ut]),ee.push(Ut)}}return ee}_getRenderRowsForData(ee,Ne,ht){return this._getRowDefs(ee,Ne).map(xt=>{const Kt=ht&&ht.has(xt)?ht.get(xt):[];if(Kt.length){const Ut=Kt.shift();return Ut.dataIndex=Ne,Ut}return{data:ee,rowDef:xt,dataIndex:Ne}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ft(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ne=>{this._columnDefsByName.has(Ne.name),this._columnDefsByName.set(Ne.name,Ne)})}_cacheRowDefs(){this._headerRowDefs=Ft(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ft(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ft(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ee=this._rowDefs.filter(Ne=>!Ne.when);this._defaultRowDef=ee[0]}_renderUpdatedColumns(){const ee=(xt,Kt)=>xt||!!Kt.getColumnsDiff(),Ne=this._rowDefs.reduce(ee,!1);Ne&&this._forceRenderDataRows();const ht=this._headerRowDefs.reduce(ee,!1);ht&&this._forceRenderHeaderRows();const Tt=this._footerRowDefs.reduce(ee,!1);return Tt&&this._forceRenderFooterRows(),Ne||ht||Tt}_switchDataSource(ee){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ee||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ee}_observeRenderChanges(){if(!this.dataSource)return;let ee;(0,y.Z9)(this.dataSource)?ee=this.dataSource.connect(this):function f(ue){return!!ue&&(ue instanceof p.y||(0,_.m)(ue.lift)&&(0,_.m)(ue.subscribe))}(this.dataSource)?ee=this.dataSource:Array.isArray(this.dataSource)&&(ee=(0,b.of)(this.dataSource)),this._renderChangeSubscription=ee.pipe((0,v.R)(this._onDestroy)).subscribe(Ne=>{this._data=Ne||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ee,Ne)=>this._renderRow(this._headerRowOutlet,ee,Ne)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ee,Ne)=>this._renderRow(this._footerRowOutlet,ee,Ne)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ee,Ne){const ht=Array.from(Ne.columns||[]).map(Kt=>this._columnDefsByName.get(Kt)),Tt=ht.map(Kt=>Kt.sticky),xt=ht.map(Kt=>Kt.stickyEnd);this._stickyStyler.updateStickyColumns(ee,Tt,xt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ee){const Ne=[];for(let ht=0;ht<ee.viewContainer.length;ht++){const Tt=ee.viewContainer.get(ht);Ne.push(Tt.rootNodes[0])}return Ne}_getRowDefs(ee,Ne){if(1==this._rowDefs.length)return[this._rowDefs[0]];let ht=[];if(this.multiTemplateDataRows)ht=this._rowDefs.filter(Tt=>!Tt.when||Tt.when(Ne,ee));else{let Tt=this._rowDefs.find(xt=>xt.when&&xt.when(Ne,ee))||this._defaultRowDef;Tt&&ht.push(Tt)}return ht}_getEmbeddedViewArgs(ee,Ne){return{templateRef:ee.rowDef.template,context:{$implicit:ee.data},index:Ne}}_renderRow(ee,Ne,ht,Tt={}){const xt=ee.viewContainer.createEmbeddedView(Ne.template,Tt,ht);return this._renderCellTemplateForItem(Ne,Tt),xt}_renderCellTemplateForItem(ee,Ne){for(let ht of this._getCellTemplates(ee))gt.mostRecentCellOutlet&&gt.mostRecentCellOutlet._viewContainer.createEmbeddedView(ht,Ne);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ee=this._rowOutlet.viewContainer;for(let Ne=0,ht=ee.length;Ne<ht;Ne++){const xt=ee.get(Ne).context;xt.count=ht,xt.first=0===Ne,xt.last=Ne===ht-1,xt.even=Ne%2==0,xt.odd=!xt.even,this.multiTemplateDataRows?(xt.dataIndex=this._renderRows[Ne].dataIndex,xt.renderIndex=Ne):xt.index=this._renderRows[Ne].dataIndex}}_getCellTemplates(ee){return ee&&ee.columns?Array.from(ee.columns,Ne=>{const ht=this._columnDefsByName.get(Ne);return ee.extractCellTemplate(ht)}):[]}_applyNativeTableSections(){const ee=this._document.createDocumentFragment(),Ne=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const ht of Ne){const Tt=this._document.createElement(ht.tag);Tt.setAttribute("role","rowgroup");for(const xt of ht.outlets)Tt.appendChild(xt.elementRef.nativeElement);ee.appendChild(Tt)}this._elementRef.nativeElement.appendChild(ee)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ee=(Ne,ht)=>Ne||ht.hasStickyChanged();this._headerRowDefs.reduce(ee,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ee,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ee,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new We(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,b.of)()).pipe((0,v.R)(this._onDestroy)).subscribe(Ne=>{this._stickyStyler.direction=Ne,this.updateStickyColumnStyles()})}_getOwnDefs(ee){return ee.filter(Ne=>!Ne._table||Ne._table===this)}_updateNoDataRow(){const ee=this._customNoDataRow||this._noDataRow;if(!ee)return;const Ne=0===this._rowOutlet.viewContainer.length;if(Ne===this._isShowingNoDataRow)return;const ht=this._noDataRowOutlet.viewContainer;if(Ne){const Tt=ht.createEmbeddedView(ee.templateRef),xt=Tt.rootNodes[0];1===Tt.rootNodes.length&&(null==xt?void 0:xt.nodeType)===this._document.ELEMENT_NODE&&(xt.setAttribute("role","row"),xt.classList.add(ee._contentClassName))}else ht.clear();this._isShowingNoDataRow=Ne}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(C.Is,8),n.\u0275\u0275directiveInject(u.DOCUMENT),n.\u0275\u0275directiveInject(M.t4),n.\u0275\u0275directiveInject(y.k),n.\u0275\u0275directiveInject(fe),n.\u0275\u0275directiveInject(O.rL),n.\u0275\u0275directiveInject($e,12),n.\u0275\u0275directiveInject(n.NgZone,8))},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ee,Ne,ht){if(1&ee&&(n.\u0275\u0275contentQuery(ht,Fe,5),n.\u0275\u0275contentQuery(ht,xe,5),n.\u0275\u0275contentQuery(ht,ft,5),n.\u0275\u0275contentQuery(ht,ve,5),n.\u0275\u0275contentQuery(ht,ct,5)),2&ee){let Tt;n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._noDataRow=Tt.first),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._contentColumnDefs=Tt),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._contentRowDefs=Tt),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._contentHeaderRowDefs=Tt),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._contentFooterRowDefs=Tt)}},viewQuery:function(ee,Ne){if(1&ee&&(n.\u0275\u0275viewQuery(Pe,7),n.\u0275\u0275viewQuery(U,7),n.\u0275\u0275viewQuery(ye,7),n.\u0275\u0275viewQuery(de,7)),2&ee){let ht;n.\u0275\u0275queryRefresh(ht=n.\u0275\u0275loadQuery())&&(Ne._rowOutlet=ht.first),n.\u0275\u0275queryRefresh(ht=n.\u0275\u0275loadQuery())&&(Ne._headerRowOutlet=ht.first),n.\u0275\u0275queryRefresh(ht=n.\u0275\u0275loadQuery())&&(Ne._footerRowOutlet=ht.first),n.\u0275\u0275queryRefresh(ht=n.\u0275\u0275loadQuery())&&(Ne._noDataRowOutlet=ht.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(ee,Ne){2&ee&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Ne.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:V,useExisting:ue},{provide:y.k,useClass:y.yy},{provide:fe,useClass:W},{provide:$e,useValue:null}])],ngContentSelectors:L,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ee,Ne){1&ee&&(n.\u0275\u0275projectionDef(P),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Pe,U,ye,de],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),ue})();function Ft(ue,Qe){return ue.concat(Array.from(Qe))}let At=(()=>{class ue{constructor(ee,Ne){this._table=ee,this._options=Ne,this.justify="start",this._options=Ne||{}}get name(){return this._name}set name(ee){this._name=ee,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((ee,Ne)=>ee[Ne])),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 ee=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(ee):ee[0].toUpperCase()+ee.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return ue.\u0275fac=function(ee){return new(ee||ue)(n.\u0275\u0275directiveInject(vt,8),n.\u0275\u0275directiveInject(X,8))},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-text-column"]],viewQuery:function(ee,Ne){if(1&ee&&(n.\u0275\u0275viewQuery(xe,7),n.\u0275\u0275viewQuery(re,7),n.\u0275\u0275viewQuery(me,7)),2&ee){let ht;n.\u0275\u0275queryRefresh(ht=n.\u0275\u0275loadQuery())&&(Ne.columnDef=ht.first),n.\u0275\u0275queryRefresh(ht=n.\u0275\u0275loadQuery())&&(Ne.cell=ht.first),n.\u0275\u0275queryRefresh(ht=n.\u0275\u0275loadQuery())&&(Ne.headerCell=ht.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(ee,Ne){1&ee&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Q,2,3,"th",1),n.\u0275\u0275template(2,$,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[re,me,xe,qe,Ie],encapsulation:2}),ue})(),Nt=(()=>{class ue{}return ue.\u0275fac=function(ee){return new(ee||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[O.Cl]}),ue})();var rt=a(508),Ze=a(6451),Ee=a(9841),_e=a(4004);const ae=[[["caption"]],[["colgroup"],["col"]]],le=["caption","colgroup, col"];function B(ue,Qe){if(1&ue&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ee=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ee.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ee.headerText," ")}}function Me(ue,Qe){if(1&ue&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ee=Qe.$implicit,Ne=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ne.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ne.dataAccessor(ee,Ne.name)," ")}}let yt=(()=>{class ue{}return ue.\u0275fac=function(ee){return new(ee||ue)},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.eX}])]}),ue})(),Ge=(()=>{class ue extends vt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(ee,Ne){2&ee&&n.\u0275\u0275classProp("mat-table-fixed-layout",Ne.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:y.k,useClass:y.yy},{provide:vt,useExisting:ue},{provide:V,useExisting:ue},{provide:fe,useClass:W},{provide:$e,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:le,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ee,Ne){1&ee&&(n.\u0275\u0275projectionDef(ae),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Pe,U,ye,de],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),ue})(),bt=(()=>{class ue extends re{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:re,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),q=(()=>{class ue extends me{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:me,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Oe=(()=>{class ue extends Re{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),at=(()=>{class ue extends xe{get name(){return this._name}set name(ee){this._setNameInput(ee)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:xe,useExisting:ue},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Dt=(()=>{class ue extends Ie{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Ht=(()=>{class ue extends ze{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),rn=(()=>{class ue extends qe{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Xt=(()=>{class ue extends ve{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ve,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),vn=(()=>{class ue extends ct{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Xe=(()=>{class ue extends ft{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ft,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Ye=(()=>{class ue extends ut{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:ut,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ee,Ne){1&ee&&n.\u0275\u0275elementContainer(0,0)},dependencies:[gt],encapsulation:2}),ue})(),De=(()=>{class ue extends je{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:je,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ee,Ne){1&ee&&n.\u0275\u0275elementContainer(0,0)},dependencies:[gt],encapsulation:2}),ue})(),et=(()=>{class ue extends Te{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ee,Ne){1&ee&&n.\u0275\u0275elementContainer(0,0)},dependencies:[gt],encapsulation:2}),ue})(),lt=(()=>{class ue extends Fe{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),It=(()=>{class ue extends At{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,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(ee,Ne){1&ee&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,B,2,3,"th",1),n.\u0275\u0275template(2,Me,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[q,at,bt,Dt,rn],encapsulation:2}),ue})(),Wt=(()=>{class ue{}return ue.\u0275fac=function(ee){return new(ee||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[Nt,rt.MatCommonModule,rt.MatCommonModule]}),ue})();class gn extends y.o2{constructor(Qe=[]){super(),this._renderData=new d.X([]),this._filter=new d.X(""),this._internalPageChanges=new r.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ee,Ne)=>{const ht=ee[Ne];if((0,h.t6)(ht)){const Tt=Number(ht);return Tt<9007199254740991?Tt:ht}return ht},this.sortData=(ee,Ne)=>{const ht=Ne.active,Tt=Ne.direction;return ht&&""!=Tt?ee.sort((xt,Kt)=>{let Ut=this.sortingDataAccessor(xt,ht),yn=this.sortingDataAccessor(Kt,ht);const dn=typeof Ut,ln=typeof yn;dn!==ln&&("number"===dn&&(Ut+=""),"number"===ln&&(yn+=""));let nn=0;return null!=Ut&&null!=yn?Ut>yn?nn=1:Ut<yn&&(nn=-1):null!=Ut?nn=1:null!=yn&&(nn=-1),nn*("asc"==Tt?1:-1)}):ee},this.filterPredicate=(ee,Ne)=>{const ht=Object.keys(ee).reduce((xt,Kt)=>xt+ee[Kt]+"\u25ec","").toLowerCase(),Tt=Ne.trim().toLowerCase();return-1!=ht.indexOf(Tt)},this._data=new d.X(Qe),this._updateChangeSubscription()}get data(){return this._data.value}set data(Qe){Qe=Array.isArray(Qe)?Qe:[],this._data.next(Qe),this._renderChangesSubscription||this._filterData(Qe)}get filter(){return this._filter.value}set filter(Qe){this._filter.next(Qe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Qe){this._sort=Qe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Qe){this._paginator=Qe,this._updateChangeSubscription()}_updateChangeSubscription(){var Qe;const ee=this._sort?(0,Ze.T)(this._sort.sortChange,this._sort.initialized):(0,b.of)(null),Ne=this._paginator?(0,Ze.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,b.of)(null),Tt=(0,Ee.a)([this._data,this._filter]).pipe((0,_e.U)(([Ut])=>this._filterData(Ut))),xt=(0,Ee.a)([Tt,ee]).pipe((0,_e.U)(([Ut])=>this._orderData(Ut))),Kt=(0,Ee.a)([xt,Ne]).pipe((0,_e.U)(([Ut])=>this._pageData(Ut)));null===(Qe=this._renderChangesSubscription)||void 0===Qe||Qe.unsubscribe(),this._renderChangesSubscription=Kt.subscribe(Ut=>this._renderData.next(Ut))}_filterData(Qe){return this.filteredData=null==this.filter||""===this.filter?Qe:Qe.filter(ee=>this.filterPredicate(ee,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Qe){return this.sort?this.sortData(Qe.slice(),this.sort):Qe}_pageData(Qe){if(!this.paginator)return Qe;const ee=this.paginator.pageIndex*this.paginator.pageSize;return Qe.slice(ee,ee+this.paginator.pageSize)}_updatePaginator(Qe){Promise.resolve().then(()=>{const ee=this.paginator;if(ee&&(ee.length=Qe,ee.pageIndex>0)){const Ne=Math.ceil(ee.length/ee.pageSize)-1||0,ht=Math.min(ee.pageIndex,Ne);ht!==ee.pageIndex&&(ee.pageIndex=ht,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Qe;null===(Qe=this._renderChangesSubscription)||void 0===Qe||Qe.unsubscribe(),this._renderChangesSubscription=null}}class Hn extends gn{}},3251:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TAB:()=>pe,MAT_TABS_CONFIG:()=>be,MAT_TAB_GROUP:()=>Ke,MatInkBar:()=>ut,MatTab:()=>Y,MatTabBody:()=>Ue,MatTabBodyPortal:()=>He,MatTabChangeEvent:()=>At,MatTabContent:()=>Te,MatTabGroup:()=>rt,MatTabHeader:()=>vt,MatTabLabel:()=>We,MatTabLabelWrapper:()=>dt,MatTabLink:()=>B,MatTabNav:()=>_e,MatTabNavPanel:()=>Me,MatTabsModule:()=>yt,_MAT_INK_BAR_POSITIONER:()=>ft,_MatTabBodyBase:()=>Ve,_MatTabGroupBase:()=>Nt,_MatTabHeaderBase:()=>tt,_MatTabLinkBase:()=>le,_MatTabNavBase:()=>Ee,matTabsAnimations:()=>we});var n=a(5664),h=a(7144),y=a(7429),u=a(9808),r=a(5e3),c=a(508),d=a(5698),p=a(8675),_=a(1884),f=a(2722),b=a(3900),v=a(5684),m=a(7579),C=a(727),M=a(4968),O=a(9646),P=a(6451),L=a(515),Q=a(8306),$=a(5963),z=a(1777),V=a(226),X=a(3191),re=a(1159),me=a(925),Re=a(495);function it(Ge,bt){1&Ge&&r.\u0275\u0275projection(0)}const Ce=["*"];function xe(Ge,bt){}const oe=function(Ge){return{animationDuration:Ge}},Ie=function(Ge,bt){return{value:Ge,params:bt}},ze=["tabListContainer"],qe=["tabList"],te=["tabListInner"],fe=["nextPaginator"],W=["previousPaginator"],x=["tabBodyWrapper"],G=["tabHeader"];function K(Ge,bt){}function ne(Ge,bt){if(1&Ge&&r.\u0275\u0275template(0,K,0,0,"ng-template",10),2&Ge){const q=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",q.templateLabel)}}function ve(Ge,bt){if(1&Ge&&r.\u0275\u0275text(0),2&Ge){const q=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(q.textLabel)}}function ge(Ge,bt){if(1&Ge){const q=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const at=r.\u0275\u0275restoreView(q),Dt=at.$implicit,Ht=at.index,rn=r.\u0275\u0275nextContext(),Xt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(rn._handleClick(Dt,Xt,Ht))})("cdkFocusChange",function(at){const Ht=r.\u0275\u0275restoreView(q).index,rn=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rn._tabFocusChanged(at,Ht))}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,ne,1,1,"ng-template",8),r.\u0275\u0275template(3,ve,1,1,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()}if(2&Ge){const q=bt.$implicit,Oe=bt.index,at=r.\u0275\u0275reference(4),Dt=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",Dt.selectedIndex===Oe),r.\u0275\u0275property("id",Dt._getTabLabelId(Oe))("ngClass",q.labelClass)("disabled",q.disabled)("matRippleDisabled",q.disabled||Dt.disableRipple),r.\u0275\u0275attribute("tabIndex",Dt._getTabIndex(q,Oe))("aria-posinset",Oe+1)("aria-setsize",Dt._tabs.length)("aria-controls",Dt._getTabContentId(Oe))("aria-selected",Dt.selectedIndex===Oe)("aria-label",q.ariaLabel||null)("aria-labelledby",!q.ariaLabel&&q.ariaLabelledby?q.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",q.templateLabel)("ngIfElse",at)}}function Le(Ge,bt){if(1&Ge){const q=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",11),r.\u0275\u0275listener("_onCentered",function(){r.\u0275\u0275restoreView(q);const at=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(at._removeTabBodyWrapperHeight())})("_onCentering",function(at){r.\u0275\u0275restoreView(q);const Dt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Dt._setTabBodyWrapperHeight(at))}),r.\u0275\u0275elementEnd()}if(2&Ge){const q=bt.$implicit,Oe=bt.index,at=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",at.selectedIndex===Oe),r.\u0275\u0275property("id",at._getTabContentId(Oe))("ngClass",q.bodyClass)("content",q.content)("position",q.position)("origin",q.origin)("animationDuration",at.animationDuration)("preserveContent",at.preserveContent),r.\u0275\u0275attribute("tabindex",null!=at.contentTabIndex&&at.selectedIndex===Oe?at.contentTabIndex:null)("aria-labelledby",at._getTabLabelId(Oe))}}const ct=["mat-tab-nav-bar",""],ft=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function gt(){return bt=>({left:bt?(bt.offsetLeft||0)+"px":"0",width:bt?(bt.offsetWidth||0)+"px":"0"})}});let ut=(()=>{class Ge{constructor(q,Oe,at,Dt){this._elementRef=q,this._ngZone=Oe,this._inkBarPositioner=at,this._animationMode=Dt}alignToElement(q){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,d.q)(1)).subscribe(()=>{const Oe=this._inkBarPositioner(q),at=this._elementRef.nativeElement;at.style.left=Oe.left,at.style.width=Oe.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(ft),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(q,Oe){2&q&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Oe._animationMode)}}),Ge})();const je=new r.InjectionToken("MatTabContent");let Te=(()=>{class Ge{constructor(q){this.template=q}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.TemplateRef))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:je,useExisting:Ge}])]}),Ge})();const Fe=new r.InjectionToken("MatTabLabel"),pe=new r.InjectionToken("MAT_TAB");let We=(()=>{class Ge extends y.ig{constructor(q,Oe,at){super(q,Oe),this._closestTab=at}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(pe,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:Ge}]),r.\u0275\u0275InheritDefinitionFeature]}),Ge})();const Be=(0,c.mixinDisabled)(class{}),Ke=new r.InjectionToken("MAT_TAB_GROUP");let Y=(()=>{class Ge extends Be{constructor(q,Oe){super(),this._viewContainerRef=q,this._closestTabGroup=Oe,this.textLabel="",this._contentPortal=null,this._stateChanges=new m.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(q){this._setTemplateLabelInput(q)}get content(){return this._contentPortal}ngOnChanges(q){(q.hasOwnProperty("textLabel")||q.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new y.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(q){q&&q._closestTab===this&&(this._templateLabel=q)}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(Ke,8))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab"]],contentQueries:function(q,Oe,at){if(1&q&&(r.\u0275\u0275contentQuery(at,Fe,5),r.\u0275\u0275contentQuery(at,je,7,r.TemplateRef)),2&q){let Dt;r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Oe.templateLabel=Dt.first),r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Oe._explicitContent=Dt.first)}},viewQuery:function(q,Oe){if(1&q&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&q){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._implicitContent=at.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:pe,useExisting:Ge}]),r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Ce,decls:1,vars:0,template:function(q,Oe){1&q&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,it,1,0,"ng-template"))},encapsulation:2}),Ge})();const we={translateTab:(0,z.X$)("translateTab",[(0,z.SB)("center, void, left-origin-center, right-origin-center",(0,z.oB)({transform:"none"})),(0,z.SB)("left",(0,z.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,z.SB)("right",(0,z.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,z.eR)("* => left, * => right, left => center, right => center",(0,z.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,z.eR)("void => left-origin-center",[(0,z.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,z.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,z.eR)("void => right-origin-center",[(0,z.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,z.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let He=(()=>{class Ge extends y.Pl{constructor(q,Oe,at,Dt){super(q,Oe,Dt),this._host=at,this._centeringSub=C.w0.EMPTY,this._leavingSub=C.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,p.O)(this._host._isCenterPosition(this._host._position))).subscribe(q=>{q&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Ue)),r.\u0275\u0275directiveInject(u.DOCUMENT))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),Ve=(()=>{class Ge{constructor(q,Oe,at){this._elementRef=q,this._dir=Oe,this._dirChangeSubscription=C.w0.EMPTY,this._translateTabComplete=new m.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",this.preserveContent=!1,Oe&&(this._dirChangeSubscription=Oe.change.subscribe(Dt=>{this._computePositionAnimationState(Dt),at.markForCheck()})),this._translateTabComplete.pipe((0,_.x)((Dt,Ht)=>Dt.fromState===Ht.fromState&&Dt.toState===Ht.toState)).subscribe(Dt=>{this._isCenterPosition(Dt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Dt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(q){this._positionIndex=q,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(q){const Oe=this._isCenterPosition(q.toState);this._beforeCentering.emit(Oe),Oe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(q){return"center"==q||"left-origin-center"==q||"right-origin-center"==q}_computePositionAnimationState(q=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==q?"left":"right":this._positionIndex>0?"ltr"==q?"right":"left":"center"}_computePositionFromOrigin(q){const Oe=this._getLayoutDirection();return"ltr"==Oe&&q<=0||"rtl"==Oe&&q>0?"left-origin-center":"right-origin-center"}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(V.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Ge})(),Ue=(()=>{class Ge extends Ve{constructor(q,Oe,at){super(q,Oe,at)}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(V.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab-body"]],viewQuery:function(q,Oe){if(1&q&&r.\u0275\u0275viewQuery(y.Pl,5),2&q){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._portalHost=at.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(q,Oe){1&q&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(Dt){return Oe._onTranslateTabStarted(Dt)})("@translateTab.done",function(Dt){return Oe._translateTabComplete.next(Dt)}),r.\u0275\u0275template(2,xe,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&q&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,Ie,Oe._position,r.\u0275\u0275pureFunction1(1,oe,Oe.animationDuration)))},dependencies:[He],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[we.translateTab]}}),Ge})();const be=new r.InjectionToken("MAT_TABS_CONFIG"),$e=(0,c.mixinDisabled)(class{});let dt=(()=>{class Ge extends $e{constructor(q){super(),this.elementRef=q}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(q,Oe){2&q&&(r.\u0275\u0275attribute("aria-disabled",!!Oe.disabled),r.\u0275\u0275classProp("mat-tab-disabled",Oe.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})();const Pe=(0,me.i$)({passive:!0});let ke=(()=>{class Ge{constructor(q,Oe,at,Dt,Ht,rn,Xt){this._elementRef=q,this._changeDetectorRef=Oe,this._viewportRuler=at,this._dir=Dt,this._ngZone=Ht,this._platform=rn,this._animationMode=Xt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new m.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new m.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Ht.runOutsideAngular(()=>{(0,M.R)(q.nativeElement,"mouseleave").pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(q){this._disablePagination=(0,X.Ig)(q)}get selectedIndex(){return this._selectedIndex}set selectedIndex(q){q=(0,X.su)(q),this._selectedIndex!=q&&(this._selectedIndexChanged=!0,this._selectedIndex=q,this._keyManager&&this._keyManager.updateActiveItem(q))}ngAfterViewInit(){(0,M.R)(this._previousPaginator.nativeElement,"touchstart",Pe).pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,M.R)(this._nextPaginator.nativeElement,"touchstart",Pe).pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const q=this._dir?this._dir.change:(0,O.of)("ltr"),Oe=this._viewportRuler.change(150),at=()=>{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,d.q)(1)).subscribe(at),(0,P.T)(q,Oe,this._items.changes,this._itemsResized()).pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),at()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,f.R)(this._destroyed)).subscribe(Dt=>{this.indexFocused.emit(Dt),this._setTabFocus(Dt)})}_itemsResized(){return"function"!=typeof ResizeObserver?L.E:this._items.changes.pipe((0,p.O)(this._items),(0,b.w)(q=>new Q.y(Oe=>this._ngZone.runOutsideAngular(()=>{const at=new ResizeObserver(()=>{Oe.next()});return q.forEach(Dt=>{at.observe(Dt.elementRef.nativeElement)}),()=>{at.disconnect()}}))),(0,v.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(q){if(!(0,re.Vb)(q))switch(q.keyCode){case re.K5:case re.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(q));break;default:this._keyManager.onKeydown(q)}}_onContentChanges(){const q=this._elementRef.nativeElement.textContent;q!==this._currentTextContent&&(this._currentTextContent=q||"",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(q){!this._isValidIndex(q)||this.focusIndex===q||!this._keyManager||this._keyManager.setActiveItem(q)}_isValidIndex(q){if(!this._items)return!0;const Oe=this._items?this._items.toArray()[q]:null;return!!Oe&&!Oe.disabled}_setTabFocus(q){if(this._showPaginationControls&&this._scrollToLabel(q),this._items&&this._items.length){this._items.toArray()[q].focus();const Oe=this._tabListContainer.nativeElement;Oe.scrollLeft="ltr"==this._getLayoutDirection()?0:Oe.scrollWidth-Oe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const q=this.scrollDistance,Oe="ltr"===this._getLayoutDirection()?-q:q;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Oe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(q){this._scrollTo(q)}_scrollHeader(q){return this._scrollTo(this._scrollDistance+("before"==q?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(q){this._stopInterval(),this._scrollHeader(q)}_scrollToLabel(q){if(this.disablePagination)return;const Oe=this._items?this._items.toArray()[q]:null;if(!Oe)return;const at=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Dt,offsetWidth:Ht}=Oe.elementRef.nativeElement;let rn,Xt;"ltr"==this._getLayoutDirection()?(rn=Dt,Xt=rn+Ht):(Xt=this._tabListInner.nativeElement.offsetWidth-Dt,rn=Xt-Ht);const vn=this.scrollDistance,Xe=this.scrollDistance+at;rn<vn?this.scrollDistance-=vn-rn+60:Xt>Xe&&(this.scrollDistance+=Xt-Xe+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const q=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;q||(this.scrollDistance=0),q!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=q}}_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 q=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Oe=q?q.elementRef.nativeElement:null;Oe?this._inkBar.alignToElement(Oe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(q,Oe){Oe&&null!=Oe.button&&0!==Oe.button||(this._stopInterval(),(0,$.H)(650,100).pipe((0,f.R)((0,P.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:at,distance:Dt}=this._scrollHeader(q);(0===Dt||Dt>=at)&&this._stopInterval()}))}_scrollTo(q){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Oe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Oe,q)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Oe,distance:this._scrollDistance}}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Re.rL),r.\u0275\u0275directiveInject(V.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{disablePagination:"disablePagination"}}),Ge})(),tt=(()=>{class Ge extends ke{constructor(q,Oe,at,Dt,Ht,rn,Xt){super(q,Oe,at,Dt,Ht,rn,Xt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(q){this._disableRipple=(0,X.Ig)(q)}_itemSelected(q){q.preventDefault()}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Re.rL),r.\u0275\u0275directiveInject(V.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),vt=(()=>{class Ge extends tt{constructor(q,Oe,at,Dt,Ht,rn,Xt){super(q,Oe,at,Dt,Ht,rn,Xt)}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Re.rL),r.\u0275\u0275directiveInject(V.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab-header"]],contentQueries:function(q,Oe,at){if(1&q&&r.\u0275\u0275contentQuery(at,dt,4),2&q){let Dt;r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Oe._items=Dt)}},viewQuery:function(q,Oe){if(1&q&&(r.\u0275\u0275viewQuery(ut,7),r.\u0275\u0275viewQuery(ze,7),r.\u0275\u0275viewQuery(qe,7),r.\u0275\u0275viewQuery(te,7),r.\u0275\u0275viewQuery(fe,5),r.\u0275\u0275viewQuery(W,5)),2&q){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._inkBar=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._tabListContainer=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._tabList=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._tabListInner=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._nextPaginator=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._previousPaginator=at.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(q,Oe){2&q&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",Oe._showPaginationControls)("mat-tab-header-rtl","rtl"==Oe._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ce,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(q,Oe){1&q&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return Oe._handlePaginatorClick("before")})("mousedown",function(Dt){return Oe._handlePaginatorPress("before",Dt)})("touchend",function(){return Oe._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(Dt){return Oe._handleKeydown(Dt)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return Oe._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(Dt){return Oe._handlePaginatorPress("after",Dt)})("click",function(){return Oe._handlePaginatorClick("after")})("touchend",function(){return Oe._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&q&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",Oe._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",Oe._disableScrollBefore||Oe.disableRipple)("disabled",Oe._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Oe._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",Oe._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",Oe._disableScrollAfter||Oe.disableRipple)("disabled",Oe._disableScrollAfter||null))},dependencies:[c.MatRipple,h.wD,ut],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),Ge})(),Ft=0;class At{}const Yt=(0,c.mixinColor)((0,c.mixinDisableRipple)(class{constructor(Ge){this._elementRef=Ge}}),"primary");let Nt=(()=>{class Ge extends Yt{constructor(q,Oe,at,Dt){var Ht;super(q),this._changeDetectorRef=Oe,this._animationMode=Dt,this._tabs=new r.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=C.w0.EMPTY,this._tabLabelSubscription=C.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=Ft++,this.animationDuration=at&&at.animationDuration?at.animationDuration:"500ms",this.disablePagination=!(!at||null==at.disablePagination)&&at.disablePagination,this.dynamicHeight=!(!at||null==at.dynamicHeight)&&at.dynamicHeight,this.contentTabIndex=null!==(Ht=null==at?void 0:at.contentTabIndex)&&void 0!==Ht?Ht:null,this.preserveContent=!(null==at||!at.preserveContent)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(q){this._dynamicHeight=(0,X.Ig)(q)}get selectedIndex(){return this._selectedIndex}set selectedIndex(q){this._indexToSelect=(0,X.su)(q,null)}get animationDuration(){return this._animationDuration}set animationDuration(q){this._animationDuration=/^\d+$/.test(q+"")?q+"ms":q}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(q){this._contentTabIndex=(0,X.su)(q,null)}get disablePagination(){return this._disablePagination}set disablePagination(q){this._disablePagination=(0,X.Ig)(q)}get preserveContent(){return this._preserveContent}set preserveContent(q){this._preserveContent=(0,X.Ig)(q)}get backgroundColor(){return this._backgroundColor}set backgroundColor(q){const Oe=this._elementRef.nativeElement;Oe.classList.remove(`mat-background-${this.backgroundColor}`),q&&Oe.classList.add(`mat-background-${q}`),this._backgroundColor=q}ngAfterContentChecked(){const q=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=q){const Oe=null==this._selectedIndex;if(!Oe){this.selectedTabChange.emit(this._createChangeEvent(q));const at=this._tabBodyWrapper.nativeElement;at.style.minHeight=at.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((at,Dt)=>at.isActive=Dt===q),Oe||(this.selectedIndexChange.emit(q),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Oe,at)=>{Oe.position=at-q,null!=this._selectedIndex&&0==Oe.position&&!Oe.origin&&(Oe.origin=q-this._selectedIndex)}),this._selectedIndex!==q&&(this._selectedIndex=q,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const q=this._clampTabIndex(this._indexToSelect);if(q===this._selectedIndex){const Oe=this._tabs.toArray();let at;for(let Dt=0;Dt<Oe.length;Dt++)if(Oe[Dt].isActive){this._indexToSelect=this._selectedIndex=Dt,this._lastFocusedTabIndex=null,at=Oe[Dt];break}!at&&Oe[q]&&Promise.resolve().then(()=>{Oe[q].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(q))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,p.O)(this._allTabs)).subscribe(q=>{this._tabs.reset(q.filter(Oe=>Oe._closestTabGroup===this||!Oe._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(q){const Oe=this._tabHeader;Oe&&(Oe.focusIndex=q)}_focusChanged(q){this._lastFocusedTabIndex=q,this.focusChange.emit(this._createChangeEvent(q))}_createChangeEvent(q){const Oe=new At;return Oe.index=q,this._tabs&&this._tabs.length&&(Oe.tab=this._tabs.toArray()[q]),Oe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,P.T)(...this._tabs.map(q=>q._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(q){return Math.min(this._tabs.length-1,Math.max(q||0,0))}_getTabLabelId(q){return`mat-tab-label-${this._groupId}-${q}`}_getTabContentId(q){return`mat-tab-content-${this._groupId}-${q}`}_setTabBodyWrapperHeight(q){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Oe=this._tabBodyWrapper.nativeElement;Oe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Oe.style.height=q+"px")}_removeTabBodyWrapperHeight(){const q=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=q.clientHeight,q.style.height="",this.animationDone.emit()}_handleClick(q,Oe,at){q.disabled||(this.selectedIndex=Oe.focusIndex=at)}_getTabIndex(q,Oe){var at;return q.disabled?null:Oe===(null!==(at=this._lastFocusedTabIndex)&&void 0!==at?at:this.selectedIndex)?0:-1}_tabFocusChanged(q,Oe){q&&"mouse"!==q&&"touch"!==q&&(this._tabHeader.focusIndex=Oe)}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(be,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),rt=(()=>{class Ge extends Nt{constructor(q,Oe,at,Dt){super(q,Oe,at,Dt)}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(be,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab-group"]],contentQueries:function(q,Oe,at){if(1&q&&r.\u0275\u0275contentQuery(at,Y,5),2&q){let Dt;r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Oe._allTabs=Dt)}},viewQuery:function(q,Oe){if(1&q&&(r.\u0275\u0275viewQuery(x,5),r.\u0275\u0275viewQuery(G,5)),2&q){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._tabBodyWrapper=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._tabHeader=at.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(q,Oe){2&q&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",Oe.dynamicHeight)("mat-tab-group-inverted-header","below"===Oe.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:Ke,useExisting:Ge}]),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","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(q,Oe){1&q&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(Dt){return Oe._focusChanged(Dt)})("selectFocusedIndex",function(Dt){return Oe.selectedIndex=Dt}),r.\u0275\u0275template(2,ge,5,15,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,Le,1,11,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&q&&(r.\u0275\u0275property("selectedIndex",Oe.selectedIndex||0)("disableRipple",Oe.disableRipple)("disablePagination",Oe.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",Oe._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Oe._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",Oe._tabs))},dependencies:[u.NgClass,u.NgForOf,u.NgIf,y.Pl,c.MatRipple,n.kH,dt,Ue,vt],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),Ge})(),Ze=0,Ee=(()=>{class Ge extends ke{constructor(q,Oe,at,Dt,Ht,rn,Xt){super(q,Dt,Ht,Oe,at,rn,Xt),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(q){const Oe=this._elementRef.nativeElement.classList;Oe.remove(`mat-background-${this.backgroundColor}`),q&&Oe.add(`mat-background-${q}`),this._backgroundColor=q}get disableRipple(){return this._disableRipple}set disableRipple(q){this._disableRipple=(0,X.Ig)(q)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,p.O)(null),(0,f.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const q=this._items.toArray();for(let Oe=0;Oe<q.length;Oe++)if(q[Oe].active)return this.selectedIndex=Oe,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=q[Oe].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(V.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Re.rL),r.\u0275\u0275directiveInject(me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),_e=(()=>{class Ge extends Ee{constructor(q,Oe,at,Dt,Ht,rn,Xt){super(q,Oe,at,Dt,Ht,rn,Xt)}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(V.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Re.rL),r.\u0275\u0275directiveInject(me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(q,Oe,at){if(1&q&&r.\u0275\u0275contentQuery(at,B,5),2&q){let Dt;r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Oe._items=Dt)}},viewQuery:function(q,Oe){if(1&q&&(r.\u0275\u0275viewQuery(ut,7),r.\u0275\u0275viewQuery(ze,7),r.\u0275\u0275viewQuery(qe,7),r.\u0275\u0275viewQuery(te,7),r.\u0275\u0275viewQuery(fe,5),r.\u0275\u0275viewQuery(W,5)),2&q){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._inkBar=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._tabListContainer=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._tabList=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._tabListInner=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._nextPaginator=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Oe._previousPaginator=at.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(q,Oe){2&q&&(r.\u0275\u0275attribute("role",Oe._getRole()),r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",Oe._showPaginationControls)("mat-tab-header-rtl","rtl"==Oe._getLayoutDirection())("mat-primary","warn"!==Oe.color&&"accent"!==Oe.color)("mat-accent","accent"===Oe.color)("mat-warn","warn"===Oe.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:ct,ngContentSelectors:Ce,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(q,Oe){1&q&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return Oe._handlePaginatorClick("before")})("mousedown",function(Dt){return Oe._handlePaginatorPress("before",Dt)})("touchend",function(){return Oe._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(Dt){return Oe._handleKeydown(Dt)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return Oe._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(Dt){return Oe._handlePaginatorPress("after",Dt)})("click",function(){return Oe._handlePaginatorClick("after")})("touchend",function(){return Oe._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&q&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",Oe._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",Oe._disableScrollBefore||Oe.disableRipple)("disabled",Oe._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Oe._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",Oe._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",Oe._disableScrollAfter||Oe.disableRipple)("disabled",Oe._disableScrollAfter||null))},dependencies:[c.MatRipple,h.wD,ut],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}"],encapsulation:2}),Ge})();const ae=(0,c.mixinTabIndex)((0,c.mixinDisableRipple)((0,c.mixinDisabled)(class{})));let le=(()=>{class Ge extends ae{constructor(q,Oe,at,Dt,Ht,rn){super(),this._tabNavBar=q,this.elementRef=Oe,this._focusMonitor=Ht,this._isActive=!1,this.id="mat-tab-link-"+Ze++,this.rippleConfig=at||{},this.tabIndex=parseInt(Dt)||0,"NoopAnimations"===rn&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(q){const Oe=(0,X.Ig)(q);Oe!==this._isActive&&(this._isActive=Oe,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(q){this._tabNavBar.tabPanel&&q.keyCode===re.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){var q;return this._tabNavBar.tabPanel?null===(q=this._tabNavBar.tabPanel)||void 0===q?void 0:q.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(Ee),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(c.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),B=(()=>{class Ge extends le{constructor(q,Oe,at,Dt,Ht,rn,Xt,vn){super(q,Oe,Ht,rn,Xt,vn),this._tabLinkRipple=new c.RippleRenderer(this,at,Oe,Dt),this._tabLinkRipple.setupTriggerEvents(Oe.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Ge.\u0275fac=function(q){return new(q||Ge)(r.\u0275\u0275directiveInject(_e),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(me.t4),r.\u0275\u0275directiveInject(c.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(q,Oe){1&q&&r.\u0275\u0275listener("focus",function(){return Oe._handleFocus()})("keydown",function(Dt){return Oe._handleKeydown(Dt)}),2&q&&(r.\u0275\u0275attribute("aria-controls",Oe._getAriaControls())("aria-current",Oe._getAriaCurrent())("aria-disabled",Oe.disabled)("aria-selected",Oe._getAriaSelected())("id",Oe.id)("tabIndex",Oe._getTabIndex())("role",Oe._getRole()),r.\u0275\u0275classProp("mat-tab-disabled",Oe.disabled)("mat-tab-label-active",Oe.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),Me=(()=>{class Ge{constructor(){this.id="mat-tab-nav-panel-"+Ze++}}return Ge.\u0275fac=function(q){return new(q||Ge)},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(q,Oe){2&q&&r.\u0275\u0275attribute("aria-labelledby",Oe._activeTabId)("id",Oe.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Ce,decls:1,vars:0,template:function(q,Oe){1&q&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),Ge})(),yt=(()=>{class Ge{}return Ge.\u0275fac=function(q){return new(q||Ge)},Ge.\u0275mod=r.\u0275\u0275defineNgModule({type:Ge}),Ge.\u0275inj=r.\u0275\u0275defineInjector({imports:[u.CommonModule,c.MatCommonModule,y.eL,c.MatRippleModule,h.Q8,n.rt,c.MatCommonModule]}),Ge})()},7238:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>it,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>Ce,MAT_TOOLTIP_SCROLL_STRATEGY:()=>re,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>me,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Re,MatTooltip:()=>oe,MatTooltipModule:()=>qe,SCROLL_THROTTLE_MS:()=>L,TOOLTIP_PANEL_CLASS:()=>Q,TooltipComponent:()=>ze,_MatTooltipBase:()=>xe,_TooltipComponentBase:()=>Ie,getMatTooltipInvalidPositionError:()=>X,matTooltipAnimations:()=>te});var n=a(1314),h=a(5664),y=a(9808),u=a(5e3),r=a(508),c=a(495),d=a(3191),p=a(1159),_=a(5113),f=a(925),b=a(7429),v=a(7579),m=a(2722),C=a(5698),M=a(226),O=a(1777);const P=["tooltip"],L=20,Q="mat-tooltip-panel",$="tooltip-panel",z=(0,f.i$)({passive:!0});function X(fe){return Error(`Tooltip position "${fe}" is invalid.`)}const re=new u.InjectionToken("mat-tooltip-scroll-strategy");function me(fe){return()=>fe.scrollStrategies.reposition({scrollThrottle:L})}const Re={provide:re,deps:[n.aV],useFactory:me},it=new u.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:Ce});function Ce(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}let xe=(()=>{class fe{constructor(x,G,K,ne,ve,ge,Le,ct,ft,gt,ut,je){this._overlay=x,this._elementRef=G,this._scrollDispatcher=K,this._viewContainerRef=ne,this._ngZone=ve,this._platform=ge,this._ariaDescriber=Le,this._focusMonitor=ct,this._dir=gt,this._defaultOptions=ut,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 v.x,this._scrollStrategy=ft,this._document=je,ut&&(ut.position&&(this.position=ut.position),ut.touchGestures&&(this.touchGestures=ut.touchGestures)),gt.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(x){var G;x!==this._position&&(this._position=x,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(G=this._tooltipInstance)||void 0===G||G.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(x){this._disabled=(0,d.Ig)(x),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(x){this._showDelay=(0,d.su)(x)}get hideDelay(){return this._hideDelay}set hideDelay(x){this._hideDelay=(0,d.su)(x),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(x){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=x?String(x).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(x){this._tooltipClass=x,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe(x=>{x?"keyboard"===x&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const x=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([G,K])=>{x.removeEventListener(G,K,z)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(x,this.message,"tooltip"),this._focusMonitor.stopMonitoring(x)}show(x=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const G=this._createOverlay();this._detach(),this._portal=this._portal||new b.C5(this._tooltipComponent,this._viewContainerRef);const K=this._tooltipInstance=G.attach(this._portal).instance;K._triggerElement=this._elementRef.nativeElement,K._mouseLeaveHideDelay=this._hideDelay,K.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),K.show(x)}hide(x=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(x)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var x;if(this._overlayRef)return this._overlayRef;const G=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),K=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(G);return K.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(ne=>{this._updateCurrentPositionClass(ne.connectionPair),this._tooltipInstance&&ne.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:K,panelClass:`${this._cssClassPrefix}-${$}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,m.R)(this._destroyed)).subscribe(()=>{var ne;return null===(ne=this._tooltipInstance)||void 0===ne?void 0:ne._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,m.R)(this._destroyed)).subscribe(ne=>{this._isTooltipVisible()&&ne.keyCode===p.hY&&!(0,p.Vb)(ne)&&(ne.preventDefault(),ne.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),!(null===(x=this._defaultOptions)||void 0===x)&&x.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(x){const G=x.getConfig().positionStrategy,K=this._getOrigin(),ne=this._getOverlayPosition();G.withPositions([this._addOffset(Object.assign(Object.assign({},K.main),ne.main)),this._addOffset(Object.assign(Object.assign({},K.fallback),ne.fallback))])}_addOffset(x){return x}_getOrigin(){const x=!this._dir||"ltr"==this._dir.value,G=this.position;let K;"above"==G||"below"==G?K={originX:"center",originY:"above"==G?"top":"bottom"}:"before"==G||"left"==G&&x||"right"==G&&!x?K={originX:"start",originY:"center"}:("after"==G||"right"==G&&x||"left"==G&&!x)&&(K={originX:"end",originY:"center"});const{x:ne,y:ve}=this._invertPosition(K.originX,K.originY);return{main:K,fallback:{originX:ne,originY:ve}}}_getOverlayPosition(){const x=!this._dir||"ltr"==this._dir.value,G=this.position;let K;"above"==G?K={overlayX:"center",overlayY:"bottom"}:"below"==G?K={overlayX:"center",overlayY:"top"}:"before"==G||"left"==G&&x||"right"==G&&!x?K={overlayX:"end",overlayY:"center"}:("after"==G||"right"==G&&x||"left"==G&&!x)&&(K={overlayX:"start",overlayY:"center"});const{x:ne,y:ve}=this._invertPosition(K.overlayX,K.overlayY);return{main:K,fallback:{overlayX:ne,overlayY:ve}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,C.q)(1),(0,m.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(x){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=x,this._tooltipInstance._markForCheck())}_invertPosition(x,G){return"above"===this.position||"below"===this.position?"top"===G?G="bottom":"bottom"===G&&(G="top"):"end"===x?x="start":"start"===x&&(x="end"),{x,y:G}}_updateCurrentPositionClass(x){const{overlayY:G,originX:K,originY:ne}=x;let ve;if(ve="center"===G?this._dir&&"rtl"===this._dir.value?"end"===K?"left":"right":"start"===K?"left":"right":"bottom"===G&&"top"===ne?"above":"below",ve!==this._currentPosition){const ge=this._overlayRef;if(ge){const Le=`${this._cssClassPrefix}-${$}-`;ge.removePanelClass(Le+this._currentPosition),ge.addPanelClass(Le+ve)}this._currentPosition=ve}}_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 x=[];if(this._platformSupportsMouseEvents())x.push(["mouseleave",G=>{var K;const ne=G.relatedTarget;(!ne||null===(K=this._overlayRef)||void 0===K||!K.overlayElement.contains(ne))&&this.hide()}],["wheel",G=>this._wheelListener(G)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const G=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};x.push(["touchend",G],["touchcancel",G])}this._addListeners(x),this._passiveListeners.push(...x)}_addListeners(x){x.forEach(([G,K])=>{this._elementRef.nativeElement.addEventListener(G,K,z)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(x){if(this._isTooltipVisible()){const G=this._document.elementFromPoint(x.clientX,x.clientY),K=this._elementRef.nativeElement;G!==K&&!K.contains(G)&&this.hide()}}_disableNativeGesturesIfNecessary(){const x=this.touchGestures;if("off"!==x){const G=this._elementRef.nativeElement,K=G.style;("on"===x||"INPUT"!==G.nodeName&&"TEXTAREA"!==G.nodeName)&&(K.userSelect=K.msUserSelect=K.webkitUserSelect=K.MozUserSelect="none"),("on"===x||!G.draggable)&&(K.webkitUserDrag="none"),K.touchAction="none",K.webkitTapHighlightColor="transparent"}}}return fe.\u0275fac=function(x){u.\u0275\u0275invalidFactory()},fe.\u0275dir=u.\u0275\u0275defineDirective({type:fe,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),fe})(),oe=(()=>{class fe extends xe{constructor(x,G,K,ne,ve,ge,Le,ct,ft,gt,ut,je){super(x,G,K,ne,ve,ge,Le,ct,ft,gt,ut,je),this._tooltipComponent=ze}}return fe.\u0275fac=function(x){return new(x||fe)(u.\u0275\u0275directiveInject(n.aV),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(c.mF),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(f.t4),u.\u0275\u0275directiveInject(h.$s),u.\u0275\u0275directiveInject(h.tE),u.\u0275\u0275directiveInject(re),u.\u0275\u0275directiveInject(M.Is,8),u.\u0275\u0275directiveInject(it,8),u.\u0275\u0275directiveInject(y.DOCUMENT))},fe.\u0275dir=u.\u0275\u0275defineDirective({type:fe,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[u.\u0275\u0275InheritDefinitionFeature]}),fe})(),Ie=(()=>{class fe{constructor(x,G){this._changeDetectorRef=x,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new v.x,this._animationsDisabled="NoopAnimations"===G}show(x){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},x)}hide(x){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},x)}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:x}){(!x||!this._triggerElement.contains(x))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:x}){(x===this._showAnimation||x===this._hideAnimation)&&this._finalizeAnimation(x===this._showAnimation)}_finalizeAnimation(x){x?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(x){const G=this._tooltip.nativeElement,K=this._showAnimation,ne=this._hideAnimation;if(G.classList.remove(x?ne:K),G.classList.add(x?K:ne),this._isVisible=x,x&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ve=getComputedStyle(G);("0s"===ve.getPropertyValue("animation-duration")||"none"===ve.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}x&&this._onShow(),this._animationsDisabled&&(G.classList.add("_mat-animation-noopable"),this._finalizeAnimation(x))}}return fe.\u0275fac=function(x){return new(x||fe)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},fe.\u0275dir=u.\u0275\u0275defineDirective({type:fe}),fe})(),ze=(()=>{class fe extends Ie{constructor(x,G,K){super(x,K),this._breakpointObserver=G,this._isHandset=this._breakpointObserver.observe(_.Breakpoints.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return fe.\u0275fac=function(x){return new(x||fe)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(_.BreakpointObserver),u.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},fe.\u0275cmp=u.\u0275\u0275defineComponent({type:fe,selectors:[["mat-tooltip-component"]],viewQuery:function(x,G){if(1&x&&u.\u0275\u0275viewQuery(P,7),2&x){let K;u.\u0275\u0275queryRefresh(K=u.\u0275\u0275loadQuery())&&(G._tooltip=K.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(x,G){1&x&&u.\u0275\u0275listener("mouseleave",function(ne){return G._handleMouseLeave(ne)}),2&x&&u.\u0275\u0275styleProp("zoom",G.isVisible()?1:null)},features:[u.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(x,G){if(1&x&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("animationend",function(ne){return G._handleAnimationEnd(ne)}),u.\u0275\u0275pipe(2,"async"),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()),2&x){let K;u.\u0275\u0275classProp("mat-tooltip-handset",null==(K=u.\u0275\u0275pipeBind1(2,4,G._isHandset))?null:K.matches),u.\u0275\u0275property("ngClass",G.tooltipClass),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(G.message)}},dependencies:[y.NgClass,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}"],encapsulation:2,changeDetection:0}),fe})(),qe=(()=>{class fe{}return fe.\u0275fac=function(x){return new(x||fe)},fe.\u0275mod=u.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=u.\u0275\u0275defineInjector({providers:[Re],imports:[h.rt,y.CommonModule,n.U8,r.MatCommonModule,r.MatCommonModule,c.ZD]}),fe})();const te={tooltipState:(0,O.X$)("state",[(0,O.SB)("initial, void, hidden",(0,O.oB)({opacity:0,transform:"scale(0)"})),(0,O.SB)("visible",(0,O.oB)({transform:"scale(1)"})),(0,O.eR)("* => visible",(0,O.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,O.F4)([(0,O.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,O.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,O.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,O.eR)("* => hidden",(0,O.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,O.oB)({opacity:0})))])}},6360:(H,o,a)=>{"use strict";a.r(o),a.d(o,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Vs,NoopAnimationsModule:()=>za,provideAnimations:()=>es,provideNoopAnimations:()=>$s,\u0275AnimationRenderer:()=>Rr,\u0275AnimationRendererFactory:()=>Fn,\u0275BrowserAnimationBuilder:()=>A,\u0275BrowserAnimationFactory:()=>S,\u0275InjectableAnimationEngine:()=>Ls});var n=a(5e3),h=a(2313),y=a(1777);function r(Z){return new n.\u0275RuntimeError(3e3,!1)}function ge(){return"undefined"!=typeof window&&void 0!==window.document}function Le(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ct(Z){switch(Z.length){case 0:return new y.ZN;case 1:return Z[0];default:return new y.ZE(Z)}}function ft(Z,E,T,R,J=new Map,Se=new Map){const nt=[],ot=[];let pt=-1,wt=null;if(R.forEach(Pt=>{const $t=Pt.get("offset"),an=$t==pt,un=an&&wt||new Map;Pt.forEach((en,tn)=>{let Mn=tn,wn=en;if("offset"!==tn)switch(Mn=E.normalizePropertyName(Mn,nt),wn){case y.k1:wn=J.get(tn);break;case y.l3:wn=Se.get(tn);break;default:wn=E.normalizeStyleValue(tn,Mn,wn,nt)}un.set(Mn,wn)}),an||ot.push(un),wt=un,pt=$t}),nt.length)throw function xe(Z){return new n.\u0275RuntimeError(3502,!1)}();return ot}function gt(Z,E,T,R){switch(E){case"start":Z.onStart(()=>R(T&&ut(T,"start",Z)));break;case"done":Z.onDone(()=>R(T&&ut(T,"done",Z)));break;case"destroy":Z.onDestroy(()=>R(T&&ut(T,"destroy",Z)))}}function ut(Z,E,T){const R=T.totalTime,Se=je(Z.element,Z.triggerName,Z.fromState,Z.toState,E||Z.phaseName,null==R?Z.totalTime:R,!!T.disabled),nt=Z._data;return null!=nt&&(Se._data=nt),Se}function je(Z,E,T,R,J="",Se=0,nt){return{element:Z,triggerName:E,fromState:T,toState:R,phaseName:J,totalTime:Se,disabled:!!nt}}function Te(Z,E,T){let R=Z.get(E);return R||Z.set(E,R=T),R}function Fe(Z){const E=Z.indexOf(":");return[Z.substring(1,E),Z.slice(E+1)]}let pe=(Z,E)=>!1,We=(Z,E,T)=>[],Be=null;function Ke(Z){const E=Z.parentNode||Z.host;return E===Be?null:E}(Le()||"undefined"!=typeof Element)&&(ge()?(Be=(()=>document.documentElement)(),pe=(Z,E)=>{for(;E;){if(E===Z)return!0;E=Ke(E)}return!1}):pe=(Z,E)=>Z.contains(E),We=(Z,E,T)=>{if(T)return Array.from(Z.querySelectorAll(E));const R=Z.querySelector(E);return R?[R]:[]});let He=null,Ve=!1;const dt=pe,Pe=We;let ye=(()=>{class Z{validateStyleProperty(T){return function Ue(Z){He||(He=function $e(){return"undefined"!=typeof document?document.body:null}()||{},Ve=!!He.style&&"WebkitAppearance"in He.style);let E=!0;return He.style&&!function we(Z){return"ebkit"==Z.substring(1,6)}(Z)&&(E=Z in He.style,!E&&Ve&&(E="Webkit"+Z.charAt(0).toUpperCase()+Z.slice(1)in He.style)),E}(T)}matchesElement(T,R){return!1}containsElement(T,R){return dt(T,R)}getParentElement(T){return Ke(T)}query(T,R,J){return Pe(T,R,J)}computeStyle(T,R,J){return J||""}animate(T,R,J,Se,nt,ot=[],pt){return new y.ZN(J,Se)}}return Z.\u0275fac=function(T){return new(T||Z)},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})(),de=(()=>{class Z{}return Z.NOOP=new ye,Z})();const Ft="ng-enter",At="ng-leave",Yt="ng-trigger",Nt=".ng-trigger",rt="ng-animating",Ze=".ng-animating";function Ee(Z){if("number"==typeof Z)return Z;const E=Z.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:_e(parseFloat(E[1]),E[2])}function _e(Z,E){return"s"===E?1e3*Z:Z}function ae(Z,E,T){return Z.hasOwnProperty("duration")?Z:function le(Z,E,T){let J,Se=0,nt="";if("string"==typeof Z){const ot=Z.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ot)return E.push(r()),{duration:0,delay:0,easing:""};J=_e(parseFloat(ot[1]),ot[2]);const pt=ot[3];null!=pt&&(Se=_e(parseFloat(pt),ot[4]));const wt=ot[5];wt&&(nt=wt)}else J=Z;if(!T){let ot=!1,pt=E.length;J<0&&(E.push(function c(){return new n.\u0275RuntimeError(3100,!1)}()),ot=!0),Se<0&&(E.push(function d(){return new n.\u0275RuntimeError(3101,!1)}()),ot=!0),ot&&E.splice(pt,0,r())}return{duration:J,delay:Se,easing:nt}}(Z,E,T)}function B(Z,E={}){return Object.keys(Z).forEach(T=>{E[T]=Z[T]}),E}function Me(Z){const E=new Map;return Object.keys(Z).forEach(T=>{E.set(T,Z[T])}),E}function bt(Z,E=new Map,T){if(T)for(let[R,J]of T)E.set(R,J);for(let[R,J]of Z)E.set(R,J);return E}function q(Z,E,T){return T?E+":"+T+";":""}function Oe(Z){let E="";for(let T=0;T<Z.style.length;T++){const R=Z.style.item(T);E+=q(0,R,Z.style.getPropertyValue(R))}for(const T in Z.style)Z.style.hasOwnProperty(T)&&!T.startsWith("_")&&(E+=q(0,lt(T),Z.style[T]));Z.setAttribute("style",E)}function at(Z,E,T){Z.style&&(E.forEach((R,J)=>{const Se=et(J);T&&!T.has(J)&&T.set(J,Z.style[Se]),Z.style[Se]=R}),Le()&&Oe(Z))}function Dt(Z,E){Z.style&&(E.forEach((T,R)=>{const J=et(R);Z.style[J]=""}),Le()&&Oe(Z))}function Ht(Z){return Array.isArray(Z)?1==Z.length?Z[0]:(0,y.vP)(Z):Z}const Xt=new RegExp("{{\\s*(.+?)\\s*}}","g");function vn(Z){let E=[];if("string"==typeof Z){let T;for(;T=Xt.exec(Z);)E.push(T[1]);Xt.lastIndex=0}return E}function Xe(Z,E,T){const R=Z.toString(),J=R.replace(Xt,(Se,nt)=>{let ot=E[nt];return null==ot&&(T.push(function _(Z){return new n.\u0275RuntimeError(3003,!1)}()),ot=""),ot.toString()});return J==R?Z:J}function Ye(Z){const E=[];let T=Z.next();for(;!T.done;)E.push(T.value),T=Z.next();return E}const De=/-+([a-z0-9])/g;function et(Z){return Z.replace(De,(...E)=>E[1].toUpperCase())}function lt(Z){return Z.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Wt(Z,E,T){switch(E.type){case 7:return Z.visitTrigger(E,T);case 0:return Z.visitState(E,T);case 1:return Z.visitTransition(E,T);case 2:return Z.visitSequence(E,T);case 3:return Z.visitGroup(E,T);case 4:return Z.visitAnimate(E,T);case 5:return Z.visitKeyframes(E,T);case 6:return Z.visitStyle(E,T);case 8:return Z.visitReference(E,T);case 9:return Z.visitAnimateChild(E,T);case 10:return Z.visitAnimateRef(E,T);case 11:return Z.visitQuery(E,T);case 12:return Z.visitStagger(E,T);default:throw function f(Z){return new n.\u0275RuntimeError(3004,!1)}()}}function _n(Z,E){return window.getComputedStyle(Z)[E]}function xt(Z,E){const T=[];return"string"==typeof Z?Z.split(/\s*,\s*/).forEach(R=>function Kt(Z,E,T){if(":"==Z[0]){const pt=function Ut(Z,E){switch(Z){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(T,R)=>parseFloat(R)>parseFloat(T);case":decrement":return(T,R)=>parseFloat(R)<parseFloat(T);default:return E.push(function me(Z){return new n.\u0275RuntimeError(3016,!1)}()),"* => *"}}(Z,T);if("function"==typeof pt)return void E.push(pt);Z=pt}const R=Z.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==R||R.length<4)return T.push(function re(Z){return new n.\u0275RuntimeError(3015,!1)}()),E;const J=R[1],Se=R[2],nt=R[3];E.push(ln(J,nt));"<"==Se[0]&&!("*"==J&&"*"==nt)&&E.push(ln(nt,J))}(R,T,E)):T.push(Z),T}const yn=new Set(["true","1"]),dn=new Set(["false","0"]);function ln(Z,E){const T=yn.has(Z)||dn.has(Z),R=yn.has(E)||dn.has(E);return(J,Se)=>{let nt="*"==Z||Z==J,ot="*"==E||E==Se;return!nt&&T&&"boolean"==typeof J&&(nt=J?yn.has(Z):dn.has(Z)),!ot&&R&&"boolean"==typeof Se&&(ot=Se?yn.has(E):dn.has(E)),nt&&ot}}const zn=new RegExp("s*:selfs*,?","g");function cn(Z,E,T,R){return new kn(Z).build(E,T,R)}class kn{constructor(E){this._driver=E}build(E,T,R){const J=new Ti(T);return this._resetContextStyleTimingState(J),Wt(this,Ht(E),J)}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles=new Map,E.collectedStyles.set("",new Map),E.currentTime=0}visitTrigger(E,T){let R=T.queryCount=0,J=T.depCount=0;const Se=[],nt=[];return"@"==E.name.charAt(0)&&T.errors.push(function v(){return new n.\u0275RuntimeError(3006,!1)}()),E.definitions.forEach(ot=>{if(this._resetContextStyleTimingState(T),0==ot.type){const pt=ot,wt=pt.name;wt.toString().split(/\s*,\s*/).forEach(Pt=>{pt.name=Pt,Se.push(this.visitState(pt,T))}),pt.name=wt}else if(1==ot.type){const pt=this.visitTransition(ot,T);R+=pt.queryCount,J+=pt.depCount,nt.push(pt)}else T.errors.push(function m(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:7,name:E.name,states:Se,transitions:nt,queryCount:R,depCount:J,options:null}}visitState(E,T){const R=this.visitStyle(E.styles,T),J=E.options&&E.options.params||null;if(R.containsDynamicStyles){const Se=new Set,nt=J||{};R.styles.forEach(ot=>{ot instanceof Map&&ot.forEach(pt=>{vn(pt).forEach(wt=>{nt.hasOwnProperty(wt)||Se.add(wt)})})}),Se.size&&(Ye(Se.values()),T.errors.push(function C(Z,E){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:E.name,style:R,options:J?{params:J}:null}}visitTransition(E,T){T.queryCount=0,T.depCount=0;const R=Wt(this,Ht(E.animation),T);return{type:1,matchers:xt(E.expr,T.errors),animation:R,queryCount:T.queryCount,depCount:T.depCount,options:Ln(E.options)}}visitSequence(E,T){return{type:2,steps:E.steps.map(R=>Wt(this,R,T)),options:Ln(E.options)}}visitGroup(E,T){const R=T.currentTime;let J=0;const Se=E.steps.map(nt=>{T.currentTime=R;const ot=Wt(this,nt,T);return J=Math.max(J,T.currentTime),ot});return T.currentTime=J,{type:3,steps:Se,options:Ln(E.options)}}visitAnimate(E,T){const R=function bi(Z,E){if(Z.hasOwnProperty("duration"))return Z;if("number"==typeof Z)return Ni(ae(Z,E).duration,0,"");const T=Z;if(T.split(/\s+/).some(Se=>"{"==Se.charAt(0)&&"{"==Se.charAt(1))){const Se=Ni(0,0,"");return Se.dynamic=!0,Se.strValue=T,Se}const J=ae(T,E);return Ni(J.duration,J.delay,J.easing)}(E.timings,T.errors);T.currentAnimateTimings=R;let J,Se=E.styles?E.styles:(0,y.oB)({});if(5==Se.type)J=this.visitKeyframes(Se,T);else{let nt=E.styles,ot=!1;if(!nt){ot=!0;const wt={};R.easing&&(wt.easing=R.easing),nt=(0,y.oB)(wt)}T.currentTime+=R.duration+R.delay;const pt=this.visitStyle(nt,T);pt.isEmptyStep=ot,J=pt}return T.currentAnimateTimings=null,{type:4,timings:R,style:J,options:null}}visitStyle(E,T){const R=this._makeStyleAst(E,T);return this._validateStyleAst(R,T),R}_makeStyleAst(E,T){const R=[],J=Array.isArray(E.styles)?E.styles:[E.styles];for(let ot of J)"string"==typeof ot?ot===y.l3?R.push(ot):T.errors.push(new n.\u0275RuntimeError(3002,!1)):R.push(Me(ot));let Se=!1,nt=null;return R.forEach(ot=>{if(ot instanceof Map&&(ot.has("easing")&&(nt=ot.get("easing"),ot.delete("easing")),!Se))for(let pt of ot.values())if(pt.toString().indexOf("{{")>=0){Se=!0;break}}),{type:6,styles:R,easing:nt,offset:E.offset,containsDynamicStyles:Se,options:null}}_validateStyleAst(E,T){const R=T.currentAnimateTimings;let J=T.currentTime,Se=T.currentTime;R&&Se>0&&(Se-=R.duration+R.delay),E.styles.forEach(nt=>{"string"!=typeof nt&&nt.forEach((ot,pt)=>{const wt=T.collectedStyles.get(T.currentQuerySelector),Pt=wt.get(pt);let $t=!0;Pt&&(Se!=J&&Se>=Pt.startTime&&J<=Pt.endTime&&(T.errors.push(function P(Z,E,T,R,J){return new n.\u0275RuntimeError(3010,!1)}()),$t=!1),Se=Pt.startTime),$t&&wt.set(pt,{startTime:Se,endTime:J}),T.options&&function rn(Z,E,T){const R=E.params||{},J=vn(Z);J.length&&J.forEach(Se=>{R.hasOwnProperty(Se)||T.push(function p(Z){return new n.\u0275RuntimeError(3001,!1)}())})}(ot,T.options,T.errors)})})}visitKeyframes(E,T){const R={type:5,styles:[],options:null};if(!T.currentAnimateTimings)return T.errors.push(function L(){return new n.\u0275RuntimeError(3011,!1)}()),R;let Se=0;const nt=[];let ot=!1,pt=!1,wt=0;const Pt=E.steps.map(wn=>{const Gn=this._makeStyleAst(wn,T);let ei=null!=Gn.offset?Gn.offset:function wi(Z){if("string"==typeof Z)return null;let E=null;if(Array.isArray(Z))Z.forEach(T=>{if(T instanceof Map&&T.has("offset")){const R=T;E=parseFloat(R.get("offset")),R.delete("offset")}});else if(Z instanceof Map&&Z.has("offset")){const T=Z;E=parseFloat(T.get("offset")),T.delete("offset")}return E}(Gn.styles),Kn=0;return null!=ei&&(Se++,Kn=Gn.offset=ei),pt=pt||Kn<0||Kn>1,ot=ot||Kn<wt,wt=Kn,nt.push(Kn),Gn});pt&&T.errors.push(function Q(){return new n.\u0275RuntimeError(3012,!1)}()),ot&&T.errors.push(function $(){return new n.\u0275RuntimeError(3200,!1)}());const $t=E.steps.length;let an=0;Se>0&&Se<$t?T.errors.push(function z(){return new n.\u0275RuntimeError(3202,!1)}()):0==Se&&(an=1/($t-1));const un=$t-1,en=T.currentTime,tn=T.currentAnimateTimings,Mn=tn.duration;return Pt.forEach((wn,Gn)=>{const ei=an>0?Gn==un?1:an*Gn:nt[Gn],Kn=ei*Mn;T.currentTime=en+tn.delay+Kn,tn.duration=Kn,this._validateStyleAst(wn,T),wn.offset=ei,R.styles.push(wn)}),R}visitReference(E,T){return{type:8,animation:Wt(this,Ht(E.animation),T),options:Ln(E.options)}}visitAnimateChild(E,T){return T.depCount++,{type:9,options:Ln(E.options)}}visitAnimateRef(E,T){return{type:10,animation:this.visitReference(E.animation,T),options:Ln(E.options)}}visitQuery(E,T){const R=T.currentQuerySelector,J=E.options||{};T.queryCount++,T.currentQuery=E;const[Se,nt]=function En(Z){const E=!!Z.split(/\s*,\s*/).find(T=>":self"==T);return E&&(Z=Z.replace(zn,"")),Z=Z.replace(/@\*/g,Nt).replace(/@\w+/g,T=>Nt+"-"+T.slice(1)).replace(/:animating/g,Ze),[Z,E]}(E.selector);T.currentQuerySelector=R.length?R+" "+Se:Se,Te(T.collectedStyles,T.currentQuerySelector,new Map);const ot=Wt(this,Ht(E.animation),T);return T.currentQuery=null,T.currentQuerySelector=R,{type:11,selector:Se,limit:J.limit||0,optional:!!J.optional,includeSelf:nt,animation:ot,originalSelector:E.selector,options:Ln(E.options)}}visitStagger(E,T){T.currentQuery||T.errors.push(function V(){return new n.\u0275RuntimeError(3013,!1)}());const R="full"===E.timings?{duration:0,delay:0,easing:"full"}:ae(E.timings,T.errors,!0);return{type:12,animation:Wt(this,Ht(E.animation),T),timings:R,options:null}}}class Ti{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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ln(Z){return Z?(Z=B(Z)).params&&(Z.params=function Nn(Z){return Z?B(Z):null}(Z.params)):Z={},Z}function Ni(Z,E,T){return{duration:Z,delay:E,easing:T}}function Wi(Z,E,T,R,J,Se,nt=null,ot=!1){return{type:1,element:Z,keyframes:E,preStyleProps:T,postStyleProps:R,duration:J,delay:Se,totalTime:J+Se,easing:nt,subTimeline:ot}}class Ci{constructor(){this._map=new Map}get(E){return this._map.get(E)||[]}append(E,T){let R=this._map.get(E);R||this._map.set(E,R=[]),R.push(...T)}has(E){return this._map.has(E)}clear(){this._map.clear()}}const cr=new RegExp(":enter","g"),Xn=new RegExp(":leave","g");function ur(Z,E,T,R,J,Se=new Map,nt=new Map,ot,pt,wt=[]){return(new Xr).buildKeyframes(Z,E,T,R,J,Se,nt,ot,pt,wt)}class Xr{buildKeyframes(E,T,R,J,Se,nt,ot,pt,wt,Pt=[]){wt=wt||new Ci;const $t=new dr(E,T,wt,J,Se,Pt,[]);$t.options=pt;const an=pt.delay?Ee(pt.delay):0;$t.currentTimeline.delayNextStep(an),$t.currentTimeline.setStyles([nt],null,$t.errors,pt),Wt(this,R,$t);const un=$t.timelines.filter(en=>en.containsAnimation());if(un.length&&ot.size){let en;for(let tn=un.length-1;tn>=0;tn--){const Mn=un[tn];if(Mn.element===T){en=Mn;break}}en&&!en.allowOnlyTimelineStyles()&&en.setStyles([ot],null,$t.errors,pt)}return un.length?un.map(en=>en.buildKeyframes()):[Wi(T,[],[],[],0,an,"",!1)]}visitTrigger(E,T){}visitState(E,T){}visitTransition(E,T){}visitAnimateChild(E,T){const R=T.subInstructions.get(T.element);if(R){const J=T.createSubContext(E.options),Se=T.currentTimeline.currentTime,nt=this._visitSubInstructions(R,J,J.options);Se!=nt&&T.transformIntoNewTimeline(nt)}T.previousNode=E}visitAnimateRef(E,T){const R=T.createSubContext(E.options);R.transformIntoNewTimeline(),this.visitReference(E.animation,R),T.transformIntoNewTimeline(R.currentTimeline.currentTime),T.previousNode=E}_visitSubInstructions(E,T,R){let Se=T.currentTimeline.currentTime;const nt=null!=R.duration?Ee(R.duration):null,ot=null!=R.delay?Ee(R.delay):null;return 0!==nt&&E.forEach(pt=>{const wt=T.appendInstructionToTimeline(pt,nt,ot);Se=Math.max(Se,wt.duration+wt.delay)}),Se}visitReference(E,T){T.updateOptions(E.options,!0),Wt(this,E.animation,T),T.previousNode=E}visitSequence(E,T){const R=T.subContextCount;let J=T;const Se=E.options;if(Se&&(Se.params||Se.delay)&&(J=T.createSubContext(Se),J.transformIntoNewTimeline(),null!=Se.delay)){6==J.previousNode.type&&(J.currentTimeline.snapshotCurrentStyles(),J.previousNode=Li);const nt=Ee(Se.delay);J.delayNextStep(nt)}E.steps.length&&(E.steps.forEach(nt=>Wt(this,nt,J)),J.currentTimeline.applyStylesToKeyframe(),J.subContextCount>R&&J.transformIntoNewTimeline()),T.previousNode=E}visitGroup(E,T){const R=[];let J=T.currentTimeline.currentTime;const Se=E.options&&E.options.delay?Ee(E.options.delay):0;E.steps.forEach(nt=>{const ot=T.createSubContext(E.options);Se&&ot.delayNextStep(Se),Wt(this,nt,ot),J=Math.max(J,ot.currentTimeline.currentTime),R.push(ot.currentTimeline)}),R.forEach(nt=>T.currentTimeline.mergeTimelineCollectedStyles(nt)),T.transformIntoNewTimeline(J),T.previousNode=E}_visitTiming(E,T){if(E.dynamic){const R=E.strValue;return ae(T.params?Xe(R,T.params,T.errors):R,T.errors)}return{duration:E.duration,delay:E.delay,easing:E.easing}}visitAnimate(E,T){const R=T.currentAnimateTimings=this._visitTiming(E.timings,T),J=T.currentTimeline;R.delay&&(T.incrementTime(R.delay),J.snapshotCurrentStyles());const Se=E.style;5==Se.type?this.visitKeyframes(Se,T):(T.incrementTime(R.duration),this.visitStyle(Se,T),J.applyStylesToKeyframe()),T.currentAnimateTimings=null,T.previousNode=E}visitStyle(E,T){const R=T.currentTimeline,J=T.currentAnimateTimings;!J&&R.hasCurrentStyleProperties()&&R.forwardFrame();const Se=J&&J.easing||E.easing;E.isEmptyStep?R.applyEmptyStep(Se):R.setStyles(E.styles,Se,T.errors,T.options),T.previousNode=E}visitKeyframes(E,T){const R=T.currentAnimateTimings,J=T.currentTimeline.duration,Se=R.duration,ot=T.createSubContext().currentTimeline;ot.easing=R.easing,E.styles.forEach(pt=>{ot.forwardTime((pt.offset||0)*Se),ot.setStyles(pt.styles,pt.easing,T.errors,T.options),ot.applyStylesToKeyframe()}),T.currentTimeline.mergeTimelineCollectedStyles(ot),T.transformIntoNewTimeline(J+Se),T.previousNode=E}visitQuery(E,T){const R=T.currentTimeline.currentTime,J=E.options||{},Se=J.delay?Ee(J.delay):0;Se&&(6===T.previousNode.type||0==R&&T.currentTimeline.hasCurrentStyleProperties())&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=Li);let nt=R;const ot=T.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!J.optional,T.errors);T.currentQueryTotal=ot.length;let pt=null;ot.forEach((wt,Pt)=>{T.currentQueryIndex=Pt;const $t=T.createSubContext(E.options,wt);Se&&$t.delayNextStep(Se),wt===T.element&&(pt=$t.currentTimeline),Wt(this,E.animation,$t),$t.currentTimeline.applyStylesToKeyframe(),nt=Math.max(nt,$t.currentTimeline.currentTime)}),T.currentQueryIndex=0,T.currentQueryTotal=0,T.transformIntoNewTimeline(nt),pt&&(T.currentTimeline.mergeTimelineCollectedStyles(pt),T.currentTimeline.snapshotCurrentStyles()),T.previousNode=E}visitStagger(E,T){const R=T.parentContext,J=T.currentTimeline,Se=E.timings,nt=Math.abs(Se.duration),ot=nt*(T.currentQueryTotal-1);let pt=nt*T.currentQueryIndex;switch(Se.duration<0?"reverse":Se.easing){case"reverse":pt=ot-pt;break;case"full":pt=R.currentStaggerTime}const Pt=T.currentTimeline;pt&&Pt.delayNextStep(pt);const $t=Pt.currentTime;Wt(this,E.animation,T),T.previousNode=E,R.currentStaggerTime=J.currentTime-$t+(J.startTime-R.currentTimeline.startTime)}}const Li={};class dr{constructor(E,T,R,J,Se,nt,ot,pt){this._driver=E,this.element=T,this.subInstructions=R,this._enterClassName=J,this._leaveClassName=Se,this.errors=nt,this.timelines=ot,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Li,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pt||new Di(this._driver,T,0),ot.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,T){if(!E)return;const R=E;let J=this.options;null!=R.duration&&(J.duration=Ee(R.duration)),null!=R.delay&&(J.delay=Ee(R.delay));const Se=R.params;if(Se){let nt=J.params;nt||(nt=this.options.params={}),Object.keys(Se).forEach(ot=>{(!T||!nt.hasOwnProperty(ot))&&(nt[ot]=Xe(Se[ot],nt,this.errors))})}}_copyOptions(){const E={};if(this.options){const T=this.options.params;if(T){const R=E.params={};Object.keys(T).forEach(J=>{R[J]=T[J]})}}return E}createSubContext(E=null,T,R){const J=T||this.element,Se=new dr(this._driver,J,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(J,R||0));return Se.previousNode=this.previousNode,Se.currentAnimateTimings=this.currentAnimateTimings,Se.options=this._copyOptions(),Se.updateOptions(E),Se.currentQueryIndex=this.currentQueryIndex,Se.currentQueryTotal=this.currentQueryTotal,Se.parentContext=this,this.subContextCount++,Se}transformIntoNewTimeline(E){return this.previousNode=Li,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,T,R){const J={duration:null!=T?T:E.duration,delay:this.currentTimeline.currentTime+(null!=R?R:0)+E.delay,easing:""},Se=new Or(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,J,E.stretchStartingKeyframe);return this.timelines.push(Se),J}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,T,R,J,Se,nt){let ot=[];if(J&&ot.push(this.element),E.length>0){E=(E=E.replace(cr,"."+this._enterClassName)).replace(Xn,"."+this._leaveClassName);let wt=this._driver.query(this.element,E,1!=R);0!==R&&(wt=R<0?wt.slice(wt.length+R,wt.length):wt.slice(0,R)),ot.push(...wt)}return!Se&&0==ot.length&&nt.push(function X(Z){return new n.\u0275RuntimeError(3014,!1)}()),ot}}class Di{constructor(E,T,R,J){this._driver=E,this.element=T,this.startTime=R,this._elementTimelineStylesLookup=J,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(T),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(T,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(E){const T=1===this._keyframes.size&&this._pendingStyles.size;this.duration||T?(this.forwardTime(this.currentTime+E),T&&this.snapshotCurrentStyles()):this.startTime+=E}fork(E,T){return this.applyStylesToKeyframe(),new Di(this._driver,E,T||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(E){this.applyStylesToKeyframe(),this.duration=E,this._loadKeyframe()}_updateStyle(E,T){this._localTimelineStyles.set(E,T),this._globalTimelineStyles.set(E,T),this._styleSummary.set(E,{time:this.currentTime,value:T})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(E){E&&this._previousKeyframe.set("easing",E);for(let[T,R]of this._globalTimelineStyles)this._backFill.set(T,R||y.l3),this._currentKeyframe.set(T,y.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(E,T,R,J){var Se;T&&this._previousKeyframe.set("easing",T);const nt=J&&J.params||{},ot=function Qi(Z,E){const T=new Map;let R;return Z.forEach(J=>{if("*"===J){R=R||E.keys();for(let Se of R)T.set(Se,y.l3)}else bt(J,T)}),T}(E,this._globalTimelineStyles);for(let[pt,wt]of ot){const Pt=Xe(wt,nt,R);this._pendingStyles.set(pt,Pt),this._localTimelineStyles.has(pt)||this._backFill.set(pt,null!==(Se=this._globalTimelineStyles.get(pt))&&void 0!==Se?Se:y.l3),this._updateStyle(pt,Pt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((E,T)=>{this._currentKeyframe.set(T,E)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((E,T)=>{this._currentKeyframe.has(T)||this._currentKeyframe.set(T,E)}))}snapshotCurrentStyles(){for(let[E,T]of this._localTimelineStyles)this._pendingStyles.set(E,T),this._updateStyle(E,T)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const E=[];for(let T in this._currentKeyframe)E.push(T);return E}mergeTimelineCollectedStyles(E){E._styleSummary.forEach((T,R)=>{const J=this._styleSummary.get(R);(!J||T.time>J.time)&&this._updateStyle(R,T.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,T=new Set,R=1===this._keyframes.size&&0===this.duration;let J=[];this._keyframes.forEach((ot,pt)=>{const wt=bt(ot,new Map,this._backFill);wt.forEach((Pt,$t)=>{Pt===y.k1?E.add($t):Pt===y.l3&&T.add($t)}),R||wt.set("offset",pt/this.duration),J.push(wt)});const Se=E.size?Ye(E.values()):[],nt=T.size?Ye(T.values()):[];if(R){const ot=J[0],pt=new Map(ot);ot.set("offset",0),pt.set("offset",1),J=[ot,pt]}return Wi(this.element,J,Se,nt,this.duration,this.startTime,this.easing,!1)}}class Or extends Di{constructor(E,T,R,J,Se,nt,ot=!1){super(E,T,nt.delay),this.keyframes=R,this.preStyleProps=J,this.postStyleProps=Se,this._stretchStartingKeyframe=ot,this.timings={duration:nt.duration,delay:nt.delay,easing:nt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:T,duration:R,easing:J}=this.timings;if(this._stretchStartingKeyframe&&T){const Se=[],nt=R+T,ot=T/nt,pt=bt(E[0]);pt.set("offset",0),Se.push(pt);const wt=bt(E[0]);wt.set("offset",Yi(ot)),Se.push(wt);const Pt=E.length-1;for(let $t=1;$t<=Pt;$t++){let an=bt(E[$t]);const un=an.get("offset");an.set("offset",Yi((T+un*R)/nt)),Se.push(an)}R=nt,T=0,J="",E=Se}return Wi(this.element,E,this.preStyleProps,this.postStyleProps,R,T,J,!0)}}function Yi(Z,E=3){const T=Math.pow(10,E-1);return Math.round(Z*T)/T}class Mi{}const Ei=new Set(["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"]);class Ar extends Mi{normalizePropertyName(E,T){return et(E)}normalizeStyleValue(E,T,R,J){let Se="";const nt=R.toString().trim();if(Ei.has(T)&&0!==R&&"0"!==R)if("number"==typeof R)Se="px";else{const ot=R.match(/^[+-]?[\d\.]+([a-z]*)$/);ot&&0==ot[1].length&&J.push(function b(Z,E){return new n.\u0275RuntimeError(3005,!1)}())}return nt+Se}}function Si(Z,E,T,R,J,Se,nt,ot,pt,wt,Pt,$t,an){return{type:0,element:Z,triggerName:E,isRemovalTransition:J,fromState:T,fromStyles:Se,toState:R,toStyles:nt,timelines:ot,queriedElements:pt,preStyleProps:wt,postStyleProps:Pt,totalTime:$t,errors:an}}const Zi={};class ni{constructor(E,T,R){this._triggerName=E,this.ast=T,this._stateStyles=R}match(E,T,R,J){return function ji(Z,E,T,R,J){return Z.some(Se=>Se(E,T,R,J))}(this.ast.matchers,E,T,R,J)}buildStyles(E,T,R){let J=this._stateStyles.get("*");return void 0!==E&&(J=this._stateStyles.get(null==E?void 0:E.toString())||J),J?J.buildStyles(T,R):new Map}build(E,T,R,J,Se,nt,ot,pt,wt,Pt){var $t;const an=[],un=this.ast.options&&this.ast.options.params||Zi,tn=this.buildStyles(R,ot&&ot.params||Zi,an),Mn=pt&&pt.params||Zi,wn=this.buildStyles(J,Mn,an),Gn=new Set,ei=new Map,Kn=new Map,_r="void"===J,yr={params:Ii(Mn,un),delay:null===($t=this.ast.options)||void 0===$t?void 0:$t.delay},Un=Pt?[]:ur(E,T,this.ast.animation,Se,nt,tn,wn,yr,wt,an);let si=0;if(Un.forEach(Ai=>{si=Math.max(Ai.duration+Ai.delay,si)}),an.length)return Si(T,this._triggerName,R,J,_r,tn,wn,[],[],ei,Kn,si,an);Un.forEach(Ai=>{const ir=Ai.element,xr=Te(ei,ir,new Set);Ai.preStyleProps.forEach(zr=>xr.add(zr));const to=Te(Kn,ir,new Set);Ai.postStyleProps.forEach(zr=>to.add(zr)),ir!==T&&Gn.add(ir)});const go=Ye(Gn.values());return Si(T,this._triggerName,R,J,_r,tn,wn,Un,go,ei,Kn,si)}}function Ii(Z,E){const T=B(E);for(const R in Z)Z.hasOwnProperty(R)&&null!=Z[R]&&(T[R]=Z[R]);return T}class hr{constructor(E,T,R){this.styles=E,this.defaultParams=T,this.normalizer=R}buildStyles(E,T){const R=new Map,J=B(this.defaultParams);return Object.keys(E).forEach(Se=>{const nt=E[Se];null!==nt&&(J[Se]=nt)}),this.styles.styles.forEach(Se=>{"string"!=typeof Se&&Se.forEach((nt,ot)=>{nt&&(nt=Xe(nt,J,T));const pt=this.normalizer.normalizePropertyName(ot,T);nt=this.normalizer.normalizeStyleValue(ot,pt,nt,T),R.set(pt,nt)})}),R}}class Bi{constructor(E,T,R){this.name=E,this.ast=T,this._normalizer=R,this.transitionFactories=[],this.states=new Map,T.states.forEach(J=>{this.states.set(J.name,new hr(J.style,J.options&&J.options.params||{},R))}),Vi(this.states,"true","1"),Vi(this.states,"false","0"),T.transitions.forEach(J=>{this.transitionFactories.push(new ni(E,J,this.states))}),this.fallbackTransition=function hi(Z,E,T){return new ni(Z,{type:1,animation:{type:2,steps:[],options:null},matchers:[(nt,ot)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,T,R,J){return this.transitionFactories.find(nt=>nt.match(E,T,R,J))||null}matchStyles(E,T,R){return this.fallbackTransition.buildStyles(E,T,R)}}function Vi(Z,E,T){Z.has(E)?Z.has(T)||Z.set(T,Z.get(E)):Z.has(T)&&Z.set(E,Z.get(T))}const pr=new Ci;class mr{constructor(E,T,R){this.bodyNode=E,this._driver=T,this._normalizer=R,this._animations=new Map,this._playersById=new Map,this.players=[]}register(E,T){const R=[],Se=cn(this._driver,T,R,[]);if(R.length)throw function oe(Z){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(E,Se)}_buildPlayer(E,T,R){const J=E.element,Se=ft(0,this._normalizer,0,E.keyframes,T,R);return this._driver.animate(J,Se,E.duration,E.delay,E.easing,[],!0)}create(E,T,R={}){const J=[],Se=this._animations.get(E);let nt;const ot=new Map;if(Se?(nt=ur(this._driver,T,Se,Ft,At,new Map,new Map,R,pr,J),nt.forEach(Pt=>{const $t=Te(ot,Pt.element,new Map);Pt.postStyleProps.forEach(an=>$t.set(an,null))})):(J.push(function Ie(){return new n.\u0275RuntimeError(3300,!1)}()),nt=[]),J.length)throw function ze(Z){return new n.\u0275RuntimeError(3504,!1)}();ot.forEach((Pt,$t)=>{Pt.forEach((an,un)=>{Pt.set(un,this._driver.computeStyle($t,un,y.l3))})});const wt=ct(nt.map(Pt=>{const $t=ot.get(Pt.element);return this._buildPlayer(Pt,new Map,$t)}));return this._playersById.set(E,wt),wt.onDestroy(()=>this.destroy(E)),this.players.push(wt),wt}destroy(E){const T=this._getPlayer(E);T.destroy(),this._playersById.delete(E);const R=this.players.indexOf(T);R>=0&&this.players.splice(R,1)}_getPlayer(E){const T=this._playersById.get(E);if(!T)throw function qe(Z){return new n.\u0275RuntimeError(3301,!1)}();return T}listen(E,T,R,J){const Se=je(T,"","","");return gt(this._getPlayer(E),R,Se,J),()=>{}}command(E,T,R,J){if("register"==R)return void this.register(E,J[0]);if("create"==R)return void this.create(E,T,J[0]||{});const Se=this._getPlayer(E);switch(R){case"play":Se.play();break;case"pause":Se.pause();break;case"reset":Se.reset();break;case"restart":Se.restart();break;case"finish":Se.finish();break;case"init":Se.init();break;case"setPosition":Se.setPosition(parseFloat(J[0]));break;case"destroy":this.destroy(E)}}}const Wn="ng-animate-queued",pi="ng-animate-disabled",bn=[],vr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},In="__ng_removed";class Tn{constructor(E,T=""){this.namespaceId=T;const R=E&&E.hasOwnProperty("value");if(this.value=function N(Z){return null!=Z?Z:null}(R?E.value:E),R){const Se=B(E);delete Se.value,this.options=Se}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(E){const T=E.params;if(T){const R=this.options.params;Object.keys(T).forEach(J=>{null==R[J]&&(R[J]=T[J])})}}}const qn="void",er=new Tn(qn);class gi{constructor(E,T,R){this.id=E,this.hostElement=T,this._engine=R,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+E,pn(T,this._hostClassName)}listen(E,T,R,J){if(!this._triggers.has(T))throw function te(Z,E){return new n.\u0275RuntimeError(3302,!1)}();if(null==R||0==R.length)throw function fe(Z){return new n.\u0275RuntimeError(3303,!1)}();if(!function Je(Z){return"start"==Z||"done"==Z}(R))throw function W(Z,E){return new n.\u0275RuntimeError(3400,!1)}();const Se=Te(this._elementListeners,E,[]),nt={name:T,phase:R,callback:J};Se.push(nt);const ot=Te(this._engine.statesByElement,E,new Map);return ot.has(T)||(pn(E,Yt),pn(E,Yt+"-"+T),ot.set(T,er)),()=>{this._engine.afterFlush(()=>{const pt=Se.indexOf(nt);pt>=0&&Se.splice(pt,1),this._triggers.has(T)||ot.delete(T)})}}register(E,T){return!this._triggers.has(E)&&(this._triggers.set(E,T),!0)}_getTrigger(E){const T=this._triggers.get(E);if(!T)throw function x(Z){return new n.\u0275RuntimeError(3401,!1)}();return T}trigger(E,T,R,J=!0){const Se=this._getTrigger(T),nt=new F(this.id,T,E);let ot=this._engine.statesByElement.get(E);ot||(pn(E,Yt),pn(E,Yt+"-"+T),this._engine.statesByElement.set(E,ot=new Map));let pt=ot.get(T);const wt=new Tn(R,this.id);if(!(R&&R.hasOwnProperty("value"))&&pt&&wt.absorbOptions(pt.options),ot.set(T,wt),pt||(pt=er),wt.value!==qn&&pt.value===wt.value){if(!function Dn(Z,E){const T=Object.keys(Z),R=Object.keys(E);if(T.length!=R.length)return!1;for(let J=0;J<T.length;J++){const Se=T[J];if(!E.hasOwnProperty(Se)||Z[Se]!==E[Se])return!1}return!0}(pt.params,wt.params)){const tn=[],Mn=Se.matchStyles(pt.value,pt.params,tn),wn=Se.matchStyles(wt.value,wt.params,tn);tn.length?this._engine.reportError(tn):this._engine.afterFlush(()=>{Dt(E,Mn),at(E,wn)})}return}const an=Te(this._engine.playersByElement,E,[]);an.forEach(tn=>{tn.namespaceId==this.id&&tn.triggerName==T&&tn.queued&&tn.destroy()});let un=Se.matchTransition(pt.value,wt.value,E,wt.params),en=!1;if(!un){if(!J)return;un=Se.fallbackTransition,en=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:T,transition:un,fromState:pt,toState:wt,player:nt,isFallbackTransition:en}),en||(pn(E,Wn),nt.onStart(()=>{Cn(E,Wn)})),nt.onDone(()=>{let tn=this.players.indexOf(nt);tn>=0&&this.players.splice(tn,1);const Mn=this._engine.playersByElement.get(E);if(Mn){let wn=Mn.indexOf(nt);wn>=0&&Mn.splice(wn,1)}}),this.players.push(nt),an.push(nt),nt}deregister(E){this._triggers.delete(E),this._engine.statesByElement.forEach(T=>T.delete(E)),this._elementListeners.forEach((T,R)=>{this._elementListeners.set(R,T.filter(J=>J.name!=E))})}clearElementCache(E){this._engine.statesByElement.delete(E),this._elementListeners.delete(E);const T=this._engine.playersByElement.get(E);T&&(T.forEach(R=>R.destroy()),this._engine.playersByElement.delete(E))}_signalRemovalForInnerTriggers(E,T){const R=this._engine.driver.query(E,Nt,!0);R.forEach(J=>{if(J[In])return;const Se=this._engine.fetchNamespacesByElement(J);Se.size?Se.forEach(nt=>nt.triggerLeaveAnimation(J,T,!1,!0)):this.clearElementCache(J)}),this._engine.afterFlushAnimationsDone(()=>R.forEach(J=>this.clearElementCache(J)))}triggerLeaveAnimation(E,T,R,J){const Se=this._engine.statesByElement.get(E),nt=new Map;if(Se){const ot=[];if(Se.forEach((pt,wt)=>{if(nt.set(wt,pt.value),this._triggers.has(wt)){const Pt=this.trigger(E,wt,qn,J);Pt&&ot.push(Pt)}}),ot.length)return this._engine.markElementAsRemoved(this.id,E,!0,T,nt),R&&ct(ot).onDone(()=>this._engine.processLeaveNode(E)),!0}return!1}prepareLeaveAnimationListeners(E){const T=this._elementListeners.get(E),R=this._engine.statesByElement.get(E);if(T&&R){const J=new Set;T.forEach(Se=>{const nt=Se.name;if(J.has(nt))return;J.add(nt);const pt=this._triggers.get(nt).fallbackTransition,wt=R.get(nt)||er,Pt=new Tn(qn),$t=new F(this.id,nt,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:nt,transition:pt,fromState:wt,toState:Pt,player:$t,isFallbackTransition:!0})})}}removeNode(E,T){const R=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,T),this.triggerLeaveAnimation(E,T,!0))return;let J=!1;if(R.totalAnimations){const Se=R.players.length?R.playersByQueriedElement.get(E):[];if(Se&&Se.length)J=!0;else{let nt=E;for(;nt=nt.parentNode;)if(R.statesByElement.get(nt)){J=!0;break}}}if(this.prepareLeaveAnimationListeners(E),J)R.markElementAsRemoved(this.id,E,!1,T);else{const Se=E[In];(!Se||Se===vr)&&(R.afterFlush(()=>this.clearElementCache(E)),R.destroyInnerAnimations(E),R._onRemovalComplete(E,T))}}insertNode(E,T){pn(E,this._hostClassName)}drainQueuedTransitions(E){const T=[];return this._queue.forEach(R=>{const J=R.player;if(J.destroyed)return;const Se=R.element,nt=this._elementListeners.get(Se);nt&&nt.forEach(ot=>{if(ot.name==R.triggerName){const pt=je(Se,R.triggerName,R.fromState.value,R.toState.value);pt._data=E,gt(R.player,ot.phase,pt,ot.callback)}}),J.markedForDestroy?this._engine.afterFlush(()=>{J.destroy()}):T.push(R)}),this._queue=[],T.sort((R,J)=>{const Se=R.transition.ast.depCount,nt=J.transition.ast.depCount;return 0==Se||0==nt?Se-nt:this._engine.driver.containsElement(R.element,J.element)?1:-1})}destroy(E){this.players.forEach(T=>T.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,E)}elementContainsData(E){let T=!1;return this._elementListeners.has(E)&&(T=!0),T=!!this._queue.find(R=>R.element===E)||T,T}}class Qn{constructor(E,T,R){this.bodyNode=E,this.driver=T,this._normalizer=R,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=(J,Se)=>{}}_onRemovalComplete(E,T){this.onRemovalComplete(E,T)}get queuedPlayers(){const E=[];return this._namespaceList.forEach(T=>{T.players.forEach(R=>{R.queued&&E.push(R)})}),E}createNamespace(E,T){const R=new gi(E,T,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,T)?this._balanceNamespaceList(R,T):(this.newHostElements.set(T,R),this.collectEnterElement(T)),this._namespaceLookup[E]=R}_balanceNamespaceList(E,T){const R=this._namespaceList,J=this.namespacesByHostElement;if(R.length-1>=0){let nt=!1,ot=this.driver.getParentElement(T);for(;ot;){const pt=J.get(ot);if(pt){const wt=R.indexOf(pt);R.splice(wt+1,0,E),nt=!0;break}ot=this.driver.getParentElement(ot)}nt||R.unshift(E)}else R.push(E);return J.set(T,E),E}register(E,T){let R=this._namespaceLookup[E];return R||(R=this.createNamespace(E,T)),R}registerTrigger(E,T,R){let J=this._namespaceLookup[E];J&&J.register(T,R)&&this.totalAnimations++}destroy(E,T){if(!E)return;const R=this._fetchNamespace(E);this.afterFlush(()=>{this.namespacesByHostElement.delete(R.hostElement),delete this._namespaceLookup[E];const J=this._namespaceList.indexOf(R);J>=0&&this._namespaceList.splice(J,1)}),this.afterFlushAnimationsDone(()=>R.destroy(T))}_fetchNamespace(E){return this._namespaceLookup[E]}fetchNamespacesByElement(E){const T=new Set,R=this.statesByElement.get(E);if(R)for(let J of R.values())if(J.namespaceId){const Se=this._fetchNamespace(J.namespaceId);Se&&T.add(Se)}return T}trigger(E,T,R,J){if(he(T)){const Se=this._fetchNamespace(E);if(Se)return Se.trigger(T,R,J),!0}return!1}insertNode(E,T,R,J){if(!he(T))return;const Se=T[In];if(Se&&Se.setForRemoval){Se.setForRemoval=!1,Se.setForMove=!0;const nt=this.collectedLeaveElements.indexOf(T);nt>=0&&this.collectedLeaveElements.splice(nt,1)}if(E){const nt=this._fetchNamespace(E);nt&&nt.insertNode(T,R)}J&&this.collectEnterElement(T)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,T){T?this.disabledNodes.has(E)||(this.disabledNodes.add(E),pn(E,pi)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),Cn(E,pi))}removeNode(E,T,R,J){if(he(T)){const Se=E?this._fetchNamespace(E):null;if(Se?Se.removeNode(T,J):this.markElementAsRemoved(E,T,!1,J),R){const nt=this.namespacesByHostElement.get(T);nt&&nt.id!==E&&nt.removeNode(T,J)}}else this._onRemovalComplete(T,J)}markElementAsRemoved(E,T,R,J,Se){this.collectedLeaveElements.push(T),T[In]={namespaceId:E,setForRemoval:J,hasAnimation:R,removedBeforeQueried:!1,previousTriggersValues:Se}}listen(E,T,R,J,Se){return he(T)?this._fetchNamespace(E).listen(T,R,J,Se):()=>{}}_buildInstruction(E,T,R,J,Se){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,R,J,E.fromState.options,E.toState.options,T,Se)}destroyInnerAnimations(E){let T=this.driver.query(E,Nt,!0);T.forEach(R=>this.destroyActiveAnimationsForElement(R)),0!=this.playersByQueriedElement.size&&(T=this.driver.query(E,Ze,!0),T.forEach(R=>this.finishActiveQueriedAnimationOnElement(R)))}destroyActiveAnimationsForElement(E){const T=this.playersByElement.get(E);T&&T.forEach(R=>{R.queued?R.markedForDestroy=!0:R.destroy()})}finishActiveQueriedAnimationOnElement(E){const T=this.playersByQueriedElement.get(E);T&&T.forEach(R=>R.finish())}whenRenderingDone(){return new Promise(E=>{if(this.players.length)return ct(this.players).onDone(()=>E());E()})}processLeaveNode(E){var T;const R=E[In];if(R&&R.setForRemoval){if(E[In]=vr,R.namespaceId){this.destroyInnerAnimations(E);const J=this._fetchNamespace(R.namespaceId);J&&J.clearElementCache(E)}this._onRemovalComplete(E,R.setForRemoval)}!(null===(T=E.classList)||void 0===T)&&T.contains(pi)&&this.markElementAsDisabled(E,!1),this.driver.query(E,".ng-animate-disabled",!0).forEach(J=>{this.markElementAsDisabled(J,!1)})}flush(E=-1){let T=[];if(this.newHostElements.size&&(this.newHostElements.forEach((R,J)=>this._balanceNamespaceList(R,J)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let R=0;R<this.collectedEnterElements.length;R++)pn(this.collectedEnterElements[R],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const R=[];try{T=this._flushAnimations(R,E)}finally{for(let J=0;J<R.length;J++)R[J]()}}else for(let R=0;R<this.collectedLeaveElements.length;R++)this.processLeaveNode(this.collectedLeaveElements[R]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(R=>R()),this._flushFns=[],this._whenQuietFns.length){const R=this._whenQuietFns;this._whenQuietFns=[],T.length?ct(T).onDone(()=>{R.forEach(J=>J())}):R.forEach(J=>J())}}reportError(E){throw function G(Z){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(E,T){const R=new Ci,J=[],Se=new Map,nt=[],ot=new Map,pt=new Map,wt=new Map,Pt=new Set;this.disabledNodes.forEach(zt=>{Pt.add(zt);const Gt=this.driver.query(zt,".ng-animate-queued",!0);for(let Zt=0;Zt<Gt.length;Zt++)Pt.add(Gt[Zt])});const $t=this.bodyNode,an=Array.from(this.statesByElement.keys()),un=Bt(an,this.collectedEnterElements),en=new Map;let tn=0;un.forEach((zt,Gt)=>{const Zt=Ft+tn++;en.set(Gt,Zt),zt.forEach(hn=>pn(hn,Zt))});const Mn=[],wn=new Set,Gn=new Set;for(let zt=0;zt<this.collectedLeaveElements.length;zt++){const Gt=this.collectedLeaveElements[zt],Zt=Gt[In];Zt&&Zt.setForRemoval&&(Mn.push(Gt),wn.add(Gt),Zt.hasAnimation?this.driver.query(Gt,".ng-star-inserted",!0).forEach(hn=>wn.add(hn)):Gn.add(Gt))}const ei=new Map,Kn=Bt(an,Array.from(wn));Kn.forEach((zt,Gt)=>{const Zt=At+tn++;ei.set(Gt,Zt),zt.forEach(hn=>pn(hn,Zt))}),E.push(()=>{un.forEach((zt,Gt)=>{const Zt=en.get(Gt);zt.forEach(hn=>Cn(hn,Zt))}),Kn.forEach((zt,Gt)=>{const Zt=ei.get(Gt);zt.forEach(hn=>Cn(hn,Zt))}),Mn.forEach(zt=>{this.processLeaveNode(zt)})});const _r=[],yr=[];for(let zt=this._namespaceList.length-1;zt>=0;zt--)this._namespaceList[zt].drainQueuedTransitions(T).forEach(Zt=>{const hn=Zt.player,An=Zt.element;if(_r.push(hn),this.collectedEnterElements.length){const Zn=An[In];if(Zn&&Zn.setForMove){if(Zn.previousTriggersValues&&Zn.previousTriggersValues.has(Zt.triggerName)){const Wr=Zn.previousTriggersValues.get(Zt.triggerName),_i=this.statesByElement.get(Zt.element);if(_i&&_i.has(Zt.triggerName)){const no=_i.get(Zt.triggerName);no.value=Wr,_i.set(Zt.triggerName,no)}}return void hn.destroy()}}const Pi=!$t||!this.driver.containsElement($t,An),ci=ei.get(An),vi=en.get(An),Bn=this._buildInstruction(Zt,R,vi,ci,Pi);if(Bn.errors&&Bn.errors.length)return void yr.push(Bn);if(Pi)return hn.onStart(()=>Dt(An,Bn.fromStyles)),hn.onDestroy(()=>at(An,Bn.toStyles)),void J.push(hn);if(Zt.isFallbackTransition)return hn.onStart(()=>Dt(An,Bn.fromStyles)),hn.onDestroy(()=>at(An,Bn.toStyles)),void J.push(hn);const Fr=[];Bn.timelines.forEach(Zn=>{Zn.stretchStartingKeyframe=!0,this.disabledNodes.has(Zn.element)||Fr.push(Zn)}),Bn.timelines=Fr,R.append(An,Bn.timelines),nt.push({instruction:Bn,player:hn,element:An}),Bn.queriedElements.forEach(Zn=>Te(ot,Zn,[]).push(hn)),Bn.preStyleProps.forEach((Zn,Wr)=>{if(Zn.size){let _i=pt.get(Wr);_i||pt.set(Wr,_i=new Set),Zn.forEach((no,ns)=>_i.add(ns))}}),Bn.postStyleProps.forEach((Zn,Wr)=>{let _i=wt.get(Wr);_i||wt.set(Wr,_i=new Set),Zn.forEach((no,ns)=>_i.add(ns))})});if(yr.length){const zt=[];yr.forEach(Gt=>{zt.push(function ne(Z,E){return new n.\u0275RuntimeError(3505,!1)}())}),_r.forEach(Gt=>Gt.destroy()),this.reportError(zt)}const Un=new Map,si=new Map;nt.forEach(zt=>{const Gt=zt.element;R.has(Gt)&&(si.set(Gt,Gt),this._beforeAnimationBuild(zt.player.namespaceId,zt.instruction,Un))}),J.forEach(zt=>{const Gt=zt.element;this._getPreviousPlayers(Gt,!1,zt.namespaceId,zt.triggerName,null).forEach(hn=>{Te(Un,Gt,[]).push(hn),hn.destroy()})});const go=Mn.filter(zt=>Rn(zt,pt,wt)),Ai=new Map;_t(Ai,this.driver,Gn,wt,y.l3).forEach(zt=>{Rn(zt,pt,wt)&&go.push(zt)});const xr=new Map;un.forEach((zt,Gt)=>{_t(xr,this.driver,new Set(zt),pt,y.k1)}),go.forEach(zt=>{var Gt,Zt;const hn=Ai.get(zt),An=xr.get(zt);Ai.set(zt,new Map([...Array.from(null!==(Gt=null==hn?void 0:hn.entries())&&void 0!==Gt?Gt:[]),...Array.from(null!==(Zt=null==An?void 0:An.entries())&&void 0!==Zt?Zt:[])]))});const to=[],zr=[],Wa={};nt.forEach(zt=>{const{element:Gt,player:Zt,instruction:hn}=zt;if(R.has(Gt)){if(Pt.has(Gt))return Zt.onDestroy(()=>at(Gt,hn.toStyles)),Zt.disabled=!0,Zt.overrideTotalTime(hn.totalTime),void J.push(Zt);let An=Wa;if(si.size>1){let ci=Gt;const vi=[];for(;ci=ci.parentNode;){const Bn=si.get(ci);if(Bn){An=Bn;break}vi.push(ci)}vi.forEach(Bn=>si.set(Bn,An))}const Pi=this._buildAnimation(Zt.namespaceId,hn,Un,Se,xr,Ai);if(Zt.setRealPlayer(Pi),An===Wa)to.push(Zt);else{const ci=this.playersByElement.get(An);ci&&ci.length&&(Zt.parentPlayer=ct(ci)),J.push(Zt)}}else Dt(Gt,hn.fromStyles),Zt.onDestroy(()=>at(Gt,hn.toStyles)),zr.push(Zt),Pt.has(Gt)&&J.push(Zt)}),zr.forEach(zt=>{const Gt=Se.get(zt.element);if(Gt&&Gt.length){const Zt=ct(Gt);zt.setRealPlayer(Zt)}}),J.forEach(zt=>{zt.parentPlayer?zt.syncPlayerEvents(zt.parentPlayer):zt.destroy()});for(let zt=0;zt<Mn.length;zt++){const Gt=Mn[zt],Zt=Gt[In];if(Cn(Gt,At),Zt&&Zt.hasAnimation)continue;let hn=[];if(ot.size){let Pi=ot.get(Gt);Pi&&Pi.length&&hn.push(...Pi);let ci=this.driver.query(Gt,Ze,!0);for(let vi=0;vi<ci.length;vi++){let Bn=ot.get(ci[vi]);Bn&&Bn.length&&hn.push(...Bn)}}const An=hn.filter(Pi=>!Pi.destroyed);An.length?Sn(this,Gt,An):this.processLeaveNode(Gt)}return Mn.length=0,to.forEach(zt=>{this.players.push(zt),zt.onDone(()=>{zt.destroy();const Gt=this.players.indexOf(zt);this.players.splice(Gt,1)}),zt.play()}),to}elementContainsData(E,T){let R=!1;const J=T[In];return J&&J.setForRemoval&&(R=!0),this.playersByElement.has(T)&&(R=!0),this.playersByQueriedElement.has(T)&&(R=!0),this.statesByElement.has(T)&&(R=!0),this._fetchNamespace(E).elementContainsData(T)||R}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,T,R,J,Se){let nt=[];if(T){const ot=this.playersByQueriedElement.get(E);ot&&(nt=ot)}else{const ot=this.playersByElement.get(E);if(ot){const pt=!Se||Se==qn;ot.forEach(wt=>{wt.queued||!pt&&wt.triggerName!=J||nt.push(wt)})}}return(R||J)&&(nt=nt.filter(ot=>!(R&&R!=ot.namespaceId||J&&J!=ot.triggerName))),nt}_beforeAnimationBuild(E,T,R){const Se=T.element,nt=T.isRemovalTransition?void 0:E,ot=T.isRemovalTransition?void 0:T.triggerName;for(const pt of T.timelines){const wt=pt.element,Pt=wt!==Se,$t=Te(R,wt,[]);this._getPreviousPlayers(wt,Pt,nt,ot,T.toState).forEach(un=>{const en=un.getRealPlayer();en.beforeDestroy&&en.beforeDestroy(),un.destroy(),$t.push(un)})}Dt(Se,T.fromStyles)}_buildAnimation(E,T,R,J,Se,nt){const ot=T.triggerName,pt=T.element,wt=[],Pt=new Set,$t=new Set,an=T.timelines.map(en=>{const tn=en.element;Pt.add(tn);const Mn=tn[In];if(Mn&&Mn.removedBeforeQueried)return new y.ZN(en.duration,en.delay);const wn=tn!==pt,Gn=function fn(Z){const E=[];return $n(Z,E),E}((R.get(tn)||bn).map(Un=>Un.getRealPlayer())).filter(Un=>!!Un.element&&Un.element===tn),ei=Se.get(tn),Kn=nt.get(tn),_r=ft(0,this._normalizer,0,en.keyframes,ei,Kn),yr=this._buildPlayer(en,_r,Gn);if(en.subTimeline&&J&&$t.add(tn),wn){const Un=new F(E,ot,tn);Un.setRealPlayer(yr),wt.push(Un)}return yr});wt.forEach(en=>{Te(this.playersByQueriedElement,en.element,[]).push(en),en.onDone(()=>function se(Z,E,T){let R=Z.get(E);if(R){if(R.length){const J=R.indexOf(T);R.splice(J,1)}0==R.length&&Z.delete(E)}return R}(this.playersByQueriedElement,en.element,en))}),Pt.forEach(en=>pn(en,rt));const un=ct(an);return un.onDestroy(()=>{Pt.forEach(en=>Cn(en,rt)),at(pt,T.toStyles)}),$t.forEach(en=>{Te(J,en,[]).push(un)}),un}_buildPlayer(E,T,R){return T.length>0?this.driver.animate(E.element,T,E.duration,E.delay,E.easing,R):new y.ZN(E.duration,E.delay)}}class F{constructor(E,T,R){this.namespaceId=E,this.triggerName=T,this.element=R,this._player=new y.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(E){this._containsRealPlayer||(this._player=E,this._queuedCallbacks.forEach((T,R)=>{T.forEach(J=>gt(E,R,void 0,J))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(E.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(E){this.totalTime=E}syncPlayerEvents(E){const T=this._player;T.triggerCallback&&E.onStart(()=>T.triggerCallback("start")),E.onDone(()=>this.finish()),E.onDestroy(()=>this.destroy())}_queueEvent(E,T){Te(this._queuedCallbacks,E,[]).push(T)}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 T=this._player;T.triggerCallback&&T.triggerCallback(E)}}function he(Z){return Z&&1===Z.nodeType}function Et(Z,E){const T=Z.style.display;return Z.style.display=null!=E?E:"none",T}function _t(Z,E,T,R,J){const Se=[];T.forEach(pt=>Se.push(Et(pt)));const nt=[];R.forEach((pt,wt)=>{const Pt=new Map;pt.forEach($t=>{const an=E.computeStyle(wt,$t,J);Pt.set($t,an),(!an||0==an.length)&&(wt[In]=mi,nt.push(wt))}),Z.set(wt,Pt)});let ot=0;return T.forEach(pt=>Et(pt,Se[ot++])),nt}function Bt(Z,E){const T=new Map;if(Z.forEach(ot=>T.set(ot,[])),0==E.length)return T;const J=new Set(E),Se=new Map;function nt(ot){if(!ot)return 1;let pt=Se.get(ot);if(pt)return pt;const wt=ot.parentNode;return pt=T.has(wt)?wt:J.has(wt)?1:nt(wt),Se.set(ot,pt),pt}return E.forEach(ot=>{const pt=nt(ot);1!==pt&&T.get(pt).push(ot)}),T}function pn(Z,E){var T;null===(T=Z.classList)||void 0===T||T.add(E)}function Cn(Z,E){var T;null===(T=Z.classList)||void 0===T||T.remove(E)}function Sn(Z,E,T){ct(T).onDone(()=>Z.processLeaveNode(E))}function $n(Z,E){for(let T=0;T<Z.length;T++){const R=Z[T];R instanceof y.ZE?$n(R.players,E):E.push(R)}}function Rn(Z,E,T){const R=T.get(Z);if(!R)return!1;let J=E.get(Z);return J?R.forEach(Se=>J.add(Se)):E.set(Z,R),T.delete(Z),!0}class St{constructor(E,T,R){this.bodyNode=E,this._driver=T,this._normalizer=R,this._triggerCache={},this.onRemovalComplete=(J,Se)=>{},this._transitionEngine=new Qn(E,T,R),this._timelineEngine=new mr(E,T,R),this._transitionEngine.onRemovalComplete=(J,Se)=>this.onRemovalComplete(J,Se)}registerTrigger(E,T,R,J,Se){const nt=E+"-"+J;let ot=this._triggerCache[nt];if(!ot){const pt=[],Pt=cn(this._driver,Se,pt,[]);if(pt.length)throw function Ce(Z,E){return new n.\u0275RuntimeError(3404,!1)}();ot=function Xi(Z,E,T){return new Bi(Z,E,T)}(J,Pt,this._normalizer),this._triggerCache[nt]=ot}this._transitionEngine.registerTrigger(T,J,ot)}register(E,T){this._transitionEngine.register(E,T)}destroy(E,T){this._transitionEngine.destroy(E,T)}onInsert(E,T,R,J){this._transitionEngine.insertNode(E,T,R,J)}onRemove(E,T,R,J){this._transitionEngine.removeNode(E,T,J||!1,R)}disableAnimations(E,T){this._transitionEngine.markElementAsDisabled(E,T)}process(E,T,R,J){if("@"==R.charAt(0)){const[Se,nt]=Fe(R);this._timelineEngine.command(Se,T,nt,J)}else this._transitionEngine.trigger(E,T,R,J)}listen(E,T,R,J,Se){if("@"==R.charAt(0)){const[nt,ot]=Fe(R);return this._timelineEngine.listen(nt,T,ot,Se)}return this._transitionEngine.listen(E,T,R,J,Se)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let $i=(()=>{class Z{constructor(T,R,J){this._element=T,this._startStyles=R,this._endStyles=J,this._state=0;let Se=Z.initialStylesByElement.get(T);Se||Z.initialStylesByElement.set(T,Se=new Map),this._initialStyles=Se}start(){this._state<1&&(this._startStyles&&at(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(at(this._element,this._initialStyles),this._endStyles&&(at(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Z.initialStylesByElement.delete(this._element),this._startStyles&&(Dt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Dt(this._element,this._endStyles),this._endStyles=null),at(this._element,this._initialStyles),this._state=3)}}return Z.initialStylesByElement=new WeakMap,Z})();function ai(Z){let E=null;return Z.forEach((T,R)=>{(function xn(Z){return"display"===Z||"position"===Z})(R)&&(E=E||new Map,E.set(R,T))}),E}class tr{constructor(E,T,R,J){this.element=E,this.keyframes=T,this.options=R,this._specialStyles=J,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=R.duration,this._delay=R.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]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(E){const T=[];return E.forEach(R=>{T.push(Object.fromEntries(R))}),T}_triggerWebAnimation(E,T,R){return E.animate(this._convertKeyframesToObject(T),R)}onStart(E){this._originalOnStartFns.push(E),this._onStartFns.push(E)}onDone(E){this._originalOnDoneFns.push(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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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=new Map;this.hasStarted()&&this._finalKeyframe.forEach((R,J)=>{"offset"!==J&&E.set(J,this._finished?R:_n(this.element,J))}),this.currentSnapshot=E}triggerCallback(E){const T="start"===E?this._onStartFns:this._onDoneFns;T.forEach(R=>R()),T.length=0}}class Hi{validateStyleProperty(E){return!0}validateAnimatableStyleProperty(E){return!0}matchesElement(E,T){return!1}containsElement(E,T){return dt(E,T)}getParentElement(E){return Ke(E)}query(E,T,R){return Pe(E,T,R)}computeStyle(E,T,R){return window.getComputedStyle(E)[T]}animate(E,T,R,J,Se,nt=[]){const pt={duration:R,delay:J,fill:0==J?"both":"forwards"};Se&&(pt.easing=Se);const wt=new Map,Pt=nt.filter(un=>un instanceof tr);(function It(Z,E){return 0===Z||0===E})(R,J)&&Pt.forEach(un=>{un.currentSnapshot.forEach((en,tn)=>wt.set(tn,en))});let $t=function yt(Z){return Z.length?Z[0]instanceof Map?Z:Z.map(E=>Me(E)):[]}(T).map(un=>bt(un));$t=function Lt(Z,E,T){if(T.size&&E.length){let R=E[0],J=[];if(T.forEach((Se,nt)=>{R.has(nt)||J.push(nt),R.set(nt,Se)}),J.length)for(let Se=1;Se<E.length;Se++){let nt=E[Se];J.forEach(ot=>nt.set(ot,_n(Z,ot)))}}return E}(E,$t,wt);const an=function on(Z,E){let T=null,R=null;return Array.isArray(E)&&E.length?(T=ai(E[0]),E.length>1&&(R=ai(E[E.length-1]))):E instanceof Map&&(T=ai(E)),T||R?new $i(Z,T,R):null}(E,$t);return new tr(E,$t,pt,an)}}var k=a(9808);let A=(()=>{class Z extends y._j{constructor(T,R){super(),this._nextAnimationId=0,this._renderer=T.createRenderer(R.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(T){const R=this._nextAnimationId.toString();this._nextAnimationId++;const J=Array.isArray(T)?(0,y.vP)(T):T;return Ct(this._renderer,null,R,"register",[J]),new S(R,this._renderer)}}return Z.\u0275fac=function(T){return new(T||Z)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(k.DOCUMENT))},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})();class S extends y.LC{constructor(E,T){super(),this._id=E,this._renderer=T}create(E,T){return new ce(this._id,E,T||{},this._renderer)}}class ce{constructor(E,T,R,J){this.id=E,this.element=T,this._renderer=J,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",R)}_listen(E,T){return this._renderer.listen(this.element,`@@${this.id}:${E}`,T)}_command(E,...T){return Ct(this._renderer,this.element,this.id,E,T)}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,T;return null!==(T=null===(E=this._renderer.engine.players[+this.id])||void 0===E?void 0:E.getPosition())&&void 0!==T?T:0}}function Ct(Z,E,T,R,J){return Z.setProperty(E,`@@${T}:${R}`,J)}const jn="@.disabled";let Fn=(()=>{class Z{constructor(T,R,J){this.delegate=T,this.engine=R,this._zone=J,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),R.onRemovalComplete=(Se,nt)=>{const ot=null==nt?void 0:nt.parentNode(Se);ot&&nt.removeChild(ot,Se)}}createRenderer(T,R){const Se=this.delegate.createRenderer(T,R);if(!(T&&R&&R.data&&R.data.animation)){let Pt=this._rendererCache.get(Se);return Pt||(Pt=new li("",Se,this.engine),this._rendererCache.set(Se,Pt)),Pt}const nt=R.id,ot=R.id+"-"+this._currentId;this._currentId++,this.engine.register(ot,T);const pt=Pt=>{Array.isArray(Pt)?Pt.forEach(pt):this.engine.registerTrigger(nt,ot,T,Pt.name,Pt)};return R.data.animation.forEach(pt),new Rr(this,ot,Se,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(T,R,J){T>=0&&T<this._microtaskId?this._zone.run(()=>R(J)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Se=>{const[nt,ot]=Se;nt(ot)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([R,J]))}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 Z.\u0275fac=function(T){return new(T||Z)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(St),n.\u0275\u0275inject(n.NgZone))},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})();class li{constructor(E,T,R){this.namespaceId=E,this.delegate=T,this.engine=R,this.destroyNode=this.delegate.destroyNode?J=>T.destroyNode(J):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(E,T){return this.delegate.createElement(E,T)}createComment(E){return this.delegate.createComment(E)}createText(E){return this.delegate.createText(E)}appendChild(E,T){this.delegate.appendChild(E,T),this.engine.onInsert(this.namespaceId,T,E,!1)}insertBefore(E,T,R,J=!0){this.delegate.insertBefore(E,T,R),this.engine.onInsert(this.namespaceId,T,E,J)}removeChild(E,T,R){this.engine.onRemove(this.namespaceId,T,this.delegate,R)}selectRootElement(E,T){return this.delegate.selectRootElement(E,T)}parentNode(E){return this.delegate.parentNode(E)}nextSibling(E){return this.delegate.nextSibling(E)}setAttribute(E,T,R,J){this.delegate.setAttribute(E,T,R,J)}removeAttribute(E,T,R){this.delegate.removeAttribute(E,T,R)}addClass(E,T){this.delegate.addClass(E,T)}removeClass(E,T){this.delegate.removeClass(E,T)}setStyle(E,T,R,J){this.delegate.setStyle(E,T,R,J)}removeStyle(E,T,R){this.delegate.removeStyle(E,T,R)}setProperty(E,T,R){"@"==T.charAt(0)&&T==jn?this.disableAnimations(E,!!R):this.delegate.setProperty(E,T,R)}setValue(E,T){this.delegate.setValue(E,T)}listen(E,T,R){return this.delegate.listen(E,T,R)}disableAnimations(E,T){this.engine.disableAnimations(E,T)}}class Rr extends li{constructor(E,T,R,J){super(T,R,J),this.factory=E,this.namespaceId=T}setProperty(E,T,R){"@"==T.charAt(0)?"."==T.charAt(1)&&T==jn?this.disableAnimations(E,R=void 0===R||!!R):this.engine.process(this.namespaceId,E,T.slice(1),R):this.delegate.setProperty(E,T,R)}listen(E,T,R){if("@"==T.charAt(0)){const J=function Ur(Z){switch(Z){case"body":return document.body;case"document":return document;case"window":return window;default:return Z}}(E);let Se=T.slice(1),nt="";return"@"!=Se.charAt(0)&&([Se,nt]=function nr(Z){const E=Z.indexOf(".");return[Z.substring(0,E),Z.slice(E+1)]}(Se)),this.engine.listen(this.namespaceId,J,Se,nt,ot=>{this.factory.scheduleListenerCallback(ot._data||-1,R,ot)})}return this.delegate.listen(E,T,R)}}let Ls=(()=>{class Z extends St{constructor(T,R,J,Se){super(T.body,R,J)}ngOnDestroy(){this.flush()}}return Z.\u0275fac=function(T){return new(T||Z)(n.\u0275\u0275inject(k.DOCUMENT),n.\u0275\u0275inject(de),n.\u0275\u0275inject(Mi),n.\u0275\u0275inject(n.ApplicationRef))},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})();const Bs=[{provide:y._j,useClass:A},{provide:Mi,useFactory:function js(){return new Ar}},{provide:St,useClass:Ls},{provide:n.RendererFactory2,useFactory:function Ua(Z,E,T){return new Fn(Z,E,T)},deps:[h.\u0275DomRendererFactory2,St,n.NgZone]}],qr=[{provide:de,useFactory:()=>new Hi},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...Bs],eo=[{provide:de,useClass:ye},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...Bs];let Vs=(()=>{class Z{static withConfig(T){return{ngModule:Z,providers:T.disableAnimations?eo:qr}}}return Z.\u0275fac=function(T){return new(T||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({providers:qr,imports:[h.BrowserModule]}),Z})();function es(){return[...qr]}let za=(()=>{class Z{}return Z.\u0275fac=function(T){return new(T||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({providers:eo,imports:[h.BrowserModule]}),Z})();function $s(){return[...eo]}},2313:(H,o,a)=>{"use strict";a.r(o),a.d(o,{BrowserModule:()=>He,BrowserTransferStateModule:()=>B,By:()=>Me,DomSanitizer:()=>Ht,EVENT_MANAGER_PLUGINS:()=>C,EventManager:()=>M,HAMMER_GESTURE_CONFIG:()=>bt,HAMMER_LOADER:()=>q,HammerGestureConfig:()=>Oe,HammerModule:()=>Dt,Meta:()=>Ue,Title:()=>dt,TransferState:()=>ae,VERSION:()=>vn,bootstrapApplication:()=>ut,disableDebugTools:()=>rt,enableDebugTools:()=>Nt,makeStateKey:()=>_e,platformBrowser:()=>Be,provideProtractorTestingSupport:()=>je,\u0275BrowserDomAdapter:()=>u,\u0275BrowserGetTestability:()=>v,\u0275DomEventsPlugin:()=>G,\u0275DomRendererFactory2:()=>Ie,\u0275DomSanitizerImpl:()=>Xt,\u0275DomSharedStylesHost:()=>L,\u0275HammerGesturesPlugin:()=>at,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>We,\u0275KeyEventsPlugin:()=>ct,\u0275NAMESPACE_URIS:()=>$,\u0275SharedStylesHost:()=>P,\u0275TRANSITION_ID:()=>_,\u0275escapeHtml:()=>Ze,\u0275flattenStyles:()=>Ce,\u0275getDOM:()=>n.\u0275getDOM,\u0275initDomAdapter:()=>Te,\u0275shimContentAttribute:()=>Re,\u0275shimHostAttribute:()=>it});var n=a(9808),h=a(5e3);class y extends n.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends y{static makeCurrent(){(0,n.\u0275setRootDomAdapter)(new u)}onAndCancel(Ye,De,et){return Ye.addEventListener(De,et,!1),()=>{Ye.removeEventListener(De,et,!1)}}dispatchEvent(Ye,De){Ye.dispatchEvent(De)}remove(Ye){Ye.parentNode&&Ye.parentNode.removeChild(Ye)}createElement(Ye,De){return(De=De||this.getDefaultDocument()).createElement(Ye)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ye){return Ye.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ye){return Ye instanceof DocumentFragment}getGlobalEventTarget(Ye,De){return"window"===De?window:"document"===De?Ye:"body"===De?Ye.body:null}getBaseHref(Ye){const De=function c(){return r=r||document.querySelector("base"),r?r.getAttribute("href"):null}();return null==De?null:function p(Xe){d=d||document.createElement("a"),d.setAttribute("href",Xe);const Ye=d.pathname;return"/"===Ye.charAt(0)?Ye:`/${Ye}`}(De)}resetBaseElement(){r=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ye){return(0,n.\u0275parseCookieValue)(document.cookie,Ye)}}let d,r=null;const _=new h.InjectionToken("TRANSITION_ID"),b=[{provide:h.APP_INITIALIZER,useFactory:function f(Xe,Ye,De){return()=>{De.get(h.ApplicationInitStatus).donePromise.then(()=>{const et=(0,n.\u0275getDOM)(),lt=Ye.querySelectorAll(`style[ng-transition="${Xe}"]`);for(let It=0;It<lt.length;It++)et.remove(lt[It])})}},deps:[_,n.DOCUMENT,h.Injector],multi:!0}];class v{addToWindow(Ye){h.\u0275global.getAngularTestability=(et,lt=!0)=>{const It=Ye.findTestabilityInTree(et,lt);if(null==It)throw new Error("Could not find testability for element.");return It},h.\u0275global.getAllAngularTestabilities=()=>Ye.getAllTestabilities(),h.\u0275global.getAllAngularRootElements=()=>Ye.getAllRootElements(),h.\u0275global.frameworkStabilizers||(h.\u0275global.frameworkStabilizers=[]),h.\u0275global.frameworkStabilizers.push(et=>{const lt=h.\u0275global.getAllAngularTestabilities();let It=lt.length,Lt=!1;const Wt=function(_n){Lt=Lt||_n,It--,0==It&&et(Lt)};lt.forEach(function(_n){_n.whenStable(Wt)})})}findTestabilityInTree(Ye,De,et){if(null==De)return null;const lt=Ye.getTestability(De);return null!=lt?lt:et?(0,n.\u0275getDOM)().isShadowRoot(De)?this.findTestabilityInTree(Ye,De.host,!0):this.findTestabilityInTree(Ye,De.parentElement,!0):null}}let m=(()=>{class Xe{build(){return new XMLHttpRequest}}return Xe.\u0275fac=function(De){return new(De||Xe)},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})();const C=new h.InjectionToken("EventManagerPlugins");let M=(()=>{class Xe{constructor(De,et){this._zone=et,this._eventNameToPlugin=new Map,De.forEach(lt=>lt.manager=this),this._plugins=De.slice().reverse()}addEventListener(De,et,lt){return this._findPluginFor(et).addEventListener(De,et,lt)}addGlobalEventListener(De,et,lt){return this._findPluginFor(et).addGlobalEventListener(De,et,lt)}getZone(){return this._zone}_findPluginFor(De){const et=this._eventNameToPlugin.get(De);if(et)return et;const lt=this._plugins;for(let It=0;It<lt.length;It++){const Lt=lt[It];if(Lt.supports(De))return this._eventNameToPlugin.set(De,Lt),Lt}throw new Error(`No event manager plugin found for event ${De}`)}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(C),h.\u0275\u0275inject(h.NgZone))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})();class O{constructor(Ye){this._doc=Ye}addGlobalEventListener(Ye,De,et){const lt=(0,n.\u0275getDOM)().getGlobalEventTarget(this._doc,Ye);if(!lt)throw new Error(`Unsupported event target ${lt} for event ${De}`);return this.addEventListener(lt,De,et)}}let P=(()=>{class Xe{constructor(){this._stylesSet=new Set}addStyles(De){const et=new Set;De.forEach(lt=>{this._stylesSet.has(lt)||(this._stylesSet.add(lt),et.add(lt))}),this.onStylesAdded(et)}onStylesAdded(De){}getAllStyles(){return Array.from(this._stylesSet)}}return Xe.\u0275fac=function(De){return new(De||Xe)},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})(),L=(()=>{class Xe extends P{constructor(De){super(),this._doc=De,this._hostNodes=new Map,this._hostNodes.set(De.head,[])}_addStylesToHost(De,et,lt){De.forEach(It=>{const Lt=this._doc.createElement("style");Lt.textContent=It,lt.push(et.appendChild(Lt))})}addHost(De){const et=[];this._addStylesToHost(this._stylesSet,De,et),this._hostNodes.set(De,et)}removeHost(De){const et=this._hostNodes.get(De);et&&et.forEach(Q),this._hostNodes.delete(De)}onStylesAdded(De){this._hostNodes.forEach((et,lt)=>{this._addStylesToHost(De,lt,et)})}ngOnDestroy(){this._hostNodes.forEach(De=>De.forEach(Q))}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(n.DOCUMENT))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})();function Q(Xe){(0,n.\u0275getDOM)().remove(Xe)}const $={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},z=/%COMP%/g,X="%COMP%",re=`_nghost-${X}`,me=`_ngcontent-${X}`;function Re(Xe){return me.replace(z,Xe)}function it(Xe){return re.replace(z,Xe)}function Ce(Xe,Ye,De){for(let et=0;et<Ye.length;et++){let lt=Ye[et];Array.isArray(lt)?Ce(Xe,lt,De):(lt=lt.replace(z,Xe),De.push(lt))}return De}function xe(Xe){return Ye=>{if("__ngUnwrap__"===Ye)return Xe;!1===Xe(Ye)&&(Ye.preventDefault(),Ye.returnValue=!1)}}let Ie=(()=>{class Xe{constructor(De,et,lt){this.eventManager=De,this.sharedStylesHost=et,this.appId=lt,this.rendererByCompId=new Map,this.defaultRenderer=new ze(De)}createRenderer(De,et){if(!De||!et)return this.defaultRenderer;switch(et.encapsulation){case h.ViewEncapsulation.Emulated:{let lt=this.rendererByCompId.get(et.id);return lt||(lt=new W(this.eventManager,this.sharedStylesHost,et,this.appId),this.rendererByCompId.set(et.id,lt)),lt.applyToHost(De),lt}case 1:case h.ViewEncapsulation.ShadowDom:return new x(this.eventManager,this.sharedStylesHost,De,et);default:if(!this.rendererByCompId.has(et.id)){const lt=Ce(et.id,et.styles,[]);this.sharedStylesHost.addStyles(lt),this.rendererByCompId.set(et.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(M),h.\u0275\u0275inject(L),h.\u0275\u0275inject(h.APP_ID))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})();class ze{constructor(Ye){this.eventManager=Ye,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ye,De){return De?document.createElementNS($[De]||De,Ye):document.createElement(Ye)}createComment(Ye){return document.createComment(Ye)}createText(Ye){return document.createTextNode(Ye)}appendChild(Ye,De){(fe(Ye)?Ye.content:Ye).appendChild(De)}insertBefore(Ye,De,et){Ye&&(fe(Ye)?Ye.content:Ye).insertBefore(De,et)}removeChild(Ye,De){Ye&&Ye.removeChild(De)}selectRootElement(Ye,De){let et="string"==typeof Ye?document.querySelector(Ye):Ye;if(!et)throw new Error(`The selector "${Ye}" did not match any elements`);return De||(et.textContent=""),et}parentNode(Ye){return Ye.parentNode}nextSibling(Ye){return Ye.nextSibling}setAttribute(Ye,De,et,lt){if(lt){De=lt+":"+De;const It=$[lt];It?Ye.setAttributeNS(It,De,et):Ye.setAttribute(De,et)}else Ye.setAttribute(De,et)}removeAttribute(Ye,De,et){if(et){const lt=$[et];lt?Ye.removeAttributeNS(lt,De):Ye.removeAttribute(`${et}:${De}`)}else Ye.removeAttribute(De)}addClass(Ye,De){Ye.classList.add(De)}removeClass(Ye,De){Ye.classList.remove(De)}setStyle(Ye,De,et,lt){lt&(h.RendererStyleFlags2.DashCase|h.RendererStyleFlags2.Important)?Ye.style.setProperty(De,et,lt&h.RendererStyleFlags2.Important?"important":""):Ye.style[De]=et}removeStyle(Ye,De,et){et&h.RendererStyleFlags2.DashCase?Ye.style.removeProperty(De):Ye.style[De]=""}setProperty(Ye,De,et){Ye[De]=et}setValue(Ye,De){Ye.nodeValue=De}listen(Ye,De,et){return"string"==typeof Ye?this.eventManager.addGlobalEventListener(Ye,De,xe(et)):this.eventManager.addEventListener(Ye,De,xe(et))}}function fe(Xe){return"TEMPLATE"===Xe.tagName&&void 0!==Xe.content}class W extends ze{constructor(Ye,De,et,lt){super(Ye),this.component=et;const It=Ce(lt+"-"+et.id,et.styles,[]);De.addStyles(It),this.contentAttr=Re(lt+"-"+et.id),this.hostAttr=it(lt+"-"+et.id)}applyToHost(Ye){super.setAttribute(Ye,this.hostAttr,"")}createElement(Ye,De){const et=super.createElement(Ye,De);return super.setAttribute(et,this.contentAttr,""),et}}class x extends ze{constructor(Ye,De,et,lt){super(Ye),this.sharedStylesHost=De,this.hostEl=et,this.shadowRoot=et.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const It=Ce(lt.id,lt.styles,[]);for(let Lt=0;Lt<It.length;Lt++){const Wt=document.createElement("style");Wt.textContent=It[Lt],this.shadowRoot.appendChild(Wt)}}nodeOrShadowRoot(Ye){return Ye===this.hostEl?this.shadowRoot:Ye}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Ye,De){return super.appendChild(this.nodeOrShadowRoot(Ye),De)}insertBefore(Ye,De,et){return super.insertBefore(this.nodeOrShadowRoot(Ye),De,et)}removeChild(Ye,De){return super.removeChild(this.nodeOrShadowRoot(Ye),De)}parentNode(Ye){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ye)))}}let G=(()=>{class Xe extends O{constructor(De){super(De)}supports(De){return!0}addEventListener(De,et,lt){return De.addEventListener(et,lt,!1),()=>this.removeEventListener(De,et,lt)}removeEventListener(De,et,lt){return De.removeEventListener(et,lt)}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(n.DOCUMENT))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})();const K=["alt","control","meta","shift"],ve={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ge={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Le={alt:Xe=>Xe.altKey,control:Xe=>Xe.ctrlKey,meta:Xe=>Xe.metaKey,shift:Xe=>Xe.shiftKey};let ct=(()=>{class Xe extends O{constructor(De){super(De)}supports(De){return null!=Xe.parseEventName(De)}addEventListener(De,et,lt){const It=Xe.parseEventName(et),Lt=Xe.eventCallback(It.fullKey,lt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(De,It.domEventName,Lt))}static parseEventName(De){const et=De.toLowerCase().split("."),lt=et.shift();if(0===et.length||"keydown"!==lt&&"keyup"!==lt)return null;const It=Xe._normalizeKey(et.pop());let Lt="";if(K.forEach(_n=>{const gn=et.indexOf(_n);gn>-1&&(et.splice(gn,1),Lt+=_n+".")}),Lt+=It,0!=et.length||0===It.length)return null;const Wt={};return Wt.domEventName=lt,Wt.fullKey=Lt,Wt}static getEventFullKey(De){let et="",lt=function ft(Xe){let Ye=Xe.key;if(null==Ye){if(Ye=Xe.keyIdentifier,null==Ye)return"Unidentified";Ye.startsWith("U+")&&(Ye=String.fromCharCode(parseInt(Ye.substring(2),16)),3===Xe.location&&ge.hasOwnProperty(Ye)&&(Ye=ge[Ye]))}return ve[Ye]||Ye}(De);return lt=lt.toLowerCase()," "===lt?lt="space":"."===lt&&(lt="dot"),K.forEach(It=>{It!=lt&&(0,Le[It])(De)&&(et+=It+".")}),et+=lt,et}static eventCallback(De,et,lt){return It=>{Xe.getEventFullKey(It)===De&&lt.runGuarded(()=>et(It))}}static _normalizeKey(De){return"esc"===De?"escape":De}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(n.DOCUMENT))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})();function ut(Xe,Ye){var De;return(0,h.\u0275internalBootstrapApplication)({rootComponent:Xe,appProviders:[...we,...null!==(De=null==Ye?void 0:Ye.providers)&&void 0!==De?De:[]],platformProviders:We})}function je(){return[...Y]}function Te(){u.makeCurrent()}const We=[{provide:h.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:Te,multi:!0},{provide:n.DOCUMENT,useFactory:function pe(){return(0,h.\u0275setDocument)(document),document},deps:[]}],Be=(0,h.createPlatformFactory)(h.platformCore,"browser",We),Ke=new h.InjectionToken(""),Y=[{provide:h.\u0275TESTABILITY_GETTER,useClass:v,deps:[]},{provide:h.\u0275TESTABILITY,useClass:h.Testability,deps:[h.NgZone,h.TestabilityRegistry,h.\u0275TESTABILITY_GETTER]},{provide:h.Testability,useClass:h.Testability,deps:[h.NgZone,h.TestabilityRegistry,h.\u0275TESTABILITY_GETTER]}],we=[{provide:h.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:h.ErrorHandler,useFactory:function Fe(){return new h.ErrorHandler},deps:[]},{provide:C,useClass:G,multi:!0,deps:[n.DOCUMENT,h.NgZone,h.PLATFORM_ID]},{provide:C,useClass:ct,multi:!0,deps:[n.DOCUMENT]},{provide:Ie,useClass:Ie,deps:[M,L,h.APP_ID]},{provide:h.RendererFactory2,useExisting:Ie},{provide:P,useExisting:L},{provide:L,useClass:L,deps:[n.DOCUMENT]},{provide:M,useClass:M,deps:[C,h.NgZone]},{provide:n.XhrFactory,useClass:m,deps:[]},[]];let He=(()=>{class Xe{constructor(De){}static withServerTransition(De){return{ngModule:Xe,providers:[{provide:h.APP_ID,useValue:De.appId},{provide:_,useExisting:h.APP_ID},b]}}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(Ke,12))},Xe.\u0275mod=h.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=h.\u0275\u0275defineInjector({providers:[...we,...Y],imports:[n.CommonModule,h.ApplicationModule]}),Xe})(),Ue=(()=>{class Xe{constructor(De){this._doc=De,this._dom=(0,n.\u0275getDOM)()}addTag(De,et=!1){return De?this._getOrCreateElement(De,et):null}addTags(De,et=!1){return De?De.reduce((lt,It)=>(It&&lt.push(this._getOrCreateElement(It,et)),lt),[]):[]}getTag(De){return De&&this._doc.querySelector(`meta[${De}]`)||null}getTags(De){if(!De)return[];const et=this._doc.querySelectorAll(`meta[${De}]`);return et?[].slice.call(et):[]}updateTag(De,et){if(!De)return null;et=et||this._parseSelector(De);const lt=this.getTag(et);return lt?this._setMetaElementAttributes(De,lt):this._getOrCreateElement(De,!0)}removeTag(De){this.removeTagElement(this.getTag(De))}removeTagElement(De){De&&this._dom.remove(De)}_getOrCreateElement(De,et=!1){if(!et){const Lt=this._parseSelector(De),Wt=this.getTags(Lt).filter(_n=>this._containsAttributes(De,_n))[0];if(void 0!==Wt)return Wt}const lt=this._dom.createElement("meta");return this._setMetaElementAttributes(De,lt),this._doc.getElementsByTagName("head")[0].appendChild(lt),lt}_setMetaElementAttributes(De,et){return Object.keys(De).forEach(lt=>et.setAttribute(this._getMetaKeyMap(lt),De[lt])),et}_parseSelector(De){const et=De.name?"name":"property";return`${et}="${De[et]}"`}_containsAttributes(De,et){return Object.keys(De).every(lt=>et.getAttribute(this._getMetaKeyMap(lt))===De[lt])}_getMetaKeyMap(De){return be[De]||De}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(n.DOCUMENT))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:function(De){let et=null;return et=De?new De:function Ve(){return new Ue((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),et},providedIn:"root"}),Xe})();const be={httpEquiv:"http-equiv"};let dt=(()=>{class Xe{constructor(De){this._doc=De}getTitle(){return this._doc.title}setTitle(De){this._doc.title=De||""}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(n.DOCUMENT))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:function(De){let et=null;return et=De?new De:function $e(){return new dt((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),et},providedIn:"root"}),Xe})();function ke(Xe,Ye){"undefined"!=typeof COMPILED&&COMPILED||((h.\u0275global.ng=h.\u0275global.ng||{})[Xe]=Ye)}const tt="undefined"!=typeof window&&window||{};class vt{constructor(Ye,De){this.msPerTick=Ye,this.numTicks=De}}class Ft{constructor(Ye){this.appRef=Ye.injector.get(h.ApplicationRef)}timeChangeDetection(Ye){const De=Ye&&Ye.record,et="Change Detection",lt=null!=tt.console.profile;De&&lt&&tt.console.profile(et);const It=At();let Lt=0;for(;Lt<5||At()-It<500;)this.appRef.tick(),Lt++;const Wt=At();De&&lt&&tt.console.profileEnd(et);const _n=(Wt-It)/Lt;return tt.console.log(`ran ${Lt} change detection cycles`),tt.console.log(`${_n.toFixed(2)} ms per check`),new vt(_n,Lt)}}function At(){return tt.performance&&tt.performance.now?tt.performance.now():(new Date).getTime()}const Yt="profiler";function Nt(Xe){return ke(Yt,new Ft(Xe)),Xe}function rt(){ke(Yt,null)}function Ze(Xe){const Ye={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return Xe.replace(/[&"'<>]/g,De=>Ye[De])}function _e(Xe){return Xe}let ae=(()=>{class Xe{constructor(){this.store={},this.onSerializeCallbacks={}}get(De,et){return void 0!==this.store[De]?this.store[De]:et}set(De,et){this.store[De]=et}remove(De){delete this.store[De]}hasKey(De){return this.store.hasOwnProperty(De)}onSerialize(De,et){this.onSerializeCallbacks[De]=et}toJson(){for(const De in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(De))try{this.store[De]=this.onSerializeCallbacks[De]()}catch(et){console.warn("Exception in onSerialize callback: ",et)}return JSON.stringify(this.store)}}return Xe.\u0275fac=function(De){return new(De||Xe)},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:function(){return(()=>{const Ye=(0,h.inject)(n.DOCUMENT),De=(0,h.inject)(h.APP_ID),et=new Xe;return et.store=function le(Xe,Ye){const De=Xe.getElementById(Ye+"-state");let et={};if(De&&De.textContent)try{et=JSON.parse(function Ee(Xe){const Ye={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Xe.replace(/&[^;]+;/g,De=>Ye[De])}(De.textContent))}catch(lt){console.warn("Exception while restoring TransferState for app "+Ye,lt)}return et}(Ye,De),et})()},providedIn:"root"}),Xe})(),B=(()=>{class Xe{}return Xe.\u0275fac=function(De){return new(De||Xe)},Xe.\u0275mod=h.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=h.\u0275\u0275defineInjector({}),Xe})();class Me{static all(){return()=>!0}static css(Ye){return De=>null!=De.nativeElement&&function yt(Xe,Ye){return!!(0,n.\u0275getDOM)().isElementNode(Xe)&&(Xe.matches&&Xe.matches(Ye)||Xe.msMatchesSelector&&Xe.msMatchesSelector(Ye)||Xe.webkitMatchesSelector&&Xe.webkitMatchesSelector(Ye))}(De.nativeElement,Ye)}static directive(Ye){return De=>-1!==De.providerTokens.indexOf(Ye)}}const Ge={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},bt=new h.InjectionToken("HammerGestureConfig"),q=new h.InjectionToken("HammerLoader");let Oe=(()=>{class Xe{constructor(){this.events=[],this.overrides={}}buildHammer(De){const et=new Hammer(De,this.options);et.get("pinch").set({enable:!0}),et.get("rotate").set({enable:!0});for(const lt in this.overrides)et.get(lt).set(this.overrides[lt]);return et}}return Xe.\u0275fac=function(De){return new(De||Xe)},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})(),at=(()=>{class Xe extends O{constructor(De,et,lt,It){super(De),this._config=et,this.console=lt,this.loader=It,this._loaderPromise=null}supports(De){return!(!Ge.hasOwnProperty(De.toLowerCase())&&!this.isCustomEvent(De)||!window.Hammer&&!this.loader)}addEventListener(De,et,lt){const It=this.manager.getZone();if(et=et.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||It.runOutsideAngular(()=>this.loader());let Lt=!1,Wt=()=>{Lt=!0};return It.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Lt||(Wt=this.addEventListener(De,et,lt)):Wt=()=>{}}).catch(()=>{Wt=()=>{}})),()=>{Wt()}}return It.runOutsideAngular(()=>{const Lt=this._config.buildHammer(De),Wt=function(_n){It.runGuarded(function(){lt(_n)})};return Lt.on(et,Wt),()=>{Lt.off(et,Wt),"function"==typeof Lt.destroy&&Lt.destroy()}})}isCustomEvent(De){return this._config.events.indexOf(De)>-1}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(bt),h.\u0275\u0275inject(h.\u0275Console),h.\u0275\u0275inject(q,8))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})(),Dt=(()=>{class Xe{}return Xe.\u0275fac=function(De){return new(De||Xe)},Xe.\u0275mod=h.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:C,useClass:at,multi:!0,deps:[n.DOCUMENT,bt,h.\u0275Console,[new h.Optional,q]]},{provide:bt,useClass:Oe,deps:[]}]}),Xe})(),Ht=(()=>{class Xe{}return Xe.\u0275fac=function(De){return new(De||Xe)},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:function(De){let et=null;return et=De?new(De||Xe):h.\u0275\u0275inject(Xt),et},providedIn:"root"}),Xe})(),Xt=(()=>{class Xe extends Ht{constructor(De){super(),this._doc=De}sanitize(De,et){if(null==et)return null;switch(De){case h.SecurityContext.NONE:return et;case h.SecurityContext.HTML:return(0,h.\u0275allowSanitizationBypassAndThrow)(et,"HTML")?(0,h.\u0275unwrapSafeValue)(et):(0,h.\u0275_sanitizeHtml)(this._doc,String(et)).toString();case h.SecurityContext.STYLE:return(0,h.\u0275allowSanitizationBypassAndThrow)(et,"Style")?(0,h.\u0275unwrapSafeValue)(et):et;case h.SecurityContext.SCRIPT:if((0,h.\u0275allowSanitizationBypassAndThrow)(et,"Script"))return(0,h.\u0275unwrapSafeValue)(et);throw new Error("unsafe value used in a script context");case h.SecurityContext.URL:return(0,h.\u0275allowSanitizationBypassAndThrow)(et,"URL")?(0,h.\u0275unwrapSafeValue)(et):(0,h.\u0275_sanitizeUrl)(String(et));case h.SecurityContext.RESOURCE_URL:if((0,h.\u0275allowSanitizationBypassAndThrow)(et,"ResourceURL"))return(0,h.\u0275unwrapSafeValue)(et);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${De} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(De){return(0,h.\u0275bypassSanitizationTrustHtml)(De)}bypassSecurityTrustStyle(De){return(0,h.\u0275bypassSanitizationTrustStyle)(De)}bypassSecurityTrustScript(De){return(0,h.\u0275bypassSanitizationTrustScript)(De)}bypassSecurityTrustUrl(De){return(0,h.\u0275bypassSanitizationTrustUrl)(De)}bypassSecurityTrustResourceUrl(De){return(0,h.\u0275bypassSanitizationTrustResourceUrl)(De)}}return Xe.\u0275fac=function(De){return new(De||Xe)(h.\u0275\u0275inject(n.DOCUMENT))},Xe.\u0275prov=h.\u0275\u0275defineInjectable({token:Xe,factory:function(De){let et=null;return et=De?new De:function rn(Xe){return new Xt(Xe.get(n.DOCUMENT))}(h.\u0275\u0275inject(h.Injector)),et},providedIn:"root"}),Xe})();const vn=new h.Version("14.1.3")},107:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MONACO_PATH:()=>v,MonacoDiffEditorComponent:()=>O,MonacoEditorComponent:()=>M,MonacoEditorLoaderDirective:()=>C,MonacoEditorLoaderService:()=>m,MonacoEditorModule:()=>P});var n=a(5e3),h=a(2722),y=a(9300),u=a(5698),r=a(1135),c=a(7579),d=a(7582),p=a(3075);const _=["editor"],f=["diffEditor"],v="MONACO_PATH";let m=(()=>{class L{constructor($,z){this.ngZone=$,this.monacoPathConfig=z,this.isMonacoLoaded$=new r.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?$.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath($){$&&(this._monacoPath=$)}loadMonaco(){const $=()=>{let re=this._monacoPath;window.amdRequire=window.require;const me=!!this.nodeRequire,Re=re.includes("http");me&&(window.require=this.nodeRequire,Re||(re=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:re}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},it=>console.error("Error loading monaco-editor: ",it))};if(window.amdRequire)return $();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const X=document.createElement("script");X.type="text/javascript",X.src=`${this._monacoPath}/loader.js`,X.addEventListener("load",$),document.body.appendChild(X)}addElectronFixScripts(){const $=document.createElement("script"),z=document.createTextNode("self.module = undefined;"),V=document.createTextNode("self.process.browser = true;");$.appendChild(z),$.appendChild(V),document.body.appendChild($)}}return L.\u0275fac=function($){return new($||L)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(v,8))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),C=(()=>{class L{constructor($,z,V){this.templateRef=$,this.viewContainer=z,this.monacoEditorLoaderService=V,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new c.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,h.R)(this.destroyed$)).subscribe($=>{if(!$)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return L.\u0275fac=function($){return new($||L)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(m))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngxLoadMonacoEditor",""]]}),L})(),M=(()=>{class L{constructor($){this.monacoLoader=$,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)($=>$),(0,u.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges($){if(this.editor&&$.options&&!$.options.firstChange){const z=$.options.currentValue,{language:V,theme:X}=z,re=(0,d.__rest)(z,["language","theme"]),{language:me,theme:Re}=$.options.previousValue;me!==V&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),Re!==X&&monaco.editor.setTheme(X),this.editor.updateOptions(re)}if(this.editor&&$.uri){const z=$.uri.currentValue,V=$.uri.previousValue;if(V&&!z||!V&&z||z&&V&&z.path!==V.path){const X=this.editor.getValue();let re;this.modelUriInstance&&this.modelUriInstance.dispose(),z&&(re=monaco.editor.getModels().find(me=>me.uri.path===z.path)),this.modelUriInstance=re||monaco.editor.createModel(X,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue($){this.value=$,this.editor&&$?this.editor.setValue($):this.editor&&this.editor.setValue("")}registerOnChange($){this.propagateChange=$}registerOnTouched($){this.onTouched=$}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange($){this.onErrorStatusChange=$}initEditor(){const $={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({},$),this.options):$),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const $=this.modelMarkers.map(({message:V})=>V).join("|");this.parsedError!==$&&(this.parsedError=$,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return L.\u0275fac=function($){return new($||L)(n.\u0275\u0275directiveInject(m))},L.\u0275cmp=n.\u0275\u0275defineComponent({type:L,selectors:[["ngx-monaco-editor"]],viewQuery:function($,z){if(1&$&&n.\u0275\u0275viewQuery(_,7),2&$){let V;n.\u0275\u0275queryRefresh(V=n.\u0275\u0275loadQuery())&&(z.editorContent=V.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[n.\u0275\u0275ProvidersFeature([{provide:p.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>L),multi:!0},{provide:p.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>L),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function($,z){1&$&&(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}),L})(),O=(()=>{class L{constructor($){this.monacoLoader=$,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,y.h)($=>$),(0,u.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges($){if(this.editor&&($.code&&!$.code.firstChange||$.modified&&!$.modified.firstChange)){const z=monaco.editor.createModel(this.modified),V=monaco.editor.createModel(this.original);this.editor.setModel({original:V,modified:z})}this.editor&&$.options&&!$.options.firstChange&&($.options.previousValue.theme!==$.options.currentValue.theme&&monaco.editor.setTheme($.options.currentValue.theme),this.editor.updateOptions($.options.currentValue))}initMonaco(){let $={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&($=Object.assign({},$,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,$);const z=monaco.editor.createModel(this.original),V=monaco.editor.createModel(this.modified);this.editor.setModel({original:z,modified:V}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return L.\u0275fac=function($){return new($||L)(n.\u0275\u0275directiveInject(m))},L.\u0275cmp=n.\u0275\u0275defineComponent({type:L,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function($,z){if(1&$&&n.\u0275\u0275viewQuery(f,7),2&$){let V;n.\u0275\u0275queryRefresh(V=n.\u0275\u0275loadQuery())&&(z.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($,z){1&$&&(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}),L})(),P=(()=>{class L{}return L.\u0275fac=function($){return new($||L)},L.\u0275mod=n.\u0275\u0275defineNgModule({type:L}),L.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),L})()},1430:(H,o,a)=>{"use strict";a.r(o),a.d(o,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>re,AngularSplitModule:()=>it,SplitAreaDirective:()=>Re,SplitComponent:()=>me});var n=a(5e3),h=a(9808),y=a(7579),u=a(8306),r=a(8372);const c=["gutterEls"];function d(Ce,xe){if(1&Ce){const oe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(ze){n.\u0275\u0275restoreView(oe);const qe=n.\u0275\u0275nextContext().index,te=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(te.startKeyboardDrag(ze,2*qe+1,qe+1))})("mousedown",function(ze){n.\u0275\u0275restoreView(oe);const qe=n.\u0275\u0275nextContext().index,te=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(te.startMouseDrag(ze,2*qe+1,qe+1))})("touchstart",function(ze){n.\u0275\u0275restoreView(oe);const qe=n.\u0275\u0275nextContext().index,te=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(te.startMouseDrag(ze,2*qe+1,qe+1))})("mouseup",function(ze){n.\u0275\u0275restoreView(oe);const qe=n.\u0275\u0275nextContext().index,te=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(te.clickGutter(ze,qe+1))})("touchend",function(ze){n.\u0275\u0275restoreView(oe);const qe=n.\u0275\u0275nextContext().index,te=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(te.clickGutter(ze,qe+1))}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&Ce){const oe=n.\u0275\u0275nextContext(),Ie=oe.index,ze=oe.$implicit,qe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",qe.gutterSize,"px")("order",2*Ie+1),n.\u0275\u0275attribute("aria-label",qe.gutterAriaLabel)("aria-orientation",qe.direction)("aria-valuemin",ze.minSize)("aria-valuemax",ze.maxSize)("aria-valuenow",ze.size)("aria-valuetext",qe.getAriaAreaSizeText(ze.size))}}function p(Ce,xe){1&Ce&&n.\u0275\u0275template(0,d,3,10,"div",1),2&Ce&&n.\u0275\u0275property("ngIf",!1===xe.last)}const _=["*"];function f(Ce){if(void 0!==Ce.changedTouches&&Ce.changedTouches.length>0)return{x:Ce.changedTouches[0].clientX,y:Ce.changedTouches[0].clientY};if(void 0!==Ce.clientX&&void 0!==Ce.clientY)return{x:Ce.clientX,y:Ce.clientY};if(void 0!==Ce.currentTarget){const xe=Ce.currentTarget;return{x:xe.offsetLeft,y:xe.offsetTop}}return null}function b(Ce,xe,oe){return Math.abs(Ce.x-xe.x)<=oe&&Math.abs(Ce.y-xe.y)<=oe}function m(Ce,xe){const oe=Ce.nativeElement.getBoundingClientRect();return"horizontal"===xe?oe.width:oe.height}function C(Ce){return"boolean"==typeof Ce?Ce:"false"!==Ce}function M(Ce,xe){return null==Ce?xe:(Ce=Number(Ce),!isNaN(Ce)&&Ce>=0?Ce:xe)}function O(Ce,xe){if("percent"===Ce){const oe=xe.reduce((Ie,ze)=>null!==ze?Ie+ze:Ie,0);return xe.every(Ie=>null!==Ie)&&oe>99.9&&oe<100.1}if("pixel"===Ce)return 1===xe.filter(oe=>null===oe).length}function P(Ce){return null===Ce.size?null:!0===Ce.component.lockSize?Ce.size:null===Ce.component.minSize?null:Ce.component.minSize>Ce.size?Ce.size:Ce.component.minSize}function L(Ce){return null===Ce.size?null:!0===Ce.component.lockSize?Ce.size:null===Ce.component.maxSize?null:Ce.component.maxSize<Ce.size?Ce.size:Ce.component.maxSize}function Q(Ce,xe,oe,Ie){return xe.reduce((ze,qe)=>{const te=function $(Ce,xe,oe,Ie){return 0===oe?{areaSnapshot:xe,pixelAbsorb:0,percentAfterAbsorption:xe.sizePercentAtStart,pixelRemain:0}:0===xe.sizePixelAtStart&&oe<0?{areaSnapshot:xe,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:oe}:"percent"===Ce?function z(Ce,xe,oe){const ze=(Ce.sizePixelAtStart+xe)/oe*100;if(xe>0){if(null!==Ce.area.maxSize&&ze>Ce.area.maxSize){const qe=Ce.area.maxSize/100*oe;return{areaSnapshot:Ce,pixelAbsorb:qe,percentAfterAbsorption:Ce.area.maxSize,pixelRemain:Ce.sizePixelAtStart+xe-qe}}return{areaSnapshot:Ce,pixelAbsorb:xe,percentAfterAbsorption:ze>100?100:ze,pixelRemain:0}}if(xe<0){if(null!==Ce.area.minSize&&ze<Ce.area.minSize){const qe=Ce.area.minSize/100*oe;return{areaSnapshot:Ce,pixelAbsorb:qe,percentAfterAbsorption:Ce.area.minSize,pixelRemain:Ce.sizePixelAtStart+xe-qe}}return ze<0?{areaSnapshot:Ce,pixelAbsorb:-Ce.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:xe+Ce.sizePixelAtStart}:{areaSnapshot:Ce,pixelAbsorb:xe,percentAfterAbsorption:ze,pixelRemain:0}}}(xe,oe,Ie):"pixel"===Ce?function V(Ce,xe,oe){const Ie=Ce.sizePixelAtStart+xe;return xe>0?null!==Ce.area.maxSize&&Ie>Ce.area.maxSize?{areaSnapshot:Ce,pixelAbsorb:Ce.area.maxSize-Ce.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Ie-Ce.area.maxSize}:{areaSnapshot:Ce,pixelAbsorb:xe,percentAfterAbsorption:-1,pixelRemain:0}:xe<0?null!==Ce.area.minSize&&Ie<Ce.area.minSize?{areaSnapshot:Ce,pixelAbsorb:Ce.area.minSize+xe-Ie,percentAfterAbsorption:-1,pixelRemain:Ie-Ce.area.minSize}:Ie<0?{areaSnapshot:Ce,pixelAbsorb:-Ce.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:xe+Ce.sizePixelAtStart}:{areaSnapshot:Ce,pixelAbsorb:xe,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(xe,oe):void 0}(Ce,qe,ze.remain,Ie);return ze.list.push(te),ze.remain=te.pixelRemain,ze},{remain:oe,list:[]})}function X(Ce,xe){"percent"===Ce?xe.areaSnapshot.area.size=xe.percentAfterAbsorption:"pixel"===Ce&&null!==xe.areaSnapshot.area.size&&(xe.areaSnapshot.area.size=xe.areaSnapshot.sizePixelAtStart+xe.pixelAbsorb)}const re=new n.InjectionToken("angular-split-global-config");let me=(()=>{class Ce{constructor(oe,Ie,ze,qe,te){this.ngZone=oe,this.elRef=Ie,this.cdRef=ze,this.renderer=qe,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=te?Object.assign(this._config,te):this._config,Object.keys(this._config).forEach(fe=>{this[fe]=this._config[fe]})}set direction(oe){this._direction="vertical"===oe?"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(oe){this._unit="pixel"===oe?"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(oe){this._gutterSize=M(oe,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(oe){this._gutterStep=M(oe,1)}get gutterStep(){return this._gutterStep}set restrictMove(oe){this._restrictMove=C(oe)}get restrictMove(){return this._restrictMove}set useTransition(oe){this._useTransition=C(oe),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(oe){this._disabled=C(oe),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(oe){this._dir="rtl"===oe?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(oe){this._gutterDblClickDuration=M(oe,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new u.y(oe=>this.transitionEndSubscriber=oe).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(oe){const Ie={component:oe,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===oe.visible?(this.displayedAreas.push(Ie),this.build(!0,!0)):this.hiddenAreas.push(Ie)}removeArea(oe){if(this.displayedAreas.some(Ie=>Ie.component===oe)){const Ie=this.displayedAreas.find(ze=>ze.component===oe);this.displayedAreas.splice(this.displayedAreas.indexOf(Ie),1),this.build(!0,!0)}else if(this.hiddenAreas.some(Ie=>Ie.component===oe)){const Ie=this.hiddenAreas.find(ze=>ze.component===oe);this.hiddenAreas.splice(this.hiddenAreas.indexOf(Ie),1)}}updateArea(oe,Ie,ze){!0===oe.visible&&this.build(Ie,ze)}showArea(oe){const Ie=this.hiddenAreas.find(qe=>qe.component===oe);if(void 0===Ie)return;const ze=this.hiddenAreas.splice(this.hiddenAreas.indexOf(Ie),1);this.displayedAreas.push(...ze),this.build(!0,!0)}hideArea(oe){const Ie=this.displayedAreas.find(qe=>qe.component===oe);if(void 0===Ie)return;const ze=this.displayedAreas.splice(this.displayedAreas.indexOf(Ie),1);ze.forEach(qe=>{qe.order=0,qe.size=0}),this.hiddenAreas.push(...ze),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(oe=>null===oe.size?"*":oe.size)}setVisibleAreaSizes(oe){if(oe.length!==this.displayedAreas.length)return!1;const Ie=oe.map(qe=>M(qe,null));return!1!==O(this.unit,Ie)&&(this.displayedAreas.forEach((qe,te)=>qe.component._size=Ie[te]),this.build(!1,!0),!0)}build(oe,Ie){if(this.stopDragging(),!0===oe&&(this.displayedAreas.every(ze=>null!==ze.component.order)&&this.displayedAreas.sort((ze,qe)=>ze.component.order-qe.component.order),this.displayedAreas.forEach((ze,qe)=>{ze.order=2*qe,ze.component.setStyleOrder(ze.order)})),!0===Ie){const ze=O(this.unit,this.displayedAreas.map(qe=>qe.component.size));switch(this.unit){case"percent":{const qe=100/this.displayedAreas.length;this.displayedAreas.forEach(te=>{te.size=ze?te.component.size:qe,te.minSize=P(te),te.maxSize=L(te)});break}case"pixel":if(ze)this.displayedAreas.forEach(qe=>{qe.size=qe.component.size,qe.minSize=P(qe),qe.maxSize=L(qe)});else{const qe=this.displayedAreas.filter(te=>null===te.component.size);if(0===qe.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((te,fe)=>{te.size=0===fe?null:te.component.size,te.minSize=0===fe?null:P(te),te.maxSize=0===fe?null:L(te)});else if(qe.length>1){let te=!1;this.displayedAreas.forEach(fe=>{null===fe.component.size?!1===te?(fe.size=null,fe.minSize=null,fe.maxSize=null,te=!0):(fe.size=100,fe.minSize=null,fe.maxSize=null):(fe.size=fe.component.size,fe.minSize=P(fe),fe.maxSize=L(fe))})}}}}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 oe=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(Ie=>{Ie.component.setStyleFlex(0,0,`calc( ${Ie.size}% - ${Ie.size/100*oe}px )`,null!==Ie.minSize&&Ie.minSize===Ie.size,null!==Ie.maxSize&&Ie.maxSize===Ie.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(oe=>{null===oe.size?oe.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?oe.component.setStyleFlex(0,0,"100%",!1,!1):oe.component.setStyleFlex(0,0,`${oe.size}px`,null!==oe.minSize&&oe.minSize===oe.size,null!==oe.maxSize&&oe.maxSize===oe.size)})}clickGutter(oe,Ie){const ze=f(oe);this.startPoint&&b(this.startPoint,ze,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",Ie),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",Ie),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(oe,Ie,ze){if(!0===this.disabled||!0===this.isWaitingClear)return;const qe=function v(Ce,xe){if("horizontal"===xe)switch(Ce.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===xe)switch(Ce.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const oe=Ce.currentTarget,Ie="PageUp"===Ce.key||"PageDown"===Ce.key?500:50;let ze=oe.offsetLeft,qe=oe.offsetTop;switch(Ce.key){case"ArrowLeft":ze-=Ie;break;case"ArrowRight":ze+=Ie;break;case"ArrowUp":qe-=Ie;break;case"ArrowDown":qe+=Ie;break;case"PageUp":"vertical"===xe?qe-=Ie:ze+=Ie;break;case"PageDown":"vertical"===xe?qe+=Ie:ze-=Ie;break;default:return null}return{x:ze,y:qe}}(oe,this.direction);null!==qe&&(this.endPoint=qe,this.startPoint=f(oe),oe.preventDefault(),oe.stopPropagation(),this.setupForDragEvent(Ie,ze),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(oe,Ie,ze){oe.preventDefault(),oe.stopPropagation(),this.startPoint=f(oe),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(Ie,ze),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(oe,Ie){this.snapshot={gutterNum:Ie,lastSteppedOffset:0,allAreasSizePixel:m(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(ze=>{const qe={area:ze,sizePixelAtStart:m(ze.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?ze.size:-1};ze.order<oe?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[qe]:this.snapshot.areasBeforeGutter.unshift(qe):ze.order>oe&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[qe]):this.snapshot.areasAfterGutter.push(qe))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((ze,qe)=>ze+qe.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach(oe=>oe.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(oe){oe.preventDefault(),oe.stopPropagation();const Ie=f(oe);null!==this._clickTimeout&&!b(this.startPoint,Ie,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=f(oe),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 oe="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(oe=-oe);const Ie=Math.round(oe/this.gutterStep)*this.gutterStep;if(Ie===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=Ie;let ze=Q(this.unit,this.snapshot.areasBeforeGutter,-Ie,this.snapshot.allAreasSizePixel),qe=Q(this.unit,this.snapshot.areasAfterGutter,Ie,this.snapshot.allAreasSizePixel);if(0!==ze.remain&&0!==qe.remain?Math.abs(ze.remain)===Math.abs(qe.remain)||(Math.abs(ze.remain)>Math.abs(qe.remain)?qe=Q(this.unit,this.snapshot.areasAfterGutter,Ie+ze.remain,this.snapshot.allAreasSizePixel):ze=Q(this.unit,this.snapshot.areasBeforeGutter,-(Ie-qe.remain),this.snapshot.allAreasSizePixel)):0!==ze.remain?qe=Q(this.unit,this.snapshot.areasAfterGutter,Ie+ze.remain,this.snapshot.allAreasSizePixel):0!==qe.remain&&(ze=Q(this.unit,this.snapshot.areasBeforeGutter,-(Ie-qe.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const te=[...ze.list,...qe.list],fe=te.find(W=>0!==W.percentAfterAbsorption&&W.percentAfterAbsorption!==W.areaSnapshot.area.minSize&&W.percentAfterAbsorption!==W.areaSnapshot.area.maxSize);fe&&(fe.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-te.filter(W=>W!==fe).reduce((W,x)=>W+x.percentAfterAbsorption,0))}ze.list.forEach(te=>X(this.unit,te)),qe.list.forEach(te=>X(this.unit,te)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(oe){if(oe&&(oe.preventDefault(),oe.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(Ie=>Ie.component.unlockEvents());this.dragListeners.length>0;){const Ie=this.dragListeners.pop();Ie&&Ie()}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(oe,Ie){const ze=this.getVisibleAreaSizes();"start"===oe?this.dragStart.emit({gutterNum:Ie,sizes:ze}):"end"===oe?this.dragEnd.emit({gutterNum:Ie,sizes:ze}):"click"===oe?this.gutterClick.emit({gutterNum:Ie,sizes:ze}):"dblclick"===oe?this.gutterDblClick.emit({gutterNum:Ie,sizes:ze}):"transitionEnd"===oe?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(ze)):"progress"===oe&&this.dragProgressSubject.next({gutterNum:Ie,sizes:ze})}ngOnDestroy(){this.stopDragging()}collapseArea(oe,Ie,ze){const qe=this.displayedAreas.find(W=>W.component===oe);if(void 0===qe)return;const te="right"===ze?1:-1;qe.sizeBeforeCollapse||(qe.sizeBeforeCollapse=qe.size,qe.gutterBeforeCollapse=te),qe.size=Ie;const fe=this.gutterEls.find(W=>W.nativeElement.style.order===`${qe.order+te}`);fe&&this.renderer.addClass(fe.nativeElement,"as-split-gutter-collapsed"),this.updateArea(oe,!1,!1)}expandArea(oe){const Ie=this.displayedAreas.find(qe=>qe.component===oe);if(void 0===Ie||!Ie.sizeBeforeCollapse)return;Ie.size=Ie.sizeBeforeCollapse,Ie.sizeBeforeCollapse=null;const ze=this.gutterEls.find(qe=>qe.nativeElement.style.order===`${Ie.order+Ie.gutterBeforeCollapse}`);ze&&this.renderer.removeClass(ze.nativeElement,"as-split-gutter-collapsed"),this.updateArea(oe,!1,!1)}getAriaAreaSizeText(oe){return null===oe?null:oe.toFixed(0)+" "+this.unit}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(re,8))},Ce.\u0275cmp=n.\u0275\u0275defineComponent({type:Ce,selectors:[["as-split"]],viewQuery:function(oe,Ie){if(1&oe&&n.\u0275\u0275viewQuery(c,5),2&oe){let ze;n.\u0275\u0275queryRefresh(ze=n.\u0275\u0275loadQuery())&&(Ie.gutterEls=ze)}},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:_,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(oe,Ie){1&oe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,p,1,1,"ng-template",0)),2&oe&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",Ie.displayedAreas))},dependencies:[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(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.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}),Ce})(),Re=(()=>{class Ce{constructor(oe,Ie,ze,qe){this.ngZone=oe,this.elRef=Ie,this.renderer=ze,this.split=qe,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(oe){this._order=M(oe,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(oe){this._size=M(oe,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(oe){this._minSize=M(oe,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(oe){this._maxSize=M(oe,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(oe){this._lockSize=C(oe),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(oe){this._visible=C(oe),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",oe=>{"flex-basis"===oe.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(oe){this.renderer.setStyle(this.elRef.nativeElement,"order",oe)}setStyleFlex(oe,Ie,ze,qe,te){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",oe),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",Ie),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",ze),!0===qe?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===te?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 oe=this.lockListeners.pop();oe&&oe()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse(oe=0,Ie="right"){this.split.collapseArea(this,oe,Ie)}expand(){this.split.expandArea(this)}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(me))},Ce.\u0275dir=n.\u0275\u0275defineDirective({type:Ce,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),Ce})(),it=(()=>{class Ce{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:Ce,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:Ce,providers:[]}}}return Ce.\u0275fac=function(oe){return new(oe||Ce)},Ce.\u0275mod=n.\u0275\u0275defineNgModule({type:Ce}),Ce.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.CommonModule]}),Ce})()},1017:(H,o,a)=>{"use strict";a.r(o),a.d(o,{NgxJsonViewerComponent:()=>_,NgxJsonViewerModule:()=>f});var n=a(5e3),h=a(9808);function y(b,v){1&b&&n.\u0275\u0275element(0,"div",9)}function u(b,v){if(1&b&&(n.\u0275\u0275elementStart(0,"span",10),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&b){const m=n.\u0275\u0275nextContext().$implicit;n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(m.description)}}function r(b,v){if(1&b&&(n.\u0275\u0275elementStart(0,"section",11),n.\u0275\u0275element(1,"ngx-json-viewer",12),n.\u0275\u0275elementEnd()),2&b){const m=n.\u0275\u0275nextContext().$implicit,C=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275property("json",m.value)("expanded",C.expanded)("depth",C.depth)("_currentDepth",C._currentDepth+1)}}const c=function(b){return["segment",b]},d=function(b,v){return{"segment-main":!0,expandable:b,expanded:v}};function p(b,v){if(1&b){const m=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"section",2)(1,"section",3),n.\u0275\u0275listener("click",function(){const O=n.\u0275\u0275restoreView(m).$implicit,P=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(P.toggle(O))}),n.\u0275\u0275template(2,y,1,0,"div",4),n.\u0275\u0275elementStart(3,"span",5),n.\u0275\u0275text(4),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(5,"span",6),n.\u0275\u0275text(6,": "),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(7,u,2,1,"span",7),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(8,r,2,4,"section",8),n.\u0275\u0275elementEnd()}if(2&b){const m=v.$implicit,C=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction1(6,c,"segment-type-"+m.type)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction2(8,d,C.isExpandable(m),m.expanded)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",C.isExpandable(m)),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(m.key),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",!m.expanded||!C.isExpandable(m)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",m.expanded&&C.isExpandable(m))}}let _=(()=>{class b{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(m=>{this.segments.push(this.parseKeyValue(m,this.json[m]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(m){return"object"===m.type||"array"===m.type}toggle(m){this.isExpandable(m)&&(m.expanded=!m.expanded)}parseKeyValue(m,C){const M={key:m,value:C,type:void 0,description:""+C,expanded:this.isExpanded()};switch(typeof M.value){case"number":M.type="number";break;case"boolean":M.type="boolean";break;case"function":M.type="function";break;case"string":M.type="string",M.description='"'+M.value+'"';break;case"undefined":M.type="undefined",M.description="undefined";break;case"object":null===M.value?(M.type="null",M.description="null"):Array.isArray(M.value)?(M.type="array",M.description="Array["+M.value.length+"] "+JSON.stringify(M.value)):M.value instanceof Date?M.type="date":(M.type="object",M.description="Object "+JSON.stringify(M.value))}return M}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(m){const C=new WeakMap;return function M(O,P){let L,Q;return"object"!=typeof O||null===O||O instanceof Boolean||O instanceof Date||O instanceof Number||O instanceof RegExp||O instanceof String?O:(L=C.get(O),void 0!==L?{$ref:L}:(C.set(O,P),Array.isArray(O)?(Q=[],O.forEach(function($,z){Q[z]=M($,P+"["+z+"]")})):(Q={},Object.keys(O).forEach(function($){Q[$]=M(O[$],P+"["+JSON.stringify($)+"]")})),Q))}(m,"$")}}return b.\u0275fac=function(m){return new(m||b)},b.\u0275cmp=n.\u0275\u0275defineComponent({type:b,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[n.\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(m,C){1&m&&(n.\u0275\u0275elementStart(0,"section",0),n.\u0275\u0275template(1,p,9,11,"section",1),n.\u0275\u0275elementEnd()),2&m&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",C.segments))},dependencies:[h.NgClass,h.NgForOf,h.NgIf,b],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.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%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #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:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_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}']}),b})(),f=(()=>{class b{}return b.\u0275fac=function(m){return new(m||b)},b.\u0275mod=n.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.CommonModule]}),b})()},2290:(H,o,a)=>{"use strict";a.r(o),a.d(o,{BasePortalHost:()=>V,ComponentPortal:()=>z,DefaultGlobalConfig:()=>te,DefaultNoAnimationsGlobalConfig:()=>G,DefaultNoComponentGlobalConfig:()=>re,Overlay:()=>Ie,OverlayContainer:()=>oe,OverlayRef:()=>xe,TOAST_CONFIG:()=>me,Toast:()=>qe,ToastContainerDirective:()=>Q,ToastContainerModule:()=>$,ToastInjector:()=>it,ToastNoAnimation:()=>x,ToastNoAnimationModule:()=>K,ToastPackage:()=>X,ToastRef:()=>Re,ToastrComponentlessModule:()=>W,ToastrModule:()=>fe,ToastrService:()=>ze});var n=a(5e3),h=a(1777),y=a(7579),u=a(9808),r=a(2313);const c=["toast-component",""];function d(ne,ve){if(1&ne){const ge=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(ge);const ct=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(ct.remove())}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function p(ne,ve){if(1&ne&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&ne){const ge=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",ge.duplicatesCount+1,"]")}}function _(ne,ve){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 ge=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ge.options.titleClass),n.\u0275\u0275attribute("aria-label",ge.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ge.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ge.duplicatesCount)}}function f(ne,ve){if(1&ne&&n.\u0275\u0275element(0,"div",7),2&ne){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ge.options.messageClass),n.\u0275\u0275property("innerHTML",ge.message,n.\u0275\u0275sanitizeHtml)}}function b(ne,ve){if(1&ne&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ne){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ge.options.messageClass),n.\u0275\u0275attribute("aria-label",ge.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ge.message," ")}}function v(ne,ve){if(1&ne&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&ne){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",ge.width+"%")}}function m(ne,ve){if(1&ne){const ge=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(ge);const ct=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(ct.remove())}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function C(ne,ve){if(1&ne&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&ne){const ge=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",ge.duplicatesCount+1,"]")}}function M(ne,ve){if(1&ne&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,C,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&ne){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ge.options.titleClass),n.\u0275\u0275attribute("aria-label",ge.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ge.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ge.duplicatesCount)}}function O(ne,ve){if(1&ne&&n.\u0275\u0275element(0,"div",7),2&ne){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ge.options.messageClass),n.\u0275\u0275property("innerHTML",ge.message,n.\u0275\u0275sanitizeHtml)}}function P(ne,ve){if(1&ne&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ne){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(ge.options.messageClass),n.\u0275\u0275attribute("aria-label",ge.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ge.message," ")}}function L(ne,ve){if(1&ne&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&ne){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",ge.width+"%")}}let Q=(()=>{class ne{constructor(ge){this.el=ge}getContainerElement(){return this.el.nativeElement}}return ne.\u0275fac=function(ge){return new(ge||ne)(n.\u0275\u0275directiveInject(n.ElementRef))},ne.\u0275dir=n.\u0275\u0275defineDirective({type:ne,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),ne})(),$=(()=>{class ne{}return ne.\u0275fac=function(ge){return new(ge||ne)},ne.\u0275mod=n.\u0275\u0275defineNgModule({type:ne}),ne.\u0275inj=n.\u0275\u0275defineInjector({}),ne})();class z{constructor(ve,ge){this.component=ve,this.injector=ge}attach(ve,ge){return this._attachedHost=ve,ve.attach(this,ge)}detach(){const ve=this._attachedHost;if(ve)return this._attachedHost=void 0,ve.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(ve){this._attachedHost=ve}}class V{attach(ve,ge){return this._attachedPortal=ve,this.attachComponentPortal(ve,ge)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(ve){this._disposeFn=ve}}class X{constructor(ve,ge,Le,ct,ft,gt){this.toastId=ve,this.config=ge,this.message=Le,this.title=ct,this.toastType=ft,this.toastRef=gt,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(ve){this._onAction.next(ve)}onAction(){return this._onAction.asObservable()}}const re={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},me=new n.InjectionToken("ToastConfig");class Re{constructor(ve){this._overlayRef=ve,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(ve,ge){ve&&this._resetTimeout.next(),ge&&this._countDuplicate.next(++this.duplicatesCount)}}class it{constructor(ve,ge){this._toastPackage=ve,this._parentInjector=ge}get(ve,ge,Le){return ve===X?this._toastPackage:this._parentInjector.get(ve,ge,Le)}}class Ce extends V{constructor(ve,ge,Le){super(),this._hostDomElement=ve,this._componentFactoryResolver=ge,this._appRef=Le}attachComponentPortal(ve,ge){const Le=this._componentFactoryResolver.resolveComponentFactory(ve.component);let ct;return ct=Le.create(ve.injector),this._appRef.attachView(ct.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ct.hostView),ct.destroy()}),ge?this._hostDomElement.insertBefore(this._getComponentRootNode(ct),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ct)),ct}_getComponentRootNode(ve){return ve.hostView.rootNodes[0]}}class xe{constructor(ve){this._portalHost=ve}attach(ve,ge=!0){return this._portalHost.attach(ve,ge)}detach(){return this._portalHost.detach()}}let oe=(()=>{class ne{constructor(ge){this._document=ge}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ge=this._document.createElement("div");ge.classList.add("overlay-container"),ge.setAttribute("aria-live","polite"),this._document.body.appendChild(ge),this._containerElement=ge}}return ne.\u0275fac=function(ge){return new(ge||ne)(n.\u0275\u0275inject(u.DOCUMENT))},ne.\u0275prov=n.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),Ie=(()=>{class ne{constructor(ge,Le,ct,ft){this._overlayContainer=ge,this._componentFactoryResolver=Le,this._appRef=ct,this._document=ft,this._paneElements=new Map}create(ge,Le){return this._createOverlayRef(this.getPaneElement(ge,Le))}getPaneElement(ge="",Le){return this._paneElements.get(Le)||this._paneElements.set(Le,{}),this._paneElements.get(Le)[ge]||(this._paneElements.get(Le)[ge]=this._createPaneElement(ge,Le)),this._paneElements.get(Le)[ge]}_createPaneElement(ge,Le){const ct=this._document.createElement("div");return ct.id="toast-container",ct.classList.add(ge),ct.classList.add("toast-container"),Le?Le.getContainerElement().appendChild(ct):this._overlayContainer.getContainerElement().appendChild(ct),ct}_createPortalHost(ge){return new Ce(ge,this._componentFactoryResolver,this._appRef)}_createOverlayRef(ge){return new xe(this._createPortalHost(ge))}}return ne.\u0275fac=function(ge){return new(ge||ne)(n.\u0275\u0275inject(oe),n.\u0275\u0275inject(n.ComponentFactoryResolver),n.\u0275\u0275inject(n.ApplicationRef),n.\u0275\u0275inject(u.DOCUMENT))},ne.\u0275prov=n.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),ze=(()=>{class ne{constructor(ge,Le,ct,ft,gt){this.overlay=Le,this._injector=ct,this.sanitizer=ft,this.ngZone=gt,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},ge.default),ge.config),ge.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},ge.default.iconClasses),ge.config.iconClasses))}show(ge,Le,ct={},ft=""){return this._preBuildNotification(ft,ge,Le,this.applyConfig(ct))}success(ge,Le,ct={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",ge,Le,this.applyConfig(ct))}error(ge,Le,ct={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",ge,Le,this.applyConfig(ct))}info(ge,Le,ct={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",ge,Le,this.applyConfig(ct))}warning(ge,Le,ct={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",ge,Le,this.applyConfig(ct))}clear(ge){for(const Le of this.toasts)if(void 0!==ge){if(Le.toastId===ge)return void Le.toastRef.manualClose()}else Le.toastRef.manualClose()}remove(ge){const Le=this._findToast(ge);if(!Le||(Le.activeToast.toastRef.close(),this.toasts.splice(Le.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 ct=this.toasts[this.currentlyActive].toastRef;ct.isInactive()||(this.currentlyActive=this.currentlyActive+1,ct.activate())}return!0}findDuplicate(ge="",Le="",ct,ft){const{includeTitleDuplicates:gt}=this.toastrConfig;for(const ut of this.toasts){const je=gt&&ut.title===ge;if((!gt||je)&&ut.message===Le)return ut.toastRef.onDuplicate(ct,ft),ut}return null}applyConfig(ge={}){return Object.assign(Object.assign({},this.toastrConfig),ge)}_findToast(ge){for(let Le=0;Le<this.toasts.length;Le++)if(this.toasts[Le].toastId===ge)return{index:Le,activeToast:this.toasts[Le]};return null}_preBuildNotification(ge,Le,ct,ft){return ft.onActivateTick?this.ngZone.run(()=>this._buildNotification(ge,Le,ct,ft)):this._buildNotification(ge,Le,ct,ft)}_buildNotification(ge,Le,ct,ft){if(!ft.toastComponent)throw new Error("toastComponent required");const gt=this.findDuplicate(ct,Le,this.toastrConfig.resetTimeoutOnDuplicate&&ft.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ct||Le)&&this.toastrConfig.preventDuplicates&&null!==gt)return gt;this.previousToastMessage=Le;let ut=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(ut=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const je=this.overlay.create(ft.positionClass,this.overlayContainer);this.index=this.index+1;let Te=Le;Le&&ft.enableHtml&&(Te=this.sanitizer.sanitize(n.SecurityContext.HTML,Le));const Fe=new Re(je),pe=new X(this.index,ft,Te,ct,ge,Fe),We=new it(pe,this._injector),Be=new z(ft.toastComponent,We),Ke=je.attach(Be,this.toastrConfig.newestOnTop);Fe.componentInstance=Ke.instance;const Y={toastId:this.index,title:ct||"",message:Le||"",toastRef:Fe,onShown:Fe.afterActivate(),onHidden:Fe.afterClosed(),onTap:pe.onTap(),onAction:pe.onAction(),portal:Ke};return ut||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Y.toastRef.activate()})),this.toasts.push(Y),Y}}return ne.\u0275fac=function(ge){return new(ge||ne)(n.\u0275\u0275inject(me),n.\u0275\u0275inject(Ie),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})(),qe=(()=>{class ne{constructor(ge,Le,ct){this.toastrService=ge,this.toastPackage=Le,this.ngZone=ct,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Le.message,this.title=Le.title,this.options=Le.config,this.originalTimeout=Le.config.timeOut,this.toastClasses=`${Le.toastType} ${Le.config.toastClass}`,this.sub=Le.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Le.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Le.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Le.toastRef.countDuplicate().subscribe(ft=>{this.duplicatesCount=ft})}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 ge=(new Date).getTime();this.width=(this.hideTime-ge)/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(ge,Le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(ge),Le)):this.timeout=setTimeout(()=>ge(),Le)}outsideInterval(ge,Le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(ge),Le)):this.intervalId=setInterval(()=>ge(),Le)}runInsideAngular(ge){this.ngZone?this.ngZone.run(()=>ge()):ge()}}return ne.\u0275fac=function(ge){return new(ge||ne)(n.\u0275\u0275directiveInject(ze),n.\u0275\u0275directiveInject(X),n.\u0275\u0275directiveInject(n.NgZone))},ne.\u0275cmp=n.\u0275\u0275defineComponent({type:ne,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(ge,Le){1&ge&&n.\u0275\u0275listener("click",function(){return Le.tapToast()})("mouseenter",function(){return Le.stickAround()})("mouseleave",function(){return Le.delayedHideToast()}),2&ge&&(n.\u0275\u0275syntheticHostProperty("@flyInOut",Le.state),n.\u0275\u0275classMap(Le.toastClasses),n.\u0275\u0275styleProp("display",Le.displayStyle))},attrs:c,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",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(ge,Le){1&ge&&(n.\u0275\u0275template(0,d,3,0,"button",0),n.\u0275\u0275template(1,_,3,5,"div",1),n.\u0275\u0275template(2,f,1,3,"div",2),n.\u0275\u0275template(3,b,2,4,"div",3),n.\u0275\u0275template(4,v,2,2,"div",4)),2&ge&&(n.\u0275\u0275property("ngIf",Le.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.message&&Le.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.message&&!Le.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.options.progressBar))},dependencies:[u.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 te=Object.assign(Object.assign({},re),{toastComponent:qe});let fe=(()=>{class ne{static forRoot(ge={}){return{ngModule:ne,providers:[{provide:me,useValue:{default:te,config:ge}}]}}}return ne.\u0275fac=function(ge){return new(ge||ne)},ne.\u0275mod=n.\u0275\u0275defineNgModule({type:ne}),ne.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.CommonModule]]}),ne})(),W=(()=>{class ne{static forRoot(ge={}){return{ngModule:fe,providers:[{provide:me,useValue:{default:re,config:ge}}]}}}return ne.\u0275fac=function(ge){return new(ge||ne)},ne.\u0275mod=n.\u0275\u0275defineNgModule({type:ne}),ne.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.CommonModule]]}),ne})(),x=(()=>{class ne{constructor(ge,Le,ct){this.toastrService=ge,this.toastPackage=Le,this.appRef=ct,this.width=-1,this.toastClasses="",this.state="inactive",this.message=Le.message,this.title=Le.title,this.options=Le.config,this.originalTimeout=Le.config.timeOut,this.toastClasses=`${Le.toastType} ${Le.config.toastClass}`,this.sub=Le.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Le.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Le.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Le.toastRef.countDuplicate().subscribe(ft=>{this.duplicatesCount=ft})}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 ge=(new Date).getTime();this.width=(this.hideTime-ge)/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(ge){return new(ge||ne)(n.\u0275\u0275directiveInject(ze),n.\u0275\u0275directiveInject(X),n.\u0275\u0275directiveInject(n.ApplicationRef))},ne.\u0275cmp=n.\u0275\u0275defineComponent({type:ne,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(ge,Le){1&ge&&n.\u0275\u0275listener("click",function(){return Le.tapToast()})("mouseenter",function(){return Le.stickAround()})("mouseleave",function(){return Le.delayedHideToast()}),2&ge&&(n.\u0275\u0275classMap(Le.toastClasses),n.\u0275\u0275styleProp("display",Le.displayStyle))},attrs:c,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",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(ge,Le){1&ge&&(n.\u0275\u0275template(0,m,3,0,"button",0),n.\u0275\u0275template(1,M,3,5,"div",1),n.\u0275\u0275template(2,O,1,3,"div",2),n.\u0275\u0275template(3,P,2,4,"div",3),n.\u0275\u0275template(4,L,2,2,"div",4)),2&ge&&(n.\u0275\u0275property("ngIf",Le.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.message&&Le.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.message&&!Le.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Le.options.progressBar))},dependencies:[u.NgIf],encapsulation:2}),ne})();const G=Object.assign(Object.assign({},re),{toastComponent:x});let K=(()=>{class ne{static forRoot(ge={}){return{ngModule:ne,providers:[{provide:me,useValue:{default:G,config:ge}}]}}}return ne.\u0275fac=function(ge){return new(ge||ne)},ne.\u0275mod=n.\u0275\u0275defineNgModule({type:ne}),ne.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.CommonModule]]}),ne})()},7582:(H,o,a)=>{"use strict";a.r(o),a.d(o,{__addDisposableResource:()=>ze,__assign:()=>y,__asyncDelegator:()=>X,__asyncGenerator:()=>V,__asyncValues:()=>re,__await:()=>z,__awaiter:()=>v,__classPrivateFieldGet:()=>xe,__classPrivateFieldIn:()=>Ie,__classPrivateFieldSet:()=>oe,__createBinding:()=>C,__decorate:()=>r,__disposeResources:()=>te,__esDecorate:()=>d,__exportStar:()=>M,__extends:()=>h,__generator:()=>m,__importDefault:()=>Ce,__importStar:()=>it,__makeTemplateObject:()=>me,__metadata:()=>b,__param:()=>c,__propKey:()=>_,__read:()=>P,__rest:()=>u,__runInitializers:()=>p,__setFunctionName:()=>f,__spread:()=>L,__spreadArray:()=>$,__spreadArrays:()=>Q,__values:()=>O,default:()=>fe});var n=function(W,x){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,K){G.__proto__=K}||function(G,K){for(var ne in K)Object.prototype.hasOwnProperty.call(K,ne)&&(G[ne]=K[ne])})(W,x)};function h(W,x){if("function"!=typeof x&&null!==x)throw new TypeError("Class extends value "+String(x)+" is not a constructor or null");function G(){this.constructor=W}n(W,x),W.prototype=null===x?Object.create(x):(G.prototype=x.prototype,new G)}var y=function(){return y=Object.assign||function(x){for(var G,K=1,ne=arguments.length;K<ne;K++)for(var ve in G=arguments[K])Object.prototype.hasOwnProperty.call(G,ve)&&(x[ve]=G[ve]);return x},y.apply(this,arguments)};function u(W,x){var G={};for(var K in W)Object.prototype.hasOwnProperty.call(W,K)&&x.indexOf(K)<0&&(G[K]=W[K]);if(null!=W&&"function"==typeof Object.getOwnPropertySymbols){var ne=0;for(K=Object.getOwnPropertySymbols(W);ne<K.length;ne++)x.indexOf(K[ne])<0&&Object.prototype.propertyIsEnumerable.call(W,K[ne])&&(G[K[ne]]=W[K[ne]])}return G}function r(W,x,G,K){var ge,ne=arguments.length,ve=ne<3?x:null===K?K=Object.getOwnPropertyDescriptor(x,G):K;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ve=Reflect.decorate(W,x,G,K);else for(var Le=W.length-1;Le>=0;Le--)(ge=W[Le])&&(ve=(ne<3?ge(ve):ne>3?ge(x,G,ve):ge(x,G))||ve);return ne>3&&ve&&Object.defineProperty(x,G,ve),ve}function c(W,x){return function(G,K){x(G,K,W)}}function d(W,x,G,K,ne,ve){function ge(Be){if(void 0!==Be&&"function"!=typeof Be)throw new TypeError("Function expected");return Be}for(var ut,Le=K.kind,ct="getter"===Le?"get":"setter"===Le?"set":"value",ft=!x&&W?K.static?W:W.prototype:null,gt=x||(ft?Object.getOwnPropertyDescriptor(ft,K.name):{}),je=!1,Te=G.length-1;Te>=0;Te--){var Fe={};for(var pe in K)Fe[pe]="access"===pe?{}:K[pe];for(var pe in K.access)Fe.access[pe]=K.access[pe];Fe.addInitializer=function(Be){if(je)throw new TypeError("Cannot add initializers after decoration has completed");ve.push(ge(Be||null))};var We=(0,G[Te])("accessor"===Le?{get:gt.get,set:gt.set}:gt[ct],Fe);if("accessor"===Le){if(void 0===We)continue;if(null===We||"object"!=typeof We)throw new TypeError("Object expected");(ut=ge(We.get))&&(gt.get=ut),(ut=ge(We.set))&&(gt.set=ut),(ut=ge(We.init))&&ne.unshift(ut)}else(ut=ge(We))&&("field"===Le?ne.unshift(ut):gt[ct]=ut)}ft&&Object.defineProperty(ft,K.name,gt),je=!0}function p(W,x,G){for(var K=arguments.length>2,ne=0;ne<x.length;ne++)G=K?x[ne].call(W,G):x[ne].call(W);return K?G:void 0}function _(W){return"symbol"==typeof W?W:"".concat(W)}function f(W,x,G){return"symbol"==typeof x&&(x=x.description?"[".concat(x.description,"]"):""),Object.defineProperty(W,"name",{configurable:!0,value:G?"".concat(G," ",x):x})}function b(W,x){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(W,x)}function v(W,x,G,K){return new(G||(G=Promise))(function(ve,ge){function Le(gt){try{ft(K.next(gt))}catch(ut){ge(ut)}}function ct(gt){try{ft(K.throw(gt))}catch(ut){ge(ut)}}function ft(gt){gt.done?ve(gt.value):function ne(ve){return ve instanceof G?ve:new G(function(ge){ge(ve)})}(gt.value).then(Le,ct)}ft((K=K.apply(W,x||[])).next())})}function m(W,x){var K,ne,ve,ge,G={label:0,sent:function(){if(1&ve[0])throw ve[1];return ve[1]},trys:[],ops:[]};return ge={next:Le(0),throw:Le(1),return:Le(2)},"function"==typeof Symbol&&(ge[Symbol.iterator]=function(){return this}),ge;function Le(ft){return function(gt){return function ct(ft){if(K)throw new TypeError("Generator is already executing.");for(;ge&&(ge=0,ft[0]&&(G=0)),G;)try{if(K=1,ne&&(ve=2&ft[0]?ne.return:ft[0]?ne.throw||((ve=ne.return)&&ve.call(ne),0):ne.next)&&!(ve=ve.call(ne,ft[1])).done)return ve;switch(ne=0,ve&&(ft=[2&ft[0],ve.value]),ft[0]){case 0:case 1:ve=ft;break;case 4:return G.label++,{value:ft[1],done:!1};case 5:G.label++,ne=ft[1],ft=[0];continue;case 7:ft=G.ops.pop(),G.trys.pop();continue;default:if(!(ve=(ve=G.trys).length>0&&ve[ve.length-1])&&(6===ft[0]||2===ft[0])){G=0;continue}if(3===ft[0]&&(!ve||ft[1]>ve[0]&&ft[1]<ve[3])){G.label=ft[1];break}if(6===ft[0]&&G.label<ve[1]){G.label=ve[1],ve=ft;break}if(ve&&G.label<ve[2]){G.label=ve[2],G.ops.push(ft);break}ve[2]&&G.ops.pop(),G.trys.pop();continue}ft=x.call(W,G)}catch(gt){ft=[6,gt],ne=0}finally{K=ve=0}if(5&ft[0])throw ft[1];return{value:ft[0]?ft[1]:void 0,done:!0}}([ft,gt])}}}var C=Object.create?function(W,x,G,K){void 0===K&&(K=G);var ne=Object.getOwnPropertyDescriptor(x,G);(!ne||("get"in ne?!x.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return x[G]}}),Object.defineProperty(W,K,ne)}:function(W,x,G,K){void 0===K&&(K=G),W[K]=x[G]};function M(W,x){for(var G in W)"default"!==G&&!Object.prototype.hasOwnProperty.call(x,G)&&C(x,W,G)}function O(W){var x="function"==typeof Symbol&&Symbol.iterator,G=x&&W[x],K=0;if(G)return G.call(W);if(W&&"number"==typeof W.length)return{next:function(){return W&&K>=W.length&&(W=void 0),{value:W&&W[K++],done:!W}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")}function P(W,x){var G="function"==typeof Symbol&&W[Symbol.iterator];if(!G)return W;var ne,ge,K=G.call(W),ve=[];try{for(;(void 0===x||x-- >0)&&!(ne=K.next()).done;)ve.push(ne.value)}catch(Le){ge={error:Le}}finally{try{ne&&!ne.done&&(G=K.return)&&G.call(K)}finally{if(ge)throw ge.error}}return ve}function L(){for(var W=[],x=0;x<arguments.length;x++)W=W.concat(P(arguments[x]));return W}function Q(){for(var W=0,x=0,G=arguments.length;x<G;x++)W+=arguments[x].length;var K=Array(W),ne=0;for(x=0;x<G;x++)for(var ve=arguments[x],ge=0,Le=ve.length;ge<Le;ge++,ne++)K[ne]=ve[ge];return K}function $(W,x,G){if(G||2===arguments.length)for(var ve,K=0,ne=x.length;K<ne;K++)(ve||!(K in x))&&(ve||(ve=Array.prototype.slice.call(x,0,K)),ve[K]=x[K]);return W.concat(ve||Array.prototype.slice.call(x))}function z(W){return this instanceof z?(this.v=W,this):new z(W)}function V(W,x,G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,K=G.apply(W,x||[]),ve=[];return ne={},ge("next"),ge("throw"),ge("return"),ne[Symbol.asyncIterator]=function(){return this},ne;function ge(je){K[je]&&(ne[je]=function(Te){return new Promise(function(Fe,pe){ve.push([je,Te,Fe,pe])>1||Le(je,Te)})})}function Le(je,Te){try{!function ct(je){je.value instanceof z?Promise.resolve(je.value.v).then(ft,gt):ut(ve[0][2],je)}(K[je](Te))}catch(Fe){ut(ve[0][3],Fe)}}function ft(je){Le("next",je)}function gt(je){Le("throw",je)}function ut(je,Te){je(Te),ve.shift(),ve.length&&Le(ve[0][0],ve[0][1])}}function X(W){var x,G;return x={},K("next"),K("throw",function(ne){throw ne}),K("return"),x[Symbol.iterator]=function(){return this},x;function K(ne,ve){x[ne]=W[ne]?function(ge){return(G=!G)?{value:z(W[ne](ge)),done:!1}:ve?ve(ge):ge}:ve}}function re(W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,x=W[Symbol.asyncIterator];return x?x.call(W):(W=O(W),G={},K("next"),K("throw"),K("return"),G[Symbol.asyncIterator]=function(){return this},G);function K(ve){G[ve]=W[ve]&&function(ge){return new Promise(function(Le,ct){!function ne(ve,ge,Le,ct){Promise.resolve(ct).then(function(ft){ve({value:ft,done:Le})},ge)}(Le,ct,(ge=W[ve](ge)).done,ge.value)})}}}function me(W,x){return Object.defineProperty?Object.defineProperty(W,"raw",{value:x}):W.raw=x,W}var Re=Object.create?function(W,x){Object.defineProperty(W,"default",{enumerable:!0,value:x})}:function(W,x){W.default=x};function it(W){if(W&&W.__esModule)return W;var x={};if(null!=W)for(var G in W)"default"!==G&&Object.prototype.hasOwnProperty.call(W,G)&&C(x,W,G);return Re(x,W),x}function Ce(W){return W&&W.__esModule?W:{default:W}}function xe(W,x,G,K){if("a"===G&&!K)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof x?W!==x||!K:!x.has(W))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===G?K:"a"===G?K.call(W):K?K.value:x.get(W)}function oe(W,x,G,K,ne){if("m"===K)throw new TypeError("Private method is not writable");if("a"===K&&!ne)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof x?W!==x||!ne:!x.has(W))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===K?ne.call(W,G):ne?ne.value=G:x.set(W,G),G}function Ie(W,x){if(null===x||"object"!=typeof x&&"function"!=typeof x)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof W?x===W:W.has(x)}function ze(W,x,G){if(null!=x){if("object"!=typeof x)throw new TypeError("Object expected.");var K;if(G){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");K=x[Symbol.asyncDispose]}if(void 0===K){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");K=x[Symbol.dispose]}if("function"!=typeof K)throw new TypeError("Object not disposable.");W.stack.push({value:x,dispose:K,async:G})}else G&&W.stack.push({async:!0});return x}var qe="function"==typeof SuppressedError?SuppressedError:function(W,x,G){var K=new Error(G);return K.name="SuppressedError",K.error=W,K.suppressed=x,K};function te(W){function x(K){W.error=W.hasError?new qe(K,W.error,"An error was suppressed during disposal."):K,W.hasError=!0}return function G(){for(;W.stack.length;){var K=W.stack.pop();try{var ne=K.dispose&&K.dispose.call(K.value);if(K.async)return Promise.resolve(ne).then(G,function(ve){return x(ve),G()})}catch(ve){x(ve)}}if(W.hasError)throw W.error}()}const fe={__extends:h,__assign:y,__rest:u,__decorate:r,__param:c,__metadata:b,__awaiter:v,__generator:m,__createBinding:C,__exportStar:M,__values:O,__read:P,__spread:L,__spreadArrays:Q,__spreadArray:$,__await:z,__asyncGenerator:V,__asyncDelegator:X,__asyncValues:re,__makeTemplateObject:me,__importStar:it,__importDefault:Ce,__classPrivateFieldGet:xe,__classPrivateFieldSet:oe,__classPrivateFieldIn:Ie,__addDisposableResource:ze,__disposeResources:te}},4147:H=>{"use strict";H.exports=JSON.parse('{"name":"@sdkgen/playground","version":"0.0.0-dev.20230721152202","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":"~14.1.0","@angular/animations":"~14.1.0","@angular/cdk":"~14.1.0","@angular/cli":"~14.1.0","@angular/common":"~14.1.0","@angular/compiler":"~14.1.0","@angular/compiler-cli":"~14.1.0","@angular/core":"~14.1.0","@angular/forms":"~14.1.0","@angular/material":"~14.1.0","@angular/platform-browser":"~14.1.0","@angular/platform-browser-dynamic":"~14.1.0","@angular/router":"~14.1.0","@cubos/eslint-config":"^2.0.0","@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":"^14.0.0","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.33.0","ngx-json-viewer":"^3.0.2","ngx-toastr":"^14.3.0","rxjs":"~7.5.5","tslib":"^2.2.0","typescript":"~4.7.0","webpack-bundle-analyzer":"^4.5.0","zone.js":"~0.11.5"}}')}},H=>{H(H.s=4431)}]);