@sdkgen/playground 2.1.0 → 2.3.1
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.
- package/angular.json +4 -4
- package/dist/3rdpartylicenses.txt +31 -4
- package/dist/assets/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.de.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.es.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.fr.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.it.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.ja.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.ko.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.ru.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.zh-cn.js +8 -0
- package/dist/assets/vs/base/common/worker/simpleWorker.nls.zh-tw.js +8 -0
- package/dist/assets/vs/base/worker/workerMain.js +19 -14
- package/dist/assets/vs/basic-languages/abap/abap.js +3 -3
- package/dist/assets/vs/basic-languages/apex/apex.js +3 -3
- package/dist/assets/vs/basic-languages/azcli/azcli.js +3 -3
- package/dist/assets/vs/basic-languages/bat/bat.js +3 -3
- package/dist/assets/vs/basic-languages/bicep/bicep.js +4 -4
- package/dist/assets/vs/basic-languages/cameligo/cameligo.js +3 -3
- package/dist/assets/vs/basic-languages/clojure/clojure.js +3 -3
- package/dist/assets/vs/basic-languages/coffee/coffee.js +3 -3
- package/dist/assets/vs/basic-languages/cpp/cpp.js +3 -3
- package/dist/assets/vs/basic-languages/csharp/csharp.js +3 -3
- package/dist/assets/vs/basic-languages/csp/csp.js +3 -3
- package/dist/assets/vs/basic-languages/css/css.js +4 -4
- package/dist/assets/vs/basic-languages/cypher/cypher.js +10 -0
- package/dist/assets/vs/basic-languages/dart/dart.js +3 -3
- package/dist/assets/vs/basic-languages/dockerfile/dockerfile.js +3 -3
- package/dist/assets/vs/basic-languages/ecl/ecl.js +3 -3
- package/dist/assets/vs/basic-languages/elixir/elixir.js +3 -3
- package/dist/assets/vs/basic-languages/flow9/flow9.js +3 -3
- package/dist/assets/vs/basic-languages/freemarker2/freemarker2.js +3 -3
- package/dist/assets/vs/basic-languages/fsharp/fsharp.js +3 -3
- package/dist/assets/vs/basic-languages/go/go.js +3 -3
- package/dist/assets/vs/basic-languages/graphql/graphql.js +3 -3
- package/dist/assets/vs/basic-languages/handlebars/handlebars.js +3 -3
- package/dist/assets/vs/basic-languages/hcl/hcl.js +3 -3
- package/dist/assets/vs/basic-languages/html/html.js +3 -3
- package/dist/assets/vs/basic-languages/ini/ini.js +3 -3
- package/dist/assets/vs/basic-languages/java/java.js +3 -3
- package/dist/assets/vs/basic-languages/javascript/javascript.js +3 -3
- package/dist/assets/vs/basic-languages/julia/julia.js +3 -3
- package/dist/assets/vs/basic-languages/kotlin/kotlin.js +3 -3
- package/dist/assets/vs/basic-languages/less/less.js +4 -4
- package/dist/assets/vs/basic-languages/lexon/lexon.js +3 -3
- package/dist/assets/vs/basic-languages/liquid/liquid.js +3 -3
- package/dist/assets/vs/basic-languages/lua/lua.js +3 -3
- package/dist/assets/vs/basic-languages/m3/m3.js +3 -3
- package/dist/assets/vs/basic-languages/markdown/markdown.js +3 -3
- package/dist/assets/vs/basic-languages/mdx/mdx.js +10 -0
- package/dist/assets/vs/basic-languages/mips/mips.js +3 -3
- package/dist/assets/vs/basic-languages/msdax/msdax.js +3 -3
- package/dist/assets/vs/basic-languages/mysql/mysql.js +3 -3
- package/dist/assets/vs/basic-languages/objective-c/objective-c.js +3 -3
- package/dist/assets/vs/basic-languages/pascal/pascal.js +3 -3
- package/dist/assets/vs/basic-languages/pascaligo/pascaligo.js +3 -3
- package/dist/assets/vs/basic-languages/perl/perl.js +3 -3
- package/dist/assets/vs/basic-languages/pgsql/pgsql.js +3 -3
- package/dist/assets/vs/basic-languages/php/php.js +3 -3
- package/dist/assets/vs/basic-languages/pla/pla.js +3 -3
- package/dist/assets/vs/basic-languages/postiats/postiats.js +3 -3
- package/dist/assets/vs/basic-languages/powerquery/powerquery.js +3 -3
- package/dist/assets/vs/basic-languages/powershell/powershell.js +3 -3
- package/dist/assets/vs/basic-languages/protobuf/protobuf.js +4 -4
- package/dist/assets/vs/basic-languages/pug/pug.js +3 -3
- package/dist/assets/vs/basic-languages/python/python.js +3 -3
- package/dist/assets/vs/basic-languages/qsharp/qsharp.js +3 -3
- package/dist/assets/vs/basic-languages/r/r.js +3 -3
- package/dist/assets/vs/basic-languages/razor/razor.js +3 -3
- package/dist/assets/vs/basic-languages/redis/redis.js +3 -3
- package/dist/assets/vs/basic-languages/redshift/redshift.js +3 -3
- package/dist/assets/vs/basic-languages/restructuredtext/restructuredtext.js +3 -3
- package/dist/assets/vs/basic-languages/ruby/ruby.js +3 -3
- package/dist/assets/vs/basic-languages/rust/rust.js +3 -3
- package/dist/assets/vs/basic-languages/sb/sb.js +3 -3
- package/dist/assets/vs/basic-languages/scala/scala.js +3 -3
- package/dist/assets/vs/basic-languages/scheme/scheme.js +3 -3
- package/dist/assets/vs/basic-languages/scss/scss.js +4 -4
- package/dist/assets/vs/basic-languages/shell/shell.js +3 -3
- package/dist/assets/vs/basic-languages/solidity/solidity.js +3 -3
- package/dist/assets/vs/basic-languages/sophia/sophia.js +3 -3
- package/dist/assets/vs/basic-languages/sparql/sparql.js +3 -3
- package/dist/assets/vs/basic-languages/sql/sql.js +3 -3
- package/dist/assets/vs/basic-languages/st/st.js +3 -3
- package/dist/assets/vs/basic-languages/swift/swift.js +3 -3
- package/dist/assets/vs/basic-languages/systemverilog/systemverilog.js +3 -3
- package/dist/assets/vs/basic-languages/tcl/tcl.js +3 -3
- package/dist/assets/vs/basic-languages/twig/twig.js +3 -3
- package/dist/assets/vs/basic-languages/typescript/typescript.js +3 -3
- package/dist/assets/vs/basic-languages/vb/vb.js +3 -3
- package/dist/assets/vs/basic-languages/wgsl/wgsl.js +307 -0
- package/dist/assets/vs/basic-languages/xml/xml.js +3 -3
- package/dist/assets/vs/basic-languages/yaml/yaml.js +3 -3
- package/dist/assets/vs/editor/editor.main.css +2 -2
- package/dist/assets/vs/editor/editor.main.js +311 -358
- package/dist/assets/vs/editor/editor.main.nls.de.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.es.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.fr.js +6 -4
- package/dist/assets/vs/editor/editor.main.nls.it.js +6 -4
- package/dist/assets/vs/editor/editor.main.nls.ja.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.js +6 -4
- package/dist/assets/vs/editor/editor.main.nls.ko.js +6 -4
- package/dist/assets/vs/editor/editor.main.nls.ru.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.zh-cn.js +7 -5
- package/dist/assets/vs/editor/editor.main.nls.zh-tw.js +6 -4
- package/dist/assets/vs/language/css/cssMode.js +5 -5
- package/dist/assets/vs/language/css/cssWorker.js +46 -28
- package/dist/assets/vs/language/html/htmlMode.js +5 -5
- package/dist/assets/vs/language/html/htmlWorker.js +15 -15
- package/dist/assets/vs/language/json/jsonMode.js +7 -7
- package/dist/assets/vs/language/json/jsonWorker.js +14 -14
- package/dist/assets/vs/language/typescript/tsMode.js +10 -10
- package/dist/assets/vs/language/typescript/tsWorker.js +7609 -4563
- package/dist/assets/vs/loader.js +5 -5
- package/dist/index.html +10 -9
- package/dist/main.7dac5238eda4e77b.js +1 -0
- package/dist/polyfills.2deed7bc292b0032.js +1 -0
- package/dist/{runtime.0825e755d4f8b9f2.js → runtime.f0f049cf108c7905.js} +1 -1
- package/dist/styles.9f4ce55a5b1e052d.css +1 -0
- package/package.json +25 -25
- package/tsconfig.json +3 -2
- package/dist/main.86ecb3dfe4ed0786.js +0 -1
- package/dist/polyfills.3fda8322df04f1b3.js +0 -1
- package/dist/styles.7c84774591d5f735.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{7545:function(Z,o,a){"use strict";var y,n=this&&this.__extends||(y=function(b,v){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,O){w.__proto__=O}||function(w,O){for(var F in O)Object.prototype.hasOwnProperty.call(O,F)&&(w[F]=O[F])})(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 w(){this.constructor=b}y(b,v),b.prototype=null===v?Object.create(v):(w.prototype=v.prototype,new w)}),s=this&&this.__spreadArray||function(y,b,v){if(v||2===arguments.length)for(var F,w=0,O=b.length;w<O;w++)(F||!(w in b))&&(F||(F=Array.prototype.slice.call(b,0,w)),F[w]=b[w]);return y.concat(F||Array.prototype.slice.call(b))},p=this&&this.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(o,"__esModule",{value:!0}),o.decode=o.encode=void 0;var g=p(a(8848)),c=["string","email","phone","html","xml"],d=s(["json","bool","url","int","uint","float","money","hex","uuid","base64","void"],c,!0),u=function(y){function b(v,w,O){var F;try{F=JSON.stringify(O)}catch{F=String(O)}return y.call(this,"Invalid type at '".concat(v,"', expected ").concat(String(w),", got ").concat(F))||this}return n(b,y),b}(Error);function m(y,b,v){if("json"===b)return null==v?null:JSON.parse(JSON.stringify(v));if("bool"===b){if("boolean"!=typeof v)throw new u(y,b,v);return v}if(c.indexOf(b)>=0){if("string"!=typeof v)throw new u(y,b,v);return v}if("hex"===b){if("string"!=typeof v||!/^(?:[A-Fa-f0-9]{2})*$/u.test(v))throw new u(y,b,v);return v.toLowerCase()}if("uuid"===b){if("string"!=typeof v||!/^[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(v))throw new u(y,b,v);return v.toLowerCase()}if("base64"===b){var w=!0;try{atob(v)}catch{w=!1}if("string"!=typeof v||!w)throw new u(y,b,v);return v}if("int"===b){if("number"!=typeof v||(0|v)!==v)throw new u(y,b,v);return v}if("uint"===b){if("number"!=typeof v||(0|v)!==v||v<0)throw new u(y,b,v);return v}if("float"===b){if("number"!=typeof v)throw new u(y,b,v);return v}if("money"===b){if("number"!=typeof v||!Number.isInteger(v))throw new u(y,b,v);return v}if("url"===b){var O=void 0;if("string"==typeof v)try{O=new URL(v)}catch{}if(!O)throw new u(y,b,v);return O.toString()}if("void"===b)return null;throw new Error("Unknown type '".concat(b,"' at '").concat(y,"'"))}o.encode=function _(y,b,v,w){if("string"==typeof v&&!v.endsWith("?")&&"void"!==v&&null==w)throw new Error("Invalid type at '".concat(b,"', cannot be null"));if(Array.isArray(v)){for(var O=0,F=v;O<F.length;O++){var S=F[O];if(S===w)return w;if(Array.isArray(w)&&2===w.length&&S===w[0])return w[0];if(Array.isArray(S)&&2===S.length){if(S[0]===w)return[w,_(y,"".concat(b,".").concat(S[0]),S[1],{})];if(Array.isArray(w)&&2===w.length&&S[0]===w[0])return[w[0],_(y,"".concat(b,".").concat(S[0]),S[1],w[1])]}}throw new u(b,v,w)}if("object"==typeof v){if("object"!=typeof w)throw new u(b,v,w);for(var K={},V=0,ee=Object.keys(v);V<ee.length;V++){var W=ee[V];K[W]=_(y,"".concat(b,".").concat(W),v[W],w[W])}return K}if(v.endsWith("?"))return null==w?null:_(y,b,v.slice(0,v.length-1),w);if(v.endsWith("[]")){if(!Array.isArray(w))throw new u(b,v,w);return w.map(function(ie,te){return _(y,"".concat(b,"[").concat(te,"]"),v.slice(0,v.length-2),ie)})}if(d.indexOf(v)>=0)return m(b,v,w);if("bytes"===v){if(!(w instanceof ArrayBuffer))throw new u(b,v,w);return btoa(String.fromCharCode.apply(String,new Uint8Array(w)))}if("bigint"===v){if("bigint"!=typeof w)throw new u(b,v,w);return w.toString()}if("cpf"===v){if("string"!=typeof w)throw new u(b,v,w);return w}if("cnpj"===v){if("string"!=typeof w)throw new u(b,v,w);return w}if("date"===v){if((!(w instanceof Date)||isNaN(w.getTime()))&&("string"!=typeof w||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(w)))throw new u(b,v,w);var Y=w instanceof Date?w:new Date(w);return"".concat(Y.getFullYear().toString().padStart(4,"0"),"-").concat((Y.getMonth()+1).toString().padStart(2,"0"),"-").concat(Y.getDate().toString().padStart(2,"0"))}if("datetime"===v){if((!(w instanceof Date)||isNaN(w.getTime()))&&("string"!=typeof w||!/^[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(w)))throw new u(b,v,w);return("string"==typeof w?new Date(w):w).toISOString().replace("Z","")}if("decimal"===v){if(!("number"==typeof w||"string"==typeof w&&/^-?[0-9]+(?:\.[0-9]+)?$/u.test(w)||w instanceof g.default))throw new u(b,v,w);return new g.default(w).toString()}var ue=y[v];if(ue)return _(y,b,ue,w);throw new Error("Unknown type '".concat(v,"' at '").concat(b,"'"))},o.decode=function f(y,b,v,w){if("string"==typeof v&&!v.endsWith("?")&&"void"!==v&&null==w)throw new Error("Invalid type at '".concat(b,"', cannot be null"));if(Array.isArray(v)){for(var O=0,F=v;O<F.length;O++){var S=F[O];if(S===w)return w;if(Array.isArray(w)&&2===w.length&&S===w[0])return w[0];if(Array.isArray(S)&&2===S.length){if(S[0]===w)return[w,f(y,"".concat(b,".").concat(S[0]),S[1],{})];if(Array.isArray(w)&&2===w.length&&S[0]===w[0])return[w[0],f(y,"".concat(b,".").concat(S[0]),S[1],w[1])]}}throw new u(b,v,w)}if("object"==typeof v){if("object"!=typeof w)throw new u(b,v,w);for(var K={},V=0,ee=Object.keys(v);V<ee.length;V++){var W=ee[V];K[W]=f(y,"".concat(b,".").concat(W),v[W],w[W])}return K}if(v.endsWith("?"))return null==w?null:f(y,b,v.slice(0,v.length-1),w);if(v.endsWith("[]")){if(!Array.isArray(w))throw new u(b,v,w);return w.map(function(nt,be){return f(y,"".concat(b,"[").concat(be,"]"),v.slice(0,v.length-2),nt)})}if(d.indexOf(v)>=0)return m(b,v,w);if("bytes"!==v){if("bigint"===v){if("number"!=typeof w&&("string"!=typeof w||!/^-?[0-9]+$/u.test(w)))throw new u(b,v,w);return BigInt(w)}if("cpf"===v){if("string"!=typeof w)throw new u(b,v,w);return w}if("cnpj"===v){if("string"!=typeof w)throw new u(b,v,w);return w}if("date"===v){if("string"!=typeof w||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(w))throw new u(b,v,w);var Y=parseInt(w.split("-")[2],10),ue=parseInt(w.split("-")[1],10)-1,ie=parseInt(w.split("-")[0],10),te=new Date(ie,ue,Y);if(te.getFullYear()!==ie||te.getMonth()!==ue||te.getDate()!==Y)throw new u(b,v,w);return te}if("datetime"===v){if("string"!=typeof w||!/^[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(w))throw new u(b,v,w);return new Date("".concat(w.endsWith("Z")?w:w.concat("Z")))}if("decimal"===v){if("number"!=typeof w&&("string"!=typeof w||!/^-?[0-9]+(?:\.[0-9]+)?$/u.test(w)))throw new u(b,v,w);return new g.default(w)}var ve=y[v];if(ve)return f(y,b,ve,w);throw new Error("Unknown type '".concat(v,"' at '").concat(b,"'"))}if("string"!=typeof w)throw new u(b,"".concat(v," (base 64)"),w);try{return Uint8Array.from(atob(w),function(nt){return nt.charCodeAt(0)})}catch{throw new u(b,"".concat(v," (base 64)"),w)}}},8995:function(Z,o){"use strict";var p,a=this&&this.__extends||(p=function(g,c){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,u){d.__proto__=u}||function(d,u){for(var m in u)Object.prototype.hasOwnProperty.call(u,m)&&(d[m]=u[m])})(g,c)},function(g,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=g}p(g,c),g.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenErrorWithData=o.SdkgenError=void 0;var n=function(p){function g(){return null!==p&&p.apply(this,arguments)||this}return a(g,p),Object.defineProperty(g.prototype,"type",{get:function(){return this.constructor.name},enumerable:!1,configurable:!0}),g.prototype.toJSON=function(){return{message:this.message,type:this.type}},g}(Error);o.SdkgenError=n;var s=function(p){function g(c,d){var u=p.call(this,c)||this;return u.data=d,u}return a(g,p),g.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},g}(n);o.SdkgenErrorWithData=s},3114:function(Z,o,a){"use strict";var n=this&&this.__awaiter||function(_,f,y,b){return new(y||(y=Promise))(function(w,O){function F(V){try{K(b.next(V))}catch(ee){O(ee)}}function S(V){try{K(b.throw(V))}catch(ee){O(ee)}}function K(V){V.done?w(V.value):function v(w){return w instanceof y?w:new y(function(O){O(w)})}(V.value).then(F,S)}K((b=b.apply(_,f||[])).next())})},s=this&&this.__generator||function(_,f){var b,v,w,O,y={label:0,sent:function(){if(1&w[0])throw w[1];return w[1]},trys:[],ops:[]};return O={next:F(0),throw:F(1),return:F(2)},"function"==typeof Symbol&&(O[Symbol.iterator]=function(){return this}),O;function F(K){return function(V){return function S(K){if(b)throw new TypeError("Generator is already executing.");for(;O&&(O=0,K[0]&&(y=0)),y;)try{if(b=1,v&&(w=2&K[0]?v.return:K[0]?v.throw||((w=v.return)&&w.call(v),0):v.next)&&!(w=w.call(v,K[1])).done)return w;switch(v=0,w&&(K=[2&K[0],w.value]),K[0]){case 0:case 1:w=K;break;case 4:return y.label++,{value:K[1],done:!1};case 5:y.label++,v=K[1],K=[0];continue;case 7:K=y.ops.pop(),y.trys.pop();continue;default:if(!(w=(w=y.trys).length>0&&w[w.length-1])&&(6===K[0]||2===K[0])){y=0;continue}if(3===K[0]&&(!w||K[1]>w[0]&&K[1]<w[3])){y.label=K[1];break}if(6===K[0]&&y.label<w[1]){y.label=w[1],w=K;break}if(w&&y.label<w[2]){y.label=w[2],y.ops.push(K);break}w[2]&&y.ops.pop(),y.trys.pop();continue}K=f.call(_,y)}catch(V){K=[6,V],v=0}finally{b=w=0}if(5&K[0])throw K[1];return{value:K[0]?K[1]:void 0,done:!0}}([K,V])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenHttpClient=void 0;var p=a(7545);function g(_){for(var f="",y=0;y<2*_;++y)f+="0123456789abcdef"[Math.floor(16*Math.random())];return f}var c=g(20);function d(){try{var _=localStorage.getItem("deviceId");return _||(_=c,localStorage.setItem("deviceId",_)),_}catch{return c}}function u(_,f){return f in _}var m=function(){function _(f,y,b){this.baseUrl=f,this.astJson=y,this.errClasses=b,this.extra=new Map,this.successHook=function(){},this.errorHook=function(){}}return _.prototype.makeRequest=function(f,y){var b,v;return n(this,void 0,void 0,function(){var w,O,F,S,K,V=this;return s(this,function(ee){switch(ee.label){case 0:if(!(w=this.astJson.functionTable[f]))throw new Error("Unknown function ".concat(f));return O={},this.extra.forEach(function(W,Y){O[Y]=W}),F={args:(0,p.encode)(this.astJson.typeTable,"".concat(f,".args"),w.args,y),deviceInfo:{id:d(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:null!==(v=null===(b=document.currentScript)||void 0===b?void 0:b.getAttribute("src"))&&void 0!==v?v:""},extra:O,name:f,requestId:g(16),version:3},[4,new Promise(function(W,Y){var ue=new XMLHttpRequest;ue.open("POST","".concat(V.baseUrl,"/").concat(f)),ue.setRequestHeader("Content-Type","application/sdkgen"),ue.onreadystatechange=function(){if(4===ue.readyState)try{var ie=JSON.parse(ue.responseText);try{u(ie,"error")&&ie.error?Y(ie.error):W(u(ie,"result")?ie.result:null)}catch(ve){var te={message:"".concat(ve),type:"Fatal"};Y(te)}}catch{Y(te={message:"Falha de conex\xe3o com o servidor",type:"Fatal"})}},ue.send(JSON.stringify(F))}).catch(function(W){if(V.errorHook(W,f,y),u(W,"type")&&u(W,"message")&&"string"==typeof W.type&&"string"==typeof W.message){var Y=W.type in V.errClasses?W.type:"Fatal",ue=V.errClasses[Y],ie=V.astJson.errors.find(function(ve){return Array.isArray(ve)?ve[0]===Y:ve===Y}),te=void 0;throw(te=ie&&Array.isArray(ie)&&u(W,"data")?new ue(W.message,(0,p.decode)(V.astJson.typeTable,"".concat(Y,".data"),ie[1],W.data)):new ue(W.message,void 0)).type=Y,te}throw W})];case 1:return S=ee.sent(),K=(0,p.decode)(this.astJson.typeTable,"".concat(f,".ret"),w.ret,S),this.successHook(K,f,y),[2,K]}})})},_}();o.SdkgenHttpClient=m},1537:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(p,g,c,d){void 0===d&&(d=c);var u=Object.getOwnPropertyDescriptor(g,c);(!u||("get"in u?!g.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return g[c]}}),Object.defineProperty(p,d,u)}:function(p,g,c,d){void 0===d&&(d=c),p[d]=g[c]}),s=this&&this.__exportStar||function(p,g){for(var c in p)"default"!==c&&!Object.prototype.hasOwnProperty.call(g,c)&&n(g,p,c)};Object.defineProperty(o,"__esModule",{value:!0}),s(a(8995),o),s(a(3114),o)},8848:function(Z,o,a){var n;!function(s){"use strict";var b,p=1e9,g={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,d="[DecimalError] ",u=d+"Invalid argument: ",m=d+"Exponent out of range: ",_=Math.floor,f=Math.pow,y=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,v=1e7,w=7,O=9007199254740991,F=_(O/w),S={};function K(q,we){var re,J,z,$,U,R,H,Oe,He=q.constructor,vt=He.precision;if(!q.s||!we.s)return we.s||(we=new He(q)),c?be(we,vt):we;if(Oe=we.d,U=q.e,z=we.e,H=(H=q.d).slice(),$=U-z){for($<0?(J=H,$=-$,R=Oe.length):(J=Oe,z=U,R=H.length),$>(R=(U=Math.ceil(vt/w))>R?U+1:R+1)&&($=R,J.length=1),J.reverse();$--;)J.push(0);J.reverse()}for((R=H.length)-($=Oe.length)<0&&($=R,J=Oe,Oe=H,H=J),re=0;$;)re=(H[--$]=H[$]+Oe[$]+re)/v|0,H[$]%=v;for(re&&(H.unshift(re),++z),R=H.length;0==H[--R];)H.pop();return we.d=H,we.e=z,c?be(we,vt):we}function V(q,we,re){if(q!==~~q||q<we||q>re)throw Error(u+q)}function ee(q){var we,re,J,z=q.length-1,$="",U=q[0];if(z>0){for($+=U,we=1;we<z;we++)(re=w-(J=q[we]+"").length)&&($+=te(re)),$+=J;(re=w-(J=(U=q[we])+"").length)&&($+=te(re))}else if(0===U)return"0";for(;U%10==0;)U/=10;return $+U}S.absoluteValue=S.abs=function(){var q=new this.constructor(this);return q.s&&(q.s=1),q},S.comparedTo=S.cmp=function(q){var we,re,J,z,$=this;if(q=new $.constructor(q),$.s!==q.s)return $.s||-q.s;if($.e!==q.e)return $.e>q.e^$.s<0?1:-1;for(we=0,re=(J=$.d.length)<(z=q.d.length)?J:z;we<re;++we)if($.d[we]!==q.d[we])return $.d[we]>q.d[we]^$.s<0?1:-1;return J===z?0:J>z^$.s<0?1:-1},S.decimalPlaces=S.dp=function(){var q=this,we=q.d.length-1,re=(we-q.e)*w;if(we=q.d[we])for(;we%10==0;we/=10)re--;return re<0?0:re},S.dividedBy=S.div=function(q){return W(this,new this.constructor(q))},S.dividedToIntegerBy=S.idiv=function(q){var re=this.constructor;return be(W(this,new re(q),0,1),re.precision)},S.equals=S.eq=function(q){return!this.cmp(q)},S.exponent=function(){return ue(this)},S.greaterThan=S.gt=function(q){return this.cmp(q)>0},S.greaterThanOrEqualTo=S.gte=function(q){return this.cmp(q)>=0},S.isInteger=S.isint=function(){return this.e>this.d.length-2},S.isNegative=S.isneg=function(){return this.s<0},S.isPositive=S.ispos=function(){return this.s>0},S.isZero=function(){return 0===this.s},S.lessThan=S.lt=function(q){return this.cmp(q)<0},S.lessThanOrEqualTo=S.lte=function(q){return this.cmp(q)<1},S.logarithm=S.log=function(q){var we,re=this,J=re.constructor,z=J.precision,$=z+5;if(void 0===q)q=new J(10);else if((q=new J(q)).s<1||q.eq(b))throw Error(d+"NaN");if(re.s<1)throw Error(d+(re.s?"NaN":"-Infinity"));return re.eq(b)?new J(0):(c=!1,we=W(ve(re,$),ve(q,$),$),c=!0,be(we,z))},S.minus=S.sub=function(q){return q=new this.constructor(q),this.s==q.s?Ye(this,q):K(this,(q.s=-q.s,q))},S.modulo=S.mod=function(q){var we,re=this,J=re.constructor,z=J.precision;if(!(q=new J(q)).s)throw Error(d+"NaN");return re.s?(c=!1,we=W(re,q,0,1).times(q),c=!0,re.minus(we)):be(new J(re),z)},S.naturalExponential=S.exp=function(){return Y(this)},S.naturalLogarithm=S.ln=function(){return ve(this)},S.negated=S.neg=function(){var q=new this.constructor(this);return q.s=-q.s||0,q},S.plus=S.add=function(q){return q=new this.constructor(q),this.s==q.s?K(this,q):Ye(this,(q.s=-q.s,q))},S.precision=S.sd=function(q){var we,re,J,z=this;if(void 0!==q&&q!==!!q&&1!==q&&0!==q)throw Error(u+q);if(we=ue(z)+1,re=(J=z.d.length-1)*w+1,J=z.d[J]){for(;J%10==0;J/=10)re--;for(J=z.d[0];J>=10;J/=10)re++}return q&&we>re?we:re},S.squareRoot=S.sqrt=function(){var q,we,re,J,z,$,U,R=this,H=R.constructor;if(R.s<1){if(!R.s)return new H(0);throw Error(d+"NaN")}for(q=ue(R),c=!1,0==(z=Math.sqrt(+R))||z==1/0?(((we=ee(R.d)).length+q)%2==0&&(we+="0"),z=Math.sqrt(we),q=_((q+1)/2)-(q<0||q%2),J=new H(we=z==1/0?"5e"+q:(we=z.toExponential()).slice(0,we.indexOf("e")+1)+q)):J=new H(z.toString()),z=U=(re=H.precision)+3;;)if(J=($=J).plus(W(R,$,U+2)).times(.5),ee($.d).slice(0,U)===(we=ee(J.d)).slice(0,U)){if(we=we.slice(U-3,U+1),z==U&&"4999"==we){if(be($,re+1,0),$.times($).eq(R)){J=$;break}}else if("9999"!=we)break;U+=4}return c=!0,be(J,re)},S.times=S.mul=function(q){var we,re,J,z,$,U,R,H,Oe,He=this,vt=He.constructor,Ct=He.d,lt=(q=new vt(q)).d;if(!He.s||!q.s)return new vt(0);for(q.s*=He.s,re=He.e+q.e,(H=Ct.length)<(Oe=lt.length)&&($=Ct,Ct=lt,lt=$,U=H,H=Oe,Oe=U),$=[],J=U=H+Oe;J--;)$.push(0);for(J=Oe;--J>=0;){for(we=0,z=H+J;z>J;)R=$[z]+lt[J]*Ct[z-J-1]+we,$[z--]=R%v|0,we=R/v|0;$[z]=($[z]+we)%v|0}for(;!$[--U];)$.pop();return we?++re:$.shift(),q.d=$,q.e=re,c?be(q,vt.precision):q},S.toDecimalPlaces=S.todp=function(q,we){var re=this,J=re.constructor;return re=new J(re),void 0===q?re:(V(q,0,p),void 0===we?we=J.rounding:V(we,0,8),be(re,q+ue(re)+1,we))},S.toExponential=function(q,we){var re,J=this,z=J.constructor;return void 0===q?re=pe(J,!0):(V(q,0,p),void 0===we?we=z.rounding:V(we,0,8),re=pe(J=be(new z(J),q+1,we),!0,q+1)),re},S.toFixed=function(q,we){var re,J,z=this,$=z.constructor;return void 0===q?pe(z):(V(q,0,p),void 0===we?we=$.rounding:V(we,0,8),re=pe((J=be(new $(z),q+ue(z)+1,we)).abs(),!1,q+ue(J)+1),z.isneg()&&!z.isZero()?"-"+re:re)},S.toInteger=S.toint=function(){var q=this,we=q.constructor;return be(new we(q),ue(q)+1,we.rounding)},S.toNumber=function(){return+this},S.toPower=S.pow=function(q){var we,re,J,z,$,R=this,H=R.constructor,He=+(q=new H(q));if(!q.s)return new H(b);if(!(R=new H(R)).s){if(q.s<1)throw Error(d+"Infinity");return R}if(R.eq(b))return R;if(J=H.precision,q.eq(b))return be(R,J);if($=R.s,(we=q.e)>=(re=q.d.length-1)){if((re=He<0?-He:He)<=O){for(z=new H(b),we=Math.ceil(J/w+4),c=!1;re%2&&Le((z=z.times(R)).d,we),0!==(re=_(re/2));)Le((R=R.times(R)).d,we);return c=!0,q.s<0?new H(b).div(z):be(z,J)}}else if($<0)throw Error(d+"NaN");return $=$<0&&1&q.d[Math.max(we,re)]?-1:1,R.s=1,c=!1,z=q.times(ve(R,J+12)),c=!0,(z=Y(z)).s=$,z},S.toPrecision=function(q,we){var re,J,z=this,$=z.constructor;return void 0===q?J=pe(z,(re=ue(z))<=$.toExpNeg||re>=$.toExpPos):(V(q,1,p),void 0===we?we=$.rounding:V(we,0,8),J=pe(z=be(new $(z),q,we),q<=(re=ue(z))||re<=$.toExpNeg,q)),J},S.toSignificantDigits=S.tosd=function(q,we){var J=this.constructor;return void 0===q?(q=J.precision,we=J.rounding):(V(q,1,p),void 0===we?we=J.rounding:V(we,0,8)),be(new J(this),q,we)},S.toString=S.valueOf=S.val=S.toJSON=function(){var q=this,we=ue(q),re=q.constructor;return pe(q,we<=re.toExpNeg||we>=re.toExpPos)};var W=function(){function q(J,z){var $,U=0,R=J.length;for(J=J.slice();R--;)J[R]=($=J[R]*z+U)%v|0,U=$/v|0;return U&&J.unshift(U),J}function we(J,z,$,U){var R,H;if($!=U)H=$>U?1:-1;else for(R=H=0;R<$;R++)if(J[R]!=z[R]){H=J[R]>z[R]?1:-1;break}return H}function re(J,z,$){for(var U=0;$--;)J[$]-=U,J[$]=(U=J[$]<z[$]?1:0)*v+J[$]-z[$];for(;!J[0]&&J.length>1;)J.shift()}return function(J,z,$,U){var R,H,Oe,He,vt,Ct,lt,Te,xe,Ne,Me,Re,gt,ut,et,ae,Ee,ke,ct=J.constructor,ot=J.s==z.s?1:-1,wt=J.d,jt=z.d;if(!J.s)return new ct(J);if(!z.s)throw Error(d+"Division by zero");for(H=J.e-z.e,Ee=jt.length,et=wt.length,Te=(lt=new ct(ot)).d=[],Oe=0;jt[Oe]==(wt[Oe]||0);)++Oe;if(jt[Oe]>(wt[Oe]||0)&&--H,(Re=null==$?$=ct.precision:U?$+(ue(J)-ue(z))+1:$)<0)return new ct(0);if(Re=Re/w+2|0,Oe=0,1==Ee)for(He=0,jt=jt[0],Re++;(Oe<et||He)&&Re--;Oe++)Te[Oe]=(gt=He*v+(wt[Oe]||0))/jt|0,He=gt%jt|0;else{for((He=v/(jt[0]+1)|0)>1&&(jt=q(jt,He),wt=q(wt,He),Ee=jt.length,et=wt.length),ut=Ee,Ne=(xe=wt.slice(0,Ee)).length;Ne<Ee;)xe[Ne++]=0;(ke=jt.slice()).unshift(0),ae=jt[0],jt[1]>=v/2&&++ae;do{He=0,(R=we(jt,xe,Ee,Ne))<0?(Me=xe[0],Ee!=Ne&&(Me=Me*v+(xe[1]||0)),(He=Me/ae|0)>1?(He>=v&&(He=v-1),1==(R=we(vt=q(jt,He),xe,Ct=vt.length,Ne=xe.length))&&(He--,re(vt,Ee<Ct?ke:jt,Ct))):(0==He&&(R=He=1),vt=jt.slice()),(Ct=vt.length)<Ne&&vt.unshift(0),re(xe,vt,Ne),-1==R&&(R=we(jt,xe,Ee,Ne=xe.length))<1&&(He++,re(xe,Ee<Ne?ke:jt,Ne)),Ne=xe.length):0===R&&(He++,xe=[0]),Te[Oe++]=He,R&&xe[0]?xe[Ne++]=wt[ut]||0:(xe=[wt[ut]],Ne=1)}while((ut++<et||void 0!==xe[0])&&Re--)}return Te[0]||Te.shift(),lt.e=H,be(lt,U?$+ue(lt)+1:$)}}();function Y(q,we){var re,z,$,U,R,H=0,Oe=0,He=q.constructor,vt=He.precision;if(ue(q)>16)throw Error(m+ue(q));if(!q.s)return new He(b);for(null==we?(c=!1,R=vt):R=we,U=new He(.03125);q.abs().gte(.1);)q=q.times(U),Oe+=5;for(R+=Math.log(f(2,Oe))/Math.LN10*2+5|0,re=z=$=new He(b),He.precision=R;;){if(z=be(z.times(q),R),re=re.times(++H),ee((U=$.plus(W(z,re,R))).d).slice(0,R)===ee($.d).slice(0,R)){for(;Oe--;)$=be($.times($),R);return He.precision=vt,null==we?(c=!0,be($,vt)):$}$=U}}function ue(q){for(var we=q.e*w,re=q.d[0];re>=10;re/=10)we++;return we}function ie(q,we,re){if(we>q.LN10.sd())throw c=!0,re&&(q.precision=re),Error(d+"LN10 precision limit exceeded");return be(new q(q.LN10),we)}function te(q){for(var we="";q--;)we+="0";return we}function ve(q,we){var re,J,z,$,U,R,H,Oe,He,vt=1,lt=q,Te=lt.d,xe=lt.constructor,Ne=xe.precision;if(lt.s<1)throw Error(d+(lt.s?"NaN":"-Infinity"));if(lt.eq(b))return new xe(0);if(null==we?(c=!1,Oe=Ne):Oe=we,lt.eq(10))return null==we&&(c=!0),ie(xe,Oe);if(xe.precision=Oe+=10,J=(re=ee(Te)).charAt(0),$=ue(lt),!(Math.abs($)<15e14))return H=ie(xe,Oe+2,Ne).times($+""),lt=ve(new xe(J+"."+re.slice(1)),Oe-10).plus(H),xe.precision=Ne,null==we?(c=!0,be(lt,Ne)):lt;for(;J<7&&1!=J||1==J&&re.charAt(1)>3;)J=(re=ee((lt=lt.times(q)).d)).charAt(0),vt++;for($=ue(lt),J>1?(lt=new xe("0."+re),$++):lt=new xe(J+"."+re.slice(1)),R=U=lt=W(lt.minus(b),lt.plus(b),Oe),He=be(lt.times(lt),Oe),z=3;;){if(U=be(U.times(He),Oe),ee((H=R.plus(W(U,new xe(z),Oe))).d).slice(0,Oe)===ee(R.d).slice(0,Oe))return R=R.times(2),0!==$&&(R=R.plus(ie(xe,Oe+2,Ne).times($+""))),R=W(R,new xe(vt),Oe),xe.precision=Ne,null==we?(c=!0,be(R,Ne)):R;R=H,z+=2}}function nt(q,we){var re,J,z;for((re=we.indexOf("."))>-1&&(we=we.replace(".","")),(J=we.search(/e/i))>0?(re<0&&(re=J),re+=+we.slice(J+1),we=we.substring(0,J)):re<0&&(re=we.length),J=0;48===we.charCodeAt(J);)++J;for(z=we.length;48===we.charCodeAt(z-1);)--z;if(we=we.slice(J,z)){if(z-=J,q.e=_((re=re-J-1)/w),q.d=[],J=(re+1)%w,re<0&&(J+=w),J<z){for(J&&q.d.push(+we.slice(0,J)),z-=w;J<z;)q.d.push(+we.slice(J,J+=w));we=we.slice(J),J=w-we.length}else J-=z;for(;J--;)we+="0";if(q.d.push(+we),c&&(q.e>F||q.e<-F))throw Error(m+re)}else q.s=0,q.e=0,q.d=[0];return q}function be(q,we,re){var J,z,$,U,R,H,Oe,He,vt=q.d;for(U=1,$=vt[0];$>=10;$/=10)U++;if((J=we-U)<0)J+=w,z=we,Oe=vt[He=0];else{if((He=Math.ceil((J+1)/w))>=($=vt.length))return q;for(Oe=$=vt[He],U=1;$>=10;$/=10)U++;z=(J%=w)-w+U}if(void 0!==re&&(R=Oe/($=f(10,U-z-1))%10|0,H=we<0||void 0!==vt[He+1]||Oe%$,H=re<4?(R||H)&&(0==re||re==(q.s<0?3:2)):R>5||5==R&&(4==re||H||6==re&&(J>0?z>0?Oe/f(10,U-z):0:vt[He-1])%10&1||re==(q.s<0?8:7))),we<1||!vt[0])return H?($=ue(q),vt.length=1,vt[0]=f(10,(w-(we=we-$-1)%w)%w),q.e=_(-we/w)||0):(vt.length=1,vt[0]=q.e=q.s=0),q;if(0==J?(vt.length=He,$=1,He--):(vt.length=He+1,$=f(10,w-J),vt[He]=z>0?(Oe/f(10,U-z)%f(10,z)|0)*$:0),H)for(;;){if(0==He){(vt[0]+=$)==v&&(vt[0]=1,++q.e);break}if(vt[He]+=$,vt[He]!=v)break;vt[He--]=0,$=1}for(J=vt.length;0===vt[--J];)vt.pop();if(c&&(q.e>F||q.e<-F))throw Error(m+ue(q));return q}function Ye(q,we){var re,J,z,$,U,R,H,Oe,He,vt,Ct=q.constructor,lt=Ct.precision;if(!q.s||!we.s)return we.s?we.s=-we.s:we=new Ct(q),c?be(we,lt):we;if(vt=we.d,J=we.e,Oe=q.e,H=(H=q.d).slice(),U=Oe-J){for((He=U<0)?(re=H,U=-U,R=vt.length):(re=vt,J=Oe,R=H.length),U>(z=Math.max(Math.ceil(lt/w),R)+2)&&(U=z,re.length=1),re.reverse(),z=U;z--;)re.push(0);re.reverse()}else{for((He=(z=H.length)<(R=vt.length))&&(R=z),z=0;z<R;z++)if(H[z]!=vt[z]){He=H[z]<vt[z];break}U=0}for(He&&(re=H,H=vt,vt=re,we.s=-we.s),z=vt.length-(R=H.length);z>0;--z)H[R++]=0;for(z=vt.length;z>U;){if(H[--z]<vt[z]){for($=z;$&&0===H[--$];)H[$]=v-1;--H[$],H[z]+=v}H[z]-=vt[z]}for(;0===H[--R];)H.pop();for(;0===H[0];H.shift())--J;return H[0]?(we.d=H,we.e=J,c?be(we,lt):we):new Ct(0)}function pe(q,we,re){var J,z=ue(q),$=ee(q.d),U=$.length;return we?(re&&(J=re-U)>0?$=$.charAt(0)+"."+$.slice(1)+te(J):U>1&&($=$.charAt(0)+"."+$.slice(1)),$=$+(z<0?"e":"e+")+z):z<0?($="0."+te(-z-1)+$,re&&(J=re-U)>0&&($+=te(J))):z>=U?($+=te(z+1-U),re&&(J=re-z-1)>0&&($=$+"."+te(J))):((J=z+1)<U&&($=$.slice(0,J)+"."+$.slice(J)),re&&(J=re-U)>0&&(z+1===U&&($+="."),$+=te(J))),q.s<0?"-"+$:$}function Le(q,we){if(q.length>we)return q.length=we,!0}function Je(q){if(!q||"object"!=typeof q)throw Error(d+"Object expected");var we,re,J,z=["precision",1,p,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(we=0;we<z.length;we+=3)if(void 0!==(J=q[re=z[we]])){if(!(_(J)===J&&J>=z[we+1]&&J<=z[we+2]))throw Error(u+re+": "+J);this[re]=J}if(void 0!==(J=q[re="LN10"])){if(J!=Math.LN10)throw Error(u+re+": "+J);this[re]=new this(J)}return this}(g=function Xe(q){var we,re,J;function z($){var U=this;if(!(U instanceof z))return new z($);if(U.constructor=z,$ instanceof z)return U.s=$.s,U.e=$.e,void(U.d=($=$.d)?$.slice():$);if("number"==typeof $){if(0*$!=0)throw Error(u+$);if($>0)U.s=1;else{if(!($<0))return U.s=0,U.e=0,void(U.d=[0]);$=-$,U.s=-1}return $===~~$&&$<1e7?(U.e=0,void(U.d=[$])):nt(U,$.toString())}if("string"!=typeof $)throw Error(u+$);if(45===$.charCodeAt(0)?($=$.slice(1),U.s=-1):U.s=1,!y.test($))throw Error(u+$);nt(U,$)}if(z.prototype=S,z.ROUND_UP=0,z.ROUND_DOWN=1,z.ROUND_CEIL=2,z.ROUND_FLOOR=3,z.ROUND_HALF_UP=4,z.ROUND_HALF_DOWN=5,z.ROUND_HALF_EVEN=6,z.ROUND_HALF_CEIL=7,z.ROUND_HALF_FLOOR=8,z.clone=Xe,z.config=z.set=Je,void 0===q&&(q={}),q)for(J=["precision","rounding","toExpNeg","toExpPos","LN10"],we=0;we<J.length;)q.hasOwnProperty(re=J[we++])||(q[re]=this[re]);return z.config(q),z}(g)).default=g.Decimal=g,b=new g(1),void 0!==(n=function(){return g}.call(o,a,o,Z))&&(Z.exports=n)}()},4065:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateCSharpServerSource=void 0;const n=a(6325),s=a(2993);o.generateCSharpServerSource=function p(g){let c="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 d of g.operations){const u=d.returnType instanceof n.VoidPrimitiveType?"":`<${(0,s.generateTypeName)(d.returnType)}>`;c+=`\n public virtual Task${u} ${(0,s.capitalize)(d.name)}(${["Context ctx",...d.args.map(m=>`${(0,s.generateTypeName)(m.type)} ${(0,s.ident)(m.name)}`)].join(", ")})\n {\n return Task.FromException${u}(new FatalException("Function '${d.name}' not implemented."));\n }\n`}c+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const d of g.operations){c+=`\n case ${JSON.stringify(d.name)}:\n {`;for(const u of d.args)c+=`\n JsonElement ${u.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(u.name)}, out ${u.name}Json_))\n {\n ${u.type instanceof n.OptionalType?`${u.name}Json_ = new JsonElement();`:`throw new FatalException("'${d.name}().args.${u.name}' must be set to a value of type ${u.type.name}.");`}\n }\n ${(0,s.generateTypeName)(u.type)} ${(0,s.ident)(u.name)};\n ${(0,s.decodeType)(u.type,`${u.name}Json_`,`"${d.name}().args.${u.name}"`,(0,s.ident)(u.name)).replace(/\n/gu,"\n ")}`;c+=d.returnType instanceof n.VoidPrimitiveType?`\n await ${(0,s.capitalize)(d.name)}(${["context_",...d.args.map(u=>(0,s.ident)(u.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,s.capitalize)(d.name)}(${["context_",...d.args.map(u=>(0,s.ident)(u.name))].join(", ")});\n ${(0,s.encodeType)(d.returnType,"result_",`"${d.name}().ret"`).replace(/\n/gu,"\n ")}`,c+="\n return;\n }"}c+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const d of g.structTypes)c+=(0,s.generateStruct)(d);for(const d of g.enumTypes)c+=(0,s.generateEnum)(d);c+=`\n public string GetAstJson() => @"${JSON.stringify((0,n.astToJson)(g),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const d of g.errors)c+=`\n public class ${d.name}Exception : SdkgenException\n {\n public ${d.name}Exception(string message, Exception? inner = null) : base("${d.name}", message, inner) { }\n }\n`;return c+="\n}\n",c}},2993:(Z,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(6325),s=["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"],p=[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],g=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.DecimalPrimitiveType,n.UIntPrimitiveType];function c(b){return s.includes(b)?`@${b}`:b}function d(b){return b[0].toUpperCase()+b.slice(1)}function u(b){switch(b.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`${u(b.base)}?`;case n.ArrayType:return`List<${u(b.base)}>`;case n.StructType:case n.EnumType:return b.name;case n.TypeReference:return u(b.type);default:throw new Error(`BUG: generateTypeName with ${b.constructor.name}`)}}function m(b,v,w,O,F=1,S=!0){switch(b.constructor){case n.IntPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.Number || !${v}.TryGetInt32(out ${O}))\n {\n throw new FatalException($"'{${w}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.Number || !${v}.TryGetUInt32(out ${O}))\n {\n throw new FatalException($"'{${w}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DecimalPrimitiveType:case n.MoneyPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.Number || !${v}.TryGetDecimal(out ${O}) || ${O} % 1 != 0)\n {\n throw new FatalException($"'{${w}}' must be an integer amount of cents.");\n }\n ${O} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.Number || !${v}.TryGetDouble(out ${O}))\n {\n throw new FatalException($"'{${w}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${v}.GetString(), out ${O}))\n {\n throw new FatalException($"'{${w}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a string.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid HTML string.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid CPF string.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid CNPJ string.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid email.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid URL string.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid UUID.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a valid hex string.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a base64 string.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a XML string.");\n }\n ${O} = ${v}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.True && ${v}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${w}}' must be either true or false.");\n }\n ${O} = ${v}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${w}}' must be a string.");\n }\n try\n {\n ${O} = Convert.FromBase64String(${v}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${w}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return m(b.type,v,w,O,F);case n.OptionalType:if(g.includes(b.base.constructor)){const K=`${O.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${v}.ValueKind == JsonValueKind.Null || ${v}.ValueKind == JsonValueKind.Undefined)\n {\n ${O} = null;\n }\n else\n {\n ${u(b.base)} ${K};\n ${m(b.base,v,w,K,F,!1).replace(/\n/gu,"\n ")}\n ${O} = ${K};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${v}.ValueKind == JsonValueKind.Null || ${v}.ValueKind == JsonValueKind.Undefined)\n {\n ${O} = null;\n }\n else\n {\n ${m(b.base,v,w,O,F,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case n.EnumType:case n.StructType:return`${O} = Decode${b.name}(${v}, ${w});`;case n.JsonPrimitiveType:return S?`\n if (${v}.ValueKind == JsonValueKind.Null || ${v}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${w}}' can't be null.");\n }\n ${O} = ${v};\n `.replace(/\n {16}/gu,"\n").trim():`${O} = ${v};`;case n.DateTimePrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${v}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${O}) || DateTime.TryParseExact(${v}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${O})))\n {\n throw new FatalException($"'{${w}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n if (${v}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${v}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${O})))\n {\n throw new FatalException($"'{${w}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n if (${v}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${w}}' must be a date.");\n }\n ${O} = new ${u(b)}();\n for (var i${F} = 0; i${F} < ${v}.GetArrayLength(); ++i${F})\n {\n ${u(b.base)} element${F};\n ${m(b.base,`${v}[i${F}]`,`$"{${w}}[{i${F}}]"`,`element${F}`,F+1).replace(/\n/gu,"\n ")}\n ${O}.Add(element${F});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${b.constructor.name}`)}}function _(b,v,w,O=1){switch(b.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${v});`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${v});`;case n.DecimalPrimitiveType:case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(Math.Round(${v} * 100));`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${v}.ToString());`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${v});`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${v}));`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${v}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${v}.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(${v});`;case n.OptionalType:{let F=b.base;for(;F instanceof n.TypeReference;)F=F.type;return`\n if (${v} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${_(F,p.includes(F.constructor)?v:`${v}.Value`,w,O).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case n.TypeReference:return _(b.type,v,w,O);case n.EnumType:case n.StructType:return`Encode${b.name}(${v}, resultWriter_, ${w});`;case n.JsonPrimitiveType:return`${v}.WriteTo(resultWriter_);`;case n.ArrayType:return`\n resultWriter_.WriteStartArray();\n for (var i${O} = 0; i${O} < ${v}.Count; ++i${O})\n {\n ${_(b.base,`${v}[i${O}]`,`$"{${w}}[{i${O}}]"`,O+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${b.constructor.name}`)}}o.ident=c,o.capitalize=d,o.generateTypeName=u,o.decodeType=m,o.encodeType=_,o.generateStruct=function f(b){return`\n public class ${b.name}\n {${b.fields.map(v=>`\n public ${u(v.type)} ${d(v.name)};`).join("")}\n public ${b.name}(${b.fields.map(v=>`${u(v.type)} ${c(v.name)}`).join(", ")})\n {${b.fields.map(v=>`\n ${d(v.name)} = ${c(v.name)};`).join("")}\n }\n }\n\n ${b.name} Decode${b.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${b.fields.map(v=>` JsonElement ${v.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(v.name)}, out ${v.name}Json_))\n {\n ${v.type instanceof n.OptionalType?`${v.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${v.name}' must be set to a value of type ${v.type.name}.");`}\n }\n ${u(v.type)} ${c(v.name)};\n ${m(v.type,`${v.name}Json_`,`$"{path_}.${v.name}"`,c(v.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${b.name}(${b.fields.map(v=>c(v.name)).join(", ")});\n }\n\n void Encode${b.name}(${b.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${b.fields.map(v=>`resultWriter_.WritePropertyName(${JSON.stringify(v.name)});\n ${_(v.type,`obj_.${d(v.name)}`,`$"{path_}.${v.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},o.generateEnum=function y(b){return`\n public enum ${b.name}\n {${b.values.map(({value:v})=>`\n ${d(v)}`).join(",\n ")}\n }\n\n ${b.name} Decode${b.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();${b.values.map(({value:v})=>`\n if (value == "${v}")\n {\n return ${b.name}.${d(v)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${b.values.map(({value:v})=>`'${v}'`).join(", ")}).");\n }\n\n void Encode${b.name}(${b.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${b.values.map(({value:v})=>`\n if (obj_ == ${b.name}.${d(v)})\n {\n resultWriter_.WriteStringValue("${v}");\n }`).join("")}\n }\n`}},3236:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(p,g,c,d){void 0===d&&(d=c);var u=Object.getOwnPropertyDescriptor(g,c);(!u||("get"in u?!g.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return g[c]}}),Object.defineProperty(p,d,u)}:function(p,g,c,d){void 0===d&&(d=c),p[d]=g[c]}),s=this&&this.__exportStar||function(p,g){for(var c in p)"default"!==c&&!Object.prototype.hasOwnProperty.call(g,c)&&n(g,p,c)};Object.defineProperty(o,"__esModule",{value:!0}),s(a(4065),o)},2257:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateDartClientSource=void 0;const n=a(6325),s=a(5606);o.generateDartClientSource=function p(g){let c="";c+="// ignore_for_file: constant_identifier_names\n",(0,n.hasType)(g,n.BytesPrimitiveType)&&(c+="import 'dart:typed_data';\n"),(0,n.hasType)(g,n.DecimalPrimitiveType)&&(c+="import 'package:decimal/decimal.dart';\n"),c+="import 'package:http/http.dart' as http;\nimport 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n";for(const d of g.enumTypes)c+=(0,s.generateEnum)(d),c+="\n";for(const d of g.structTypes)c+=(0,s.generateClass)(d),c+="\n";for(const d of g.errors)c+=(0,s.generateErrorClass)(d),c+="\n";c+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl, [http.Client? client]) : super(baseUrl, client, _typeTable, _fnTable, _errTable);\n${g.operations.filter(d=>d.annotations.every(u=>!(u instanceof n.HiddenAnnotation))).map(d=>`\n ${d.returnType instanceof n.VoidPrimitiveType?"Future<void> ":`Future<${(0,s.generateTypeName)(d.returnType)}> `}${d.name}(${0===d.args.length?"":`{${d.args.map(u=>`${u.type instanceof n.OptionalType?"":"required "}${(0,s.generateTypeName)(u.type)} ${(0,s.mangle)(u.name)}`).join(", ")}}`}) async { ${d.returnType instanceof n.VoidPrimitiveType?"":"return "}${(0,s.cast)(`await makeRequest('${d.name}', {${d.args.map(u=>`'${u.name}': ${(0,s.mangle)(u.name)}`).join(", ")}})`,d.returnType)}; }`).join("")}\n}\n\n`,c+="var _typeTable = {\n";for(const d of g.structTypes){c+=` '${d.name}': StructTypeDescription(\n`,c+=` ${d.name},\n`,c+=" {\n";for(const u of d.fields)c+=` '${u.name}': '${u.type.name}',\n`;c+=" },\n",c+=` (Map fields) => ${d.name}(\n`;for(const u of d.fields)c+=` ${(0,s.mangle)(u.name)}: ${(0,s.cast)(`fields['${u.name}']`,u.type)},\n`;c+=" ),\n",c+=` (${d.name} obj) => ({\n`;for(const u of d.fields)c+=` '${u.name}': obj.${(0,s.mangle)(u.name)},\n`;c+=" }),\n",c+=" ),\n"}for(const d of g.enumTypes)c+=` '${d.name}': EnumTypeDescription(${d.name}, ${d.name}.values, [\n ${d.values.map(u=>`'${u.value}'`).join(",\n ")}\n ]),\n`;c+="};\n\n",c+="var _fnTable = {\n";for(const d of g.operations){c+=` '${d.name}': FunctionDescription('${d.returnType.name}', {\n`;for(const u of d.args)c+=` '${u.name}': '${u.type.name}',\n`;c+=" }),\n"}c+="};\n\n",c+="var _errTable = {\n";for(const d of g.errors)c+=` '${d.name}': SdkgenErrorDescription('${d.dataType.name}', (msg, req, data) => ${d.name}(msg, req${d.dataType instanceof n.VoidPrimitiveType?"":", data"})),\n`;return c+="};\n",c}},5606:(Z,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(6325);function s(b){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(b)?`$${b}`:b}function g(b){switch(b.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`${g(b.base)}?`;case n.ArrayType:return`List<${g(b.base)}>`;case n.StructType:case n.EnumType:return b.name;case n.TypeReference:return g(b.type);default:throw new Error(`BUG: generateTypeName with ${b.constructor.name}`)}}o.mangle=s,o.generateEnum=function p(b){return`enum ${b.name} {\n ${b.values.map(v=>v.value).join(",\n ")}\n}\n`},o.generateTypeName=g,o.generateErrorClass=function c(b){if(b.dataType instanceof n.VoidPrimitiveType)return`class ${b.name} extends SdkgenError {\n ${b.name}(super.msg, super.request);\n}\n`;const v=g(b.dataType);return`class ${b.name} extends SdkgenErrorWithData<${v}> {\n ${b.name}(super.msg, super.request, super.data);\n}\n`},o.cast=function d(b,v){return v instanceof n.OptionalType?`${b} == null ? null : ${d(b,v.base)}`:v instanceof n.ArrayType?`(${b} as List).map((e) => ${d("e",v.base)}).toList()`:v instanceof n.VoidPrimitiveType?b:v instanceof n.FloatPrimitiveType?`(${b} as num).toDouble()`:v instanceof n.MoneyPrimitiveType?`${b} as int`:`${b} as ${g(v)}`},o.generateClass=function y(b){return`class ${b.name} {\n ${b.fields.map(v=>`final ${g(v.type)} ${s(v.name)};`).join("\n ")}\n\n${function u(b){let v=` ${b.name}({\n`;for(const w of b.fields)v+=w.type instanceof n.OptionalType?" ":" required ",v+=`this.${s(w.name)},\n`;return v+=" });\n",v}(b)}\n${function m(b){let v=" @override\n bool operator ==(other){\n";return v+=" if (identical(this, other)) return true;\n",v+=` return ${[`other is ${b.name}`,...b.fields.map(w=>`${s(w.name)} == other.${s(w.name)}`)].join(" && ")};\n`,v+=" }\n",v}(b)}\n${function _(b){return` @override\n int get hashCode => Object.hashAllUnordered([${b.fields.map(v=>s(v.name)).join(", ")}]);\n`}(b)}\n${function f(b){return` @override\n String toString() {\n return '${b.name} { ${b.fields.map(v=>`${v.name}: $${s(v.name).startsWith("$")?`{${s(v.name)}}`:s(v.name)}`).join(", ")} }';\n }\n`}(b)}}\n`}},5737:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(p,g,c,d){void 0===d&&(d=c);var u=Object.getOwnPropertyDescriptor(g,c);(!u||("get"in u?!g.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return g[c]}}),Object.defineProperty(p,d,u)}:function(p,g,c,d){void 0===d&&(d=c),p[d]=g[c]}),s=this&&this.__exportStar||function(p,g){for(var c in p)"default"!==c&&!Object.prototype.hasOwnProperty.call(g,c)&&n(g,p,c)};Object.defineProperty(o,"__esModule",{value:!0}),s(a(2257),o)},1260:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateFSharpServerSource=void 0;const n=a(6325),s=a(5640);o.generateFSharpServerSource=function p(g){let c="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 d of g.errors)c+=`\ntype ${d.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${d.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${d.name}", message, inner)\n }\n`;for(const d of g.enumTypes)c+=`\n${(0,s.generateEnum)(d)}\n`;for(const d of g.structTypes)c+=`\n${(0,s.generateStruct)(d)}\n`;c+="\ntype Api() =";for(const d of g.operations){const u=d.returnType instanceof n.VoidPrimitiveType?"":`<${(0,s.generateTypeName)(d.returnType)}>`,m=d.args.length>0?`{| ${d.args.map(_=>`${_.name}: ${(0,s.generateTypeName)(_.type)};`).join("")} |} ->`:"";c+=`\n member val ${(0,s.capitalize)(d.name)}: Context -> ${m} Task${u} =\n fun _ -> (raise (FatalException("Function '${d.name}' not implemented.")))\n with get, set\n `}c+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const d of g.operations){c+=`\n | ${JSON.stringify(d.name)} ->`;for(const u of d.args)c+=`\n let ${u.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(u.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${d.name}().args.${u.name}' must be set to a value of type ${u.type.name}."))\n\n let ${(0,s.ident)(u.name)} =\n ${(0,s.decodeType)(u.type,`${u.name}Json_`,`"${d.name}().args.${u.name}"`,(0,s.ident)(u.name)).replace(/\n/gu,"\n ")}`;c+=d.returnType instanceof n.VoidPrimitiveType?`\n\n do! (__.${(0,s.capitalize)(d.name)} context_ ${d.args.length>0?"{|":""} ${d.args.map(u=>`${u.name} = ${(0,s.ident)(u.name)}`).join("; ")} ${d.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,s.capitalize)(d.name)} context_ ${d.args.length>0?"{|":""} ${d.args.map(u=>`${u.name} = ${(0,s.ident)(u.name)}`).join("; ")} ${d.args.length>0?"|}":""})\n ${(0,s.encodeType)(d.returnType,"result_",`"${d.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return c+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",c+=`\n member __.GetAstJson() = """${JSON.stringify((0,n.astToJson)(g),null,4).replace(/\n/gu,"\n ")}""";`,c}},5640:(Z,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(6325),s=["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"],g=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.UIntPrimitiveType,n.ArrayType];function c(b){return s.includes(b)?`${b}'`:b}function d(b){return b[0].toUpperCase()+b.slice(1)}function u(b){switch(b.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`${u(b.base)} option`;case n.ArrayType:return`${u(b.base)} list`;case n.StructType:case n.EnumType:return b.name;case n.TypeReference:return u(b.type);default:throw new Error(`BUG: generateTypeName with ${b.constructor.name}`)}}function m(b,v,w,O,F=1,S=!0){switch(b.constructor){case n.IntPrimitiveType:return`\n decodeInt32 ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n decodeUInt32 ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.MoneyPrimitiveType:return`\n (decodeMoney ${v} ${w}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n decodeFloat ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n decodeBigInt ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n decodeString ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n decodeHtml ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n decodeCpf ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n decodeCnpj ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n decodeEmail ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n decodeUrl ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n decodeUuid ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n decodeHex ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n decodeBase64 ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n decodeXml ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n decodeBool ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n decodeBytes ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return m(b.type,v,w,O,F);case n.OptionalType:return g.includes(b.base.constructor)?`match ${v}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${m(b.base,v,w,O,F,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():b.base instanceof n.OptionalType||b.base instanceof n.ArrayType?`\n (>.>) decodeOptional ${m(b.base,v,w,O,F,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${m(b.base,v,w,O,F,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case n.EnumType:case n.StructType:return`Decode${b.name} ${v} ${w}`;case n.JsonPrimitiveType:return S?`\n ${v}\n `.replace(/\n {16}/gu,"\n").trim():`${O} <- ${v}`;case n.DateTimePrimitiveType:return`\n decodeDateTime ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n decodeDate ${v} ${w}\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n match ${v}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${v}.GetArrayLength() - 1) do\n let item = ${v}.[i1]\n let partialResult =\n ${m(b.base,`${v}.[i1]`,`${w.slice(0,-1)}.{i1}"`,O,F,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${w.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${b.constructor.name}`)}}function _(b,v,w,O=1,F=!0){switch(b.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${v})`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${v})`;case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(int (Math.Round(${v} * 100m)))`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${v}.ToString())`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${v})`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${v}))`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${v}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${v}.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(${v})`;case n.OptionalType:{let S=b.base;for(;S instanceof n.TypeReference;)S=S.type;return`\n if (${v}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${_(S,`${v}.Value`,w,O,F)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return _(b.type,v,w,O,F);case n.EnumType:case n.StructType:return`Encode${b.name} ${v} resultWriter_ ${w}`;case n.JsonPrimitiveType:return`${v}.WriteTo(resultWriter_)`;case n.ArrayType:return`\n resultWriter_.WriteStartArray()\n for i${O} in 0..${v}.Length - 1 do\n ${_(b.base,`${v}.[i${O}]`,`${w}`,O+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${b.constructor.name}`)}}o.ident=c,o.capitalize=d,o.generateTypeName=u,o.decodeType=m,o.encodeType=_,o.generateStruct=function f(b){return`\ntype ${b.name} = {\n ${b.fields.map(v=>`${d(v.name)}: ${u(v.type)}`).join(";\n ")}\n} with\n static member Create (${b.fields.map(v=>`${c(v.name)}: ${u(v.type)}`).join(", ")}): ${b.name} =\n { ${b.fields.map(v=>`${d(v.name)} = ${c(v.name)}`).join("; ")} }\n\nlet Decode${b.name} (json_: JsonElement) (path_: string): ${b.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${b.fields.map(v=>`\n let ${v.name}Json_ = decodeJsonElementStrict ${JSON.stringify(v.name)} json_ $"{path_}.${v.name}"\n let ${c(v.name)} =\n ${m(v.type,`${v.name}Json_`,`$"{path_}.${v.name}"`,c(v.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${b.fields.map(v=>`${d(v.name)} = ${c(v.name)}`).join("; ")} }\n\nlet Encode${b.name} (obj_: ${b.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${b.fields.map(v=>`\n resultWriter_.WritePropertyName(${JSON.stringify(v.name)})\n ${_(v.type,`obj_.${d(v.name)}`,`$"{path_}.${v.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},o.generateEnum=function y(b){return`\ntype ${b.name} =\n ${b.values.map(({value:v})=>`| ${d(v)}`).join("\n ")}\n\nlet Decode${b.name} (json_: JsonElement) (path_: string): ${b.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${b.values.map(({value:v})=>`| "${v}" -> ${b.name}.${d(v)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${b.values.map(({value:v})=>`'${v}'`).join(", ")})."))\n\nlet Encode${b.name} (obj_: ${b.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${b.values.map(({value:v})=>`| ${b.name}.${d(v)} -> resultWriter_.WriteStringValue("${v}")`).join("\n ")}\n\n`}},2045:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(p,g,c,d){void 0===d&&(d=c);var u=Object.getOwnPropertyDescriptor(g,c);(!u||("get"in u?!g.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return g[c]}}),Object.defineProperty(p,d,u)}:function(p,g,c,d){void 0===d&&(d=c),p[d]=g[c]}),s=this&&this.__exportStar||function(p,g){for(var c in p)"default"!==c&&!Object.prototype.hasOwnProperty.call(g,c)&&n(g,p,c)};Object.defineProperty(o,"__esModule",{value:!0}),s(a(1260),o)},8273:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateAndroidClientSource=void 0;const n=a(6325),s=a(9274);o.generateAndroidClientSource=function p(g,c){let d='@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 g.enumTypes)d+=` ${(0,s.generateEnum)(_)}`,d+="\n";d+=" open class Error(val message: String? = null)\n",d+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const _ of g.structTypes)d+=` ${(0,s.generateClass)(_)}\n`;const u=[],m=new n.ErrorNode("Connection",new n.VoidPrimitiveType);u.push(m.name),d+=` ${(0,s.generateErrorClass)(m)}`;for(const _ of g.errors)d+=` ${(0,s.generateErrorClass)(_)}`,u.push(_.name);return u.length>0&&(d+=`\n enum class ErrorType {\n ${u.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${u.map(_=>`${_} -> ApiClient.${_}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),d+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",d+=g.operations.filter(_=>_.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(_=>{let f="";const y=[];y.push("timeoutMillis: Long? = null"),c&&y.push(`callback: ((response: Response<${(0,s.generateKotlinTypeName)(_.returnType)}>) -> Unit)? = null`);const b=_.args.map(v=>`${(0,s.mangle)(v.name)}: ${(0,s.generateKotlinTypeName)(v.type)}`).concat(y);return f+=` fun ${(0,s.mangle)(_.name)}(\n ${b.join(",\n ")}\n ): Deferred<Response<out ${(0,s.generateKotlinTypeName)(_.returnType)}>> = sdkgenIOScope.async {\n`,_.args.length>0?(f+=" val bodyArgs = JsonObject().apply {\n",f+=_.args.map(v=>` ${(0,s.generateJsonAddRepresentation)(v.type,v.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,s.generateKotlinTypeName)(_.returnType)}> = handleCallResponse(call)\n`,c&&(f+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),f+=" return@async response\n",f+=" }\n",f}).join("\n"),d+='\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',d+="}\n",d}},9274:(Z,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(6325);function s(_){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`${s(_.base)}?`;case n.ArrayType:return`ArrayList<${s(_.base)}>`;case n.StructType:case n.EnumType:return _.name;case n.TypeReference:return s(_.type);default:throw new Error(`BUG: generateKotlinTypeName with ${_.constructor.name}`)}}function p(_){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 d(_,f){let y="";switch(f&&f!==p(f)&&(y+=` @SerializedName("${f}")\n`),_.constructor){case n.DatePrimitiveType:y+=" @JsonAdapter(DateAdapter::class)\n";break;case n.DateTimePrimitiveType:y+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case n.ArrayType:case n.OptionalType:y+=d(_.base)}return y}o.generateKotlinTypeName=s,o.mangle=p,o.generateJsonAddRepresentation=function g(_,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}", ${p(f)})`;case n.OptionalType:return g(_.base,f);case n.DatePrimitiveType:return`addProperty("${f}", ${p(f)}?.let { DateAdapter.sdf.format(it.time)}) `;case n.DateTimePrimitiveType:return`addProperty("${f}", ${p(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(${p(f)}))`;case n.VoidPrimitiveType:return"";case n.BytesPrimitiveType:return`addProperty("${f}", Base64.encodeToString(${p(f)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${_.constructor.name}`)}},o.generateEnum=function c(_){let f="@Parcelize \n";return f+=` enum class ${_.name} : Parcelable { ${_.values.map(y=>p(y.value)).join(", ")} }\n`,f},o.getAnnotation=d,o.generateClass=function u(_){let f="@Parcelize\n";return f+=` data class ${_.name}(\n${_.fields.map(y=>{let b=d(y.type,y.name);return b+=` var ${p(y.name)}: ${s(y.type)}${y.type.constructor===n.OptionalType?" = null":""}`,b}).join(",\n")}\n ) : Parcelable\n`,f},o.generateErrorClass=function m(_){return`class ${_.name}(message: String) : Error(message)\n`}},7068:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(p,g,c,d){void 0===d&&(d=c);var u=Object.getOwnPropertyDescriptor(g,c);(!u||("get"in u?!g.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return g[c]}}),Object.defineProperty(p,d,u)}:function(p,g,c,d){void 0===d&&(d=c),p[d]=g[c]}),s=this&&this.__exportStar||function(p,g){for(var c in p)"default"!==c&&!Object.prototype.hasOwnProperty.call(g,c)&&n(g,p,c)};Object.defineProperty(o,"__esModule",{value:!0}),s(a(8273),o)},3286:function(Z,o,a){"use strict";var n=this&&this.__rest||function(lt,Te){var xe={};for(var Ne in lt)Object.prototype.hasOwnProperty.call(lt,Ne)&&Te.indexOf(Ne)<0&&(xe[Ne]=lt[Ne]);if(null!=lt&&"function"==typeof Object.getOwnPropertySymbols){var Me=0;for(Ne=Object.getOwnPropertySymbols(lt);Me<Ne.length;Me++)Te.indexOf(Ne[Me])<0&&Object.prototype.propertyIsEnumerable.call(lt,Ne[Me])&&(xe[Ne[Me]]=lt[Ne[Me]])}return xe};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 s=a(4245);class p{constructor(){this.location=new s.TokenLocation,Object.defineProperty(this,"location",{enumerable:!1})}at(Te){return this.location=Te.location,this}atLocation(Te){return this.location=Te,this}}o.AstNode=p;class g extends p{toJSON(){const Te=Object.assign({},this);return n(Te,["name"])}}o.Type=g,o.ErrorNode=class c extends p{constructor(Te,xe){super(),this.name=Te,this.dataType=xe,this.annotations=[]}};class d extends p{}o.Annotation=d,o.DescriptionAnnotation=class u extends d{constructor(Te){super(),this.text=Te}},o.ThrowsAnnotation=class m extends d{constructor(Te){super(),this.error=Te}},o.ArgDescriptionAnnotation=class _ extends d{constructor(Te,xe){super(),this.argName=Te,this.text=xe}},o.RestAnnotation=class f extends d{constructor(Te,xe,Ne,Me,Re,gt){super(),this.method=Te,this.path=xe,this.pathVariables=Ne,this.queryVariables=Me,this.headers=Re,this.bodyVariable=gt}},o.HiddenAnnotation=class y extends d{},o.StatusCodeAnnotation=class b extends d{constructor(Te){super(),this.statusCode=Te}};class v extends g{toJSON(){return this.name}}o.PrimitiveType=v,o.StringPrimitiveType=class w extends v{constructor(){super(...arguments),this.name="string"}},o.IntPrimitiveType=class O extends v{constructor(){super(...arguments),this.name="int"}},o.UIntPrimitiveType=class F extends v{constructor(){super(...arguments),this.name="uint"}},o.FloatPrimitiveType=class S extends v{constructor(){super(...arguments),this.name="float"}},o.BigIntPrimitiveType=class K extends v{constructor(){super(...arguments),this.name="bigint"}},o.DatePrimitiveType=class V extends v{constructor(){super(...arguments),this.name="date"}},o.DateTimePrimitiveType=class ee extends v{constructor(){super(...arguments),this.name="datetime"}},o.BoolPrimitiveType=class W extends v{constructor(){super(...arguments),this.name="bool"}},o.BytesPrimitiveType=class Y extends v{constructor(){super(...arguments),this.name="bytes"}},o.VoidPrimitiveType=class ue extends v{constructor(){super(...arguments),this.name="void"}},o.MoneyPrimitiveType=class ie extends v{constructor(){super(...arguments),this.name="money"}},o.DecimalPrimitiveType=class te extends v{constructor(){super(...arguments),this.name="decimal"}},o.CpfPrimitiveType=class ve extends v{constructor(){super(...arguments),this.name="cpf"}},o.CnpjPrimitiveType=class nt extends v{constructor(){super(...arguments),this.name="cnpj"}},o.EmailPrimitiveType=class be extends v{constructor(){super(...arguments),this.name="email"}},o.UrlPrimitiveType=class Ye extends v{constructor(){super(...arguments),this.name="url"}},o.UuidPrimitiveType=class pe extends v{constructor(){super(...arguments),this.name="uuid"}},o.HexPrimitiveType=class Le extends v{constructor(){super(...arguments),this.name="hex"}},o.HtmlPrimitiveType=class Xe extends v{constructor(){super(...arguments),this.name="html"}},o.Base64PrimitiveType=class Je extends v{constructor(){super(...arguments),this.name="base64"}},o.XmlPrimitiveType=class q extends v{constructor(){super(...arguments),this.name="xml"}},o.JsonPrimitiveType=class we extends v{constructor(){super(...arguments),this.name="json"}},o.OptionalType=class re extends g{constructor(Te){super(),this.base=Te}get name(){return`${this.base.name}?`}},o.ArrayType=class J extends g{constructor(Te){super(),this.base=Te}get name(){return`${this.base.name}[]`}},o.EnumValue=class z extends p{constructor(Te){super(),this.value=Te,this.annotations=[],this.struct=null}},o.EnumType=class $ extends g{constructor(Te){super(),this.values=Te}get hasStructValues(){return this.values.some(Te=>null!==Te.struct)}},o.Field=class U extends p{constructor(Te,xe,Ne=!1){super(),this.name=Te,this.type=xe,this.secret=Ne,this.annotations=[]}},o.Spread=class R extends p{constructor(Te){super(),this.typeReference=Te}},o.TypeReference=class H extends g{constructor(Te){super(),this.name=Te}},o.StructType=class Oe extends g{constructor(Te){super(),this.fieldsAndSpreads=Te,this.fields=[]}},o.TypeDefinition=class He extends p{constructor(Te,xe){super(),this.name=Te,this.type=xe,this.annotations=[]}},o.FunctionOperation=class vt extends p{constructor(Te,xe,Ne){super(),this.name=Te,this.fieldsAndSpreads=xe,this.returnType=Ne,this.annotations=[],this.args=[]}},o.AstRoot=class Ct{constructor(Te=[],xe=[],Ne=[]){this.typeDefinitions=Te,this.operations=xe,this.errors=Ne,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},6151:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.compatibilityIssues=void 0;const n=a(3286);function s(c,d,u,m){var _,f;if(u instanceof n.TypeReference)s(c,d,u.type,m);else if(m instanceof n.TypeReference)s(c,d,u,m.type);else if(u instanceof n.OptionalType||!(m instanceof n.OptionalType))if(u instanceof n.OptionalType&&m instanceof n.OptionalType)s(c,d,u.base,m.base);else{if(u instanceof n.OptionalType&&!(m instanceof n.OptionalType))return d.push(`${c} was optional, but now it isn't. If the client sends a null, it will be invalid. Add the optional annotation back.`),void s(c,d,u.base,m);if(u instanceof n.ArrayType&&m instanceof n.ArrayType)s(c,d,u.base,m.base);else if(u instanceof n.StructType&&m instanceof n.StructType)for(const y of m.fields){const b=u.fields.find(v=>v.name===y.name);if(b)s(`${c}.${b.name}`,d,b.type,y.type);else{if(y.type instanceof n.OptionalType)continue;d.push(`${c}.${y.name} didn't exist before and isn't optional. Make it optional.`)}}else if(!(u instanceof n.UIntPrimitiveType&&m instanceof n.IntPrimitiveType||u instanceof n.IntPrimitiveType&&m instanceof n.FloatPrimitiveType||u instanceof n.MoneyPrimitiveType&&m instanceof n.IntPrimitiveType||u instanceof n.MoneyPrimitiveType&&m instanceof n.UIntPrimitiveType||u instanceof n.UIntPrimitiveType&&m instanceof n.BigIntPrimitiveType||u instanceof n.IntPrimitiveType&&m instanceof n.BigIntPrimitiveType||u instanceof n.MoneyPrimitiveType&&m instanceof n.BigIntPrimitiveType||u instanceof n.BigIntPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.UuidPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.XmlPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.DatePrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.DateTimePrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.CpfPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.CnpjPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.HexPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.HtmlPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.Base64PrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.BytesPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.BytesPrimitiveType&&m instanceof n.Base64PrimitiveType||u instanceof n.UrlPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.EmailPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.DecimalPrimitiveType&&m instanceof n.StringPrimitiveType||u instanceof n.EnumType&&m instanceof n.StringPrimitiveType)){if(u instanceof n.EnumType&&m instanceof n.EnumType){for(const y of u.values){const b=m.values.find(v=>v.value===y.value);b?s(`${c}.${y.value}`,d,null!==(_=y.struct)&&void 0!==_?_:new n.StructType([]),null!==(f=b.struct)&&void 0!==f?f:new n.StructType([])):d.push(`The enum at ${c} used to accept the value "${y.value}" that doesn't exist now. Clients that send it will fail.`)}return}u.constructor.name!==m.constructor.name&&d.push(`${c} was ${u.name} and now it is ${m.name}. They are not compatible.`)}}else s(c,d,u,m.base)}function p(c,d,u,m){var _,f;if(u instanceof n.TypeReference)p(c,d,u.type,m);else if(m instanceof n.TypeReference)p(c,d,u,m.type);else if(!(u instanceof n.OptionalType)||m instanceof n.OptionalType)if(u instanceof n.OptionalType&&m instanceof n.OptionalType)p(c,d,u.base,m.base);else{if(!(u instanceof n.OptionalType)&&m instanceof n.OptionalType)return d.push(`${c} wasn't optional, but now it is. If the client receives a null, it will crash. Remove the optional annotation.`),void p(c,d,u,m.base);if(u instanceof n.ArrayType&&m instanceof n.ArrayType)p(c,d,u.base,m.base);else if(u instanceof n.StructType&&m instanceof n.StructType)for(const y of u.fields){const b=m.fields.find(v=>v.name===y.name);if(b)p(`${c}.${y.name}`,d,y.type,b.type);else{if(y.type instanceof n.OptionalType)continue;d.push(`${c}.${y.name} used to exist with type ${y.type.name}, but it's now missing. Add it back.`)}}else if(!(u instanceof n.IntPrimitiveType&&m instanceof n.UIntPrimitiveType||u instanceof n.FloatPrimitiveType&&m instanceof n.IntPrimitiveType||u instanceof n.IntPrimitiveType&&m instanceof n.MoneyPrimitiveType||u instanceof n.UIntPrimitiveType&&m instanceof n.MoneyPrimitiveType||u instanceof n.BigIntPrimitiveType&&m instanceof n.UIntPrimitiveType||u instanceof n.BigIntPrimitiveType&&m instanceof n.IntPrimitiveType||u instanceof n.BigIntPrimitiveType&&m instanceof n.MoneyPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.BigIntPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.UuidPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.XmlPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.DatePrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.DateTimePrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.CpfPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.CnpjPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.HexPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.HtmlPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.Base64PrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.BytesPrimitiveType||u instanceof n.Base64PrimitiveType&&m instanceof n.BytesPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.UrlPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.EmailPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.DecimalPrimitiveType||u instanceof n.StringPrimitiveType&&m instanceof n.EnumType)){if(u instanceof n.EnumType&&m instanceof n.EnumType){for(const y of m.values){const b=u.values.find(v=>v.value===y.value);b?p(`${c}.${y.value}`,d,null!==(_=b.struct)&&void 0!==_?_:new n.StructType([]),null!==(f=y.struct)&&void 0!==f?f:new n.StructType([])):d.push(`The enum at ${c} now has the value "${y.value}" that didn't exist before. Client will crash if it receives it`)}return}u.constructor.name!==m.constructor.name&&d.push(`${c} was ${u.name} and now it is ${m.name}. They are not compatible.`)}}else p(c,d,u.base,m)}o.compatibilityIssues=function g(c,d){const u=[];for(const m of c.operations){const _=d.operations.find(f=>f.name===m.name);if(_){p(`${m.name}.ret`,u,m.returnType,_.returnType);for(const f of _.args){const y=m.args.find(b=>b.name===f.name);if(y)s(`${m.name}.args.${y.name}`,u,y.type,f.type);else{if(f.type instanceof n.OptionalType)continue;u.push(`${m.name}.args.${f.name} didn't exist before and isn't optional. Make it optional.`)}}}else u.push(`function ${m.name} used to exist, but it's now missing. Add it back.`)}for(const m of c.errors){const _=d.errors.find(f=>f.name===m.name);_&&p(`${m.name}.data`,u,m.dataType,_.dataType)}return u}},2076:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.hasType=void 0;const n=a(7045);class s extends n.Visitor{constructor(c,d){super(c),this.type=d,this.found=!1}visit(c){c.constructor===this.type&&(this.found=!0),super.visit(c)}}o.hasType=function p(g,c){const d=new s(g,c);return d.process(),d.found}},6325:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(d,u,m,_){void 0===_&&(_=m);var f=Object.getOwnPropertyDescriptor(u,m);(!f||("get"in f?!u.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return u[m]}}),Object.defineProperty(d,_,f)}:function(d,u,m,_){void 0===_&&(_=m),d[_]=u[m]}),s=this&&this.__exportStar||function(d,u){for(var m in d)"default"!==m&&!Object.prototype.hasOwnProperty.call(u,m)&&n(u,d,m)};Object.defineProperty(o,"__esModule",{value:!0}),o.hasType=o.Visitor=o.jsonToAst=o.astToJson=void 0,s(a(3286),o),s(a(6151),o);var p=a(6723);Object.defineProperty(o,"astToJson",{enumerable:!0,get:function(){return p.astToJson}}),Object.defineProperty(o,"jsonToAst",{enumerable:!0,get:function(){return p.jsonToAst}}),s(a(4159),o),s(a(7090),o),s(a(4245),o);var g=a(7045);Object.defineProperty(o,"Visitor",{enumerable:!0,get:function(){return g.Visitor}});var c=a(2076);Object.defineProperty(o,"hasType",{enumerable:!0,get:function(){return c.hasType}})},6723:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.jsonToAst=o.astToJson=void 0;const n=a(3286),s=a(2406),p=a(3511);function g(m){if(m instanceof n.DescriptionAnnotation)return{type:"description",value:m.text};if(m instanceof n.ThrowsAnnotation)return{type:"throws",value:m.error};if(m instanceof n.RestAnnotation)return{type:"rest",value:{bodyVariable:m.bodyVariable,headers:[...m.headers.entries()].sort(([_],[f])=>_.localeCompare(f)),method:m.method,path:m.path,pathVariables:m.pathVariables,queryVariables:[...m.queryVariables].sort((_,f)=>_.localeCompare(f))}};if(m instanceof n.HiddenAnnotation)return{type:"hidden",value:null};if(m instanceof n.StatusCodeAnnotation)return{type:"statusCode",value:m.statusCode};throw new Error(`BUG: annotationToJson with ${m.constructor.name}`)}function c(m){switch(m.type){case"description":return new n.DescriptionAnnotation(m.value);case"throws":return new n.ThrowsAnnotation(m.value);case"rest":{const{method:_,path:f,pathVariables:y,queryVariables:b,headers:v,bodyVariable:w}=m.value;return new n.RestAnnotation(_,f,y,b,new Map(v),w)}case"hidden":return new n.HiddenAnnotation;case"statusCode":return new n.StatusCodeAnnotation(m.value);default:throw new Error(`BUG: annotationFromJson with ${m.type}`)}}o.astToJson=function d(m){var _,f,y,b;const v={},w={};function O(K){return K instanceof n.ArrayType?`${O(K.base)}[]`:K instanceof n.OptionalType?`${O(K.base)}?`:K.name}for(const{name:K,fields:V}of m.structTypes){if(K in w)throw new Error(`Duplicate struct type ${K}`);w[K]={};const ee=w[K];for(const W of V){ee[W.name]=O(W.type);for(const Y of W.annotations)if(Y instanceof n.DescriptionAnnotation){const ue=`type.${K}.${W.name}`;null!==(_=v[ue])&&void 0!==_||(v[ue]=[]),v[ue].push(g(Y))}}}for(const{name:K,values:V}of m.enumTypes){if(K in w)throw new Error(`Duplicate enum type ${K}`);w[K]=V.map(ee=>ee.struct?[ee.value,ee.struct.name]:ee.value)}for(const{name:K,type:V}of m.typeDefinitions)V instanceof n.StructType||V instanceof n.EnumType||(w[K]=O(V));const F={};for(const K of m.operations){const V={};for(const ee of K.args){V[ee.name]=O(ee.type);for(const W of ee.annotations)if(W instanceof n.DescriptionAnnotation){const Y=`fn.${K.name}.${ee.name}`;null!==(f=v[Y])&&void 0!==f||(v[Y]=[]),v[Y].push(g(W))}}F[K.name]={args:V,ret:O(K.returnType)};for(const ee of K.annotations){const W=`fn.${K.name}`;null!==(y=v[W])&&void 0!==y||(v[W]=[]),v[W].push(g(ee))}}const S=m.errors.map(K=>K.dataType instanceof n.VoidPrimitiveType?K.name:[K.name,K.dataType.name]);for(const K of m.errors)for(const V of K.annotations){const ee=`error.${K.name}`;null!==(b=v[ee])&&void 0!==b||(v[ee]=[]),v[ee].push(g(V))}return{annotations:v,errors:S,functionTable:F,typeTable:w}},o.jsonToAst=function u(m){var _,f;const y=[],b=[],v=[];function w(S,K){var V;if("string"==typeof S){const W=p.primitiveToAstClass.get(S);return W?new W:S.endsWith("?")?new n.OptionalType(w(S.slice(0,S.length-1))):S.endsWith("[]")?new n.ArrayType(w(S.slice(0,S.length-2))):new n.TypeReference(S)}if(Array.isArray(S))return new n.EnumType(S.map(W=>{if(Array.isArray(W)){const[Y,ue]=W,ie=new n.EnumValue(Y);return v.push([ie,ue]),ie}return new n.EnumValue(W)}));const ee=[];for(const W of Object.keys(S)){const Y=new n.Field(W,w(S[W]));if(K){const ue=`type.${K}.${W}`;for(const ie of null!==(V=m.annotations[ue])&&void 0!==V?V:[])Y.annotations.push(c(ie))}ee.push(Y)}return new n.StructType(ee)}for(const[S,K]of Object.entries(m.typeTable)){const V=w(K,S);b.push(new n.TypeDefinition(S,V))}for(const[S,K]of Object.entries(m.functionTable)){const V=Object.keys(K.args).map(Y=>{var ue;const ie=new n.Field(Y,w(K.args[Y])),te=`fn.${S}.${Y}`;for(const ve of null!==(ue=m.annotations[te])&&void 0!==ue?ue:[])ie.annotations.push(c(ve));return ie}),ee=new n.FunctionOperation(S,V,w(K.ret)),W=`fn.${S}`;for(const Y of null!==(_=m.annotations[W])&&void 0!==_?_:[])ee.annotations.push(c(Y));y.push(ee)}for(const[S,K]of v){const V=null===(f=b.find(ee=>ee.name===K))||void 0===f?void 0:f.type;V instanceof n.StructType&&(S.struct=V)}const O=m.errors.map(S=>{var K;let V;if(Array.isArray(S)){const[W,Y]=S;V=new n.ErrorNode(W,w(Y))}else V=new n.ErrorNode(S,new n.VoidPrimitiveType);const ee=`error.${V.name}`;for(const W of null!==(K=m.annotations[ee])&&void 0!==K?K:[])V.annotations.push(c(W));return V}),F=new n.AstRoot(b,y,O);return(0,s.analyse)(F),F}},4159:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Lexer=o.LexerError=void 0;const n=a(4245);class s extends Error{}o.LexerError=s;class p{constructor(c,d="-"){this.source=c,this.filename=d,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 c=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(),c=new n.CurlyOpenSymbolToken;break;case"}":this.nextChar(),c=new n.CurlyCloseSymbolToken;break;case"(":this.nextChar(),c=new n.ParensOpenSymbolToken;break;case")":this.nextChar(),c=new n.ParensCloseSymbolToken;break;case"?":this.nextChar(),c=new n.OptionalSymbolToken;break;case":":this.nextChar(),c=new n.ColonSymbolToken;break;case"=":this.nextChar(),c=new n.EqualSymbolToken;break;case"!":this.nextChar(),c=new n.ExclamationMarkSymbolToken;break;case",":this.nextChar(),c=new n.CommaSymbolToken;break;case"[":"]"===this.nextChar()&&(this.nextChar(),c=new n.ArraySymbolToken);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),c=new n.SpreadSymbolToken);break;case"@":{let d="\\",u=this.startPos+1;for(;d.endsWith("\\");){for(d=d.slice(0,d.length-1).trim();!["\0","\n"].includes(this.nextChar()););d=`${d} ${this.source.substring(u,this.pos).trim()}`.trim(),u=this.pos+1}c=new n.AnnotationToken(d.trim());break}case'"':{const d=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":d.push("\n");break;case"t":d.push("\t");break;default:d.push(this.currentChar())}break;case'"':this.nextChar(),c=new n.StringLiteralToken(d.join(""));break e;default:d.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const d=this.source.substring(this.startPos,this.pos);switch(d){case"error":c=new n.ErrorKeywordToken;break;case"enum":c=new n.EnumKeywordToken;break;case"type":c=new n.TypeKeywordToken;break;case"import":c=new n.ImportKeywordToken;break;case"fn":c=new n.FnKeywordToken;break;case"true":c=new n.TrueKeywordToken;break;case"false":c=new n.FalseKeywordToken;break;default:c=p.PRIMITIVES.has(d)?new n.PrimitiveTypeToken(d):new n.IdentifierToken(d)}}}if(null!==c)return c.location.filename=this.filename,c.location.line=this.startLine,c.location.column=this.startColumn,c;throw"\0"===this.currentChar()?new s(`Unexpected end of file at ${this.filename}`):new s(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}o.Lexer=p,p.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"]),p.KEYWORDS=new Set([...p.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"])},7090:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Parser=o.ParserError=void 0;const n=a(3286),s=a(4159),p=a(9159),g=a(2406),c=a(4245),d=a(3511);class u extends Error{}o.ParserError=u,o.Parser=class m{constructor(f){this.token=null,this.annotations=[],this.warnings=[],this.readFileSync=()=>{throw"Not implemented"};try{this.readFileSync=Object(function(){var v=new Error("Cannot find module 'fs'");throw v.code="MODULE_NOT_FOUND",v}())}catch{}const y=Array.isArray(f)?[...f].reverse():[f];this.lexers=y.map(b=>b instanceof s.Lexer?b:new s.Lexer(this.readFileSync(b).toString(),b)),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 u(`Expected ${Object.keys(f).map(b=>b.replace("Token","")).join(" or ")}, but found end of file`);const y=this.token.constructor.name;if(y in f)return f[y](this.token);if(f.IdentifierToken){const b=this.token.maybeAsIdentifier();if(b instanceof c.IdentifierToken)return f.IdentifierToken(b)}throw new u(`Expected ${Object.keys(f).map(b=>b.replace("Token","")).join(" or ")} at ${this.token.location}, but found ${this.token}`)}expect(f){if(null===this.token)throw new u(`Expected ${f.name.replace("Token","")}, but found end of file`);if(this.token instanceof f)return this.token;if(f===c.IdentifierToken){const y=this.token.maybeAsIdentifier();if(y instanceof c.IdentifierToken)return y}throw new u(`Expected ${f.name.replace("Token","")} at ${this.token.location}, but found ${this.token}`)}parse(){const f=[],y=[],b=[];for(this.warnings=[];this.token;)this.acceptAnnotations(),this.multiExpect({ErrorKeywordToken:()=>{b.push(this.parseError())},FnKeywordToken:()=>{f.push(this.parseOperation())},ImportKeywordToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const w=this.expect(c.StringLiteralToken),O=w.location.filename.replace(/[^/\\]+$/u,`${w.value}.sdkgen`);this.lexers.push(new s.Lexer(this.readFileSync(O).toString(),O)),this.nextToken()},TypeKeywordToken:()=>{y.push(this.parseTypeDefinition())}});const v=new n.AstRoot(y,f,b);return v.warnings=this.warnings,(0,g.analyse)(v),v}acceptAnnotations(){for(;this.token instanceof c.AnnotationToken;){const f=this.token.value.split(" "),y=this.token.value.slice(f[0].length).trim();switch(f[0]){case"description":this.annotations.push(new n.DescriptionAnnotation(y).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(y).at(this.token));break;case"rest":try{this.annotations.push((0,p.parseRestAnnotation)(y).at(this.token))}catch(b){throw new u(`${b instanceof Error?b.message:b} at ${this.token.location}`)}break;case"hidden":if(""!==y)throw new u("@hidden annotation doesn't take any argument");this.annotations.push((new n.HiddenAnnotation).at(this.token));break;case"statusCode":{const b=parseInt(y,10);if(b.toString()!==y.trim())throw new u("@statusCode annotation takes an integer as argument");this.annotations.push(new n.StatusCodeAnnotation(b).at(this.token));break}default:throw new u(`Unknown annotation '${f[0]}' at ${this.token.location}`)}this.nextToken()}}checkCannotHaveAnnotationsHere(){if(this.annotations.length>0)throw new u(`Cannot have annotations at ${this.annotations[0].location}`)}parseTypeDefinition(){const f=this.expect(c.TypeKeywordToken);this.nextToken();const y=this.expect(c.IdentifierToken),b=y.value;if(!/[A-Z]/u.test(b[0]))throw new u(`The custom type name must start with an uppercase letter, but found ${JSON.stringify(b)} at ${y.location}`);this.nextToken();const{annotations:v}=this;this.annotations=[];const w=this.parseType(),O=new n.TypeDefinition(b,w).at(f);return O.annotations=v,O}parseError(){const f=this.expect(c.ErrorKeywordToken);this.nextToken();const y=this.expect(c.IdentifierToken),b=y.value;if(!/[A-Z]/u.test(b[0]))throw new u(`Error name must start with an uppercase letter, but found ${JSON.stringify(b)} at ${y.location}`);this.nextToken();let v=new n.VoidPrimitiveType;(this.token instanceof c.CurlyOpenSymbolToken||this.token instanceof c.EnumKeywordToken||this.token instanceof c.IdentifierToken||this.token instanceof c.PrimitiveTypeToken)&&(v=this.parseType());const w=new n.ErrorNode(b,v).at(f);return w.annotations=this.annotations,this.annotations=[],w}parseOperation(){let{annotations:f}=this;this.annotations=[],this.expect(c.FnKeywordToken),this.nextToken();const y=this.expect(c.IdentifierToken).value;this.nextToken(),this.expect(c.ParensOpenSymbolToken),this.nextToken();const b=new Set,v=[];let O,w=!1;for(;!w;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:K=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),w=!0,O=K},IdentifierToken:()=>{const K=this.parseField();if(b.has(K.name))throw new u(`Cannot redeclare argument '${K.name}'`);b.add(K.name),v.push(K),this.multiExpect({ParensCloseSymbolToken:V=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),w=!0,O=V},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const K=this.expect(c.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(K.value[0]))throw new u(`Expected a type but found ${JSON.stringify(K.value)} at ${K.location}`);v.push(new n.Spread(new n.TypeReference(K.value).at(K)).at(K)),this.multiExpect({ParensCloseSymbolToken:V=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),w=!0,O=V},CommaSymbolToken:()=>this.nextToken()})}});for(const K of f)if(K instanceof n.ArgDescriptionAnnotation){const V=v.find(ee=>ee instanceof n.Field&&ee.name===K.argName);if(!V)throw new u(`Argument '${K.argName}' not found, at ${K.location}`);V.annotations.push(new n.DescriptionAnnotation(K.text).atLocation(K.location))}f=f.filter(K=>!(K instanceof n.ArgDescriptionAnnotation));let F=(new n.VoidPrimitiveType).at(O);this.token instanceof c.ColonSymbolToken&&(this.nextToken(),F=this.parseType());const S=new n.FunctionOperation(y,v,F);return S.annotations=f,S}parseEnum(){this.checkCannotHaveAnnotationsHere();const f=this.expect(c.EnumKeywordToken);this.nextToken(),this.expect(c.CurlyOpenSymbolToken),this.nextToken();const y=new n.EnumType([]).at(f);let b=!1;for(;!b;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),b=!0},IdentifierToken:v=>{const w=new n.EnumValue(v.value).at(v);if(w.annotations=this.annotations,this.annotations=[],y.values.push(w),this.nextToken(),!(this.token instanceof c.ParensOpenSymbolToken))return;this.nextToken();const O=new Set,F=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof c.IdentifierToken;){const S=this.parseField();if("tag"===S.name&&(S.name="_tag"),O.has(S.name))throw new u(`Cannot redeclare argument '${S.name}'`);if(O.add(S.name),F.push(S),!(this.token instanceof c.CommaSymbolToken))break;this.nextToken()}w.struct=new n.StructType(F).atLocation(w.location),this.expect(c.ParensCloseSymbolToken),this.nextToken()}});return y}parseField(){const f=this.expect(c.IdentifierToken);this.nextToken(),this.expect(c.ColonSymbolToken),this.nextToken();const{annotations:y}=this;this.annotations=[];const b=this.parseType(),v=new n.Field(f.value,b).at(f);for(v.annotations=y;this.token instanceof c.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(c.IdentifierToken).value))throw new u(`Unknown field mark !${this.token.value} at ${this.token.location}`);v.secret=!0,this.nextToken()}return v}parseStruct(){const f=this.expect(c.CurlyOpenSymbolToken);this.nextToken();const y=[],b=new Set;let v=!1;for(;!v;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),v=!0},IdentifierToken:()=>{const w=this.parseField();if(b.has(w.name))throw new u(`Cannot redeclare field '${w.name}'`);b.add(w.name),y.push(w)},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const w=this.expect(c.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(w.value[0]))throw new u(`Expected a type but found ${JSON.stringify(w.value)} at ${w.location}`);y.push(new n.Spread(new n.TypeReference(w.value).at(w)).at(w))}});return new n.StructType(y).at(f)}parseType(){this.checkCannotHaveAnnotationsHere();let f=this.multiExpect({CurlyOpenSymbolToken:()=>this.parseStruct(),EnumKeywordToken:()=>this.parseEnum(),IdentifierToken:y=>{if(this.nextToken(),!/[A-Z]/u.test(y.value[0]))throw new u(`Expected a type but found ${JSON.stringify(y.value)} at ${y.location}`);return new n.TypeReference(y.value).at(y)},PrimitiveTypeToken:y=>{this.nextToken();const b=d.primitiveToAstClass.get(y.value);if(b)return(new b).at(y);throw new u(`BUG! Should handle primitive ${y.value}`)}});for(;this.token instanceof c.ArraySymbolToken||this.token instanceof c.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:y=>f=new n.ArrayType(f).at(y),OptionalSymbolToken:y=>f=new n.OptionalType(f).at(y)}),this.nextToken();return f}}},9159:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.parseRestAnnotation=void 0;const n=a(3286);function g(d){var u;const m=/\{(?<name>\w+)\}/gu,_=[];let f;for(;null!==(f=m.exec(d));)null!==(u=f.groups)&&void 0!==u&&u.name&&_.push(f.groups.name);return _}o.parseRestAnnotation=function c(d){const u=d.split(" "),m=u[0].toUpperCase();if(!["GET","POST","PUT","DELETE","PATCH"].includes(m))throw new Error(`Unsupported method '${m}'`);let _=u[1];if(!_.startsWith("/"))throw new Error("Invalid path");let f=[];if(_.includes("?")){const[O,...F]=_.split("?");_=O;const S=F.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(S))throw new Error("Invalid querystring on path");f=g(S)}const y=g(_),b=u.slice(2).join(" "),v=function s(d){var u;const m=/\[header (?<header>[^()<>@,;:\\"/[\]?={}\s\t]+): \{(?<name>\w+)\}\]/gu,_=new Map;let f;for(;null!==(f=m.exec(d));)null!==(u=f.groups)&&void 0!==u&&u.header&&f.groups.name&&_.set(f.groups.header.toLowerCase(),f.groups.name);return _}(b),w=function p(d){var u;const m=/\[body \{(?<name>\w+)\}\]/u.exec(d);return null!==(u=m?.groups)&&void 0!==u&&u.name?m.groups.name:null}(b);return new n.RestAnnotation(m,_,y,f,v,w)}},1160:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckMultipleDeclarationVisitor=void 0;const n=a(7045),s=a(3286);o.CheckMultipleDeclarationVisitor=class p extends n.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(c){if(c instanceof s.TypeDefinition){const d=this.nameToType.get(c.name);if(d&&JSON.stringify(d)!==JSON.stringify(c.type))throw new n.SemanticError(`Type '${c.name}' at ${c.location} is defined multiple times (also at ${d.location})`);this.nameToType.set(c.name,c.type)}super.visit(c)}}},3722:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.GiveStructAndEnumNamesTransformer=void 0;const n=a(737),s=a(7045),p=a(3286);o.GiveStructAndEnumNamesTransformer=class g extends n.Transformer{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(d){if(d instanceof p.TypeDefinition)return this.path=[d.name],super.transform(d);if(d instanceof p.ErrorNode)return this.path=[`${d.name}Data`],super.transform(d);if(d instanceof p.FunctionOperation)return this.path=[d.name],super.transform(d);if(d instanceof p.Field)try{return this.path.push(d.name),super.transform(d)}finally{this.path.pop()}else{if(!(d instanceof p.EnumValue)){if(d instanceof p.StructType||d instanceof p.EnumType){d.name=this.path.map(m=>m[0].toUpperCase()+m.slice(1)).join("");const u=this.names.get(d.name);if(u){if(u.type.constructor!==d.constructor||JSON.stringify(u.type)!==JSON.stringify(d))throw new s.SemanticError(`The name of the type '${this.path.join(".")}' at ${d.location} will conflict with '${u.path.join(".")}' at ${u.type.location}`);return u.type}return this.names.set(d.name,{path:[...this.path],type:d}),super.transform(d)}return super.transform(d)}try{return this.path.push(d.value),super.transform(d)}finally{this.path.pop()}}}}},9531:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.MatchTypeDefinitionsVisitor=void 0;const n=a(7045),s=a(3286);o.MatchTypeDefinitionsVisitor=class p extends n.Visitor{visit(c){if(c instanceof s.TypeReference){const d=this.root.typeDefinitions.find(u=>u.name===c.name);if(void 0===d)throw new n.SemanticError(`Could not find type '${c.name}' at ${c.location}`);c.type=d.type}super.visit(c)}}},4617:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDontReturnSecretVisitor=void 0;const n=a(7045),s=a(3286);o.CheckDontReturnSecretVisitor=class p extends n.Visitor{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(c){if(!this.visited.has(c))if(this.visited.add(c),c instanceof s.FunctionOperation)this.isInReturn=!0,this.visited.clear(),this.path.push(`${c.name}(...)`),this.visit(c.returnType),this.path.pop(),this.isInReturn=!1;else if(c instanceof s.TypeReference)this.visit(c.type);else if(c instanceof s.Field){if(this.path.push(c.name),this.isInReturn&&c.secret)throw new n.SemanticError(`Can't return a secret value at ${this.path.join(".")} at ${c.location}`);super.visit(c),this.path.pop()}else super.visit(c)}}},8085:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ExpandSpreadsVisitor=void 0;const n=a(7045),s=a(3286);o.ExpandSpreadsVisitor=class p extends n.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(c,d){const u=new Map;for(const m of d){let _;if(m instanceof s.Field)_=[m];else{const f=m.typeReference.type;if(!(f instanceof s.StructType))throw new n.SemanticError(`A spread operator can't refer to something that is not a struct, in '${m.typeReference.name}' at ${m.location}.`);this.visit(f),_=f.fields}for(const f of _){const y=u.get(f.name);y?c[y]=f:(u.set(f.name,c.length),c.push(f))}}}visit(c){if(c instanceof s.StructType){if(this.processed.has(c))return;this.processed.add(c)}super.visit(c),c instanceof s.StructType?(this.expandSpread(c.fields,c.fieldsAndSpreads),c.fieldsAndSpreads=[]):c instanceof s.FunctionOperation&&(this.expandSpread(c.args,c.fieldsAndSpreads),c.fieldsAndSpreads=[])}}},6327:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckEmptyStructOrEnumVisitor=void 0;const n=a(7045),s=a(3286);o.CheckEmptyStructOrEnumVisitor=class p extends n.Visitor{visit(c){if(super.visit(c),c instanceof s.EnumType&&0===c.values.length)throw new n.SemanticError(`Enum '${c.name}' at ${c.location} is empty`);if(c instanceof s.StructType&&0===c.fields.length)throw new n.SemanticError(`Struct '${c.name}' at ${c.location} is empty`)}}},7904:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateRecursiveTypes=void 0;const n=a(7045),s=a(3286);o.ValidateRecursiveTypes=class p extends n.Visitor{visit(c){if(super.visit(c),c instanceof s.TypeDefinition&&this.isRecursiveType(c,c.type)){if(!(c.type instanceof s.StructType||c.type instanceof s.EnumType))throw new n.SemanticError(`Type '${c.name}' at ${c.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(c,c.type))throw new n.SemanticError(`Type '${c.name}' at ${c.location} is infinitely recursive`)}}isRecursiveType(c,d){return d instanceof s.TypeReference?c.name===d.name:d instanceof s.ArrayType||d instanceof s.OptionalType?this.isRecursiveType(c,d.base):d instanceof s.StructType?d.fields.some(u=>this.isRecursiveType(c,u.type)):d instanceof s.EnumType&&d.values.some(u=>u.struct&&this.isRecursiveType(c,u.struct))}isInfinitelyRecursiveType(c,d){return d instanceof s.TypeReference?d.name===c.name:d instanceof s.StructType?d.fields.some(u=>this.isInfinitelyRecursiveType(c,u.type)):d instanceof s.EnumType&&d.values.every(u=>u.struct&&this.isInfinitelyRecursiveType(c,u.struct))}}},5369:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CollectStructAndEnumTypesVisitor=void 0;const n=a(7045),s=a(3286);o.CollectStructAndEnumTypesVisitor=class p extends n.Visitor{constructor(){super(...arguments),this.visited=new Set}visit(c){super.visit(c),!this.visited.has(c)&&(this.visited.add(c),c instanceof s.StructType?this.root.structTypes.push(c):c instanceof s.EnumType&&this.root.enumTypes.push(c))}}},6572:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateAnnotationsVisitor=void 0;const n=a(7045),s=a(3286);function g(d){return d instanceof s.TypeReference?g(d.type):d}o.ValidateAnnotationsVisitor=class c extends n.Visitor{visit(u){if(u instanceof s.EnumValue){for(const m of u.annotations)if(!(m instanceof s.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${m.constructor.name.replace("Annotation","").toLowerCase()} at ${m.location}`)}else if(u instanceof s.TypeDefinition){for(const m of u.annotations)if(!(m instanceof s.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${m.constructor.name.replace("Annotation","").toLowerCase()} at ${m.location}`)}else if(u instanceof s.Field){for(const m of u.annotations)if(!(m instanceof s.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${m.constructor.name.replace("Annotation","").toLowerCase()} at ${m.location}`)}else if(u instanceof s.FunctionOperation){for(const m of u.annotations)if(!(m instanceof s.DescriptionAnnotation))if(m instanceof s.ThrowsAnnotation){if(!this.root.errors.some(_=>_.name===m.error))throw new n.SemanticError(`Unknown error type '${m.error}' at ${m.location}`)}else if(m instanceof s.RestAnnotation){const _=[...m.pathVariables,...m.queryVariables,...m.headers.values()];if(_.length!==new Set(_).size)throw new n.SemanticError(`Arguments must appear only once for rest annotation at ${m.location}`);for(const f of _){const y=u.args.find(v=>v.name===f);if(!y)throw new n.SemanticError(`Argument '${f}' not found at ${m.location}`);if(m.pathVariables.includes(f)&&y.type instanceof s.OptionalType)throw new n.SemanticError(`The path argument '${f}' can't be nullable at ${m.location}`);if(!((d=g(y.type instanceof s.OptionalType?y.type.base:y.type))instanceof s.BoolPrimitiveType||d instanceof s.IntPrimitiveType||d instanceof s.UIntPrimitiveType||d instanceof s.BigIntPrimitiveType||d instanceof s.FloatPrimitiveType||d instanceof s.StringPrimitiveType||d instanceof s.DatePrimitiveType||d instanceof s.DateTimePrimitiveType||d instanceof s.MoneyPrimitiveType||d instanceof s.DecimalPrimitiveType||d instanceof s.CpfPrimitiveType||d instanceof s.CnpjPrimitiveType||d instanceof s.UuidPrimitiveType||d instanceof s.HexPrimitiveType||d instanceof s.Base64PrimitiveType||d instanceof s.EnumType))throw new n.SemanticError(`Argument '${f}' can't have type '${y.type.name}' for rest annotation at ${m.location}`)}for(const f of u.args){if(!_.includes(f.name)&&m.bodyVariable!==f.name)throw new n.SemanticError(`Argument '${f.name}' is missing from the rest annotation at ${m.location}`);const y=[...m.pathVariables,...m.queryVariables];if("GET"===m.method&&y.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 ${m.location}`)}if("GET"===m.method&&u.returnType instanceof s.VoidPrimitiveType)throw new n.SemanticError(`A GET rest endpoint must return something at ${m.location}`)}else if(!(m instanceof s.HiddenAnnotation))throw new n.SemanticError(`Cannot have @${m.constructor.name.replace("Annotation","").toLowerCase()} at ${m.location}`)}else if(u instanceof s.ErrorNode){for(const m of u.annotations){if(!(m instanceof s.StatusCodeAnnotation))throw new n.SemanticError(`Cannot have @${m.constructor.name.replace("Annotation","").toLowerCase()} at ${m.location}`);if(m.statusCode<400||m.statusCode>599)throw new n.SemanticError(`Error status code can only be 4xx or 5xx at ${m.location}`)}if(u.annotations.filter(m=>m instanceof s.StatusCodeAnnotation).length>1)throw new n.SemanticError(`Can't provide more than one status code at ${u.location}`)}var d}}},3577:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDuplicatedMembersOnEnumVisitor=void 0;const n=a(7045),s=a(3286);o.CheckDuplicatedMembersOnEnumVisitor=class p extends n.Visitor{visit(c){if(super.visit(c),c instanceof s.EnumType&&c.values.length!==new Set(c.values.map(d=>d.value)).size)throw new n.SemanticError(`Enum '${c.name}' at ${c.location} has duplicated members`)}}},2406:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.analyse=void 0;const n=a(1160),s=a(3722),p=a(9531),g=a(4617),c=a(8085),d=a(6327),u=a(7904),m=a(5369),_=a(6572),f=a(3577),y=a(3286);o.analyse=function b(v){v.errors.some(w=>"Fatal"===w.name)||v.errors.push(new y.ErrorNode("Fatal",new y.VoidPrimitiveType)),new n.CheckMultipleDeclarationVisitor(v).process(),new s.GiveStructAndEnumNamesTransformer(v).process(),new p.MatchTypeDefinitionsVisitor(v).process(),new g.CheckDontReturnSecretVisitor(v).process(),new c.ExpandSpreadsVisitor(v).process(),new d.CheckEmptyStructOrEnumVisitor(v).process(),new u.ValidateRecursiveTypes(v).process(),new m.CollectStructAndEnumTypesVisitor(v).process(),new _.ValidateAnnotationsVisitor(v).process(),new f.CheckDuplicatedMembersOnEnumVisitor(v).process()}},737:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Transformer=o.SemanticError=void 0;const n=a(3286);class s extends Error{}o.SemanticError=s,o.Transformer=class p{constructor(c){this.root=c}process(){this.root.errors=this.root.errors.map(c=>this.transform(c)),this.root.typeDefinitions=this.root.typeDefinitions.map(c=>this.transform(c)),this.root.operations=this.root.operations.map(c=>this.transform(c))}transform(c){return c instanceof n.FunctionOperation?(c.args=c.args.map(d=>this.transform(d)),c.fieldsAndSpreads=c.fieldsAndSpreads.map(d=>this.transform(d)),c.returnType=this.transform(c.returnType)):c instanceof n.Field||c instanceof n.TypeDefinition?c.type=this.transform(c.type):c instanceof n.StructType?(c.fields=c.fields.map(d=>this.transform(d)),c.fieldsAndSpreads=c.fieldsAndSpreads.map(d=>this.transform(d))):c instanceof n.EnumType?c.values=c.values.map(d=>this.transform(d)):c instanceof n.EnumValue?c.struct&&(c.struct=this.transform(c.struct)):c instanceof n.ArrayType||c instanceof n.OptionalType?c.base=this.transform(c.base):c instanceof n.ErrorNode?c.dataType=this.transform(c.dataType):c instanceof n.Spread&&(c.typeReference=this.transform(c.typeReference)),c}}},7045:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Visitor=o.SemanticError=void 0;const n=a(3286);class s extends Error{}o.SemanticError=s,o.Visitor=class p{constructor(c){this.root=c}process(){for(const c of this.root.errors)this.visit(c);for(const c of this.root.typeDefinitions)this.visit(c);for(const c of this.root.operations)this.visit(c)}visit(c){if(c instanceof n.FunctionOperation){for(const d of c.args)this.visit(d);for(const d of c.fieldsAndSpreads)this.visit(d);this.visit(c.returnType)}else if(c instanceof n.Field||c instanceof n.TypeDefinition)this.visit(c.type);else if(c instanceof n.StructType){for(const d of c.fields)this.visit(d);for(const d of c.fieldsAndSpreads)this.visit(d)}else if(c instanceof n.EnumType)for(const d of c.values)this.visit(d);else c instanceof n.EnumValue?c.struct&&this.visit(c.struct):c instanceof n.ArrayType||c instanceof n.OptionalType?this.visit(c.base):c instanceof n.ErrorNode?this.visit(c.dataType):c instanceof n.Spread&&this.visit(c.typeReference)}}},4245:(Z,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(te=""){this.value=te,this.location=new a,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const te=this.constructor.name.replace("Token","");return""===this.value?te:`${te}(${JSON.stringify(this.value)})`}}o.Token=n;class s extends n{}o.IdentifierToken=s,o.StringLiteralToken=class p extends n{},o.EqualSymbolToken=class g extends n{},o.ExclamationMarkSymbolToken=class c extends n{},o.CurlyOpenSymbolToken=class d extends n{},o.CurlyCloseSymbolToken=class u extends n{},o.ParensOpenSymbolToken=class m extends n{},o.ParensCloseSymbolToken=class _ extends n{},o.ColonSymbolToken=class f extends n{},o.OptionalSymbolToken=class y extends n{},o.ArraySymbolToken=class b extends n{},o.CommaSymbolToken=class v extends n{},o.SpreadSymbolToken=class w extends n{},o.AnnotationToken=class O extends n{},o.ImportKeywordToken=class F extends n{maybeAsIdentifier(){return new s("import")}},o.TypeKeywordToken=class S extends n{maybeAsIdentifier(){return new s("type")}},o.EnumKeywordToken=class K extends n{maybeAsIdentifier(){return new s("enum")}},o.FnKeywordToken=class V extends n{maybeAsIdentifier(){return new s("fn")}},o.ErrorKeywordToken=class ee extends n{maybeAsIdentifier(){return new s("error")}},o.TrueKeywordToken=class W extends n{maybeAsIdentifier(){return new s("true")}},o.FalseKeywordToken=class Y extends n{maybeAsIdentifier(){return new s("false")}},o.PrimitiveTypeToken=class ue extends n{maybeAsIdentifier(){return new s(this.value)}}},3511:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.primitiveToAstClass=void 0;const n=a(3286);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)},6401:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppComponent=void 0;const n=a(7582),s=a(6223),p=a(3236),g=a(5737),c=a(2045),d=a(7068),u=a(3191),m=a(6077),_=a(217),f=n.__importStar(a(5879)),y=n.__importStar(a(6480)),b=n.__importStar(a(6593)),v=n.__importStar(a(5307)),w=n.__importStar(a(6814)),O=n.__importStar(a(3711)),F=n.__importStar(a(2296)),S=n.__importStar(a(1326)),K=n.__importStar(a(4104)),V=n.__importStar(a(2596)),ee=n.__importStar(a(8197)),W=n.__importStar(a(3632)),Y=n.__importStar(a(3538)),ue=n.__importStar(a(1763));function ie(q,we){1&q&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"Editor Avan\xe7ado"),f.\u0275\u0275elementContainerEnd())}function te(q,we){if(1&q&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275elementStart(1,"span",21),f.\u0275\u0275text(2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementContainerEnd()),2&q){const re=f.\u0275\u0275nextContext(2).$implicit;f.\u0275\u0275advance(2),f.\u0275\u0275textInterpolate1("\u25b6\xa0",re.function,"")}}function ve(q,we){if(1&q){const re=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"span",18),f.\u0275\u0275template(1,ie,2,0,"ng-container",19),f.\u0275\u0275template(2,te,3,1,"ng-container",19),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"button",20),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(re);const z=f.\u0275\u0275nextContext().$implicit,$=f.\u0275\u0275nextContext(2);return f.\u0275\u0275resetView($.closeTab(z))}),f.\u0275\u0275elementStart(4,"mat-icon"),f.\u0275\u0275text(5,"close"),f.\u0275\u0275elementEnd()()}if(2&q){const re=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275property("ngSwitch",re.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","advanced"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","simple")}}function nt(q,we){1&q&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275element(1,"app-tab-editor"),f.\u0275\u0275elementContainerEnd())}function be(q,we){if(1&q&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275element(1,"app-simple-call",22),f.\u0275\u0275elementContainerEnd()),2&q){const re=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275advance(1),f.\u0275\u0275property("fn",re.function)}}function Ye(q,we){if(1&q&&(f.\u0275\u0275elementStart(0,"mat-tab"),f.\u0275\u0275template(1,ve,6,3,"ng-template",16),f.\u0275\u0275elementContainerStart(2,18),f.\u0275\u0275template(3,nt,2,0,"ng-container",19),f.\u0275\u0275template(4,be,2,1,"ng-container",19),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementEnd()),2&q){const re=we.$implicit;f.\u0275\u0275advance(2),f.\u0275\u0275property("ngSwitch",re.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","advanced"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","simple")}}function pe(q,we){if(1&q){const re=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"button",23),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(re);const z=f.\u0275\u0275nextContext(2);return f.\u0275\u0275resetView(z.addAdvancedTab())}),f.\u0275\u0275elementStart(1,"mat-icon"),f.\u0275\u0275text(2,"add_circle"),f.\u0275\u0275elementEnd()()}}function Le(q,we){if(1&q&&(f.\u0275\u0275elementStart(0,"button",24)(1,"mat-icon"),f.\u0275\u0275text(2,"download"),f.\u0275\u0275elementEnd()()),2&q){f.\u0275\u0275nextContext(2);const re=f.\u0275\u0275reference(5);f.\u0275\u0275property("matMenuTriggerFor",re)}}function Xe(q,we){if(1&q){const re=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-tab-group",11),f.\u0275\u0275listener("selectedIndexChange",function(z){f.\u0275\u0275restoreView(re);const $=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView($.selected.setValue(z))}),f.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),f.\u0275\u0275listener("runFunction",function(z){f.\u0275\u0275restoreView(re);const $=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView($.addSimpleTab(z))}),f.\u0275\u0275elementEnd()(),f.\u0275\u0275template(3,Ye,5,3,"mat-tab",14),f.\u0275\u0275elementStart(4,"mat-tab",15),f.\u0275\u0275template(5,pe,3,0,"ng-template",16),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(6,"mat-tab",17),f.\u0275\u0275template(7,Le,3,1,"ng-template",16),f.\u0275\u0275elementEnd()()}if(2&q){const re=f.\u0275\u0275nextContext();f.\u0275\u0275property("selectedIndex",re.selected.value),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngForOf",re.tabs)}}o.AppComponent=(()=>{class q{constructor(re,J,z){this.sdkgen=re,this.domSanitizer=J,this.matIconRegistry=z,this.selected=new s.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const $ of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon($,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${$}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(re=>{this.state=re??void 0})}ngOnDestroy(){this.state$?.unsubscribe()}addSimpleTab(re){this.tabs.push({id:this.tabIndex++,function:re,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(re){this.tabs.splice(this.tabs.indexOf(re),1),this.selected.setValue(0)}downloadTarget(re){if(!this.state)return;let J,z;switch(re){case"typescript_nodeserver":J=(0,m.generateNodeServerSource)(this.state.astRoot),z="node-server.ts";break;case"typescript_nodeclient":J=(0,m.generateNodeClientSource)(this.state.astRoot),z="node-client.ts";break;case"typescript_web":J=(0,m.generateBrowserClientSource)(this.state.astRoot),z="web-client.ts";break;case"typescript_interfaces":J=(0,m.generateTypescriptInterfaces)(this.state.astRoot),z="interfaces.ts";break;case"flutter":J=(0,g.generateDartClientSource)(this.state.astRoot),z="flutter-client.dart";break;case"csharp_server":J=(0,p.generateCSharpServerSource)(this.state.astRoot),z="csharp-server.cs";break;case"fsharp_server":J=(0,c.generateFSharpServerSource)(this.state.astRoot),z="fsharp-server.fs";break;case"kotlin_android":J=(0,d.generateAndroidClientSource)(this.state.astRoot,!0),z="android-client.kt";break;case"kotlin_android_without_callbacks":J=(0,d.generateAndroidClientSource)(this.state.astRoot,!1),z="android-client-no-callbacks.kt";break;case"swift_ios":J=(0,u.generateSwiftClientSource)(this.state.astRoot,!1),z="ios-client.swift";break;case"rxswift_ios":J=(0,u.generateSwiftClientSource)(this.state.astRoot,!0),z="ios-client-rx.swift"}(0,_.saveAs)(new Blob([J],{type:"application/octet-stream"}),z)}static#e=this.\u0275fac=function(J){return new(J||q)(f.\u0275\u0275directiveInject(y.SdkgenService),f.\u0275\u0275directiveInject(b.DomSanitizer),f.\u0275\u0275directiveInject(v.MatIconRegistry))};static#t=this.\u0275cmp=f.\u0275\u0275defineComponent({type:q,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",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","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled","","labelClass","action-button"],["mat-tab-label",""],["disabled","","labelClass","right action-button"],[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(J,z){1&J&&(f.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),f.\u0275\u0275template(2,Xe,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 z.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 z.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 z.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 z.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 z.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 z.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 z.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 z.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 z.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 z.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 z.downloadTarget("typescript_interfaces")}),f.\u0275\u0275element(44,"mat-icon",6),f.\u0275\u0275text(45,"Interfaces"),f.\u0275\u0275elementEnd()()),2&J&&(f.\u0275\u0275advance(2),f.\u0275\u0275property("ngIf",f.\u0275\u0275pipeBind1(3,1,z.sdkgen.state$)))},dependencies:[w.NgForOf,w.NgIf,w.NgSwitch,w.NgSwitchCase,O.MonacoEditorComponent,F.MatIconButton,v.MatIcon,S.MatMenu,S.MatMenuItem,S.MatMenuTrigger,K.MatTabLabel,K.MatTab,K.MatTabGroup,V.MatTooltip,ee.SimpleCallComponent,W.TabNavComponent,Y.TabEditorComponent,ue.TabHomeComponent,w.AsyncPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} app-root mat-tab-group#main-tabs>mat-tab-header{border-bottom:1px solid rgba(255,255,255,.1215686275)} app-root mat-tab-group#main-tabs .mat-mdc-tab{--mat-tab-header-active-label-text-color: #fff;--mat-tab-header-active-focus-label-text-color: #fff;--mat-tab-header-active-hover-label-text-color: #fff;text-decoration:none;transition:all .2s ease;min-width:0;text-transform:uppercase;-webkit-user-select:none;user-select:none;letter-spacing:normal} app-root mat-tab-group#main-tabs .mat-mdc-tab.right{margin-left:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:hover .mdc-tab__ripple:before{opacity:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(#mat-tab-label-0-0){padding-right:16px} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button{padding:0;padding-right:0!important;opacity:1;pointer-events:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__content, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mat-mdc-tab-ripple, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__ripple:before{pointer-events:all} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button button{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button{border-radius:0;display:inline-block;margin-left:10px;padding:0;width:30px;height:30px;line-height:30px} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button .mat-icon{width:20px;height:20px;font-size:20px;line-height:20px} app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon svg, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon img, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-add-icon{display:flex;align-items:center;justify-content:center;width:1rem;margin-right:.5rem} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper{flex-grow:1} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper mat-tab-body mat-tab-body{flex-grow:1;overflow:hidden} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})}return q})()},8629:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppModule=void 0;const n=a(7582),s=a(7502),p=a(6223),g=a(2296),c=a(1226),d=a(3680),u=a(7667),m=a(5307),_=a(1326),f=a(1370),y=a(4104),b=a(2596),v=a(6593),w=a(349),O=a(3711),F=a(9317),S=a(279),K=a(2425),V=a(6401),ee=n.__importStar(a(5879));n.__importStar(a(2425)),o.AppModule=(()=>{class ue{static#e=this.\u0275fac=function(ve){return new(ve||ue)};static#t=this.\u0275mod=ee.\u0275\u0275defineNgModule({type:ue,bootstrap:[V.AppComponent]});static#n=this.\u0275inj=ee.\u0275\u0275defineInjector({providers:[{provide:O.MONACO_PATH,useValue:"assets/vs"}],imports:[v.BrowserModule,p.FormsModule,p.ReactiveFormsModule,O.MonacoEditorModule,w.BrowserAnimationsModule,S.NgxJsonViewerModule,K.ToastrModule.forRoot(),F.AngularSplitModule,s.HttpClientModule,g.MatButtonModule,c.MatChipsModule,u.MatDialogModule,m.MatIconModule,_.MatMenuModule,d.MatRippleModule,f.MatTableModule,y.MatTabsModule,b.MatTooltipModule]})}return ue})()},343:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleComponent=void 0;const n=a(7582),s=a(821),p=n.__importStar(a(5879)),g=n.__importStar(a(6814)),c=n.__importStar(a(279)),d=n.__importStar(a(2296)),u=n.__importStar(a(5307));function m(F,S){1&F&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"info_outline"),p.\u0275\u0275elementContainerEnd())}function _(F,S){1&F&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"error"),p.\u0275\u0275elementContainerEnd())}function f(F,S){1&F&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"public"),p.\u0275\u0275elementContainerEnd())}function y(F,S){1&F&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"warning"),p.\u0275\u0275elementContainerEnd())}function b(F,S){1&F&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"bug_report"),p.\u0275\u0275elementContainerEnd())}function v(F,S){if(1&F&&p.\u0275\u0275element(0,"ngx-json-viewer",6),2&F){const K=p.\u0275\u0275nextContext().$implicit;p.\u0275\u0275property("json",K.details)("expanded",!1)}}function w(F,S){if(1&F&&(p.\u0275\u0275elementStart(0,"li",2)(1,"mat-icon",3),p.\u0275\u0275template(2,m,2,0,"ng-container",4),p.\u0275\u0275template(3,_,2,0,"ng-container",4),p.\u0275\u0275template(4,f,2,0,"ng-container",4),p.\u0275\u0275template(5,y,2,0,"ng-container",4),p.\u0275\u0275template(6,b,2,0,"ng-container",4),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(7,"span"),p.\u0275\u0275text(8),p.\u0275\u0275elementEnd(),p.\u0275\u0275template(9,v,1,2,"ngx-json-viewer",5),p.\u0275\u0275elementEnd()),2&F){const K=S.$implicit,V=p.\u0275\u0275nextContext();p.\u0275\u0275property("ngClass",K.type),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitch",K.type)("ngClass",K.type),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase",V.itemTypes.INFO),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase",V.itemTypes.ERROR),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase",V.itemTypes.NETWORK),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase",V.itemTypes.WARN),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngSwitchCase",V.itemTypes.DEBUG),p.\u0275\u0275advance(2),p.\u0275\u0275textInterpolate(K.message),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",K.details)}}o.ConsoleComponent=(()=>{class F{constructor(){this.itemTypes=s.ConsoleItemType,this.items=[]}static#e=this.\u0275fac=function(V){return new(V||F)};static#t=this.\u0275cmp=p.\u0275\u0275defineComponent({type:F,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(V,ee){1&V&&(p.\u0275\u0275elementStart(0,"header")(1,"strong"),p.\u0275\u0275text(2,"CONSOLE"),p.\u0275\u0275elementEnd(),p.\u0275\u0275element(3,"s"),p.\u0275\u0275elementStart(4,"button",0),p.\u0275\u0275listener("click",function(){return ee.items.splice(0,ee.items.length)}),p.\u0275\u0275elementStart(5,"mat-icon"),p.\u0275\u0275text(6,"delete"),p.\u0275\u0275elementEnd()()(),p.\u0275\u0275elementStart(7,"ul"),p.\u0275\u0275template(8,w,10,10,"li",1),p.\u0275\u0275elementEnd()),2&V&&(p.\u0275\u0275advance(8),p.\u0275\u0275property("ngForOf",ee.items))},dependencies:[g.NgClass,g.NgForOf,g.NgIf,g.NgSwitch,g.NgSwitchCase,c.NgxJsonViewerComponent,d.MatIconButton,u.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}"]})}return F})()},821:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleItemType=void 0;var a=function(n){return n.INFO="info",n.ERROR="error",n.WARN="warn",n.DEBUG="debug",n.NETWORK="network",n}(a||(o.ConsoleItemType=a={}))},5966:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.DialogAboutComponent=void 0;const n=a(7582),s=a(2598),p=n.__importStar(a(5879)),g=n.__importStar(a(2296)),c=n.__importStar(a(1226)),d=n.__importStar(a(7667)),u=n.__importStar(a(5307));o.DialogAboutComponent=(()=>{class _{constructor(){this.version=s.version}static#e=this.\u0275fac=function(b){return new(b||_)};static#t=this.\u0275cmp=p.\u0275\u0275defineComponent({type:_,selectors:[["app-dialog-about"]],decls:20,vars:2,consts:[["mat-dialog-title",""],["role","list"],[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(b,v){1&b&&(p.\u0275\u0275elementStart(0,"header")(1,"h1",0),p.\u0275\u0275text(2,"sdkgen Playground"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(3,"mat-chip-set",1)(4,"mat-chip",2),p.\u0275\u0275text(5),p.\u0275\u0275elementEnd()(),p.\u0275\u0275element(6,"s"),p.\u0275\u0275elementStart(7,"button",3)(8,"mat-icon"),p.\u0275\u0275text(9,"close"),p.\u0275\u0275elementEnd()()(),p.\u0275\u0275elementStart(10,"p"),p.\u0275\u0275text(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(12,"p"),p.\u0275\u0275text(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(14,"a",4),p.\u0275\u0275text(15,"Documenta\xe7\xe3o"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(16,"a",5),p.\u0275\u0275text(17,"C\xf3digo-fonte"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(18,"a",6),p.\u0275\u0275text(19," Reportar um problema\n"),p.\u0275\u0275elementEnd()),2&b&&(p.\u0275\u0275advance(4),p.\u0275\u0275property("disableRipple",!0),p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate(v.version))},dependencies:[g.MatAnchor,g.MatIconButton,c.MatChip,c.MatChipSet,d.MatDialogClose,d.MatDialogTitle,u.MatIcon],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2)}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;padding:0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}a[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}"]})}return _})()},742:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.FilterPipe=void 0;const s=a(7582).__importStar(a(5879));o.FilterPipe=(()=>{class g{transform(d,u){if(!d)return[];if(!u)return d;const m=u.toLocaleLowerCase();return d.filter(_=>JSON.stringify(_).toLocaleLowerCase().includes(m))}static#e=this.\u0275fac=function(u){return new(u||g)};static#t=this.\u0275pipe=s.\u0275\u0275definePipe({name:"appFilter",type:g,pure:!0})}return g})()},7702:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ResponsiveService=void 0;const n=a(7582),s=n.__importStar(a(5879)),p=n.__importStar(a(1088));o.ResponsiveService=(()=>{class c{constructor(u){this.observer=u}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)"])}static#e=this.\u0275fac=function(m){return new(m||c)(s.\u0275\u0275inject(p.BreakpointObserver))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},7583:(Z,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(6325),s=a(6480);function p(d){switch(d.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 d.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=p,o.getTypeLabels=function g(d){const u=[];switch(d.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:u.push("Primitivo");break;case n.OptionalType:u.push("Opcional"),u.push(...g(d.base));break;case n.TypeReference:u.push(...g(d.type));break;case n.ArrayType:u.push("Array"),u.push(...g(d.base));break;case n.EnumType:u.push("Enum");break;default:console.error("No labels for",p(d))}return u},o.getTypeDoc=function c(d){switch(d.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[p(d)],shortDescription:o.primitiveTypes[p(d)],examples:o.primitiveTypesExamples[p(d)]};case n.OptionalType:{const f=c(d.base);return{...f,longDescription:f.longDescription,shortDescription:`(opcional) ${f.shortDescription}`,examples:["null",...f.examples??[]]}}case n.TypeReference:return c(d.type);case n.ArrayType:{const f=c(d.base);return{...f,longDescription:f.longDescription,shortDescription:`(array) ${f.shortDescription}`,examples:["[]",...f.examples?.map(y=>`[${y}]`)??[]]}}case n.EnumType:const u=d,m=u.values.slice(0,3),_=m.map(f=>f.struct?`${f.value}: ${JSON.stringify((new s.SdkgenService).buildJsonObject(f.struct.fields),null,2)}`:f.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${m.map(f=>`${f.value}${f.struct?"(\u2026)":""}`).join(", ")}${m.length>3?"\u2026":""}`,examples:_,isEnum:!0,isStruct:!0,structFields:u.values.map(f=>({name:f.value,type:f.struct,description:f.annotations.find(y=>y instanceof n.DescriptionAnnotation)?.text,secret:!1}))};case n.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${d.fields.slice(0,3).map(f=>f.name).join(", ")}\u2026`,isStruct:!0,structFields:d.fields.map(f=>({name:f.name,description:f.annotations.find(y=>y instanceof n.DescriptionAnnotation)?.text,type:f.type,secret:f.secret})),examples:[JSON.stringify((new s.SdkgenService).buildJsonObject(d.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},6480:(__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__(1537),parser_1=__webpack_require__(6325),rxjs_1=__webpack_require__(188),i0=tslib_1.__importStar(__webpack_require__(5879));let SdkgenService=(()=>{class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(Z,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 Z.reduce((n,s)=>(n[s.name]=a(s.type),n),{})}getTypeScriptCode(Z,o){return`await client.${Z}(${JSON.stringify(o,null,2)});\n`}buildKotlinString(Z,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 s=a(n.base);return o--,`arrayOf(\n${" ".repeat(o+2)}${s},\n${" ".repeat(o+2)}${s}\n${" ".repeat(o+1)})`;case parser_1.EnumType:return`"${n.values[0].value}"`;default:return"<>()"}};return Z.map(n=>`${" ".repeat(o+1)}${a(n.type)}`).join(",\n")}getKotlinCode(Z,o){return 0===o.length?`client.${Z}().await();`:`client.${Z}(\n${this.buildKotlinString(o)}\n).await();`}getDartCode(Z,o){return'print("todo");'}getSwiftCode(Z,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:(Z,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)}}()})}static#_=this.\u0275fac=function Z(o){return new(o||SdkgenService)};static#_2=this.\u0275prov=i0.\u0275\u0275defineInjectable({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})}return SdkgenService})();exports.SdkgenService=SdkgenService},8197:(__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__(6223),console_types_1=__webpack_require__(821),code_execution_1=__webpack_require__(5276),i0=tslib_1.__importStar(__webpack_require__(5879)),i1=tslib_1.__importStar(__webpack_require__(6480)),i2=tslib_1.__importStar(__webpack_require__(6223)),i3=tslib_1.__importStar(__webpack_require__(3711)),i4=tslib_1.__importStar(__webpack_require__(279)),i5=tslib_1.__importStar(__webpack_require__(9317)),i6=tslib_1.__importStar(__webpack_require__(2296)),i7=tslib_1.__importStar(__webpack_require__(5307)),i8=tslib_1.__importStar(__webpack_require__(4104)),i9=tslib_1.__importStar(__webpack_require__(343));let SimpleCallComponent=(()=>{class SimpleCallComponent{constructor(Z){this.sdkgen=Z,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.initialExtras='{\n "key": "value"\n}\n',this.extras=this.initialExtras,this.busy=!1,this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Z=>{Z&&(this.generateFunctionCode(Z.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(Z.url,Z.astJson))})}ngOnDestroy(){this.state$?.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){try{_this.busy=!0;{const events=_this.consoleItems;eval(code_execution_1.wrapper)}if(_this.extras&&_this.extras!==_this.initialExtras){const Z=JSON.parse(_this.extras),o=Object.keys(Z);for(const a of o)_this.client?.extra.set(a,Z[a])}const exec=_this.client[_this.fn](JSON.parse(_this.code));_this.response={result:yield exec}}catch(Z){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Z.toString()}),delete Z.toString,_this.response={error:{type:Z.type,message:Z.message,data:Z.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(2),_this.busy=!1}})()}generateFunctionCode(Z,o){const a=Z.operations.find(n=>n.name===o)?.args;a&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(a),null,2))}static#_=this.\u0275fac=function Z(o){return new(o||SimpleCallComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))};static#_2=this.\u0275cmp=i0.\u0275\u0275defineComponent({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:14,vars:10,consts:[["direction","vertical"],["animationDuration","0ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"disabled","click"],[3,"options","ngModel","ngModelChange"],["label","Extras"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function Z(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(s){return a.selected.setValue(s)}),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(s){return a.code=s}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(8,"mat-tab",5)(9,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(s){return a.extras=s}),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(2),i0.\u0275\u0275property("disabled",a.busy),i0.\u0275\u0275advance(3),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.MatFabButton,i7.MatIcon,i8.MatTab,i8.MatTabGroup,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}"]})}return SimpleCallComponent})();exports.SimpleCallComponent=SimpleCallComponent},3538:(__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__(6077),console_types_1=__webpack_require__(821),code_execution_1=__webpack_require__(5276),i0=tslib_1.__importStar(__webpack_require__(5879)),i1=tslib_1.__importStar(__webpack_require__(6480)),i2=tslib_1.__importStar(__webpack_require__(6223)),i3=tslib_1.__importStar(__webpack_require__(3711)),i4=tslib_1.__importStar(__webpack_require__(9317)),i5=tslib_1.__importStar(__webpack_require__(2296)),i6=tslib_1.__importStar(__webpack_require__(5307)),i7=tslib_1.__importStar(__webpack_require__(343));let TabEditorComponent=(()=>{class TabEditorComponent{constructor(Z){this.sdkgen=Z,this.code="",this.busy=!1,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(Z=>{if(!Z)return;const o=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(Z.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(Z.url,Z.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(s=>s.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]=Z.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){this.state$?.unsubscribe()}patchBrowserClientSource(Z){return`declare namespace sdkgen {\n${Z.substring(95,Z.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{_this.busy=!0,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(Z){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Z.toString()})}_this.busy=!1})()}static#_=this.\u0275fac=function Z(o){return new(o||TabEditorComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))};static#_2=this.\u0275cmp=i0.\u0275\u0275defineComponent({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:5,consts:[["mat-fab","",1,"run-fab",3,"disabled","click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function Z(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(s){return a.code=s}),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\u0275property("disabled",a.busy),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.MatFabButton,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}"]})}return TabEditorComponent})();exports.TabEditorComponent=TabEditorComponent},1763:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TabHomeComponent=void 0;const n=a(7582),s=a(5879),p=a(7583),g=a(3232),c=n.__importStar(a(5879)),d=n.__importStar(a(6480)),u=n.__importStar(a(7667)),m=n.__importStar(a(7702)),_=n.__importStar(a(6814)),f=n.__importStar(a(6223)),y=n.__importStar(a(3711)),b=n.__importStar(a(9317)),v=n.__importStar(a(2296)),w=n.__importStar(a(1226)),O=n.__importStar(a(5307)),F=n.__importStar(a(3680)),S=n.__importStar(a(1370)),K=n.__importStar(a(4104)),V=n.__importStar(a(2596)),ee=n.__importStar(a(742));function W(Re,gt){if(1&Re&&(c.\u0275\u0275elementStart(0,"span",8),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Re){const ut=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ut.description)}}const Y=function(Re){return{active:Re}};function ue(Re,gt){if(1&Re){const ut=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"li",5),c.\u0275\u0275listener("click",function(){const Ee=c.\u0275\u0275restoreView(ut).$implicit,ke=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ke.selectedFunction=Ee)}),c.\u0275\u0275elementStart(1,"span",6),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,W,2,1,"span",7),c.\u0275\u0275elementEnd()}if(2&Re){const ut=gt.$implicit,et=c.\u0275\u0275nextContext();c.\u0275\u0275property("ngClass",c.\u0275\u0275pureFunction1(3,Y,(null==et.selectedFunction?null:et.selectedFunction.name)===ut.name)),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(ut.name),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",ut.description)}}function ie(Re,gt){1&Re&&c.\u0275\u0275element(0,"span")}function te(Re,gt){if(1&Re){const ut=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"span"),c.\u0275\u0275element(1,"br"),c.\u0275\u0275text(2,"\xa0\xa0"),c.\u0275\u0275elementStart(3,"span",37),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"span",14),c.\u0275\u0275text(6,":"),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(7,"\xa0"),c.\u0275\u0275elementStart(8,"u",15),c.\u0275\u0275listener("click",function(){const Ee=c.\u0275\u0275restoreView(ut).$implicit,ke=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ke.showDocumentation(Ee.rawType))}),c.\u0275\u0275text(9),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(10,ie,1,0,"span",38),c.\u0275\u0275elementEnd()}if(2&Re){const ut=gt.$implicit,et=gt.index;c.\u0275\u0275nextContext();const ae=c.\u0275\u0275reference(18),Ee=c.\u0275\u0275reference(20),ke=c.\u0275\u0275nextContext();c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(ut.name),c.\u0275\u0275advance(4),c.\u0275\u0275property("matTooltip",ke.getTooltip(ut.rawType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ut.type),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",et!=ke.selectedFunction.args.length-1)("ngIfThen",ae)("ngIfElse",Ee)}}function ve(Re,gt){1&Re&&c.\u0275\u0275text(0,",")}function nt(Re,gt){1&Re&&c.\u0275\u0275element(0,"br")}function be(Re,gt){if(1&Re){const ut=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"u",29),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ut);const ae=c.\u0275\u0275nextContext().$implicit,Ee=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Ee.showDocumentation(ae.dataType))}),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()}if(2&Re){const ut=c.\u0275\u0275nextContext().$implicit,et=c.\u0275\u0275nextContext(3);c.\u0275\u0275property("matTooltip",et.getTooltip(ut.dataType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1("(",ut.dataType.name,")")}}function Ye(Re,gt){if(1&Re&&(c.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(3,"i"),c.\u0275\u0275elementStart(4,"span",28),c.\u0275\u0275text(5),c.\u0275\u0275template(6,be,2,2,"u",43),c.\u0275\u0275elementEnd()()),2&Re){const ut=gt.$implicit;c.\u0275\u0275property("disableRipple",!0),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(ut.name),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate1("",ut.type," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",ut.dataType&&"void"!==ut.dataType.name)}}function pe(Re,gt){if(1&Re&&(c.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-set",40),c.\u0275\u0275template(2,Ye,7,4,"mat-chip",41),c.\u0275\u0275elementEnd()()),2&Re){const ut=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(2),c.\u0275\u0275property("ngForOf",ut.selectedFunction.labels)}}function Le(Re,gt){if(1&Re&&(c.\u0275\u0275elementStart(0,"p"),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Re){const ut=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ut.selectedFunction.description)}}function Xe(Re,gt){1&Re&&(c.\u0275\u0275elementStart(0,"p",44),c.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),c.\u0275\u0275elementEnd())}function Je(Re,gt){1&Re&&(c.\u0275\u0275elementStart(0,"p",44),c.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),c.\u0275\u0275elementEnd())}function q(Re,gt){1&Re&&(c.\u0275\u0275elementStart(0,"th",54),c.\u0275\u0275text(1,"Nome"),c.\u0275\u0275elementEnd())}function we(Re,gt){if(1&Re&&(c.\u0275\u0275elementStart(0,"td",55),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Re){const ut=gt.$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ut.name)}}function re(Re,gt){1&Re&&(c.\u0275\u0275elementStart(0,"th",54),c.\u0275\u0275text(1,"Tipo"),c.\u0275\u0275elementEnd())}function J(Re,gt){if(1&Re){const ut=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"td",55)(1,"u",29),c.\u0275\u0275listener("click",function(){const Ee=c.\u0275\u0275restoreView(ut).$implicit,ke=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ke.showDocumentation(Ee.rawType))}),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd()()}if(2&Re){const ut=gt.$implicit,et=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(1),c.\u0275\u0275property("matTooltip",et.getTooltip(ut.rawType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ut.type)}}function z(Re,gt){1&Re&&(c.\u0275\u0275elementStart(0,"th",54),c.\u0275\u0275text(1,"Descri\xe7\xe3o"),c.\u0275\u0275elementEnd())}function $(Re,gt){if(1&Re&&(c.\u0275\u0275elementStart(0,"td",56),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Re){const ut=gt.$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ut.description||"-")}}function U(Re,gt){1&Re&&c.\u0275\u0275element(0,"tr",57)}function R(Re,gt){1&Re&&c.\u0275\u0275element(0,"tr",58)}function H(Re,gt){if(1&Re&&(c.\u0275\u0275elementStart(0,"table",45),c.\u0275\u0275elementContainerStart(1,46),c.\u0275\u0275template(2,q,2,0,"th",47),c.\u0275\u0275template(3,we,2,1,"td",48),c.\u0275\u0275elementContainerEnd(),c.\u0275\u0275elementContainerStart(4,49),c.\u0275\u0275template(5,re,2,0,"th",47),c.\u0275\u0275template(6,J,3,2,"td",48),c.\u0275\u0275elementContainerEnd(),c.\u0275\u0275elementContainerStart(7,50),c.\u0275\u0275template(8,z,2,0,"th",47),c.\u0275\u0275template(9,$,2,1,"td",51),c.\u0275\u0275elementContainerEnd(),c.\u0275\u0275template(10,U,1,0,"tr",52),c.\u0275\u0275template(11,R,1,0,"tr",53),c.\u0275\u0275elementEnd()),2&Re){const ut=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("dataSource",ut.selectedFunction.args),c.\u0275\u0275advance(10),c.\u0275\u0275property("matHeaderRowDef",ut.argumentsTableColumns),c.\u0275\u0275advance(1),c.\u0275\u0275property("matRowDefColumns",ut.argumentsTableColumns)}}function Oe(Re,gt){1&Re&&(c.\u0275\u0275elementStart(0,"span",59),c.\u0275\u0275text(1,"Dart"),c.\u0275\u0275elementEnd())}function He(Re,gt){1&Re&&(c.\u0275\u0275elementStart(0,"span",59),c.\u0275\u0275text(1,"Swift"),c.\u0275\u0275elementEnd())}const vt=function(){return{theme:"vs-dark",language:"javascript"}},Ct=function(){return{theme:"vs-dark",language:"kotlin"}},lt=function(){return{theme:"vs-dark",language:"dart"}},Te=function(){return{theme:"vs-dark",language:"swift"}};function xe(Re,gt){if(1&Re){const ut=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),c.\u0275\u0275text(5,"fn"),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(6,"\xa0"),c.\u0275\u0275elementStart(7,"span",12),c.\u0275\u0275text(8),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(9,"("),c.\u0275\u0275template(10,te,11,6,"span",13),c.\u0275\u0275text(11,")"),c.\u0275\u0275elementStart(12,"span",14),c.\u0275\u0275text(13,":"),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(14,"\xa0"),c.\u0275\u0275elementStart(15,"u",15),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ut);const ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ae.showDocumentation(ae.selectedFunction.returns.rawType))}),c.\u0275\u0275text(16),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(17,ve,1,0,"ng-template",null,16,c.\u0275\u0275templateRefExtractor),c.\u0275\u0275template(19,nt,1,0,"ng-template",null,17,c.\u0275\u0275templateRefExtractor),c.\u0275\u0275element(21,"s"),c.\u0275\u0275elementStart(22,"button",18),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ut);const ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ae.addSimpleCallTab())}),c.\u0275\u0275elementStart(23,"mat-icon"),c.\u0275\u0275text(24,"play_arrow"),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(25,"\xa0EXECUTAR "),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275template(26,pe,3,1,"section",19),c.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),c.\u0275\u0275text(29,"Descri\xe7\xe3o"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(30,"div",21),c.\u0275\u0275template(31,Le,2,1,"p",22),c.\u0275\u0275template(32,Xe,2,0,"p",23),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(33,"h2",24),c.\u0275\u0275text(34,"Par\xe2metros"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(35,"div",21),c.\u0275\u0275template(36,Je,2,0,"p",23),c.\u0275\u0275elementStart(37,"div",25),c.\u0275\u0275template(38,H,12,3,"table",26),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(39,"h2",27),c.\u0275\u0275text(40,"Retorno"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ut);const ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ae.showDocumentation(ae.selectedFunction.returns.rawType))}),c.\u0275\u0275text(44),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(45,"h2",30),c.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),c.\u0275\u0275element(49,"ngx-monaco-editor",33),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(50,"mat-tab",34),c.\u0275\u0275element(51,"ngx-monaco-editor",33),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(52,"mat-tab",35),c.\u0275\u0275template(53,Oe,2,0,"ng-template",36),c.\u0275\u0275element(54,"ngx-monaco-editor",33),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(55,"mat-tab",35),c.\u0275\u0275template(56,He,2,0,"ng-template",36),c.\u0275\u0275element(57,"ngx-monaco-editor",33),c.\u0275\u0275elementEnd()()()()}if(2&Re){const ut=c.\u0275\u0275nextContext();c.\u0275\u0275advance(8),c.\u0275\u0275textInterpolate(ut.selectedFunction.name),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngForOf",ut.selectedFunction.args),c.\u0275\u0275advance(5),c.\u0275\u0275property("matTooltip",ut.getTooltip(ut.selectedFunction.returns.rawType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ut.selectedFunction.returns.type),c.\u0275\u0275advance(10),c.\u0275\u0275property("ngIf",ut.selectedFunction.labels.length>0),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngSwitch",!!ut.selectedFunction.description),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!0),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!1),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngSwitch",ut.selectedFunction.args.length),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",0),c.\u0275\u0275advance(7),c.\u0275\u0275property("matTooltip",ut.getTooltip(ut.selectedFunction.returns.rawType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ut.selectedFunction.returns.type),c.\u0275\u0275advance(5),c.\u0275\u0275property("options",c.\u0275\u0275pureFunction0(20,vt))("ngModel",ut.selectedFunction.examples.typeScript),c.\u0275\u0275advance(2),c.\u0275\u0275property("options",c.\u0275\u0275pureFunction0(21,Ct))("ngModel",ut.selectedFunction.examples.kotlin),c.\u0275\u0275advance(3),c.\u0275\u0275property("options",c.\u0275\u0275pureFunction0(22,lt))("ngModel",ut.selectedFunction.examples.dart),c.\u0275\u0275advance(3),c.\u0275\u0275property("options",c.\u0275\u0275pureFunction0(23,Te))("ngModel",ut.selectedFunction.examples.swift)}}const Ne=function(){return{standalone:!0}};o.TabHomeComponent=(()=>{class Re{constructor(ut,et,ae){this.sdkgen=ut,this.dialog=et,this.responsive=ae,this.isBelowMd=!1,this.runFunction=new s.EventEmitter,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(ut=>{ut&&(this.selectedFunction=void 0,this.fnTable=ut.astRoot.operations.sort((et,ae)=>et.name.localeCompare(ae.name)).map(et=>{const ae=ut.astJson.annotations[`fn.${et.name}`],Ee=this.sdkgen.buildJsonObject(et.args);return ae?.find(ke=>"hidden"===ke.type)?null:{name:et.name,description:ae?.find(ke=>"description"===ke.type)?.value,args:et.args.map(({name:ke,type:ct})=>{const ot=[...ut.astJson.annotations[`type.${ct.name}.${ke}`]??[],...ut.astJson.annotations[`fn.${et.name}.${ke}`]??[]];return{name:ke,description:ot.find(wt=>"description"===wt.type)?.value,type:ct.name,rawType:ct}}),argsStr:et.args.map(ke=>`${ke.name}: ${ke.type.name}`).join(", "),argsFields:et.args,returns:{type:et.returnType.name,rawType:et.returnType},labels:ae?.filter(ke=>["rest","throws"].includes(ke.type)).map(ke=>"rest"===ke.type?{name:"REST",type:`${ke.value.method} ${ke.value.path}`}:"throws"===ke.type?{name:"THROWS",type:ke.value,dataType:ut.astRoot.errors.find(ct=>ct.name===ke.value)?.dataType}:{name:"?",type:"?"})??[],throws:ae?.find(ke=>"throws"===ke.type)?.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(et.name,Ee),kotlin:this.sdkgen.getKotlinCode(et.name,et.args),dart:this.sdkgen.getDartCode(et.name,Ee),swift:this.sdkgen.getSwiftCode(et.name,Ee)}}}).filter(et=>!!et))})}ngOnDestroy(){this.state$?.unsubscribe(),this.responsive$?.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(ut=>{this.isBelowMd=ut.matches})}addSimpleCallTab(){this.runFunction.emit(this.selectedFunction?.name)}getTooltip(ut){return(0,p.getTypeDoc)(ut).shortDescription}showDocumentation(ut){this.dialog.open(g.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:ut},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(et){return new(et||Re)(c.\u0275\u0275directiveInject(d.SdkgenService),c.\u0275\u0275directiveInject(u.MatDialog),c.\u0275\u0275directiveInject(m.ResponsiveService))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Re,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"],["mat-ripple","",3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-ripple","",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"],["role","list"],["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(et,ae){1&et&&(c.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),c.\u0275\u0275listener("ngModelChange",function(ke){return ae.searchText=ke}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"ul"),c.\u0275\u0275template(7,ue,4,5,"li",3),c.\u0275\u0275pipe(8,"appFilter"),c.\u0275\u0275elementEnd()()()(),c.\u0275\u0275elementStart(9,"as-split-area"),c.\u0275\u0275template(10,xe,58,24,"article",4),c.\u0275\u0275elementEnd()()),2&et&&(c.\u0275\u0275property("direction",ae.isBelowMd?"vertical":"horizontal"),c.\u0275\u0275advance(1),c.\u0275\u0275property("size",ae.isBelowMd?130:350),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngModel",ae.searchText)("ngModelOptions",c.\u0275\u0275pureFunction0(9,Ne)),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngForOf",c.\u0275\u0275pipeBind2(8,6,ae.fnTable,ae.searchText)),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",ae.selectedFunction))},dependencies:[_.NgClass,_.NgForOf,_.NgIf,_.NgSwitch,_.NgSwitchCase,_.NgSwitchDefault,f.\u0275NgNoValidate,f.DefaultValueAccessor,f.NgControlStatus,f.NgControlStatusGroup,f.NgModel,f.NgForm,y.MonacoEditorComponent,b.SplitComponent,b.SplitAreaDirective,v.MatButton,w.MatChip,w.MatChipSet,O.MatIcon,F.MatRipple,S.MatTable,S.MatHeaderCellDef,S.MatHeaderRowDef,S.MatColumnDef,S.MatCellDef,S.MatRowDef,S.MatHeaderCell,S.MatCell,S.MatHeaderRow,S.MatRow,K.MatTabLabel,K.MatTab,K.MatTabGroup,V.MatTooltip,ee.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;-webkit-user-select:none;user-select:none}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}"]})}return Re})()},3632:(Z,o,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(o,"__esModule",{value:!0}),o.TabNavComponent=void 0;const s=a(7582),p=a(6223),g=a(6325),c=a(5966),d=s.__importStar(a(5879)),u=s.__importStar(a(6480)),m=s.__importStar(a(2425)),_=s.__importStar(a(7667)),f=s.__importStar(a(6814)),y=s.__importStar(a(6223)),b=s.__importStar(a(5307)),v=s.__importStar(a(3680));function w(S,K){1&S&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"mat-icon",6),d.\u0275\u0275text(2,"loop"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd())}function O(S,K){1&S&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"mat-icon"),d.\u0275\u0275text(2,"arrow_forward"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd())}o.TabNavComponent=(()=>{class S{constructor(V,ee,W){this.sdkgen=V,this.toastr=ee,this.dialog=W,this.loading=!1,this.url=new p.FormControl("")}ngOnInit(){fetch("/ast.json").then(V=>{V.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(V){var ee=this;return n(function*(){V?.preventDefault();try{ee.loading=!0,/^https?:\/\//.test(ee.url.value)||ee.url.setValue(`https://${ee.url.value}`);const W=new URL(ee.url.value);W.pathname+=(W.pathname.endsWith("/")?"":"/")+"ast.json";const Y=W.toString();console.debug("astUrl",Y);const ue=yield fetch(Y).then(function(){var ie=n(function*(te){return te.ok?te.json():te});return function(te){return ie.apply(this,arguments)}}());if(ue instanceof Response)throw ue instanceof Error?ue:new Error(ue.statusText);if(!ue.errors||!ue.functionTable||!ue.typeTable)throw new Error("Invalid AST");for(;typeof monaco>"u";)yield new Promise(ie=>setTimeout(ie,250));console.debug("astJson",ue),ee.sdkgen.state$.next({astJson:ue,astRoot:(0,g.jsonToAst)(ue),url:ee.url.value})}catch(W){ee.toastr.error(W instanceof Error?W.message:JSON.stringify(W),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{ee.loading=!1}})()}openAbout(){this.dialog.open(c.DialogAboutComponent)}static#e=this.\u0275fac=function(ee){return new(ee||S)(d.\u0275\u0275directiveInject(u.SdkgenService),d.\u0275\u0275directiveInject(m.ToastrService),d.\u0275\u0275directiveInject(_.MatDialog))};static#t=this.\u0275cmp=d.\u0275\u0275defineComponent({type:S,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-ripple","",1,"about-button",3,"click"],[1,"loader"]],template:function(ee,W){1&ee&&(d.\u0275\u0275element(0,"img",0),d.\u0275\u0275elementStart(1,"form",1),d.\u0275\u0275listener("submit",function(ue){return W.loadUrl(ue)}),d.\u0275\u0275element(2,"input",2),d.\u0275\u0275elementStart(3,"button",3),d.\u0275\u0275template(4,w,3,0,"ng-container",4),d.\u0275\u0275template(5,O,3,0,"ng-container",4),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(6,"button",5),d.\u0275\u0275listener("click",function(){return W.openAbout()}),d.\u0275\u0275elementStart(7,"mat-icon"),d.\u0275\u0275text(8,"info"),d.\u0275\u0275elementEnd()()),2&ee&&(d.\u0275\u0275advance(2),d.\u0275\u0275property("formControl",W.url)("readonly",W.loading),d.\u0275\u0275advance(1),d.\u0275\u0275property("disabled",W.loading)("ngSwitch",W.loading),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[f.NgSwitch,f.NgSwitchCase,y.\u0275NgNoValidate,y.DefaultValueAccessor,y.NgControlStatus,y.NgControlStatusGroup,y.NgForm,y.FormControlDirective,b.MatIcon,v.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;line-height:10px}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 2s linear infinite}button.about-button[_ngcontent-%COMP%]{width:42px;height:42px;border:0;border-radius:0;padding:0;background:transparent;cursor:pointer;color:inherit;line-height:0;text-align:center}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}return S})()},3232:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TypeDetailsComponent=void 0;const n=a(7582),s=a(7667),p=a(7583),g=n.__importStar(a(5879)),c=n.__importStar(a(7667)),d=n.__importStar(a(6814)),u=n.__importStar(a(2296)),m=n.__importStar(a(1226)),_=n.__importStar(a(5307)),f=n.__importStar(a(1370)),y=n.__importStar(a(2596));function b(pe,Le){1&pe&&(g.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),g.\u0275\u0275text(2,"arrow_back"),g.\u0275\u0275elementEnd()())}function v(pe,Le){if(1&pe&&(g.\u0275\u0275elementStart(0,"mat-chip",7),g.\u0275\u0275text(1),g.\u0275\u0275elementEnd()),2&pe){const Xe=Le.$implicit;g.\u0275\u0275property("disableRipple",!0),g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(Xe)}}function w(pe,Le){1&pe&&(g.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),g.\u0275\u0275text(2,"close"),g.\u0275\u0275elementEnd()())}function O(pe,Le){1&pe&&(g.\u0275\u0275elementStart(0,"th",20),g.\u0275\u0275text(1,"Nome"),g.\u0275\u0275elementEnd())}function F(pe,Le){if(1&pe&&(g.\u0275\u0275elementStart(0,"td",21),g.\u0275\u0275text(1),g.\u0275\u0275elementEnd()),2&pe){const Xe=Le.$implicit;g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(Xe.name)}}function S(pe,Le){1&pe&&(g.\u0275\u0275elementStart(0,"th",20),g.\u0275\u0275text(1,"Tipo"),g.\u0275\u0275elementEnd())}function K(pe,Le){1&pe&&(g.\u0275\u0275elementStart(0,"span"),g.\u0275\u0275text(1,"-"),g.\u0275\u0275elementEnd())}function V(pe,Le){if(1&pe){const Xe=g.\u0275\u0275getCurrentView();g.\u0275\u0275elementStart(0,"u",25),g.\u0275\u0275listener("click",function(){g.\u0275\u0275restoreView(Xe);const q=g.\u0275\u0275nextContext().$implicit,we=g.\u0275\u0275nextContext(2);return g.\u0275\u0275resetView(we.showDocumentation(q.type))}),g.\u0275\u0275text(1),g.\u0275\u0275elementEnd()}if(2&pe){const Xe=g.\u0275\u0275nextContext().$implicit,Je=g.\u0275\u0275nextContext(2);g.\u0275\u0275property("matTooltip",Je.getTooltip(Xe.type)),g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(Xe.type.name)}}function ee(pe,Le){1&pe&&(g.\u0275\u0275elementStart(0,"td",22),g.\u0275\u0275template(1,K,2,0,"span",23),g.\u0275\u0275template(2,V,2,2,"u",24),g.\u0275\u0275elementEnd()),2&pe&&(g.\u0275\u0275property("ngSwitch",Le.$implicit.type),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",null))}function W(pe,Le){1&pe&&(g.\u0275\u0275elementStart(0,"th",20),g.\u0275\u0275text(1,"Descri\xe7\xe3o"),g.\u0275\u0275elementEnd())}function Y(pe,Le){if(1&pe&&(g.\u0275\u0275elementStart(0,"td",26),g.\u0275\u0275text(1),g.\u0275\u0275elementEnd()),2&pe){const Xe=Le.$implicit;g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(Xe.description||"-")}}function ue(pe,Le){1&pe&&g.\u0275\u0275element(0,"tr",27)}function ie(pe,Le){1&pe&&g.\u0275\u0275element(0,"tr",28)}const te=function(){return[]};function ve(pe,Le){if(1&pe&&(g.\u0275\u0275elementStart(0,"section")(1,"div",9)(2,"table",10),g.\u0275\u0275elementContainerStart(3,11),g.\u0275\u0275template(4,O,2,0,"th",12),g.\u0275\u0275template(5,F,2,1,"td",13),g.\u0275\u0275elementContainerEnd(),g.\u0275\u0275elementContainerStart(6,14),g.\u0275\u0275template(7,S,2,0,"th",12),g.\u0275\u0275template(8,ee,3,2,"td",15),g.\u0275\u0275elementContainerEnd(),g.\u0275\u0275elementContainerStart(9,16),g.\u0275\u0275template(10,W,2,0,"th",12),g.\u0275\u0275template(11,Y,2,1,"td",17),g.\u0275\u0275elementContainerEnd(),g.\u0275\u0275template(12,ue,1,0,"tr",18),g.\u0275\u0275template(13,ie,1,0,"tr",19),g.\u0275\u0275elementEnd()()()),2&pe){const Xe=g.\u0275\u0275nextContext();let Je;g.\u0275\u0275advance(2),g.\u0275\u0275property("dataSource",null!==(Je=null==Xe.typeDoc?null:Xe.typeDoc.structFields)&&void 0!==Je?Je:g.\u0275\u0275pureFunction0(3,te)),g.\u0275\u0275advance(10),g.\u0275\u0275property("matHeaderRowDef",Xe.argumentsTableColumns),g.\u0275\u0275advance(1),g.\u0275\u0275property("matRowDefColumns",Xe.argumentsTableColumns)}}function nt(pe,Le){if(1&pe&&(g.\u0275\u0275elementStart(0,"li")(1,"code",1),g.\u0275\u0275text(2),g.\u0275\u0275elementEnd()()),2&pe){const Xe=Le.$implicit;g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(Xe)}}function be(pe,Le){if(1&pe&&(g.\u0275\u0275elementStart(0,"section")(1,"h3"),g.\u0275\u0275text(2,"Exemplos"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(3,"ul"),g.\u0275\u0275template(4,nt,3,1,"li",29),g.\u0275\u0275elementEnd()()),2&pe){const Xe=g.\u0275\u0275nextContext();g.\u0275\u0275advance(4),g.\u0275\u0275property("ngForOf",null==Xe.typeDoc?null:Xe.typeDoc.examples)}}o.TypeDetailsComponent=(()=>{class pe{constructor(Xe,Je,q){this.dialogRef=Xe,this.data=Je,this.dialog=q,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=(0,p.getTypeLabels)(this.data.type),this.typeDoc=(0,p.getTypeDoc)(this.data.type)}getTooltip(Xe){return(0,p.getTypeDoc)(Xe).shortDescription}showDocumentation(Xe){this.dialog.open(pe,{position:{right:"0"},data:{type:Xe,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(Je){return new(Je||pe)(g.\u0275\u0275directiveInject(c.MatDialogRef),g.\u0275\u0275directiveInject(s.MAT_DIALOG_DATA),g.\u0275\u0275directiveInject(c.MatDialog))};static#t=this.\u0275cmp=g.\u0275\u0275defineComponent({type:pe,selectors:[["app-type-details"]],decls:11,vars:7,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],["role","list"],["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(Je,q){1&Je&&(g.\u0275\u0275elementStart(0,"h1"),g.\u0275\u0275template(1,b,3,0,"button",0),g.\u0275\u0275elementStart(2,"span",1),g.\u0275\u0275text(3),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(4,"mat-chip-set",2),g.\u0275\u0275template(5,v,2,2,"mat-chip",3),g.\u0275\u0275elementEnd(),g.\u0275\u0275template(6,w,3,0,"button",4),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(7,"p"),g.\u0275\u0275text(8),g.\u0275\u0275elementEnd(),g.\u0275\u0275template(9,ve,14,4,"section",5),g.\u0275\u0275template(10,be,5,1,"section",5)),2&Je&&(g.\u0275\u0275advance(1),g.\u0275\u0275property("ngIf",q.data.subdialog),g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(q.data.type.name),g.\u0275\u0275advance(2),g.\u0275\u0275property("ngForOf",q.labels),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngIf",!q.data.subdialog),g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(null==q.typeDoc?null:q.typeDoc.longDescription),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngIf",(null==q.typeDoc?null:q.typeDoc.isStruct)&&(null==q.typeDoc?null:q.typeDoc.structFields)),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngIf",null==q.typeDoc||null==q.typeDoc.examples?null:q.typeDoc.examples.length))},dependencies:[d.NgForOf,d.NgIf,d.NgSwitch,d.NgSwitchCase,d.NgSwitchDefault,u.MatIconButton,m.MatChip,m.MatChipSet,c.MatDialogClose,_.MatIcon,f.MatTable,f.MatHeaderCellDef,f.MatHeaderRowDef,f.MatColumnDef,f.MatCellDef,f.MatRowDef,f.MatHeaderCell,f.MatCell,f.MatHeaderRow,f.MatRow,y.MatTooltip],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word;color:#fff}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-set[_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}"]})}return pe})()},5276:(Z,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.__originalConsole = [console.log, console.error, console.warn, console.debug, console.info];\n\n for (const method of window.__originalConsole) {\n console[method.name] = function() {\n const event = { type: method.name === "log" ? "info" : method.name, message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return method.apply(this, arguments);\n }\n }\n',o.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n for (const method of window.__originalConsole) {\n console[method.name] = method;\n }\n"},553:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.environment=void 0,o.environment={production:!0}},4913:(Z,o,a)=>{"use strict";const p=a(7582).__importStar(a(6593)),g=a(5879),c=a(8629);a(553).environment.production&&(0,g.enableProdMode)(),p.platformBrowser().bootstrapModule(c.AppModule).catch(u=>console.error(u))},217:function(Z,o){var a,s;void 0!==(s="function"==typeof(a=function(){"use strict";function g(f,y,b){var v=new XMLHttpRequest;v.open("GET",f),v.responseType="blob",v.onload=function(){_(v.response,y,b)},v.onerror=function(){console.error("could not download file")},v.send()}function c(f){var y=new XMLHttpRequest;y.open("HEAD",f,!1);try{y.send()}catch{}return 200<=y.status&&299>=y.status}function d(f){try{f.dispatchEvent(new MouseEvent("click"))}catch{var y=document.createEvent("MouseEvents");y.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),f.dispatchEvent(y)}}var u="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,m=u.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),_=u.saveAs||("object"!=typeof window||window!==u?function(){}:"download"in HTMLAnchorElement.prototype&&!m?function(f,y,b){var v=u.URL||u.webkitURL,w=document.createElement("a");w.download=y=y||f.name||"download",w.rel="noopener","string"==typeof f?(w.href=f,w.origin===location.origin?d(w):c(w.href)?g(f,y,b):d(w,w.target="_blank")):(w.href=v.createObjectURL(f),setTimeout(function(){v.revokeObjectURL(w.href)},4e4),setTimeout(function(){d(w)},0))}:"msSaveOrOpenBlob"in navigator?function(f,y,b){if(y=y||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(function p(f,y){return typeof y>"u"?y={autoBom:!1}:"object"!=typeof y&&(console.warn("Deprecated: Expected third argument to be a object"),y={autoBom:!y}),y.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,b),y);else if(c(f))g(f,y,b);else{var v=document.createElement("a");v.href=f,v.target="_blank",setTimeout(function(){d(v)})}}:function(f,y,b,v){if((v=v||open("","_blank"))&&(v.document.title=v.document.body.innerText="downloading..."),"string"==typeof f)return g(f,y,b);var w="application/octet-stream"===f.type,O=/constructor/i.test(u.HTMLElement)||u.safari,F=/CriOS\/[\d]+/.test(navigator.userAgent);if((F||w&&O||m)&&typeof FileReader<"u"){var S=new FileReader;S.onloadend=function(){var ee=S.result;ee=F?ee:ee.replace(/^data:[^;]*;/,"data:attachment/file;"),v?v.location.href=ee:location=ee,v=null},S.readAsDataURL(f)}else{var K=u.URL||u.webkitURL,V=K.createObjectURL(f);v?v.location=V:location.href=V,v=null,setTimeout(function(){K.revokeObjectURL(V)},4e4)}});u.saveAs=_.saveAs=_,Z.exports=_})?a.apply(o,[]):a)&&(Z.exports=s)},188:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(gi,Jn,ui,Oi){void 0===Oi&&(Oi=ui),Object.defineProperty(gi,Oi,{enumerable:!0,get:function(){return Jn[ui]}})}:function(gi,Jn,ui,Oi){void 0===Oi&&(Oi=ui),gi[Oi]=Jn[ui]}),s=this&&this.__exportStar||function(gi,Jn){for(var ui in gi)"default"!==ui&&!Object.prototype.hasOwnProperty.call(Jn,ui)&&n(Jn,gi,ui)};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.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.onErrorResumeNextWith=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=o.switchMapTo=void 0;var p=a(7072);Object.defineProperty(o,"Observable",{enumerable:!0,get:function(){return p.Observable}});var g=a(8840);Object.defineProperty(o,"ConnectableObservable",{enumerable:!0,get:function(){return g.ConnectableObservable}});var c=a(2289);Object.defineProperty(o,"observable",{enumerable:!0,get:function(){return c.observable}});var d=a(2505);Object.defineProperty(o,"animationFrames",{enumerable:!0,get:function(){return d.animationFrames}});var u=a(3653);Object.defineProperty(o,"Subject",{enumerable:!0,get:function(){return u.Subject}});var m=a(1552);Object.defineProperty(o,"BehaviorSubject",{enumerable:!0,get:function(){return m.BehaviorSubject}});var _=a(4098);Object.defineProperty(o,"ReplaySubject",{enumerable:!0,get:function(){return _.ReplaySubject}});var f=a(2562);Object.defineProperty(o,"AsyncSubject",{enumerable:!0,get:function(){return f.AsyncSubject}});var y=a(6842);Object.defineProperty(o,"asap",{enumerable:!0,get:function(){return y.asap}}),Object.defineProperty(o,"asapScheduler",{enumerable:!0,get:function(){return y.asapScheduler}});var b=a(9106);Object.defineProperty(o,"async",{enumerable:!0,get:function(){return b.async}}),Object.defineProperty(o,"asyncScheduler",{enumerable:!0,get:function(){return b.asyncScheduler}});var v=a(3931);Object.defineProperty(o,"queue",{enumerable:!0,get:function(){return v.queue}}),Object.defineProperty(o,"queueScheduler",{enumerable:!0,get:function(){return v.queueScheduler}});var w=a(3989);Object.defineProperty(o,"animationFrame",{enumerable:!0,get:function(){return w.animationFrame}}),Object.defineProperty(o,"animationFrameScheduler",{enumerable:!0,get:function(){return w.animationFrameScheduler}});var O=a(3503);Object.defineProperty(o,"VirtualTimeScheduler",{enumerable:!0,get:function(){return O.VirtualTimeScheduler}}),Object.defineProperty(o,"VirtualAction",{enumerable:!0,get:function(){return O.VirtualAction}});var F=a(4283);Object.defineProperty(o,"Scheduler",{enumerable:!0,get:function(){return F.Scheduler}});var S=a(642);Object.defineProperty(o,"Subscription",{enumerable:!0,get:function(){return S.Subscription}});var K=a(7032);Object.defineProperty(o,"Subscriber",{enumerable:!0,get:function(){return K.Subscriber}});var V=a(9988);Object.defineProperty(o,"Notification",{enumerable:!0,get:function(){return V.Notification}}),Object.defineProperty(o,"NotificationKind",{enumerable:!0,get:function(){return V.NotificationKind}});var ee=a(3776);Object.defineProperty(o,"pipe",{enumerable:!0,get:function(){return ee.pipe}});var W=a(6048);Object.defineProperty(o,"noop",{enumerable:!0,get:function(){return W.noop}});var Y=a(7288);Object.defineProperty(o,"identity",{enumerable:!0,get:function(){return Y.identity}});var ue=a(8447);Object.defineProperty(o,"isObservable",{enumerable:!0,get:function(){return ue.isObservable}});var ie=a(7632);Object.defineProperty(o,"lastValueFrom",{enumerable:!0,get:function(){return ie.lastValueFrom}});var te=a(3133);Object.defineProperty(o,"firstValueFrom",{enumerable:!0,get:function(){return te.firstValueFrom}});var ve=a(4936);Object.defineProperty(o,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return ve.ArgumentOutOfRangeError}});var nt=a(6159);Object.defineProperty(o,"EmptyError",{enumerable:!0,get:function(){return nt.EmptyError}});var be=a(3811);Object.defineProperty(o,"NotFoundError",{enumerable:!0,get:function(){return be.NotFoundError}});var Ye=a(5499);Object.defineProperty(o,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return Ye.ObjectUnsubscribedError}});var pe=a(833);Object.defineProperty(o,"SequenceError",{enumerable:!0,get:function(){return pe.SequenceError}});var Le=a(6406);Object.defineProperty(o,"TimeoutError",{enumerable:!0,get:function(){return Le.TimeoutError}});var Xe=a(1490);Object.defineProperty(o,"UnsubscriptionError",{enumerable:!0,get:function(){return Xe.UnsubscriptionError}});var Je=a(2344);Object.defineProperty(o,"bindCallback",{enumerable:!0,get:function(){return Je.bindCallback}});var q=a(8991);Object.defineProperty(o,"bindNodeCallback",{enumerable:!0,get:function(){return q.bindNodeCallback}});var we=a(8250);Object.defineProperty(o,"combineLatest",{enumerable:!0,get:function(){return we.combineLatest}});var re=a(7704);Object.defineProperty(o,"concat",{enumerable:!0,get:function(){return re.concat}});var J=a(8707);Object.defineProperty(o,"connectable",{enumerable:!0,get:function(){return J.connectable}});var z=a(1844);Object.defineProperty(o,"defer",{enumerable:!0,get:function(){return z.defer}});var $=a(8611);Object.defineProperty(o,"empty",{enumerable:!0,get:function(){return $.empty}});var U=a(148);Object.defineProperty(o,"forkJoin",{enumerable:!0,get:function(){return U.forkJoin}});var R=a(7149);Object.defineProperty(o,"from",{enumerable:!0,get:function(){return R.from}});var H=a(1043);Object.defineProperty(o,"fromEvent",{enumerable:!0,get:function(){return H.fromEvent}});var Oe=a(1460);Object.defineProperty(o,"fromEventPattern",{enumerable:!0,get:function(){return Oe.fromEventPattern}});var He=a(7459);Object.defineProperty(o,"generate",{enumerable:!0,get:function(){return He.generate}});var vt=a(1575);Object.defineProperty(o,"iif",{enumerable:!0,get:function(){return vt.iif}});var Ct=a(630);Object.defineProperty(o,"interval",{enumerable:!0,get:function(){return Ct.interval}});var lt=a(4052);Object.defineProperty(o,"merge",{enumerable:!0,get:function(){return lt.merge}});var Te=a(8661);Object.defineProperty(o,"never",{enumerable:!0,get:function(){return Te.never}});var xe=a(655);Object.defineProperty(o,"of",{enumerable:!0,get:function(){return xe.of}});var Ne=a(8186);Object.defineProperty(o,"onErrorResumeNext",{enumerable:!0,get:function(){return Ne.onErrorResumeNext}});var Me=a(5887);Object.defineProperty(o,"pairs",{enumerable:!0,get:function(){return Me.pairs}});var Re=a(127);Object.defineProperty(o,"partition",{enumerable:!0,get:function(){return Re.partition}});var gt=a(9867);Object.defineProperty(o,"race",{enumerable:!0,get:function(){return gt.race}});var ut=a(1173);Object.defineProperty(o,"range",{enumerable:!0,get:function(){return ut.range}});var et=a(5931);Object.defineProperty(o,"throwError",{enumerable:!0,get:function(){return et.throwError}});var ae=a(441);Object.defineProperty(o,"timer",{enumerable:!0,get:function(){return ae.timer}});var Ee=a(7261);Object.defineProperty(o,"using",{enumerable:!0,get:function(){return Ee.using}});var ke=a(2323);Object.defineProperty(o,"zip",{enumerable:!0,get:function(){return ke.zip}});var ct=a(3881);Object.defineProperty(o,"scheduled",{enumerable:!0,get:function(){return ct.scheduled}});var ot=a(8611);Object.defineProperty(o,"EMPTY",{enumerable:!0,get:function(){return ot.EMPTY}});var wt=a(8661);Object.defineProperty(o,"NEVER",{enumerable:!0,get:function(){return wt.NEVER}}),s(a(1728),o);var jt=a(2528);Object.defineProperty(o,"config",{enumerable:!0,get:function(){return jt.config}});var Kt=a(547);Object.defineProperty(o,"audit",{enumerable:!0,get:function(){return Kt.audit}});var Zt=a(5651);Object.defineProperty(o,"auditTime",{enumerable:!0,get:function(){return Zt.auditTime}});var Qt=a(4546);Object.defineProperty(o,"buffer",{enumerable:!0,get:function(){return Qt.buffer}});var dt=a(7865);Object.defineProperty(o,"bufferCount",{enumerable:!0,get:function(){return dt.bufferCount}});var Dt=a(4567);Object.defineProperty(o,"bufferTime",{enumerable:!0,get:function(){return Dt.bufferTime}});var Ue=a(8151);Object.defineProperty(o,"bufferToggle",{enumerable:!0,get:function(){return Ue.bufferToggle}});var de=a(5201);Object.defineProperty(o,"bufferWhen",{enumerable:!0,get:function(){return de.bufferWhen}});var De=a(5503);Object.defineProperty(o,"catchError",{enumerable:!0,get:function(){return De.catchError}});var at=a(8868);Object.defineProperty(o,"combineAll",{enumerable:!0,get:function(){return at.combineAll}});var Ot=a(5638);Object.defineProperty(o,"combineLatestAll",{enumerable:!0,get:function(){return Ot.combineLatestAll}});var Lt=a(7869);Object.defineProperty(o,"combineLatestWith",{enumerable:!0,get:function(){return Lt.combineLatestWith}});var qt=a(7507);Object.defineProperty(o,"concatAll",{enumerable:!0,get:function(){return qt.concatAll}});var cn=a(6118);Object.defineProperty(o,"concatMap",{enumerable:!0,get:function(){return cn.concatMap}});var pn=a(5505);Object.defineProperty(o,"concatMapTo",{enumerable:!0,get:function(){return pn.concatMapTo}});var En=a(9451);Object.defineProperty(o,"concatWith",{enumerable:!0,get:function(){return En.concatWith}});var yt=a(1673);Object.defineProperty(o,"connect",{enumerable:!0,get:function(){return yt.connect}});var rt=a(745);Object.defineProperty(o,"count",{enumerable:!0,get:function(){return rt.count}});var Ie=a(6799);Object.defineProperty(o,"debounce",{enumerable:!0,get:function(){return Ie.debounce}});var We=a(6662);Object.defineProperty(o,"debounceTime",{enumerable:!0,get:function(){return We.debounceTime}});var mt=a(9033);Object.defineProperty(o,"defaultIfEmpty",{enumerable:!0,get:function(){return mt.defaultIfEmpty}});var Rt=a(9908);Object.defineProperty(o,"delay",{enumerable:!0,get:function(){return Rt.delay}});var Jt=a(2680);Object.defineProperty(o,"delayWhen",{enumerable:!0,get:function(){return Jt.delayWhen}});var ft=a(7856);Object.defineProperty(o,"dematerialize",{enumerable:!0,get:function(){return ft.dematerialize}});var ye=a(3506);Object.defineProperty(o,"distinct",{enumerable:!0,get:function(){return ye.distinct}});var G=a(9905);Object.defineProperty(o,"distinctUntilChanged",{enumerable:!0,get:function(){return G.distinctUntilChanged}});var k=a(9745);Object.defineProperty(o,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return k.distinctUntilKeyChanged}});var fe=a(55);Object.defineProperty(o,"elementAt",{enumerable:!0,get:function(){return fe.elementAt}});var Ze=a(4486);Object.defineProperty(o,"endWith",{enumerable:!0,get:function(){return Ze.endWith}});var It=a(3595);Object.defineProperty(o,"every",{enumerable:!0,get:function(){return It.every}});var tt=a(1222);Object.defineProperty(o,"exhaust",{enumerable:!0,get:function(){return tt.exhaust}});var St=a(5438);Object.defineProperty(o,"exhaustAll",{enumerable:!0,get:function(){return St.exhaustAll}});var _e=a(733);Object.defineProperty(o,"exhaustMap",{enumerable:!0,get:function(){return _e.exhaustMap}});var Fe=a(5006);Object.defineProperty(o,"expand",{enumerable:!0,get:function(){return Fe.expand}});var je=a(4488);Object.defineProperty(o,"filter",{enumerable:!0,get:function(){return je.filter}});var Et=a(835);Object.defineProperty(o,"finalize",{enumerable:!0,get:function(){return Et.finalize}});var Ut=a(6167);Object.defineProperty(o,"find",{enumerable:!0,get:function(){return Ut.find}});var vn=a(105);Object.defineProperty(o,"findIndex",{enumerable:!0,get:function(){return vn.findIndex}});var ln=a(531);Object.defineProperty(o,"first",{enumerable:!0,get:function(){return ln.first}});var hn=a(7389);Object.defineProperty(o,"groupBy",{enumerable:!0,get:function(){return hn.groupBy}});var Ke=a(8228);Object.defineProperty(o,"ignoreElements",{enumerable:!0,get:function(){return Ke.ignoreElements}});var $e=a(9185);Object.defineProperty(o,"isEmpty",{enumerable:!0,get:function(){return $e.isEmpty}});var Pe=a(3383);Object.defineProperty(o,"last",{enumerable:!0,get:function(){return Pe.last}});var _t=a(5970);Object.defineProperty(o,"map",{enumerable:!0,get:function(){return _t.map}});var Mt=a(5901);Object.defineProperty(o,"mapTo",{enumerable:!0,get:function(){return Mt.mapTo}});var Ft=a(3136);Object.defineProperty(o,"materialize",{enumerable:!0,get:function(){return Ft.materialize}});var kt=a(1027);Object.defineProperty(o,"max",{enumerable:!0,get:function(){return kt.max}});var tn=a(689);Object.defineProperty(o,"mergeAll",{enumerable:!0,get:function(){return tn.mergeAll}});var Gt=a(984);Object.defineProperty(o,"flatMap",{enumerable:!0,get:function(){return Gt.flatMap}});var Mn=a(1049);Object.defineProperty(o,"mergeMap",{enumerable:!0,get:function(){return Mn.mergeMap}});var Vn=a(6191);Object.defineProperty(o,"mergeMapTo",{enumerable:!0,get:function(){return Vn.mergeMapTo}});var On=a(6439);Object.defineProperty(o,"mergeScan",{enumerable:!0,get:function(){return On.mergeScan}});var kn=a(8821);Object.defineProperty(o,"mergeWith",{enumerable:!0,get:function(){return kn.mergeWith}});var Ci=a(4147);Object.defineProperty(o,"min",{enumerable:!0,get:function(){return Ci.min}});var Pn=a(4290);Object.defineProperty(o,"multicast",{enumerable:!0,get:function(){return Pn.multicast}});var bn=a(9512);Object.defineProperty(o,"observeOn",{enumerable:!0,get:function(){return bn.observeOn}});var ge=a(4268);Object.defineProperty(o,"onErrorResumeNextWith",{enumerable:!0,get:function(){return ge.onErrorResumeNextWith}});var st=a(4827);Object.defineProperty(o,"pairwise",{enumerable:!0,get:function(){return st.pairwise}});var X=a(4011);Object.defineProperty(o,"pluck",{enumerable:!0,get:function(){return X.pluck}});var me=a(3693);Object.defineProperty(o,"publish",{enumerable:!0,get:function(){return me.publish}});var ne=a(7465);Object.defineProperty(o,"publishBehavior",{enumerable:!0,get:function(){return ne.publishBehavior}});var Qe=a(5982);Object.defineProperty(o,"publishLast",{enumerable:!0,get:function(){return Qe.publishLast}});var L=a(3121);Object.defineProperty(o,"publishReplay",{enumerable:!0,get:function(){return L.publishReplay}});var Ve=a(5413);Object.defineProperty(o,"raceWith",{enumerable:!0,get:function(){return Ve.raceWith}});var Be=a(597);Object.defineProperty(o,"reduce",{enumerable:!0,get:function(){return Be.reduce}});var $t=a(2923);Object.defineProperty(o,"repeat",{enumerable:!0,get:function(){return $t.repeat}});var Bt=a(2806);Object.defineProperty(o,"repeatWhen",{enumerable:!0,get:function(){return Bt.repeatWhen}});var yn=a(1017);Object.defineProperty(o,"retry",{enumerable:!0,get:function(){return yn.retry}});var Sn=a(3377);Object.defineProperty(o,"retryWhen",{enumerable:!0,get:function(){return Sn.retryWhen}});var Kn=a(8551);Object.defineProperty(o,"refCount",{enumerable:!0,get:function(){return Kn.refCount}});var ii=a(8255);Object.defineProperty(o,"sample",{enumerable:!0,get:function(){return ii.sample}});var Ii=a(941);Object.defineProperty(o,"sampleTime",{enumerable:!0,get:function(){return Ii.sampleTime}});var ri=a(4141);Object.defineProperty(o,"scan",{enumerable:!0,get:function(){return ri.scan}});var Ji=a(5318);Object.defineProperty(o,"sequenceEqual",{enumerable:!0,get:function(){return Ji.sequenceEqual}});var Sr=a(2905);Object.defineProperty(o,"share",{enumerable:!0,get:function(){return Sr.share}});var so=a(5940);Object.defineProperty(o,"shareReplay",{enumerable:!0,get:function(){return so.shareReplay}});var lr=a(1619);Object.defineProperty(o,"single",{enumerable:!0,get:function(){return lr.single}});var Lr=a(7605);Object.defineProperty(o,"skip",{enumerable:!0,get:function(){return Lr.skip}});var qi=a(3106);Object.defineProperty(o,"skipLast",{enumerable:!0,get:function(){return qi.skipLast}});var dr=a(7457);Object.defineProperty(o,"skipUntil",{enumerable:!0,get:function(){return dr.skipUntil}});var ur=a(676);Object.defineProperty(o,"skipWhile",{enumerable:!0,get:function(){return ur.skipWhile}});var Tn=a(6907);Object.defineProperty(o,"startWith",{enumerable:!0,get:function(){return Tn.startWith}});var Qn=a(8625);Object.defineProperty(o,"subscribeOn",{enumerable:!0,get:function(){return Qn.subscribeOn}});var Xn=a(9311);Object.defineProperty(o,"switchAll",{enumerable:!0,get:function(){return Xn.switchAll}});var er=a(6180);Object.defineProperty(o,"switchMap",{enumerable:!0,get:function(){return er.switchMap}});var ti=a(7235);Object.defineProperty(o,"switchMapTo",{enumerable:!0,get:function(){return ti.switchMapTo}});var Ir=a(2546);Object.defineProperty(o,"switchScan",{enumerable:!0,get:function(){return Ir.switchScan}});var tr=a(3007);Object.defineProperty(o,"take",{enumerable:!0,get:function(){return tr.take}});var fr=a(9747);Object.defineProperty(o,"takeLast",{enumerable:!0,get:function(){return fr.takeLast}});var hr=a(8325);Object.defineProperty(o,"takeUntil",{enumerable:!0,get:function(){return hr.takeUntil}});var Ar=a(548);Object.defineProperty(o,"takeWhile",{enumerable:!0,get:function(){return Ar.takeWhile}});var Bn=a(3023);Object.defineProperty(o,"tap",{enumerable:!0,get:function(){return Bn.tap}});var zt=a(7635);Object.defineProperty(o,"throttle",{enumerable:!0,get:function(){return zt.throttle}});var dn=a(2403);Object.defineProperty(o,"throttleTime",{enumerable:!0,get:function(){return dn.throttleTime}});var Nn=a(909);Object.defineProperty(o,"throwIfEmpty",{enumerable:!0,get:function(){return Nn.throwIfEmpty}});var pi=a(5892);Object.defineProperty(o,"timeInterval",{enumerable:!0,get:function(){return pi.timeInterval}});var Ai=a(6406);Object.defineProperty(o,"timeout",{enumerable:!0,get:function(){return Ai.timeout}});var oi=a(6348);Object.defineProperty(o,"timeoutWith",{enumerable:!0,get:function(){return oi.timeoutWith}});var Ui=a(9010);Object.defineProperty(o,"timestamp",{enumerable:!0,get:function(){return Ui.timestamp}});var $n=a(2341);Object.defineProperty(o,"toArray",{enumerable:!0,get:function(){return $n.toArray}});var Zn=a(1176);Object.defineProperty(o,"window",{enumerable:!0,get:function(){return Zn.window}});var Ni=a(6193);Object.defineProperty(o,"windowCount",{enumerable:!0,get:function(){return Ni.windowCount}});var rn=a(2642);Object.defineProperty(o,"windowTime",{enumerable:!0,get:function(){return rn.windowTime}});var Li=a(8036);Object.defineProperty(o,"windowToggle",{enumerable:!0,get:function(){return Li.windowToggle}});var br=a(1624);Object.defineProperty(o,"windowWhen",{enumerable:!0,get:function(){return br.windowWhen}});var Hi=a(3725);Object.defineProperty(o,"withLatestFrom",{enumerable:!0,get:function(){return Hi.withLatestFrom}});var Rn=a(378);Object.defineProperty(o,"zipAll",{enumerable:!0,get:function(){return Rn.zipAll}});var mr=a(9952);Object.defineProperty(o,"zipWith",{enumerable:!0,get:function(){return mr.zipWith}})},2562:function(Z,o,a){"use strict";var g,n=this&&this.__extends||(g=function(c,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,m){u.__proto__=m}||function(u,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(u[_]=m[_])})(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 u(){this.constructor=c}g(c,d),c.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncSubject=void 0;var p=function(g){function c(){var d=null!==g&&g.apply(this,arguments)||this;return d._value=null,d._hasValue=!1,d._isComplete=!1,d}return n(c,g),c.prototype._checkFinalizedStatuses=function(d){var u=this,_=u._hasValue,f=u._value,b=u.isStopped,v=u._isComplete;u.hasError?d.error(u.thrownError):(b||v)&&(_&&d.next(f),d.complete())},c.prototype.next=function(d){this.isStopped||(this._value=d,this._hasValue=!0)},c.prototype.complete=function(){var d=this,u=d._hasValue,m=d._value;d._isComplete||(this._isComplete=!0,u&&g.prototype.next.call(this,m),g.prototype.complete.call(this))},c}(a(3653).Subject);o.AsyncSubject=p},1552:function(Z,o,a){"use strict";var g,n=this&&this.__extends||(g=function(c,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,m){u.__proto__=m}||function(u,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(u[_]=m[_])})(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 u(){this.constructor=c}g(c,d),c.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.BehaviorSubject=void 0;var p=function(g){function c(d){var u=g.call(this)||this;return u._value=d,u}return n(c,g),Object.defineProperty(c.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),c.prototype._subscribe=function(d){var u=g.prototype._subscribe.call(this,d);return!u.closed&&d.next(this._value),u},c.prototype.getValue=function(){var d=this,_=d._value;if(d.hasError)throw d.thrownError;return this._throwIfClosed(),_},c.prototype.next=function(d){g.prototype.next.call(this,this._value=d)},c}(a(3653).Subject);o.BehaviorSubject=p},9988:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeNotification=o.Notification=o.NotificationKind=void 0;var m,n=a(8611),s=a(655),p=a(5931),g=a(1860);(m=o.NotificationKind||(o.NotificationKind={})).NEXT="N",m.ERROR="E",m.COMPLETE="C";var d=function(){function m(_,f,y){this.kind=_,this.value=f,this.error=y,this.hasValue="N"===_}return m.prototype.observe=function(_){return u(this,_)},m.prototype.do=function(_,f,y){var b=this,v=b.kind,w=b.value,O=b.error;return"N"===v?_?.(w):"E"===v?f?.(O):y?.()},m.prototype.accept=function(_,f,y){var b;return g.isFunction(null===(b=_)||void 0===b?void 0:b.next)?this.observe(_):this.do(_,f,y)},m.prototype.toObservable=function(){var _=this,f=_.kind,b=_.error,v="N"===f?s.of(_.value):"E"===f?p.throwError(function(){return b}):"C"===f?n.EMPTY:0;if(!v)throw new TypeError("Unexpected notification kind "+f);return v},m.createNext=function(_){return new m("N",_)},m.createError=function(_){return new m("E",void 0,_)},m.createComplete=function(){return m.completeNotification},m.completeNotification=new m("C"),m}();function u(m,_){var f,y,b,w=m.kind,O=m.value,F=m.error;if("string"!=typeof w)throw new TypeError('Invalid notification, missing "kind"');"N"===w?null===(f=_.next)||void 0===f||f.call(_,O):"E"===w?null===(y=_.error)||void 0===y||y.call(_,F):null===(b=_.complete)||void 0===b||b.call(_)}o.Notification=d,o.observeNotification=u},9642:(Z,o)=>{"use strict";function s(p,g,c){return{kind:p,value:g,error:c}}Object.defineProperty(o,"__esModule",{value:!0}),o.createNotification=o.nextNotification=o.errorNotification=o.COMPLETE_NOTIFICATION=void 0,o.COMPLETE_NOTIFICATION=s("C",void 0,void 0),o.errorNotification=function a(p){return s("E",void 0,p)},o.nextNotification=function n(p){return s("N",p,void 0)},o.createNotification=s},7072:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Observable=void 0;var n=a(7032),s=a(642),p=a(2289),g=a(3776),c=a(2528),d=a(1860),u=a(7525),m=function(){function b(v){v&&(this._subscribe=v)}return b.prototype.lift=function(v){var w=new b;return w.source=this,w.operator=v,w},b.prototype.subscribe=function(v,w,O){var F=this,S=function y(b){return b&&b instanceof n.Subscriber||function f(b){return b&&d.isFunction(b.next)&&d.isFunction(b.error)&&d.isFunction(b.complete)}(b)&&s.isSubscription(b)}(v)?v:new n.SafeSubscriber(v,w,O);return u.errorContext(function(){var V=F.operator,ee=F.source;S.add(V?V.call(S,ee):ee?F._subscribe(S):F._trySubscribe(S))}),S},b.prototype._trySubscribe=function(v){try{return this._subscribe(v)}catch(w){v.error(w)}},b.prototype.forEach=function(v,w){var O=this;return new(w=_(w))(function(F,S){var K=new n.SafeSubscriber({next:function(V){try{v(V)}catch(ee){S(ee),K.unsubscribe()}},error:S,complete:F});O.subscribe(K)})},b.prototype._subscribe=function(v){var w;return null===(w=this.source)||void 0===w?void 0:w.subscribe(v)},b.prototype[p.observable]=function(){return this},b.prototype.pipe=function(){for(var v=[],w=0;w<arguments.length;w++)v[w]=arguments[w];return g.pipeFromArray(v)(this)},b.prototype.toPromise=function(v){var w=this;return new(v=_(v))(function(O,F){var S;w.subscribe(function(K){return S=K},function(K){return F(K)},function(){return O(S)})})},b.create=function(v){return new b(v)},b}();function _(b){var v;return null!==(v=b??c.config.Promise)&&void 0!==v?v:Promise}o.Observable=m},4098:function(Z,o,a){"use strict";var c,n=this&&this.__extends||(c=function(d,u){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,_){m.__proto__=_}||function(m,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(m[f]=_[f])})(d,u)},function(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function m(){this.constructor=d}c(d,u),d.prototype=null===u?Object.create(u):(m.prototype=u.prototype,new m)});Object.defineProperty(o,"__esModule",{value:!0}),o.ReplaySubject=void 0;var s=a(3653),p=a(1937),g=function(c){function d(u,m,_){void 0===u&&(u=1/0),void 0===m&&(m=1/0),void 0===_&&(_=p.dateTimestampProvider);var f=c.call(this)||this;return f._bufferSize=u,f._windowTime=m,f._timestampProvider=_,f._buffer=[],f._infiniteTimeWindow=!0,f._infiniteTimeWindow=m===1/0,f._bufferSize=Math.max(1,u),f._windowTime=Math.max(1,m),f}return n(d,c),d.prototype.next=function(u){var m=this,f=m._buffer,y=m._infiniteTimeWindow,b=m._timestampProvider,v=m._windowTime;m.isStopped||(f.push(u),!y&&f.push(b.now()+v)),this._trimBuffer(),c.prototype.next.call(this,u)},d.prototype._subscribe=function(u){this._throwIfClosed(),this._trimBuffer();for(var m=this._innerSubscribe(u),f=this._infiniteTimeWindow,b=this._buffer.slice(),v=0;v<b.length&&!u.closed;v+=f?1:2)u.next(b[v]);return this._checkFinalizedStatuses(u),m},d.prototype._trimBuffer=function(){var u=this,m=u._bufferSize,_=u._timestampProvider,f=u._buffer,y=u._infiniteTimeWindow,b=(y?1:2)*m;if(m<1/0&&b<f.length&&f.splice(0,f.length-b),!y){for(var v=_.now(),w=0,O=1;O<f.length&&f[O]<=v;O+=2)w=O;w&&f.splice(0,w+1)}},d}(s.Subject);o.ReplaySubject=g},4283:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Scheduler=void 0;var n=a(1937),s=function(){function p(g,c){void 0===c&&(c=p.now),this.schedulerActionCtor=g,this.now=c}return p.prototype.schedule=function(g,c,d){return void 0===c&&(c=0),new this.schedulerActionCtor(this,g).schedule(d,c)},p.now=n.dateTimestampProvider.now,p}();o.Scheduler=s},3653:function(Z,o,a){"use strict";var f,n=this&&this.__extends||(f=function(y,b){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,w){v.__proto__=w}||function(v,w){for(var O in w)Object.prototype.hasOwnProperty.call(w,O)&&(v[O]=w[O])})(y,b)},function(y,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function v(){this.constructor=y}f(y,b),y.prototype=null===b?Object.create(b):(v.prototype=b.prototype,new v)}),s=this&&this.__values||function(f){var y="function"==typeof Symbol&&Symbol.iterator,b=y&&f[y],v=0;if(b)return b.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&v>=f.length&&(f=void 0),{value:f&&f[v++],done:!f}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.AnonymousSubject=o.Subject=void 0;var p=a(7072),g=a(642),c=a(5499),d=a(4615),u=a(7525),m=function(f){function y(){var b=f.call(this)||this;return b.closed=!1,b.currentObservers=null,b.observers=[],b.isStopped=!1,b.hasError=!1,b.thrownError=null,b}return n(y,f),y.prototype.lift=function(b){var v=new _(this,this);return v.operator=b,v},y.prototype._throwIfClosed=function(){if(this.closed)throw new c.ObjectUnsubscribedError},y.prototype.next=function(b){var v=this;u.errorContext(function(){var w,O;if(v._throwIfClosed(),!v.isStopped){v.currentObservers||(v.currentObservers=Array.from(v.observers));try{for(var F=s(v.currentObservers),S=F.next();!S.done;S=F.next())S.value.next(b)}catch(V){w={error:V}}finally{try{S&&!S.done&&(O=F.return)&&O.call(F)}finally{if(w)throw w.error}}}})},y.prototype.error=function(b){var v=this;u.errorContext(function(){if(v._throwIfClosed(),!v.isStopped){v.hasError=v.isStopped=!0,v.thrownError=b;for(var w=v.observers;w.length;)w.shift().error(b)}})},y.prototype.complete=function(){var b=this;u.errorContext(function(){if(b._throwIfClosed(),!b.isStopped){b.isStopped=!0;for(var v=b.observers;v.length;)v.shift().complete()}})},y.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(y.prototype,"observed",{get:function(){var b;return(null===(b=this.observers)||void 0===b?void 0:b.length)>0},enumerable:!1,configurable:!0}),y.prototype._trySubscribe=function(b){return this._throwIfClosed(),f.prototype._trySubscribe.call(this,b)},y.prototype._subscribe=function(b){return this._throwIfClosed(),this._checkFinalizedStatuses(b),this._innerSubscribe(b)},y.prototype._innerSubscribe=function(b){var v=this,w=this,S=w.observers;return w.hasError||w.isStopped?g.EMPTY_SUBSCRIPTION:(this.currentObservers=null,S.push(b),new g.Subscription(function(){v.currentObservers=null,d.arrRemove(S,b)}))},y.prototype._checkFinalizedStatuses=function(b){var v=this,F=v.isStopped;v.hasError?b.error(v.thrownError):F&&b.complete()},y.prototype.asObservable=function(){var b=new p.Observable;return b.source=this,b},y.create=function(b,v){return new _(b,v)},y}(p.Observable);o.Subject=m;var _=function(f){function y(b,v){var w=f.call(this)||this;return w.destination=b,w.source=v,w}return n(y,f),y.prototype.next=function(b){var v,w;null===(w=null===(v=this.destination)||void 0===v?void 0:v.next)||void 0===w||w.call(v,b)},y.prototype.error=function(b){var v,w;null===(w=null===(v=this.destination)||void 0===v?void 0:v.error)||void 0===w||w.call(v,b)},y.prototype.complete=function(){var b,v;null===(v=null===(b=this.destination)||void 0===b?void 0:b.complete)||void 0===v||v.call(b)},y.prototype._subscribe=function(b){var v,w;return null!==(w=null===(v=this.source)||void 0===v?void 0:v.subscribe(b))&&void 0!==w?w:g.EMPTY_SUBSCRIPTION},y}(m);o.AnonymousSubject=_},7032:function(Z,o,a){"use strict";var K,n=this&&this.__extends||(K=function(V,ee){return(K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,Y){W.__proto__=Y}||function(W,Y){for(var ue in Y)Object.prototype.hasOwnProperty.call(Y,ue)&&(W[ue]=Y[ue])})(V,ee)},function(V,ee){if("function"!=typeof ee&&null!==ee)throw new TypeError("Class extends value "+String(ee)+" is not a constructor or null");function W(){this.constructor=V}K(V,ee),V.prototype=null===ee?Object.create(ee):(W.prototype=ee.prototype,new W)});Object.defineProperty(o,"__esModule",{value:!0}),o.EMPTY_OBSERVER=o.SafeSubscriber=o.Subscriber=void 0;var s=a(1860),p=a(642),g=a(2528),c=a(9166),d=a(6048),u=a(9642),m=a(3410),_=a(7525),f=function(K){function V(ee){var W=K.call(this)||this;return W.isStopped=!1,ee?(W.destination=ee,p.isSubscription(ee)&&ee.add(W)):W.destination=o.EMPTY_OBSERVER,W}return n(V,K),V.create=function(ee,W,Y){return new w(ee,W,Y)},V.prototype.next=function(ee){this.isStopped?S(u.nextNotification(ee),this):this._next(ee)},V.prototype.error=function(ee){this.isStopped?S(u.errorNotification(ee),this):(this.isStopped=!0,this._error(ee))},V.prototype.complete=function(){this.isStopped?S(u.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},V.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,K.prototype.unsubscribe.call(this),this.destination=null)},V.prototype._next=function(ee){this.destination.next(ee)},V.prototype._error=function(ee){try{this.destination.error(ee)}finally{this.unsubscribe()}},V.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},V}(p.Subscription);o.Subscriber=f;var y=Function.prototype.bind;function b(K,V){return y.call(K,V)}var v=function(){function K(V){this.partialObserver=V}return K.prototype.next=function(V){var ee=this.partialObserver;if(ee.next)try{ee.next(V)}catch(W){O(W)}},K.prototype.error=function(V){var ee=this.partialObserver;if(ee.error)try{ee.error(V)}catch(W){O(W)}else O(V)},K.prototype.complete=function(){var V=this.partialObserver;if(V.complete)try{V.complete()}catch(ee){O(ee)}},K}(),w=function(K){function V(ee,W,Y){var ie,te,ue=K.call(this)||this;return s.isFunction(ee)||!ee?ie={next:ee??void 0,error:W??void 0,complete:Y??void 0}:ue&&g.config.useDeprecatedNextContext?((te=Object.create(ee)).unsubscribe=function(){return ue.unsubscribe()},ie={next:ee.next&&b(ee.next,te),error:ee.error&&b(ee.error,te),complete:ee.complete&&b(ee.complete,te)}):ie=ee,ue.destination=new v(ie),ue}return n(V,K),V}(f);function O(K){g.config.useDeprecatedSynchronousErrorHandling?_.captureError(K):c.reportUnhandledError(K)}function S(K,V){var ee=g.config.onStoppedNotification;ee&&m.timeoutProvider.setTimeout(function(){return ee(K,V)})}o.SafeSubscriber=w,o.EMPTY_OBSERVER={closed:!0,next:d.noop,error:function F(K){throw K},complete:d.noop}},642:function(Z,o,a){"use strict";var n=this&&this.__values||function(f){var y="function"==typeof Symbol&&Symbol.iterator,b=y&&f[y],v=0;if(b)return b.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&v>=f.length&&(f=void 0),{value:f&&f[v++],done:!f}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")},s=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,F,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){F={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(F)throw F.error}}return O},p=this&&this.__spreadArray||function(f,y){for(var b=0,v=y.length,w=f.length;b<v;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.isSubscription=o.EMPTY_SUBSCRIPTION=o.Subscription=void 0;var g=a(1860),c=a(1490),d=a(4615),u=function(){function f(y){this.initialTeardown=y,this.closed=!1,this._parentage=null,this._finalizers=null}return f.prototype.unsubscribe=function(){var y,b,v,w,O;if(!this.closed){this.closed=!0;var F=this._parentage;if(F)if(this._parentage=null,Array.isArray(F))try{for(var S=n(F),K=S.next();!K.done;K=S.next())K.value.remove(this)}catch(te){y={error:te}}finally{try{K&&!K.done&&(b=S.return)&&b.call(S)}finally{if(y)throw y.error}}else F.remove(this);var ee=this.initialTeardown;if(g.isFunction(ee))try{ee()}catch(te){O=te instanceof c.UnsubscriptionError?te.errors:[te]}var W=this._finalizers;if(W){this._finalizers=null;try{for(var Y=n(W),ue=Y.next();!ue.done;ue=Y.next()){var ie=ue.value;try{_(ie)}catch(te){O=O??[],te instanceof c.UnsubscriptionError?O=p(p([],s(O)),s(te.errors)):O.push(te)}}}catch(te){v={error:te}}finally{try{ue&&!ue.done&&(w=Y.return)&&w.call(Y)}finally{if(v)throw v.error}}}if(O)throw new c.UnsubscriptionError(O)}},f.prototype.add=function(y){var b;if(y&&y!==this)if(this.closed)_(y);else{if(y instanceof f){if(y.closed||y._hasParent(this))return;y._addParent(this)}(this._finalizers=null!==(b=this._finalizers)&&void 0!==b?b:[]).push(y)}},f.prototype._hasParent=function(y){var b=this._parentage;return b===y||Array.isArray(b)&&b.includes(y)},f.prototype._addParent=function(y){var b=this._parentage;this._parentage=Array.isArray(b)?(b.push(y),b):b?[b,y]:y},f.prototype._removeParent=function(y){var b=this._parentage;b===y?this._parentage=null:Array.isArray(b)&&d.arrRemove(b,y)},f.prototype.remove=function(y){var b=this._finalizers;b&&d.arrRemove(b,y),y instanceof f&&y._removeParent(this)},f.EMPTY=((y=new f).closed=!0,y),f;var y}();function _(f){g.isFunction(f)?f():f.unsubscribe()}o.Subscription=u,o.EMPTY_SUBSCRIPTION=u.EMPTY,o.isSubscription=function m(f){return f instanceof u||f&&"closed"in f&&g.isFunction(f.remove)&&g.isFunction(f.add)&&g.isFunction(f.unsubscribe)}},2528:(Z,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}},3133:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.firstValueFrom=void 0;var n=a(6159),s=a(7032);o.firstValueFrom=function p(g,c){var d="object"==typeof c;return new Promise(function(u,m){var _=new s.SafeSubscriber({next:function(f){u(f),_.unsubscribe()},error:m,complete:function(){d?u(c.defaultValue):m(new n.EmptyError)}});g.subscribe(_)})}},7632:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.lastValueFrom=void 0;var n=a(6159);o.lastValueFrom=function s(p,g){var c="object"==typeof g;return new Promise(function(d,u){var _,m=!1;p.subscribe({next:function(f){_=f,m=!0},error:u,complete:function(){m?d(_):c?d(g.defaultValue):u(new n.EmptyError)}})})}},8840:function(Z,o,a){"use strict";var m,n=this&&this.__extends||(m=function(_,f){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,b){y.__proto__=b}||function(y,b){for(var v in b)Object.prototype.hasOwnProperty.call(b,v)&&(y[v]=b[v])})(_,f)},function(_,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function y(){this.constructor=_}m(_,f),_.prototype=null===f?Object.create(f):(y.prototype=f.prototype,new y)});Object.defineProperty(o,"__esModule",{value:!0}),o.ConnectableObservable=void 0;var s=a(7072),p=a(642),g=a(8551),c=a(3922),d=a(5145),u=function(m){function _(f,y){var b=m.call(this)||this;return b.source=f,b.subjectFactory=y,b._subject=null,b._refCount=0,b._connection=null,d.hasLift(f)&&(b.lift=f.lift),b}return n(_,m),_.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,f?.unsubscribe()},_.prototype.connect=function(){var f=this,y=this._connection;if(!y){y=this._connection=new p.Subscription;var b=this.getSubject();y.add(this.source.subscribe(c.createOperatorSubscriber(b,void 0,function(){f._teardown(),b.complete()},function(v){f._teardown(),b.error(v)},function(){return f._teardown()}))),y.closed&&(this._connection=null,y=p.Subscription.EMPTY)}return y},_.prototype.refCount=function(){return g.refCount()(this)},_}(s.Observable);o.ConnectableObservable=u},2344:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallback=void 0;var n=a(7204);o.bindCallback=function s(p,g,c){return n.bindCallbackInternals(!1,p,g,c)}},7204:function(Z,o,a){"use strict";var n=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,F,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){F={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(F)throw F.error}}return O},s=this&&this.__spreadArray||function(f,y){for(var b=0,v=y.length,w=f.length;b<v;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallbackInternals=void 0;var p=a(1832),g=a(7072),c=a(8625),d=a(9349),u=a(9512),m=a(2562);o.bindCallbackInternals=function _(f,y,b,v){if(b){if(!p.isScheduler(b))return function(){for(var w=[],O=0;O<arguments.length;O++)w[O]=arguments[O];return _(f,y,v).apply(this,w).pipe(d.mapOneOrManyArgs(b))};v=b}return v?function(){for(var w=[],O=0;O<arguments.length;O++)w[O]=arguments[O];return _(f,y).apply(this,w).pipe(c.subscribeOn(v),u.observeOn(v))}:function(){for(var w=this,O=[],F=0;F<arguments.length;F++)O[F]=arguments[F];var S=new m.AsyncSubject,K=!0;return new g.Observable(function(V){var ee=S.subscribe(V);if(K){K=!1;var W=!1,Y=!1;y.apply(w,s(s([],n(O)),[function(){for(var ue=[],ie=0;ie<arguments.length;ie++)ue[ie]=arguments[ie];if(f){var te=ue.shift();if(null!=te)return void S.error(te)}S.next(1<ue.length?ue:ue[0]),Y=!0,W&&S.complete()}])),Y&&S.complete(),W=!0}return ee})}}},8991:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindNodeCallback=void 0;var n=a(7204);o.bindNodeCallback=function s(p,g,c){return n.bindCallbackInternals(!0,p,g,c)}},8250:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestInit=o.combineLatest=void 0;var n=a(7072),s=a(9422),p=a(7149),g=a(7288),c=a(9349),d=a(160),u=a(604),m=a(3922),_=a(7642);function y(v,w,O){return void 0===O&&(O=g.identity),function(F){b(w,function(){for(var S=v.length,K=new Array(S),V=S,ee=S,W=function(ue){b(w,function(){var ie=p.from(v[ue],w),te=!1;ie.subscribe(m.createOperatorSubscriber(F,function(ve){K[ue]=ve,te||(te=!0,ee--),ee||F.next(O(K.slice()))},function(){--V||F.complete()}))},F)},Y=0;Y<S;Y++)W(Y)},F)}}function b(v,w,O){v?_.executeSchedule(O,v,w):w()}o.combineLatest=function f(){for(var v=[],w=0;w<arguments.length;w++)v[w]=arguments[w];var O=d.popScheduler(v),F=d.popResultSelector(v),S=s.argsArgArrayOrObject(v),K=S.args,V=S.keys;if(0===K.length)return p.from([],O);var ee=new n.Observable(y(K,O,V?function(W){return u.createObject(V,W)}:g.identity));return F?ee.pipe(c.mapOneOrManyArgs(F)):ee},o.combineLatestInit=y},7704:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var n=a(7507),s=a(160),p=a(7149);o.concat=function g(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return n.concatAll()(p.from(c,s.popScheduler(c)))}},8707:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connectable=void 0;var n=a(3653),s=a(7072),p=a(1844),g={connector:function(){return new n.Subject},resetOnDisconnect:!0};o.connectable=function c(d,u){void 0===u&&(u=g);var m=null,_=u.connector,f=u.resetOnDisconnect,y=void 0===f||f,b=_(),v=new s.Observable(function(w){return b.subscribe(w)});return v.connect=function(){return(!m||m.closed)&&(m=p.defer(function(){return d}).subscribe(b),y&&m.add(function(){return b=_()})),m},v}},1844:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defer=void 0;var n=a(7072),s=a(7186);o.defer=function p(g){return new n.Observable(function(c){s.innerFrom(g()).subscribe(c)})}},2505:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrames=void 0;var n=a(7072),s=a(9118),p=a(8601);function c(u){return new n.Observable(function(m){var _=u||s.performanceTimestampProvider,f=_.now(),y=0,b=function(){m.closed||(y=p.animationFrameProvider.requestAnimationFrame(function(v){y=0;var w=_.now();m.next({timestamp:u?w:v,elapsed:w-f}),b()}))};return b(),function(){y&&p.animationFrameProvider.cancelAnimationFrame(y)}})}o.animationFrames=function g(u){return u?c(u):d};var d=c()},8611:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.empty=o.EMPTY=void 0;var n=a(7072);o.EMPTY=new n.Observable(function(g){return g.complete()}),o.empty=function s(g){return g?function p(g){return new n.Observable(function(c){return g.schedule(function(){return c.complete()})})}(g):o.EMPTY}},148:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.forkJoin=void 0;var n=a(7072),s=a(9422),p=a(7186),g=a(160),c=a(3922),d=a(9349),u=a(604);o.forkJoin=function m(){for(var _=[],f=0;f<arguments.length;f++)_[f]=arguments[f];var y=g.popResultSelector(_),b=s.argsArgArrayOrObject(_),v=b.args,w=b.keys,O=new n.Observable(function(F){var S=v.length;if(S)for(var K=new Array(S),V=S,ee=S,W=function(ue){var ie=!1;p.innerFrom(v[ue]).subscribe(c.createOperatorSubscriber(F,function(te){ie||(ie=!0,ee--),K[ue]=te},function(){return V--},void 0,function(){(!V||!ie)&&(ee||F.next(w?u.createObject(w,K):K),F.complete())}))},Y=0;Y<S;Y++)W(Y);else F.complete()});return y?O.pipe(d.mapOneOrManyArgs(y)):O}},7149:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.from=void 0;var n=a(3881),s=a(7186);o.from=function p(g,c){return c?n.scheduled(g,c):s.innerFrom(g)}},1043:function(Z,o,a){"use strict";var n=this&&this.__read||function(F,S){var K="function"==typeof Symbol&&F[Symbol.iterator];if(!K)return F;var ee,Y,V=K.call(F),W=[];try{for(;(void 0===S||S-- >0)&&!(ee=V.next()).done;)W.push(ee.value)}catch(ue){Y={error:ue}}finally{try{ee&&!ee.done&&(K=V.return)&&K.call(V)}finally{if(Y)throw Y.error}}return W};Object.defineProperty(o,"__esModule",{value:!0}),o.fromEvent=void 0;var s=a(7186),p=a(7072),g=a(1049),c=a(1692),d=a(1860),u=a(9349),m=["addListener","removeListener"],_=["addEventListener","removeEventListener"],f=["on","off"];function b(F,S){return function(K){return function(V){return F[K](S,V)}}}o.fromEvent=function y(F,S,K,V){if(d.isFunction(K)&&(V=K,K=void 0),V)return y(F,S,K).pipe(u.mapOneOrManyArgs(V));var ee=n(function O(F){return d.isFunction(F.addEventListener)&&d.isFunction(F.removeEventListener)}(F)?_.map(function(ue){return function(ie){return F[ue](S,ie,K)}}):function v(F){return d.isFunction(F.addListener)&&d.isFunction(F.removeListener)}(F)?m.map(b(F,S)):function w(F){return d.isFunction(F.on)&&d.isFunction(F.off)}(F)?f.map(b(F,S)):[],2),W=ee[0],Y=ee[1];if(!W&&c.isArrayLike(F))return g.mergeMap(function(ue){return y(ue,S,K)})(s.innerFrom(F));if(!W)throw new TypeError("Invalid event target");return new p.Observable(function(ue){var ie=function(){for(var te=[],ve=0;ve<arguments.length;ve++)te[ve]=arguments[ve];return ue.next(1<te.length?te:te[0])};return W(ie),function(){return Y(ie)}})}},1460:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromEventPattern=void 0;var n=a(7072),s=a(1860),p=a(9349);o.fromEventPattern=function g(c,d,u){return u?g(c,d).pipe(p.mapOneOrManyArgs(u)):new n.Observable(function(m){var _=function(){for(var y=[],b=0;b<arguments.length;b++)y[b]=arguments[b];return m.next(1===y.length?y[0]:y)},f=c(_);return s.isFunction(d)?function(){return d(_,f)}:void 0})}},8465:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromSubscribable=void 0;var n=a(7072);o.fromSubscribable=function s(p){return new n.Observable(function(g){return p.subscribe(g)})}},7459:function(Z,o,a){"use strict";var n=this&&this.__generator||function(u,m){var f,y,b,v,_={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return v={next:w(0),throw:w(1),return:w(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function w(F){return function(S){return function O(F){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(b=2&F[0]?y.return:F[0]?y.throw||((b=y.return)&&b.call(y),0):y.next)&&!(b=b.call(y,F[1])).done)return b;switch(y=0,b&&(F=[2&F[0],b.value]),F[0]){case 0:case 1:b=F;break;case 4:return _.label++,{value:F[1],done:!1};case 5:_.label++,y=F[1],F=[0];continue;case 7:F=_.ops.pop(),_.trys.pop();continue;default:if(!(b=(b=_.trys).length>0&&b[b.length-1])&&(6===F[0]||2===F[0])){_=0;continue}if(3===F[0]&&(!b||F[1]>b[0]&&F[1]<b[3])){_.label=F[1];break}if(6===F[0]&&_.label<b[1]){_.label=b[1],b=F;break}if(b&&_.label<b[2]){_.label=b[2],_.ops.push(F);break}b[2]&&_.ops.pop(),_.trys.pop();continue}F=m.call(u,_)}catch(S){F=[6,S],y=0}finally{f=b=0}if(5&F[0])throw F[1];return{value:F[0]?F[1]:void 0,done:!0}}([F,S])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.generate=void 0;var s=a(7288),p=a(1832),g=a(1844),c=a(4017);o.generate=function d(u,m,_,f,y){var b,v,w,O;function F(){var S;return n(this,function(K){switch(K.label){case 0:S=O,K.label=1;case 1:return!m||m(S)?[4,w(S)]:[3,4];case 2:K.sent(),K.label=3;case 3:return S=_(S),[3,1];case 4:return[2]}})}return 1===arguments.length?(O=(b=u).initialState,m=b.condition,_=b.iterate,w=void 0===(v=b.resultSelector)?s.identity:v,y=b.scheduler):(O=u,!f||p.isScheduler(f)?(w=s.identity,y=f):w=f),g.defer(y?function(){return c.scheduleIterable(F(),y)}:F)}},1575:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.iif=void 0;var n=a(1844);o.iif=function s(p,g,c){return n.defer(function(){return p()?g:c})}},7186:function(Z,o,a){"use strict";var n=this&&this.__awaiter||function(ie,te,ve,nt){return new(ve||(ve=Promise))(function(Ye,pe){function Le(q){try{Je(nt.next(q))}catch(we){pe(we)}}function Xe(q){try{Je(nt.throw(q))}catch(we){pe(we)}}function Je(q){q.done?Ye(q.value):function be(Ye){return Ye instanceof ve?Ye:new ve(function(pe){pe(Ye)})}(q.value).then(Le,Xe)}Je((nt=nt.apply(ie,te||[])).next())})},s=this&&this.__generator||function(ie,te){var nt,be,Ye,pe,ve={label:0,sent:function(){if(1&Ye[0])throw Ye[1];return Ye[1]},trys:[],ops:[]};return pe={next:Le(0),throw:Le(1),return:Le(2)},"function"==typeof Symbol&&(pe[Symbol.iterator]=function(){return this}),pe;function Le(Je){return function(q){return function Xe(Je){if(nt)throw new TypeError("Generator is already executing.");for(;ve;)try{if(nt=1,be&&(Ye=2&Je[0]?be.return:Je[0]?be.throw||((Ye=be.return)&&Ye.call(be),0):be.next)&&!(Ye=Ye.call(be,Je[1])).done)return Ye;switch(be=0,Ye&&(Je=[2&Je[0],Ye.value]),Je[0]){case 0:case 1:Ye=Je;break;case 4:return ve.label++,{value:Je[1],done:!1};case 5:ve.label++,be=Je[1],Je=[0];continue;case 7:Je=ve.ops.pop(),ve.trys.pop();continue;default:if(!(Ye=(Ye=ve.trys).length>0&&Ye[Ye.length-1])&&(6===Je[0]||2===Je[0])){ve=0;continue}if(3===Je[0]&&(!Ye||Je[1]>Ye[0]&&Je[1]<Ye[3])){ve.label=Je[1];break}if(6===Je[0]&&ve.label<Ye[1]){ve.label=Ye[1],Ye=Je;break}if(Ye&&ve.label<Ye[2]){ve.label=Ye[2],ve.ops.push(Je);break}Ye[2]&&ve.ops.pop(),ve.trys.pop();continue}Je=te.call(ie,ve)}catch(q){Je=[6,q],be=0}finally{nt=Ye=0}if(5&Je[0])throw Je[1];return{value:Je[0]?Je[1]:void 0,done:!0}}([Je,q])}}},p=this&&this.__asyncValues||function(ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ve,te=ie[Symbol.asyncIterator];return te?te.call(ie):(ie="function"==typeof g?g(ie):ie[Symbol.iterator](),ve={},nt("next"),nt("throw"),nt("return"),ve[Symbol.asyncIterator]=function(){return this},ve);function nt(Ye){ve[Ye]=ie[Ye]&&function(pe){return new Promise(function(Le,Xe){!function be(Ye,pe,Le,Xe){Promise.resolve(Xe).then(function(Je){Ye({value:Je,done:Le})},pe)}(Le,Xe,(pe=ie[Ye](pe)).done,pe.value)})}}},g=this&&this.__values||function(ie){var te="function"==typeof Symbol&&Symbol.iterator,ve=te&&ie[te],nt=0;if(ve)return ve.call(ie);if(ie&&"number"==typeof ie.length)return{next:function(){return ie&&nt>=ie.length&&(ie=void 0),{value:ie&&ie[nt++],done:!ie}}};throw new TypeError(te?"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 c=a(1692),d=a(7035),u=a(7072),m=a(3593),_=a(8474),f=a(7116),y=a(5754),b=a(7307),v=a(1860),w=a(9166),O=a(2289);function S(ie){return new u.Observable(function(te){var ve=ie[O.observable]();if(v.isFunction(ve.subscribe))return ve.subscribe(te);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function K(ie){return new u.Observable(function(te){for(var ve=0;ve<ie.length&&!te.closed;ve++)te.next(ie[ve]);te.complete()})}function V(ie){return new u.Observable(function(te){ie.then(function(ve){te.closed||(te.next(ve),te.complete())},function(ve){return te.error(ve)}).then(null,w.reportUnhandledError)})}function ee(ie){return new u.Observable(function(te){var ve,nt;try{for(var be=g(ie),Ye=be.next();!Ye.done;Ye=be.next())if(te.next(Ye.value),te.closed)return}catch(Le){ve={error:Le}}finally{try{Ye&&!Ye.done&&(nt=be.return)&&nt.call(be)}finally{if(ve)throw ve.error}}te.complete()})}function W(ie){return new u.Observable(function(te){(function ue(ie,te){var ve,nt,be,Ye;return n(this,void 0,void 0,function(){var Le;return s(this,function(Xe){switch(Xe.label){case 0:Xe.trys.push([0,5,6,11]),ve=p(ie),Xe.label=1;case 1:return[4,ve.next()];case 2:if((nt=Xe.sent()).done)return[3,4];if(te.next(nt.value),te.closed)return[2];Xe.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return Le=Xe.sent(),be={error:Le},[3,11];case 6:return Xe.trys.push([6,,9,10]),nt&&!nt.done&&(Ye=ve.return)?[4,Ye.call(ve)]:[3,8];case 7:Xe.sent(),Xe.label=8;case 8:return[3,10];case 9:if(be)throw be.error;return[7];case 10:return[7];case 11:return te.complete(),[2]}})})})(ie,te).catch(function(ve){return te.error(ve)})})}function Y(ie){return W(b.readableStreamLikeToAsyncGenerator(ie))}o.innerFrom=function F(ie){if(ie instanceof u.Observable)return ie;if(null!=ie){if(m.isInteropObservable(ie))return S(ie);if(c.isArrayLike(ie))return K(ie);if(d.isPromise(ie))return V(ie);if(_.isAsyncIterable(ie))return W(ie);if(y.isIterable(ie))return ee(ie);if(b.isReadableStreamLike(ie))return Y(ie)}throw f.createInvalidObservableTypeError(ie)},o.fromInteropObservable=S,o.fromArrayLike=K,o.fromPromise=V,o.fromIterable=ee,o.fromAsyncIterable=W,o.fromReadableStreamLike=Y},630:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.interval=void 0;var n=a(9106),s=a(441);o.interval=function p(g,c){return void 0===g&&(g=0),void 0===c&&(c=n.asyncScheduler),g<0&&(g=0),s.timer(g,g,c)}},4052:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var n=a(689),s=a(7186),p=a(8611),g=a(160),c=a(7149);o.merge=function d(){for(var u=[],m=0;m<arguments.length;m++)u[m]=arguments[m];var _=g.popScheduler(u),f=g.popNumber(u,1/0),y=u;return y.length?1===y.length?s.innerFrom(y[0]):n.mergeAll(f)(c.from(y,_)):p.EMPTY}},8661:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.never=o.NEVER=void 0;var n=a(7072),s=a(6048);o.NEVER=new n.Observable(s.noop),o.never=function p(){return o.NEVER}},655:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.of=void 0;var n=a(160),s=a(7149);o.of=function p(){for(var g=[],c=0;c<arguments.length;c++)g[c]=arguments[c];var d=n.popScheduler(g);return s.from(g,d)}},8186:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var n=a(7072),s=a(7308),p=a(3922),g=a(6048),c=a(7186);o.onErrorResumeNext=function d(){for(var u=[],m=0;m<arguments.length;m++)u[m]=arguments[m];var _=s.argsOrArgArray(u);return new n.Observable(function(f){var y=0,b=function(){if(y<_.length){var v=void 0;try{v=c.innerFrom(_[y++])}catch{return void b()}var w=new p.OperatorSubscriber(f,void 0,g.noop,g.noop);v.subscribe(w),w.add(b)}else f.complete()};b()})}},5887:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairs=void 0;var n=a(7149);o.pairs=function s(p,g){return n.from(Object.entries(p),g)}},127:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.partition=void 0;var n=a(1080),s=a(4488),p=a(7186);o.partition=function g(c,d,u){return[s.filter(d,u)(p.innerFrom(c)),s.filter(n.not(d,u))(p.innerFrom(c))]}},9867:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.raceInit=o.race=void 0;var n=a(7072),s=a(7186),p=a(7308),g=a(3922);function d(u){return function(m){for(var _=[],f=function(b){_.push(s.innerFrom(u[b]).subscribe(g.createOperatorSubscriber(m,function(v){if(_){for(var w=0;w<_.length;w++)w!==b&&_[w].unsubscribe();_=null}m.next(v)})))},y=0;_&&!m.closed&&y<u.length;y++)f(y)}}o.race=function c(){for(var u=[],m=0;m<arguments.length;m++)u[m]=arguments[m];return 1===(u=p.argsOrArgArray(u)).length?s.innerFrom(u[0]):new n.Observable(d(u))},o.raceInit=d},1173:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.range=void 0;var n=a(7072),s=a(8611);o.range=function p(g,c,d){if(null==c&&(c=g,g=0),c<=0)return s.EMPTY;var u=c+g;return new n.Observable(d?function(m){var _=g;return d.schedule(function(){_<u?(m.next(_++),this.schedule()):m.complete()})}:function(m){for(var _=g;_<u&&!m.closed;)m.next(_++);m.complete()})}},5931:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwError=void 0;var n=a(7072),s=a(1860);o.throwError=function p(g,c){var d=s.isFunction(g)?g:function(){return g},u=function(m){return m.error(d())};return new n.Observable(c?function(m){return c.schedule(u,0,m)}:u)}},441:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timer=void 0;var n=a(7072),s=a(9106),p=a(1832),g=a(7053);o.timer=function c(d,u,m){void 0===d&&(d=0),void 0===m&&(m=s.async);var _=-1;return null!=u&&(p.isScheduler(u)?m=u:_=u),new n.Observable(function(f){var y=g.isValidDate(d)?+d-m.now():d;y<0&&(y=0);var b=0;return m.schedule(function(){f.closed||(f.next(b++),0<=_?this.schedule(void 0,_):f.complete())},y)})}},7261:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.using=void 0;var n=a(7072),s=a(7186),p=a(8611);o.using=function g(c,d){return new n.Observable(function(u){var m=c(),_=d(m);return(_?s.innerFrom(_):p.EMPTY).subscribe(u),function(){m&&m.unsubscribe()}})}},2323:function(Z,o,a){"use strict";var n=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,F,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){F={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(F)throw F.error}}return O},s=this&&this.__spreadArray||function(f,y){for(var b=0,v=y.length,w=f.length;b<v;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var p=a(7072),g=a(7186),c=a(7308),d=a(8611),u=a(3922),m=a(160);o.zip=function _(){for(var f=[],y=0;y<arguments.length;y++)f[y]=arguments[y];var b=m.popResultSelector(f),v=c.argsOrArgArray(f);return v.length?new p.Observable(function(w){var O=v.map(function(){return[]}),F=v.map(function(){return!1});w.add(function(){O=F=null});for(var S=function(V){g.innerFrom(v[V]).subscribe(u.createOperatorSubscriber(w,function(ee){if(O[V].push(ee),O.every(function(Y){return Y.length})){var W=O.map(function(Y){return Y.shift()});w.next(b?b.apply(void 0,s([],n(W))):W),O.some(function(Y,ue){return!Y.length&&F[ue]})&&w.complete()}},function(){F[V]=!0,!O[V].length&&w.complete()}))},K=0;!w.closed&&K<v.length;K++)S(K);return function(){O=F=null}}):d.EMPTY}},3922:function(Z,o,a){"use strict";var c,n=this&&this.__extends||(c=function(d,u){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,_){m.__proto__=_}||function(m,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(m[f]=_[f])})(d,u)},function(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function m(){this.constructor=d}c(d,u),d.prototype=null===u?Object.create(u):(m.prototype=u.prototype,new m)});Object.defineProperty(o,"__esModule",{value:!0}),o.OperatorSubscriber=o.createOperatorSubscriber=void 0;var s=a(7032);o.createOperatorSubscriber=function p(c,d,u,m,_){return new g(c,d,u,m,_)};var g=function(c){function d(u,m,_,f,y,b){var v=c.call(this,u)||this;return v.onFinalize=y,v.shouldUnsubscribe=b,v._next=m?function(w){try{m(w)}catch(O){u.error(O)}}:c.prototype._next,v._error=f?function(w){try{f(w)}catch(O){u.error(O)}finally{this.unsubscribe()}}:c.prototype._error,v._complete=_?function(){try{_()}catch(w){u.error(w)}finally{this.unsubscribe()}}:c.prototype._complete,v}return n(d,c),d.prototype.unsubscribe=function(){var u;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var m=this.closed;c.prototype.unsubscribe.call(this),!m&&(null===(u=this.onFinalize)||void 0===u||u.call(this))}},d}(s.Subscriber);o.OperatorSubscriber=g},547:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.audit=void 0;var n=a(5145),s=a(7186),p=a(3922);o.audit=function g(c){return n.operate(function(d,u){var m=!1,_=null,f=null,y=!1,b=function(){if(f?.unsubscribe(),f=null,m){m=!1;var w=_;_=null,u.next(w)}y&&u.complete()},v=function(){f=null,y&&u.complete()};d.subscribe(p.createOperatorSubscriber(u,function(w){m=!0,_=w,f||s.innerFrom(c(w)).subscribe(f=p.createOperatorSubscriber(u,b,v))},function(){y=!0,(!m||!f||f.closed)&&u.complete()}))})}},5651:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.auditTime=void 0;var n=a(9106),s=a(547),p=a(441);o.auditTime=function g(c,d){return void 0===d&&(d=n.asyncScheduler),s.audit(function(){return p.timer(c,d)})}},4546:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.buffer=void 0;var n=a(5145),s=a(6048),p=a(3922),g=a(7186);o.buffer=function c(d){return n.operate(function(u,m){var _=[];return u.subscribe(p.createOperatorSubscriber(m,function(f){return _.push(f)},function(){m.next(_),m.complete()})),g.innerFrom(d).subscribe(p.createOperatorSubscriber(m,function(){var f=_;_=[],m.next(f)},s.noop)),function(){_=null}})}},7865:function(Z,o,a){"use strict";var n=this&&this.__values||function(d){var u="function"==typeof Symbol&&Symbol.iterator,m=u&&d[u],_=0;if(m)return m.call(d);if(d&&"number"==typeof d.length)return{next:function(){return d&&_>=d.length&&(d=void 0),{value:d&&d[_++],done:!d}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferCount=void 0;var s=a(5145),p=a(3922),g=a(4615);o.bufferCount=function c(d,u){return void 0===u&&(u=null),u=u??d,s.operate(function(m,_){var f=[],y=0;m.subscribe(p.createOperatorSubscriber(_,function(b){var v,w,O,F,S=null;y++%u==0&&f.push([]);try{for(var K=n(f),V=K.next();!V.done;V=K.next())(ee=V.value).push(b),d<=ee.length&&(S=S??[]).push(ee)}catch(ue){v={error:ue}}finally{try{V&&!V.done&&(w=K.return)&&w.call(K)}finally{if(v)throw v.error}}if(S)try{for(var W=n(S),Y=W.next();!Y.done;Y=W.next()){var ee;g.arrRemove(f,ee=Y.value),_.next(ee)}}catch(ue){O={error:ue}}finally{try{Y&&!Y.done&&(F=W.return)&&F.call(W)}finally{if(O)throw O.error}}},function(){var b,v;try{for(var w=n(f),O=w.next();!O.done;O=w.next())_.next(O.value)}catch(S){b={error:S}}finally{try{O&&!O.done&&(v=w.return)&&v.call(w)}finally{if(b)throw b.error}}_.complete()},void 0,function(){f=null}))})}},4567:function(Z,o,a){"use strict";var n=this&&this.__values||function(f){var y="function"==typeof Symbol&&Symbol.iterator,b=y&&f[y],v=0;if(b)return b.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&v>=f.length&&(f=void 0),{value:f&&f[v++],done:!f}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferTime=void 0;var s=a(642),p=a(5145),g=a(3922),c=a(4615),d=a(9106),u=a(160),m=a(7642);o.bufferTime=function _(f){for(var y,b,v=[],w=1;w<arguments.length;w++)v[w-1]=arguments[w];var O=null!==(y=u.popScheduler(v))&&void 0!==y?y:d.asyncScheduler,F=null!==(b=v[0])&&void 0!==b?b:null,S=v[1]||1/0;return p.operate(function(K,V){var ee=[],W=!1,Y=function(te){var ve=te.buffer;te.subs.unsubscribe(),c.arrRemove(ee,te),V.next(ve),W&&ue()},ue=function(){if(ee){var te=new s.Subscription;V.add(te);var nt={buffer:[],subs:te};ee.push(nt),m.executeSchedule(te,O,function(){return Y(nt)},f)}};null!==F&&F>=0?m.executeSchedule(V,O,ue,F,!0):W=!0,ue();var ie=g.createOperatorSubscriber(V,function(te){var ve,nt,be=ee.slice();try{for(var Ye=n(be),pe=Ye.next();!pe.done;pe=Ye.next()){var Le=pe.value,Xe=Le.buffer;Xe.push(te),S<=Xe.length&&Y(Le)}}catch(Je){ve={error:Je}}finally{try{pe&&!pe.done&&(nt=Ye.return)&&nt.call(Ye)}finally{if(ve)throw ve.error}}},function(){for(;ee?.length;)V.next(ee.shift().buffer);ie?.unsubscribe(),V.complete(),V.unsubscribe()},void 0,function(){return ee=null});K.subscribe(ie)})}},8151:function(Z,o,a){"use strict";var n=this&&this.__values||function(_){var f="function"==typeof Symbol&&Symbol.iterator,y=f&&_[f],b=0;if(y)return y.call(_);if(_&&"number"==typeof _.length)return{next:function(){return _&&b>=_.length&&(_=void 0),{value:_&&_[b++],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 s=a(642),p=a(5145),g=a(7186),c=a(3922),d=a(6048),u=a(4615);o.bufferToggle=function m(_,f){return p.operate(function(y,b){var v=[];g.innerFrom(_).subscribe(c.createOperatorSubscriber(b,function(w){var O=[];v.push(O);var F=new s.Subscription;F.add(g.innerFrom(f(w)).subscribe(c.createOperatorSubscriber(b,function(){u.arrRemove(v,O),b.next(O),F.unsubscribe()},d.noop)))},d.noop)),y.subscribe(c.createOperatorSubscriber(b,function(w){var O,F;try{for(var S=n(v),K=S.next();!K.done;K=S.next())K.value.push(w)}catch(ee){O={error:ee}}finally{try{K&&!K.done&&(F=S.return)&&F.call(S)}finally{if(O)throw O.error}}},function(){for(;v.length>0;)b.next(v.shift());b.complete()}))})}},5201:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bufferWhen=void 0;var n=a(5145),s=a(6048),p=a(3922),g=a(7186);o.bufferWhen=function c(d){return n.operate(function(u,m){var _=null,f=null,y=function(){f?.unsubscribe();var b=_;_=[],b&&m.next(b),g.innerFrom(d()).subscribe(f=p.createOperatorSubscriber(m,y,s.noop))};y(),u.subscribe(p.createOperatorSubscriber(m,function(b){return _?.push(b)},function(){_&&m.next(_),m.complete()},void 0,function(){return _=f=null}))})}},5503:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.catchError=void 0;var n=a(7186),s=a(3922),p=a(5145);o.catchError=function g(c){return p.operate(function(d,u){var f,m=null,_=!1;m=d.subscribe(s.createOperatorSubscriber(u,void 0,void 0,function(y){f=n.innerFrom(c(y,g(c)(d))),m?(m.unsubscribe(),m=null,f.subscribe(u)):_=!0})),_&&(m.unsubscribe(),m=null,f.subscribe(u))})}},8868:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineAll=void 0;var n=a(5638);o.combineAll=n.combineLatestAll},7839:function(Z,o,a){"use strict";var n=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,F,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){F={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(F)throw F.error}}return O},s=this&&this.__spreadArray||function(f,y){for(var b=0,v=y.length,w=f.length;b<v;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatest=void 0;var p=a(8250),g=a(5145),c=a(7308),d=a(9349),u=a(3776),m=a(160);o.combineLatest=function _(){for(var f=[],y=0;y<arguments.length;y++)f[y]=arguments[y];var b=m.popResultSelector(f);return b?u.pipe(_.apply(void 0,s([],n(f))),d.mapOneOrManyArgs(b)):g.operate(function(v,w){p.combineLatestInit(s([v],n(c.argsOrArgArray(f))))(w)})}},5638:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestAll=void 0;var n=a(8250),s=a(4622);o.combineLatestAll=function p(g){return s.joinAllInternals(n.combineLatest,g)}},7869:function(Z,o,a){"use strict";var n=this&&this.__read||function(c,d){var u="function"==typeof Symbol&&c[Symbol.iterator];if(!u)return c;var _,y,m=u.call(c),f=[];try{for(;(void 0===d||d-- >0)&&!(_=m.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(u=m.return)&&u.call(m)}finally{if(y)throw y.error}}return f},s=this&&this.__spreadArray||function(c,d){for(var u=0,m=d.length,_=c.length;u<m;u++,_++)c[_]=d[u];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestWith=void 0;var p=a(7839);o.combineLatestWith=function g(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return p.combineLatest.apply(void 0,s([],n(c)))}},4526:function(Z,o,a){"use strict";var n=this&&this.__read||function(m,_){var f="function"==typeof Symbol&&m[Symbol.iterator];if(!f)return m;var b,w,y=f.call(m),v=[];try{for(;(void 0===_||_-- >0)&&!(b=y.next()).done;)v.push(b.value)}catch(O){w={error:O}}finally{try{b&&!b.done&&(f=y.return)&&f.call(y)}finally{if(w)throw w.error}}return v},s=this&&this.__spreadArray||function(m,_){for(var f=0,y=_.length,b=m.length;f<y;f++,b++)m[b]=_[f];return m};Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var p=a(5145),g=a(7507),c=a(160),d=a(7149);o.concat=function u(){for(var m=[],_=0;_<arguments.length;_++)m[_]=arguments[_];var f=c.popScheduler(m);return p.operate(function(y,b){g.concatAll()(d.from(s([y],n(m)),f)).subscribe(b)})}},7507:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatAll=void 0;var n=a(689);o.concatAll=function s(){return n.mergeAll(1)}},6118:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMap=void 0;var n=a(1049),s=a(1860);o.concatMap=function p(g,c){return s.isFunction(c)?n.mergeMap(g,c,1):n.mergeMap(g,1)}},5505:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMapTo=void 0;var n=a(6118),s=a(1860);o.concatMapTo=function p(g,c){return s.isFunction(c)?n.concatMap(function(){return g},c):n.concatMap(function(){return g})}},9451:function(Z,o,a){"use strict";var n=this&&this.__read||function(c,d){var u="function"==typeof Symbol&&c[Symbol.iterator];if(!u)return c;var _,y,m=u.call(c),f=[];try{for(;(void 0===d||d-- >0)&&!(_=m.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(u=m.return)&&u.call(m)}finally{if(y)throw y.error}}return f},s=this&&this.__spreadArray||function(c,d){for(var u=0,m=d.length,_=c.length;u<m;u++,_++)c[_]=d[u];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.concatWith=void 0;var p=a(4526);o.concatWith=function g(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return p.concat.apply(void 0,s([],n(c)))}},1673:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connect=void 0;var n=a(3653),s=a(7186),p=a(5145),g=a(8465),c={connector:function(){return new n.Subject}};o.connect=function d(u,m){void 0===m&&(m=c);var _=m.connector;return p.operate(function(f,y){var b=_();s.innerFrom(u(g.fromSubscribable(b))).subscribe(y),y.add(f.subscribe(b))})}},745:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.count=void 0;var n=a(597);o.count=function s(p){return n.reduce(function(g,c,d){return!p||p(c,d)?g+1:g},0)}},6799:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounce=void 0;var n=a(5145),s=a(6048),p=a(3922),g=a(7186);o.debounce=function c(d){return n.operate(function(u,m){var _=!1,f=null,y=null,b=function(){if(y?.unsubscribe(),y=null,_){_=!1;var v=f;f=null,m.next(v)}};u.subscribe(p.createOperatorSubscriber(m,function(v){y?.unsubscribe(),_=!0,f=v,y=p.createOperatorSubscriber(m,b,s.noop),g.innerFrom(d(v)).subscribe(y)},function(){b(),m.complete()},void 0,function(){f=y=null}))})}},6662:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounceTime=void 0;var n=a(9106),s=a(5145),p=a(3922);o.debounceTime=function g(c,d){return void 0===d&&(d=n.asyncScheduler),s.operate(function(u,m){var _=null,f=null,y=null,b=function(){if(_){_.unsubscribe(),_=null;var w=f;f=null,m.next(w)}};function v(){var w=y+c,O=d.now();if(O<w)return _=this.schedule(void 0,w-O),void m.add(_);b()}u.subscribe(p.createOperatorSubscriber(m,function(w){f=w,y=d.now(),_||(_=d.schedule(v,c),m.add(_))},function(){b(),m.complete()},void 0,function(){f=_=null}))})}},9033:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defaultIfEmpty=void 0;var n=a(5145),s=a(3922);o.defaultIfEmpty=function p(g){return n.operate(function(c,d){var u=!1;c.subscribe(s.createOperatorSubscriber(d,function(m){u=!0,d.next(m)},function(){u||d.next(g),d.complete()}))})}},9908:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delay=void 0;var n=a(9106),s=a(2680),p=a(441);o.delay=function g(c,d){void 0===d&&(d=n.asyncScheduler);var u=p.timer(c,d);return s.delayWhen(function(){return u})}},2680:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delayWhen=void 0;var n=a(7704),s=a(3007),p=a(8228),g=a(5901),c=a(1049),d=a(7186);o.delayWhen=function u(m,_){return _?function(f){return n.concat(_.pipe(s.take(1),p.ignoreElements()),f.pipe(u(m)))}:c.mergeMap(function(f,y){return d.innerFrom(m(f,y)).pipe(s.take(1),g.mapTo(f))})}},7856:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.dematerialize=void 0;var n=a(9988),s=a(5145),p=a(3922);o.dematerialize=function g(){return s.operate(function(c,d){c.subscribe(p.createOperatorSubscriber(d,function(u){return n.observeNotification(u,d)}))})}},3506:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinct=void 0;var n=a(5145),s=a(3922),p=a(6048),g=a(7186);o.distinct=function c(d,u){return n.operate(function(m,_){var f=new Set;m.subscribe(s.createOperatorSubscriber(_,function(y){var b=d?d(y):y;f.has(b)||(f.add(b),_.next(y))})),u&&g.innerFrom(u).subscribe(s.createOperatorSubscriber(_,function(){return f.clear()},p.noop))})}},9905:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilChanged=void 0;var n=a(7288),s=a(5145),p=a(3922);function c(d,u){return d===u}o.distinctUntilChanged=function g(d,u){return void 0===u&&(u=n.identity),d=d??c,s.operate(function(m,_){var f,y=!0;m.subscribe(p.createOperatorSubscriber(_,function(b){var v=u(b);(y||!d(f,v))&&(y=!1,f=v,_.next(b))}))})}},9745:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilKeyChanged=void 0;var n=a(9905);o.distinctUntilKeyChanged=function s(p,g){return n.distinctUntilChanged(function(c,d){return g?g(c[p],d[p]):c[p]===d[p]})}},55:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.elementAt=void 0;var n=a(4936),s=a(4488),p=a(909),g=a(9033),c=a(3007);o.elementAt=function d(u,m){if(u<0)throw new n.ArgumentOutOfRangeError;var _=arguments.length>=2;return function(f){return f.pipe(s.filter(function(y,b){return b===u}),c.take(1),_?g.defaultIfEmpty(m):p.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4486:function(Z,o,a){"use strict";var n=this&&this.__read||function(d,u){var m="function"==typeof Symbol&&d[Symbol.iterator];if(!m)return d;var f,b,_=m.call(d),y=[];try{for(;(void 0===u||u-- >0)&&!(f=_.next()).done;)y.push(f.value)}catch(v){b={error:v}}finally{try{f&&!f.done&&(m=_.return)&&m.call(_)}finally{if(b)throw b.error}}return y},s=this&&this.__spreadArray||function(d,u){for(var m=0,_=u.length,f=d.length;m<_;m++,f++)d[f]=u[m];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.endWith=void 0;var p=a(7704),g=a(655);o.endWith=function c(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];return function(m){return p.concat(m,g.of.apply(void 0,s([],n(d))))}}},3595:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.every=void 0;var n=a(5145),s=a(3922);o.every=function p(g,c){return n.operate(function(d,u){var m=0;d.subscribe(s.createOperatorSubscriber(u,function(_){g.call(c,_,m++,d)||(u.next(!1),u.complete())},function(){u.next(!0),u.complete()}))})}},1222:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaust=void 0;var n=a(5438);o.exhaust=n.exhaustAll},5438:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustAll=void 0;var n=a(733),s=a(7288);o.exhaustAll=function p(){return n.exhaustMap(s.identity)}},733:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustMap=void 0;var n=a(5970),s=a(7186),p=a(5145),g=a(3922);o.exhaustMap=function c(d,u){return u?function(m){return m.pipe(c(function(_,f){return s.innerFrom(d(_,f)).pipe(n.map(function(y,b){return u(_,y,f,b)}))}))}:p.operate(function(m,_){var f=0,y=null,b=!1;m.subscribe(g.createOperatorSubscriber(_,function(v){y||(y=g.createOperatorSubscriber(_,void 0,function(){y=null,b&&_.complete()}),s.innerFrom(d(v,f++)).subscribe(y))},function(){b=!0,!y&&_.complete()}))})}},5006:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.expand=void 0;var n=a(5145),s=a(3509);o.expand=function p(g,c,d){return void 0===c&&(c=1/0),c=(c||0)<1?1/0:c,n.operate(function(u,m){return s.mergeInternals(u,m,g,c,void 0,!0,d)})}},4488:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.filter=void 0;var n=a(5145),s=a(3922);o.filter=function p(g,c){return n.operate(function(d,u){var m=0;d.subscribe(s.createOperatorSubscriber(u,function(_){return g.call(c,_,m++)&&u.next(_)}))})}},835:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.finalize=void 0;var n=a(5145);o.finalize=function s(p){return n.operate(function(g,c){try{g.subscribe(c)}finally{c.add(p)}})}},6167:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createFind=o.find=void 0;var n=a(5145),s=a(3922);function g(c,d,u){var m="index"===u;return function(_,f){var y=0;_.subscribe(s.createOperatorSubscriber(f,function(b){var v=y++;c.call(d,b,v,_)&&(f.next(m?v:b),f.complete())},function(){f.next(m?-1:void 0),f.complete()}))}}o.find=function p(c,d){return n.operate(g(c,d,"value"))},o.createFind=g},105:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.findIndex=void 0;var n=a(5145),s=a(6167);o.findIndex=function p(g,c){return n.operate(s.createFind(g,c,"index"))}},531:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.first=void 0;var n=a(6159),s=a(4488),p=a(3007),g=a(9033),c=a(909),d=a(7288);o.first=function u(m,_){var f=arguments.length>=2;return function(y){return y.pipe(m?s.filter(function(b,v){return m(b,v,y)}):d.identity,p.take(1),f?g.defaultIfEmpty(_):c.throwIfEmpty(function(){return new n.EmptyError}))}}},984:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.flatMap=void 0;var n=a(1049);o.flatMap=n.mergeMap},7389:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.groupBy=void 0;var n=a(7072),s=a(7186),p=a(3653),g=a(5145),c=a(3922);o.groupBy=function d(u,m,_,f){return g.operate(function(y,b){var v;m&&"function"!=typeof m?(_=m.duration,v=m.element,f=m.connector):v=m;var w=new Map,O=function(W){w.forEach(W),W(b)},F=function(W){return O(function(Y){return Y.error(W)})},S=0,K=!1,V=new c.OperatorSubscriber(b,function(W){try{var Y=u(W),ue=w.get(Y);if(!ue){w.set(Y,ue=f?f():new p.Subject);var ie=function ee(W,Y){var ue=new n.Observable(function(ie){S++;var te=Y.subscribe(ie);return function(){te.unsubscribe(),0==--S&&K&&V.unsubscribe()}});return ue.key=W,ue}(Y,ue);if(b.next(ie),_){var te=c.createOperatorSubscriber(ue,function(){ue.complete(),te?.unsubscribe()},void 0,void 0,function(){return w.delete(Y)});V.add(s.innerFrom(_(ie)).subscribe(te))}}ue.next(v?v(W):W)}catch(ve){F(ve)}},function(){return O(function(W){return W.complete()})},F,function(){return w.clear()},function(){return K=!0,0===S});y.subscribe(V)})}},8228:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ignoreElements=void 0;var n=a(5145),s=a(3922),p=a(6048);o.ignoreElements=function g(){return n.operate(function(c,d){c.subscribe(s.createOperatorSubscriber(d,p.noop))})}},9185:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isEmpty=void 0;var n=a(5145),s=a(3922);o.isEmpty=function p(){return n.operate(function(g,c){g.subscribe(s.createOperatorSubscriber(c,function(){c.next(!1),c.complete()},function(){c.next(!0),c.complete()}))})}},4622:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.joinAllInternals=void 0;var n=a(7288),s=a(9349),p=a(3776),g=a(1049),c=a(2341);o.joinAllInternals=function d(u,m){return p.pipe(c.toArray(),g.mergeMap(function(_){return u(_)}),m?s.mapOneOrManyArgs(m):n.identity)}},3383:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.last=void 0;var n=a(6159),s=a(4488),p=a(9747),g=a(909),c=a(9033),d=a(7288);o.last=function u(m,_){var f=arguments.length>=2;return function(y){return y.pipe(m?s.filter(function(b,v){return m(b,v,y)}):d.identity,p.takeLast(1),f?c.defaultIfEmpty(_):g.throwIfEmpty(function(){return new n.EmptyError}))}}},5970:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.map=void 0;var n=a(5145),s=a(3922);o.map=function p(g,c){return n.operate(function(d,u){var m=0;d.subscribe(s.createOperatorSubscriber(u,function(_){u.next(g.call(c,_,m++))}))})}},5901:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mapTo=void 0;var n=a(5970);o.mapTo=function s(p){return n.map(function(){return p})}},3136:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.materialize=void 0;var n=a(9988),s=a(5145),p=a(3922);o.materialize=function g(){return s.operate(function(c,d){c.subscribe(p.createOperatorSubscriber(d,function(u){d.next(n.Notification.createNext(u))},function(){d.next(n.Notification.createComplete()),d.complete()},function(u){d.next(n.Notification.createError(u)),d.complete()}))})}},1027:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.max=void 0;var n=a(597),s=a(1860);o.max=function p(g){return n.reduce(s.isFunction(g)?function(c,d){return g(c,d)>0?c:d}:function(c,d){return c>d?c:d})}},5679:function(Z,o,a){"use strict";var n=this&&this.__read||function(_,f){var y="function"==typeof Symbol&&_[Symbol.iterator];if(!y)return _;var v,O,b=y.call(_),w=[];try{for(;(void 0===f||f-- >0)&&!(v=b.next()).done;)w.push(v.value)}catch(F){O={error:F}}finally{try{v&&!v.done&&(y=b.return)&&y.call(b)}finally{if(O)throw O.error}}return w},s=this&&this.__spreadArray||function(_,f){for(var y=0,b=f.length,v=_.length;y<b;y++,v++)_[v]=f[y];return _};Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var p=a(5145),g=a(7308),c=a(689),d=a(160),u=a(7149);o.merge=function m(){for(var _=[],f=0;f<arguments.length;f++)_[f]=arguments[f];var y=d.popScheduler(_),b=d.popNumber(_,1/0);return _=g.argsOrArgArray(_),p.operate(function(v,w){c.mergeAll(b)(u.from(s([v],n(_)),y)).subscribe(w)})}},689:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeAll=void 0;var n=a(1049),s=a(7288);o.mergeAll=function p(g){return void 0===g&&(g=1/0),n.mergeMap(s.identity,g)}},3509:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeInternals=void 0;var n=a(7186),s=a(7642),p=a(3922);o.mergeInternals=function g(c,d,u,m,_,f,y,b){var v=[],w=0,O=0,F=!1,S=function(){F&&!v.length&&!w&&d.complete()},K=function(ee){return w<m?V(ee):v.push(ee)},V=function(ee){f&&d.next(ee),w++;var W=!1;n.innerFrom(u(ee,O++)).subscribe(p.createOperatorSubscriber(d,function(Y){_?.(Y),f?K(Y):d.next(Y)},function(){W=!0},void 0,function(){if(W)try{w--;for(var Y=function(){var ue=v.shift();y?s.executeSchedule(d,y,function(){return V(ue)}):V(ue)};v.length&&w<m;)Y();S()}catch(ue){d.error(ue)}}))};return c.subscribe(p.createOperatorSubscriber(d,K,function(){F=!0,S()})),function(){b?.()}}},1049:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMap=void 0;var n=a(5970),s=a(7186),p=a(5145),g=a(3509),c=a(1860);o.mergeMap=function d(u,m,_){return void 0===_&&(_=1/0),c.isFunction(m)?d(function(f,y){return n.map(function(b,v){return m(f,b,y,v)})(s.innerFrom(u(f,y)))},_):("number"==typeof m&&(_=m),p.operate(function(f,y){return g.mergeInternals(f,y,u,_)}))}},6191:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMapTo=void 0;var n=a(1049),s=a(1860);o.mergeMapTo=function p(g,c,d){return void 0===d&&(d=1/0),s.isFunction(c)?n.mergeMap(function(){return g},c,d):("number"==typeof c&&(d=c),n.mergeMap(function(){return g},d))}},6439:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeScan=void 0;var n=a(5145),s=a(3509);o.mergeScan=function p(g,c,d){return void 0===d&&(d=1/0),n.operate(function(u,m){var _=c;return s.mergeInternals(u,m,function(f,y){return g(_,f,y)},d,function(f){_=f},!1,void 0,function(){return _=null})})}},8821:function(Z,o,a){"use strict";var n=this&&this.__read||function(c,d){var u="function"==typeof Symbol&&c[Symbol.iterator];if(!u)return c;var _,y,m=u.call(c),f=[];try{for(;(void 0===d||d-- >0)&&!(_=m.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(u=m.return)&&u.call(m)}finally{if(y)throw y.error}}return f},s=this&&this.__spreadArray||function(c,d){for(var u=0,m=d.length,_=c.length;u<m;u++,_++)c[_]=d[u];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.mergeWith=void 0;var p=a(5679);o.mergeWith=function g(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return p.merge.apply(void 0,s([],n(c)))}},4147:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.min=void 0;var n=a(597),s=a(1860);o.min=function p(g){return n.reduce(s.isFunction(g)?function(c,d){return g(c,d)<0?c:d}:function(c,d){return c<d?c:d})}},4290:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.multicast=void 0;var n=a(8840),s=a(1860),p=a(1673);o.multicast=function g(c,d){var u=s.isFunction(c)?c:function(){return c};return s.isFunction(d)?p.connect(d,{connector:u}):function(m){return new n.ConnectableObservable(m,u)}}},9512:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeOn=void 0;var n=a(7642),s=a(5145),p=a(3922);o.observeOn=function g(c,d){return void 0===d&&(d=0),s.operate(function(u,m){u.subscribe(p.createOperatorSubscriber(m,function(_){return n.executeSchedule(m,c,function(){return m.next(_)},d)},function(){return n.executeSchedule(m,c,function(){return m.complete()},d)},function(_){return n.executeSchedule(m,c,function(){return m.error(_)},d)}))})}},4268:function(Z,o,a){"use strict";var n=this&&this.__read||function(d,u){var m="function"==typeof Symbol&&d[Symbol.iterator];if(!m)return d;var f,b,_=m.call(d),y=[];try{for(;(void 0===u||u-- >0)&&!(f=_.next()).done;)y.push(f.value)}catch(v){b={error:v}}finally{try{f&&!f.done&&(m=_.return)&&m.call(_)}finally{if(b)throw b.error}}return y},s=this&&this.__spreadArray||function(d,u){for(var m=0,_=u.length,f=d.length;m<_;m++,f++)d[f]=u[m];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=o.onErrorResumeNextWith=void 0;var p=a(7308),g=a(8186);function c(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];var m=p.argsOrArgArray(d);return function(_){return g.onErrorResumeNext.apply(void 0,s([_],n(m)))}}o.onErrorResumeNextWith=c,o.onErrorResumeNext=c},4827:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairwise=void 0;var n=a(5145),s=a(3922);o.pairwise=function p(){return n.operate(function(g,c){var d,u=!1;g.subscribe(s.createOperatorSubscriber(c,function(m){var _=d;d=m,u&&c.next([_,m]),u=!0}))})}},4011:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pluck=void 0;var n=a(5970);o.pluck=function s(){for(var p=[],g=0;g<arguments.length;g++)p[g]=arguments[g];var c=p.length;if(0===c)throw new Error("list of properties cannot be empty.");return n.map(function(d){for(var u=d,m=0;m<c;m++){var _=u?.[p[m]];if(!(typeof _<"u"))return;u=_}return u})}},3693:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publish=void 0;var n=a(3653),s=a(4290),p=a(1673);o.publish=function g(c){return c?function(d){return p.connect(c)(d)}:function(d){return s.multicast(new n.Subject)(d)}}},7465:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishBehavior=void 0;var n=a(1552),s=a(8840);o.publishBehavior=function p(g){return function(c){var d=new n.BehaviorSubject(g);return new s.ConnectableObservable(c,function(){return d})}}},5982:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishLast=void 0;var n=a(2562),s=a(8840);o.publishLast=function p(){return function(g){var c=new n.AsyncSubject;return new s.ConnectableObservable(g,function(){return c})}}},3121:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishReplay=void 0;var n=a(4098),s=a(4290),p=a(1860);o.publishReplay=function g(c,d,u,m){u&&!p.isFunction(u)&&(m=u);var _=p.isFunction(u)?u:void 0;return function(f){return s.multicast(new n.ReplaySubject(c,d,m),_)(f)}}},5413:function(Z,o,a){"use strict";var n=this&&this.__read||function(u,m){var _="function"==typeof Symbol&&u[Symbol.iterator];if(!_)return u;var y,v,f=_.call(u),b=[];try{for(;(void 0===m||m-- >0)&&!(y=f.next()).done;)b.push(y.value)}catch(w){v={error:w}}finally{try{y&&!y.done&&(_=f.return)&&_.call(f)}finally{if(v)throw v.error}}return b},s=this&&this.__spreadArray||function(u,m){for(var _=0,f=m.length,y=u.length;_<f;_++,y++)u[y]=m[_];return u};Object.defineProperty(o,"__esModule",{value:!0}),o.raceWith=void 0;var p=a(9867),g=a(5145),c=a(7288);o.raceWith=function d(){for(var u=[],m=0;m<arguments.length;m++)u[m]=arguments[m];return u.length?g.operate(function(_,f){p.raceInit(s([_],n(u)))(f)}):c.identity}},597:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reduce=void 0;var n=a(9902),s=a(5145);o.reduce=function p(g,c){return s.operate(n.scanInternals(g,c,arguments.length>=2,!1,!0))}},8551:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.refCount=void 0;var n=a(5145),s=a(3922);o.refCount=function p(){return n.operate(function(g,c){var d=null;g._refCount++;var u=s.createOperatorSubscriber(c,void 0,void 0,void 0,function(){if(!g||g._refCount<=0||0<--g._refCount)d=null;else{var m=g._connection,_=d;d=null,m&&(!_||m===_)&&m.unsubscribe(),c.unsubscribe()}});g.subscribe(u),u.closed||(d=g.connect())})}},2923:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeat=void 0;var n=a(8611),s=a(5145),p=a(3922),g=a(7186),c=a(441);o.repeat=function d(u){var m,f,_=1/0;return null!=u&&("object"==typeof u?(_=void 0===(m=u.count)?1/0:m,f=u.delay):_=u),_<=0?function(){return n.EMPTY}:s.operate(function(y,b){var w,v=0,O=function(){if(w?.unsubscribe(),w=null,null!=f){var S="number"==typeof f?c.timer(f):g.innerFrom(f(v)),K=p.createOperatorSubscriber(b,function(){K.unsubscribe(),F()});S.subscribe(K)}else F()},F=function(){var S=!1;w=y.subscribe(p.createOperatorSubscriber(b,void 0,function(){++v<_?w?O():S=!0:b.complete()})),S&&O()};F()})}},2806:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeatWhen=void 0;var n=a(7186),s=a(3653),p=a(5145),g=a(3922);o.repeatWhen=function c(d){return p.operate(function(u,m){var _,y,f=!1,b=!1,v=!1,w=function(){return v&&b&&(m.complete(),!0)},F=function(){v=!1,_=u.subscribe(g.createOperatorSubscriber(m,void 0,function(){v=!0,!w()&&(y||(y=new s.Subject,n.innerFrom(d(y)).subscribe(g.createOperatorSubscriber(m,function(){_?F():f=!0},function(){b=!0,w()}))),y).next()})),f&&(_.unsubscribe(),_=null,f=!1,F())};F()})}},1017:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retry=void 0;var n=a(5145),s=a(3922),p=a(7288),g=a(441),c=a(7186);o.retry=function d(u){var m;void 0===u&&(u=1/0);var _=(m=u&&"object"==typeof u?u:{count:u}).count,f=void 0===_?1/0:_,y=m.delay,b=m.resetOnSuccess,v=void 0!==b&&b;return f<=0?p.identity:n.operate(function(w,O){var S,F=0,K=function(){var V=!1;S=w.subscribe(s.createOperatorSubscriber(O,function(ee){v&&(F=0),O.next(ee)},void 0,function(ee){if(F++<f){var W=function(){S?(S.unsubscribe(),S=null,K()):V=!0};if(null!=y){var Y="number"==typeof y?g.timer(y):c.innerFrom(y(ee,F)),ue=s.createOperatorSubscriber(O,function(){ue.unsubscribe(),W()},function(){O.complete()});Y.subscribe(ue)}else W()}else O.error(ee)})),V&&(S.unsubscribe(),S=null,K())};K()})}},3377:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retryWhen=void 0;var n=a(7186),s=a(3653),p=a(5145),g=a(3922);o.retryWhen=function c(d){return p.operate(function(u,m){var _,y,f=!1,b=function(){_=u.subscribe(g.createOperatorSubscriber(m,void 0,void 0,function(v){y||(y=new s.Subject,n.innerFrom(d(y)).subscribe(g.createOperatorSubscriber(m,function(){return _?b():f=!0}))),y&&y.next(v)})),f&&(_.unsubscribe(),_=null,f=!1,b())};b()})}},8255:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sample=void 0;var n=a(7186),s=a(5145),p=a(6048),g=a(3922);o.sample=function c(d){return s.operate(function(u,m){var _=!1,f=null;u.subscribe(g.createOperatorSubscriber(m,function(y){_=!0,f=y})),n.innerFrom(d).subscribe(g.createOperatorSubscriber(m,function(){if(_){_=!1;var y=f;f=null,m.next(y)}},p.noop))})}},941:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sampleTime=void 0;var n=a(9106),s=a(8255),p=a(630);o.sampleTime=function g(c,d){return void 0===d&&(d=n.asyncScheduler),s.sample(p.interval(c,d))}},4141:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scan=void 0;var n=a(5145),s=a(9902);o.scan=function p(g,c){return n.operate(s.scanInternals(g,c,arguments.length>=2,!0))}},9902:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scanInternals=void 0;var n=a(3922);o.scanInternals=function s(p,g,c,d,u){return function(m,_){var f=c,y=g,b=0;m.subscribe(n.createOperatorSubscriber(_,function(v){var w=b++;y=f?p(y,v,w):(f=!0,v),d&&_.next(y)},u&&function(){f&&_.next(y),_.complete()}))}}},5318:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sequenceEqual=void 0;var n=a(5145),s=a(3922),p=a(7186);o.sequenceEqual=function g(d,u){return void 0===u&&(u=function(m,_){return m===_}),n.operate(function(m,_){var f={buffer:[],complete:!1},y={buffer:[],complete:!1},b=function(w){_.next(w),_.complete()},v=function(w,O){var F=s.createOperatorSubscriber(_,function(S){var K=O.buffer;0===K.length?O.complete?b(!1):w.buffer.push(S):!u(S,K.shift())&&b(!1)},function(){w.complete=!0,O.complete&&b(0===O.buffer.length),F?.unsubscribe()});return F};m.subscribe(v(f,y)),p.innerFrom(d).subscribe(v(y,f))})}},2905:function(Z,o,a){"use strict";var n=this&&this.__read||function(_,f){var y="function"==typeof Symbol&&_[Symbol.iterator];if(!y)return _;var v,O,b=y.call(_),w=[];try{for(;(void 0===f||f-- >0)&&!(v=b.next()).done;)w.push(v.value)}catch(F){O={error:F}}finally{try{v&&!v.done&&(y=b.return)&&y.call(b)}finally{if(O)throw O.error}}return w},s=this&&this.__spreadArray||function(_,f){for(var y=0,b=f.length,v=_.length;y<b;y++,v++)_[v]=f[y];return _};Object.defineProperty(o,"__esModule",{value:!0}),o.share=void 0;var p=a(7186),g=a(3653),c=a(7032),d=a(5145);function m(_,f){for(var y=[],b=2;b<arguments.length;b++)y[b-2]=arguments[b];if(!0!==f){if(!1!==f){var v=new c.SafeSubscriber({next:function(){v.unsubscribe(),_()}});return p.innerFrom(f.apply(void 0,s([],n(y)))).subscribe(v)}}else _()}o.share=function u(_){void 0===_&&(_={});var f=_.connector,y=void 0===f?function(){return new g.Subject}:f,b=_.resetOnError,v=void 0===b||b,w=_.resetOnComplete,O=void 0===w||w,F=_.resetOnRefCountZero,S=void 0===F||F;return function(K){var V,ee,W,Y=0,ue=!1,ie=!1,te=function(){ee?.unsubscribe(),ee=void 0},ve=function(){te(),V=W=void 0,ue=ie=!1},nt=function(){var be=V;ve(),be?.unsubscribe()};return d.operate(function(be,Ye){Y++,!ie&&!ue&&te();var pe=W=W??y();Ye.add(function(){0==--Y&&!ie&&!ue&&(ee=m(nt,S))}),pe.subscribe(Ye),!V&&Y>0&&(V=new c.SafeSubscriber({next:function(Le){return pe.next(Le)},error:function(Le){ie=!0,te(),ee=m(ve,v,Le),pe.error(Le)},complete:function(){ue=!0,te(),ee=m(ve,O),pe.complete()}}),p.innerFrom(be).subscribe(V))})(K)}}},5940:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.shareReplay=void 0;var n=a(4098),s=a(2905);o.shareReplay=function p(g,c,d){var u,m,_,f,y=!1;return g&&"object"==typeof g?(f=void 0===(u=g.bufferSize)?1/0:u,c=void 0===(m=g.windowTime)?1/0:m,y=void 0!==(_=g.refCount)&&_,d=g.scheduler):f=g??1/0,s.share({connector:function(){return new n.ReplaySubject(f,c,d)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:y})}},1619:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.single=void 0;var n=a(6159),s=a(833),p=a(3811),g=a(5145),c=a(3922);o.single=function d(u){return g.operate(function(m,_){var y,f=!1,b=!1,v=0;m.subscribe(c.createOperatorSubscriber(_,function(w){b=!0,(!u||u(w,v++,m))&&(f&&_.error(new s.SequenceError("Too many matching values")),f=!0,y=w)},function(){f?(_.next(y),_.complete()):_.error(b?new p.NotFoundError("No matching values"):new n.EmptyError)}))})}},7605:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skip=void 0;var n=a(4488);o.skip=function s(p){return n.filter(function(g,c){return p<=c})}},3106:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipLast=void 0;var n=a(7288),s=a(5145),p=a(3922);o.skipLast=function g(c){return c<=0?n.identity:s.operate(function(d,u){var m=new Array(c),_=0;return d.subscribe(p.createOperatorSubscriber(u,function(f){var y=_++;if(y<c)m[y]=f;else{var b=y%c,v=m[b];m[b]=f,u.next(v)}})),function(){m=null}})}},7457:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipUntil=void 0;var n=a(5145),s=a(3922),p=a(7186),g=a(6048);o.skipUntil=function c(d){return n.operate(function(u,m){var _=!1,f=s.createOperatorSubscriber(m,function(){f?.unsubscribe(),_=!0},g.noop);p.innerFrom(d).subscribe(f),u.subscribe(s.createOperatorSubscriber(m,function(y){return _&&m.next(y)}))})}},676:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipWhile=void 0;var n=a(5145),s=a(3922);o.skipWhile=function p(g){return n.operate(function(c,d){var u=!1,m=0;c.subscribe(s.createOperatorSubscriber(d,function(_){return(u||(u=!g(_,m++)))&&d.next(_)}))})}},6907:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.startWith=void 0;var n=a(7704),s=a(160),p=a(5145);o.startWith=function g(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];var u=s.popScheduler(c);return p.operate(function(m,_){(u?n.concat(c,m,u):n.concat(c,m)).subscribe(_)})}},8625:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.subscribeOn=void 0;var n=a(5145);o.subscribeOn=function s(p,g){return void 0===g&&(g=0),n.operate(function(c,d){d.add(p.schedule(function(){return c.subscribe(d)},g))})}},9311:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchAll=void 0;var n=a(6180),s=a(7288);o.switchAll=function p(){return n.switchMap(s.identity)}},6180:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMap=void 0;var n=a(7186),s=a(5145),p=a(3922);o.switchMap=function g(c,d){return s.operate(function(u,m){var _=null,f=0,y=!1,b=function(){return y&&!_&&m.complete()};u.subscribe(p.createOperatorSubscriber(m,function(v){_?.unsubscribe();var w=0,O=f++;n.innerFrom(c(v,O)).subscribe(_=p.createOperatorSubscriber(m,function(F){return m.next(d?d(v,F,O,w++):F)},function(){_=null,b()}))},function(){y=!0,b()}))})}},7235:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMapTo=void 0;var n=a(6180),s=a(1860);o.switchMapTo=function p(g,c){return s.isFunction(c)?n.switchMap(function(){return g},c):n.switchMap(function(){return g})}},2546:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchScan=void 0;var n=a(6180),s=a(5145);o.switchScan=function p(g,c){return s.operate(function(d,u){var m=c;return n.switchMap(function(_,f){return g(m,_,f)},function(_,f){return m=f,f})(d).subscribe(u),function(){m=null}})}},3007:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.take=void 0;var n=a(8611),s=a(5145),p=a(3922);o.take=function g(c){return c<=0?function(){return n.EMPTY}:s.operate(function(d,u){var m=0;d.subscribe(p.createOperatorSubscriber(u,function(_){++m<=c&&(u.next(_),c<=m&&u.complete())}))})}},9747:function(Z,o,a){"use strict";var n=this&&this.__values||function(d){var u="function"==typeof Symbol&&Symbol.iterator,m=u&&d[u],_=0;if(m)return m.call(d);if(d&&"number"==typeof d.length)return{next:function(){return d&&_>=d.length&&(d=void 0),{value:d&&d[_++],done:!d}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.takeLast=void 0;var s=a(8611),p=a(5145),g=a(3922);o.takeLast=function c(d){return d<=0?function(){return s.EMPTY}:p.operate(function(u,m){var _=[];u.subscribe(g.createOperatorSubscriber(m,function(f){_.push(f),d<_.length&&_.shift()},function(){var f,y;try{for(var b=n(_),v=b.next();!v.done;v=b.next())m.next(v.value)}catch(O){f={error:O}}finally{try{v&&!v.done&&(y=b.return)&&y.call(b)}finally{if(f)throw f.error}}m.complete()},void 0,function(){_=null}))})}},8325:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeUntil=void 0;var n=a(5145),s=a(3922),p=a(7186),g=a(6048);o.takeUntil=function c(d){return n.operate(function(u,m){p.innerFrom(d).subscribe(s.createOperatorSubscriber(m,function(){return m.complete()},g.noop)),!m.closed&&u.subscribe(m)})}},548:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeWhile=void 0;var n=a(5145),s=a(3922);o.takeWhile=function p(g,c){return void 0===c&&(c=!1),n.operate(function(d,u){var m=0;d.subscribe(s.createOperatorSubscriber(u,function(_){var f=g(_,m++);(f||c)&&u.next(_),!f&&u.complete()}))})}},3023:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.tap=void 0;var n=a(1860),s=a(5145),p=a(3922),g=a(7288);o.tap=function c(d,u,m){var _=n.isFunction(d)||u||m?{next:d,error:u,complete:m}:d;return _?s.operate(function(f,y){var b;null===(b=_.subscribe)||void 0===b||b.call(_);var v=!0;f.subscribe(p.createOperatorSubscriber(y,function(w){var O;null===(O=_.next)||void 0===O||O.call(_,w),y.next(w)},function(){var w;v=!1,null===(w=_.complete)||void 0===w||w.call(_),y.complete()},function(w){var O;v=!1,null===(O=_.error)||void 0===O||O.call(_,w),y.error(w)},function(){var w,O;v&&(null===(w=_.unsubscribe)||void 0===w||w.call(_)),null===(O=_.finalize)||void 0===O||O.call(_)}))}):g.identity}},7635:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttle=void 0;var n=a(5145),s=a(3922),p=a(7186);o.throttle=function g(c,d){return n.operate(function(u,m){var _=d??{},f=_.leading,y=void 0===f||f,b=_.trailing,v=void 0!==b&&b,w=!1,O=null,F=null,S=!1,K=function(){F?.unsubscribe(),F=null,v&&(W(),S&&m.complete())},V=function(){F=null,S&&m.complete()},ee=function(Y){return F=p.innerFrom(c(Y)).subscribe(s.createOperatorSubscriber(m,K,V))},W=function(){if(w){w=!1;var Y=O;O=null,m.next(Y),!S&&ee(Y)}};u.subscribe(s.createOperatorSubscriber(m,function(Y){w=!0,O=Y,(!F||F.closed)&&(y?W():ee(Y))},function(){S=!0,(!(v&&w&&F)||F.closed)&&m.complete()}))})}},2403:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttleTime=void 0;var n=a(9106),s=a(7635),p=a(441);o.throttleTime=function g(c,d,u){void 0===d&&(d=n.asyncScheduler);var m=p.timer(c,d);return s.throttle(function(){return m},u)}},909:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwIfEmpty=void 0;var n=a(6159),s=a(5145),p=a(3922);function c(){return new n.EmptyError}o.throwIfEmpty=function g(d){return void 0===d&&(d=c),s.operate(function(u,m){var _=!1;u.subscribe(p.createOperatorSubscriber(m,function(f){_=!0,m.next(f)},function(){return _?m.complete():m.error(d())}))})}},5892:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TimeInterval=o.timeInterval=void 0;var n=a(9106),s=a(5145),p=a(3922);o.timeInterval=function g(d){return void 0===d&&(d=n.asyncScheduler),s.operate(function(u,m){var _=d.now();u.subscribe(p.createOperatorSubscriber(m,function(f){var y=d.now(),b=y-_;_=y,m.next(new c(f,b))}))})};var c=function d(u,m){this.value=u,this.interval=m};o.TimeInterval=c},6406:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeout=o.TimeoutError=void 0;var n=a(9106),s=a(7053),p=a(5145),g=a(7186),c=a(508),d=a(3922),u=a(7642);function _(f){throw new o.TimeoutError(f)}o.TimeoutError=c.createErrorClass(function(f){return function(b){void 0===b&&(b=null),f(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=b}}),o.timeout=function m(f,y){var b=s.isValidDate(f)?{first:f}:"number"==typeof f?{each:f}:f,v=b.first,w=b.each,O=b.with,F=void 0===O?_:O,S=b.scheduler,K=void 0===S?y??n.asyncScheduler:S,V=b.meta,ee=void 0===V?null:V;if(null==v&&null==w)throw new TypeError("No timeout provided.");return p.operate(function(W,Y){var ue,ie,te=null,ve=0,nt=function(be){ie=u.executeSchedule(Y,K,function(){try{ue.unsubscribe(),g.innerFrom(F({meta:ee,lastValue:te,seen:ve})).subscribe(Y)}catch(Ye){Y.error(Ye)}},be)};ue=W.subscribe(d.createOperatorSubscriber(Y,function(be){ie?.unsubscribe(),ve++,Y.next(te=be),w>0&&nt(w)},void 0,void 0,function(){ie?.closed||ie?.unsubscribe(),te=null})),!ve&&nt(null!=v?"number"==typeof v?v:+v-K.now():w)})}},6348:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutWith=void 0;var n=a(9106),s=a(7053),p=a(6406);o.timeoutWith=function g(c,d,u){var m,_,f;if(u=u??n.async,s.isValidDate(c)?m=c:"number"==typeof c&&(_=c),!d)throw new TypeError("No observable provided to switch to");if(f=function(){return d},null==m&&null==_)throw new TypeError("No timeout provided.");return p.timeout({first:m,each:_,scheduler:u,with:f})}},9010:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timestamp=void 0;var n=a(1937),s=a(5970);o.timestamp=function p(g){return void 0===g&&(g=n.dateTimestampProvider),s.map(function(c){return{value:c,timestamp:g.now()}})}},2341:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.toArray=void 0;var n=a(597),s=a(5145),p=function(c,d){return c.push(d),c};o.toArray=function g(){return s.operate(function(c,d){n.reduce(p,[])(c).subscribe(d)})}},1176:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.window=void 0;var n=a(3653),s=a(5145),p=a(3922),g=a(6048),c=a(7186);o.window=function d(u){return s.operate(function(m,_){var f=new n.Subject;_.next(f.asObservable());var y=function(b){f.error(b),_.error(b)};return m.subscribe(p.createOperatorSubscriber(_,function(b){return f?.next(b)},function(){f.complete(),_.complete()},y)),c.innerFrom(u).subscribe(p.createOperatorSubscriber(_,function(){f.complete(),_.next(f=new n.Subject)},g.noop,y)),function(){f?.unsubscribe(),f=null}})}},6193:function(Z,o,a){"use strict";var n=this&&this.__values||function(d){var u="function"==typeof Symbol&&Symbol.iterator,m=u&&d[u],_=0;if(m)return m.call(d);if(d&&"number"==typeof d.length)return{next:function(){return d&&_>=d.length&&(d=void 0),{value:d&&d[_++],done:!d}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.windowCount=void 0;var s=a(3653),p=a(5145),g=a(3922);o.windowCount=function c(d,u){void 0===u&&(u=0);var m=u>0?u:d;return p.operate(function(_,f){var y=[new s.Subject],v=0;f.next(y[0].asObservable()),_.subscribe(g.createOperatorSubscriber(f,function(w){var O,F;try{for(var S=n(y),K=S.next();!K.done;K=S.next())K.value.next(w)}catch(Y){O={error:Y}}finally{try{K&&!K.done&&(F=S.return)&&F.call(S)}finally{if(O)throw O.error}}var ee=v-d+1;if(ee>=0&&ee%m==0&&y.shift().complete(),++v%m==0){var W=new s.Subject;y.push(W),f.next(W.asObservable())}},function(){for(;y.length>0;)y.shift().complete();f.complete()},function(w){for(;y.length>0;)y.shift().error(w);f.error(w)},function(){y=null}))})}},2642:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowTime=void 0;var n=a(3653),s=a(9106),p=a(642),g=a(5145),c=a(3922),d=a(4615),u=a(160),m=a(7642);o.windowTime=function _(f){for(var y,b,v=[],w=1;w<arguments.length;w++)v[w-1]=arguments[w];var O=null!==(y=u.popScheduler(v))&&void 0!==y?y:s.asyncScheduler,F=null!==(b=v[0])&&void 0!==b?b:null,S=v[1]||1/0;return g.operate(function(K,V){var ee=[],W=!1,Y=function(ve){var be=ve.subs;ve.window.complete(),be.unsubscribe(),d.arrRemove(ee,ve),W&&ue()},ue=function(){if(ee){var ve=new p.Subscription;V.add(ve);var nt=new n.Subject,be={window:nt,subs:ve,seen:0};ee.push(be),V.next(nt.asObservable()),m.executeSchedule(ve,O,function(){return Y(be)},f)}};null!==F&&F>=0?m.executeSchedule(V,O,ue,F,!0):W=!0,ue();var ie=function(ve){return ee.slice().forEach(ve)},te=function(ve){ie(function(nt){return ve(nt.window)}),ve(V),V.unsubscribe()};return K.subscribe(c.createOperatorSubscriber(V,function(ve){ie(function(nt){nt.window.next(ve),S<=++nt.seen&&Y(nt)})},function(){return te(function(ve){return ve.complete()})},function(ve){return te(function(nt){return nt.error(ve)})})),function(){ee=null}})}},8036:function(Z,o,a){"use strict";var n=this&&this.__values||function(f){var y="function"==typeof Symbol&&Symbol.iterator,b=y&&f[y],v=0;if(b)return b.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&v>=f.length&&(f=void 0),{value:f&&f[v++],done:!f}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.windowToggle=void 0;var s=a(3653),p=a(642),g=a(5145),c=a(7186),d=a(3922),u=a(6048),m=a(4615);o.windowToggle=function _(f,y){return g.operate(function(b,v){var w=[],O=function(F){for(;0<w.length;)w.shift().error(F);v.error(F)};c.innerFrom(f).subscribe(d.createOperatorSubscriber(v,function(F){var S=new s.Subject;w.push(S);var ee,K=new p.Subscription;try{ee=c.innerFrom(y(F))}catch(W){return void O(W)}v.next(S.asObservable()),K.add(ee.subscribe(d.createOperatorSubscriber(v,function(){m.arrRemove(w,S),S.complete(),K.unsubscribe()},u.noop,O)))},u.noop)),b.subscribe(d.createOperatorSubscriber(v,function(F){var S,K,V=w.slice();try{for(var ee=n(V),W=ee.next();!W.done;W=ee.next())W.value.next(F)}catch(ue){S={error:ue}}finally{try{W&&!W.done&&(K=ee.return)&&K.call(ee)}finally{if(S)throw S.error}}},function(){for(;0<w.length;)w.shift().complete();v.complete()},O,function(){for(;0<w.length;)w.shift().unsubscribe()}))})}},1624:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowWhen=void 0;var n=a(3653),s=a(5145),p=a(3922),g=a(7186);o.windowWhen=function c(d){return s.operate(function(u,m){var _,f,y=function(v){_.error(v),m.error(v)},b=function(){var v;f?.unsubscribe(),_?.complete(),_=new n.Subject,m.next(_.asObservable());try{v=g.innerFrom(d())}catch(w){return void y(w)}v.subscribe(f=p.createOperatorSubscriber(m,b,b,y))};b(),u.subscribe(p.createOperatorSubscriber(m,function(v){return _.next(v)},function(){_.complete(),m.complete()},y,function(){f?.unsubscribe(),_=null}))})}},3725:function(Z,o,a){"use strict";var n=this&&this.__read||function(f,y){var b="function"==typeof Symbol&&f[Symbol.iterator];if(!b)return f;var w,F,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){F={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(F)throw F.error}}return O},s=this&&this.__spreadArray||function(f,y){for(var b=0,v=y.length,w=f.length;b<v;b++,w++)f[w]=y[b];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.withLatestFrom=void 0;var p=a(5145),g=a(3922),c=a(7186),d=a(7288),u=a(6048),m=a(160);o.withLatestFrom=function _(){for(var f=[],y=0;y<arguments.length;y++)f[y]=arguments[y];var b=m.popResultSelector(f);return p.operate(function(v,w){for(var O=f.length,F=new Array(O),S=f.map(function(){return!1}),K=!1,V=function(W){c.innerFrom(f[W]).subscribe(g.createOperatorSubscriber(w,function(Y){F[W]=Y,!K&&!S[W]&&(S[W]=!0,(K=S.every(d.identity))&&(S=null))},u.noop))},ee=0;ee<O;ee++)V(ee);v.subscribe(g.createOperatorSubscriber(w,function(W){if(K){var Y=s([W],n(F));w.next(b?b.apply(void 0,s([],n(Y))):Y)}}))})}},398:function(Z,o,a){"use strict";var n=this&&this.__read||function(d,u){var m="function"==typeof Symbol&&d[Symbol.iterator];if(!m)return d;var f,b,_=m.call(d),y=[];try{for(;(void 0===u||u-- >0)&&!(f=_.next()).done;)y.push(f.value)}catch(v){b={error:v}}finally{try{f&&!f.done&&(m=_.return)&&m.call(_)}finally{if(b)throw b.error}}return y},s=this&&this.__spreadArray||function(d,u){for(var m=0,_=u.length,f=d.length;m<_;m++,f++)d[f]=u[m];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var p=a(2323),g=a(5145);o.zip=function c(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];return g.operate(function(m,_){p.zip.apply(void 0,s([m],n(d))).subscribe(_)})}},378:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.zipAll=void 0;var n=a(2323),s=a(4622);o.zipAll=function p(g){return s.joinAllInternals(n.zip,g)}},9952:function(Z,o,a){"use strict";var n=this&&this.__read||function(c,d){var u="function"==typeof Symbol&&c[Symbol.iterator];if(!u)return c;var _,y,m=u.call(c),f=[];try{for(;(void 0===d||d-- >0)&&!(_=m.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(u=m.return)&&u.call(m)}finally{if(y)throw y.error}}return f},s=this&&this.__spreadArray||function(c,d){for(var u=0,m=d.length,_=c.length;u<m;u++,_++)c[_]=d[u];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.zipWith=void 0;var p=a(398);o.zipWith=function g(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return p.zip.apply(void 0,s([],n(c)))}},448:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleArray=void 0;var n=a(7072);o.scheduleArray=function s(p,g){return new n.Observable(function(c){var d=0;return g.schedule(function(){d===p.length?c.complete():(c.next(p[d++]),c.closed||this.schedule())})})}},2617:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleAsyncIterable=void 0;var n=a(7072),s=a(7642);o.scheduleAsyncIterable=function p(g,c){if(!g)throw new Error("Iterable cannot be null");return new n.Observable(function(d){s.executeSchedule(d,c,function(){var u=g[Symbol.asyncIterator]();s.executeSchedule(d,c,function(){u.next().then(function(m){m.done?d.complete():d.next(m.value)})},0,!0)})})}},4017:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleIterable=void 0;var n=a(7072),s=a(5900),p=a(1860),g=a(7642);o.scheduleIterable=function c(d,u){return new n.Observable(function(m){var _;return g.executeSchedule(m,u,function(){_=d[s.iterator](),g.executeSchedule(m,u,function(){var f,y,b;try{y=(f=_.next()).value,b=f.done}catch(v){return void m.error(v)}b?m.complete():m.next(y)},0,!0)}),function(){return p.isFunction(_?.return)&&_.return()}})}},8117:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleObservable=void 0;var n=a(7186),s=a(9512),p=a(8625);o.scheduleObservable=function g(c,d){return n.innerFrom(c).pipe(p.subscribeOn(d),s.observeOn(d))}},4230:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.schedulePromise=void 0;var n=a(7186),s=a(9512),p=a(8625);o.schedulePromise=function g(c,d){return n.innerFrom(c).pipe(p.subscribeOn(d),s.observeOn(d))}},4260:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleReadableStreamLike=void 0;var n=a(2617),s=a(7307);o.scheduleReadableStreamLike=function p(g,c){return n.scheduleAsyncIterable(s.readableStreamLikeToAsyncGenerator(g),c)}},3881:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduled=void 0;var n=a(8117),s=a(4230),p=a(448),g=a(4017),c=a(2617),d=a(3593),u=a(7035),m=a(1692),_=a(5754),f=a(8474),y=a(7116),b=a(7307),v=a(4260);o.scheduled=function w(O,F){if(null!=O){if(d.isInteropObservable(O))return n.scheduleObservable(O,F);if(m.isArrayLike(O))return p.scheduleArray(O,F);if(u.isPromise(O))return s.schedulePromise(O,F);if(f.isAsyncIterable(O))return c.scheduleAsyncIterable(O,F);if(_.isIterable(O))return g.scheduleIterable(O,F);if(b.isReadableStreamLike(O))return v.scheduleReadableStreamLike(O,F)}throw y.createInvalidObservableTypeError(O)}},6667:function(Z,o,a){"use strict";var g,n=this&&this.__extends||(g=function(c,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,m){u.__proto__=m}||function(u,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(u[_]=m[_])})(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 u(){this.constructor=c}g(c,d),c.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.Action=void 0;var p=function(g){function c(d,u){return g.call(this)||this}return n(c,g),c.prototype.schedule=function(d,u){return void 0===u&&(u=0),this},c}(a(642).Subscription);o.Action=p},4308:function(Z,o,a){"use strict";var c,n=this&&this.__extends||(c=function(d,u){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,_){m.__proto__=_}||function(m,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(m[f]=_[f])})(d,u)},function(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function m(){this.constructor=d}c(d,u),d.prototype=null===u?Object.create(u):(m.prototype=u.prototype,new m)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameAction=void 0;var s=a(63),p=a(8601),g=function(c){function d(u,m){var _=c.call(this,u,m)||this;return _.scheduler=u,_.work=m,_}return n(d,c),d.prototype.requestAsyncId=function(u,m,_){return void 0===_&&(_=0),null!==_&&_>0?c.prototype.requestAsyncId.call(this,u,m,_):(u.actions.push(this),u._scheduled||(u._scheduled=p.animationFrameProvider.requestAnimationFrame(function(){return u.flush(void 0)})))},d.prototype.recycleAsyncId=function(u,m,_){var f;if(void 0===_&&(_=0),null!=_?_>0:this.delay>0)return c.prototype.recycleAsyncId.call(this,u,m,_);var y=u.actions;null!=m&&(null===(f=y[y.length-1])||void 0===f?void 0:f.id)!==m&&(p.animationFrameProvider.cancelAnimationFrame(m),u._scheduled=void 0)},d}(s.AsyncAction);o.AnimationFrameAction=g},2783:function(Z,o,a){"use strict";var g,n=this&&this.__extends||(g=function(c,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,m){u.__proto__=m}||function(u,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(u[_]=m[_])})(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 u(){this.constructor=c}g(c,d),c.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameScheduler=void 0;var p=function(g){function c(){return null!==g&&g.apply(this,arguments)||this}return n(c,g),c.prototype.flush=function(d){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var _,m=this.actions;d=d||m.shift();do{if(_=d.execute(d.state,d.delay))break}while((d=m[0])&&d.id===u&&m.shift());if(this._active=!1,_){for(;(d=m[0])&&d.id===u&&m.shift();)d.unsubscribe();throw _}},c}(a(3104).AsyncScheduler);o.AnimationFrameScheduler=p},3262:function(Z,o,a){"use strict";var c,n=this&&this.__extends||(c=function(d,u){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,_){m.__proto__=_}||function(m,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(m[f]=_[f])})(d,u)},function(d,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function m(){this.constructor=d}c(d,u),d.prototype=null===u?Object.create(u):(m.prototype=u.prototype,new m)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapAction=void 0;var s=a(63),p=a(6494),g=function(c){function d(u,m){var _=c.call(this,u,m)||this;return _.scheduler=u,_.work=m,_}return n(d,c),d.prototype.requestAsyncId=function(u,m,_){return void 0===_&&(_=0),null!==_&&_>0?c.prototype.requestAsyncId.call(this,u,m,_):(u.actions.push(this),u._scheduled||(u._scheduled=p.immediateProvider.setImmediate(u.flush.bind(u,void 0))))},d.prototype.recycleAsyncId=function(u,m,_){var f;if(void 0===_&&(_=0),null!=_?_>0:this.delay>0)return c.prototype.recycleAsyncId.call(this,u,m,_);var y=u.actions;null!=m&&(null===(f=y[y.length-1])||void 0===f?void 0:f.id)!==m&&(p.immediateProvider.clearImmediate(m),u._scheduled===m&&(u._scheduled=void 0))},d}(s.AsyncAction);o.AsapAction=g},4027:function(Z,o,a){"use strict";var g,n=this&&this.__extends||(g=function(c,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,m){u.__proto__=m}||function(u,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(u[_]=m[_])})(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 u(){this.constructor=c}g(c,d),c.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapScheduler=void 0;var p=function(g){function c(){return null!==g&&g.apply(this,arguments)||this}return n(c,g),c.prototype.flush=function(d){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var _,m=this.actions;d=d||m.shift();do{if(_=d.execute(d.state,d.delay))break}while((d=m[0])&&d.id===u&&m.shift());if(this._active=!1,_){for(;(d=m[0])&&d.id===u&&m.shift();)d.unsubscribe();throw _}},c}(a(3104).AsyncScheduler);o.AsapScheduler=p},63:function(Z,o,a){"use strict";var d,n=this&&this.__extends||(d=function(u,m){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var y in f)Object.prototype.hasOwnProperty.call(f,y)&&(_[y]=f[y])})(u,m)},function(u,m){if("function"!=typeof m&&null!==m)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function _(){this.constructor=u}d(u,m),u.prototype=null===m?Object.create(m):(_.prototype=m.prototype,new _)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncAction=void 0;var s=a(6667),p=a(7246),g=a(4615),c=function(d){function u(m,_){var f=d.call(this,m,_)||this;return f.scheduler=m,f.work=_,f.pending=!1,f}return n(u,d),u.prototype.schedule=function(m,_){var f;if(void 0===_&&(_=0),this.closed)return this;this.state=m;var y=this.id,b=this.scheduler;return null!=y&&(this.id=this.recycleAsyncId(b,y,_)),this.pending=!0,this.delay=_,this.id=null!==(f=this.id)&&void 0!==f?f:this.requestAsyncId(b,this.id,_),this},u.prototype.requestAsyncId=function(m,_,f){return void 0===f&&(f=0),p.intervalProvider.setInterval(m.flush.bind(m,this),f)},u.prototype.recycleAsyncId=function(m,_,f){if(void 0===f&&(f=0),null!=f&&this.delay===f&&!1===this.pending)return _;null!=_&&p.intervalProvider.clearInterval(_)},u.prototype.execute=function(m,_){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var f=this._execute(m,_);if(f)return f;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},u.prototype._execute=function(m,_){var y,f=!1;try{this.work(m)}catch(b){f=!0,y=b||new Error("Scheduled action threw falsy error")}if(f)return this.unsubscribe(),y},u.prototype.unsubscribe=function(){if(!this.closed){var _=this.id,f=this.scheduler,y=f.actions;this.work=this.state=this.scheduler=null,this.pending=!1,g.arrRemove(y,this),null!=_&&(this.id=this.recycleAsyncId(f,_,null)),this.delay=null,d.prototype.unsubscribe.call(this)}},u}(s.Action);o.AsyncAction=c},3104:function(Z,o,a){"use strict";var g,n=this&&this.__extends||(g=function(c,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,m){u.__proto__=m}||function(u,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(u[_]=m[_])})(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 u(){this.constructor=c}g(c,d),c.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncScheduler=void 0;var s=a(4283),p=function(g){function c(d,u){void 0===u&&(u=s.Scheduler.now);var m=g.call(this,d,u)||this;return m.actions=[],m._active=!1,m}return n(c,g),c.prototype.flush=function(d){var u=this.actions;if(this._active)u.push(d);else{var m;this._active=!0;do{if(m=d.execute(d.state,d.delay))break}while(d=u.shift());if(this._active=!1,m){for(;d=u.shift();)d.unsubscribe();throw m}}},c}(s.Scheduler);o.AsyncScheduler=p},3460:function(Z,o,a){"use strict";var g,n=this&&this.__extends||(g=function(c,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,m){u.__proto__=m}||function(u,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(u[_]=m[_])})(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 u(){this.constructor=c}g(c,d),c.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueAction=void 0;var p=function(g){function c(d,u){var m=g.call(this,d,u)||this;return m.scheduler=d,m.work=u,m}return n(c,g),c.prototype.schedule=function(d,u){return void 0===u&&(u=0),u>0?g.prototype.schedule.call(this,d,u):(this.delay=u,this.state=d,this.scheduler.flush(this),this)},c.prototype.execute=function(d,u){return u>0||this.closed?g.prototype.execute.call(this,d,u):this._execute(d,u)},c.prototype.requestAsyncId=function(d,u,m){return void 0===m&&(m=0),null!=m&&m>0||null==m&&this.delay>0?g.prototype.requestAsyncId.call(this,d,u,m):(d.flush(this),0)},c}(a(63).AsyncAction);o.QueueAction=p},2091:function(Z,o,a){"use strict";var g,n=this&&this.__extends||(g=function(c,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,m){u.__proto__=m}||function(u,m){for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(u[_]=m[_])})(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 u(){this.constructor=c}g(c,d),c.prototype=null===d?Object.create(d):(u.prototype=d.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueScheduler=void 0;var p=function(g){function c(){return null!==g&&g.apply(this,arguments)||this}return n(c,g),c}(a(3104).AsyncScheduler);o.QueueScheduler=p},3503:function(Z,o,a){"use strict";var u,n=this&&this.__extends||(u=function(m,_){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,y){f.__proto__=y}||function(f,y){for(var b in y)Object.prototype.hasOwnProperty.call(y,b)&&(f[b]=y[b])})(m,_)},function(m,_){if("function"!=typeof _&&null!==_)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function f(){this.constructor=m}u(m,_),m.prototype=null===_?Object.create(_):(f.prototype=_.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.VirtualAction=o.VirtualTimeScheduler=void 0;var s=a(63),p=a(642),c=function(u){function m(_,f){void 0===_&&(_=d),void 0===f&&(f=1/0);var y=u.call(this,_,function(){return y.frame})||this;return y.maxFrames=f,y.frame=0,y.index=-1,y}return n(m,u),m.prototype.flush=function(){for(var b,v,f=this.actions,y=this.maxFrames;(v=f[0])&&v.delay<=y&&(f.shift(),this.frame=v.delay,!(b=v.execute(v.state,v.delay))););if(b){for(;v=f.shift();)v.unsubscribe();throw b}},m.frameTimeFactor=10,m}(a(3104).AsyncScheduler);o.VirtualTimeScheduler=c;var d=function(u){function m(_,f,y){void 0===y&&(y=_.index+=1);var b=u.call(this,_,f)||this;return b.scheduler=_,b.work=f,b.index=y,b.active=!0,b.index=_.index=y,b}return n(m,u),m.prototype.schedule=function(_,f){if(void 0===f&&(f=0),Number.isFinite(f)){if(!this.id)return u.prototype.schedule.call(this,_,f);this.active=!1;var y=new m(this.scheduler,this.work);return this.add(y),y.schedule(_,f)}return p.Subscription.EMPTY},m.prototype.requestAsyncId=function(_,f,y){void 0===y&&(y=0),this.delay=_.frame+y;var b=_.actions;return b.push(this),b.sort(m.sortActions),1},m.prototype.recycleAsyncId=function(_,f,y){void 0===y&&(y=0)},m.prototype._execute=function(_,f){if(!0===this.active)return u.prototype._execute.call(this,_,f)},m.sortActions=function(_,f){return _.delay===f.delay?_.index===f.index?0:_.index>f.index?1:-1:_.delay>f.delay?1:-1},m}(s.AsyncAction);o.VirtualAction=d},3989:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrame=o.animationFrameScheduler=void 0;var n=a(4308),s=a(2783);o.animationFrameScheduler=new s.AnimationFrameScheduler(n.AnimationFrameAction),o.animationFrame=o.animationFrameScheduler},8601:function(Z,o,a){"use strict";var n=this&&this.__read||function(g,c){var d="function"==typeof Symbol&&g[Symbol.iterator];if(!d)return g;var m,f,u=d.call(g),_=[];try{for(;(void 0===c||c-- >0)&&!(m=u.next()).done;)_.push(m.value)}catch(y){f={error:y}}finally{try{m&&!m.done&&(d=u.return)&&d.call(u)}finally{if(f)throw f.error}}return _},s=this&&this.__spreadArray||function(g,c){for(var d=0,u=c.length,m=g.length;d<u;d++,m++)g[m]=c[d];return g};Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrameProvider=void 0;var p=a(642);o.animationFrameProvider={schedule:function(g){var c=requestAnimationFrame,d=cancelAnimationFrame,u=o.animationFrameProvider.delegate;u&&(c=u.requestAnimationFrame,d=u.cancelAnimationFrame);var m=c(function(_){d=void 0,g(_)});return new p.Subscription(function(){return d?.(m)})},requestAnimationFrame:function(){for(var g=[],c=0;c<arguments.length;c++)g[c]=arguments[c];var d=o.animationFrameProvider.delegate;return(d?.requestAnimationFrame||requestAnimationFrame).apply(void 0,s([],n(g)))},cancelAnimationFrame:function(){for(var g=[],c=0;c<arguments.length;c++)g[c]=arguments[c];var d=o.animationFrameProvider.delegate;return(d?.cancelAnimationFrame||cancelAnimationFrame).apply(void 0,s([],n(g)))},delegate:void 0}},6842:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.asap=o.asapScheduler=void 0;var n=a(3262),s=a(4027);o.asapScheduler=new s.AsapScheduler(n.AsapAction),o.asap=o.asapScheduler},9106:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.async=o.asyncScheduler=void 0;var n=a(63),s=a(3104);o.asyncScheduler=new s.AsyncScheduler(n.AsyncAction),o.async=o.asyncScheduler},1937:(Z,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}},6494:function(Z,o,a){"use strict";var n=this&&this.__read||function(d,u){var m="function"==typeof Symbol&&d[Symbol.iterator];if(!m)return d;var f,b,_=m.call(d),y=[];try{for(;(void 0===u||u-- >0)&&!(f=_.next()).done;)y.push(f.value)}catch(v){b={error:v}}finally{try{f&&!f.done&&(m=_.return)&&m.call(_)}finally{if(b)throw b.error}}return y},s=this&&this.__spreadArray||function(d,u){for(var m=0,_=u.length,f=d.length;m<_;m++,f++)d[f]=u[m];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.immediateProvider=void 0;var p=a(3643),g=p.Immediate.setImmediate,c=p.Immediate.clearImmediate;o.immediateProvider={setImmediate:function(){for(var d=[],u=0;u<arguments.length;u++)d[u]=arguments[u];var m=o.immediateProvider.delegate;return(m?.setImmediate||g).apply(void 0,s([],n(d)))},clearImmediate:function(d){var u=o.immediateProvider.delegate;return(u?.clearImmediate||c)(d)},delegate:void 0}},7246:function(Z,o){"use strict";var a=this&&this.__read||function(s,p){var g="function"==typeof Symbol&&s[Symbol.iterator];if(!g)return s;var d,m,c=g.call(s),u=[];try{for(;(void 0===p||p-- >0)&&!(d=c.next()).done;)u.push(d.value)}catch(_){m={error:_}}finally{try{d&&!d.done&&(g=c.return)&&g.call(c)}finally{if(m)throw m.error}}return u},n=this&&this.__spreadArray||function(s,p){for(var g=0,c=p.length,d=s.length;g<c;g++,d++)s[d]=p[g];return s};Object.defineProperty(o,"__esModule",{value:!0}),o.intervalProvider=void 0,o.intervalProvider={setInterval:function(s,p){for(var g=[],c=2;c<arguments.length;c++)g[c-2]=arguments[c];var d=o.intervalProvider.delegate;return d?.setInterval?d.setInterval.apply(d,n([s,p],a(g))):setInterval.apply(void 0,n([s,p],a(g)))},clearInterval:function(s){var p=o.intervalProvider.delegate;return(p?.clearInterval||clearInterval)(s)},delegate:void 0}},9118:(Z,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}},3931:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.queue=o.queueScheduler=void 0;var n=a(3460),s=a(2091);o.queueScheduler=new s.QueueScheduler(n.QueueAction),o.queue=o.queueScheduler},3410:function(Z,o){"use strict";var a=this&&this.__read||function(s,p){var g="function"==typeof Symbol&&s[Symbol.iterator];if(!g)return s;var d,m,c=g.call(s),u=[];try{for(;(void 0===p||p-- >0)&&!(d=c.next()).done;)u.push(d.value)}catch(_){m={error:_}}finally{try{d&&!d.done&&(g=c.return)&&g.call(c)}finally{if(m)throw m.error}}return u},n=this&&this.__spreadArray||function(s,p){for(var g=0,c=p.length,d=s.length;g<c;g++,d++)s[d]=p[g];return s};Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutProvider=void 0,o.timeoutProvider={setTimeout:function(s,p){for(var g=[],c=2;c<arguments.length;c++)g[c-2]=arguments[c];var d=o.timeoutProvider.delegate;return d?.setTimeout?d.setTimeout.apply(d,n([s,p],a(g))):setTimeout.apply(void 0,n([s,p],a(g)))},clearTimeout:function(s){var p=o.timeoutProvider.delegate;return(p?.clearTimeout||clearTimeout)(s)},delegate:void 0}},5900:(Z,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()},2289:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observable=void 0,o.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},1728:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0})},4936:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ArgumentOutOfRangeError=void 0;var n=a(508);o.ArgumentOutOfRangeError=n.createErrorClass(function(s){return function(){s(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},6159:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.EmptyError=void 0;var n=a(508);o.EmptyError=n.createErrorClass(function(s){return function(){s(this),this.name="EmptyError",this.message="no elements in sequence"}})},3643:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TestTools=o.Immediate=void 0;var n,a=1,s={};function p(g){return g in s&&(delete s[g],!0)}o.Immediate={setImmediate:function(g){var c=a++;return s[c]=!0,n||(n=Promise.resolve()),n.then(function(){return p(c)&&g()}),c},clearImmediate:function(g){p(g)}},o.TestTools={pending:function(){return Object.keys(s).length}}},3811:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.NotFoundError=void 0;var n=a(508);o.NotFoundError=n.createErrorClass(function(s){return function(g){s(this),this.name="NotFoundError",this.message=g}})},5499:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ObjectUnsubscribedError=void 0;var n=a(508);o.ObjectUnsubscribedError=n.createErrorClass(function(s){return function(){s(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},833:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.SequenceError=void 0;var n=a(508);o.SequenceError=n.createErrorClass(function(s){return function(g){s(this),this.name="SequenceError",this.message=g}})},1490:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.UnsubscriptionError=void 0;var n=a(508);o.UnsubscriptionError=n.createErrorClass(function(s){return function(g){s(this),this.message=g?g.length+" errors occurred during unsubscription:\n"+g.map(function(c,d){return d+1+") "+c.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=g}})},160:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.popNumber=o.popScheduler=o.popResultSelector=void 0;var n=a(1860),s=a(1832);function p(u){return u[u.length-1]}o.popResultSelector=function g(u){return n.isFunction(p(u))?u.pop():void 0},o.popScheduler=function c(u){return s.isScheduler(p(u))?u.pop():void 0},o.popNumber=function d(u,m){return"number"==typeof p(u)?u.pop():m}},9422:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsArgArrayOrObject=void 0;var a=Array.isArray,n=Object.getPrototypeOf,s=Object.prototype,p=Object.keys;o.argsArgArrayOrObject=function g(d){if(1===d.length){var u=d[0];if(a(u))return{args:u,keys:null};if(function c(d){return d&&"object"==typeof d&&n(d)===s}(u)){var m=p(u);return{args:m.map(function(_){return u[_]}),keys:m}}}return{args:d,keys:null}}},7308:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsOrArgArray=void 0;var a=Array.isArray;o.argsOrArgArray=function n(s){return 1===s.length&&a(s[0])?s[0]:s}},4615:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.arrRemove=void 0,o.arrRemove=function a(n,s){if(n){var p=n.indexOf(s);0<=p&&n.splice(p,1)}}},508:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createErrorClass=void 0,o.createErrorClass=function a(n){var p=n(function(g){Error.call(g),g.stack=(new Error).stack});return p.prototype=Object.create(Error.prototype),p.prototype.constructor=p,p}},604:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createObject=void 0,o.createObject=function a(n,s){return n.reduce(function(p,g,c){return p[g]=s[c],p},{})}},7525:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.captureError=o.errorContext=void 0;var n=a(2528),s=null;o.errorContext=function p(c){if(n.config.useDeprecatedSynchronousErrorHandling){var d=!s;if(d&&(s={errorThrown:!1,error:null}),c(),d){var u=s;if(s=null,u.errorThrown)throw u.error}}else c()},o.captureError=function g(c){n.config.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=c)}},7642:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.executeSchedule=void 0,o.executeSchedule=function a(n,s,p,g,c){void 0===g&&(g=0),void 0===c&&(c=!1);var d=s.schedule(function(){p(),c?n.add(this.schedule(null,g)):this.unsubscribe()},g);if(n.add(d),!c)return d}},7288:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.identity=void 0,o.identity=function a(n){return n}},1692:(Z,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}},8474:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isAsyncIterable=void 0;var n=a(1860);o.isAsyncIterable=function s(p){return Symbol.asyncIterator&&n.isFunction(p?.[Symbol.asyncIterator])}},7053:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isValidDate=void 0,o.isValidDate=function a(n){return n instanceof Date&&!isNaN(n)}},1860:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFunction=void 0,o.isFunction=function a(n){return"function"==typeof n}},3593:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isInteropObservable=void 0;var n=a(2289),s=a(1860);o.isInteropObservable=function p(g){return s.isFunction(g[n.observable])}},5754:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isIterable=void 0;var n=a(5900),s=a(1860);o.isIterable=function p(g){return s.isFunction(g?.[n.iterator])}},8447:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isObservable=void 0;var n=a(7072),s=a(1860);o.isObservable=function p(g){return!!g&&(g instanceof n.Observable||s.isFunction(g.lift)&&s.isFunction(g.subscribe))}},7035:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isPromise=void 0;var n=a(1860);o.isPromise=function s(p){return n.isFunction(p?.then)}},7307:function(Z,o,a){"use strict";var n=this&&this.__generator||function(u,m){var f,y,b,v,_={label:0,sent:function(){if(1&b[0])throw b[1];return b[1]},trys:[],ops:[]};return v={next:w(0),throw:w(1),return:w(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function w(F){return function(S){return function O(F){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(b=2&F[0]?y.return:F[0]?y.throw||((b=y.return)&&b.call(y),0):y.next)&&!(b=b.call(y,F[1])).done)return b;switch(y=0,b&&(F=[2&F[0],b.value]),F[0]){case 0:case 1:b=F;break;case 4:return _.label++,{value:F[1],done:!1};case 5:_.label++,y=F[1],F=[0];continue;case 7:F=_.ops.pop(),_.trys.pop();continue;default:if(!(b=(b=_.trys).length>0&&b[b.length-1])&&(6===F[0]||2===F[0])){_=0;continue}if(3===F[0]&&(!b||F[1]>b[0]&&F[1]<b[3])){_.label=F[1];break}if(6===F[0]&&_.label<b[1]){_.label=b[1],b=F;break}if(b&&_.label<b[2]){_.label=b[2],_.ops.push(F);break}b[2]&&_.ops.pop(),_.trys.pop();continue}F=m.call(u,_)}catch(S){F=[6,S],y=0}finally{f=b=0}if(5&F[0])throw F[1];return{value:F[0]?F[1]:void 0,done:!0}}([F,S])}}},s=this&&this.__await||function(u){return this instanceof s?(this.v=u,this):new s(u)},p=this&&this.__asyncGenerator||function(u,m,_){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var y,f=_.apply(u,m||[]),b=[];return y={},v("next"),v("throw"),v("return"),y[Symbol.asyncIterator]=function(){return this},y;function v(V){f[V]&&(y[V]=function(ee){return new Promise(function(W,Y){b.push([V,ee,W,Y])>1||w(V,ee)})})}function w(V,ee){try{!function O(V){V.value instanceof s?Promise.resolve(V.value.v).then(F,S):K(b[0][2],V)}(f[V](ee))}catch(W){K(b[0][3],W)}}function F(V){w("next",V)}function S(V){w("throw",V)}function K(V,ee){V(ee),b.shift(),b.length&&w(b[0][0],b[0][1])}};Object.defineProperty(o,"__esModule",{value:!0}),o.isReadableStreamLike=o.readableStreamLikeToAsyncGenerator=void 0;var g=a(1860);o.readableStreamLikeToAsyncGenerator=function c(u){return p(this,arguments,function(){var _,f,y;return n(this,function(v){switch(v.label){case 0:_=u.getReader(),v.label=1;case 1:v.trys.push([1,,9,10]),v.label=2;case 2:return[4,s(_.read())];case 3:return f=v.sent(),y=f.value,f.done?[4,s(void 0)]:[3,5];case 4:return[2,v.sent()];case 5:return[4,s(y)];case 6:return[4,v.sent()];case 7:return v.sent(),[3,2];case 8:return[3,10];case 9:return _.releaseLock(),[7];case 10:return[2]}})})},o.isReadableStreamLike=function d(u){return g.isFunction(u?.getReader)}},1832:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isScheduler=void 0;var n=a(1860);o.isScheduler=function s(p){return p&&n.isFunction(p.schedule)}},5145:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.operate=o.hasLift=void 0;var n=a(1860);function s(g){return n.isFunction(g?.lift)}o.hasLift=s,o.operate=function p(g){return function(c){if(s(c))return c.lift(function(d){try{return g(d,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},9349:function(Z,o,a){"use strict";var n=this&&this.__read||function(u,m){var _="function"==typeof Symbol&&u[Symbol.iterator];if(!_)return u;var y,v,f=_.call(u),b=[];try{for(;(void 0===m||m-- >0)&&!(y=f.next()).done;)b.push(y.value)}catch(w){v={error:w}}finally{try{y&&!y.done&&(_=f.return)&&_.call(f)}finally{if(v)throw v.error}}return b},s=this&&this.__spreadArray||function(u,m){for(var _=0,f=m.length,y=u.length;_<f;_++,y++)u[y]=m[_];return u};Object.defineProperty(o,"__esModule",{value:!0}),o.mapOneOrManyArgs=void 0;var p=a(5970),g=Array.isArray;o.mapOneOrManyArgs=function d(u){return p.map(function(m){return function c(u,m){return g(m)?u.apply(void 0,s([],n(m))):u(m)}(u,m)})}},6048:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.noop=void 0,o.noop=function a(){}},1080:(Z,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.not=void 0,o.not=function a(n,s){return function(p,g){return!n.call(s,p,g)}}},3776:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pipeFromArray=o.pipe=void 0;var n=a(7288);function p(g){return 0===g.length?n.identity:1===g.length?g[0]:function(d){return g.reduce(function(u,m){return m(u)},d)}}o.pipe=function s(){for(var g=[],c=0;c<arguments.length;c++)g[c]=arguments[c];return p(g)},o.pipeFromArray=p},9166:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reportUnhandledError=void 0;var n=a(2528),s=a(3410);o.reportUnhandledError=function p(g){s.timeoutProvider.setTimeout(function(){var c=n.config.onUnhandledError;if(!c)throw g;c(g)})}},7116:(Z,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.")}},5619:(Z,o,a)=>{"use strict";a.d(o,{X:()=>s});var n=a(8645);class s extends n.x{constructor(g){super(),this._value=g}get value(){return this.getValue()}_subscribe(g){const c=super._subscribe(g);return!c.closed&&g.next(this._value),c}getValue(){const{hasError:g,thrownError:c,_value:d}=this;if(g)throw c;return this._throwIfClosed(),d}next(g){super.next(this._value=g)}}},3018:(Z,o,a)=>{"use strict";a.d(o,{y:()=>f});var n=a(305),s=a(7394),p=a(4850),g=a(2737);var u=a(2653),m=a(4674),_=a(1441);let f=(()=>{class w{constructor(F){F&&(this._subscribe=F)}lift(F){const S=new w;return S.source=this,S.operator=F,S}subscribe(F,S,K){const V=function v(w){return w&&w instanceof n.Lv||function b(w){return w&&(0,m.m)(w.next)&&(0,m.m)(w.error)&&(0,m.m)(w.complete)}(w)&&(0,s.Nn)(w)}(F)?F:new n.Hp(F,S,K);return(0,_.x)(()=>{const{operator:ee,source:W}=this;V.add(ee?ee.call(V,W):W?this._subscribe(V):this._trySubscribe(V))}),V}_trySubscribe(F){try{return this._subscribe(F)}catch(S){F.error(S)}}forEach(F,S){return new(S=y(S))((K,V)=>{const ee=new n.Hp({next:W=>{try{F(W)}catch(Y){V(Y),ee.unsubscribe()}},error:V,complete:K});this.subscribe(ee)})}_subscribe(F){var S;return null===(S=this.source)||void 0===S?void 0:S.subscribe(F)}[p.L](){return this}pipe(...F){return function d(w){return 0===w.length?g.y:1===w.length?w[0]:function(F){return w.reduce((S,K)=>K(S),F)}}(F)(this)}toPromise(F){return new(F=y(F))((S,K)=>{let V;this.subscribe(ee=>V=ee,ee=>K(ee),()=>S(V))})}}return w.create=O=>new w(O),w})();function y(w){var O;return null!==(O=w??u.config.Promise)&&void 0!==O?O:Promise}},8645:(Z,o,a)=>{"use strict";a.d(o,{x:()=>u});var n=a(3018),s=a(7394);const g=(0,a(2306).d)(_=>function(){_(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=a(9039),d=a(1441);let u=(()=>{class _ extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(y){const b=new m(this,this);return b.operator=y,b}_throwIfClosed(){if(this.closed)throw new g}next(y){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const b of this.currentObservers)b.next(y)}})}error(y){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=y;const{observers:b}=this;for(;b.length;)b.shift().error(y)}})}complete(){(0,d.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:y}=this;for(;y.length;)y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var y;return(null===(y=this.observers)||void 0===y?void 0:y.length)>0}_trySubscribe(y){return this._throwIfClosed(),super._trySubscribe(y)}_subscribe(y){return this._throwIfClosed(),this._checkFinalizedStatuses(y),this._innerSubscribe(y)}_innerSubscribe(y){const{hasError:b,isStopped:v,observers:w}=this;return b||v?s.Lc:(this.currentObservers=null,w.push(y),new s.w0(()=>{this.currentObservers=null,(0,c.P)(w,y)}))}_checkFinalizedStatuses(y){const{hasError:b,thrownError:v,isStopped:w}=this;b?y.error(v):w&&y.complete()}asObservable(){const y=new n.y;return y.source=this,y}}return _.create=(f,y)=>new m(f,y),_})();class m extends u{constructor(f,y){super(),this.destination=f,this.source=y}next(f){var y,b;null===(b=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===b||b.call(y,f)}error(f){var y,b;null===(b=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===b||b.call(y,f)}complete(){var f,y;null===(y=null===(f=this.destination)||void 0===f?void 0:f.complete)||void 0===y||y.call(f)}_subscribe(f){var y,b;return null!==(b=null===(y=this.source)||void 0===y?void 0:y.subscribe(f))&&void 0!==b?b:s.Lc}}},305:(Z,o,a)=>{"use strict";a.d(o,{Hp:()=>F,Lv:()=>b});var n=a(4674),s=a(7394),p=a(2653),g=a(3894),c=a(2420);const d=_("C",void 0,void 0);function _(W,Y,ue){return{kind:W,value:Y,error:ue}}var f=a(7599),y=a(1441);class b extends s.w0{constructor(Y){super(),this.isStopped=!1,Y?(this.destination=Y,(0,s.Nn)(Y)&&Y.add(this)):this.destination=ee}static create(Y,ue,ie){return new F(Y,ue,ie)}next(Y){this.isStopped?V(function m(W){return _("N",W,void 0)}(Y),this):this._next(Y)}error(Y){this.isStopped?V(function u(W){return _("E",void 0,W)}(Y),this):(this.isStopped=!0,this._error(Y))}complete(){this.isStopped?V(d,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Y){this.destination.next(Y)}_error(Y){try{this.destination.error(Y)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const v=Function.prototype.bind;function w(W,Y){return v.call(W,Y)}class O{constructor(Y){this.partialObserver=Y}next(Y){const{partialObserver:ue}=this;if(ue.next)try{ue.next(Y)}catch(ie){S(ie)}}error(Y){const{partialObserver:ue}=this;if(ue.error)try{ue.error(Y)}catch(ie){S(ie)}else S(Y)}complete(){const{partialObserver:Y}=this;if(Y.complete)try{Y.complete()}catch(ue){S(ue)}}}class F extends b{constructor(Y,ue,ie){let te;if(super(),(0,n.m)(Y)||!Y)te={next:Y??void 0,error:ue??void 0,complete:ie??void 0};else{let ve;this&&p.config.useDeprecatedNextContext?(ve=Object.create(Y),ve.unsubscribe=()=>this.unsubscribe(),te={next:Y.next&&w(Y.next,ve),error:Y.error&&w(Y.error,ve),complete:Y.complete&&w(Y.complete,ve)}):te=Y}this.destination=new O(te)}}function S(W){p.config.useDeprecatedSynchronousErrorHandling?(0,y.O)(W):(0,g.h)(W)}function V(W,Y){const{onStoppedNotification:ue}=p.config;ue&&f.z.setTimeout(()=>ue(W,Y))}const ee={closed:!0,next:c.Z,error:function K(W){throw W},complete:c.Z}},7394:(Z,o,a)=>{"use strict";a.d(o,{Lc:()=>d,w0:()=>c,Nn:()=>u});var n=a(4674);const p=(0,a(2306).d)(_=>function(y){_(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((b,v)=>`${v+1}) ${b.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y});var g=a(9039);class c{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:y}=this;if(y)if(this._parentage=null,Array.isArray(y))for(const w of y)w.remove(this);else y.remove(this);const{initialTeardown:b}=this;if((0,n.m)(b))try{b()}catch(w){f=w instanceof p?w.errors:[w]}const{_finalizers:v}=this;if(v){this._finalizers=null;for(const w of v)try{m(w)}catch(O){f=f??[],O instanceof p?f=[...f,...O.errors]:f.push(O)}}if(f)throw new p(f)}}add(f){var y;if(f&&f!==this)if(this.closed)m(f);else{if(f instanceof c){if(f.closed||f._hasParent(this))return;f._addParent(this)}(this._finalizers=null!==(y=this._finalizers)&&void 0!==y?y:[]).push(f)}}_hasParent(f){const{_parentage:y}=this;return y===f||Array.isArray(y)&&y.includes(f)}_addParent(f){const{_parentage:y}=this;this._parentage=Array.isArray(y)?(y.push(f),y):y?[y,f]:f}_removeParent(f){const{_parentage:y}=this;y===f?this._parentage=null:Array.isArray(y)&&(0,g.P)(y,f)}remove(f){const{_finalizers:y}=this;y&&(0,g.P)(y,f),f instanceof c&&f._removeParent(this)}}c.EMPTY=(()=>{const _=new c;return _.closed=!0,_})();const d=c.EMPTY;function u(_){return _ instanceof c||_&&"closed"in _&&(0,n.m)(_.remove)&&(0,n.m)(_.add)&&(0,n.m)(_.unsubscribe)}function m(_){(0,n.m)(_)?_():_.unsubscribe()}},2653:(Z,o,a)=>{"use strict";a.d(o,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(Z,o,a)=>{"use strict";a.d(o,{a:()=>f});var n=a(3018),s=a(7453),p=a(7715),g=a(2737),c=a(7400),d=a(9940),u=a(2714),m=a(8251),_=a(7103);function f(...v){const w=(0,d.yG)(v),O=(0,d.jO)(v),{args:F,keys:S}=(0,s.D)(v);if(0===F.length)return(0,p.D)([],w);const K=new n.y(function y(v,w,O=g.y){return F=>{b(w,()=>{const{length:S}=v,K=new Array(S);let V=S,ee=S;for(let W=0;W<S;W++)b(w,()=>{const Y=(0,p.D)(v[W],w);let ue=!1;Y.subscribe((0,m.x)(F,ie=>{K[W]=ie,ue||(ue=!0,ee--),ee||F.next(O(K.slice()))},()=>{--V||F.complete()}))},F)},F)}}(F,w,S?V=>(0,u.n)(S,V):g.y));return O?K.pipe((0,c.Z)(O)):K}function b(v,w,O){v?(0,_.f)(O,v,w):w()}},5211:(Z,o,a)=>{"use strict";a.d(o,{z:()=>c});var n=a(7537),p=a(9940),g=a(7715);function c(...d){return function s(){return(0,n.J)(1)}()((0,g.D)(d,(0,p.yG)(d)))}},6232:(Z,o,a)=>{"use strict";a.d(o,{E:()=>s});const s=new(a(3018).y)(c=>c.complete())},9315:(Z,o,a)=>{"use strict";a.d(o,{D:()=>m});var n=a(3018),s=a(7453),p=a(4829),g=a(9940),c=a(8251),d=a(7400),u=a(2714);function m(..._){const f=(0,g.jO)(_),{args:y,keys:b}=(0,s.D)(_),v=new n.y(w=>{const{length:O}=y;if(!O)return void w.complete();const F=new Array(O);let S=O,K=O;for(let V=0;V<O;V++){let ee=!1;(0,p.Xf)(y[V]).subscribe((0,c.x)(w,W=>{ee||(ee=!0,K--),F[V]=W},()=>S--,void 0,()=>{(!S||!ee)&&(K||w.next(b?(0,u.n)(b,F):F),w.complete())}))}});return f?v.pipe((0,d.Z)(f)):v}},7715:(Z,o,a)=>{"use strict";a.d(o,{D:()=>ie});var n=a(4829),s=a(7103),p=a(9360),g=a(8251);function c(te,ve=0){return(0,p.e)((nt,be)=>{nt.subscribe((0,g.x)(be,Ye=>(0,s.f)(be,te,()=>be.next(Ye),ve),()=>(0,s.f)(be,te,()=>be.complete(),ve),Ye=>(0,s.f)(be,te,()=>be.error(Ye),ve)))})}function d(te,ve=0){return(0,p.e)((nt,be)=>{be.add(te.schedule(()=>nt.subscribe(be),ve))})}var _=a(3018),y=a(4971),b=a(4674);function w(te,ve){if(!te)throw new Error("Iterable cannot be null");return new _.y(nt=>{(0,s.f)(nt,ve,()=>{const be=te[Symbol.asyncIterator]();(0,s.f)(nt,ve,()=>{be.next().then(Ye=>{Ye.done?nt.complete():nt.next(Ye.value)})},0,!0)})})}var O=a(8382),F=a(4026),S=a(4266),K=a(3664),V=a(5726),ee=a(9853),W=a(541);function ie(te,ve){return ve?function ue(te,ve){if(null!=te){if((0,O.c)(te))return function u(te,ve){return(0,n.Xf)(te).pipe(d(ve),c(ve))}(te,ve);if((0,S.z)(te))return function f(te,ve){return new _.y(nt=>{let be=0;return ve.schedule(function(){be===te.length?nt.complete():(nt.next(te[be++]),nt.closed||this.schedule())})})}(te,ve);if((0,F.t)(te))return function m(te,ve){return(0,n.Xf)(te).pipe(d(ve),c(ve))}(te,ve);if((0,V.D)(te))return w(te,ve);if((0,K.T)(te))return function v(te,ve){return new _.y(nt=>{let be;return(0,s.f)(nt,ve,()=>{be=te[y.h](),(0,s.f)(nt,ve,()=>{let Ye,pe;try{({value:Ye,done:pe}=be.next())}catch(Le){return void nt.error(Le)}pe?nt.complete():nt.next(Ye)},0,!0)}),()=>(0,b.m)(be?.return)&&be.return()})}(te,ve);if((0,W.L)(te))return function Y(te,ve){return w((0,W.Q)(te),ve)}(te,ve)}throw(0,ee.z)(te)}(te,ve):(0,n.Xf)(te)}},2438:(Z,o,a)=>{"use strict";a.d(o,{R:()=>f});var n=a(4829),s=a(3018),p=a(1631),g=a(4266),c=a(4674),d=a(7400);const u=["addListener","removeListener"],m=["addEventListener","removeEventListener"],_=["on","off"];function f(O,F,S,K){if((0,c.m)(S)&&(K=S,S=void 0),K)return f(O,F,S).pipe((0,d.Z)(K));const[V,ee]=function w(O){return(0,c.m)(O.addEventListener)&&(0,c.m)(O.removeEventListener)}(O)?m.map(W=>Y=>O[W](F,Y,S)):function b(O){return(0,c.m)(O.addListener)&&(0,c.m)(O.removeListener)}(O)?u.map(y(O,F)):function v(O){return(0,c.m)(O.on)&&(0,c.m)(O.off)}(O)?_.map(y(O,F)):[];if(!V&&(0,g.z)(O))return(0,p.z)(W=>f(W,F,S))((0,n.Xf)(O));if(!V)throw new TypeError("Invalid event target");return new s.y(W=>{const Y=(...ue)=>W.next(1<ue.length?ue:ue[0]);return V(Y),()=>ee(Y)})}function y(O,F){return S=>K=>O[S](F,K)}},4829:(Z,o,a)=>{"use strict";a.d(o,{Xf:()=>v});var n=a(7582),s=a(4266),p=a(4026),g=a(3018),c=a(8382),d=a(5726),u=a(9853),m=a(3664),_=a(541),f=a(4674),y=a(3894),b=a(4850);function v(W){if(W instanceof g.y)return W;if(null!=W){if((0,c.c)(W))return function w(W){return new g.y(Y=>{const ue=W[b.L]();if((0,f.m)(ue.subscribe))return ue.subscribe(Y);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(W);if((0,s.z)(W))return function O(W){return new g.y(Y=>{for(let ue=0;ue<W.length&&!Y.closed;ue++)Y.next(W[ue]);Y.complete()})}(W);if((0,p.t)(W))return function F(W){return new g.y(Y=>{W.then(ue=>{Y.closed||(Y.next(ue),Y.complete())},ue=>Y.error(ue)).then(null,y.h)})}(W);if((0,d.D)(W))return K(W);if((0,m.T)(W))return function S(W){return new g.y(Y=>{for(const ue of W)if(Y.next(ue),Y.closed)return;Y.complete()})}(W);if((0,_.L)(W))return function V(W){return K((0,_.Q)(W))}(W)}throw(0,u.z)(W)}function K(W){return new g.y(Y=>{(function ee(W,Y){var ue,ie,te,ve;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(ue=(0,n.__asyncValues)(W);!(ie=yield ue.next()).done;)if(Y.next(ie.value),Y.closed)return}catch(nt){te={error:nt}}finally{try{ie&&!ie.done&&(ve=ue.return)&&(yield ve.call(ue))}finally{if(te)throw te.error}}Y.complete()})})(W,Y).catch(ue=>Y.error(ue))})}},3019:(Z,o,a)=>{"use strict";a.d(o,{T:()=>d});var n=a(7537),s=a(4829),p=a(6232),g=a(9940),c=a(7715);function d(...u){const m=(0,g.yG)(u),_=(0,g._6)(u,1/0),f=u;return f.length?1===f.length?(0,s.Xf)(f[0]):(0,n.J)(_)((0,c.D)(f,m)):p.E}},2096:(Z,o,a)=>{"use strict";a.d(o,{of:()=>p});var n=a(9940),s=a(7715);function p(...g){const c=(0,n.yG)(g);return(0,s.D)(g,c)}},4825:(Z,o,a)=>{"use strict";a.d(o,{H:()=>c});var n=a(3018),s=a(6321),p=a(671);function c(d=0,u,m=s.P){let _=-1;return null!=u&&((0,p.K)(u)?m=u:_=u),new n.y(f=>{let y=function g(d){return d instanceof Date&&!isNaN(d)}(d)?+d-m.now():d;y<0&&(y=0);let b=0;return m.schedule(function(){f.closed||(f.next(b++),0<=_?this.schedule(void 0,_):f.complete())},y)})}},8251:(Z,o,a)=>{"use strict";a.d(o,{x:()=>s});var n=a(305);function s(g,c,d,u,m){return new p(g,c,d,u,m)}class p extends n.Lv{constructor(c,d,u,m,_,f){super(c),this.onFinalize=_,this.shouldUnsubscribe=f,this._next=d?function(y){try{d(y)}catch(b){c.error(b)}}:super._next,this._error=m?function(y){try{m(y)}catch(b){c.error(b)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(y){c.error(y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:d}=this;super.unsubscribe(),!d&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},3620:(Z,o,a)=>{"use strict";a.d(o,{b:()=>g});var n=a(6321),s=a(9360),p=a(8251);function g(c,d=n.z){return(0,s.e)((u,m)=>{let _=null,f=null,y=null;const b=()=>{if(_){_.unsubscribe(),_=null;const w=f;f=null,m.next(w)}};function v(){const w=y+c,O=d.now();if(O<w)return _=this.schedule(void 0,w-O),void m.add(_);b()}u.subscribe((0,p.x)(m,w=>{f=w,y=d.now(),_||(_=d.schedule(v,c),m.add(_))},()=>{b(),m.complete()},void 0,()=>{f=_=null}))})}},3997:(Z,o,a)=>{"use strict";a.d(o,{x:()=>g});var n=a(2737),s=a(9360),p=a(8251);function g(d,u=n.y){return d=d??c,(0,s.e)((m,_)=>{let f,y=!0;m.subscribe((0,p.x)(_,b=>{const v=u(b);(y||!d(f,v))&&(y=!1,f=v,_.next(b))}))})}function c(d,u){return d===u}},2181:(Z,o,a)=>{"use strict";a.d(o,{h:()=>p});var n=a(9360),s=a(8251);function p(g,c){return(0,n.e)((d,u)=>{let m=0;d.subscribe((0,s.x)(u,_=>g.call(c,_,m++)&&u.next(_)))})}},4716:(Z,o,a)=>{"use strict";a.d(o,{x:()=>s});var n=a(9360);function s(p){return(0,n.e)((g,c)=>{try{g.subscribe(c)}finally{c.add(p)}})}},2827:(Z,o,a)=>{"use strict";a.d(o,{P:()=>y});const s=(0,a(2306).d)(b=>function(){b(this),this.name="EmptyError",this.message="no elements in sequence"});var p=a(2181),g=a(8180),c=a(9360),d=a(8251);function m(b=_){return(0,c.e)((v,w)=>{let O=!1;v.subscribe((0,d.x)(w,F=>{O=!0,w.next(F)},()=>O?w.complete():w.error(b())))})}function _(){return new s}var f=a(2737);function y(b,v){const w=arguments.length>=2;return O=>O.pipe(b?(0,p.h)((F,S)=>b(F,S,O)):f.y,(0,g.q)(1),w?function u(b){return(0,c.e)((v,w)=>{let O=!1;v.subscribe((0,d.x)(w,F=>{O=!0,w.next(F)},()=>{O||w.next(b),w.complete()}))})}(v):m(()=>new s))}},7398:(Z,o,a)=>{"use strict";a.d(o,{U:()=>p});var n=a(9360),s=a(8251);function p(g,c){return(0,n.e)((d,u)=>{let m=0;d.subscribe((0,s.x)(u,_=>{u.next(g.call(c,_,m++))}))})}},7537:(Z,o,a)=>{"use strict";a.d(o,{J:()=>p});var n=a(1631),s=a(2737);function p(g=1/0){return(0,n.z)(s.y,g)}},1631:(Z,o,a)=>{"use strict";a.d(o,{z:()=>m});var n=a(7398),s=a(4829),p=a(9360),g=a(7103),c=a(8251),u=a(4674);function m(_,f,y=1/0){return(0,u.m)(f)?m((b,v)=>(0,n.U)((w,O)=>f(b,w,v,O))((0,s.Xf)(_(b,v))),y):("number"==typeof f&&(y=f),(0,p.e)((b,v)=>function d(_,f,y,b,v,w,O,F){const S=[];let K=0,V=0,ee=!1;const W=()=>{ee&&!S.length&&!K&&f.complete()},Y=ie=>K<b?ue(ie):S.push(ie),ue=ie=>{w&&f.next(ie),K++;let te=!1;(0,s.Xf)(y(ie,V++)).subscribe((0,c.x)(f,ve=>{v?.(ve),w?Y(ve):f.next(ve)},()=>{te=!0},void 0,()=>{if(te)try{for(K--;S.length&&K<b;){const ve=S.shift();O?(0,g.f)(f,O,()=>ue(ve)):ue(ve)}W()}catch(ve){f.error(ve)}}))};return _.subscribe((0,c.x)(f,Y,()=>{ee=!0,W()})),()=>{F?.()}}(b,v,_,y)))}},3020:(Z,o,a)=>{"use strict";a.d(o,{B:()=>c});var n=a(4829),s=a(8645),p=a(305),g=a(9360);function c(u={}){const{connector:m=(()=>new s.x),resetOnError:_=!0,resetOnComplete:f=!0,resetOnRefCountZero:y=!0}=u;return b=>{let v,w,O,F=0,S=!1,K=!1;const V=()=>{w?.unsubscribe(),w=void 0},ee=()=>{V(),v=O=void 0,S=K=!1},W=()=>{const Y=v;ee(),Y?.unsubscribe()};return(0,g.e)((Y,ue)=>{F++,!K&&!S&&V();const ie=O=O??m();ue.add(()=>{F--,0===F&&!K&&!S&&(w=d(W,y))}),ie.subscribe(ue),!v&&F>0&&(v=new p.Hp({next:te=>ie.next(te),error:te=>{K=!0,V(),w=d(ee,_,te),ie.error(te)},complete:()=>{S=!0,V(),w=d(ee,f),ie.complete()}}),(0,n.Xf)(Y).subscribe(v))})(b)}}function d(u,m,..._){if(!0===m)return void u();if(!1===m)return;const f=new p.Hp({next:()=>{f.unsubscribe(),u()}});return(0,n.Xf)(m(..._)).subscribe(f)}},836:(Z,o,a)=>{"use strict";a.d(o,{T:()=>s});var n=a(2181);function s(p){return(0,n.h)((g,c)=>p<=c)}},7921:(Z,o,a)=>{"use strict";a.d(o,{O:()=>g});var n=a(5211),s=a(9940),p=a(9360);function g(...c){const d=(0,s.yG)(c);return(0,p.e)((u,m)=>{(d?(0,n.z)(c,u,d):(0,n.z)(c,u)).subscribe(m)})}},4664:(Z,o,a)=>{"use strict";a.d(o,{w:()=>g});var n=a(4829),s=a(9360),p=a(8251);function g(c,d){return(0,s.e)((u,m)=>{let _=null,f=0,y=!1;const b=()=>y&&!_&&m.complete();u.subscribe((0,p.x)(m,v=>{_?.unsubscribe();let w=0;const O=f++;(0,n.Xf)(c(v,O)).subscribe(_=(0,p.x)(m,F=>m.next(d?d(v,F,O,w++):F),()=>{_=null,b()}))},()=>{y=!0,b()}))})}},8180:(Z,o,a)=>{"use strict";a.d(o,{q:()=>g});var n=a(6232),s=a(9360),p=a(8251);function g(c){return c<=0?()=>n.E:(0,s.e)((d,u)=>{let m=0;d.subscribe((0,p.x)(u,_=>{++m<=c&&(u.next(_),c<=m&&u.complete())}))})}},9773:(Z,o,a)=>{"use strict";a.d(o,{R:()=>c});var n=a(9360),s=a(8251),p=a(4829),g=a(2420);function c(d){return(0,n.e)((u,m)=>{(0,p.Xf)(d).subscribe((0,s.x)(m,()=>m.complete(),g.Z)),!m.closed&&u.subscribe(m)})}},9397:(Z,o,a)=>{"use strict";a.d(o,{b:()=>c});var n=a(4674),s=a(9360),p=a(8251),g=a(2737);function c(d,u,m){const _=(0,n.m)(d)||u||m?{next:d,error:u,complete:m}:d;return _?(0,s.e)((f,y)=>{var b;null===(b=_.subscribe)||void 0===b||b.call(_);let v=!0;f.subscribe((0,p.x)(y,w=>{var O;null===(O=_.next)||void 0===O||O.call(_,w),y.next(w)},()=>{var w;v=!1,null===(w=_.complete)||void 0===w||w.call(_),y.complete()},w=>{var O;v=!1,null===(O=_.error)||void 0===O||O.call(_,w),y.error(w)},()=>{var w,O;v&&(null===(w=_.unsubscribe)||void 0===w||w.call(_)),null===(O=_.finalize)||void 0===O||O.call(_)}))}):g.y}},1954:(Z,o,a)=>{"use strict";a.d(o,{o:()=>c});var n=a(7394);class s extends n.w0{constructor(u,m){super()}schedule(u,m=0){return this}}const p={setInterval(d,u,...m){const{delegate:_}=p;return _?.setInterval?_.setInterval(d,u,...m):setInterval(d,u,...m)},clearInterval(d){const{delegate:u}=p;return(u?.clearInterval||clearInterval)(d)},delegate:void 0};var g=a(9039);class c extends s{constructor(u,m){super(u,m),this.scheduler=u,this.work=m,this.pending=!1}schedule(u,m=0){var _;if(this.closed)return this;this.state=u;const f=this.id,y=this.scheduler;return null!=f&&(this.id=this.recycleAsyncId(y,f,m)),this.pending=!0,this.delay=m,this.id=null!==(_=this.id)&&void 0!==_?_:this.requestAsyncId(y,this.id,m),this}requestAsyncId(u,m,_=0){return p.setInterval(u.flush.bind(u,this),_)}recycleAsyncId(u,m,_=0){if(null!=_&&this.delay===_&&!1===this.pending)return m;null!=m&&p.clearInterval(m)}execute(u,m){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const _=this._execute(u,m);if(_)return _;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(u,m){let f,_=!1;try{this.work(u)}catch(y){_=!0,f=y||new Error("Scheduled action threw falsy error")}if(_)return this.unsubscribe(),f}unsubscribe(){if(!this.closed){const{id:u,scheduler:m}=this,{actions:_}=m;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(_,this),null!=u&&(this.id=this.recycleAsyncId(m,u,null)),this.delay=null,super.unsubscribe()}}}},9931:(Z,o,a)=>{"use strict";a.d(o,{v:()=>p});const n={now:()=>(n.delegate||Date).now(),delegate:void 0};class s{constructor(c,d=s.now){this.schedulerActionCtor=c,this.now=d}schedule(c,d=0,u){return new this.schedulerActionCtor(this,c).schedule(u,d)}}s.now=n.now;class p extends s{constructor(c,d=s.now){super(c,d),this.actions=[],this._active=!1}flush(c){const{actions:d}=this;if(this._active)return void d.push(c);let u;this._active=!0;do{if(u=c.execute(c.state,c.delay))break}while(c=d.shift());if(this._active=!1,u){for(;c=d.shift();)c.unsubscribe();throw u}}}},6410:(Z,o,a)=>{"use strict";a.d(o,{E:()=>w});var n=a(1954);let p,s=1;const g={};function c(F){return F in g&&(delete g[F],!0)}const d={setImmediate(F){const S=s++;return g[S]=!0,p||(p=Promise.resolve()),p.then(()=>c(S)&&F()),S},clearImmediate(F){c(F)}},{setImmediate:m,clearImmediate:_}=d,f={setImmediate(...F){const{delegate:S}=f;return(S?.setImmediate||m)(...F)},clearImmediate(F){const{delegate:S}=f;return(S?.clearImmediate||_)(F)},delegate:void 0};var b=a(9931);const w=new class v extends b.v{flush(S){this._active=!0;const K=this._scheduled;this._scheduled=void 0;const{actions:V}=this;let ee;S=S||V.shift();do{if(ee=S.execute(S.state,S.delay))break}while((S=V[0])&&S.id===K&&V.shift());if(this._active=!1,ee){for(;(S=V[0])&&S.id===K&&V.shift();)S.unsubscribe();throw ee}}}(class y extends n.o{constructor(S,K){super(S,K),this.scheduler=S,this.work=K}requestAsyncId(S,K,V=0){return null!==V&&V>0?super.requestAsyncId(S,K,V):(S.actions.push(this),S._scheduled||(S._scheduled=f.setImmediate(S.flush.bind(S,void 0))))}recycleAsyncId(S,K,V=0){var ee;if(null!=V?V>0:this.delay>0)return super.recycleAsyncId(S,K,V);const{actions:W}=S;null!=K&&(null===(ee=W[W.length-1])||void 0===ee?void 0:ee.id)!==K&&(f.clearImmediate(K),S._scheduled===K&&(S._scheduled=void 0))}})},6321:(Z,o,a)=>{"use strict";a.d(o,{P:()=>g,z:()=>p});var n=a(1954);const p=new(a(9931).v)(n.o),g=p},7599:(Z,o,a)=>{"use strict";a.d(o,{z:()=>n});const n={setTimeout(s,p,...g){const{delegate:c}=n;return c?.setTimeout?c.setTimeout(s,p,...g):setTimeout(s,p,...g)},clearTimeout(s){const{delegate:p}=n;return(p?.clearTimeout||clearTimeout)(s)},delegate:void 0}},4971:(Z,o,a)=>{"use strict";a.d(o,{h:()=>s});const s=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Z,o,a)=>{"use strict";a.d(o,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(Z,o,a)=>{"use strict";a.d(o,{_6:()=>d,jO:()=>g,yG:()=>c});var n=a(4674),s=a(671);function p(u){return u[u.length-1]}function g(u){return(0,n.m)(p(u))?u.pop():void 0}function c(u){return(0,s.K)(p(u))?u.pop():void 0}function d(u,m){return"number"==typeof p(u)?u.pop():m}},7453:(Z,o,a)=>{"use strict";a.d(o,{D:()=>c});const{isArray:n}=Array,{getPrototypeOf:s,prototype:p,keys:g}=Object;function c(u){if(1===u.length){const m=u[0];if(n(m))return{args:m,keys:null};if(function d(u){return u&&"object"==typeof u&&s(u)===p}(m)){const _=g(m);return{args:_.map(f=>m[f]),keys:_}}}return{args:u,keys:null}}},9039:(Z,o,a)=>{"use strict";function n(s,p){if(s){const g=s.indexOf(p);0<=g&&s.splice(g,1)}}a.d(o,{P:()=>n})},2306:(Z,o,a)=>{"use strict";function n(s){const g=s(c=>{Error.call(c),c.stack=(new Error).stack});return g.prototype=Object.create(Error.prototype),g.prototype.constructor=g,g}a.d(o,{d:()=>n})},2714:(Z,o,a)=>{"use strict";function n(s,p){return s.reduce((g,c,d)=>(g[c]=p[d],g),{})}a.d(o,{n:()=>n})},1441:(Z,o,a)=>{"use strict";a.d(o,{O:()=>g,x:()=>p});var n=a(2653);let s=null;function p(c){if(n.config.useDeprecatedSynchronousErrorHandling){const d=!s;if(d&&(s={errorThrown:!1,error:null}),c(),d){const{errorThrown:u,error:m}=s;if(s=null,u)throw m}}else c()}function g(c){n.config.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=c)}},7103:(Z,o,a)=>{"use strict";function n(s,p,g,c=0,d=!1){const u=p.schedule(function(){g(),d?s.add(this.schedule(null,c)):this.unsubscribe()},c);if(s.add(u),!d)return u}a.d(o,{f:()=>n})},2737:(Z,o,a)=>{"use strict";function n(s){return s}a.d(o,{y:()=>n})},4266:(Z,o,a)=>{"use strict";a.d(o,{z:()=>n});const n=s=>s&&"number"==typeof s.length&&"function"!=typeof s},5726:(Z,o,a)=>{"use strict";a.d(o,{D:()=>s});var n=a(4674);function s(p){return Symbol.asyncIterator&&(0,n.m)(p?.[Symbol.asyncIterator])}},4674:(Z,o,a)=>{"use strict";function n(s){return"function"==typeof s}a.d(o,{m:()=>n})},8382:(Z,o,a)=>{"use strict";a.d(o,{c:()=>p});var n=a(4850),s=a(4674);function p(g){return(0,s.m)(g[n.L])}},3664:(Z,o,a)=>{"use strict";a.d(o,{T:()=>p});var n=a(4971),s=a(4674);function p(g){return(0,s.m)(g?.[n.h])}},4026:(Z,o,a)=>{"use strict";a.d(o,{t:()=>s});var n=a(4674);function s(p){return(0,n.m)(p?.then)}},541:(Z,o,a)=>{"use strict";a.d(o,{L:()=>g,Q:()=>p});var n=a(7582),s=a(4674);function p(c){return(0,n.__asyncGenerator)(this,arguments,function*(){const u=c.getReader();try{for(;;){const{value:m,done:_}=yield(0,n.__await)(u.read());if(_)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(m)}}finally{u.releaseLock()}})}function g(c){return(0,s.m)(c?.getReader)}},671:(Z,o,a)=>{"use strict";a.d(o,{K:()=>s});var n=a(4674);function s(p){return p&&(0,n.m)(p.schedule)}},9360:(Z,o,a)=>{"use strict";a.d(o,{A:()=>s,e:()=>p});var n=a(4674);function s(g){return(0,n.m)(g?.lift)}function p(g){return c=>{if(s(c))return c.lift(function(d){try{return g(d,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Z,o,a)=>{"use strict";a.d(o,{Z:()=>g});var n=a(7398);const{isArray:s}=Array;function g(c){return(0,n.U)(d=>function p(c,d){return s(d)?c(...d):c(d)}(c,d))}},2420:(Z,o,a)=>{"use strict";function n(){}a.d(o,{Z:()=>n})},3894:(Z,o,a)=>{"use strict";a.d(o,{h:()=>p});var n=a(2653),s=a(7599);function p(g){s.z.setTimeout(()=>{const{onUnhandledError:c}=n.config;if(!c)throw g;c(g)})}},9853:(Z,o,a)=>{"use strict";function n(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(o,{z:()=>n})},1267:(Z,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(6325);function s(v){switch(v.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`${s(v.base)}?`;case n.ArrayType:return`[${s(v.base)}]`;case n.StructType:case n.EnumType:return`API.${v.name}`;case n.TypeReference:return s(v.type);default:throw new Error(`BUG: generateSwiftTypeName with ${v.constructor.name}`)}}function p(v){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(v)?`_${v}`:v}function g(v,w){switch(v.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`${w}`;case n.OptionalType:return`${w} == nil ? nil : ${g(v.base,`${w}!`)}`;case n.DatePrimitiveType:return`SdkgenHelper.encodeDate(date: ${w})`;case n.DateTimePrimitiveType:return`SdkgenHelper.encodeDateTime(date: ${w})`;case n.EnumType:return`${w}.rawValue`;case n.TypeReference:return`${g(v.type,`${w}`)}`;case n.StructType:return`${w}.toJSON()`;case n.ArrayType:return`${w}.map({ return ${g(v.base,"$0")} })`;case n.JsonPrimitiveType:return`try? ${w}.toJson()`;case n.VoidPrimitiveType:return"nil";case n.BytesPrimitiveType:return`${w}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${v.constructor.name}`)}}o.generateSwiftTypeName=s,o.mangle=p,o.generateJsonRepresentation=g,o.generateEnum=function c(v){let w=` public enum ${v.name}: String, Codable {\n`;return w+=v.values.map(O=>` case ${p(O.value)} = "${O.value}"`).join("\n"),w+="\n }\n",w},o.generateErrorType=function d(v){let w=" public enum ErrorType: String, Codable {\n";return w+=v.map(O=>` case ${p(O)} = "${O}"`).join("\n"),w+="\n }\n",w},o.generateClass=function _(v){return` public struct ${v.name}: Codable {\n${v.fields.map(w=>` var ${p(w.name)}: ${s(w.type)}`).join("\n")}\n\n${function u(v){let w=" init(";return w+=v.fields.map(O=>`${p(O.name)}: ${s(O.type)}`).join(", "),w+=") {\n",w+=v.fields.map(O=>` self.${p(O.name)} = ${p(O.name)}`).join("\n"),w+="\n }\n",w}(v)}\n${function m(v){let w=" func toJSON() -> [String: Any] {\n";return w+=" var json = [String: Any]()\n",w+=v.fields.map(O=>` json["${p(O.name)}"] = ${g(O.type,O.name)}`).join("\n"),w+="\n return json",w+="\n }\n",w}(v)}\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 y(v){const w=v.args.map(O=>`${p(O.name)}: ${s(O.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${v.returnType instanceof n.VoidPrimitiveType?"API.Result<API.NoReply>":`API.Result<${s(v.returnType)}>`}) -> Void)?`]);return` func ${p(v.name)}(${w.join(", ")})`},o.generateRxMethod=function b(v){const w=v.args.map(F=>`${p(F.name)}: ${s(F.type)}`).concat(["timeoutSeconds: Double? = nil"]);let O=` static func ${p(v.name)}(${w.join(", ")}) -> ${v.returnType instanceof n.VoidPrimitiveType?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${s(v.returnType)}>>`} {\n`;return O+=" return Observable.create { observer -> Disposable in\n",O+=` API.calls.${p(v.name)}(${v.args.map(F=>`${p(F.name)}: ${p(F.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,O+=" observer.on(.next(result))\n",O+=" observer.on(.completed)\n",O+=" }\n",O+=" return Disposables.create()\n",O+=" }\n",O+=" }\n",O}},3191:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(p,g,c,d){void 0===d&&(d=c);var u=Object.getOwnPropertyDescriptor(g,c);(!u||("get"in u?!g.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return g[c]}}),Object.defineProperty(p,d,u)}:function(p,g,c,d){void 0===d&&(d=c),p[d]=g[c]}),s=this&&this.__exportStar||function(p,g){for(var c in p)"default"!==c&&!Object.prototype.hasOwnProperty.call(g,c)&&n(g,p,c)};Object.defineProperty(o,"__esModule",{value:!0}),s(a(9757),o)},9757:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateSwiftClientSource=void 0;const n=a(6325),s=a(1267);o.generateSwiftClientSource=function p(g,c){let d="import Foundation\nimport SdkgenRuntime\n";d+=c?"import RxSwift\nimport RxCocoa\n\n":"\n",d+="protocol APICallsProtocol {\n",d+=g.operations.filter(_=>_.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(_=>`${(0,s.generateMethodSignature)(_)}`).join("\n"),d+="\n}\n\n",d+='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 g.enumTypes)d+=(0,s.generateEnum)(_),d+="\n";for(const _ of g.structTypes)d+=(0,s.generateClass)(_),d+="\n";const u=[],m=new n.ErrorNode("Connection",new n.VoidPrimitiveType);u.push(m.name);for(const _ of g.errors)u.push(_.name);return u.length>0&&(d+=(0,s.generateErrorType)(u),d+="\n"),d+=(0,s.generateErrorClass)(),d+="\n",d+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",d+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",d+=g.operations.filter(_=>_.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(_=>{let f="";return f+=` ${(0,s.generateMethodSignature)(_)} {\n`,_.args.length>0?(f+=" var jsonArgs = [String: Any]()\n",f+=_.args.map(y=>` jsonArgs["${(0,s.mangle)(y.name)}"] = ${(0,s.generateJsonRepresentation)(y.type,(0,s.mangle)(y.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,s.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"),d+=" }\n",d+="}\n",c&&(d+="\n",d+="extension API: ReactiveCompatible {}\n\n",d+="extension Reactive where Base: API {\n",d+=g.operations.filter(_=>_.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(_=>`${(0,s.generateRxMethod)(_)}`).join("\n"),d+="}\n"),d}},4323:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateBrowserClientSource=void 0;const n=a(6325),s=a(9117);o.generateBrowserClientSource=function p(g){let c="";c+=`/* eslint-disable */\nimport { SdkgenError${g.errors.some(u=>!(u.dataType instanceof n.VoidPrimitiveType))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n`,(0,n.hasType)(g,n.DecimalPrimitiveType)&&(c+='import { Decimal } from "decimal.js-light";\n'),c+="\n";for(const u of g.enumTypes)c+=(0,s.generateTypescriptEnum)(u),c+="\n";for(const u of g.structTypes)c+=(0,s.generateTypescriptInterface)(u,!0),c+="\n";for(const u of g.errors)c+=(0,s.generateTypescriptErrorClass)(u,!0),c+="\n";return c+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${g.operations.filter(u=>u.annotations.every(m=>!(m instanceof n.HiddenAnnotation))).map(u=>`\n ${u.name}(args${0===u.args.length?"?":""}: {${u.args.map(m=>`${m.name}${m.type.name.endsWith("?")?"?":""}: ${(0,s.generateTypescriptTypeName)(m.type,!0)}`).join(", ")}}): Promise<${(0,s.generateTypescriptTypeName)(u.returnType,!0)}> { return this.makeRequest("${u.name}", args || {}); }`).join("")}\n}\n\n`,c+=`const errClasses = {\n${g.errors.map(u=>` ${u.name}`).join(",\n")}\n};\n\n`,c+=`const astJson = ${JSON.stringify((0,n.astToJson)(g),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,c}},9117:(Z,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(6325);function s(u,m){switch(u.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 m?"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`${s(u.base,m)} | null`;case n.ArrayType:{const{base:_}=u,f=s(_,m);return _ instanceof n.OptionalType?`(${f})[]`:`${f}[]`}case n.StructType:case n.EnumType:return u.name;case n.TypeReference:return s(u.type,m);default:throw new Error(`BUG: generateTypescriptTypeName with ${u.constructor.name}`)}}o.generateTypescriptTypeName=s,o.generateTypescriptInterface=function p(u,m){return`export interface ${u.name} {\n${u.fields.map(_=>` ${_.name}: ${s(_.type,m)}`).join("\n")}\n}\n`},o.generateTypescriptEnum=function g(u){return u.hasStructValues?`export type ${u.name} = ${u.values.map(m=>m.struct?`({tag: "${m.value}"} & ${m.struct.name})`:`{tag: "${m.value}"}`).join(" | ")};\n`:`export type ${u.name} = ${u.values.map(m=>`"${m.value}"`).join(" | ")};\n`},o.generateTypescriptErrorClass=function c(u,m){return`export class ${u.name} extends ${u.dataType instanceof n.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${s(u.dataType,m)}>`} {}\n`},o.clearForLogging=function d(u,m){switch(m.constructor){case n.TypeReference:return d(u,m.type);case n.OptionalType:{const _=d(u,m.base);return _?`if (${u} !== null && ${u} !== undefined) { ${_} }`:""}case n.ArrayType:{const _=d("el",m.base);return _?`for (const el of ${u}) { ${_} }`:""}case n.StructType:{const _=[];for(const f of m.fields)if(f.secret)_.push(`${u}.${f.name} = "<secret>";`);else{const y=d(`${u}.${f.name}`,f.type);y&&_.push(y)}return _.join(" ")}default:return""}}},6077:function(Z,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(p,g,c,d){void 0===d&&(d=c);var u=Object.getOwnPropertyDescriptor(g,c);(!u||("get"in u?!g.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return g[c]}}),Object.defineProperty(p,d,u)}:function(p,g,c,d){void 0===d&&(d=c),p[d]=g[c]}),s=this&&this.__exportStar||function(p,g){for(var c in p)"default"!==c&&!Object.prototype.hasOwnProperty.call(g,c)&&n(g,p,c)};Object.defineProperty(o,"__esModule",{value:!0}),s(a(4323),o),s(a(4282),o),s(a(9151),o),s(a(3343),o)},4282:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateTypescriptInterfaces=void 0;const n=a(9117);o.generateTypescriptInterfaces=function s(p){let g="";for(const c of p.enumTypes)g+=(0,n.generateTypescriptEnum)(c);g+="\n";for(const c of p.structTypes)g+=(0,n.generateTypescriptInterface)(c,!1),g+="\n";return g}},9151:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeClientSource=void 0;const n=a(6325),s=a(9117);o.generateNodeClientSource=function p(g){let c="";const d=g.errors.some(m=>!(m.dataType instanceof n.VoidPrimitiveType));c+=`/* eslint-disable */\nimport { Context, Fatal${g.errors.filter(m=>"Fatal"!==m.name).some(m=>m.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${d?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,n.hasType)(g,n.DecimalPrimitiveType)&&(c+='import { Decimal } from "decimal.js";\n'),c+="\n";for(const m of g.enumTypes)c+=(0,s.generateTypescriptEnum)(m),c+="\n";for(const m of g.structTypes)c+=(0,s.generateTypescriptInterface)(m,!1),c+="\n";for(const m of g.errors)"Fatal"!==m.name&&(c+=(0,s.generateTypescriptErrorClass)(m,!1),c+="\n");return c+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${g.operations.filter(m=>m.annotations.every(_=>!(_ instanceof n.HiddenAnnotation))).map(m=>`\n ${m.name}(ctx: PartialDeep<Context> | null, args: {${m.args.map(_=>`${_.name}${_.type.name.endsWith("?")?"?":""}: ${(0,s.generateTypescriptTypeName)(_.type,!1)}`).join(", ")}}): Promise<${(0,s.generateTypescriptTypeName)(m.returnType,!1)}> { return this.makeRequest(ctx, "${m.name}", args); }`).join("")}\n}\n\n`,c+=`const errClasses = {\n${g.errors.map(m=>` ${m.name}`).join(",\n")}\n};\n\n`,c+=`const astJson = ${JSON.stringify((0,n.astToJson)(g),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,c}},3343:(Z,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeServerSource=void 0;const n=a(6325),s=a(9117);o.generateNodeServerSource=function p(g){let c="";const d=g.errors.some(m=>!(m.dataType instanceof n.VoidPrimitiveType));c+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${g.errors.filter(m=>"Fatal"!==m.name).some(m=>m.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${d?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,n.hasType)(g,n.DecimalPrimitiveType)&&(c+='import { Decimal } from "decimal.js";\n'),c+="\n";for(const m of g.enumTypes)c+=(0,s.generateTypescriptEnum)(m),c+="\n";for(const m of g.structTypes)c+=(0,s.generateTypescriptInterface)(m,!1),c+="\n";for(const m of g.errors)"Fatal"!==m.name&&(c+=(0,s.generateTypescriptErrorClass)(m,!1),c+="\n");return c+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare fn: {${g.operations.map(m=>`\n ${m.name}: (ctx: Context & ExtraContextT, args: {${m.args.map(_=>`${_.name}: ${(0,s.generateTypescriptTypeName)(_.type,!1)}`).join(", ")}}) => Promise<${(0,s.generateTypescriptTypeName)(m.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,n.astToJson)(g),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,c}},7156:Z=>{function o(n,s,p,g,c,d,u){try{var m=n[d](u),_=m.value}catch(f){return void p(f)}m.done?s(_):Promise.resolve(_).then(g,c)}Z.exports=function a(n){return function(){var s=this,p=arguments;return new Promise(function(g,c){var d=n.apply(s,p);function u(_){o(d,g,c,u,m,"next",_)}function m(_){o(d,g,c,u,m,"throw",_)}u(void 0)})}},Z.exports.__esModule=!0,Z.exports.default=Z.exports},6825:(Z,o,a)=>{"use strict";a.d(o,{IO:()=>O,LC:()=>s,SB:()=>_,X$:()=>g,ZE:()=>K,ZN:()=>S,_j:()=>n,eR:()=>y,jt:()=>c,k1:()=>V,l3:()=>p,oB:()=>m,pV:()=>v,ru:()=>d,vP:()=>u});class n{}class s{}const p="*";function g(ee,W){return{type:7,name:ee,definitions:W,options:{}}}function c(ee,W=null){return{type:4,styles:W,timings:ee}}function d(ee,W=null){return{type:3,steps:ee,options:W}}function u(ee,W=null){return{type:2,steps:ee,options:W}}function m(ee){return{type:6,styles:ee,offset:null}}function _(ee,W,Y){return{type:0,name:ee,styles:W,options:Y}}function y(ee,W,Y=null){return{type:1,expr:ee,animation:W,options:Y}}function v(ee=null){return{type:9,options:ee}}function O(ee,W,Y=null){return{type:11,selector:ee,animation:W,options:Y}}class S{constructor(W=0,Y=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=W+Y}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(W=>W()),this._onDoneFns=[])}onStart(W){this._originalOnStartFns.push(W),this._onStartFns.push(W)}onDone(W){this._originalOnDoneFns.push(W),this._onDoneFns.push(W)}onDestroy(W){this._onDestroyFns.push(W)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(W=>W()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(W=>W()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(W){this._position=this.totalTime?W*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(W){const Y="start"==W?this._onStartFns:this._onDoneFns;Y.forEach(ue=>ue()),Y.length=0}}class K{constructor(W){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=W;let Y=0,ue=0,ie=0;const te=this.players.length;0==te?queueMicrotask(()=>this._onFinish()):this.players.forEach(ve=>{ve.onDone(()=>{++Y==te&&this._onFinish()}),ve.onDestroy(()=>{++ue==te&&this._onDestroy()}),ve.onStart(()=>{++ie==te&&this._onStart()})}),this.totalTime=this.players.reduce((ve,nt)=>Math.max(ve,nt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(W=>W()),this._onDoneFns=[])}init(){this.players.forEach(W=>W.init())}onStart(W){this._onStartFns.push(W)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(W=>W()),this._onStartFns=[])}onDone(W){this._onDoneFns.push(W)}onDestroy(W){this._onDestroyFns.push(W)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(W=>W.play())}pause(){this.players.forEach(W=>W.pause())}restart(){this.players.forEach(W=>W.restart())}finish(){this._onFinish(),this.players.forEach(W=>W.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(W=>W.destroy()),this._onDestroyFns.forEach(W=>W()),this._onDestroyFns=[])}reset(){this.players.forEach(W=>W.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(W){const Y=W*this.totalTime;this.players.forEach(ue=>{const ie=ue.totalTime?Math.min(1,Y/ue.totalTime):1;ue.setPosition(ie)})}getPosition(){const W=this.players.reduce((Y,ue)=>null===Y||ue.totalTime>Y.totalTime?ue:Y,null);return null!=W?W.getPosition():0}beforeDestroy(){this.players.forEach(W=>{W.beforeDestroy&&W.beforeDestroy()})}triggerCallback(W){const Y="start"==W?this._onStartFns:this._onDoneFns;Y.forEach(ue=>ue()),Y.length=0}}const V="!"},4300:(Z,o,a)=>{"use strict";a.d(o,{$s:()=>be,Em:()=>Je,X6:()=>ae,ic:()=>we,kH:()=>Ot,qV:()=>xe,qm:()=>pn,rt:()=>En,tE:()=>at,yG:()=>Ee});var n=a(6814),s=a(5879),p=a(2831),g=a(8645),c=a(7394),d=a(5619),u=a(2096),m=a(6028),_=a(9397),f=a(3620),y=a(2181),b=a(7398),v=a(8180),w=a(836),O=a(3997),F=a(9773),S=a(2495),K=a(7131),V=a(1088);function ue(yt,rt){return(yt.getAttribute(rt)||"").match(/\S+/g)||[]}const te="cdk-describedby-message",ve="cdk-describedby-host";let nt=0,be=(()=>{class yt{constructor(Ie,We){this._platform=We,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+nt++,this._document=Ie,this._id=(0,s.inject)(s.APP_ID)+"-"+nt++}describe(Ie,We,mt){if(!this._canBeDescribed(Ie,We))return;const Rt=Ye(We,mt);"string"!=typeof We?(pe(We,this._id),this._messageRegistry.set(Rt,{messageElement:We,referenceCount:0})):this._messageRegistry.has(Rt)||this._createMessageElement(We,mt),this._isElementDescribedByMessage(Ie,Rt)||this._addMessageReference(Ie,Rt)}removeDescription(Ie,We,mt){if(!We||!this._isElementNode(Ie))return;const Rt=Ye(We,mt);if(this._isElementDescribedByMessage(Ie,Rt)&&this._removeMessageReference(Ie,Rt),"string"==typeof We){const Jt=this._messageRegistry.get(Rt);Jt&&0===Jt.referenceCount&&this._deleteMessageElement(Rt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ie=this._document.querySelectorAll(`[${ve}="${this._id}"]`);for(let We=0;We<Ie.length;We++)this._removeCdkDescribedByReferenceIds(Ie[We]),Ie[We].removeAttribute(ve);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Ie,We){const mt=this._document.createElement("div");pe(mt,this._id),mt.textContent=Ie,We&&mt.setAttribute("role",We),this._createMessagesContainer(),this._messagesContainer.appendChild(mt),this._messageRegistry.set(Ye(Ie,We),{messageElement:mt,referenceCount:0})}_deleteMessageElement(Ie){this._messageRegistry.get(Ie)?.messageElement?.remove(),this._messageRegistry.delete(Ie)}_createMessagesContainer(){if(this._messagesContainer)return;const Ie="cdk-describedby-message-container",We=this._document.querySelectorAll(`.${Ie}[platform="server"]`);for(let Rt=0;Rt<We.length;Rt++)We[Rt].remove();const mt=this._document.createElement("div");mt.style.visibility="hidden",mt.classList.add(Ie),mt.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&mt.setAttribute("platform","server"),this._document.body.appendChild(mt),this._messagesContainer=mt}_removeCdkDescribedByReferenceIds(Ie){const We=ue(Ie,"aria-describedby").filter(mt=>0!=mt.indexOf(te));Ie.setAttribute("aria-describedby",We.join(" "))}_addMessageReference(Ie,We){const mt=this._messageRegistry.get(We);(function W(yt,rt,Ie){const We=ue(yt,rt);We.some(mt=>mt.trim()==Ie.trim())||(We.push(Ie.trim()),yt.setAttribute(rt,We.join(" ")))})(Ie,"aria-describedby",mt.messageElement.id),Ie.setAttribute(ve,this._id),mt.referenceCount++}_removeMessageReference(Ie,We){const mt=this._messageRegistry.get(We);mt.referenceCount--,function Y(yt,rt,Ie){const mt=ue(yt,rt).filter(Rt=>Rt!=Ie.trim());mt.length?yt.setAttribute(rt,mt.join(" ")):yt.removeAttribute(rt)}(Ie,"aria-describedby",mt.messageElement.id),Ie.removeAttribute(ve)}_isElementDescribedByMessage(Ie,We){const mt=ue(Ie,"aria-describedby"),Rt=this._messageRegistry.get(We),Jt=Rt&&Rt.messageElement.id;return!!Jt&&-1!=mt.indexOf(Jt)}_canBeDescribed(Ie,We){if(!this._isElementNode(Ie))return!1;if(We&&"object"==typeof We)return!0;const mt=null==We?"":`${We}`.trim(),Rt=Ie.getAttribute("aria-label");return!(!mt||Rt&&Rt.trim()===mt)}_isElementNode(Ie){return Ie.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275inject(n.DOCUMENT),s.\u0275\u0275inject(p.t4))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();function Ye(yt,rt){return"string"==typeof yt?`${rt||""}/${yt}`:yt}function pe(yt,rt){yt.id||(yt.id=`${te}-${rt}-${nt++}`)}class Le{constructor(rt){this._items=rt,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new g.x,this._typeaheadSubscription=c.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Ie=>Ie.disabled,this._pressedLetters=[],this.tabOut=new g.x,this.change=new g.x,rt instanceof s.QueryList&&(this._itemChangesSubscription=rt.changes.subscribe(Ie=>{if(this._activeItem){const mt=Ie.toArray().indexOf(this._activeItem);mt>-1&&mt!==this._activeItemIndex&&(this._activeItemIndex=mt)}}))}skipPredicate(rt){return this._skipPredicateFn=rt,this}withWrap(rt=!0){return this._wrap=rt,this}withVerticalOrientation(rt=!0){return this._vertical=rt,this}withHorizontalOrientation(rt){return this._horizontal=rt,this}withAllowedModifierKeys(rt){return this._allowedModifierKeys=rt,this}withTypeAhead(rt=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,_.b)(Ie=>this._pressedLetters.push(Ie)),(0,f.b)(rt),(0,y.h)(()=>this._pressedLetters.length>0),(0,b.U)(()=>this._pressedLetters.join(""))).subscribe(Ie=>{const We=this._getItemsArray();for(let mt=1;mt<We.length+1;mt++){const Rt=(this._activeItemIndex+mt)%We.length,Jt=We[Rt];if(!this._skipPredicateFn(Jt)&&0===Jt.getLabel().toUpperCase().trim().indexOf(Ie)){this.setActiveItem(Rt);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(rt=!0){return this._homeAndEnd=rt,this}withPageUpDown(rt=!0,Ie=10){return this._pageUpAndDown={enabled:rt,delta:Ie},this}setActiveItem(rt){const Ie=this._activeItem;this.updateActiveItem(rt),this._activeItem!==Ie&&this.change.next(this._activeItemIndex)}onKeydown(rt){const Ie=rt.keyCode,mt=["altKey","ctrlKey","metaKey","shiftKey"].every(Rt=>!rt[Rt]||this._allowedModifierKeys.indexOf(Rt)>-1);switch(Ie){case m.Mf:return void this.tabOut.next();case m.JH:if(this._vertical&&mt){this.setNextItemActive();break}return;case m.LH:if(this._vertical&&mt){this.setPreviousItemActive();break}return;case m.SV:if(this._horizontal&&mt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.oh:if(this._horizontal&&mt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.Sd:if(this._homeAndEnd&&mt){this.setFirstItemActive();break}return;case m.uR:if(this._homeAndEnd&&mt){this.setLastItemActive();break}return;case m.Ku:if(this._pageUpAndDown.enabled&&mt){const Rt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Rt>0?Rt:0,1);break}return;case m.VM:if(this._pageUpAndDown.enabled&&mt){const Rt=this._activeItemIndex+this._pageUpAndDown.delta,Jt=this._getItemsArray().length;this._setActiveItemByIndex(Rt<Jt?Rt:Jt-1,-1);break}return;default:return void((mt||(0,m.Vb)(rt,"shiftKey"))&&(rt.key&&1===rt.key.length?this._letterKeyStream.next(rt.key.toLocaleUpperCase()):(Ie>=m.A&&Ie<=m.Z||Ie>=m.xE&&Ie<=m.aO)&&this._letterKeyStream.next(String.fromCharCode(Ie))))}this._pressedLetters=[],rt.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(rt){const Ie=this._getItemsArray(),We="number"==typeof rt?rt:Ie.indexOf(rt);this._activeItem=Ie[We]??null,this._activeItemIndex=We}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(rt){this._wrap?this._setActiveInWrapMode(rt):this._setActiveInDefaultMode(rt)}_setActiveInWrapMode(rt){const Ie=this._getItemsArray();for(let We=1;We<=Ie.length;We++){const mt=(this._activeItemIndex+rt*We+Ie.length)%Ie.length;if(!this._skipPredicateFn(Ie[mt]))return void this.setActiveItem(mt)}}_setActiveInDefaultMode(rt){this._setActiveItemByIndex(this._activeItemIndex+rt,rt)}_setActiveItemByIndex(rt,Ie){const We=this._getItemsArray();if(We[rt]){for(;this._skipPredicateFn(We[rt]);)if(!We[rt+=Ie])return;this.setActiveItem(rt)}}_getItemsArray(){return this._items instanceof s.QueryList?this._items.toArray():this._items}}class Je extends Le{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(rt){return this._origin=rt,this}setActiveItem(rt){super.setActiveItem(rt),this.activeItem&&this.activeItem.focus(this._origin)}}let we=(()=>{class yt{constructor(Ie){this._platform=Ie}isDisabled(Ie){return Ie.hasAttribute("disabled")}isVisible(Ie){return function J(yt){return!!(yt.offsetWidth||yt.offsetHeight||"function"==typeof yt.getClientRects&&yt.getClientRects().length)}(Ie)&&"visible"===getComputedStyle(Ie).visibility}isTabbable(Ie){if(!this._platform.isBrowser)return!1;const We=function re(yt){try{return yt.frameElement}catch{return null}}(function lt(yt){return yt.ownerDocument&&yt.ownerDocument.defaultView||window}(Ie));if(We&&(-1===He(We)||!this.isVisible(We)))return!1;let mt=Ie.nodeName.toLowerCase(),Rt=He(Ie);return Ie.hasAttribute("contenteditable")?-1!==Rt:!("iframe"===mt||"object"===mt||this._platform.WEBKIT&&this._platform.IOS&&!function vt(yt){let rt=yt.nodeName.toLowerCase(),Ie="input"===rt&&yt.type;return"text"===Ie||"password"===Ie||"select"===rt||"textarea"===rt}(Ie))&&("audio"===mt?!!Ie.hasAttribute("controls")&&-1!==Rt:"video"===mt?-1!==Rt&&(null!==Rt||this._platform.FIREFOX||Ie.hasAttribute("controls")):Ie.tabIndex>=0)}isFocusable(Ie,We){return function Ct(yt){return!function $(yt){return function R(yt){return"input"==yt.nodeName.toLowerCase()}(yt)&&"hidden"==yt.type}(yt)&&(function z(yt){let rt=yt.nodeName.toLowerCase();return"input"===rt||"select"===rt||"button"===rt||"textarea"===rt}(yt)||function U(yt){return function H(yt){return"a"==yt.nodeName.toLowerCase()}(yt)&&yt.hasAttribute("href")}(yt)||yt.hasAttribute("contenteditable")||Oe(yt))}(Ie)&&!this.isDisabled(Ie)&&(We?.ignoreVisibility||this.isVisible(Ie))}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275inject(p.t4))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();function Oe(yt){if(!yt.hasAttribute("tabindex")||void 0===yt.tabIndex)return!1;let rt=yt.getAttribute("tabindex");return!(!rt||isNaN(parseInt(rt,10)))}function He(yt){if(!Oe(yt))return null;const rt=parseInt(yt.getAttribute("tabindex")||"",10);return isNaN(rt)?-1:rt}class Te{get enabled(){return this._enabled}set enabled(rt){this._enabled=rt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(rt,this._startAnchor),this._toggleAnchorTabIndex(rt,this._endAnchor))}constructor(rt,Ie,We,mt,Rt=!1){this._element=rt,this._checker=Ie,this._ngZone=We,this._document=mt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Rt||this.attachAnchors()}destroy(){const rt=this._startAnchor,Ie=this._endAnchor;rt&&(rt.removeEventListener("focus",this.startAnchorListener),rt.remove()),Ie&&(Ie.removeEventListener("focus",this.endAnchorListener),Ie.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(rt){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusInitialElement(rt)))})}focusFirstTabbableElementWhenReady(rt){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusFirstTabbableElement(rt)))})}focusLastTabbableElementWhenReady(rt){return new Promise(Ie=>{this._executeOnStable(()=>Ie(this.focusLastTabbableElement(rt)))})}_getRegionBoundary(rt){const Ie=this._element.querySelectorAll(`[cdk-focus-region-${rt}], [cdkFocusRegion${rt}], [cdk-focus-${rt}]`);return"start"==rt?Ie.length?Ie[0]:this._getFirstTabbableElement(this._element):Ie.length?Ie[Ie.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(rt){const Ie=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ie){if(!this._checker.isFocusable(Ie)){const We=this._getFirstTabbableElement(Ie);return We?.focus(rt),!!We}return Ie.focus(rt),!0}return this.focusFirstTabbableElement(rt)}focusFirstTabbableElement(rt){const Ie=this._getRegionBoundary("start");return Ie&&Ie.focus(rt),!!Ie}focusLastTabbableElement(rt){const Ie=this._getRegionBoundary("end");return Ie&&Ie.focus(rt),!!Ie}hasAttached(){return this._hasAttached}_getFirstTabbableElement(rt){if(this._checker.isFocusable(rt)&&this._checker.isTabbable(rt))return rt;const Ie=rt.children;for(let We=0;We<Ie.length;We++){const mt=Ie[We].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Ie[We]):null;if(mt)return mt}return null}_getLastTabbableElement(rt){if(this._checker.isFocusable(rt)&&this._checker.isTabbable(rt))return rt;const Ie=rt.children;for(let We=Ie.length-1;We>=0;We--){const mt=Ie[We].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ie[We]):null;if(mt)return mt}return null}_createAnchor(){const rt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,rt),rt.classList.add("cdk-visually-hidden"),rt.classList.add("cdk-focus-trap-anchor"),rt.setAttribute("aria-hidden","true"),rt}_toggleAnchorTabIndex(rt,Ie){rt?Ie.setAttribute("tabindex","0"):Ie.removeAttribute("tabindex")}toggleAnchors(rt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(rt,this._startAnchor),this._toggleAnchorTabIndex(rt,this._endAnchor))}_executeOnStable(rt){this._ngZone.isStable?rt():this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(rt)}}let xe=(()=>{class yt{constructor(Ie,We,mt){this._checker=Ie,this._ngZone=We,this._document=mt}create(Ie,We=!1){return new Te(Ie,this._checker,this._ngZone,this._document,We)}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275inject(we),s.\u0275\u0275inject(s.NgZone),s.\u0275\u0275inject(n.DOCUMENT))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();function ae(yt){return 0===yt.buttons||0===yt.offsetX&&0===yt.offsetY}function Ee(yt){const rt=yt.touches&&yt.touches[0]||yt.changedTouches&&yt.changedTouches[0];return!(!rt||-1!==rt.identifier||null!=rt.radiusX&&1!==rt.radiusX||null!=rt.radiusY&&1!==rt.radiusY)}const ke=new s.InjectionToken("cdk-input-modality-detector-options"),ct={ignoreKeys:[m.zL,m.jx,m.b2,m.MW,m.JU]},wt=(0,p.i$)({passive:!0,capture:!0});let jt=(()=>{class yt{get mostRecentModality(){return this._modality.value}constructor(Ie,We,mt,Rt){this._platform=Ie,this._mostRecentTarget=null,this._modality=new d.X(null),this._lastTouchMs=0,this._onKeydown=Jt=>{this._options?.ignoreKeys?.some(ft=>ft===Jt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,p.sA)(Jt))},this._onMousedown=Jt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ae(Jt)?"keyboard":"mouse"),this._mostRecentTarget=(0,p.sA)(Jt))},this._onTouchstart=Jt=>{Ee(Jt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,p.sA)(Jt))},this._options={...ct,...Rt},this.modalityDetected=this._modality.pipe((0,w.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,O.x)()),Ie.isBrowser&&We.runOutsideAngular(()=>{mt.addEventListener("keydown",this._onKeydown,wt),mt.addEventListener("mousedown",this._onMousedown,wt),mt.addEventListener("touchstart",this._onTouchstart,wt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,wt),document.removeEventListener("mousedown",this._onMousedown,wt),document.removeEventListener("touchstart",this._onTouchstart,wt))}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275inject(p.t4),s.\u0275\u0275inject(s.NgZone),s.\u0275\u0275inject(n.DOCUMENT),s.\u0275\u0275inject(ke,8))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();const de=new s.InjectionToken("cdk-focus-monitor-default-options"),De=(0,p.i$)({passive:!0,capture:!0});let at=(()=>{class yt{constructor(Ie,We,mt,Rt,Jt){this._ngZone=Ie,this._platform=We,this._inputModalityDetector=mt,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 g.x,this._rootNodeFocusAndBlurListener=ft=>{for(let G=(0,p.sA)(ft);G;G=G.parentElement)"focus"===ft.type?this._onFocus(ft,G):this._onBlur(ft,G)},this._document=Rt,this._detectionMode=Jt?.detectionMode||0}monitor(Ie,We=!1){const mt=(0,S.fI)(Ie);if(!this._platform.isBrowser||1!==mt.nodeType)return(0,u.of)();const Rt=(0,p.kV)(mt)||this._getDocument(),Jt=this._elementInfo.get(mt);if(Jt)return We&&(Jt.checkChildren=!0),Jt.subject;const ft={checkChildren:We,subject:new g.x,rootNode:Rt};return this._elementInfo.set(mt,ft),this._registerGlobalListeners(ft),ft.subject}stopMonitoring(Ie){const We=(0,S.fI)(Ie),mt=this._elementInfo.get(We);mt&&(mt.subject.complete(),this._setClasses(We),this._elementInfo.delete(We),this._removeGlobalListeners(mt))}focusVia(Ie,We,mt){const Rt=(0,S.fI)(Ie);Rt===this._getDocument().activeElement?this._getClosestElementsInfo(Rt).forEach(([ft,ye])=>this._originChanged(ft,We,ye)):(this._setOrigin(We),"function"==typeof Rt.focus&&Rt.focus(mt))}ngOnDestroy(){this._elementInfo.forEach((Ie,We)=>this.stopMonitoring(We))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ie){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ie)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Ie&&this._isLastInteractionFromInputLabel(Ie)?"mouse":"program"}_shouldBeAttributedToTouch(Ie){return 1===this._detectionMode||!!Ie?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Ie,We){Ie.classList.toggle("cdk-focused",!!We),Ie.classList.toggle("cdk-touch-focused","touch"===We),Ie.classList.toggle("cdk-keyboard-focused","keyboard"===We),Ie.classList.toggle("cdk-mouse-focused","mouse"===We),Ie.classList.toggle("cdk-program-focused","program"===We)}_setOrigin(Ie,We=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ie,this._originFromTouchInteraction="touch"===Ie&&We,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ie,We){const mt=this._elementInfo.get(We),Rt=(0,p.sA)(Ie);!mt||!mt.checkChildren&&We!==Rt||this._originChanged(We,this._getFocusOrigin(Rt),mt)}_onBlur(Ie,We){const mt=this._elementInfo.get(We);!mt||mt.checkChildren&&Ie.relatedTarget instanceof Node&&We.contains(Ie.relatedTarget)||(this._setClasses(We),this._emitOrigin(mt,null))}_emitOrigin(Ie,We){Ie.subject.observers.length&&this._ngZone.run(()=>Ie.subject.next(We))}_registerGlobalListeners(Ie){if(!this._platform.isBrowser)return;const We=Ie.rootNode,mt=this._rootNodeFocusListenerCount.get(We)||0;mt||this._ngZone.runOutsideAngular(()=>{We.addEventListener("focus",this._rootNodeFocusAndBlurListener,De),We.addEventListener("blur",this._rootNodeFocusAndBlurListener,De)}),this._rootNodeFocusListenerCount.set(We,mt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,F.R)(this._stopInputModalityDetector)).subscribe(Rt=>{this._setOrigin(Rt,!0)}))}_removeGlobalListeners(Ie){const We=Ie.rootNode;if(this._rootNodeFocusListenerCount.has(We)){const mt=this._rootNodeFocusListenerCount.get(We);mt>1?this._rootNodeFocusListenerCount.set(We,mt-1):(We.removeEventListener("focus",this._rootNodeFocusAndBlurListener,De),We.removeEventListener("blur",this._rootNodeFocusAndBlurListener,De),this._rootNodeFocusListenerCount.delete(We))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ie,We,mt){this._setClasses(Ie,We),this._emitOrigin(mt,We),this._lastFocusOrigin=We}_getClosestElementsInfo(Ie){const We=[];return this._elementInfo.forEach((mt,Rt)=>{(Rt===Ie||mt.checkChildren&&Rt.contains(Ie))&&We.push([Rt,mt])}),We}_isLastInteractionFromInputLabel(Ie){const{_mostRecentTarget:We,mostRecentModality:mt}=this._inputModalityDetector;if("mouse"!==mt||!We||We===Ie||"INPUT"!==Ie.nodeName&&"TEXTAREA"!==Ie.nodeName||Ie.disabled)return!1;const Rt=Ie.labels;if(Rt)for(let Jt=0;Jt<Rt.length;Jt++)if(Rt[Jt].contains(We))return!0;return!1}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275inject(s.NgZone),s.\u0275\u0275inject(p.t4),s.\u0275\u0275inject(jt),s.\u0275\u0275inject(n.DOCUMENT,8),s.\u0275\u0275inject(de,8))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),Ot=(()=>{class yt{constructor(Ie,We){this._elementRef=Ie,this._focusMonitor=We,this._focusOrigin=null,this.cdkFocusChange=new s.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Ie=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ie,1===Ie.nodeType&&Ie.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(We=>{this._focusOrigin=We,this.cdkFocusChange.emit(We)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(at))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:yt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return yt})();const Lt="cdk-high-contrast-black-on-white",qt="cdk-high-contrast-white-on-black",cn="cdk-high-contrast-active";let pn=(()=>{class yt{constructor(Ie,We){this._platform=Ie,this._document=We,this._breakpointSubscription=(0,s.inject)(V.BreakpointObserver).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Ie=this._document.createElement("div");Ie.style.backgroundColor="rgb(1,2,3)",Ie.style.position="absolute",this._document.body.appendChild(Ie);const We=this._document.defaultView||window,mt=We&&We.getComputedStyle?We.getComputedStyle(Ie):null,Rt=(mt&&mt.backgroundColor||"").replace(/ /g,"");switch(Ie.remove(),Rt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ie=this._document.body.classList;Ie.remove(cn,Lt,qt),this._hasCheckedHighContrastMode=!0;const We=this.getHighContrastMode();1===We?Ie.add(cn,Lt):2===We&&Ie.add(cn,qt)}}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275inject(p.t4),s.\u0275\u0275inject(n.DOCUMENT))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),En=(()=>{class yt{constructor(Ie){Ie._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275inject(pn))};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:yt});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({imports:[K.Q8]})}return yt})()},9388:(Z,o,a)=>{"use strict";a.d(o,{Is:()=>u,vT:()=>_});var n=a(5879),s=a(6814);const p=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function g(){return(0,n.inject)(s.DOCUMENT)}}),c=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let u=(()=>{class f{constructor(b){this.value="ltr",this.change=new n.EventEmitter,b&&(this.value=function d(f){const y=f?.toLowerCase()||"";return"auto"===y&&typeof navigator<"u"&&navigator?.language?c.test(navigator.language)?"rtl":"ltr":"rtl"===y?"rtl":"ltr"}((b.body?b.body.dir:null)||(b.documentElement?b.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(v){return new(v||f)(n.\u0275\u0275inject(p,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),_=(()=>{class f{static#e=this.\u0275fac=function(v){return new(v||f)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:f});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return f})()},2495:(Z,o,a)=>{"use strict";a.d(o,{Eq:()=>c,HM:()=>d,Ig:()=>s,fI:()=>u,su:()=>p,t6:()=>g});var n=a(5879);function s(_){return null!=_&&"false"!=`${_}`}function p(_,f=0){return g(_)?Number(_):f}function g(_){return!isNaN(parseFloat(_))&&!isNaN(Number(_))}function c(_){return Array.isArray(_)?_:[_]}function d(_){return null==_?"":"string"==typeof _?_:`${_}px`}function u(_){return _ instanceof n.ElementRef?_.nativeElement:_}},6028:(Z,o,a)=>{"use strict";a.d(o,{A:()=>$,JH:()=>ee,JU:()=>d,K5:()=>c,Ku:()=>v,LH:()=>K,L_:()=>b,MW:()=>Qt,Mf:()=>p,SV:()=>V,Sd:()=>F,VM:()=>w,Vb:()=>X,Z:()=>Zt,ZH:()=>s,aO:()=>q,b2:()=>st,hY:()=>y,jx:()=>u,oh:()=>S,uR:()=>O,xE:()=>te,yY:()=>ie,zL:()=>m});const s=8,p=9,c=13,d=16,u=17,m=18,y=27,b=32,v=33,w=34,O=35,F=36,S=37,K=38,V=39,ee=40,ie=46,te=48,q=57,$=65,Zt=90,Qt=91,st=224;function X(me,...ne){return ne.length?ne.some(Qe=>me[Qe]):me.altKey||me.shiftKey||me.ctrlKey||me.metaKey}},1088:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{BreakpointObserver:()=>ee,Breakpoints:()=>Y,LayoutModule:()=>w,MediaMatcher:()=>S});var n=a(5879),s=a(2495),p=a(8645),g=a(2572),c=a(5211),d=a(3018),u=a(8180),m=a(836),_=a(3620),f=a(7398),y=a(7921),b=a(9773),v=a(2831);let w=(()=>{class ue{static#e=this.\u0275fac=function(ve){return new(ve||ue)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return ue})();const O=new Set;let F,S=(()=>{class ue{constructor(te,ve){this._platform=te,this._nonce=ve,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):V}matchMedia(te){return(this._platform.WEBKIT||this._platform.BLINK)&&function K(ue,ie){if(!O.has(ue))try{F||(F=document.createElement("style"),ie&&(F.nonce=ie),F.setAttribute("type","text/css"),document.head.appendChild(F)),F.sheet&&(F.sheet.insertRule(`@media ${ue} {body{ }}`,0),O.add(ue))}catch(te){console.error(te)}}(te,this._nonce),this._matchMedia(te)}static#e=this.\u0275fac=function(ve){return new(ve||ue)(n.\u0275\u0275inject(v.t4),n.\u0275\u0275inject(n.CSP_NONCE,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function V(ue){return{matches:"all"===ue||""===ue,media:ue,addListener:()=>{},removeListener:()=>{}}}let ee=(()=>{class ue{constructor(te,ve){this._mediaMatcher=te,this._zone=ve,this._queries=new Map,this._destroySubject=new p.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(te){return W((0,s.Eq)(te)).some(nt=>this._registerQuery(nt).mql.matches)}observe(te){const nt=W((0,s.Eq)(te)).map(Ye=>this._registerQuery(Ye).observable);let be=(0,g.a)(nt);return be=(0,c.z)(be.pipe((0,u.q)(1)),be.pipe((0,m.T)(1),(0,_.b)(0))),be.pipe((0,f.U)(Ye=>{const pe={matches:!1,breakpoints:{}};return Ye.forEach(({matches:Le,query:Xe})=>{pe.matches=pe.matches||Le,pe.breakpoints[Xe]=Le}),pe}))}_registerQuery(te){if(this._queries.has(te))return this._queries.get(te);const ve=this._mediaMatcher.matchMedia(te),be={observable:new d.y(Ye=>{const pe=Le=>this._zone.run(()=>Ye.next(Le));return ve.addListener(pe),()=>{ve.removeListener(pe)}}).pipe((0,y.O)(ve),(0,f.U)(({matches:Ye})=>({query:te,matches:Ye})),(0,b.R)(this._destroySubject)),mql:ve};return this._queries.set(te,be),be}static#e=this.\u0275fac=function(ve){return new(ve||ue)(n.\u0275\u0275inject(S),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function W(ue){return ue.map(ie=>ie.split(",")).reduce((ie,te)=>ie.concat(te)).map(ie=>ie.trim())}const Y={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7131:(Z,o,a)=>{"use strict";a.d(o,{Q8:()=>_,wD:()=>m});var n=a(2495),s=a(5879),p=a(3018),g=a(8645),c=a(3620);let d=(()=>{class f{create(b){return typeof MutationObserver>"u"?null:new MutationObserver(b)}static#e=this.\u0275fac=function(v){return new(v||f)};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),u=(()=>{class f{constructor(b){this._mutationObserverFactory=b,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((b,v)=>this._cleanupObserver(v))}observe(b){const v=(0,n.fI)(b);return new p.y(w=>{const F=this._observeElement(v).subscribe(w);return()=>{F.unsubscribe(),this._unobserveElement(v)}})}_observeElement(b){if(this._observedElements.has(b))this._observedElements.get(b).count++;else{const v=new g.x,w=this._mutationObserverFactory.create(O=>v.next(O));w&&w.observe(b,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(b,{observer:w,stream:v,count:1})}return this._observedElements.get(b).stream}_unobserveElement(b){this._observedElements.has(b)&&(this._observedElements.get(b).count--,this._observedElements.get(b).count||this._cleanupObserver(b))}_cleanupObserver(b){if(this._observedElements.has(b)){const{observer:v,stream:w}=this._observedElements.get(b);v&&v.disconnect(),w.complete(),this._observedElements.delete(b)}}static#e=this.\u0275fac=function(v){return new(v||f)(s.\u0275\u0275inject(d))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),m=(()=>{class f{get disabled(){return this._disabled}set disabled(b){this._disabled=(0,n.Ig)(b),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(b){this._debounce=(0,n.su)(b),this._subscribe()}constructor(b,v,w){this._contentObserver=b,this._elementRef=v,this._ngZone=w,this.event=new s.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const b=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?b.pipe((0,c.b)(this.debounce)):b).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(v){return new(v||f)(s.\u0275\u0275directiveInject(u),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.NgZone))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:f,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return f})(),_=(()=>{class f{static#e=this.\u0275fac=function(v){return new(v||f)};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:f});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({providers:[d]})}return f})()},9594:(Z,o,a)=>{"use strict";a.d(o,{Iu:()=>Je,U8:()=>gt,X_:()=>ue,Xj:()=>Xe,aV:()=>Ct});var n=a(9829),s=a(6814),p=a(5879),g=a(2495),c=a(2831),d=a(2181),u=a(8180),m=a(9773),_=a(9388),f=a(8484),y=a(8645),b=a(7394),v=a(3019);const w=(0,c.Mq)();class O{constructor(ae,Ee){this._viewportRuler=ae,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ee}attach(){}enable(){if(this._canBeEnabled()){const ae=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ae.style.left||"",this._previousHTMLStyles.top=ae.style.top||"",ae.style.left=(0,g.HM)(-this._previousScrollPosition.left),ae.style.top=(0,g.HM)(-this._previousScrollPosition.top),ae.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ae=this._document.documentElement,ke=ae.style,ct=this._document.body.style,ot=ke.scrollBehavior||"",wt=ct.scrollBehavior||"";this._isEnabled=!1,ke.left=this._previousHTMLStyles.left,ke.top=this._previousHTMLStyles.top,ae.classList.remove("cdk-global-scrollblock"),w&&(ke.scrollBehavior=ct.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),w&&(ke.scrollBehavior=ot,ct.scrollBehavior=wt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ee=this._document.body,ke=this._viewportRuler.getViewportSize();return Ee.scrollHeight>ke.height||Ee.scrollWidth>ke.width}}class S{constructor(ae,Ee,ke,ct){this._scrollDispatcher=ae,this._ngZone=Ee,this._viewportRuler=ke,this._config=ct,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ae){this._overlayRef=ae}enable(){if(this._scrollSubscription)return;const ae=this._scrollDispatcher.scrolled(0).pipe((0,d.h)(Ee=>!Ee||!this._overlayRef.overlayElement.contains(Ee.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ae.subscribe(()=>{const Ee=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ee-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ae.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class K{enable(){}disable(){}attach(){}}function V(et,ae){return ae.some(Ee=>et.bottom<Ee.top||et.top>Ee.bottom||et.right<Ee.left||et.left>Ee.right)}function ee(et,ae){return ae.some(Ee=>et.top<Ee.top||et.bottom>Ee.bottom||et.left<Ee.left||et.right>Ee.right)}class W{constructor(ae,Ee,ke,ct){this._scrollDispatcher=ae,this._viewportRuler=Ee,this._ngZone=ke,this._config=ct,this._scrollSubscription=null}attach(ae){this._overlayRef=ae}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Ee=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ke,height:ct}=this._viewportRuler.getViewportSize();V(Ee,[{width:ke,height:ct,bottom:ct,right:ke,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 Y=(()=>{class et{constructor(Ee,ke,ct,ot){this._scrollDispatcher=Ee,this._viewportRuler=ke,this._ngZone=ct,this.noop=()=>new K,this.close=wt=>new S(this._scrollDispatcher,this._ngZone,this._viewportRuler,wt),this.block=()=>new O(this._viewportRuler,this._document),this.reposition=wt=>new W(this._scrollDispatcher,this._viewportRuler,this._ngZone,wt),this._document=ot}static#e=this.\u0275fac=function(ke){return new(ke||et)(p.\u0275\u0275inject(n.mF),p.\u0275\u0275inject(n.rL),p.\u0275\u0275inject(p.NgZone),p.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})();class ue{constructor(ae){if(this.scrollStrategy=new K,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ae){const Ee=Object.keys(ae);for(const ke of Ee)void 0!==ae[ke]&&(this[ke]=ae[ke])}}}class ve{constructor(ae,Ee){this.connectionPair=ae,this.scrollableViewProperties=Ee}}let Ye=(()=>{class et{constructor(Ee){this._attachedOverlays=[],this._document=Ee}ngOnDestroy(){this.detach()}add(Ee){this.remove(Ee),this._attachedOverlays.push(Ee)}remove(Ee){const ke=this._attachedOverlays.indexOf(Ee);ke>-1&&this._attachedOverlays.splice(ke,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(ke){return new(ke||et)(p.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),pe=(()=>{class et extends Ye{constructor(Ee,ke){super(Ee),this._ngZone=ke,this._keydownListener=ct=>{const ot=this._attachedOverlays;for(let wt=ot.length-1;wt>-1;wt--)if(ot[wt]._keydownEvents.observers.length>0){const jt=ot[wt]._keydownEvents;this._ngZone?this._ngZone.run(()=>jt.next(ct)):jt.next(ct);break}}}add(Ee){super.add(Ee),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(ke){return new(ke||et)(p.\u0275\u0275inject(s.DOCUMENT),p.\u0275\u0275inject(p.NgZone,8))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),Le=(()=>{class et extends Ye{constructor(Ee,ke,ct){super(Ee),this._platform=ke,this._ngZone=ct,this._cursorStyleIsSet=!1,this._pointerDownListener=ot=>{this._pointerDownEventTarget=(0,c.sA)(ot)},this._clickListener=ot=>{const wt=(0,c.sA)(ot),jt="click"===ot.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:wt;this._pointerDownEventTarget=null;const Kt=this._attachedOverlays.slice();for(let Zt=Kt.length-1;Zt>-1;Zt--){const Qt=Kt[Zt];if(Qt._outsidePointerEvents.observers.length<1||!Qt.hasAttached())continue;if(Qt.overlayElement.contains(wt)||Qt.overlayElement.contains(jt))break;const dt=Qt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>dt.next(ot)):dt.next(ot)}}}add(Ee){if(super.add(Ee),!this._isAttached){const ke=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ke)):this._addEventListeners(ke),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ke.style.cursor,ke.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ee=this._document.body;Ee.removeEventListener("pointerdown",this._pointerDownListener,!0),Ee.removeEventListener("click",this._clickListener,!0),Ee.removeEventListener("auxclick",this._clickListener,!0),Ee.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ee.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ee){Ee.addEventListener("pointerdown",this._pointerDownListener,!0),Ee.addEventListener("click",this._clickListener,!0),Ee.addEventListener("auxclick",this._clickListener,!0),Ee.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(ke){return new(ke||et)(p.\u0275\u0275inject(s.DOCUMENT),p.\u0275\u0275inject(c.t4),p.\u0275\u0275inject(p.NgZone,8))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),Xe=(()=>{class et{constructor(Ee,ke){this._platform=ke,this._document=Ee}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ee="cdk-overlay-container";if(this._platform.isBrowser||(0,c.Oy)()){const ct=this._document.querySelectorAll(`.${Ee}[platform="server"], .${Ee}[platform="test"]`);for(let ot=0;ot<ct.length;ot++)ct[ot].remove()}const ke=this._document.createElement("div");ke.classList.add(Ee),(0,c.Oy)()?ke.setAttribute("platform","test"):this._platform.isBrowser||ke.setAttribute("platform","server"),this._document.body.appendChild(ke),this._containerElement=ke}static#e=this.\u0275fac=function(ke){return new(ke||et)(p.\u0275\u0275inject(s.DOCUMENT),p.\u0275\u0275inject(c.t4))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})();class Je{constructor(ae,Ee,ke,ct,ot,wt,jt,Kt,Zt,Qt=!1){this._portalOutlet=ae,this._host=Ee,this._pane=ke,this._config=ct,this._ngZone=ot,this._keyboardDispatcher=wt,this._document=jt,this._location=Kt,this._outsideClickDispatcher=Zt,this._animationsDisabled=Qt,this._backdropElement=null,this._backdropClick=new y.x,this._attachments=new y.x,this._detachments=new y.x,this._locationChanges=b.w0.EMPTY,this._backdropClickHandler=dt=>this._backdropClick.next(dt),this._backdropTransitionendHandler=dt=>{this._disposeBackdrop(dt.target)},this._keydownEvents=new y.x,this._outsidePointerEvents=new y.x,ct.scrollStrategy&&(this._scrollStrategy=ct.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ct.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ae){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ee=this._portalOutlet.attach(ae);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,u.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 Ee?.onDestroy&&Ee.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ee}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ae=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ae}dispose(){const ae=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,ae&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ae){ae!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ae,this.hasAttached()&&(ae.attach(this),this.updatePosition()))}updateSize(ae){this._config={...this._config,...ae},this._updateElementSize()}setDirection(ae){this._config={...this._config,direction:ae},this._updateElementDirection()}addPanelClass(ae){this._pane&&this._toggleClasses(this._pane,ae,!0)}removePanelClass(ae){this._pane&&this._toggleClasses(this._pane,ae,!1)}getDirection(){const ae=this._config.direction;return ae?"string"==typeof ae?ae:ae.value:"ltr"}updateScrollStrategy(ae){ae!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ae,this.hasAttached()&&(ae.attach(this),ae.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ae=this._pane.style;ae.width=(0,g.HM)(this._config.width),ae.height=(0,g.HM)(this._config.height),ae.minWidth=(0,g.HM)(this._config.minWidth),ae.minHeight=(0,g.HM)(this._config.minHeight),ae.maxWidth=(0,g.HM)(this._config.maxWidth),ae.maxHeight=(0,g.HM)(this._config.maxHeight)}_togglePointerEvents(ae){this._pane.style.pointerEvents=ae?"":"none"}_attachBackdrop(){const ae="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(ae)})}):this._backdropElement.classList.add(ae)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ae=this._backdropElement;if(ae){if(this._animationsDisabled)return void this._disposeBackdrop(ae);ae.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ae.addEventListener("transitionend",this._backdropTransitionendHandler)}),ae.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ae)},500))}}_toggleClasses(ae,Ee,ke){const ct=(0,g.Eq)(Ee||[]).filter(ot=>!!ot);ct.length&&(ke?ae.classList.add(...ct):ae.classList.remove(...ct))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ae=this._ngZone.onStable.pipe((0,m.R)((0,v.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ae.unsubscribe())})})}_disposeScrollStrategy(){const ae=this._scrollStrategy;ae&&(ae.disable(),ae.detach&&ae.detach())}_disposeBackdrop(ae){ae&&(ae.removeEventListener("click",this._backdropClickHandler),ae.removeEventListener("transitionend",this._backdropTransitionendHandler),ae.remove(),this._backdropElement===ae&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const q="cdk-overlay-connected-position-bounding-box",we=/([A-Za-z%]+)$/;class re{get positions(){return this._preferredPositions}constructor(ae,Ee,ke,ct,ot){this._viewportRuler=Ee,this._document=ke,this._platform=ct,this._overlayContainer=ot,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new y.x,this._resizeSubscription=b.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ae)}attach(ae){this._validatePositions(),ae.hostElement.classList.add(q),this._overlayRef=ae,this._boundingBox=ae.hostElement,this._pane=ae.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ae=this._originRect,Ee=this._overlayRect,ke=this._viewportRect,ct=this._containerRect,ot=[];let wt;for(let jt of this._preferredPositions){let Kt=this._getOriginPoint(ae,ct,jt),Zt=this._getOverlayPoint(Kt,Ee,jt),Qt=this._getOverlayFit(Zt,Ee,ke,jt);if(Qt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(jt,Kt);this._canFitWithFlexibleDimensions(Qt,Zt,ke)?ot.push({position:jt,origin:Kt,overlayRect:Ee,boundingBoxRect:this._calculateBoundingBoxRect(Kt,jt)}):(!wt||wt.overlayFit.visibleArea<Qt.visibleArea)&&(wt={overlayFit:Qt,overlayPoint:Zt,originPoint:Kt,position:jt,overlayRect:Ee})}if(ot.length){let jt=null,Kt=-1;for(const Zt of ot){const Qt=Zt.boundingBoxRect.width*Zt.boundingBoxRect.height*(Zt.position.weight||1);Qt>Kt&&(Kt=Qt,jt=Zt)}return this._isPushed=!1,void this._applyPosition(jt.position,jt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(wt.position,wt.originPoint);this._applyPosition(wt.position,wt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&J(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(q),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ae=this._lastPosition;if(ae){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ee=this._getOriginPoint(this._originRect,this._containerRect,ae);this._applyPosition(ae,Ee)}else this.apply()}withScrollableContainers(ae){return this._scrollables=ae,this}withPositions(ae){return this._preferredPositions=ae,-1===ae.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ae){return this._viewportMargin=ae,this}withFlexibleDimensions(ae=!0){return this._hasFlexibleDimensions=ae,this}withGrowAfterOpen(ae=!0){return this._growAfterOpen=ae,this}withPush(ae=!0){return this._canPush=ae,this}withLockedPosition(ae=!0){return this._positionLocked=ae,this}setOrigin(ae){return this._origin=ae,this}withDefaultOffsetX(ae){return this._offsetX=ae,this}withDefaultOffsetY(ae){return this._offsetY=ae,this}withTransformOriginOn(ae){return this._transformOriginSelector=ae,this}_getOriginPoint(ae,Ee,ke){let ct,ot;if("center"==ke.originX)ct=ae.left+ae.width/2;else{const wt=this._isRtl()?ae.right:ae.left,jt=this._isRtl()?ae.left:ae.right;ct="start"==ke.originX?wt:jt}return Ee.left<0&&(ct-=Ee.left),ot="center"==ke.originY?ae.top+ae.height/2:"top"==ke.originY?ae.top:ae.bottom,Ee.top<0&&(ot-=Ee.top),{x:ct,y:ot}}_getOverlayPoint(ae,Ee,ke){let ct,ot;return ct="center"==ke.overlayX?-Ee.width/2:"start"===ke.overlayX?this._isRtl()?-Ee.width:0:this._isRtl()?0:-Ee.width,ot="center"==ke.overlayY?-Ee.height/2:"top"==ke.overlayY?0:-Ee.height,{x:ae.x+ct,y:ae.y+ot}}_getOverlayFit(ae,Ee,ke,ct){const ot=$(Ee);let{x:wt,y:jt}=ae,Kt=this._getOffset(ct,"x"),Zt=this._getOffset(ct,"y");Kt&&(wt+=Kt),Zt&&(jt+=Zt);let Dt=0-jt,Ue=jt+ot.height-ke.height,de=this._subtractOverflows(ot.width,0-wt,wt+ot.width-ke.width),De=this._subtractOverflows(ot.height,Dt,Ue),at=de*De;return{visibleArea:at,isCompletelyWithinViewport:ot.width*ot.height===at,fitsInViewportVertically:De===ot.height,fitsInViewportHorizontally:de==ot.width}}_canFitWithFlexibleDimensions(ae,Ee,ke){if(this._hasFlexibleDimensions){const ct=ke.bottom-Ee.y,ot=ke.right-Ee.x,wt=z(this._overlayRef.getConfig().minHeight),jt=z(this._overlayRef.getConfig().minWidth);return(ae.fitsInViewportVertically||null!=wt&&wt<=ct)&&(ae.fitsInViewportHorizontally||null!=jt&&jt<=ot)}return!1}_pushOverlayOnScreen(ae,Ee,ke){if(this._previousPushAmount&&this._positionLocked)return{x:ae.x+this._previousPushAmount.x,y:ae.y+this._previousPushAmount.y};const ct=$(Ee),ot=this._viewportRect,wt=Math.max(ae.x+ct.width-ot.width,0),jt=Math.max(ae.y+ct.height-ot.height,0),Kt=Math.max(ot.top-ke.top-ae.y,0),Zt=Math.max(ot.left-ke.left-ae.x,0);let Qt=0,dt=0;return Qt=ct.width<=ot.width?Zt||-wt:ae.x<this._viewportMargin?ot.left-ke.left-ae.x:0,dt=ct.height<=ot.height?Kt||-jt:ae.y<this._viewportMargin?ot.top-ke.top-ae.y:0,this._previousPushAmount={x:Qt,y:dt},{x:ae.x+Qt,y:ae.y+dt}}_applyPosition(ae,Ee){if(this._setTransformOrigin(ae),this._setOverlayElementStyles(Ee,ae),this._setBoundingBoxStyles(Ee,ae),ae.panelClass&&this._addPanelClasses(ae.panelClass),this._lastPosition=ae,this._positionChanges.observers.length){const ke=this._getScrollVisibility(),ct=new ve(ae,ke);this._positionChanges.next(ct)}this._isInitialRender=!1}_setTransformOrigin(ae){if(!this._transformOriginSelector)return;const Ee=this._boundingBox.querySelectorAll(this._transformOriginSelector);let ke,ct=ae.overlayY;ke="center"===ae.overlayX?"center":this._isRtl()?"start"===ae.overlayX?"right":"left":"start"===ae.overlayX?"left":"right";for(let ot=0;ot<Ee.length;ot++)Ee[ot].style.transformOrigin=`${ke} ${ct}`}_calculateBoundingBoxRect(ae,Ee){const ke=this._viewportRect,ct=this._isRtl();let ot,wt,jt,Qt,dt,Dt;if("top"===Ee.overlayY)wt=ae.y,ot=ke.height-wt+this._viewportMargin;else if("bottom"===Ee.overlayY)jt=ke.height-ae.y+2*this._viewportMargin,ot=ke.height-jt+this._viewportMargin;else{const Ue=Math.min(ke.bottom-ae.y+ke.top,ae.y),de=this._lastBoundingBoxSize.height;ot=2*Ue,wt=ae.y-Ue,ot>de&&!this._isInitialRender&&!this._growAfterOpen&&(wt=ae.y-de/2)}if("end"===Ee.overlayX&&!ct||"start"===Ee.overlayX&&ct)Dt=ke.width-ae.x+this._viewportMargin,Qt=ae.x-this._viewportMargin;else if("start"===Ee.overlayX&&!ct||"end"===Ee.overlayX&&ct)dt=ae.x,Qt=ke.right-ae.x;else{const Ue=Math.min(ke.right-ae.x+ke.left,ae.x),de=this._lastBoundingBoxSize.width;Qt=2*Ue,dt=ae.x-Ue,Qt>de&&!this._isInitialRender&&!this._growAfterOpen&&(dt=ae.x-de/2)}return{top:wt,left:dt,bottom:jt,right:Dt,width:Qt,height:ot}}_setBoundingBoxStyles(ae,Ee){const ke=this._calculateBoundingBoxRect(ae,Ee);!this._isInitialRender&&!this._growAfterOpen&&(ke.height=Math.min(ke.height,this._lastBoundingBoxSize.height),ke.width=Math.min(ke.width,this._lastBoundingBoxSize.width));const ct={};if(this._hasExactPosition())ct.top=ct.left="0",ct.bottom=ct.right=ct.maxHeight=ct.maxWidth="",ct.width=ct.height="100%";else{const ot=this._overlayRef.getConfig().maxHeight,wt=this._overlayRef.getConfig().maxWidth;ct.height=(0,g.HM)(ke.height),ct.top=(0,g.HM)(ke.top),ct.bottom=(0,g.HM)(ke.bottom),ct.width=(0,g.HM)(ke.width),ct.left=(0,g.HM)(ke.left),ct.right=(0,g.HM)(ke.right),ct.alignItems="center"===Ee.overlayX?"center":"end"===Ee.overlayX?"flex-end":"flex-start",ct.justifyContent="center"===Ee.overlayY?"center":"bottom"===Ee.overlayY?"flex-end":"flex-start",ot&&(ct.maxHeight=(0,g.HM)(ot)),wt&&(ct.maxWidth=(0,g.HM)(wt))}this._lastBoundingBoxSize=ke,J(this._boundingBox.style,ct)}_resetBoundingBoxStyles(){J(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){J(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ae,Ee){const ke={},ct=this._hasExactPosition(),ot=this._hasFlexibleDimensions,wt=this._overlayRef.getConfig();if(ct){const Qt=this._viewportRuler.getViewportScrollPosition();J(ke,this._getExactOverlayY(Ee,ae,Qt)),J(ke,this._getExactOverlayX(Ee,ae,Qt))}else ke.position="static";let jt="",Kt=this._getOffset(Ee,"x"),Zt=this._getOffset(Ee,"y");Kt&&(jt+=`translateX(${Kt}px) `),Zt&&(jt+=`translateY(${Zt}px)`),ke.transform=jt.trim(),wt.maxHeight&&(ct?ke.maxHeight=(0,g.HM)(wt.maxHeight):ot&&(ke.maxHeight="")),wt.maxWidth&&(ct?ke.maxWidth=(0,g.HM)(wt.maxWidth):ot&&(ke.maxWidth="")),J(this._pane.style,ke)}_getExactOverlayY(ae,Ee,ke){let ct={top:"",bottom:""},ot=this._getOverlayPoint(Ee,this._overlayRect,ae);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,ke)),"bottom"===ae.overlayY?ct.bottom=this._document.documentElement.clientHeight-(ot.y+this._overlayRect.height)+"px":ct.top=(0,g.HM)(ot.y),ct}_getExactOverlayX(ae,Ee,ke){let wt,ct={left:"",right:""},ot=this._getOverlayPoint(Ee,this._overlayRect,ae);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,ke)),wt=this._isRtl()?"end"===ae.overlayX?"left":"right":"end"===ae.overlayX?"right":"left","right"===wt?ct.right=this._document.documentElement.clientWidth-(ot.x+this._overlayRect.width)+"px":ct.left=(0,g.HM)(ot.x),ct}_getScrollVisibility(){const ae=this._getOriginRect(),Ee=this._pane.getBoundingClientRect(),ke=this._scrollables.map(ct=>ct.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ae,ke),isOriginOutsideView:V(ae,ke),isOverlayClipped:ee(Ee,ke),isOverlayOutsideView:V(Ee,ke)}}_subtractOverflows(ae,...Ee){return Ee.reduce((ke,ct)=>ke-Math.max(ct,0),ae)}_getNarrowedViewportRect(){const ae=this._document.documentElement.clientWidth,Ee=this._document.documentElement.clientHeight,ke=this._viewportRuler.getViewportScrollPosition();return{top:ke.top+this._viewportMargin,left:ke.left+this._viewportMargin,right:ke.left+ae-this._viewportMargin,bottom:ke.top+Ee-this._viewportMargin,width:ae-2*this._viewportMargin,height:Ee-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ae,Ee){return"x"===Ee?null==ae.offsetX?this._offsetX:ae.offsetX:null==ae.offsetY?this._offsetY:ae.offsetY}_validatePositions(){}_addPanelClasses(ae){this._pane&&(0,g.Eq)(ae).forEach(Ee=>{""!==Ee&&-1===this._appliedPanelClasses.indexOf(Ee)&&(this._appliedPanelClasses.push(Ee),this._pane.classList.add(Ee))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ae=>{this._pane.classList.remove(ae)}),this._appliedPanelClasses=[])}_getOriginRect(){const ae=this._origin;if(ae instanceof p.ElementRef)return ae.nativeElement.getBoundingClientRect();if(ae instanceof Element)return ae.getBoundingClientRect();const Ee=ae.width||0,ke=ae.height||0;return{top:ae.y,bottom:ae.y+ke,left:ae.x,right:ae.x+Ee,height:ke,width:Ee}}}function J(et,ae){for(let Ee in ae)ae.hasOwnProperty(Ee)&&(et[Ee]=ae[Ee]);return et}function z(et){if("number"!=typeof et&&null!=et){const[ae,Ee]=et.split(we);return Ee&&"px"!==Ee?null:parseFloat(ae)}return et||null}function $(et){return{top:Math.floor(et.top),right:Math.floor(et.right),bottom:Math.floor(et.bottom),left:Math.floor(et.left),width:Math.floor(et.width),height:Math.floor(et.height)}}const H="cdk-global-overlay-wrapper";class Oe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ae){const Ee=ae.getConfig();this._overlayRef=ae,this._width&&!Ee.width&&ae.updateSize({width:this._width}),this._height&&!Ee.height&&ae.updateSize({height:this._height}),ae.hostElement.classList.add(H),this._isDisposed=!1}top(ae=""){return this._bottomOffset="",this._topOffset=ae,this._alignItems="flex-start",this}left(ae=""){return this._xOffset=ae,this._xPosition="left",this}bottom(ae=""){return this._topOffset="",this._bottomOffset=ae,this._alignItems="flex-end",this}right(ae=""){return this._xOffset=ae,this._xPosition="right",this}start(ae=""){return this._xOffset=ae,this._xPosition="start",this}end(ae=""){return this._xOffset=ae,this._xPosition="end",this}width(ae=""){return this._overlayRef?this._overlayRef.updateSize({width:ae}):this._width=ae,this}height(ae=""){return this._overlayRef?this._overlayRef.updateSize({height:ae}):this._height=ae,this}centerHorizontally(ae=""){return this.left(ae),this._xPosition="center",this}centerVertically(ae=""){return this.top(ae),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ae=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement.style,ke=this._overlayRef.getConfig(),{width:ct,height:ot,maxWidth:wt,maxHeight:jt}=ke,Kt=!("100%"!==ct&&"100vw"!==ct||wt&&"100%"!==wt&&"100vw"!==wt),Zt=!("100%"!==ot&&"100vh"!==ot||jt&&"100%"!==jt&&"100vh"!==jt),Qt=this._xPosition,dt=this._xOffset,Dt="rtl"===this._overlayRef.getConfig().direction;let Ue="",de="",De="";Kt?De="flex-start":"center"===Qt?(De="center",Dt?de=dt:Ue=dt):Dt?"left"===Qt||"end"===Qt?(De="flex-end",Ue=dt):("right"===Qt||"start"===Qt)&&(De="flex-start",de=dt):"left"===Qt||"start"===Qt?(De="flex-start",Ue=dt):("right"===Qt||"end"===Qt)&&(De="flex-end",de=dt),ae.position=this._cssPosition,ae.marginLeft=Kt?"0":Ue,ae.marginTop=Zt?"0":this._topOffset,ae.marginBottom=this._bottomOffset,ae.marginRight=Kt?"0":de,Ee.justifyContent=De,Ee.alignItems=Zt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ae=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement,ke=Ee.style;Ee.classList.remove(H),ke.justifyContent=ke.alignItems=ae.marginTop=ae.marginBottom=ae.marginLeft=ae.marginRight=ae.position="",this._overlayRef=null,this._isDisposed=!0}}let He=(()=>{class et{constructor(Ee,ke,ct,ot){this._viewportRuler=Ee,this._document=ke,this._platform=ct,this._overlayContainer=ot}global(){return new Oe}flexibleConnectedTo(Ee){return new re(Ee,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(ke){return new(ke||et)(p.\u0275\u0275inject(n.rL),p.\u0275\u0275inject(s.DOCUMENT),p.\u0275\u0275inject(c.t4),p.\u0275\u0275inject(Xe))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})(),vt=0,Ct=(()=>{class et{constructor(Ee,ke,ct,ot,wt,jt,Kt,Zt,Qt,dt,Dt,Ue){this.scrollStrategies=Ee,this._overlayContainer=ke,this._componentFactoryResolver=ct,this._positionBuilder=ot,this._keyboardDispatcher=wt,this._injector=jt,this._ngZone=Kt,this._document=Zt,this._directionality=Qt,this._location=dt,this._outsideClickDispatcher=Dt,this._animationsModuleType=Ue}create(Ee){const ke=this._createHostElement(),ct=this._createPaneElement(ke),ot=this._createPortalOutlet(ct),wt=new ue(Ee);return wt.direction=wt.direction||this._directionality.value,new Je(ot,ke,ct,wt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ee){const ke=this._document.createElement("div");return ke.id="cdk-overlay-"+vt++,ke.classList.add("cdk-overlay-pane"),Ee.appendChild(ke),ke}_createHostElement(){const Ee=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ee),Ee}_createPortalOutlet(Ee){return this._appRef||(this._appRef=this._injector.get(p.ApplicationRef)),new f.u0(Ee,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(ke){return new(ke||et)(p.\u0275\u0275inject(Y),p.\u0275\u0275inject(Xe),p.\u0275\u0275inject(p.ComponentFactoryResolver),p.\u0275\u0275inject(He),p.\u0275\u0275inject(pe),p.\u0275\u0275inject(p.Injector),p.\u0275\u0275inject(p.NgZone),p.\u0275\u0275inject(s.DOCUMENT),p.\u0275\u0275inject(_.Is),p.\u0275\u0275inject(s.Location),p.\u0275\u0275inject(Le),p.\u0275\u0275inject(p.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac,providedIn:"root"})}return et})();const Re={provide:new p.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Ct],useFactory:function Me(et){return()=>et.scrollStrategies.reposition()}};let gt=(()=>{class et{static#e=this.\u0275fac=function(ke){return new(ke||et)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:et});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[Ct,Re],imports:[_.vT,f.eL,n.Cl,n.Cl]})}return et})()},2831:(Z,o,a)=>{"use strict";a.d(o,{Mq:()=>w,Oy:()=>W,ht:()=>V,i$:()=>y,kV:()=>K,sA:()=>ee,t4:()=>g});var n=a(5879),s=a(6814);let p;try{p=typeof Intl<"u"&&Intl.v8BreakIterator}catch{p=!1}let _,v,F,g=(()=>{class Y{constructor(ie){this._platformId=ie,this.isBrowser=this._platformId?(0,s.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&&!p)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(te){return new(te||Y)(n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})();function y(Y){return function f(){if(null==_&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>_=!0}))}finally{_=_||!1}return _}()?Y:!!Y.capture}function w(){if(null==v){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return v=!1,v;if("scrollBehavior"in document.documentElement.style)v=!0;else{const Y=Element.prototype.scrollTo;v=!!Y&&!/\{\s*\[native code\]\s*\}/.test(Y.toString())}}return v}function K(Y){if(function S(){if(null==F){const Y=typeof document<"u"?document.head:null;F=!(!Y||!Y.createShadowRoot&&!Y.attachShadow)}return F}()){const ue=Y.getRootNode?Y.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ue instanceof ShadowRoot)return ue}return null}function V(){let Y=typeof document<"u"&&document?document.activeElement:null;for(;Y&&Y.shadowRoot;){const ue=Y.shadowRoot.activeElement;if(ue===Y)break;Y=ue}return Y}function ee(Y){return Y.composedPath?Y.composedPath()[0]:Y.target}function W(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Z,o,a)=>{"use strict";a.d(o,{C5:()=>f,Pl:()=>V,UE:()=>y,eL:()=>W,en:()=>v,ig:()=>S,u0:()=>O});var n=a(5879),s=a(6814);class _{attach(ie){return this._attachedHost=ie,ie.attach(this)}detach(){let ie=this._attachedHost;null!=ie&&(this._attachedHost=null,ie.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ie){this._attachedHost=ie}}class f extends _{constructor(ie,te,ve,nt,be){super(),this.component=ie,this.viewContainerRef=te,this.injector=ve,this.componentFactoryResolver=nt,this.projectableNodes=be}}class y extends _{constructor(ie,te,ve,nt){super(),this.templateRef=ie,this.viewContainerRef=te,this.context=ve,this.injector=nt}get origin(){return this.templateRef.elementRef}attach(ie,te=this.context){return this.context=te,super.attach(ie)}detach(){return this.context=void 0,super.detach()}}class b extends _{constructor(ie){super(),this.element=ie instanceof n.ElementRef?ie.nativeElement:ie}}class v{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ie){return ie instanceof f?(this._attachedPortal=ie,this.attachComponentPortal(ie)):ie instanceof y?(this._attachedPortal=ie,this.attachTemplatePortal(ie)):this.attachDomPortal&&ie instanceof b?(this._attachedPortal=ie,this.attachDomPortal(ie)):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(ie){this._disposeFn=ie}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class O extends v{constructor(ie,te,ve,nt,be){super(),this.outletElement=ie,this._componentFactoryResolver=te,this._appRef=ve,this._defaultInjector=nt,this.attachDomPortal=Ye=>{const pe=Ye.element,Le=this._document.createComment("dom-portal");pe.parentNode.insertBefore(Le,pe),this.outletElement.appendChild(pe),this._attachedPortal=Ye,super.setDisposeFn(()=>{Le.parentNode&&Le.parentNode.replaceChild(pe,Le)})},this._document=be}attachComponentPortal(ie){const ve=(ie.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ie.component);let nt;return ie.viewContainerRef?(nt=ie.viewContainerRef.createComponent(ve,ie.viewContainerRef.length,ie.injector||ie.viewContainerRef.injector,ie.projectableNodes||void 0),this.setDisposeFn(()=>nt.destroy())):(nt=ve.create(ie.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(nt.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(nt.hostView),nt.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(nt)),this._attachedPortal=ie,nt}attachTemplatePortal(ie){let te=ie.viewContainerRef,ve=te.createEmbeddedView(ie.templateRef,ie.context,{injector:ie.injector});return ve.rootNodes.forEach(nt=>this.outletElement.appendChild(nt)),ve.detectChanges(),this.setDisposeFn(()=>{let nt=te.indexOf(ve);-1!==nt&&te.remove(nt)}),this._attachedPortal=ie,ve}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ie){return ie.hostView.rootNodes[0]}}let S=(()=>{class ue extends y{constructor(te,ve){super(te,ve)}static#e=this.\u0275fac=function(ve){return new(ve||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return ue})(),V=(()=>{class ue extends v{constructor(te,ve,nt){super(),this._componentFactoryResolver=te,this._viewContainerRef=ve,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=be=>{const Ye=be.element,pe=this._document.createComment("dom-portal");be.setAttachedHost(this),Ye.parentNode.insertBefore(pe,Ye),this._getRootNode().appendChild(Ye),this._attachedPortal=be,super.setDisposeFn(()=>{pe.parentNode&&pe.parentNode.replaceChild(Ye,pe)})},this._document=nt}get portal(){return this._attachedPortal}set portal(te){this.hasAttached()&&!te&&!this._isInitialized||(this.hasAttached()&&super.detach(),te&&super.attach(te),this._attachedPortal=te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(te){te.setAttachedHost(this);const ve=null!=te.viewContainerRef?te.viewContainerRef:this._viewContainerRef,be=(te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(te.component),Ye=ve.createComponent(be,ve.length,te.injector||ve.injector,te.projectableNodes||void 0);return ve!==this._viewContainerRef&&this._getRootNode().appendChild(Ye.hostView.rootNodes[0]),super.setDisposeFn(()=>Ye.destroy()),this._attachedPortal=te,this._attachedRef=Ye,this.attached.emit(Ye),Ye}attachTemplatePortal(te){te.setAttachedHost(this);const ve=this._viewContainerRef.createEmbeddedView(te.templateRef,te.context,{injector:te.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=te,this._attachedRef=ve,this.attached.emit(ve),ve}_getRootNode(){const te=this._viewContainerRef.element.nativeElement;return te.nodeType===te.ELEMENT_NODE?te:te.parentNode}static#e=this.\u0275fac=function(ve){return new(ve||ue)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(s.DOCUMENT))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return ue})(),W=(()=>{class ue{static#e=this.\u0275fac=function(ve){return new(ve||ue)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ue});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return ue})()},9829:(Z,o,a)=>{"use strict";a.d(o,{ZD:()=>lt,mF:()=>q,Cl:()=>Te,rL:()=>J});var n=a(2495),s=a(5879),p=a(8645),g=a(2096),c=a(3018),d=a(2438),u=a(1954),m=a(7394);const _={schedule(xe){let Ne=requestAnimationFrame,Me=cancelAnimationFrame;const{delegate:Re}=_;Re&&(Ne=Re.requestAnimationFrame,Me=Re.cancelAnimationFrame);const gt=Ne(ut=>{Me=void 0,xe(ut)});return new m.w0(()=>Me?.(gt))},requestAnimationFrame(...xe){const{delegate:Ne}=_;return(Ne?.requestAnimationFrame||requestAnimationFrame)(...xe)},cancelAnimationFrame(...xe){const{delegate:Ne}=_;return(Ne?.cancelAnimationFrame||cancelAnimationFrame)(...xe)},delegate:void 0};var y=a(9931);new class b extends y.v{flush(Ne){this._active=!0;const Me=this._scheduled;this._scheduled=void 0;const{actions:Re}=this;let gt;Ne=Ne||Re.shift();do{if(gt=Ne.execute(Ne.state,Ne.delay))break}while((Ne=Re[0])&&Ne.id===Me&&Re.shift());if(this._active=!1,gt){for(;(Ne=Re[0])&&Ne.id===Me&&Re.shift();)Ne.unsubscribe();throw gt}}}(class f extends u.o{constructor(Ne,Me){super(Ne,Me),this.scheduler=Ne,this.work=Me}requestAsyncId(Ne,Me,Re=0){return null!==Re&&Re>0?super.requestAsyncId(Ne,Me,Re):(Ne.actions.push(this),Ne._scheduled||(Ne._scheduled=_.requestAnimationFrame(()=>Ne.flush(void 0))))}recycleAsyncId(Ne,Me,Re=0){var gt;if(null!=Re?Re>0:this.delay>0)return super.recycleAsyncId(Ne,Me,Re);const{actions:ut}=Ne;null!=Me&&(null===(gt=ut[ut.length-1])||void 0===gt?void 0:gt.id)!==Me&&(_.cancelAnimationFrame(Me),Ne._scheduled=void 0)}});a(6410);var F=a(6321),S=a(9360),K=a(4829),V=a(8251),W=a(4825);function Y(xe,Ne=F.z){return function ee(xe){return(0,S.e)((Ne,Me)=>{let Re=!1,gt=null,ut=null,et=!1;const ae=()=>{if(ut?.unsubscribe(),ut=null,Re){Re=!1;const ke=gt;gt=null,Me.next(ke)}et&&Me.complete()},Ee=()=>{ut=null,et&&Me.complete()};Ne.subscribe((0,V.x)(Me,ke=>{Re=!0,gt=ke,ut||(0,K.Xf)(xe(ke)).subscribe(ut=(0,V.x)(Me,ae,Ee))},()=>{et=!0,(!Re||!ut||ut.closed)&&Me.complete()}))})}(()=>(0,W.H)(xe,Ne))}var ue=a(2181),ie=a(2831),te=a(6814),ve=a(9388);let q=(()=>{class xe{constructor(Me,Re,gt){this._ngZone=Me,this._platform=Re,this._scrolled=new p.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=gt}register(Me){this.scrollContainers.has(Me)||this.scrollContainers.set(Me,Me.elementScrolled().subscribe(()=>this._scrolled.next(Me)))}deregister(Me){const Re=this.scrollContainers.get(Me);Re&&(Re.unsubscribe(),this.scrollContainers.delete(Me))}scrolled(Me=20){return this._platform.isBrowser?new c.y(Re=>{this._globalSubscription||this._addGlobalListener();const gt=Me>0?this._scrolled.pipe(Y(Me)).subscribe(Re):this._scrolled.subscribe(Re);return this._scrolledCount++,()=>{gt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Me,Re)=>this.deregister(Re)),this._scrolled.complete()}ancestorScrolled(Me,Re){const gt=this.getAncestorScrollContainers(Me);return this.scrolled(Re).pipe((0,ue.h)(ut=>!ut||gt.indexOf(ut)>-1))}getAncestorScrollContainers(Me){const Re=[];return this.scrollContainers.forEach((gt,ut)=>{this._scrollableContainsElement(ut,Me)&&Re.push(ut)}),Re}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Me,Re){let gt=(0,n.fI)(Re),ut=Me.getElementRef().nativeElement;do{if(gt==ut)return!0}while(gt=gt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Me=this._getWindow();return(0,d.R)(Me.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(Re){return new(Re||xe)(s.\u0275\u0275inject(s.NgZone),s.\u0275\u0275inject(ie.t4),s.\u0275\u0275inject(te.DOCUMENT,8))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})(),J=(()=>{class xe{constructor(Me,Re,gt){this._platform=Me,this._change=new p.x,this._changeListener=ut=>{this._change.next(ut)},this._document=gt,Re.runOutsideAngular(()=>{if(Me.isBrowser){const ut=this._getWindow();ut.addEventListener("resize",this._changeListener),ut.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Me=this._getWindow();Me.removeEventListener("resize",this._changeListener),Me.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Me={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Me}getViewportRect(){const Me=this.getViewportScrollPosition(),{width:Re,height:gt}=this.getViewportSize();return{top:Me.top,left:Me.left,bottom:Me.top+gt,right:Me.left+Re,height:gt,width:Re}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Me=this._document,Re=this._getWindow(),gt=Me.documentElement,ut=gt.getBoundingClientRect();return{top:-ut.top||Me.body.scrollTop||Re.scrollY||gt.scrollTop||0,left:-ut.left||Me.body.scrollLeft||Re.scrollX||gt.scrollLeft||0}}change(Me=20){return Me>0?this._change.pipe(Y(Me)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Me=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Me.innerWidth,height:Me.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(Re){return new(Re||xe)(s.\u0275\u0275inject(ie.t4),s.\u0275\u0275inject(s.NgZone),s.\u0275\u0275inject(te.DOCUMENT,8))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})(),lt=(()=>{class xe{static#e=this.\u0275fac=function(Re){return new(Re||xe)};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:xe});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({})}return xe})(),Te=(()=>{class xe{static#e=this.\u0275fac=function(Re){return new(Re||xe)};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:xe});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({imports:[ve.vT,lt,ve.vT,lt]})}return xe})()},6814:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{APP_BASE_HREF:()=>w,AsyncPipe:()=>so,BrowserPlatformLocation:()=>_,CommonModule:()=>Ui,CurrencyPipe:()=>dn,DATE_PIPE_DEFAULT_OPTIONS:()=>Qn,DATE_PIPE_DEFAULT_TIMEZONE:()=>Tn,DOCUMENT:()=>d,DatePipe:()=>Xn,DecimalPipe:()=>Bn,FormStyle:()=>te,FormatWidth:()=>nt,HashLocationStrategy:()=>F,I18nPluralPipe:()=>ti,I18nSelectPipe:()=>Ir,IMAGE_CONFIG:()=>Un,IMAGE_LOADER:()=>_i,JsonPipe:()=>tr,KeyValuePipe:()=>hr,LOCATION_INITIALIZED:()=>m,Location:()=>S,LocationStrategy:()=>v,LowerCasePipe:()=>lr,NgClass:()=>Vn,NgComponentOutlet:()=>On,NgFor:()=>Pn,NgForOf:()=>Pn,NgForOfContext:()=>Ci,NgIf:()=>st,NgIfContext:()=>X,NgLocaleLocalization:()=>Ft,NgLocalization:()=>_t,NgOptimizedImage:()=>li,NgPlural:()=>$t,NgPluralCase:()=>Bt,NgStyle:()=>yn,NgSwitch:()=>Qe,NgSwitchCase:()=>L,NgSwitchDefault:()=>Ve,NgTemplateOutlet:()=>Sn,NumberFormatStyle:()=>ue,NumberSymbol:()=>be,PRECONNECT_CHECK_BLOCKLIST:()=>Ds,PathLocationStrategy:()=>O,PercentPipe:()=>zt,PlatformLocation:()=>u,Plural:()=>ie,SlicePipe:()=>Ai,TitleCasePipe:()=>qi,TranslationWidth:()=>ve,UpperCasePipe:()=>dr,VERSION:()=>mr,ViewportScroller:()=>gi,WeekDay:()=>Ye,XhrFactory:()=>zi,formatCurrency:()=>Et,formatDate:()=>jt,formatNumber:()=>vn,formatPercent:()=>Ut,getCurrencySymbol:()=>gt,getLocaleCurrencyCode:()=>He,getLocaleCurrencyName:()=>Oe,getLocaleCurrencySymbol:()=>H,getLocaleDateFormat:()=>J,getLocaleDateTimeFormat:()=>$,getLocaleDayNames:()=>Xe,getLocaleDayPeriods:()=>Le,getLocaleDirection:()=>Ne,getLocaleEraNames:()=>q,getLocaleExtraDayPeriodRules:()=>Te,getLocaleExtraDayPeriods:()=>xe,getLocaleFirstDayOfWeek:()=>we,getLocaleId:()=>pe,getLocaleMonthNames:()=>Je,getLocaleNumberFormat:()=>R,getLocaleNumberSymbol:()=>U,getLocalePluralCase:()=>Ct,getLocaleTimeFormat:()=>z,getLocaleWeekEndRange:()=>re,getNumberOfCurrencyDigits:()=>et,isPlatformBrowser:()=>Li,isPlatformServer:()=>br,isPlatformWorkerApp:()=>Hi,isPlatformWorkerUi:()=>Rn,provideCloudflareLoader:()=>ai,provideCloudinaryLoader:()=>ir,provideImageKitLoader:()=>ao,provideImgixLoader:()=>I,registerLocaleData:()=>kt,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>Oi,\u0275PLATFORM_BROWSER_ID:()=>$n,\u0275PLATFORM_SERVER_ID:()=>Zn,\u0275PLATFORM_WORKER_APP_ID:()=>Ni,\u0275PLATFORM_WORKER_UI_ID:()=>rn,\u0275getDOM:()=>p,\u0275parseCookieValue:()=>tn,\u0275setRootDomAdapter:()=>g});var n=a(5879);let s=null;function p(){return s}function g(D){s||(s=D)}class c{}const d=new n.InjectionToken("DocumentToken");let u=(()=>{class D{historyGo(A){throw new Error("Not implemented")}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:function(){return(0,n.inject)(_)},providedIn:"platform"})}return D})();const m=new n.InjectionToken("Location Initialized");let _=(()=>{class D extends u{constructor(){super(),this._doc=(0,n.inject)(d),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return p().getBaseHref(this._doc)}onPopState(A){const B=p().getGlobalEventTarget(this._doc,"window");return B.addEventListener("popstate",A,!1),()=>B.removeEventListener("popstate",A)}onHashChange(A){const B=p().getGlobalEventTarget(this._doc,"window");return B.addEventListener("hashchange",A,!1),()=>B.removeEventListener("hashchange",A)}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(A){this._location.pathname=A}pushState(A,B,Se){this._history.pushState(A,B,Se)}replaceState(A,B,Se){this._history.replaceState(A,B,Se)}forward(){this._history.forward()}back(){this._history.back()}historyGo(A=0){this._history.go(A)}getState(){return this._history.state}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:function(){return new D},providedIn:"platform"})}return D})();function f(D,se){if(0==D.length)return se;if(0==se.length)return D;let A=0;return D.endsWith("/")&&A++,se.startsWith("/")&&A++,2==A?D+se.substring(1):1==A?D+se:D+"/"+se}function y(D){const se=D.match(/#|\?|$/),A=se&&se.index||D.length;return D.slice(0,A-("/"===D[A-1]?1:0))+D.slice(A)}function b(D){return D&&"?"!==D[0]?"?"+D:D}let v=(()=>{class D{historyGo(A){throw new Error("Not implemented")}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:function(){return(0,n.inject)(O)},providedIn:"root"})}return D})();const w=new n.InjectionToken("appBaseHref");let O=(()=>{class D extends v{constructor(A,B){super(),this._platformLocation=A,this._removeListenerFns=[],this._baseHref=B??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(d).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(A){this._removeListenerFns.push(this._platformLocation.onPopState(A),this._platformLocation.onHashChange(A))}getBaseHref(){return this._baseHref}prepareExternalUrl(A){return f(this._baseHref,A)}path(A=!1){const B=this._platformLocation.pathname+b(this._platformLocation.search),Se=this._platformLocation.hash;return Se&&A?`${B}${Se}`:B}pushState(A,B,Se,pt){const xt=this.prepareExternalUrl(Se+b(pt));this._platformLocation.pushState(A,B,xt)}replaceState(A,B,Se,pt){const xt=this.prepareExternalUrl(Se+b(pt));this._platformLocation.replaceState(A,B,xt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(A=0){this._platformLocation.historyGo?.(A)}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275inject(u),n.\u0275\u0275inject(w,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),F=(()=>{class D extends v{constructor(A,B){super(),this._platformLocation=A,this._baseHref="",this._removeListenerFns=[],null!=B&&(this._baseHref=B)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(A){this._removeListenerFns.push(this._platformLocation.onPopState(A),this._platformLocation.onHashChange(A))}getBaseHref(){return this._baseHref}path(A=!1){let B=this._platformLocation.hash;return null==B&&(B="#"),B.length>0?B.substring(1):B}prepareExternalUrl(A){const B=f(this._baseHref,A);return B.length>0?"#"+B:B}pushState(A,B,Se,pt){let xt=this.prepareExternalUrl(Se+b(pt));0==xt.length&&(xt=this._platformLocation.pathname),this._platformLocation.pushState(A,B,xt)}replaceState(A,B,Se,pt){let xt=this.prepareExternalUrl(Se+b(pt));0==xt.length&&(xt=this._platformLocation.pathname),this._platformLocation.replaceState(A,B,xt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(A=0){this._platformLocation.historyGo?.(A)}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275inject(u),n.\u0275\u0275inject(w,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac})}return D})(),S=(()=>{class D{constructor(A){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=A;const B=this._locationStrategy.getBaseHref();this._basePath=function W(D){if(new RegExp("^(https?:)?//").test(D)){const[,A]=D.split(/\/\/[^\/]+/);return A}return D}(y(ee(B))),this._locationStrategy.onPopState(Se=>{this._subject.emit({url:this.path(!0),pop:!0,state:Se.state,type:Se.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(A=!1){return this.normalize(this._locationStrategy.path(A))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(A,B=""){return this.path()==this.normalize(A+b(B))}normalize(A){return D.stripTrailingSlash(function V(D,se){if(!D||!se.startsWith(D))return se;const A=se.substring(D.length);return""===A||["/",";","?","#"].includes(A[0])?A:se}(this._basePath,ee(A)))}prepareExternalUrl(A){return A&&"/"!==A[0]&&(A="/"+A),this._locationStrategy.prepareExternalUrl(A)}go(A,B="",Se=null){this._locationStrategy.pushState(Se,"",A,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(A+b(B)),Se)}replaceState(A,B="",Se=null){this._locationStrategy.replaceState(Se,"",A,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(A+b(B)),Se)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(A=0){this._locationStrategy.historyGo?.(A)}onUrlChange(A){return this._urlChangeListeners.push(A),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(B=>{this._notifyUrlChangeListeners(B.url,B.state)})),()=>{const B=this._urlChangeListeners.indexOf(A);this._urlChangeListeners.splice(B,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(A="",B){this._urlChangeListeners.forEach(Se=>Se(A,B))}subscribe(A,B,Se){return this._subject.subscribe({next:A,error:B,complete:Se})}static#e=this.normalizeQueryParams=b;static#t=this.joinWithSlash=f;static#n=this.stripTrailingSlash=y;static#i=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275inject(v))};static#r=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:function(){return function K(){return new S((0,n.\u0275\u0275inject)(v))}()},providedIn:"root"})}return D})();function ee(D){return D.replace(/\/index.html$/,"")}const Y={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 ue=function(D){return D[D.Decimal=0]="Decimal",D[D.Percent=1]="Percent",D[D.Currency=2]="Currency",D[D.Scientific=3]="Scientific",D}(ue||{}),ie=function(D){return D[D.Zero=0]="Zero",D[D.One=1]="One",D[D.Two=2]="Two",D[D.Few=3]="Few",D[D.Many=4]="Many",D[D.Other=5]="Other",D}(ie||{}),te=function(D){return D[D.Format=0]="Format",D[D.Standalone=1]="Standalone",D}(te||{}),ve=function(D){return D[D.Narrow=0]="Narrow",D[D.Abbreviated=1]="Abbreviated",D[D.Wide=2]="Wide",D[D.Short=3]="Short",D}(ve||{}),nt=function(D){return D[D.Short=0]="Short",D[D.Medium=1]="Medium",D[D.Long=2]="Long",D[D.Full=3]="Full",D}(nt||{}),be=function(D){return D[D.Decimal=0]="Decimal",D[D.Group=1]="Group",D[D.List=2]="List",D[D.PercentSign=3]="PercentSign",D[D.PlusSign=4]="PlusSign",D[D.MinusSign=5]="MinusSign",D[D.Exponential=6]="Exponential",D[D.SuperscriptingExponent=7]="SuperscriptingExponent",D[D.PerMille=8]="PerMille",D[D.Infinity=9]="Infinity",D[D.NaN=10]="NaN",D[D.TimeSeparator=11]="TimeSeparator",D[D.CurrencyDecimal=12]="CurrencyDecimal",D[D.CurrencyGroup=13]="CurrencyGroup",D}(be||{}),Ye=function(D){return D[D.Sunday=0]="Sunday",D[D.Monday=1]="Monday",D[D.Tuesday=2]="Tuesday",D[D.Wednesday=3]="Wednesday",D[D.Thursday=4]="Thursday",D[D.Friday=5]="Friday",D[D.Saturday=6]="Saturday",D}(Ye||{});function pe(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.LocaleId]}function Le(D,se,A){const B=(0,n.\u0275findLocaleData)(D),pt=Me([B[n.\u0275LocaleDataIndex.DayPeriodsFormat],B[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],se);return Me(pt,A)}function Xe(D,se,A){const B=(0,n.\u0275findLocaleData)(D),pt=Me([B[n.\u0275LocaleDataIndex.DaysFormat],B[n.\u0275LocaleDataIndex.DaysStandalone]],se);return Me(pt,A)}function Je(D,se,A){const B=(0,n.\u0275findLocaleData)(D),pt=Me([B[n.\u0275LocaleDataIndex.MonthsFormat],B[n.\u0275LocaleDataIndex.MonthsStandalone]],se);return Me(pt,A)}function q(D,se){return Me((0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.Eras],se)}function we(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function re(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.WeekendRange]}function J(D,se){return Me((0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.DateFormat],se)}function z(D,se){return Me((0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.TimeFormat],se)}function $(D,se){return Me((0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.DateTimeFormat],se)}function U(D,se){const A=(0,n.\u0275findLocaleData)(D),B=A[n.\u0275LocaleDataIndex.NumberSymbols][se];if(typeof B>"u"){if(se===be.CurrencyDecimal)return A[n.\u0275LocaleDataIndex.NumberSymbols][be.Decimal];if(se===be.CurrencyGroup)return A[n.\u0275LocaleDataIndex.NumberSymbols][be.Group]}return B}function R(D,se){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.NumberFormats][se]}function H(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Oe(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.CurrencyName]||null}function He(D){return(0,n.\u0275getLocaleCurrencyCode)(D)}const Ct=n.\u0275getLocalePluralCase;function lt(D){if(!D[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${D[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Te(D){const se=(0,n.\u0275findLocaleData)(D);return lt(se),(se[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(B=>"string"==typeof B?Re(B):[Re(B[0]),Re(B[1])])}function xe(D,se,A){const B=(0,n.\u0275findLocaleData)(D);lt(B);const pt=Me([B[n.\u0275LocaleDataIndex.ExtraData][0],B[n.\u0275LocaleDataIndex.ExtraData][1]],se)||[];return Me(pt,A)||[]}function Ne(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.Directionality]}function Me(D,se){for(let A=se;A>-1;A--)if(typeof D[A]<"u")return D[A];throw new Error("Locale data API: locale data undefined")}function Re(D){const[se,A]=D.split(":");return{hours:+se,minutes:+A}}function gt(D,se,A="en"){const B=function vt(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.Currencies]}(A)[D]||Y[D]||[],Se=B[1];return"narrow"===se&&"string"==typeof Se?Se:B[0]||D}const ut=2;function et(D){let se;const A=Y[D];return A&&(se=A[2]),"number"==typeof se?se:ut}const ae=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ee={},ke=/((?:[^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 ct=function(D){return D[D.Short=0]="Short",D[D.ShortGMT=1]="ShortGMT",D[D.Long=2]="Long",D[D.Extended=3]="Extended",D}(ct||{}),ot=function(D){return D[D.FullYear=0]="FullYear",D[D.Month=1]="Month",D[D.Date=2]="Date",D[D.Hours=3]="Hours",D[D.Minutes=4]="Minutes",D[D.Seconds=5]="Seconds",D[D.FractionalSeconds=6]="FractionalSeconds",D[D.Day=7]="Day",D}(ot||{}),wt=function(D){return D[D.DayPeriods=0]="DayPeriods",D[D.Days=1]="Days",D[D.Months=2]="Months",D[D.Eras=3]="Eras",D}(wt||{});function jt(D,se,A,B){let Se=function Jt(D){if(ye(D))return D;if("number"==typeof D&&!isNaN(D))return new Date(D);if("string"==typeof D){if(D=D.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(D)){const[Se,pt=1,xt=1]=D.split("-").map(Xt=>+Xt);return Kt(Se,pt-1,xt)}const A=parseFloat(D);if(!isNaN(D-A))return new Date(A);let B;if(B=D.match(ae))return function ft(D){const se=new Date(0);let A=0,B=0;const Se=D[8]?se.setUTCFullYear:se.setFullYear,pt=D[8]?se.setUTCHours:se.setHours;D[9]&&(A=Number(D[9]+D[10]),B=Number(D[9]+D[11])),Se.call(se,Number(D[1]),Number(D[2])-1,Number(D[3]));const xt=Number(D[4]||0)-A,Xt=Number(D[5]||0)-B,zn=Number(D[6]||0),Wn=Math.floor(1e3*parseFloat("0."+(D[7]||0)));return pt.call(se,xt,Xt,zn,Wn),se}(B)}const se=new Date(D);if(!ye(se))throw new Error(`Unable to convert "${D}" into a date`);return se}(D);se=Zt(A,se)||se;let Xt,xt=[];for(;se;){if(Xt=ke.exec(se),!Xt){xt.push(se);break}{xt=xt.concat(Xt.slice(1));const jn=xt.pop();if(!jn)break;se=jn}}let zn=Se.getTimezoneOffset();B&&(zn=We(B,zn),Se=function Rt(D,se,A){const B=A?-1:1,Se=D.getTimezoneOffset();return function mt(D,se){return(D=new Date(D.getTime())).setMinutes(D.getMinutes()+se),D}(D,B*(We(se,Se)-Se))}(Se,B,!0));let Wn="";return xt.forEach(jn=>{const In=function Ie(D){if(rt[D])return rt[D];let se;switch(D){case"G":case"GG":case"GGG":se=De(wt.Eras,ve.Abbreviated);break;case"GGGG":se=De(wt.Eras,ve.Wide);break;case"GGGGG":se=De(wt.Eras,ve.Narrow);break;case"y":se=Ue(ot.FullYear,1,0,!1,!0);break;case"yy":se=Ue(ot.FullYear,2,0,!0,!0);break;case"yyy":se=Ue(ot.FullYear,3,0,!1,!0);break;case"yyyy":se=Ue(ot.FullYear,4,0,!1,!0);break;case"Y":se=yt(1);break;case"YY":se=yt(2,!0);break;case"YYY":se=yt(3);break;case"YYYY":se=yt(4);break;case"M":case"L":se=Ue(ot.Month,1,1);break;case"MM":case"LL":se=Ue(ot.Month,2,1);break;case"MMM":se=De(wt.Months,ve.Abbreviated);break;case"MMMM":se=De(wt.Months,ve.Wide);break;case"MMMMM":se=De(wt.Months,ve.Narrow);break;case"LLL":se=De(wt.Months,ve.Abbreviated,te.Standalone);break;case"LLLL":se=De(wt.Months,ve.Wide,te.Standalone);break;case"LLLLL":se=De(wt.Months,ve.Narrow,te.Standalone);break;case"w":se=En(1);break;case"ww":se=En(2);break;case"W":se=En(1,!0);break;case"d":se=Ue(ot.Date,1);break;case"dd":se=Ue(ot.Date,2);break;case"c":case"cc":se=Ue(ot.Day,1);break;case"ccc":se=De(wt.Days,ve.Abbreviated,te.Standalone);break;case"cccc":se=De(wt.Days,ve.Wide,te.Standalone);break;case"ccccc":se=De(wt.Days,ve.Narrow,te.Standalone);break;case"cccccc":se=De(wt.Days,ve.Short,te.Standalone);break;case"E":case"EE":case"EEE":se=De(wt.Days,ve.Abbreviated);break;case"EEEE":se=De(wt.Days,ve.Wide);break;case"EEEEE":se=De(wt.Days,ve.Narrow);break;case"EEEEEE":se=De(wt.Days,ve.Short);break;case"a":case"aa":case"aaa":se=De(wt.DayPeriods,ve.Abbreviated);break;case"aaaa":se=De(wt.DayPeriods,ve.Wide);break;case"aaaaa":se=De(wt.DayPeriods,ve.Narrow);break;case"b":case"bb":case"bbb":se=De(wt.DayPeriods,ve.Abbreviated,te.Standalone,!0);break;case"bbbb":se=De(wt.DayPeriods,ve.Wide,te.Standalone,!0);break;case"bbbbb":se=De(wt.DayPeriods,ve.Narrow,te.Standalone,!0);break;case"B":case"BB":case"BBB":se=De(wt.DayPeriods,ve.Abbreviated,te.Format,!0);break;case"BBBB":se=De(wt.DayPeriods,ve.Wide,te.Format,!0);break;case"BBBBB":se=De(wt.DayPeriods,ve.Narrow,te.Format,!0);break;case"h":se=Ue(ot.Hours,1,-12);break;case"hh":se=Ue(ot.Hours,2,-12);break;case"H":se=Ue(ot.Hours,1);break;case"HH":se=Ue(ot.Hours,2);break;case"m":se=Ue(ot.Minutes,1);break;case"mm":se=Ue(ot.Minutes,2);break;case"s":se=Ue(ot.Seconds,1);break;case"ss":se=Ue(ot.Seconds,2);break;case"S":se=Ue(ot.FractionalSeconds,1);break;case"SS":se=Ue(ot.FractionalSeconds,2);break;case"SSS":se=Ue(ot.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":se=Ot(ct.Short);break;case"ZZZZZ":se=Ot(ct.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":se=Ot(ct.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":se=Ot(ct.Long);break;default:return null}return rt[D]=se,se}(jn);Wn+=In?In(Se,A,zn):"''"===jn?"'":jn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Wn}function Kt(D,se,A){const B=new Date(0);return B.setFullYear(D,se,A),B.setHours(0,0,0),B}function Zt(D,se){const A=pe(D);if(Ee[A]=Ee[A]||{},Ee[A][se])return Ee[A][se];let B="";switch(se){case"shortDate":B=J(D,nt.Short);break;case"mediumDate":B=J(D,nt.Medium);break;case"longDate":B=J(D,nt.Long);break;case"fullDate":B=J(D,nt.Full);break;case"shortTime":B=z(D,nt.Short);break;case"mediumTime":B=z(D,nt.Medium);break;case"longTime":B=z(D,nt.Long);break;case"fullTime":B=z(D,nt.Full);break;case"short":const Se=Zt(D,"shortTime"),pt=Zt(D,"shortDate");B=Qt($(D,nt.Short),[Se,pt]);break;case"medium":const xt=Zt(D,"mediumTime"),Xt=Zt(D,"mediumDate");B=Qt($(D,nt.Medium),[xt,Xt]);break;case"long":const zn=Zt(D,"longTime"),Wn=Zt(D,"longDate");B=Qt($(D,nt.Long),[zn,Wn]);break;case"full":const jn=Zt(D,"fullTime"),In=Zt(D,"fullDate");B=Qt($(D,nt.Full),[jn,In])}return B&&(Ee[A][se]=B),B}function Qt(D,se){return se&&(D=D.replace(/\{([^}]+)}/g,function(A,B){return null!=se&&B in se?se[B]:A})),D}function dt(D,se,A="-",B,Se){let pt="";(D<0||Se&&D<=0)&&(Se?D=1-D:(D=-D,pt=A));let xt=String(D);for(;xt.length<se;)xt="0"+xt;return B&&(xt=xt.slice(xt.length-se)),pt+xt}function Ue(D,se,A=0,B=!1,Se=!1){return function(pt,xt){let Xt=function de(D,se){switch(D){case ot.FullYear:return se.getFullYear();case ot.Month:return se.getMonth();case ot.Date:return se.getDate();case ot.Hours:return se.getHours();case ot.Minutes:return se.getMinutes();case ot.Seconds:return se.getSeconds();case ot.FractionalSeconds:return se.getMilliseconds();case ot.Day:return se.getDay();default:throw new Error(`Unknown DateType value "${D}".`)}}(D,pt);if((A>0||Xt>-A)&&(Xt+=A),D===ot.Hours)0===Xt&&-12===A&&(Xt=12);else if(D===ot.FractionalSeconds)return function Dt(D,se){return dt(D,3).substring(0,se)}(Xt,se);const zn=U(xt,be.MinusSign);return dt(Xt,se,zn,B,Se)}}function De(D,se,A=te.Format,B=!1){return function(Se,pt){return function at(D,se,A,B,Se,pt){switch(A){case wt.Months:return Je(se,Se,B)[D.getMonth()];case wt.Days:return Xe(se,Se,B)[D.getDay()];case wt.DayPeriods:const xt=D.getHours(),Xt=D.getMinutes();if(pt){const Wn=Te(se),jn=xe(se,Se,B),In=Wn.findIndex(di=>{if(Array.isArray(di)){const[Yn,wi]=di,Pr=xt>=Yn.hours&&Xt>=Yn.minutes,Dr=xt<wi.hours||xt===wi.hours&&Xt<wi.minutes;if(Yn.hours<wi.hours){if(Pr&&Dr)return!0}else if(Pr||Dr)return!0}else if(di.hours===xt&&di.minutes===Xt)return!0;return!1});if(-1!==In)return jn[In]}return Le(se,Se,B)[xt<12?0:1];case wt.Eras:return q(se,B)[D.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${A}`)}}(Se,pt,D,se,A,B)}}function Ot(D){return function(se,A,B){const Se=-1*B,pt=U(A,be.MinusSign),xt=Se>0?Math.floor(Se/60):Math.ceil(Se/60);switch(D){case ct.Short:return(Se>=0?"+":"")+dt(xt,2,pt)+dt(Math.abs(Se%60),2,pt);case ct.ShortGMT:return"GMT"+(Se>=0?"+":"")+dt(xt,1,pt);case ct.Long:return"GMT"+(Se>=0?"+":"")+dt(xt,2,pt)+":"+dt(Math.abs(Se%60),2,pt);case ct.Extended:return 0===B?"Z":(Se>=0?"+":"")+dt(xt,2,pt)+":"+dt(Math.abs(Se%60),2,pt);default:throw new Error(`Unknown zone width "${D}"`)}}}const Lt=0,qt=4;function pn(D){return Kt(D.getFullYear(),D.getMonth(),D.getDate()+(qt-D.getDay()))}function En(D,se=!1){return function(A,B){let Se;if(se){const pt=new Date(A.getFullYear(),A.getMonth(),1).getDay()-1,xt=A.getDate();Se=1+Math.floor((xt+pt)/7)}else{const pt=pn(A),xt=function cn(D){const se=Kt(D,Lt,1).getDay();return Kt(D,0,1+(se<=qt?qt:qt+7)-se)}(pt.getFullYear()),Xt=pt.getTime()-xt.getTime();Se=1+Math.round(Xt/6048e5)}return dt(Se,D,U(B,be.MinusSign))}}function yt(D,se=!1){return function(A,B){return dt(pn(A).getFullYear(),D,U(B,be.MinusSign),se)}}const rt={};function We(D,se){D=D.replace(/:/g,"");const A=Date.parse("Jan 01, 1970 00:00:00 "+D)/6e4;return isNaN(A)?se:A}function ye(D){return D instanceof Date&&!isNaN(D.valueOf())}const G=/^(\d+)?\.((\d+)(-(\d+))?)?$/,k=22,fe=".",Ze="0",It=";",tt=",",St="#",_e="\xa4",Fe="%";function je(D,se,A,B,Se,pt,xt=!1){let Xt="",zn=!1;if(isFinite(D)){let Wn=function Ke(D){let B,Se,pt,xt,Xt,se=Math.abs(D)+"",A=0;for((Se=se.indexOf(fe))>-1&&(se=se.replace(fe,"")),(pt=se.search(/e/i))>0?(Se<0&&(Se=pt),Se+=+se.slice(pt+1),se=se.substring(0,pt)):Se<0&&(Se=se.length),pt=0;se.charAt(pt)===Ze;pt++);if(pt===(Xt=se.length))B=[0],Se=1;else{for(Xt--;se.charAt(Xt)===Ze;)Xt--;for(Se-=pt,B=[],xt=0;pt<=Xt;pt++,xt++)B[xt]=Number(se.charAt(pt))}return Se>k&&(B=B.splice(0,k-1),A=Se-1,Se=1),{digits:B,exponent:A,integerLen:Se}}(D);xt&&(Wn=function hn(D){if(0===D.digits[0])return D;const se=D.digits.length-D.integerLen;return D.exponent?D.exponent+=2:(0===se?D.digits.push(0,0):1===se&&D.digits.push(0),D.integerLen+=2),D}(Wn));let jn=se.minInt,In=se.minFrac,di=se.maxFrac;if(pt){const Wi=pt.match(G);if(null===Wi)throw new Error(`${pt} is not a valid digit info`);const Xr=Wi[1],Mi=Wi[3],Jr=Wi[5];null!=Xr&&(jn=Pe(Xr)),null!=Mi&&(In=Pe(Mi)),null!=Jr?di=Pe(Jr):null!=Mi&&In>di&&(di=In)}!function $e(D,se,A){if(se>A)throw new Error(`The minimum number of digits after fraction (${se}) is higher than the maximum (${A}).`);let B=D.digits,Se=B.length-D.integerLen;const pt=Math.min(Math.max(se,Se),A);let xt=pt+D.integerLen,Xt=B[xt];if(xt>0){B.splice(Math.max(D.integerLen,xt));for(let In=xt;In<B.length;In++)B[In]=0}else{Se=Math.max(0,Se),D.integerLen=1,B.length=Math.max(1,xt=pt+1),B[0]=0;for(let In=1;In<xt;In++)B[In]=0}if(Xt>=5)if(xt-1<0){for(let In=0;In>xt;In--)B.unshift(0),D.integerLen++;B.unshift(1),D.integerLen++}else B[xt-1]++;for(;Se<Math.max(0,pt);Se++)B.push(0);let zn=0!==pt;const Wn=se+D.integerLen,jn=B.reduceRight(function(In,di,Yn,wi){return wi[Yn]=(di+=In)<10?di:di-10,zn&&(0===wi[Yn]&&Yn>=Wn?wi.pop():zn=!1),di>=10?1:0},0);jn&&(B.unshift(jn),D.integerLen++)}(Wn,In,di);let Yn=Wn.digits,wi=Wn.integerLen;const Pr=Wn.exponent;let Dr=[];for(zn=Yn.every(Wi=>!Wi);wi<jn;wi++)Yn.unshift(0);for(;wi<0;wi++)Yn.unshift(0);wi>0?Dr=Yn.splice(wi,Yn.length):(Dr=Yn,Yn=[0]);const fo=[];for(Yn.length>=se.lgSize&&fo.unshift(Yn.splice(-se.lgSize,Yn.length).join(""));Yn.length>se.gSize;)fo.unshift(Yn.splice(-se.gSize,Yn.length).join(""));Yn.length&&fo.unshift(Yn.join("")),Xt=fo.join(U(A,B)),Dr.length&&(Xt+=U(A,Se)+Dr.join("")),Pr&&(Xt+=U(A,be.Exponential)+"+"+Pr)}else Xt=U(A,be.Infinity);return Xt=D<0&&!zn?se.negPre+Xt+se.negSuf:se.posPre+Xt+se.posSuf,Xt}function Et(D,se,A,B,Se){const xt=ln(R(se,ue.Currency),U(se,be.MinusSign));return xt.minFrac=et(B),xt.maxFrac=xt.minFrac,je(D,xt,se,be.CurrencyGroup,be.CurrencyDecimal,Se).replace(_e,A).replace(_e,"").trim()}function Ut(D,se,A){return je(D,ln(R(se,ue.Percent),U(se,be.MinusSign)),se,be.Group,be.Decimal,A,!0).replace(new RegExp(Fe,"g"),U(se,be.PercentSign))}function vn(D,se,A){return je(D,ln(R(se,ue.Decimal),U(se,be.MinusSign)),se,be.Group,be.Decimal,A)}function ln(D,se="-"){const A={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},B=D.split(It),Se=B[0],pt=B[1],xt=-1!==Se.indexOf(fe)?Se.split(fe):[Se.substring(0,Se.lastIndexOf(Ze)+1),Se.substring(Se.lastIndexOf(Ze)+1)],Xt=xt[0],zn=xt[1]||"";A.posPre=Xt.substring(0,Xt.indexOf(St));for(let jn=0;jn<zn.length;jn++){const In=zn.charAt(jn);In===Ze?A.minFrac=A.maxFrac=jn+1:In===St?A.maxFrac=jn+1:A.posSuf+=In}const Wn=Xt.split(tt);if(A.gSize=Wn[1]?Wn[1].length:0,A.lgSize=Wn[2]||Wn[1]?(Wn[2]||Wn[1]).length:0,pt){const jn=Se.length-A.posPre.length-A.posSuf.length,In=pt.indexOf(St);A.negPre=pt.substring(0,In).replace(/'/g,""),A.negSuf=pt.slice(In+jn).replace(/'/g,"")}else A.negPre=se+A.posPre,A.negSuf=A.posSuf;return A}function Pe(D){const se=parseInt(D);if(isNaN(se))throw new Error("Invalid integer literal when parsing "+D);return se}let _t=(()=>{class D{static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:function(B){let Se=null;return B?Se=new B:(pt=n.\u0275\u0275inject(n.LOCALE_ID),Se=new Ft(pt)),Se;var pt},providedIn:"root"})}return D})();function Mt(D,se,A,B){let Se=`=${D}`;if(se.indexOf(Se)>-1||(Se=A.getPluralCategory(D,B),se.indexOf(Se)>-1))return Se;if(se.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${D}"`)}let Ft=(()=>{class D extends _t{constructor(A){super(),this.locale=A}getPluralCategory(A,B){switch(Ct(B||this.locale)(A)){case ie.Zero:return"zero";case ie.One:return"one";case ie.Two:return"two";case ie.Few:return"few";case ie.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac})}return D})();function kt(D,se,A){return(0,n.\u0275registerLocaleData)(D,se,A)}function tn(D,se){se=encodeURIComponent(se);for(const A of D.split(";")){const B=A.indexOf("="),[Se,pt]=-1==B?[A,""]:[A.slice(0,B),A.slice(B+1)];if(Se.trim()===se)return decodeURIComponent(pt)}return null}const Gt=/\s+/,Mn=[];let Vn=(()=>{class D{constructor(A,B,Se,pt){this._iterableDiffers=A,this._keyValueDiffers=B,this._ngEl=Se,this._renderer=pt,this.initialClasses=Mn,this.stateMap=new Map}set klass(A){this.initialClasses=null!=A?A.trim().split(Gt):Mn}set ngClass(A){this.rawClass="string"==typeof A?A.trim().split(Gt):A}ngDoCheck(){for(const B of this.initialClasses)this._updateState(B,!0);const A=this.rawClass;if(Array.isArray(A)||A instanceof Set)for(const B of A)this._updateState(B,!0);else if(null!=A)for(const B of Object.keys(A))this._updateState(B,!!A[B]);this._applyStateDiff()}_updateState(A,B){const Se=this.stateMap.get(A);void 0!==Se?(Se.enabled!==B&&(Se.changed=!0,Se.enabled=B),Se.touched=!0):this.stateMap.set(A,{enabled:B,changed:!0,touched:!0})}_applyStateDiff(){for(const A of this.stateMap){const B=A[0],Se=A[1];Se.changed?(this._toggleClass(B,Se.enabled),Se.changed=!1):Se.touched||(Se.enabled&&this._toggleClass(B,!1),this.stateMap.delete(B)),Se.touched=!1}}_toggleClass(A,B){(A=A.trim()).length>0&&A.split(Gt).forEach(Se=>{B?this._renderer.addClass(this._ngEl.nativeElement,Se):this._renderer.removeClass(this._ngEl.nativeElement,Se)})}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return D})(),On=(()=>{class D{constructor(A){this._viewContainerRef=A,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(A){return void 0!==A.ngComponentOutletNgModule||void 0!==A.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(A){return void 0!==A.ngComponentOutlet||void 0!==A.ngComponentOutletContent||void 0!==A.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(A)}ngOnChanges(A){if(this._needToReCreateComponentInstance(A)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const B=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(A)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,kn(B)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(kn(B)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:B,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const A of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(A,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(A){for(const[B,Se]of this._inputsUsed)Se?(A.setInput(B,this.ngComponentOutletInputs[B]),this._inputsUsed.set(B,!1)):(A.setInput(B,void 0),this._inputsUsed.delete(B))}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return D})();function kn(D){return D.get(n.NgModuleRef).injector}class Ci{constructor(se,A,B,Se){this.$implicit=se,this.ngForOf=A,this.index=B,this.count=Se}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 Pn=(()=>{class D{set ngForOf(A){this._ngForOf=A,this._ngForOfDirty=!0}set ngForTrackBy(A){this._trackByFn=A}get ngForTrackBy(){return this._trackByFn}constructor(A,B,Se){this._viewContainer=A,this._template=B,this._differs=Se,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(A){A&&(this._template=A)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const A=this._ngForOf;!this._differ&&A&&(this._differ=this._differs.find(A).create(this.ngForTrackBy))}if(this._differ){const A=this._differ.diff(this._ngForOf);A&&this._applyChanges(A)}}_applyChanges(A){const B=this._viewContainer;A.forEachOperation((Se,pt,xt)=>{if(null==Se.previousIndex)B.createEmbeddedView(this._template,new Ci(Se.item,this._ngForOf,-1,-1),null===xt?void 0:xt);else if(null==xt)B.remove(null===pt?void 0:pt);else if(null!==pt){const Xt=B.get(pt);B.move(Xt,xt),bn(Xt,Se)}});for(let Se=0,pt=B.length;Se<pt;Se++){const Xt=B.get(Se).context;Xt.index=Se,Xt.count=pt,Xt.ngForOf=this._ngForOf}A.forEachIdentityChange(Se=>{bn(B.get(Se.currentIndex),Se)})}static ngTemplateContextGuard(A,B){return!0}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return D})();function bn(D,se){D.context.$implicit=se.item}let st=(()=>{class D{constructor(A,B){this._viewContainer=A,this._context=new X,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=B}set ngIf(A){this._context.$implicit=this._context.ngIf=A,this._updateView()}set ngIfThen(A){me("ngIfThen",A),this._thenTemplateRef=A,this._thenViewRef=null,this._updateView()}set ngIfElse(A){me("ngIfElse",A),this._elseTemplateRef=A,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(A,B){return!0}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return D})();class X{constructor(){this.$implicit=null,this.ngIf=null}}function me(D,se){if(se&&!se.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,n.\u0275stringify)(se)}'.`)}class ne{constructor(se,A){this._viewContainerRef=se,this._templateRef=A,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 Qe=(()=>{class D{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(A){this._ngSwitch=A,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(A){this._defaultViews.push(A)}_matchCase(A){const B=A==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||B,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),B}_updateDefaultCases(A){if(this._defaultViews.length>0&&A!==this._defaultUsed){this._defaultUsed=A;for(const B of this._defaultViews)B.enforceState(A)}}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return D})(),L=(()=>{class D{constructor(A,B,Se){this.ngSwitch=Se,Se._addCase(),this._view=new ne(A,B)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Qe,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return D})(),Ve=(()=>{class D{constructor(A,B,Se){Se._addDefault(new ne(A,B))}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Qe,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return D})(),$t=(()=>{class D{constructor(A){this._localization=A,this._caseViews={}}set ngPlural(A){this._updateView(A)}addCase(A,B){this._caseViews[A]=B}_updateView(A){this._clearViews();const Se=Mt(A,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Se])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(A){A&&(this._activeView=A,this._activeView.create())}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(_t))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return D})(),Bt=(()=>{class D{constructor(A,B,Se,pt){this.value=A;const xt=!isNaN(Number(A));pt.addCase(xt?`=${A}`:A,new ne(Se,B))}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject($t,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngPluralCase",""]],standalone:!0})}return D})(),yn=(()=>{class D{constructor(A,B,Se){this._ngEl=A,this._differs=B,this._renderer=Se,this._ngStyle=null,this._differ=null}set ngStyle(A){this._ngStyle=A,!this._differ&&A&&(this._differ=this._differs.find(A).create())}ngDoCheck(){if(this._differ){const A=this._differ.diff(this._ngStyle);A&&this._applyChanges(A)}}_setStyle(A,B){const[Se,pt]=A.split("."),xt=-1===Se.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=B?this._renderer.setStyle(this._ngEl.nativeElement,Se,pt?`${B}${pt}`:B,xt):this._renderer.removeStyle(this._ngEl.nativeElement,Se,xt)}_applyChanges(A){A.forEachRemovedItem(B=>this._setStyle(B.key,null)),A.forEachAddedItem(B=>this._setStyle(B.key,B.currentValue)),A.forEachChangedItem(B=>this._setStyle(B.key,B.currentValue))}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return D})(),Sn=(()=>{class D{constructor(A){this._viewContainerRef=A,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(A){if(A.ngTemplateOutlet||A.ngTemplateOutletInjector){const B=this._viewContainerRef;if(this._viewRef&&B.remove(B.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Se,ngTemplateOutletContext:pt,ngTemplateOutletInjector:xt}=this;this._viewRef=B.createEmbeddedView(Se,pt,xt?{injector:xt}:void 0)}else this._viewRef=null}else this._viewRef&&A.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return D})();function ii(D,se){return new n.\u0275RuntimeError(2100,!1)}class Ii{createSubscription(se,A){return(0,n.untracked)(()=>se.subscribe({next:A,error:B=>{throw B}}))}dispose(se){(0,n.untracked)(()=>se.unsubscribe())}}class ri{createSubscription(se,A){return se.then(A,B=>{throw B})}dispose(se){}}const Ji=new ri,Sr=new Ii;let so=(()=>{class D{constructor(A){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=A}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(A){return this._obj?A!==this._obj?(this._dispose(),this.transform(A)):this._latestValue:(A&&this._subscribe(A),this._latestValue)}_subscribe(A){this._obj=A,this._strategy=this._selectStrategy(A),this._subscription=this._strategy.createSubscription(A,B=>this._updateLatestValue(A,B))}_selectStrategy(A){if((0,n.\u0275isPromise)(A))return Ji;if((0,n.\u0275isSubscribable)(A))return Sr;throw ii()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(A,B){A===this._obj&&(this._latestValue=B,this._ref.markForCheck())}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:D,pure:!1,standalone:!0})}return D})(),lr=(()=>{class D{transform(A){if(null==A)return null;if("string"!=typeof A)throw ii();return A.toLowerCase()}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:D,pure:!0,standalone:!0})}return D})();const Lr=/(?:[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 D{transform(A){if(null==A)return null;if("string"!=typeof A)throw ii();return A.replace(Lr,B=>B[0].toUpperCase()+B.slice(1).toLowerCase())}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:D,pure:!0,standalone:!0})}return D})(),dr=(()=>{class D{transform(A){if(null==A)return null;if("string"!=typeof A)throw ii();return A.toUpperCase()}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:D,pure:!0,standalone:!0})}return D})();const Tn=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),Qn=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let Xn=(()=>{class D{constructor(A,B,Se){this.locale=A,this.defaultTimezone=B,this.defaultOptions=Se}transform(A,B,Se,pt){if(null==A||""===A||A!=A)return null;try{return jt(A,B??this.defaultOptions?.dateFormat??"mediumDate",pt||this.locale,Se??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(xt){throw ii()}}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Tn,24),n.\u0275\u0275directiveInject(Qn,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:D,pure:!0,standalone:!0})}return D})();const er=/#/g;let ti=(()=>{class D{constructor(A){this._localization=A}transform(A,B,Se){if(null==A)return"";if("object"!=typeof B||null===B)throw ii();return B[Mt(A,Object.keys(B),this._localization,Se)].replace(er,A.toString())}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(_t,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:D,pure:!0,standalone:!0})}return D})(),Ir=(()=>{class D{transform(A,B){if(null==A)return"";if("object"!=typeof B||"string"!=typeof A)throw ii();return B.hasOwnProperty(A)?B[A]:B.hasOwnProperty("other")?B.other:""}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:D,pure:!0,standalone:!0})}return D})(),tr=(()=>{class D{transform(A){return JSON.stringify(A,null,2)}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:D,pure:!1,standalone:!0})}return D})(),hr=(()=>{class D{constructor(A){this.differs=A,this.keyValues=[],this.compareFn=Ar}transform(A,B=Ar){if(!A||!(A instanceof Map)&&"object"!=typeof A)return null;this.differ||(this.differ=this.differs.find(A).create());const Se=this.differ.diff(A),pt=B!==this.compareFn;return Se&&(this.keyValues=[],Se.forEachItem(xt=>{this.keyValues.push(function fr(D,se){return{key:D,value:se}}(xt.key,xt.currentValue))})),(Se||pt)&&(this.keyValues.sort(B),this.compareFn=B),this.keyValues}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:D,pure:!1,standalone:!0})}return D})();function Ar(D,se){const A=D.key,B=se.key;if(A===B)return 0;if(void 0===A)return 1;if(void 0===B)return-1;if(null===A)return 1;if(null===B)return-1;if("string"==typeof A&&"string"==typeof B)return A<B?-1:1;if("number"==typeof A&&"number"==typeof B)return A-B;if("boolean"==typeof A&&"boolean"==typeof B)return A<B?-1:1;const Se=String(A),pt=String(B);return Se==pt?0:Se<pt?-1:1}let Bn=(()=>{class D{constructor(A){this._locale=A}transform(A,B,Se){if(!Nn(A))return null;Se=Se||this._locale;try{return vn(pi(A),Se,B)}catch(pt){throw ii()}}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:D,pure:!0,standalone:!0})}return D})(),zt=(()=>{class D{constructor(A){this._locale=A}transform(A,B,Se){if(!Nn(A))return null;Se=Se||this._locale;try{return Ut(pi(A),Se,B)}catch(pt){throw ii()}}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:D,pure:!0,standalone:!0})}return D})(),dn=(()=>{class D{constructor(A,B="USD"){this._locale=A,this._defaultCurrencyCode=B}transform(A,B=this._defaultCurrencyCode,Se="symbol",pt,xt){if(!Nn(A))return null;xt=xt||this._locale,"boolean"==typeof Se&&(Se=Se?"symbol":"code");let Xt=B||this._defaultCurrencyCode;"code"!==Se&&(Xt="symbol"===Se||"symbol-narrow"===Se?gt(Xt,"symbol"===Se?"wide":"narrow",xt):Se);try{return Et(pi(A),xt,Xt,B,pt)}catch(zn){throw ii()}}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:D,pure:!0,standalone:!0})}return D})();function Nn(D){return!(null==D||""===D||D!=D)}function pi(D){if("string"==typeof D&&!isNaN(Number(D)-parseFloat(D)))return Number(D);if("number"!=typeof D)throw new Error(`${D} is not a number`);return D}let Ai=(()=>{class D{transform(A,B,Se){if(null==A)return null;if(!this.supports(A))throw ii();return A.slice(B,Se)}supports(A){return"string"==typeof A||Array.isArray(A)}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:D,pure:!1,standalone:!0})}return D})(),Ui=(()=>{class D{static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:D});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return D})();const $n="browser",Zn="server",Ni="browserWorkerApp",rn="browserWorkerUi";function Li(D){return D===$n}function br(D){return D===Zn}function Hi(D){return D===Ni}function Rn(D){return D===rn}const mr=new n.Version("16.2.7");let gi=(()=>{class D{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:D,providedIn:"root",factory:()=>new Jn((0,n.\u0275\u0275inject)(d),window)})}return D})();class Jn{constructor(se,A){this.document=se,this.window=A,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 A=function ui(D,se){const A=D.getElementById(se)||D.getElementsByName(se)[0];if(A)return A;if("function"==typeof D.createTreeWalker&&D.body&&"function"==typeof D.body.attachShadow){const B=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let Se=B.currentNode;for(;Se;){const pt=Se.shadowRoot;if(pt){const xt=pt.getElementById(se)||pt.querySelector(`[name="${se}"]`);if(xt)return xt}Se=B.nextNode()}}return null}(this.document,se);A&&(this.scrollToElement(A),A.focus())}setHistoryScrollRestoration(se){this.supportsScrolling()&&(this.window.history.scrollRestoration=se)}scrollToElement(se){const A=se.getBoundingClientRect(),B=A.left+this.window.pageXOffset,Se=A.top+this.window.pageYOffset,pt=this.offset();this.window.scrollTo(B-pt[0],Se-pt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Oi{setOffset(se){}getScrollPosition(){return[0,0]}scrollToPosition(se){}scrollToAnchor(se){}setHistoryScrollRestoration(se){}}class zi{}function yr(D){return D.startsWith("/")?D.slice(1):D}const Cr=D=>D.src,_i=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>Cr});function ji(D,se){return function(B){return function Cn(D){if("string"!=typeof D||""===D.trim())return!1;try{return new URL(D),!0}catch{return!1}}(B)||function nr(D,se){throw new n.\u0275RuntimeError(2959,!1)}(),B=function Fo(D){return D.endsWith("/")?D.slice(0,-1):D}(B),[{provide:_i,useValue:xt=>(function qn(D){return/^https?:\/\//.test(D)}(xt.src)&&function jr(D,se){throw new n.\u0275RuntimeError(2959,!1)}(),D(B,{...xt,src:yr(xt.src)}))}]}}const ai=ji(Ts);function Ts(D,se){let A="format=auto";return se.width&&(A+=`,width=${se.width}`),`${D}/cdn-cgi/image/${A}/${se.src}`}const ir=ji(wr);function wr(D,se){let A="f_auto,q_auto";return se.width&&(A+=`,w_${se.width}`),`${D}/image/upload/${A}/${se.src}`}const ao=ji(bo);function bo(D,se){const{src:A,width:B}=se;let Se;return Se=B?[D,`tr:w-${B}`,A]:[D,A],Se.join("/")}const I=ji(he);function he(D,se){const A=new URL(`${D}/${se.src}`);return A.searchParams.set("auto","format"),se.width&&A.searchParams.set("w",se.width.toString()),A.href}const Ds=new n.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),E=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let x=(()=>{class D{constructor(){this.preloadedImages=(0,n.inject)(E),this.document=(0,n.inject)(d)}createPreloadLinkTag(A,B,Se,pt){if(this.preloadedImages.has(B))return;this.preloadedImages.add(B);const xt=A.createElement("link");A.setAttribute(xt,"as","image"),A.setAttribute(xt,"href",B),A.setAttribute(xt,"rel","preload"),A.setAttribute(xt,"fetchpriority","high"),pt&&A.setAttribute(xt,"imageSizes",pt),Se&&A.setAttribute(xt,"imageSrcset",Se),A.appendChild(this.document.head,xt)}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})();const oe=/^((\s*\d+w\s*(,|$)){1,})$/,bt=[1,2],fn={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Un=new n.InjectionToken("ImageConfig",{providedIn:"root",factory:()=>fn});let li=(()=>{class D{constructor(){this.imageLoader=(0,n.inject)(_i),this.config=function ni(D){let se={};return D.breakpoints&&(se.breakpoints=D.breakpoints.sort((A,B)=>A-B)),Object.assign({},fn,D,se)}((0,n.inject)(Un)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=br((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(x),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const A=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),A,this.sizes)}ngOnChanges(A){if(A.ngSrc&&!A.ngSrc.isFirstChange()){const B=this._renderedSrc;this.updateSrcAndSrcset(!0);const Se=this._renderedSrc;null!==this.lcpObserver&&B&&Se&&B!==Se&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(B,Se)})}}callImageLoader(A){let B=A;return this.loaderParams&&(B.loaderParams=this.loaderParams),this.imageLoader(B)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const A=oe.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Se=>""!==Se).map(Se=>{Se=Se.trim();const pt=A?parseFloat(Se):parseFloat(Se)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:pt})} ${Se}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:A}=this.config;let B=A;return"100vw"===this.sizes?.trim()&&(B=A.filter(pt=>pt>=640)),B.map(pt=>`${this.callImageLoader({src:this.ngSrc,width:pt})} ${pt}w`).join(", ")}updateSrcAndSrcset(A=!1){A&&(this._renderedSrc=null);const B=this.getRewrittenSrc();let Se;return this.setHostAttribute("src",B),this.ngSrcset?Se=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Se=this.getAutomaticSrcset()),Se&&this.setHostAttribute("srcset",Se),Se}getFixedSrcset(){return bt.map(B=>`${this.callImageLoader({src:this.ngSrc,width:this.width*B})} ${B}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Cr&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(A,B){this.renderer.setAttribute(this.imgElement,A,B)}static#e=this.\u0275fac=function(B){return new(B||D)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:D,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(B,Se){2&B&&n.\u0275\u0275styleProp("position",Se.fill?"absolute":null)("width",Se.fill?"100%":null)("height",Se.fill?"100%":null)("inset",Se.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",Tr],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.numberAttribute],height:["height","height",n.numberAttribute],loading:"loading",priority:["priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:["fill","fill",n.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return D})();function Tr(D){return"string"==typeof D?D:(0,n.\u0275unwrapSafeValue)(D)}},7502:(Z,o,a)=>{"use strict";function n(Ke,$e,Pe,_t,Mt,Ft,kt){try{var tn=Ke[Ft](kt),Gt=tn.value}catch(Mn){return void Pe(Mn)}tn.done?$e(Gt):Promise.resolve(Gt).then(_t,Mt)}function s(Ke){return function(){var $e=this,Pe=arguments;return new Promise(function(_t,Mt){var Ft=Ke.apply($e,Pe);function kt(Gt){n(Ft,_t,Mt,kt,tn,"next",Gt)}function tn(Gt){n(Ft,_t,Mt,kt,tn,"throw",Gt)}kt(void 0)})}}a.r(o),a.d(o,{FetchBackend:()=>Ct,HTTP_INTERCEPTORS:()=>gt,HttpBackend:()=>K,HttpClient:()=>H,HttpClientJsonpModule:()=>_e,HttpClientModule:()=>St,HttpClientXsrfModule:()=>tt,HttpContext:()=>Ye,HttpContextToken:()=>be,HttpErrorResponse:()=>U,HttpEventType:()=>re,HttpFeatureKind:()=>We,HttpHandler:()=>S,HttpHeaderResponse:()=>z,HttpHeaders:()=>V,HttpParams:()=>nt,HttpRequest:()=>we,HttpResponse:()=>$,HttpResponseBase:()=>J,HttpUrlEncodingCodec:()=>W,HttpXhrBackend:()=>at,HttpXsrfTokenExtractor:()=>En,JsonpClientBackend:()=>dt,JsonpInterceptor:()=>Ue,provideHttpClient:()=>Rt,withFetch:()=>It,withInterceptors:()=>Jt,withInterceptorsFromDi:()=>ye,withJsonpSupport:()=>fe,withNoXsrfProtection:()=>k,withRequestsMadeViaParent:()=>Ze,withXsrfConfiguration:()=>G,\u0275HttpInterceptingHandler:()=>Ee,\u0275HttpInterceptorHandler:()=>Ee,\u0275withHttpTransferCache:()=>hn});var p=a(5879),g=a(2096),c=a(3018),d=a(7715),u=a(1631),m=a(4674),f=a(2181),y=a(7398),b=a(4716),v=a(4664),w=a(9397),O=a(2827),F=a(6814);class S{}class K{}class V{constructor($e){this.normalizedNames=new Map,this.lazyUpdate=null,$e?"string"==typeof $e?this.lazyInit=()=>{this.headers=new Map,$e.split("\n").forEach(Pe=>{const _t=Pe.indexOf(":");if(_t>0){const Mt=Pe.slice(0,_t),Ft=Mt.toLowerCase(),kt=Pe.slice(_t+1).trim();this.maybeSetNormalizedName(Mt,Ft),this.headers.has(Ft)?this.headers.get(Ft).push(kt):this.headers.set(Ft,[kt])}})}:typeof Headers<"u"&&$e instanceof Headers?(this.headers=new Map,$e.forEach((Pe,_t)=>{this.setHeaderEntries(_t,Pe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries($e).forEach(([Pe,_t])=>{this.setHeaderEntries(Pe,_t)})}:this.headers=new Map}has($e){return this.init(),this.headers.has($e.toLowerCase())}get($e){this.init();const Pe=this.headers.get($e.toLowerCase());return Pe&&Pe.length>0?Pe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll($e){return this.init(),this.headers.get($e.toLowerCase())||null}append($e,Pe){return this.clone({name:$e,value:Pe,op:"a"})}set($e,Pe){return this.clone({name:$e,value:Pe,op:"s"})}delete($e,Pe){return this.clone({name:$e,value:Pe,op:"d"})}maybeSetNormalizedName($e,Pe){this.normalizedNames.has(Pe)||this.normalizedNames.set(Pe,$e)}init(){this.lazyInit&&(this.lazyInit instanceof V?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach($e=>this.applyUpdate($e)),this.lazyUpdate=null))}copyFrom($e){$e.init(),Array.from($e.headers.keys()).forEach(Pe=>{this.headers.set(Pe,$e.headers.get(Pe)),this.normalizedNames.set(Pe,$e.normalizedNames.get(Pe))})}clone($e){const Pe=new V;return Pe.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,Pe.lazyUpdate=(this.lazyUpdate||[]).concat([$e]),Pe}applyUpdate($e){const Pe=$e.name.toLowerCase();switch($e.op){case"a":case"s":let _t=$e.value;if("string"==typeof _t&&(_t=[_t]),0===_t.length)return;this.maybeSetNormalizedName($e.name,Pe);const Mt=("a"===$e.op?this.headers.get(Pe):void 0)||[];Mt.push(..._t),this.headers.set(Pe,Mt);break;case"d":const Ft=$e.value;if(Ft){let kt=this.headers.get(Pe);if(!kt)return;kt=kt.filter(tn=>-1===Ft.indexOf(tn)),0===kt.length?(this.headers.delete(Pe),this.normalizedNames.delete(Pe)):this.headers.set(Pe,kt)}else this.headers.delete(Pe),this.normalizedNames.delete(Pe)}}setHeaderEntries($e,Pe){const _t=(Array.isArray(Pe)?Pe:[Pe]).map(Ft=>Ft.toString()),Mt=$e.toLowerCase();this.headers.set(Mt,_t),this.maybeSetNormalizedName($e,Mt)}forEach($e){this.init(),Array.from(this.normalizedNames.keys()).forEach(Pe=>$e(this.normalizedNames.get(Pe),this.headers.get(Pe)))}}class W{encodeKey($e){return te($e)}encodeValue($e){return te($e)}decodeKey($e){return decodeURIComponent($e)}decodeValue($e){return decodeURIComponent($e)}}const ue=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function te(Ke){return encodeURIComponent(Ke).replace(ue,($e,Pe)=>ie[Pe]??$e)}function ve(Ke){return`${Ke}`}class nt{constructor($e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=$e.encoder||new W,$e.fromString){if($e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Y(Ke,$e){const Pe=new Map;return Ke.length>0&&Ke.replace(/^\?/,"").split("&").forEach(Mt=>{const Ft=Mt.indexOf("="),[kt,tn]=-1==Ft?[$e.decodeKey(Mt),""]:[$e.decodeKey(Mt.slice(0,Ft)),$e.decodeValue(Mt.slice(Ft+1))],Gt=Pe.get(kt)||[];Gt.push(tn),Pe.set(kt,Gt)}),Pe}($e.fromString,this.encoder)}else $e.fromObject?(this.map=new Map,Object.keys($e.fromObject).forEach(Pe=>{const _t=$e.fromObject[Pe],Mt=Array.isArray(_t)?_t.map(ve):[ve(_t)];this.map.set(Pe,Mt)})):this.map=null}has($e){return this.init(),this.map.has($e)}get($e){this.init();const Pe=this.map.get($e);return Pe?Pe[0]:null}getAll($e){return this.init(),this.map.get($e)||null}keys(){return this.init(),Array.from(this.map.keys())}append($e,Pe){return this.clone({param:$e,value:Pe,op:"a"})}appendAll($e){const Pe=[];return Object.keys($e).forEach(_t=>{const Mt=$e[_t];Array.isArray(Mt)?Mt.forEach(Ft=>{Pe.push({param:_t,value:Ft,op:"a"})}):Pe.push({param:_t,value:Mt,op:"a"})}),this.clone(Pe)}set($e,Pe){return this.clone({param:$e,value:Pe,op:"s"})}delete($e,Pe){return this.clone({param:$e,value:Pe,op:"d"})}toString(){return this.init(),this.keys().map($e=>{const Pe=this.encoder.encodeKey($e);return this.map.get($e).map(_t=>Pe+"="+this.encoder.encodeValue(_t)).join("&")}).filter($e=>""!==$e).join("&")}clone($e){const Pe=new nt({encoder:this.encoder});return Pe.cloneFrom=this.cloneFrom||this,Pe.updates=(this.updates||[]).concat($e),Pe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach($e=>this.map.set($e,this.cloneFrom.map.get($e))),this.updates.forEach($e=>{switch($e.op){case"a":case"s":const Pe=("a"===$e.op?this.map.get($e.param):void 0)||[];Pe.push(ve($e.value)),this.map.set($e.param,Pe);break;case"d":if(void 0===$e.value){this.map.delete($e.param);break}{let _t=this.map.get($e.param)||[];const Mt=_t.indexOf(ve($e.value));-1!==Mt&&_t.splice(Mt,1),_t.length>0?this.map.set($e.param,_t):this.map.delete($e.param)}}}),this.cloneFrom=this.updates=null)}}class be{constructor($e){this.defaultValue=$e}}class Ye{constructor(){this.map=new Map}set($e,Pe){return this.map.set($e,Pe),this}get($e){return this.map.has($e)||this.map.set($e,$e.defaultValue()),this.map.get($e)}delete($e){return this.map.delete($e),this}has($e){return this.map.has($e)}keys(){return this.map.keys()}}function Le(Ke){return typeof ArrayBuffer<"u"&&Ke instanceof ArrayBuffer}function Xe(Ke){return typeof Blob<"u"&&Ke instanceof Blob}function Je(Ke){return typeof FormData<"u"&&Ke instanceof FormData}class we{constructor($e,Pe,_t,Mt){let Ft;if(this.url=Pe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=$e.toUpperCase(),function pe(Ke){switch(Ke){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Mt?(this.body=void 0!==_t?_t:null,Ft=Mt):Ft=_t,Ft&&(this.reportProgress=!!Ft.reportProgress,this.withCredentials=!!Ft.withCredentials,Ft.responseType&&(this.responseType=Ft.responseType),Ft.headers&&(this.headers=Ft.headers),Ft.context&&(this.context=Ft.context),Ft.params&&(this.params=Ft.params)),this.headers||(this.headers=new V),this.context||(this.context=new Ye),this.params){const kt=this.params.toString();if(0===kt.length)this.urlWithParams=Pe;else{const tn=Pe.indexOf("?");this.urlWithParams=Pe+(-1===tn?"?":tn<Pe.length-1?"&":"")+kt}}else this.params=new nt,this.urlWithParams=Pe}serializeBody(){return null===this.body?null:Le(this.body)||Xe(this.body)||Je(this.body)||function q(Ke){return typeof URLSearchParams<"u"&&Ke instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof nt?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||Je(this.body)?null:Xe(this.body)?this.body.type||null:Le(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof nt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone($e={}){const Pe=$e.method||this.method,_t=$e.url||this.url,Mt=$e.responseType||this.responseType,Ft=void 0!==$e.body?$e.body:this.body,kt=void 0!==$e.withCredentials?$e.withCredentials:this.withCredentials,tn=void 0!==$e.reportProgress?$e.reportProgress:this.reportProgress;let Gt=$e.headers||this.headers,Mn=$e.params||this.params;const Vn=$e.context??this.context;return void 0!==$e.setHeaders&&(Gt=Object.keys($e.setHeaders).reduce((On,kn)=>On.set(kn,$e.setHeaders[kn]),Gt)),$e.setParams&&(Mn=Object.keys($e.setParams).reduce((On,kn)=>On.set(kn,$e.setParams[kn]),Mn)),new we(Pe,_t,Ft,{params:Mn,headers:Gt,context:Vn,reportProgress:tn,responseType:Mt,withCredentials:kt})}}var re=function(Ke){return Ke[Ke.Sent=0]="Sent",Ke[Ke.UploadProgress=1]="UploadProgress",Ke[Ke.ResponseHeader=2]="ResponseHeader",Ke[Ke.DownloadProgress=3]="DownloadProgress",Ke[Ke.Response=4]="Response",Ke[Ke.User=5]="User",Ke}(re||{});class J{constructor($e,Pe=200,_t="OK"){this.headers=$e.headers||new V,this.status=void 0!==$e.status?$e.status:Pe,this.statusText=$e.statusText||_t,this.url=$e.url||null,this.ok=this.status>=200&&this.status<300}}class z extends J{constructor($e={}){super($e),this.type=re.ResponseHeader}clone($e={}){return new z({headers:$e.headers||this.headers,status:void 0!==$e.status?$e.status:this.status,statusText:$e.statusText||this.statusText,url:$e.url||this.url||void 0})}}class $ extends J{constructor($e={}){super($e),this.type=re.Response,this.body=void 0!==$e.body?$e.body:null}clone($e={}){return new $({body:void 0!==$e.body?$e.body:this.body,headers:$e.headers||this.headers,status:void 0!==$e.status?$e.status:this.status,statusText:$e.statusText||this.statusText,url:$e.url||this.url||void 0})}}class U extends J{constructor($e){super($e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${$e.url||"(unknown url)"}`:`Http failure response for ${$e.url||"(unknown url)"}: ${$e.status} ${$e.statusText}`,this.error=$e.error||null}}function R(Ke,$e){return{body:$e,headers:Ke.headers,context:Ke.context,observe:Ke.observe,params:Ke.params,reportProgress:Ke.reportProgress,responseType:Ke.responseType,withCredentials:Ke.withCredentials}}let H=(()=>{class Ke{constructor(Pe){this.handler=Pe}request(Pe,_t,Mt={}){let Ft;if(Pe instanceof we)Ft=Pe;else{let Gt,Mn;Gt=Mt.headers instanceof V?Mt.headers:new V(Mt.headers),Mt.params&&(Mn=Mt.params instanceof nt?Mt.params:new nt({fromObject:Mt.params})),Ft=new we(Pe,_t,void 0!==Mt.body?Mt.body:null,{headers:Gt,context:Mt.context,params:Mn,reportProgress:Mt.reportProgress,responseType:Mt.responseType||"json",withCredentials:Mt.withCredentials})}const kt=(0,g.of)(Ft).pipe(function _(Ke,$e){return(0,m.m)($e)?(0,u.z)(Ke,$e,1):(0,u.z)(Ke,1)}(Gt=>this.handler.handle(Gt)));if(Pe instanceof we||"events"===Mt.observe)return kt;const tn=kt.pipe((0,f.h)(Gt=>Gt instanceof $));switch(Mt.observe||"body"){case"body":switch(Ft.responseType){case"arraybuffer":return tn.pipe((0,y.U)(Gt=>{if(null!==Gt.body&&!(Gt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Gt.body}));case"blob":return tn.pipe((0,y.U)(Gt=>{if(null!==Gt.body&&!(Gt.body instanceof Blob))throw new Error("Response is not a Blob.");return Gt.body}));case"text":return tn.pipe((0,y.U)(Gt=>{if(null!==Gt.body&&"string"!=typeof Gt.body)throw new Error("Response is not a string.");return Gt.body}));default:return tn.pipe((0,y.U)(Gt=>Gt.body))}case"response":return tn;default:throw new Error(`Unreachable: unhandled observe type ${Mt.observe}}`)}}delete(Pe,_t={}){return this.request("DELETE",Pe,_t)}get(Pe,_t={}){return this.request("GET",Pe,_t)}head(Pe,_t={}){return this.request("HEAD",Pe,_t)}jsonp(Pe,_t){return this.request("JSONP",Pe,{params:(new nt).append(_t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Pe,_t={}){return this.request("OPTIONS",Pe,_t)}patch(Pe,_t,Mt={}){return this.request("PATCH",Pe,R(Mt,_t))}post(Pe,_t,Mt={}){return this.request("POST",Pe,R(Mt,_t))}put(Pe,_t,Mt={}){return this.request("PUT",Pe,R(Mt,_t))}static#e=this.\u0275fac=function(_t){return new(_t||Ke)(p.\u0275\u0275inject(S))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac})}return Ke})();const Oe=/^\)\]\}',?\n/;function vt(Ke){if(Ke.url)return Ke.url;const $e="X-Request-URL".toLocaleLowerCase();return Ke.headers.get($e)}let Ct=(()=>{class Ke{constructor(){this.fetchImpl=(0,p.inject)(lt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,p.inject)(p.NgZone)}handle(Pe){return new c.y(_t=>{const Mt=new AbortController;return this.doRequest(Pe,Mt.signal,_t).then(Te,Ft=>_t.error(new U({error:Ft}))),()=>Mt.abort()})}doRequest(Pe,_t,Mt){var Ft=this;return s(function*(){const kt=Ft.createRequestInit(Pe);let tn;try{const Pn=Ft.fetchImpl(Pe.urlWithParams,{signal:_t,...kt});(function xe(Ke){Ke.then(Te,Te)})(Pn),Mt.next({type:re.Sent}),tn=yield Pn}catch(Pn){return void Mt.error(new U({error:Pn,status:Pn.status??0,statusText:Pn.statusText,url:Pe.urlWithParams,headers:Pn.headers}))}const Gt=new V(tn.headers),Mn=tn.statusText,Vn=vt(tn)??Pe.urlWithParams;let On=tn.status,kn=null;if(Pe.reportProgress&&Mt.next(new z({headers:Gt,status:On,statusText:Mn,url:Vn})),tn.body){const Pn=tn.headers.get("content-length"),bn=[],ge=tn.body.getReader();let X,me,st=0;const ne=typeof Zone<"u"&&Zone.current;yield Ft.ngZone.runOutsideAngular(s(function*(){for(;;){const{done:L,value:Ve}=yield ge.read();if(L)break;if(bn.push(Ve),st+=Ve.length,Pe.reportProgress){me="text"===Pe.responseType?(me??"")+(X??=new TextDecoder).decode(Ve,{stream:!0}):void 0;const Be=()=>Mt.next({type:re.DownloadProgress,total:Pn?+Pn:void 0,loaded:st,partialText:me});ne?ne.run(Be):Be()}}}));const Qe=Ft.concatChunks(bn,st);try{kn=Ft.parseBody(Pe,Qe)}catch(L){return void Mt.error(new U({error:L,headers:new V(tn.headers),status:tn.status,statusText:tn.statusText,url:vt(tn)??Pe.urlWithParams}))}}0===On&&(On=kn?200:0),On>=200&&On<300?(Mt.next(new $({body:kn,headers:Gt,status:On,statusText:Mn,url:Vn})),Mt.complete()):Mt.error(new U({error:kn,headers:Gt,status:On,statusText:Mn,url:Vn}))})()}parseBody(Pe,_t){switch(Pe.responseType){case"json":const Mt=(new TextDecoder).decode(_t).replace(Oe,"");return""===Mt?null:JSON.parse(Mt);case"text":return(new TextDecoder).decode(_t);case"blob":return new Blob([_t]);case"arraybuffer":return _t.buffer}}createRequestInit(Pe){const _t={},Mt=Pe.withCredentials?"include":void 0;if(Pe.headers.forEach((Ft,kt)=>_t[Ft]=kt.join(",")),_t.Accept??="application/json, text/plain, */*",!_t["Content-Type"]){const Ft=Pe.detectContentTypeHeader();null!==Ft&&(_t["Content-Type"]=Ft)}return{body:Pe.serializeBody(),method:Pe.method,headers:_t,credentials:Mt}}concatChunks(Pe,_t){const Mt=new Uint8Array(_t);let Ft=0;for(const kt of Pe)Mt.set(kt,Ft),Ft+=kt.length;return Mt}static#e=this.\u0275fac=function(_t){return new(_t||Ke)};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac})}return Ke})();class lt{}function Te(){}function Ne(Ke,$e){return $e(Ke)}function Me(Ke,$e){return(Pe,_t)=>$e.intercept(Pe,{handle:Mt=>Ke(Mt,_t)})}const gt=new p.InjectionToken(""),ut=new p.InjectionToken(""),et=new p.InjectionToken("");function ae(){let Ke=null;return($e,Pe)=>{null===Ke&&(Ke=((0,p.inject)(gt,{optional:!0})??[]).reduceRight(Me,Ne));const _t=(0,p.inject)(p.\u0275InitialRenderPendingTasks),Mt=_t.add();return Ke($e,Pe).pipe((0,b.x)(()=>_t.remove(Mt)))}}let ct,Ee=(()=>{class Ke extends S{constructor(Pe,_t){super(),this.backend=Pe,this.injector=_t,this.chain=null,this.pendingTasks=(0,p.inject)(p.\u0275InitialRenderPendingTasks)}handle(Pe){if(null===this.chain){const Mt=Array.from(new Set([...this.injector.get(ut),...this.injector.get(et,[])]));this.chain=Mt.reduceRight((Ft,kt)=>function Re(Ke,$e,Pe){return(_t,Mt)=>Pe.runInContext(()=>$e(_t,Ft=>Ke(Ft,Mt)))}(Ft,kt,this.injector),Ne)}const _t=this.pendingTasks.add();return this.chain(Pe,Mt=>this.backend.handle(Mt)).pipe((0,b.x)(()=>this.pendingTasks.remove(_t)))}static#e=this.\u0275fac=function(_t){return new(_t||Ke)(p.\u0275\u0275inject(K),p.\u0275\u0275inject(p.EnvironmentInjector))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac})}return Ke})(),ke=0;class Zt{}function Qt(){return"object"==typeof window?window:{}}let dt=(()=>{class Ke{constructor(Pe,_t){this.callbackMap=Pe,this.document=_t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+ke++}handle(Pe){if("JSONP"!==Pe.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Pe.responseType)throw new Error("JSONP requests must use Json response type.");if(Pe.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new c.y(_t=>{const Mt=this.nextCallback(),Ft=Pe.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Mt}$1`),kt=this.document.createElement("script");kt.src=Ft;let tn=null,Gt=!1;this.callbackMap[Mt]=kn=>{delete this.callbackMap[Mt],tn=kn,Gt=!0};const Mn=()=>{kt.parentNode&&kt.parentNode.removeChild(kt),delete this.callbackMap[Mt]};return kt.addEventListener("load",kn=>{this.resolvedPromise.then(()=>{Mn(),Gt?(_t.next(new $({body:tn,status:200,statusText:"OK",url:Ft})),_t.complete()):_t.error(new U({url:Ft,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),kt.addEventListener("error",kn=>{Mn(),_t.error(new U({error:kn,status:0,statusText:"JSONP Error",url:Ft}))}),this.document.body.appendChild(kt),_t.next({type:re.Sent}),()=>{Gt||this.removeListeners(kt),Mn()}})}removeListeners(Pe){ct||(ct=this.document.implementation.createHTMLDocument()),ct.adoptNode(Pe)}static#e=this.\u0275fac=function(_t){return new(_t||Ke)(p.\u0275\u0275inject(Zt),p.\u0275\u0275inject(F.DOCUMENT))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac})}return Ke})();function Dt(Ke,$e){return"JSONP"===Ke.method?(0,p.inject)(dt).handle(Ke):$e(Ke)}let Ue=(()=>{class Ke{constructor(Pe){this.injector=Pe}intercept(Pe,_t){return this.injector.runInContext(()=>Dt(Pe,Mt=>_t.handle(Mt)))}static#e=this.\u0275fac=function(_t){return new(_t||Ke)(p.\u0275\u0275inject(p.EnvironmentInjector))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac})}return Ke})();const de=/^\)\]\}',?\n/;let at=(()=>{class Ke{constructor(Pe){this.xhrFactory=Pe}handle(Pe){if("JSONP"===Pe.method)throw new p.\u0275RuntimeError(-2800,!1);const _t=this.xhrFactory;return(_t.\u0275loadImpl?(0,d.D)(_t.\u0275loadImpl()):(0,g.of)(null)).pipe((0,v.w)(()=>new c.y(Ft=>{const kt=_t.build();if(kt.open(Pe.method,Pe.urlWithParams),Pe.withCredentials&&(kt.withCredentials=!0),Pe.headers.forEach((bn,ge)=>kt.setRequestHeader(bn,ge.join(","))),Pe.headers.has("Accept")||kt.setRequestHeader("Accept","application/json, text/plain, */*"),!Pe.headers.has("Content-Type")){const bn=Pe.detectContentTypeHeader();null!==bn&&kt.setRequestHeader("Content-Type",bn)}if(Pe.responseType){const bn=Pe.responseType.toLowerCase();kt.responseType="json"!==bn?bn:"text"}const tn=Pe.serializeBody();let Gt=null;const Mn=()=>{if(null!==Gt)return Gt;const bn=kt.statusText||"OK",ge=new V(kt.getAllResponseHeaders()),st=function De(Ke){return"responseURL"in Ke&&Ke.responseURL?Ke.responseURL:/^X-Request-URL:/m.test(Ke.getAllResponseHeaders())?Ke.getResponseHeader("X-Request-URL"):null}(kt)||Pe.url;return Gt=new z({headers:ge,status:kt.status,statusText:bn,url:st}),Gt},Vn=()=>{let{headers:bn,status:ge,statusText:st,url:X}=Mn(),me=null;204!==ge&&(me=typeof kt.response>"u"?kt.responseText:kt.response),0===ge&&(ge=me?200:0);let ne=ge>=200&&ge<300;if("json"===Pe.responseType&&"string"==typeof me){const Qe=me;me=me.replace(de,"");try{me=""!==me?JSON.parse(me):null}catch(L){me=Qe,ne&&(ne=!1,me={error:L,text:me})}}ne?(Ft.next(new $({body:me,headers:bn,status:ge,statusText:st,url:X||void 0})),Ft.complete()):Ft.error(new U({error:me,headers:bn,status:ge,statusText:st,url:X||void 0}))},On=bn=>{const{url:ge}=Mn(),st=new U({error:bn,status:kt.status||0,statusText:kt.statusText||"Unknown Error",url:ge||void 0});Ft.error(st)};let kn=!1;const Ci=bn=>{kn||(Ft.next(Mn()),kn=!0);let ge={type:re.DownloadProgress,loaded:bn.loaded};bn.lengthComputable&&(ge.total=bn.total),"text"===Pe.responseType&&kt.responseText&&(ge.partialText=kt.responseText),Ft.next(ge)},Pn=bn=>{let ge={type:re.UploadProgress,loaded:bn.loaded};bn.lengthComputable&&(ge.total=bn.total),Ft.next(ge)};return kt.addEventListener("load",Vn),kt.addEventListener("error",On),kt.addEventListener("timeout",On),kt.addEventListener("abort",On),Pe.reportProgress&&(kt.addEventListener("progress",Ci),null!==tn&&kt.upload&&kt.upload.addEventListener("progress",Pn)),kt.send(tn),Ft.next({type:re.Sent}),()=>{kt.removeEventListener("error",On),kt.removeEventListener("abort",On),kt.removeEventListener("load",Vn),kt.removeEventListener("timeout",On),Pe.reportProgress&&(kt.removeEventListener("progress",Ci),null!==tn&&kt.upload&&kt.upload.removeEventListener("progress",Pn)),kt.readyState!==kt.DONE&&kt.abort()}})))}static#e=this.\u0275fac=function(_t){return new(_t||Ke)(p.\u0275\u0275inject(F.XhrFactory))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac})}return Ke})();const Ot=new p.InjectionToken("XSRF_ENABLED"),Lt="XSRF-TOKEN",qt=new p.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Lt}),cn="X-XSRF-TOKEN",pn=new p.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>cn});class En{}let yt=(()=>{class Ke{constructor(Pe,_t,Mt){this.doc=Pe,this.platform=_t,this.cookieName=Mt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Pe=this.doc.cookie||"";return Pe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,F.\u0275parseCookieValue)(Pe,this.cookieName),this.lastCookieString=Pe),this.lastToken}static#e=this.\u0275fac=function(_t){return new(_t||Ke)(p.\u0275\u0275inject(F.DOCUMENT),p.\u0275\u0275inject(p.PLATFORM_ID),p.\u0275\u0275inject(qt))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac})}return Ke})();function rt(Ke,$e){const Pe=Ke.url.toLowerCase();if(!(0,p.inject)(Ot)||"GET"===Ke.method||"HEAD"===Ke.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return $e(Ke);const _t=(0,p.inject)(En).getToken(),Mt=(0,p.inject)(pn);return null!=_t&&!Ke.headers.has(Mt)&&(Ke=Ke.clone({headers:Ke.headers.set(Mt,_t)})),$e(Ke)}let Ie=(()=>{class Ke{constructor(Pe){this.injector=Pe}intercept(Pe,_t){return this.injector.runInContext(()=>rt(Pe,Mt=>_t.handle(Mt)))}static#e=this.\u0275fac=function(_t){return new(_t||Ke)(p.\u0275\u0275inject(p.EnvironmentInjector))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac})}return Ke})();var We=function(Ke){return Ke[Ke.Interceptors=0]="Interceptors",Ke[Ke.LegacyInterceptors=1]="LegacyInterceptors",Ke[Ke.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ke[Ke.NoXsrfProtection=3]="NoXsrfProtection",Ke[Ke.JsonpSupport=4]="JsonpSupport",Ke[Ke.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ke[Ke.Fetch=6]="Fetch",Ke}(We||{});function mt(Ke,$e){return{\u0275kind:Ke,\u0275providers:$e}}function Rt(...Ke){const $e=[H,at,Ee,{provide:S,useExisting:Ee},{provide:K,useExisting:at},{provide:ut,useValue:rt,multi:!0},{provide:Ot,useValue:!0},{provide:En,useClass:yt}];for(const Pe of Ke)$e.push(...Pe.\u0275providers);return(0,p.makeEnvironmentProviders)($e)}function Jt(Ke){return mt(We.Interceptors,Ke.map($e=>({provide:ut,useValue:$e,multi:!0})))}const ft=new p.InjectionToken("LEGACY_INTERCEPTOR_FN");function ye(){return mt(We.LegacyInterceptors,[{provide:ft,useFactory:ae},{provide:ut,useExisting:ft,multi:!0}])}function G({cookieName:Ke,headerName:$e}){const Pe=[];return void 0!==Ke&&Pe.push({provide:qt,useValue:Ke}),void 0!==$e&&Pe.push({provide:pn,useValue:$e}),mt(We.CustomXsrfConfiguration,Pe)}function k(){return mt(We.NoXsrfProtection,[{provide:Ot,useValue:!1}])}function fe(){return mt(We.JsonpSupport,[dt,{provide:Zt,useFactory:Qt},{provide:ut,useValue:Dt,multi:!0}])}function Ze(){return mt(We.RequestsMadeViaParent,[{provide:K,useFactory:()=>(0,p.inject)(S,{skipSelf:!0,optional:!0})}])}function It(){return mt(We.Fetch,[Ct,{provide:K,useExisting:Ct}])}let tt=(()=>{class Ke{static disable(){return{ngModule:Ke,providers:[k().\u0275providers]}}static withOptions(Pe={}){return{ngModule:Ke,providers:G(Pe).\u0275providers}}static#e=this.\u0275fac=function(_t){return new(_t||Ke)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:Ke});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[Ie,{provide:gt,useExisting:Ie,multi:!0},{provide:En,useClass:yt},G({cookieName:Lt,headerName:cn}).\u0275providers,{provide:Ot,useValue:!0}]})}return Ke})(),St=(()=>{class Ke{static#e=this.\u0275fac=function(_t){return new(_t||Ke)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:Ke});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[Rt(ye())]})}return Ke})(),_e=(()=>{class Ke{static#e=this.\u0275fac=function(_t){return new(_t||Ke)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:Ke});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[fe().\u0275providers]})}return Ke})();const Fe=new p.InjectionToken(""),je=["GET","HEAD"];function Et(Ke,$e){const{isCacheActive:Pe}=(0,p.inject)(Fe);if(!Pe||!je.includes(Ke.method))return $e(Ke);const _t=(0,p.inject)(p.TransferState),Mt=function vn(Ke){const{params:$e,method:Pe,responseType:_t,url:Mt}=Ke,tn=function ln(Ke){let $e=0;for(const Pe of Ke)$e=Math.imul(31,$e)+Pe.charCodeAt(0)<<0;return $e+=2147483648,$e.toString()}(Pe+"."+_t+"."+Mt+"?"+$e.keys().sort().map(Gt=>`${Gt}=${$e.getAll(Gt)}`).join("&"));return(0,p.makeStateKey)(tn)}(Ke),Ft=_t.get(Mt,null);if(Ft){let kt=Ft.body;switch(Ft.responseType){case"arraybuffer":kt=(new TextEncoder).encode(Ft.body).buffer;break;case"blob":kt=new Blob([Ft.body])}return(0,g.of)(new $({body:kt,headers:new V(Ft.headers),status:Ft.status,statusText:Ft.statusText,url:Ft.url}))}return $e(Ke).pipe((0,w.b)(kt=>{kt instanceof $&&_t.set(Mt,{body:kt.body,headers:Ut(kt.headers),status:kt.status,statusText:kt.statusText,url:kt.url||"",responseType:Ke.responseType})}))}function Ut(Ke){const $e={};for(const Pe of Ke.keys()){const _t=Ke.getAll(Pe);null!==_t&&($e[Pe]=_t)}return $e}function hn(){return[{provide:Fe,useFactory:()=>((0,p.inject)(p.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:et,useValue:Et,multi:!0,deps:[p.TransferState,Fe]},{provide:p.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Ke=(0,p.inject)(p.ApplicationRef),$e=(0,p.inject)(Fe);return()=>{Ke.isStable.pipe((0,O.P)(Pe=>Pe)).toPromise().then(()=>{$e.isCacheActive=!1})}}}]}},5879:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{ANIMATION_MODULE_TYPE:()=>V0,APP_BOOTSTRAP_LISTENER:()=>Qu,APP_ID:()=>pm,APP_INITIALIZER:()=>Av,ApplicationInitStatus:()=>kc,ApplicationModule:()=>px,ApplicationRef:()=>Cs,Attribute:()=>Zf,COMPILER_OPTIONS:()=>kv,CSP_NONCE:()=>$0,CUSTOM_ELEMENTS_SCHEMA:()=>uh,ChangeDetectionStrategy:()=>hn,ChangeDetectorRef:()=>ob,Compiler:()=>bD,CompilerFactory:()=>yD,Component:()=>cD,ComponentFactory:()=>tc,ComponentFactoryResolver:()=>Ys,ComponentRef:()=>wm,ContentChild:()=>sy,ContentChildren:()=>oy,DEFAULT_CURRENCY_CODE:()=>gD,DebugElement:()=>ga,DebugEventListener:()=>ex,DebugNode:()=>Ju,DefaultIterableDiffer:()=>ub,DestroyRef:()=>Qs,Directive:()=>Iv,ENVIRONMENT_INITIALIZER:()=>zs,ElementRef:()=>Zs,EmbeddedViewRef:()=>qD,EnvironmentInjector:()=>Gr,ErrorHandler:()=>go,EventEmitter:()=>Kr,Host:()=>ih,HostBinding:()=>fD,HostListener:()=>hD,INJECTOR:()=>Ol,Inject:()=>th,InjectFlags:()=>ot,Injectable:()=>lC,InjectionToken:()=>Hn,Injector:()=>Rr,Input:()=>dD,IterableDiffers:()=>rf,KeyValueDiffers:()=>sf,LOCALE_ID:()=>Nc,MissingTranslationStrategy:()=>Pv,ModuleWithComponentFactories:()=>Fv,NO_ERRORS_SCHEMA:()=>fh,NgModule:()=>mD,NgModuleFactory:()=>u_,NgModuleRef:()=>Oo,NgProbeToken:()=>$D,NgZone:()=>Si,Optional:()=>Sa,Output:()=>uD,PACKAGE_ROOT_URL:()=>B0,PLATFORM_ID:()=>Vl,PLATFORM_INITIALIZER:()=>gm,Pipe:()=>lD,PlatformRef:()=>Xu,Query:()=>Fs,QueryList:()=>Ac,Renderer2:()=>tC,RendererFactory2:()=>Tm,RendererStyleFlags2:()=>Na,Sanitizer:()=>Dm,SecurityContext:()=>Do,Self:()=>nh,SimpleChange:()=>jn,SkipSelf:()=>Ia,TRANSLATIONS:()=>_D,TRANSLATIONS_FORMAT:()=>vD,TemplateRef:()=>ha,Testability:()=>VD,TestabilityRegistry:()=>$v,TransferState:()=>Ws,Type:()=>Xf,VERSION:()=>Mm,Version:()=>xm,ViewChild:()=>cy,ViewChildren:()=>ay,ViewContainerRef:()=>Rc,ViewEncapsulation:()=>Ke,ViewRef:()=>ab,afterNextRender:()=>Um,afterRender:()=>$m,asNativeElements:()=>tx,assertInInjectionContext:()=>ic,assertPlatform:()=>Zv,booleanAttribute:()=>Sx,computed:()=>ko,createComponent:()=>Bx,createEnvironmentInjector:()=>m_,createNgModule:()=>f_,createNgModuleRef:()=>fT,createPlatform:()=>Gv,createPlatformFactory:()=>Yv,defineInjectable:()=>xe,destroyPlatform:()=>zD,effect:()=>vp,enableProdMode:()=>ZD,forwardRef:()=>F,getDebugNode:()=>ws,getModuleFactory:()=>QD,getNgModuleById:()=>XD,getPlatform:()=>jc,importProvidersFrom:()=>lm,inject:()=>St,isDevMode:()=>YD,isSignal:()=>qe,isStandalone:()=>er,makeEnvironmentProviders:()=>Rl,makeStateKey:()=>U0,mergeApplicationConfig:()=>$x,numberAttribute:()=>Ix,platformCore:()=>mx,provideZoneChangeDetection:()=>ib,reflectComponentType:()=>Vx,resolveForwardRef:()=>S,runInInjectionContext:()=>iC,setTestabilityGetter:()=>Uv,signal:()=>pr,untracked:()=>pt,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Yu,\u0275AfterRenderEventManager:()=>rc,\u0275ComponentFactory:()=>tc,\u0275Console:()=>Ov,\u0275DEFAULT_LOCALE_ID:()=>Ao,\u0275ENABLED_SSR_FEATURES:()=>_m,\u0275INJECTOR_SCOPE:()=>Nl,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Js,\u0275InitialRenderPendingTasks:()=>Rv,\u0275LContext:()=>yh,\u0275LifecycleHooksFeature:()=>Sp,\u0275LocaleDataIndex:()=>bs,\u0275NG_COMP_DEF:()=>_t,\u0275NG_DIR_DEF:()=>Mt,\u0275NG_ELEMENT_ID:()=>Gt,\u0275NG_INJ_DEF:()=>Ee,\u0275NG_MOD_DEF:()=>kt,\u0275NG_PIPE_DEF:()=>Ft,\u0275NG_PROV_DEF:()=>ae,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>nc,\u0275NO_CHANGE:()=>wn,\u0275NgModuleFactory:()=>Ic,\u0275NoopNgZone:()=>Nm,\u0275ReflectionCapabilities:()=>eh,\u0275Render3ComponentFactory:()=>as,\u0275Render3ComponentRef:()=>Mp,\u0275Render3NgModuleRef:()=>Sc,\u0275RuntimeError:()=>Y,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>vm,\u0275TESTABILITY:()=>Bv,\u0275TESTABILITY_GETTER:()=>Vv,\u0275ViewRef:()=>ss,\u0275XSS_SECURITY_URL:()=>W,\u0275_sanitizeHtml:()=>tm,\u0275_sanitizeUrl:()=>Wa,\u0275allowSanitizationBypassAndThrow:()=>Xo,\u0275annotateForHydration:()=>bx,\u0275bypassSanitizationTrustHtml:()=>p0,\u0275bypassSanitizationTrustResourceUrl:()=>b0,\u0275bypassSanitizationTrustScript:()=>_0,\u0275bypassSanitizationTrustStyle:()=>g0,\u0275bypassSanitizationTrustUrl:()=>v0,\u0275clearResolutionOfComponentResourcesQueue:()=>ch,\u0275compileComponent:()=>_v,\u0275compileDirective:()=>zu,\u0275compileNgModule:()=>fv,\u0275compileNgModuleDefs:()=>hv,\u0275compileNgModuleFactory:()=>Hv,\u0275compilePipe:()=>Mv,\u0275convertToBitFlags:()=>_e,\u0275createInjector:()=>Xl,\u0275defaultIterableDiffers:()=>fx,\u0275defaultKeyValueDiffers:()=>hx,\u0275detectChanges:()=>yp,\u0275devModeEqual:()=>Np,\u0275findLocaleData:()=>bu,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>dv,\u0275formatRuntimeError:()=>ue,\u0275getDebugNode:()=>ws,\u0275getDirectives:()=>y_,\u0275getHostElement:()=>Ou,\u0275getInjectableDef:()=>Me,\u0275getLContext:()=>Zi,\u0275getLocaleCurrencyCode:()=>gE,\u0275getLocalePluralCase:()=>kg,\u0275getSanitizationBypassType:()=>Yh,\u0275getUnknownElementStrictMode:()=>My,\u0275getUnknownPropertyStrictMode:()=>Iy,\u0275global:()=>dt,\u0275injectChangeDetectorRef:()=>sb,\u0275internalCreateApplication:()=>HD,\u0275isBoundToModule:()=>Wv,\u0275isEnvironmentProviders:()=>V,\u0275isInjectable:()=>Re,\u0275isNgModule:()=>ju,\u0275isPromise:()=>kd,\u0275isSubscribable:()=>Yp,\u0275noSideEffects:()=>ln,\u0275patchComponentDefWithScope:()=>Uu,\u0275publishDefaultGlobalUtils:()=>BD,\u0275publishGlobalUtil:()=>Xi,\u0275registerLocaleData:()=>pE,\u0275resetCompiledComponents:()=>QT,\u0275resetJitOptions:()=>GT,\u0275resolveComponentResources:()=>sh,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Dy,\u0275setAlternateWeakRefImpl:()=>Wn,\u0275setClassMetadata:()=>w_,\u0275setCurrentInjector:()=>fe,\u0275setDocument:()=>l0,\u0275setInjectorProfilerContext:()=>at,\u0275setLocaleId:()=>yu,\u0275setUnknownElementStrictMode:()=>xy,\u0275setUnknownPropertyStrictMode:()=>Sy,\u0275store:()=>Hp,\u0275stringify:()=>v,\u0275transitiveScopesFor:()=>Po,\u0275unregisterLocaleData:()=>_E,\u0275unwrapSafeValue:()=>to,\u0275withDomHydration:()=>xx,\u0275\u0275CopyDefinitionFeature:()=>Ap,\u0275\u0275FactoryTarget:()=>wo,\u0275\u0275HostDirectivesFeature:()=>Op,\u0275\u0275InheritDefinitionFeature:()=>md,\u0275\u0275InputTransformsFeature:()=>kp,\u0275\u0275NgOnChangesFeature:()=>In,\u0275\u0275ProvidersFeature:()=>d_,\u0275\u0275StandaloneFeature:()=>p_,\u0275\u0275advance:()=>ep,\u0275\u0275attribute:()=>gd,\u0275\u0275attributeInterpolate1:()=>_d,\u0275\u0275attributeInterpolate2:()=>vd,\u0275\u0275attributeInterpolate3:()=>bd,\u0275\u0275attributeInterpolate4:()=>yd,\u0275\u0275attributeInterpolate5:()=>Cd,\u0275\u0275attributeInterpolate6:()=>wd,\u0275\u0275attributeInterpolate7:()=>Ed,\u0275\u0275attributeInterpolate8:()=>Td,\u0275\u0275attributeInterpolateV:()=>Dd,\u0275\u0275classMap:()=>cg,\u0275\u0275classMapInterpolate1:()=>_g,\u0275\u0275classMapInterpolate2:()=>vg,\u0275\u0275classMapInterpolate3:()=>bg,\u0275\u0275classMapInterpolate4:()=>yg,\u0275\u0275classMapInterpolate5:()=>Cg,\u0275\u0275classMapInterpolate6:()=>wg,\u0275\u0275classMapInterpolate7:()=>Eg,\u0275\u0275classMapInterpolate8:()=>Tg,\u0275\u0275classMapInterpolateV:()=>Dg,\u0275\u0275classProp:()=>Xd,\u0275\u0275contentQuery:()=>iv,\u0275\u0275defer:()=>c_,\u0275\u0275defineComponent:()=>ri,\u0275\u0275defineDirective:()=>dr,\u0275\u0275defineInjectable:()=>Te,\u0275\u0275defineInjector:()=>Ne,\u0275\u0275defineNgModule:()=>lr,\u0275\u0275definePipe:()=>ur,\u0275\u0275directiveInject:()=>rs,\u0275\u0275disableBindings:()=>vf,\u0275\u0275element:()=>Rd,\u0275\u0275elementContainer:()=>Fd,\u0275\u0275elementContainerEnd:()=>bc,\u0275\u0275elementContainerStart:()=>vc,\u0275\u0275elementEnd:()=>_c,\u0275\u0275elementStart:()=>gc,\u0275\u0275enableBindings:()=>_f,\u0275\u0275getCurrentView:()=>Kp,\u0275\u0275getInheritedFactory:()=>Kf,\u0275\u0275hostProperty:()=>_u,\u0275\u0275i18n:()=>r_,\u0275\u0275i18nApply:()=>s_,\u0275\u0275i18nAttributes:()=>o_,\u0275\u0275i18nEnd:()=>Tu,\u0275\u0275i18nExp:()=>Du,\u0275\u0275i18nPostprocess:()=>a_,\u0275\u0275i18nStart:()=>Eu,\u0275\u0275inject:()=>It,\u0275\u0275injectAttribute:()=>il,\u0275\u0275invalidFactory:()=>np,\u0275\u0275invalidFactoryDep:()=>tt,\u0275\u0275listener:()=>Nd,\u0275\u0275loadQuery:()=>rv,\u0275\u0275namespaceHTML:()=>Rf,\u0275\u0275namespaceMathML:()=>Pf,\u0275\u0275namespaceSVG:()=>Of,\u0275\u0275nextContext:()=>Jp,\u0275\u0275ngDeclareClassMetadata:()=>Ox,\u0275\u0275ngDeclareComponent:()=>Px,\u0275\u0275ngDeclareDirective:()=>Ax,\u0275\u0275ngDeclareFactory:()=>Rx,\u0275\u0275ngDeclareInjectable:()=>kx,\u0275\u0275ngDeclareInjector:()=>Nx,\u0275\u0275ngDeclareNgModule:()=>Lx,\u0275\u0275ngDeclarePipe:()=>jx,\u0275\u0275pipe:()=>j_,\u0275\u0275pipeBind1:()=>B_,\u0275\u0275pipeBind2:()=>V_,\u0275\u0275pipeBind3:()=>$_,\u0275\u0275pipeBind4:()=>U_,\u0275\u0275pipeBindV:()=>H_,\u0275\u0275projection:()=>eg,\u0275\u0275projectionDef:()=>qp,\u0275\u0275property:()=>Od,\u0275\u0275propertyInterpolate:()=>jd,\u0275\u0275propertyInterpolate1:()=>yc,\u0275\u0275propertyInterpolate2:()=>Bd,\u0275\u0275propertyInterpolate3:()=>Vd,\u0275\u0275propertyInterpolate4:()=>$d,\u0275\u0275propertyInterpolate5:()=>Ud,\u0275\u0275propertyInterpolate6:()=>Hd,\u0275\u0275propertyInterpolate7:()=>zd,\u0275\u0275propertyInterpolate8:()=>Wd,\u0275\u0275propertyInterpolateV:()=>Gd,\u0275\u0275pureFunction0:()=>E_,\u0275\u0275pureFunction1:()=>T_,\u0275\u0275pureFunction2:()=>D_,\u0275\u0275pureFunction3:()=>x_,\u0275\u0275pureFunction4:()=>M_,\u0275\u0275pureFunction5:()=>S_,\u0275\u0275pureFunction6:()=>I_,\u0275\u0275pureFunction7:()=>A_,\u0275\u0275pureFunction8:()=>O_,\u0275\u0275pureFunctionV:()=>P_,\u0275\u0275queryRefresh:()=>tv,\u0275\u0275reference:()=>zp,\u0275\u0275registerNgModuleType:()=>cl,\u0275\u0275resetView:()=>yf,\u0275\u0275resolveBody:()=>nd,\u0275\u0275resolveDocument:()=>Vm,\u0275\u0275resolveWindow:()=>Bm,\u0275\u0275restoreView:()=>bf,\u0275\u0275sanitizeHtml:()=>nm,\u0275\u0275sanitizeResourceUrl:()=>Al,\u0275\u0275sanitizeScript:()=>rm,\u0275\u0275sanitizeStyle:()=>im,\u0275\u0275sanitizeUrl:()=>Il,\u0275\u0275sanitizeUrlOrResourceUrl:()=>am,\u0275\u0275setComponentScope:()=>Ji,\u0275\u0275setNgModuleScope:()=>Lr,\u0275\u0275styleMap:()=>Fr,\u0275\u0275styleMapInterpolate1:()=>xg,\u0275\u0275styleMapInterpolate2:()=>Mg,\u0275\u0275styleMapInterpolate3:()=>Sg,\u0275\u0275styleMapInterpolate4:()=>Ig,\u0275\u0275styleMapInterpolate5:()=>Ag,\u0275\u0275styleMapInterpolate6:()=>Og,\u0275\u0275styleMapInterpolate7:()=>Pg,\u0275\u0275styleMapInterpolate8:()=>Rg,\u0275\u0275styleMapInterpolateV:()=>Fg,\u0275\u0275styleProp:()=>Qd,\u0275\u0275stylePropInterpolate1:()=>cu,\u0275\u0275stylePropInterpolate2:()=>lu,\u0275\u0275stylePropInterpolate3:()=>du,\u0275\u0275stylePropInterpolate4:()=>uu,\u0275\u0275stylePropInterpolate5:()=>fu,\u0275\u0275stylePropInterpolate6:()=>hu,\u0275\u0275stylePropInterpolate7:()=>mu,\u0275\u0275stylePropInterpolate8:()=>pu,\u0275\u0275stylePropInterpolateV:()=>gu,\u0275\u0275syntheticHostListener:()=>Ld,\u0275\u0275syntheticHostProperty:()=>vu,\u0275\u0275template:()=>Vp,\u0275\u0275templateRefExtractor:()=>cv,\u0275\u0275text:()=>pg,\u0275\u0275textInterpolate:()=>qd,\u0275\u0275textInterpolate1:()=>Ec,\u0275\u0275textInterpolate2:()=>eu,\u0275\u0275textInterpolate3:()=>tu,\u0275\u0275textInterpolate4:()=>nu,\u0275\u0275textInterpolate5:()=>iu,\u0275\u0275textInterpolate6:()=>ru,\u0275\u0275textInterpolate7:()=>ou,\u0275\u0275textInterpolate8:()=>su,\u0275\u0275textInterpolateV:()=>au,\u0275\u0275trustConstantHtml:()=>om,\u0275\u0275trustConstantResourceUrl:()=>sm,\u0275\u0275validateIframeAttribute:()=>zh,\u0275\u0275viewQuery:()=>nv});var n=a(8645),s=a(7394),p=a(3018),g=a(3019),c=a(5619),d=a(2096),u=a(3020),m=a(4664),_=a(3997),f=a(2827);function y(e){for(let t in e)if(e[t]===y)return t;throw Error("Could not find renamed property on target object.")}function b(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function v(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(v).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 w(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const O=y({__forward_ref__:y});function F(e){return e.__forward_ref__=F,e.toString=function(){return v(this())},e}function S(e){return K(e)?e():e}function K(e){return"function"==typeof e&&e.hasOwnProperty(O)&&e.__forward_ref__===F}function V(e){return e&&!!e.\u0275providers}const W="https://g.co/ng/security#xss";class Y extends Error{constructor(t,i){super(ue(t,i)),this.code=t}}function ue(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ie(e){return"string"==typeof e?e:null==e?"":String(e)}function te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ie(e)}function Ye(e,t){throw new Y(-201,!1)}function He(e,t,i,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${i} ${r} ${t} <=Actual]`))}function Te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const xe=Te;function Ne(e){return{providers:e.providers||[],imports:e.imports||[]}}function Me(e){return gt(e,ae)||gt(e,ke)}function Re(e){return null!==Me(e)}function gt(e,t){return e.hasOwnProperty(t)?e[t]:null}function et(e){return e&&(e.hasOwnProperty(Ee)||e.hasOwnProperty(ct))?e[Ee]:null}const ae=y({\u0275prov:y}),Ee=y({\u0275inj:y}),ke=y({ngInjectableDef:y}),ct=y({ngInjectorDef:y});var ot=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ot||{});let wt;function jt(){return wt}function Kt(e){const t=wt;return wt=e,t}function Zt(e,t,i){const r=Me(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:i&ot.Optional?null:void 0!==t?t:void Ye(v(e))}const dt=globalThis;let de;function at(e){He("setInjectorProfilerContext should never be called in production mode");const t=de;return de=e,t}let Ot=null;const Lt=e=>{He("setInjectorProfiler should never be called in production mode"),Ot=e},Ie={},We="__NG_DI_FLAG__",mt="ngTempTokenPath",Jt=/\n/gm,ye="__source";let G;function fe(e){const t=G;return G=e,t}function Ze(e,t=ot.Default){if(void 0===G)throw new Y(-203,!1);return null===G?Zt(e,void 0,t):G.get(e,t&ot.Optional?null:void 0,t)}function It(e,t=ot.Default){return(jt()||Ze)(S(e),t)}function tt(e){throw new Y(202,!1)}function St(e,t=ot.Default){return It(e,_e(t))}function _e(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Fe(e){const t=[];for(let i=0;i<e.length;i++){const r=S(e[i]);if(Array.isArray(r)){if(0===r.length)throw new Y(900,!1);let l,h=ot.Default;for(let C=0;C<r.length;C++){const T=r[C],M=Et(T);"number"==typeof M?-1===M?l=T.token:h|=M:l=T}t.push(It(l,h))}else t.push(It(r))}return t}function je(e,t){return e[We]=t,e.prototype[We]=t,e}function Et(e){return e[We]}function ln(e){return{toString:e}.toString()}var hn=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(hn||{}),Ke=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ke||{});const $e={},Pe=[],_t=y({\u0275cmp:y}),Mt=y({\u0275dir:y}),Ft=y({\u0275pipe:y}),kt=y({\u0275mod:y}),tn=y({\u0275fac:y}),Gt=y({__NG_ELEMENT_ID__:y}),Mn=y({__NG_ENV_ID__:y});function Vn(e,t,i){let r=e.length;for(;;){const l=e.indexOf(t,i);if(-1===l)return l;if(0===l||e.charCodeAt(l-1)<=32){const h=t.length;if(l+h===r||e.charCodeAt(l+h)<=32)return l}i=l+1}}function On(e,t,i){let r=0;for(;r<i.length;){const l=i[r];if("number"==typeof l){if(0!==l)break;r++;const h=i[r++],C=i[r++],T=i[r++];e.setAttribute(t,C,T,h)}else{const h=l,C=i[++r];Ci(h)?e.setProperty(t,h,C):e.setAttribute(t,h,C),r++}}return r}function kn(e){return 3===e||4===e||6===e}function Ci(e){return 64===e.charCodeAt(0)}function Pn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let r=0;r<t.length;r++){const l=t[r];"number"==typeof l?i=l:0===i||bn(e,i,l,null,-1===i||2===i?t[++r]:null)}}return e}function bn(e,t,i,r,l){let h=0,C=e.length;if(-1===t)C=-1;else for(;h<e.length;){const T=e[h++];if("number"==typeof T){if(T===t){C=-1;break}if(T>t){C=h-1;break}}}for(;h<e.length;){const T=e[h];if("number"==typeof T)break;if(T===i){if(null===r)return void(null!==l&&(e[h+1]=l));if(r===e[h+1])return void(e[h+2]=l)}h++,null!==r&&h++,null!==l&&h++}-1!==C&&(e.splice(C,0,t),h=C+1),e.splice(h++,0,i),null!==r&&e.splice(h++,0,r),null!==l&&e.splice(h++,0,l)}const ge="ng-template";function st(e,t,i){let r=0,l=!0;for(;r<e.length;){let h=e[r++];if("string"==typeof h&&l){const C=e[r++];if(i&&"class"===h&&-1!==Vn(C.toLowerCase(),t,0))return!0}else{if(1===h){for(;r<e.length&&"string"==typeof(h=e[r++]);)if(h.toLowerCase()===t)return!0;return!1}"number"==typeof h&&(l=!1)}}return!1}function X(e){return 4===e.type&&e.value!==ge}function me(e,t,i){return t===(4!==e.type||i?e.value:ge)}function ne(e,t,i){let r=4;const l=e.attrs||[],h=function $t(e){for(let t=0;t<e.length;t++)if(kn(e[t]))return t;return e.length}(l);let C=!1;for(let T=0;T<t.length;T++){const M=t[T];if("number"!=typeof M){if(!C)if(4&r){if(r=2|1&r,""!==M&&!me(e,M,i)||""===M&&1===t.length){if(Qe(r))return!1;C=!0}}else{const N=8&r?M:t[++T];if(8&r&&null!==e.attrs){if(!st(e.attrs,N,i)){if(Qe(r))return!1;C=!0}continue}const Ae=L(8&r?"class":M,l,X(e),i);if(-1===Ae){if(Qe(r))return!1;C=!0;continue}if(""!==N){let it;it=Ae>h?"":l[Ae+1].toLowerCase();const ht=8&r?it:null;if(ht&&-1!==Vn(ht,N,0)||2&r&&N!==it){if(Qe(r))return!1;C=!0}}}}else{if(!C&&!Qe(r)&&!Qe(M))return!1;if(C&&Qe(M))continue;C=!1,r=M|1&r}}return Qe(r)||C}function Qe(e){return 0==(1&e)}function L(e,t,i,r){if(null===t)return-1;let l=0;if(r||!i){let h=!1;for(;l<t.length;){const C=t[l];if(C===e)return l;if(3===C||6===C)h=!0;else{if(1===C||2===C){let T=t[++l];for(;"string"==typeof T;)T=t[++l];continue}if(4===C)break;if(0===C){l+=4;continue}}l+=h?1:2}return-1}return function Bt(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const r=e[i];if("number"==typeof r)return-1;if(r===t)return i;i++}return-1}(t,e)}function Ve(e,t,i=!1){for(let r=0;r<t.length;r++)if(ne(e,t[r],i))return!0;return!1}function yn(e,t){e:for(let i=0;i<t.length;i++){const r=t[i];if(e.length===r.length){for(let l=0;l<e.length;l++)if(e[l]!==r[l])continue e;return!0}}return!1}function Sn(e,t){return e?":not("+t.trim()+")":t}function Kn(e){let t=e[0],i=1,r=2,l="",h=!1;for(;i<e.length;){let C=e[i];if("string"==typeof C)if(2&r){const T=e[++i];l+="["+C+(T.length>0?'="'+T+'"':"")+"]"}else 8&r?l+="."+C:4&r&&(l+=" "+C);else""!==l&&!Qe(C)&&(t+=Sn(h,l),l=""),r=C,h=h||!Qe(r);i++}return""!==l&&(t+=Sn(h,l)),t}function ri(e){return ln(()=>{const t=Ir(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===hn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ke.Emulated,styles:e.styles||Pe,_:null,schemas:e.schemas||null,tView:null,id:""};tr(i);const r=e.dependencies;return i.directiveDefs=fr(r,!1),i.pipeDefs=fr(r,!0),i.id=function Ar(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const l of i)t=Math.imul(31,t)+l.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function Ji(e,t,i){const r=e.\u0275cmp;r.directiveDefs=fr(t,!1),r.pipeDefs=fr(i,!0)}function Sr(e){return Tn(e)||Qn(e)}function so(e){return null!==e}function lr(e){return ln(()=>({type:e.type,bootstrap:e.bootstrap||Pe,declarations:e.declarations||Pe,imports:e.imports||Pe,exports:e.exports||Pe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Lr(e,t){return ln(()=>{const i=ti(e,!0);i.declarations=t.declarations||Pe,i.imports=t.imports||Pe,i.exports=t.exports||Pe})}function qi(e,t){if(null==e)return $e;const i={};for(const r in e)if(e.hasOwnProperty(r)){let l=e[r],h=l;Array.isArray(l)&&(h=l[1],l=l[0]),i[l]=r,t&&(t[l]=h)}return i}function dr(e){return ln(()=>{const t=Ir(e);return tr(t),t})}function ur(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 Tn(e){return e[_t]||null}function Qn(e){return e[Mt]||null}function Xn(e){return e[Ft]||null}function er(e){const t=Tn(e)||Qn(e)||Xn(e);return null!==t&&t.standalone}function ti(e,t){const i=e[kt]||null;if(!i&&!0===t)throw new Error(`Type ${v(e)} does not have '\u0275mod' property.`);return i}function Ir(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||$e,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Pe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qi(e.inputs,t),outputs:qi(e.outputs)}}function tr(e){e.features?.forEach(t=>t(e))}function fr(e,t){if(!e)return null;const i=t?Xn:Sr;return()=>("function"==typeof e?e():e).map(r=>i(r)).filter(so)}const hr=new Map,Bn=0,zt=1,dn=2,Nn=3,pi=4,Ai=5,oi=6,Ui=7,$n=8,Zn=9,Ni=10,rn=11,Li=12,br=13,Hi=14,Rn=15,mr=16,gi=17,Jn=18,ui=19,Oi=20,zi=21,si=22,qn=23,Pi=24,Cn=25,yr=1,Cr=2,_i=7,nr=9,jr=10,ai=11;function fi(e){return Array.isArray(e)&&"object"==typeof e[yr]}function ci(e){return Array.isArray(e)&&!0===e[yr]}function Br(e){return 0!=(4&e.flags)}function ir(e){return e.componentOffset>-1}function wr(e){return 1==(1&e.flags)}function Ei(e){return!!e.template}function Vr(e){return 0!=(512&e[dn])}function $r(e){return 16==(16&e.type)}function Ce(e,t){return e.hasOwnProperty(tn)?e[tn]:null}const Ge=Symbol("SIGNAL");function qe(e){return"function"==typeof e&&void 0!==e[Ge]}function bt(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let Tt=null,Wt=!1;function Ht(e){const t=Tt;return Tt=e,t}const xn={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function gn(e){if(Wt)throw new Error("");if(null===Tt)return;const t=Tt.nextProducerIndex++;Fi(Tt),t<Tt.producerNode.length&&Tt.producerNode[t]!==e&&Ri(Tt)&&yi(Tt.producerNode[t],Tt.producerIndexOfThis[t]),Tt.producerNode[t]!==e&&(Tt.producerNode[t]=e,Tt.producerIndexOfThis[t]=Ri(Tt)?rr(e,Tt,t):0),Tt.producerLastReadVersion[t]=e.version}function sn(e){if(!Ri(e)||e.dirty){if(!e.producerMustRecompute(e)&&!bi(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function fn(e){if(void 0===e.liveConsumerNode)return;const t=Wt;Wt=!0;try{for(const i of e.liveConsumerNode)i.dirty||li(i)}finally{Wt=t}}function Un(){return!1!==Tt?.consumerAllowSignalWrites}function li(e){e.dirty=!0,fn(e),e.consumerMarkedDirty?.(e)}function ni(e){return e&&(e.nextProducerIndex=0),Ht(e)}function vi(e,t){if(Ht(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ri(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)yi(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function bi(e){Fi(e);for(let t=0;t<e.producerNode.length;t++){const i=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==i.version||(sn(i),r!==i.version))return!0}return!1}function Ur(e){if(Fi(e),Ri(e))for(let t=0;t<e.producerNode.length;t++)yi(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function rr(e,t,i){if(or(e),Fi(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=rr(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(i),e.liveConsumerNode.push(t)-1}function yi(e,t){if(or(e),Fi(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)yi(e.producerNode[r],e.producerIndexOfThis[r]);const i=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[i],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[i],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],l=e.liveConsumerNode[t];Fi(l),l.producerIndexOfThis[r]=t}}function Ri(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Fi(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function or(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ko(e,t){const i=Object.create(Ms);i.computation=e,t?.equal&&(i.equal=t.equal);const r=()=>{if(sn(i),gn(i),i.value===uo)throw i.error;return i.value};return r[Ge]=i,r}const Hr=Symbol("UNSET"),Er=Symbol("COMPUTING"),uo=Symbol("ERRORED"),Ms=(()=>({...xn,value:Hr,dirty:!0,error:null,equal:bt,producerMustRecompute:e=>e.value===Hr||e.value===Er,producerRecomputeValue(e){if(e.value===Er)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Er;const i=ni(e);let r;try{r=e.computation()}catch(l){r=uo,e.error=l}finally{vi(e,i)}t!==Hr&&t!==uo&&r!==uo&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}}))();let an=function nn(){throw new Error};function un(){an()}let hi=null;function pr(e,t){const i=Object.create(Tr);function r(){return gn(i),i.value}return i.value=e,t?.equal&&(i.equal=t.equal),r.set=se,r.update=A,r.mutate=B,r.asReadonly=Se,r[Ge]=i,r}const Tr=(()=>({...xn,equal:bt,readonlyFn:void 0}))();function D(e){e.version++,fn(e),hi?.()}function se(e){const t=this[Ge];Un()||un(),t.equal(t.value,e)||(t.value=e,D(t))}function A(e){Un()||un(),se.call(this,e(this[Ge].value))}function B(e){const t=this[Ge];Un()||un(),e(t.value),D(t)}function Se(){const e=this[Ge];if(void 0===e.readonlyFn){const t=()=>this();t[Ge]=e,e.readonlyFn=t}return e.readonlyFn}function pt(e){const t=Ht(null);try{return e()}finally{Ht(t)}}const Xt=()=>{},zn=(()=>({...xn,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Xt}))();function Wn(e){}class jn{constructor(t,i,r){this.previousValue=t,this.currentValue=i,this.firstChange=r}isFirstChange(){return this.firstChange}}function In(){return di}function di(e){return e.type.prototype.ngOnChanges&&(e.setInput=wi),Yn}function Yn(){const e=Dr(this),t=e?.current;if(t){const i=e.previous;if(i===$e)e.previous=t;else for(let r in t)i[r]=t[r];e.current=null,this.ngOnChanges(t)}}function wi(e,t,i,r){const l=this.declaredInputs[i],h=Dr(e)||function fo(e,t){return e[Pr]=t}(e,{previous:$e,current:null}),C=h.current||(h.current={}),T=h.previous,M=T[l];C[l]=new jn(M&&M.currentValue,t,T===$e),e[r]=t}In.ngInherit=!0;const Pr="__ngSimpleChanges__";function Dr(e){return e[Pr]||null}let Wi=null;const Xr=e=>{Wi=e},Mi=function(e,t,i){Wi?.(e,t,i)},Jr="svg",lf="math";function ei(e){for(;Array.isArray(e);)e=e[Bn];return e}function Uc(e){for(;Array.isArray(e);){if("object"==typeof e[yr])return e;e=e[Bn]}return null}function _a(e,t){return ei(t[e])}function sr(e,t){return ei(t[e.index])}function df(e,t){return e.data[t]}function No(e,t){return e[t]}function gr(e,t){const i=t[e];return fi(i)?i:i[Bn]}function ho(e,t){return null==t?null:e[t]}function uf(e){e[gi]=0}function Ib(e){1024&e[dn]||(e[dn]|=1024,hf(e,1))}function ff(e){1024&e[dn]&&(e[dn]&=-1025,hf(e,-1))}function hf(e,t){let i=e[Nn];if(null===i)return;i[Ai]+=t;let r=i;for(i=i[Nn];null!==i&&(1===t&&1===r[Ai]||-1===t&&0===r[Ai]);)i[Ai]+=t,r=i,i=i[Nn]}function mf(e,t){if(256==(256&e[dn]))throw new Y(911,!1);null===e[zi]&&(e[zi]=[]),e[zi].push(t)}const mn={lFrame:Sf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gf(){return mn.bindingsEnabled}function Lo(){return null!==mn.skipHydrationRootTNode}function _f(){mn.bindingsEnabled=!0}function vf(){mn.bindingsEnabled=!1}function Nt(){return mn.lFrame.lView}function Ln(){return mn.lFrame.tView}function bf(e){return mn.lFrame.contextLView=e,e[$n]}function yf(e){return mn.lFrame.contextLView=null,e}function ki(){let e=Cf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cf(){return mn.lFrame.currentTNode}function Ss(){const e=mn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function zr(e,t){const i=mn.lFrame;i.currentTNode=e,i.isParent=t}function Hc(){return mn.lFrame.isParent}function zc(){mn.lFrame.isParent=!1}function Gi(){const e=mn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qr(){return mn.lFrame.bindingIndex}function Ef(e){return mn.lFrame.bindingIndex=e}function jo(){return mn.lFrame.bindingIndex++}function eo(e){const t=mn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Tf(e){mn.lFrame.inI18n=e}function Bb(e,t){const i=mn.lFrame;i.bindingIndex=i.bindingRootIndex=e,Wc(t)}function Wc(e){mn.lFrame.currentDirectiveIndex=e}function Gc(e){const t=mn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Df(){return mn.lFrame.currentQueryIndex}function Kc(e){mn.lFrame.currentQueryIndex=e}function $b(e){const t=e[zt];return 2===t.type?t.declTNode:1===t.type?e[oi]:null}function xf(e,t,i){if(i&ot.SkipSelf){let l=t,h=e;for(;!(l=l.parent,null!==l||i&ot.Host||(l=$b(h),null===l||(h=h[Hi],10&l.type))););if(null===l)return!1;t=l,e=h}const r=mn.lFrame=Mf();return r.currentTNode=t,r.lView=e,!0}function Yc(e){const t=Mf(),i=e[zt];mn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Mf(){const e=mn.lFrame,t=null===e?null:e.child;return null===t?Sf(e):t}function Sf(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 If(){const e=mn.lFrame;return mn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Af=If;function Zc(){const e=If();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 Ki(){return mn.lFrame.selectedIndex}function yo(e){mn.lFrame.selectedIndex=e}function mi(){const e=mn.lFrame;return df(e.tView,e.selectedIndex)}function Of(){mn.lFrame.currentNamespace=Jr}function Pf(){mn.lFrame.currentNamespace=lf}function Rf(){!function zb(){mn.lFrame.currentNamespace=null}()}function Ff(){return mn.lFrame.currentNamespace}let kf=!0;function va(){return kf}function mo(e){kf=e}function ba(e,t){for(let i=t.directiveStart,r=t.directiveEnd;i<r;i++){const h=e.data[i].type.prototype,{ngAfterContentInit:C,ngAfterContentChecked:T,ngAfterViewInit:M,ngAfterViewChecked:N,ngOnDestroy:ce}=h;C&&(e.contentHooks??=[]).push(-i,C),T&&((e.contentHooks??=[]).push(i,T),(e.contentCheckHooks??=[]).push(i,T)),M&&(e.viewHooks??=[]).push(-i,M),N&&((e.viewHooks??=[]).push(i,N),(e.viewCheckHooks??=[]).push(i,N)),null!=ce&&(e.destroyHooks??=[]).push(i,ce)}}function ya(e,t,i){Nf(e,t,3,i)}function Ca(e,t,i,r){(3&e[dn])===i&&Nf(e,t,i,r)}function Qc(e,t){let i=e[dn];(3&i)===t&&(i&=8191,i+=1,e[dn]=i)}function Nf(e,t,i,r){const h=r??-1,C=t.length-1;let T=0;for(let M=void 0!==r?65535&e[gi]:0;M<C;M++)if("number"==typeof t[M+1]){if(T=t[M],null!=r&&T>=r)break}else t[M]<0&&(e[gi]+=65536),(T<h||-1==h)&&(Gb(e,i,t,M),e[gi]=(4294901760&e[gi])+M+2),M++}function Lf(e,t){Mi(4,e,t);const i=Ht(null);try{t.call(e)}finally{Ht(i),Mi(5,e,t)}}function Gb(e,t,i,r){const l=i[r]<0,h=i[r+1],T=e[l?-i[r]:i[r]];l?e[dn]>>13<e[gi]>>16&&(3&e[dn])===t&&(e[dn]+=8192,Lf(T,h)):Lf(T,h)}const Bo=-1;class Is{constructor(t,i,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=r}}function Jc(e){return e!==Bo}function As(e){return 32767&e}function Os(e,t){let i=function Qb(e){return e>>16}(e),r=t;for(;i>0;)r=r[Hi],i--;return r}let qc=!0;function wa(e){const t=qc;return qc=e,t}const jf=255,Bf=5;let Xb=0;const Wr={};function Ea(e,t){const i=Vf(e,t);if(-1!==i)return i;const r=t[zt];r.firstCreatePass&&(e.injectorIndex=t.length,el(r.data,e),el(t,null),el(r.blueprint,null));const l=Ta(e,t),h=e.injectorIndex;if(Jc(l)){const C=As(l),T=Os(l,t),M=T[zt].data;for(let N=0;N<8;N++)t[h+N]=T[C+N]|M[C+N]}return t[h+8]=l,h}function el(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ta(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,r=null,l=t;for(;null!==l;){if(r=Yf(l),null===r)return Bo;if(i++,l=l[Hi],-1!==r.injectorIndex)return r.injectorIndex|i<<16}return Bo}function tl(e,t,i){!function Jb(e,t,i){let r;"string"==typeof i?r=i.charCodeAt(0)||0:i.hasOwnProperty(Gt)&&(r=i[Gt]),null==r&&(r=i[Gt]=Xb++);const l=r&jf;t.data[e+(l>>Bf)]|=1<<l}(e,t,i)}function $f(e,t,i){if(i&ot.Optional||void 0!==e)return e;Ye()}function Uf(e,t,i,r){if(i&ot.Optional&&void 0===r&&(r=null),!(i&(ot.Self|ot.Host))){const l=e[Zn],h=Kt(void 0);try{return l?l.get(t,r,i&ot.Optional):Zt(t,r,i&ot.Optional)}finally{Kt(h)}}return $f(r,0,i)}function Hf(e,t,i,r=ot.Default,l){if(null!==e){if(2048&t[dn]&&!(r&ot.Self)){const C=function ry(e,t,i,r,l){let h=e,C=t;for(;null!==h&&null!==C&&2048&C[dn]&&!(512&C[dn]);){const T=zf(h,C,i,r|ot.Self,Wr);if(T!==Wr)return T;let M=h.parent;if(!M){const N=C[Oi];if(N){const ce=N.get(i,Wr,r);if(ce!==Wr)return ce}M=Yf(C),C=C[Hi]}h=M}return l}(e,t,i,r,Wr);if(C!==Wr)return C}const h=zf(e,t,i,r,Wr);if(h!==Wr)return h}return Uf(t,i,r,l)}function zf(e,t,i,r,l){const h=function ty(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gt)?e[Gt]:void 0;return"number"==typeof t?t>=0?t&jf:iy:t}(i);if("function"==typeof h){if(!xf(t,e,r))return r&ot.Host?$f(l,0,r):Uf(t,i,r,l);try{let C;if(C=h(r),null!=C||r&ot.Optional)return C;Ye()}finally{Af()}}else if("number"==typeof h){let C=null,T=Vf(e,t),M=Bo,N=r&ot.Host?t[Rn][oi]:null;for((-1===T||r&ot.SkipSelf)&&(M=-1===T?Ta(e,t):t[T+8],M!==Bo&&Gf(r,!1)?(C=t[zt],T=As(M),t=Os(M,t)):T=-1);-1!==T;){const ce=t[zt];if(Wf(h,T,ce.data)){const Ae=ey(T,t,i,C,r,N);if(Ae!==Wr)return Ae}M=t[T+8],M!==Bo&&Gf(r,t[zt].data[T+8]===N)&&Wf(h,T,t)?(C=ce,T=As(M),t=Os(M,t)):T=-1}}return l}function ey(e,t,i,r,l,h){const C=t[zt],T=C.data[e+8],ce=Da(T,C,i,null==r?ir(T)&&qc:r!=C&&0!=(3&T.type),l&ot.Host&&h===T);return null!==ce?Co(t,C,ce,T):Wr}function Da(e,t,i,r,l){const h=e.providerIndexes,C=t.data,T=1048575&h,M=e.directiveStart,ce=h>>20,it=l?T+ce:e.directiveEnd;for(let ht=r?T:T+ce;ht<it;ht++){const At=C[ht];if(ht<M&&i===At||ht>=M&&At.type===i)return ht}if(l){const ht=C[M];if(ht&&Ei(ht)&&ht.type===i)return M}return null}function Co(e,t,i,r){let l=e[i];const h=t.data;if(function Kb(e){return e instanceof Is}(l)){const C=l;C.resolving&&function ve(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Y(-200,`Circular dependency in DI detected for ${e}${i}`)}(te(h[i]));const T=wa(C.canSeeViewProviders);C.resolving=!0;const N=C.injectImpl?Kt(C.injectImpl):null;xf(e,r,ot.Default);try{l=e[i]=C.factory(void 0,h,e,r),t.firstCreatePass&&i>=r.directiveStart&&function Wb(e,t,i){const{ngOnChanges:r,ngOnInit:l,ngDoCheck:h}=t.type.prototype;if(r){const C=di(t);(i.preOrderHooks??=[]).push(e,C),(i.preOrderCheckHooks??=[]).push(e,C)}l&&(i.preOrderHooks??=[]).push(0-e,l),h&&((i.preOrderHooks??=[]).push(e,h),(i.preOrderCheckHooks??=[]).push(e,h))}(i,h[i],t)}finally{null!==N&&Kt(N),wa(T),C.resolving=!1,Af()}}return l}function Wf(e,t,i){return!!(i[t+(e>>Bf)]&1<<e)}function Gf(e,t){return!(e&ot.Self||e&ot.Host&&t)}function Ps(e){return e._lView}class Yi{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,r){return Hf(this._tNode,this._lView,t,_e(r),i)}}function iy(){return new Yi(ki(),Nt())}function Kf(e){return ln(()=>{const t=e.prototype.constructor,i=t[tn]||nl(t),r=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==r;){const h=l[tn]||nl(l);if(h&&h!==i)return h;l=Object.getPrototypeOf(l)}return h=>new h})}function nl(e){return K(e)?()=>{const t=nl(S(e));return t&&t()}:Ce(e)}function Yf(e){const t=e[zt],i=t.type;return 2===i?t.declTNode:1===i?e[oi]:null}function il(e){return function qb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const r=i.length;let l=0;for(;l<r;){const h=i[l];if(kn(h))break;if(0===h)l+=2;else if("number"==typeof h)for(l++;l<r&&"string"==typeof i[l];)l++;else{if(h===t)return i[l+1];l+=2}}}return null}(ki(),e)}const Vo="__annotations__",$o="__parameters__",Uo="__prop__metadata__";function Rs(e,t,i,r,l){return ln(()=>{const h=rl(t);function C(...T){if(this instanceof C)return h.call(this,...T),this;const M=new C(...T);return function(ce){return l&&l(ce,...T),(ce.hasOwnProperty(Vo)?ce[Vo]:Object.defineProperty(ce,Vo,{value:[]})[Vo]).push(M),r&&r(ce),ce}}return i&&(C.prototype=Object.create(i.prototype)),C.prototype.ngMetadataName=e,C.annotationCls=C,C})}function rl(e){return function(...i){if(e){const r=e(...i);for(const l in r)this[l]=r[l]}}}function Ho(e,t,i){return ln(()=>{const r=rl(t);function l(...h){if(this instanceof l)return r.apply(this,h),this;const C=new l(...h);return T.annotation=C,T;function T(M,N,ce){const Ae=M.hasOwnProperty($o)?M[$o]:Object.defineProperty(M,$o,{value:[]})[$o];for(;Ae.length<=ce;)Ae.push(null);return(Ae[ce]=Ae[ce]||[]).push(C),M}}return i&&(l.prototype=Object.create(i.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function po(e,t,i,r){return ln(()=>{const l=rl(t);function h(...C){if(this instanceof h)return l.apply(this,C),this;const T=new h(...C);return function M(N,ce){if(void 0===N)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const Ae=N.constructor,it=Ae.hasOwnProperty(Uo)?Ae[Uo]:Object.defineProperty(Ae,Uo,{value:{}})[Uo];it[ce]=it.hasOwnProperty(ce)&&it[ce]||[],it[ce].unshift(T),r&&r(N,ce,...C)}}return i&&(h.prototype=Object.create(i.prototype)),h.prototype.ngMetadataName=e,h.annotationCls=h,h})}const Zf=Ho("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>il(e)}));class Fs{}const oy=po("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),Fs),sy=po("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Fs),ay=po("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),Fs),cy=po("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Fs);var wo=function(e){return e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule",e}(wo||{});function Di(e){const t=dt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Xf=Function;function ks(e){return"function"==typeof e}function xr(e){return e.flat(Number.POSITIVE_INFINITY)}function zo(e,t){e.forEach(i=>Array.isArray(i)?zo(i,t):t(i))}function Jf(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function xa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ns(e,t){const i=[];for(let r=0;r<e;r++)i.push(t);return i}function _r(e,t,i){let r=Wo(e,t);return r>=0?e[1|r]=i:(r=~r,function hy(e,t,i,r){let l=e.length;if(l==t)e.push(i,r);else if(1===l)e.push(r,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]=r}}(e,r,t,i)),r}function ol(e,t){const i=Wo(e,t);if(i>=0)return e[1|i]}function Wo(e,t){return function qf(e,t,i){let r=0,l=e.length>>i;for(;l!==r;){const h=r+(l-r>>1),C=e[h<<i];if(t===C)return h<<i;C>t?l=h:r=h+1}return~(l<<i)}(e,t,1)}const my=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,py=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,gy=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,_y=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class eh{constructor(t){this._reflect=t||dt.Reflect}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let r;r=Ns(typeof t>"u"?i.length:t.length);for(let l=0;l<r.length;l++)r[l]=typeof t>"u"?[]:t[l]&&t[l]!=Object?[t[l]]:[],i&&null!=i[l]&&(r[l]=r[l].concat(i[l]));return r}_ownParameters(t,i){if(function vy(e){return my.test(e)||_y.test(e)||py.test(e)&&!gy.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 T="function"==typeof l?l():l,M=T.map(ce=>ce&&ce.type),N=T.map(ce=>ce&&sl(ce.decorators));return this._zipTypesAndAnnotations(M,N)}const h=t.hasOwnProperty($o)&&t[$o],C=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return C||h?this._zipTypesAndAnnotations(C,h):Ns(t.length)}parameters(t){if(!ks(t))return[];const i=Ma(t);let r=this._ownParameters(t,i);return!r&&i!==Object&&(r=this.parameters(i)),r||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==i.decorators?sl(t.decorators):t.hasOwnProperty(Vo)?t[Vo]:null}annotations(t){if(!ks(t))return[];const i=Ma(t),r=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(r)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const r=t.propDecorators,l={};return Object.keys(r).forEach(h=>{l[h]=sl(r[h])}),l}return t.hasOwnProperty(Uo)?t[Uo]:null}propMetadata(t){if(!ks(t))return{};const i=Ma(t),r={};if(i!==Object){const h=this.propMetadata(i);Object.keys(h).forEach(C=>{r[C]=h[C]})}const l=this._ownPropMetadata(t,i);return l&&Object.keys(l).forEach(h=>{const C=[];r.hasOwnProperty(h)&&C.push(...r[h]),C.push(...l[h]),r[h]=C}),r}ownPropMetadata(t){return ks(t)&&this._ownPropMetadata(t,Ma(t))||{}}hasLifecycleHook(t,i){return t instanceof Xf&&i in t.prototype}}function sl(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Ma(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const th=je(Ho("Inject",e=>({token:e})),-1),Sa=je(Ho("Optional"),8),nh=je(Ho("Self"),2),Ia=je(Ho("SkipSelf"),4),ih=je(Ho("Host"),1);let rh=null;function al(){return rh=rh||new eh}function Aa(e){return oh(al().parameters(e))}function oh(e){return e.map(t=>function by(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 r=e[i];if(void 0===r)continue;const l=Object.getPrototypeOf(r);if(r instanceof Sa||"Optional"===l.ngMetadataName)t.optional=!0;else if(r instanceof Ia||"SkipSelf"===l.ngMetadataName)t.skipSelf=!0;else if(r instanceof nh||"Self"===l.ngMetadataName)t.self=!0;else if(r instanceof ih||"Host"===l.ngMetadataName)t.host=!0;else if(r instanceof th)t.token=r.token;else if(r instanceof Zf){if(void 0===r.attributeName)throw new Y(204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function sh(e){const t=[],i=new Map;function r(l){let h=i.get(l);if(!h){const C=e(l);i.set(l,h=C.then(wy))}return h}return Go.forEach((l,h)=>{const C=[];l.templateUrl&&C.push(r(l.templateUrl).then(Ae=>{l.template=Ae}));const T=l.styleUrls,M=l.styles||(l.styles=[]),N=l.styles.length;T&&T.forEach((Ae,it)=>{M.push(""),C.push(r(Ae).then(ht=>{M[N+it]=ht,T.splice(T.indexOf(Ae),1),0==T.length&&(l.styleUrls=void 0)}))});const ce=Promise.all(C).then(()=>function Ey(e){Ls.delete(e)}(h));t.push(ce)}),ch(),Promise.all(t).then(()=>{})}let Go=new Map;const Ls=new Set;function ah(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function ch(){const e=Go;return Go=new Map,e}function wy(e){return"string"==typeof e?e:e.text()}const Oa=new Map;let lh=!0;function cl(e,t){(function Ty(e,t,i){if(t&&t!==i&&lh)throw new Error(`Duplicate module registered for ${e} - ${v(t)} vs ${v(t.name)}`)})(t,Oa.get(t)||null,e),Oa.set(t,e)}function dh(e){return Oa.get(e)}function Dy(e){lh=!e}const uh={name:"custom-elements"},fh={name:"no-errors-schema"};let ll=!1;function xy(e){ll=e}function My(){return ll}let dl=!1;function Sy(e){dl=e}function Iy(){return dl}const Ko="ngSkipHydration";function gh(e){const t=Ko.toLowerCase(),i=e.mergedAttrs;if(null===i)return!1;for(let r=0;r<i.length;r+=2){const l=i[r];if("number"==typeof l)return!1;if("string"==typeof l&&l.toLowerCase()===t)return!0}return!1}function _h(e){return e.hasAttribute(Ko)}function Fa(e){return 128==(128&e.flags)}function ka(e){let t=e.parent;for(;t;){if(gh(t))return!0;t=t.parent}return!1}var Na=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Na||{});const Oy=/^>|^->|<!--|-->|--!>|<!-$/g,Py=/(<|>)/g,Ry="\u200b$1\u200b";const ul=new Map;let Fy=0;function bh(e){return ul.get(e)||null}class yh{get lView(){return bh(this.lViewId)}constructor(t,i,r){this.lViewId=t,this.nodeIndex=i,this.native=r}}function Zi(e){let t=js(e);if(t){if(fi(t)){const i=t;let r,l,h;if(Eh(e)){if(r=Dh(i,e),-1==r)throw new Error("The provided component was not found in the application");l=e}else if(function jy(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function Vy(e,t){let i=e[zt].firstChild;for(;i;){const l=i.directiveEnd;for(let h=i.directiveStart;h<l;h++)if(e[h]===t)return i.index;i=By(i)}return-1}(i,e),-1==r)throw new Error("The provided directive was not found in the application");h=xh(r,i)}else if(r=Th(i,e),-1==r)return null;const C=ei(i[r]),T=js(C),M=T&&!Array.isArray(T)?T:fl(i,r,C);if(l&&void 0===M.component&&(M.component=l,Vi(M.component,M)),h&&void 0===M.directives){M.directives=h;for(let N=0;N<h.length;N++)Vi(h[N],M)}Vi(M.native,M),t=M}}else{const i=e;let r=i;for(;r=r.parentNode;){const l=js(r);if(l){const h=Array.isArray(l)?l:l.lView;if(!h)return null;const C=Th(h,i);if(C>=0){const T=ei(h[C]),M=fl(h,C,T);Vi(T,M),t=M;break}}}}return t||null}function fl(e,t,i){return new yh(e[ui],t,i)}function Ch(e){let i,t=js(e);if(fi(t)){const r=t,l=Dh(r,e);i=gr(l,r);const h=fl(r,l,i[Bn]);h.component=e,Vi(e,h),Vi(h.native,h)}else i=gr(t.nodeIndex,t.lView);return i}const hl="__ngContext__";function Vi(e,t){fi(t)?(e[hl]=t[ui],function Ny(e){ul.set(e[ui],e)}(t)):e[hl]=t}function js(e){const t=e[hl];return"number"==typeof t?bh(t):t||null}function wh(e){const t=js(e);return t?fi(t)?t:t.lView:null}function Eh(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Th(e,t){const i=e[zt];for(let r=Cn;r<i.bindingStartIndex;r++)if(ei(e[r])===t)return r;return-1}function By(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 Dh(e,t){const i=e[zt].components;if(i)for(let r=0;r<i.length;r++){const l=i[r];if(gr(l,e)[$n]===t)return l}else if(gr(Cn,e)[$n]===t)return Cn;return-1}function xh(e,t){const i=t[zt].data[e];if(0===i.directiveStart)return Pe;const r=[];for(let l=i.directiveStart;l<i.directiveEnd;l++){const h=t[l];Eh(h)||r.push(h)}return r}let ml;function pl(e,t){return ml(e,t)}function Bs(e){const t=e[Nn];return ci(t)?t[Nn]:t}function Wy(e){return function zy(e){let t=fi(e)?e:wh(e);for(;t&&!(512&t[dn]);)t=Bs(t);return t}(e)[$n]}function Mh(e){return Ih(e[Li])}function Sh(e){return Ih(e[pi])}function Ih(e){for(;null!==e&&!ci(e);)e=e[pi];return e}function Yo(e,t,i,r,l){if(null!=r){let h,C=!1;ci(r)?h=r:fi(r)&&(C=!0,r=r[Bn]);const T=ei(r);0===e&&null!==i?null==l?Rh(t,i,T):Eo(t,i,T,l||null,!0):1===e&&null!==i?Eo(t,i,T,l||null,!0):2===e?Ua(t,T,C):3===e&&t.destroyNode(T),null!=h&&function r0(e,t,i,r,l){const h=i[_i];h!==ei(i)&&Yo(t,e,r,h,l);for(let T=ai;T<i.length;T++){const M=i[T];$s(M[zt],M,e,t,r,h)}}(t,e,h,i,l)}}function La(e,t){return e.createText(t)}function Ah(e,t,i){e.setValue(t,i)}function gl(e,t){return e.createComment(function vh(e){return e.replace(Oy,t=>t.replace(Py,Ry))}(t))}function ja(e,t,i){return e.createElement(t,i)}function Oh(e,t){const i=e[nr],r=i.indexOf(t);ff(t),i.splice(r,1)}function Ba(e,t){if(e.length<=ai)return;const i=ai+t,r=e[i];if(r){const l=r[mr];null!==l&&l!==e&&Oh(l,r),t>0&&(e[i-1][pi]=r[pi]);const h=xa(e,ai+t);!function Gy(e,t){$s(e,t,t[rn],2,null,null),t[Bn]=null,t[oi]=null}(r[zt],r);const C=h[Jn];null!==C&&C.detachView(h[zt]),r[Nn]=null,r[pi]=null,r[dn]&=-129}return r}function _l(e,t){if(!(256&t[dn])){const i=t[rn];t[qn]&&Ur(t[qn]),t[Pi]&&Ur(t[Pi]),i.destroyNode&&$s(e,t,i,3,null,null),function Zy(e){let t=e[Li];if(!t)return vl(e[zt],e);for(;t;){let i=null;if(fi(t))i=t[Li];else{const r=t[ai];r&&(i=r)}if(!i){for(;t&&!t[pi]&&t!==e;)fi(t)&&vl(t[zt],t),t=t[Nn];null===t&&(t=e),fi(t)&&vl(t[zt],t),i=t&&t[pi]}t=i}}(t)}}function vl(e,t){if(!(256&t[dn])){t[dn]&=-129,t[dn]|=256,function qy(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let r=0;r<i.length;r+=2){const l=t[i[r]];if(!(l instanceof Is)){const h=i[r+1];if(Array.isArray(h))for(let C=0;C<h.length;C+=2){const T=l[h[C]],M=h[C+1];Mi(4,T,M);try{M.call(T)}finally{Mi(5,T,M)}}else{Mi(4,l,h);try{h.call(l)}finally{Mi(5,l,h)}}}}}(e,t),function Jy(e,t){const i=e.cleanup,r=t[Ui];if(null!==i)for(let h=0;h<i.length-1;h+=2)if("string"==typeof i[h]){const C=i[h+3];C>=0?r[C]():r[-C].unsubscribe(),h+=2}else i[h].call(r[i[h+1]]);null!==r&&(t[Ui]=null);const l=t[zi];if(null!==l){t[zi]=null;for(let h=0;h<l.length;h++)(0,l[h])()}}(e,t),1===t[zt].type&&t[rn].destroy();const i=t[mr];if(null!==i&&ci(t[Nn])){i!==t[Nn]&&Oh(i,t);const r=t[Jn];null!==r&&r.detachView(e)}!function Ly(e){ul.delete(e[ui])}(t)}}function bl(e,t,i){return Ph(e,t.parent,i)}function Ph(e,t,i){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return i[Bn];{const{componentOffset:l}=r;if(l>-1){const{encapsulation:h}=e.data[r.directiveStart+l];if(h===Ke.None||h===Ke.Emulated)return null}return sr(r,i)}}function Eo(e,t,i,r,l){e.insertBefore(t,i,r,l)}function Rh(e,t,i){e.appendChild(t,i)}function Fh(e,t,i,r,l){null!==r?Eo(e,t,i,r,l):Rh(e,t,i)}function Va(e,t){return e.parentNode(t)}function kh(e,t,i){return Lh(e,t,i)}function Nh(e,t,i){return 40&e.type?sr(e,i):null}let yl,Ha,Tl,za,Lh=Nh;function jh(e,t){Lh=e,yl=t}function $a(e,t,i,r){const l=bl(e,r,t),h=t[rn],T=kh(r.parent||t[oi],r,t);if(null!=l)if(Array.isArray(i))for(let M=0;M<i.length;M++)Fh(h,l,i[M],T,!1);else Fh(h,l,i,T,!1);void 0!==yl&&yl(h,r,t,i,l)}function Vs(e,t){if(null!==t){const i=t.type;if(3&i)return sr(t,e);if(4&i)return Cl(-1,e[t.index]);if(8&i){const r=t.child;if(null!==r)return Vs(e,r);{const l=e[t.index];return ci(l)?Cl(-1,l):ei(l)}}if(32&i)return pl(t,e)()||ei(e[t.index]);{const r=Bh(e,t);return null!==r?Array.isArray(r)?r[0]:Vs(Bs(e[Rn]),r):Vs(e,t.next)}}return null}function Bh(e,t){return null!==t?e[Rn][oi].projection[t.projection]:null}function Cl(e,t){const i=ai+e+1;if(i<t.length){const r=t[i],l=r[zt].firstChild;if(null!==l)return Vs(r,l)}return t[_i]}function Ua(e,t,i){const r=Va(e,t);r&&function e0(e,t,i,r){e.removeChild(t,i,r)}(e,r,t,i)}function Vh(e){e.textContent=""}function wl(e,t,i,r,l,h,C){for(;null!=i;){const T=r[i.index],M=i.type;if(C&&0===t&&(T&&Vi(ei(T),r),i.flags|=2),32!=(32&i.flags))if(8&M)wl(e,t,i.child,r,l,h,!1),Yo(t,e,l,T,h);else if(32&M){const N=pl(i,r);let ce;for(;ce=N();)Yo(t,e,l,ce,h);Yo(t,e,l,T,h)}else 16&M?$h(e,t,r,i,l,h):Yo(t,e,l,T,h);i=C?i.projectionNext:i.next}}function $s(e,t,i,r,l,h){wl(i,r,e.firstChild,t,l,h,!1)}function $h(e,t,i,r,l,h){const C=i[Rn],M=C[oi].projection[r.projection];if(Array.isArray(M))for(let N=0;N<M.length;N++)Yo(t,e,l,M[N],h);else{let N=M;const ce=C[Nn];Fa(r)&&(N.flags|=128),wl(e,t,N,ce,l,h,!0)}}function Uh(e,t,i){""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Hh(e,t,i){const{mergedAttrs:r,classes:l,styles:h}=i;null!==r&&On(e,t,r),null!==l&&Uh(e,t,l),null!==h&&function s0(e,t,i){e.setAttribute(t,"style",i)}(e,t,h)}function El(){if(void 0===Ha&&(Ha=null,dt.trustedTypes))try{Ha=dt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ha}function Zo(e){return El()?.createHTML(e)||e}function zh(e,t,i){const r=Nt(),l=mi(),h=sr(l,r);if(2===l.type&&"iframe"===t.toLowerCase()){const C=h;throw C.src="",C.srcdoc=Zo(""),Ua(r[rn],C),new Y(-910,!1)}return e}function l0(e){Tl=e}function Qo(){if(void 0!==Tl)return Tl;if(typeof document<"u")return document;throw new Y(210,!1)}function Dl(){if(void 0===za&&(za=null,dt.trustedTypes))try{za=dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return za}function Wh(e){return Dl()?.createHTML(e)||e}function Gh(e){return Dl()?.createScript(e)||e}function Kh(e){return Dl()?.createScriptURL(e)||e}class To{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${W})`}}class d0 extends To{getTypeName(){return"HTML"}}class u0 extends To{getTypeName(){return"Style"}}class f0 extends To{getTypeName(){return"Script"}}class h0 extends To{getTypeName(){return"URL"}}class m0 extends To{getTypeName(){return"ResourceURL"}}function to(e){return e instanceof To?e.changingThisBreaksApplicationSecurity:e}function Xo(e,t){const i=Yh(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${W})`)}return i===t}function Yh(e){return e instanceof To&&e.getTypeName()||null}function p0(e){return new d0(e)}function g0(e){return new u0(e)}function _0(e){return new f0(e)}function v0(e){return new h0(e)}function b0(e){return new m0(e)}function Zh(e){const t=new C0(e);return function w0(){try{return!!(new window.DOMParser).parseFromString(Zo(""),"text/html")}catch{return!1}}()?new y0(t):t}class y0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(Zo(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class C0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Zo(t),i}}const E0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return(e=String(e)).match(E0)?e:"unsafe:"+e}function no(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Us(...e){const t={};for(const i of e)for(const r in i)i.hasOwnProperty(r)&&(t[r]=!0);return t}const Qh=no("area,br,col,hr,img,wbr"),Xh=no("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jh=no("rp,rt"),xl=Us(Qh,Us(Xh,no("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")),Us(Jh,no("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")),Us(Jh,Xh)),Ml=no("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qh=Us(Ml,no("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),no("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")),T0=no("script,style,template");class D0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,r=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?r=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,r&&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(!xl.hasOwnProperty(i))return this.sanitizedSomething=!0,!T0.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const r=t.attributes;for(let l=0;l<r.length;l++){const h=r.item(l),C=h.name,T=C.toLowerCase();if(!qh.hasOwnProperty(T)){this.sanitizedSomething=!0;continue}let M=h.value;Ml[T]&&(M=Wa(M)),this.buf.push(" ",C,'="',em(M),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();xl.hasOwnProperty(i)&&!Qh.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(em(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const x0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,M0=/([^\#-~ |!])/g;function em(e){return e.replace(/&/g,"&").replace(x0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(M0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ga;function tm(e,t){let i=null;try{Ga=Ga||Zh(e);let r=t?String(t):"";i=Ga.getInertBodyElement(r);let l=5,h=r;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,r=h,h=i.innerHTML,i=Ga.getInertBodyElement(r)}while(r!==h);return Zo((new D0).sanitizeChildren(Sl(i)||i))}finally{if(i){const r=Sl(i)||i;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Sl(e){return"content"in e&&function S0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Do=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Do||{});function nm(e){const t=Hs();return t?Wh(t.sanitize(Do.HTML,e)||""):Xo(e,"HTML")?Wh(to(e)):tm(Qo(),ie(e))}function im(e){const t=Hs();return t?t.sanitize(Do.STYLE,e)||"":Xo(e,"Style")?to(e):ie(e)}function Il(e){const t=Hs();return t?t.sanitize(Do.URL,e)||"":Xo(e,"URL")?to(e):Wa(ie(e))}function Al(e){const t=Hs();if(t)return Kh(t.sanitize(Do.RESOURCE_URL,e)||"");if(Xo(e,"ResourceURL"))return Kh(to(e));throw new Y(904,!1)}function rm(e){const t=Hs();if(t)return Gh(t.sanitize(Do.SCRIPT,e)||"");if(Xo(e,"Script"))return Gh(to(e));throw new Y(905,!1)}function om(e){return Zo(e[0])}function sm(e){return function c0(e){return El()?.createScriptURL(e)||e}(e[0])}function am(e,t,i){return function I0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Al:Il}(t,i)(e)}function Hs(){const e=Nt();return e&&e[Ni].sanitizer}class Hn{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=Te({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const zs=new Hn("ENVIRONMENT_INITIALIZER"),Ol=new Hn("INJECTOR",-1),cm=new Hn("INJECTOR_DEF_TYPES");class Pl{get(t,i=Ie){if(i===Ie){const r=new Error(`NullInjectorError: No provider for ${v(t)}!`);throw r.name="NullInjectorError",r}return i}}function Rl(e){return{\u0275providers:e}}function lm(...e){return{\u0275providers:dm(0,e),\u0275fromNgModule:!0}}function dm(e,...t){const i=[],r=new Set;let l;const h=C=>{i.push(C)};return zo(t,C=>{const T=C;Ka(T,h,[],r)&&(l||=[],l.push(T))}),void 0!==l&&um(l,h),i}function um(e,t){for(let i=0;i<e.length;i++){const{ngModule:r,providers:l}=e[i];Fl(l,h=>{t(h,r)})}}function Ka(e,t,i,r){if(!(e=S(e)))return!1;let l=null,h=et(e);const C=!h&&Tn(e);if(h||C){if(C&&!C.standalone)return!1;l=e}else{const M=e.ngModule;if(h=et(M),!h)return!1;l=M}const T=r.has(l);if(C){if(T)return!1;if(r.add(l),C.dependencies){const M="function"==typeof C.dependencies?C.dependencies():C.dependencies;for(const N of M)Ka(N,t,i,r)}}else{if(!h)return!1;{if(null!=h.imports&&!T){let N;r.add(l);try{zo(h.imports,ce=>{Ka(ce,t,i,r)&&(N||=[],N.push(ce))})}finally{}void 0!==N&&um(N,t)}if(!T){const N=Ce(l)||(()=>new l);t({provide:l,useFactory:N,deps:Pe},l),t({provide:cm,useValue:l,multi:!0},l),t({provide:zs,useValue:()=>It(l),multi:!0},l)}const M=h.providers;if(null!=M&&!T){const N=e;Fl(M,ce=>{t(ce,N)})}}}return l!==e&&void 0!==e.providers}function Fl(e,t){for(let i of e)V(i)&&(i=i.\u0275providers),Array.isArray(i)?Fl(i,t):t(i)}const A0=y({provide:String,useValue:y});function kl(e){return null!==e&&"object"==typeof e&&A0 in e}function xo(e){return"function"==typeof e}const Nl=new Hn("Set Injector scope."),Ya={},P0={};let Ll;function Za(){return void 0===Ll&&(Ll=new Pl),Ll}class Gr{}class Qa extends Gr{get destroyed(){return this._destroyed}constructor(t,i,r,l){super(),this.parent=i,this.source=r,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Bl(t,C=>this.processProvider(C)),this.records.set(Ol,Jo(void 0,this)),l.has("environment")&&this.records.set(Gr,Jo(void 0,this));const h=this.records.get(Nl);null!=h&&"string"==typeof h.value&&this.scopes.add(h.value),this.injectorDefTypes=new Set(this.get(cm.multi,Pe,ot.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=fe(this),r=Kt(void 0);try{return t()}finally{fe(i),Kt(r)}}get(t,i=Ie,r=ot.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Mn))return t[Mn](this);r=_e(r);const h=fe(this),C=Kt(void 0);try{if(!(r&ot.SkipSelf)){let M=this.records.get(t);if(void 0===M){const N=function L0(e){return"function"==typeof e||"object"==typeof e&&e instanceof Hn}(t)&&Me(t);M=N&&this.injectableDefInScope(N)?Jo(jl(t),Ya):null,this.records.set(t,M)}if(null!=M)return this.hydrate(t,M)}return(r&ot.Self?Za():this.parent).get(t,i=r&ot.Optional&&i===Ie?null:i)}catch(T){if("NullInjectorError"===T.name){if((T[mt]=T[mt]||[]).unshift(v(t)),h)throw T;return function Ut(e,t,i,r){const l=e[mt];throw t[ye]&&l.unshift(t[ye]),e.message=function vn(e,t,i,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=v(t);if(Array.isArray(t))l=t.map(v).join(" -> ");else if("object"==typeof t){let h=[];for(let C in t)if(t.hasOwnProperty(C)){let T=t[C];h.push(C+":"+("string"==typeof T?JSON.stringify(T):v(T)))}l=`{${h.join(", ")}}`}return`${i}${r?"("+r+")":""}[${l}]: ${e.replace(Jt,"\n ")}`}("\n"+e.message,l,i,r),e.ngTokenPath=l,e[mt]=null,e}(T,t,"R3InjectorError",this.source)}throw T}finally{Kt(C),fe(h)}}resolveInjectorInitializers(){const t=fe(this),i=Kt(void 0);try{const l=this.get(zs.multi,Pe,ot.Self);for(const h of l)h()}finally{fe(t),Kt(i)}}toString(){const t=[],i=this.records;for(const r of i.keys())t.push(v(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Y(205,!1)}processProvider(t){let i=xo(t=S(t))?t:S(t&&t.provide);const r=function F0(e){return kl(e)?Jo(void 0,e.useValue):Jo(mm(e),Ya)}(t);if(xo(t)||!0!==t.multi)this.records.get(i);else{let l=this.records.get(i);l||(l=Jo(void 0,Ya,!0),l.factory=()=>Fe(l.multi),this.records.set(i,l)),i=t,l.multi.push(t)}this.records.set(i,r)}hydrate(t,i){return i.value===Ya&&(i.value=P0,i.value=i.factory()),"object"==typeof i.value&&i.value&&function N0(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=S(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function jl(e){const t=Me(e),i=null!==t?t.factory:Ce(e);if(null!==i)return i;if(e instanceof Hn)throw new Y(204,!1);if(e instanceof Function)return function R0(e){const t=e.length;if(t>0)throw Ns(t,"?"),new Y(204,!1);const i=function ut(e){return e&&(e[ae]||e[ke])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Y(204,!1)}function mm(e,t,i){let r;if(xo(e)){const l=S(e);return Ce(l)||jl(l)}if(kl(e))r=()=>S(e.useValue);else if(function hm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Fe(e.deps||[]));else if(function fm(e){return!(!e||!e.useExisting)}(e))r=()=>It(S(e.useExisting));else{const l=S(e&&(e.useClass||e.provide));if(!function k0(e){return!!e.deps}(e))return Ce(l)||jl(l);r=()=>new l(...Fe(e.deps))}return r}function Jo(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Bl(e,t){for(const i of e)Array.isArray(i)?Bl(i,t):i&&V(i)?Bl(i.\u0275providers,t):t(i)}const pm=new Hn("AppId",{providedIn:"root",factory:()=>j0}),j0="ng",gm=new Hn("Platform Initializer"),Vl=new Hn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),B0=new Hn("Application Packages Root URL"),V0=new Hn("AnimationModuleType"),$0=new Hn("CSP nonce",{providedIn:"root",factory:()=>Qo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),_m=new Hn("",{providedIn:"root",factory:()=>new Set});function U0(e){return e}function H0(){const e=new Ws;return"browser"===St(Vl)&&(e.store=function z0(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(Qo(),St(pm))),e}let Ws=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Te({token:e,providedIn:"root",factory:H0});get(i,r){return void 0!==this.store[i]?this.store[i]:r}set(i,r){this.store[i]=r}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,r){this.onSerializeCallbacks[i]=r}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const $l="h",Ul="b";var qo=function(e){return e.FirstChild="f",e.NextSibling="n",e}(qo||{});const Hl="e",zl="t",Gs="c",Xa="x",es="r",Wl="i",Gl="n",Ja="d",Kl="__\u0275nghData__",Ks="ngh",vm="nghm";let bm=(e,t,i)=>null;function W0(e,t,i=!1){let r=e.getAttribute(Ks);if(null==r)return null;const[l,h]=r.split("|");if(r=i?h:l,!r)return null;const C=i?l:h?`|${h}`:"";let T={};if(""!==r){const N=t.get(Ws,null,{optional:!0});null!==N&&(T=N.get(Kl,[])[Number(r)])}const M={data:T,firstChild:e.firstChild??null};return i&&(M.firstChild=e,qa(M,0,e.nextSibling)),C?e.setAttribute(Ks,C):e.removeAttribute(Ks),M}function Yl(e,t,i=!1){return bm(e,t,i)}function ym(e){let t=e._lView;return 2===t[zt].type?null:(Vr(t)&&(t=t[Cn]),t)}function qa(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function Zl(e,t){return e.segmentHeads?.[t]??null}function Cm(e,t){return e.data[Gs]?.[t]??null}function Ql(e,t){const i=Cm(e,t)??[];let r=0;for(let l of i)r+=l[es]*(l[Xa]??1);return r}function ec(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[Ja];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class wm{}class tc{}class J0{resolveComponentFactory(t){throw function X0(e){const t=Error(`No component factory found for ${v(e)}.`);return t.ngComponent=e,t}(t)}}let Ys=(()=>{class e{static#e=this.NULL=new J0}return e})();function q0(){return ts(ki(),Nt())}function ts(e,t){return new Zs(sr(e,t))}let Zs=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=q0}return e})();function eC(e){return e instanceof Zs?e.nativeElement:e}class Tm{}let tC=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function nC(){const e=Nt(),i=gr(ki().index,e);return(fi(i)?i:e)[rn]}()}return e})(),Dm=(()=>{class e{static#e=this.\u0275prov=Te({token:e,providedIn:"root",factory:()=>null})}return e})();class xm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Mm=new xm("16.2.7"),nc={};function iC(e,t){e instanceof Qa&&e.assertNotDestroyed();const r=fe(e),l=Kt(void 0);try{return t()}finally{fe(r),Kt(l)}}function ic(e){if(!jt()&&!function k(){return G}())throw new Y(-203,!1)}const Sm={\u0275\u0275defineInjectable:Te,\u0275\u0275defineInjector:Ne,\u0275\u0275inject:It,\u0275\u0275invalidFactoryDep:tt,resolveForwardRef:S};const oC=y({provide:String,useValue:y});function Im(e){return void 0!==e.useClass}function Am(e){return void 0!==e.useFactory}const lC=Rs("Injectable",void 0,void 0,void 0,(e,t)=>function rC(e,t){let i=null,r=null;e.hasOwnProperty(ae)||Object.defineProperty(e,ae,{get:()=>(null===i&&(i=Di().compileInjectable(Sm,`ng:///${e.name}/\u0275prov.js`,function cC(e,t){const i=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Im(i)||Am(i))&&void 0!==i.deps&&(r.deps=oh(i.deps)),Im(i)?r.useClass=i.useClass:function sC(e){return oC in e}(i)?r.useValue=i.useValue:Am(i)?r.useFactory=i.useFactory:function aC(e){return void 0!==e.useExisting}(i)&&(r.useExisting=i.useExisting),r}(e,t))),i)}),e.hasOwnProperty(tn)||Object.defineProperty(e,tn,{get:()=>{if(null===r){const l=Di();r=l.compileFactory(Sm,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Aa(e),target:l.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function Xl(e,t=null,i=null,r){const l=Om(e,t,i,r);return l.resolveInjectorInitializers(),l}function Om(e,t=null,i=null,r,l=new Set){const h=[i||Pe,lm(e)];return r=r||("object"==typeof e?void 0:v(e)),new Qa(h,t||Za(),r||null,l)}let Rr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ie;static#t=this.NULL=new Pl;static create(i,r){if(Array.isArray(i))return Xl({name:""},r,i,"");{const l=i.name??"";return Xl({name:l},i.parent,i.providers,l)}}static#n=this.\u0275prov=Te({token:e,providedIn:"any",factory:()=>It(Ol)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Jl(e){return e.ngOriginalError}class go{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&&Jl(t);for(;i&&Jl(i);)i=Jl(i);return i||null}}let Qs=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uC;static#t=this.__NG_ENV_ID__=i=>i}return e})();class dC extends Qs{constructor(t){super(),this._lView=t}onDestroy(t){return mf(this._lView,t),()=>function Ab(e,t){if(null===e[zi])return;const i=e[zi].indexOf(t);-1!==i&&e[zi].splice(i,1)}(this._lView,t)}}function uC(){return new dC(Nt())}function ql(e){return t=>{setTimeout(e,void 0,t)}}const Kr=class fC extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,r){let l=t,h=i||(()=>null),C=r;if(t&&"object"==typeof t){const M=t;l=M.next?.bind(M),h=M.error?.bind(M),C=M.complete?.bind(M)}this.__isAsync&&(h=ql(h),l&&(l=ql(l)),C&&(C=ql(C)));const T=super.subscribe({next:l,error:h,complete:C});return t instanceof s.w0&&t.add(T),T}};function Rm(...e){}class Si{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Kr(!1),this.onMicrotaskEmpty=new Kr(!1),this.onStable=new Kr(!1),this.onError=new Kr(!1),typeof Zone>"u")throw new Y(908,!1);Zone.assertZonePatched();const l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!r&&i,l.shouldCoalesceRunChangeDetection=r,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function hC(){const e="function"==typeof dt.requestAnimationFrame;let t=dt[e?"requestAnimationFrame":"setTimeout"],i=dt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const l=i[Zone.__symbol__("OriginalDelegate")];l&&(i=l)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function gC(e){const t=()=>{!function pC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(dt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,td(e),e.isCheckStableRunning=!0,ed(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),td(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,r,l,h,C,T)=>{if(function _C(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(T))return i.invokeTask(l,h,C,T);try{return Fm(e),i.invokeTask(l,h,C,T)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===h.type||e.shouldCoalesceRunChangeDetection)&&t(),km(e)}},onInvoke:(i,r,l,h,C,T,M)=>{try{return Fm(e),i.invoke(l,h,C,T,M)}finally{e.shouldCoalesceRunChangeDetection&&t(),km(e)}},onHasTask:(i,r,l,h)=>{i.hasTask(l,h),r===l&&("microTask"==h.change?(e._hasPendingMicrotasks=h.microTask,td(e),ed(e)):"macroTask"==h.change&&(e.hasPendingMacrotasks=h.macroTask))},onHandleError:(i,r,l,h)=>(i.handleError(l,h),e.runOutsideAngular(()=>e.onError.emit(h)),!1)})}(l)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Si.isInAngularZone())throw new Y(909,!1)}static assertNotInAngularZone(){if(Si.isInAngularZone())throw new Y(909,!1)}run(t,i,r){return this._inner.run(t,i,r)}runTask(t,i,r,l){const h=this._inner,C=h.scheduleEventTask("NgZoneEvent: "+l,t,mC,Rm,Rm);try{return h.runTask(C,i,r)}finally{h.cancelTask(C)}}runGuarded(t,i,r){return this._inner.runGuarded(t,i,r)}runOutsideAngular(t){return this._outer.run(t)}}const mC={};function ed(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 td(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function km(e){e._nesting--,ed(e)}class Nm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Kr,this.onMicrotaskEmpty=new Kr,this.onStable=new Kr,this.onError=new Kr}run(t,i,r){return t.apply(i,r)}runGuarded(t,i,r){return t.apply(i,r)}runOutsideAngular(t){return t()}runTask(t,i,r,l){return t.apply(i,r)}}const Lm=new Hn("",{providedIn:"root",factory:jm});function jm(){const e=St(Si);let t=!0;const i=new p.y(l=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{l.next(t),l.complete()})}),r=new p.y(l=>{let h;e.runOutsideAngular(()=>{h=e.onStable.subscribe(()=>{Si.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,l.next(!0))})})});const C=e.onUnstable.subscribe(()=>{Si.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{l.next(!1)}))});return()=>{h.unsubscribe(),C.unsubscribe()}});return(0,g.T)(i,r.pipe((0,u.B)()))}function Bm(e){return e.ownerDocument.defaultView}function Vm(e){return e.ownerDocument}function nd(e){return e.ownerDocument.body}function io(e){return e instanceof Function?e():e}function is(e){return"browser"===(e??St(Rr)).get(Vl)}function $m(e,t){!t&&ic();const i=t?.injector??St(Rr);if(!is(i))return{destroy(){}};let r;const l=i.get(Qs).onDestroy(()=>r?.()),h=i.get(rc),C=h.handler??=new zm,T=i.get(Si),M=i.get(go,null,{optional:!0}),N=new Hm(T,M,e);return r=()=>{C.unregister(N),l()},C.register(N),{destroy:r}}function Um(e,t){!t&&ic();const i=t?.injector??St(Rr);if(!is(i))return{destroy(){}};let r;const l=i.get(Qs).onDestroy(()=>r?.()),h=i.get(rc),C=h.handler??=new zm,T=i.get(Si),M=i.get(go,null,{optional:!0}),N=new Hm(T,M,()=>{r?.(),e()});return r=()=>{C.unregister(N),l()},C.register(N),{destroy:r}}class Hm{constructor(t,i,r){this.zone=t,this.errorHandler=i,this.callbackFn=r}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class zm{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new Y(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(t)}unregister(t){this.callbacks.delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of this.callbacks)t.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.callbacks.add(t);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}let rc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=Te({token:e,providedIn:"root",factory:()=>new e})}return e})();function Xs(e){for(;e;){e[dn]|=64;const t=Bs(e);if(Vr(e)&&!t)return e;e=t}return null}const Js=new Hn(""),Gm=new Hn("",{providedIn:"root",factory:()=>!1});let oc=null;function Qm(e,t){return e[t]??qm()}function Xm(e,t){const i=qm();i.producerNode?.length&&(e[t]=oc,i.lView=e,oc=Jm())}const EC={...xn,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Xs(e.lView)},lView:null};function Jm(){return Object.create(EC)}function qm(){return oc??=Jm(),oc}const wn={};function ep(e){tp(Ln(),Nt(),Ki()+e,!1)}function tp(e,t,i,r){if(!r)if(3==(3&t[dn])){const h=e.preOrderCheckHooks;null!==h&&ya(t,h,i)}else{const h=e.preOrderHooks;null!==h&&Ca(t,h,0,i)}yo(i)}function rs(e,t=ot.Default){const i=Nt();return null===i?It(e,t):Hf(ki(),i,S(e),t)}function np(){throw new Error("invalid")}function sc(e,t,i,r,l,h,C,T,M,N,ce){const Ae=t.blueprint.slice();return Ae[Bn]=l,Ae[dn]=140|r,(null!==N||e&&2048&e[dn])&&(Ae[dn]|=2048),uf(Ae),Ae[Nn]=Ae[Hi]=e,Ae[$n]=i,Ae[Ni]=C||e&&e[Ni],Ae[rn]=T||e&&e[rn],Ae[Zn]=M||e&&e[Zn]||null,Ae[oi]=h,Ae[ui]=function ky(){return Fy++}(),Ae[si]=ce,Ae[Oi]=N,Ae[Rn]=2==t.type?e[Rn]:Ae,Ae}function os(e,t,i,r,l){let h=e.data[t];if(null===h)h=id(e,t,i,r,l),function jb(){return mn.lFrame.inI18n}()&&(h.flags|=32);else if(64&h.type){h.type=i,h.value=r,h.attrs=l;const C=Ss();h.injectorIndex=null===C?-1:C.injectorIndex}return zr(h,!0),h}function id(e,t,i,r,l){const h=Cf(),C=Hc(),M=e.data[t]=function OC(e,t,i,r,l,h){let C=t?t.injectorIndex:-1,T=0;return Lo()&&(T|=128),{type:i,index:r,insertBeforeIndex:null,injectorIndex:C,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:T,providerIndexes:0,value:l,attrs:h,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,C?h:h&&h.parent,i,t,r,l);return null===e.firstChild&&(e.firstChild=M),null!==h&&(C?null==h.child&&null!==M.parent&&(h.child=M):null===h.next&&(h.next=M,M.prev=h)),M}function qs(e,t,i,r){if(0===i)return-1;const l=t.length;for(let h=0;h<i;h++)t.push(r),e.blueprint.push(r),e.data.push(null);return l}function ip(e,t,i,r,l){const h=Qm(t,qn),C=Ki(),T=2&r;try{yo(-1),T&&t.length>Cn&&tp(e,t,Cn,!1),Mi(T?2:0,l);const N=T?h:null,ce=ni(N);try{null!==N&&(N.dirty=!1),i(r,l)}finally{vi(N,ce)}}finally{T&&null===t[qn]&&Xm(t,qn),yo(C),Mi(T?3:1,l)}}function rd(e,t,i){if(Br(t)){const r=Ht(null);try{const h=t.directiveEnd;for(let C=t.directiveStart;C<h;C++){const T=e.data[C];T.contentQueries&&T.contentQueries(1,i[C],C)}}finally{Ht(r)}}}function od(e,t,i){gf()&&(function jC(e,t,i,r){const l=i.directiveStart,h=i.directiveEnd;ir(i)&&function WC(e,t,i){const r=sr(t,e),l=rp(i);let C=16;i.signals?C=4096:i.onPush&&(C=64);const T=ac(e,sc(e,l,null,C,r,t,null,e[Ni].rendererFactory.createRenderer(r,i),null,null,null));e[t.index]=T}(t,i,e.data[l+i.componentOffset]),e.firstCreatePass||Ea(i,t),Vi(r,t);const C=i.initialInputs;for(let T=l;T<h;T++){const M=e.data[T],N=Co(t,e,T,i);Vi(N,t),null!==C&&GC(0,T-l,N,M,0,C),Ei(M)&&(gr(i.index,t)[$n]=Co(t,e,T,i))}}(e,t,i,sr(i,t)),64==(64&i.flags)&&lp(e,t,i))}function sd(e,t,i=sr){const r=t.localNames;if(null!==r){let l=t.index+1;for(let h=0;h<r.length;h+=2){const C=r[h+1],T=-1===C?i(t,e):e[C];e[l++]=T}}}function rp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ad(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ad(e,t,i,r,l,h,C,T,M,N,ce){const Ae=Cn+r,it=Ae+l,ht=function DC(e,t){const i=[];for(let r=0;r<t;r++)i.push(r<e?null:wn);return i}(Ae,it),At="function"==typeof N?N():N;return ht[zt]={type:e,blueprint:ht,template:i,queries:null,viewQuery:T,declTNode:t,data:ht.slice().fill(null,Ae),bindingStartIndex:Ae,expandoStartIndex:it,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 h?h():h,pipeRegistry:"function"==typeof C?C():C,firstChild:null,schemas:M,consts:At,incompleteFirstPass:!1,ssrId:ce}}let op=e=>null;function SC(e){_h(e)?Vh(e):function Y0(e){const t=Qo(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(h){const C=function K0(e){return e.textContent?.replace(/\s/gm,"")}(h);return"ngetn"===C||"ngtns"===C?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const l=[];for(;r=i.nextNode();)l.push(r);for(const h of l)"ngetn"===h.textContent?h.replaceWith(t.createTextNode("")):h.remove()}(e)}function sp(e,t,i,r){for(let l in e)if(e.hasOwnProperty(l)){i=null===i?{}:i;const h=e[l];null===r?ap(i,t,l,h):r.hasOwnProperty(l)&&ap(i,t,r[l],h)}return i}function ap(e,t,i,r){e.hasOwnProperty(i)?e[i].push(t,r):e[i]=[t,r]}function vr(e,t,i,r,l,h,C,T){const M=sr(t,i);let ce,N=t.inputs;!T&&null!=N&&(ce=N[r])?(fd(e,i,ce,r,l),ir(t)&&function FC(e,t){const i=gr(t,e);16&i[dn]||(i[dn]|=64)}(i,t.index)):3&t.type&&(r=function RC(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),l=null!=C?C(l,t.value||"",r):l,h.setProperty(M,r,l))}function cd(e,t,i,r){if(gf()){const l=null===r?null:{"":-1},h=function VC(e,t){const i=e.directiveRegistry;let r=null,l=null;if(i)for(let h=0;h<i.length;h++){const C=i[h];if(Ve(t,C.selectors,!1))if(r||(r=[]),Ei(C))if(null!==C.findHostDirectiveDefs){const T=[];l=l||new Map,C.findHostDirectiveDefs(C,T,l),r.unshift(...T,C),ld(e,t,T.length)}else r.unshift(C),ld(e,t,0);else l=l||new Map,C.findHostDirectiveDefs?.(C,r,l),r.push(C)}return null===r?null:[r,l]}(e,i);let C,T;null===h?C=T=null:[C,T]=h,null!==C&&cp(e,t,i,C,l,T),l&&function $C(e,t,i){if(t){const r=e.localNames=[];for(let l=0;l<t.length;l+=2){const h=i[t[l+1]];if(null==h)throw new Y(-301,!1);r.push(t[l],h)}}}(i,r,l)}i.mergedAttrs=Pn(i.mergedAttrs,i.attrs)}function cp(e,t,i,r,l,h){for(let N=0;N<r.length;N++)tl(Ea(i,t),e,r[N].type);!function HC(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}(i,e.data.length,r.length);for(let N=0;N<r.length;N++){const ce=r[N];ce.providersResolver&&ce.providersResolver(ce)}let C=!1,T=!1,M=qs(e,t,r.length,null);for(let N=0;N<r.length;N++){const ce=r[N];i.mergedAttrs=Pn(i.mergedAttrs,ce.hostAttrs),zC(e,i,t,M,ce),UC(M,ce,l),null!==ce.contentQueries&&(i.flags|=4),(null!==ce.hostBindings||null!==ce.hostAttrs||0!==ce.hostVars)&&(i.flags|=64);const Ae=ce.type.prototype;!C&&(Ae.ngOnChanges||Ae.ngOnInit||Ae.ngDoCheck)&&((e.preOrderHooks??=[]).push(i.index),C=!0),!T&&(Ae.ngOnChanges||Ae.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(i.index),T=!0),M++}!function PC(e,t,i){const l=t.directiveEnd,h=e.data,C=t.attrs,T=[];let M=null,N=null;for(let ce=t.directiveStart;ce<l;ce++){const Ae=h[ce],it=i?i.get(Ae):null,At=it?it.outputs:null;M=sp(Ae.inputs,ce,M,it?it.inputs:null),N=sp(Ae.outputs,ce,N,At);const Vt=null===M||null===C||X(t)?null:KC(M,ce,C);T.push(Vt)}null!==M&&(M.hasOwnProperty("class")&&(t.flags|=8),M.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=T,t.inputs=M,t.outputs=N}(e,i,h)}function lp(e,t,i){const r=i.directiveStart,l=i.directiveEnd,h=i.index,C=function Vb(){return mn.lFrame.currentDirectiveIndex}();try{yo(h);for(let T=r;T<l;T++){const M=e.data[T],N=t[T];Wc(T),(null!==M.hostBindings||0!==M.hostVars||null!==M.hostAttrs)&&BC(M,N)}}finally{yo(-1),Wc(C)}}function BC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ld(e,t,i){t.componentOffset=i,(e.components??=[]).push(t.index)}function UC(e,t,i){if(i){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)i[t.exportAs[r]]=e;Ei(t)&&(i[""]=e)}}function zC(e,t,i,r,l){e.data[r]=l;const h=l.factory||(l.factory=Ce(l.type)),C=new Is(h,Ei(l),rs);e.blueprint[r]=C,i[r]=C,function NC(e,t,i,r,l){const h=l.hostBindings;if(h){let C=e.hostBindingOpCodes;null===C&&(C=e.hostBindingOpCodes=[]);const T=~t.index;(function LC(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(C)!=T&&C.push(T),C.push(i,r,h)}}(e,t,r,qs(e,i,l.hostVars,wn),l)}function Yr(e,t,i,r,l,h){const C=sr(e,t);dd(t[rn],C,h,e.value,i,r,l)}function dd(e,t,i,r,l,h,C){if(null==h)e.removeAttribute(t,l,i);else{const T=null==C?ie(h):C(h,r||"",l);e.setAttribute(t,l,T,i)}}function GC(e,t,i,r,l,h){const C=h[t];if(null!==C)for(let T=0;T<C.length;)dp(r,i,C[T++],C[T++],C[T++])}function dp(e,t,i,r,l){const h=Ht(null);try{const C=e.inputTransforms;null!==C&&C.hasOwnProperty(r)&&(l=C[r].call(t,l)),null!==e.setInput?e.setInput(t,l,i,r):t[r]=l}finally{Ht(h)}}function KC(e,t,i){let r=null,l=0;for(;l<i.length;){const h=i[l];if(0!==h)if(5!==h){if("number"==typeof h)break;if(e.hasOwnProperty(h)){null===r&&(r=[]);const C=e[h];for(let T=0;T<C.length;T+=2)if(C[T]===t){r.push(h,C[T+1],i[l+1]);break}}l+=2}else l+=2;else l+=4}return r}function up(e,t,i,r){return[e,!0,!1,t,null,0,r,i,null,null,null]}function fp(e,t){const i=e.contentQueries;if(null!==i)for(let r=0;r<i.length;r+=2){const h=i[r+1];if(-1!==h){const C=e.data[h];Kc(i[r]),C.contentQueries(2,t[h],h)}}}function ac(e,t){return e[Li]?e[br][pi]=t:e[Li]=t,e[br]=t,t}function ud(e,t,i){Kc(0);const r=Ht(null);try{t(e,i)}finally{Ht(r)}}function hp(e){return e[Ui]||(e[Ui]=[])}function mp(e){return e.cleanup||(e.cleanup=[])}function pp(e,t,i){return(null===e||Ei(e))&&(i=Uc(i[t.index])),i[rn]}function gp(e,t){const i=e[Zn],r=i?i.get(go,null):null;r&&r.handleError(t)}function fd(e,t,i,r,l){for(let h=0;h<i.length;){const C=i[h++],T=i[h++];dp(e.data[C],t[C],r,T,l)}}function ro(e,t,i){const r=_a(t,e);Ah(e[rn],r,i)}function YC(e,t){const i=gr(t,e),r=i[zt];!function ZC(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}(r,i);const l=i[Bn];null!==l&&null===i[si]&&(i[si]=Yl(l,i[Zn])),hd(r,i,i[$n])}function hd(e,t,i){Yc(t);try{const r=e.viewQuery;null!==r&&ud(1,r,i);const l=e.template;null!==l&&ip(e,t,l,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&fp(e,t),e.staticViewQueries&&ud(2,e.viewQuery,i);const h=e.components;null!==h&&function QC(e,t){for(let i=0;i<t.length;i++)YC(e,t[i])}(t,h)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[dn]&=-5,Zc()}}let _p=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(i,r,l){const h=typeof Zone>"u"?null:Zone.current,C=function xt(e,t,i){const r=Object.create(zn);i&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const l=C=>{r.cleanupFn=C};return r.ref={notify:()=>li(r),run:()=>{if(r.dirty=!1,r.hasRun&&!bi(r))return;r.hasRun=!0;const C=ni(r);try{r.cleanupFn(),r.cleanupFn=Xt,r.fn(l)}finally{vi(r,C)}},cleanup:()=>r.cleanupFn()},r.ref}(i,N=>{this.all.has(N)&&this.queue.set(N,h)},l);let T;this.all.add(C),C.notify();const M=()=>{C.cleanup(),T?.(),this.all.delete(C),this.queue.delete(C)};return T=r?.onDestroy(M),{destroy:M}}flush(){if(0!==this.queue.size)for(const[i,r]of this.queue)this.queue.delete(i),r?r.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=Te({token:e,providedIn:"root",factory:()=>new e})}return e})();function vp(e,t){!t?.injector&&ic();const i=t?.injector??St(Rr),r=i.get(_p),l=!0!==t?.manualCleanup?i.get(Qs):null;return r.create(e,l,!!t?.allowSignalWrites)}function cc(e,t,i){let r=i?e.styles:null,l=i?e.classes:null,h=0;if(null!==t)for(let C=0;C<t.length;C++){const T=t[C];"number"==typeof T?h=T:1==h?l=w(l,T):2==h&&(r=w(r,T+": "+t[++C]+";"))}i?e.styles=r:e.stylesWithoutHost=r,i?e.classes=l:e.classesWithoutHost=l}function ea(e,t,i,r,l=!1){for(;null!==i;){const h=t[i.index];null!==h&&r.push(ei(h)),ci(h)&&bp(h,r);const C=i.type;if(8&C)ea(e,t,i.child,r);else if(32&C){const T=pl(i,t);let M;for(;M=T();)r.push(M)}else if(16&C){const T=Bh(t,i);if(Array.isArray(T))r.push(...T);else{const M=Bs(t[Rn]);ea(M[zt],M,T,r,!0)}}i=l?i.projectionNext:i.next}return r}function bp(e,t){for(let i=ai;i<e.length;i++){const r=e[i],l=r[zt].firstChild;null!==l&&ea(r[zt],r,l,t)}e[_i]!==e[Bn]&&t.push(e[_i])}function lc(e,t,i,r=!0){const l=t[Ni],h=l.rendererFactory,C=l.afterRenderEventManager;h.begin?.(),C?.begin();try{Cp(e,t,e.template,i)}catch(M){throw r&&gp(t,M),M}finally{h.end?.(),l.effectManager?.flush(),C?.end()}}function yp(e){const t=Ch(e);lc(t[zt],t,e)}function Cp(e,t,i,r){const l=t[dn];if(256!=(256&l)){t[Ni].effectManager?.flush(),Yc(t);try{uf(t),Ef(e.bindingStartIndex),null!==i&&ip(e,t,i,2,r);const C=3==(3&l);if(C){const N=e.preOrderCheckHooks;null!==N&&ya(t,N,null)}else{const N=e.preOrderHooks;null!==N&&Ca(t,N,0,null),Qc(t,0)}if(function XC(e){for(let t=Mh(e);null!==t;t=Sh(t)){if(!t[Cr])continue;const i=t[nr];for(let r=0;r<i.length;r++){Ib(i[r])}}}(t),wp(t,2),null!==e.contentQueries&&fp(e,t),C){const N=e.contentCheckHooks;null!==N&&ya(t,N)}else{const N=e.contentHooks;null!==N&&Ca(t,N,1),Qc(t,1)}!function TC(e,t){const i=e.hostBindingOpCodes;if(null===i)return;const r=Qm(t,Pi);try{for(let l=0;l<i.length;l++){const h=i[l];if(h<0)yo(~h);else{const C=h,T=i[++l],M=i[++l];Bb(T,C),r.dirty=!1;const N=ni(r);try{M(2,t[C])}finally{vi(r,N)}}}}finally{null===t[Pi]&&Xm(t,Pi),yo(-1)}}(e,t);const T=e.components;null!==T&&Tp(t,T,0);const M=e.viewQuery;if(null!==M&&ud(2,M,r),C){const N=e.viewCheckHooks;null!==N&&ya(t,N)}else{const N=e.viewHooks;null!==N&&Ca(t,N,2),Qc(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[dn]&=-73,ff(t)}finally{Zc()}}}function wp(e,t){for(let i=Mh(e);null!==i;i=Sh(i))for(let r=ai;r<i.length;r++)Ep(i[r],t)}function JC(e,t,i){Ep(gr(t,e),i)}function Ep(e,t){if(!function Mb(e){return 128==(128&e[dn])}(e))return;const i=e[zt],r=e[dn];if(80&r&&0===t||1024&r||2===t)Cp(i,e,i.template,e[$n]);else if(e[Ai]>0){wp(e,1);const l=i.components;null!==l&&Tp(e,l,1)}}function Tp(e,t,i){for(let r=0;r<t.length;r++)JC(e,t[r],i)}class ss{get rootNodes(){const t=this._lView,i=t[zt];return ea(i,t,i.firstChild,[])}constructor(t,i){this._lView=t,this._cdRefInjectingView=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[$n]}set context(t){this._lView[$n]=t}get destroyed(){return 256==(256&this._lView[dn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Nn];if(ci(t)){const i=t[8],r=i?i.indexOf(this):-1;r>-1&&(Ba(t,r),xa(i,r))}this._attachedToViewContainer=!1}_l(this._lView[zt],this._lView)}onDestroy(t){mf(this._lView,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[dn]&=-129}reattach(){this._lView[dn]|=128}detectChanges(){lc(this._lView[zt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yy(e,t){$s(e,t,t[rn],2,null,null)}(this._lView[zt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Y(902,!1);this._appRef=t}}class qC extends ss{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;lc(t[zt],t,t[$n],!1)}checkNoChanges(){}get context(){return null}}class Dp extends Ys{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=Tn(t);return new as(i,this.ngModule)}}function xp(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class tw{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,r){r=_e(r);const l=this.injector.get(t,nc,r);return l!==nc||i===nc?l:this.parentInjector.get(t,i,r)}}class as extends tc{get inputs(){const t=this.componentDef,i=t.inputTransforms,r=xp(t.inputs);if(null!==i)for(const l of r)i.hasOwnProperty(l.propName)&&(l.transform=i[l.propName]);return r}get outputs(){return xp(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function ii(e){return e.map(Kn).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,r,l){let h=(l=l||this.ngModule)instanceof Gr?l:l?.injector;h&&null!==this.componentDef.getStandaloneInjector&&(h=this.componentDef.getStandaloneInjector(h)||h);const C=h?new tw(t,h):t,T=C.get(Tm,null);if(null===T)throw new Y(407,!1);const Ae={rendererFactory:T,sanitizer:C.get(Dm,null),effectManager:C.get(_p,null),afterRenderEventManager:C.get(rc,null)},it=T.createRenderer(null,this.componentDef),ht=this.componentDef.selectors[0][0]||"div",At=r?function xC(e,t,i,r){const h=r.get(Gm,!1)||i===Ke.ShadowDom,C=e.selectRootElement(t,h);return function MC(e){op(e)}(C),C}(it,r,this.componentDef.encapsulation,C):ja(it,ht,function ew(e){const t=e.toLowerCase();return"svg"===t?Jr:"math"===t?lf:null}(ht)),on=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Pt=null;null!==At&&(Pt=Yl(At,C,!0));const _n=ad(0,null,null,1,0,null,null,null,null,null,null),An=sc(null,_n,null,on,null,null,Ae,it,C,null,Pt);let Gn,cr;Yc(An);try{const oo=this.componentDef;let Es,cf=null;oo.findHostDirectiveDefs?(Es=[],cf=new Map,oo.findHostDirectiveDefs(oo,Es,cf),Es.push(oo)):Es=[oo];const Ux=function nw(e,t){const i=e[zt],r=Cn;return e[r]=t,os(i,r,2,"#host",null)}(An,At),Hx=function iw(e,t,i,r,l,h,C){const T=l[zt];!function rw(e,t,i,r){for(const l of e)t.mergedAttrs=Pn(t.mergedAttrs,l.hostAttrs);null!==t.mergedAttrs&&(cc(t,t.mergedAttrs,!0),null!==i&&Hh(r,i,t))}(r,e,t,C);let M=null;null!==t&&(M=Yl(t,l[Zn]));const N=h.rendererFactory.createRenderer(t,i);let ce=16;i.signals?ce=4096:i.onPush&&(ce=64);const Ae=sc(l,rp(i),null,ce,l[e.index],e,h,N,null,null,M);return T.firstCreatePass&&ld(T,e,r.length-1),ac(l,Ae),l[e.index]=Ae}(Ux,At,oo,Es,An,Ae,it);cr=df(_n,Cn),At&&function sw(e,t,i,r){if(r)On(e,i,["ng-version",Mm.full]);else{const{attrs:l,classes:h}=function Ii(e){const t=[],i=[];let r=1,l=2;for(;r<e.length;){let h=e[r];if("string"==typeof h)2===l?""!==h&&t.push(h,e[++r]):8===l&&i.push(h);else{if(!Qe(l))break;l=h}r++}return{attrs:t,classes:i}}(t.selectors[0]);l&&On(e,i,l),h&&h.length>0&&Uh(e,i,h.join(" "))}}(it,oo,At,r),void 0!==i&&function aw(e,t,i){const r=e.projection=[];for(let l=0;l<t.length;l++){const h=i[l];r.push(null!=h?Array.from(h):null)}}(cr,this.ngContentSelectors,i),Gn=function ow(e,t,i,r,l,h){const C=ki(),T=l[zt],M=sr(C,l);cp(T,l,C,i,null,r);for(let ce=0;ce<i.length;ce++)Vi(Co(l,T,C.directiveStart+ce,C),l);lp(T,l,C),M&&Vi(M,l);const N=Co(l,T,C.directiveStart+C.componentOffset,C);if(e[$n]=l[$n]=N,null!==h)for(const ce of h)ce(N,t);return rd(T,C,e),N}(Hx,oo,Es,cf,An,[Sp]),hd(_n,An,null)}finally{Zc()}return new Mp(this.componentType,Gn,ts(cr,An),An,cr)}}class Mp extends wm{constructor(t,i,r,l,h){super(),this.location=r,this._rootLView=l,this._tNode=h,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new qC(l),this.componentType=t}setInput(t,i){const r=this._tNode.inputs;let l;if(null!==r&&(l=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;const h=this._rootLView;fd(h[zt],h,l,t,i),this.previousInputValues.set(t,i),Xs(gr(this._tNode.index,h))}}get injector(){return new Yi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Sp(){const e=ki();ba(Nt()[zt],e)}function Ip(e){return Object.getPrototypeOf(e.prototype).constructor}function md(e){let t=Ip(e.type),i=!0;const r=[e];for(;t;){let l;if(Ei(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Y(903,!1);l=t.\u0275dir}if(l){if(i){r.push(l);const C=e;C.inputs=dc(e.inputs),C.inputTransforms=dc(e.inputTransforms),C.declaredInputs=dc(e.declaredInputs),C.outputs=dc(e.outputs);const T=l.hostBindings;T&&uw(e,T);const M=l.viewQuery,N=l.contentQueries;if(M&&lw(e,M),N&&dw(e,N),b(e.inputs,l.inputs),b(e.declaredInputs,l.declaredInputs),b(e.outputs,l.outputs),null!==l.inputTransforms&&(null===C.inputTransforms&&(C.inputTransforms={}),b(C.inputTransforms,l.inputTransforms)),Ei(l)&&l.data.animation){const ce=e.data;ce.animation=(ce.animation||[]).concat(l.data.animation)}}const h=l.features;if(h)for(let C=0;C<h.length;C++){const T=h[C];T&&T.ngInherit&&T(e),T===md&&(i=!1)}}t=Object.getPrototypeOf(t)}!function cw(e){let t=0,i=null;for(let r=e.length-1;r>=0;r--){const l=e[r];l.hostVars=t+=l.hostVars,l.hostAttrs=Pn(l.hostAttrs,i=Pn(i,l.hostAttrs))}}(r)}function dc(e){return e===$e?{}:e===Pe?[]:e}function lw(e,t){const i=e.viewQuery;e.viewQuery=i?(r,l)=>{t(r,l),i(r,l)}:t}function dw(e,t){const i=e.contentQueries;e.contentQueries=i?(r,l,h)=>{t(r,l,h),i(r,l,h)}:t}function uw(e,t){const i=e.hostBindings;e.hostBindings=i?(r,l)=>{t(r,l),i(r,l)}:t}const fw=["providersResolver"],hw=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Ap(e){let i,t=Ip(e.type);i=Ei(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const l of fw)r[l]=i[l];if(Ei(i))for(const l of hw)r[l]=i[l]}function Op(e){return t=>{t.findHostDirectiveDefs=Pp,t.hostDirectives=(Array.isArray(e)?e:e()).map(i=>"function"==typeof i?{directive:S(i),inputs:$e,outputs:$e}:{directive:S(i.directive),inputs:Rp(i.inputs),outputs:Rp(i.outputs)})}}function Pp(e,t,i){if(null!==e.hostDirectives)for(const r of e.hostDirectives){const l=Qn(r.directive);mw(l.declaredInputs,r.inputs),Pp(l,t,i),i.set(l,r),t.push(l)}}function Rp(e){if(void 0===e||0===e.length)return $e;const t={};for(let i=0;i<e.length;i+=2)t[e[i]]=e[i+1];return t}function mw(e,t){for(const i in t)t.hasOwnProperty(i)&&(e[t[i]]=e[i])}function kp(e){const t=e.inputConfig,i={};for(const r in t)if(t.hasOwnProperty(r)){const l=t[r];Array.isArray(l)&&l[2]&&(i[r]=l[2])}e.inputTransforms=i}function uc(e){return!!pd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Np(e,t){const i=uc(e),r=uc(t);return i&&r?function pw(e,t,i){const r=e[Symbol.iterator](),l=t[Symbol.iterator]();for(;;){const h=r.next(),C=l.next();if(h.done&&C.done)return!0;if(h.done||C.done||!i(h.value,C.value))return!1}}(e,t,Np):!(i||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Zr(e,t,i){return e[t]=i}function ta(e,t){return e[t]}function $i(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Mo(e,t,i,r){const l=$i(e,t,i);return $i(e,t+1,r)||l}function fc(e,t,i,r,l){const h=Mo(e,t,i,r);return $i(e,t+2,l)||h}function Mr(e,t,i,r,l,h){const C=Mo(e,t,i,r);return Mo(e,t+2,l,h)||C}function gd(e,t,i,r){const l=Nt();return $i(l,jo(),t)&&(Ln(),Yr(mi(),l,e,t,i,r)),gd}function cs(e,t){let i=!1,r=qr();for(let h=1;h<t.length;h+=2)i=$i(e,r++,t[h])||i;if(Ef(r),!i)return wn;let l=t[0];for(let h=1;h<t.length;h+=2)l+=ie(t[h])+t[h+1];return l}function ls(e,t,i,r){return $i(e,jo(),i)?t+ie(i)+r:wn}function ds(e,t,i,r,l,h){const T=Mo(e,qr(),i,l);return eo(2),T?t+ie(i)+r+ie(l)+h:wn}function us(e,t,i,r,l,h,C,T){const N=fc(e,qr(),i,l,C);return eo(3),N?t+ie(i)+r+ie(l)+h+ie(C)+T:wn}function fs(e,t,i,r,l,h,C,T,M,N){const Ae=Mr(e,qr(),i,l,C,M);return eo(4),Ae?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N:wn}function hs(e,t,i,r,l,h,C,T,M,N,ce,Ae){const it=qr();let ht=Mr(e,it,i,l,C,M);return ht=$i(e,it+4,ce)||ht,eo(5),ht?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N+ie(ce)+Ae:wn}function ms(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht){const At=qr();let Vt=Mr(e,At,i,l,C,M);return Vt=Mo(e,At+4,ce,it)||Vt,eo(6),Vt?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N+ie(ce)+Ae+ie(it)+ht:wn}function ps(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt){const Yt=qr();let on=Mr(e,Yt,i,l,C,M);return on=fc(e,Yt+4,ce,it,At)||on,eo(7),on?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N+ie(ce)+Ae+ie(it)+ht+ie(At)+Vt:wn}function gs(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt,on){const Pt=qr();let _n=Mr(e,Pt,i,l,C,M);return _n=Mr(e,Pt+4,ce,it,At,Yt)||_n,eo(8),_n?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N+ie(ce)+Ae+ie(it)+ht+ie(At)+Vt+ie(Yt)+on:wn}function _d(e,t,i,r,l,h){const C=Nt(),T=ls(C,t,i,r);return T!==wn&&Yr(mi(),C,e,T,l,h),_d}function vd(e,t,i,r,l,h,C,T){const M=Nt(),N=ds(M,t,i,r,l,h);return N!==wn&&Yr(mi(),M,e,N,C,T),vd}function bd(e,t,i,r,l,h,C,T,M,N){const ce=Nt(),Ae=us(ce,t,i,r,l,h,C,T);return Ae!==wn&&Yr(mi(),ce,e,Ae,M,N),bd}function yd(e,t,i,r,l,h,C,T,M,N,ce,Ae){const it=Nt(),ht=fs(it,t,i,r,l,h,C,T,M,N);return ht!==wn&&Yr(mi(),it,e,ht,ce,Ae),yd}function Cd(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht){const At=Nt(),Vt=hs(At,t,i,r,l,h,C,T,M,N,ce,Ae);return Vt!==wn&&Yr(mi(),At,e,Vt,it,ht),Cd}function wd(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt){const Yt=Nt(),on=ms(Yt,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht);return on!==wn&&Yr(mi(),Yt,e,on,At,Vt),wd}function Ed(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt,on){const Pt=Nt(),_n=ps(Pt,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt);return _n!==wn&&Yr(mi(),Pt,e,_n,Yt,on),Ed}function Td(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt,on,Pt,_n){const An=Nt(),Gn=gs(An,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt,on);return Gn!==wn&&Yr(mi(),An,e,Gn,Pt,_n),Td}function Dd(e,t,i,r){const l=Nt(),h=cs(l,t);return h!==wn&&Yr(mi(),l,e,h,i,r),Dd}const xd="<-- AT THIS LOCATION";function yw(e){const r=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function hc(e){const t=" ";let i="";const r=e;return r.previousSibling&&(i+=" \u2026\n",i+=t+na(r.previousSibling)+"\n"),i+=t+na(r)+` ${xd}\n`,e.nextSibling&&(i+=" \u2026\n"),e.parentNode&&(i=na(r.parentNode,"\n"+i)),i}(e)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new Y(-503,r)}const ww=new Set(["ngh","ng-version","ng-server-context"]);function Md(e,t="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const r=function Cw(e){const t=[];if(e.attrs)for(let i=0;i<e.attrs.length;){const r=e.attrs[i++];if("number"==typeof r)break;const l=e.attrs[i++];t.push(`${r}="${ra(l)}"`)}return t.join(" ")}(e),l=e.value.toLowerCase();return`<${l}${r?" "+r:""}>${t}</${l}>`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function _w(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return"<unknown>"}}(e.type)})`}}function na(e,t="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const r=i.tagName.toLowerCase(),l=function Ew(e){const t=[];for(let i=0;i<e.attributes.length;i++){const r=e.attributes[i];ww.has(r.name)||t.push(`${r.name}="${ra(r.value)}"`)}return t.join(" ")}(i);return`<${r}${l?" "+l:""}>${t}</${r}>`;case Node.TEXT_NODE:const h=i.textContent?ra(i.textContent):"";return"#text"+(h?`(${h})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${ra(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function ra(e,t=50){return e?(e=function Tw(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}const Dw=new RegExp(`^(\\d+)*(${Ul}|${$l})*(.*)`);function Id(e){return e.index-Cn}function mc(e,t,i,r){let l=null;const h=Id(r),C=e.data[Gl];if(C?.[h])l=function Aw(e,t){const[i,...r]=function Mw(e){const t=e.match(Dw),[i,r,l,h]=t,C=r?parseInt(r,10):l,T=[];for(const[M,N,ce]of h.matchAll(/(f|n)(\d*)/g)){const Ae=parseInt(ce,10)||1;T.push(N,Ae)}return[C,...T]}(e);let l;return l=i===$l?t[Rn][Bn]:i===Ul?nd(t[Rn][Bn]):ei(t[Number(i)+Cn]),function Iw(e,t){let i=e;for(let r=0;r<t.length;r+=2){const l=t[r],h=t[r+1];for(let C=0;C<h;C++)switch(l){case qo.FirstChild:i=i.firstChild;break;case qo.NextSibling:i=i.nextSibling}}return i}(l,r)}(C[h],i);else if(t.firstChild===r)l=e.firstChild;else{const T=null===r.prev,M=r.prev??r.parent;if(function Sw(e){return!e.prev&&8===e.parent?.type}(r))l=Zl(e,Id(r.parent));else{let N=sr(M,i);if(T)l=N.firstChild;else{const ce=Id(M),Ae=Zl(e,ce);l=2===M.type&&Ae?pc(Ql(e,ce)+1,Ae):N.nextSibling}}}return l}function pc(e,t){let i=t;for(let r=0;r<e;r++)i=i.nextSibling;return i}function Ad(e,t){if(e===t)return[];if(null==e.parentElement||null==t.parentElement)return null;if(e.parentElement===t.parentElement)return function Ow(e,t){const i=[];let r=null;for(r=e;null!=r&&r!==t;r=r.nextSibling)i.push(qo.NextSibling);return null==r?null:i}(e,t);{const i=t.parentElement,r=Ad(e,i),l=Ad(i.firstChild,t);return r&&l?[...r,qo.FirstChild,...l]:null}}function Bp(e,t,i){const r=Ad(e,t);return null===r?null:function xw(e,t){const i=[e];for(const r of t){const l=i.length-1;l>0&&i[l-1]===r?i[l]=(i[l]||1)+1:i.push(r,"")}return i.join("")}(i,r)}function Pw(e,t){const i=e.parent;let r,l,h;null!==i&&3&i.type?(r=i.index,l=ei(t[r]),h=ie(r-Cn)):(r=h=$l,l=t[Rn][Bn]);let C=ei(t[e.index]);if(12&e.type){const M=Vs(t,e);M&&(C=M)}let T=Bp(l,C,h);if(null===T&&l!==C&&(T=Bp(l.ownerDocument.body,C,Ul),null===T))throw function bw(e,t){const r=`${function Sd(e,t,i){const r=" ";let l="";t.prev?(l+=" \u2026\n",l+=r+Md(t.prev)+"\n"):t.type&&12&t.type&&(l+=" \u2026\n"),i?(l+=r+Md(t)+"\n",l+=r+`\x3c!-- container --\x3e ${xd}\n`):l+=r+Md(t)+` ${xd}\n`,l+=" \u2026\n";const h=t.type?bl(e[zt],t,e):null;return h&&(l=na(h,"\n"+l)),l}(e,t,!1)}\n\n`,l=function ia(e){return`To fix this problem:\n * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new Y(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+r+l)}(t,e);return T}function Vp(e,t,i,r,l,h,C,T){const M=Nt(),N=Ln(),ce=e+Cn,Ae=N.firstCreatePass?function Rw(e,t,i,r,l,h,C,T,M){const N=t.consts,ce=os(t,e,4,C||null,ho(N,T));cd(t,i,ce,ho(N,M)),ba(t,ce);const Ae=ce.tView=ad(2,ce,r,l,h,t.directiveRegistry,t.pipeRegistry,null,t.schemas,N,null);return null!==t.queries&&(t.queries.template(t,ce),Ae.queries=t.queries.embeddedTView(ce)),ce}(ce,N,M,t,i,r,l,h,C):N.data[ce];zr(Ae,!1);const it=$p(N,M,Ae,e);va()&&$a(N,M,it,Ae),Vi(it,M),ac(M,M[ce]=up(it,M,it,Ae)),wr(Ae)&&od(N,M,Ae),null!=C&&sd(M,Ae,T)}let $p=Up;function Up(e,t,i,r){return mo(!0),t[rn].createComment("")}function Fw(e,t,i,r){const l=t[si],h=!l||Lo()||ec(l,r);if(mo(h),h)return Up(0,t);const C=l.data[zl]?.[r]??null;null!==C&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=C);const T=mc(l,e,t,i);return qa(l,r,T),pc(Ql(l,r),T)}function Hp(e,t,i,r){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}function zp(e){return No(function Lb(){return mn.lFrame.contextLView}(),Cn+e)}function Od(e,t,i){const r=Nt();return $i(r,jo(),t)&&vr(Ln(),mi(),r,e,t,r[rn],i,!1),Od}function Pd(e,t,i,r,l){const C=l?"class":"style";fd(e,i,t.inputs[C],C,r)}function gc(e,t,i,r){const l=Nt(),h=Ln(),C=Cn+e,T=l[rn],M=h.firstCreatePass?function Nw(e,t,i,r,l,h){const C=t.consts,M=os(t,e,2,r,ho(C,l));return cd(t,i,M,ho(C,h)),null!==M.attrs&&cc(M,M.attrs,!1),null!==M.mergedAttrs&&cc(M,M.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,M),M}(C,h,l,t,i,r):h.data[C],N=Wp(h,l,M,T,t,e);l[C]=N;const ce=wr(M);return zr(M,!0),Hh(T,N,M),32!=(32&M.flags)&&va()&&$a(h,l,N,M),0===function Ob(){return mn.lFrame.elementDepthCount}()&&Vi(N,l),function Pb(){mn.lFrame.elementDepthCount++}(),ce&&(od(h,l,M),rd(h,M,l)),null!==r&&sd(l,M),gc}function _c(){let e=ki();Hc()?zc():(e=e.parent,zr(e,!1));const t=e;(function Fb(e){return mn.skipHydrationRootTNode===e})(t)&&function Nb(){mn.skipHydrationRootTNode=null}(),function Rb(){mn.lFrame.elementDepthCount--}();const i=Ln();return i.firstCreatePass&&(ba(i,e),Br(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Yb(e){return 0!=(8&e.flags)}(t)&&Pd(i,t,Nt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Zb(e){return 0!=(16&e.flags)}(t)&&Pd(i,t,Nt(),t.stylesWithoutHost,!1),_c}function Rd(e,t,i,r){return gc(e,t,i,r),_c(),Rd}let Wp=(e,t,i,r,l,h)=>(mo(!0),ja(r,l,Ff()));function Lw(e,t,i,r,l,h){const C=t[si],T=!C||Lo()||ec(C,h);if(mo(T),T)return ja(r,l,Ff());const M=mc(C,e,t,i);return Cm(C,h)&&qa(C,h,M.nextSibling),C&&(gh(i)||_h(M))&&ir(i)&&(function kb(e){mn.skipHydrationRootTNode=e}(i),Vh(M)),M}function vc(e,t,i){const r=Nt(),l=Ln(),h=e+Cn,C=l.firstCreatePass?function Bw(e,t,i,r,l){const h=t.consts,C=ho(h,r),T=os(t,e,8,"ng-container",C);return null!==C&&cc(T,C,!0),cd(t,i,T,ho(h,l)),null!==t.queries&&t.queries.elementStart(t,T),T}(h,l,r,t,i):l.data[h];zr(C,!0);const T=Gp(l,r,C,e);return r[h]=T,va()&&$a(l,r,T,C),Vi(T,r),wr(C)&&(od(l,r,C),rd(l,C,r)),null!=i&&sd(r,C),vc}function bc(){let e=ki();const t=Ln();return Hc()?zc():(e=e.parent,zr(e,!1)),t.firstCreatePass&&(ba(t,e),Br(e)&&t.queries.elementEnd(e)),bc}function Fd(e,t,i){return vc(e,t,i),bc(),Fd}let Gp=(e,t,i,r)=>(mo(!0),gl(t[rn],""));function Vw(e,t,i,r){let l;const h=t[si],C=!h||Lo();if(mo(C),C)return gl(t[rn],"");const T=mc(h,e,t,i),M=function Q0(e,t){const i=e.data;let r=i[Hl]?.[t]??null;return null===r&&i[Gs]?.[t]&&(r=Ql(e,t)),r}(h,r);return qa(h,r,T),l=pc(M,T),l}function Kp(){return Nt()}function kd(e){return!!e&&"function"==typeof e.then}function Yp(e){return!!e&&"function"==typeof e.subscribe}function Nd(e,t,i,r){const l=Nt(),h=Ln(),C=ki();return Zp(h,l,l[rn],C,e,t,r),Nd}function Ld(e,t){const i=ki(),r=Nt(),l=Ln();return Zp(l,r,pp(Gc(l.data),i,r),i,e,t),Ld}function Zp(e,t,i,r,l,h,C){const T=wr(r),N=e.firstCreatePass&&mp(e),ce=t[$n],Ae=hp(t);let it=!0;if(3&r.type||C){const Vt=sr(r,t),Yt=C?C(Vt):Vt,on=Ae.length,Pt=C?An=>C(ei(An[r.index])):r.index;let _n=null;if(!C&&T&&(_n=function Uw(e,t,i,r){const l=e.cleanup;if(null!=l)for(let h=0;h<l.length-1;h+=2){const C=l[h];if(C===i&&l[h+1]===r){const T=t[Ui],M=l[h+2];return T.length>M?T[M]:null}"string"==typeof C&&(h+=2)}return null}(e,t,l,r.index)),null!==_n)(_n.__ngLastListenerFn__||_n).__ngNextListenerFn__=h,_n.__ngLastListenerFn__=h,it=!1;else{h=Xp(r,t,ce,h,!1);const An=i.listen(Yt,l,h);Ae.push(h,An),N&&N.push(l,Pt,on,on+1)}}else h=Xp(r,t,ce,h,!1);const ht=r.outputs;let At;if(it&&null!==ht&&(At=ht[l])){const Vt=At.length;if(Vt)for(let Yt=0;Yt<Vt;Yt+=2){const Gn=t[At[Yt]][At[Yt+1]].subscribe(h),cr=Ae.length;Ae.push(h,Gn),N&&N.push(l,r.index,cr,-(cr+1))}}}function Qp(e,t,i,r){try{return Mi(6,t,i),!1!==i(r)}catch(l){return gp(e,l),!1}finally{Mi(7,t,i)}}function Xp(e,t,i,r,l){return function h(C){if(C===Function)return r;Xs(e.componentOffset>-1?gr(e.index,t):t);let M=Qp(t,i,r,C),N=h.__ngNextListenerFn__;for(;N;)M=Qp(t,i,N,C)&&M,N=N.__ngNextListenerFn__;return l&&!1===M&&C.preventDefault(),M}}function Jp(e=1){return function Ub(e){return(mn.lFrame.contextLView=function Hb(e,t){for(;e>0;)t=t[Hi],e--;return t}(e,mn.lFrame.contextLView))[$n]}(e)}function Hw(e,t){let i=null;const r=function Be(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let l=0;l<t.length;l++){const h=t[l];if("*"!==h){if(null===r?Ve(e,h,!0):yn(r,h))return l}else i=l}return i}function qp(e){const t=Nt()[Rn][oi];if(!t.projection){const r=t.projection=Ns(e?e.length:1,null),l=r.slice();let h=t.child;for(;null!==h;){const C=e?Hw(h,e):0;null!==C&&(l[C]?l[C].projectionNext=h:r[C]=h,l[C]=h),h=h.next}}}function eg(e,t=0,i){const r=Nt(),l=Ln(),h=os(l,Cn+e,16,null,i||null);null===h.projection&&(h.projection=t),zc(),(!r[si]||Lo())&&32!=(32&h.flags)&&function n0(e,t,i){$h(t[rn],0,t,i,bl(e,i,t),kh(i.parent||t[oi],i,t))}(l,r,h)}function jd(e,t,i){return yc(e,"",t,"",i),jd}function yc(e,t,i,r,l){const h=Nt(),C=ls(h,t,i,r);return C!==wn&&vr(Ln(),mi(),h,e,C,h[rn],l,!1),yc}function Bd(e,t,i,r,l,h,C){const T=Nt(),M=ds(T,t,i,r,l,h);return M!==wn&&vr(Ln(),mi(),T,e,M,T[rn],C,!1),Bd}function Vd(e,t,i,r,l,h,C,T,M){const N=Nt(),ce=us(N,t,i,r,l,h,C,T);return ce!==wn&&vr(Ln(),mi(),N,e,ce,N[rn],M,!1),Vd}function $d(e,t,i,r,l,h,C,T,M,N,ce){const Ae=Nt(),it=fs(Ae,t,i,r,l,h,C,T,M,N);return it!==wn&&vr(Ln(),mi(),Ae,e,it,Ae[rn],ce,!1),$d}function Ud(e,t,i,r,l,h,C,T,M,N,ce,Ae,it){const ht=Nt(),At=hs(ht,t,i,r,l,h,C,T,M,N,ce,Ae);return At!==wn&&vr(Ln(),mi(),ht,e,At,ht[rn],it,!1),Ud}function Hd(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At){const Vt=Nt(),Yt=ms(Vt,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht);return Yt!==wn&&vr(Ln(),mi(),Vt,e,Yt,Vt[rn],At,!1),Hd}function zd(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt){const on=Nt(),Pt=ps(on,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt);return Pt!==wn&&vr(Ln(),mi(),on,e,Pt,on[rn],Yt,!1),zd}function Wd(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt,on,Pt){const _n=Nt(),An=gs(_n,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt,on);return An!==wn&&vr(Ln(),mi(),_n,e,An,_n[rn],Pt,!1),Wd}function Gd(e,t,i){const r=Nt(),l=cs(r,t);return l!==wn&&vr(Ln(),mi(),r,e,l,r[rn],i,!1),Gd}function Cc(e,t){return e<<17|t<<2}function _o(e){return e>>17&32767}function Kd(e){return 2|e}function So(e){return(131068&e)>>2}function Yd(e,t){return-131069&e|t<<2}function Zd(e){return 1|e}function tg(e,t,i,r,l){const h=e[i+1],C=null===t;let T=r?_o(h):So(h),M=!1;for(;0!==T&&(!1===M||C);){const ce=e[T+1];Zw(e[T],t)&&(M=!0,e[T+1]=r?Zd(ce):Kd(ce)),T=r?_o(ce):So(ce)}M&&(e[i+1]=r?Kd(h):Zd(h))}function Zw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Wo(e,t)>=0}const xi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ng(e){return e.substring(xi.key,xi.keyEnd)}function Qw(e){return e.substring(xi.value,xi.valueEnd)}function ig(e,t){const i=xi.textEnd;return i===t?-1:(t=xi.keyEnd=function qw(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,xi.key=t,i),_s(e,t,i))}function rg(e,t){const i=xi.textEnd;let r=xi.key=_s(e,t,i);return i===r?-1:(r=xi.keyEnd=function eE(e,t,i){let r;for(;t<i&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,i),r=sg(e,r,i),r=xi.value=_s(e,r,i),r=xi.valueEnd=function tE(e,t,i){let r=-1,l=-1,h=-1,C=t,T=C;for(;C<i;){const M=e.charCodeAt(C++);if(59===M)return T;34===M||39===M?T=C=ag(e,M,C,i):t===C-4&&85===h&&82===l&&76===r&&40===M?T=C=ag(e,41,C,i):M>32&&(T=C),h=l,l=r,r=-33&M}return T}(e,r,i),sg(e,r,i))}function og(e){xi.key=0,xi.keyEnd=0,xi.value=0,xi.valueEnd=0,xi.textEnd=e.length}function _s(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function sg(e,t,i,r){return(t=_s(e,t,i))<i&&t++,t}function ag(e,t,i,r){let l=-1,h=i;for(;h<r;){const C=e.charCodeAt(h++);if(C==t&&92!==l)return h;l=92==C&&92===l?0:C}throw new Error}function Qd(e,t,i){return kr(e,t,i,!1),Qd}function Xd(e,t){return kr(e,t,null,!0),Xd}function Fr(e){Nr(ug,nE,e,!1)}function nE(e,t){for(let i=function Jw(e){return og(e),rg(e,_s(e,0,xi.textEnd))}(t);i>=0;i=rg(t,i))ug(e,ng(t),Qw(t))}function cg(e){Nr(cE,Qr,e,!0)}function Qr(e,t){for(let i=function Xw(e){return og(e),ig(e,_s(e,0,xi.textEnd))}(t);i>=0;i=ig(t,i))_r(e,ng(t),!0)}function kr(e,t,i,r){const l=Nt(),h=Ln(),C=eo(2);h.firstUpdatePass&&dg(h,e,C,r),t!==wn&&$i(l,C,t)&&fg(h,h.data[Ki()],l,l[rn],e,l[C+1]=function dE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=v(to(e)))),e}(t,i),r,C)}function Nr(e,t,i,r){const l=Ln(),h=eo(2);l.firstUpdatePass&&dg(l,null,h,r);const C=Nt();if(i!==wn&&$i(C,h,i)){const T=l.data[Ki()];if(mg(T,r)&&!lg(l,h)){let M=r?T.classesWithoutHost:T.stylesWithoutHost;null!==M&&(i=w(M,i||"")),Pd(l,T,C,i,r)}else!function lE(e,t,i,r,l,h,C,T){l===wn&&(l=Pe);let M=0,N=0,ce=0<l.length?l[0]:null,Ae=0<h.length?h[0]:null;for(;null!==ce||null!==Ae;){const it=M<l.length?l[M+1]:void 0,ht=N<h.length?h[N+1]:void 0;let Vt,At=null;ce===Ae?(M+=2,N+=2,it!==ht&&(At=Ae,Vt=ht)):null===Ae||null!==ce&&ce<Ae?(M+=2,At=ce):(N+=2,At=Ae,Vt=ht),null!==At&&fg(e,t,i,r,At,Vt,C,T),ce=M<l.length?l[M]:null,Ae=N<h.length?h[N]:null}}(l,T,C,C[rn],C[h+1],C[h+1]=function aE(e,t,i){if(null==i||""===i)return Pe;const r=[],l=to(i);if(Array.isArray(l))for(let h=0;h<l.length;h++)e(r,l[h],!0);else if("object"==typeof l)for(const h in l)l.hasOwnProperty(h)&&e(r,h,l[h]);else"string"==typeof l&&t(r,l);return r}(e,t,i),r,h)}}function lg(e,t){return t>=e.expandoStartIndex}function dg(e,t,i,r){const l=e.data;if(null===l[i+1]){const h=l[Ki()],C=lg(e,i);mg(h,r)&&null===t&&!C&&(t=!1),t=function iE(e,t,i,r){const l=Gc(e);let h=r?t.residualClasses:t.residualStyles;if(null===l)0===(r?t.classBindings:t.styleBindings)&&(i=oa(i=Jd(null,e,t,i,r),t.attrs,r),h=null);else{const C=t.directiveStylingLast;if(-1===C||e[C]!==l)if(i=Jd(l,e,t,i,r),null===h){let M=function rE(e,t,i){const r=i?t.classBindings:t.styleBindings;if(0!==So(r))return e[_o(r)]}(e,t,r);void 0!==M&&Array.isArray(M)&&(M=Jd(null,e,t,M[1],r),M=oa(M,t.attrs,r),function oE(e,t,i,r){e[_o(i?t.classBindings:t.styleBindings)]=r}(e,t,r,M))}else h=function sE(e,t,i){let r;const l=t.directiveEnd;for(let h=1+t.directiveStylingLast;h<l;h++)r=oa(r,e[h].hostAttrs,i);return oa(r,t.attrs,i)}(e,t,r)}return void 0!==h&&(r?t.residualClasses=h:t.residualStyles=h),i}(l,h,t,r),function Kw(e,t,i,r,l,h){let C=h?t.classBindings:t.styleBindings,T=_o(C),M=So(C);e[r]=i;let ce,N=!1;if(Array.isArray(i)?(ce=i[1],(null===ce||Wo(i,ce)>0)&&(N=!0)):ce=i,l)if(0!==M){const it=_o(e[T+1]);e[r+1]=Cc(it,T),0!==it&&(e[it+1]=Yd(e[it+1],r)),e[T+1]=function Ww(e,t){return 131071&e|t<<17}(e[T+1],r)}else e[r+1]=Cc(T,0),0!==T&&(e[T+1]=Yd(e[T+1],r)),T=r;else e[r+1]=Cc(M,0),0===T?T=r:e[M+1]=Yd(e[M+1],r),M=r;N&&(e[r+1]=Kd(e[r+1])),tg(e,ce,r,!0),tg(e,ce,r,!1),function Yw(e,t,i,r,l){const h=l?e.residualClasses:e.residualStyles;null!=h&&"string"==typeof t&&Wo(h,t)>=0&&(i[r+1]=Zd(i[r+1]))}(t,ce,e,r,h),C=Cc(T,M),h?t.classBindings=C:t.styleBindings=C}(l,h,t,i,C,r)}}function Jd(e,t,i,r,l){let h=null;const C=i.directiveEnd;let T=i.directiveStylingLast;for(-1===T?T=i.directiveStart:T++;T<C&&(h=t[T],r=oa(r,h.hostAttrs,l),h!==e);)T++;return null!==e&&(i.directiveStylingLast=T),r}function oa(e,t,i){const r=i?1:2;let l=-1;if(null!==t)for(let h=0;h<t.length;h++){const C=t[h];"number"==typeof C?l=C:l===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),_r(e,C,!!i||t[++h]))}return void 0===e?null:e}function ug(e,t,i){_r(e,t,to(i))}function cE(e,t,i){const r=String(t);""!==r&&!r.includes(" ")&&_r(e,r,i)}function fg(e,t,i,r,l,h,C,T){if(!(3&t.type))return;const M=e.data,N=M[T+1],ce=function Gw(e){return 1==(1&e)}(N)?hg(M,t,i,l,So(N),C):void 0;wc(ce)||(wc(h)||function zw(e){return 2==(2&e)}(N)&&(h=hg(M,null,i,l,T,C)),function o0(e,t,i,r,l){if(t)l?e.addClass(i,r):e.removeClass(i,r);else{let h=-1===r.indexOf("-")?void 0:Na.DashCase;null==l?e.removeStyle(i,r,h):("string"==typeof l&&l.endsWith("!important")&&(l=l.slice(0,-10),h|=Na.Important),e.setStyle(i,r,l,h))}}(r,C,_a(Ki(),i),l,h))}function hg(e,t,i,r,l,h){const C=null===t;let T;for(;l>0;){const M=e[l],N=Array.isArray(M),ce=N?M[1]:M,Ae=null===ce;let it=i[l+1];it===wn&&(it=Ae?Pe:void 0);let ht=Ae?ol(it,r):ce===r?it:void 0;if(N&&!wc(ht)&&(ht=ol(M,r)),wc(ht)&&(T=ht,C))return T;const At=e[l+1];l=C?_o(At):So(At)}if(null!==t){let M=h?t.residualClasses:t.residualStyles;null!=M&&(T=ol(M,r))}return T}function wc(e){return void 0!==e}function mg(e,t){return 0!=(e.flags&(t?8:16))}function pg(e,t=""){const i=Nt(),r=Ln(),l=e+Cn,h=r.firstCreatePass?os(r,l,1,t,null):r.data[l],C=gg(r,i,h,t,e);i[l]=C,va()&&$a(r,i,C,h),zr(h,!1)}let gg=(e,t,i,r,l)=>(mo(!0),La(t[rn],r));function uE(e,t,i,r,l){const h=t[si],C=!h||Lo()||ec(h,l);return mo(C),C?La(t[rn],r):mc(h,e,t,i)}function qd(e){return Ec("",e,""),qd}function Ec(e,t,i){const r=Nt(),l=ls(r,e,t,i);return l!==wn&&ro(r,Ki(),l),Ec}function eu(e,t,i,r,l){const h=Nt(),C=ds(h,e,t,i,r,l);return C!==wn&&ro(h,Ki(),C),eu}function tu(e,t,i,r,l,h,C){const T=Nt(),M=us(T,e,t,i,r,l,h,C);return M!==wn&&ro(T,Ki(),M),tu}function nu(e,t,i,r,l,h,C,T,M){const N=Nt(),ce=fs(N,e,t,i,r,l,h,C,T,M);return ce!==wn&&ro(N,Ki(),ce),nu}function iu(e,t,i,r,l,h,C,T,M,N,ce){const Ae=Nt(),it=hs(Ae,e,t,i,r,l,h,C,T,M,N,ce);return it!==wn&&ro(Ae,Ki(),it),iu}function ru(e,t,i,r,l,h,C,T,M,N,ce,Ae,it){const ht=Nt(),At=ms(ht,e,t,i,r,l,h,C,T,M,N,ce,Ae,it);return At!==wn&&ro(ht,Ki(),At),ru}function ou(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At){const Vt=Nt(),Yt=ps(Vt,e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At);return Yt!==wn&&ro(Vt,Ki(),Yt),ou}function su(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt){const on=Nt(),Pt=gs(on,e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt);return Pt!==wn&&ro(on,Ki(),Pt),su}function au(e){const t=Nt(),i=cs(t,e);return i!==wn&&ro(t,Ki(),i),au}function _g(e,t,i){Nr(_r,Qr,ls(Nt(),e,t,i),!0)}function vg(e,t,i,r,l){Nr(_r,Qr,ds(Nt(),e,t,i,r,l),!0)}function bg(e,t,i,r,l,h,C){Nr(_r,Qr,us(Nt(),e,t,i,r,l,h,C),!0)}function yg(e,t,i,r,l,h,C,T,M){Nr(_r,Qr,fs(Nt(),e,t,i,r,l,h,C,T,M),!0)}function Cg(e,t,i,r,l,h,C,T,M,N,ce){Nr(_r,Qr,hs(Nt(),e,t,i,r,l,h,C,T,M,N,ce),!0)}function wg(e,t,i,r,l,h,C,T,M,N,ce,Ae,it){Nr(_r,Qr,ms(Nt(),e,t,i,r,l,h,C,T,M,N,ce,Ae,it),!0)}function Eg(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At){Nr(_r,Qr,ps(Nt(),e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At),!0)}function Tg(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt){Nr(_r,Qr,gs(Nt(),e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt),!0)}function Dg(e){Nr(_r,Qr,cs(Nt(),e),!0)}function xg(e,t,i){Fr(ls(Nt(),e,t,i))}function Mg(e,t,i,r,l){Fr(ds(Nt(),e,t,i,r,l))}function Sg(e,t,i,r,l,h,C){Fr(us(Nt(),e,t,i,r,l,h,C))}function Ig(e,t,i,r,l,h,C,T,M){Fr(fs(Nt(),e,t,i,r,l,h,C,T,M))}function Ag(e,t,i,r,l,h,C,T,M,N,ce){Fr(hs(Nt(),e,t,i,r,l,h,C,T,M,N,ce))}function Og(e,t,i,r,l,h,C,T,M,N,ce,Ae,it){Fr(ms(Nt(),e,t,i,r,l,h,C,T,M,N,ce,Ae,it))}function Pg(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At){Fr(ps(Nt(),e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At))}function Rg(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt){Fr(gs(Nt(),e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt))}function Fg(e){Fr(cs(Nt(),e))}function cu(e,t,i,r,l){return kr(e,ls(Nt(),t,i,r),l,!1),cu}function lu(e,t,i,r,l,h,C){return kr(e,ds(Nt(),t,i,r,l,h),C,!1),lu}function du(e,t,i,r,l,h,C,T,M){return kr(e,us(Nt(),t,i,r,l,h,C,T),M,!1),du}function uu(e,t,i,r,l,h,C,T,M,N,ce){return kr(e,fs(Nt(),t,i,r,l,h,C,T,M,N),ce,!1),uu}function fu(e,t,i,r,l,h,C,T,M,N,ce,Ae,it){return kr(e,hs(Nt(),t,i,r,l,h,C,T,M,N,ce,Ae),it,!1),fu}function hu(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At){return kr(e,ms(Nt(),t,i,r,l,h,C,T,M,N,ce,Ae,it,ht),At,!1),hu}function mu(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt){return kr(e,ps(Nt(),t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt),Yt,!1),mu}function pu(e,t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt,on,Pt){return kr(e,gs(Nt(),t,i,r,l,h,C,T,M,N,ce,Ae,it,ht,At,Vt,Yt,on),Pt,!1),pu}function gu(e,t,i){return kr(e,cs(Nt(),t),i,!1),gu}function _u(e,t,i){const r=Nt();return $i(r,jo(),t)&&vr(Ln(),mi(),r,e,t,r[rn],i,!0),_u}function vu(e,t,i){const r=Nt();if($i(r,jo(),t)){const h=Ln(),C=mi();vr(h,C,r,e,t,pp(Gc(h.data),C,r),i,!0)}return vu}const Io=void 0;var mE=["en",[["a","p"],["AM","PM"],Io],[["AM","PM"],Io,Io],[["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"]],Io,[["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"]],Io,[["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}",Io,"{1} 'at' {0}",Io],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function hE(e){const i=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===r?1:5}];let vs={};function pE(e,t,i){"string"!=typeof t&&(i=t,t=e[bs.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),vs[t]=e,i&&(vs[t][bs.ExtraData]=i)}function bu(e){const t=function vE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Ng(t);if(i)return i;const r=t.split("-")[0];if(i=Ng(r),i)return i;if("en"===r)return mE;throw new Y(701,!1)}function gE(e){return bu(e)[bs.CurrencyCode]||null}function kg(e){return bu(e)[bs.PluralCase]}function Ng(e){return e in vs||(vs[e]=dt.ng&&dt.ng.common&&dt.ng.common.locales&&dt.ng.common.locales[e]),vs[e]}function _E(){vs={}}var bs=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(bs||{});const bE=["zero","one","two","few","many"],Ao="en-US",Tc={marker:"element"},Dc={marker:"ICU"};var ar=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(ar||{});let Lg=Ao;function yu(e){(function Oe(e,t){null==e&&He(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Lg=e.toLowerCase().replace(/_/g,"-"))}function jg(e,t,i){const r=t.insertBeforeIndex,l=Array.isArray(r)?r[0]:r;return null===l?Nh(e,0,i):ei(i[l])}function Bg(e,t,i,r,l){const h=t.insertBeforeIndex;if(Array.isArray(h)){let C=r,T=null;if(3&t.type||(T=C,C=l),null!==C&&-1===t.componentOffset)for(let M=1;M<h.length;M++)Eo(e,C,i[h[M]],T,!1)}}function Vg(e,t){if(e.push(t),e.length>1)for(let i=e.length-2;i>=0;i--){const r=e[i];$g(r)||EE(r,t)&&null===TE(r)&&DE(r,t.index)}}function $g(e){return!(64&e.type)}function EE(e,t){return $g(t)||e.index>t.index}function TE(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function DE(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(jh(jg,Bg),e.insertBeforeIndex=t)}function sa(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function SE(e,t,i){const r=id(e,i,64,null,null);return Vg(t,r),r}function xc(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function Ug(e){return e>>>17}function Hg(e){return(131070&e)>>>1}let aa=0,ca=0;function Wg(e,t,i,r){const l=i[rn];let C,h=null;for(let T=0;T<t.length;T++){const M=t[T];if("string"==typeof M){const N=t[++T];null===i[N]&&(i[N]=La(l,M))}else if("number"==typeof M)switch(1&M){case 0:const N=Ug(M);let ce,Ae;if(null===h&&(h=N,C=Va(l,r)),N===h?(ce=r,Ae=C):(ce=null,Ae=ei(i[N])),null!==Ae){const Vt=Hg(M);Eo(l,Ae,i[Vt],ce,!1);const on=sa(e,Vt);if(null!==on&&"object"==typeof on){const Pt=xc(on,i);null!==Pt&&Wg(e,on.create[Pt],i,i[on.anchorIdx])}}break;case 1:const ht=t[++T],At=t[++T];dd(l,_a(M>>>1,i),null,null,ht,At,null)}else switch(M){case Dc:const N=t[++T],ce=t[++T];null===i[ce]&&Vi(i[ce]=gl(l,N),i);break;case Tc:const Ae=t[++T],it=t[++T];null===i[it]&&Vi(i[it]=ja(l,Ae,null),i)}}}function Gg(e,t,i,r,l){for(let h=0;h<i.length;h++){const C=i[h],T=i[++h];if(C&l){let M="";for(let N=h+1;N<=h+T;N++){const ce=i[N];if("string"==typeof ce)M+=ce;else if("number"==typeof ce)if(ce<0)M+=ie(t[r-ce]);else{const Ae=ce>>>2;switch(3&ce){case 1:const it=i[++N],ht=i[++N],At=e.data[Ae];"string"==typeof At?dd(t[rn],t[Ae],null,At,it,M,ht):vr(e,At,t,it,M,t[rn],ht,!1);break;case 0:const Vt=t[Ae];null!==Vt&&Ah(t[rn],Vt,M);break;case 2:RE(e,sa(e,Ae),t,M);break;case 3:Kg(e,sa(e,Ae),r,t)}}}}else{const M=i[h+1];if(M>0&&3==(3&M)){const ce=sa(e,M>>>2);t[ce.currentCaseLViewIndex]<0&&Kg(e,ce,r,t)}}h+=T}}function Kg(e,t,i,r){let l=r[t.currentCaseLViewIndex];if(null!==l){let h=aa;l<0&&(l=r[t.currentCaseLViewIndex]=~l,h=-1),Gg(e,r,t.update[l],i,h)}}function RE(e,t,i,r){const l=function FE(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const r=function yE(e,t){const i=kg(t)(parseInt(e,10)),r=bE[i];return void 0!==r?r:"other"}(t,function wE(){return Lg}());i=e.cases.indexOf(r),-1===i&&"other"!==r&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,r);if(xc(t,i)!==l&&(Yg(e,t,i),i[t.currentCaseLViewIndex]=null===l?null:~l,null!==l)){const C=i[t.anchorIdx];C&&Wg(e,t.create[l],i,C)}}function Yg(e,t,i){let r=xc(t,i);if(null!==r){const l=t.remove[r];for(let h=0;h<l.length;h++){const C=l[h];if(C>0){const T=_a(C,i);null!==T&&Ua(i[rn],T)}else Yg(e,sa(e,~C),i)}}}function kE(){const e=[];let i,r,t=-1;function h(T,M){t=0;const N=xc(T,M);r=null!==N?T.remove[N]:Pe}function C(){if(t<r.length){const T=r[t++];return T>0?i[T]:(e.push(t,r),h(i[zt].data[~T],i),C())}return 0===e.length?null:(r=e.pop(),t=e.pop(),C())}return function l(T,M){for(i=M;e.length;)e.pop();return h(T.value,M),C}}const Mc=/\ufffd(\d+):?\d*\ufffd/gi,NE=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,LE=/\ufffd(\d+)\ufffd/,Qg=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,la="\ufffd",jE=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,BE=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,VE=/\uE500/g;function Xg(e,t,i,r,l,h,C){const T=qs(e,r,1,null);let M=T<<ar.SHIFT,N=Ss();t===N&&(N=null),null===N&&(M|=ar.APPEND_EAGERLY),C&&(M|=ar.COMMENT,function Hy(e){void 0===ml&&(ml=e())}(kE)),l.push(M,null===h?"":h);const ce=id(e,T,C?32:1,null===h?"":h,null);Vg(i,ce);const Ae=ce.index;return zr(ce,!1),null!==N&&t!==N&&function ME(e,t){let i=e.insertBeforeIndex;null===i?(jh(jg,Bg),i=e.insertBeforeIndex=[null,t]):(function q(e,t,i){e!=t&&He(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}(N,Ae),ce}function HE(e,t,i,r,l,h,C){const T=C.match(Mc),M=Xg(e,t,i,h,r,T?null:C,!1);T&&da(l,C,M.index,null,0,null)}function da(e,t,i,r,l,h){const C=e.length,T=C+1;e.push(null,null);const M=C+2,N=t.split(Mc);let ce=0;for(let Ae=0;Ae<N.length;Ae++){const it=N[Ae];if(1&Ae){const ht=l+parseInt(it,10);e.push(-1-ht),ce|=Jg(ht)}else""!==it&&e.push(it)}return e.push(i<<2|(r?1:0)),r&&e.push(r,h),e[C]=ce,e[T]=e.length-M,ce}function WE(e){let t=0;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r&&r<0&&t++}return t}function Jg(e){return 1<<Math.min(e,31)}function qg(e){let t,h,i="",r=0,l=!1;for(;null!==(t=jE.exec(e));)l?t[0]===`${la}/*${h}${la}`&&(r=t.index,l=!1):(i+=e.substring(r,t.index+t[0].length),h=t[1],l=!0);return i+=e.slice(r),i}function e_(e,t,i,r,l,h){let C=0;const T={type:l.type,currentCaseLViewIndex:qs(e,t,1,null),anchorIdx:h,cases:[],create:[],remove:[],update:[]};(function XE(e,t,i){e.push(Jg(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,l,h),function xE(e,t,i){const r=e.data[t];null===r?e.data[t]=i:r.value=i}(e,h,T);const M=l.values;for(let N=0;N<M.length;N++){const ce=M[N],Ae=[];for(let it=0;it<ce.length;it++){const ht=ce[it];if("string"!=typeof ht){const At=Ae.push(ht)-1;ce[it]=`\x3c!--\ufffd${At}\ufffd--\x3e`}}C=ZE(e,T,t,i,r,l.cases[N],ce.join(""),Ae)|C}C&&function JE(e,t,i){e.push(t,1,i<<2|3)}(i,C,h)}function YE(e){const t=[],i=[];let r=1,l=0;const h=Cu(e=e.replace(Qg,function(C,T,M){return r="select"===M?0:1,l=parseInt(T.slice(1),10),""}));for(let C=0;C<h.length;){let T=h[C++].trim();1===r&&(T=T.replace(/\s*(?:=)?(\w+)\s*/,"$1")),T.length&&t.push(T);const M=Cu(h[C++]);t.length>i.length&&i.push(M)}return{type:r,mainBinding:l,cases:t,values:i}}function Cu(e){if(!e)return[];let t=0;const i=[],r=[],l=/[{}]/g;let h;for(l.lastIndex=0;h=l.exec(e);){const T=h.index;if("}"==h[0]){if(i.pop(),0==i.length){const M=e.substring(t,T);Qg.test(M)?r.push(YE(M)):r.push(M),t=T+1}}else{if(0==i.length){const M=e.substring(t,T);r.push(M),t=T+1}i.push("{")}}const C=e.substring(t);return r.push(C),r}function ZE(e,t,i,r,l,h,C,T){const M=[],N=[],ce=[];t.cases.push(h),t.create.push(M),t.remove.push(N),t.update.push(ce);const it=Zh(Qo()).getInertBodyElement(C),ht=Sl(it)||it;return ht?t_(e,t,i,r,M,N,ce,ht,l,T,0):0}function t_(e,t,i,r,l,h,C,T,M,N,ce){let Ae=0,it=T.firstChild;for(;it;){const ht=qs(e,i,1,null);switch(it.nodeType){case Node.ELEMENT_NODE:const At=it,Vt=At.tagName.toLowerCase();if(xl.hasOwnProperty(Vt)){wu(l,Tc,Vt,M,ht),e.data[ht]=Vt;const _n=At.attributes;for(let An=0;An<_n.length;An++){const Gn=_n.item(An),cr=Gn.name.toLowerCase();Gn.value.match(Mc)?qh.hasOwnProperty(cr)&&da(C,Gn.value,ht,Gn.name,0,Ml[cr]?Wa:null):qE(l,ht,Gn)}Ae=t_(e,t,i,r,l,h,C,it,ht,N,ce+1)|Ae,n_(h,ht,ce)}break;case Node.TEXT_NODE:const Yt=it.textContent||"",on=Yt.match(Mc);wu(l,null,on?"":Yt,M,ht),n_(h,ht,ce),on&&(Ae=da(C,Yt,ht,null,0,null)|Ae);break;case Node.COMMENT_NODE:const Pt=LE.exec(it.textContent||"");if(Pt){const An=N[parseInt(Pt[1],10)];wu(l,Dc,"",M,ht),e_(e,i,r,M,An,ht),QE(h,ht,ce)}}it=it.nextSibling}return Ae}function n_(e,t,i){0===i&&e.push(t)}function QE(e,t,i){0===i&&(e.push(~t),e.push(t))}function wu(e,t,i,r,l){null!==t&&e.push(t),e.push(i,l,function IE(e,t,i){return e|t<<17|i<<1}(0,r,l))}function qE(e,t,i){e.push(t<<1|1,i.name,i.value)}const i_=0,eT=/\[(\ufffd.+?\ufffd?)\]/,tT=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,nT=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,iT=/{([A-Z0-9_]+)}/g,rT=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,oT=/\/\*/,sT=/\d+\:(\d+)/;function Eu(e,t,i=-1){const r=Ln(),l=Nt(),h=Cn+e,C=ho(r.consts,t),T=Ss();r.firstCreatePass&&function UE(e,t,i,r,l,h){const C=Ss(),T=[],M=[],N=[[]];l=function KE(e,t){if(function GE(e){return-1===e}(t))return qg(e);{const i=e.indexOf(`:${t}${la}`)+2+t.toString().length,r=e.search(new RegExp(`${la}\\/\\*\\d+:${t}${la}`));return qg(e.substring(i,r))}}(l,h);const ce=function $E(e){return e.replace(VE," ")}(l).split(BE);for(let Ae=0;Ae<ce.length;Ae++){let it=ce[Ae];if(1&Ae){const ht=47===it.charCodeAt(0),Vt=(it.charCodeAt(ht?1:0),Cn+Number.parseInt(it.substring(ht?2:1)));if(ht)N.shift(),zr(Ss(),!1);else{const Yt=SE(e,N[0],Vt);N.unshift([]),zr(Yt,!0)}}else{const ht=Cu(it);for(let At=0;At<ht.length;At++){let Vt=ht[At];if(1&At){const Yt=Vt;if("object"!=typeof Yt)throw new Error(`Unable to parse ICU expression in "${l}" message.`);e_(e,i,M,t,Yt,Xg(e,C,N[0],i,T,"",!0).index)}else""!==Vt&&HE(e,C,N[0],T,M,i,Vt)}}}e.data[r]={create:T,update:M}}(r,null===T?0:T.index,l,h,C,i),2===r.type?l[Rn][dn]|=32:l[dn]|=32;const M=r.data[h],ce=Ph(r,T===l[oi]?null:T,l);(function PE(e,t,i,r){const l=e[rn];for(let h=0;h<t.length;h++){const C=t[h++],T=t[h],N=(C&ar.APPEND_EAGERLY)===ar.APPEND_EAGERLY,ce=C>>>ar.SHIFT;let Ae=e[ce];null===Ae&&(Ae=e[ce]=(C&ar.COMMENT)===ar.COMMENT?l.createComment(T):La(l,T)),N&&null!==i&&Eo(l,i,Ae,r,!1)}})(l,M.create,ce,T&&8&T.type?l[T.index]:null),Tf(!0)}function Tu(){Tf(!1)}function r_(e,t,i){Eu(e,t,i),Tu()}function o_(e,t){const i=Ln(),r=ho(i.consts,t);!function zE(e,t,i){const l=ki().index,h=[];if(e.firstCreatePass&&null===e.data[t]){for(let C=0;C<i.length;C+=2){const T=i[C],M=i[C+1];if(""!==M){if(NE.test(M))throw new Error(`ICU expressions are not supported in attributes. Message: "${M}".`);da(h,M,l,T,WE(h),null)}}e.data[t]=h}}(i,e+Cn,r)}function Du(e){return function AE(e){e&&(aa|=1<<Math.min(ca,31)),ca++}($i(Nt(),jo(),e)),Du}function s_(e){!function OE(e,t,i){if(ca>0){const r=e.data[i];Gg(e,t,Array.isArray(r)?r:r.update,qr()-ca-1,aa)}aa=0,ca=0}(Ln(),Nt(),e+Cn)}function a_(e,t={}){return function aT(e,t={}){let i=e;if(eT.test(e)){const r={},l=[i_];i=i.replace(tT,(h,C,T)=>{const M=C||T,N=r[M]||[];if(N.length||(M.split("|").forEach(Vt=>{const Yt=Vt.match(sT),on=Yt?parseInt(Yt[1],10):i_,Pt=oT.test(Vt);N.push([on,Pt,Vt])}),r[M]=N),!N.length)throw new Error(`i18n postprocess: unmatched placeholder - ${M}`);const ce=l[l.length-1];let Ae=0;for(let Vt=0;Vt<N.length;Vt++)if(N[Vt][0]===ce){Ae=Vt;break}const[it,ht,At]=N[Ae];return ht?l.pop():ce!==it&&l.push(it),N.splice(Ae,1),At})}return Object.keys(t).length&&(i=i.replace(nT,(r,l,h,C,T,M)=>t.hasOwnProperty(h)?`${l}${t[h]}${M}`:r),i=i.replace(iT,(r,l)=>t.hasOwnProperty(l)?t[l]:r),i=i.replace(rT,(r,l)=>{if(t.hasOwnProperty(l)){const h=t[l];if(!h.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${l}`);return h.shift()}return r})),i}(e,t)}function c_(e,t){}function xu(e,t,i,r,l){if(e=S(e),Array.isArray(e))for(let h=0;h<e.length;h++)xu(e[h],t,i,r,l);else{const h=Ln(),C=Nt(),T=ki();let M=xo(e)?e:S(e.provide);const N=mm(e),ce=1048575&T.providerIndexes,Ae=T.directiveStart,it=T.providerIndexes>>20;if(xo(e)||!e.multi){const ht=new Is(N,l,rs),At=Su(M,t,l?ce:ce+it,Ae);-1===At?(tl(Ea(T,C),h,M),Mu(h,e,t.length),t.push(M),T.directiveStart++,T.directiveEnd++,l&&(T.providerIndexes+=1048576),i.push(ht),C.push(ht)):(i[At]=ht,C[At]=ht)}else{const ht=Su(M,t,ce+it,Ae),At=Su(M,t,ce,ce+it),Yt=At>=0&&i[At];if(l&&!Yt||!l&&!(ht>=0&&i[ht])){tl(Ea(T,C),h,M);const on=function uT(e,t,i,r,l){const h=new Is(e,i,rs);return h.multi=[],h.index=t,h.componentProviders=0,l_(h,l,r&&!i),h}(l?dT:lT,i.length,l,r,N);!l&&Yt&&(i[At].providerFactory=on),Mu(h,e,t.length,0),t.push(M),T.directiveStart++,T.directiveEnd++,l&&(T.providerIndexes+=1048576),i.push(on),C.push(on)}else Mu(h,e,ht>-1?ht:At,l_(i[l?At:ht],N,!l&&r));!l&&r&&Yt&&i[At].componentProviders++}}}function Mu(e,t,i,r){const l=xo(t),h=function O0(e){return!!e.useClass}(t);if(l||h){const M=(h?S(t.useClass):t).prototype.ngOnDestroy;if(M){const N=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const ce=N.indexOf(i);-1===ce?N.push(i,[r,M]):N[ce+1].push(r,M)}else N.push(i,M)}}}function l_(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Su(e,t,i,r){for(let l=i;l<r;l++)if(t[l]===e)return l;return-1}function lT(e,t,i,r){return Iu(this.multi,[])}function dT(e,t,i,r){const l=this.multi;let h;if(this.providerFactory){const C=this.providerFactory.componentProviders,T=Co(i,i[zt],this.providerFactory.index,r);h=T.slice(0,C),Iu(l,h);for(let M=C;M<T.length;M++)h.push(T[M])}else h=[],Iu(l,h);return h}function Iu(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function d_(e,t=[]){return i=>{i.providersResolver=(r,l)=>function cT(e,t,i){const r=Ln();if(r.firstCreatePass){const l=Ei(e);xu(i,r.data,r.blueprint,l,!0),xu(t,r.data,r.blueprint,l,!1)}}(r,l?l(e):e,t)}}class Oo{}class u_{}function f_(e,t){return new Sc(e,t??null,[])}const fT=f_;class Sc extends Oo{constructor(t,i,r){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Dp(this);const l=ti(t);this._bootstrapComponents=io(l.bootstrap),this._r3Injector=Om(t,i,[{provide:Oo,useValue:this},{provide:Ys,useValue:this.componentFactoryResolver},...r],v(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 Ic extends u_{constructor(t){super(),this.moduleType=t}create(t){return new Sc(this.moduleType,t,[])}}class h_ extends Oo{constructor(t){super(),this.componentFactoryResolver=new Dp(this),this.instance=null;const i=new Qa([...t.providers,{provide:Oo,useValue:this},{provide:Ys,useValue:this.componentFactoryResolver}],t.parent||Za(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function m_(e,t,i=null){return new h_({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let mT=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const r=dm(0,i.type),l=r.length>0?m_([r],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,l)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Te({token:e,providedIn:"environment",factory:()=>new e(It(Gr))})}return e})();function p_(e){e.getStandaloneInjector=t=>t.get(mT).getOrCreateStandaloneInjector(e)}function Au(e){const t=Zi(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function $y(e,t){const i=t[zt].data[e],{directiveStart:r,componentOffset:l}=i;return l>-1?t[r+l]:null}(t.nodeIndex,i)}return t.component}function g_(e){!function yT(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=Zi(e),i=t?t.lView:null;return null===i?null:i[$n]}function __(e){const t=Zi(e);let r,i=t?t.lView:null;if(null===i)return null;for(;2===i[zt].type&&(r=Bs(i));)i=r;return 512&i[dn]?null:i[$n]}function v_(e){const t=wh(e);return null!==t?[Wy(t)]:[]}function b_(e){const t=Zi(e),i=t?t.lView:null;return null===i?Rr.NULL:new Yi(i[zt].data[t.nodeIndex],i)}function y_(e){if(e instanceof Text)return[];const t=Zi(e),i=t?t.lView:null;if(null===i)return[];const r=i[zt],l=t.nodeIndex;return r?.data[l]?(void 0===t.directives&&(t.directives=xh(l,i)),null===t.directives?[]:[...t.directives]):[]}function gT(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=Tn(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?hn.OnPush:hn.Default};const r=Qn(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Ou(e){return Zi(e).native}function C_(e){const t=Zi(e),i=null===t?null:t.lView;if(null===i)return[];const l=i[Ui],h=i[zt].cleanup,C=[];if(h&&l)for(let T=0;T<h.length;){const M=h[T++],N=h[T++];if("string"==typeof M){const ce=M,Ae=ei(i[N]),it=l[h[T++]],ht=h[T++];e==Ae&&C.push({element:e,name:ce,callback:it,useCapture:"boolean"==typeof ht&&ht,type:"boolean"==typeof ht||ht>=0?"dom":"output"})}}return C.sort(vT),C}function vT(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function bT(e){return void 0!==e.type&&void 0!==e.declaredInputs&&void 0!==e.findHostDirectiveDefs}function w_(e,t,i,r){return ln(()=>{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!==r&&(l.propDecorators=l.hasOwnProperty("propDecorators")&&void 0!==l.propDecorators?{...l.propDecorators,...r}:r)})}function E_(e,t,i){const r=Gi()+e,l=Nt();return l[r]===wn?Zr(l,r,i?t.call(i):t()):ta(l,r)}function T_(e,t,i,r){return R_(Nt(),Gi(),e,t,i,r)}function D_(e,t,i,r,l){return F_(Nt(),Gi(),e,t,i,r,l)}function x_(e,t,i,r,l,h){return k_(Nt(),Gi(),e,t,i,r,l,h)}function M_(e,t,i,r,l,h,C){return N_(Nt(),Gi(),e,t,i,r,l,h,C)}function S_(e,t,i,r,l,h,C,T){const M=Gi()+e,N=Nt(),ce=Mr(N,M,i,r,l,h);return $i(N,M+4,C)||ce?Zr(N,M+5,T?t.call(T,i,r,l,h,C):t(i,r,l,h,C)):ta(N,M+5)}function I_(e,t,i,r,l,h,C,T,M){const N=Gi()+e,ce=Nt(),Ae=Mr(ce,N,i,r,l,h);return Mo(ce,N+4,C,T)||Ae?Zr(ce,N+6,M?t.call(M,i,r,l,h,C,T):t(i,r,l,h,C,T)):ta(ce,N+6)}function A_(e,t,i,r,l,h,C,T,M,N){const ce=Gi()+e,Ae=Nt();let it=Mr(Ae,ce,i,r,l,h);return fc(Ae,ce+4,C,T,M)||it?Zr(Ae,ce+7,N?t.call(N,i,r,l,h,C,T,M):t(i,r,l,h,C,T,M)):ta(Ae,ce+7)}function O_(e,t,i,r,l,h,C,T,M,N,ce){const Ae=Gi()+e,it=Nt(),ht=Mr(it,Ae,i,r,l,h);return Mr(it,Ae+4,C,T,M,N)||ht?Zr(it,Ae+8,ce?t.call(ce,i,r,l,h,C,T,M,N):t(i,r,l,h,C,T,M,N)):ta(it,Ae+8)}function P_(e,t,i,r){return L_(Nt(),Gi(),e,t,i,r)}function ua(e,t){const i=e[t];return i===wn?void 0:i}function R_(e,t,i,r,l,h){const C=t+i;return $i(e,C,l)?Zr(e,C+1,h?r.call(h,l):r(l)):ua(e,C+1)}function F_(e,t,i,r,l,h,C){const T=t+i;return Mo(e,T,l,h)?Zr(e,T+2,C?r.call(C,l,h):r(l,h)):ua(e,T+2)}function k_(e,t,i,r,l,h,C,T){const M=t+i;return fc(e,M,l,h,C)?Zr(e,M+3,T?r.call(T,l,h,C):r(l,h,C)):ua(e,M+3)}function N_(e,t,i,r,l,h,C,T,M){const N=t+i;return Mr(e,N,l,h,C,T)?Zr(e,N+4,M?r.call(M,l,h,C,T):r(l,h,C,T)):ua(e,N+4)}function L_(e,t,i,r,l,h){let C=t+i,T=!1;for(let M=0;M<l.length;M++)$i(e,C++,l[M])&&(T=!0);return T?Zr(e,C,r.apply(h,l)):ua(e,C)}function j_(e,t){const i=Ln();let r;const l=e+Cn;i.firstCreatePass?(r=function CT(e,t){if(t)for(let i=t.length-1;i>=0;i--){const r=t[i];if(e===r.name)return r}}(t,i.pipeRegistry),i.data[l]=r,r.onDestroy&&(i.destroyHooks??=[]).push(l,r.onDestroy)):r=i.data[l];const h=r.factory||(r.factory=Ce(r.type)),T=Kt(rs);try{const M=wa(!1),N=h();return wa(M),Hp(i,Nt(),l,N),N}finally{Kt(T)}}function B_(e,t,i){const r=e+Cn,l=Nt(),h=No(l,r);return fa(l,r)?R_(l,Gi(),t,h.transform,i,h):h.transform(i)}function V_(e,t,i,r){const l=e+Cn,h=Nt(),C=No(h,l);return fa(h,l)?F_(h,Gi(),t,C.transform,i,r,C):C.transform(i,r)}function $_(e,t,i,r,l){const h=e+Cn,C=Nt(),T=No(C,h);return fa(C,h)?k_(C,Gi(),t,T.transform,i,r,l,T):T.transform(i,r,l)}function U_(e,t,i,r,l,h){const C=e+Cn,T=Nt(),M=No(T,C);return fa(T,C)?N_(T,Gi(),t,M.transform,i,r,l,h,M):M.transform(i,r,l,h)}function H_(e,t,i){const r=e+Cn,l=Nt(),h=No(l,r);return fa(l,r)?L_(l,Gi(),t,h.transform,i,h):h.transform.apply(h,i)}function fa(e,t){return e[zt].data[t].pure}function wT(){return this._results[Symbol.iterator]()}class Ac{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Kr)}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=Ac.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=wT)}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 r=this;r.dirty=!1;const l=xr(t);(this._changesDetected=!function uy(e,t,i){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let l=e[r],h=t[r];if(i&&(l=i(l),h=i(h)),h!==l)return!1}return!0}(r._results,l,i))&&(r._results=l,r.length=l.length,r.last=l[this.length-1],r.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()}}function TT(e,t,i,r=!0){const l=t[zt];if(function Qy(e,t,i,r){const l=ai+r,h=i.length;r>0&&(i[l-1][pi]=t),r<h-ai?(t[pi]=i[l],Jf(i,ai+r,t)):(i.push(t),t[pi]=null),t[Nn]=i;const C=t[mr];null!==C&&i!==C&&function Xy(e,t){const i=e[nr];t[Rn]!==t[Nn][Nn][Rn]&&(e[Cr]=!0),null===i?e[nr]=[t]:i.push(t)}(C,t);const T=t[Jn];null!==T&&T.insertView(e),t[dn]|=128}(l,t,e,i),r){const h=Cl(i,e),C=t[rn],T=Va(C,e[_i]);null!==T&&function Ky(e,t,i,r,l,h){r[Bn]=l,r[oi]=t,$s(e,r,i,1,l,h)}(l,e[oi],C,t,T,h)}}let ha=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=MT}return e})();const DT=ha,xT=class extends DT{constructor(t,i,r){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,r){const l=function ET(e,t,i,r){const l=t.tView,T=sc(e,l,i,4096&e[dn]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);T[mr]=e[t.index];const N=e[Jn];return null!==N&&(T[Jn]=N.createEmbeddedView(l)),hd(l,T,i),T}(this._declarationLView,this._declarationTContainer,t,{injector:i,hydrationInfo:r});return new ss(l)}};function MT(){return Oc(ki(),Nt())}function Oc(e,t){return 4&e.type?new xT(t,e,ts(e,t)):null}function z_(e){const t=e[jr]??[],r=e[Nn][rn];for(const l of t)ST(l,r);e[jr]=Pe}function ST(e,t){let i=0,r=e.firstChild;if(r){const l=e.data[es];for(;i<l;){const h=r.nextSibling;Ua(t,r,!1),r=h,i++}}}function W_(e){z_(e);for(let t=ai;t<e.length;t++)Pc(e[t])}function Pc(e){const t=e[zt];for(let i=Cn;i<t.bindingStartIndex;i++)ci(e[i])?W_(e[i]):Array.isArray(e[i])&&Pc(e[i])}let G_=(e,t)=>null;function OT(e,t){const i=e[jr];return t&&null!==i&&0!==i.length?i[0].data[Wl]===t?i.shift():(z_(e),null):null}function K_(e,t){return G_(e,t)}let Rc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=RT}return e})();function RT(){return Q_(ki(),Nt())}const FT=Rc,Y_=class extends FT{constructor(t,i,r){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=r}get element(){return ts(this._hostTNode,this._hostLView)}get injector(){return new Yi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ta(this._hostTNode,this._hostLView);if(Jc(t)){const i=Os(t,this._hostLView),r=As(t);return new Yi(i[zt].data[r+8],i)}return new Yi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Z_(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-ai}createEmbeddedView(t,i,r){let l,h;"number"==typeof r?l=r:null!=r&&(l=r.index,h=r.injector);const C=K_(this._lContainer,t.ssrId),T=t.createEmbeddedViewImpl(i||{},h,C),M=!!C&&!Fa(this._hostTNode);return this.insertImpl(T,l,M),T}createComponent(t,i,r,l,h){const C=t&&!ks(t);let T;if(C)T=i;else{const Vt=i||{};T=Vt.index,r=Vt.injector,l=Vt.projectableNodes,h=Vt.environmentInjector||Vt.ngModuleRef}const M=C?t:new as(Tn(t)),N=r||this.parentInjector;if(!h&&null==M.ngModule){const Yt=(C?N:this.parentInjector).get(Gr,null);Yt&&(h=Yt)}const ce=Tn(M.componentType??{}),Ae=K_(this._lContainer,ce?.id??null),ht=M.create(N,l,Ae?.firstChild??null,h),At=!!Ae&&!Fa(this._hostTNode);return this.insertImpl(ht.hostView,T,At),ht}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,r){const l=t._lView;if(function Sb(e){return ci(e[Nn])}(l)){const M=this.indexOf(t);if(-1!==M)this.detach(M);else{const N=l[Nn],ce=new Y_(N,N[oi],N[Nn]);ce.detach(ce.indexOf(t))}}const C=this._adjustIndex(i),T=this._lContainer;return TT(T,l,C,!r),t.attachToViewContainerRef(),Jf(Pu(T),C,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Z_(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),r=Ba(this._lContainer,i);r&&(xa(Pu(this._lContainer),i),_l(r[zt],r))}detach(t){const i=this._adjustIndex(t,-1),r=Ba(this._lContainer,i);return r&&null!=xa(Pu(this._lContainer),i)?new ss(r):null}_adjustIndex(t,i=0){return t??this.length+i}};function Z_(e){return e[8]}function Pu(e){return e[8]||(e[8]=[])}function Q_(e,t){let i;const r=t[e.index];return ci(r)?i=r:(i=up(r,t,null,e),t[e.index]=i,ac(t,i)),X_(i,t,e,r),new Y_(i,e,t)}let X_=J_;function J_(e,t,i,r){if(e[_i])return;let l;l=8&i.type?ei(r):function kT(e,t){const i=e[rn],r=i.createComment(""),l=sr(t,e);return Eo(i,Va(i,l),r,function t0(e,t){return e.nextSibling(t)}(i,l),!1),r}(t,i),e[_i]=l}function NT(e,t,i,r){if(e[_i]&&e[jr])return;const l=t[si],h=i.index-Cn,C=ka(i)||Fa(i);if(!l||C||ec(l,h))return J_(e,t,i,r);const M=Zl(l,h),N=l.data[Gs]?.[h],[ce,Ae]=function AT(e,t){const i=[];for(const r of t)for(let l=0;l<(r[Xa]??1);l++){const h={data:r,firstChild:null};r[es]>0&&(h.firstChild=e,e=pc(r[es],e)),i.push(h)}return[e,i]}(M,N);e[_i]=ce,e[jr]=Ae}class Ru{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ru(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const r=null!==t.contentQueries?t.contentQueries[0]:i.length,l=[];for(let h=0;h<r;h++){const C=i.getByIndex(h);l.push(this.queries[C.indexInDeclarationView].clone())}return new Fu(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!==av(t,i).matches&&this.queries[i].setDirty()}}class q_{constructor(t,i,r=null){this.predicate=t,this.flags=i,this.read=r}}class ku{constructor(t=[]){this.queries=t}elementStart(t,i){for(let r=0;r<this.queries.length;r++)this.queries[r].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 r=0;r<this.length;r++){const l=null!==i?i.length:0,h=this.getByIndex(r).embeddedTView(t,l);h&&(h.indexInDeclarationView=r,null!==i?i.push(h):i=[h])}return null!==i?new ku(i):null}template(t,i){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Nu{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 Nu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==i;)r=r.parent;return i===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const r=this.metadata.predicate;if(Array.isArray(r))for(let l=0;l<r.length;l++){const h=r[l];this.matchTNodeWithReadOption(t,i,jT(i,h)),this.matchTNodeWithReadOption(t,i,Da(i,t,h,!1,!1))}else r===ha?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,Da(i,t,r,!1,!1))}matchTNodeWithReadOption(t,i,r){if(null!==r){const l=this.metadata.read;if(null!==l)if(l===Zs||l===Rc||l===ha&&4&i.type)this.addMatch(i.index,-2);else{const h=Da(i,t,l,!1,!1);null!==h&&this.addMatch(i.index,h)}else this.addMatch(i.index,r)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function jT(e,t){const i=e.localNames;if(null!==i)for(let r=0;r<i.length;r+=2)if(i[r]===t)return i[r+1];return null}function VT(e,t,i,r){return-1===i?function BT(e,t){return 11&e.type?ts(e,t):4&e.type?Oc(e,t):null}(t,e):-2===i?function $T(e,t,i){return i===Zs?ts(t,e):i===ha?Oc(t,e):i===Rc?Q_(t,e):void 0}(e,t,r):Co(e,e[zt],i,t)}function ev(e,t,i,r){const l=t[Jn].queries[r];if(null===l.matches){const h=e.data,C=i.matches,T=[];for(let M=0;M<C.length;M+=2){const N=C[M];T.push(N<0?null:VT(t,h[N],C[M+1],i.metadata.read))}l.matches=T}return l.matches}function Lu(e,t,i,r){const l=e.queries.getByIndex(i),h=l.matches;if(null!==h){const C=ev(e,t,l,i);for(let T=0;T<h.length;T+=2){const M=h[T];if(M>0)r.push(C[T/2]);else{const N=h[T+1],ce=t[-M];for(let Ae=ai;Ae<ce.length;Ae++){const it=ce[Ae];it[mr]===it[Nn]&&Lu(it[zt],it,N,r)}if(null!==ce[nr]){const Ae=ce[nr];for(let it=0;it<Ae.length;it++){const ht=Ae[it];Lu(ht[zt],ht,N,r)}}}}}return r}function tv(e){const t=Nt(),i=Ln(),r=Df();Kc(r+1);const l=av(i,r);if(e.dirty&&function xb(e){return 4==(4&e[dn])}(t)===(2==(2&l.metadata.flags))){if(null===l.matches)e.reset([]);else{const h=l.crossesNgTemplate?Lu(i,t,r,[]):ev(i,t,l,r);e.reset(h,eC),e.notifyOnChanges()}return!0}return!1}function nv(e,t,i){const r=Ln();r.firstCreatePass&&(sv(r,new q_(e,t,i),-1),2==(2&t)&&(r.staticViewQueries=!0)),ov(r,Nt(),t)}function iv(e,t,i,r){const l=Ln();if(l.firstCreatePass){const h=ki();sv(l,new q_(t,i,r),h.index),function HT(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)}ov(l,Nt(),i)}function rv(){return function UT(e,t){return e[Jn].queries[t].queryList}(Nt(),Df())}function ov(e,t,i){const r=new Ac(4==(4&i));(function AC(e,t,i,r){const l=hp(t);l.push(i),e.firstCreatePass&&mp(e).push(r,l.length-1)})(e,t,r,r.destroy),null===t[Jn]&&(t[Jn]=new Fu),t[Jn].queries.push(new Ru(r))}function sv(e,t,i){null===e.queries&&(e.queries=new ku),e.queries.track(new Nu(t,i))}function av(e,t){return e.queries.getByIndex(t)}function cv(e,t){return Oc(e,t)}const Qi=(()=>({\u0275\u0275attribute:gd,\u0275\u0275attributeInterpolate1:_d,\u0275\u0275attributeInterpolate2:vd,\u0275\u0275attributeInterpolate3:bd,\u0275\u0275attributeInterpolate4:yd,\u0275\u0275attributeInterpolate5:Cd,\u0275\u0275attributeInterpolate6:wd,\u0275\u0275attributeInterpolate7:Ed,\u0275\u0275attributeInterpolate8:Td,\u0275\u0275attributeInterpolateV:Dd,\u0275\u0275defineComponent:ri,\u0275\u0275defineDirective:dr,\u0275\u0275defineInjectable:Te,\u0275\u0275defineInjector:Ne,\u0275\u0275defineNgModule:lr,\u0275\u0275definePipe:ur,\u0275\u0275directiveInject:rs,\u0275\u0275getInheritedFactory:Kf,\u0275\u0275inject:It,\u0275\u0275injectAttribute:il,\u0275\u0275invalidFactory:np,\u0275\u0275invalidFactoryDep:tt,\u0275\u0275templateRefExtractor:cv,\u0275\u0275resetView:yf,\u0275\u0275HostDirectivesFeature:Op,\u0275\u0275NgOnChangesFeature:In,\u0275\u0275ProvidersFeature:d_,\u0275\u0275CopyDefinitionFeature:Ap,\u0275\u0275InheritDefinitionFeature:md,\u0275\u0275InputTransformsFeature:kp,\u0275\u0275StandaloneFeature:p_,\u0275\u0275nextContext:Jp,\u0275\u0275namespaceHTML:Rf,\u0275\u0275namespaceMathML:Pf,\u0275\u0275namespaceSVG:Of,\u0275\u0275enableBindings:_f,\u0275\u0275disableBindings:vf,\u0275\u0275elementStart:gc,\u0275\u0275elementEnd:_c,\u0275\u0275element:Rd,\u0275\u0275elementContainerStart:vc,\u0275\u0275elementContainerEnd:bc,\u0275\u0275elementContainer:Fd,\u0275\u0275pureFunction0:E_,\u0275\u0275pureFunction1:T_,\u0275\u0275pureFunction2:D_,\u0275\u0275pureFunction3:x_,\u0275\u0275pureFunction4:M_,\u0275\u0275pureFunction5:S_,\u0275\u0275pureFunction6:I_,\u0275\u0275pureFunction7:A_,\u0275\u0275pureFunction8:O_,\u0275\u0275pureFunctionV:P_,\u0275\u0275getCurrentView:Kp,\u0275\u0275restoreView:bf,\u0275\u0275listener:Nd,\u0275\u0275projection:eg,\u0275\u0275syntheticHostProperty:vu,\u0275\u0275syntheticHostListener:Ld,\u0275\u0275pipeBind1:B_,\u0275\u0275pipeBind2:V_,\u0275\u0275pipeBind3:$_,\u0275\u0275pipeBind4:U_,\u0275\u0275pipeBindV:H_,\u0275\u0275projectionDef:qp,\u0275\u0275hostProperty:_u,\u0275\u0275property:Od,\u0275\u0275propertyInterpolate:jd,\u0275\u0275propertyInterpolate1:yc,\u0275\u0275propertyInterpolate2:Bd,\u0275\u0275propertyInterpolate3:Vd,\u0275\u0275propertyInterpolate4:$d,\u0275\u0275propertyInterpolate5:Ud,\u0275\u0275propertyInterpolate6:Hd,\u0275\u0275propertyInterpolate7:zd,\u0275\u0275propertyInterpolate8:Wd,\u0275\u0275propertyInterpolateV:Gd,\u0275\u0275pipe:j_,\u0275\u0275queryRefresh:tv,\u0275\u0275viewQuery:nv,\u0275\u0275loadQuery:rv,\u0275\u0275contentQuery:iv,\u0275\u0275reference:zp,\u0275\u0275classMap:cg,\u0275\u0275classMapInterpolate1:_g,\u0275\u0275classMapInterpolate2:vg,\u0275\u0275classMapInterpolate3:bg,\u0275\u0275classMapInterpolate4:yg,\u0275\u0275classMapInterpolate5:Cg,\u0275\u0275classMapInterpolate6:wg,\u0275\u0275classMapInterpolate7:Eg,\u0275\u0275classMapInterpolate8:Tg,\u0275\u0275classMapInterpolateV:Dg,\u0275\u0275styleMap:Fr,\u0275\u0275styleMapInterpolate1:xg,\u0275\u0275styleMapInterpolate2:Mg,\u0275\u0275styleMapInterpolate3:Sg,\u0275\u0275styleMapInterpolate4:Ig,\u0275\u0275styleMapInterpolate5:Ag,\u0275\u0275styleMapInterpolate6:Og,\u0275\u0275styleMapInterpolate7:Pg,\u0275\u0275styleMapInterpolate8:Rg,\u0275\u0275styleMapInterpolateV:Fg,\u0275\u0275styleProp:Qd,\u0275\u0275stylePropInterpolate1:cu,\u0275\u0275stylePropInterpolate2:lu,\u0275\u0275stylePropInterpolate3:du,\u0275\u0275stylePropInterpolate4:uu,\u0275\u0275stylePropInterpolate5:fu,\u0275\u0275stylePropInterpolate6:hu,\u0275\u0275stylePropInterpolate7:mu,\u0275\u0275stylePropInterpolate8:pu,\u0275\u0275stylePropInterpolateV:gu,\u0275\u0275classProp:Xd,\u0275\u0275advance:ep,\u0275\u0275template:Vp,\u0275\u0275defer:c_,\u0275\u0275text:pg,\u0275\u0275textInterpolate:qd,\u0275\u0275textInterpolate1:Ec,\u0275\u0275textInterpolate2:eu,\u0275\u0275textInterpolate3:tu,\u0275\u0275textInterpolate4:nu,\u0275\u0275textInterpolate5:iu,\u0275\u0275textInterpolate6:ru,\u0275\u0275textInterpolate7:ou,\u0275\u0275textInterpolate8:su,\u0275\u0275textInterpolateV:au,\u0275\u0275i18n:r_,\u0275\u0275i18nAttributes:o_,\u0275\u0275i18nExp:Du,\u0275\u0275i18nStart:Eu,\u0275\u0275i18nEnd:Tu,\u0275\u0275i18nApply:s_,\u0275\u0275i18nPostprocess:a_,\u0275\u0275resolveWindow:Bm,\u0275\u0275resolveDocument:Vm,\u0275\u0275resolveBody:nd,\u0275\u0275setComponentScope:Ji,\u0275\u0275setNgModuleScope:Lr,\u0275\u0275registerNgModuleType:cl,\u0275\u0275sanitizeHtml:nm,\u0275\u0275sanitizeStyle:im,\u0275\u0275sanitizeResourceUrl:Al,\u0275\u0275sanitizeScript:rm,\u0275\u0275sanitizeUrl:Il,\u0275\u0275sanitizeUrlOrResourceUrl:am,\u0275\u0275trustConstantHtml:om,\u0275\u0275trustConstantResourceUrl:sm,\u0275\u0275validateIframeAttribute:zh,forwardRef:F,resolveForwardRef:S}))();let ys=null;function GT(){ys=null}function ju(e){return!!ti(e)}const ma=[];let Bu=!1;function dv(){if(!Bu){Bu=!0;try{for(let e=ma.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=ma[e];i.declarations&&i.declarations.every(uv)&&(ma.splice(e,1),XT(t,i))}}finally{Bu=!1}}}function uv(e){return Array.isArray(e)?e.every(uv):!!S(e)}function fv(e,t={}){hv(e,t),void 0!==t.id&&cl(e,t.id),function KT(e,t){ma.push({moduleType:e,ngModule:t})}(e,t)}function hv(e,t,i=!1){const r=xr(t.declarations||Pe);let l=null;Object.defineProperty(e,kt,{configurable:!0,get:()=>(null===l&&(l=Di().compileNgModule(Qi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:xr(t.bootstrap||Pe).map(S),declarations:r.map(S),imports:xr(t.imports||Pe).map(S).map(gv),exports:xr(t.exports||Pe).map(S).map(gv),schemas:t.schemas?xr(t.schemas):null,id:t.id||null}),l.schemas||(l.schemas=[])),l)});let h=null;Object.defineProperty(e,tn,{get:()=>{if(null===h){const T=Di();h=T.compileFactory(Qi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Aa(e),target:T.FactoryTarget.NgModule,typeArgumentCount:0})}return h},configurable:!1});let C=null;Object.defineProperty(e,Ee,{get:()=>{if(null===C){const T={name:e.name,type:e,providers:t.providers||Pe,imports:[(t.imports||Pe).map(S),(t.exports||Pe).map(S)]};C=Di().compileInjector(Qi,`ng:///${e.name}/\u0275inj.js`,T)}return C},configurable:!1})}let Fc=new WeakMap,$u=new WeakMap;function QT(){Fc=new WeakMap,$u=new WeakMap,ma.length=0,hr.clear()}function XT(e,t){const i=xr(t.declarations||Pe),r=Po(e);i.forEach(l=>{(l=S(l)).hasOwnProperty(_t)?Uu(Tn(l),r):!l.hasOwnProperty(Mt)&&!l.hasOwnProperty(Ft)&&(l.ngSelectorScope=e)})}function Uu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(_t)?Tn(i):Qn(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Xn(i)),e.schemas=t.schemas,e.tView=null}function Po(e){if(ju(e))return function JT(e){const t=ti(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 io(t.imports).forEach(r=>{const l=Po(r);l.exported.directives.forEach(h=>i.compilation.directives.add(h)),l.exported.pipes.forEach(h=>i.compilation.pipes.add(h))}),io(t.declarations).forEach(r=>{Xn(r)?i.compilation.pipes.add(r):i.compilation.directives.add(r)}),io(t.exports).forEach(r=>{const l=r;if(ju(l)){const h=Po(l);h.exported.directives.forEach(C=>{i.compilation.directives.add(C),i.exported.directives.add(C)}),h.exported.pipes.forEach(C=>{i.compilation.pipes.add(C),i.exported.pipes.add(C)})}else Xn(l)?i.exported.pipes.add(l):i.exported.directives.add(l)}),t.transitiveCompileScopes=i,i}(e);if(er(e)){if(null!==(Tn(e)||Qn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==Xn(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 gv(e){return function lv(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let Hu=0;function _v(e,t){let i=null;(function yy(e,t){ah(t)&&(Go.set(e,t),Ls.add(e))})(e,t),bv(e,t),Object.defineProperty(e,_t,{get:()=>{if(null===i){const r=Di();if(ah(t)){const N=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&N.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&N.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),N.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(N.join("\n"))}const l=function WT(){return ys}();let h=t.preserveWhitespaces;void 0===h&&(h=null!==l&&void 0!==l.preserveWhitespaces&&l.preserveWhitespaces);let C=t.encapsulation;void 0===C&&(C=null!==l&&void 0!==l.defaultEncapsulation?l.defaultEncapsulation:Ke.Emulated);const T=t.templateUrl||`ng:///${e.name}/template.html`,M={...yv(e,t),typeSourceSpan:r.createParseSourceSpan("Component",e.name,T),template:t.template||"",preserveWhitespaces:h,styles:t.styles||Pe,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:C,interpolation:t.interpolation,viewProviders:t.viewProviders||null};Hu++;try{if(M.usesInheritance&&Cv(e),i=r.compileComponent(Qi,T,M),t.standalone){const N=xr(t.imports||Pe),{directiveDefs:ce,pipeDefs:Ae}=function eD(e,t){let i=null,r=null;return{directiveDefs:()=>{if(null===i){i=[Tn(e)];const C=new Set([e]);for(const T of t){const M=S(T);if(!C.has(M))if(C.add(M),ti(M)){const N=Po(M);for(const ce of N.exported.directives){const Ae=Tn(ce)||Qn(ce);Ae&&!C.has(ce)&&(C.add(ce),i.push(Ae))}}else{const N=Tn(M)||Qn(M);N&&i.push(N)}}}return i},pipeDefs:()=>{if(null===r){r=[];const C=new Set;for(const T of t){const M=S(T);if(!C.has(M))if(C.add(M),ti(M)){const N=Po(M);for(const ce of N.exported.pipes){const Ae=Xn(ce);Ae&&!C.has(ce)&&(C.add(ce),r.push(Ae))}}else{const N=Xn(M);N&&r.push(N)}}}return r}}}(e,N);i.directiveDefs=ce,i.pipeDefs=Ae,i.dependencies=()=>N.map(S)}}finally{Hu--}if(0===Hu&&dv(),function tD(e){return void 0!==e.ngSelectorScope}(e)){const N=Po(e.ngSelectorScope);Uu(i,N)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${te(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 zu(e,t){let i=null;bv(e,t||{}),Object.defineProperty(e,Mt,{get:()=>{if(null===i){const r=vv(e,t||{});i=Di().compileDirective(Qi,r.sourceMapUrl,r.metadata)}return i},configurable:!1})}function vv(e,t){const i=e&&e.name,r=`ng:///${i}/\u0275dir.js`,l=Di(),h=yv(e,t);return h.typeSourceSpan=l.createParseSourceSpan("Directive",i,r),h.usesInheritance&&Cv(e),{metadata:h,sourceMapUrl:r}}function bv(e,t){let i=null;Object.defineProperty(e,tn,{get:()=>{if(null===i){const r=vv(e,t),l=Di();i=l.compileFactory(Qi,`ng:///${e.name}/\u0275fac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:Aa(e),target:l.FactoryTarget.Directive})}return i},configurable:!1})}function nD(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function yv(e,t){const i=al(),r=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||$e,propMetadata:r,inputs:t.inputs||Pe,outputs:t.outputs||Pe,queries:wv(e,r,Ev),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!nD(e),exportAs:oD(t.exportAs),providers:t.providers||null,viewQueries:wv(e,r,Tv),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(l=>"function"==typeof l?{directive:l}:l)||null}}function Cv(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!Qn(i)&&!Tn(i)&&aD(i)&&zu(i,null),i=Object.getPrototypeOf(i)}function iD(e){return"string"==typeof e?xv(e):S(e)}function rD(e,t){return{propertyName:e,predicate:iD(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function wv(e,t,i){const r=[];for(const l in t)if(t.hasOwnProperty(l)){const h=t[l];h.forEach(C=>{if(i(C)){if(!C.selector)throw new Error(`Can't construct a query for the property "${l}" of "${te(e)}" since the query selector wasn't defined.`);if(h.some(Dv))throw new Error("Cannot combine @Input decorators with query decorators");r.push(rD(l,C))}})}return r}function oD(e){return void 0===e?null:xv(e)}function Ev(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Tv(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Dv(e){return"Input"===e.ngMetadataName}function xv(e){return e.split(",").map(t=>t.trim())}const sD=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function aD(e){const t=al();if(sD.some(r=>t.hasLifecycleHook(e,r)))return!0;const i=t.propMetadata(e);for(const r in i){const l=i[r];for(let h=0;h<l.length;h++){const C=l[h],T=C.ngMetadataName;if(Dv(C)||Ev(C)||Tv(C)||"Output"===T||"HostBinding"===T||"HostListener"===T)return!0}}return!1}function Mv(e,t){let i=null,r=null;Object.defineProperty(e,tn,{get:()=>{if(null===r){const l=Sv(e,t),h=Di();r=h.compileFactory(Qi,`ng:///${l.name}/\u0275fac.js`,{name:l.name,type:l.type,typeArgumentCount:0,deps:Aa(e),target:h.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,Ft,{get:()=>{if(null===i){const l=Sv(e,t);i=Di().compilePipe(Qi,`ng:///${l.name}/\u0275pipe.js`,l)}return i},configurable:!1})}function Sv(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const Iv=Rs("Directive",(e={})=>e,void 0,void 0,(e,t)=>zu(e,t)),cD=Rs("Component",(e={})=>({changeDetection:hn.Default,...e}),Iv,void 0,(e,t)=>_v(e,t)),lD=Rs("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>Mv(e,t)),dD=po("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),uD=po("Output",e=>({alias:e})),fD=po("HostBinding",e=>({hostPropertyName:e})),hD=po("HostListener",(e,t)=>({eventName:e,args:t})),mD=Rs("NgModule",e=>e,void 0,void 0,(e,t)=>fv(e,t)),Av=new Hn("Application Initializer");let kc=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r}),this.appInits=St(Av,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const l of this.appInits){const h=l();if(kd(h))i.push(h);else if(Yp(h)){const C=new Promise((T,M)=>{h.subscribe({complete:T,error:M})});i.push(C)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{r()}).catch(l=>{this.reject(l)}),0===i.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ov=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Nc=new Hn("LocaleId",{providedIn:"root",factory:()=>St(Nc,ot.Optional|ot.SkipSelf)||function pD(){return typeof $localize<"u"&&$localize.locale||Ao}()}),gD=new Hn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),_D=new Hn("Translations"),vD=new Hn("TranslationsFormat");var Pv=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(Pv||{});let Rv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new c.X(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Fv{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let bD=(()=>{class e{compileModuleSync(i){return new Ic(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const r=this.compileModuleSync(i),h=io(ti(i).declarations).reduce((C,T)=>{const M=Tn(T);return M&&C.push(new as(M)),C},[]);return new Fv(r,h)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const kv=new Hn("compilerOptions");class yD{}class CD{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}}let pa=new CD;function Lc(){return pa}function Wu(e){let t=null;return void 0===e||(t=e instanceof Yi?Ps(e):e),t}function ID(e){Xs(Ch(e)),v_(e).forEach(t=>yp(t))}function AD(e,t){const i=e.get(t,null,{self:!0,optional:!0});if(null===i)throw new Error(`Unable to determine instance of ${t} in given injector`);let r=e;e instanceof Yi&&(r=Ps(e));const{resolverToTokenToDependencies:l}=Lc();let h=l.get(r)?.get?.(t)??[];const C=Nv(e);return h=h.map(T=>{const M=T.flags;T.flags={optional:8==(8&M),host:1==(1&M),self:2==(2&M),skipSelf:4==(4&M)};for(let N=0;N<C.length;N++){const ce=C[N];if(0!==N||!T.flags.skipSelf){if(T.flags.host&&ce instanceof Gr)break;if(null!==ce.get(T.token,null,{self:!0,optional:!0})){if(T.flags.host){null!==C[0].get(T.token,null,{...T.flags,optional:!0})&&(T.providedIn=ce);break}T.providedIn=ce;break}if(0===N&&T.flags.self)break}}return T}),{instance:i,dependencies:h}}function kD(e){const t=function OD(e){const{standaloneInjectorToComponent:t}=Lc();if(t.has(e))return t.get(e);const i=e.get(Oo,null,{self:!0,optional:!0});return null===i?null:i.instance.constructor}(e);null===t&&He("Could not determine where injector providers were configured.");const i=function RD(e){const t=new Map,r=function FD(e,t){return(i,r)=>{if(e.has(i)||e.set(i,[r]),!t.has(r))for(const l of e.keys()){const h=e.get(l);let C=et(r);if(C||(C=et(r.ngModule)),!C)return;const T=h[0];let M=!1;zo(C.imports,N=>{M||(M=N.ngModule===T||N===T,M&&e.get(l)?.unshift(r))})}t.add(r)}}(t,new Set);return Ka(e,r,[],new Set),t}(t);return(Lc().resolverToProviders.get(e)??[]).map(l=>{let h=i.get(l.provider)??[t];return!!Tn(t)?.standalone&&(h=[t,...i.get(l.provider)??[]]),{...l,importPath:h}})}function ND(e){return e instanceof Yi?function PD(e){const t=Ps(e),{resolverToProviders:i}=Lc();return i.get(t)??[]}(e):e instanceof Gr?kD(e):void He("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function Nv(e){const t=[e];return Gu(e,t),t}function Gu(e,t){const i=function LD(e){if(e instanceof Qa)return e.parent;let t,i;if(e instanceof Yi)t=function ny(e){return e._tNode}(e),i=Ps(e);else{if(e instanceof Pl)return null;He("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const r=Ta(t,i);if(Jc(r)){const l=As(r),h=Os(r,i);return new Yi(h[zt].data[l+8],h)}{const h=i[Zn].injector?.parent;if(h instanceof Yi)return h}return null}(e);if(null===i){if(e instanceof Yi){const r=t[0];if(r instanceof Yi){const l=function jD(e){let t;e instanceof Yi?t=Ps(e):He("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const r=t[Zn].parentInjector;return r||He("NodeInjector must have some connection to the module injector tree"),r}(r);null===l&&He("NodeInjector must have some connection to the module injector tree"),t.push(l),Gu(l,t)}return t}}else t.push(i),Gu(i,t);return t}const Lv="ng";let jv=!1;function BD(){jv||(jv=!0,function wD(){pa.reset(),Lt(e=>function ED(e){const{context:t,type:i}=e;0===i?function TD(e,t){const i=Wu(e.injector);null===i&&He("An Inject event must be run within an injection context.");const r=pa.resolverToTokenToDependencies;if(r.has(i)||r.set(i,new WeakMap),!function SD(e){return null!==e&&("object"==typeof e||"function"==typeof e||"symbol"==typeof e)}(e.token))return;const l=r.get(i);l.has(e.token)||l.set(e.token,[]);const{token:h,value:C,flags:T}=t;l.get(e.token).push({token:h,value:C,flags:T})}(t,e.service):1===i?function DD(e,t){const{value:i}=t;let r;if(null===Wu(e.injector)&&He("An InjectorCreatedInstance event must be run within an injection context."),"object"==typeof i&&(r=i?.constructor),void 0===r||!function xD(e){return!!Tn(e)?.standalone}(r))return;const l=e.injector.get(Gr,null,{optional:!0});if(null===l)return;const{standaloneInjectorToComponent:h}=pa;h.has(l)||h.set(l,r)}(t,e.instance):2===i&&function MD(e,t){const{resolverToProviders:i}=pa,r=Wu(e?.injector);null===r&&He("A ProviderConfigured event must be run within an injection context."),i.has(r)||i.set(r,[]),i.get(r).push(t)}(t,e.providerRecord)}(e))}(),Xi("\u0275getDependenciesFromInjectable",AD),Xi("\u0275getInjectorProviders",ND),Xi("\u0275getInjectorResolutionPath",Nv),Xi("\u0275setProfiler",Xr),Xi("getDirectiveMetadata",gT),Xi("getComponent",Au),Xi("getContext",g_),Xi("getListeners",C_),Xi("getOwningComponent",__),Xi("getHostElement",Ou),Xi("getInjector",b_),Xi("getRootComponents",v_),Xi("getDirectives",y_),Xi("applyChanges",ID))}function Xi(e,t){if((typeof COMPILED>"u"||!COMPILED)&&dt){let r=dt[Lv];r||(r=dt[Lv]={}),r[e]=t}}const Bv=new Hn(""),Vv=new Hn("");let VD=(()=>{class e{constructor(i,r,l){this._ngZone=i,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ku||(Uv(l),l.addToWindow(r)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Si.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(i)||(clearTimeout(r.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,r,l){let h=-1;r&&r>0&&(h=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==h),i(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:i,timeoutId:h,updateCb:l})}whenStable(i,r,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,r,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,r,l){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(It(Si),It($v),It(Vv))};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac})}return e})(),$v=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,r){this._applications.set(i,r)}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,r=!0){return Ku?.findTestabilityInTree(this,i,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Uv(e){Ku=e}let Ku,vo=null;const Yu=new Hn("AllowMultipleToken"),Zu=new Hn("PlatformDestroyListeners"),Qu=new Hn("appBootstrapListener");function Hv(e,t,i){const r=new Ic(i);return Promise.resolve(r)}function zv(){!function Fn(e){an=e}(()=>{throw new Y(600,!1)})}function Wv(e){return e.isBoundToModule}class $D{constructor(t,i){this.name=t,this.token=i}}function Gv(e){if(vo&&!vo.get(Yu,!1))throw new Y(400,!1);zv(),vo=e;const t=e.get(Xu);return Kv(e),t}function Kv(e){e.get(gm,null)?.forEach(i=>i())}function HD(e){try{const{rootComponent:t,appProviders:i,platformProviders:r}=e,l=function UD(e=[]){if(vo)return vo;const t=Qv(e);return vo=t,zv(),Kv(t),t}(r),h=[ib(),...i||[]],T=new h_({providers:h,parent:l,debugName:"",runEnvironmentInitializers:!1}).injector,M=T.get(Si);return M.run(()=>{T.resolveInjectorInitializers();const N=T.get(go,null);let ce;M.runOutsideAngular(()=>{ce=M.onError.subscribe({next:ht=>{N.handleError(ht)}})});const Ae=()=>T.destroy(),it=l.get(Zu);return it.add(Ae),T.onDestroy(()=>{ce.unsubscribe(),it.delete(Ae)}),Jv(N,M,()=>{const ht=T.get(kc);return ht.runInitializers(),ht.donePromise.then(()=>{yu(T.get(Nc,Ao)||Ao);const Vt=T.get(Cs);return void 0!==t&&Vt.bootstrap(t),Vt})})})}catch(t){return Promise.reject(t)}}function Yv(e,t,i=[]){const r=`Platform: ${t}`,l=new Hn(r);return(h=[])=>{let C=jc();if(!C||C.injector.get(Yu,!1)){const T=[...i,...h,{provide:l,useValue:!0}];e?e(T):Gv(Qv(T,r))}return Zv()}}function Zv(e){const t=jc();if(!t)throw new Y(401,!1);return t}function Qv(e=[],t){return Rr.create({name:t,providers:[{provide:Nl,useValue:"platform"},{provide:Zu,useValue:new Set([()=>vo=null])},...e]})}function zD(){jc()?.destroy()}function jc(){return vo?.get(Xu)??null}let Xu=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,r){const l=function WD(e="zone.js",t){return"noop"===e?new Nm:"zone.js"===e?new Si(t):e}(r?.ngZone,Xv({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return l.run(()=>{const h=function hT(e,t,i){return new Sc(e,t,i)}(i.moduleType,this.injector,nb(()=>l)),C=h.injector.get(go,null);return l.runOutsideAngular(()=>{const T=l.onError.subscribe({next:M=>{C.handleError(M)}});h.onDestroy(()=>{Bc(this._modules,h),T.unsubscribe()})}),Jv(C,l,()=>{const T=h.injector.get(kc);return T.runInitializers(),T.donePromise.then(()=>(yu(h.injector.get(Nc,Ao)||Ao),this._moduleDoBootstrap(h),h))})})}bootstrapModule(i,r=[]){const l=qv({},r);return Hv(0,0,i).then(h=>this.bootstrapModuleFactory(h,l))}_moduleDoBootstrap(i){const r=i.injector.get(Cs);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(l=>r.bootstrap(l));else{if(!i.instance.ngDoBootstrap)throw new Y(-403,!1);i.instance.ngDoBootstrap(r)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Y(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const i=this._injector.get(Zu,null);i&&(i.forEach(r=>r()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(It(Rr))};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Xv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function Jv(e,t,i){try{const r=i();return kd(r)?r.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function qv(e,t){return Array.isArray(t)?t.reduce(qv,e):{...e,...t}}let Cs=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=St(tb),this.zoneIsStable=St(Lm),this.componentTypes=[],this.components=[],this.isStable=St(Rv).hasPendingTasks.pipe((0,m.w)(i=>i?(0,d.of)(!1):this.zoneIsStable),(0,_.x)(),(0,u.B)()),this._injector=St(Gr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,r){const l=i instanceof tc;if(!this._injector.get(kc).done)throw!l&&er(i),new Y(405,!1);let C;C=l?i:this._injector.get(Ys).resolveComponentFactory(i),this.componentTypes.push(C.componentType);const T=Wv(C)?void 0:this._injector.get(Oo),N=C.create(Rr.NULL,[],r||C.selector,T),ce=N.location.nativeElement,Ae=N.injector.get(Bv,null);return Ae?.registerApplication(ce),N.onDestroy(()=>{this.detachView(N.hostView),Bc(this.components,N),Ae?.unregisterApplication(ce)}),this._loadComponent(N),N}tick(){if(this._runningTick)throw new Y(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const r=i;this._views.push(r),r.attachToAppRef(this)}detachView(i){const r=i;Bc(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const r=this._injector.get(Qu,[]);r.push(...this._bootstrapListeners),r.forEach(l=>l(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Bc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new Y(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bc(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const tb=new Hn("",{providedIn:"root",factory:()=>St(go).handleError.bind(void 0)});function GD(){const e=St(Si),t=St(go);return i=>e.runOutsideAngular(()=>t.handleError(i))}let KD=(()=>{class e{constructor(){this.zone=St(Si),this.applicationRef=St(Cs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nb(e){return[{provide:Si,useFactory:e},{provide:zs,multi:!0,useFactory:()=>{const t=St(KD,{optional:!0});return()=>t.initialize()}},{provide:tb,useFactory:GD},{provide:Lm,useFactory:jm}]}function ib(e){return Rl([[],nb(()=>new Si(Xv(e)))])}function YD(){return!1}function ZD(){}function QD(e){const t=dh(e);if(!t)throw rb(e);return new Ic(t)}function XD(e){const t=dh(e);if(!t)throw rb(e);return t}function rb(e){return new Error(`No module with ID ${e} loaded`)}let ob=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=sb}return e})();function sb(e){return function JD(e,t,i){if(ir(e)&&!i){const r=gr(e.index,t);return new ss(r,r)}return 47&e.type?new ss(t[Rn],t):null}(ki(),Nt(),16==(16&e))}class ab extends ob{}class qD extends ab{}class ex{constructor(t,i){this.name=t,this.callback=i}}function tx(e){return e.map(t=>t.nativeElement)}class Ju{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new ga(t):null}get injector(){return b_(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Au(t)||__(t))}get context(){return Au(this.nativeNode)||g_(this.nativeNode)}get listeners(){return C_(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function _T(e){const t=Zi(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function Uy(e,t){const i=e[zt].data[t];if(i&&i.localNames){const r={};let l=i.index+1;for(let h=0;h<i.localNames.length;h+=2)r[i.localNames[h]]=e[l],l++;return r}return null}(i,t.nodeIndex)}return t.localRefs||{}}(this.nativeNode)}get providerTokens(){return function pT(e){const t=Zi(e),i=t?t.lView:null;if(null===i)return[];const r=i[zt],l=r.data[t.nodeIndex],h=[],T=l.directiveEnd;for(let M=1048575&l.providerIndexes;M<T;M++){let N=r.data[M];bT(N)&&(N=N.type),h.push(N)}return h}(this.nativeNode)}}class ga extends Ju{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=Zi(this.nativeNode),i=t?t.lView:null;return null!==i?i[zt].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=Zi(this.nativeNode),i=t?t.lView:null;if(null===i)return{};const r=i[zt].data,l=r[t.nodeIndex],h={};return function nx(e,t){if(e){let i=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==i&&i!==r;){const l=Object.getOwnPropertyDescriptors(i);for(let h in l)if(!h.startsWith("__")&&!h.startsWith("on")){const C=e[h];ix(C)&&(t[h]=C)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,h),function rx(e,t,i,r){let l=t.propertyBindings;if(null!==l)for(let h=0;h<l.length;h++){const C=l[h],M=r[C].split("\ufffd"),N=M[0];if(M.length>1){let ce=M[1];for(let Ae=1;Ae<M.length-1;Ae++)ce+=ie(i[C+Ae-1])+M[Ae+1];e[N]=ce}else e[N]=i[C]}}(h,l,i,r),h}get attributes(){const t={},i=this.nativeElement;if(!i)return t;const r=Zi(i),l=r?r.lView:null;if(null===l)return{};const h=l[zt].data[r.nodeIndex].attrs,C=[];if(h){let T=0;for(;T<h.length;){const M=h[T];if("string"!=typeof M)break;t[M]=h[T+1],C.push(M.toLowerCase()),T+=2}}for(const T of i.attributes)C.includes(T.name)||(t[T.name]=T.value);return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},r=this.nativeElement.className;return("string"!=typeof r?r.baseVal.split(" "):r.split(" ")).forEach(h=>t[h]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let r=0;r<t.length;r++)i.push(ws(t[r]));return i}get children(){const t=this.nativeElement;if(!t)return[];const i=t.children,r=[];for(let l=0;l<i.length;l++)r.push(ws(i[l]));return r}query(t){return this.queryAll(t)[0]||null}queryAll(t){const i=[];return cb(this,t,i,!0),i}queryAllNodes(t){const i=[];return cb(this,t,i,!1),i}triggerEventHandler(t,i){const r=this.nativeNode,l=[];this.listeners.forEach(h=>{if(h.name===t){const C=h.callback;C.call(r,i),l.push(C)}}),"function"==typeof r.eventListeners&&r.eventListeners(t).forEach(h=>{if(-1!==h.toString().indexOf("__ngUnwrap__")){const C=h("__ngUnwrap__");return-1===l.indexOf(C)&&C.call(r,i)}})}}function ix(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function cb(e,t,i,r){const l=Zi(e.nativeNode),h=l?l.lView:null;null!==h?Ro(h[zt].data[l.nodeIndex],h,t,i,r,e.nativeNode):ef(e.nativeNode,t,i,r)}function Ro(e,t,i,r,l,h){const C=function Db(e,t){const i=null===e?-1:e.index;return-1!==i?ei(t[i]):null}(e,t);if(11&e.type){if(qu(C,i,r,l,h),ir(e)){const M=gr(e.index,t);M&&M[zt].firstChild&&Ro(M[zt].firstChild,M,i,r,l,h)}else e.child&&Ro(e.child,t,i,r,l,h),C&&ef(C,i,r,l);const T=t[e.index];ci(T)&&lb(T,i,r,l,h)}else if(4&e.type){const T=t[e.index];qu(T[_i],i,r,l,h),lb(T,i,r,l,h)}else if(16&e.type){const T=t[Rn],N=T[oi].projection[e.projection];if(Array.isArray(N))for(let ce of N)qu(ce,i,r,l,h);else if(N){const ce=T[Nn];Ro(ce[zt].data[N.index],ce,i,r,l,h)}}else e.child&&Ro(e.child,t,i,r,l,h);if(h!==C){const T=2&e.flags?e.projectionNext:e.next;T&&Ro(T,t,i,r,l,h)}}function lb(e,t,i,r,l){for(let h=ai;h<e.length;h++){const C=e[h],T=C[zt].firstChild;T&&Ro(T,C,t,i,r,l)}}function qu(e,t,i,r,l){if(l!==e){const h=ws(e);if(!h)return;(r&&h instanceof ga&&t(h)&&-1===i.indexOf(h)||!r&&t(h)&&-1===i.indexOf(h))&&i.push(h)}}function ef(e,t,i,r){const l=e.childNodes,h=l.length;for(let C=0;C<h;C++){const T=l[C],M=ws(T);M&&((r&&M instanceof ga&&t(M)&&-1===i.indexOf(M)||!r&&t(M)&&-1===i.indexOf(M))&&i.push(M),ef(T,t,i,r))}}const nf="__ng_debug__";function ws(e){return e instanceof Node?(e.hasOwnProperty(nf)||(e[nf]=e.nodeType==Node.ELEMENT_NODE?new ga(e):new Ju(e)),e[nf]):null}class db{constructor(){}supports(t){return uc(t)}create(t){return new ub(t)}}const ox=(e,t)=>t;class ub{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||ox}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,r=this._removalsHead,l=0,h=null;for(;i||r;){const C=!r||i&&i.currentIndex<hb(r,l,h)?i:r,T=hb(C,l,h),M=C.currentIndex;if(C===r)l--,r=r._nextRemoved;else if(i=i._next,null==C.previousIndex)l++;else{h||(h=[]);const N=T-l,ce=M-l;if(N!=ce){for(let it=0;it<N;it++){const ht=it<h.length?h[it]:h[it]=0,At=ht+it;ce<=At&&At<N&&(h[it]=ht+1)}h[C.previousIndex]=ce-N}}T!==M&&t(C,T,M)}}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=[]),!uc(t))throw new Y(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let l,h,C,i=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let T=0;T<this.length;T++)h=t[T],C=this._trackByFn(T,h),null!==i&&Object.is(i.trackById,C)?(r&&(i=this._verifyReinsertion(i,h,C,T)),Object.is(i.item,h)||this._addIdentityChange(i,h)):(i=this._mismatch(i,h,C,T),r=!0),i=i._next}else l=0,function gw(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[Symbol.iterator]();let r;for(;!(r=i.next()).done;)t(r.value)}}(t,T=>{C=this._trackByFn(l,T),null!==i&&Object.is(i.trackById,C)?(r&&(i=this._verifyReinsertion(i,T,C,l)),Object.is(i.item,T)||this._addIdentityChange(i,T)):(i=this._mismatch(i,T,C,l),r=!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,r,l){let h;return null===t?h=this._itTail:(h=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,h,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,l))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,h,l)):t=this._addAfter(new sx(i,r),h,l),t}_verifyReinsertion(t,i,r,l){let h=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==h?t=this._reinsertAfter(h,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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,h=t._nextRemoved;return null===l?this._removalsHead=h:l._nextRemoved=h,null===h?this._removalsTail=l:h._prevRemoved=l,this._insertAfter(t,i,r),this._addToMoves(t,r),t}_moveAfter(t,i,r){return this._unlink(t),this._insertAfter(t,i,r),this._addToMoves(t,r),t}_addAfter(t,i,r){return this._insertAfter(t,i,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,r){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 fb),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,r=t._next;return null===i?this._itHead=r:i._next=r,null===r?this._itTail=i:r._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 fb),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 sx{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 ax{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===i||i<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const i=t._prevDup,r=t._nextDup;return null===i?this._head=r:i._nextDup=r,null===r?this._tail=i:r._prevDup=i,null===this._head}}class fb{constructor(){this.map=new Map}put(t){const i=t.trackById;let r=this.map.get(i);r||(r=new ax,this.map.set(i,r)),r.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 hb(e,t,i){const r=e.previousIndex;if(null===r)return r;let l=0;return i&&r<i.length&&(l=i[r]),r+t+l}class mb{constructor(){}supports(t){return t instanceof Map||pd(t)}create(){return new cx}}class cx{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||pd(t)))throw new Y(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,(r,l)=>{if(i&&i.key===l)this._maybeAddToChanges(i,r),this._appendAfter=i,i=i._next;else{const h=this._getOrCreateRecordForKey(l,r);i=this._insertBeforeOrAppend(i,h)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let r=i;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const r=t._prev;return i._next=t,i._prev=r,t._prev=i,r&&(r._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 h=l._prev,C=l._next;return h&&(h._next=C),C&&(C._prev=h),l._next=null,l._prev=null,l}const r=new lx(t);return this._records.set(t,r),r.currentValue=i,this._addToAdditions(r),r}_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(r=>i(t[r],r))}}class lx{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 pb(){return new rf([new db])}let rf=(()=>{class e{static#e=this.\u0275prov=Te({token:e,providedIn:"root",factory:pb});constructor(i){this.factories=i}static create(i,r){if(null!=r){const l=r.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:r=>e.create(i,r||pb()),deps:[[e,new Ia,new Sa]]}}find(i){const r=this.factories.find(l=>l.supports(i));if(null!=r)return r;throw new Y(901,!1)}}return e})();function gb(){return new sf([new mb])}let sf=(()=>{class e{static#e=this.\u0275prov=Te({token:e,providedIn:"root",factory:gb});constructor(i){this.factories=i}static create(i,r){if(r){const l=r.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:r=>e.create(i,r||gb()),deps:[[e,new Ia,new Sa]]}}find(i){const r=this.factories.find(l=>l.supports(i));if(r)return r;throw new Y(901,!1)}}return e})();const dx=[new mb],fx=new rf([new db]),hx=new sf(dx),mx=Yv(null,"core",[]);let px=(()=>{class e{constructor(i){}static#e=this.\u0275fac=function(r){return new(r||e)(It(Cs))};static#t=this.\u0275mod=lr({type:e});static#n=this.\u0275inj=Ne({})}return e})();class gx{constructor(){this.views=[],this.indexByContent=new Map}add(t){const i=JSON.stringify(t);if(!this.indexByContent.has(i)){const r=this.views.length;return this.views.push(t),this.indexByContent.set(i,r),r}return this.indexByContent.get(i)}getAll(){return this.views}}let _x=0;function _b(e){return e.ssrId||(e.ssrId="t"+_x++),e.ssrId}function vb(e,t,i){const r=[];return ea(e,t,i,r),r.length}function vx(e){const t=[];return bp(e,t),t.length}function bb(e,t){const i=e[Bn];return i&&!i.hasAttribute(Ko)?Vc(i,e,t):null}function yb(e,t){const i=Uc(e[Bn]),r=bb(i,t),l=ei(i[Bn]),C=Vc(l,e[Nn],t);i[rn].setAttribute(l,Ks,`${r}|${C}`)}function bx(e,t){const i=new gx,r=new Map,l=e._views;for(const T of l){const M=ym(T);if(null!==M){const N={serializedViewCollection:i,corruptedTextNodes:r};ci(M)?yb(M,N):bb(M,N),wx(r,t)}}const h=i.getAll();e.injector.get(Ws).set(Kl,h)}function yx(e,t){const i=[];let r="";for(let l=ai;l<e.length;l++){let C,T,M,h=e[l];if(Vr(h)&&(h=h[Cn],ci(h))){T=vx(h)+1,yb(h,t);const ce=Uc(h[Bn]);M={[Wl]:ce[zt].ssrId,[es]:T}}if(!M){const ce=h[zt];1===ce.type?(C=ce.ssrId,T=1):(C=_b(ce),T=vb(ce,h,ce.firstChild)),M={[Wl]:C,[es]:T,...wb(e[l],t)}}const N=JSON.stringify(M);if(i.length>0&&N===r){const ce=i[i.length-1];ce[Xa]??=1,ce[Xa]++}else r=N,i.push(M)}return i}function af(e,t,i){const r=t.index-Cn;e[Gl]??={},e[Gl][r]=Pw(t,i)}function Cb(e,t){const i=t.index-Cn;e[Ja]??=[],e[Ja].includes(i)||e[Ja].push(i)}function wb(e,t){const i={},r=e[zt];for(let l=Cn;l<r.bindingStartIndex;l++){const h=r.data[l],C=l-Cn;if(h){if(Eb(h,e)&&Ex(h)){Cb(i,h);continue}if(Array.isArray(h.projection))for(const T of h.projection)if(T){if(Array.isArray(T))throw yw(ei(e[l]));!$r(T)&&!ka(T)&&(Eb(T,e)?Cb(i,T):af(i,T,e))}if(ci(e[l])){const T=h.tView;null!==T&&(i[zl]??={},i[zl][C]=_b(T));const M=e[l][Bn];if(Array.isArray(M)){const N=ei(M);N.hasAttribute(Ko)||Vc(N,M,t)}i[Gs]??={},i[Gs][C]=yx(e[l],t)}else if(Array.isArray(e[l])){const T=ei(e[l][Bn]);T.hasAttribute(Ko)||Vc(T,e[l],t)}else if(8&h.type)i[Hl]??={},i[Hl][C]=vb(r,e,h.child);else if(16&h.type){let T=h.next;for(;null!==T&&16&T.type;)T=T.next;T&&!ka(T)&&af(i,T,e)}else{if(1&h.type){const T=ei(e[l]);""===T.textContent?t.corruptedTextNodes.set(T,"ngetn"):T.nextSibling?.nodeType===Node.TEXT_NODE&&t.corruptedTextNodes.set(T,"ngtns")}h.projectionNext&&h.projectionNext!==h.next&&!ka(h.projectionNext)&&af(i,h.projectionNext,e)}}}return i}function Vc(e,t,i){const r=t[rn];if(function ao(e){return 32==(32&e[dn])}(t)||function Cx(e){const t=e[$n];return!!t?.constructor&&Tn(t.constructor)?.encapsulation===Ke.ShadowDom}(t))return r.setAttribute(e,Ko,""),null;{const l=wb(t,i),h=i.serializedViewCollection.add(l);return r.setAttribute(e,Ks,h.toString()),h}}function wx(e,t){for(const[i,r]of e)i.after(t.createComment(r))}function Ex(e){let t=e;for(;null!=t;){if(ir(t))return!0;t=t.parent}return!1}function Eb(e,t){return!(16&e.type||!t[e.index]||ei(t[e.index]).isConnected)}let Tb=!1;function xx(){return Rl([{provide:Js,useFactory:()=>{let e=!0;return is()&&(e=!!St(Ws,{optional:!0})?.get(Kl,null)),e&&St(_m).add("hydration"),e}},{provide:zs,useValue:()=>{is()&&St(Js)&&(function Mx(){const e=Qo();let t;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===vm){t=i;break}if(!t)throw new Y(-507,!1)}(),function Tx(){Tb||(Tb=!0,function G0(){bm=W0}(),function jw(){Wp=Lw}(),function fE(){gg=uE}(),function $w(){Gp=Vw}(),function kw(){$p=Fw}(),function LT(){X_=NT}(),function PT(){G_=OT}(),function IC(){op=SC}())}())},multi:!0},{provide:Gm,useFactory:()=>is()&&St(Js)},{provide:Qu,useFactory:()=>{if(is()&&St(Js)){const e=St(Cs);return St(Rr),()=>{(function Dx(e,t){return e.isStable.pipe((0,f.P)(r=>r)).toPromise().then(()=>{})})(e).then(()=>{Si.assertInAngularZone(),function IT(e){const t=e._views;for(const i of t){const r=ym(i);null!==r&&null!==r[Bn]&&(fi(r)?Pc(r):(Pc(r[Bn]),W_(r)))}}(e)})}}return()=>{}},multi:!0}])}function Sx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Ix(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function Ax(e){return Di().compileDirectiveDeclaration(Qi,`ng:///${e.type.name}/\u0275fac.js`,e)}function Ox(e){w_(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function Px(e){return Di().compileComponentDeclaration(Qi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function Rx(e){return Di(function Fx(e){switch(e){case wo.Directive:return"directive";case wo.Component:return"component";case wo.Injectable:return"injectable";case wo.Pipe:return"pipe";case wo.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Qi,`ng:///${e.type.name}/\u0275fac.js`,e)}function kx(e){return Di().compileInjectableDeclaration(Qi,`ng:///${e.type.name}/\u0275prov.js`,e)}function Nx(e){return Di().compileInjectorDeclaration(Qi,`ng:///${e.type.name}/\u0275inj.js`,e)}function Lx(e){return Di().compileNgModuleDeclaration(Qi,`ng:///${e.type.name}/\u0275mod.js`,e)}function jx(e){return Di().compilePipeDeclaration(Qi,`ng:///${e.type.name}/\u0275pipe.js`,e)}function Bx(e,t){const i=Tn(e),r=t.elementInjector||Za();return new as(i).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Vx(e){const t=Tn(e);if(!t)return null;const i=new as(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function $x(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{AbstractControl:()=>Rt,AbstractControlDirective:()=>lt,AbstractFormGroupDirective:()=>Qe,COMPOSITION_BUFFER_MODE:()=>v,CheckboxControlValueAccessor:()=>f,CheckboxRequiredValidator:()=>qn,ControlContainer:()=>Te,DefaultValueAccessor:()=>w,EmailValidator:()=>Cn,FormArray:()=>ci,FormArrayName:()=>hr,FormBuilder:()=>Ei,FormControl:()=>X,FormControlDirective:()=>Xn,FormControlName:()=>zt,FormGroup:()=>Jt,FormGroupDirective:()=>ti,FormGroupName:()=>tr,FormRecord:()=>G,FormsModule:()=>bo,MaxLengthValidator:()=>_i,MaxValidator:()=>gi,MinLengthValidator:()=>yr,MinValidator:()=>ui,NG_ASYNC_VALIDATORS:()=>K,NG_VALIDATORS:()=>S,NG_VALUE_ACCESSOR:()=>m,NgControl:()=>xe,NgControlStatus:()=>gt,NgControlStatusGroup:()=>ut,NgForm:()=>bn,NgModel:()=>ii,NgModelGroup:()=>yn,NgSelectOption:()=>oi,NonNullableFormBuilder:()=>Vr,NumberValueAccessor:()=>Ji,PatternValidator:()=>nr,RadioControlValueAccessor:()=>qi,RangeValueAccessor:()=>ur,ReactiveFormsModule:()=>co,RequiredValidator:()=>si,SelectControlValueAccessor:()=>Ai,SelectMultipleControlValueAccessor:()=>rn,UntypedFormArray:()=>Br,UntypedFormBuilder:()=>$r,UntypedFormControl:()=>me,UntypedFormGroup:()=>ft,VERSION:()=>ao,Validators:()=>ee,isFormArray:()=>ir,isFormControl:()=>ne,isFormGroup:()=>ye,isFormRecord:()=>k,\u0275InternalFormsSharedModule:()=>fi,\u0275NgNoValidate:()=>Ii,\u0275NgSelectMultipleOption:()=>Li});var n=a(5879),s=a(6814),p=a(7715),g=a(9315),c=a(7398);let d=(()=>{class j{constructor(I,he){this._renderer=I,this._elementRef=he,this.onChange=ze=>{},this.onTouched=()=>{}}setProperty(I,he){this._renderer.setProperty(this._elementRef.nativeElement,I,he)}registerOnTouched(I){this.onTouched=I}registerOnChange(I){this.onChange=I}setDisabledState(I){this.setProperty("disabled",I)}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j})}return j})(),u=(()=>{class j extends d{static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,features:[n.\u0275\u0275InheritDefinitionFeature]})}return j})();const m=new n.InjectionToken("NgValueAccessor"),_={provide:m,useExisting:(0,n.forwardRef)(()=>f),multi:!0};let f=(()=>{class j extends u{writeValue(I){this.setProperty("checked",I)}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("change",function(Dn){return ze.onChange(Dn.target.checked)})("blur",function(){return ze.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([_]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const y={provide:m,useExisting:(0,n.forwardRef)(()=>w),multi:!0},v=new n.InjectionToken("CompositionEventMode");let w=(()=>{class j extends d{constructor(I,he,ze){super(I,he),this._compositionMode=ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function b(){const j=(0,s.\u0275getDOM)()?(0,s.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(j.toLowerCase())}())}writeValue(I){this.setProperty("value",I??"")}_handleInput(I){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(I)}_compositionStart(){this._composing=!0}_compositionEnd(I){this._composing=!1,this._compositionMode&&this.onChange(I)}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(v,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("input",function(Dn){return ze._handleInput(Dn.target.value)})("blur",function(){return ze.onTouched()})("compositionstart",function(){return ze._compositionStart()})("compositionend",function(Dn){return ze._compositionEnd(Dn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();function O(j){return null==j||("string"==typeof j||Array.isArray(j))&&0===j.length}function F(j){return null!=j&&"number"==typeof j.length}const S=new n.InjectionToken("NgValidators"),K=new n.InjectionToken("NgAsyncValidators"),V=/^(?=.{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 ee{static min(Q){return W(Q)}static max(Q){return Y(Q)}static required(Q){return ue(Q)}static requiredTrue(Q){return ie(Q)}static email(Q){return te(Q)}static minLength(Q){return ve(Q)}static maxLength(Q){return nt(Q)}static pattern(Q){return be(Q)}static nullValidator(Q){return null}static compose(Q){return re(Q)}static composeAsync(Q){return z(Q)}}function W(j){return Q=>{if(O(Q.value)||O(j))return null;const I=parseFloat(Q.value);return!isNaN(I)&&I<j?{min:{min:j,actual:Q.value}}:null}}function Y(j){return Q=>{if(O(Q.value)||O(j))return null;const I=parseFloat(Q.value);return!isNaN(I)&&I>j?{max:{max:j,actual:Q.value}}:null}}function ue(j){return O(j.value)?{required:!0}:null}function ie(j){return!0===j.value?null:{required:!0}}function te(j){return O(j.value)||V.test(j.value)?null:{email:!0}}function ve(j){return Q=>O(Q.value)||!F(Q.value)?null:Q.value.length<j?{minlength:{requiredLength:j,actualLength:Q.value.length}}:null}function nt(j){return Q=>F(Q.value)&&Q.value.length>j?{maxlength:{requiredLength:j,actualLength:Q.value.length}}:null}function be(j){if(!j)return Ye;let Q,I;return"string"==typeof j?(I="","^"!==j.charAt(0)&&(I+="^"),I+=j,"$"!==j.charAt(j.length-1)&&(I+="$"),Q=new RegExp(I)):(I=j.toString(),Q=j),he=>{if(O(he.value))return null;const ze=he.value;return Q.test(ze)?null:{pattern:{requiredPattern:I,actualValue:ze}}}}function Ye(j){return null}function pe(j){return null!=j}function Le(j){return(0,n.\u0275isPromise)(j)?(0,p.D)(j):j}function Xe(j){let Q={};return j.forEach(I=>{Q=null!=I?{...Q,...I}:Q}),0===Object.keys(Q).length?null:Q}function Je(j,Q){return Q.map(I=>I(j))}function we(j){return j.map(Q=>function q(j){return!j.validate}(Q)?Q:I=>Q.validate(I))}function re(j){if(!j)return null;const Q=j.filter(pe);return 0==Q.length?null:function(I){return Xe(Je(I,Q))}}function J(j){return null!=j?re(we(j)):null}function z(j){if(!j)return null;const Q=j.filter(pe);return 0==Q.length?null:function(I){const he=Je(I,Q).map(Le);return(0,g.D)(he).pipe((0,c.U)(Xe))}}function $(j){return null!=j?z(we(j)):null}function U(j,Q){return null===j?[Q]:Array.isArray(j)?[...j,Q]:[j,Q]}function R(j){return j._rawValidators}function H(j){return j._rawAsyncValidators}function Oe(j){return j?Array.isArray(j)?j:[j]:[]}function He(j,Q){return Array.isArray(j)?j.includes(Q):j===Q}function vt(j,Q){const I=Oe(Q);return Oe(j).forEach(ze=>{He(I,ze)||I.push(ze)}),I}function Ct(j,Q){return Oe(Q).filter(I=>!He(j,I))}class lt{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(Q){this._rawValidators=Q||[],this._composedValidatorFn=J(this._rawValidators)}_setAsyncValidators(Q){this._rawAsyncValidators=Q||[],this._composedAsyncValidatorFn=$(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Q){this._onDestroyCallbacks.push(Q)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Q=>Q()),this._onDestroyCallbacks=[]}reset(Q=void 0){this.control&&this.control.reset(Q)}hasError(Q,I){return!!this.control&&this.control.hasError(Q,I)}getError(Q,I){return this.control?this.control.getError(Q,I):null}}class Te extends lt{get formDirective(){return null}get path(){return null}}class xe extends lt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ne{constructor(Q){this._cd=Q}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let gt=(()=>{class j extends Ne{constructor(I){super(I)}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(xe,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(he,ze){2&he&&n.\u0275\u0275classProp("ng-untouched",ze.isUntouched)("ng-touched",ze.isTouched)("ng-pristine",ze.isPristine)("ng-dirty",ze.isDirty)("ng-valid",ze.isValid)("ng-invalid",ze.isInvalid)("ng-pending",ze.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return j})(),ut=(()=>{class j extends Ne{constructor(I){super(I)}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(Te,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(he,ze){2&he&&n.\u0275\u0275classProp("ng-untouched",ze.isUntouched)("ng-touched",ze.isTouched)("ng-pristine",ze.isPristine)("ng-dirty",ze.isDirty)("ng-valid",ze.isValid)("ng-invalid",ze.isInvalid)("ng-pending",ze.isPending)("ng-submitted",ze.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Ot="VALID",Lt="INVALID",qt="PENDING",cn="DISABLED";function pn(j){return(Ie(j)?j.validators:j)||null}function yt(j,Q){return(Ie(Q)?Q.asyncValidators:j)||null}function Ie(j){return null!=j&&!Array.isArray(j)&&"object"==typeof j}function We(j,Q,I){const he=j.controls;if(!(Q?Object.keys(he):he).length)throw new n.\u0275RuntimeError(1e3,"");if(!he[I])throw new n.\u0275RuntimeError(1001,"")}function mt(j,Q,I){j._forEachChild((he,ze)=>{if(void 0===I[ze])throw new n.\u0275RuntimeError(1002,"")})}class Rt{constructor(Q,I){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Q),this._assignAsyncValidators(I)}get validator(){return this._composedValidatorFn}set validator(Q){this._rawValidators=this._composedValidatorFn=Q}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Q){this._rawAsyncValidators=this._composedAsyncValidatorFn=Q}get parent(){return this._parent}get valid(){return this.status===Ot}get invalid(){return this.status===Lt}get pending(){return this.status==qt}get disabled(){return this.status===cn}get enabled(){return this.status!==cn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Q){this._assignValidators(Q)}setAsyncValidators(Q){this._assignAsyncValidators(Q)}addValidators(Q){this.setValidators(vt(Q,this._rawValidators))}addAsyncValidators(Q){this.setAsyncValidators(vt(Q,this._rawAsyncValidators))}removeValidators(Q){this.setValidators(Ct(Q,this._rawValidators))}removeAsyncValidators(Q){this.setAsyncValidators(Ct(Q,this._rawAsyncValidators))}hasValidator(Q){return He(this._rawValidators,Q)}hasAsyncValidator(Q){return He(this._rawAsyncValidators,Q)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Q={}){this.touched=!0,this._parent&&!Q.onlySelf&&this._parent.markAsTouched(Q)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Q=>Q.markAllAsTouched())}markAsUntouched(Q={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0})}),this._parent&&!Q.onlySelf&&this._parent._updateTouched(Q)}markAsDirty(Q={}){this.pristine=!1,this._parent&&!Q.onlySelf&&this._parent.markAsDirty(Q)}markAsPristine(Q={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(I=>{I.markAsPristine({onlySelf:!0})}),this._parent&&!Q.onlySelf&&this._parent._updatePristine(Q)}markAsPending(Q={}){this.status=qt,!1!==Q.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Q.onlySelf&&this._parent.markAsPending(Q)}disable(Q={}){const I=this._parentMarkedDirty(Q.onlySelf);this.status=cn,this.errors=null,this._forEachChild(he=>{he.disable({...Q,onlySelf:!0})}),this._updateValue(),!1!==Q.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Q,skipPristineCheck:I}),this._onDisabledChange.forEach(he=>he(!0))}enable(Q={}){const I=this._parentMarkedDirty(Q.onlySelf);this.status=Ot,this._forEachChild(he=>{he.enable({...Q,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Q.emitEvent}),this._updateAncestors({...Q,skipPristineCheck:I}),this._onDisabledChange.forEach(he=>he(!1))}_updateAncestors(Q){this._parent&&!Q.onlySelf&&(this._parent.updateValueAndValidity(Q),Q.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Q){this._parent=Q}getRawValue(){return this.value}updateValueAndValidity(Q={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ot||this.status===qt)&&this._runAsyncValidator(Q.emitEvent)),!1!==Q.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Q.onlySelf&&this._parent.updateValueAndValidity(Q)}_updateTreeValidity(Q={emitEvent:!0}){this._forEachChild(I=>I._updateTreeValidity(Q)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Q.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?cn:Ot}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Q){if(this.asyncValidator){this.status=qt,this._hasOwnPendingAsyncValidator=!0;const I=Le(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(he=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(he,{emitEvent:Q})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Q,I={}){this.errors=Q,this._updateControlsErrors(!1!==I.emitEvent)}get(Q){let I=Q;return null==I||(Array.isArray(I)||(I=I.split(".")),0===I.length)?null:I.reduce((he,ze)=>he&&he._find(ze),this)}getError(Q,I){const he=I?this.get(I):this;return he&&he.errors?he.errors[Q]:null}hasError(Q,I){return!!this.getError(Q,I)}get root(){let Q=this;for(;Q._parent;)Q=Q._parent;return Q}_updateControlsErrors(Q){this.status=this._calculateStatus(),Q&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Q)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?cn:this.errors?Lt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qt)?qt:this._anyControlsHaveStatus(Lt)?Lt:Ot}_anyControlsHaveStatus(Q){return this._anyControls(I=>I.status===Q)}_anyControlsDirty(){return this._anyControls(Q=>Q.dirty)}_anyControlsTouched(){return this._anyControls(Q=>Q.touched)}_updatePristine(Q={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Q.onlySelf&&this._parent._updatePristine(Q)}_updateTouched(Q={}){this.touched=this._anyControlsTouched(),this._parent&&!Q.onlySelf&&this._parent._updateTouched(Q)}_registerOnCollectionChange(Q){this._onCollectionChange=Q}_setUpdateStrategy(Q){Ie(Q)&&null!=Q.updateOn&&(this._updateOn=Q.updateOn)}_parentMarkedDirty(Q){return!Q&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Q){return null}_assignValidators(Q){this._rawValidators=Array.isArray(Q)?Q.slice():Q,this._composedValidatorFn=function En(j){return Array.isArray(j)?J(j):j||null}(this._rawValidators)}_assignAsyncValidators(Q){this._rawAsyncValidators=Array.isArray(Q)?Q.slice():Q,this._composedAsyncValidatorFn=function rt(j){return Array.isArray(j)?$(j):j||null}(this._rawAsyncValidators)}}class Jt extends Rt{constructor(Q,I,he){super(pn(I),yt(he,I)),this.controls=Q,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Q,I){return this.controls[Q]?this.controls[Q]:(this.controls[Q]=I,I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange),I)}addControl(Q,I,he={}){this.registerControl(Q,I),this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}removeControl(Q,I={}){this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),delete this.controls[Q],this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}setControl(Q,I,he={}){this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),delete this.controls[Q],I&&this.registerControl(Q,I),this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}contains(Q){return this.controls.hasOwnProperty(Q)&&this.controls[Q].enabled}setValue(Q,I={}){mt(this,0,Q),Object.keys(Q).forEach(he=>{We(this,!0,he),this.controls[he].setValue(Q[he],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(Q,I={}){null!=Q&&(Object.keys(Q).forEach(he=>{const ze=this.controls[he];ze&&ze.patchValue(Q[he],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(Q={},I={}){this._forEachChild((he,ze)=>{he.reset(Q[ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this._reduceChildren({},(Q,I,he)=>(Q[he]=I.getRawValue(),Q))}_syncPendingControls(){let Q=this._reduceChildren(!1,(I,he)=>!!he._syncPendingControls()||I);return Q&&this.updateValueAndValidity({onlySelf:!0}),Q}_forEachChild(Q){Object.keys(this.controls).forEach(I=>{const he=this.controls[I];he&&Q(he,I)})}_setUpControls(){this._forEachChild(Q=>{Q.setParent(this),Q._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Q){for(const[I,he]of Object.entries(this.controls))if(this.contains(I)&&Q(he))return!0;return!1}_reduceValue(){return this._reduceChildren({},(I,he,ze)=>((he.enabled||this.disabled)&&(I[ze]=he.value),I))}_reduceChildren(Q,I){let he=Q;return this._forEachChild((ze,en)=>{he=I(he,ze,en)}),he}_allControlsDisabled(){for(const Q of Object.keys(this.controls))if(this.controls[Q].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Q){return this.controls.hasOwnProperty(Q)?this.controls[Q]:null}}const ft=Jt,ye=j=>j instanceof Jt;class G extends Jt{}const k=j=>j instanceof G,fe=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>Ze}),Ze="always";function It(j,Q){return[...Q.path,j]}function tt(j,Q,I=Ze){je(j,Q),Q.valueAccessor.writeValue(j.value),(j.disabled||"always"===I)&&Q.valueAccessor.setDisabledState?.(j.disabled),function Ut(j,Q){Q.valueAccessor.registerOnChange(I=>{j._pendingValue=I,j._pendingChange=!0,j._pendingDirty=!0,"change"===j.updateOn&&ln(j,Q)})}(j,Q),function hn(j,Q){const I=(he,ze)=>{Q.valueAccessor.writeValue(he),ze&&Q.viewToModelUpdate(he)};j.registerOnChange(I),Q._registerOnDestroy(()=>{j._unregisterOnChange(I)})}(j,Q),function vn(j,Q){Q.valueAccessor.registerOnTouched(()=>{j._pendingTouched=!0,"blur"===j.updateOn&&j._pendingChange&&ln(j,Q),"submit"!==j.updateOn&&j.markAsTouched()})}(j,Q),function Fe(j,Q){if(Q.valueAccessor.setDisabledState){const I=he=>{Q.valueAccessor.setDisabledState(he)};j.registerOnDisabledChange(I),Q._registerOnDestroy(()=>{j._unregisterOnDisabledChange(I)})}}(j,Q)}function St(j,Q,I=!0){const he=()=>{};Q.valueAccessor&&(Q.valueAccessor.registerOnChange(he),Q.valueAccessor.registerOnTouched(he)),Et(j,Q),j&&(Q._invokeOnDestroyCallbacks(),j._registerOnCollectionChange(()=>{}))}function _e(j,Q){j.forEach(I=>{I.registerOnValidatorChange&&I.registerOnValidatorChange(Q)})}function je(j,Q){const I=R(j);null!==Q.validator?j.setValidators(U(I,Q.validator)):"function"==typeof I&&j.setValidators([I]);const he=H(j);null!==Q.asyncValidator?j.setAsyncValidators(U(he,Q.asyncValidator)):"function"==typeof he&&j.setAsyncValidators([he]);const ze=()=>j.updateValueAndValidity();_e(Q._rawValidators,ze),_e(Q._rawAsyncValidators,ze)}function Et(j,Q){let I=!1;if(null!==j){if(null!==Q.validator){const ze=R(j);if(Array.isArray(ze)&&ze.length>0){const en=ze.filter(Dn=>Dn!==Q.validator);en.length!==ze.length&&(I=!0,j.setValidators(en))}}if(null!==Q.asyncValidator){const ze=H(j);if(Array.isArray(ze)&&ze.length>0){const en=ze.filter(Dn=>Dn!==Q.asyncValidator);en.length!==ze.length&&(I=!0,j.setAsyncValidators(en))}}}const he=()=>{};return _e(Q._rawValidators,he),_e(Q._rawAsyncValidators,he),I}function ln(j,Q){j._pendingDirty&&j.markAsDirty(),j.setValue(j._pendingValue,{emitModelToViewChange:!1}),Q.viewToModelUpdate(j._pendingValue),j._pendingChange=!1}function Ke(j,Q){je(j,Q)}function tn(j,Q){if(!j.hasOwnProperty("model"))return!1;const I=j.model;return!!I.isFirstChange()||!Object.is(Q,I.currentValue)}function Mn(j,Q){j._syncPendingControls(),Q.forEach(I=>{const he=I.control;"submit"===he.updateOn&&he._pendingChange&&(I.viewToModelUpdate(he._pendingValue),he._pendingChange=!1)})}function Vn(j,Q){if(!Q)return null;let I,he,ze;return Array.isArray(Q),Q.forEach(en=>{en.constructor===w?I=en:function Gt(j){return Object.getPrototypeOf(j.constructor)===u}(en)?he=en:ze=en}),ze||he||I||null}const Ci={provide:Te,useExisting:(0,n.forwardRef)(()=>bn)},Pn=(()=>Promise.resolve())();let bn=(()=>{class j extends Te{constructor(I,he,ze){super(),this.callSetDisabledState=ze,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Jt({},J(I),$(he))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(I){Pn.then(()=>{const he=this._findContainer(I.path);I.control=he.registerControl(I.name,I.control),tt(I.control,I,this.callSetDisabledState),I.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(I)})}getControl(I){return this.form.get(I.path)}removeControl(I){Pn.then(()=>{const he=this._findContainer(I.path);he&&he.removeControl(I.name),this._directives.delete(I)})}addFormGroup(I){Pn.then(()=>{const he=this._findContainer(I.path),ze=new Jt({});Ke(ze,I),he.registerControl(I.name,ze),ze.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(I){Pn.then(()=>{const he=this._findContainer(I.path);he&&he.removeControl(I.name)})}getFormGroup(I){return this.form.get(I.path)}updateModel(I,he){Pn.then(()=>{this.form.get(I.path).setValue(he)})}setValue(I){this.control.setValue(I)}onSubmit(I){return this.submitted=!0,Mn(this.form,this._directives),this.ngSubmit.emit(I),"dialog"===I?.target?.method}onReset(){this.resetForm()}resetForm(I=void 0){this.form.reset(I),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(I){return I.pop(),I.length?this.form.get(I):this.form}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(K,10),n.\u0275\u0275directiveInject(fe,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("submit",function(Dn){return ze.onSubmit(Dn)})("reset",function(){return ze.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Ci]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();function ge(j,Q){const I=j.indexOf(Q);I>-1&&j.splice(I,1)}function st(j){return"object"==typeof j&&null!==j&&2===Object.keys(j).length&&"value"in j&&"disabled"in j}const X=class extends Rt{constructor(Q=null,I,he){super(pn(I),yt(he,I)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Q),this._setUpdateStrategy(I),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ie(I)&&(I.nonNullable||I.initialValueIsDefault)&&(this.defaultValue=st(Q)?Q.value:Q)}setValue(Q,I={}){this.value=this._pendingValue=Q,this._onChange.length&&!1!==I.emitModelToViewChange&&this._onChange.forEach(he=>he(this.value,!1!==I.emitViewToModelChange)),this.updateValueAndValidity(I)}patchValue(Q,I={}){this.setValue(Q,I)}reset(Q=this.defaultValue,I={}){this._applyFormState(Q),this.markAsPristine(I),this.markAsUntouched(I),this.setValue(this.value,I),this._pendingChange=!1}_updateValue(){}_anyControls(Q){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Q){this._onChange.push(Q)}_unregisterOnChange(Q){ge(this._onChange,Q)}registerOnDisabledChange(Q){this._onDisabledChange.push(Q)}_unregisterOnDisabledChange(Q){ge(this._onDisabledChange,Q)}_forEachChild(Q){}_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(Q){st(Q)?(this.value=this._pendingValue=Q.value,Q.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Q}},me=X,ne=j=>j instanceof X;let Qe=(()=>{class j extends Te{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return It(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,features:[n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Bt={provide:Te,useExisting:(0,n.forwardRef)(()=>yn)};let yn=(()=>{class j extends Qe{constructor(I,he,ze){super(),this.name="",this._parent=I,this._setValidators(he),this._setAsyncValidators(ze)}_checkParentType(){}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(Te,5),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(K,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Bt]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Sn={provide:xe,useExisting:(0,n.forwardRef)(()=>ii)},Kn=(()=>Promise.resolve())();let ii=(()=>{class j extends xe{constructor(I,he,ze,en,Dn,Bi){super(),this._changeDetectorRef=Dn,this.callSetDisabledState=Bi,this.control=new X,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=I,this._setValidators(he),this._setAsyncValidators(ze),this.valueAccessor=Vn(0,en)}ngOnChanges(I){if(this._checkForErrors(),!this._registered||"name"in I){if(this._registered&&(this._checkName(),this.formDirective)){const he=I.name.previousValue;this.formDirective.removeControl({name:he,path:this._getPath(he)})}this._setUpControl()}"isDisabled"in I&&this._updateDisabled(I),tn(I,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(I){this.viewModel=I,this.update.emit(I)}_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(){tt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(I){Kn.then(()=>{this.control.setValue(I,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(I){const he=I.isDisabled.currentValue,ze=0!==he&&(0,n.booleanAttribute)(he);Kn.then(()=>{ze&&!this.control.disabled?this.control.disable():!ze&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(I){return this._parent?It(I,this._parent):[I]}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(Te,9),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(K,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(fe,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,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([Sn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return j})(),Ii=(()=>{class j{static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return j})();const ri={provide:m,useExisting:(0,n.forwardRef)(()=>Ji),multi:!0};let Ji=(()=>{class j extends u{writeValue(I){this.setProperty("value",I??"")}registerOnChange(I){this.onChange=he=>{I(""==he?null:parseFloat(he))}}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("input",function(Dn){return ze.onChange(Dn.target.value)})("blur",function(){return ze.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([ri]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Sr={provide:m,useExisting:(0,n.forwardRef)(()=>qi),multi:!0};let lr=(()=>{class j{static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:j});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return j})(),Lr=(()=>{class j{constructor(){this._accessors=[]}add(I,he){this._accessors.push([I,he])}remove(I){for(let he=this._accessors.length-1;he>=0;--he)if(this._accessors[he][1]===I)return void this._accessors.splice(he,1)}select(I){this._accessors.forEach(he=>{this._isSameGroup(he,I)&&he[1]!==I&&he[1].fireUncheck(I.value)})}_isSameGroup(I,he){return!!I[0].control&&I[0]._parent===he._control._parent&&I[1].name===he.name}static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:j,factory:j.\u0275fac,providedIn:lr})}return j})(),qi=(()=>{class j extends u{constructor(I,he,ze,en){super(I,he),this._registry=ze,this._injector=en,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(fe,{optional:!0})??Ze}ngOnInit(){this._control=this._injector.get(xe),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(I){this._state=I===this.value,this.setProperty("checked",this._state)}registerOnChange(I){this._fn=I,this.onChange=()=>{I(this.value),this._registry.select(this)}}setDisabledState(I){(this.setDisabledStateFired||I||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",I),this.setDisabledStateFired=!0}fireUncheck(I){this.writeValue(I)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Lr),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("change",function(){return ze.onChange()})("blur",function(){return ze.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Sr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const dr={provide:m,useExisting:(0,n.forwardRef)(()=>ur),multi:!0};let ur=(()=>{class j extends u{writeValue(I){this.setProperty("value",parseFloat(I))}registerOnChange(I){this.onChange=he=>{I(""==he?null:parseFloat(he))}}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("change",function(Dn){return ze.onChange(Dn.target.value)})("input",function(Dn){return ze.onChange(Dn.target.value)})("blur",function(){return ze.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([dr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Tn=new n.InjectionToken("NgModelWithFormControlWarning"),Qn={provide:xe,useExisting:(0,n.forwardRef)(()=>Xn)};let Xn=(()=>{class j extends xe{set isDisabled(I){}static#e=this._ngModelWarningSentOnce=!1;constructor(I,he,ze,en,Dn){super(),this._ngModelWarningConfig=en,this.callSetDisabledState=Dn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(I),this._setAsyncValidators(he),this.valueAccessor=Vn(0,ze)}ngOnChanges(I){if(this._isControlChanged(I)){const he=I.form.previousValue;he&&St(he,this,!1),tt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}tn(I,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&St(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_isControlChanged(I){return I.hasOwnProperty("form")}static#t=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(K,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(Tn,8),n.\u0275\u0275directiveInject(fe,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Qn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return j})();const er={provide:Te,useExisting:(0,n.forwardRef)(()=>ti)};let ti=(()=>{class j extends Te{constructor(I,he,ze){super(),this.callSetDisabledState=ze,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(I),this._setAsyncValidators(he)}ngOnChanges(I){this._checkFormPresent(),I.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Et(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(I){const he=this.form.get(I.path);return tt(he,I,this.callSetDisabledState),he.updateValueAndValidity({emitEvent:!1}),this.directives.push(I),he}getControl(I){return this.form.get(I.path)}removeControl(I){St(I.control||null,I,!1),function On(j,Q){const I=j.indexOf(Q);I>-1&&j.splice(I,1)}(this.directives,I)}addFormGroup(I){this._setUpFormContainer(I)}removeFormGroup(I){this._cleanUpFormContainer(I)}getFormGroup(I){return this.form.get(I.path)}addFormArray(I){this._setUpFormContainer(I)}removeFormArray(I){this._cleanUpFormContainer(I)}getFormArray(I){return this.form.get(I.path)}updateModel(I,he){this.form.get(I.path).setValue(he)}onSubmit(I){return this.submitted=!0,Mn(this.form,this.directives),this.ngSubmit.emit(I),"dialog"===I?.target?.method}onReset(){this.resetForm()}resetForm(I=void 0){this.form.reset(I),this.submitted=!1}_updateDomValue(){this.directives.forEach(I=>{const he=I.control,ze=this.form.get(I.path);he!==ze&&(St(he||null,I),ne(ze)&&(tt(ze,I,this.callSetDisabledState),I.control=ze))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(I){const he=this.form.get(I.path);Ke(he,I),he.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(I){if(this.form){const he=this.form.get(I.path);he&&function $e(j,Q){return Et(j,Q)}(he,I)&&he.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){je(this.form,this),this._oldForm&&Et(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(K,10),n.\u0275\u0275directiveInject(fe,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formGroup",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("submit",function(Dn){return ze.onSubmit(Dn)})("reset",function(){return ze.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([er]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return j})();const Ir={provide:Te,useExisting:(0,n.forwardRef)(()=>tr)};let tr=(()=>{class j extends Qe{constructor(I,he,ze){super(),this.name=null,this._parent=I,this._setValidators(he),this._setAsyncValidators(ze)}_checkParentType(){Ar(this._parent)}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(Te,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(K,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Ir]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const fr={provide:Te,useExisting:(0,n.forwardRef)(()=>hr)};let hr=(()=>{class j extends Te{constructor(I,he,ze){super(),this.name=null,this._parent=I,this._setValidators(he),this._setAsyncValidators(ze)}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 It(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ar(this._parent)}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(Te,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(K,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([fr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();function Ar(j){return!(j instanceof tr||j instanceof ti||j instanceof hr)}const Bn={provide:xe,useExisting:(0,n.forwardRef)(()=>zt)};let zt=(()=>{class j extends xe{set isDisabled(I){}static#e=this._ngModelWarningSentOnce=!1;constructor(I,he,ze,en,Dn){super(),this._ngModelWarningConfig=Dn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=I,this._setValidators(he),this._setAsyncValidators(ze),this.valueAccessor=Vn(0,en)}ngOnChanges(I){this._added||this._setUpControl(),tn(I,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}get path(){return It(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(Te,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(K,10),n.\u0275\u0275directiveInject(m,10),n.\u0275\u0275directiveInject(Tn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Bn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return j})();const dn={provide:m,useExisting:(0,n.forwardRef)(()=>Ai),multi:!0};function Nn(j,Q){return null==j?`${Q}`:(Q&&"object"==typeof Q&&(Q="Object"),`${j}: ${Q}`.slice(0,50))}let Ai=(()=>{class j extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){this.value=I;const ze=Nn(this._getOptionId(I),I);this.setProperty("value",ze)}registerOnChange(I){this.onChange=he=>{this.value=this._getOptionValue(he),I(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(I){for(const he of this._optionMap.keys())if(this._compareWith(this._optionMap.get(he),I))return he;return null}_getOptionValue(I){const he=function pi(j){return j.split(":")[0]}(I);return this._optionMap.has(he)?this._optionMap.get(he):I}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("change",function(Dn){return ze.onChange(Dn.target.value)})("blur",function(){return ze.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([dn]),n.\u0275\u0275InheritDefinitionFeature]})}return j})(),oi=(()=>{class j{constructor(I,he,ze){this._element=I,this._renderer=he,this._select=ze,this._select&&(this.id=this._select._registerOption())}set ngValue(I){null!=this._select&&(this._select._optionMap.set(this.id,I),this._setElementValue(Nn(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._setElementValue(I),this._select&&this._select.writeValue(this._select.value)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ai,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return j})();const Ui={provide:m,useExisting:(0,n.forwardRef)(()=>rn),multi:!0};function $n(j,Q){return null==j?`${Q}`:("string"==typeof Q&&(Q=`'${Q}'`),Q&&"object"==typeof Q&&(Q="Object"),`${j}: ${Q}`.slice(0,50))}let rn=(()=>{class j extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){let he;if(this.value=I,Array.isArray(I)){const ze=I.map(en=>this._getOptionId(en));he=(en,Dn)=>{en._setSelected(ze.indexOf(Dn.toString())>-1)}}else he=(ze,en)=>{ze._setSelected(!1)};this._optionMap.forEach(he)}registerOnChange(I){this.onChange=he=>{const ze=[],en=he.selectedOptions;if(void 0!==en){const Dn=en;for(let Bi=0;Bi<Dn.length;Bi++){const lo=this._getOptionValue(Dn[Bi].value);ze.push(lo)}}else{const Dn=he.options;for(let Bi=0;Bi<Dn.length;Bi++){const Or=Dn[Bi];if(Or.selected){const lo=this._getOptionValue(Or.value);ze.push(lo)}}}this.value=ze,I(ze)}}_registerOption(I){const he=(this._idCounter++).toString();return this._optionMap.set(he,I),he}_getOptionId(I){for(const he of this._optionMap.keys())if(this._compareWith(this._optionMap.get(he)._value,I))return he;return null}_getOptionValue(I){const he=function Zn(j){return j.split(":")[0]}(I);return this._optionMap.has(he)?this._optionMap.get(he)._value:I}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(he,ze){1&he&&n.\u0275\u0275listener("change",function(Dn){return ze.onChange(Dn.target)})("blur",function(){return ze.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Ui]),n.\u0275\u0275InheritDefinitionFeature]})}return j})(),Li=(()=>{class j{constructor(I,he,ze){this._element=I,this._renderer=he,this._select=ze,this._select&&(this.id=this._select._registerOption(this))}set ngValue(I){null!=this._select&&(this._value=I,this._setElementValue($n(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._select?(this._value=I,this._setElementValue($n(this.id,I)),this._select.writeValue(this._select.value)):this._setElementValue(I)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}_setSelected(I){this._renderer.setProperty(this._element.nativeElement,"selected",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(he){return new(he||j)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(rn,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return j})();function br(j){return"number"==typeof j?j:parseInt(j,10)}function Hi(j){return"number"==typeof j?j:parseFloat(j)}let Rn=(()=>{class j{constructor(){this._validator=Ye}ngOnChanges(I){if(this.inputName in I){const he=this.normalizeInput(I[this.inputName].currentValue);this._enabled=this.enabled(he),this._validator=this._enabled?this.createValidator(he):Ye,this._onChange&&this._onChange()}}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}enabled(I){return null!=I}static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,features:[n.\u0275\u0275NgOnChangesFeature]})}return j})();const mr={provide:S,useExisting:(0,n.forwardRef)(()=>gi),multi:!0};let gi=(()=>{class j extends Rn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=I=>Hi(I),this.createValidator=I=>Y(I)}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(he,ze){2&he&&n.\u0275\u0275attribute("max",ze._enabled?ze.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([mr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Jn={provide:S,useExisting:(0,n.forwardRef)(()=>ui),multi:!0};let ui=(()=>{class j extends Rn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=I=>Hi(I),this.createValidator=I=>W(I)}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(he,ze){2&he&&n.\u0275\u0275attribute("min",ze._enabled?ze.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Jn]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Oi={provide:S,useExisting:(0,n.forwardRef)(()=>si),multi:!0},zi={provide:S,useExisting:(0,n.forwardRef)(()=>qn),multi:!0};let si=(()=>{class j extends Rn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=I=>ue}enabled(I){return I}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(he,ze){2&he&&n.\u0275\u0275attribute("required",ze._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([Oi]),n.\u0275\u0275InheritDefinitionFeature]})}return j})(),qn=(()=>{class j extends si{constructor(){super(...arguments),this.createValidator=I=>ie}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(he,ze){2&he&&n.\u0275\u0275attribute("required",ze._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([zi]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Pi={provide:S,useExisting:(0,n.forwardRef)(()=>Cn),multi:!0};let Cn=(()=>{class j extends Rn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=I=>te}enabled(I){return I}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Pi]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Fo={provide:S,useExisting:(0,n.forwardRef)(()=>yr),multi:!0};let yr=(()=>{class j extends Rn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=I=>br(I),this.createValidator=I=>ve(I)}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(he,ze){2&he&&n.\u0275\u0275attribute("minlength",ze._enabled?ze.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Fo]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Cr={provide:S,useExisting:(0,n.forwardRef)(()=>_i),multi:!0};let _i=(()=>{class j extends Rn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=I=>br(I),this.createValidator=I=>nt(I)}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(he,ze){2&he&&n.\u0275\u0275attribute("maxlength",ze._enabled?ze.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([Cr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const ji={provide:S,useExisting:(0,n.forwardRef)(()=>nr),multi:!0};let nr=(()=>{class j extends Rn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=I=>I,this.createValidator=I=>be(I)}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(he,ze){2&he&&n.\u0275\u0275attribute("pattern",ze._enabled?ze.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([ji]),n.\u0275\u0275InheritDefinitionFeature]})}return j})(),fi=(()=>{class j{static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:j});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[lr]})}return j})();class ci extends Rt{constructor(Q,I,he){super(pn(I),yt(he,I)),this.controls=Q,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Q){return this.controls[this._adjustIndex(Q)]}push(Q,I={}){this.controls.push(Q),this._registerControl(Q),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}insert(Q,I,he={}){this.controls.splice(Q,0,I),this._registerControl(I),this.updateValueAndValidity({emitEvent:he.emitEvent})}removeAt(Q,I={}){let he=this._adjustIndex(Q);he<0&&(he=0),this.controls[he]&&this.controls[he]._registerOnCollectionChange(()=>{}),this.controls.splice(he,1),this.updateValueAndValidity({emitEvent:I.emitEvent})}setControl(Q,I,he={}){let ze=this._adjustIndex(Q);ze<0&&(ze=0),this.controls[ze]&&this.controls[ze]._registerOnCollectionChange(()=>{}),this.controls.splice(ze,1),I&&(this.controls.splice(ze,0,I),this._registerControl(I)),this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Q,I={}){mt(this,0,Q),Q.forEach((he,ze)=>{We(this,!1,ze),this.at(ze).setValue(he,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(Q,I={}){null!=Q&&(Q.forEach((he,ze)=>{this.at(ze)&&this.at(ze).patchValue(he,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(Q=[],I={}){this._forEachChild((he,ze)=>{he.reset(Q[ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this.controls.map(Q=>Q.getRawValue())}clear(Q={}){this.controls.length<1||(this._forEachChild(I=>I._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Q.emitEvent}))}_adjustIndex(Q){return Q<0?Q+this.length:Q}_syncPendingControls(){let Q=this.controls.reduce((I,he)=>!!he._syncPendingControls()||I,!1);return Q&&this.updateValueAndValidity({onlySelf:!0}),Q}_forEachChild(Q){this.controls.forEach((I,he)=>{Q(I,he)})}_updateValue(){this.value=this.controls.filter(Q=>Q.enabled||this.disabled).map(Q=>Q.value)}_anyControls(Q){return this.controls.some(I=>I.enabled&&Q(I))}_setUpControls(){this._forEachChild(Q=>this._registerControl(Q))}_allControlsDisabled(){for(const Q of this.controls)if(Q.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Q){Q.setParent(this),Q._registerOnCollectionChange(this._onCollectionChange)}_find(Q){return this.at(Q)??null}}const Br=ci,ir=j=>j instanceof ci;function wr(j){return!!j&&(void 0!==j.asyncValidators||void 0!==j.validators||void 0!==j.updateOn)}let Ei=(()=>{class j{constructor(){this.useNonNullable=!1}get nonNullable(){const I=new j;return I.useNonNullable=!0,I}group(I,he=null){const ze=this._reduceControls(I);let en={};return wr(he)?en=he:null!==he&&(en.validators=he.validator,en.asyncValidators=he.asyncValidator),new Jt(ze,en)}record(I,he=null){const ze=this._reduceControls(I);return new G(ze,he)}control(I,he,ze){let en={};return this.useNonNullable?(wr(he)?en=he:(en.validators=he,en.asyncValidators=ze),new X(I,{...en,nonNullable:!0})):new X(I,he,ze)}array(I,he,ze){const en=I.map(Dn=>this._createControl(Dn));return new ci(en,he,ze)}_reduceControls(I){const he={};return Object.keys(I).forEach(ze=>{he[ze]=this._createControl(I[ze])}),he}_createControl(I){return I instanceof X||I instanceof Rt?I:Array.isArray(I)?this.control(I[0],I.length>1?I[1]:null,I.length>2?I[2]:null):this.control(I)}static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})(),Vr=(()=>{class j{static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:j,factory:function(){return(0,n.inject)(Ei).nonNullable},providedIn:"root"})}return j})(),$r=(()=>{class j extends Ei{group(I,he=null){return super.group(I,he)}control(I,he,ze){return super.control(I,he,ze)}array(I,he,ze){return super.array(I,he,ze)}static#e=this.\u0275fac=function(){let I;return function(ze){return(I||(I=n.\u0275\u0275getInheritedFactory(j)))(ze||j)}}();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})();const ao=new n.Version("16.2.7");let bo=(()=>{class j{static withConfig(I){return{ngModule:j,providers:[{provide:fe,useValue:I.callSetDisabledState??Ze}]}}static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:j});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[fi]})}return j})(),co=(()=>{class j{static withConfig(I){return{ngModule:j,providers:[{provide:Tn,useValue:I.warnOnNgModelWithFormControl??"always"},{provide:fe,useValue:I.callSetDisabledState??Ze}]}}static#e=this.\u0275fac=function(he){return new(he||j)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:j});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[fi]})}return j})()},2296:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_FAB_DEFAULT_OPTIONS:()=>nt,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>be,MatAnchor:()=>ve,MatButton:()=>te,MatButtonModule:()=>J,MatFabAnchor:()=>Je,MatFabButton:()=>Le,MatIconAnchor:()=>re,MatIconButton:()=>we,MatMiniFabAnchor:()=>q,MatMiniFabButton:()=>Xe});var n=a(2831),s=a(5879),p=a(4300),g=a(2495),c=a(3680);const d=["mat-button",""],u=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],m=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],f=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",y=["mat-fab",""],b=["mat-mini-fab",""],v='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',w=["mat-icon-button",""],O=["*"],V=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],ee=(0,c.mixinColor)((0,c.mixinDisabled)((0,c.mixinDisableRipple)(class{constructor(z){this._elementRef=z}})));let W=(()=>{class z extends ee{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(U){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,U)}get disableRipple(){return this._disableRipple}set disableRipple(U){this._disableRipple=(0,g.Ig)(U),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(U){this._disabled=(0,g.Ig)(U),this._updateRippleDisabled()}constructor(U,R,H,Oe){super(U),this._platform=R,this._ngZone=H,this._animationMode=Oe,this._focusMonitor=(0,s.inject)(p.tE),this._rippleLoader=(0,s.inject)(c.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const He=U.nativeElement.classList;for(const vt of V)this._hasHostAttributes(vt.selector)&&vt.mdcClasses.forEach(Ct=>{He.add(Ct)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(U="program",R){U?this._focusMonitor.focusVia(this._elementRef.nativeElement,U,R):this._elementRef.nativeElement.focus(R)}_hasHostAttributes(...U){return U.some(R=>this._elementRef.nativeElement.hasAttribute(R))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(R){s.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:z,features:[s.\u0275\u0275InheritDefinitionFeature]})}return z})(),ie=(()=>{class z extends W{constructor(U,R,H,Oe){super(U,R,H,Oe),this._haltDisabledEvents=He=>{this.disabled&&(He.preventDefault(),He.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(R){s.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:z,features:[s.\u0275\u0275InheritDefinitionFeature]})}return z})(),te=(()=>{class z extends W{constructor(U,R,H,Oe){super(U,R,H,Oe)}static#e=this.\u0275fac=function(R){return new(R||z)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(n.t4),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:z,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(R,H){2&R&&(s.\u0275\u0275attribute("disabled",H.disabled||null),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:d,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(R,H){1&R&&(s.\u0275\u0275projectionDef(u),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementStart(2,"span",1),s.\u0275\u0275projection(3,1),s.\u0275\u0275elementEnd(),s.\u0275\u0275projection(4,2),s.\u0275\u0275element(5,"span",2)(6,"span",3)),2&R&&s.\u0275\u0275classProp("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return z})(),ve=(()=>{class z extends ie{constructor(U,R,H,Oe){super(U,R,H,Oe)}static#e=this.\u0275fac=function(R){return new(R||z)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(n.t4),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:z,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(R,H){2&R&&(s.\u0275\u0275attribute("disabled",H.disabled||null)("tabindex",H.disabled?-1:H.tabIndex)("aria-disabled",H.disabled.toString()),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:d,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(R,H){1&R&&(s.\u0275\u0275projectionDef(u),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementStart(2,"span",1),s.\u0275\u0275projection(3,1),s.\u0275\u0275elementEnd(),s.\u0275\u0275projection(4,2),s.\u0275\u0275element(5,"span",2)(6,"span",3)),2&R&&s.\u0275\u0275classProp("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',f],encapsulation:2,changeDetection:0})}return z})();const nt=new s.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:be});function be(){return{color:"accent"}}const Ye=be();let Le=(()=>{class z extends W{get extended(){return this._extended}set extended(U){this._extended=(0,g.Ig)(U)}constructor(U,R,H,Oe,He){super(U,R,H,Oe),this._options=He,this._isFab=!0,this._options=this._options||Ye,this.color=this.defaultColor=this._options.color||Ye.color}static#e=this.\u0275fac=function(R){return new(R||z)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(n.t4),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8),s.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:z,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(R,H){2&R&&(s.\u0275\u0275attribute("disabled",H.disabled||null),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0)("mdc-fab--extended",H.extended)("mat-mdc-extended-fab",H.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:y,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(R,H){1&R&&(s.\u0275\u0275projectionDef(u),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementStart(2,"span",1),s.\u0275\u0275projection(3,1),s.\u0275\u0275elementEnd(),s.\u0275\u0275projection(4,2),s.\u0275\u0275element(5,"span",2)(6,"span",3)),2&R&&s.\u0275\u0275classProp("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return z})(),Xe=(()=>{class z extends W{constructor(U,R,H,Oe,He){super(U,R,H,Oe),this._options=He,this._isFab=!0,this._options=this._options||Ye,this.color=this.defaultColor=this._options.color||Ye.color}static#e=this.\u0275fac=function(R){return new(R||z)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(n.t4),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8),s.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:z,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(R,H){2&R&&(s.\u0275\u0275attribute("disabled",H.disabled||null),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(R,H){1&R&&(s.\u0275\u0275projectionDef(u),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementStart(2,"span",1),s.\u0275\u0275projection(3,1),s.\u0275\u0275elementEnd(),s.\u0275\u0275projection(4,2),s.\u0275\u0275element(5,"span",2)(6,"span",3)),2&R&&s.\u0275\u0275classProp("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:[v],encapsulation:2,changeDetection:0})}return z})(),Je=(()=>{class z extends ve{get extended(){return this._extended}set extended(U){this._extended=(0,g.Ig)(U)}constructor(U,R,H,Oe,He){super(U,R,H,Oe),this._options=He,this._isFab=!0,this._options=this._options||Ye,this.color=this.defaultColor=this._options.color||Ye.color}static#e=this.\u0275fac=function(R){return new(R||z)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(n.t4),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8),s.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:z,selectors:[["a","mat-fab",""]],hostVars:13,hostBindings:function(R,H){2&R&&(s.\u0275\u0275attribute("disabled",H.disabled||null)("tabindex",H.disabled?-1:H.tabIndex)("aria-disabled",H.disabled.toString()),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0)("mdc-fab--extended",H.extended)("mat-mdc-extended-fab",H.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton","matAnchor"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:y,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(R,H){1&R&&(s.\u0275\u0275projectionDef(u),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementStart(2,"span",1),s.\u0275\u0275projection(3,1),s.\u0275\u0275elementEnd(),s.\u0275\u0275projection(4,2),s.\u0275\u0275element(5,"span",2)(6,"span",3)),2&R&&s.\u0275\u0275classProp("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:[v],encapsulation:2,changeDetection:0})}return z})(),q=(()=>{class z extends ve{constructor(U,R,H,Oe,He){super(U,R,H,Oe),this._options=He,this._isFab=!0,this._options=this._options||Ye,this.color=this.defaultColor=this._options.color||Ye.color}static#e=this.\u0275fac=function(R){return new(R||z)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(n.t4),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8),s.\u0275\u0275directiveInject(nt,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:z,selectors:[["a","mat-mini-fab",""]],hostVars:9,hostBindings:function(R,H){2&R&&(s.\u0275\u0275attribute("disabled",H.disabled||null)("tabindex",H.disabled?-1:H.tabIndex)("aria-disabled",H.disabled.toString()),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:b,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(R,H){1&R&&(s.\u0275\u0275projectionDef(u),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementStart(2,"span",1),s.\u0275\u0275projection(3,1),s.\u0275\u0275elementEnd(),s.\u0275\u0275projection(4,2),s.\u0275\u0275element(5,"span",2)(6,"span",3)),2&R&&s.\u0275\u0275classProp("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:[v],encapsulation:2,changeDetection:0})}return z})(),we=(()=>{class z extends W{constructor(U,R,H,Oe){super(U,R,H,Oe),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(R){return new(R||z)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(n.t4),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:z,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(R,H){2&R&&(s.\u0275\u0275attribute("disabled",H.disabled||null),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:w,ngContentSelectors:O,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(R,H){1&R&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275projection(1),s.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',f],encapsulation:2,changeDetection:0})}return z})(),re=(()=>{class z extends ie{constructor(U,R,H,Oe){super(U,R,H,Oe)}static#e=this.\u0275fac=function(R){return new(R||z)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(n.t4),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:z,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(R,H){2&R&&(s.\u0275\u0275attribute("disabled",H.disabled||null)("tabindex",H.disabled?-1:H.tabIndex)("aria-disabled",H.disabled.toString()),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===H._animationMode)("mat-unthemed",!H.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:w,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(R,H){1&R&&(s.\u0275\u0275projectionDef(u),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementStart(2,"span",1),s.\u0275\u0275projection(3,1),s.\u0275\u0275elementEnd(),s.\u0275\u0275projection(4,2),s.\u0275\u0275element(5,"span",2)(6,"span",3)),2&R&&s.\u0275\u0275classProp("mdc-button__ripple",!H._isFab)("mdc-fab__ripple",H._isFab)},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',f],encapsulation:2,changeDetection:0})}return z})(),J=(()=>{class z{static#e=this.\u0275fac=function(R){return new(R||z)};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:z});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({imports:[c.MatCommonModule,c.MatRippleModule,c.MatCommonModule]})}return z})()},1226:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_CHIP:()=>_e,MAT_CHIPS_DEFAULT_OPTIONS:()=>Ze,MAT_CHIP_AVATAR:()=>It,MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR:()=>Vn,MAT_CHIP_REMOVE:()=>St,MAT_CHIP_TRAILING_ICON:()=>tt,MatChip:()=>$e,MatChipAvatar:()=>Ut,MatChipEditInput:()=>Mt,MatChipGrid:()=>bn,MatChipGridChange:()=>kn,MatChipInput:()=>st,MatChipListbox:()=>On,MatChipListboxChange:()=>Mn,MatChipOption:()=>_t,MatChipRemove:()=>ln,MatChipRow:()=>Ft,MatChipSelectionChange:()=>Pe,MatChipSet:()=>Gt,MatChipTrailingIcon:()=>vn,MatChipsModule:()=>me});var n=a(2495),s=a(5879),p=a(6814),g=a(3680),c=a(4300),d=a(8645),u=a(3019),m=a(8180),_=a(9773),f=a(7921),y=a(4664),b=a(6028),v=a(9388),w=a(6223);a(6825);let ct=(()=>{class ne{static#e=this.\u0275fac=function(Ve){return new(Ve||ne)};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:ne})}return ne})();const Kt=new s.InjectionToken("MatFormField");function Ot(ne,Qe){1&ne&&(s.\u0275\u0275elementStart(0,"span",7),s.\u0275\u0275projection(1,1),s.\u0275\u0275elementEnd())}function Lt(ne,Qe){1&ne&&(s.\u0275\u0275elementStart(0,"span",8),s.\u0275\u0275projection(1,2),s.\u0275\u0275elementEnd())}const qt=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],cn=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function pn(ne,Qe){1&ne&&(s.\u0275\u0275elementStart(0,"span",8),s.\u0275\u0275projection(1,1),s.\u0275\u0275elementStart(2,"span",9),s.\u0275\u0275namespaceSVG(),s.\u0275\u0275elementStart(3,"svg",10),s.\u0275\u0275element(4,"path",11),s.\u0275\u0275elementEnd()()())}function En(ne,Qe){1&ne&&(s.\u0275\u0275elementStart(0,"span",12),s.\u0275\u0275projection(1,2),s.\u0275\u0275elementEnd())}const yt='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function rt(ne,Qe){1&ne&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"span",8),s.\u0275\u0275elementContainerEnd())}function Ie(ne,Qe){1&ne&&(s.\u0275\u0275elementStart(0,"span",9),s.\u0275\u0275projection(1),s.\u0275\u0275elementEnd())}function We(ne,Qe){1&ne&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275projection(1,1),s.\u0275\u0275elementContainerEnd())}function mt(ne,Qe){1&ne&&s.\u0275\u0275projection(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function Rt(ne,Qe){1&ne&&s.\u0275\u0275element(0,"span",12)}function Jt(ne,Qe){if(1&ne&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275template(1,mt,1,0,"ng-content",10),s.\u0275\u0275template(2,Rt,1,0,"ng-template",null,11,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementContainerEnd()),2&ne){const L=s.\u0275\u0275reference(3),Ve=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ve.contentEditInput)("ngIfElse",L)}}function ft(ne,Qe){1&ne&&(s.\u0275\u0275elementStart(0,"span",13),s.\u0275\u0275projection(1,3),s.\u0275\u0275elementEnd())}const ye=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],G=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],k=["*"],fe=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",Ze=new s.InjectionToken("mat-chips-default-options"),It=new s.InjectionToken("MatChipAvatar"),tt=new s.InjectionToken("MatChipTrailingIcon"),St=new s.InjectionToken("MatChipRemove"),_e=new s.InjectionToken("MatChip");class Fe{}const je=(0,g.mixinTabIndex)(Fe,-1);let Et=(()=>{class ne extends je{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(L){this._disabled=(0,n.Ig)(L)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(L,Ve){super(),this._elementRef=L,this._parentChip=Ve,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===L.nativeElement.nodeName&&L.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(L){!this.disabled&&this.isInteractive&&this._isPrimary&&(L.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(L){(L.keyCode===b.K5||L.keyCode===b.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(L.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(Ve){return new(Ve||ne)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(_e))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:ne,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(Ve,Be){1&Ve&&s.\u0275\u0275listener("click",function(Bt){return Be._handleClick(Bt)})("keydown",function(Bt){return Be._handleKeydown(Bt)}),2&Ve&&(s.\u0275\u0275attribute("tabindex",Be._getTabindex())("disabled",Be._getDisabledAttribute())("aria-disabled",Be.disabled),s.\u0275\u0275classProp("mdc-evolution-chip__action--primary",Be._isPrimary)("mdc-evolution-chip__action--presentational",!Be.isInteractive)("mdc-evolution-chip__action--trailing",!Be._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return ne})(),Ut=(()=>{class ne{static#e=this.\u0275fac=function(Ve){return new(Ve||ne)};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:ne,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[s.\u0275\u0275ProvidersFeature([{provide:It,useExisting:ne}])]})}return ne})(),vn=(()=>{class ne extends Et{constructor(){super(...arguments),this.isInteractive=!1,this._isPrimary=!1}static#e=this.\u0275fac=function(){let L;return function(Be){return(L||(L=s.\u0275\u0275getInheritedFactory(ne)))(Be||ne)}}();static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:ne,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[s.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature]})}return ne})(),ln=(()=>{class ne extends Et{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(L){this.disabled||(L.stopPropagation(),L.preventDefault(),this._parentChip.remove())}_handleKeydown(L){(L.keyCode===b.K5||L.keyCode===b.L_)&&!this.disabled&&(L.stopPropagation(),L.preventDefault(),this._parentChip.remove())}static#e=this.\u0275fac=function(){let L;return function(Be){return(L||(L=s.\u0275\u0275getInheritedFactory(ne)))(Be||ne)}}();static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:ne,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(Ve,Be){2&Ve&&s.\u0275\u0275attribute("aria-hidden",null)},features:[s.\u0275\u0275ProvidersFeature([{provide:St,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature]})}return ne})(),hn=0;const Ke=(0,g.mixinTabIndex)((0,g.mixinColor)((0,g.mixinDisableRipple)((0,g.mixinDisabled)(class{constructor(ne){this._elementRef=ne}})),"primary"),-1);let $e=(()=>{class ne extends Ke{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(L){this._value=L}get removable(){return this._removable}set removable(L){this._removable=(0,n.Ig)(L)}get highlighted(){return this._highlighted}set highlighted(L){this._highlighted=(0,n.Ig)(L)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(L){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,L)}constructor(L,Ve,Be,$t,Bt,yn,Sn,Kn){super(Ve),this._changeDetectorRef=L,this._ngZone=Be,this._focusMonitor=$t,this._globalRippleOptions=Sn,this._onFocus=new d.x,this._onBlur=new d.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+hn++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new s.EventEmitter,this.destroyed=new s.EventEmitter,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,s.inject)(g.MatRippleLoader),this._document=Bt,this._animationsDisabled="NoopAnimations"===yn,null!=Kn&&(this.tabIndex=parseInt(Kn)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const L=this._elementRef.nativeElement;this._isBasicChip=L.hasAttribute(this.basicChipAttrName)||L.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,u.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(L){(L.keyCode===b.ZH||L.keyCode===b.yY)&&(L.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(L){return this._getActions().find(Ve=>{const Be=Ve._elementRef.nativeElement;return Be===L||Be.contains(L)})}_getActions(){const L=[];return this.primaryAction&&L.push(this.primaryAction),this.removeIcon&&L.push(this.removeIcon),this.trailingIcon&&L.push(this.trailingIcon),L}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(L=>{const Ve=null!==L;Ve!==this._hasFocusInternal&&(this._hasFocusInternal=Ve,Ve?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(Ve){return new(Ve||ne)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(c.tE),s.\u0275\u0275directiveInject(p.DOCUMENT),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8),s.\u0275\u0275directiveInject(g.MAT_RIPPLE_GLOBAL_OPTIONS,8),s.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:ne,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(Ve,Be,$t){if(1&Ve&&(s.\u0275\u0275contentQuery($t,It,5),s.\u0275\u0275contentQuery($t,tt,5),s.\u0275\u0275contentQuery($t,St,5),s.\u0275\u0275contentQuery($t,It,5),s.\u0275\u0275contentQuery($t,tt,5),s.\u0275\u0275contentQuery($t,St,5)),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be.leadingIcon=Bt.first),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be.trailingIcon=Bt.first),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be.removeIcon=Bt.first),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be._allLeadingIcons=Bt),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be._allTrailingIcons=Bt),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be._allRemoveIcons=Bt)}},viewQuery:function(Ve,Be){if(1&Ve&&s.\u0275\u0275viewQuery(Et,5),2&Ve){let $t;s.\u0275\u0275queryRefresh($t=s.\u0275\u0275loadQuery())&&(Be.primaryAction=$t.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(Ve,Be){1&Ve&&s.\u0275\u0275listener("keydown",function(Bt){return Be._handleKeydown(Bt)}),2&Ve&&(s.\u0275\u0275hostProperty("id",Be.id),s.\u0275\u0275attribute("role",Be.role)("tabindex",Be.role?Be.tabIndex:null)("aria-label",Be.ariaLabel),s.\u0275\u0275classProp("mdc-evolution-chip",!Be._isBasicChip)("mdc-evolution-chip--disabled",Be.disabled)("mdc-evolution-chip--with-trailing-action",Be._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Be.leadingIcon)("mdc-evolution-chip--with-primary-icon",Be.leadingIcon)("mdc-evolution-chip--with-avatar",Be.leadingIcon)("mat-mdc-chip-with-avatar",Be.leadingIcon)("mat-mdc-chip-highlighted",Be.highlighted)("mat-mdc-chip-disabled",Be.disabled)("mat-mdc-basic-chip",Be._isBasicChip)("mat-mdc-standard-chip",!Be._isBasicChip)("mat-mdc-chip-with-trailing-icon",Be._hasTrailingIcon())("_mat-animation-noopable",Be._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[s.\u0275\u0275ProvidersFeature([{provide:_e,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:cn,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Ve,Be){1&Ve&&(s.\u0275\u0275projectionDef(qt),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275elementStart(1,"span",1)(2,"span",2),s.\u0275\u0275template(3,Ot,2,0,"span",3),s.\u0275\u0275elementStart(4,"span",4),s.\u0275\u0275projection(5),s.\u0275\u0275element(6,"span",5),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275template(7,Lt,2,0,"span",6)),2&Ve&&(s.\u0275\u0275advance(2),s.\u0275\u0275property("isInteractive",!1),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Be.leadingIcon),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",Be._hasTrailingIcon()))},dependencies:[p.NgIf,Et],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return ne})();class Pe{constructor(Qe,L,Ve=!1){this.source=Qe,this.selected=L,this.isUserInput=Ve}}let _t=(()=>{class ne extends $e{constructor(){super(...arguments),this._defaultOptions=(0,s.inject)(Ze,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new s.EventEmitter}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(L){this._selectable=(0,n.Ig)(L),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(L){this._setSelectedState((0,n.Ig)(L),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(L=!1){return this._setSelectedState(!this.selected,L,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(L,Ve,Be){L!==this.selected&&(this._selected=L,Be&&this.selectionChange.emit({source:this,isUserInput:Ve,selected:this.selected}),this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(){let L;return function(Be){return(L||(L=s.\u0275\u0275getInheritedFactory(ne)))(Be||ne)}}();static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:ne,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(Ve,Be){2&Ve&&(s.\u0275\u0275hostProperty("id",Be.id),s.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-description",null)("role",Be.role),s.\u0275\u0275classProp("mdc-evolution-chip",!Be._isBasicChip)("mdc-evolution-chip--filter",!Be._isBasicChip)("mdc-evolution-chip--selectable",!Be._isBasicChip)("mat-mdc-chip-selected",Be.selected)("mat-mdc-chip-multiple",Be._chipListMultiple)("mat-mdc-chip-disabled",Be.disabled)("mat-mdc-chip-with-avatar",Be.leadingIcon)("mdc-evolution-chip--disabled",Be.disabled)("mdc-evolution-chip--selected",Be.selected)("mdc-evolution-chip--selecting",!Be._animationsDisabled)("mdc-evolution-chip--with-trailing-action",Be._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",Be.leadingIcon)("mdc-evolution-chip--with-primary-graphic",Be._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",Be.leadingIcon)("mat-mdc-chip-highlighted",Be.highlighted)("mat-mdc-chip-with-trailing-icon",Be._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[s.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:ne},{provide:_e,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:cn,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Ve,Be){1&Ve&&(s.\u0275\u0275projectionDef(qt),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275elementStart(1,"span",1)(2,"button",2),s.\u0275\u0275template(3,pn,5,0,"span",3),s.\u0275\u0275elementStart(4,"span",4),s.\u0275\u0275projection(5),s.\u0275\u0275element(6,"span",5),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275template(7,En,2,0,"span",6),s.\u0275\u0275elementStart(8,"span",7),s.\u0275\u0275text(9),s.\u0275\u0275elementEnd()),2&Ve&&(s.\u0275\u0275advance(2),s.\u0275\u0275property("tabIndex",Be.tabIndex)("_allowFocusWhenDisabled",!0),s.\u0275\u0275attribute("aria-selected",Be.ariaSelected)("aria-label",Be.ariaLabel)("aria-describedby",Be._ariaDescriptionId),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Be._hasLeadingGraphic()),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",Be._hasTrailingIcon()),s.\u0275\u0275advance(1),s.\u0275\u0275property("id",Be._ariaDescriptionId),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(Be.ariaDescription))},dependencies:[p.NgIf,Et],styles:[yt],encapsulation:2,changeDetection:0})}return ne})(),Mt=(()=>{class ne{constructor(L,Ve){this._elementRef=L,this._document=Ve}initialize(L){this.getNativeElement().focus(),this.setValue(L)}getNativeElement(){return this._elementRef.nativeElement}setValue(L){this.getNativeElement().textContent=L,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const L=this._document.createRange();L.selectNodeContents(this.getNativeElement()),L.collapse(!1);const Ve=window.getSelection();Ve.removeAllRanges(),Ve.addRange(L)}static#e=this.\u0275fac=function(Ve){return new(Ve||ne)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(p.DOCUMENT))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:ne,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return ne})(),Ft=(()=>{class ne extends $e{constructor(L,Ve,Be,$t,Bt,yn,Sn,Kn){super(L,Ve,Be,$t,Bt,yn,Sn,Kn),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new s.EventEmitter,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,_.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(L){L.keyCode!==b.K5||this.disabled?this._isEditing?L.stopPropagation():super._handleKeydown(L):this._isEditing?(L.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(L)}_handleDoubleclick(L){!this.disabled&&this.editable&&this._startEditing(L)}_startEditing(L){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(L.target)===this.removeIcon)return;const Ve=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(Ve),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static#e=this.\u0275fac=function(Ve){return new(Ve||ne)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(c.tE),s.\u0275\u0275directiveInject(p.DOCUMENT),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8),s.\u0275\u0275directiveInject(g.MAT_RIPPLE_GLOBAL_OPTIONS,8),s.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:ne,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(Ve,Be,$t){if(1&Ve&&s.\u0275\u0275contentQuery($t,Mt,5),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be.contentEditInput=Bt.first)}},viewQuery:function(Ve,Be){if(1&Ve&&s.\u0275\u0275viewQuery(Mt,5),2&Ve){let $t;s.\u0275\u0275queryRefresh($t=s.\u0275\u0275loadQuery())&&(Be.defaultEditInput=$t.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(Ve,Be){1&Ve&&s.\u0275\u0275listener("focus",function(Bt){return Be._handleFocus(Bt)})("dblclick",function(Bt){return Be._handleDoubleclick(Bt)}),2&Ve&&(s.\u0275\u0275hostProperty("id",Be.id),s.\u0275\u0275attribute("tabindex",Be.disabled?null:-1)("aria-label",null)("aria-description",null)("role",Be.role),s.\u0275\u0275classProp("mat-mdc-chip-with-avatar",Be.leadingIcon)("mat-mdc-chip-disabled",Be.disabled)("mat-mdc-chip-editing",Be._isEditing)("mat-mdc-chip-editable",Be.editable)("mdc-evolution-chip--disabled",Be.disabled)("mdc-evolution-chip--with-trailing-action",Be._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Be.leadingIcon)("mdc-evolution-chip--with-primary-icon",Be.leadingIcon)("mdc-evolution-chip--with-avatar",Be.leadingIcon)("mat-mdc-chip-highlighted",Be.highlighted)("mat-mdc-chip-with-trailing-icon",Be._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[s.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:ne},{provide:_e,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:G,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Ve,Be){1&Ve&&(s.\u0275\u0275projectionDef(ye),s.\u0275\u0275template(0,rt,2,0,"ng-container",0),s.\u0275\u0275elementStart(1,"span",1),s.\u0275\u0275template(2,Ie,2,0,"span",2),s.\u0275\u0275elementStart(3,"span",3),s.\u0275\u0275template(4,We,2,0,"ng-container",4),s.\u0275\u0275template(5,Jt,4,2,"ng-container",4),s.\u0275\u0275element(6,"span",5),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(7,ft,2,0,"span",6),s.\u0275\u0275elementStart(8,"span",7),s.\u0275\u0275text(9),s.\u0275\u0275elementEnd()),2&Ve&&(s.\u0275\u0275property("ngIf",!Be._isEditing),s.\u0275\u0275advance(1),s.\u0275\u0275property("tabIndex",Be.tabIndex)("disabled",Be.disabled),s.\u0275\u0275attribute("aria-label",Be.ariaLabel)("aria-describedby",Be._ariaDescriptionId),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Be.leadingIcon),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitch",Be._isEditing),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitchCase",!1),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitchCase",!0),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngIf",Be._hasTrailingIcon()),s.\u0275\u0275advance(1),s.\u0275\u0275property("id",Be._ariaDescriptionId),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(Be.ariaDescription))},dependencies:[p.NgIf,p.NgSwitch,p.NgSwitchCase,Et,Mt],styles:[yt],encapsulation:2,changeDetection:0})}return ne})();class kt{constructor(Qe){}}const tn=(0,g.mixinTabIndex)(kt);let Gt=(()=>{class ne extends tn{get chipFocusChanges(){return this._getChipStream(L=>L._onFocus)}get chipDestroyedChanges(){return this._getChipStream(L=>L.destroyed)}get disabled(){return this._disabled}set disabled(L){this._disabled=(0,n.Ig)(L),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(L){this._explicitRole=L}get focused(){return this._hasFocusedChip()}constructor(L,Ve,Be){super(L),this._elementRef=L,this._changeDetectorRef=Ve,this._dir=Be,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new d.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new s.QueryList}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(L=>L._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(L=>{L.disabled=this._disabled,L._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(L){this._originatesFromChip(L)&&this._keyManager.onKeydown(L)}_isValidIndex(L){return L>=0&&L<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const L=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=L)}}_getChipStream(L){return this._chips.changes.pipe((0,f.O)(null),(0,y.w)(()=>(0,u.T)(...this._chips.map(L))))}_originatesFromChip(L){let Ve=L.target;for(;Ve&&Ve!==this._elementRef.nativeElement;){if(Ve.classList.contains("mat-mdc-chip"))return!0;Ve=Ve.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,f.O)(this._chips)).subscribe(L=>{const Ve=[];L.forEach(Be=>Be._getActions().forEach($t=>Ve.push($t))),this._chipActions.reset(Ve),this._chipActions.notifyOnChanges()}),this._keyManager=new c.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(L=>this._skipPredicate(L)),this.chipFocusChanges.pipe((0,_.R)(this._destroyed)).subscribe(({chip:L})=>{const Ve=L._getSourceAction(document.activeElement);Ve&&this._keyManager.updateActiveItem(Ve)}),this._dir?.change.pipe((0,_.R)(this._destroyed)).subscribe(L=>this._keyManager.withHorizontalOrientation(L))}_skipPredicate(L){return!L.isInteractive||L.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,f.O)(null),(0,_.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,_.R)(this._destroyed)).subscribe(L=>{const Be=this._chips.toArray().indexOf(L.chip);this._isValidIndex(Be)&&L.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=Be)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const L=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),Ve=this._chips.toArray()[L];Ve.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():Ve.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(Ve){return new(Ve||ne)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(v.Is,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:ne,selectors:[["mat-chip-set"]],contentQueries:function(Ve,Be,$t){if(1&Ve&&s.\u0275\u0275contentQuery($t,$e,5),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be._chips=Bt)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(Ve,Be){1&Ve&&s.\u0275\u0275listener("keydown",function(Bt){return Be._handleKeydown(Bt)}),2&Ve&&s.\u0275\u0275attribute("role",Be.role)},inputs:{disabled:"disabled",role:"role"},features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:k,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Ve,Be){1&Ve&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"div",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementEnd())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return ne})();class Mn{constructor(Qe,L){this.source=Qe,this.value=L}}const Vn={provide:w.NG_VALUE_ACCESSOR,useExisting:(0,s.forwardRef)(()=>On),multi:!0};let On=(()=>{class ne extends Gt{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,s.inject)(Ze,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(L,Ve)=>L===Ve,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new s.EventEmitter,this._chips=void 0}get multiple(){return this._multiple}set multiple(L){this._multiple=(0,n.Ig)(L),this._syncListboxProperties()}get selected(){const L=this._chips.toArray().filter(Ve=>Ve.selected);return this.multiple?L:L[0]}get selectable(){return this._selectable}set selectable(L){this._selectable=(0,n.Ig)(L),this._syncListboxProperties()}get required(){return this._required}set required(L){this._required=(0,n.Ig)(L)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(L){this._hideSingleSelectionIndicator=(0,n.Ig)(L),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(L=>L.selectionChange)}get chipBlurChanges(){return this._getChipStream(L=>L._onBlur)}get value(){return this._value}set value(L){this.writeValue(L),this._value=L}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,f.O)(null),(0,_.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,_.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,_.R)(this._destroyed)).subscribe(L=>{this.multiple||this._chips.forEach(Ve=>{Ve!==L.source&&Ve._setSelectedState(!1,!1,!1)}),L.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const L=this._getFirstSelectedChip();L&&!L.disabled?L.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(L){this._chips?this._setSelectionByValue(L,!1):null!=L&&(this._pendingInitialValue=L)}registerOnChange(L){this._onChange=L}registerOnTouched(L){this._onTouched=L}setDisabledState(L){this.disabled=L}_setSelectionByValue(L,Ve=!0){this._clearSelection(),Array.isArray(L)?L.forEach(Be=>this._selectValue(Be,Ve)):this._selectValue(L,Ve)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(L){L.keyCode===b.Mf&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let L=null;L=Array.isArray(this.selected)?this.selected.map(Ve=>Ve.value):this.selected?this.selected.value:void 0,this._value=L,this.change.emit(new Mn(this,L)),this._onChange(L),this._changeDetectorRef.markForCheck()}_clearSelection(L){this._chips.forEach(Ve=>{Ve!==L&&Ve.deselect()})}_selectValue(L,Ve){const Be=this._chips.find($t=>null!=$t.value&&this.compareWith($t.value,L));return Be&&(Ve?Be.selectViaInteraction():Be.select()),Be}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(L=>{L._chipListMultiple=this.multiple,L.chipListSelectable=this._selectable,L._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,L._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(L){return!L.isInteractive}static#e=this.\u0275fac=function(){let L;return function(Be){return(L||(L=s.\u0275\u0275getInheritedFactory(ne)))(Be||ne)}}();static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:ne,selectors:[["mat-chip-listbox"]],contentQueries:function(Ve,Be,$t){if(1&Ve&&s.\u0275\u0275contentQuery($t,_t,5),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be._chips=Bt)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(Ve,Be){1&Ve&&s.\u0275\u0275listener("focus",function(){return Be.focus()})("blur",function(){return Be._blur()})("keydown",function(Bt){return Be._keydown(Bt)}),2&Ve&&(s.\u0275\u0275hostProperty("tabIndex",Be.empty?-1:Be.tabIndex),s.\u0275\u0275attribute("role",Be.role)("aria-describedby",Be._ariaDescribedby||null)("aria-required",Be.role?Be.required:null)("aria-disabled",Be.disabled.toString())("aria-multiselectable",Be.multiple)("aria-orientation",Be.ariaOrientation),s.\u0275\u0275classProp("mat-mdc-chip-list-disabled",Be.disabled)("mat-mdc-chip-list-required",Be.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[s.\u0275\u0275ProvidersFeature([Vn]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:k,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Ve,Be){1&Ve&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"div",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementEnd())},styles:[fe],encapsulation:2,changeDetection:0})}return ne})();class kn{constructor(Qe,L){this.source=Qe,this.value=L}}class Ci extends Gt{constructor(Qe,L,Ve,Be,$t,Bt,yn){super(Qe,L,Ve),this._defaultErrorStateMatcher=Be,this._parentForm=$t,this._parentFormGroup=Bt,this.ngControl=yn,this.stateChanges=new d.x}}const Pn=(0,g.mixinErrorState)(Ci);let bn=(()=>{class ne extends Pn{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(L){this._disabled=(0,n.Ig)(L),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(L){this._placeholder=L,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(w.Validators.required)??!1}set required(L){this._required=(0,n.Ig)(L),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(L){this._value=L}get chipBlurChanges(){return this._getChipStream(L=>L._onBlur)}constructor(L,Ve,Be,$t,Bt,yn,Sn){super(L,Ve,Be,yn,$t,Bt,Sn),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new s.EventEmitter,this.valueChange=new s.EventEmitter,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,u.T)(this.chipFocusChanges,this._chips.changes).pipe((0,_.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(L){this._chipInput=L,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(L){!this.disabled&&!this._originatesFromChip(L)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(L){this._ariaDescribedbyIds=L,this._chipInput?.setDescribedByIds(L)}writeValue(L){this._value=L}registerOnChange(L){this._onChange=L}registerOnTouched(L){this._onTouched=L}setDisabledState(L){this.disabled=L,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(L){L.keyCode===b.Mf?this._chipInput.focused&&(0,b.Vb)(L,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(L.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(L),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const L=this._chips.length?this._chips.toArray().map(Ve=>Ve.value):[];this._value=L,this.change.emit(new kn(this,L)),this.valueChange.emit(L),this._onChange(L),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static#e=this.\u0275fac=function(Ve){return new(Ve||ne)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(v.Is,8),s.\u0275\u0275directiveInject(w.NgForm,8),s.\u0275\u0275directiveInject(w.FormGroupDirective,8),s.\u0275\u0275directiveInject(g.ErrorStateMatcher),s.\u0275\u0275directiveInject(w.NgControl,10))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:ne,selectors:[["mat-chip-grid"]],contentQueries:function(Ve,Be,$t){if(1&Ve&&s.\u0275\u0275contentQuery($t,Ft,5),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(Be._chips=Bt)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(Ve,Be){1&Ve&&s.\u0275\u0275listener("focus",function(){return Be.focus()})("blur",function(){return Be._blur()}),2&Ve&&(s.\u0275\u0275hostProperty("tabIndex",Be._chips&&0===Be._chips.length?-1:Be.tabIndex),s.\u0275\u0275attribute("role",Be.role)("aria-disabled",Be.disabled.toString())("aria-invalid",Be.errorState),s.\u0275\u0275classProp("mat-mdc-chip-list-disabled",Be.disabled)("mat-mdc-chip-list-invalid",Be.errorState)("mat-mdc-chip-list-required",Be.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[s.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:k,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Ve,Be){1&Ve&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"div",0),s.\u0275\u0275projection(1),s.\u0275\u0275elementEnd())},styles:[fe],encapsulation:2,changeDetection:0})}return ne})(),ge=0,st=(()=>{class ne{set chipGrid(L){L&&(this._chipGrid=L,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(L){this._addOnBlur=(0,n.Ig)(L)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(L){this._disabled=(0,n.Ig)(L)}get empty(){return!this.inputElement.value}constructor(L,Ve,Be){this._elementRef=L,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new s.EventEmitter,this.placeholder="",this.id="mat-mdc-chip-list-input-"+ge++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=Ve.separatorKeyCodes,Be&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(L){if(L){if(L.keyCode===b.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void L.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(L)}_keyup(L){!this._focusLastChipOnBackspace&&L.keyCode===b.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,L.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(L){(!L||this._isSeparatorKey(L))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),L?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(L){const Ve=this._elementRef.nativeElement;L.length?Ve.setAttribute("aria-describedby",L.join(" ")):Ve.removeAttribute("aria-describedby")}_isSeparatorKey(L){return!(0,b.Vb)(L)&&new Set(this.separatorKeyCodes).has(L.keyCode)}static#e=this.\u0275fac=function(Ve){return new(Ve||ne)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(Ze),s.\u0275\u0275directiveInject(Kt,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:ne,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(Ve,Be){1&Ve&&s.\u0275\u0275listener("keydown",function(Bt){return Be._keydown(Bt)})("keyup",function(Bt){return Be._keyup(Bt)})("blur",function(){return Be._blur()})("focus",function(){return Be._focus()})("input",function(){return Be._onInput()}),2&Ve&&(s.\u0275\u0275hostProperty("id",Be.id),s.\u0275\u0275attribute("disabled",Be.disabled||null)("placeholder",Be.placeholder||null)("aria-invalid",Be._chipGrid&&Be._chipGrid.ngControl?Be._chipGrid.ngControl.invalid:null)("aria-required",Be._chipGrid&&Be._chipGrid.required||null)("required",Be._chipGrid&&Be._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[s.\u0275\u0275NgOnChangesFeature]})}return ne})(),me=(()=>{class ne{static#e=this.\u0275fac=function(Ve){return new(Ve||ne)};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:ne});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({providers:[g.ErrorStateMatcher,{provide:Ze,useValue:{separatorKeyCodes:[b.K5]}}],imports:[g.MatCommonModule,p.CommonModule,g.MatRippleModule,g.MatCommonModule]})}return ne})()},3680:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{AnimationCurves:()=>W,AnimationDurations:()=>Y,DateAdapter:()=>J,ErrorStateMatcher:()=>Ct,MATERIAL_SANITY_CHECKS:()=>ie,MAT_DATE_FORMATS:()=>z,MAT_DATE_LOCALE:()=>we,MAT_DATE_LOCALE_FACTORY:()=>re,MAT_NATIVE_DATE_FORMATS:()=>H,MAT_OPTGROUP:()=>De,MAT_OPTION_PARENT_COMPONENT:()=>dt,MAT_RIPPLE_GLOBAL_OPTIONS:()=>wt,MatCommonModule:()=>te,MatLine:()=>lt,MatLineModule:()=>Ne,MatNativeDateModule:()=>He,MatOptgroup:()=>at,MatOption:()=>cn,MatOptionModule:()=>yt,MatOptionSelectionChange:()=>Lt,MatPseudoCheckbox:()=>Zt,MatPseudoCheckboxModule:()=>Qt,MatRipple:()=>jt,MatRippleLoader:()=>ft,MatRippleModule:()=>Kt,NativeDateAdapter:()=>R,NativeDateModule:()=>Oe,RippleRef:()=>Me,RippleRenderer:()=>ct,ShowOnDirtyErrorStateMatcher:()=>vt,VERSION:()=>ee,_MatOptgroupBase:()=>de,_MatOptionBase:()=>qt,_countGroupLabelsBeforeOption:()=>pn,_getOptionScrollPosition:()=>En,defaultRippleAnimationConfig:()=>ut,mixinColor:()=>pe,mixinDisableRipple:()=>Le,mixinDisabled:()=>Ye,mixinErrorState:()=>Je,mixinInitialized:()=>q,mixinTabIndex:()=>Xe,setLines:()=>Te});var n=a(5879),s=a(4300),p=a(9388),c=a(6814),d=a(2831),u=a(2495),m=a(3018),_=a(8645),f=a(7921),y=a(6028);const b=["*",[["mat-option"],["ng-container"]]],v=["*","mat-option, ng-container"],w=["text"];function O(ye,G){if(1&ye&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&ye){const k=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",k.disabled)("state",k.selected?"checked":"unchecked")}}function F(ye,G){if(1&ye&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&ye){const k=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",k.disabled)}}function S(ye,G){if(1&ye&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ye){const k=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",k.group.label,")")}}const K=[[["mat-icon"]],"*"],V=["mat-icon","*"],ee=new n.Version("16.2.6");let W=(()=>{class ye{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return ye})(),Y=(()=>{class ye{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return ye})();const ie=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function ue(){return!0}});let te=(()=>{class ye{constructor(k,fe,Ze){this._sanityChecks=fe,this._document=Ze,this._hasDoneGlobalChecks=!1,k._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(k){return!(0,d.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[k])}static#e=this.\u0275fac=function(fe){return new(fe||ye)(n.\u0275\u0275inject(s.qm),n.\u0275\u0275inject(ie,8),n.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[p.vT,p.vT]})}return ye})();function Ye(ye){return class extends ye{get disabled(){return this._disabled}set disabled(G){this._disabled=(0,u.Ig)(G)}constructor(...G){super(...G),this._disabled=!1}}}function pe(ye,G){return class extends ye{get color(){return this._color}set color(k){const fe=k||this.defaultColor;fe!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),fe&&this._elementRef.nativeElement.classList.add(`mat-${fe}`),this._color=fe)}constructor(...k){super(...k),this.defaultColor=G,this.color=G}}}function Le(ye){return class extends ye{get disableRipple(){return this._disableRipple}set disableRipple(G){this._disableRipple=(0,u.Ig)(G)}constructor(...G){super(...G),this._disableRipple=!1}}}function Xe(ye,G=0){return class extends ye{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(k){this._tabIndex=null!=k?(0,u.su)(k):this.defaultTabIndex}constructor(...k){super(...k),this._tabIndex=G,this.defaultTabIndex=G}}}function Je(ye){return class extends ye{updateErrorState(){const G=this.errorState,It=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);It!==G&&(this.errorState=It,this.stateChanges.next())}constructor(...G){super(...G),this.errorState=!1}}}function q(ye){return class extends ye{constructor(...G){super(...G),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new m.y(k=>{this._isInitialized?this._notifySubscriber(k):this._pendingSubscribers.push(k)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(G){G.next(),G.complete()}}}const we=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:re});function re(){return(0,n.inject)(n.LOCALE_ID)}class J{constructor(){this._localeChanges=new _.x,this.localeChanges=this._localeChanges}getValidDateOrNull(G){return this.isDateInstance(G)&&this.isValid(G)?G:null}deserialize(G){return null==G||this.isDateInstance(G)&&this.isValid(G)?G:this.invalid()}setLocale(G){this.locale=G,this._localeChanges.next()}compareDate(G,k){return this.getYear(G)-this.getYear(k)||this.getMonth(G)-this.getMonth(k)||this.getDate(G)-this.getDate(k)}sameDate(G,k){if(G&&k){let fe=this.isValid(G),Ze=this.isValid(k);return fe&&Ze?!this.compareDate(G,k):fe==Ze}return G==k}clampDate(G,k,fe){return k&&this.compareDate(G,k)<0?k:fe&&this.compareDate(G,fe)>0?fe:G}}const z=new n.InjectionToken("mat-date-formats"),$=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function U(ye,G){const k=Array(ye);for(let fe=0;fe<ye;fe++)k[fe]=G(fe);return k}let R=(()=>{class ye extends J{constructor(k,fe){super(),this.useUtcForDisplay=!1,super.setLocale(k)}getYear(k){return k.getFullYear()}getMonth(k){return k.getMonth()}getDate(k){return k.getDate()}getDayOfWeek(k){return k.getDay()}getMonthNames(k){const fe=new Intl.DateTimeFormat(this.locale,{month:k,timeZone:"utc"});return U(12,Ze=>this._format(fe,new Date(2017,Ze,1)))}getDateNames(){const k=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return U(31,fe=>this._format(k,new Date(2017,0,fe+1)))}getDayOfWeekNames(k){const fe=new Intl.DateTimeFormat(this.locale,{weekday:k,timeZone:"utc"});return U(7,Ze=>this._format(fe,new Date(2017,0,Ze+1)))}getYearName(k){const fe=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(fe,k)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(k){return this.getDate(this._createDateWithOverflow(this.getYear(k),this.getMonth(k)+1,0))}clone(k){return new Date(k.getTime())}createDate(k,fe,Ze){let It=this._createDateWithOverflow(k,fe,Ze);return It.getMonth(),It}today(){return new Date}parse(k,fe){return"number"==typeof k?new Date(k):k?new Date(Date.parse(k)):null}format(k,fe){if(!this.isValid(k))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ze=new Intl.DateTimeFormat(this.locale,{...fe,timeZone:"utc"});return this._format(Ze,k)}addCalendarYears(k,fe){return this.addCalendarMonths(k,12*fe)}addCalendarMonths(k,fe){let Ze=this._createDateWithOverflow(this.getYear(k),this.getMonth(k)+fe,this.getDate(k));return this.getMonth(Ze)!=((this.getMonth(k)+fe)%12+12)%12&&(Ze=this._createDateWithOverflow(this.getYear(Ze),this.getMonth(Ze),0)),Ze}addCalendarDays(k,fe){return this._createDateWithOverflow(this.getYear(k),this.getMonth(k),this.getDate(k)+fe)}toIso8601(k){return[k.getUTCFullYear(),this._2digit(k.getUTCMonth()+1),this._2digit(k.getUTCDate())].join("-")}deserialize(k){if("string"==typeof k){if(!k)return null;if($.test(k)){let fe=new Date(k);if(this.isValid(fe))return fe}}return super.deserialize(k)}isDateInstance(k){return k instanceof Date}isValid(k){return!isNaN(k.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(k,fe,Ze){const It=new Date;return It.setFullYear(k,fe,Ze),It.setHours(0,0,0,0),It}_2digit(k){return("00"+k).slice(-2)}_format(k,fe){const Ze=new Date;return Ze.setUTCFullYear(fe.getFullYear(),fe.getMonth(),fe.getDate()),Ze.setUTCHours(fe.getHours(),fe.getMinutes(),fe.getSeconds(),fe.getMilliseconds()),k.format(Ze)}static#e=this.\u0275fac=function(fe){return new(fe||ye)(n.\u0275\u0275inject(we,8),n.\u0275\u0275inject(d.t4))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac})}return ye})();const H={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 Oe=(()=>{class ye{static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:J,useClass:R}]})}return ye})(),He=(()=>{class ye{static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:z,useValue:H}],imports:[Oe]})}return ye})(),vt=(()=>{class ye{isErrorState(k,fe){return!!(k&&k.invalid&&(k.dirty||fe&&fe.submitted))}static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac})}return ye})(),Ct=(()=>{class ye{isErrorState(k,fe){return!!(k&&k.invalid&&(k.touched||fe&&fe.submitted))}static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),lt=(()=>{class ye{static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})}return ye})();function Te(ye,G,k="mat"){ye.changes.pipe((0,f.O)(ye)).subscribe(({length:fe})=>{xe(G,`${k}-2-line`,!1),xe(G,`${k}-3-line`,!1),xe(G,`${k}-multi-line`,!1),2===fe||3===fe?xe(G,`${k}-${fe}-line`,!0):fe>3&&xe(G,`${k}-multi-line`,!0)})}function xe(ye,G,k){ye.nativeElement.classList.toggle(G,k)}let Ne=(()=>{class ye{static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[te,te]})}return ye})();class Me{constructor(G,k,fe,Ze=!1){this._renderer=G,this.element=k,this.config=fe,this._animationForciblyDisabledThroughCss=Ze,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Re=(0,d.i$)({passive:!0,capture:!0});class gt{constructor(){this._events=new Map,this._delegateEventHandler=G=>{const k=(0,d.sA)(G);k&&this._events.get(G.type)?.forEach((fe,Ze)=>{(Ze===k||Ze.contains(k))&&fe.forEach(It=>It.handleEvent(G))})}}addHandler(G,k,fe,Ze){const It=this._events.get(k);if(It){const tt=It.get(fe);tt?tt.add(Ze):It.set(fe,new Set([Ze]))}else this._events.set(k,new Map([[fe,new Set([Ze])]])),G.runOutsideAngular(()=>{document.addEventListener(k,this._delegateEventHandler,Re)})}removeHandler(G,k,fe){const Ze=this._events.get(G);if(!Ze)return;const It=Ze.get(k);It&&(It.delete(fe),0===It.size&&Ze.delete(k),0===Ze.size&&(this._events.delete(G),document.removeEventListener(G,this._delegateEventHandler,Re)))}}const ut={enterDuration:225,exitDuration:150},ae=(0,d.i$)({passive:!0,capture:!0}),Ee=["mousedown","touchstart"],ke=["mouseup","mouseleave","touchend","touchcancel"];class ct{static#e=this._eventManager=new gt;constructor(G,k,fe,Ze){this._target=G,this._ngZone=k,this._platform=Ze,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ze.isBrowser&&(this._containerElement=(0,u.fI)(fe))}fadeInRipple(G,k,fe={}){const Ze=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),It={...ut,...fe.animation};fe.centered&&(G=Ze.left+Ze.width/2,k=Ze.top+Ze.height/2);const tt=fe.radius||function ot(ye,G,k){const fe=Math.max(Math.abs(ye-k.left),Math.abs(ye-k.right)),Ze=Math.max(Math.abs(G-k.top),Math.abs(G-k.bottom));return Math.sqrt(fe*fe+Ze*Ze)}(G,k,Ze),St=G-Ze.left,_e=k-Ze.top,Fe=It.enterDuration,je=document.createElement("div");je.classList.add("mat-ripple-element"),je.style.left=St-tt+"px",je.style.top=_e-tt+"px",je.style.height=2*tt+"px",je.style.width=2*tt+"px",null!=fe.color&&(je.style.backgroundColor=fe.color),je.style.transitionDuration=`${Fe}ms`,this._containerElement.appendChild(je);const Et=window.getComputedStyle(je),vn=Et.transitionDuration,ln="none"===Et.transitionProperty||"0s"===vn||"0s, 0s"===vn||0===Ze.width&&0===Ze.height,hn=new Me(this,je,fe,ln);je.style.transform="scale3d(1, 1, 1)",hn.state=0,fe.persistent||(this._mostRecentTransientRipple=hn);let Ke=null;return!ln&&(Fe||It.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const $e=()=>this._finishRippleTransition(hn),Pe=()=>this._destroyRipple(hn);je.addEventListener("transitionend",$e),je.addEventListener("transitioncancel",Pe),Ke={onTransitionEnd:$e,onTransitionCancel:Pe}}),this._activeRipples.set(hn,Ke),(ln||!Fe)&&this._finishRippleTransition(hn),hn}fadeOutRipple(G){if(2===G.state||3===G.state)return;const k=G.element,fe={...ut,...G.config.animation};k.style.transitionDuration=`${fe.exitDuration}ms`,k.style.opacity="0",G.state=2,(G._animationForciblyDisabledThroughCss||!fe.exitDuration)&&this._finishRippleTransition(G)}fadeOutAll(){this._getActiveRipples().forEach(G=>G.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(G=>{G.config.persistent||G.fadeOut()})}setupTriggerEvents(G){const k=(0,u.fI)(G);!this._platform.isBrowser||!k||k===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=k,Ee.forEach(fe=>{ct._eventManager.addHandler(this._ngZone,fe,k,this)}))}handleEvent(G){"mousedown"===G.type?this._onMousedown(G):"touchstart"===G.type?this._onTouchStart(G):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ke.forEach(k=>{this._triggerElement.addEventListener(k,this,ae)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(G){0===G.state?this._startFadeOutTransition(G):2===G.state&&this._destroyRipple(G)}_startFadeOutTransition(G){const k=G===this._mostRecentTransientRipple,{persistent:fe}=G.config;G.state=1,!fe&&(!k||!this._isPointerDown)&&G.fadeOut()}_destroyRipple(G){const k=this._activeRipples.get(G)??null;this._activeRipples.delete(G),this._activeRipples.size||(this._containerRect=null),G===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),G.state=3,null!==k&&(G.element.removeEventListener("transitionend",k.onTransitionEnd),G.element.removeEventListener("transitioncancel",k.onTransitionCancel)),G.element.remove()}_onMousedown(G){const k=(0,s.X6)(G),fe=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!k&&!fe&&(this._isPointerDown=!0,this.fadeInRipple(G.clientX,G.clientY,this._target.rippleConfig))}_onTouchStart(G){if(!this._target.rippleDisabled&&!(0,s.yG)(G)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const k=G.changedTouches;if(k)for(let fe=0;fe<k.length;fe++)this.fadeInRipple(k[fe].clientX,k[fe].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(G=>{!G.config.persistent&&(1===G.state||G.config.terminateOnPointerUp&&0===G.state)&&G.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const G=this._triggerElement;G&&(Ee.forEach(k=>ct._eventManager.removeHandler(k,G,this)),this._pointerUpEventsRegistered&&ke.forEach(k=>G.removeEventListener(k,this,ae)))}}const wt=new n.InjectionToken("mat-ripple-global-options");let jt=(()=>{class ye{get disabled(){return this._disabled}set disabled(k){k&&this.fadeOutAllNonPersistent(),this._disabled=k,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(k){this._trigger=k,this._setupTriggerEventsIfEnabled()}constructor(k,fe,Ze,It,tt){this._elementRef=k,this._animationMode=tt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=It||{},this._rippleRenderer=new ct(this,fe,k,Ze)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(k,fe=0,Ze){return"number"==typeof k?this._rippleRenderer.fadeInRipple(k,fe,{...this.rippleConfig,...Ze}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...k})}static#e=this.\u0275fac=function(fe){return new(fe||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(d.t4),n.\u0275\u0275directiveInject(wt,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ye,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(fe,Ze){2&fe&&n.\u0275\u0275classProp("mat-ripple-unbounded",Ze.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return ye})(),Kt=(()=>{class ye{static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[te,te]})}return ye})(),Zt=(()=>{class ye{constructor(k){this._animationMode=k,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(fe){return new(fe||ye)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(fe,Ze){2&fe&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===Ze.state)("mat-pseudo-checkbox-checked","checked"===Ze.state)("mat-pseudo-checkbox-disabled",Ze.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ze.appearance)("mat-pseudo-checkbox-full","full"===Ze.appearance)("_mat-animation-noopable","NoopAnimations"===Ze._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(fe,Ze){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return ye})(),Qt=(()=>{class ye{static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[te]})}return ye})();const dt=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Dt=Ye(class{});let Ue=0,de=(()=>{class ye extends Dt{constructor(k){super(),this._labelId="mat-optgroup-label-"+Ue++,this._inert=k?.inertGroups??!1}static#e=this.\u0275fac=function(fe){return new(fe||ye)(n.\u0275\u0275directiveInject(dt,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ye,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]})}return ye})();const De=new n.InjectionToken("MatOptgroup");let at=(()=>{class ye extends de{static#e=this.\u0275fac=function(){let k;return function(Ze){return(k||(k=n.\u0275\u0275getInheritedFactory(ye)))(Ze||ye)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(fe,Ze){2&fe&&n.\u0275\u0275attribute("role",Ze._inert?null:"group")("aria-disabled",Ze._inert?null:Ze.disabled.toString())("aria-labelledby",Ze._inert?null:Ze._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:De,useExisting:ye}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:v,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(fe,Ze){1&fe&&(n.\u0275\u0275projectionDef(b),n.\u0275\u0275elementStart(0,"span",0)(1,"span",1),n.\u0275\u0275text(2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(4,1)),2&fe&&(n.\u0275\u0275classProp("mdc-list-item--disabled",Ze.disabled),n.\u0275\u0275property("id",Ze._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",Ze.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0})}return ye})(),Ot=0;class Lt{constructor(G,k=!1){this.source=G,this.isUserInput=k}}let qt=(()=>{class ye{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(k){this._disabled=(0,u.Ig)(k)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(k,fe,Ze,It){this._element=k,this._changeDetectorRef=fe,this._parent=Ze,this.group=It,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ot++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new _.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(k=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),k&&this._emitSelectionChangeEvent())}deselect(k=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),k&&this._emitSelectionChangeEvent())}focus(k,fe){const Ze=this._getHostElement();"function"==typeof Ze.focus&&Ze.focus(fe)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(k){(k.keyCode===y.K5||k.keyCode===y.L_)&&!(0,y.Vb)(k)&&(this._selectViaInteraction(),k.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const k=this.viewValue;k!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=k)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(k=!1){this.onSelectionChange.emit(new Lt(this,k))}static#e=this.\u0275fac=function(fe){n.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ye,viewQuery:function(fe,Ze){if(1&fe&&n.\u0275\u0275viewQuery(w,7),2&fe){let It;n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(Ze._text=It.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return ye})(),cn=(()=>{class ye extends qt{constructor(k,fe,Ze,It){super(k,fe,Ze,It)}static#e=this.\u0275fac=function(fe){return new(fe||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(dt,8),n.\u0275\u0275directiveInject(De,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(fe,Ze){1&fe&&n.\u0275\u0275listener("click",function(){return Ze._selectViaInteraction()})("keydown",function(tt){return Ze._handleKeydown(tt)}),2&fe&&(n.\u0275\u0275hostProperty("id",Ze.id),n.\u0275\u0275attribute("aria-selected",Ze.selected)("aria-disabled",Ze.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",Ze.selected)("mat-mdc-option-multiple",Ze.multiple)("mat-mdc-option-active",Ze.active)("mdc-list-item--disabled",Ze.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:V,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(fe,Ze){1&fe&&(n.\u0275\u0275projectionDef(K),n.\u0275\u0275template(0,O,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementStart(2,"span",1,2),n.\u0275\u0275projection(4,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(5,F,1,1,"mat-pseudo-checkbox",3),n.\u0275\u0275template(6,S,2,1,"span",4),n.\u0275\u0275element(7,"div",5)),2&fe&&(n.\u0275\u0275property("ngIf",Ze.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!Ze.multiple&&Ze.selected&&!Ze.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ze.group&&Ze.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",Ze._getHostElement())("matRippleDisabled",Ze.disabled||Ze.disableRipple))},dependencies:[jt,c.NgIf,Zt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return ye})();function pn(ye,G,k){if(k.length){let fe=G.toArray(),Ze=k.toArray(),It=0;for(let tt=0;tt<ye+1;tt++)fe[tt].group&&fe[tt].group===Ze[It]&&It++;return It}return 0}function En(ye,G,k,fe){return ye<k?ye:ye+G>k+fe?Math.max(0,ye-fe+G):k}let yt=(()=>{class ye{static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Kt,c.CommonModule,te,Qt]})}return ye})();const rt={capture:!0},Ie=["focus","click","mouseenter","touchstart"],We="mat-ripple-loader-uninitialized",mt="mat-ripple-loader-class-name",Rt="mat-ripple-loader-centered",Jt="mat-ripple-loader-disabled";let ft=(()=>{class ye{constructor(){this._document=(0,n.inject)(c.DOCUMENT,{optional:!0}),this._animationMode=(0,n.inject)(n.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,n.inject)(wt,{optional:!0}),this._platform=(0,n.inject)(d.t4),this._ngZone=(0,n.inject)(n.NgZone),this._onInteraction=k=>{if(!(k.target instanceof HTMLElement))return;const Ze=k.target.closest(`[${We}]`);Ze&&this.createRipple(Ze)},this._ngZone.runOutsideAngular(()=>{for(const k of Ie)this._document?.addEventListener(k,this._onInteraction,rt)})}ngOnDestroy(){for(const k of Ie)this._document?.removeEventListener(k,this._onInteraction,rt)}configureRipple(k,fe){k.setAttribute(We,""),(fe.className||!k.hasAttribute(mt))&&k.setAttribute(mt,fe.className||""),fe.centered&&k.setAttribute(Rt,""),fe.disabled&&k.setAttribute(Jt,"")}getRipple(k){return k.matRipple?k.matRipple:this.createRipple(k)}setDisabled(k,fe){const Ze=k.matRipple;Ze?Ze.disabled=fe:fe?k.setAttribute(Jt,""):k.removeAttribute(Jt)}createRipple(k){if(!this._document)return;k.querySelector(".mat-ripple")?.remove();const fe=this._document.createElement("span");fe.classList.add("mat-ripple",k.getAttribute(mt)),k.append(fe);const Ze=new jt(new n.ElementRef(fe),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ze._isInitialized=!0,Ze.trigger=k,Ze.centered=k.hasAttribute(Rt),Ze.disabled=k.hasAttribute(Jt),this.attachRipple(k,Ze),Ze}attachRipple(k,fe){k.removeAttribute(We),k.matRipple=fe}static#e=this.\u0275fac=function(fe){return new(fe||ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})()},7667:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_DIALOG_DATA:()=>Te,MAT_DIALOG_DEFAULT_OPTIONS:()=>xe,MAT_DIALOG_SCROLL_STRATEGY:()=>Ne,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>gt,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>Re,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Me,MatDialog:()=>ae,MatDialogActions:()=>wt,MatDialogClose:()=>ke,MatDialogConfig:()=>re,MatDialogContainer:()=>vt,MatDialogContent:()=>ot,MatDialogModule:()=>Kt,MatDialogRef:()=>Ct,MatDialogTitle:()=>ct,_MatDialogBase:()=>et,_MatDialogContainerBase:()=>H,_closeDialogVia:()=>lt,_defaultParams:()=>Zt,matDialogAnimations:()=>Qt});var n=a(9594),s=a(6814),p=a(5879),g=a(4300),c=a(2831),d=a(8484),u=a(6028),m=a(8645),_=a(3018),f=a(4829);function y(dt){return new _.y(Dt=>{(0,f.Xf)(dt()).subscribe(Dt)})}var b=a(2096),v=a(9388),w=a(7921);function O(dt,Dt){}class F{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,this.closeOnOverlayDetachments=!0}}let K=(()=>{class dt extends d.en{constructor(Ue,de,De,at,Ot,Lt,qt,cn){super(),this._elementRef=Ue,this._focusTrapFactory=de,this._config=at,this._interactivityChecker=Ot,this._ngZone=Lt,this._overlayRef=qt,this._focusMonitor=cn,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=pn=>{this._portalOutlet.hasAttached();const En=this._portalOutlet.attachDomPortal(pn);return this._contentAttached(),En},this._document=De,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Ue){this._portalOutlet.hasAttached();const de=this._portalOutlet.attachComponentPortal(Ue);return this._contentAttached(),de}attachTemplatePortal(Ue){this._portalOutlet.hasAttached();const de=this._portalOutlet.attachTemplatePortal(Ue);return this._contentAttached(),de}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ue,de){this._interactivityChecker.isFocusable(Ue)||(Ue.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const De=()=>{Ue.removeEventListener("blur",De),Ue.removeEventListener("mousedown",De),Ue.removeAttribute("tabindex")};Ue.addEventListener("blur",De),Ue.addEventListener("mousedown",De)})),Ue.focus(de)}_focusByCssSelector(Ue,de){let De=this._elementRef.nativeElement.querySelector(Ue);De&&this._forceFocus(De,de)}_trapFocus(){const Ue=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Ue.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(de=>{de||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 Ue=this._config.restoreFocus;let de=null;if("string"==typeof Ue?de=this._document.querySelector(Ue):"boolean"==typeof Ue?de=Ue?this._elementFocusedBeforeDialogWasOpened:null:Ue&&(de=Ue),this._config.restoreFocus&&de&&"function"==typeof de.focus){const De=(0,c.ht)(),at=this._elementRef.nativeElement;(!De||De===this._document.body||De===at||at.contains(De))&&(this._focusMonitor?(this._focusMonitor.focusVia(de,this._closeInteractionType),this._closeInteractionType=null):de.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Ue=this._elementRef.nativeElement,de=(0,c.ht)();return Ue===de||Ue.contains(de)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,c.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(de){return new(de||dt)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(g.qV),p.\u0275\u0275directiveInject(s.DOCUMENT,8),p.\u0275\u0275directiveInject(F),p.\u0275\u0275directiveInject(g.ic),p.\u0275\u0275directiveInject(p.NgZone),p.\u0275\u0275directiveInject(n.Iu),p.\u0275\u0275directiveInject(g.tE))};static#t=this.\u0275cmp=p.\u0275\u0275defineComponent({type:dt,selectors:[["cdk-dialog-container"]],viewQuery:function(de,De){if(1&de&&p.\u0275\u0275viewQuery(d.Pl,7),2&de){let at;p.\u0275\u0275queryRefresh(at=p.\u0275\u0275loadQuery())&&(De._portalOutlet=at.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(de,De){2&de&&p.\u0275\u0275attribute("id",De._config.id||null)("role",De._config.role)("aria-modal",De._config.ariaModal)("aria-labelledby",De._config.ariaLabel?null:De._ariaLabelledByQueue[0])("aria-label",De._config.ariaLabel)("aria-describedby",De._config.ariaDescribedBy||null)},features:[p.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(de,De){1&de&&p.\u0275\u0275template(0,O,0,0,"ng-template",0)},dependencies:[d.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return dt})();class V{constructor(Dt,Ue){this.overlayRef=Dt,this.config=Ue,this.closed=new m.x,this.disableClose=Ue.disableClose,this.backdropClick=Dt.backdropClick(),this.keydownEvents=Dt.keydownEvents(),this.outsidePointerEvents=Dt.outsidePointerEvents(),this.id=Ue.id,this.keydownEvents.subscribe(de=>{de.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(de)&&(de.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Dt.detachments().subscribe(()=>{!1!==Ue.closeOnOverlayDetachments&&this.close()})}close(Dt,Ue){if(this.containerInstance){const de=this.closed;this.containerInstance._closeInteractionType=Ue?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),de.next(Dt),de.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Dt="",Ue=""){return this.overlayRef.updateSize({width:Dt,height:Ue}),this}addPanelClass(Dt){return this.overlayRef.addPanelClass(Dt),this}removePanelClass(Dt){return this.overlayRef.removePanelClass(Dt),this}}const ee=new p.InjectionToken("DialogScrollStrategy"),W=new p.InjectionToken("DialogData"),Y=new p.InjectionToken("DefaultDialogConfig"),ie={provide:ee,deps:[n.aV],useFactory:function ue(dt){return()=>dt.scrollStrategies.block()}};let te=0,ve=(()=>{class dt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Ue,de,De,at,Ot,Lt){this._overlay=Ue,this._injector=de,this._defaultOptions=De,this._parentDialog=at,this._overlayContainer=Ot,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new m.x,this._afterOpenedAtThisLevel=new m.x,this._ariaHiddenElements=new Map,this.afterAllClosed=y(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,w.O)(void 0))),this._scrollStrategy=Lt}open(Ue,de){(de={...this._defaultOptions||new F,...de}).id=de.id||"cdk-dialog-"+te++,de.id&&this.getDialogById(de.id);const at=this._getOverlayConfig(de),Ot=this._overlay.create(at),Lt=new V(Ot,de),qt=this._attachContainer(Ot,Lt,de);return Lt.containerInstance=qt,this._attachDialogContent(Ue,Lt,qt,de),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Lt),Lt.closed.subscribe(()=>this._removeOpenDialog(Lt,!0)),this.afterOpened.next(Lt),Lt}closeAll(){nt(this.openDialogs,Ue=>Ue.close())}getDialogById(Ue){return this.openDialogs.find(de=>de.id===Ue)}ngOnDestroy(){nt(this._openDialogsAtThisLevel,Ue=>{!1===Ue.config.closeOnDestroy&&this._removeOpenDialog(Ue,!1)}),nt(this._openDialogsAtThisLevel,Ue=>Ue.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ue){const de=new n.X_({positionStrategy:Ue.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Ue.scrollStrategy||this._scrollStrategy(),panelClass:Ue.panelClass,hasBackdrop:Ue.hasBackdrop,direction:Ue.direction,minWidth:Ue.minWidth,minHeight:Ue.minHeight,maxWidth:Ue.maxWidth,maxHeight:Ue.maxHeight,width:Ue.width,height:Ue.height,disposeOnNavigation:Ue.closeOnNavigation});return Ue.backdropClass&&(de.backdropClass=Ue.backdropClass),de}_attachContainer(Ue,de,De){const at=De.injector||De.viewContainerRef?.injector,Ot=[{provide:F,useValue:De},{provide:V,useValue:de},{provide:n.Iu,useValue:Ue}];let Lt;De.container?"function"==typeof De.container?Lt=De.container:(Lt=De.container.type,Ot.push(...De.container.providers(De))):Lt=K;const qt=new d.C5(Lt,De.viewContainerRef,p.Injector.create({parent:at||this._injector,providers:Ot}),De.componentFactoryResolver);return Ue.attach(qt).instance}_attachDialogContent(Ue,de,De,at){if(Ue instanceof p.TemplateRef){const Ot=this._createInjector(at,de,De,void 0);let Lt={$implicit:at.data,dialogRef:de};at.templateContext&&(Lt={...Lt,..."function"==typeof at.templateContext?at.templateContext():at.templateContext}),De.attachTemplatePortal(new d.UE(Ue,null,Lt,Ot))}else{const Ot=this._createInjector(at,de,De,this._injector),Lt=De.attachComponentPortal(new d.C5(Ue,at.viewContainerRef,Ot,at.componentFactoryResolver));de.componentRef=Lt,de.componentInstance=Lt.instance}}_createInjector(Ue,de,De,at){const Ot=Ue.injector||Ue.viewContainerRef?.injector,Lt=[{provide:W,useValue:Ue.data},{provide:V,useValue:de}];return Ue.providers&&("function"==typeof Ue.providers?Lt.push(...Ue.providers(de,Ue,De)):Lt.push(...Ue.providers)),Ue.direction&&(!Ot||!Ot.get(v.Is,null,{optional:!0}))&&Lt.push({provide:v.Is,useValue:{value:Ue.direction,change:(0,b.of)()}}),p.Injector.create({parent:Ot||at,providers:Lt})}_removeOpenDialog(Ue,de){const De=this.openDialogs.indexOf(Ue);De>-1&&(this.openDialogs.splice(De,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((at,Ot)=>{at?Ot.setAttribute("aria-hidden",at):Ot.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),de&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Ue=this._overlayContainer.getContainerElement();if(Ue.parentElement){const de=Ue.parentElement.children;for(let De=de.length-1;De>-1;De--){const at=de[De];at!==Ue&&"SCRIPT"!==at.nodeName&&"STYLE"!==at.nodeName&&!at.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(at,at.getAttribute("aria-hidden")),at.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(de){return new(de||dt)(p.\u0275\u0275inject(n.aV),p.\u0275\u0275inject(p.Injector),p.\u0275\u0275inject(Y,8),p.\u0275\u0275inject(dt,12),p.\u0275\u0275inject(n.Xj),p.\u0275\u0275inject(ee))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac})}return dt})();function nt(dt,Dt){let Ue=dt.length;for(;Ue--;)Dt(dt[Ue])}let be=(()=>{class dt{static#e=this.\u0275fac=function(de){return new(de||dt)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[ve,ie],imports:[n.U8,d.eL,g.rt,d.eL]})}return dt})();var Ye=a(2495),pe=a(3019),Le=a(2181),Xe=a(8180),Je=a(3680),q=a(6825);function we(dt,Dt){}class re{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.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const J="mdc-dialog--open",z="mdc-dialog--opening",$="mdc-dialog--closing";let H=(()=>{class dt extends K{constructor(Ue,de,De,at,Ot,Lt,qt,cn){super(Ue,de,De,at,Ot,Lt,qt,cn),this._animationStateChanged=new p.EventEmitter}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ue){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ue})}static#e=this.\u0275fac=function(de){return new(de||dt)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(g.qV),p.\u0275\u0275directiveInject(s.DOCUMENT,8),p.\u0275\u0275directiveInject(re),p.\u0275\u0275directiveInject(g.ic),p.\u0275\u0275directiveInject(p.NgZone),p.\u0275\u0275directiveInject(n.Iu),p.\u0275\u0275directiveInject(g.tE))};static#t=this.\u0275cmp=p.\u0275\u0275defineComponent({type:dt,selectors:[["ng-component"]],features:[p.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(de,De){},encapsulation:2})}return dt})();const Oe="--mat-dialog-transition-duration";function He(dt){return null==dt?null:"number"==typeof dt?dt:dt.endsWith("ms")?(0,Ye.su)(dt.substring(0,dt.length-2)):dt.endsWith("s")?1e3*(0,Ye.su)(dt.substring(0,dt.length-1)):"0"===dt?0:null}let vt=(()=>{class dt extends H{constructor(Ue,de,De,at,Ot,Lt,qt,cn,pn){super(Ue,de,De,at,Ot,Lt,qt,pn),this._animationMode=cn,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?He(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?He(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Oe,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(z,J)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(J),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(J),this._animationsEnabled?(this._hostElement.style.setProperty(Oe,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add($)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(z,$)}_waitForAnimationToComplete(Ue,de){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(de,Ue)}_requestAnimationFrame(Ue){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ue):Ue()})}static#e=this.\u0275fac=function(de){return new(de||dt)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(g.qV),p.\u0275\u0275directiveInject(s.DOCUMENT,8),p.\u0275\u0275directiveInject(re),p.\u0275\u0275directiveInject(g.ic),p.\u0275\u0275directiveInject(p.NgZone),p.\u0275\u0275directiveInject(n.Iu),p.\u0275\u0275directiveInject(p.ANIMATION_MODULE_TYPE,8),p.\u0275\u0275directiveInject(g.tE))};static#t=this.\u0275cmp=p.\u0275\u0275defineComponent({type:dt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(de,De){2&de&&(p.\u0275\u0275hostProperty("id",De._config.id),p.\u0275\u0275attribute("aria-modal",De._config.ariaModal)("role",De._config.role)("aria-labelledby",De._config.ariaLabel?null:De._ariaLabelledByQueue[0])("aria-label",De._config.ariaLabel)("aria-describedby",De._config.ariaDescribedBy||null),p.\u0275\u0275classProp("_mat-animation-noopable",!De._animationsEnabled))},features:[p.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(de,De){1&de&&(p.\u0275\u0275elementStart(0,"div",0)(1,"div",1),p.\u0275\u0275template(2,we,0,0,"ng-template",2),p.\u0275\u0275elementEnd()())},dependencies:[d.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return dt})();class Ct{constructor(Dt,Ue,de){this._ref=Dt,this._containerInstance=de,this._afterOpened=new m.x,this._beforeClosed=new m.x,this._state=0,this.disableClose=Ue.disableClose,this.id=Dt.id,de._animationStateChanged.pipe((0,Le.h)(De=>"opened"===De.state),(0,Xe.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),de._animationStateChanged.pipe((0,Le.h)(De=>"closed"===De.state),(0,Xe.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Dt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,pe.T)(this.backdropClick(),this.keydownEvents().pipe((0,Le.h)(De=>De.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(De)))).subscribe(De=>{this.disableClose||(De.preventDefault(),lt(this,"keydown"===De.type?"keyboard":"mouse"))})}close(Dt){this._result=Dt,this._containerInstance._animationStateChanged.pipe((0,Le.h)(Ue=>"closing"===Ue.state),(0,Xe.q)(1)).subscribe(Ue=>{this._beforeClosed.next(Dt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ue.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(Dt){let Ue=this._ref.config.positionStrategy;return Dt&&(Dt.left||Dt.right)?Dt.left?Ue.left(Dt.left):Ue.right(Dt.right):Ue.centerHorizontally(),Dt&&(Dt.top||Dt.bottom)?Dt.top?Ue.top(Dt.top):Ue.bottom(Dt.bottom):Ue.centerVertically(),this._ref.updatePosition(),this}updateSize(Dt="",Ue=""){return this._ref.updateSize(Dt,Ue),this}addPanelClass(Dt){return this._ref.addPanelClass(Dt),this}removePanelClass(Dt){return this._ref.removePanelClass(Dt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function lt(dt,Dt,Ue){return dt._closeInteractionType=Dt,dt.close(Ue)}const Te=new p.InjectionToken("MatMdcDialogData"),xe=new p.InjectionToken("mat-mdc-dialog-default-options"),Ne=new p.InjectionToken("mat-mdc-dialog-scroll-strategy");function Me(dt){return()=>dt.scrollStrategies.block()}const Re={provide:Ne,deps:[n.aV],useFactory:Me};function gt(dt){return()=>dt.scrollStrategies.block()}let ut=0,et=(()=>{class dt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(Ue,de,De,at,Ot,Lt,qt,cn,pn,En){this._overlay=Ue,this._defaultOptions=De,this._parentDialog=at,this._dialogRefConstructor=qt,this._dialogContainerType=cn,this._dialogDataToken=pn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new m.x,this._afterOpenedAtThisLevel=new m.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=re,this.afterAllClosed=y(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,w.O)(void 0))),this._scrollStrategy=Lt,this._dialog=de.get(ve)}open(Ue,de){let De;(de={...this._defaultOptions||new re,...de}).id=de.id||`${this._idPrefix}${ut++}`,de.scrollStrategy=de.scrollStrategy||this._scrollStrategy();const at=this._dialog.open(Ue,{...de,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:de},{provide:F,useValue:de}]},templateContext:()=>({dialogRef:De}),providers:(Ot,Lt,qt)=>(De=new this._dialogRefConstructor(Ot,de,qt),De.updatePosition(de?.position),[{provide:this._dialogContainerType,useValue:qt},{provide:this._dialogDataToken,useValue:Lt.data},{provide:this._dialogRefConstructor,useValue:De}])});return De.componentRef=at.componentRef,De.componentInstance=at.componentInstance,this.openDialogs.push(De),this.afterOpened.next(De),De.afterClosed().subscribe(()=>{const Ot=this.openDialogs.indexOf(De);Ot>-1&&(this.openDialogs.splice(Ot,1),this.openDialogs.length||this._getAfterAllClosed().next())}),De}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ue){return this.openDialogs.find(de=>de.id===Ue)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ue){let de=Ue.length;for(;de--;)Ue[de].close()}static#e=this.\u0275fac=function(de){p.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac})}return dt})(),ae=(()=>{class dt extends et{constructor(Ue,de,De,at,Ot,Lt,qt,cn){super(Ue,de,at,Lt,qt,Ot,Ct,vt,Te,cn),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(de){return new(de||dt)(p.\u0275\u0275inject(n.aV),p.\u0275\u0275inject(p.Injector),p.\u0275\u0275inject(s.Location,8),p.\u0275\u0275inject(xe,8),p.\u0275\u0275inject(Ne),p.\u0275\u0275inject(dt,12),p.\u0275\u0275inject(n.Xj),p.\u0275\u0275inject(p.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac})}return dt})(),Ee=0,ke=(()=>{class dt{constructor(Ue,de,De){this.dialogRef=Ue,this._elementRef=de,this._dialog=De,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=jt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ue){const de=Ue._matDialogClose||Ue._matDialogCloseResult;de&&(this.dialogResult=de.currentValue)}_onButtonClick(Ue){lt(this.dialogRef,0===Ue.screenX&&0===Ue.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(de){return new(de||dt)(p.\u0275\u0275directiveInject(Ct,8),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(ae))};static#t=this.\u0275dir=p.\u0275\u0275defineDirective({type:dt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(de,De){1&de&&p.\u0275\u0275listener("click",function(Ot){return De._onButtonClick(Ot)}),2&de&&p.\u0275\u0275attribute("aria-label",De.ariaLabel||null)("type",De.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[p.\u0275\u0275NgOnChangesFeature]})}return dt})(),ct=(()=>{class dt{constructor(Ue,de,De){this._dialogRef=Ue,this._elementRef=de,this._dialog=De,this.id="mat-mdc-dialog-title-"+Ee++}ngOnInit(){this._dialogRef||(this._dialogRef=jt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const Ue=this._dialogRef?._containerInstance?._ariaLabelledByQueue;Ue&&Promise.resolve().then(()=>{const de=Ue.indexOf(this.id);de>-1&&Ue.splice(de,1)})}static#e=this.\u0275fac=function(de){return new(de||dt)(p.\u0275\u0275directiveInject(Ct,8),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(ae))};static#t=this.\u0275dir=p.\u0275\u0275defineDirective({type:dt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(de,De){2&de&&p.\u0275\u0275hostProperty("id",De.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return dt})(),ot=(()=>{class dt{static#e=this.\u0275fac=function(de){return new(de||dt)};static#t=this.\u0275dir=p.\u0275\u0275defineDirective({type:dt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}return dt})(),wt=(()=>{class dt{constructor(){this.align="start"}static#e=this.\u0275fac=function(de){return new(de||dt)};static#t=this.\u0275dir=p.\u0275\u0275defineDirective({type:dt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(de,De){2&de&&p.\u0275\u0275classProp("mat-mdc-dialog-actions-align-center","center"===De.align)("mat-mdc-dialog-actions-align-end","end"===De.align)},inputs:{align:"align"}})}return dt})();function jt(dt,Dt){let Ue=dt.nativeElement.parentElement;for(;Ue&&!Ue.classList.contains("mat-mdc-dialog-container");)Ue=Ue.parentElement;return Ue?Dt.find(de=>de.id===Ue.id):null}let Kt=(()=>{class dt{static#e=this.\u0275fac=function(de){return new(de||dt)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[ae,Re],imports:[be,n.U8,d.eL,Je.MatCommonModule,Je.MatCommonModule]})}return dt})();const Zt={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Qt={dialogContainer:(0,q.X$)("dialogContainer",[(0,q.SB)("void, exit",(0,q.oB)({opacity:0,transform:"scale(0.7)"})),(0,q.SB)("enter",(0,q.oB)({transform:"none"})),(0,q.eR)("* => enter",(0,q.ru)([(0,q.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,q.oB)({transform:"none",opacity:1})),(0,q.IO)("@*",(0,q.pV)(),{optional:!0})]),Zt),(0,q.eR)("* => void, * => exit",(0,q.ru)([(0,q.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,q.oB)({opacity:0})),(0,q.IO)("@*",(0,q.pV)(),{optional:!0})]),Zt)])}},5307:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{ICON_REGISTRY_PROVIDER:()=>Je,ICON_REGISTRY_PROVIDER_FACTORY:()=>Xe,MAT_ICON_DEFAULT_OPTIONS:()=>z,MAT_ICON_LOCATION:()=>$,MAT_ICON_LOCATION_FACTORY:()=>U,MatIcon:()=>He,MatIconModule:()=>vt,MatIconRegistry:()=>Le,getMatIconFailedToSanitizeLiteralError:()=>Ye,getMatIconFailedToSanitizeUrlError:()=>be,getMatIconNameNotFoundError:()=>ve,getMatIconNoHttpProviderError:()=>nt});var n=a(5879),s=a(3680),p=a(2495),g=a(6814),c=a(2096),d=a(3018),u=a(4674),_=a(9315),f=a(7394),y=a(9397),b=a(7398),v=a(4829),w=a(8251),O=a(9360);function F(Ct){return(0,O.e)((lt,Te)=>{let Me,xe=null,Ne=!1;xe=lt.subscribe((0,w.x)(Te,void 0,void 0,Re=>{Me=(0,v.Xf)(Ct(Re,F(Ct)(lt))),xe?(xe.unsubscribe(),xe=null,Me.subscribe(Te)):Ne=!0})),Ne&&(xe.unsubscribe(),xe=null,Me.subscribe(Te))})}var S=a(4716),K=a(3020),V=a(8180),ee=a(7502),W=a(6593);const Y=["*"];let ue;function te(Ct){return function ie(){if(void 0===ue&&(ue=null,typeof window<"u")){const Ct=window;void 0!==Ct.trustedTypes&&(ue=Ct.trustedTypes.createPolicy("angular#components",{createHTML:lt=>lt}))}return ue}()?.createHTML(Ct)||Ct}function ve(Ct){return Error(`Unable to find icon with the name "${Ct}"`)}function nt(){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 be(Ct){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ct}".`)}function Ye(Ct){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ct}".`)}class pe{constructor(lt,Te,xe){this.url=lt,this.svgText=Te,this.options=xe}}let Le=(()=>{class Ct{constructor(Te,xe,Ne,Me){this._httpClient=Te,this._sanitizer=xe,this._errorHandler=Me,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=Ne}addSvgIcon(Te,xe,Ne){return this.addSvgIconInNamespace("",Te,xe,Ne)}addSvgIconLiteral(Te,xe,Ne){return this.addSvgIconLiteralInNamespace("",Te,xe,Ne)}addSvgIconInNamespace(Te,xe,Ne,Me){return this._addSvgIconConfig(Te,xe,new pe(Ne,null,Me))}addSvgIconResolver(Te){return this._resolvers.push(Te),this}addSvgIconLiteralInNamespace(Te,xe,Ne,Me){const Re=this._sanitizer.sanitize(n.SecurityContext.HTML,Ne);if(!Re)throw Ye(Ne);const gt=te(Re);return this._addSvgIconConfig(Te,xe,new pe("",gt,Me))}addSvgIconSet(Te,xe){return this.addSvgIconSetInNamespace("",Te,xe)}addSvgIconSetLiteral(Te,xe){return this.addSvgIconSetLiteralInNamespace("",Te,xe)}addSvgIconSetInNamespace(Te,xe,Ne){return this._addSvgIconSetConfig(Te,new pe(xe,null,Ne))}addSvgIconSetLiteralInNamespace(Te,xe,Ne){const Me=this._sanitizer.sanitize(n.SecurityContext.HTML,xe);if(!Me)throw Ye(xe);const Re=te(Me);return this._addSvgIconSetConfig(Te,new pe("",Re,Ne))}registerFontClassAlias(Te,xe=Te){return this._fontCssClassesByAlias.set(Te,xe),this}classNameForFontAlias(Te){return this._fontCssClassesByAlias.get(Te)||Te}setDefaultFontSetClass(...Te){return this._defaultFontSetClass=Te,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Te){const xe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Te);if(!xe)throw be(Te);const Ne=this._cachedIconsByUrl.get(xe);return Ne?(0,c.of)(q(Ne)):this._loadSvgIconFromConfig(new pe(Te,null)).pipe((0,y.b)(Me=>this._cachedIconsByUrl.set(xe,Me)),(0,b.U)(Me=>q(Me)))}getNamedSvgIcon(Te,xe=""){const Ne=we(xe,Te);let Me=this._svgIconConfigs.get(Ne);if(Me)return this._getSvgFromConfig(Me);if(Me=this._getIconConfigFromResolvers(xe,Te),Me)return this._svgIconConfigs.set(Ne,Me),this._getSvgFromConfig(Me);const Re=this._iconSetConfigs.get(xe);return Re?this._getSvgFromIconSetConfigs(Te,Re):function m(Ct,lt){const Te=(0,u.m)(Ct)?Ct:()=>Ct,xe=Ne=>Ne.error(Te());return new d.y(lt?Ne=>lt.schedule(xe,0,Ne):xe)}(ve(Ne))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Te){return Te.svgText?(0,c.of)(q(this._svgElementFromConfig(Te))):this._loadSvgIconFromConfig(Te).pipe((0,b.U)(xe=>q(xe)))}_getSvgFromIconSetConfigs(Te,xe){const Ne=this._extractIconWithNameFromAnySet(Te,xe);if(Ne)return(0,c.of)(Ne);const Me=xe.filter(Re=>!Re.svgText).map(Re=>this._loadSvgIconSetFromConfig(Re).pipe(F(gt=>{const et=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Re.url)} failed: ${gt.message}`;return this._errorHandler.handleError(new Error(et)),(0,c.of)(null)})));return(0,_.D)(Me).pipe((0,b.U)(()=>{const Re=this._extractIconWithNameFromAnySet(Te,xe);if(!Re)throw ve(Te);return Re}))}_extractIconWithNameFromAnySet(Te,xe){for(let Ne=xe.length-1;Ne>=0;Ne--){const Me=xe[Ne];if(Me.svgText&&Me.svgText.toString().indexOf(Te)>-1){const Re=this._svgElementFromConfig(Me),gt=this._extractSvgIconFromSet(Re,Te,Me.options);if(gt)return gt}}return null}_loadSvgIconFromConfig(Te){return this._fetchIcon(Te).pipe((0,y.b)(xe=>Te.svgText=xe),(0,b.U)(()=>this._svgElementFromConfig(Te)))}_loadSvgIconSetFromConfig(Te){return Te.svgText?(0,c.of)(null):this._fetchIcon(Te).pipe((0,y.b)(xe=>Te.svgText=xe))}_extractSvgIconFromSet(Te,xe,Ne){const Me=Te.querySelector(`[id="${xe}"]`);if(!Me)return null;const Re=Me.cloneNode(!0);if(Re.removeAttribute("id"),"svg"===Re.nodeName.toLowerCase())return this._setSvgAttributes(Re,Ne);if("symbol"===Re.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Re),Ne);const gt=this._svgElementFromString(te("<svg></svg>"));return gt.appendChild(Re),this._setSvgAttributes(gt,Ne)}_svgElementFromString(Te){const xe=this._document.createElement("DIV");xe.innerHTML=Te;const Ne=xe.querySelector("svg");if(!Ne)throw Error("<svg> tag not found");return Ne}_toSvgElement(Te){const xe=this._svgElementFromString(te("<svg></svg>")),Ne=Te.attributes;for(let Me=0;Me<Ne.length;Me++){const{name:Re,value:gt}=Ne[Me];"id"!==Re&&xe.setAttribute(Re,gt)}for(let Me=0;Me<Te.childNodes.length;Me++)Te.childNodes[Me].nodeType===this._document.ELEMENT_NODE&&xe.appendChild(Te.childNodes[Me].cloneNode(!0));return xe}_setSvgAttributes(Te,xe){return Te.setAttribute("fit",""),Te.setAttribute("height","100%"),Te.setAttribute("width","100%"),Te.setAttribute("preserveAspectRatio","xMidYMid meet"),Te.setAttribute("focusable","false"),xe&&xe.viewBox&&Te.setAttribute("viewBox",xe.viewBox),Te}_fetchIcon(Te){const{url:xe,options:Ne}=Te,Me=Ne?.withCredentials??!1;if(!this._httpClient)throw nt();if(null==xe)throw Error(`Cannot fetch icon from URL "${xe}".`);const Re=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,xe);if(!Re)throw be(xe);const gt=this._inProgressUrlFetches.get(Re);if(gt)return gt;const ut=this._httpClient.get(Re,{responseType:"text",withCredentials:Me}).pipe((0,b.U)(et=>te(et)),(0,S.x)(()=>this._inProgressUrlFetches.delete(Re)),(0,K.B)());return this._inProgressUrlFetches.set(Re,ut),ut}_addSvgIconConfig(Te,xe,Ne){return this._svgIconConfigs.set(we(Te,xe),Ne),this}_addSvgIconSetConfig(Te,xe){const Ne=this._iconSetConfigs.get(Te);return Ne?Ne.push(xe):this._iconSetConfigs.set(Te,[xe]),this}_svgElementFromConfig(Te){if(!Te.svgElement){const xe=this._svgElementFromString(Te.svgText);this._setSvgAttributes(xe,Te.options),Te.svgElement=xe}return Te.svgElement}_getIconConfigFromResolvers(Te,xe){for(let Ne=0;Ne<this._resolvers.length;Ne++){const Me=this._resolvers[Ne](xe,Te);if(Me)return re(Me)?new pe(Me.url,null,Me.options):new pe(Me,null)}}static#e=this.\u0275fac=function(xe){return new(xe||Ct)(n.\u0275\u0275inject(ee.HttpClient,8),n.\u0275\u0275inject(W.DomSanitizer),n.\u0275\u0275inject(g.DOCUMENT,8),n.\u0275\u0275inject(n.ErrorHandler))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}return Ct})();function Xe(Ct,lt,Te,xe,Ne){return Ct||new Le(lt,Te,Ne,xe)}const Je={provide:Le,deps:[[new n.Optional,new n.SkipSelf,Le],[new n.Optional,ee.HttpClient],W.DomSanitizer,n.ErrorHandler,[new n.Optional,g.DOCUMENT]],useFactory:Xe};function q(Ct){return Ct.cloneNode(!0)}function we(Ct,lt){return Ct+":"+lt}function re(Ct){return!(!Ct.url||!Ct.options)}const J=(0,s.mixinColor)(class{constructor(Ct){this._elementRef=Ct}}),z=new n.InjectionToken("MAT_ICON_DEFAULT_OPTIONS"),$=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:U});function U(){const Ct=(0,n.inject)(g.DOCUMENT),lt=Ct?Ct.location:null;return{getPathname:()=>lt?lt.pathname+lt.search:""}}const R=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],H=R.map(Ct=>`[${Ct}]`).join(", "),Oe=/^url\(['"]?#(.*?)['"]?\)$/;let He=(()=>{class Ct extends J{get inline(){return this._inline}set inline(Te){this._inline=(0,p.Ig)(Te)}get svgIcon(){return this._svgIcon}set svgIcon(Te){Te!==this._svgIcon&&(Te?this._updateSvgIcon(Te):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Te)}get fontSet(){return this._fontSet}set fontSet(Te){const xe=this._cleanupFontValue(Te);xe!==this._fontSet&&(this._fontSet=xe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Te){const xe=this._cleanupFontValue(Te);xe!==this._fontIcon&&(this._fontIcon=xe,this._updateFontIconClasses())}constructor(Te,xe,Ne,Me,Re,gt){super(Te),this._iconRegistry=xe,this._location=Me,this._errorHandler=Re,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.w0.EMPTY,gt&&(gt.color&&(this.color=this.defaultColor=gt.color),gt.fontSet&&(this.fontSet=gt.fontSet)),Ne||Te.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Te){if(!Te)return["",""];const xe=Te.split(":");switch(xe.length){case 1:return["",xe[0]];case 2:return xe;default:throw Error(`Invalid icon name: "${Te}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Te=this._elementsWithExternalReferences;if(Te&&Te.size){const xe=this._location.getPathname();xe!==this._previousPath&&(this._previousPath=xe,this._prependPathToReferences(xe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Te){this._clearSvgElement();const xe=this._location.getPathname();this._previousPath=xe,this._cacheChildrenWithExternalReferences(Te),this._prependPathToReferences(xe),this._elementRef.nativeElement.appendChild(Te)}_clearSvgElement(){const Te=this._elementRef.nativeElement;let xe=Te.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();xe--;){const Ne=Te.childNodes[xe];(1!==Ne.nodeType||"svg"===Ne.nodeName.toLowerCase())&&Ne.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Te=this._elementRef.nativeElement,xe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ne=>Ne.length>0);this._previousFontSetClass.forEach(Ne=>Te.classList.remove(Ne)),xe.forEach(Ne=>Te.classList.add(Ne)),this._previousFontSetClass=xe,this.fontIcon!==this._previousFontIconClass&&!xe.includes("mat-ligature-font")&&(this._previousFontIconClass&&Te.classList.remove(this._previousFontIconClass),this.fontIcon&&Te.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Te){return"string"==typeof Te?Te.trim().split(" ")[0]:Te}_prependPathToReferences(Te){const xe=this._elementsWithExternalReferences;xe&&xe.forEach((Ne,Me)=>{Ne.forEach(Re=>{Me.setAttribute(Re.name,`url('${Te}#${Re.value}')`)})})}_cacheChildrenWithExternalReferences(Te){const xe=Te.querySelectorAll(H),Ne=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Me=0;Me<xe.length;Me++)R.forEach(Re=>{const gt=xe[Me],ut=gt.getAttribute(Re),et=ut?ut.match(Oe):null;if(et){let ae=Ne.get(gt);ae||(ae=[],Ne.set(gt,ae)),ae.push({name:Re,value:et[1]})}})}_updateSvgIcon(Te){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Te){const[xe,Ne]=this._splitIconName(Te);xe&&(this._svgNamespace=xe),Ne&&(this._svgName=Ne),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ne,xe).pipe((0,V.q)(1)).subscribe(Me=>this._setSvgElement(Me),Me=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${xe}:${Ne}! ${Me.message}`))})}}static#e=this.\u0275fac=function(xe){return new(xe||Ct)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Le),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject($),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(z,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(xe,Ne){2&xe&&(n.\u0275\u0275attribute("data-mat-icon-type",Ne._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ne._svgName||Ne.fontIcon)("data-mat-icon-namespace",Ne._svgNamespace||Ne.fontSet)("fontIcon",Ne._usingFontIcon()?Ne.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",Ne.inline)("mat-icon-no-color","primary"!==Ne.color&&"accent"!==Ne.color&&"warn"!==Ne.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Y,decls:1,vars:0,template:function(xe,Ne){1&xe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return Ct})(),vt=(()=>{class Ct{static#e=this.\u0275fac=function(xe){return new(xe||Ct)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ct});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[s.MatCommonModule,s.MatCommonModule]})}return Ct})()},1326:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_MENU_CONTENT:()=>Te,MAT_MENU_DEFAULT_OPTIONS:()=>et,MAT_MENU_PANEL:()=>H,MAT_MENU_SCROLL_STRATEGY:()=>ct,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>wt,MENU_PANEL_TOP_PADDING:()=>Kt,MatMenu:()=>ke,MatMenuContent:()=>Ne,MatMenuItem:()=>He,MatMenuModule:()=>dt,MatMenuTrigger:()=>Qt,_MatMenuBase:()=>Ee,_MatMenuContentBase:()=>xe,_MatMenuTriggerBase:()=>Zt,fadeInItems:()=>Re,matMenuAnimations:()=>Me,transformMenu:()=>gt});var n=a(5879),s=a(4300),p=a(2495),g=a(6028),c=a(8645),d=a(3019),u=a(7394),m=a(2096),_=a(6410),f=a(7921),y=a(4664),b=a(8180),v=a(9773),w=a(2181),O=a(6321),F=a(5211),S=a(9360),K=a(8251),V=a(2420),W=a(7398),ue=a(1631),ie=a(4829);function te(Dt,Ue){return Ue?de=>(0,F.z)(Ue.pipe((0,b.q)(1),function ee(){return(0,S.e)((Dt,Ue)=>{Dt.subscribe((0,K.x)(Ue,V.Z))})}()),de.pipe(te(Dt))):(0,ue.z)((de,De)=>(0,ie.Xf)(Dt(de,De)).pipe((0,b.q)(1),function Y(Dt){return(0,W.U)(()=>Dt)}(de)))}var ve=a(4825);function nt(Dt,Ue=O.z){const de=(0,ve.H)(Dt,Ue);return te(()=>de)}var be=a(3680),Ye=a(6814),pe=a(8484),Le=a(6825),Xe=a(9388),Je=a(9594),q=a(2831),we=a(9829);const re=["mat-menu-item",""];function J(Dt,Ue){1&Dt&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const z=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],$=["mat-icon, [matMenuItemIcon]","*"];function U(Dt,Ue){if(1&Dt){const de=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(at){n.\u0275\u0275restoreView(de);const Ot=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ot._handleKeydown(at))})("click",function(){n.\u0275\u0275restoreView(de);const at=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(at.closed.emit("click"))})("@transformMenu.start",function(at){n.\u0275\u0275restoreView(de);const Ot=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ot._onAnimationStart(at))})("@transformMenu.done",function(at){n.\u0275\u0275restoreView(de);const Ot=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ot._onAnimationDone(at))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&Dt){const de=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",de.panelId)("ngClass",de._classList)("@transformMenu",de._panelAnimationState),n.\u0275\u0275attribute("aria-label",de.ariaLabel||null)("aria-labelledby",de.ariaLabelledby||null)("aria-describedby",de.ariaDescribedby||null)}}const R=["*"],H=new n.InjectionToken("MAT_MENU_PANEL"),Oe=(0,be.mixinDisableRipple)((0,be.mixinDisabled)(class{}));let He=(()=>{class Dt extends Oe{constructor(de,De,at,Ot,Lt){super(),this._elementRef=de,this._document=De,this._focusMonitor=at,this._parentMenu=Ot,this._changeDetectorRef=Lt,this.role="menuitem",this._hovered=new c.x,this._focused=new c.x,this._highlighted=!1,this._triggersSubmenu=!1,Ot?.addItem?.(this)}focus(de,De){this._focusMonitor&&de?this._focusMonitor.focusVia(this._getHostElement(),de,De):this._getHostElement().focus(De),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(){const de=this._elementRef.nativeElement.cloneNode(!0),De=de.querySelectorAll("mat-icon, .material-icons");for(let at=0;at<De.length;at++)De[at].remove();return de.textContent?.trim()||""}_setHighlighted(de){this._highlighted=de,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(de){this._triggersSubmenu=de,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(De){return new(De||Dt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ye.DOCUMENT),n.\u0275\u0275directiveInject(s.tE),n.\u0275\u0275directiveInject(H,8),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Dt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(De,at){1&De&&n.\u0275\u0275listener("click",function(Lt){return at._checkDisabled(Lt)})("mouseenter",function(){return at._handleMouseEnter()}),2&De&&(n.\u0275\u0275attribute("role",at.role)("tabindex",at._getTabIndex())("aria-disabled",at.disabled)("disabled",at.disabled||null),n.\u0275\u0275classProp("mat-mdc-menu-item-highlighted",at._highlighted)("mat-mdc-menu-item-submenu-trigger",at._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:re,ngContentSelectors:$,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(De,at){1&De&&(n.\u0275\u0275projectionDef(z),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"span",0),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(3,"div",1),n.\u0275\u0275template(4,J,2,0,"svg",2)),2&De&&(n.\u0275\u0275advance(3),n.\u0275\u0275property("matRippleDisabled",at.disableRipple||at.disabled)("matRippleTrigger",at._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",at._triggersSubmenu))},dependencies:[Ye.NgIf,be.MatRipple],encapsulation:2,changeDetection:0})}return Dt})();const Te=new n.InjectionToken("MatMenuContent");let xe=(()=>{class Dt{constructor(de,De,at,Ot,Lt,qt,cn){this._template=de,this._componentFactoryResolver=De,this._appRef=at,this._injector=Ot,this._viewContainerRef=Lt,this._document=qt,this._changeDetectorRef=cn,this._attached=new c.x}attach(de={}){this._portal||(this._portal=new pe.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new pe.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const De=this._template.elementRef.nativeElement;De.parentNode.insertBefore(this._outlet.outletElement,De),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,de),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function(De){return new(De||Dt)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ApplicationRef),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Ye.DOCUMENT),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Dt})}return Dt})(),Ne=(()=>{class Dt extends xe{static#e=this.\u0275fac=function(){let de;return function(at){return(de||(de=n.\u0275\u0275getInheritedFactory(Dt)))(at||Dt)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Dt,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:Dt}]),n.\u0275\u0275InheritDefinitionFeature]})}return Dt})();const Me={transformMenu:(0,Le.X$)("transformMenu",[(0,Le.SB)("void",(0,Le.oB)({opacity:0,transform:"scale(0.8)"})),(0,Le.eR)("void => enter",(0,Le.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Le.oB)({opacity:1,transform:"scale(1)"}))),(0,Le.eR)("* => void",(0,Le.jt)("100ms 25ms linear",(0,Le.oB)({opacity:0})))]),fadeInItems:(0,Le.X$)("fadeInItems",[(0,Le.SB)("showing",(0,Le.oB)({opacity:1})),(0,Le.eR)("void => *",[(0,Le.oB)({opacity:0}),(0,Le.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Re=Me.fadeInItems,gt=Me.transformMenu;let ut=0;const et=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ae(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ee=(()=>{class Dt{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,p.Ig)(de)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(de){this._hasBackdrop=(0,p.Ig)(de)}set panelClass(de){const De=this._previousPanelClass;De&&De.length&&De.split(" ").forEach(at=>{this._classList[at]=!1}),this._previousPanelClass=de,de&&de.length&&(de.split(" ").forEach(at=>{this._classList[at]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(de){this.panelClass=de}constructor(de,De,at,Ot){this._elementRef=de,this._ngZone=De,this._changeDetectorRef=Ot,this._directDescendantItems=new n.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new c.x,this.closed=new n.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+ut++,this.overlayPanelClass=at.overlayPanelClass||"",this._xPosition=at.xPosition,this._yPosition=at.yPosition,this.backdropClass=at.backdropClass,this._overlapTrigger=at.overlapTrigger,this._hasBackdrop=at.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,y.w)(de=>(0,d.T)(...de.map(De=>De._focused)))).subscribe(de=>this._keyManager.updateActiveItem(de)),this._directDescendantItems.changes.subscribe(de=>{const De=this._keyManager;if("enter"===this._panelAnimationState&&De.activeItem?._hasFocus()){const at=de.toArray(),Ot=Math.max(0,Math.min(at.length-1,De.activeItemIndex||0));at[Ot]&&!at[Ot].disabled?De.setActiveItem(Ot):De.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,y.w)(De=>(0,d.T)(...De.map(at=>at._hovered))))}addItem(de){}removeItem(de){}_handleKeydown(de){const De=de.keyCode,at=this._keyManager;switch(De){case g.hY:(0,g.Vb)(de)||(de.preventDefault(),this.closed.emit("keydown"));break;case g.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(De===g.LH||De===g.JH)&&at.setFocusOrigin("keyboard"),void at.onKeydown(de)}de.stopPropagation()}focusFirstItem(de="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>{let De=null;if(this._directDescendantItems.length&&(De=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!De||!De.contains(document.activeElement)){const at=this._keyManager;at.setFocusOrigin(de).setFirstItemActive(),!at.activeItem&&De&&De.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(de){const De=Math.min(this._baseElevation+de,24),at=`${this._elevationPrefix}${De}`,Ot=Object.keys(this._classList).find(Lt=>Lt.startsWith(this._elevationPrefix));(!Ot||Ot===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[at]=!0,this._previousElevation=at)}setPositionClasses(de=this.xPosition,De=this.yPosition){const at=this._classList;at["mat-menu-before"]="before"===de,at["mat-menu-after"]="after"===de,at["mat-menu-above"]="above"===De,at["mat-menu-below"]="below"===De,this._changeDetectorRef?.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,f.O)(this._allItems)).subscribe(de=>{this._directDescendantItems.reset(de.filter(De=>De._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(De){return new(De||Dt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(et),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Dt,contentQueries:function(De,at,Ot){if(1&De&&(n.\u0275\u0275contentQuery(Ot,Te,5),n.\u0275\u0275contentQuery(Ot,He,5),n.\u0275\u0275contentQuery(Ot,He,4)),2&De){let Lt;n.\u0275\u0275queryRefresh(Lt=n.\u0275\u0275loadQuery())&&(at.lazyContent=Lt.first),n.\u0275\u0275queryRefresh(Lt=n.\u0275\u0275loadQuery())&&(at._allItems=Lt),n.\u0275\u0275queryRefresh(Lt=n.\u0275\u0275loadQuery())&&(at.items=Lt)}},viewQuery:function(De,at){if(1&De&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&De){let Ot;n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(at.templateRef=Ot.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"}})}return Dt})(),ke=(()=>{class Dt extends Ee{constructor(de,De,at,Ot){super(de,De,at,Ot),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(De){return new(De||Dt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(et),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Dt,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(De,at){2&De&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:H,useExisting:Dt}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:R,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(De,at){1&De&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,U,3,6,"ng-template"))},dependencies:[Ye.NgClass],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Me.transformMenu,Me.fadeInItems]},changeDetection:0})}return Dt})();const ct=new n.InjectionToken("mat-menu-scroll-strategy"),wt={provide:ct,deps:[Je.aV],useFactory:function ot(Dt){return()=>Dt.scrollStrategies.reposition()}},jt=(0,q.i$)({passive:!0}),Kt=8;let Zt=(()=>{class Dt{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(De=>{this._destroyMenu(De),("click"===De||"tab"===De)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(De)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(de,De,at,Ot,Lt,qt,cn,pn,En){this._overlay=de,this._element=De,this._viewContainerRef=at,this._menuItemInstance=qt,this._dir=cn,this._focusMonitor=pn,this._ngZone=En,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.w0.EMPTY,this._hoverSubscription=u.w0.EMPTY,this._menuCloseSubscription=u.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=yt=>{(0,s.yG)(yt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new n.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ot,this._parentMaterialMenu=Lt instanceof Ee?Lt:void 0,De.nativeElement.addEventListener("touchstart",this._handleTouchStart,jt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,jt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const de=this.menu;if(this._menuOpen||!de)return;const De=this._createOverlay(de),at=De.getConfig(),Ot=at.positionStrategy;this._setPosition(de,Ot),at.hasBackdrop=null==de.hasBackdrop?!this.triggersSubmenu():de.hasBackdrop,De.attach(this._getPortal(de)),de.lazyContent&&de.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(de),de instanceof Ee&&(de._startAnimation(),de._directDescendantItems.changes.pipe((0,v.R)(de.close)).subscribe(()=>{Ot.withLockedPosition(!1).reapplyLastPosition(),Ot.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(de,De){this._focusMonitor&&de?this._focusMonitor.focusVia(this._element,de,De):this._element.nativeElement.focus(De)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(de){if(!this._overlayRef||!this.menuOpen)return;const De=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===de||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,De instanceof Ee?(De._resetAnimation(),De.lazyContent?De._animationDone.pipe((0,w.h)(at=>"void"===at.toState),(0,b.q)(1),(0,v.R)(De.lazyContent._attached)).subscribe({next:()=>De.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),De?.lazyContent?.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 De=0,at=de.parentMenu;for(;at;)De++,at=at.parentMenu;de.setElevation(De)}}_setIsMenuOpen(de){de!==this._menuOpen&&(this._menuOpen=de,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(de),this._changeDetectorRef.markForCheck())}_createOverlay(de){if(!this._overlayRef){const De=this._getOverlayConfig(de);this._subscribeToPositions(de,De.positionStrategy),this._overlayRef=this._overlay.create(De),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(de){return new Je.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,De){de.setPositionClasses&&De.positionChanges.subscribe(at=>{const Ot="start"===at.connectionPair.overlayX?"after":"before",Lt="top"===at.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>de.setPositionClasses(Ot,Lt)):de.setPositionClasses(Ot,Lt)})}_setPosition(de,De){let[at,Ot]="before"===de.xPosition?["end","start"]:["start","end"],[Lt,qt]="above"===de.yPosition?["bottom","top"]:["top","bottom"],[cn,pn]=[Lt,qt],[En,yt]=[at,Ot],rt=0;if(this.triggersSubmenu()){if(yt=at="before"===de.xPosition?"start":"end",Ot=En="end"===at?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ie=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ie?Ie._getHostElement().offsetTop:0}rt="bottom"===Lt?this._parentInnerPadding:-this._parentInnerPadding}}else de.overlapTrigger||(cn="top"===Lt?"bottom":"top",pn="top"===qt?"bottom":"top");De.withPositions([{originX:at,originY:cn,overlayX:En,overlayY:Lt,offsetY:rt},{originX:Ot,originY:cn,overlayX:yt,overlayY:Lt,offsetY:rt},{originX:at,originY:pn,overlayX:En,overlayY:qt,offsetY:-rt},{originX:Ot,originY:pn,overlayX:yt,overlayY:qt,offsetY:-rt}])}_menuClosingActions(){const de=this._overlayRef.backdropClick(),De=this._overlayRef.detachments(),at=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,m.of)(),Ot=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,w.h)(Lt=>Lt!==this._menuItemInstance),(0,w.h)(()=>this._menuOpen)):(0,m.of)();return(0,d.T)(de,at,Ot,De)}_handleMousedown(de){(0,s.X6)(de)||(this._openedBy=0===de.button?"mouse":void 0,this.triggersSubmenu()&&de.preventDefault())}_handleKeydown(de){const De=de.keyCode;(De===g.K5||De===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(De===g.SV&&"ltr"===this.dir||De===g.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,w.h)(de=>de===this._menuItemInstance&&!de.disabled),nt(0,_.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ee&&this.menu._isAnimating?this.menu._animationDone.pipe((0,b.q)(1),nt(0,_.E),(0,v.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(de){return(!this._portal||this._portal.templateRef!==de.templateRef)&&(this._portal=new pe.UE(de.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(De){return new(De||Dt)(n.\u0275\u0275directiveInject(Je.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(ct),n.\u0275\u0275directiveInject(H,8),n.\u0275\u0275directiveInject(He,10),n.\u0275\u0275directiveInject(Xe.Is,8),n.\u0275\u0275directiveInject(s.tE),n.\u0275\u0275directiveInject(n.NgZone))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Dt,hostVars:3,hostBindings:function(De,at){1&De&&n.\u0275\u0275listener("click",function(Lt){return at._handleClick(Lt)})("mousedown",function(Lt){return at._handleMousedown(Lt)})("keydown",function(Lt){return at._handleKeydown(Lt)}),2&De&&n.\u0275\u0275attribute("aria-haspopup",at.menu?"menu":null)("aria-expanded",at.menuOpen)("aria-controls",at.menuOpen?at.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"}})}return Dt})(),Qt=(()=>{class Dt extends Zt{static#e=this.\u0275fac=function(){let de;return function(at){return(de||(de=n.\u0275\u0275getInheritedFactory(Dt)))(at||Dt)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Dt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return Dt})(),dt=(()=>{class Dt{static#e=this.\u0275fac=function(De){return new(De||Dt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Dt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[wt],imports:[Ye.CommonModule,be.MatRippleModule,be.MatCommonModule,Je.U8,we.ZD,be.MatCommonModule]})}return Dt})()},1370:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{MatCell:()=>$e,MatCellDef:()=>Et,MatColumnDef:()=>ln,MatFooterCell:()=>Ke,MatFooterCellDef:()=>vn,MatFooterRow:()=>tn,MatFooterRowDef:()=>Mt,MatHeaderCell:()=>hn,MatHeaderCellDef:()=>Ut,MatHeaderRow:()=>kt,MatHeaderRowDef:()=>_t,MatNoDataRow:()=>Mn,MatRecycleRows:()=>Fe,MatRow:()=>Gt,MatRowDef:()=>Ft,MatTable:()=>je,MatTableDataSource:()=>bn,MatTableModule:()=>kn,MatTextColumn:()=>Vn,_MatTableDataSource:()=>Pn});var n=a(5879),s=a(9388),p=a(2495),g=a(3018),c=a(7394),d=a(9360),u=a(8251);class _ extends g.y{constructor(st,X){super(),this.source=st,this.subjectFactory=X,this._subject=null,this._refCount=0,this._connection=null,(0,d.A)(st)&&(this.lift=st.lift)}_subscribe(st){return this.getSubject().subscribe(st)}getSubject(){const st=this._subject;return(!st||st.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:st}=this;this._subject=this._connection=null,st?.unsubscribe()}connect(){let st=this._connection;if(!st){st=this._connection=new c.w0;const X=this.getSubject();st.add(this.source.subscribe((0,u.x)(X,void 0,()=>{this._teardown(),X.complete()},me=>{this._teardown(),X.error(me)},()=>this._teardown()))),st.closed&&(this._connection=null,st=c.w0.EMPTY)}return st}refCount(){return function m(){return(0,d.e)((ge,st)=>{let X=null;ge._refCount++;const me=(0,u.x)(st,void 0,void 0,void 0,()=>{if(!ge||ge._refCount<=0||0<--ge._refCount)return void(X=null);const ne=ge._connection,Qe=X;X=null,ne&&(!Qe||ne===Qe)&&ne.unsubscribe(),st.unsubscribe()});ge.subscribe(me),me.closed||(X=ge.connect())})}()(this)}}class f{}function y(ge){return ge&&"function"==typeof ge.connect&&!(ge instanceof _)}class v{applyChanges(st,X,me,ne,Qe){st.forEachOperation((L,Ve,Be)=>{let $t,Bt;if(null==L.previousIndex){const yn=me(L,Ve,Be);$t=X.createEmbeddedView(yn.templateRef,yn.context,yn.index),Bt=1}else null==Be?(X.remove(Ve),Bt=3):($t=X.get(Ve),X.move($t,Be),Bt=2);Qe&&Qe({context:$t?.context,operation:Bt,record:L})})}detach(){}}class w{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(st,X,me,ne,Qe){st.forEachOperation((L,Ve,Be)=>{let $t,Bt;null==L.previousIndex?($t=this._insertView(()=>me(L,Ve,Be),Be,X,ne(L)),Bt=$t?1:0):null==Be?(this._detachAndCacheView(Ve,X),Bt=3):($t=this._moveView(Ve,Be,X,ne(L)),Bt=2),Qe&&Qe({context:$t?.context,operation:Bt,record:L})})}detach(){for(const st of this._viewCache)st.destroy();this._viewCache=[]}_insertView(st,X,me,ne){const Qe=this._insertViewFromCache(X,me);if(Qe)return void(Qe.context.$implicit=ne);const L=st();return me.createEmbeddedView(L.templateRef,L.context,L.index)}_detachAndCacheView(st,X){const me=X.detach(st);this._maybeCacheView(me,X)}_moveView(st,X,me,ne){const Qe=me.get(st);return me.move(Qe,X),Qe.context.$implicit=ne,Qe}_maybeCacheView(st,X){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(st);else{const me=X.indexOf(st);-1===me?st.destroy():X.remove(me)}}_insertViewFromCache(st,X){const me=this._viewCache.pop();return me&&X.insert(me,st),me||null}}const K=new n.InjectionToken("_ViewRepeater");var V=a(2831),ee=a(9829),W=a(6814),Y=a(8645),ue=a(7715),ie=a(5619),te=a(4674),nt=a(2096),be=a(9773),Ye=a(8180);const pe=[[["caption"]],[["colgroup"],["col"]]],Le=["caption","colgroup, col"];function Xe(ge,st){if(1&ge&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ge){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",X.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",X.headerText," ")}}function Je(ge,st){if(1&ge&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ge){const X=st.$implicit,me=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",me.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",me.dataAccessor(X,me.name)," ")}}function q(ge){return class extends ge{get sticky(){return this._sticky}set sticky(st){const X=this._sticky;this._sticky=(0,p.Ig)(st),this._hasStickyChanged=X!==this._sticky}hasStickyChanged(){const st=this._hasStickyChanged;return this._hasStickyChanged=!1,st}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...st){super(...st),this._sticky=!1,this._hasStickyChanged=!1}}}const we=new n.InjectionToken("CDK_TABLE"),re=new n.InjectionToken("text-column-options");let J=(()=>{class ge{constructor(X){this.template=X}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","cdkCellDef",""]]})}return ge})(),z=(()=>{class ge{constructor(X){this.template=X}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","cdkHeaderCellDef",""]]})}return ge})(),$=(()=>{class ge{constructor(X){this.template=X}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","cdkFooterCellDef",""]]})}return ge})();class U{}const R=q(U);let H=(()=>{class ge extends R{get name(){return this._name}set name(X){this._setNameInput(X)}get stickyEnd(){return this._stickyEnd}set stickyEnd(X){const me=this._stickyEnd;this._stickyEnd=(0,p.Ig)(X),this._hasStickyChanged=me!==this._stickyEnd}constructor(X){super(),this._table=X,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(X){X&&(this._name=X,this.cssClassFriendlyName=X.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(we,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","cdkColumnDef",""]],contentQueries:function(me,ne,Qe){if(1&me&&(n.\u0275\u0275contentQuery(Qe,J,5),n.\u0275\u0275contentQuery(Qe,z,5),n.\u0275\u0275contentQuery(Qe,$,5)),2&me){let L;n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(ne.cell=L.first),n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(ne.headerCell=L.first),n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(ne.footerCell=L.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})();class Oe{constructor(st,X){X.nativeElement.classList.add(...st._columnCssClassName)}}let He=(()=>{class ge extends Oe{constructor(X,me){super(X,me)}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(H),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),vt=(()=>{class ge extends Oe{constructor(X,me){if(super(X,me),1===X._table?._elementRef.nativeElement.nodeType){const ne=X._table._elementRef.nativeElement.getAttribute("role");me.nativeElement.setAttribute("role","grid"===ne||"treegrid"===ne?"gridcell":"cell")}}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(H),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),Ct=(()=>{class ge extends Oe{constructor(X,me){if(super(X,me),1===X._table?._elementRef.nativeElement.nodeType){const ne=X._table._elementRef.nativeElement.getAttribute("role");me.nativeElement.setAttribute("role","grid"===ne||"treegrid"===ne?"gridcell":"cell")}}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(H),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return ge})();class lt{constructor(){this.tasks=[],this.endTasks=[]}}const Te=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let xe=(()=>{class ge{constructor(X){this._ngZone=X,this._currentSchedule=null,this._destroyed=new Y.x}schedule(X){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(X)}scheduleEnd(X){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(X)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new lt,this._getScheduleObservable().pipe((0,be.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const X=this._currentSchedule;this._currentSchedule=new lt;for(const me of X.tasks)me();for(const me of X.endTasks)me()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,ue.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Ye.q)(1))}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac})}return ge})(),Me=(()=>{class ge{constructor(X,me){this.template=X,this._differs=me}ngOnChanges(X){if(!this._columnsDiffer){const me=X.columns&&X.columns.currentValue||[];this._columnsDiffer=this._differs.find(me).create(),this._columnsDiffer.diff(me)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(X){return this instanceof ut?X.headerCell.template:this instanceof Ee?X.footerCell.template:X.cell.template}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,features:[n.\u0275\u0275NgOnChangesFeature]})}return ge})();class Re extends Me{}const gt=q(Re);let ut=(()=>{class ge extends gt{constructor(X,me,ne){super(X,me),this._table=ne}ngOnChanges(X){super.ngOnChanges(X)}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(we,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ge})();class et extends Me{}const ae=q(et);let Ee=(()=>{class ge extends ae{constructor(X,me,ne){super(X,me),this._table=ne}ngOnChanges(X){super.ngOnChanges(X)}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(we,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ge})(),ke=(()=>{class ge extends Me{constructor(X,me,ne){super(X,me),this._table=ne}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(we,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),ct=(()=>{class ge{static#e=this.mostRecentCellOutlet=null;constructor(X){this._viewContainer=X,ge.mostRecentCellOutlet=this}ngOnDestroy(){ge.mostRecentCellOutlet===this&&(ge.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","cdkCellOutlet",""]]})}return ge})(),ot=(()=>{class ge{static#e=this.\u0275fac=function(me){return new(me||ge)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,ne){1&me&&n.\u0275\u0275elementContainer(0,0)},dependencies:[ct],encapsulation:2})}return ge})(),wt=(()=>{class ge{static#e=this.\u0275fac=function(me){return new(me||ge)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,ne){1&me&&n.\u0275\u0275elementContainer(0,0)},dependencies:[ct],encapsulation:2})}return ge})(),jt=(()=>{class ge{static#e=this.\u0275fac=function(me){return new(me||ge)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,ne){1&me&&n.\u0275\u0275elementContainer(0,0)},dependencies:[ct],encapsulation:2})}return ge})(),Kt=(()=>{class ge{constructor(X){this.templateRef=X,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["ng-template","cdkNoDataRow",""]]})}return ge})();const Zt=["top","bottom","left","right"];class Qt{constructor(st,X,me,ne,Qe=!0,L=!0,Ve){this._isNativeHtmlTable=st,this._stickCellCss=X,this.direction=me,this._coalescedStyleScheduler=ne,this._isBrowser=Qe,this._needsPositionStickyOnElement=L,this._positionListener=Ve,this._cachedCellWidths=[],this._borderCellCss={top:`${X}-border-elem-top`,bottom:`${X}-border-elem-bottom`,left:`${X}-border-elem-left`,right:`${X}-border-elem-right`}}clearStickyPositioning(st,X){const me=[];for(const ne of st)if(ne.nodeType===ne.ELEMENT_NODE){me.push(ne);for(let Qe=0;Qe<ne.children.length;Qe++)me.push(ne.children[Qe])}this._coalescedStyleScheduler.schedule(()=>{for(const ne of me)this._removeStickyStyle(ne,X)})}updateStickyColumns(st,X,me,ne=!0){if(!st.length||!this._isBrowser||!X.some(Sn=>Sn)&&!me.some(Sn=>Sn))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Qe=st[0],L=Qe.children.length,Ve=this._getCellWidths(Qe,ne),Be=this._getStickyStartColumnPositions(Ve,X),$t=this._getStickyEndColumnPositions(Ve,me),Bt=X.lastIndexOf(!0),yn=me.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Sn="rtl"===this.direction,Kn=Sn?"right":"left",ii=Sn?"left":"right";for(const Ii of st)for(let ri=0;ri<L;ri++){const Ji=Ii.children[ri];X[ri]&&this._addStickyStyle(Ji,Kn,Be[ri],ri===Bt),me[ri]&&this._addStickyStyle(Ji,ii,$t[ri],ri===yn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Bt?[]:Ve.slice(0,Bt+1).map((Ii,ri)=>X[ri]?Ii:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===yn?[]:Ve.slice(yn).map((Ii,ri)=>me[ri+yn]?Ii:null).reverse()}))})}stickRows(st,X,me){if(!this._isBrowser)return;const ne="bottom"===me?st.slice().reverse():st,Qe="bottom"===me?X.slice().reverse():X,L=[],Ve=[],Be=[];for(let Bt=0,yn=0;Bt<ne.length;Bt++){if(!Qe[Bt])continue;L[Bt]=yn;const Sn=ne[Bt];Be[Bt]=this._isNativeHtmlTable?Array.from(Sn.children):[Sn];const Kn=Sn.getBoundingClientRect().height;yn+=Kn,Ve[Bt]=Kn}const $t=Qe.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Bt=0;Bt<ne.length;Bt++){if(!Qe[Bt])continue;const yn=L[Bt],Sn=Bt===$t;for(const Kn of Be[Bt])this._addStickyStyle(Kn,me,yn,Sn)}"top"===me?this._positionListener?.stickyHeaderRowsUpdated({sizes:Ve,offsets:L,elements:Be}):this._positionListener?.stickyFooterRowsUpdated({sizes:Ve,offsets:L,elements:Be})})}updateStickyFooterContainer(st,X){if(!this._isNativeHtmlTable)return;const me=st.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{X.some(ne=>!ne)?this._removeStickyStyle(me,["bottom"]):this._addStickyStyle(me,"bottom",0,!1)})}_removeStickyStyle(st,X){for(const ne of X)st.style[ne]="",st.classList.remove(this._borderCellCss[ne]);Zt.some(ne=>-1===X.indexOf(ne)&&st.style[ne])?st.style.zIndex=this._getCalculatedZIndex(st):(st.style.zIndex="",this._needsPositionStickyOnElement&&(st.style.position=""),st.classList.remove(this._stickCellCss))}_addStickyStyle(st,X,me,ne){st.classList.add(this._stickCellCss),ne&&st.classList.add(this._borderCellCss[X]),st.style[X]=`${me}px`,st.style.zIndex=this._getCalculatedZIndex(st),this._needsPositionStickyOnElement&&(st.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(st){const X={top:100,bottom:10,left:1,right:1};let me=0;for(const ne of Zt)st.style[ne]&&(me+=X[ne]);return me?`${me}`:""}_getCellWidths(st,X=!0){if(!X&&this._cachedCellWidths.length)return this._cachedCellWidths;const me=[],ne=st.children;for(let Qe=0;Qe<ne.length;Qe++)me.push(ne[Qe].getBoundingClientRect().width);return this._cachedCellWidths=me,me}_getStickyStartColumnPositions(st,X){const me=[];let ne=0;for(let Qe=0;Qe<st.length;Qe++)X[Qe]&&(me[Qe]=ne,ne+=st[Qe]);return me}_getStickyEndColumnPositions(st,X){const me=[];let ne=0;for(let Qe=st.length;Qe>0;Qe--)X[Qe]&&(me[Qe]=ne,ne+=st[Qe]);return me}}const qt=new n.InjectionToken("CDK_SPL");let pn=(()=>{class ge{constructor(X,me){this.viewContainer=X,this.elementRef=me}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","rowOutlet",""]]})}return ge})(),En=(()=>{class ge{constructor(X,me){this.viewContainer=X,this.elementRef=me}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","headerRowOutlet",""]]})}return ge})(),yt=(()=>{class ge{constructor(X,me){this.viewContainer=X,this.elementRef=me}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","footerRowOutlet",""]]})}return ge})(),rt=(()=>{class ge{constructor(X,me){this.viewContainer=X,this.elementRef=me}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","noDataRowOutlet",""]]})}return ge})(),mt=(()=>{class ge{get trackBy(){return this._trackByFn}set trackBy(X){this._trackByFn=X}get dataSource(){return this._dataSource}set dataSource(X){this._dataSource!==X&&this._switchDataSource(X)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(X){this._multiTemplateDataRows=(0,p.Ig)(X),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(X){this._fixedLayout=(0,p.Ig)(X),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(X,me,ne,Qe,L,Ve,Be,$t,Bt,yn,Sn,Kn){this._differs=X,this._changeDetectorRef=me,this._elementRef=ne,this._dir=L,this._platform=Be,this._viewRepeater=$t,this._coalescedStyleScheduler=Bt,this._viewportRuler=yn,this._stickyPositioningListener=Sn,this._ngZone=Kn,this._onDestroy=new Y.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 ie.X({start:0,end:Number.MAX_VALUE}),Qe||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ve,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((X,me)=>this.trackBy?this.trackBy(me.dataIndex,me.data):me),this._viewportRuler.change().pipe((0,be.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const me=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||me,this._forceRecalculateCellWidths=me,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(X=>{X.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),y(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const X=this._dataDiffer.diff(this._renderRows);if(!X)return this._updateNoDataRow(),void this.contentChanged.next();const me=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(X,me,(ne,Qe,L)=>this._getEmbeddedViewArgs(ne.item,L),ne=>ne.item.data,ne=>{1===ne.operation&&ne.context&&this._renderCellTemplateForItem(ne.record.item.rowDef,ne.context)}),this._updateRowIndexContext(),X.forEachIdentityChange(ne=>{me.get(ne.currentIndex).context.$implicit=ne.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,Ye.q)(1),(0,be.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(X){this._customColumnDefs.add(X)}removeColumnDef(X){this._customColumnDefs.delete(X)}addRowDef(X){this._customRowDefs.add(X)}removeRowDef(X){this._customRowDefs.delete(X)}addHeaderRowDef(X){this._customHeaderRowDefs.add(X),this._headerRowDefChanged=!0}removeHeaderRowDef(X){this._customHeaderRowDefs.delete(X),this._headerRowDefChanged=!0}addFooterRowDef(X){this._customFooterRowDefs.add(X),this._footerRowDefChanged=!0}removeFooterRowDef(X){this._customFooterRowDefs.delete(X),this._footerRowDefChanged=!0}setNoDataRow(X){this._customNoDataRow=X}updateStickyHeaderRowStyles(){const X=this._getRenderedRows(this._headerRowOutlet),ne=this._elementRef.nativeElement.querySelector("thead");ne&&(ne.style.display=X.length?"":"none");const Qe=this._headerRowDefs.map(L=>L.sticky);this._stickyStyler.clearStickyPositioning(X,["top"]),this._stickyStyler.stickRows(X,Qe,"top"),this._headerRowDefs.forEach(L=>L.resetStickyChanged())}updateStickyFooterRowStyles(){const X=this._getRenderedRows(this._footerRowOutlet),ne=this._elementRef.nativeElement.querySelector("tfoot");ne&&(ne.style.display=X.length?"":"none");const Qe=this._footerRowDefs.map(L=>L.sticky);this._stickyStyler.clearStickyPositioning(X,["bottom"]),this._stickyStyler.stickRows(X,Qe,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Qe),this._footerRowDefs.forEach(L=>L.resetStickyChanged())}updateStickyColumnStyles(){const X=this._getRenderedRows(this._headerRowOutlet),me=this._getRenderedRows(this._rowOutlet),ne=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...X,...me,...ne],["left","right"]),this._stickyColumnStylesNeedReset=!1),X.forEach((Qe,L)=>{this._addStickyColumnStyles([Qe],this._headerRowDefs[L])}),this._rowDefs.forEach(Qe=>{const L=[];for(let Ve=0;Ve<me.length;Ve++)this._renderRows[Ve].rowDef===Qe&&L.push(me[Ve]);this._addStickyColumnStyles(L,Qe)}),ne.forEach((Qe,L)=>{this._addStickyColumnStyles([Qe],this._footerRowDefs[L])}),Array.from(this._columnDefsByName.values()).forEach(Qe=>Qe.resetStickyChanged())}_getAllRenderRows(){const X=[],me=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let ne=0;ne<this._data.length;ne++){let Qe=this._data[ne];const L=this._getRenderRowsForData(Qe,ne,me.get(Qe));this._cachedRenderRowsMap.has(Qe)||this._cachedRenderRowsMap.set(Qe,new WeakMap);for(let Ve=0;Ve<L.length;Ve++){let Be=L[Ve];const $t=this._cachedRenderRowsMap.get(Be.data);$t.has(Be.rowDef)?$t.get(Be.rowDef).push(Be):$t.set(Be.rowDef,[Be]),X.push(Be)}}return X}_getRenderRowsForData(X,me,ne){return this._getRowDefs(X,me).map(L=>{const Ve=ne&&ne.has(L)?ne.get(L):[];if(Ve.length){const Be=Ve.shift();return Be.dataIndex=me,Be}return{data:X,rowDef:L,dataIndex:me}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Rt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(me=>{this._columnDefsByName.has(me.name),this._columnDefsByName.set(me.name,me)})}_cacheRowDefs(){this._headerRowDefs=Rt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Rt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Rt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const X=this._rowDefs.filter(me=>!me.when);this._defaultRowDef=X[0]}_renderUpdatedColumns(){const X=(L,Ve)=>L||!!Ve.getColumnsDiff(),me=this._rowDefs.reduce(X,!1);me&&this._forceRenderDataRows();const ne=this._headerRowDefs.reduce(X,!1);ne&&this._forceRenderHeaderRows();const Qe=this._footerRowDefs.reduce(X,!1);return Qe&&this._forceRenderFooterRows(),me||ne||Qe}_switchDataSource(X){this._data=[],y(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),X||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=X}_observeRenderChanges(){if(!this.dataSource)return;let X;y(this.dataSource)?X=this.dataSource.connect(this):function ve(ge){return!!ge&&(ge instanceof g.y||(0,te.m)(ge.lift)&&(0,te.m)(ge.subscribe))}(this.dataSource)?X=this.dataSource:Array.isArray(this.dataSource)&&(X=(0,nt.of)(this.dataSource)),this._renderChangeSubscription=X.pipe((0,be.R)(this._onDestroy)).subscribe(me=>{this._data=me||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((X,me)=>this._renderRow(this._headerRowOutlet,X,me)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((X,me)=>this._renderRow(this._footerRowOutlet,X,me)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(X,me){const ne=Array.from(me.columns||[]).map(Ve=>this._columnDefsByName.get(Ve)),Qe=ne.map(Ve=>Ve.sticky),L=ne.map(Ve=>Ve.stickyEnd);this._stickyStyler.updateStickyColumns(X,Qe,L,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(X){const me=[];for(let ne=0;ne<X.viewContainer.length;ne++){const Qe=X.viewContainer.get(ne);me.push(Qe.rootNodes[0])}return me}_getRowDefs(X,me){if(1==this._rowDefs.length)return[this._rowDefs[0]];let ne=[];if(this.multiTemplateDataRows)ne=this._rowDefs.filter(Qe=>!Qe.when||Qe.when(me,X));else{let Qe=this._rowDefs.find(L=>L.when&&L.when(me,X))||this._defaultRowDef;Qe&&ne.push(Qe)}return ne}_getEmbeddedViewArgs(X,me){return{templateRef:X.rowDef.template,context:{$implicit:X.data},index:me}}_renderRow(X,me,ne,Qe={}){const L=X.viewContainer.createEmbeddedView(me.template,Qe,ne);return this._renderCellTemplateForItem(me,Qe),L}_renderCellTemplateForItem(X,me){for(let ne of this._getCellTemplates(X))ct.mostRecentCellOutlet&&ct.mostRecentCellOutlet._viewContainer.createEmbeddedView(ne,me);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const X=this._rowOutlet.viewContainer;for(let me=0,ne=X.length;me<ne;me++){const L=X.get(me).context;L.count=ne,L.first=0===me,L.last=me===ne-1,L.even=me%2==0,L.odd=!L.even,this.multiTemplateDataRows?(L.dataIndex=this._renderRows[me].dataIndex,L.renderIndex=me):L.index=this._renderRows[me].dataIndex}}_getCellTemplates(X){return X&&X.columns?Array.from(X.columns,me=>{const ne=this._columnDefsByName.get(me);return X.extractCellTemplate(ne)}):[]}_applyNativeTableSections(){const X=this._document.createDocumentFragment(),me=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const ne of me){const Qe=this._document.createElement(ne.tag);Qe.setAttribute("role","rowgroup");for(const L of ne.outlets)Qe.appendChild(L.elementRef.nativeElement);X.appendChild(Qe)}this._elementRef.nativeElement.appendChild(X)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const X=(me,ne)=>me||ne.hasStickyChanged();this._headerRowDefs.reduce(X,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(X,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(X,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Qt(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,nt.of)()).pipe((0,be.R)(this._onDestroy)).subscribe(me=>{this._stickyStyler.direction=me,this.updateStickyColumnStyles()})}_getOwnDefs(X){return X.filter(me=>!me._table||me._table===this)}_updateNoDataRow(){const X=this._customNoDataRow||this._noDataRow;if(!X)return;const me=0===this._rowOutlet.viewContainer.length;if(me===this._isShowingNoDataRow)return;const ne=this._noDataRowOutlet.viewContainer;if(me){const Qe=ne.createEmbeddedView(X.templateRef),L=Qe.rootNodes[0];1===Qe.rootNodes.length&&L?.nodeType===this._document.ELEMENT_NODE&&(L.setAttribute("role","row"),L.classList.add(X._contentClassName))}else ne.clear();this._isShowingNoDataRow=me,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(s.Is,8),n.\u0275\u0275directiveInject(W.DOCUMENT),n.\u0275\u0275directiveInject(V.t4),n.\u0275\u0275directiveInject(K),n.\u0275\u0275directiveInject(Te),n.\u0275\u0275directiveInject(ee.rL),n.\u0275\u0275directiveInject(qt,12),n.\u0275\u0275directiveInject(n.NgZone,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(me,ne,Qe){if(1&me&&(n.\u0275\u0275contentQuery(Qe,Kt,5),n.\u0275\u0275contentQuery(Qe,H,5),n.\u0275\u0275contentQuery(Qe,ke,5),n.\u0275\u0275contentQuery(Qe,ut,5),n.\u0275\u0275contentQuery(Qe,Ee,5)),2&me){let L;n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(ne._noDataRow=L.first),n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(ne._contentColumnDefs=L),n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(ne._contentRowDefs=L),n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(ne._contentHeaderRowDefs=L),n.\u0275\u0275queryRefresh(L=n.\u0275\u0275loadQuery())&&(ne._contentFooterRowDefs=L)}},viewQuery:function(me,ne){if(1&me&&(n.\u0275\u0275viewQuery(pn,7),n.\u0275\u0275viewQuery(En,7),n.\u0275\u0275viewQuery(yt,7),n.\u0275\u0275viewQuery(rt,7)),2&me){let Qe;n.\u0275\u0275queryRefresh(Qe=n.\u0275\u0275loadQuery())&&(ne._rowOutlet=Qe.first),n.\u0275\u0275queryRefresh(Qe=n.\u0275\u0275loadQuery())&&(ne._headerRowOutlet=Qe.first),n.\u0275\u0275queryRefresh(Qe=n.\u0275\u0275loadQuery())&&(ne._footerRowOutlet=Qe.first),n.\u0275\u0275queryRefresh(Qe=n.\u0275\u0275loadQuery())&&(ne._noDataRowOutlet=Qe.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(me,ne){2&me&&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:we,useExisting:ge},{provide:K,useClass:v},{provide:Te,useClass:xe},{provide:qt,useValue:null}])],ngContentSelectors:Le,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(me,ne){1&me&&(n.\u0275\u0275projectionDef(pe),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[pn,En,yt,rt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return ge})();function Rt(ge,st){return ge.concat(Array.from(st))}let Jt=(()=>{class ge{get name(){return this._name}set name(X){this._name=X,this._syncColumnDefName()}constructor(X,me){this._table=X,this._options=me,this.justify="start",this._options=me||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((X,me)=>X[me])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const X=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(X):X[0].toUpperCase()+X.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(me){return new(me||ge)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject(re,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["cdk-text-column"]],viewQuery:function(me,ne){if(1&me&&(n.\u0275\u0275viewQuery(H,7),n.\u0275\u0275viewQuery(J,7),n.\u0275\u0275viewQuery(z,7)),2&me){let Qe;n.\u0275\u0275queryRefresh(Qe=n.\u0275\u0275loadQuery())&&(ne.columnDef=Qe.first),n.\u0275\u0275queryRefresh(Qe=n.\u0275\u0275loadQuery())&&(ne.cell=Qe.first),n.\u0275\u0275queryRefresh(Qe=n.\u0275\u0275loadQuery())&&(ne.headerCell=Qe.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(me,ne){1&me&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Xe,2,3,"th",1),n.\u0275\u0275template(2,Je,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[J,z,H,Ct,He],encapsulation:2})}return ge})(),ye=(()=>{class ge{static#e=this.\u0275fac=function(me){return new(me||ge)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ge});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[ee.Cl]})}return ge})();var G=a(3680),k=a(3019),fe=a(2572),Ze=a(7398);const It=[[["caption"]],[["colgroup"],["col"]]],tt=["caption","colgroup, col"];function St(ge,st){if(1&ge&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ge){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",X.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",X.headerText," ")}}function _e(ge,st){if(1&ge&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ge){const X=st.$implicit,me=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",me.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",me.dataAccessor(X,me.name)," ")}}let Fe=(()=>{class ge{static#e=this.\u0275fac=function(me){return new(me||ge)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:K,useClass:w}])]})}return ge})(),je=(()=>{class ge extends mt{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(me,ne){2&me&&n.\u0275\u0275classProp("mdc-table-fixed-layout",ne.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:mt,useExisting:ge},{provide:we,useExisting:ge},{provide:Te,useClass:xe},{provide:K,useClass:v},{provide:qt,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:tt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(me,ne){1&me&&(n.\u0275\u0275projectionDef(It),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[pn,En,yt,rt],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return ge})(),Et=(()=>{class ge extends J{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:J,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),Ut=(()=>{class ge extends z{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:z,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),vn=(()=>{class ge extends ${static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:$,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),ln=(()=>{class ge extends H{get name(){return this._name}set name(X){this._setNameInput(X)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:H,useExisting:ge},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),hn=(()=>{class ge extends He{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),Ke=(()=>{class ge extends vt{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),$e=(()=>{class ge extends Ct{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),_t=(()=>{class ge extends ut{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ut,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),Mt=(()=>{class ge extends Ee{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),Ft=(()=>{class ge extends ke{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ke,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),kt=(()=>{class ge extends ot{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:ot,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,ne){1&me&&n.\u0275\u0275elementContainer(0,0)},dependencies:[ct],encapsulation:2})}return ge})(),tn=(()=>{class ge extends wt{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:wt,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,ne){1&me&&n.\u0275\u0275elementContainer(0,0)},dependencies:[ct],encapsulation:2})}return ge})(),Gt=(()=>{class ge extends jt{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:jt,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,ne){1&me&&n.\u0275\u0275elementContainer(0,0)},dependencies:[ct],encapsulation:2})}return ge})(),Mn=(()=>{class ge extends Kt{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ge,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Kt,useExisting:ge}]),n.\u0275\u0275InheritDefinitionFeature]})}return ge})(),Vn=(()=>{class ge extends Jt{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(ge)))(ne||ge)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ge,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(me,ne){1&me&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,St,2,3,"th",1),n.\u0275\u0275template(2,_e,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[Ut,ln,Et,hn,$e],encapsulation:2})}return ge})(),kn=(()=>{class ge{static#e=this.\u0275fac=function(me){return new(me||ge)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ge});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[G.MatCommonModule,ye,G.MatCommonModule]})}return ge})();class Pn extends f{get data(){return this._data.value}set data(st){st=Array.isArray(st)?st:[],this._data.next(st),this._renderChangesSubscription||this._filterData(st)}get filter(){return this._filter.value}set filter(st){this._filter.next(st),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(st){this._sort=st,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(st){this._paginator=st,this._updateChangeSubscription()}constructor(st=[]){super(),this._renderData=new ie.X([]),this._filter=new ie.X(""),this._internalPageChanges=new Y.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(X,me)=>{const ne=X[me];if((0,p.t6)(ne)){const Qe=Number(ne);return Qe<9007199254740991?Qe:ne}return ne},this.sortData=(X,me)=>{const ne=me.active,Qe=me.direction;return ne&&""!=Qe?X.sort((L,Ve)=>{let Be=this.sortingDataAccessor(L,ne),$t=this.sortingDataAccessor(Ve,ne);const Bt=typeof Be,yn=typeof $t;Bt!==yn&&("number"===Bt&&(Be+=""),"number"===yn&&($t+=""));let Sn=0;return null!=Be&&null!=$t?Be>$t?Sn=1:Be<$t&&(Sn=-1):null!=Be?Sn=1:null!=$t&&(Sn=-1),Sn*("asc"==Qe?1:-1)}):X},this.filterPredicate=(X,me)=>{const ne=Object.keys(X).reduce((L,Ve)=>L+X[Ve]+"\u25ec","").toLowerCase(),Qe=me.trim().toLowerCase();return-1!=ne.indexOf(Qe)},this._data=new ie.X(st),this._updateChangeSubscription()}_updateChangeSubscription(){const st=this._sort?(0,k.T)(this._sort.sortChange,this._sort.initialized):(0,nt.of)(null),X=this._paginator?(0,k.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,nt.of)(null),ne=(0,fe.a)([this._data,this._filter]).pipe((0,Ze.U)(([Ve])=>this._filterData(Ve))),Qe=(0,fe.a)([ne,st]).pipe((0,Ze.U)(([Ve])=>this._orderData(Ve))),L=(0,fe.a)([Qe,X]).pipe((0,Ze.U)(([Ve])=>this._pageData(Ve)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=L.subscribe(Ve=>this._renderData.next(Ve))}_filterData(st){return this.filteredData=null==this.filter||""===this.filter?st:st.filter(X=>this.filterPredicate(X,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(st){return this.sort?this.sortData(st.slice(),this.sort):st}_pageData(st){if(!this.paginator)return st;const X=this.paginator.pageIndex*this.paginator.pageSize;return st.slice(X,X+this.paginator.pageSize)}_updatePaginator(st){Promise.resolve().then(()=>{const X=this.paginator;if(X&&(X.length=st,X.pageIndex>0)){const me=Math.ceil(X.length/X.pageSize)-1||0,ne=Math.min(X.pageIndex,me);ne!==X.pageIndex&&(X.pageIndex=ne,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class bn extends Pn{}},4104:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TAB:()=>et,MAT_TABS_CONFIG:()=>En,MAT_TAB_CONTENT:()=>Re,MAT_TAB_GROUP:()=>Ue,MAT_TAB_LABEL:()=>ut,MatInkBar:()=>ct,MatPaginatedTabHeader:()=>qt,MatTab:()=>De,MatTabBody:()=>Me,MatTabBodyPortal:()=>xe,MatTabChangeEvent:()=>mt,MatTabContent:()=>gt,MatTabGroup:()=>We,MatTabHeader:()=>pn,MatTabLabel:()=>ae,MatTabLabelWrapper:()=>dt,MatTabLink:()=>fe,MatTabNav:()=>k,MatTabNavPanel:()=>Ze,MatTabsModule:()=>It,_MAT_INK_BAR_POSITIONER:()=>jt,_MAT_INK_BAR_POSITIONER_FACTORY:()=>wt,_MatTabBase:()=>de,_MatTabBodyBase:()=>Ne,_MatTabGroupBase:()=>Ie,_MatTabHeaderBase:()=>cn,_MatTabLabelWrapperBase:()=>Zt,_MatTabLinkBase:()=>ye,_MatTabNavBase:()=>Jt,matTabsAnimations:()=>Te});var n=a(6814),s=a(5879),p=a(3680),g=a(8484),c=a(7131),d=a(4300),u=a(9388),m=a(7394),_=a(8645),f=a(2438),y=a(2096),b=a(3019),v=a(6232),w=a(3018),O=a(4825),F=a(5619),S=a(7921),K=a(3997),V=a(9773),ee=a(8180),W=a(4664),Y=a(836),ue=a(2181),ie=a(6825),te=a(2495),ve=a(9829),nt=a(2831),be=a(6028);function Ye(tt,St){}const pe=function(tt){return{animationDuration:tt}},Le=function(tt,St){return{value:tt,params:St}};function Xe(tt,St){1&tt&&s.\u0275\u0275projection(0)}const Je=["*"],q=["tabListContainer"],we=["tabList"],re=["tabListInner"],J=["nextPaginator"],z=["previousPaginator"],$=["tabBodyWrapper"],U=["tabHeader"];function R(tt,St){}function H(tt,St){if(1&tt&&s.\u0275\u0275template(0,R,0,0,"ng-template",14),2&tt){const _e=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275property("cdkPortalOutlet",_e.templateLabel)}}function Oe(tt,St){if(1&tt&&s.\u0275\u0275text(0),2&tt){const _e=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275textInterpolate(_e.textLabel)}}function He(tt,St){if(1&tt){const _e=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"div",6,7),s.\u0275\u0275listener("click",function(){const je=s.\u0275\u0275restoreView(_e),Et=je.$implicit,Ut=je.index,vn=s.\u0275\u0275nextContext(),ln=s.\u0275\u0275reference(1);return s.\u0275\u0275resetView(vn._handleClick(Et,ln,Ut))})("cdkFocusChange",function(je){const Ut=s.\u0275\u0275restoreView(_e).index,vn=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(vn._tabFocusChanged(je,Ut))}),s.\u0275\u0275element(2,"span",8)(3,"div",9),s.\u0275\u0275elementStart(4,"span",10)(5,"span",11),s.\u0275\u0275template(6,H,1,1,"ng-template",12),s.\u0275\u0275template(7,Oe,1,1,"ng-template",null,13,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementEnd()()()}if(2&tt){const _e=St.$implicit,Fe=St.index,je=s.\u0275\u0275reference(1),Et=s.\u0275\u0275reference(8),Ut=s.\u0275\u0275nextContext();s.\u0275\u0275classProp("mdc-tab--active",Ut.selectedIndex===Fe),s.\u0275\u0275property("id",Ut._getTabLabelId(Fe))("ngClass",_e.labelClass)("disabled",_e.disabled)("fitInkBarToContent",Ut.fitInkBarToContent),s.\u0275\u0275attribute("tabIndex",Ut._getTabIndex(Fe))("aria-posinset",Fe+1)("aria-setsize",Ut._tabs.length)("aria-controls",Ut._getTabContentId(Fe))("aria-selected",Ut.selectedIndex===Fe)("aria-label",_e.ariaLabel||null)("aria-labelledby",!_e.ariaLabel&&_e.ariaLabelledby?_e.ariaLabelledby:null),s.\u0275\u0275advance(3),s.\u0275\u0275property("matRippleTrigger",je)("matRippleDisabled",_e.disabled||Ut.disableRipple),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngIf",_e.templateLabel)("ngIfElse",Et)}}function vt(tt,St){if(1&tt){const _e=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"mat-tab-body",15),s.\u0275\u0275listener("_onCentered",function(){s.\u0275\u0275restoreView(_e);const je=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(je._removeTabBodyWrapperHeight())})("_onCentering",function(je){s.\u0275\u0275restoreView(_e);const Et=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(Et._setTabBodyWrapperHeight(je))}),s.\u0275\u0275elementEnd()}if(2&tt){const _e=St.$implicit,Fe=St.index,je=s.\u0275\u0275nextContext();s.\u0275\u0275classProp("mat-mdc-tab-body-active",je.selectedIndex===Fe),s.\u0275\u0275property("id",je._getTabContentId(Fe))("ngClass",_e.bodyClass)("content",_e.content)("position",_e.position)("origin",_e.origin)("animationDuration",je.animationDuration)("preserveContent",je.preserveContent),s.\u0275\u0275attribute("tabindex",null!=je.contentTabIndex&&je.selectedIndex===Fe?je.contentTabIndex:null)("aria-labelledby",je._getTabLabelId(Fe))("aria-hidden",je.selectedIndex!==Fe)}}const Ct=["mat-tab-nav-bar",""],lt=["mat-tab-link",""],Te={translateTab:(0,ie.X$)("translateTab",[(0,ie.SB)("center, void, left-origin-center, right-origin-center",(0,ie.oB)({transform:"none"})),(0,ie.SB)("left",(0,ie.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ie.SB)("right",(0,ie.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ie.eR)("* => left, * => right, left => center, right => center",(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ie.eR)("void => left-origin-center",[(0,ie.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ie.eR)("void => right-origin-center",[(0,ie.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let xe=(()=>{class tt extends g.Pl{constructor(_e,Fe,je,Et){super(_e,Fe,Et),this._host=je,this._centeringSub=m.w0.EMPTY,this._leavingSub=m.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,S.O)(this._host._isCenterPosition(this._host._position))).subscribe(_e=>{_e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ComponentFactoryResolver),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject((0,s.forwardRef)(()=>Me)),s.\u0275\u0275directiveInject(n.DOCUMENT))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,selectors:[["","matTabBodyHost",""]],features:[s.\u0275\u0275InheritDefinitionFeature]})}return tt})(),Ne=(()=>{class tt{set position(_e){this._positionIndex=_e,this._computePositionAnimationState()}constructor(_e,Fe,je){this._elementRef=_e,this._dir=Fe,this._dirChangeSubscription=m.w0.EMPTY,this._translateTabComplete=new _.x,this._onCentering=new s.EventEmitter,this._beforeCentering=new s.EventEmitter,this._afterLeavingCenter=new s.EventEmitter,this._onCentered=new s.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,Fe&&(this._dirChangeSubscription=Fe.change.subscribe(Et=>{this._computePositionAnimationState(Et),je.markForCheck()})),this._translateTabComplete.pipe((0,K.x)((Et,Ut)=>Et.fromState===Ut.fromState&&Et.toState===Ut.toState)).subscribe(Et=>{this._isCenterPosition(Et.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Et.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(_e){const Fe=this._isCenterPosition(_e.toState);this._beforeCentering.emit(Fe),Fe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(_e){return"center"==_e||"left-origin-center"==_e||"right-origin-center"==_e}_computePositionAnimationState(_e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==_e?"left":"right":this._positionIndex>0?"ltr"==_e?"right":"left":"center"}_computePositionFromOrigin(_e){const Fe=this._getLayoutDirection();return"ltr"==Fe&&_e<=0||"rtl"==Fe&&_e>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.ChangeDetectorRef))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return tt})(),Me=(()=>{class tt extends Ne{constructor(_e,Fe,je){super(_e,Fe,je)}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.ChangeDetectorRef))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:tt,selectors:[["mat-tab-body"]],viewQuery:function(Fe,je){if(1&Fe&&s.\u0275\u0275viewQuery(g.Pl,5),2&Fe){let Et;s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._portalHost=Et.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[s.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(Fe,je){1&Fe&&(s.\u0275\u0275elementStart(0,"div",0,1),s.\u0275\u0275listener("@translateTab.start",function(Ut){return je._onTranslateTabStarted(Ut)})("@translateTab.done",function(Ut){return je._translateTabComplete.next(Ut)}),s.\u0275\u0275template(2,Ye,0,0,"ng-template",2),s.\u0275\u0275elementEnd()),2&Fe&&s.\u0275\u0275property("@translateTab",s.\u0275\u0275pureFunction2(3,Le,je._position,s.\u0275\u0275pureFunction1(1,pe,je.animationDuration)))},dependencies:[xe],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Te.translateTab]}})}return tt})();const Re=new s.InjectionToken("MatTabContent");let gt=(()=>{class tt{constructor(_e){this.template=_e}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.TemplateRef))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,selectors:[["","matTabContent",""]],features:[s.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:tt}])]})}return tt})();const ut=new s.InjectionToken("MatTabLabel"),et=new s.InjectionToken("MAT_TAB");let ae=(()=>{class tt extends g.ig{constructor(_e,Fe,je){super(_e,Fe),this._closestTab=je}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(et,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[s.\u0275\u0275ProvidersFeature([{provide:ut,useExisting:tt}]),s.\u0275\u0275InheritDefinitionFeature]})}return tt})();const Ee="mdc-tab-indicator--active",ke="mdc-tab-indicator--no-transition";class ct{constructor(St){this._items=St}hide(){this._items.forEach(St=>St.deactivateInkBar())}alignToElement(St){const _e=this._items.find(je=>je.elementRef.nativeElement===St),Fe=this._currentItem;if(_e!==Fe&&(Fe?.deactivateInkBar(),_e)){const je=Fe?.elementRef.nativeElement.getBoundingClientRect?.();_e.activateInkBar(je),this._currentItem=_e}}}function ot(tt){return class extends tt{constructor(...St){super(...St),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(St){const _e=(0,te.Ig)(St);this._fitToContent!==_e&&(this._fitToContent=_e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(St){const _e=this.elementRef.nativeElement;if(!St||!_e.getBoundingClientRect||!this._inkBarContentElement)return void _e.classList.add(Ee);const Fe=_e.getBoundingClientRect(),je=St.width/Fe.width,Et=St.left-Fe.left;_e.classList.add(ke),this._inkBarContentElement.style.setProperty("transform",`translateX(${Et}px) scaleX(${je})`),_e.getBoundingClientRect(),_e.classList.remove(ke),_e.classList.add(Ee),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Ee)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const St=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=St.createElement("span"),this._inkBarContentElement=St.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}function wt(){return St=>({left:St?(St.offsetLeft||0)+"px":"0",width:St?(St.offsetWidth||0)+"px":"0"})}const jt=new s.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:wt}),Kt=(0,p.mixinDisabled)(class{});let Zt=(()=>{class tt extends Kt{constructor(_e){super(),this.elementRef=_e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,features:[s.\u0275\u0275InheritDefinitionFeature]})}return tt})();const Qt=ot(Zt);let dt=(()=>{class tt extends Qt{static#e=this.\u0275fac=function(){let _e;return function(je){return(_e||(_e=s.\u0275\u0275getInheritedFactory(tt)))(je||tt)}}();static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Fe,je){2&Fe&&(s.\u0275\u0275attribute("aria-disabled",!!je.disabled),s.\u0275\u0275classProp("mat-mdc-tab-disabled",je.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return tt})();const Dt=(0,p.mixinDisabled)(class{}),Ue=new s.InjectionToken("MAT_TAB_GROUP");let de=(()=>{class tt extends Dt{get content(){return this._contentPortal}constructor(_e,Fe){super(),this._viewContainerRef=_e,this._closestTabGroup=Fe,this.textLabel="",this._contentPortal=null,this._stateChanges=new _.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(_e){(_e.hasOwnProperty("textLabel")||_e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(_e){_e&&_e._closestTab===this&&(this._templateLabel=_e)}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(Ue,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,viewQuery:function(Fe,je){if(1&Fe&&s.\u0275\u0275viewQuery(s.TemplateRef,7),2&Fe){let Et;s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._implicitContent=Et.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[s.\u0275\u0275InheritDefinitionFeature,s.\u0275\u0275NgOnChangesFeature]})}return tt})(),De=(()=>{class tt extends de{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(_e){this._setTemplateLabelInput(_e)}static#e=this.\u0275fac=function(){let _e;return function(je){return(_e||(_e=s.\u0275\u0275getInheritedFactory(tt)))(je||tt)}}();static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:tt,selectors:[["mat-tab"]],contentQueries:function(Fe,je,Et){if(1&Fe&&(s.\u0275\u0275contentQuery(Et,gt,7,s.TemplateRef),s.\u0275\u0275contentQuery(Et,ae,5)),2&Fe){let Ut;s.\u0275\u0275queryRefresh(Ut=s.\u0275\u0275loadQuery())&&(je._explicitContent=Ut.first),s.\u0275\u0275queryRefresh(Ut=s.\u0275\u0275loadQuery())&&(je.templateLabel=Ut.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[s.\u0275\u0275ProvidersFeature([{provide:et,useExisting:tt}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Je,decls:1,vars:0,template:function(Fe,je){1&Fe&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,Xe,1,0,"ng-template"))},encapsulation:2})}return tt})();const at=(0,nt.i$)({passive:!0});let qt=(()=>{class tt{get disablePagination(){return this._disablePagination}set disablePagination(_e){this._disablePagination=(0,te.Ig)(_e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(_e){_e=(0,te.su)(_e),this._selectedIndex!=_e&&(this._selectedIndexChanged=!0,this._selectedIndex=_e,this._keyManager&&this._keyManager.updateActiveItem(_e))}constructor(_e,Fe,je,Et,Ut,vn,ln){this._elementRef=_e,this._changeDetectorRef=Fe,this._viewportRuler=je,this._dir=Et,this._ngZone=Ut,this._platform=vn,this._animationMode=ln,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new _.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new _.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new s.EventEmitter,this.indexFocused=new s.EventEmitter,Ut.runOutsideAngular(()=>{(0,f.R)(_e.nativeElement,"mouseleave").pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,f.R)(this._previousPaginator.nativeElement,"touchstart",at).pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,f.R)(this._nextPaginator.nativeElement,"touchstart",at).pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const _e=this._dir?this._dir.change:(0,y.of)("ltr"),Fe=this._viewportRuler.change(150),je=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new d.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ee.q)(1)).subscribe(je),(0,b.T)(_e,Fe,this._items.changes,this._itemsResized()).pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),je()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Et=>{this.indexFocused.emit(Et),this._setTabFocus(Et)})}_itemsResized(){return"function"!=typeof ResizeObserver?v.E:this._items.changes.pipe((0,S.O)(this._items),(0,W.w)(_e=>new w.y(Fe=>this._ngZone.runOutsideAngular(()=>{const je=new ResizeObserver(Et=>Fe.next(Et));return _e.forEach(Et=>je.observe(Et.elementRef.nativeElement)),()=>{je.disconnect()}}))),(0,Y.T)(1),(0,ue.h)(_e=>_e.some(Fe=>Fe.contentRect.width>0&&Fe.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(_e){if(!(0,be.Vb)(_e))switch(_e.keyCode){case be.K5:case be.L_:if(this.focusIndex!==this.selectedIndex){const Fe=this._items.get(this.focusIndex);Fe&&!Fe.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(_e))}break;default:this._keyManager.onKeydown(_e)}}_onContentChanges(){const _e=this._elementRef.nativeElement.textContent;_e!==this._currentTextContent&&(this._currentTextContent=_e||"",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(_e){!this._isValidIndex(_e)||this.focusIndex===_e||!this._keyManager||this._keyManager.setActiveItem(_e)}_isValidIndex(_e){return!this._items||!!this._items.toArray()[_e]}_setTabFocus(_e){if(this._showPaginationControls&&this._scrollToLabel(_e),this._items&&this._items.length){this._items.toArray()[_e].focus();const Fe=this._tabListContainer.nativeElement;Fe.scrollLeft="ltr"==this._getLayoutDirection()?0:Fe.scrollWidth-Fe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const _e=this.scrollDistance,Fe="ltr"===this._getLayoutDirection()?-_e:_e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Fe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(_e){this._scrollTo(_e)}_scrollHeader(_e){return this._scrollTo(this._scrollDistance+("before"==_e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(_e){this._stopInterval(),this._scrollHeader(_e)}_scrollToLabel(_e){if(this.disablePagination)return;const Fe=this._items?this._items.toArray()[_e]:null;if(!Fe)return;const je=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Et,offsetWidth:Ut}=Fe.elementRef.nativeElement;let vn,ln;"ltr"==this._getLayoutDirection()?(vn=Et,ln=vn+Ut):(ln=this._tabListInner.nativeElement.offsetWidth-Et,vn=ln-Ut);const hn=this.scrollDistance,Ke=this.scrollDistance+je;vn<hn?this.scrollDistance-=hn-vn:ln>Ke&&(this.scrollDistance+=Math.min(ln-Ke,vn-hn))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const _e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;_e||(this.scrollDistance=0),_e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=_e}}_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 _e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Fe=_e?_e.elementRef.nativeElement:null;Fe?this._inkBar.alignToElement(Fe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(_e,Fe){Fe&&null!=Fe.button&&0!==Fe.button||(this._stopInterval(),(0,O.H)(650,100).pipe((0,V.R)((0,b.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:je,distance:Et}=this._scrollHeader(_e);(0===Et||Et>=je)&&this._stopInterval()}))}_scrollTo(_e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Fe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Fe,_e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Fe,distance:this._scrollDistance}}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(ve.rL),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(nt.t4),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,inputs:{disablePagination:"disablePagination"}})}return tt})(),cn=(()=>{class tt extends qt{get disableRipple(){return this._disableRipple}set disableRipple(_e){this._disableRipple=(0,te.Ig)(_e)}constructor(_e,Fe,je,Et,Ut,vn,ln){super(_e,Fe,je,Et,Ut,vn,ln),this._disableRipple=!1}_itemSelected(_e){_e.preventDefault()}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(ve.rL),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(nt.t4),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,inputs:{disableRipple:"disableRipple"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return tt})(),pn=(()=>{class tt extends cn{constructor(_e,Fe,je,Et,Ut,vn,ln){super(_e,Fe,je,Et,Ut,vn,ln)}ngAfterContentInit(){this._inkBar=new ct(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(ve.rL),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(nt.t4),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:tt,selectors:[["mat-tab-header"]],contentQueries:function(Fe,je,Et){if(1&Fe&&s.\u0275\u0275contentQuery(Et,dt,4),2&Fe){let Ut;s.\u0275\u0275queryRefresh(Ut=s.\u0275\u0275loadQuery())&&(je._items=Ut)}},viewQuery:function(Fe,je){if(1&Fe&&(s.\u0275\u0275viewQuery(q,7),s.\u0275\u0275viewQuery(we,7),s.\u0275\u0275viewQuery(re,7),s.\u0275\u0275viewQuery(J,5),s.\u0275\u0275viewQuery(z,5)),2&Fe){let Et;s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._tabListContainer=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._tabList=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._tabListInner=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._nextPaginator=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._previousPaginator=Et.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Fe,je){2&Fe&&s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",je._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==je._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Je,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Fe,je){1&Fe&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"button",0,1),s.\u0275\u0275listener("click",function(){return je._handlePaginatorClick("before")})("mousedown",function(Ut){return je._handlePaginatorPress("before",Ut)})("touchend",function(){return je._stopInterval()}),s.\u0275\u0275element(2,"div",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"div",3,4),s.\u0275\u0275listener("keydown",function(Ut){return je._handleKeydown(Ut)}),s.\u0275\u0275elementStart(5,"div",5,6),s.\u0275\u0275listener("cdkObserveContent",function(){return je._onContentChanges()}),s.\u0275\u0275elementStart(7,"div",7,8),s.\u0275\u0275projection(9),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275elementStart(10,"button",9,10),s.\u0275\u0275listener("mousedown",function(Ut){return je._handlePaginatorPress("after",Ut)})("click",function(){return je._handlePaginatorClick("after")})("touchend",function(){return je._stopInterval()}),s.\u0275\u0275element(12,"div",2),s.\u0275\u0275elementEnd()),2&Fe&&(s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",je._disableScrollBefore),s.\u0275\u0275property("matRippleDisabled",je._disableScrollBefore||je.disableRipple)("disabled",je._disableScrollBefore||null),s.\u0275\u0275advance(3),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===je._animationMode),s.\u0275\u0275advance(7),s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",je._disableScrollAfter),s.\u0275\u0275property("matRippleDisabled",je._disableScrollAfter||je.disableRipple)("disabled",je._disableScrollAfter||null))},dependencies:[p.MatRipple,c.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return tt})();const En=new s.InjectionToken("MAT_TABS_CONFIG");let yt=0;const rt=(0,p.mixinColor)((0,p.mixinDisableRipple)(class{constructor(tt){this._elementRef=tt}}),"primary");let Ie=(()=>{class tt extends rt{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(_e){this._dynamicHeight=(0,te.Ig)(_e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(_e){this._indexToSelect=(0,te.su)(_e,null)}get animationDuration(){return this._animationDuration}set animationDuration(_e){this._animationDuration=/^\d+$/.test(_e+"")?_e+"ms":_e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(_e){this._contentTabIndex=(0,te.su)(_e,null)}get disablePagination(){return this._disablePagination}set disablePagination(_e){this._disablePagination=(0,te.Ig)(_e)}get preserveContent(){return this._preserveContent}set preserveContent(_e){this._preserveContent=(0,te.Ig)(_e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(_e){const Fe=this._elementRef.nativeElement.classList;Fe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),_e&&Fe.add("mat-tabs-with-background",`mat-background-${_e}`),this._backgroundColor=_e}constructor(_e,Fe,je,Et){super(_e),this._changeDetectorRef=Fe,this._animationMode=Et,this._tabs=new s.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=m.w0.EMPTY,this._tabLabelSubscription=m.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new s.EventEmitter,this.focusChange=new s.EventEmitter,this.animationDone=new s.EventEmitter,this.selectedTabChange=new s.EventEmitter(!0),this._groupId=yt++,this.animationDuration=je&&je.animationDuration?je.animationDuration:"500ms",this.disablePagination=!(!je||null==je.disablePagination)&&je.disablePagination,this.dynamicHeight=!(!je||null==je.dynamicHeight)&&je.dynamicHeight,this.contentTabIndex=je?.contentTabIndex??null,this.preserveContent=!!je?.preserveContent}ngAfterContentChecked(){const _e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=_e){const Fe=null==this._selectedIndex;if(!Fe){this.selectedTabChange.emit(this._createChangeEvent(_e));const je=this._tabBodyWrapper.nativeElement;je.style.minHeight=je.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((je,Et)=>je.isActive=Et===_e),Fe||(this.selectedIndexChange.emit(_e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Fe,je)=>{Fe.position=je-_e,null!=this._selectedIndex&&0==Fe.position&&!Fe.origin&&(Fe.origin=_e-this._selectedIndex)}),this._selectedIndex!==_e&&(this._selectedIndex=_e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const _e=this._clampTabIndex(this._indexToSelect);if(_e===this._selectedIndex){const Fe=this._tabs.toArray();let je;for(let Et=0;Et<Fe.length;Et++)if(Fe[Et].isActive){this._indexToSelect=this._selectedIndex=Et,this._lastFocusedTabIndex=null,je=Fe[Et];break}!je&&Fe[_e]&&Promise.resolve().then(()=>{Fe[_e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(_e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,S.O)(this._allTabs)).subscribe(_e=>{this._tabs.reset(_e.filter(Fe=>Fe._closestTabGroup===this||!Fe._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(_e){const Fe=this._tabHeader;Fe&&(Fe.focusIndex=_e)}_focusChanged(_e){this._lastFocusedTabIndex=_e,this.focusChange.emit(this._createChangeEvent(_e))}_createChangeEvent(_e){const Fe=new mt;return Fe.index=_e,this._tabs&&this._tabs.length&&(Fe.tab=this._tabs.toArray()[_e]),Fe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,b.T)(...this._tabs.map(_e=>_e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(_e){return Math.min(this._tabs.length-1,Math.max(_e||0,0))}_getTabLabelId(_e){return`mat-tab-label-${this._groupId}-${_e}`}_getTabContentId(_e){return`mat-tab-content-${this._groupId}-${_e}`}_setTabBodyWrapperHeight(_e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Fe=this._tabBodyWrapper.nativeElement;Fe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Fe.style.height=_e+"px")}_removeTabBodyWrapperHeight(){const _e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=_e.clientHeight,_e.style.height="",this.animationDone.emit()}_handleClick(_e,Fe,je){Fe.focusIndex=je,_e.disabled||(this.selectedIndex=je)}_getTabIndex(_e){return _e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(_e,Fe){_e&&"mouse"!==_e&&"touch"!==_e&&(this._tabHeader.focusIndex=Fe)}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(En,8),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,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:[s.\u0275\u0275InheritDefinitionFeature]})}return tt})(),We=(()=>{class tt extends Ie{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(_e){this._fitInkBarToContent=(0,te.Ig)(_e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(_e){this._stretchTabs=(0,te.Ig)(_e)}constructor(_e,Fe,je,Et){super(_e,Fe,je,Et),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!je||null==je.fitInkBarToContent)&&je.fitInkBarToContent,this.stretchTabs=!je||null==je.stretchTabs||je.stretchTabs}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(En,8),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:tt,selectors:[["mat-tab-group"]],contentQueries:function(Fe,je,Et){if(1&Fe&&s.\u0275\u0275contentQuery(Et,De,5),2&Fe){let Ut;s.\u0275\u0275queryRefresh(Ut=s.\u0275\u0275loadQuery())&&(je._allTabs=Ut)}},viewQuery:function(Fe,je){if(1&Fe&&(s.\u0275\u0275viewQuery($,5),s.\u0275\u0275viewQuery(U,5)),2&Fe){let Et;s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._tabBodyWrapper=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._tabHeader=Et.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(Fe,je){2&Fe&&(s.\u0275\u0275styleProp("--mat-tab-animation-duration",je.animationDuration),s.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",je.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===je.headerPosition)("mat-mdc-tab-group-stretch-tabs",je.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[s.\u0275\u0275ProvidersFeature([{provide:Ue,useExisting:tt}]),s.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(Fe,je){1&Fe&&(s.\u0275\u0275elementStart(0,"mat-tab-header",0,1),s.\u0275\u0275listener("indexFocused",function(Ut){return je._focusChanged(Ut)})("selectFocusedIndex",function(Ut){return je.selectedIndex=Ut}),s.\u0275\u0275template(2,He,9,17,"div",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"div",3,4),s.\u0275\u0275template(5,vt,1,12,"mat-tab-body",5),s.\u0275\u0275elementEnd()),2&Fe&&(s.\u0275\u0275property("selectedIndex",je.selectedIndex||0)("disableRipple",je.disableRipple)("disablePagination",je.disablePagination),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",je._tabs),s.\u0275\u0275advance(1),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===je._animationMode),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",je._tabs))},dependencies:[n.NgClass,n.NgForOf,n.NgIf,g.Pl,p.MatRipple,d.kH,Me,dt,pn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return tt})();class mt{}let Rt=0,Jt=(()=>{class tt extends qt{get backgroundColor(){return this._backgroundColor}set backgroundColor(_e){const Fe=this._elementRef.nativeElement.classList;Fe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),_e&&Fe.add("mat-tabs-with-background",`mat-background-${_e}`),this._backgroundColor=_e}get disableRipple(){return this._disableRipple}set disableRipple(_e){this._disableRipple=(0,te.Ig)(_e)}constructor(_e,Fe,je,Et,Ut,vn,ln){super(_e,Et,Ut,Fe,je,vn,ln),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,S.O)(null),(0,V.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const _e=this._items.toArray();for(let Fe=0;Fe<_e.length;Fe++)if(_e[Fe].active)return this.selectedIndex=Fe,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=_e[Fe].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(ve.rL),s.\u0275\u0275directiveInject(nt.t4),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return tt})();const ft=(0,p.mixinTabIndex)((0,p.mixinDisableRipple)((0,p.mixinDisabled)(class{})));let ye=(()=>{class tt extends ft{get active(){return this._isActive}set active(_e){const Fe=(0,te.Ig)(_e);Fe!==this._isActive&&(this._isActive=Fe,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(_e,Fe,je,Et,Ut,vn){super(),this._tabNavBar=_e,this.elementRef=Fe,this._focusMonitor=Ut,this._isActive=!1,this.id="mat-tab-link-"+Rt++,this.rippleConfig=je||{},this.tabIndex=parseInt(Et)||0,"NoopAnimations"===vn&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(_e){!this.disabled||_e.keyCode!==be.L_&&_e.keyCode!==be.K5?this._tabNavBar.tabPanel&&_e.keyCode===be.L_&&this.elementRef.nativeElement.click():_e.preventDefault()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(Jt),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(p.MAT_RIPPLE_GLOBAL_OPTIONS,8),s.\u0275\u0275injectAttribute("tabindex"),s.\u0275\u0275directiveInject(d.tE),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:tt,inputs:{active:"active",id:"id"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return tt})();const G=ot(ye);let k=(()=>{class tt extends Jt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(_e){this._fitInkBarToContent.next((0,te.Ig)(_e)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(_e){this._stretchTabs=(0,te.Ig)(_e)}get animationDuration(){return this._animationDuration}set animationDuration(_e){this._animationDuration=/^\d+$/.test(_e+"")?_e+"ms":_e}constructor(_e,Fe,je,Et,Ut,vn,ln,hn){super(_e,Fe,je,Et,Ut,vn,ln),this._fitInkBarToContent=new F.X(!1),this._stretchTabs=!0,this.disablePagination=!(!hn||null==hn.disablePagination)&&hn.disablePagination,this.fitInkBarToContent=!(!hn||null==hn.fitInkBarToContent)&&hn.fitInkBarToContent,this.stretchTabs=!hn||null==hn.stretchTabs||hn.stretchTabs}ngAfterContentInit(){this._inkBar=new ct(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.NgZone),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(ve.rL),s.\u0275\u0275directiveInject(nt.t4),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8),s.\u0275\u0275directiveInject(En,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:tt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Fe,je,Et){if(1&Fe&&s.\u0275\u0275contentQuery(Et,fe,5),2&Fe){let Ut;s.\u0275\u0275queryRefresh(Ut=s.\u0275\u0275loadQuery())&&(je._items=Ut)}},viewQuery:function(Fe,je){if(1&Fe&&(s.\u0275\u0275viewQuery(q,7),s.\u0275\u0275viewQuery(we,7),s.\u0275\u0275viewQuery(re,7),s.\u0275\u0275viewQuery(J,5),s.\u0275\u0275viewQuery(z,5)),2&Fe){let Et;s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._tabListContainer=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._tabList=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._tabListInner=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._nextPaginator=Et.first),s.\u0275\u0275queryRefresh(Et=s.\u0275\u0275loadQuery())&&(je._previousPaginator=Et.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(Fe,je){2&Fe&&(s.\u0275\u0275attribute("role",je._getRole()),s.\u0275\u0275styleProp("--mat-tab-animation-duration",je.animationDuration),s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",je._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==je._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",je.stretchTabs)("mat-primary","warn"!==je.color&&"accent"!==je.color)("mat-accent","accent"===je.color)("mat-warn","warn"===je.color)("_mat-animation-noopable","NoopAnimations"===je._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration"},exportAs:["matTabNavBar","matTabNav"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:Ct,ngContentSelectors:Je,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(Fe,je){1&Fe&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"button",0,1),s.\u0275\u0275listener("click",function(){return je._handlePaginatorClick("before")})("mousedown",function(Ut){return je._handlePaginatorPress("before",Ut)})("touchend",function(){return je._stopInterval()}),s.\u0275\u0275element(2,"div",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"div",3,4),s.\u0275\u0275listener("keydown",function(Ut){return je._handleKeydown(Ut)}),s.\u0275\u0275elementStart(5,"div",5,6),s.\u0275\u0275listener("cdkObserveContent",function(){return je._onContentChanges()}),s.\u0275\u0275elementStart(7,"div",7,8),s.\u0275\u0275projection(9),s.\u0275\u0275elementEnd()()(),s.\u0275\u0275elementStart(10,"button",9,10),s.\u0275\u0275listener("mousedown",function(Ut){return je._handlePaginatorPress("after",Ut)})("click",function(){return je._handlePaginatorClick("after")})("touchend",function(){return je._stopInterval()}),s.\u0275\u0275element(12,"div",2),s.\u0275\u0275elementEnd()),2&Fe&&(s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",je._disableScrollBefore),s.\u0275\u0275property("matRippleDisabled",je._disableScrollBefore||je.disableRipple)("disabled",je._disableScrollBefore||null),s.\u0275\u0275advance(10),s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",je._disableScrollAfter),s.\u0275\u0275property("matRippleDisabled",je._disableScrollAfter||je.disableRipple)("disabled",je._disableScrollAfter||null))},dependencies:[p.MatRipple,c.wD],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return tt})(),fe=(()=>{class tt extends G{constructor(_e,Fe,je,Et,Ut,vn){super(_e,Fe,je,Et,Ut,vn),this._destroyed=new _.x,_e._fitInkBarToContent.pipe((0,V.R)(this._destroyed)).subscribe(ln=>{this.fitInkBarToContent=ln})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(s.\u0275\u0275directiveInject(k),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(p.MAT_RIPPLE_GLOBAL_OPTIONS,8),s.\u0275\u0275injectAttribute("tabindex"),s.\u0275\u0275directiveInject(d.tE),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:tt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(Fe,je){1&Fe&&s.\u0275\u0275listener("focus",function(){return je._handleFocus()})("keydown",function(Ut){return je._handleKeydown(Ut)}),2&Fe&&(s.\u0275\u0275attribute("aria-controls",je._getAriaControls())("aria-current",je._getAriaCurrent())("aria-disabled",je.disabled)("aria-selected",je._getAriaSelected())("id",je.id)("tabIndex",je._getTabIndex())("role",je._getRole()),s.\u0275\u0275classProp("mat-mdc-tab-disabled",je.disabled)("mdc-tab--active",je.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:lt,ngContentSelectors:Je,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(Fe,je){1&Fe&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275element(0,"span",0)(1,"div",1),s.\u0275\u0275elementStart(2,"span",2)(3,"span",3),s.\u0275\u0275projection(4),s.\u0275\u0275elementEnd()()),2&Fe&&(s.\u0275\u0275advance(1),s.\u0275\u0275property("matRippleTrigger",je.elementRef.nativeElement)("matRippleDisabled",je.rippleDisabled))},dependencies:[p.MatRipple],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return tt})(),Ze=(()=>{class tt{constructor(){this.id="mat-tab-nav-panel-"+Rt++}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:tt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Fe,je){2&Fe&&s.\u0275\u0275attribute("aria-labelledby",je._activeTabId)("id",je.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Je,decls:1,vars:0,template:function(Fe,je){1&Fe&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return tt})(),It=(()=>{class tt{static#e=this.\u0275fac=function(Fe){return new(Fe||tt)};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:tt});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({imports:[n.CommonModule,p.MatCommonModule,g.eL,p.MatRippleModule,c.Q8,d.rt,p.MatCommonModule]})}return tt})()},2596:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>ue,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>Y,MAT_TOOLTIP_SCROLL_STRATEGY:()=>V,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>ee,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>W,MatTooltip:()=>Je,MatTooltipModule:()=>J,SCROLL_THROTTLE_MS:()=>S,TOOLTIP_PANEL_CLASS:()=>ie,TooltipComponent:()=>we,_MatTooltipBase:()=>Xe,_TooltipComponentBase:()=>q,getMatTooltipInvalidPositionError:()=>K,matTooltipAnimations:()=>re});var n=a(9773),s=a(8180),p=a(2495),g=a(6028),c=a(5879),d=a(6814),u=a(2831),m=a(4300),_=a(9388),f=a(9594),y=a(9829),b=a(8484),v=a(8645),w=a(6825),O=a(3680);const F=["tooltip"],S=20;function K(z){return Error(`Tooltip position "${z}" is invalid.`)}const V=new c.InjectionToken("mat-tooltip-scroll-strategy");function ee(z){return()=>z.scrollStrategies.reposition({scrollThrottle:S})}const W={provide:V,deps:[f.aV],useFactory:ee};function Y(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}const ue=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:Y}),ie="mat-mdc-tooltip-panel",te="tooltip-panel",ve=(0,u.i$)({passive:!0});let Xe=(()=>{class z{get position(){return this._position}set position(U){U!==this._position&&(this._position=U,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(U){this._positionAtOrigin=(0,p.Ig)(U),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(U){this._disabled=(0,p.Ig)(U),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(U){this._showDelay=(0,p.su)(U)}get hideDelay(){return this._hideDelay}set hideDelay(U){this._hideDelay=(0,p.su)(U),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(U){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=U?String(U).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(U){this._tooltipClass=U,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(U,R,H,Oe,He,vt,Ct,lt,Te,xe,Ne,Me){this._overlay=U,this._elementRef=R,this._scrollDispatcher=H,this._viewContainerRef=Oe,this._ngZone=He,this._platform=vt,this._ariaDescriber=Ct,this._focusMonitor=lt,this._dir=xe,this._defaultOptions=Ne,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new v.x,this._scrollStrategy=Te,this._document=Me,Ne&&(this._showDelay=Ne.showDelay,this._hideDelay=Ne.hideDelay,Ne.position&&(this.position=Ne.position),Ne.positionAtOrigin&&(this.positionAtOrigin=Ne.positionAtOrigin),Ne.touchGestures&&(this.touchGestures=Ne.touchGestures)),xe.change.pipe((0,n.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,n.R)(this._destroyed)).subscribe(U=>{U?"keyboard"===U&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const U=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([R,H])=>{U.removeEventListener(R,H,ve)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(U,this.message,"tooltip"),this._focusMonitor.stopMonitoring(U)}show(U=this.showDelay,R){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const H=this._createOverlay(R);this._detach(),this._portal=this._portal||new b.C5(this._tooltipComponent,this._viewContainerRef);const Oe=this._tooltipInstance=H.attach(this._portal).instance;Oe._triggerElement=this._elementRef.nativeElement,Oe._mouseLeaveHideDelay=this._hideDelay,Oe.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Oe.show(U)}hide(U=this.hideDelay){const R=this._tooltipInstance;R&&(R.isVisible()?R.hide(U):(R._cancelPendingAnimations(),this._detach()))}toggle(U){this._isTooltipVisible()?this.hide():this.show(void 0,U)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(U){if(this._overlayRef){const Oe=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!U)&&Oe._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const R=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),H=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&U||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(R);return H.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(Oe=>{this._updateCurrentPositionClass(Oe.connectionPair),this._tooltipInstance&&Oe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:H,panelClass:`${this._cssClassPrefix}-${te}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(Oe=>{this._isTooltipVisible()&&Oe.keyCode===g.hY&&!(0,g.Vb)(Oe)&&(Oe.preventDefault(),Oe.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(U){const R=U.getConfig().positionStrategy,H=this._getOrigin(),Oe=this._getOverlayPosition();R.withPositions([this._addOffset({...H.main,...Oe.main}),this._addOffset({...H.fallback,...Oe.fallback})])}_addOffset(U){return U}_getOrigin(){const U=!this._dir||"ltr"==this._dir.value,R=this.position;let H;"above"==R||"below"==R?H={originX:"center",originY:"above"==R?"top":"bottom"}:"before"==R||"left"==R&&U||"right"==R&&!U?H={originX:"start",originY:"center"}:("after"==R||"right"==R&&U||"left"==R&&!U)&&(H={originX:"end",originY:"center"});const{x:Oe,y:He}=this._invertPosition(H.originX,H.originY);return{main:H,fallback:{originX:Oe,originY:He}}}_getOverlayPosition(){const U=!this._dir||"ltr"==this._dir.value,R=this.position;let H;"above"==R?H={overlayX:"center",overlayY:"bottom"}:"below"==R?H={overlayX:"center",overlayY:"top"}:"before"==R||"left"==R&&U||"right"==R&&!U?H={overlayX:"end",overlayY:"center"}:("after"==R||"right"==R&&U||"left"==R&&!U)&&(H={overlayX:"start",overlayY:"center"});const{x:Oe,y:He}=this._invertPosition(H.overlayX,H.overlayY);return{main:H,fallback:{overlayX:Oe,overlayY:He}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,s.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(U){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=U,this._tooltipInstance._markForCheck())}_invertPosition(U,R){return"above"===this.position||"below"===this.position?"top"===R?R="bottom":"bottom"===R&&(R="top"):"end"===U?U="start":"start"===U&&(U="end"),{x:U,y:R}}_updateCurrentPositionClass(U){const{overlayY:R,originX:H,originY:Oe}=U;let He;if(He="center"===R?this._dir&&"rtl"===this._dir.value?"end"===H?"left":"right":"start"===H?"left":"right":"bottom"===R&&"top"===Oe?"above":"below",He!==this._currentPosition){const vt=this._overlayRef;if(vt){const Ct=`${this._cssClassPrefix}-${te}-`;vt.removePanelClass(Ct+this._currentPosition),vt.addPanelClass(Ct+He)}this._currentPosition=He}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",U=>{let R;this._setupPointerExitEventsIfNeeded(),void 0!==U.x&&void 0!==U.y&&(R=U),this.show(void 0,R)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",U=>{const R=U.targetTouches?.[0],H=R?{x:R.clientX,y:R.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,H),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const U=[];if(this._platformSupportsMouseEvents())U.push(["mouseleave",R=>{const H=R.relatedTarget;(!H||!this._overlayRef?.overlayElement.contains(H))&&this.hide()}],["wheel",R=>this._wheelListener(R)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const R=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};U.push(["touchend",R],["touchcancel",R])}this._addListeners(U),this._passiveListeners.push(...U)}_addListeners(U){U.forEach(([R,H])=>{this._elementRef.nativeElement.addEventListener(R,H,ve)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(U){if(this._isTooltipVisible()){const R=this._document.elementFromPoint(U.clientX,U.clientY),H=this._elementRef.nativeElement;R!==H&&!H.contains(R)&&this.hide()}}_disableNativeGesturesIfNecessary(){const U=this.touchGestures;if("off"!==U){const R=this._elementRef.nativeElement,H=R.style;("on"===U||"INPUT"!==R.nodeName&&"TEXTAREA"!==R.nodeName)&&(H.userSelect=H.msUserSelect=H.webkitUserSelect=H.MozUserSelect="none"),("on"===U||!R.draggable)&&(H.webkitUserDrag="none"),H.touchAction="none",H.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(R){c.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:z,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return z})(),Je=(()=>{class z extends Xe{constructor(U,R,H,Oe,He,vt,Ct,lt,Te,xe,Ne,Me){super(U,R,H,Oe,He,vt,Ct,lt,Te,xe,Ne,Me),this._tooltipComponent=we,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(U){const H=!this._dir||"ltr"==this._dir.value;return"top"===U.originY?U.offsetY=-8:"bottom"===U.originY?U.offsetY=8:"start"===U.originX?U.offsetX=H?-8:8:"end"===U.originX&&(U.offsetX=H?8:-8),U}static#e=this.\u0275fac=function(R){return new(R||z)(c.\u0275\u0275directiveInject(f.aV),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(y.mF),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(u.t4),c.\u0275\u0275directiveInject(m.$s),c.\u0275\u0275directiveInject(m.tE),c.\u0275\u0275directiveInject(V),c.\u0275\u0275directiveInject(_.Is,8),c.\u0275\u0275directiveInject(ue,8),c.\u0275\u0275directiveInject(d.DOCUMENT))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:z,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(R,H){2&R&&c.\u0275\u0275classProp("mat-mdc-tooltip-disabled",H.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]})}return z})(),q=(()=>{class z{constructor(U,R){this._changeDetectorRef=U,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new v.x,this._animationsDisabled="NoopAnimations"===R}show(U){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},U)}hide(U){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},U)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:U}){(!U||!this._triggerElement.contains(U))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:U}){(U===this._showAnimation||U===this._hideAnimation)&&this._finalizeAnimation(U===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(U){U?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(U){const R=this._tooltip.nativeElement,H=this._showAnimation,Oe=this._hideAnimation;if(R.classList.remove(U?Oe:H),R.classList.add(U?H:Oe),this._isVisible=U,U&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const He=getComputedStyle(R);("0s"===He.getPropertyValue("animation-duration")||"none"===He.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}U&&this._onShow(),this._animationsDisabled&&(R.classList.add("_mat-animation-noopable"),this._finalizeAnimation(U))}static#e=this.\u0275fac=function(R){return new(R||z)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:z})}return z})(),we=(()=>{class z extends q{constructor(U,R,H){super(U,H),this._elementRef=R,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const U=this._elementRef.nativeElement.getBoundingClientRect();return U.height>24&&U.width>=200}static#e=this.\u0275fac=function(R){return new(R||z)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:z,selectors:[["mat-tooltip-component"]],viewQuery:function(R,H){if(1&R&&c.\u0275\u0275viewQuery(F,7),2&R){let Oe;c.\u0275\u0275queryRefresh(Oe=c.\u0275\u0275loadQuery())&&(H._tooltip=Oe.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(R,H){1&R&&c.\u0275\u0275listener("mouseleave",function(He){return H._handleMouseLeave(He)}),2&R&&c.\u0275\u0275styleProp("zoom",H.isVisible()?1:null)},features:[c.\u0275\u0275InheritDefinitionFeature],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(R,H){1&R&&(c.\u0275\u0275elementStart(0,"div",0,1),c.\u0275\u0275listener("animationend",function(He){return H._handleAnimationEnd(He)}),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()()),2&R&&(c.\u0275\u0275classProp("mdc-tooltip--multiline",H._isMultiline),c.\u0275\u0275property("ngClass",H.tooltipClass),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(H.message))},dependencies:[d.NgClass],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return z})();const re={tooltipState:(0,w.X$)("state",[(0,w.SB)("initial, void, hidden",(0,w.oB)({opacity:0,transform:"scale(0.8)"})),(0,w.SB)("visible",(0,w.oB)({transform:"scale(1)"})),(0,w.eR)("* => visible",(0,w.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,w.eR)("* => hidden",(0,w.jt)("75ms cubic-bezier(0.4, 0, 1, 1)"))])};let J=(()=>{class z{static#e=this.\u0275fac=function(R){return new(R||z)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:z});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[W],imports:[m.rt,d.CommonModule,f.U8,O.MatCommonModule,O.MatCommonModule,y.ZD]})}return z})()},349:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>lo,NoopAnimationsModule:()=>$c,provideAnimations:()=>Ds,provideNoopAnimations:()=>xs,\u0275AnimationRenderer:()=>j,\u0275AnimationRendererFactory:()=>bo,\u0275BrowserAnimationBuilder:()=>ir,\u0275BrowserAnimationFactory:()=>wr,\u0275InjectableAnimationEngine:()=>he});var n=a(5879),s=a(6593),p=a(6825);function c(le){return new n.\u0275RuntimeError(3e3,!1)}function H(le){switch(le.length){case 0:return new p.ZN;case 1:return le[0];default:return new p.ZE(le)}}function Oe(le,E,x=new Map,P=new Map){const oe=[],Ce=[];let Ge=-1,qe=null;if(E.forEach(bt=>{const Tt=bt.get("offset"),Wt=Tt==Ge,Ht=Wt&&qe||new Map;bt.forEach((xn,gn)=>{let sn=gn,fn=xn;if("offset"!==gn)switch(sn=le.normalizePropertyName(sn,oe),fn){case p.k1:fn=x.get(gn);break;case p.l3:fn=P.get(gn);break;default:fn=le.normalizeStyleValue(gn,sn,fn,oe)}Ht.set(sn,fn)}),Wt||Ce.push(Ht),qe=Ht,Ge=Tt}),oe.length)throw function Ye(le){return new n.\u0275RuntimeError(3502,!1)}();return Ce}function He(le,E,x,P){switch(E){case"start":le.onStart(()=>P(x&&vt(x,"start",le)));break;case"done":le.onDone(()=>P(x&&vt(x,"done",le)));break;case"destroy":le.onDestroy(()=>P(x&&vt(x,"destroy",le)))}}function vt(le,E,x){const Ce=Ct(le.element,le.triggerName,le.fromState,le.toState,E||le.phaseName,x.totalTime??le.totalTime,!!x.disabled),Ge=le._data;return null!=Ge&&(Ce._data=Ge),Ce}function Ct(le,E,x,P,oe="",Ce=0,Ge){return{element:le,triggerName:E,fromState:x,toState:P,phaseName:oe,totalTime:Ce,disabled:!!Ge}}function lt(le,E,x){let P=le.get(E);return P||le.set(E,P=x),P}function Te(le){const E=le.indexOf(":");return[le.substring(1,E),le.slice(E+1)]}const xe=(()=>typeof document>"u"?null:document.documentElement)();function Ne(le){const E=le.parentNode||le.host||null;return E===xe?null:E}let Re=null,gt=!1;function Ee(le,E){for(;E;){if(E===le)return!0;E=Ne(E)}return!1}function ke(le,E,x){if(x)return Array.from(le.querySelectorAll(E));const P=le.querySelector(E);return P?[P]:[]}let ot=(()=>{class le{validateStyleProperty(x){return function ut(le){Re||(Re=function ae(){return typeof document<"u"?document.body:null}()||{},gt=!!Re.style&&"WebkitAppearance"in Re.style);let E=!0;return Re.style&&!function Me(le){return"ebkit"==le.substring(1,6)}(le)&&(E=le in Re.style,!E&>&&(E="Webkit"+le.charAt(0).toUpperCase()+le.slice(1)in Re.style)),E}(x)}matchesElement(x,P){return!1}containsElement(x,P){return Ee(x,P)}getParentElement(x){return Ne(x)}query(x,P,oe){return ke(x,P,oe)}computeStyle(x,P,oe){return oe||""}animate(x,P,oe,Ce,Ge,qe=[],bt){return new p.ZN(oe,Ce)}static#e=this.\u0275fac=function(P){return new(P||le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac})}return le})(),wt=(()=>{class le{static#e=this.NOOP=new ot}return le})();const jt=1e3,Qt="ng-enter",dt="ng-leave",Dt="ng-trigger",Ue=".ng-trigger",de="ng-animating",De=".ng-animating";function at(le){if("number"==typeof le)return le;const E=le.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:Ot(parseFloat(E[1]),E[2])}function Ot(le,E){return"s"===E?le*jt:le}function Lt(le,E,x){return le.hasOwnProperty("duration")?le:function qt(le,E,x){let oe,Ce=0,Ge="";if("string"==typeof le){const qe=le.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===qe)return E.push(c()),{duration:0,delay:0,easing:""};oe=Ot(parseFloat(qe[1]),qe[2]);const bt=qe[3];null!=bt&&(Ce=Ot(parseFloat(bt),qe[4]));const Tt=qe[5];Tt&&(Ge=Tt)}else oe=le;if(!x){let qe=!1,bt=E.length;oe<0&&(E.push(function d(){return new n.\u0275RuntimeError(3100,!1)}()),qe=!0),Ce<0&&(E.push(function u(){return new n.\u0275RuntimeError(3101,!1)}()),qe=!0),qe&&E.splice(bt,0,c())}return{duration:oe,delay:Ce,easing:Ge}}(le,E,x)}function cn(le,E={}){return Object.keys(le).forEach(x=>{E[x]=le[x]}),E}function pn(le){const E=new Map;return Object.keys(le).forEach(x=>{E.set(x,le[x])}),E}function rt(le,E=new Map,x){if(x)for(let[P,oe]of x)E.set(P,oe);for(let[P,oe]of le)E.set(P,oe);return E}function Ie(le,E,x){E.forEach((P,oe)=>{const Ce=fe(oe);x&&!x.has(oe)&&x.set(oe,le.style[Ce]),le.style[Ce]=P})}function We(le,E){E.forEach((x,P)=>{const oe=fe(P);le.style[oe]=""})}function mt(le){return Array.isArray(le)?1==le.length?le[0]:(0,p.vP)(le):le}const Jt=new RegExp("{{\\s*(.+?)\\s*}}","g");function ft(le){let E=[];if("string"==typeof le){let x;for(;x=Jt.exec(le);)E.push(x[1]);Jt.lastIndex=0}return E}function ye(le,E,x){const P=le.toString(),oe=P.replace(Jt,(Ce,Ge)=>{let qe=E[Ge];return null==qe&&(x.push(function _(le){return new n.\u0275RuntimeError(3003,!1)}()),qe=""),qe.toString()});return oe==P?le:oe}function G(le){const E=[];let x=le.next();for(;!x.done;)E.push(x.value),x=le.next();return E}const k=/-+([a-z0-9])/g;function fe(le){return le.replace(k,(...E)=>E[1].toUpperCase())}function St(le,E,x){switch(E.type){case 7:return le.visitTrigger(E,x);case 0:return le.visitState(E,x);case 1:return le.visitTransition(E,x);case 2:return le.visitSequence(E,x);case 3:return le.visitGroup(E,x);case 4:return le.visitAnimate(E,x);case 5:return le.visitKeyframes(E,x);case 6:return le.visitStyle(E,x);case 8:return le.visitReference(E,x);case 9:return le.visitAnimateChild(E,x);case 10:return le.visitAnimateRef(E,x);case 11:return le.visitQuery(E,x);case 12:return le.visitStagger(E,x);default:throw function f(le){return new n.\u0275RuntimeError(3004,!1)}()}}function _e(le,E){return window.getComputedStyle(le)[E]}const hn="*";function Ke(le,E){const x=[];return"string"==typeof le?le.split(/\s*,\s*/).forEach(P=>function $e(le,E,x){if(":"==le[0]){const bt=function Pe(le,E){switch(le){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(x,P)=>parseFloat(P)>parseFloat(x);case":decrement":return(x,P)=>parseFloat(P)<parseFloat(x);default:return E.push(function te(le){return new n.\u0275RuntimeError(3016,!1)}()),"* => *"}}(le,x);if("function"==typeof bt)return void E.push(bt);le=bt}const P=le.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==P||P.length<4)return x.push(function ie(le){return new n.\u0275RuntimeError(3015,!1)}()),E;const oe=P[1],Ce=P[2],Ge=P[3];E.push(Ft(oe,Ge));"<"==Ce[0]&&!(oe==hn&&Ge==hn)&&E.push(Ft(Ge,oe))}(P,x,E)):x.push(le),x}const _t=new Set(["true","1"]),Mt=new Set(["false","0"]);function Ft(le,E){const x=_t.has(le)||Mt.has(le),P=_t.has(E)||Mt.has(E);return(oe,Ce)=>{let Ge=le==hn||le==oe,qe=E==hn||E==Ce;return!Ge&&x&&"boolean"==typeof oe&&(Ge=oe?_t.has(le):Mt.has(le)),!qe&&P&&"boolean"==typeof Ce&&(qe=Ce?_t.has(E):Mt.has(E)),Ge&&qe}}const tn=new RegExp("s*:selfs*,?","g");function Gt(le,E,x,P){return new Vn(le).build(E,x,P)}class Vn{constructor(E){this._driver=E}build(E,x,P){const oe=new Ci(x);return this._resetContextStyleTimingState(oe),St(this,mt(E),oe)}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles=new Map,E.collectedStyles.set("",new Map),E.currentTime=0}visitTrigger(E,x){let P=x.queryCount=0,oe=x.depCount=0;const Ce=[],Ge=[];return"@"==E.name.charAt(0)&&x.errors.push(function b(){return new n.\u0275RuntimeError(3006,!1)}()),E.definitions.forEach(qe=>{if(this._resetContextStyleTimingState(x),0==qe.type){const bt=qe,Tt=bt.name;Tt.toString().split(/\s*,\s*/).forEach(Wt=>{bt.name=Wt,Ce.push(this.visitState(bt,x))}),bt.name=Tt}else if(1==qe.type){const bt=this.visitTransition(qe,x);P+=bt.queryCount,oe+=bt.depCount,Ge.push(bt)}else x.errors.push(function v(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:7,name:E.name,states:Ce,transitions:Ge,queryCount:P,depCount:oe,options:null}}visitState(E,x){const P=this.visitStyle(E.styles,x),oe=E.options&&E.options.params||null;if(P.containsDynamicStyles){const Ce=new Set,Ge=oe||{};P.styles.forEach(qe=>{qe instanceof Map&&qe.forEach(bt=>{ft(bt).forEach(Tt=>{Ge.hasOwnProperty(Tt)||Ce.add(Tt)})})}),Ce.size&&(G(Ce.values()),x.errors.push(function w(le,E){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:E.name,style:P,options:oe?{params:oe}:null}}visitTransition(E,x){x.queryCount=0,x.depCount=0;const P=St(this,mt(E.animation),x);return{type:1,matchers:Ke(E.expr,x.errors),animation:P,queryCount:x.queryCount,depCount:x.depCount,options:ge(E.options)}}visitSequence(E,x){return{type:2,steps:E.steps.map(P=>St(this,P,x)),options:ge(E.options)}}visitGroup(E,x){const P=x.currentTime;let oe=0;const Ce=E.steps.map(Ge=>{x.currentTime=P;const qe=St(this,Ge,x);return oe=Math.max(oe,x.currentTime),qe});return x.currentTime=oe,{type:3,steps:Ce,options:ge(E.options)}}visitAnimate(E,x){const P=function bn(le,E){if(le.hasOwnProperty("duration"))return le;if("number"==typeof le)return st(Lt(le,E).duration,0,"");const x=le;if(x.split(/\s+/).some(Ce=>"{"==Ce.charAt(0)&&"{"==Ce.charAt(1))){const Ce=st(0,0,"");return Ce.dynamic=!0,Ce.strValue=x,Ce}const oe=Lt(x,E);return st(oe.duration,oe.delay,oe.easing)}(E.timings,x.errors);x.currentAnimateTimings=P;let oe,Ce=E.styles?E.styles:(0,p.oB)({});if(5==Ce.type)oe=this.visitKeyframes(Ce,x);else{let Ge=E.styles,qe=!1;if(!Ge){qe=!0;const Tt={};P.easing&&(Tt.easing=P.easing),Ge=(0,p.oB)(Tt)}x.currentTime+=P.duration+P.delay;const bt=this.visitStyle(Ge,x);bt.isEmptyStep=qe,oe=bt}return x.currentAnimateTimings=null,{type:4,timings:P,style:oe,options:null}}visitStyle(E,x){const P=this._makeStyleAst(E,x);return this._validateStyleAst(P,x),P}_makeStyleAst(E,x){const P=[],oe=Array.isArray(E.styles)?E.styles:[E.styles];for(let qe of oe)"string"==typeof qe?qe===p.l3?P.push(qe):x.errors.push(new n.\u0275RuntimeError(3002,!1)):P.push(pn(qe));let Ce=!1,Ge=null;return P.forEach(qe=>{if(qe instanceof Map&&(qe.has("easing")&&(Ge=qe.get("easing"),qe.delete("easing")),!Ce))for(let bt of qe.values())if(bt.toString().indexOf("{{")>=0){Ce=!0;break}}),{type:6,styles:P,easing:Ge,offset:E.offset,containsDynamicStyles:Ce,options:null}}_validateStyleAst(E,x){const P=x.currentAnimateTimings;let oe=x.currentTime,Ce=x.currentTime;P&&Ce>0&&(Ce-=P.duration+P.delay),E.styles.forEach(Ge=>{"string"!=typeof Ge&&Ge.forEach((qe,bt)=>{const Tt=x.collectedStyles.get(x.currentQuerySelector),Wt=Tt.get(bt);let Ht=!0;Wt&&(Ce!=oe&&Ce>=Wt.startTime&&oe<=Wt.endTime&&(x.errors.push(function S(le,E,x,P,oe){return new n.\u0275RuntimeError(3010,!1)}()),Ht=!1),Ce=Wt.startTime),Ht&&Tt.set(bt,{startTime:Ce,endTime:oe}),x.options&&function Rt(le,E,x){const P=E.params||{},oe=ft(le);oe.length&&oe.forEach(Ce=>{P.hasOwnProperty(Ce)||x.push(function m(le){return new n.\u0275RuntimeError(3001,!1)}())})}(qe,x.options,x.errors)})})}visitKeyframes(E,x){const P={type:5,styles:[],options:null};if(!x.currentAnimateTimings)return x.errors.push(function K(){return new n.\u0275RuntimeError(3011,!1)}()),P;let Ce=0;const Ge=[];let qe=!1,bt=!1,Tt=0;const Wt=E.steps.map(li=>{const ni=this._makeStyleAst(li,x);let vi=null!=ni.offset?ni.offset:function Pn(le){if("string"==typeof le)return null;let E=null;if(Array.isArray(le))le.forEach(x=>{if(x instanceof Map&&x.has("offset")){const P=x;E=parseFloat(P.get("offset")),P.delete("offset")}});else if(le instanceof Map&&le.has("offset")){const x=le;E=parseFloat(x.get("offset")),x.delete("offset")}return E}(ni.styles),bi=0;return null!=vi&&(Ce++,bi=ni.offset=vi),bt=bt||bi<0||bi>1,qe=qe||bi<Tt,Tt=bi,Ge.push(bi),ni});bt&&x.errors.push(function V(){return new n.\u0275RuntimeError(3012,!1)}()),qe&&x.errors.push(function ee(){return new n.\u0275RuntimeError(3200,!1)}());const Ht=E.steps.length;let xn=0;Ce>0&&Ce<Ht?x.errors.push(function W(){return new n.\u0275RuntimeError(3202,!1)}()):0==Ce&&(xn=1/(Ht-1));const gn=Ht-1,sn=x.currentTime,fn=x.currentAnimateTimings,Un=fn.duration;return Wt.forEach((li,ni)=>{const vi=xn>0?ni==gn?1:xn*ni:Ge[ni],bi=vi*Un;x.currentTime=sn+fn.delay+bi,fn.duration=bi,this._validateStyleAst(li,x),li.offset=vi,P.styles.push(li)}),P}visitReference(E,x){return{type:8,animation:St(this,mt(E.animation),x),options:ge(E.options)}}visitAnimateChild(E,x){return x.depCount++,{type:9,options:ge(E.options)}}visitAnimateRef(E,x){return{type:10,animation:this.visitReference(E.animation,x),options:ge(E.options)}}visitQuery(E,x){const P=x.currentQuerySelector,oe=E.options||{};x.queryCount++,x.currentQuery=E;const[Ce,Ge]=function On(le){const E=!!le.split(/\s*,\s*/).find(x=>":self"==x);return E&&(le=le.replace(tn,"")),le=le.replace(/@\*/g,Ue).replace(/@\w+/g,x=>Ue+"-"+x.slice(1)).replace(/:animating/g,De),[le,E]}(E.selector);x.currentQuerySelector=P.length?P+" "+Ce:Ce,lt(x.collectedStyles,x.currentQuerySelector,new Map);const qe=St(this,mt(E.animation),x);return x.currentQuery=null,x.currentQuerySelector=P,{type:11,selector:Ce,limit:oe.limit||0,optional:!!oe.optional,includeSelf:Ge,animation:qe,originalSelector:E.selector,options:ge(E.options)}}visitStagger(E,x){x.currentQuery||x.errors.push(function Y(){return new n.\u0275RuntimeError(3013,!1)}());const P="full"===E.timings?{duration:0,delay:0,easing:"full"}:Lt(E.timings,x.errors,!0);return{type:12,animation:St(this,mt(E.animation),x),timings:P,options:null}}}class Ci{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 ge(le){return le?(le=cn(le)).params&&(le.params=function kn(le){return le?cn(le):null}(le.params)):le={},le}function st(le,E,x){return{duration:le,delay:E,easing:x}}function X(le,E,x,P,oe,Ce,Ge=null,qe=!1){return{type:1,element:le,keyframes:E,preStyleProps:x,postStyleProps:P,duration:oe,delay:Ce,totalTime:oe+Ce,easing:Ge,subTimeline:qe}}class me{constructor(){this._map=new Map}get(E){return this._map.get(E)||[]}append(E,x){let P=this._map.get(E);P||this._map.set(E,P=[]),P.push(...x)}has(E){return this._map.has(E)}clear(){this._map.clear()}}const L=new RegExp(":enter","g"),Be=new RegExp(":leave","g");function $t(le,E,x,P,oe,Ce=new Map,Ge=new Map,qe,bt,Tt=[]){return(new Bt).buildKeyframes(le,E,x,P,oe,Ce,Ge,qe,bt,Tt)}class Bt{buildKeyframes(E,x,P,oe,Ce,Ge,qe,bt,Tt,Wt=[]){Tt=Tt||new me;const Ht=new Sn(E,x,Tt,oe,Ce,Wt,[]);Ht.options=bt;const xn=bt.delay?at(bt.delay):0;Ht.currentTimeline.delayNextStep(xn),Ht.currentTimeline.setStyles([Ge],null,Ht.errors,bt),St(this,P,Ht);const gn=Ht.timelines.filter(sn=>sn.containsAnimation());if(gn.length&&qe.size){let sn;for(let fn=gn.length-1;fn>=0;fn--){const Un=gn[fn];if(Un.element===x){sn=Un;break}}sn&&!sn.allowOnlyTimelineStyles()&&sn.setStyles([qe],null,Ht.errors,bt)}return gn.length?gn.map(sn=>sn.buildKeyframes()):[X(x,[],[],[],0,xn,"",!1)]}visitTrigger(E,x){}visitState(E,x){}visitTransition(E,x){}visitAnimateChild(E,x){const P=x.subInstructions.get(x.element);if(P){const oe=x.createSubContext(E.options),Ce=x.currentTimeline.currentTime,Ge=this._visitSubInstructions(P,oe,oe.options);Ce!=Ge&&x.transformIntoNewTimeline(Ge)}x.previousNode=E}visitAnimateRef(E,x){const P=x.createSubContext(E.options);P.transformIntoNewTimeline(),this._applyAnimationRefDelays([E.options,E.animation.options],x,P),this.visitReference(E.animation,P),x.transformIntoNewTimeline(P.currentTimeline.currentTime),x.previousNode=E}_applyAnimationRefDelays(E,x,P){for(const oe of E){const Ce=oe?.delay;if(Ce){const Ge="number"==typeof Ce?Ce:at(ye(Ce,oe?.params??{},x.errors));P.delayNextStep(Ge)}}}_visitSubInstructions(E,x,P){let Ce=x.currentTimeline.currentTime;const Ge=null!=P.duration?at(P.duration):null,qe=null!=P.delay?at(P.delay):null;return 0!==Ge&&E.forEach(bt=>{const Tt=x.appendInstructionToTimeline(bt,Ge,qe);Ce=Math.max(Ce,Tt.duration+Tt.delay)}),Ce}visitReference(E,x){x.updateOptions(E.options,!0),St(this,E.animation,x),x.previousNode=E}visitSequence(E,x){const P=x.subContextCount;let oe=x;const Ce=E.options;if(Ce&&(Ce.params||Ce.delay)&&(oe=x.createSubContext(Ce),oe.transformIntoNewTimeline(),null!=Ce.delay)){6==oe.previousNode.type&&(oe.currentTimeline.snapshotCurrentStyles(),oe.previousNode=yn);const Ge=at(Ce.delay);oe.delayNextStep(Ge)}E.steps.length&&(E.steps.forEach(Ge=>St(this,Ge,oe)),oe.currentTimeline.applyStylesToKeyframe(),oe.subContextCount>P&&oe.transformIntoNewTimeline()),x.previousNode=E}visitGroup(E,x){const P=[];let oe=x.currentTimeline.currentTime;const Ce=E.options&&E.options.delay?at(E.options.delay):0;E.steps.forEach(Ge=>{const qe=x.createSubContext(E.options);Ce&&qe.delayNextStep(Ce),St(this,Ge,qe),oe=Math.max(oe,qe.currentTimeline.currentTime),P.push(qe.currentTimeline)}),P.forEach(Ge=>x.currentTimeline.mergeTimelineCollectedStyles(Ge)),x.transformIntoNewTimeline(oe),x.previousNode=E}_visitTiming(E,x){if(E.dynamic){const P=E.strValue;return Lt(x.params?ye(P,x.params,x.errors):P,x.errors)}return{duration:E.duration,delay:E.delay,easing:E.easing}}visitAnimate(E,x){const P=x.currentAnimateTimings=this._visitTiming(E.timings,x),oe=x.currentTimeline;P.delay&&(x.incrementTime(P.delay),oe.snapshotCurrentStyles());const Ce=E.style;5==Ce.type?this.visitKeyframes(Ce,x):(x.incrementTime(P.duration),this.visitStyle(Ce,x),oe.applyStylesToKeyframe()),x.currentAnimateTimings=null,x.previousNode=E}visitStyle(E,x){const P=x.currentTimeline,oe=x.currentAnimateTimings;!oe&&P.hasCurrentStyleProperties()&&P.forwardFrame();const Ce=oe&&oe.easing||E.easing;E.isEmptyStep?P.applyEmptyStep(Ce):P.setStyles(E.styles,Ce,x.errors,x.options),x.previousNode=E}visitKeyframes(E,x){const P=x.currentAnimateTimings,oe=x.currentTimeline.duration,Ce=P.duration,qe=x.createSubContext().currentTimeline;qe.easing=P.easing,E.styles.forEach(bt=>{qe.forwardTime((bt.offset||0)*Ce),qe.setStyles(bt.styles,bt.easing,x.errors,x.options),qe.applyStylesToKeyframe()}),x.currentTimeline.mergeTimelineCollectedStyles(qe),x.transformIntoNewTimeline(oe+Ce),x.previousNode=E}visitQuery(E,x){const P=x.currentTimeline.currentTime,oe=E.options||{},Ce=oe.delay?at(oe.delay):0;Ce&&(6===x.previousNode.type||0==P&&x.currentTimeline.hasCurrentStyleProperties())&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=yn);let Ge=P;const qe=x.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!oe.optional,x.errors);x.currentQueryTotal=qe.length;let bt=null;qe.forEach((Tt,Wt)=>{x.currentQueryIndex=Wt;const Ht=x.createSubContext(E.options,Tt);Ce&&Ht.delayNextStep(Ce),Tt===x.element&&(bt=Ht.currentTimeline),St(this,E.animation,Ht),Ht.currentTimeline.applyStylesToKeyframe(),Ge=Math.max(Ge,Ht.currentTimeline.currentTime)}),x.currentQueryIndex=0,x.currentQueryTotal=0,x.transformIntoNewTimeline(Ge),bt&&(x.currentTimeline.mergeTimelineCollectedStyles(bt),x.currentTimeline.snapshotCurrentStyles()),x.previousNode=E}visitStagger(E,x){const P=x.parentContext,oe=x.currentTimeline,Ce=E.timings,Ge=Math.abs(Ce.duration),qe=Ge*(x.currentQueryTotal-1);let bt=Ge*x.currentQueryIndex;switch(Ce.duration<0?"reverse":Ce.easing){case"reverse":bt=qe-bt;break;case"full":bt=P.currentStaggerTime}const Wt=x.currentTimeline;bt&&Wt.delayNextStep(bt);const Ht=Wt.currentTime;St(this,E.animation,x),x.previousNode=E,P.currentStaggerTime=oe.currentTime-Ht+(oe.startTime-P.currentTimeline.startTime)}}const yn={};class Sn{constructor(E,x,P,oe,Ce,Ge,qe,bt){this._driver=E,this.element=x,this.subInstructions=P,this._enterClassName=oe,this._leaveClassName=Ce,this.errors=Ge,this.timelines=qe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=bt||new Kn(this._driver,x,0),qe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,x){if(!E)return;const P=E;let oe=this.options;null!=P.duration&&(oe.duration=at(P.duration)),null!=P.delay&&(oe.delay=at(P.delay));const Ce=P.params;if(Ce){let Ge=oe.params;Ge||(Ge=this.options.params={}),Object.keys(Ce).forEach(qe=>{(!x||!Ge.hasOwnProperty(qe))&&(Ge[qe]=ye(Ce[qe],Ge,this.errors))})}}_copyOptions(){const E={};if(this.options){const x=this.options.params;if(x){const P=E.params={};Object.keys(x).forEach(oe=>{P[oe]=x[oe]})}}return E}createSubContext(E=null,x,P){const oe=x||this.element,Ce=new Sn(this._driver,oe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(oe,P||0));return Ce.previousNode=this.previousNode,Ce.currentAnimateTimings=this.currentAnimateTimings,Ce.options=this._copyOptions(),Ce.updateOptions(E),Ce.currentQueryIndex=this.currentQueryIndex,Ce.currentQueryTotal=this.currentQueryTotal,Ce.parentContext=this,this.subContextCount++,Ce}transformIntoNewTimeline(E){return this.previousNode=yn,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,x,P){const oe={duration:x??E.duration,delay:this.currentTimeline.currentTime+(P??0)+E.delay,easing:""},Ce=new ii(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,oe,E.stretchStartingKeyframe);return this.timelines.push(Ce),oe}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,x,P,oe,Ce,Ge){let qe=[];if(oe&&qe.push(this.element),E.length>0){E=(E=E.replace(L,"."+this._enterClassName)).replace(Be,"."+this._leaveClassName);let Tt=this._driver.query(this.element,E,1!=P);0!==P&&(Tt=P<0?Tt.slice(Tt.length+P,Tt.length):Tt.slice(0,P)),qe.push(...Tt)}return!Ce&&0==qe.length&&Ge.push(function ue(le){return new n.\u0275RuntimeError(3014,!1)}()),qe}}class Kn{constructor(E,x,P,oe){this._driver=E,this.element=x,this.startTime=P,this._elementTimelineStylesLookup=oe,this.duration=0,this.easing=null,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(x),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(x,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 x=1===this._keyframes.size&&this._pendingStyles.size;this.duration||x?(this.forwardTime(this.currentTime+E),x&&this.snapshotCurrentStyles()):this.startTime+=E}fork(E,x){return this.applyStylesToKeyframe(),new Kn(this._driver,E,x||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,x){this._localTimelineStyles.set(E,x),this._globalTimelineStyles.set(E,x),this._styleSummary.set(E,{time:this.currentTime,value:x})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(E){E&&this._previousKeyframe.set("easing",E);for(let[x,P]of this._globalTimelineStyles)this._backFill.set(x,P||p.l3),this._currentKeyframe.set(x,p.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(E,x,P,oe){x&&this._previousKeyframe.set("easing",x);const Ce=oe&&oe.params||{},Ge=function ri(le,E){const x=new Map;let P;return le.forEach(oe=>{if("*"===oe){P=P||E.keys();for(let Ce of P)x.set(Ce,p.l3)}else rt(oe,x)}),x}(E,this._globalTimelineStyles);for(let[qe,bt]of Ge){const Tt=ye(bt,Ce,P);this._pendingStyles.set(qe,Tt),this._localTimelineStyles.has(qe)||this._backFill.set(qe,this._globalTimelineStyles.get(qe)??p.l3),this._updateStyle(qe,Tt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((E,x)=>{this._currentKeyframe.set(x,E)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((E,x)=>{this._currentKeyframe.has(x)||this._currentKeyframe.set(x,E)}))}snapshotCurrentStyles(){for(let[E,x]of this._localTimelineStyles)this._pendingStyles.set(E,x),this._updateStyle(E,x)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const E=[];for(let x in this._currentKeyframe)E.push(x);return E}mergeTimelineCollectedStyles(E){E._styleSummary.forEach((x,P)=>{const oe=this._styleSummary.get(P);(!oe||x.time>oe.time)&&this._updateStyle(P,x.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,x=new Set,P=1===this._keyframes.size&&0===this.duration;let oe=[];this._keyframes.forEach((qe,bt)=>{const Tt=rt(qe,new Map,this._backFill);Tt.forEach((Wt,Ht)=>{Wt===p.k1?E.add(Ht):Wt===p.l3&&x.add(Ht)}),P||Tt.set("offset",bt/this.duration),oe.push(Tt)});const Ce=E.size?G(E.values()):[],Ge=x.size?G(x.values()):[];if(P){const qe=oe[0],bt=new Map(qe);qe.set("offset",0),bt.set("offset",1),oe=[qe,bt]}return X(this.element,oe,Ce,Ge,this.duration,this.startTime,this.easing,!1)}}class ii extends Kn{constructor(E,x,P,oe,Ce,Ge,qe=!1){super(E,x,Ge.delay),this.keyframes=P,this.preStyleProps=oe,this.postStyleProps=Ce,this._stretchStartingKeyframe=qe,this.timings={duration:Ge.duration,delay:Ge.delay,easing:Ge.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:x,duration:P,easing:oe}=this.timings;if(this._stretchStartingKeyframe&&x){const Ce=[],Ge=P+x,qe=x/Ge,bt=rt(E[0]);bt.set("offset",0),Ce.push(bt);const Tt=rt(E[0]);Tt.set("offset",Ii(qe)),Ce.push(Tt);const Wt=E.length-1;for(let Ht=1;Ht<=Wt;Ht++){let xn=rt(E[Ht]);const gn=xn.get("offset");xn.set("offset",Ii((x+gn*P)/Ge)),Ce.push(xn)}P=Ge,x=0,oe="",E=Ce}return X(this.element,E,this.preStyleProps,this.postStyleProps,P,x,oe,!0)}}function Ii(le,E=3){const x=Math.pow(10,E-1);return Math.round(le*x)/x}class Sr{}const lr=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 Lr extends Sr{normalizePropertyName(E,x){return fe(E)}normalizeStyleValue(E,x,P,oe){let Ce="";const Ge=P.toString().trim();if(lr.has(x)&&0!==P&&"0"!==P)if("number"==typeof P)Ce="px";else{const qe=P.match(/^[+-]?[\d\.]+([a-z]*)$/);qe&&0==qe[1].length&&oe.push(function y(le,E){return new n.\u0275RuntimeError(3005,!1)}())}return Ge+Ce}}function qi(le,E,x,P,oe,Ce,Ge,qe,bt,Tt,Wt,Ht,xn){return{type:0,element:le,triggerName:E,isRemovalTransition:oe,fromState:x,fromStyles:Ce,toState:P,toStyles:Ge,timelines:qe,queriedElements:bt,preStyleProps:Tt,postStyleProps:Wt,totalTime:Ht,errors:xn}}const dr={};class ur{constructor(E,x,P){this._triggerName=E,this.ast=x,this._stateStyles=P}match(E,x,P,oe){return function Qn(le,E,x,P,oe){return le.some(Ce=>Ce(E,x,P,oe))}(this.ast.matchers,E,x,P,oe)}buildStyles(E,x,P){let oe=this._stateStyles.get("*");return void 0!==E&&(oe=this._stateStyles.get(E?.toString())||oe),oe?oe.buildStyles(x,P):new Map}build(E,x,P,oe,Ce,Ge,qe,bt,Tt,Wt){const Ht=[],xn=this.ast.options&&this.ast.options.params||dr,sn=this.buildStyles(P,qe&&qe.params||dr,Ht),fn=bt&&bt.params||dr,Un=this.buildStyles(oe,fn,Ht),li=new Set,ni=new Map,vi=new Map,bi="void"===oe,Ur={params:Xn(fn,xn),delay:this.ast.options?.delay},rr=Wt?[]:$t(E,x,this.ast.animation,Ce,Ge,sn,Un,Ur,Tt,Ht);let yi=0;if(rr.forEach(Fi=>{yi=Math.max(Fi.duration+Fi.delay,yi)}),Ht.length)return qi(x,this._triggerName,P,oe,bi,sn,Un,[],[],ni,vi,yi,Ht);rr.forEach(Fi=>{const or=Fi.element,ko=lt(ni,or,new Set);Fi.preStyleProps.forEach(Er=>ko.add(Er));const Hr=lt(vi,or,new Set);Fi.postStyleProps.forEach(Er=>Hr.add(Er)),or!==x&&li.add(or)});const Ri=G(li.values());return qi(x,this._triggerName,P,oe,bi,sn,Un,rr,Ri,ni,vi,yi)}}function Xn(le,E){const x=cn(E);for(const P in le)le.hasOwnProperty(P)&&null!=le[P]&&(x[P]=le[P]);return x}class er{constructor(E,x,P){this.styles=E,this.defaultParams=x,this.normalizer=P}buildStyles(E,x){const P=new Map,oe=cn(this.defaultParams);return Object.keys(E).forEach(Ce=>{const Ge=E[Ce];null!==Ge&&(oe[Ce]=Ge)}),this.styles.styles.forEach(Ce=>{"string"!=typeof Ce&&Ce.forEach((Ge,qe)=>{Ge&&(Ge=ye(Ge,oe,x));const bt=this.normalizer.normalizePropertyName(qe,x);Ge=this.normalizer.normalizeStyleValue(qe,bt,Ge,x),P.set(qe,Ge)})}),P}}class Ir{constructor(E,x,P){this.name=E,this.ast=x,this._normalizer=P,this.transitionFactories=[],this.states=new Map,x.states.forEach(oe=>{this.states.set(oe.name,new er(oe.style,oe.options&&oe.options.params||{},P))}),fr(this.states,"true","1"),fr(this.states,"false","0"),x.transitions.forEach(oe=>{this.transitionFactories.push(new ur(E,oe,this.states))}),this.fallbackTransition=function tr(le,E,x){return new ur(le,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ge,qe)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,x,P,oe){return this.transitionFactories.find(Ge=>Ge.match(E,x,P,oe))||null}matchStyles(E,x,P){return this.fallbackTransition.buildStyles(E,x,P)}}function fr(le,E,x){le.has(E)?le.has(x)||le.set(x,le.get(E)):le.has(x)&&le.set(E,le.get(x))}const hr=new me;class Ar{constructor(E,x,P){this.bodyNode=E,this._driver=x,this._normalizer=P,this._animations=new Map,this._playersById=new Map,this.players=[]}register(E,x){const P=[],Ce=Gt(this._driver,x,P,[]);if(P.length)throw function pe(le){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(E,Ce)}_buildPlayer(E,x,P){const oe=E.element,Ce=Oe(this._normalizer,E.keyframes,x,P);return this._driver.animate(oe,Ce,E.duration,E.delay,E.easing,[],!0)}create(E,x,P={}){const oe=[],Ce=this._animations.get(E);let Ge;const qe=new Map;if(Ce?(Ge=$t(this._driver,x,Ce,Qt,dt,new Map,new Map,P,hr,oe),Ge.forEach(Wt=>{const Ht=lt(qe,Wt.element,new Map);Wt.postStyleProps.forEach(xn=>Ht.set(xn,null))})):(oe.push(function Le(){return new n.\u0275RuntimeError(3300,!1)}()),Ge=[]),oe.length)throw function Xe(le){return new n.\u0275RuntimeError(3504,!1)}();qe.forEach((Wt,Ht)=>{Wt.forEach((xn,gn)=>{Wt.set(gn,this._driver.computeStyle(Ht,gn,p.l3))})});const Tt=H(Ge.map(Wt=>{const Ht=qe.get(Wt.element);return this._buildPlayer(Wt,new Map,Ht)}));return this._playersById.set(E,Tt),Tt.onDestroy(()=>this.destroy(E)),this.players.push(Tt),Tt}destroy(E){const x=this._getPlayer(E);x.destroy(),this._playersById.delete(E);const P=this.players.indexOf(x);P>=0&&this.players.splice(P,1)}_getPlayer(E){const x=this._playersById.get(E);if(!x)throw function Je(le){return new n.\u0275RuntimeError(3301,!1)}();return x}listen(E,x,P,oe){const Ce=Ct(x,"","","");return He(this._getPlayer(E),P,Ce,oe),()=>{}}command(E,x,P,oe){if("register"==P)return void this.register(E,oe[0]);if("create"==P)return void this.create(E,x,oe[0]||{});const Ce=this._getPlayer(E);switch(P){case"play":Ce.play();break;case"pause":Ce.pause();break;case"reset":Ce.reset();break;case"restart":Ce.restart();break;case"finish":Ce.finish();break;case"init":Ce.init();break;case"setPosition":Ce.setPosition(parseFloat(oe[0]));break;case"destroy":this.destroy(E)}}}const Bn="ng-animate-queued",dn="ng-animate-disabled",oi=[],Ui={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$n={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zn="__ng_removed";class Ni{get params(){return this.options.params}constructor(E,x=""){this.namespaceId=x;const P=E&&E.hasOwnProperty("value");if(this.value=function gi(le){return le??null}(P?E.value:E),P){const Ce=cn(E);delete Ce.value,this.options=Ce}else this.options={};this.options.params||(this.options.params={})}absorbOptions(E){const x=E.params;if(x){const P=this.options.params;Object.keys(x).forEach(oe=>{null==P[oe]&&(P[oe]=x[oe])})}}}const rn="void",Li=new Ni(rn);class br{constructor(E,x,P){this.id=E,this.hostElement=x,this._engine=P,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+E,qn(x,this._hostClassName)}listen(E,x,P,oe){if(!this._triggers.has(x))throw function q(le,E){return new n.\u0275RuntimeError(3302,!1)}();if(null==P||0==P.length)throw function we(le){return new n.\u0275RuntimeError(3303,!1)}();if(!function ui(le){return"start"==le||"done"==le}(P))throw function re(le,E){return new n.\u0275RuntimeError(3400,!1)}();const Ce=lt(this._elementListeners,E,[]),Ge={name:x,phase:P,callback:oe};Ce.push(Ge);const qe=lt(this._engine.statesByElement,E,new Map);return qe.has(x)||(qn(E,Dt),qn(E,Dt+"-"+x),qe.set(x,Li)),()=>{this._engine.afterFlush(()=>{const bt=Ce.indexOf(Ge);bt>=0&&Ce.splice(bt,1),this._triggers.has(x)||qe.delete(x)})}}register(E,x){return!this._triggers.has(E)&&(this._triggers.set(E,x),!0)}_getTrigger(E){const x=this._triggers.get(E);if(!x)throw function J(le){return new n.\u0275RuntimeError(3401,!1)}();return x}trigger(E,x,P,oe=!0){const Ce=this._getTrigger(x),Ge=new Rn(this.id,x,E);let qe=this._engine.statesByElement.get(E);qe||(qn(E,Dt),qn(E,Dt+"-"+x),this._engine.statesByElement.set(E,qe=new Map));let bt=qe.get(x);const Tt=new Ni(P,this.id);if(!(P&&P.hasOwnProperty("value"))&&bt&&Tt.absorbOptions(bt.options),qe.set(x,Tt),bt||(bt=Li),Tt.value!==rn&&bt.value===Tt.value){if(!function Cr(le,E){const x=Object.keys(le),P=Object.keys(E);if(x.length!=P.length)return!1;for(let oe=0;oe<x.length;oe++){const Ce=x[oe];if(!E.hasOwnProperty(Ce)||le[Ce]!==E[Ce])return!1}return!0}(bt.params,Tt.params)){const fn=[],Un=Ce.matchStyles(bt.value,bt.params,fn),li=Ce.matchStyles(Tt.value,Tt.params,fn);fn.length?this._engine.reportError(fn):this._engine.afterFlush(()=>{We(E,Un),Ie(E,li)})}return}const xn=lt(this._engine.playersByElement,E,[]);xn.forEach(fn=>{fn.namespaceId==this.id&&fn.triggerName==x&&fn.queued&&fn.destroy()});let gn=Ce.matchTransition(bt.value,Tt.value,E,Tt.params),sn=!1;if(!gn){if(!oe)return;gn=Ce.fallbackTransition,sn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:x,transition:gn,fromState:bt,toState:Tt,player:Ge,isFallbackTransition:sn}),sn||(qn(E,Bn),Ge.onStart(()=>{Pi(E,Bn)})),Ge.onDone(()=>{let fn=this.players.indexOf(Ge);fn>=0&&this.players.splice(fn,1);const Un=this._engine.playersByElement.get(E);if(Un){let li=Un.indexOf(Ge);li>=0&&Un.splice(li,1)}}),this.players.push(Ge),xn.push(Ge),Ge}deregister(E){this._triggers.delete(E),this._engine.statesByElement.forEach(x=>x.delete(E)),this._elementListeners.forEach((x,P)=>{this._elementListeners.set(P,x.filter(oe=>oe.name!=E))})}clearElementCache(E){this._engine.statesByElement.delete(E),this._elementListeners.delete(E);const x=this._engine.playersByElement.get(E);x&&(x.forEach(P=>P.destroy()),this._engine.playersByElement.delete(E))}_signalRemovalForInnerTriggers(E,x){const P=this._engine.driver.query(E,Ue,!0);P.forEach(oe=>{if(oe[Zn])return;const Ce=this._engine.fetchNamespacesByElement(oe);Ce.size?Ce.forEach(Ge=>Ge.triggerLeaveAnimation(oe,x,!1,!0)):this.clearElementCache(oe)}),this._engine.afterFlushAnimationsDone(()=>P.forEach(oe=>this.clearElementCache(oe)))}triggerLeaveAnimation(E,x,P,oe){const Ce=this._engine.statesByElement.get(E),Ge=new Map;if(Ce){const qe=[];if(Ce.forEach((bt,Tt)=>{if(Ge.set(Tt,bt.value),this._triggers.has(Tt)){const Wt=this.trigger(E,Tt,rn,oe);Wt&&qe.push(Wt)}}),qe.length)return this._engine.markElementAsRemoved(this.id,E,!0,x,Ge),P&&H(qe).onDone(()=>this._engine.processLeaveNode(E)),!0}return!1}prepareLeaveAnimationListeners(E){const x=this._elementListeners.get(E),P=this._engine.statesByElement.get(E);if(x&&P){const oe=new Set;x.forEach(Ce=>{const Ge=Ce.name;if(oe.has(Ge))return;oe.add(Ge);const bt=this._triggers.get(Ge).fallbackTransition,Tt=P.get(Ge)||Li,Wt=new Ni(rn),Ht=new Rn(this.id,Ge,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:Ge,transition:bt,fromState:Tt,toState:Wt,player:Ht,isFallbackTransition:!0})})}}removeNode(E,x){const P=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,x),this.triggerLeaveAnimation(E,x,!0))return;let oe=!1;if(P.totalAnimations){const Ce=P.players.length?P.playersByQueriedElement.get(E):[];if(Ce&&Ce.length)oe=!0;else{let Ge=E;for(;Ge=Ge.parentNode;)if(P.statesByElement.get(Ge)){oe=!0;break}}}if(this.prepareLeaveAnimationListeners(E),oe)P.markElementAsRemoved(this.id,E,!1,x);else{const Ce=E[Zn];(!Ce||Ce===Ui)&&(P.afterFlush(()=>this.clearElementCache(E)),P.destroyInnerAnimations(E),P._onRemovalComplete(E,x))}}insertNode(E,x){qn(E,this._hostClassName)}drainQueuedTransitions(E){const x=[];return this._queue.forEach(P=>{const oe=P.player;if(oe.destroyed)return;const Ce=P.element,Ge=this._elementListeners.get(Ce);Ge&&Ge.forEach(qe=>{if(qe.name==P.triggerName){const bt=Ct(Ce,P.triggerName,P.fromState.value,P.toState.value);bt._data=E,He(P.player,qe.phase,bt,qe.callback)}}),oe.markedForDestroy?this._engine.afterFlush(()=>{oe.destroy()}):x.push(P)}),this._queue=[],x.sort((P,oe)=>{const Ce=P.transition.ast.depCount,Ge=oe.transition.ast.depCount;return 0==Ce||0==Ge?Ce-Ge:this._engine.driver.containsElement(P.element,oe.element)?1:-1})}destroy(E){this.players.forEach(x=>x.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,E)}}class Hi{_onRemovalComplete(E,x){this.onRemovalComplete(E,x)}constructor(E,x,P){this.bodyNode=E,this.driver=x,this._normalizer=P,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=(oe,Ce)=>{}}get queuedPlayers(){const E=[];return this._namespaceList.forEach(x=>{x.players.forEach(P=>{P.queued&&E.push(P)})}),E}createNamespace(E,x){const P=new br(E,x,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,x)?this._balanceNamespaceList(P,x):(this.newHostElements.set(x,P),this.collectEnterElement(x)),this._namespaceLookup[E]=P}_balanceNamespaceList(E,x){const P=this._namespaceList,oe=this.namespacesByHostElement;if(P.length-1>=0){let Ge=!1,qe=this.driver.getParentElement(x);for(;qe;){const bt=oe.get(qe);if(bt){const Tt=P.indexOf(bt);P.splice(Tt+1,0,E),Ge=!0;break}qe=this.driver.getParentElement(qe)}Ge||P.unshift(E)}else P.push(E);return oe.set(x,E),E}register(E,x){let P=this._namespaceLookup[E];return P||(P=this.createNamespace(E,x)),P}registerTrigger(E,x,P){let oe=this._namespaceLookup[E];oe&&oe.register(x,P)&&this.totalAnimations++}destroy(E,x){E&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const P=this._fetchNamespace(E);this.namespacesByHostElement.delete(P.hostElement);const oe=this._namespaceList.indexOf(P);oe>=0&&this._namespaceList.splice(oe,1),P.destroy(x),delete this._namespaceLookup[E]}))}_fetchNamespace(E){return this._namespaceLookup[E]}fetchNamespacesByElement(E){const x=new Set,P=this.statesByElement.get(E);if(P)for(let oe of P.values())if(oe.namespaceId){const Ce=this._fetchNamespace(oe.namespaceId);Ce&&x.add(Ce)}return x}trigger(E,x,P,oe){if(Jn(x)){const Ce=this._fetchNamespace(E);if(Ce)return Ce.trigger(x,P,oe),!0}return!1}insertNode(E,x,P,oe){if(!Jn(x))return;const Ce=x[Zn];if(Ce&&Ce.setForRemoval){Ce.setForRemoval=!1,Ce.setForMove=!0;const Ge=this.collectedLeaveElements.indexOf(x);Ge>=0&&this.collectedLeaveElements.splice(Ge,1)}if(E){const Ge=this._fetchNamespace(E);Ge&&Ge.insertNode(x,P)}oe&&this.collectEnterElement(x)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,x){x?this.disabledNodes.has(E)||(this.disabledNodes.add(E),qn(E,dn)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),Pi(E,dn))}removeNode(E,x,P){if(Jn(x)){const oe=E?this._fetchNamespace(E):null;oe?oe.removeNode(x,P):this.markElementAsRemoved(E,x,!1,P);const Ce=this.namespacesByHostElement.get(x);Ce&&Ce.id!==E&&Ce.removeNode(x,P)}else this._onRemovalComplete(x,P)}markElementAsRemoved(E,x,P,oe,Ce){this.collectedLeaveElements.push(x),x[Zn]={namespaceId:E,setForRemoval:oe,hasAnimation:P,removedBeforeQueried:!1,previousTriggersValues:Ce}}listen(E,x,P,oe,Ce){return Jn(x)?this._fetchNamespace(E).listen(x,P,oe,Ce):()=>{}}_buildInstruction(E,x,P,oe,Ce){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,P,oe,E.fromState.options,E.toState.options,x,Ce)}destroyInnerAnimations(E){let x=this.driver.query(E,Ue,!0);x.forEach(P=>this.destroyActiveAnimationsForElement(P)),0!=this.playersByQueriedElement.size&&(x=this.driver.query(E,De,!0),x.forEach(P=>this.finishActiveQueriedAnimationOnElement(P)))}destroyActiveAnimationsForElement(E){const x=this.playersByElement.get(E);x&&x.forEach(P=>{P.queued?P.markedForDestroy=!0:P.destroy()})}finishActiveQueriedAnimationOnElement(E){const x=this.playersByQueriedElement.get(E);x&&x.forEach(P=>P.finish())}whenRenderingDone(){return new Promise(E=>{if(this.players.length)return H(this.players).onDone(()=>E());E()})}processLeaveNode(E){const x=E[Zn];if(x&&x.setForRemoval){if(E[Zn]=Ui,x.namespaceId){this.destroyInnerAnimations(E);const P=this._fetchNamespace(x.namespaceId);P&&P.clearElementCache(E)}this._onRemovalComplete(E,x.setForRemoval)}E.classList?.contains(dn)&&this.markElementAsDisabled(E,!1),this.driver.query(E,".ng-animate-disabled",!0).forEach(P=>{this.markElementAsDisabled(P,!1)})}flush(E=-1){let x=[];if(this.newHostElements.size&&(this.newHostElements.forEach((P,oe)=>this._balanceNamespaceList(P,oe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let P=0;P<this.collectedEnterElements.length;P++)qn(this.collectedEnterElements[P],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const P=[];try{x=this._flushAnimations(P,E)}finally{for(let oe=0;oe<P.length;oe++)P[oe]()}}else for(let P=0;P<this.collectedLeaveElements.length;P++)this.processLeaveNode(this.collectedLeaveElements[P]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(P=>P()),this._flushFns=[],this._whenQuietFns.length){const P=this._whenQuietFns;this._whenQuietFns=[],x.length?H(x).onDone(()=>{P.forEach(oe=>oe())}):P.forEach(oe=>oe())}}reportError(E){throw function z(le){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(E,x){const P=new me,oe=[],Ce=new Map,Ge=[],qe=new Map,bt=new Map,Tt=new Map,Wt=new Set;this.disabledNodes.forEach(nn=>{Wt.add(nn);const an=this.driver.query(nn,".ng-animate-queued",!0);for(let un=0;un<an.length;un++)Wt.add(an[un])});const Ht=this.bodyNode,xn=Array.from(this.statesByElement.keys()),gn=si(xn,this.collectedEnterElements),sn=new Map;let fn=0;gn.forEach((nn,an)=>{const un=Qt+fn++;sn.set(an,un),nn.forEach(Fn=>qn(Fn,un))});const Un=[],li=new Set,ni=new Set;for(let nn=0;nn<this.collectedLeaveElements.length;nn++){const an=this.collectedLeaveElements[nn],un=an[Zn];un&&un.setForRemoval&&(Un.push(an),li.add(an),un.hasAnimation?this.driver.query(an,".ng-star-inserted",!0).forEach(Fn=>li.add(Fn)):ni.add(an))}const vi=new Map,bi=si(xn,Array.from(li));bi.forEach((nn,an)=>{const un=dt+fn++;vi.set(an,un),nn.forEach(Fn=>qn(Fn,un))}),E.push(()=>{gn.forEach((nn,an)=>{const un=sn.get(an);nn.forEach(Fn=>Pi(Fn,un))}),bi.forEach((nn,an)=>{const un=vi.get(an);nn.forEach(Fn=>Pi(Fn,un))}),Un.forEach(nn=>{this.processLeaveNode(nn)})});const Ur=[],rr=[];for(let nn=this._namespaceList.length-1;nn>=0;nn--)this._namespaceList[nn].drainQueuedTransitions(x).forEach(un=>{const Fn=un.player,hi=un.element;if(Ur.push(Fn),this.collectedEnterElements.length){const B=hi[Zn];if(B&&B.setForMove){if(B.previousTriggersValues&&B.previousTriggersValues.has(un.triggerName)){const Se=B.previousTriggersValues.get(un.triggerName),pt=this.statesByElement.get(un.element);if(pt&&pt.has(un.triggerName)){const xt=pt.get(un.triggerName);xt.value=Se,pt.set(un.triggerName,xt)}}return void Fn.destroy()}}const pr=!Ht||!this.driver.containsElement(Ht,hi),Ti=vi.get(hi),Tr=sn.get(hi),D=this._buildInstruction(un,P,Tr,Ti,pr);if(D.errors&&D.errors.length)return void rr.push(D);if(pr)return Fn.onStart(()=>We(hi,D.fromStyles)),Fn.onDestroy(()=>Ie(hi,D.toStyles)),void oe.push(Fn);if(un.isFallbackTransition)return Fn.onStart(()=>We(hi,D.fromStyles)),Fn.onDestroy(()=>Ie(hi,D.toStyles)),void oe.push(Fn);const se=[];D.timelines.forEach(B=>{B.stretchStartingKeyframe=!0,this.disabledNodes.has(B.element)||se.push(B)}),D.timelines=se,P.append(hi,D.timelines),Ge.push({instruction:D,player:Fn,element:hi}),D.queriedElements.forEach(B=>lt(qe,B,[]).push(Fn)),D.preStyleProps.forEach((B,Se)=>{if(B.size){let pt=bt.get(Se);pt||bt.set(Se,pt=new Set),B.forEach((xt,Xt)=>pt.add(Xt))}}),D.postStyleProps.forEach((B,Se)=>{let pt=Tt.get(Se);pt||Tt.set(Se,pt=new Set),B.forEach((xt,Xt)=>pt.add(Xt))})});if(rr.length){const nn=[];rr.forEach(an=>{nn.push(function U(le,E){return new n.\u0275RuntimeError(3505,!1)}())}),Ur.forEach(an=>an.destroy()),this.reportError(nn)}const yi=new Map,Ri=new Map;Ge.forEach(nn=>{const an=nn.element;P.has(an)&&(Ri.set(an,an),this._beforeAnimationBuild(nn.player.namespaceId,nn.instruction,yi))}),oe.forEach(nn=>{const an=nn.element;this._getPreviousPlayers(an,!1,nn.namespaceId,nn.triggerName,null).forEach(Fn=>{lt(yi,an,[]).push(Fn),Fn.destroy()})});const Fi=Un.filter(nn=>_i(nn,bt,Tt)),or=new Map;zi(or,this.driver,ni,Tt,p.l3).forEach(nn=>{_i(nn,bt,Tt)&&Fi.push(nn)});const Hr=new Map;gn.forEach((nn,an)=>{zi(Hr,this.driver,new Set(nn),bt,p.k1)}),Fi.forEach(nn=>{const an=or.get(nn),un=Hr.get(nn);or.set(nn,new Map([...an?.entries()??[],...un?.entries()??[]]))});const Er=[],uo=[],Ms={};Ge.forEach(nn=>{const{element:an,player:un,instruction:Fn}=nn;if(P.has(an)){if(Wt.has(an))return un.onDestroy(()=>Ie(an,Fn.toStyles)),un.disabled=!0,un.overrideTotalTime(Fn.totalTime),void oe.push(un);let hi=Ms;if(Ri.size>1){let Ti=an;const Tr=[];for(;Ti=Ti.parentNode;){const D=Ri.get(Ti);if(D){hi=D;break}Tr.push(Ti)}Tr.forEach(D=>Ri.set(D,hi))}const pr=this._buildAnimation(un.namespaceId,Fn,yi,Ce,Hr,or);if(un.setRealPlayer(pr),hi===Ms)Er.push(un);else{const Ti=this.playersByElement.get(hi);Ti&&Ti.length&&(un.parentPlayer=H(Ti)),oe.push(un)}}else We(an,Fn.fromStyles),un.onDestroy(()=>Ie(an,Fn.toStyles)),uo.push(un),Wt.has(an)&&oe.push(un)}),uo.forEach(nn=>{const an=Ce.get(nn.element);if(an&&an.length){const un=H(an);nn.setRealPlayer(un)}}),oe.forEach(nn=>{nn.parentPlayer?nn.syncPlayerEvents(nn.parentPlayer):nn.destroy()});for(let nn=0;nn<Un.length;nn++){const an=Un[nn],un=an[Zn];if(Pi(an,dt),un&&un.hasAnimation)continue;let Fn=[];if(qe.size){let pr=qe.get(an);pr&&pr.length&&Fn.push(...pr);let Ti=this.driver.query(an,De,!0);for(let Tr=0;Tr<Ti.length;Tr++){let D=qe.get(Ti[Tr]);D&&D.length&&Fn.push(...D)}}const hi=Fn.filter(pr=>!pr.destroyed);hi.length?Cn(this,an,hi):this.processLeaveNode(an)}return Un.length=0,Er.forEach(nn=>{this.players.push(nn),nn.onDone(()=>{nn.destroy();const an=this.players.indexOf(nn);this.players.splice(an,1)}),nn.play()}),Er}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,x,P,oe,Ce){let Ge=[];if(x){const qe=this.playersByQueriedElement.get(E);qe&&(Ge=qe)}else{const qe=this.playersByElement.get(E);if(qe){const bt=!Ce||Ce==rn;qe.forEach(Tt=>{Tt.queued||!bt&&Tt.triggerName!=oe||Ge.push(Tt)})}}return(P||oe)&&(Ge=Ge.filter(qe=>!(P&&P!=qe.namespaceId||oe&&oe!=qe.triggerName))),Ge}_beforeAnimationBuild(E,x,P){const Ce=x.element,Ge=x.isRemovalTransition?void 0:E,qe=x.isRemovalTransition?void 0:x.triggerName;for(const bt of x.timelines){const Tt=bt.element,Wt=Tt!==Ce,Ht=lt(P,Tt,[]);this._getPreviousPlayers(Tt,Wt,Ge,qe,x.toState).forEach(gn=>{const sn=gn.getRealPlayer();sn.beforeDestroy&&sn.beforeDestroy(),gn.destroy(),Ht.push(gn)})}We(Ce,x.fromStyles)}_buildAnimation(E,x,P,oe,Ce,Ge){const qe=x.triggerName,bt=x.element,Tt=[],Wt=new Set,Ht=new Set,xn=x.timelines.map(sn=>{const fn=sn.element;Wt.add(fn);const Un=fn[Zn];if(Un&&Un.removedBeforeQueried)return new p.ZN(sn.duration,sn.delay);const li=fn!==bt,ni=function Fo(le){const E=[];return yr(le,E),E}((P.get(fn)||oi).map(yi=>yi.getRealPlayer())).filter(yi=>!!yi.element&&yi.element===fn),vi=Ce.get(fn),bi=Ge.get(fn),Ur=Oe(this._normalizer,sn.keyframes,vi,bi),rr=this._buildPlayer(sn,Ur,ni);if(sn.subTimeline&&oe&&Ht.add(fn),li){const yi=new Rn(E,qe,fn);yi.setRealPlayer(rr),Tt.push(yi)}return rr});Tt.forEach(sn=>{lt(this.playersByQueriedElement,sn.element,[]).push(sn),sn.onDone(()=>function mr(le,E,x){let P=le.get(E);if(P){if(P.length){const oe=P.indexOf(x);P.splice(oe,1)}0==P.length&&le.delete(E)}return P}(this.playersByQueriedElement,sn.element,sn))}),Wt.forEach(sn=>qn(sn,de));const gn=H(xn);return gn.onDestroy(()=>{Wt.forEach(sn=>Pi(sn,de)),Ie(bt,x.toStyles)}),Ht.forEach(sn=>{lt(oe,sn,[]).push(gn)}),gn}_buildPlayer(E,x,P){return x.length>0?this.driver.animate(E.element,x,E.duration,E.delay,E.easing,P):new p.ZN(E.duration,E.delay)}}class Rn{constructor(E,x,P){this.namespaceId=E,this.triggerName=x,this.element=P,this._player=new p.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(E){this._containsRealPlayer||(this._player=E,this._queuedCallbacks.forEach((x,P)=>{x.forEach(oe=>He(E,P,void 0,oe))}),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 x=this._player;x.triggerCallback&&E.onStart(()=>x.triggerCallback("start")),E.onDone(()=>this.finish()),E.onDestroy(()=>this.destroy())}_queueEvent(E,x){lt(this._queuedCallbacks,E,[]).push(x)}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 x=this._player;x.triggerCallback&&x.triggerCallback(E)}}function Jn(le){return le&&1===le.nodeType}function Oi(le,E){const x=le.style.display;return le.style.display=E??"none",x}function zi(le,E,x,P,oe){const Ce=[];x.forEach(bt=>Ce.push(Oi(bt)));const Ge=[];P.forEach((bt,Tt)=>{const Wt=new Map;bt.forEach(Ht=>{const xn=E.computeStyle(Tt,Ht,oe);Wt.set(Ht,xn),(!xn||0==xn.length)&&(Tt[Zn]=$n,Ge.push(Tt))}),le.set(Tt,Wt)});let qe=0;return x.forEach(bt=>Oi(bt,Ce[qe++])),Ge}function si(le,E){const x=new Map;if(le.forEach(qe=>x.set(qe,[])),0==E.length)return x;const oe=new Set(E),Ce=new Map;function Ge(qe){if(!qe)return 1;let bt=Ce.get(qe);if(bt)return bt;const Tt=qe.parentNode;return bt=x.has(Tt)?Tt:oe.has(Tt)?1:Ge(Tt),Ce.set(qe,bt),bt}return E.forEach(qe=>{const bt=Ge(qe);1!==bt&&x.get(bt).push(qe)}),x}function qn(le,E){le.classList?.add(E)}function Pi(le,E){le.classList?.remove(E)}function Cn(le,E,x){H(x).onDone(()=>le.processLeaveNode(E))}function yr(le,E){for(let x=0;x<le.length;x++){const P=le[x];P instanceof p.ZE?yr(P.players,E):E.push(P)}}function _i(le,E,x){const P=x.get(le);if(!P)return!1;let oe=E.get(le);return oe?P.forEach(Ce=>oe.add(Ce)):E.set(le,P),x.delete(le),!0}class ji{constructor(E,x,P){this.bodyNode=E,this._driver=x,this._normalizer=P,this._triggerCache={},this.onRemovalComplete=(oe,Ce)=>{},this._transitionEngine=new Hi(E,x,P),this._timelineEngine=new Ar(E,x,P),this._transitionEngine.onRemovalComplete=(oe,Ce)=>this.onRemovalComplete(oe,Ce)}registerTrigger(E,x,P,oe,Ce){const Ge=E+"-"+oe;let qe=this._triggerCache[Ge];if(!qe){const bt=[],Wt=Gt(this._driver,Ce,bt,[]);if(bt.length)throw function be(le,E){return new n.\u0275RuntimeError(3404,!1)}();qe=function ti(le,E,x){return new Ir(le,E,x)}(oe,Wt,this._normalizer),this._triggerCache[Ge]=qe}this._transitionEngine.registerTrigger(x,oe,qe)}register(E,x){this._transitionEngine.register(E,x)}destroy(E,x){this._transitionEngine.destroy(E,x)}onInsert(E,x,P,oe){this._transitionEngine.insertNode(E,x,P,oe)}onRemove(E,x,P){this._transitionEngine.removeNode(E,x,P)}disableAnimations(E,x){this._transitionEngine.markElementAsDisabled(E,x)}process(E,x,P,oe){if("@"==P.charAt(0)){const[Ce,Ge]=Te(P);this._timelineEngine.command(Ce,x,Ge,oe)}else this._transitionEngine.trigger(E,x,P,oe)}listen(E,x,P,oe,Ce){if("@"==P.charAt(0)){const[Ge,qe]=Te(P);return this._timelineEngine.listen(Ge,x,qe,Ce)}return this._transitionEngine.listen(E,x,P,oe,Ce)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(E){this._transitionEngine.afterFlushAnimationsDone(E)}}let jr=(()=>{class le{static#e=this.initialStylesByElement=new WeakMap;constructor(x,P,oe){this._element=x,this._startStyles=P,this._endStyles=oe,this._state=0;let Ce=le.initialStylesByElement.get(x);Ce||le.initialStylesByElement.set(x,Ce=new Map),this._initialStyles=Ce}start(){this._state<1&&(this._startStyles&&Ie(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ie(this._element,this._initialStyles),this._endStyles&&(Ie(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(le.initialStylesByElement.delete(this._element),this._startStyles&&(We(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(We(this._element,this._endStyles),this._endStyles=null),Ie(this._element,this._initialStyles),this._state=3)}}return le})();function ai(le){let E=null;return le.forEach((x,P)=>{(function Ts(le){return"display"===le||"position"===le})(P)&&(E=E||new Map,E.set(P,x))}),E}class fi{constructor(E,x,P,oe){this.element=E,this.keyframes=x,this.options=P,this._specialStyles=oe,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=P.duration,this._delay=P.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 x=[];return E.forEach(P=>{x.push(Object.fromEntries(P))}),x}_triggerWebAnimation(E,x,P){return E.animate(this._convertKeyframesToObject(x),P)}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??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const E=new Map;this.hasStarted()&&this._finalKeyframe.forEach((P,oe)=>{"offset"!==oe&&E.set(oe,this._finished?P:_e(this.element,oe))}),this.currentSnapshot=E}triggerCallback(E){const x="start"===E?this._onStartFns:this._onDoneFns;x.forEach(P=>P()),x.length=0}}class ci{validateStyleProperty(E){return!0}validateAnimatableStyleProperty(E){return!0}matchesElement(E,x){return!1}containsElement(E,x){return Ee(E,x)}getParentElement(E){return Ne(E)}query(E,x,P){return ke(E,x,P)}computeStyle(E,x,P){return window.getComputedStyle(E)[x]}animate(E,x,P,oe,Ce,Ge=[]){const bt={duration:P,delay:oe,fill:0==oe?"both":"forwards"};Ce&&(bt.easing=Ce);const Tt=new Map,Wt=Ge.filter(gn=>gn instanceof fi);(function It(le,E){return 0===le||0===E})(P,oe)&&Wt.forEach(gn=>{gn.currentSnapshot.forEach((sn,fn)=>Tt.set(fn,sn))});let Ht=function En(le){return le.length?le[0]instanceof Map?le:le.map(E=>pn(E)):[]}(x).map(gn=>rt(gn));Ht=function tt(le,E,x){if(x.size&&E.length){let P=E[0],oe=[];if(x.forEach((Ce,Ge)=>{P.has(Ge)||oe.push(Ge),P.set(Ge,Ce)}),oe.length)for(let Ce=1;Ce<E.length;Ce++){let Ge=E[Ce];oe.forEach(qe=>Ge.set(qe,_e(le,qe)))}}return E}(E,Ht,Tt);const xn=function nr(le,E){let x=null,P=null;return Array.isArray(E)&&E.length?(x=ai(E[0]),E.length>1&&(P=ai(E[E.length-1]))):E instanceof Map&&(x=ai(E)),x||P?new jr(le,x,P):null}(E,Ht);return new fi(E,Ht,bt,xn)}}var Br=a(6814);let ir=(()=>{class le extends p._j{constructor(x,P){super(),this._nextAnimationId=0,this._renderer=x.createRenderer(P.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(x){const P=this._nextAnimationId.toString();this._nextAnimationId++;const oe=Array.isArray(x)?(0,p.vP)(x):x;return Vr(this._renderer,null,P,"register",[oe]),new wr(P,this._renderer)}static#e=this.\u0275fac=function(P){return new(P||le)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Br.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac})}return le})();class wr extends p.LC{constructor(E,x){super(),this._id=E,this._renderer=x}create(E,x){return new Ei(this._id,E,x||{},this._renderer)}}class Ei{constructor(E,x,P,oe){this.id=E,this.element=x,this._renderer=oe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",P)}_listen(E,x){return this._renderer.listen(this.element,`@@${this.id}:${E}`,x)}_command(E,...x){return Vr(this._renderer,this.element,this.id,E,x)}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(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Vr(le,E,x,P,oe){return le.setProperty(E,`@@${x}:${P}`,oe)}const ao="@.disabled";let bo=(()=>{class le{constructor(x,P,oe){this.delegate=x,this.engine=P,this._zone=oe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,P.onRemovalComplete=(Ce,Ge)=>{const qe=Ge?.parentNode(Ce);qe&&Ge.removeChild(qe,Ce)}}createRenderer(x,P){const Ce=this.delegate.createRenderer(x,P);if(!(x&&P&&P.data&&P.data.animation)){let Wt=this._rendererCache.get(Ce);return Wt||(Wt=new co("",Ce,this.engine,()=>this._rendererCache.delete(Ce)),this._rendererCache.set(Ce,Wt)),Wt}const Ge=P.id,qe=P.id+"-"+this._currentId;this._currentId++,this.engine.register(qe,x);const bt=Wt=>{Array.isArray(Wt)?Wt.forEach(bt):this.engine.registerTrigger(Ge,qe,x,Wt.name,Wt)};return P.data.animation.forEach(bt),new j(this,qe,Ce,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(x,P,oe){x>=0&&x<this._microtaskId?this._zone.run(()=>P(oe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Ce=>{const[Ge,qe]=Ce;Ge(qe)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([P,oe]))}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()}static#e=this.\u0275fac=function(P){return new(P||le)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(ji),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac})}return le})();class co{constructor(E,x,P,oe){this.namespaceId=E,this.delegate=x,this.engine=P,this._onDestroy=oe}get data(){return this.delegate.data}destroyNode(E){this.delegate.destroyNode?.(E)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(E,x){return this.delegate.createElement(E,x)}createComment(E){return this.delegate.createComment(E)}createText(E){return this.delegate.createText(E)}appendChild(E,x){this.delegate.appendChild(E,x),this.engine.onInsert(this.namespaceId,x,E,!1)}insertBefore(E,x,P,oe=!0){this.delegate.insertBefore(E,x,P),this.engine.onInsert(this.namespaceId,x,E,oe)}removeChild(E,x,P){this.engine.onRemove(this.namespaceId,x,this.delegate)}selectRootElement(E,x){return this.delegate.selectRootElement(E,x)}parentNode(E){return this.delegate.parentNode(E)}nextSibling(E){return this.delegate.nextSibling(E)}setAttribute(E,x,P,oe){this.delegate.setAttribute(E,x,P,oe)}removeAttribute(E,x,P){this.delegate.removeAttribute(E,x,P)}addClass(E,x){this.delegate.addClass(E,x)}removeClass(E,x){this.delegate.removeClass(E,x)}setStyle(E,x,P,oe){this.delegate.setStyle(E,x,P,oe)}removeStyle(E,x,P){this.delegate.removeStyle(E,x,P)}setProperty(E,x,P){"@"==x.charAt(0)&&x==ao?this.disableAnimations(E,!!P):this.delegate.setProperty(E,x,P)}setValue(E,x){this.delegate.setValue(E,x)}listen(E,x,P){return this.delegate.listen(E,x,P)}disableAnimations(E,x){this.engine.disableAnimations(E,x)}}class j extends co{constructor(E,x,P,oe,Ce){super(x,P,oe,Ce),this.factory=E,this.namespaceId=x}setProperty(E,x,P){"@"==x.charAt(0)?"."==x.charAt(1)&&x==ao?this.disableAnimations(E,P=void 0===P||!!P):this.engine.process(this.namespaceId,E,x.slice(1),P):this.delegate.setProperty(E,x,P)}listen(E,x,P){if("@"==x.charAt(0)){const oe=function Q(le){switch(le){case"body":return document.body;case"document":return document;case"window":return window;default:return le}}(E);let Ce=x.slice(1),Ge="";return"@"!=Ce.charAt(0)&&([Ce,Ge]=function I(le){const E=le.indexOf(".");return[le.substring(0,E),le.slice(E+1)]}(Ce)),this.engine.listen(this.namespaceId,oe,Ce,Ge,qe=>{this.factory.scheduleListenerCallback(qe._data||-1,P,qe)})}return this.delegate.listen(E,x,P)}}let he=(()=>{class le extends ji{constructor(x,P,oe,Ce){super(x.body,P,oe)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(P){return new(P||le)(n.\u0275\u0275inject(Br.DOCUMENT),n.\u0275\u0275inject(wt),n.\u0275\u0275inject(Sr),n.\u0275\u0275inject(n.ApplicationRef))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:le,factory:le.\u0275fac})}return le})();const Dn=[{provide:p._j,useClass:ir},{provide:Sr,useFactory:function ze(){return new Lr}},{provide:ji,useClass:he},{provide:n.RendererFactory2,useFactory:function en(le,E,x){return new bo(le,E,x)},deps:[s.\u0275DomRendererFactory2,ji,n.NgZone]}],Bi=[{provide:wt,useFactory:()=>new ci},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...Dn],Or=[{provide:wt,useClass:ot},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...Dn];let lo=(()=>{class le{static withConfig(x){return{ngModule:le,providers:x.disableAnimations?Or:Bi}}static#e=this.\u0275fac=function(P){return new(P||le)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:le});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Bi,imports:[s.BrowserModule]})}return le})();function Ds(){return[...Bi]}let $c=(()=>{class le{static#e=this.\u0275fac=function(P){return new(P||le)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:le});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Or,imports:[s.BrowserModule]})}return le})();function xs(){return[...Or]}},6593:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{BrowserModule:()=>Re,By:()=>dt,DomSanitizer:()=>qt,EVENT_MANAGER_PLUGINS:()=>b,EventManager:()=>v,HAMMER_GESTURE_CONFIG:()=>de,HAMMER_LOADER:()=>De,HammerGestureConfig:()=>at,HammerModule:()=>Lt,Meta:()=>ut,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ue,Title:()=>Ee,TransferState:()=>Jt,VERSION:()=>mt,bootstrapApplication:()=>U,createApplication:()=>R,disableDebugTools:()=>Qt,enableDebugTools:()=>Zt,makeStateKey:()=>Rt,platformBrowser:()=>Te,provideClientHydration:()=>We,provideProtractorTestingSupport:()=>Oe,withNoDomReuse:()=>yt,withNoHttpTransferCache:()=>rt,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>f,\u0275DomEventsPlugin:()=>we,\u0275DomRendererFactory2:()=>nt,\u0275DomSanitizerImpl:()=>pn,\u0275HammerGesturesPlugin:()=>Ot,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>lt,\u0275KeyEventsPlugin:()=>$,\u0275SharedStylesHost:()=>F,\u0275getDOM:()=>s.\u0275getDOM,\u0275initDomAdapter:()=>He});var n=a(5879),s=a(6814),p=a(7502);class g extends s.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends g{static makeCurrent(){(0,s.\u0275setRootDomAdapter)(new c)}onAndCancel(ye,G,k){return ye.addEventListener(G,k),()=>{ye.removeEventListener(G,k)}}dispatchEvent(ye,G){ye.dispatchEvent(G)}remove(ye){ye.parentNode&&ye.parentNode.removeChild(ye)}createElement(ye,G){return(G=G||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,G){return"window"===G?window:"document"===G?ye:"body"===G?ye.body:null}getBaseHref(ye){const G=function u(){return d=d||document.querySelector("base"),d?d.getAttribute("href"):null}();return null==G?null:function _(ft){m=m||document.createElement("a"),m.setAttribute("href",ft);const ye=m.pathname;return"/"===ye.charAt(0)?ye:`/${ye}`}(G)}resetBaseElement(){d=null}getUserAgent(){return window.navigator.userAgent}getCookie(ye){return(0,s.\u0275parseCookieValue)(document.cookie,ye)}}let m,d=null;class f{addToWindow(ye){n.\u0275global.getAngularTestability=(k,fe=!0)=>{const Ze=ye.findTestabilityInTree(k,fe);if(null==Ze)throw new n.\u0275RuntimeError(5103,!1);return Ze},n.\u0275global.getAllAngularTestabilities=()=>ye.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>ye.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(k=>{const fe=n.\u0275global.getAllAngularTestabilities();let Ze=fe.length,It=!1;const tt=function(St){It=It||St,Ze--,0==Ze&&k(It)};fe.forEach(St=>{St.whenStable(tt)})})}findTestabilityInTree(ye,G,k){return null==G?null:ye.getTestability(G)??(k?(0,s.\u0275getDOM)().isShadowRoot(G)?this.findTestabilityInTree(ye,G.host,!0):this.findTestabilityInTree(ye,G.parentElement,!0):null)}}let y=(()=>{class ft{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(k){return new(k||ft)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:ft.\u0275fac})}return ft})();const b=new n.InjectionToken("EventManagerPlugins");let v=(()=>{class ft{constructor(G,k){this._zone=k,this._eventNameToPlugin=new Map,G.forEach(fe=>{fe.manager=this}),this._plugins=G.slice().reverse()}addEventListener(G,k,fe){return this._findPluginFor(k).addEventListener(G,k,fe)}getZone(){return this._zone}_findPluginFor(G){let k=this._eventNameToPlugin.get(G);if(k)return k;if(k=this._plugins.find(Ze=>Ze.supports(G)),!k)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(G,k),k}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(b),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:ft.\u0275fac})}return ft})();class w{constructor(ye){this._doc=ye}}const O="ng-app-id";let F=(()=>{class ft{constructor(G,k,fe,Ze={}){this.doc=G,this.appId=k,this.nonce=fe,this.platformId=Ze,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,s.isPlatformServer)(Ze),this.resetHostNodes()}addStyles(G){for(const k of G)1===this.changeUsageCount(k,1)&&this.onStyleAdded(k)}removeStyles(G){for(const k of G)this.changeUsageCount(k,-1)<=0&&this.onStyleRemoved(k)}ngOnDestroy(){const G=this.styleNodesInDOM;G&&(G.forEach(k=>k.remove()),G.clear());for(const k of this.getAllStyles())this.onStyleRemoved(k);this.resetHostNodes()}addHost(G){this.hostNodes.add(G);for(const k of this.getAllStyles())this.addStyleToHost(G,k)}removeHost(G){this.hostNodes.delete(G)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(G){for(const k of this.hostNodes)this.addStyleToHost(k,G)}onStyleRemoved(G){const k=this.styleRef;k.get(G)?.elements?.forEach(fe=>fe.remove()),k.delete(G)}collectServerRenderedStyles(){const G=this.doc.head?.querySelectorAll(`style[${O}="${this.appId}"]`);if(G?.length){const k=new Map;return G.forEach(fe=>{null!=fe.textContent&&k.set(fe.textContent,fe)}),k}return null}changeUsageCount(G,k){const fe=this.styleRef;if(fe.has(G)){const Ze=fe.get(G);return Ze.usage+=k,Ze.usage}return fe.set(G,{usage:k,elements:[]}),k}getStyleElement(G,k){const fe=this.styleNodesInDOM,Ze=fe?.get(k);if(Ze?.parentNode===G)return fe.delete(k),Ze.removeAttribute(O),Ze;{const It=this.doc.createElement("style");return this.nonce&&It.setAttribute("nonce",this.nonce),It.textContent=k,this.platformIsServer&&It.setAttribute(O,this.appId),It}}addStyleToHost(G,k){const fe=this.getStyleElement(G,k);G.appendChild(fe);const Ze=this.styleRef,It=Ze.get(k)?.elements;It?It.push(fe):Ze.set(k,{elements:[fe],usage:1})}resetHostNodes(){const G=this.hostNodes;G.clear(),G.add(this.doc.head)}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(s.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:ft.\u0275fac})}return ft})();const S={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/"},K=/%COMP%/g,V="%COMP%",ee=`_nghost-${V}`,W=`_ngcontent-${V}`,ue=new n.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ve(ft,ye){return ye.map(G=>G.replace(K,ft))}let nt=(()=>{class ft{constructor(G,k,fe,Ze,It,tt,St,_e=null){this.eventManager=G,this.sharedStylesHost=k,this.appId=fe,this.removeStylesOnCompDestroy=Ze,this.doc=It,this.platformId=tt,this.ngZone=St,this.nonce=_e,this.rendererByCompId=new Map,this.platformIsServer=(0,s.isPlatformServer)(tt),this.defaultRenderer=new be(G,It,St,this.platformIsServer)}createRenderer(G,k){if(!G||!k)return this.defaultRenderer;this.platformIsServer&&k.encapsulation===n.ViewEncapsulation.ShadowDom&&(k={...k,encapsulation:n.ViewEncapsulation.Emulated});const fe=this.getOrCreateRenderer(G,k);return fe instanceof q?fe.applyToHost(G):fe instanceof Je&&fe.applyStyles(),fe}getOrCreateRenderer(G,k){const fe=this.rendererByCompId;let Ze=fe.get(k.id);if(!Ze){const It=this.doc,tt=this.ngZone,St=this.eventManager,_e=this.sharedStylesHost,Fe=this.removeStylesOnCompDestroy,je=this.platformIsServer;switch(k.encapsulation){case n.ViewEncapsulation.Emulated:Ze=new q(St,_e,k,this.appId,Fe,It,tt,je);break;case n.ViewEncapsulation.ShadowDom:return new Xe(St,_e,G,k,It,tt,this.nonce,je);default:Ze=new Je(St,_e,k,Fe,It,tt,je)}fe.set(k.id,Ze)}return Ze}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(v),n.\u0275\u0275inject(F),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(ue),n.\u0275\u0275inject(s.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:ft.\u0275fac})}return ft})();class be{constructor(ye,G,k,fe){this.eventManager=ye,this.doc=G,this.ngZone=k,this.platformIsServer=fe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ye,G){return G?this.doc.createElementNS(S[G]||G,ye):this.doc.createElement(ye)}createComment(ye){return this.doc.createComment(ye)}createText(ye){return this.doc.createTextNode(ye)}appendChild(ye,G){(Le(ye)?ye.content:ye).appendChild(G)}insertBefore(ye,G,k){ye&&(Le(ye)?ye.content:ye).insertBefore(G,k)}removeChild(ye,G){ye&&ye.removeChild(G)}selectRootElement(ye,G){let k="string"==typeof ye?this.doc.querySelector(ye):ye;if(!k)throw new n.\u0275RuntimeError(-5104,!1);return G||(k.textContent=""),k}parentNode(ye){return ye.parentNode}nextSibling(ye){return ye.nextSibling}setAttribute(ye,G,k,fe){if(fe){G=fe+":"+G;const Ze=S[fe];Ze?ye.setAttributeNS(Ze,G,k):ye.setAttribute(G,k)}else ye.setAttribute(G,k)}removeAttribute(ye,G,k){if(k){const fe=S[k];fe?ye.removeAttributeNS(fe,G):ye.removeAttribute(`${k}:${G}`)}else ye.removeAttribute(G)}addClass(ye,G){ye.classList.add(G)}removeClass(ye,G){ye.classList.remove(G)}setStyle(ye,G,k,fe){fe&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?ye.style.setProperty(G,k,fe&n.RendererStyleFlags2.Important?"important":""):ye.style[G]=k}removeStyle(ye,G,k){k&n.RendererStyleFlags2.DashCase?ye.style.removeProperty(G):ye.style[G]=""}setProperty(ye,G,k){ye[G]=k}setValue(ye,G){ye.nodeValue=G}listen(ye,G,k){if("string"==typeof ye&&!(ye=(0,s.\u0275getDOM)().getGlobalEventTarget(this.doc,ye)))throw new Error(`Unsupported event target ${ye} for event ${G}`);return this.eventManager.addEventListener(ye,G,this.decoratePreventDefault(k))}decoratePreventDefault(ye){return G=>{if("__ngUnwrap__"===G)return ye;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ye(G)):ye(G))&&G.preventDefault()}}}function Le(ft){return"TEMPLATE"===ft.tagName&&void 0!==ft.content}class Xe extends be{constructor(ye,G,k,fe,Ze,It,tt,St){super(ye,Ze,It,St),this.sharedStylesHost=G,this.hostEl=k,this.shadowRoot=k.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _e=ve(fe.id,fe.styles);for(const Fe of _e){const je=document.createElement("style");tt&&je.setAttribute("nonce",tt),je.textContent=Fe,this.shadowRoot.appendChild(je)}}nodeOrShadowRoot(ye){return ye===this.hostEl?this.shadowRoot:ye}appendChild(ye,G){return super.appendChild(this.nodeOrShadowRoot(ye),G)}insertBefore(ye,G,k){return super.insertBefore(this.nodeOrShadowRoot(ye),G,k)}removeChild(ye,G){return super.removeChild(this.nodeOrShadowRoot(ye),G)}parentNode(ye){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ye)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Je extends be{constructor(ye,G,k,fe,Ze,It,tt,St){super(ye,Ze,It,tt),this.sharedStylesHost=G,this.removeStylesOnCompDestroy=fe,this.styles=St?ve(St,k.styles):k.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class q extends Je{constructor(ye,G,k,fe,Ze,It,tt,St){const _e=fe+"-"+k.id;super(ye,G,k,Ze,It,tt,St,_e),this.contentAttr=function ie(ft){return W.replace(K,ft)}(_e),this.hostAttr=function te(ft){return ee.replace(K,ft)}(_e)}applyToHost(ye){this.applyStyles(),this.setAttribute(ye,this.hostAttr,"")}createElement(ye,G){const k=super.createElement(ye,G);return super.setAttribute(k,this.contentAttr,""),k}}let we=(()=>{class ft extends w{constructor(G){super(G)}supports(G){return!0}addEventListener(G,k,fe){return G.addEventListener(k,fe,!1),()=>this.removeEventListener(G,k,fe)}removeEventListener(G,k,fe){return G.removeEventListener(k,fe)}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:ft.\u0275fac})}return ft})();const re=["alt","control","meta","shift"],J={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},z={alt:ft=>ft.altKey,control:ft=>ft.ctrlKey,meta:ft=>ft.metaKey,shift:ft=>ft.shiftKey};let $=(()=>{class ft extends w{constructor(G){super(G)}supports(G){return null!=ft.parseEventName(G)}addEventListener(G,k,fe){const Ze=ft.parseEventName(k),It=ft.eventCallback(Ze.fullKey,fe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.\u0275getDOM)().onAndCancel(G,Ze.domEventName,It))}static parseEventName(G){const k=G.toLowerCase().split("."),fe=k.shift();if(0===k.length||"keydown"!==fe&&"keyup"!==fe)return null;const Ze=ft._normalizeKey(k.pop());let It="",tt=k.indexOf("code");if(tt>-1&&(k.splice(tt,1),It="code."),re.forEach(_e=>{const Fe=k.indexOf(_e);Fe>-1&&(k.splice(Fe,1),It+=_e+".")}),It+=Ze,0!=k.length||0===Ze.length)return null;const St={};return St.domEventName=fe,St.fullKey=It,St}static matchEventFullKeyCode(G,k){let fe=J[G.key]||G.key,Ze="";return k.indexOf("code.")>-1&&(fe=G.code,Ze="code."),!(null==fe||!fe)&&(fe=fe.toLowerCase()," "===fe?fe="space":"."===fe&&(fe="dot"),re.forEach(It=>{It!==fe&&(0,z[It])(G)&&(Ze+=It+".")}),Ze+=fe,Ze===k)}static eventCallback(G,k,fe){return Ze=>{ft.matchEventFullKeyCode(Ze,G)&&fe.runGuarded(()=>k(Ze))}}static _normalizeKey(G){return"esc"===G?"escape":G}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:ft.\u0275fac})}return ft})();function U(ft,ye){return(0,n.\u0275internalCreateApplication)({rootComponent:ft,...H(ye)})}function R(ft){return(0,n.\u0275internalCreateApplication)(H(ft))}function H(ft){return{appProviders:[...Me,...ft?.providers??[]],platformProviders:lt}}function Oe(){return[...Ne]}function He(){c.makeCurrent()}const lt=[{provide:n.PLATFORM_ID,useValue:s.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:He,multi:!0},{provide:s.DOCUMENT,useFactory:function Ct(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Te=(0,n.createPlatformFactory)(n.platformCore,"browser",lt),xe=new n.InjectionToken(""),Ne=[{provide:n.\u0275TESTABILITY_GETTER,useClass:f,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],Me=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function vt(){return new n.ErrorHandler},deps:[]},{provide:b,useClass:we,multi:!0,deps:[s.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:b,useClass:$,multi:!0,deps:[s.DOCUMENT]},nt,F,v,{provide:n.RendererFactory2,useExisting:nt},{provide:s.XhrFactory,useClass:y,deps:[]},[]];let Re=(()=>{class ft{constructor(G){}static withServerTransition(G){return{ngModule:ft,providers:[{provide:n.APP_ID,useValue:G.appId}]}}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(xe,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ft});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...Me,...Ne],imports:[s.CommonModule,n.ApplicationModule]})}return ft})(),ut=(()=>{class ft{constructor(G){this._doc=G,this._dom=(0,s.\u0275getDOM)()}addTag(G,k=!1){return G?this._getOrCreateElement(G,k):null}addTags(G,k=!1){return G?G.reduce((fe,Ze)=>(Ze&&fe.push(this._getOrCreateElement(Ze,k)),fe),[]):[]}getTag(G){return G&&this._doc.querySelector(`meta[${G}]`)||null}getTags(G){if(!G)return[];const k=this._doc.querySelectorAll(`meta[${G}]`);return k?[].slice.call(k):[]}updateTag(G,k){if(!G)return null;k=k||this._parseSelector(G);const fe=this.getTag(k);return fe?this._setMetaElementAttributes(G,fe):this._getOrCreateElement(G,!0)}removeTag(G){this.removeTagElement(this.getTag(G))}removeTagElement(G){G&&this._dom.remove(G)}_getOrCreateElement(G,k=!1){if(!k){const It=this._parseSelector(G),tt=this.getTags(It).filter(St=>this._containsAttributes(G,St))[0];if(void 0!==tt)return tt}const fe=this._dom.createElement("meta");return this._setMetaElementAttributes(G,fe),this._doc.getElementsByTagName("head")[0].appendChild(fe),fe}_setMetaElementAttributes(G,k){return Object.keys(G).forEach(fe=>k.setAttribute(this._getMetaKeyMap(fe),G[fe])),k}_parseSelector(G){const k=G.name?"name":"property";return`${k}="${G[k]}"`}_containsAttributes(G,k){return Object.keys(G).every(fe=>k.getAttribute(this._getMetaKeyMap(fe))===G[fe])}_getMetaKeyMap(G){return et[G]||G}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:function(k){let fe=null;return fe=k?new k:function gt(){return new ut((0,n.\u0275\u0275inject)(s.DOCUMENT))}(),fe},providedIn:"root"})}return ft})();const et={httpEquiv:"http-equiv"};let Ee=(()=>{class ft{constructor(G){this._doc=G}getTitle(){return this._doc.title}setTitle(G){this._doc.title=G||""}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:function(k){let fe=null;return fe=k?new k:function ae(){return new Ee((0,n.\u0275\u0275inject)(s.DOCUMENT))}(),fe},providedIn:"root"})}return ft})();function ke(ft,ye){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[ft]=ye)}const ct=typeof window<"u"&&window||{};class ot{constructor(ye,G){this.msPerTick=ye,this.numTicks=G}}class wt{constructor(ye){this.appRef=ye.injector.get(n.ApplicationRef)}timeChangeDetection(ye){const G=ye&&ye.record,k="Change Detection",fe=null!=ct.console.profile;G&&fe&&ct.console.profile(k);const Ze=jt();let It=0;for(;It<5||jt()-Ze<500;)this.appRef.tick(),It++;const tt=jt();G&&fe&&ct.console.profileEnd(k);const St=(tt-Ze)/It;return ct.console.log(`ran ${It} change detection cycles`),ct.console.log(`${St.toFixed(2)} ms per check`),new ot(St,It)}}function jt(){return ct.performance&&ct.performance.now?ct.performance.now():(new Date).getTime()}const Kt="profiler";function Zt(ft){return ke(Kt,new wt(ft)),ft}function Qt(){ke(Kt,null)}class dt{static all(){return()=>!0}static css(ye){return G=>null!=G.nativeElement&&function Dt(ft,ye){return!!(0,s.\u0275getDOM)().isElementNode(ft)&&(ft.matches&&ft.matches(ye)||ft.msMatchesSelector&&ft.msMatchesSelector(ye)||ft.webkitMatchesSelector&&ft.webkitMatchesSelector(ye))}(G.nativeElement,ye)}static directive(ye){return G=>-1!==G.providerTokens.indexOf(ye)}}const Ue={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},de=new n.InjectionToken("HammerGestureConfig"),De=new n.InjectionToken("HammerLoader");let at=(()=>{class ft{constructor(){this.events=[],this.overrides={}}buildHammer(G){const k=new Hammer(G,this.options);k.get("pinch").set({enable:!0}),k.get("rotate").set({enable:!0});for(const fe in this.overrides)k.get(fe).set(this.overrides[fe]);return k}static#e=this.\u0275fac=function(k){return new(k||ft)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:ft.\u0275fac})}return ft})(),Ot=(()=>{class ft extends w{constructor(G,k,fe,Ze){super(G),this._config=k,this.console=fe,this.loader=Ze,this._loaderPromise=null}supports(G){return!(!Ue.hasOwnProperty(G.toLowerCase())&&!this.isCustomEvent(G)||!window.Hammer&&!this.loader)}addEventListener(G,k,fe){const Ze=this.manager.getZone();if(k=k.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Ze.runOutsideAngular(()=>this.loader());let It=!1,tt=()=>{It=!0};return Ze.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?It||(tt=this.addEventListener(G,k,fe)):tt=()=>{}}).catch(()=>{tt=()=>{}})),()=>{tt()}}return Ze.runOutsideAngular(()=>{const It=this._config.buildHammer(G),tt=function(St){Ze.runGuarded(function(){fe(St)})};return It.on(k,tt),()=>{It.off(k,tt),"function"==typeof It.destroy&&It.destroy()}})}isCustomEvent(G){return this._config.events.indexOf(G)>-1}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(s.DOCUMENT),n.\u0275\u0275inject(de),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(De,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:ft.\u0275fac})}return ft})(),Lt=(()=>{class ft{static#e=this.\u0275fac=function(k){return new(k||ft)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ft});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:b,useClass:Ot,multi:!0,deps:[s.DOCUMENT,de,n.\u0275Console,[new n.Optional,De]]},{provide:de,useClass:at,deps:[]}]})}return ft})(),qt=(()=>{class ft{static#e=this.\u0275fac=function(k){return new(k||ft)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:function(k){let fe=null;return fe=k?new(k||ft):n.\u0275\u0275inject(pn),fe},providedIn:"root"})}return ft})(),pn=(()=>{class ft extends qt{constructor(G){super(),this._doc=G}sanitize(G,k){if(null==k)return null;switch(G){case n.SecurityContext.NONE:return k;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(k,"HTML")?(0,n.\u0275unwrapSafeValue)(k):(0,n.\u0275_sanitizeHtml)(this._doc,String(k)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(k,"Style")?(0,n.\u0275unwrapSafeValue)(k):k;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(k,"Script"))return(0,n.\u0275unwrapSafeValue)(k);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(k,"URL")?(0,n.\u0275unwrapSafeValue)(k):(0,n.\u0275_sanitizeUrl)(String(k));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(k,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(k);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(G){return(0,n.\u0275bypassSanitizationTrustHtml)(G)}bypassSecurityTrustStyle(G){return(0,n.\u0275bypassSanitizationTrustStyle)(G)}bypassSecurityTrustScript(G){return(0,n.\u0275bypassSanitizationTrustScript)(G)}bypassSecurityTrustUrl(G){return(0,n.\u0275bypassSanitizationTrustUrl)(G)}bypassSecurityTrustResourceUrl(G){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(G)}static#e=this.\u0275fac=function(k){return new(k||ft)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ft,factory:function(k){let fe=null;return fe=k?new k:function cn(ft){return new pn(ft.get(s.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),fe},providedIn:"root"})}return ft})();function En(ft,ye=[]){return{\u0275kind:ft,\u0275providers:ye}}function yt(){return En(0)}function rt(){return En(1)}function We(...ft){const ye=[],G=new Set;for(const{\u0275providers:k,\u0275kind:fe}of ft)G.add(fe),k.length&&ye.push(k);return(0,n.makeEnvironmentProviders)([[],G.has(0)?[]:(0,n.\u0275withDomHydration)(),G.has(1)?[]:(0,p.\u0275withHttpTransferCache)(),ye])}const mt=new n.Version("16.2.7"),Rt=n.makeStateKey,Jt=n.TransferState},3711:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{MONACO_PATH:()=>y,MonacoDiffEditorComponent:()=>O,MonacoEditorComponent:()=>w,MonacoEditorLoaderDirective:()=>v,MonacoEditorLoaderService:()=>b,MonacoEditorModule:()=>F});var n=a(5879),s=a(9773),p=a(2181),g=a(8180),c=a(5619),d=a(8645),u=a(6223);const m=["editor"],_=["diffEditor"],y="MONACO_PATH";let b=(()=>{class S{constructor(V,ee){this.ngZone=V,this.monacoPathConfig=ee,this.isMonacoLoaded$=new c.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?V.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(V){V&&(this._monacoPath=V)}loadMonaco(){const V=()=>{let ue=this._monacoPath;window.amdRequire=window.require;const ie=!!this.nodeRequire,te=ue.includes("http");ie&&(window.require=this.nodeRequire,te||(ue=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:ue}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},ve=>console.error("Error loading monaco-editor: ",ve))};if(window.amdRequire)return V();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const Y=document.createElement("script");Y.type="text/javascript",Y.src=`${this._monacoPath}/loader.js`,Y.addEventListener("load",V),document.body.appendChild(Y)}addElectronFixScripts(){const V=document.createElement("script"),ee=document.createTextNode("self.module = undefined;"),W=document.createTextNode("self.process.browser = true;");V.appendChild(ee),V.appendChild(W),document.body.appendChild(V)}}return S.\u0275fac=function(V){return new(V||S)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(y,8))},S.\u0275prov=n.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),v=(()=>{class S{constructor(V,ee,W){this.templateRef=V,this.viewContainer=ee,this.monacoEditorLoaderService=W,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new d.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,s.R)(this.destroyed$)).subscribe(V=>{if(!V)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return S.\u0275fac=function(V){return new(V||S)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(b))},S.\u0275dir=n.\u0275\u0275defineDirective({type:S,selectors:[["","ngxLoadMonacoEditor",""]]}),S})(),w=(()=>{class S{constructor(V){this.monacoLoader=V,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,p.h)(V=>V),(0,g.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(V){if(this.editor&&V.options&&!V.options.firstChange){const{language:ee,theme:W,...Y}=V.options.currentValue,{language:ue,theme:ie}=V.options.previousValue;ue!==ee&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),ie!==W&&monaco.editor.setTheme(W),this.editor.updateOptions(Y)}if(this.editor&&V.uri){const ee=V.uri.currentValue,W=V.uri.previousValue;if(W&&!ee||!W&&ee||ee&&W&&ee.path!==W.path){const Y=this.editor.getValue();let ue;this.modelUriInstance&&this.modelUriInstance.dispose(),ee&&(ue=monaco.editor.getModels().find(ie=>ie.uri.path===ee.path)),this.modelUriInstance=ue||monaco.editor.createModel(Y,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(V){this.value=V,this.editor&&V?this.editor.setValue(V):this.editor&&this.editor.setValue("")}registerOnChange(V){this.propagateChange=V}registerOnTouched(V){this.onTouched=V}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(V){this.onErrorStatusChange=V}initEditor(){const V={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?{...V,...this.options}:V),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const V=this.modelMarkers.map(({message:W})=>W).join("|");this.parsedError!==V&&(this.parsedError=V,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return S.\u0275fac=function(V){return new(V||S)(n.\u0275\u0275directiveInject(b))},S.\u0275cmp=n.\u0275\u0275defineComponent({type:S,selectors:[["ngx-monaco-editor"]],viewQuery:function(V,ee){if(1&V&&n.\u0275\u0275viewQuery(m,7),2&V){let W;n.\u0275\u0275queryRefresh(W=n.\u0275\u0275loadQuery())&&(ee.editorContent=W.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[n.\u0275\u0275ProvidersFeature([{provide:u.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>S),multi:!0},{provide:u.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>S),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(V,ee){1&V&&(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}),S})(),O=(()=>{class S{constructor(V){this.monacoLoader=V,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,p.h)(V=>V),(0,g.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(V){if(this.editor&&(V.code&&!V.code.firstChange||V.modified&&!V.modified.firstChange)){const ee=monaco.editor.createModel(this.modified),W=monaco.editor.createModel(this.original);this.editor.setModel({original:W,modified:ee})}this.editor&&V.options&&!V.options.firstChange&&(V.options.previousValue.theme!==V.options.currentValue.theme&&monaco.editor.setTheme(V.options.currentValue.theme),this.editor.updateOptions(V.options.currentValue))}initMonaco(){let V={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(V=Object.assign({},V,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,V);const ee=monaco.editor.createModel(this.original),W=monaco.editor.createModel(this.modified);this.editor.setModel({original:ee,modified:W}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return S.\u0275fac=function(V){return new(V||S)(n.\u0275\u0275directiveInject(b))},S.\u0275cmp=n.\u0275\u0275defineComponent({type:S,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(V,ee){if(1&V&&n.\u0275\u0275viewQuery(_,7),2&V){let W;n.\u0275\u0275queryRefresh(W=n.\u0275\u0275loadQuery())&&(ee.editorContent=W.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(V,ee){1&V&&(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}),S})(),F=(()=>{class S{}return S.\u0275fac=function(V){return new(V||S)},S.\u0275mod=n.\u0275\u0275defineNgModule({type:S}),S.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),S})()},9317:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>ie,AngularSplitModule:()=>nt,SplitAreaDirective:()=>ve,SplitComponent:()=>te});var n=a(5879),s=a(6814),p=a(3018),g=a(8645),c=a(3620);const d=["gutterEls"];function u(be,Ye){if(1&be){const pe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(Xe){n.\u0275\u0275restoreView(pe);const Je=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.startKeyboardDrag(Xe,2*Je+1,Je+1))})("mousedown",function(Xe){n.\u0275\u0275restoreView(pe);const Je=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.startMouseDrag(Xe,2*Je+1,Je+1))})("touchstart",function(Xe){n.\u0275\u0275restoreView(pe);const Je=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.startMouseDrag(Xe,2*Je+1,Je+1))})("mouseup",function(Xe){n.\u0275\u0275restoreView(pe);const Je=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.clickGutter(Xe,Je+1))})("touchend",function(Xe){n.\u0275\u0275restoreView(pe);const Je=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.clickGutter(Xe,Je+1))}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&be){const pe=n.\u0275\u0275nextContext(),Le=pe.index,Xe=pe.$implicit,Je=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",Je.gutterSize,"px")("order",2*Le+1),n.\u0275\u0275attribute("aria-label",Je.gutterAriaLabel)("aria-orientation",Je.direction)("aria-valuemin",Xe.minSize)("aria-valuemax",Xe.maxSize)("aria-valuenow",Xe.size)("aria-valuetext",Je.getAriaAreaSizeText(Xe.size))}}function m(be,Ye){1&be&&n.\u0275\u0275template(0,u,3,10,"div",1),2&be&&n.\u0275\u0275property("ngIf",!1===Ye.last)}const _=["*"];function f(be){if(void 0!==be.changedTouches&&be.changedTouches.length>0)return{x:be.changedTouches[0].clientX,y:be.changedTouches[0].clientY};if(void 0!==be.clientX&&void 0!==be.clientY)return{x:be.clientX,y:be.clientY};if(void 0!==be.currentTarget){const Ye=be.currentTarget;return{x:Ye.offsetLeft,y:Ye.offsetTop}}return null}function y(be,Ye,pe){return Math.abs(be.x-Ye.x)<=pe&&Math.abs(be.y-Ye.y)<=pe}function v(be,Ye){const pe=be.nativeElement.getBoundingClientRect();return"horizontal"===Ye?pe.width:pe.height}function w(be){return"boolean"==typeof be?be:"false"!==be}function O(be,Ye){return null==be?Ye:(be=Number(be),!isNaN(be)&&be>=0?be:Ye)}function F(be,Ye){if("percent"===be){const pe=Ye.reduce((Xe,Je)=>"*"!==Je?Xe+Je:Xe,0),Le=Ye.filter(Xe=>"*"===Xe);return!(Le.length>1)&&(1===Le.length||pe>99.9)&&pe<100.1}if("pixel"===be)return 1===Ye.filter(pe=>"*"===pe).length}function S(be){return"*"===be.size?null:!0===be.component.lockSize?be.size:null===be.component.minSize?null:be.component.minSize>be.size?be.size:be.component.minSize}function K(be){return"*"===be.size?null:!0===be.component.lockSize?be.size:null===be.component.maxSize?null:be.component.maxSize<be.size?be.size:be.component.maxSize}function V(be,Ye,pe,Le){return Ye.reduce((Xe,Je)=>{const q=function ee(be,Ye,pe,Le){return 0===pe?{areaSnapshot:Ye,pixelAbsorb:0,percentAfterAbsorption:Ye.sizePercentAtStart,pixelRemain:0}:0===Ye.sizePixelAtStart&&pe<0?{areaSnapshot:Ye,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:pe}:"percent"===be?function W(be,Ye,pe){const Xe=(be.sizePixelAtStart+Ye)/pe*100;if(Ye>0){if(null!==be.area.maxSize&&Xe>be.area.maxSize){const Je=be.area.maxSize/100*pe;return{areaSnapshot:be,pixelAbsorb:Je,percentAfterAbsorption:be.area.maxSize,pixelRemain:be.sizePixelAtStart+Ye-Je}}return{areaSnapshot:be,pixelAbsorb:Ye,percentAfterAbsorption:Xe>100?100:Xe,pixelRemain:0}}if(Ye<0){if(null!==be.area.minSize&&Xe<be.area.minSize){const Je=be.area.minSize/100*pe;return{areaSnapshot:be,pixelAbsorb:Je,percentAfterAbsorption:be.area.minSize,pixelRemain:be.sizePixelAtStart+Ye-Je}}return Xe<0?{areaSnapshot:be,pixelAbsorb:-be.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:Ye+be.sizePixelAtStart}:{areaSnapshot:be,pixelAbsorb:Ye,percentAfterAbsorption:Xe,pixelRemain:0}}}(Ye,pe,Le):"pixel"===be?function Y(be,Ye,pe){const Le=be.sizePixelAtStart+Ye;return Ye>0?null!==be.area.maxSize&&Le>be.area.maxSize?{areaSnapshot:be,pixelAbsorb:be.area.maxSize-be.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Le-be.area.maxSize}:{areaSnapshot:be,pixelAbsorb:Ye,percentAfterAbsorption:-1,pixelRemain:0}:Ye<0?null!==be.area.minSize&&Le<be.area.minSize?{areaSnapshot:be,pixelAbsorb:be.area.minSize+Ye-Le,percentAfterAbsorption:-1,pixelRemain:Le-be.area.minSize}:Le<0?{areaSnapshot:be,pixelAbsorb:-be.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Ye+be.sizePixelAtStart}:{areaSnapshot:be,pixelAbsorb:Ye,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(Ye,pe):void 0}(be,Je,Xe.remain,Le);return Xe.list.push(q),Xe.remain=q.pixelRemain,Xe},{remain:pe,list:[]})}function ue(be,Ye){"*"!==Ye.areaSnapshot.area.size&&("percent"===be?Ye.areaSnapshot.area.size=Ye.percentAfterAbsorption:"pixel"===be&&(Ye.areaSnapshot.area.size=Ye.areaSnapshot.sizePixelAtStart+Ye.pixelAbsorb))}const ie=new n.InjectionToken("angular-split-global-config");let te=(()=>{class be{set direction(pe){this._direction="vertical"===pe?"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(pe){this._unit="pixel"===pe?"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(pe){this._gutterSize=O(pe,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(pe){this._gutterStep=O(pe,1)}get gutterStep(){return this._gutterStep}set restrictMove(pe){this._restrictMove=w(pe)}get restrictMove(){return this._restrictMove}set useTransition(pe){this._useTransition=w(pe),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(pe){this._disabled=w(pe),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(pe){this._dir="rtl"===pe?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(pe){this._gutterDblClickDuration=O(pe,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new p.y(pe=>this.transitionEndSubscriber=pe).pipe((0,c.b)(20))}constructor(pe,Le,Xe,Je,q){this.ngZone=pe,this.elRef=Le,this.cdRef=Xe,this.renderer=Je,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 g.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=q?Object.assign(this._config,q):this._config,Object.keys(this._config).forEach(we=>{this[we]=this._config[we]})}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(pe){const Le={component:pe,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===pe.visible?(this.displayedAreas.push(Le),this.build(!0,!0)):this.hiddenAreas.push(Le)}removeArea(pe){if(this.displayedAreas.some(Le=>Le.component===pe)){const Le=this.displayedAreas.find(Xe=>Xe.component===pe);this.displayedAreas.splice(this.displayedAreas.indexOf(Le),1),this.build(!0,!0)}else if(this.hiddenAreas.some(Le=>Le.component===pe)){const Le=this.hiddenAreas.find(Xe=>Xe.component===pe);this.hiddenAreas.splice(this.hiddenAreas.indexOf(Le),1)}}updateArea(pe,Le,Xe){!0===pe.visible&&this.build(Le,Xe)}showArea(pe){const Le=this.hiddenAreas.find(Je=>Je.component===pe);if(void 0===Le)return;const Xe=this.hiddenAreas.splice(this.hiddenAreas.indexOf(Le),1);this.displayedAreas.push(...Xe),this.build(!0,!0)}hideArea(pe){const Le=this.displayedAreas.find(Je=>Je.component===pe);if(void 0===Le)return;const Xe=this.displayedAreas.splice(this.displayedAreas.indexOf(Le),1);Xe.forEach(Je=>{Je.order=0,Je.size=0}),this.hiddenAreas.push(...Xe),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(pe=>pe.size)}setVisibleAreaSizes(pe){if(pe.length!==this.displayedAreas.length)return!1;const Le=pe.map(Je=>O(Je,"*"));return!1!==F(this.unit,Le)&&(this.displayedAreas.forEach((Je,q)=>Je.component._size=Le[q]),this.build(!1,!0),!0)}build(pe,Le){if(this.stopDragging(),!0===pe&&(this.displayedAreas.every(Xe=>null!==Xe.component.order)&&this.displayedAreas.sort((Xe,Je)=>Xe.component.order-Je.component.order),this.displayedAreas.forEach((Xe,Je)=>{Xe.order=2*Je,Xe.component.setStyleOrder(Xe.order)})),!0===Le){const Xe=F(this.unit,this.displayedAreas.map(Je=>Je.component.size));switch(this.unit){case"percent":{const Je=100/this.displayedAreas.length;this.displayedAreas.forEach(q=>{q.size=Xe?q.component.size:Je,q.minSize=S(q),q.maxSize=K(q)});break}case"pixel":if(Xe)this.displayedAreas.forEach(Je=>{Je.size=Je.component.size,Je.minSize=S(Je),Je.maxSize=K(Je)});else{const Je=this.displayedAreas.filter(q=>"*"===q.component.size);if(0===Je.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((q,we)=>{q.size=0===we?"*":q.component.size,q.minSize=0===we?null:S(q),q.maxSize=0===we?null:K(q)});else if(Je.length>1){let q=!1;this.displayedAreas.forEach(we=>{"*"===we.component.size?!1===q?(we.size="*",we.minSize=null,we.maxSize=null,q=!0):(we.size=100,we.minSize=null,we.maxSize=null):(we.size=we.component.size,we.minSize=S(we),we.maxSize=K(we))})}}}}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 pe=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(Le=>{"*"===Le.size?Le.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):Le.component.setStyleFlex(0,0,`calc( ${Le.size}% - ${Le.size/100*pe}px )`,null!==Le.minSize&&Le.minSize===Le.size,null!==Le.maxSize&&Le.maxSize===Le.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(pe=>{"*"===pe.size?pe.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?pe.component.setStyleFlex(0,0,"100%",!1,!1):pe.component.setStyleFlex(0,0,`${pe.size}px`,null!==pe.minSize&&pe.minSize===pe.size,null!==pe.maxSize&&pe.maxSize===pe.size)})}clickGutter(pe,Le){const Xe=f(pe);this.startPoint&&y(this.startPoint,Xe,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",Le),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",Le),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(pe,Le,Xe){if(!0===this.disabled||!0===this.isWaitingClear)return;const Je=function b(be,Ye){if("horizontal"===Ye)switch(be.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===Ye)switch(be.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const pe=be.currentTarget,Le="PageUp"===be.key||"PageDown"===be.key?500:50;let Xe=pe.offsetLeft,Je=pe.offsetTop;switch(be.key){case"ArrowLeft":Xe-=Le;break;case"ArrowRight":Xe+=Le;break;case"ArrowUp":Je-=Le;break;case"ArrowDown":Je+=Le;break;case"PageUp":"vertical"===Ye?Je-=Le:Xe+=Le;break;case"PageDown":"vertical"===Ye?Je+=Le:Xe-=Le;break;default:return null}return{x:Xe,y:Je}}(pe,this.direction);null!==Je&&(this.endPoint=Je,this.startPoint=f(pe),pe.preventDefault(),pe.stopPropagation(),this.setupForDragEvent(Le,Xe),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(pe,Le,Xe){pe.preventDefault(),pe.stopPropagation(),this.startPoint=f(pe),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(Le,Xe),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(pe,Le){if(this.snapshot={gutterNum:Le,lastSteppedOffset:0,allAreasSizePixel:v(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(Xe=>{const Je={area:Xe,sizePixelAtStart:v(Xe.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?Xe.size:-1};Xe.order<pe?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[Je]:this.snapshot.areasBeforeGutter.unshift(Je):Xe.order>pe&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[Je]):this.snapshot.areasAfterGutter.push(Je))}),this.restrictMove&&"percent"===this.unit){const Xe=this.snapshot.areasBeforeGutter[0],Je=this.snapshot.areasAfterGutter[0];if("*"===Xe.area.size||"*"===Je.area.size){const q=this.displayedAreas.reduce((we,re)=>Xe.area!==re&&Je.area!==re?we+re.size:we,0);this.snapshot.allInvolvedAreasSizePercent=100-q}else this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((q,we)=>q+we.sizePercentAtStart,0)}}startDragging(){this.displayedAreas.forEach(pe=>pe.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(pe){pe.preventDefault(),pe.stopPropagation();const Le=f(pe);null!==this._clickTimeout&&!y(this.startPoint,Le,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=f(pe),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 pe="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(pe=-pe);const Le=Math.round(pe/this.gutterStep)*this.gutterStep;if(Le===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=Le;let Xe=V(this.unit,this.snapshot.areasBeforeGutter,-Le,this.snapshot.allAreasSizePixel),Je=V(this.unit,this.snapshot.areasAfterGutter,Le,this.snapshot.allAreasSizePixel);if(0!==Xe.remain&&0!==Je.remain?Math.abs(Xe.remain)===Math.abs(Je.remain)||(Math.abs(Xe.remain)>Math.abs(Je.remain)?Je=V(this.unit,this.snapshot.areasAfterGutter,Le+Xe.remain,this.snapshot.allAreasSizePixel):Xe=V(this.unit,this.snapshot.areasBeforeGutter,-(Le-Je.remain),this.snapshot.allAreasSizePixel)):0!==Xe.remain?Je=V(this.unit,this.snapshot.areasAfterGutter,Le+Xe.remain,this.snapshot.allAreasSizePixel):0!==Je.remain&&(Xe=V(this.unit,this.snapshot.areasBeforeGutter,-(Le-Je.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const q=[...Xe.list,...Je.list],re=q.find(J=>"*"==J.percentAfterAbsorption)??q.find(J=>0!==J.percentAfterAbsorption&&J.percentAfterAbsorption!==J.areaSnapshot.area.minSize&&J.percentAfterAbsorption!==J.areaSnapshot.area.maxSize);re&&(re.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-q.filter(J=>J!==re).reduce((J,z)=>J+z.percentAfterAbsorption,0))}Xe.list.forEach(q=>ue(this.unit,q)),Je.list.forEach(q=>ue(this.unit,q)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(pe){if(pe&&(pe.preventDefault(),pe.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(Le=>Le.component.unlockEvents());this.dragListeners.length>0;){const Le=this.dragListeners.pop();Le&&Le()}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(pe,Le){const Xe=this.getVisibleAreaSizes();"start"===pe?this.dragStart.emit({gutterNum:Le,sizes:Xe}):"end"===pe?this.dragEnd.emit({gutterNum:Le,sizes:Xe}):"click"===pe?this.gutterClick.emit({gutterNum:Le,sizes:Xe}):"dblclick"===pe?this.gutterDblClick.emit({gutterNum:Le,sizes:Xe}):"transitionEnd"===pe?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(Xe)):"progress"===pe&&this.dragProgressSubject.next({gutterNum:Le,sizes:Xe})}ngOnDestroy(){this.stopDragging()}collapseArea(pe,Le,Xe){const Je=this.displayedAreas.find(re=>re.component===pe);if(void 0===Je)return;const q="right"===Xe?1:-1;Je.sizeBeforeCollapse||(Je.sizeBeforeCollapse=Je.size,Je.gutterBeforeCollapse=q),Je.size=Le;const we=this.gutterEls.find(re=>re.nativeElement.style.order===`${Je.order+q}`);we&&this.renderer.addClass(we.nativeElement,"as-split-gutter-collapsed"),this.updateArea(pe,!1,!1)}expandArea(pe){const Le=this.displayedAreas.find(Je=>Je.component===pe);if(void 0===Le||!Le.sizeBeforeCollapse)return;Le.size=Le.sizeBeforeCollapse,Le.sizeBeforeCollapse=null;const Xe=this.gutterEls.find(Je=>Je.nativeElement.style.order===`${Le.order+Le.gutterBeforeCollapse}`);Xe&&this.renderer.removeClass(Xe.nativeElement,"as-split-gutter-collapsed"),this.updateArea(pe,!1,!1)}getAriaAreaSizeText(pe){return"*"===pe?null:pe.toFixed(0)+" "+this.unit}static#e=this.\u0275fac=function(Le){return new(Le||be)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(ie,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:be,selectors:[["as-split"]],viewQuery:function(Le,Xe){if(1&Le&&n.\u0275\u0275viewQuery(d,5),2&Le){let Je;n.\u0275\u0275queryRefresh(Je=n.\u0275\u0275loadQuery())&&(Xe.gutterEls=Je)}},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","separator","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","separator","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(Le,Xe){1&Le&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,m,1,1,"ng-template",0)),2&Le&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",Xe.displayedAreas))},dependencies:[s.NgForOf,s.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}[_nghost-%COMP%] >.as-split-area .iframe-fix{position:absolute;top:0;left:0;width:100%;height:100%}.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})}return be})(),ve=(()=>{class be{set order(pe){this._order=O(pe,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(pe){this._size=O(pe,"*"),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(pe){this._minSize=O(pe,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(pe){this._maxSize=O(pe,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(pe){this._lockSize=w(pe),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(pe){this._visible=w(pe),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}constructor(pe,Le,Xe,Je){this.ngZone=pe,this.elRef=Le,this.renderer=Xe,this.split=Je,this._order=null,this._size="*",this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",Le=>{"flex-basis"===Le.propertyName&&this.split.notify("transitionEnd",-1)})});const pe=this.renderer.createElement("div");this.renderer.addClass(pe,"iframe-fix"),this.dragStartSubscription=this.split.dragStart.subscribe(()=>{this.renderer.setStyle(this.elRef.nativeElement,"position","relative"),this.renderer.appendChild(this.elRef.nativeElement,pe)}),this.dragEndSubscription=this.split.dragEnd.subscribe(()=>{this.renderer.removeStyle(this.elRef.nativeElement,"position"),this.renderer.removeChild(this.elRef.nativeElement,pe)})}setStyleOrder(pe){this.renderer.setStyle(this.elRef.nativeElement,"order",pe)}setStyleFlex(pe,Le,Xe,Je,q){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",pe),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",Le),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",Xe),!0===Je?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===q?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 pe=this.lockListeners.pop();pe&&pe()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.dragStartSubscription?.unsubscribe(),this.dragEndSubscription?.unsubscribe(),this.split.removeArea(this)}collapse(pe=0,Le="right"){this.split.collapseArea(this,pe,Le)}expand(){this.split.expandArea(this)}static#e=this.\u0275fac=function(Le){return new(Le||be)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(te))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:be,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]})}return be})(),nt=(()=>{class be{static#e=this.\u0275fac=function(Le){return new(Le||be)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:be});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[s.CommonModule]})}return be})()},279:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{NgxJsonViewerComponent:()=>_,NgxJsonViewerModule:()=>f});var n=a(5879),s=a(6814);function p(y,b){1&y&&n.\u0275\u0275element(0,"div",9)}function g(y,b){if(1&y&&(n.\u0275\u0275elementStart(0,"span",10),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&y){const v=n.\u0275\u0275nextContext().$implicit;n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(v.description)}}function c(y,b){if(1&y&&(n.\u0275\u0275elementStart(0,"section",11),n.\u0275\u0275element(1,"ngx-json-viewer",12),n.\u0275\u0275elementEnd()),2&y){const v=n.\u0275\u0275nextContext().$implicit,w=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275property("json",v.value)("expanded",w.expanded)("depth",w.depth)("_currentDepth",w._currentDepth+1)}}const d=function(y){return["segment",y]},u=function(y,b){return{"segment-main":!0,expandable:y,expanded:b}};function m(y,b){if(1&y){const v=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"section",2)(1,"section",3),n.\u0275\u0275listener("click",function(){const F=n.\u0275\u0275restoreView(v).$implicit,S=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(S.toggle(F))}),n.\u0275\u0275template(2,p,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,g,2,1,"span",7),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(8,c,2,4,"section",8),n.\u0275\u0275elementEnd()}if(2&y){const v=b.$implicit,w=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction1(6,d,"segment-type-"+v.type)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction2(8,u,w.isExpandable(v),v.expanded)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",w.isExpandable(v)),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(v.key),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",!v.expanded||!w.isExpandable(v)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",v.expanded&&w.isExpandable(v))}}let _=(()=>{class y{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(v=>{this.segments.push(this.parseKeyValue(v,this.json[v]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(v){return"object"===v.type||"array"===v.type}toggle(v){this.isExpandable(v)&&(v.expanded=!v.expanded)}parseKeyValue(v,w){const O={key:v,value:w,type:void 0,description:""+w,expanded:this.isExpanded()};switch(typeof O.value){case"number":O.type="number";break;case"boolean":O.type="boolean";break;case"function":O.type="function";break;case"string":O.type="string",O.description='"'+O.value+'"';break;case"undefined":O.type="undefined",O.description="undefined";break;case"object":null===O.value?(O.type="null",O.description="null"):Array.isArray(O.value)?(O.type="array",O.description="Array["+O.value.length+"] "+JSON.stringify(O.value)):O.value instanceof Date?O.type="date":(O.type="object",O.description="Object "+JSON.stringify(O.value))}return O}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(v){const w=new WeakMap;return function O(F,S){let K,V;return"object"!=typeof F||null===F||F instanceof Boolean||F instanceof Date||F instanceof Number||F instanceof RegExp||F instanceof String?F:(K=w.get(F),void 0!==K?{$ref:K}:(w.set(F,S),Array.isArray(F)?(V=[],F.forEach(function(ee,W){V[W]=O(ee,S+"["+W+"]")})):(V={},Object.keys(F).forEach(function(ee){V[ee]=O(F[ee],S+"["+JSON.stringify(ee)+"]")})),V))}(v,"$")}}return y.\u0275fac=function(v){return new(v||y)},y.\u0275cmp=n.\u0275\u0275defineComponent({type:y,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(v,w){1&v&&(n.\u0275\u0275elementStart(0,"section",0),n.\u0275\u0275template(1,m,9,11,"section",1),n.\u0275\u0275elementEnd()),2&v&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",w.segments))},dependencies:[s.NgClass,s.NgForOf,s.NgIf,y],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}']}),y})(),f=(()=>{class y{}return y.\u0275fac=function(v){return new(v||y)},y.\u0275mod=n.\u0275\u0275defineNgModule({type:y}),y.\u0275inj=n.\u0275\u0275defineInjector({imports:[s.CommonModule]}),y})()},2425:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{BasePortalHost:()=>W,ComponentPortal:()=>ee,DefaultGlobalConfig:()=>Xe,DefaultNoAnimationsGlobalConfig:()=>J,DefaultNoComponentGlobalConfig:()=>ie,Overlay:()=>Ye,OverlayContainer:()=>nt,OverlayRef:()=>be,TOAST_CONFIG:()=>te,Toast:()=>Le,ToastContainerDirective:()=>V,ToastNoAnimation:()=>re,ToastNoAnimationModule:()=>z,ToastPackage:()=>ue,ToastRef:()=>Y,ToastrComponentlessModule:()=>we,ToastrModule:()=>q,ToastrService:()=>pe,provideToastr:()=>Je});var n=a(5879),s=a(6825),p=a(6814),g=a(8645),c=a(6593);const d=["toast-component",""];function u($,U){if(1&$){const R=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(R);const Oe=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Oe.remove())}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function m($,U){if(1&$&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&$){const R=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",R.duplicatesCount+1,"]")}}function _($,U){if(1&$&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,m,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&$){const R=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(R.options.titleClass),n.\u0275\u0275attribute("aria-label",R.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",R.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",R.duplicatesCount)}}function f($,U){if(1&$&&n.\u0275\u0275element(0,"div",7),2&$){const R=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(R.options.messageClass),n.\u0275\u0275property("innerHTML",R.message,n.\u0275\u0275sanitizeHtml)}}function y($,U){if(1&$&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&$){const R=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(R.options.messageClass),n.\u0275\u0275attribute("aria-label",R.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",R.message," ")}}function b($,U){if(1&$&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&$){const R=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",R.width+"%")}}function v($,U){if(1&$){const R=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(R);const Oe=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Oe.remove())}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function w($,U){if(1&$&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&$){const R=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",R.duplicatesCount+1,"]")}}function O($,U){if(1&$&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,w,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&$){const R=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(R.options.titleClass),n.\u0275\u0275attribute("aria-label",R.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",R.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",R.duplicatesCount)}}function F($,U){if(1&$&&n.\u0275\u0275element(0,"div",7),2&$){const R=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(R.options.messageClass),n.\u0275\u0275property("innerHTML",R.message,n.\u0275\u0275sanitizeHtml)}}function S($,U){if(1&$&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&$){const R=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(R.options.messageClass),n.\u0275\u0275attribute("aria-label",R.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",R.message," ")}}function K($,U){if(1&$&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&$){const R=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",R.width+"%")}}let V=(()=>{class ${el;constructor(R){this.el=R}getContainerElement(){return this.el.nativeElement}static \u0275fac=function(H){return new(H||$)(n.\u0275\u0275directiveInject(n.ElementRef))};static \u0275dir=n.\u0275\u0275defineDirective({type:$,selectors:[["","toastContainer",""]],exportAs:["toastContainer"],standalone:!0})}return $})();class ee{_attachedHost;component;viewContainerRef;injector;constructor(U,R){this.component=U,this.injector=R}attach(U,R){return this._attachedHost=U,U.attach(this,R)}detach(){const U=this._attachedHost;if(U)return this._attachedHost=void 0,U.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(U){this._attachedHost=U}}class W{_attachedPortal;_disposeFn;attach(U,R){return this._attachedPortal=U,this.attachComponentPortal(U,R)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(U){this._disposeFn=U}}class Y{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new g.x;_activate=new g.x;_manualClose=new g.x;_resetTimeout=new g.x;_countDuplicate=new g.x;constructor(U){this._overlayRef=U}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(U,R){U&&this._resetTimeout.next(),R&&this._countDuplicate.next(++this.duplicatesCount)}}class ue{toastId;config;message;title;toastType;toastRef;_onTap=new g.x;_onAction=new g.x;constructor(U,R,H,Oe,He,vt){this.toastId=U,this.config=R,this.message=H,this.title=Oe,this.toastType=He,this.toastRef=vt,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(U){this._onAction.next(U)}onAction(){return this._onAction.asObservable()}}const ie={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"},te=new n.InjectionToken("ToastConfig");class ve extends W{_hostDomElement;_componentFactoryResolver;_appRef;constructor(U,R,H){super(),this._hostDomElement=U,this._componentFactoryResolver=R,this._appRef=H}attachComponentPortal(U,R){const H=this._componentFactoryResolver.resolveComponentFactory(U.component);let Oe;return Oe=H.create(U.injector),this._appRef.attachView(Oe.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Oe.hostView),Oe.destroy()}),R?this._hostDomElement.insertBefore(this._getComponentRootNode(Oe),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Oe)),Oe}_getComponentRootNode(U){return U.hostView.rootNodes[0]}}let nt=(()=>{class ${_document=(0,n.inject)(p.DOCUMENT);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const R=this._document.createElement("div");R.classList.add("overlay-container"),R.setAttribute("aria-live","polite"),this._document.body.appendChild(R),this._containerElement=R}static \u0275fac=function(H){return new(H||$)};static \u0275prov=n.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();class be{_portalHost;constructor(U){this._portalHost=U}attach(U,R=!0){return this._portalHost.attach(U,R)}detach(){return this._portalHost.detach()}}let Ye=(()=>{class ${_overlayContainer=(0,n.inject)(nt);_componentFactoryResolver=(0,n.inject)(n.ComponentFactoryResolver);_appRef=(0,n.inject)(n.ApplicationRef);_document=(0,n.inject)(p.DOCUMENT);_paneElements=new Map;create(R,H){return this._createOverlayRef(this.getPaneElement(R,H))}getPaneElement(R="",H){return this._paneElements.get(H)||this._paneElements.set(H,{}),this._paneElements.get(H)[R]||(this._paneElements.get(H)[R]=this._createPaneElement(R,H)),this._paneElements.get(H)[R]}_createPaneElement(R,H){const Oe=this._document.createElement("div");return Oe.id="toast-container",Oe.classList.add(R),Oe.classList.add("toast-container"),H?H.getContainerElement().appendChild(Oe):this._overlayContainer.getContainerElement().appendChild(Oe),Oe}_createPortalHost(R){return new ve(R,this._componentFactoryResolver,this._appRef)}_createOverlayRef(R){return new be(this._createPortalHost(R))}static \u0275fac=function(H){return new(H||$)};static \u0275prov=n.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),pe=(()=>{class ${overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(R,H,Oe,He,vt){this.overlay=H,this._injector=Oe,this.sanitizer=He,this.ngZone=vt,this.toastrConfig={...R.default,...R.config},R.config.iconClasses&&(this.toastrConfig.iconClasses={...R.default.iconClasses,...R.config.iconClasses})}show(R,H,Oe={},He=""){return this._preBuildNotification(He,R,H,this.applyConfig(Oe))}success(R,H,Oe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",R,H,this.applyConfig(Oe))}error(R,H,Oe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",R,H,this.applyConfig(Oe))}info(R,H,Oe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",R,H,this.applyConfig(Oe))}warning(R,H,Oe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",R,H,this.applyConfig(Oe))}clear(R){for(const H of this.toasts)if(void 0!==R){if(H.toastId===R)return void H.toastRef.manualClose()}else H.toastRef.manualClose()}remove(R){const H=this._findToast(R);if(!H||(H.activeToast.toastRef.close(),this.toasts.splice(H.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 Oe=this.toasts[this.currentlyActive].toastRef;Oe.isInactive()||(this.currentlyActive=this.currentlyActive+1,Oe.activate())}return!0}findDuplicate(R="",H="",Oe,He){const{includeTitleDuplicates:vt}=this.toastrConfig;for(const Ct of this.toasts)if((!vt||vt&&Ct.title===R)&&Ct.message===H)return Ct.toastRef.onDuplicate(Oe,He),Ct;return null}applyConfig(R={}){return{...this.toastrConfig,...R}}_findToast(R){for(let H=0;H<this.toasts.length;H++)if(this.toasts[H].toastId===R)return{index:H,activeToast:this.toasts[H]};return null}_preBuildNotification(R,H,Oe,He){return He.onActivateTick?this.ngZone.run(()=>this._buildNotification(R,H,Oe,He)):this._buildNotification(R,H,Oe,He)}_buildNotification(R,H,Oe,He){if(!He.toastComponent)throw new Error("toastComponent required");const vt=this.findDuplicate(Oe,H,this.toastrConfig.resetTimeoutOnDuplicate&&He.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Oe||H)&&this.toastrConfig.preventDuplicates&&null!==vt)return vt;this.previousToastMessage=H;let Ct=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Ct=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const lt=this.overlay.create(He.positionClass,this.overlayContainer);this.index=this.index+1;let Te=H;H&&He.enableHtml&&(Te=this.sanitizer.sanitize(n.SecurityContext.HTML,H));const xe=new Y(lt),Ne=new ue(this.index,He,Te,Oe,R,xe),Re=n.Injector.create({providers:[{provide:ue,useValue:Ne}],parent:this._injector}),gt=new ee(He.toastComponent,Re),ut=lt.attach(gt,He.newestOnTop);xe.componentInstance=ut.instance;const et={toastId:this.index,title:Oe||"",message:H||"",toastRef:xe,onShown:xe.afterActivate(),onHidden:xe.afterClosed(),onTap:Ne.onTap(),onAction:Ne.onAction(),portal:ut};return Ct||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{et.toastRef.activate()})),this.toasts.push(et),et}static \u0275fac=function(H){return new(H||$)(n.\u0275\u0275inject(te),n.\u0275\u0275inject(Ye),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(c.DomSanitizer),n.\u0275\u0275inject(n.NgZone))};static \u0275prov=n.\u0275\u0275defineInjectable({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})(),Le=(()=>{class ${toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(R,H,Oe){this.toastrService=R,this.toastPackage=H,this.ngZone=Oe,this.message=H.message,this.title=H.title,this.options=H.config,this.originalTimeout=H.config.timeOut,this.toastClasses=`${H.toastType} ${H.config.toastClass}`,this.sub=H.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=H.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=H.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=H.toastRef.countDuplicate().subscribe(He=>{this.duplicatesCount=He}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...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 R=(new Date).getTime();this.width=(this.hideTime-R)/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={...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={...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&&"extendedTimeOut"!==this.options.disableTimeOut&&(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(R,H){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(R),H)):this.timeout=setTimeout(()=>R(),H)}outsideInterval(R,H){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(R),H)):this.intervalId=setInterval(()=>R(),H)}runInsideAngular(R){this.ngZone?this.ngZone.run(()=>R()):R()}static \u0275fac=function(H){return new(H||$)(n.\u0275\u0275directiveInject(pe),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.NgZone))};static \u0275cmp=n.\u0275\u0275defineComponent({type:$,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(H,Oe){1&H&&n.\u0275\u0275listener("click",function(){return Oe.tapToast()})("mouseenter",function(){return Oe.stickAround()})("mouseleave",function(){return Oe.delayedHideToast()}),2&H&&(n.\u0275\u0275syntheticHostProperty("@flyInOut",Oe.state),n.\u0275\u0275classMap(Oe.toastClasses),n.\u0275\u0275styleProp("display",Oe.displayStyle))},standalone:!0,features:[n.\u0275\u0275StandaloneFeature],attrs:d,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(H,Oe){1&H&&(n.\u0275\u0275template(0,u,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,y,2,4,"div",3),n.\u0275\u0275template(4,b,2,2,"div",4)),2&H&&(n.\u0275\u0275property("ngIf",Oe.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Oe.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Oe.message&&Oe.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Oe.message&&!Oe.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Oe.options.progressBar))},dependencies:[p.NgIf],encapsulation:2,data:{animation:[(0,s.X$)("flyInOut",[(0,s.SB)("inactive",(0,s.oB)({opacity:0})),(0,s.SB)("active",(0,s.oB)({opacity:1})),(0,s.SB)("removed",(0,s.oB)({opacity:0})),(0,s.eR)("inactive => active",(0,s.jt)("{{ easeTime }}ms {{ easing }}")),(0,s.eR)("active => removed",(0,s.jt)("{{ easeTime }}ms {{ easing }}"))])]}})}return $})();const Xe={...ie,toastComponent:Le},Je=($={})=>(0,n.makeEnvironmentProviders)([{provide:te,useValue:{default:Xe,config:$}}]);let q=(()=>{class ${static forRoot(R={}){return{ngModule:$,providers:[Je(R)]}}static \u0275fac=function(H){return new(H||$)};static \u0275mod=n.\u0275\u0275defineNgModule({type:$});static \u0275inj=n.\u0275\u0275defineInjector({})}return $})(),we=(()=>{class ${static forRoot(R={}){return{ngModule:q,providers:[{provide:te,useValue:{default:ie,config:R}}]}}static \u0275fac=function(H){return new(H||$)};static \u0275mod=n.\u0275\u0275defineNgModule({type:$});static \u0275inj=n.\u0275\u0275defineInjector({})}return $})(),re=(()=>{class ${toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";get displayStyle(){if("inactive"===this.state)return"none"}state="inactive";timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(R,H,Oe){this.toastrService=R,this.toastPackage=H,this.appRef=Oe,this.message=H.message,this.title=H.title,this.options=H.config,this.originalTimeout=H.config.timeOut,this.toastClasses=`${H.toastType} ${H.config.toastClass}`,this.sub=H.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=H.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=H.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=H.toastRef.countDuplicate().subscribe(He=>{this.duplicatesCount=He})}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 R=(new Date).getTime();this.width=(this.hideTime-R)/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)))}static \u0275fac=function(H){return new(H||$)(n.\u0275\u0275directiveInject(pe),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ApplicationRef))};static \u0275cmp=n.\u0275\u0275defineComponent({type:$,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(H,Oe){1&H&&n.\u0275\u0275listener("click",function(){return Oe.tapToast()})("mouseenter",function(){return Oe.stickAround()})("mouseleave",function(){return Oe.delayedHideToast()}),2&H&&(n.\u0275\u0275classMap(Oe.toastClasses),n.\u0275\u0275styleProp("display",Oe.displayStyle))},standalone:!0,features:[n.\u0275\u0275StandaloneFeature],attrs:d,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(H,Oe){1&H&&(n.\u0275\u0275template(0,v,3,0,"button",0),n.\u0275\u0275template(1,O,3,5,"div",1),n.\u0275\u0275template(2,F,1,3,"div",2),n.\u0275\u0275template(3,S,2,4,"div",3),n.\u0275\u0275template(4,K,2,2,"div",4)),2&H&&(n.\u0275\u0275property("ngIf",Oe.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Oe.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Oe.message&&Oe.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Oe.message&&!Oe.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Oe.options.progressBar))},dependencies:[p.NgIf],encapsulation:2})}return $})();const J={...ie,toastComponent:re};let z=(()=>{class ${static forRoot(R={}){return{ngModule:$,providers:[{provide:te,useValue:{default:J,config:R}}]}}static \u0275fac=function(H){return new(H||$)};static \u0275mod=n.\u0275\u0275defineNgModule({type:$});static \u0275inj=n.\u0275\u0275defineInjector({})}return $})()},7582:(Z,o,a)=>{"use strict";a.r(o),a.d(o,{__addDisposableResource:()=>Xe,__assign:()=>p,__asyncDelegator:()=>ue,__asyncGenerator:()=>Y,__asyncValues:()=>ie,__await:()=>W,__awaiter:()=>b,__classPrivateFieldGet:()=>Ye,__classPrivateFieldIn:()=>Le,__classPrivateFieldSet:()=>pe,__createBinding:()=>w,__decorate:()=>c,__disposeResources:()=>q,__esDecorate:()=>u,__exportStar:()=>O,__extends:()=>s,__generator:()=>v,__importDefault:()=>be,__importStar:()=>nt,__makeTemplateObject:()=>te,__metadata:()=>y,__param:()=>d,__propKey:()=>_,__read:()=>S,__rest:()=>g,__runInitializers:()=>m,__setFunctionName:()=>f,__spread:()=>K,__spreadArray:()=>ee,__spreadArrays:()=>V,__values:()=>F,default:()=>we});var n=function(re,J){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,$){z.__proto__=$}||function(z,$){for(var U in $)Object.prototype.hasOwnProperty.call($,U)&&(z[U]=$[U])})(re,J)};function s(re,J){if("function"!=typeof J&&null!==J)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function z(){this.constructor=re}n(re,J),re.prototype=null===J?Object.create(J):(z.prototype=J.prototype,new z)}var p=function(){return p=Object.assign||function(J){for(var z,$=1,U=arguments.length;$<U;$++)for(var R in z=arguments[$])Object.prototype.hasOwnProperty.call(z,R)&&(J[R]=z[R]);return J},p.apply(this,arguments)};function g(re,J){var z={};for(var $ in re)Object.prototype.hasOwnProperty.call(re,$)&&J.indexOf($)<0&&(z[$]=re[$]);if(null!=re&&"function"==typeof Object.getOwnPropertySymbols){var U=0;for($=Object.getOwnPropertySymbols(re);U<$.length;U++)J.indexOf($[U])<0&&Object.prototype.propertyIsEnumerable.call(re,$[U])&&(z[$[U]]=re[$[U]])}return z}function c(re,J,z,$){var H,U=arguments.length,R=U<3?J:null===$?$=Object.getOwnPropertyDescriptor(J,z):$;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)R=Reflect.decorate(re,J,z,$);else for(var Oe=re.length-1;Oe>=0;Oe--)(H=re[Oe])&&(R=(U<3?H(R):U>3?H(J,z,R):H(J,z))||R);return U>3&&R&&Object.defineProperty(J,z,R),R}function d(re,J){return function(z,$){J(z,$,re)}}function u(re,J,z,$,U,R){function H(gt){if(void 0!==gt&&"function"!=typeof gt)throw new TypeError("Function expected");return gt}for(var lt,Oe=$.kind,He="getter"===Oe?"get":"setter"===Oe?"set":"value",vt=!J&&re?$.static?re:re.prototype:null,Ct=J||(vt?Object.getOwnPropertyDescriptor(vt,$.name):{}),Te=!1,xe=z.length-1;xe>=0;xe--){var Ne={};for(var Me in $)Ne[Me]="access"===Me?{}:$[Me];for(var Me in $.access)Ne.access[Me]=$.access[Me];Ne.addInitializer=function(gt){if(Te)throw new TypeError("Cannot add initializers after decoration has completed");R.push(H(gt||null))};var Re=(0,z[xe])("accessor"===Oe?{get:Ct.get,set:Ct.set}:Ct[He],Ne);if("accessor"===Oe){if(void 0===Re)continue;if(null===Re||"object"!=typeof Re)throw new TypeError("Object expected");(lt=H(Re.get))&&(Ct.get=lt),(lt=H(Re.set))&&(Ct.set=lt),(lt=H(Re.init))&&U.unshift(lt)}else(lt=H(Re))&&("field"===Oe?U.unshift(lt):Ct[He]=lt)}vt&&Object.defineProperty(vt,$.name,Ct),Te=!0}function m(re,J,z){for(var $=arguments.length>2,U=0;U<J.length;U++)z=$?J[U].call(re,z):J[U].call(re);return $?z:void 0}function _(re){return"symbol"==typeof re?re:"".concat(re)}function f(re,J,z){return"symbol"==typeof J&&(J=J.description?"[".concat(J.description,"]"):""),Object.defineProperty(re,"name",{configurable:!0,value:z?"".concat(z," ",J):J})}function y(re,J){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(re,J)}function b(re,J,z,$){return new(z||(z=Promise))(function(R,H){function Oe(Ct){try{vt($.next(Ct))}catch(lt){H(lt)}}function He(Ct){try{vt($.throw(Ct))}catch(lt){H(lt)}}function vt(Ct){Ct.done?R(Ct.value):function U(R){return R instanceof z?R:new z(function(H){H(R)})}(Ct.value).then(Oe,He)}vt(($=$.apply(re,J||[])).next())})}function v(re,J){var $,U,R,H,z={label:0,sent:function(){if(1&R[0])throw R[1];return R[1]},trys:[],ops:[]};return H={next:Oe(0),throw:Oe(1),return:Oe(2)},"function"==typeof Symbol&&(H[Symbol.iterator]=function(){return this}),H;function Oe(vt){return function(Ct){return function He(vt){if($)throw new TypeError("Generator is already executing.");for(;H&&(H=0,vt[0]&&(z=0)),z;)try{if($=1,U&&(R=2&vt[0]?U.return:vt[0]?U.throw||((R=U.return)&&R.call(U),0):U.next)&&!(R=R.call(U,vt[1])).done)return R;switch(U=0,R&&(vt=[2&vt[0],R.value]),vt[0]){case 0:case 1:R=vt;break;case 4:return z.label++,{value:vt[1],done:!1};case 5:z.label++,U=vt[1],vt=[0];continue;case 7:vt=z.ops.pop(),z.trys.pop();continue;default:if(!(R=(R=z.trys).length>0&&R[R.length-1])&&(6===vt[0]||2===vt[0])){z=0;continue}if(3===vt[0]&&(!R||vt[1]>R[0]&&vt[1]<R[3])){z.label=vt[1];break}if(6===vt[0]&&z.label<R[1]){z.label=R[1],R=vt;break}if(R&&z.label<R[2]){z.label=R[2],z.ops.push(vt);break}R[2]&&z.ops.pop(),z.trys.pop();continue}vt=J.call(re,z)}catch(Ct){vt=[6,Ct],U=0}finally{$=R=0}if(5&vt[0])throw vt[1];return{value:vt[0]?vt[1]:void 0,done:!0}}([vt,Ct])}}}var w=Object.create?function(re,J,z,$){void 0===$&&($=z);var U=Object.getOwnPropertyDescriptor(J,z);(!U||("get"in U?!J.__esModule:U.writable||U.configurable))&&(U={enumerable:!0,get:function(){return J[z]}}),Object.defineProperty(re,$,U)}:function(re,J,z,$){void 0===$&&($=z),re[$]=J[z]};function O(re,J){for(var z in re)"default"!==z&&!Object.prototype.hasOwnProperty.call(J,z)&&w(J,re,z)}function F(re){var J="function"==typeof Symbol&&Symbol.iterator,z=J&&re[J],$=0;if(z)return z.call(re);if(re&&"number"==typeof re.length)return{next:function(){return re&&$>=re.length&&(re=void 0),{value:re&&re[$++],done:!re}}};throw new TypeError(J?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(re,J){var z="function"==typeof Symbol&&re[Symbol.iterator];if(!z)return re;var U,H,$=z.call(re),R=[];try{for(;(void 0===J||J-- >0)&&!(U=$.next()).done;)R.push(U.value)}catch(Oe){H={error:Oe}}finally{try{U&&!U.done&&(z=$.return)&&z.call($)}finally{if(H)throw H.error}}return R}function K(){for(var re=[],J=0;J<arguments.length;J++)re=re.concat(S(arguments[J]));return re}function V(){for(var re=0,J=0,z=arguments.length;J<z;J++)re+=arguments[J].length;var $=Array(re),U=0;for(J=0;J<z;J++)for(var R=arguments[J],H=0,Oe=R.length;H<Oe;H++,U++)$[U]=R[H];return $}function ee(re,J,z){if(z||2===arguments.length)for(var R,$=0,U=J.length;$<U;$++)(R||!($ in J))&&(R||(R=Array.prototype.slice.call(J,0,$)),R[$]=J[$]);return re.concat(R||Array.prototype.slice.call(J))}function W(re){return this instanceof W?(this.v=re,this):new W(re)}function Y(re,J,z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var U,$=z.apply(re,J||[]),R=[];return U={},H("next"),H("throw"),H("return"),U[Symbol.asyncIterator]=function(){return this},U;function H(Te){$[Te]&&(U[Te]=function(xe){return new Promise(function(Ne,Me){R.push([Te,xe,Ne,Me])>1||Oe(Te,xe)})})}function Oe(Te,xe){try{!function He(Te){Te.value instanceof W?Promise.resolve(Te.value.v).then(vt,Ct):lt(R[0][2],Te)}($[Te](xe))}catch(Ne){lt(R[0][3],Ne)}}function vt(Te){Oe("next",Te)}function Ct(Te){Oe("throw",Te)}function lt(Te,xe){Te(xe),R.shift(),R.length&&Oe(R[0][0],R[0][1])}}function ue(re){var J,z;return J={},$("next"),$("throw",function(U){throw U}),$("return"),J[Symbol.iterator]=function(){return this},J;function $(U,R){J[U]=re[U]?function(H){return(z=!z)?{value:W(re[U](H)),done:!1}:R?R(H):H}:R}}function ie(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z,J=re[Symbol.asyncIterator];return J?J.call(re):(re=F(re),z={},$("next"),$("throw"),$("return"),z[Symbol.asyncIterator]=function(){return this},z);function $(R){z[R]=re[R]&&function(H){return new Promise(function(Oe,He){!function U(R,H,Oe,He){Promise.resolve(He).then(function(vt){R({value:vt,done:Oe})},H)}(Oe,He,(H=re[R](H)).done,H.value)})}}}function te(re,J){return Object.defineProperty?Object.defineProperty(re,"raw",{value:J}):re.raw=J,re}var ve=Object.create?function(re,J){Object.defineProperty(re,"default",{enumerable:!0,value:J})}:function(re,J){re.default=J};function nt(re){if(re&&re.__esModule)return re;var J={};if(null!=re)for(var z in re)"default"!==z&&Object.prototype.hasOwnProperty.call(re,z)&&w(J,re,z);return ve(J,re),J}function be(re){return re&&re.__esModule?re:{default:re}}function Ye(re,J,z,$){if("a"===z&&!$)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof J?re!==J||!$:!J.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===z?$:"a"===z?$.call(re):$?$.value:J.get(re)}function pe(re,J,z,$,U){if("m"===$)throw new TypeError("Private method is not writable");if("a"===$&&!U)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof J?re!==J||!U:!J.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===$?U.call(re,z):U?U.value=z:J.set(re,z),z}function Le(re,J){if(null===J||"object"!=typeof J&&"function"!=typeof J)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof re?J===re:re.has(J)}function Xe(re,J,z){if(null!=J){if("object"!=typeof J&&"function"!=typeof J)throw new TypeError("Object expected.");var $;if(z){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");$=J[Symbol.asyncDispose]}if(void 0===$){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");$=J[Symbol.dispose]}if("function"!=typeof $)throw new TypeError("Object not disposable.");re.stack.push({value:J,dispose:$,async:z})}else z&&re.stack.push({async:!0});return J}var Je="function"==typeof SuppressedError?SuppressedError:function(re,J,z){var $=new Error(z);return $.name="SuppressedError",$.error=re,$.suppressed=J,$};function q(re){function J($){re.error=re.hasError?new Je($,re.error,"An error was suppressed during disposal."):$,re.hasError=!0}return function z(){for(;re.stack.length;){var $=re.stack.pop();try{var U=$.dispose&&$.dispose.call($.value);if($.async)return Promise.resolve(U).then(z,function(R){return J(R),z()})}catch(R){J(R)}}if(re.hasError)throw re.error}()}const we={__extends:s,__assign:p,__rest:g,__decorate:c,__param:d,__metadata:y,__awaiter:b,__generator:v,__createBinding:w,__exportStar:O,__values:F,__read:S,__spread:K,__spreadArrays:V,__spreadArray:ee,__await:W,__asyncGenerator:Y,__asyncDelegator:ue,__asyncValues:ie,__makeTemplateObject:te,__importStar:nt,__importDefault:be,__classPrivateFieldGet:Ye,__classPrivateFieldSet:pe,__classPrivateFieldIn:Le,__addDisposableResource:Xe,__disposeResources:q}},2598:Z=>{"use strict";Z.exports=JSON.parse('{"name":"@sdkgen/playground","version":"2.3.1","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":"~16.2.3","@angular/animations":"~16.2.6","@angular/cdk":"~16.2.5","@angular/cli":"~16.2.3","@angular/common":"~16.2.6","@angular/compiler":"~16.2.6","@angular/compiler-cli":"~16.2.6","@angular/core":"~16.2.6","@angular/forms":"~16.2.6","@angular/material":"~16.2.5","@angular/platform-browser":"~16.2.6","@angular/platform-browser-dynamic":"~16.2.6","@angular/router":"~16.2.6","@cubos/eslint-config":"^2.2.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":"^20.6.5","angular-split":"^16.2.1","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.43.0","ngx-json-viewer":"^3.2.1","ngx-toastr":"^17.0.2","rxjs":"~7.8.1","tslib":"^2.6.2","typescript":"~5.1.3","webpack-bundle-analyzer":"^4.9.1","zone.js":"~0.13.3"}}')}},Z=>{Z(Z.s=4913)}]);
|